/* Shared stylesheet for every GENERATED page (build_pages.py, build_prices.py).
   One file rather than a <style> block per page: at a thousand-odd pages the
   same kilobytes inlined everywhere is megabytes of tarball and a fresh parse
   on every visit, where a linked file is fetched once and then comes out of the
   browser's cache for the rest of the session.

   The look is the landing page's, on purpose: the same void-and-gold backdrop,
   the same fixed bar with a «Разделы» menu, the same cards and the same Orokin
   plate behind the download call. A reader who arrives from search on /relics/
   and then opens the front page should not feel they changed websites. */

:root{
  --bg:#0d0f12; --bg2:#0a0c0f; --panel:#14171c; --panel2:#181c22;
  --line:#262b33; --line2:#343a45;
  --text:#e8e6e0; --soft:#cfd6e2; --mute:#b3bac6; --dim:#8b93a1;
  --gold:#d4a944; --gold2:#e0b25a; --green:#6fd06f; --red:#e06a5f; --blue:#5b9bd5;
  --r:16px;
  --glass:rgba(20,23,28,.82);
  --shadow:0 18px 50px rgba(0,0,0,.38);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:86px}
body{
  color:var(--text);
  font:15px/1.65 "Segoe UI",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;min-height:100vh;
  /* the landing page's backdrop, layer for layer: a warm Orokin glow up top,
     two cold washes at the sides, and a starfield */
  background-color:#080a0e;
  background-image:
    radial-gradient(1200px 620px at 50% -12%, rgba(212,169,68,.13), transparent 68%),
    radial-gradient(900px 560px at 88% 12%, rgba(58,96,168,.16), transparent 66%),
    radial-gradient(1000px 700px at 6% 42%, rgba(40,72,132,.13), transparent 62%),
    radial-gradient(760px 520px at 78% 84%, rgba(212,169,68,.06), transparent 64%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='37' cy='61' r='.8' opacity='.30'/%3E%3Ccircle cx='142' cy='24' r='.6' opacity='.20'/%3E%3Ccircle cx='266' cy='96' r='.9' opacity='.26'/%3E%3Ccircle cx='398' cy='42' r='.6' opacity='.18'/%3E%3Ccircle cx='474' cy='131' r='.8' opacity='.24'/%3E%3Ccircle cx='83' cy='188' r='.7' opacity='.22'/%3E%3Ccircle cx='210' cy='232' r='.6' opacity='.17'/%3E%3Ccircle cx='341' cy='197' r='.9' opacity='.27'/%3E%3Ccircle cx='452' cy='268' r='.6' opacity='.19'/%3E%3Ccircle cx='24' cy='321' r='.8' opacity='.25'/%3E%3Ccircle cx='158' cy='362' r='.6' opacity='.18'/%3E%3Ccircle cx='289' cy='329' r='.7' opacity='.23'/%3E%3Ccircle cx='417' cy='401' r='.9' opacity='.26'/%3E%3Ccircle cx='66' cy='447' r='.6' opacity='.19'/%3E%3Ccircle cx='196' cy='489' r='.8' opacity='.24'/%3E%3Ccircle cx='329' cy='456' r='.6' opacity='.17'/%3E%3Ccircle cx='489' cy='498' r='.7' opacity='.22'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment:fixed,fixed,fixed,fixed,fixed;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,repeat;
}
/* a hairline "energy" seam across the screen, like the game's panel edges */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    linear-gradient(90deg,transparent 0,rgba(212,169,68,.14) 50%,transparent 100%) 0 22vh/100% 1px no-repeat,
    linear-gradient(90deg,transparent 0,rgba(88,140,220,.10) 50%,transparent 100%) 0 78vh/100% 1px no-repeat;
}
body>*{position:relative;z-index:1}
::selection{background:rgba(212,169,68,.35)}
a{color:var(--gold);text-underline-offset:3px}
a:hover{color:var(--gold2)}
img{max-width:100%}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.orb{position:fixed;border-radius:50%;filter:blur(120px);opacity:.14;pointer-events:none;z-index:0}
.orb--a{width:520px;height:520px;background:var(--gold);top:-160px;right:-120px;
        animation:drift 18s ease-in-out infinite alternate}
.orb--b{width:420px;height:420px;background:#3b5b8a;bottom:-140px;left:-120px;
        animation:drift 22s ease-in-out infinite alternate-reverse}
@keyframes drift{from{transform:translate(0,0)}to{transform:translate(40px,30px)}}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;
     border-radius:11px;padding:12px 22px;font:600 14.5px/1 inherit;cursor:pointer;
     text-decoration:none;transition:filter .2s,transform .2s,box-shadow .2s,border-color .2s,color .2s}
.btn svg{flex:none}
.btn--gold{background:var(--gold);color:#15120a}
.btn--gold:hover{color:#15120a;filter:brightness(1.1);transform:translateY(-1px);
                 box-shadow:0 8px 30px rgba(212,169,68,.25)}
.btn--ghost{background:rgba(13,15,18,.4);border:1px solid var(--line2);color:var(--text)}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold)}

/* ---- the bar ---- */
/* Fixed and frosted like the landing page's. The menu panel hangs from the bar
   itself, so opening it never changes the bar's height or moves the logo. */
.bar{position:fixed;top:0;left:0;right:0;z-index:50;
     background:rgba(13,15,18,.74);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
     border-bottom:1px solid rgba(38,43,51,.85)}
.bar__in{max-width:1168px;margin:0 auto;padding:11px 24px;display:flex;align-items:center;gap:16px}
.brand{display:flex;align-items:center;gap:10px;color:var(--gold);font-weight:700;
       letter-spacing:2.5px;font-size:17px;text-decoration:none;flex:none}
.brand:hover{color:var(--gold2)}
.brand svg{width:26px;height:26px;flex:none}
.spacer{flex:1}
.lang{display:flex;gap:4px}
.lang a{border:1px solid var(--line);border-radius:9px;padding:4px 10px;font-size:11.5px;
        color:var(--dim);text-decoration:none;transition:border-color .2s,color .2s}
.lang a:hover{border-color:var(--gold);color:var(--gold)}
.lang a.on{border-color:var(--gold);color:var(--gold)}
.btn--bar{padding:0 16px;height:38px;font-size:13px}

/* A menu at every width, on <details>: it opens with no javascript at all,
   keeps the keyboard behaviour the browser already gives a disclosure, and
   still opens if a script elsewhere throws. */
.menu{position:static;flex:none}
.menu > summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:10px;
  height:38px;padding:0 14px;border:1px solid var(--line);border-radius:10px;
  background:rgba(20,23,28,.55);color:var(--text);font-size:13.5px;user-select:none;
  transition:border-color .2s,color .2s,background .2s}
.menu > summary::-webkit-details-marker{display:none}
.menu > summary:hover{border-color:var(--gold);color:var(--gold2)}
.menu[open] > summary{border-color:var(--gold);color:var(--gold2);background:rgba(212,169,68,.08)}
.burger{width:16px;height:12px;position:relative;flex:none;box-sizing:border-box;
        border-top:2px solid currentColor}
.burger::before,.burger::after{content:"";position:absolute;left:0;right:0;height:0;
        border-top:2px solid currentColor}
.burger::before{top:3px}
.burger::after{top:8px}

.menu > nav{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 72px);overflow-y:auto;
  display:grid;grid-template-columns:1.8fr 1fr;gap:12px 26px;padding:20px 22px 22px;
  background:rgba(12,14,17,.97);border:1px solid var(--line);border-top:0;
  border-radius:0 0 18px 18px;box-shadow:0 30px 60px rgba(0,0,0,.55)}
/* Closed is closed, spelled out: an explicit display on the panel overrides
   the browser's own rule for a closed <details>. */
.menu:not([open]) > nav{display:none}
.menu__grp{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:2px 8px}
.menu__grp + .menu__grp{grid-template-columns:1fr;border-left:1px solid var(--line);padding-left:22px}
.menu__h{grid-column:1/-1;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:2.5px;
         text-transform:uppercase;margin:0 0 8px 10px}
.menu > nav a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;
              color:var(--text);text-decoration:none;font-size:14.5px;
              transition:background .15s,color .15s}
.menu > nav a::before{
  content:"";flex:none;width:18px;height:18px;background:var(--gold);opacity:.9;
  -webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
/* the default icon sits on the link, not on ::before: declared on the
   pseudo-element it beat every link's own icon and each row drew a diamond */
.menu > nav a{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 20 12l-8 9.5L4 12z'/%3E%3C/svg%3E")}
.menu > nav a:hover{background:rgba(212,169,68,.08);color:var(--gold2)}
/* Where you already are, said once and honestly. */
.menu > nav a[aria-current]{background:rgba(212,169,68,.12);color:var(--gold);
                            box-shadow:inset 3px 0 0 var(--gold)}
.menu > nav a[href$="/item/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
.menu > nav a[href$="/relics/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 20 12l-8 9.5L4 12z'/%3E%3Cpath d='M12 8l3.2 4-3.2 4-3.2-4z'/%3E%3C/svg%3E")}
.menu > nav a[href$="/vault/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M4 7.5 12 3.5l8 4v9l-8 4-8-4z'/%3E%3Cpath d='M4 7.5l8 4 8-4M12 11.5v9'/%3E%3C/svg%3E")}
.menu > nav a[href$="/baro/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6 3h12M6 21h12'/%3E%3Cpath d='M7.5 3c0 4.5 9 4.5 9 9s-9 4.5-9 9M16.5 3c0 4.5-9 4.5-9 9s9 4.5 9 9'/%3E%3C/svg%3E")}
.menu > nav a[href$="/rivens/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Cpath d='M12 7.5l2.8 4.5-2.8 4.5-2.8-4.5z'/%3E%3C/svg%3E")}
.menu > nav a[href$="/ducats/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9'%3E%3Cellipse cx='12' cy='6' rx='7' ry='2.8'/%3E%3Cpath d='M5 6v6c0 1.6 3.1 2.8 7 2.8s7-1.2 7-2.8V6M5 12v6c0 1.6 3.1 2.8 7 2.8s7-1.2 7-2.8v-6'/%3E%3C/svg%3E")}
.menu > nav a[href$="/syndicates/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.5c0 4.6-3 8-7 9.5-4-1.5-7-4.9-7-9.5V6z'/%3E%3Cpath d='M12 8v8M8.5 11.5h7'/%3E%3C/svg%3E")}
.menu > nav a[href$="/prices/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17l5-5.5 4 3L20 7'/%3E%3Cpath d='M15 7h5v5'/%3E%3C/svg%3E")}
.menu > nav a[href$="/resource/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M7 4h10l3 5-8 11L4 9z'/%3E%3Cpath d='M4 9h16M12 20 9 9l3-5 3 5z'/%3E%3C/svg%3E")}
.menu > nav a[href$="/guides/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4.5A1.5 1.5 0 0 1 6.5 3H19v15H6.5A1.5 1.5 0 0 0 5 19.5z'/%3E%3Cpath d='M5 19.5A1.5 1.5 0 0 0 6.5 21H19M9 7h6'/%3E%3C/svg%3E")}
.menu > nav a[href$="/otzyvy/"],
.menu > nav a[href$="/reviews/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E")}
.menu > nav a[href$="/about/"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E")}
.menu > nav a[href$="#features"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M18.5 15.5l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z'/%3E%3C/svg%3E")}

/* ---- the page ---- */
.wrap{max-width:1120px;margin:0 auto;padding:106px 24px 20px}
.wrap::after{content:"";display:block;clear:both}

.crumbs{font-size:12.5px;color:var(--dim);margin-bottom:18px}
.crumbs a{color:var(--dim);text-decoration:none}
.crumbs a:hover{color:var(--gold)}
.crumbs span{margin:0 8px;opacity:.45}

/* The section's own game art, beside its heading. A float, so the title and
   the opening lines wrap around it, and every block that follows clears it. */
.art{float:right;position:relative;width:400px;height:250px;margin:-22px -12px 14px 30px;
     display:flex;align-items:center;justify-content:center;gap:12px;pointer-events:none}
.art__glow{position:absolute;inset:0;border-radius:50%;
           background:radial-gradient(closest-side,rgba(212,169,68,.24),rgba(212,169,68,.06) 58%,transparent 76%)}
.art::before,.art::after{content:"";position:absolute;left:50%;top:50%;border-radius:50%;
                         transform:translate(-50%,-50%);border:1px solid rgba(212,169,68,.24)}
.art::before{width:224px;height:224px}
.art::after{width:300px;height:300px;border-color:rgba(212,169,68,.10)}
.art img{position:relative;width:100px;height:100px;object-fit:contain;
         filter:drop-shadow(0 16px 22px rgba(0,0,0,.6));
         animation:float 7s ease-in-out infinite;animation-delay:calc(var(--i) * -1.7s)}
.art img:nth-of-type(even){margin-top:46px}
.art--2 img{width:136px;height:136px}
.art--4 img{width:86px;height:86px}
/* the two pictures that are cards rather than cut-outs get a card's corners */
.art img[src$=".jpg"],.art img[src*="Avatar"]{border-radius:14px;border:1px solid rgba(212,169,68,.4)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
h2,.tablewrap,.box,.cat,.grid,.ggrid,.pick,.memo,.way,.rev,.bsearch,.related,.plate,
.about__sec,.gtoc{clear:both}

/* ---- headings ---- */
h1{font-size:clamp(30px,4.3vw,46px);line-height:1.12;font-weight:700;letter-spacing:-.5px;
   margin-bottom:14px;text-wrap:balance}
h2{font-size:clamp(20px,2.3vw,25px);line-height:1.28;color:var(--text);font-weight:700;
   letter-spacing:-.2px;margin:58px 0 14px;text-wrap:balance}
h2::before{content:"";display:inline-block;width:9px;height:9px;margin:0 13px .2em 1px;
           vertical-align:middle;background:var(--gold);transform:rotate(45deg);
           box-shadow:0 0 12px rgba(212,169,68,.55)}
h3{font-size:16px;margin:24px 0 8px}
.lede{color:var(--soft);font-size:17px;line-height:1.62;max-width:680px;margin-bottom:22px}
.sub{color:var(--mute);font-size:13.5px;margin:-6px 0 16px;max-width:680px}
.kicker{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:3px;
        text-transform:uppercase;margin-bottom:10px}

/* ---- the fact strip under the title ---- */
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.fact{background:var(--glass);border:1px solid var(--line);border-radius:12px;
      padding:8px 14px;font-size:13.5px;color:var(--soft)}
.fact b{color:var(--gold2)}
.fact--warn{border-color:rgba(212,169,68,.45);color:var(--gold2);background:rgba(212,169,68,.08)}

/* an item's own picture, framed the way the section art is */
.head{display:flex;gap:34px;align-items:center;flex-wrap:wrap}
.head__text{flex:1 1 440px;min-width:0}
.head__img{flex:0 0 210px;height:210px;position:relative;display:flex;align-items:center;
           justify-content:center;border-radius:50%;
           background:radial-gradient(closest-side,rgba(212,169,68,.22),rgba(212,169,68,.05) 62%,transparent 78%)}
.head__img::before{content:"";position:absolute;inset:16px;border-radius:50%;
                   border:1px solid rgba(212,169,68,.26)}
.head__img::after{content:"";position:absolute;inset:-8px;border-radius:50%;
                  border:1px solid rgba(212,169,68,.09)}
.head__img img{position:relative;width:136px;height:136px;object-fit:contain;
               filter:drop-shadow(0 16px 24px rgba(0,0,0,.6))}

/* ---- tables ---- */
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);
           background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0) 140px),var(--panel);
           box-shadow:var(--shadow)}
table{width:100%;border-collapse:collapse;font-size:14px;min-width:520px}
th,td{text-align:right;padding:11px 14px;border-bottom:1px solid var(--line);
      white-space:nowrap;font-variant-numeric:tabular-nums}
th:first-child,td:first-child{text-align:left;white-space:normal}
/* Numbers sit right, prose sits left, and a column header belongs over its own
   content. */
th.l,td.wrap-cell{text-align:left}
th{color:#9aa3b1;font-size:11px;text-transform:uppercase;letter-spacing:.8px;font-weight:700;
   background:rgba(8,10,13,.35)}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background .15s}
tbody tr:hover{background:rgba(212,169,68,.05)}
td.wrap-cell{white-space:normal;color:var(--soft);font-size:13.5px}
.na{color:var(--dim)}
.up{color:var(--green)} .down{color:var(--red)}

/* ---- panels ---- */
.box{background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0) 120px),var(--panel);
     border:1px solid var(--line);border-radius:var(--r);padding:18px 22px;box-shadow:var(--shadow)}
.box+.box{margin-top:12px}
.verdict{font-size:15.5px;border-left:3px solid var(--gold)}
.verdict b{color:var(--gold2)}

/* ---- chips (relic / mission lists) ---- */
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-block;background:var(--panel2);border:1px solid var(--line);
      border-radius:8px;padding:3px 9px;font-size:12.5px;color:var(--soft);
      white-space:nowrap;text-decoration:none;transition:border-color .15s,color .15s}
a.chip:hover{border-color:var(--gold);color:var(--gold2)}
.chip--vault{border-color:#5a3f22;color:var(--gold2)}
.pill{display:inline-block;font-size:11px;border:1px solid var(--line);
      border-radius:6px;padding:1px 6px;color:var(--dim);margin-left:6px;
      vertical-align:middle}
details summary{cursor:pointer;color:var(--gold);padding:8px 0;font-size:14px}
details summary:hover{color:var(--gold2)}

/* ---- the hub ---- */
.cat{margin-top:6px}
.cat h2 .na{font-size:13px;font-weight:600;margin-left:6px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
      gap:10px;margin-top:14px}
.grid a{background:var(--glass);border:1px solid var(--line);border-radius:12px;
        padding:11px 14px;text-decoration:none;color:var(--text);font-size:14px;
        display:flex;align-items:center;gap:8px;
        transition:border-color .2s,transform .2s,color .2s,background .2s}
.grid a:hover{border-color:rgba(212,169,68,.6);color:var(--gold2);transform:translateY(-2px);
              background:rgba(212,169,68,.05)}
.grid a .mr{color:var(--dim);font-size:11.5px;margin-left:auto}
.grid a.off{color:var(--dim)}

.related{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.related a{background:var(--glass);border:1px solid var(--line);border-radius:10px;
           padding:8px 13px;font-size:13.5px;text-decoration:none;color:var(--text);
           transition:border-color .2s,color .2s}
.related a:hover{border-color:var(--gold);color:var(--gold2)}

/* ---- picking the two halves of a riven line ---- */
.pick{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:start;
      margin-top:14px}
.pick__plus{align-self:center;color:var(--gold);font-size:24px;line-height:1;
            padding:0 2px;user-select:none}
@media (max-width:760px){
  .pick{grid-template-columns:1fr;gap:8px}
  .pick__plus{justify-self:center;padding:2px 0}
}
.pick__win{min-width:0;background:var(--panel);border:1px solid var(--line);
           border-radius:var(--r);padding:14px 14px 15px;box-shadow:var(--shadow)}
.pick__h{font-size:11.5px;text-transform:uppercase;letter-spacing:.8px;
         color:var(--gold);font-weight:700;margin:0 0 10px 2px}
.pick__list{display:flex;flex-direction:column;gap:5px;
            max-height:330px;overflow-y:auto;padding-right:4px}
.pick__list--grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
                  gap:5px;align-content:start}
.pcard{display:block;background:var(--panel2);border:1px solid var(--line);
       border-radius:10px;padding:8px 11px;font-size:13.5px;color:var(--text);
       text-decoration:none;cursor:pointer;transition:border-color .15s,
       background .15s}
.pcard:hover{border-color:var(--gold);color:var(--text)}
.pcard__en{display:block;color:var(--dim);font-size:11.5px;margin-top:2px}
.pcard.on{border-color:var(--gold);background:rgba(212,169,68,.09);
          box-shadow:inset 3px 0 0 var(--gold)}
.pcard.on,.pcard.on:hover{color:var(--gold2)}
/* A scrollbar that belongs to the panel it lives in. */
.pick__list{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.pick__list::-webkit-scrollbar{width:8px}
.pick__list::-webkit-scrollbar-track{background:transparent}
.pick__list::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}
.pick__list:hover::-webkit-scrollbar-thumb{background:#39404b}

.memo{margin-top:16px;background:var(--panel);border:1px solid var(--line);
      border-left:3px solid var(--gold);border-radius:var(--r);padding:18px 20px;
      box-shadow:var(--shadow)}
.memo__empty{color:var(--dim);font-size:13.5px}
.memo__pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:700px){.memo__pair{grid-template-columns:1fr;gap:14px}}
.memo__lbl{font-size:11px;text-transform:uppercase;letter-spacing:.5px;
           color:var(--dim);font-weight:600;margin-bottom:3px}
.memo__pair b{display:block;color:var(--gold2);font-size:14.5px;
              margin-bottom:5px;line-height:1.35}
.memo__pair p{color:var(--soft);font-size:13.5px;line-height:1.6}
.memo h3{font-size:12px;text-transform:uppercase;letter-spacing:.5px;
         color:var(--dim);margin:20px 0 9px}
.rule{display:flex;gap:11px;align-items:flex-start;font-size:13.5px;
      color:var(--soft);line-height:1.6;padding:9px 0;
      border-top:1px solid var(--line)}
.rule:first-of-type{border-top:0;padding-top:0}
.rule .v{flex:none;min-width:84px;font-size:11px;text-transform:uppercase;
         letter-spacing:.5px;font-weight:600;padding:2px 8px;border-radius:6px;
         border:1px solid var(--line);text-align:center;margin-top:1px}
.rule--easy .v{color:var(--green);border-color:#2d4a2d}
.rule--watch .v{color:var(--gold2);border-color:#5a3f22}
.rule--hard .v{color:var(--red);border-color:#5a2b26}
@media (max-width:520px){
  .rule{flex-direction:column;gap:5px}
  .rule .v{align-self:flex-start;min-width:0}
}
tr:target td{background:rgba(212,169,68,.07)}

/* ---- searching ---- */
.bsearch{display:block;width:100%;max-width:520px;margin:0 0 14px;
         background:var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center/17px no-repeat;
         border:1px solid var(--line);border-radius:12px;
         color:var(--text);font:14.5px inherit;padding:12px 14px 12px 42px;
         transition:border-color .2s,box-shadow .2s}
.bsearch:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,169,68,.15)}
.bsearch::placeholder{color:var(--dim)}
.bans{border-left:3px solid var(--gold);margin-bottom:12px;font-size:14px;
      color:var(--soft)}
.bans b{color:var(--gold2);font-size:15px}
td.nowrap{white-space:nowrap}
.count{font-size:12.5px;margin-top:10px}

/* ---- where a relic drops ---- */
tr.srcrow td{border-bottom:1px solid var(--line);padding:2px 14px 11px;
             white-space:normal;text-align:left;font-size:12.5px}
tr.srcrow .chips{display:inline-flex;flex-wrap:wrap;gap:5px;vertical-align:middle}
/* one chip can name a dozen nodes, so it wraps inside itself rather than
   pushing the table sideways */
tr.srcrow .chip{font-size:11.5px;padding:1px 7px;background:transparent;white-space:normal}
tbody tr.srcrow:hover{background:none}

/* ---- a screenshot used as evidence ---- */
.about__sec{overflow:hidden}
.shotfig{float:right;width:min(360px,42%);margin:2px 0 12px 22px}
.shotfig img{display:block;width:100%;height:auto;border:1px solid var(--line);
             border-radius:12px;box-shadow:var(--shadow)}
.shotfig figcaption{color:var(--dim);font-size:12px;line-height:1.5;margin-top:8px}
.about__sec p{color:var(--soft);font-size:14.5px;line-height:1.68}
@media (max-width:700px){
  .shotfig{float:none;width:100%;margin:0 0 14px}
}

/* ---- a guide's numbered ways ---- */
.way{margin-top:34px}
.way h2{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.way h2::before{display:none}
.way__n{flex:none;width:32px;height:32px;border-radius:50%;
        display:inline-flex;align-items:center;justify-content:center;
        background:rgba(212,169,68,.1);border:1px solid var(--gold);color:var(--gold);
        font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;
        box-shadow:0 0 16px rgba(212,169,68,.25)}
.way .box p{color:var(--soft);font-size:14.5px}
.way__catch{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);
            font-size:13.5px}
.way__catch b{color:var(--gold2)}
.way__more{margin-top:10px;font-size:13px;color:var(--dim)}

/* ---- reviews ---- */
/* Plain cards on purpose. Rating widgets, avatars and «verified» badges are
   the visual language of the review sections nobody believes. */
.rev{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);
     padding:16px 20px;margin-top:12px;box-shadow:var(--shadow)}
.rev__top{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap;
          margin-bottom:8px}
.rev__stars{color:var(--gold);font-size:14px;letter-spacing:2px;flex:none}
.rev__who{font-size:14px}
.rev__top time{color:var(--dim);font-size:12.5px;margin-left:auto;
               font-variant-numeric:tabular-nums}
.rev__body{color:var(--soft);font-size:14.5px;white-space:pre-line;
           overflow-wrap:anywhere}
.rev__other{font-size:17px;color:var(--mute);margin:40px 0 0;
            text-transform:none;letter-spacing:0}
.rev__how{margin-top:26px;color:var(--dim);font-size:13px;max-width:680px}
@media (max-width:520px){
  .rev__top time{margin-left:0;width:100%}
}
.rev__none{color:var(--soft);max-width:680px;font-size:15px;margin-top:6px}

/* ---- long-form guides ---- */
/* A guide is read, not scanned: a centred reading column, a type size meant
   for paragraphs, and headings with room above them. */
.guide{max-width:780px;margin:0 auto}
main:has(> .guide) > .crumbs{max-width:780px;margin-inline:auto}
.guide h1{margin-bottom:10px}
.gmeta{color:var(--dim);font-size:13px;margin-bottom:16px}
.guide .lede{font-size:18px;line-height:1.6}
.gcover{display:block;margin:8px 0 26px}
.gcover img{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line);
            box-shadow:0 26px 70px rgba(0,0,0,.5)}
.gtoc{background:var(--glass);border:1px solid var(--line);border-radius:var(--r);
      padding:16px 20px;margin:0 0 28px;font-size:14px}
.gtoc b{display:block;font-size:11px;letter-spacing:2.5px;text-transform:uppercase;
        color:var(--gold);margin-bottom:8px}
.gtoc ol{margin:0;padding-left:20px;display:grid;gap:4px}
.gtoc a{text-decoration:none}
.gtoc a:hover{text-decoration:underline}
.gbody{font-size:16px;line-height:1.75;color:#d6d9df}
.gbody h2{font-size:24px;margin:48px 0 12px;scroll-margin-top:90px}
.gbody h3{font-size:17px;color:var(--text);margin:26px 0 6px}
.gbody p{margin:0 0 14px}
.gbody ul,.gbody ol{margin:0 0 16px;padding-left:22px;display:grid;gap:6px}
.gbody ul{list-style:none;padding-left:4px}
.gbody ul li{position:relative;padding-left:22px}
.gbody ul li::before{content:"";position:absolute;left:3px;top:.62em;width:7px;height:7px;
                     background:var(--gold);transform:rotate(45deg)}
.gbody b{color:var(--text)}
.gnote{border-radius:14px;padding:14px 18px;margin:0 0 18px;background:var(--glass);
       border:1px solid var(--line)}
.gnote p{margin:0}
.gnote--tip{border-left:3px solid var(--green)}
.gnote--warn{border-left:3px solid var(--gold)}
.gprice{font-size:13.5px;line-height:1.55;color:var(--mute);margin:-6px 0 22px;
        padding:2px 0 2px 12px;border-left:2px solid var(--gold)}
.gfig{margin:20px 0 24px}
.gfig--card{max-width:460px;margin-inline:auto}
.gfig picture,.gfig img{display:block;width:100%;height:auto}
.gfig img{border-radius:14px;border:1px solid var(--line);box-shadow:var(--shadow)}
.gfig--svg svg{display:block;width:100%;height:auto;background:var(--panel);
               border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.gfig figcaption{color:var(--dim);font-size:13px;line-height:1.5;margin-top:9px}
.gcap{color:var(--dim);font-size:13.5px;margin:6px 0 8px}
.gtable{margin:0 0 18px}
.gtable--fit table{min-width:0}
.gtable td.num,.gtable th.num{text-align:right;font-variant-numeric:tabular-nums}
.gtable td,.gtable th{white-space:normal}
.gtd-icon{display:flex;align-items:center;gap:10px}
.gicons{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 18px}
.gicons div{display:flex;flex-direction:column;align-items:center;gap:4px;
            background:var(--glass);border:1px solid var(--line);border-radius:12px;
            padding:10px 12px;min-width:84px}
.gicons span{font-size:12.5px;color:var(--dim);text-align:center}
.gicon{display:block;object-fit:contain}
.gfaq{margin-top:38px}
.gfaq h2{font-size:24px;margin:0 0 8px}
.gfaq h3{font-size:16px;margin:20px 0 4px;color:var(--text)}
.gfaq p{margin:0;color:var(--soft);line-height:1.68}
.gsub{color:var(--dim);font-size:12.5px;margin-top:28px}

/* ---- the terms and the privacy policy ---- */
/* Read once and carefully: the reading column of a guide and its type. */
.doc{max-width:780px;margin:0 auto}
main:has(> .doc) > .crumbs{max-width:780px;margin-inline:auto}
.doc h1{margin-bottom:10px}
.doc .upd{color:var(--dim);font-size:13.5px;margin:0 0 30px}
.doc h2{font-size:22px;margin:44px 0 12px}
.doc p,.doc li{color:var(--soft);font-size:15.5px;line-height:1.72;margin-bottom:12px}
.doc ul{list-style:none;padding-left:4px;margin:0 0 14px}
.doc ul li{position:relative;padding-left:22px}
.doc ul li::before{content:"";position:absolute;left:3px;top:.66em;width:7px;height:7px;
                   background:var(--gold);transform:rotate(45deg)}
.doc b{color:var(--text)}
.doc .note{background:var(--glass);border:1px solid var(--line);border-left:3px solid var(--gold);
           border-radius:14px;padding:16px 20px;margin:18px 0}
.doc .note p:last-child{margin-bottom:0}
.doc code{background:#0b0d10;border:1px solid var(--line);border-radius:5px;padding:1px 5px;
          font-size:13.5px}
.doc .tablewrap{margin:16px 0 22px}
.doc table{font-size:14.5px}
.doc th,.doc td{text-align:left;white-space:normal;vertical-align:top}
.doc__next{margin-top:40px;padding-top:18px;border-top:1px solid var(--line)}

/* the hub and the «ещё гайды» strip under an article */
.ggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:18px;margin-top:14px}
.ggrid--small{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.gcard{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);
       border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--text);
       box-shadow:var(--shadow);transition:border-color .25s,transform .25s}
.gcard:hover{border-color:rgba(212,169,68,.55);transform:translateY(-4px);color:var(--text)}
.gcard:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.gcard__img{overflow:hidden}
.gcard__img img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;
                transition:transform .45s ease}
.gcard:hover .gcard__img img{transform:scale(1.05)}
.gcard__cat{font-size:11px;color:var(--gold);letter-spacing:2px;text-transform:uppercase;
            font-weight:700;padding:14px 18px 0}
.gcard__h{font-size:17px;line-height:1.35;padding:6px 18px 0;color:var(--text)}
.gcard__p{font-size:13.5px;line-height:1.55;color:var(--mute);padding:8px 18px 18px}
.grel{margin-top:48px;clear:both}
.grel h2{margin-bottom:8px}

/* ---- the download plate ---- */
/* The landing page's Orokin plate: a diamond drawn in hairlines behind the one
   call every page ends on. */
.plate{margin:84px 0 0;padding:44px 48px;border-radius:22px;
       display:flex;align-items:center;flex-wrap:wrap;gap:26px 40px;
       background:
         radial-gradient(ellipse at 50% -30%, rgba(212,169,68,.26), transparent 58%),
         url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='620' viewBox='0 0 1200 620'%3E%3Cg fill='none' stroke='%23d4a944' stroke-opacity='.34'%3E%3Cpath d='M600 60 L860 310 L600 560 L340 310 Z' stroke-width='1.5'/%3E%3Cpath d='M600 130 L790 310 L600 490 L410 310 Z' stroke-width='1'/%3E%3Cpath d='M600 200 L720 310 L600 420 L480 310 Z' stroke-width='.8'/%3E%3Ccircle cx='600' cy='310' r='232' stroke-width='.7' stroke-opacity='.22'/%3E%3Ccircle cx='600' cy='310' r='286' stroke-width='.6' stroke-opacity='.16'/%3E%3Cpath d='M40 310 H300 M900 310 H1160' stroke-width='.8' stroke-opacity='.22'/%3E%3Cpath d='M170 200 L230 310 L170 420' stroke-width='.7' stroke-opacity='.20'/%3E%3Cpath d='M1030 200 L970 310 L1030 420' stroke-width='.7' stroke-opacity='.20'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat,
         linear-gradient(180deg,#141821,#0e1117);
       border:1px solid rgba(212,169,68,.24);
       box-shadow:0 0 0 1px rgba(0,0,0,.5) inset,0 24px 70px rgba(0,0,0,.5)}
.plate__txt{flex:1 1 380px}
.plate__h{font-size:clamp(23px,2.8vw,31px);font-weight:700;letter-spacing:-.3px;line-height:1.2;
          margin-bottom:10px}
.plate__p{color:var(--soft);font-size:15px;max-width:540px}
.plate__btns{display:flex;gap:12px;flex-wrap:wrap}

/* ---- footer ---- */
.foot{border-top:1px solid var(--line);margin-top:84px;padding:50px 24px 34px;
      background:linear-gradient(180deg,rgba(8,10,13,0),rgba(8,10,13,.65))}
.foot__in{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1fr 2fr;gap:36px}
.foot__brand p{color:var(--mute);font-size:13.5px;line-height:1.6;max-width:300px;margin-top:14px}
.foot__cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:24px}
.foot__cols b{display:block;color:var(--gold);font-size:11px;letter-spacing:2.5px;
              text-transform:uppercase;margin-bottom:12px}
.foot__cols a{display:block;color:#c3cad6;font-size:13.5px;text-decoration:none;padding:3px 0;
              transition:color .2s}
.foot__cols a:hover{color:var(--gold2)}
.foot__cols b.foot__sub{margin-top:22px}
.foot__contact{display:block;color:#c3cad6;font-size:13.5px;padding:3px 0}
.foot__legal{max-width:1120px;margin:36px auto 0;padding-top:20px;
             border-top:1px solid rgba(38,43,51,.6);color:#8f97a4;font-size:12px;line-height:1.6}

/* ---- narrower screens ---- */
@media (max-width:920px){
  .art{float:none;width:auto;height:170px;margin:-8px 0 12px}
  .art::before{width:150px;height:150px}
  .art::after{width:204px;height:204px}
  .art img{width:70px;height:70px}
  .art--2 img{width:96px;height:96px}
  .art--4 img{width:60px;height:60px}
  .art img:nth-of-type(even){margin-top:30px}
  .foot__in{grid-template-columns:1fr;gap:28px}
}
@media (max-width:820px){
  .bar__in{padding:10px 16px;gap:10px}
  /* a phone gets the whole width instead of a card */
  .menu > nav{left:0;right:0;transform:none;width:auto;grid-template-columns:1fr;gap:14px;
              border-left:0;border-right:0;border-radius:0 0 16px 16px;padding:14px 16px 20px}
  .menu__grp + .menu__grp{grid-template-columns:1fr 1fr;border-left:0;padding-left:0;
                          border-top:1px solid var(--line);padding-top:14px}
  .menu > nav a{font-size:15px;padding:11px 10px}
  .wrap{padding:86px 16px 16px}
  h2{margin-top:46px}
  .head{gap:18px}
  .head__img{order:-1;flex-basis:160px;height:160px;margin:0 auto}
  .head__img img{width:104px;height:104px}
  .plate{padding:30px 22px;margin-top:64px}
  .foot{padding:40px 16px 28px;margin-top:64px}
  .foot__cols{grid-template-columns:1fr 1fr}
  .foot__cols > div:first-child{grid-column:1/-1;columns:2;column-gap:24px}
  .foot__cols > div:first-child b{column-span:all}
}
@media (max-width:560px){
  .menu__lbl{display:none}
  .menu > summary{padding:0 11px}
  .btn--bar{padding:0 11px}
  .btn--bar span{display:none}
  .brand{font-size:15px;letter-spacing:2px}
  .brand svg{width:23px;height:23px}
  .lang a{padding:4px 8px}
  .lede{font-size:16px}
  .guide .lede{font-size:16.5px}
  .gbody{font-size:15.5px}
  .gbody h2{font-size:21px}
  .gfig--svg svg{padding:8px}
  .plate__btns .btn{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .orb,.art img{animation:none}
  .btn,.grid a,.gcard,.gcard__img img,tbody tr{transition:none}
}
