/* X-WORLD — дополнения нового дизайна к стилям пульта (console.css, reference.css):
   кнопки шапки, меню аккаунта и языка, сортировка, реклама справа, окно сервисов, cookie, светлая тема, страницы. */

/* ---------- кнопки шапки: прямоугольные, слегка скруглённые, одной высоты ---------- */
.head-keys{display:flex;align-items:center;gap:6px;min-width:0}
.head-keys>.hk,.head-keys>.pop-box>.hk,.head .menu-key{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;min-height:0;padding:0 11px;
  border:1px solid #808080;border-radius:6px;background:linear-gradient(#353535,#1b1b1b);color:#f0f0f0;
  font:600 14px/1 "Golos Text",system-ui,sans-serif;white-space:nowrap;box-shadow:inset 0 1px 0 #cfcfcf5e,0 2px 3px #090909;text-decoration:none
}
.head-keys>.pop-box{display:flex;height:auto;padding:0;border:0;background:none;box-shadow:none}
.hk:hover,.head .menu-key:hover{border-color:var(--focus);color:#ffffff;box-shadow:inset 0 0 12px #dbdbdb22,0 0 8px #dbdbdb28}
.hk svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.head .menu-key{flex:none;width:40px;padding:0}
.head .menu-key svg{width:20px;height:20px;fill:currentColor;stroke:none}
.theme-key{width:40px;padding:0!important}
.theme-key .moon{display:none}
[data-theme=light] .theme-key .sun{display:none}
[data-theme=light] .theme-key .moon{display:block}
.lang-key{min-width:64px}
.lang-key svg{width:12px;height:12px}
.head .enter{min-width:96px;border-color:#cdcdcd!important;box-shadow:inset 0 0 12px #b4b4b435,0 0 9px #c8c8c82c!important}
.acct-key{padding:0 12px 0 4px!important;max-width:240px}
.acct-key .ava{width:30px;height:30px;flex:none;border-radius:4px;object-fit:cover;background:#131313}
.acct-name{overflow:hidden;text-overflow:ellipsis}
.acct-key[aria-expanded=true],.lang-key[aria-expanded=true]{border-color:var(--focus)}

@media (min-width:981px){
  .flightdeck .head .hk,.flightdeck .head .menu-key{height:clamp(30px,2.75cqw,44px);font-size:clamp(12px,.95cqw,16px)}
  .flightdeck .head .menu-key,.flightdeck .theme-key{width:clamp(32px,2.75cqw,44px)}
  .flightdeck .acct-key .ava{width:clamp(24px,2.1cqw,34px);height:clamp(24px,2.1cqw,34px)}
  .flightdeck .head{padding-inline-start:2.2%}
  .flightdeck .head-keys{height:auto}
  .wordmark img{width:12.5cqw}
  .head h1{font-size:1.75cqw}
}
@media (min-width:981px) and (max-width:1250px){ .flightdeck .head h1{display:none} }

/* ---------- всплывающие меню (язык, аккаунт): открываются по клику ---------- */
.pop{position:fixed;z-index:80;background:var(--surface);color:var(--ink);border:1px solid #7b7b7b;border-radius:8px;box-shadow:0 14px 40px #000000aa,0 0 14px #bfbfbf1f;padding:6px}
.lang-pop{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:2px;max-height:min(70vh,560px);overflow:auto;width:min(380px,94vw)}
.lang-pop[hidden],.acct-pop[hidden]{display:none}
.lang-pop button{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:5px;text-align:start;color:var(--ink)}
.lang-pop button b{min-width:36px;color:var(--soft);font-size:12px}
.lang-pop button:hover,.lang-pop button:focus-visible{background:var(--button);color:var(--focus)}
.lang-pop button[aria-selected=true]{background:var(--button);outline:1px solid var(--focus)}
.acct-pop{width:min(340px,94vw);padding:12px}
.acct-head{display:flex;gap:11px;align-items:center;padding:2px 2px 10px;border-bottom:1px solid var(--line)}
.acct-head .ava{width:46px;height:46px;border-radius:6px;object-fit:cover;flex:none}
.acct-head b{display:block;font-size:15px;overflow-wrap:anywhere}
.acct-head small{display:block;color:var(--soft);font-size:12px;overflow-wrap:anywhere}
.acct-head em{display:inline-block;margin-top:4px;font-style:normal;font-size:11px;padding:2px 7px;border:1px solid var(--focus);border-radius:4px;color:var(--focus)}
.acct-cap{margin:10px 2px 6px;color:var(--soft);font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.acct-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.acct-grid a{display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 4px;border:1px solid var(--line);border-radius:6px;font-size:12px;text-align:center;background:linear-gradient(165deg,var(--button),var(--deep))}
.acct-grid a:hover,.acct-row:hover{border-color:var(--focus);color:var(--focus)}
.acct-pop hr{border:0;border-top:1px solid var(--line);margin:9px 0}
.acct-row{display:flex;align-items:center;gap:10px;padding:8px 8px;border-radius:5px;border:1px solid transparent;font-size:14px}
.acct-out{color:#b2b2b2}
.mi{display:inline-block;width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.mi-user{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21c1-4 4-6 8-6s7 2 8 6'/></svg>")}
.mi-chat{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M4 5h16v11H9l-5 4z'/></svg>")}
.mi-video{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><rect x='3' y='6' width='13' height='12' rx='1'/><path d='m16 10 5-3v10l-5-3'/></svg>")}
.mi-note{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M9 18V5l11-2v13'/><circle cx='6' cy='18' r='3'/><circle cx='17' cy='16' r='3'/></svg>")}
.mi-game{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='2' y='7' width='20' height='11' rx='2'/><path d='M7 10.5v4M5 12.5h4M16 11.5h.01M18 13.5h.01'/></svg>")}
.mi-book{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 5h6a3 3 0 0 1 3 3v12a2 2 0 0 0-2-2H3zM21 5h-6a3 3 0 0 0-3 3v12a2 2 0 0 1 2-2h7z'/></svg>")}
.mi-crown{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/></svg>")}
.mi-cog{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='3.5'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9 7 7M17 17l2.1 2.1M4.9 19.1 7 17M17 7l2.1-2.1'/></svg>")}
.mi-globe{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3c3.5 3.5 3.5 14.5 0 18M12 3c-3.5 3.5-3.5 14.5 0 18'/></svg>")}
.mi-help{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M9.5 9.2a2.6 2.6 0 1 1 3.6 2.4c-.8.4-1.1 1-1.1 1.9M12 17h.01'/></svg>")}
.mi-out{--m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 4h4v16h-4M10 8l-4 4 4 4M6 12h10'/></svg>")}

/* ---------- без «таблеток»: узлы карты прямоугольные ---------- */
.map-node{border-radius:7px}
.map-node.leaf,.map-node.leaf.terminal{border-radius:6px}

/* ---------- ряд сервисов: число кнопок из админки ---------- */
.quick{grid-template-columns:repeat(var(--keys,8),minmax(0,1fr)) minmax(143px,1.2fr)}
@media (min-width:981px){ .flightdeck .quick{grid-template-columns:repeat(var(--keys,8),minmax(0,1fr)) minmax(0,1.12fr)} }
@media (max-width:980px){ .quick{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(122px,1.16fr)} }
@media (max-width:600px){ .quick{grid-template-columns:repeat(3,minmax(0,1fr))} }

/* ---------- сортировка ---------- */
.sorter{display:inline-flex;align-items:center;gap:6px;color:var(--soft);font-size:13px;white-space:nowrap}
.sorter select{min-height:29px;max-width:190px;padding:4px 8px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:linear-gradient(165deg,var(--button),var(--deep));font-size:14px;box-shadow:inset 0 1px 0 #cfcfcf3a}
.sorter select option{background:var(--surface);color:var(--ink)}
.sorter select:hover{border-color:var(--focus)}
.library .deck-head{flex-wrap:wrap;row-gap:8px}
.library .deck-controls{flex-wrap:wrap;justify-content:flex-end}
@media (max-width:1400px){ .deck-controls .sorter span{display:none} }
.empty{color:var(--soft);padding:14px 4px}

/* ---------- реклама: длинная сверху (billboard), маленькая справа ---------- */
.deck-zone{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;background:#171717}
/* правая колонка, как в старом дизайне: «Биографии» и реклама одним закреплённым столбцом */
.side-stack{display:grid;gap:10px;align-content:start;align-items:start;min-width:0;padding:10px}
.side-stack>[hidden]{display:none}
.side-stack>*,.side-list li{min-width:0}
.side-people,.side-ad{margin:0;--plane:linear-gradient(155deg,#202020,#151515 60%,#1b1b1b)}
.side-ad{padding:10px}
.side-ad a,.side-ad picture,.side-ad img{display:block;width:100%}
.side-ad img{height:auto;border-radius:6px;transition:filter .25s ease}
.side-ad a:hover img{filter:brightness(1.1)}
.side-ad-name{display:block;margin-top:8px;font-size:13px;font-weight:600;line-height:1.3;color:var(--soft);transition:color .2s ease}
.side-ad a:hover .side-ad-name{color:var(--ink)}
.side-people{padding:12px 12px 10px}
.side-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.side-head h2{font-size:14px;text-transform:uppercase;letter-spacing:.07em}
.side-head a{font-size:13px;color:var(--soft);white-space:nowrap;transition:color .2s ease}
.side-head a:hover{color:var(--ink)}
.side-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.side-list a{display:flex;gap:10px;align-items:center;padding:6px;border:1px solid var(--line);border-radius:7px;background:linear-gradient(165deg,var(--button),var(--deep));transition:border-color .2s ease,box-shadow .25s ease,filter .2s ease}
.side-list a:hover,.side-list a:focus-visible{border-color:#e0e0e0;box-shadow:0 0 10px #ffffff24}
.side-list img,.side-ava{display:block;width:46px;height:46px;flex:none;border-radius:6px;object-fit:cover;background:#1a1a1a}
.side-list span{display:flex;flex-direction:column;min-width:0}
.side-list strong{font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-list small{font-size:12px;line-height:1.3;color:var(--soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:1200px){
  .deck-zone:has(.side-stack>:not([hidden])){grid-template-columns:minmax(0,1fr) clamp(260px,20vw,360px)}
  .side-stack{position:sticky;top:10px;padding-inline-start:0}
}
@media (max-width:1199px){ .side-stack{width:min(900px,100%);justify-self:center;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))} }

/* нижний ряд: одна длинная реклама во всю ширину */
.campaigns{grid-template-columns:minmax(0,1fr)!important}
.campaign.wide:before{content:none}
.campaign.wide picture{display:contents}
.campaign.wide img{object-fit:cover;object-position:left center;transition:filter .25s ease}
@media (max-width:980px){ .campaign.wide{min-height:0!important;aspect-ratio:1736/180} }
@media (max-width:520px){ .campaign.wide{aspect-ratio:716/180} }

/* ---------- движение: сигнал по линиям карты, блики на металле, плавные реакции ---------- */
.map-wire .traveller.idle{stroke-width:2.2;opacity:.5;animation-duration:4.6s}
.cable{transition:stroke .25s ease,opacity .25s ease,filter .25s ease}
.map-node{transition:border-color .2s ease,box-shadow .25s ease,filter .2s ease,background-color .2s ease}
.map-node:hover,.map-node:focus-within{box-shadow:0 0 10px #ffffff30}
.tile{transition:box-shadow .25s ease,filter .2s ease,border-color .2s ease}
.channel,.service-key{transition:filter .25s ease}
.file-layout{animation-duration:.5s}
@keyframes metal-glint{0%,52%{background-position:100% 0}88%,100%{background-position:0 0}}
.channel::after{content:"";position:absolute;inset:10% 7%;border-radius:6px;pointer-events:none;background:linear-gradient(105deg,transparent 38%,#ffffff1f 48%,#ffffff3d 50%,#ffffff1f 52%,transparent 62%) 0 0/300% 100% no-repeat;animation:metal-glint 9s ease-in-out infinite}
.channel:nth-child(2)::after{animation-delay:-.6s}.channel:nth-child(3)::after{animation-delay:-1.2s}.channel:nth-child(4)::after{animation-delay:-1.8s}.channel:nth-child(5)::after{animation-delay:-2.4s}
@media (min-width:981px){
  .upper-casing::after,.aft-casing::after{
    content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;
    background:linear-gradient(105deg,transparent 40%,#ffffff1c 47%,#ffffff4d 50%,#ffffff1c 53%,transparent 60%) 0 0/300% 100% no-repeat;
    -webkit-mask:url("skin/tower.webp?v=bw1") center/100% 100% no-repeat;mask:url("skin/tower.webp?v=bw1") center/100% 100% no-repeat;
    animation:metal-glint 12s ease-in-out infinite
  }
  .aft-casing::after{-webkit-mask-image:url("skin/lower-hull.webp?v=bw1");mask-image:url("skin/lower-hull.webp?v=bw1");animation-delay:-6s}
}

/* ---------- окно и страница «Все сервисы» ---------- */
dialog header{flex-wrap:wrap}
.drawer-tools{margin-inline-start:auto}
.drawer-tools:empty{display:none}
dialog.wide{width:min(1180px,96vw);max-width:96vw}
.svc-group h3{margin:14px 0 8px;font-size:14px;color:var(--soft);text-transform:uppercase;letter-spacing:.06em}
.svc-group:first-child h3{margin-top:2px}
.svc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:6px}
.svc{display:flex;align-items:center;gap:11px;min-width:0;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:linear-gradient(165deg,var(--button),var(--deep));box-shadow:inset 0 1px 0 #cfcfcf24}
a.svc:hover{border-color:var(--focus);color:var(--focus)}
.svc .symbol{width:28px;height:28px}
.svc-text{display:flex;flex-direction:column;min-width:0}
.svc-text strong{font-size:15px}
.svc-text small{color:var(--soft);font-size:12.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.svc.soon{opacity:.72}
.svc em{margin-inline-start:auto;flex:none;font-style:normal;font-size:11px;padding:2px 6px;border:1px solid var(--line);border-radius:4px;color:var(--soft)}
.route-list span{display:flex;flex-direction:column;min-width:0}
.route-list small{color:var(--soft);font-size:12px}
.route-list img{width:42px!important;height:30px!important;object-fit:cover!important;border-radius:3px;flex:none}
.find-cap{margin:2px 10px 4px;color:var(--soft);font-size:12px}
.find-list .find-all{border-top:1px solid var(--line);margin-top:4px;color:var(--focus)}

/* ---------- превью видео ---------- */
.tile.previewing .artwork img,.file-cover.previewing img{transform:none!important}
.file-cover{position:relative}

/* ---------- cookie ---------- */
.cookie-bar{position:fixed;inset:auto 12px 12px;z-index:90;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:920px;margin:0 auto;padding:12px 16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 40px #000000bb}
.cookie-bar[hidden]{display:none}
.cookie-bar p{font-size:14px;line-height:1.35}
.cookie-bar .key{flex:none;color:#232323;background:linear-gradient(135deg,#efefef,#c6c6c6);border-color:#ebebeb}
@media (max-width:600px){ .cookie-bar{flex-direction:column;align-items:stretch;text-align:center} }

/* ---------- страницы: мануал, о проекте, все сервисы ---------- */
.metal-page .console{min-height:100svh;display:flex;flex-direction:column}
.metal-page .console>footer{margin-top:auto}
.sheet{margin:0;padding:clamp(16px,2.4vw,34px) clamp(14px,3vw,44px) 30px;color:var(--ink)}
.sheet h2{font-size:clamp(24px,2.4vw,38px);letter-spacing:-.04em;margin-bottom:14px}
.sheet .lead{color:var(--soft);font-size:17px;margin-bottom:18px;max-width:900px}
.sheet-tools{display:flex;justify-content:flex-end;margin-bottom:10px}
.manual{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px;counter-reset:m}
.manual li{counter-increment:m;padding:13px 15px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(165deg,var(--button),var(--deep))}
.manual h3{font-size:16px;margin-bottom:6px;display:flex;gap:9px;align-items:baseline}
.manual h3:before{content:counter(m);flex:none;min-width:24px;text-align:center;font-size:12px;padding:2px 4px;border:1px solid var(--focus);border-radius:4px;color:var(--focus)}
.manual p{color:var(--soft);line-height:1.45}
.about-text{max-width:960px;line-height:1.55;font-size:16px}
.about-text p{margin:0 0 12px}.about-text a{color:var(--focus);text-decoration:underline}
.about-text img{max-width:100%;height:auto}
.metal-page .head{min-height:64px}
@media (min-width:981px){ .metal-page .wordmark img{width:min(16.6vw,240px)} .metal-page .head h1{font-size:clamp(18px,1.9vw,30px)} .metal-page .quick .service-key{min-height:56px} }

/* ---------- шапка на телефоне и планшете: ряд 1 — меню, логотип, аккаунт; ряд 2 — подпись, дизайн, тема, язык ---------- */
@media (min-width:601px) and (max-width:980px){ .head .wordmark img{width:180px!important} .head-keys>.hk,.head-keys>.pop-box>.hk{height:38px!important} .head .telemetry{order:19;flex:none} }
@media (max-width:980px){
  .head{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px!important;padding:6px 8px 7px!important}
  .head::after{content:"";order:25;flex-basis:100%;height:0}
  .head .menu-key{order:10;height:36px;width:36px}
  .head .wordmark{order:11;flex:1 1 0;min-width:0}
  .wordmark img{width:140px!important;max-width:100%}
  .head-keys{display:contents}
  .head-keys>.acct-box,.head-keys>.enter{order:20}
  .head h1{order:30;flex:1 1 auto;font-size:13px!important;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .head-keys>.design-key{order:31}
  .head-keys>.theme-key{order:32}
  .head-keys>.lang-box{order:33}
  .head-keys>.hk,.head-keys>.pop-box>.hk{height:34px;font-size:13px;padding:0 9px}
  .theme-key{width:34px}
  .acct-key{max-width:190px}
  .acct-key .ava{width:26px;height:26px}
  .head .enter{min-width:78px}
}
@media (max-width:370px){ .head h1{display:none} .acct-name{max-width:96px} }

/* ---------- справа налево (арабский, урду, фарси): корпус пульта несимметричный, поэтому его отсеки
   остаются на своих местах, а текст внутри идёт справа налево ---------- */
@media (min-width:981px){
  [dir=rtl] .flightdeck .navigator,[dir=rtl] .aft-housing{direction:ltr}
  [dir=rtl] .channel span,[dir=rtl] .map h2,[dir=rtl] .file-info,[dir=rtl] .map-directory,[dir=rtl] .trail nav,[dir=rtl] .campaign strong{direction:rtl}
  [dir=rtl] .map h2{text-align:left}
}

/* ================= светлая тема: светлые панели в металлических рамках ================= */
/* экраны пульта (карта и экран материала) остаются тёмными, как дисплеи */
[data-theme=light] .navigator{--ink:#f5f5f5;--soft:#b8b8b8;--surface:#1a1a1a;--deep:#0d0d0d;--button:#292929;--line:#646464;--focus:#e3e3e3;color:#f5f5f5}
[data-theme=light]{color-scheme:light;--ink:#1e1e1e;--soft:#5f5f5f;--surface:#f5f5f5;--deep:#ffffff;--button:#e8e8e8;--line:#a7a7a7;--focus:#5f5f5f;--panel:linear-gradient(145deg,#f7f7f7 4%,#eaeaea 52%,#f1f1f1)}
[data-theme=light] body{background:#dfdfdf}
[data-theme=light] .console{background:#cbcbcb}
[data-theme=light] .upper-casing,[data-theme=light] .aft-casing{filter:brightness(1.45) saturate(.75)}
[data-theme=light] .head{--plane:linear-gradient(105deg,#ececec,#ffffff 48%,#e8e8e8);background:linear-gradient(105deg,#ececec,#ffffff 48%,#e8e8e8);color:#1e1e1e}
[data-theme=light] .wordmark img{filter:invert(1)}
[data-theme=light] .head h1{border-color:#949494}
[data-theme=light] .telemetry{color:#3e3e3e}
[data-theme=light] .telemetry #rates{border-color:#a7a7a7}
[data-theme=light] .head-keys>.hk,[data-theme=light] .head-keys>.pop-box>.hk,[data-theme=light] .head .menu-key{background:linear-gradient(#ffffff,#e5e5e5);color:#202020;border-color:#979797;box-shadow:inset 0 1px 0 #ffffff,0 1px 2px #66666633}
[data-theme=light] .hk:hover,[data-theme=light] .head .menu-key:hover{color:#454545;border-color:var(--focus)}
[data-theme=light] .search-case form{background:linear-gradient(180deg,#ffffff,#f2f2f2);box-shadow:inset 0 0 0 1px #959595,inset 0 1px 6px #b0b0b033}
[data-theme=light] #query{color:#1e1e1e}
[data-theme=light] #query::placeholder{color:#656565}
[data-theme=light] .lens{border-color:#1e1e1e}[data-theme=light] .lens:after{background:#1e1e1e}
[data-theme=light] #plot{background:linear-gradient(118deg,#e9e9e9,#f4f4f4 44%,#e6e6e6);color:#313131;border-color:#b3b3b3}
[data-theme=light] #plot svg{color:#5e5e5e}
[data-theme=light] .billboard,[data-theme=light] .deck-zone,[data-theme=light] .aft-housing{background:#cfcfcf}
[data-theme=light] .library{--plane:linear-gradient(155deg,#f9f9f9,#eeeeee 42%,#ececec 86%,#f6f6f6)}
[data-theme=light] .library .deck-head h2{color:#1e1e1e}
[data-theme=light] .deck-controls .site-link{background:linear-gradient(145deg,#f0f0f0,#ffffff);color:#484848;border-color:#a6a6a6}
[data-theme=light] .tile{border-color:#ffffff #989898 #b1b1b1 #d3d3d3}
[data-theme=light] .tile-glass{background:linear-gradient(149deg,#ffffff,#f1f1f1)}
[data-theme=light] .tile .artwork{background:#e3e3e3}
[data-theme=light] .books .artwork{background:radial-gradient(ellipse at 45% 65%,#ffffff,#dfdfdf)}
[data-theme=light] .music .legend{color:#ffffff}
[data-theme=light] .side-ad,[data-theme=light] .side-people{--plane:linear-gradient(155deg,#f9f9f9,#ececec)}
[data-theme=light] .trail{--plane:linear-gradient(105deg,#f1f1f1,#ffffff 92%)}
[data-theme=light] .aft-housing .trail{background:linear-gradient(105deg,#f1f1f1,#ffffff 92%)}
[data-theme=light] .trail #back{color:#1e1e1e}
[data-theme=light] footer{color:#4e4e4e}
[data-theme=light] .console>footer{--plane:linear-gradient(105deg,#ececec,#ffffff 50%,#e8e8e8)}
[data-theme=light] .key,[data-theme=light] .filters button,[data-theme=light] .pager button,[data-theme=light] footer a,[data-theme=light] footer button{background:linear-gradient(165deg,#ffffff,#e7e7e7);color:#202020;border-color:#a0a0a0;box-shadow:inset 0 1px 0 #ffffff,0 1px 2px #66666633}
[data-theme=light] .filters button[aria-pressed=true]{color:#484848;border-color:var(--focus);background:linear-gradient(165deg,#f4f4f4,#ffffff)}
[data-theme=light] dialog{border-color:#979797;box-shadow:0 10px 60px #45454566}
[data-theme=light] dialog::backdrop{background:#3e3e3e88}
[data-theme=light] .pop{border-color:#a0a0a0;box-shadow:0 14px 40px #34343466}
[data-theme=light] .acct-out{color:#555555}
[data-theme=light] .cookie-bar{box-shadow:0 12px 40px #34343455}
[data-theme=light] .sheet{--plane:linear-gradient(155deg,#f9f9f9,#eeeeee 60%,#f4f4f4)}
[data-theme=light] .metal-page .quick,[data-theme=light] .flightdeck .quick{filter:brightness(1.12)}
