/* Шрифты /es/ локально (09.10.2026, макет «Музей до полуночи»): Forum — заголовки и таблички, Old Standard TT — тексты, Marck Script — атмосферный текст карт. Все с кириллицей */
/* Forum 400, cyrillic-ext */
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/forum-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Forum 400, cyrillic */
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/forum-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Forum 400, latin */
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/forum-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Marck Script 400, cyrillic */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/marck-script-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Marck Script 400, latin */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/marck-script-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Old Standard TT 400 italic, cyrillic-ext */
@font-face {
  font-family: 'Old Standard TT';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400i-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Old Standard TT 400 italic, cyrillic */
@font-face {
  font-family: 'Old Standard TT';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400i-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Old Standard TT 400 italic, latin */
@font-face {
  font-family: 'Old Standard TT';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Old Standard TT 400, cyrillic-ext */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Old Standard TT 400, cyrillic */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Old Standard TT 400, latin */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Old Standard TT 700, cyrillic-ext */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Old Standard TT 700, cyrillic */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Old Standard TT 700, latin */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../bundles/app/fonts/old-standard-tt-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Раздел /es/ — «Знак Древних» (09.10.2026), макет «Музей до полуночи»: светлый холодный мрамор, шапка-дамаск, малахит, медь, латунь, бирюза Знака.
   Подсветка зала — переменные --acc/--acc2/--glow на <body> (App\Game\Es\Services\Museum::hallStyle). */
:root{--damask:#1f2230;--damask2:#2c3142;--marble:#e6e4da;--marble2:#d6d4c6;--vein:#b9b5a5;--ink:#24211b;--muted:#5b574c;--copper:#6d4530;--copper2:#9a6440;
  --brass:#b8913f;--brass2:#e0c27a;--crimson:#8b1e24;--acc:#1f4a32;--acc2:#2f6a45;--glow:#46c3c9;--paper:#f3f1ea;--f:'Forum','Old Standard TT',Georgia,serif;
  --t:'Old Standard TT',Georgia,serif;--s:'Marck Script',cursive}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.e-body{margin:0;font-family:var(--t);font-size:17px;line-height:1.55;color:var(--ink);min-height:100vh;display:flex;flex-direction:column;
  background:radial-gradient(ellipse at 20% 0%,rgba(255,255,255,.55),rgba(255,255,255,0) 60%),repeating-linear-gradient(115deg,rgba(150,146,128,0) 0 38px,rgba(150,146,128,.07) 38px 40px,rgba(150,146,128,0) 40px 90px),linear-gradient(180deg,#e9e7de,#dddbcf);background-attachment:fixed}
img{max-width:100%;height:auto}
a{color:#1d6f74}a:hover{color:#0f4c50}
h1,h2,h3{font-family:var(--f);font-weight:400;line-height:1.1;margin:0}
p{margin:0 0 10px}
.e-wrap{max-width:1320px;margin:0 auto;padding-left:24px;padding-right:24px;width:100%}
.e-flex{flex:1}
.e-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.e-skip{position:absolute;left:-9999px;top:0;background:#fff;padding:8px 12px;z-index:100}.e-skip:focus{left:8px}
.e-label{font-family:var(--f);letter-spacing:.12em;text-transform:uppercase;font-size:12px;color:var(--muted);display:block}
.e-muted{color:var(--muted)}.e-small{font-size:14px}.e-mt{margin-top:18px}
.e-crimson{color:var(--crimson)!important}.e-acc-c{color:var(--acc)!important}.e-glow-c{color:var(--glow)}
.e-nw{white-space:nowrap}
.e-script{font-family:var(--s);font-size:23px;line-height:1.35;color:#4a3a28;margin:0 0 14px}
.e-h1{font-size:64px;margin:10px 0 14px}.e-h1-sm{font-size:44px;margin:4px 0 8px}
.e-h2{font-size:32px;margin:30px 0 14px}.e-h3{font-size:26px;margin:0 0 10px}
.e-lead{color:var(--muted);max-width:780px;margin:0 0 18px}
.e-sec{padding-top:28px;padding-bottom:48px}
.e-narrow{max-width:1000px}

/* полоса игр */
.e-strip{background:#14161f;color:#b9bccb;font-family:var(--f);font-size:14px;letter-spacing:.06em}
.e-strip-in{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;padding-top:8px;padding-bottom:8px}
.e-strip a{color:#b9bccb;text-decoration:none}.e-strip a:hover{color:#fff}
.e-strip .on{color:var(--glow)}.e-strip-t{color:#7d8092}

/* шапка: дамаск */
.e-head{background-color:var(--damask);background-image:var(--damask-img,none);background-size:360px auto;position:relative;color:#e9e4d2}
.e-head::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,20,30,.35),rgba(18,20,30,.78));pointer-events:none}
.e-head>*{position:relative;z-index:1}
.e-head-in{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.e-logo{display:flex;align-items:center;gap:16px;text-decoration:none;color:#cfd0da;font-family:var(--f);font-size:15px;letter-spacing:.14em;line-height:1.4;text-transform:uppercase}
.e-logo img{height:76px;width:auto;border-radius:4px;box-shadow:0 4px 14px rgba(0,0,0,.45);display:block}
.e-logo:hover{color:#fff}
.e-head-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.e-search{display:flex;align-items:center;background:rgba(255,255,255,.08);border-radius:3px}
.e-search input{background:transparent;border:0;color:#e9e4d2;font:inherit;font-size:16px;padding:10px 12px;min-height:44px;width:200px}
.e-search input::placeholder{color:#a8aaba}
.e-search button{background:none;border:0;color:#e9e4d2;padding:10px 12px;min-height:44px;cursor:pointer}
.e-miniclock{display:flex;align-items:center;gap:10px}
.e-miniclock[hidden]{display:none}
.e-miniclock-face{width:52px;height:52px;border-radius:50%;overflow:hidden;position:relative;box-shadow:0 0 0 2px var(--brass),0 0 14px rgba(0,0,0,.6);background:#2a2418;flex:none}
.e-miniclock-face img{width:100%;height:100%;object-fit:cover;display:block}
.e-miniclock-hand{position:absolute;left:50%;top:50%;width:4px;height:22px;margin-left:-2px;margin-top:-20px;background:#1a1408;border-radius:2px;transform-origin:50% 20px;transition:transform .6s cubic-bezier(.3,1.4,.5,1)}
.e-miniclock-t{font-family:var(--f);line-height:1.15}.e-miniclock-t small{display:block;font-size:12px;color:#a8aaba;letter-spacing:.08em;text-transform:uppercase}.e-miniclock-t b{font-weight:400;font-size:19px}
.e-menu-btn{display:none;background:rgba(255,255,255,.08);border:0;color:#e9e4d2;min-width:44px;min-height:44px;border-radius:3px;cursor:pointer}
.e-navbar{background:rgba(10,11,18,.55);border-top:1px solid rgba(224,194,122,.25)}
.e-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px;padding-top:6px;padding-bottom:6px}
.e-nav a{font-family:var(--f);font-size:17px;letter-spacing:.05em;color:#e9e4d2;text-decoration:none;padding:10px 12px;border-radius:3px}
.e-nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.e-nav a.on{color:#1a1c26;background:var(--brass2)}
.e-rail{height:10px;background:linear-gradient(180deg,var(--copper2),var(--copper) 60%,#3a2418);box-shadow:0 2px 0 var(--acc) inset,0 3px 8px rgba(0,0,0,.25)}

/* таблички, рамки, кнопки */
.e-plaque{background:linear-gradient(180deg,#f4f2ea,#e4e1d4);border:1px solid #a9a38f;box-shadow:0 0 0 3px #f4f2ea,0 0 0 4px var(--acc),0 6px 16px rgba(40,35,20,.18)}
.e-frame{border:2px solid var(--acc);box-shadow:0 0 0 4px #efece3,0 0 0 5px var(--copper),0 10px 24px rgba(30,26,16,.22);background:var(--paper)}
.e-btn{font-family:var(--f);font-size:17px;letter-spacing:.06em;border:0;cursor:pointer;padding:12px 20px;min-height:44px;border-radius:3px;text-decoration:none;display:inline-flex;align-items:center;gap:10px;color:var(--ink);background:none}
.e-btn-sm{font-size:15px;padding:8px 14px}
.e-btn-acc{background:var(--acc);color:#fff;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.e-btn-acc:hover{background:var(--acc2);color:#fff}
.e-btn-ghost{border:1px solid var(--acc)}
.e-btn-ghost:hover{background:rgba(31,74,50,.08);color:var(--ink)}
.e-btn-roll{background:linear-gradient(180deg,#e9cf86,#b8913f);color:#2a1d08;font-size:19px;padding:12px 22px 12px 14px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.22),0 0 0 2px var(--copper),0 6px 16px rgba(80,60,20,.35)}
.e-btn-roll.e-btn-sm{font-size:16px;padding:8px 14px 8px 10px}
.e-btn-roll:hover{background:linear-gradient(180deg,#f3dc9c,#c9a04c);color:#2a1d08}
.e-dice3{display:flex;gap:3px}.e-dice3 i{width:20px;height:20px;border-radius:4px;background:#3c8a37;box-shadow:inset 0 -2px 0 rgba(0,0,0,.28);transition:transform .2s}
.e-dice3 i.y{background:#dcb825}.e-dice3 i.r{background:#b23a2c}.e-dice3.big i{width:26px;height:26px;border-radius:5px}
.e-btn-roll:hover .e-dice3 i{transform:rotate(-12deg)}
.e-wide{width:100%;justify-content:center}
.e-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.e-chips{display:flex;flex-wrap:wrap;gap:8px}
.e-chip{font-family:var(--f);font-size:15px;padding:8px 12px;min-height:40px;border:1px solid #b2ad99;background:#f2f0e8;color:var(--ink);border-radius:20px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.e-chip:hover{border-color:var(--acc);color:var(--ink)}
.e-chip.on{background:var(--acc);border-color:var(--acc);color:#fff}
.e-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;margin-right:6px;vertical-align:middle}
.e-chip .e-dot{margin:0}
.e-flash{border:1px solid var(--acc);background:var(--paper);padding:10px 16px;margin-top:16px}.e-flash-error{border-color:var(--crimson)}
.e-inp{font:inherit;font-size:17px;padding:10px 12px;min-height:44px;border:1px solid #a9a38f;background:#fbfaf6;border-radius:3px;width:100%}
.e-crumbs{font-size:15px;color:var(--muted);margin-bottom:16px}
.e-reset{display:inline-block;margin-top:4px;font-size:15px}

/* значки: кубики и жетоны */
.ic{width:1em;height:1em;fill:currentColor;display:block}
.e-die{width:34px;height:34px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:#3c8a37;color:#fff;box-shadow:inset 0 -3px 0 rgba(0,0,0,.28),0 1px 2px rgba(0,0,0,.3);position:relative;flex:none;font-size:22px;vertical-align:middle}
.e-die b{position:absolute;right:-6px;bottom:-6px;background:var(--ink);color:#fff;border-radius:50%;width:18px;height:18px;font:700 12px/18px var(--t);text-align:center}
.e-die.big{width:46px;height:46px;border-radius:9px;font-size:28px}
.e-die.sm{width:24px;height:24px;border-radius:5px;font-size:16px;margin:0 2px}
.e-die.sm b{width:15px;height:15px;font-size:10px;line-height:15px;right:-5px;bottom:-5px}
.e-die.xs{width:22px;height:22px;border-radius:5px;font-size:15px}
.e-die.y{background:#dcb825;color:#2b2300}.e-die.r{background:#b23a2c}
.e-tok{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;font-size:26px;color:var(--ink);vertical-align:middle;position:relative}
.e-tok-san{color:#3a4f8f}.e-tok-hp{color:#9b2c2c}.e-tok-sign{color:#0f6f74}.e-tok-gate{color:#2f6a45}.e-tok-mon{color:#5d3f78}.e-tok-doom{color:#5a2a2a}.e-tok-lock{color:#3c3a33}
.e-loss b{position:absolute;right:-8px;bottom:-6px;background:var(--ink);color:#fff;border-radius:9px;padding:0 4px;font:700 11px/16px var(--t)}
.e-tokens{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}
.e-or{font-style:normal;font-size:13px;color:var(--muted);margin:0 4px}
.e-cell-empty{display:inline-block;width:46px;height:46px;border-radius:6px;background:repeating-linear-gradient(135deg,#d9d5c4 0 6px,#cfcab6 6px 12px)}

/* главная */
.e-hero{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:40px;padding-bottom:24px}
.e-hero-text{flex:1 1 480px;min-width:0}
.e-hero-lead{max-width:560px;margin:0 0 22px}
.e-dial{flex:0 1 460px;position:relative;width:440px;height:440px;max-width:100%;margin:0 auto}
.e-dial-face{position:absolute;left:50%;top:50%;width:300px;height:300px;margin:-150px 0 0 -150px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 6px var(--copper),0 0 0 9px var(--brass),0 18px 40px rgba(20,16,8,.45)}
.e-dial-face>img:first-child{width:100%;height:100%;object-fit:cover;display:block}
.e-dial-hand{position:absolute;left:50%;top:50%;width:44px;height:118px;margin:-92px 0 0 -22px;transform-origin:22px 92px;transition:transform .6s cubic-bezier(.3,1.4,.5,1);filter:drop-shadow(0 3px 4px rgba(0,0,0,.55))}
.e-dial-plate{position:absolute;padding:8px 14px;text-decoration:none;color:var(--ink);text-align:center;min-width:120px;display:flex;flex-direction:column}
.e-dial-plate b{font-family:var(--f);font-weight:400;font-size:20px;line-height:1.1}.e-dial-plate small{font-size:13px;color:var(--muted)}
.e-dial-plate .e-label{font-size:11px}
.e-dial-plate:hover b{color:var(--acc)}
.p-top{left:50%;top:0;transform:translateX(-50%)}.p-right{right:0;top:50%;transform:translateY(-50%)}.p-bottom{left:50%;bottom:0;transform:translateX(-50%)}.p-left{left:0;top:50%;transform:translateY(-50%)}
.e-roll{padding:18px 22px;display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center}
.e-roll-dice{display:flex;gap:12px;flex-wrap:wrap}
.e-roll-text{flex:1 1 300px;font-size:18px}
@keyframes rollin{0%{transform:rotate(-200deg) scale(.4);opacity:0}100%{transform:none;opacity:1}}
.e-roll-dice .e-die{animation:rollin .55s cubic-bezier(.2,.8,.2,1) both}
.e-sec-head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:16px}.e-sec-head .e-h2{margin:0}
.e-halls{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px}
.e-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;padding-top:8px;padding-bottom:44px}
.e-shortcut{padding:16px 18px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
.e-shortcut b{font-family:var(--f);font-weight:400;font-size:22px}.e-shortcut small{font-size:14px;color:var(--muted)}
.e-shortcut:hover b{color:var(--acc)}

/* плитки карт */
.e-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:24px 20px}
.e-grid-tall{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:26px 22px}
.e-grid-wide{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px}
.e-tile{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
.e-tile img{display:block;width:100%;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 6px 14px rgba(30,26,16,.22);transition:transform .2s,box-shadow .2s;background:#cfcab6}
.e-tile-tall img{aspect-ratio:805/1407;object-fit:cover}.e-tile-small img{aspect-ratio:722/1112;object-fit:cover}
.e-tile-wide img,.e-tile-ao img{aspect-ratio:1407/805;object-fit:cover}.e-tile-hall img{aspect-ratio:3/5;object-fit:cover;object-position:top}
.e-tile:hover img,.e-tile:focus-visible img{transform:translateY(-3px);box-shadow:0 0 0 2px var(--glow),0 10px 22px rgba(30,26,16,.3)}
.e-tile:hover{color:var(--ink)}
.e-tile-noimg{display:flex;align-items:center;justify-content:center;aspect-ratio:3/5;background:var(--marble2);padding:10px;text-align:center;font-family:var(--f)}
.e-exlabel{border-top:2px solid var(--dot,var(--acc));padding-top:6px;display:flex;flex-direction:column}
.e-tile-name{font-family:var(--f);font-size:20px;line-height:1.12}
.e-tile-meta{font-size:14px;color:var(--muted)}

/* каталог с фильтрами */
.e-cat{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.e-cat-side{flex:1 1 240px;max-width:290px;display:flex;flex-direction:column;gap:20px}
.e-cat-main{flex:999 1 560px;min-width:0}
.e-filter .e-label{margin-bottom:8px}
.e-filter{margin-bottom:18px}.e-cat-side .e-filter{margin-bottom:0}
.e-tabs{margin-bottom:18px}

/* полночь: Древние */
.e-main{flex:1 0 auto}
.e-midnight{background-color:#141620;background-image:linear-gradient(180deg,rgba(14,16,24,.82),rgba(14,16,24,.94)),var(--damask-img,none);background-size:auto,360px auto;color:#e8e3d3}
.e-midnight .e-btn-ghost{color:#e8e3d3;border-color:var(--glow)}.e-midnight .e-btn-ghost:hover{background:rgba(70,195,201,.12);color:#fff}
.e-midnight .e-label{color:#a8a796}.e-midnight .e-lead,.e-midnight .e-muted{color:#c9c3b0}
.e-midnight a{color:#9fd9dc}.e-midnight .e-crumbs{color:#a8a796}
.e-midnight .e-h1-sm{color:#efe7cf}
.e-midnight .e-chip{background:rgba(255,255,255,.06);color:#e8e3d3;border-color:rgba(255,255,255,.2)}
.e-midnight .e-chip.on{background:var(--acc);border-color:var(--glow)}
.e-midnight .e-plaque,.e-midnight .e-frame{color:var(--ink)}
.e-midnight .e-plaque a,.e-midnight .e-frame a{color:#1d6f74}
.e-tile-ao{color:#efe7cf}.e-tile-ao:hover{color:#fff}
.e-ao-label{display:flex;align-items:center;gap:12px}
.e-ao-sign{width:46px;height:46px;border-radius:50%;flex:none;background:#14504b center/cover;box-shadow:0 0 14px rgba(70,195,201,.55)}
.e-ao-name{flex:1;display:flex;flex-direction:column}.e-ao-name b{font-family:var(--f);font-weight:400;font-size:24px;line-height:1.05}.e-ao-name small{font-size:15px;color:#b9b3a0}
.e-ao-signs{text-align:right;display:flex;flex-direction:column}.e-ao-signs b{font-family:var(--f);font-weight:400;font-size:30px;line-height:1;color:var(--glow)}.e-ao-signs small{font-size:12px;color:#a8a796}

/* сыщики */
.e-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:24px 18px}
.e-person{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--ink);gap:4px}
.e-person img{width:130px;height:130px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 4px var(--copper),0 0 0 6px var(--brass),0 8px 18px rgba(30,26,16,.3);margin-bottom:6px;transition:box-shadow .2s}
.e-person:hover img{box-shadow:0 0 0 4px var(--copper),0 0 0 6px var(--glow),0 8px 22px rgba(30,26,16,.35)}
.e-person b{font-family:var(--f);font-weight:400;font-size:20px;line-height:1.1}
.e-person i{font-size:14px;color:var(--muted)}
.e-person-stats{display:flex;gap:10px;font-size:15px}.e-person-stats span{display:inline-flex;align-items:center}.e-person-stats .e-tok{width:22px;height:22px;font-size:18px}

/* Мифы */
.e-myths{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.e-myth{padding:0;overflow:hidden;text-decoration:none;color:var(--ink);display:block}
a.e-myth:hover{box-shadow:0 0 0 4px #efece3,0 0 0 5px var(--glow),0 10px 24px rgba(30,26,16,.28);color:var(--ink)}
.e-myth-head{display:block;background:#2b2d35;color:#efe7cf;padding:10px 16px;font-family:var(--f);font-size:22px;position:relative}
.e-qty{position:absolute;right:12px;top:10px;font-style:normal;font-size:15px;color:#a8a796}
.e-myth-body{padding:12px 16px;display:flex;flex-direction:column;gap:8px}
.e-tok-no{position:relative}.e-tok-no::after{content:"";position:absolute;left:3px;right:3px;top:50%;height:3px;background:#8b1e24;transform:rotate(-45deg);border-radius:2px}
.e-or-tok{align-self:center;font-size:14px;padding:0 4px}
.e-event-orb{width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ff9a6a,#a3221a 55%,#3a0d08);box-shadow:0 0 10px rgba(200,60,30,.6)}
.e-location{padding:14px 18px}.e-location b{font-family:var(--f);font-weight:400;font-size:22px;display:block;margin:2px 0}.e-location p{margin:0}
.e-danger-green{border-color:#3c8a37}.e-danger-yellow{border-color:#c9a21e}.e-danger-red{border-color:#b23a2c}
.e-tok-skill{color:#2c3f7a}.e-tok-heal{color:#9b2c2c}.e-tok-healsan{color:#3a4f8f}.e-tok-gang{color:#5a1d1d}.e-tok-lodge{color:#2f4f3a}.e-tok-beast{color:#6a3a2a}
.e-tok-storm{color:#3d6470}.e-tok-supply{color:#6d4530}.e-tok-frost{color:#5f8b96}.e-doom-cell.d-s{border-color:#5f8b96;background:rgba(95,139,150,.15)}
.e-myth-tags{display:block;background:#5a1d1d;color:#f1d9c9;font-size:13px;padding:3px 16px;letter-spacing:.04em}
.e-tok-bless{color:#5a6f8f}.e-tok-curse{color:#3a1d2a}.e-tok-undoom{color:#2f6a45}.e-tok-cult{color:#6a2a1d}
.e-myth-body p{margin:0}
.e-myth-big .e-myth-head{font-size:28px}
.e-lockline{display:flex;align-items:center;gap:6px;font-size:15px}

/* дополнения */
.e-hall-list{display:flex;flex-direction:column;gap:16px}
.e-hall-row{display:flex;gap:20px;align-items:center;padding:14px 18px;text-decoration:none;color:var(--ink)}
.e-hall-row img{width:72px;height:110px;object-fit:cover;object-position:top;border-radius:3px;flex:none}
.e-hall-row-t{flex:1;min-width:0;display:flex;flex-direction:column}.e-hall-row-t b{font-family:var(--f);font-weight:400;font-size:26px}
.e-hall-row-n{text-align:right;flex:none;display:flex;flex-direction:column}.e-hall-row-n b{font-family:var(--f);font-weight:400;font-size:26px}
.e-hall-row:hover{color:var(--ink);box-shadow:0 0 0 4px #efece3,0 0 0 5px var(--glow),0 10px 24px rgba(30,26,16,.28)}
.e-set-head{padding:26px 28px;display:flex;flex-wrap:wrap;gap:30px;align-items:center;background:linear-gradient(120deg,var(--paper),var(--paper) 55%,transparent),var(--acc)}
.e-set-head img{width:200px;border-radius:5px;box-shadow:0 12px 30px rgba(0,0,0,.35)}
.e-set-head>div{flex:1 1 380px;min-width:0}
.e-set-note{font-size:18px;margin:0 0 14px}
.e-parts{margin-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.e-part{padding:14px 16px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}.e-part b{font-family:var(--f);font-weight:400;font-size:30px;color:var(--acc)}

/* карта */
.e-card{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.e-card-media{flex:0 1 340px;display:flex;flex-direction:column;gap:12px;align-items:center}
.e-card-wide .e-card-media{flex:1 1 480px;max-width:620px}
.e-card-info{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:18px}
.e-flipwrap{width:100%;max-width:340px;perspective:1400px}
.e-card-wide .e-flipwrap{max-width:620px}
.e-flip{transition:transform .7s;transform-style:preserve-3d;position:relative}
.e-flip.flipped{transform:rotateY(180deg)}
.e-face{width:100%;display:block;border-radius:6px;box-shadow:0 14px 34px rgba(30,26,16,.4);backface-visibility:hidden}
.e-back{position:absolute;inset:0;height:100%;object-fit:cover;transform:rotateY(180deg)}
.e-card-title{padding:18px 22px}
.e-card-title h1{font-size:44px;line-height:1.05;margin:6px 0 4px}
.e-card-sub{font-family:var(--f);font-size:22px;color:var(--muted);margin-bottom:6px}
.e-card-title .e-script{margin:8px 0 0}
.e-facts{display:flex;flex-wrap:wrap;gap:12px}
.e-fact{padding:10px 16px;display:flex;align-items:center;gap:10px}
.e-fact .e-tok{width:26px;height:26px;font-size:22px}
.e-trophy{font-family:var(--f);width:34px;height:34px;border-radius:50%;background:var(--acc);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 0 0 2px var(--glow)}
.e-tasks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;position:relative}
.e-tasks-ordered{padding-left:26px;border-left:3px solid var(--copper)}
.e-task{padding:10px 14px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.e-task-n{width:70px}
.e-task-cells{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.e-task-cell{display:inline-flex;align-items:center;padding:4px;border-radius:8px}
.e-task-cell.e-monster{background:#fff;box-shadow:0 0 0 2px #fff,0 0 0 3px #8c8774;outline:1px dashed #8c8774;outline-offset:3px}
.e-task-words{flex:1;text-align:right;font-size:15px;color:var(--muted);display:flex;flex-direction:column}
.e-task-words small{font-size:13px}
.e-effect{padding:12px 18px}.e-effect p{margin:0}
.e-lossreward{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.e-loss-box,.e-reward-box{padding:14px 16px}.e-loss-box{border-color:var(--crimson)}
.e-loss-box small,.e-reward-box small{color:var(--muted);font-size:14px}
.e-block p{margin:4px 0 0;font-size:18px}
.e-block .e-tokens{margin-top:6px}
.e-signs{display:flex;gap:18px;align-items:center;padding:14px 18px;border:1px solid rgba(70,195,201,.5);border-radius:4px;background:rgba(70,195,201,.08)}
.e-signs-tok{width:64px;height:64px;border-radius:50%;flex:none;background:#14504b center/cover;box-shadow:0 0 0 2px var(--glow),0 0 22px var(--glow)}
.e-signs b{font-family:var(--f);font-weight:400;font-size:40px;line-height:1;color:var(--glow);display:block}
.e-doom{display:flex;flex-direction:column;gap:8px;margin:6px 0}
.e-doom-row{display:flex;flex-wrap:wrap;gap:8px}
.e-doom-cell{width:40px;height:40px;border-radius:50%;border:2px solid #5d7a52;display:inline-flex;align-items:center;justify-content:center;background:rgba(93,122,82,.12)}
.e-doom-cell .e-tok{width:26px;height:26px;font-size:20px}
.e-doom-cell.d-m{border-color:#5d3f78;background:rgba(93,63,120,.14)}.e-doom-cell.d-g{border-color:var(--glow);background:rgba(70,195,201,.15)}
.e-midnight .e-doom-cell .e-tok,.e-midnight .e-tok{color:#e8e3d3}
.e-midnight .e-plaque .e-tok,.e-midnight .e-frame .e-tok{color:var(--ink)}
.e-inv-stats{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.e-inv-por{width:96px;height:96px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--brass)}
.e-stat{padding:12px 18px;display:flex;gap:12px;align-items:center}
.e-stat .e-tok{width:40px;height:40px;font-size:32px}
.e-stat b{font-family:var(--f);font-weight:400;font-size:32px;line-height:1}
.e-stat-san{border-color:#3a4f8f}.e-stat-hp{border-color:#9b2c2c}
.e-cube{display:inline-flex;width:30px;height:30px;border-radius:6px;align-items:center;justify-content:center;color:#fff;font-weight:700;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.e-cube-yellow{background:#dcb825;color:#2b2300}.e-cube-red{background:#b23a2c}.e-cube-green{background:#3c8a37}.e-cube-white{background:#f4f2ea;color:#24211b;box-shadow:inset 0 -3px 0 rgba(0,0,0,.15),0 0 0 1px #a9a38f}.e-cube-black{background:#1c1c1c}
.e-protect{display:inline-flex;gap:4px}.e-protect i{width:26px;height:26px;border:3px solid #6b4f8a;border-radius:4px;background:#e4dcef}
.e-related{font-size:15px;color:var(--muted)}
.e-pager{display:flex;gap:16px;flex-wrap:wrap;font-size:15px;border-top:1px solid var(--vein);padding-top:12px}
.e-midnight .e-card-info>.e-block,.e-midnight .e-card-info>.e-pager,.e-midnight .e-related{color:#e8e3d3}
.e-midnight .e-pager{border-top-color:rgba(255,255,255,.15)}

/* поиск */
.e-bigsearch{margin:6px 0 20px}.e-bigsearch-row{display:flex;gap:10px;margin-top:6px}
.e-results{display:flex;flex-direction:column;gap:12px}
.e-result{padding:12px 16px;display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--ink)}
.e-result img{width:90px;height:60px;object-fit:cover;border-radius:3px;flex:none}
.e-result>span{display:flex;flex-direction:column;min-width:0}.e-result b{font-family:var(--f);font-weight:400;font-size:21px}.e-result small{font-size:15px;color:var(--muted)}
.e-result:hover b{color:var(--acc)}

/* правила */
.e-rules{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.e-rules-side{flex:1 1 240px;max-width:290px;position:sticky;top:14px}
.e-rules-cover{width:150px;border-radius:4px;box-shadow:0 8px 20px rgba(30,26,16,.3);margin-bottom:14px;display:block}
.e-toc{display:flex;flex-direction:column;margin:6px 0 16px}
.e-toc a{display:block;padding:6px 10px;border-left:3px solid transparent;text-decoration:none;color:var(--ink);font-size:16px}
.e-toc a:hover,.e-toc a.on{border-left-color:var(--acc);background:rgba(31,74,50,.08)}
.e-rules-links{display:flex;flex-direction:column;gap:8px;font-size:15px}
.e-rulebody{flex:999 1 560px;min-width:0;padding:26px 32px}
.e-rulebody h2{font-size:30px;margin:30px 0 10px;color:var(--acc);scroll-margin-top:14px}
.e-rulebody h3{font-size:22px;margin:18px 0 6px}
.e-rulebody ol,.e-rulebody ul{padding-left:22px;margin:0 0 12px;display:flex;flex-direction:column;gap:6px}
.e-golden{padding:14px 18px;margin:14px 0}
.e-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:8px 0 14px}
.e-legend>div{display:flex;gap:12px;align-items:center}
.e-dicefaces{display:flex;flex-direction:column;gap:12px;margin:6px 0 12px}
.e-dicefaces>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.e-dicefaces b{min-width:80px;font-family:var(--f);font-weight:400;font-size:19px}
.e-dicefaces small{flex-basis:100%;color:var(--muted);font-size:14px}
.e-dicefaces .y .e-die{background:#dcb825;color:#2b2300}.e-dicefaces .r .e-die{background:#b23a2c}
.e-cols{columns:2 300px;column-gap:28px;display:block!important}.e-cols li{break-inside:avoid;margin-bottom:6px}
.e-rules-img{display:block;width:100%;border-radius:4px;margin:8px 0 12px;box-shadow:0 6px 16px rgba(30,26,16,.22)}

/* «Как играть» и справочник */
.e-kids-steps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.e-kids-steps a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid #b2ad99;border-radius:20px;background:#f2f0e8;text-decoration:none;color:var(--ink);font-family:var(--f);font-size:15px}
.e-kids-steps b{width:26px;height:26px;border-radius:50%;background:var(--acc);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:400}
.e-step{display:flex;gap:18px;padding:20px 22px;margin-bottom:22px;scroll-margin-top:14px}
.e-step-n{flex:none;width:52px;height:52px;border-radius:50%;background:var(--acc);color:#fff;font-family:var(--f);font-size:28px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px var(--glow)}
.e-step-b{flex:1;min-width:0;font-size:18px}.e-step-b h2{font-size:30px;margin:4px 0 10px;color:var(--acc)}
.e-step-b ol,.e-step-b ul{padding-left:22px;display:flex;flex-direction:column;gap:6px}
.e-kids-tip{background:rgba(70,195,201,.12);border-left:4px solid var(--glow);padding:10px 14px;border-radius:3px}
.e-kids-box{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin:10px 0}
.e-kids-box a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--ink)}
.e-kids-box img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:4px;box-shadow:0 4px 10px rgba(30,26,16,.25)}
.e-kids-box span{font-size:14px;color:var(--muted)}
.e-kids-inv{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;margin:8px 0}
.e-kids-inv img{flex:0 1 320px;max-width:100%;border-radius:6px;box-shadow:0 8px 20px rgba(30,26,16,.3)}
.e-kids-inv>ul,.e-kids-inv>div{flex:1 1 300px;min-width:0}
.e-kids-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.e-kids-three div{background:var(--paper);border:2px dashed var(--acc);border-radius:6px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.e-kids-three b{font-family:var(--f);font-weight:400;font-size:22px;color:var(--acc)}
.e-ref-tools{display:flex;flex-direction:column;gap:10px;margin-bottom:10px;position:sticky;top:0;background:linear-gradient(180deg,#e7e5dc 85%,rgba(231,229,220,0));padding:10px 0;z-index:5}
.e-ref-abc{display:flex;flex-wrap:wrap;gap:4px}.e-ref-abc a{min-width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #b2ad99;border-radius:4px;text-decoration:none;font-family:var(--f);color:var(--ink);background:#f2f0e8}
.e-ref-letter{scroll-margin-top:110px}
.e-ref-list{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.e-ref-item{padding:12px 16px}.e-ref-item dt{display:flex;align-items:center;gap:8px;font-family:var(--f);font-size:21px;flex-wrap:wrap}
.e-ref-item dt b{font-weight:400}.e-ref-item dd{margin:6px 0 0}
.e-ref-pack{font-family:var(--t);font-size:12px;background:var(--acc);color:#fff;border-radius:10px;padding:1px 8px}
.e-ref-item[hidden],.e-ref-letter[hidden]{display:none}
@media (max-width:640px){.e-step{flex-direction:column;padding:16px}.e-step-n{width:42px;height:42px;font-size:22px}.e-ref-list{grid-template-columns:1fr}}

/* PnP */
.e-table-wrap{overflow-x:auto}
.e-table{width:100%;border-collapse:collapse;font-size:16px}
.e-table th{font-family:var(--f);font-weight:400;text-align:left;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--acc);padding:8px 10px}
.e-table td{border-bottom:1px solid #c9c5b4;padding:10px;vertical-align:top}
.e-fname{font-family:var(--f);font-weight:400;font-size:19px;display:block}.e-table small{color:var(--muted);font-size:14px}
.e-note{padding:16px 20px;margin-top:22px}.e-note p{margin:6px 0 0}

/* кабинет */
.e-account{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.e-account-main{flex:1 1 420px;padding:24px 26px}
.e-account-side{flex:1 1 280px;display:flex;flex-direction:column;gap:20px}
.e-box{padding:18px 20px;display:flex;flex-direction:column;gap:8px}.e-box b{font-family:var(--f);font-weight:400;font-size:20px}
.e-coll{display:flex;flex-direction:column;gap:10px;margin:8px 0 16px}
.e-coll label{display:flex;gap:10px;align-items:center;min-height:40px;cursor:pointer}
.e-coll input{width:22px;height:22px;accent-color:var(--acc)}
.e-coll b{font-family:var(--f);font-weight:400;font-size:20px}
.e-acc-panel{padding:24px 26px}
.e-acc-panel .acc-head h1{font-size:40px;margin:4px 0}
.e-acc-panel .acc-head p,.e-acc-panel .acc-note{color:var(--muted)}
.e-acc-panel .acc-form{max-width:520px;display:flex;flex-direction:column;gap:12px;margin-top:14px}
.e-acc-panel .fld{display:flex;flex-direction:column;gap:4px;font-size:17px}
.e-acc-panel .fld small{font-size:14px;color:var(--muted)}
.e-acc-panel input[type=text],.e-acc-panel input[type=email],.e-acc-panel input[type=password],.e-acc-panel .form-control{min-height:44px;border:1px solid #a9a38f;background:#fbfaf6;padding:0 12px;font:inherit;color:var(--ink);border-radius:3px;width:100%}
.e-acc-panel textarea.form-control{padding:10px 12px}
.e-acc-panel .btn,.e-acc-panel button[type=submit]:not(.e-btn){font-family:var(--f);font-size:17px;border:0;background:var(--acc);color:#fff;padding:10px 18px;min-height:44px;border-radius:3px;cursor:pointer;text-decoration:none}
.e-acc-panel .acc-links{display:flex;gap:18px;flex-wrap:wrap}
.e-acc-panel .acc-card{display:flex;flex-wrap:wrap;gap:20px 40px;border:1px solid var(--vein);padding:16px 20px;margin-top:14px}
.e-acc-panel .acc-card .lbl{display:block;font-family:var(--f);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.e-acc-panel .who{font-family:var(--f);font-size:32px}
.e-acc-panel .acc-actions,.e-acc-panel .acc-oauth{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start;margin-top:10px}
.e-acc-panel .acc-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:16px}
.e-acc-panel .acc-game{border:1px solid var(--vein);padding:12px 16px}.e-acc-panel .acc-game.cur{border-color:var(--acc)}
.e-acc-panel .acc-game h2{font-size:21px;color:var(--acc)}.e-acc-panel .acc-game ul{margin:6px 0 0;padding-left:20px}
.e-acc-panel .flash{border:1px solid var(--crimson);padding:8px 12px}
.e-acc-panel .chkl{display:flex;gap:8px;align-items:center}
.e-acc-panel .form-text,.e-acc-panel .invalid-feedback{font-size:14px}
.e-acc-panel .invalid-feedback{color:var(--crimson)}

/* 404 */
.e-closed{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:60px;padding-bottom:60px;max-width:900px}
.e-closed-clock{width:200px;height:200px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 6px var(--copper),0 0 0 9px var(--brass);filter:grayscale(.6)}
.e-closed-clock img{width:100%;height:100%;object-fit:cover}
.e-closed h1{font-size:44px}
.e-closed .e-bigsearch{display:flex;gap:10px;width:100%;max-width:560px}

/* полночь — карта Мифа */
.e-toast{position:fixed;left:50%;top:120px;transform:translateX(-50%);z-index:50;animation:drop .5s cubic-bezier(.2,.8,.2,1);width:440px;max-width:calc(100vw - 32px)}
.e-toast[hidden]{display:none}
.e-toast-in{padding:18px 22px;display:flex;gap:16px;align-items:flex-start}
.e-toast-in>div{flex:1}
.e-toast-title{font-family:var(--f);font-size:22px;margin:2px 0}
.e-toast-text{font-size:15px}.e-toast-link{font-size:14px}
@keyframes drop{from{opacity:0;transform:translate(-50%,-30px)}to{opacity:1;transform:translate(-50%,0)}}

/* меню-шторка (телефон) */
.e-drawer{position:fixed;inset:0;z-index:60;background:rgba(10,11,18,.55)}
.e-drawer[hidden]{display:none}
.e-drawer-in{position:absolute;right:0;top:0;bottom:0;width:300px;max-width:86vw;background:var(--paper);padding:16px 18px;display:flex;flex-direction:column;gap:4px;overflow-y:auto;box-shadow:-10px 0 30px rgba(0,0,0,.35)}
.e-drawer-in b{font-family:var(--f);font-weight:400;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:14px}
.e-drawer-in a{padding:10px 4px;font-family:var(--f);font-size:19px;text-decoration:none;color:var(--ink);border-bottom:1px solid #e0ddd1}
.e-drawer-in a.on{color:var(--acc)}.e-drawer-in small{color:var(--muted);font-size:13px}
.e-drawer-in>.e-btn{align-self:flex-end}

/* подвал */
.e-foot{background:#1a1c26;color:#b9bccb;margin-top:auto;font-size:15px}
.e-foot-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px 30px;padding-top:22px;padding-bottom:26px}
.e-foot-in>div{display:flex;flex-direction:column;gap:6px}
.e-foot b{font-family:var(--f);font-weight:400;font-size:20px;color:#e9e4d2}
.e-foot a{color:#9fd9dc}

@media (max-width:900px){
  .e-nav{display:none}
  .e-menu-btn{display:inline-flex;align-items:center;justify-content:center}
  .e-search input{width:150px}
  .e-rules-side{position:static;max-width:none}
  .e-cat-side{max-width:none}
}
@media (max-width:640px){
  .e-wrap{padding-left:16px;padding-right:16px}
  .e-logo img{height:56px}.e-logo span{display:none}
  .e-head-in{gap:10px}
  .e-head-tools{gap:8px}
  .e-btn-roll.e-btn-sm{display:none}
  .e-search{order:3;flex:1 1 100%}.e-search input{width:100%}
  .e-miniclock-t{display:none}
  .e-h1{font-size:44px}.e-h1-sm{font-size:34px}.e-h2{font-size:26px}
  .e-dial{width:340px;height:380px}
  .e-dial-face{width:220px;height:220px;margin:-110px 0 0 -110px}
  .e-dial-hand{width:32px;height:86px;margin:-67px 0 0 -16px;transform-origin:16px 67px}
  .e-dial-plate{min-width:96px;padding:6px 8px}.e-dial-plate b{font-size:17px}
  .e-grid,.e-grid-tall,.e-halls{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
  .e-grid-wide{grid-template-columns:1fr}
  .e-tile-name{font-size:17px}
  .e-people{grid-template-columns:repeat(2,minmax(0,1fr))}
  .e-card-title h1{font-size:34px}
  .e-task-words{text-align:left;flex-basis:100%}
  .e-rulebody{padding:20px 18px}
  .e-hall-row{gap:14px}.e-hall-row img{width:56px;height:86px}
  .e-set-head{padding:20px}.e-set-head img{width:140px}
  .e-myths{grid-template-columns:1fr}
  .e-table thead{display:none}.e-table,.e-table tbody,.e-table tr,.e-table td{display:block;width:100%}
  .e-table tr{border-bottom:1px solid #c9c5b4;padding:8px 0}.e-table td{border:0;padding:3px 10px}.e-table td.e-nw{white-space:normal}
}
@media (prefers-reduced-motion:reduce){
  .e-dial-hand,.e-miniclock-hand,.e-flip,.e-tile img,.e-dice3 i{transition:none}
  .e-roll-dice .e-die,.e-toast{animation:none}
}

