@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@500;600;700&display=swap');
/* site/site.css — сайт Pentacrat v2 (2026-10-07). Ночная тьма, золото дракона и пять цветов яиц-классов. Тема одна (тёмная) — осознанно. */
:root{--bg:#0a0c13;--bg2:#10131d;--card:#141826;--line:rgba(232,181,74,.28);--gold:#e8b54a;--gold2:#ffd479;--ink:#ece3cf;--mute:#a3a9b8;
  --krit:#ff6a2e;--tank:#4aa8ff;--lekar:#ffd04a;--lovk:#b468ff;--yad:#74e23c;color-scheme:dark}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 'PT Sans',Tahoma,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--gold2)}
img{max-width:100%}
h1,h2,h3{font-family:'Cormorant SC',Georgia,serif;text-wrap:balance;margin:0}
:focus-visible{outline:2px solid var(--gold2);outline-offset:2px}
/* ---------- шапка ---------- */
.sh{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;display:flex;align-items:center;gap:20px;padding:10px clamp(16px,3vw,40px);
  background:linear-gradient(180deg,rgba(10,12,19,.96),rgba(10,12,19,.82));backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.sh-logo img{height:44px;width:auto;display:block}
.sh-nav{display:flex;gap:4px;flex:1;justify-content:center}
.sh-nav a{padding:8px 14px;border-radius:8px;color:#d6cfbe;text-decoration:none;font:600 14px/1 'Cormorant SC',serif;letter-spacing:1px;text-transform:uppercase;transition:color .2s,background .2s}
.sh-nav a:hover{color:var(--gold2);background:rgba(232,181,74,.08)}
.sh-nav a.on{color:var(--gold2);box-shadow:inset 0 -2px 0 var(--gold)}
.sh-act{display:flex;align-items:center;gap:10px}
.sh-lang{position:relative}
.sh-lc{height:38px;min-width:48px;border-radius:8px;border:1px solid var(--line);background:rgba(20,24,38,.8);color:var(--gold2);font:700 13px 'Cormorant SC',serif;letter-spacing:1px;cursor:pointer}
.sh-ll{position:absolute;right:0;top:46px;min-width:190px;padding:6px;border-radius:12px;background:#121624;border:1px solid var(--line);box-shadow:0 16px 40px rgba(0,0,0,.6);display:none}
.sh-lang.open .sh-ll{display:block}
.sh-ll a{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:8px;color:#d6cfbe;text-decoration:none;font-size:14px}
.sh-ll a b{width:30px;font:700 12px 'Cormorant SC',serif;color:var(--gold)}
.sh-ll a:hover,.sh-ll a.on{background:rgba(232,181,74,.12);color:var(--gold2)}
.sh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:10px;cursor:pointer;text-decoration:none;font:700 14px 'Cormorant SC',serif;letter-spacing:1px;white-space:nowrap;transition:transform .2s,box-shadow .2s,filter .2s}
.sh-btn.play{color:#2a1604;border:1px solid #f6d58a;background:linear-gradient(180deg,#ffe6a0,#e8b54a 55%,#b9822a);box-shadow:0 0 0 1px rgba(0,0,0,.4),0 6px 18px rgba(232,181,74,.25)}
.sh-btn.play:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(0,0,0,.4),0 10px 26px rgba(232,181,74,.45)}
.sh-btn.ghost{color:var(--gold2);border:1px solid var(--line);background:rgba(20,24,38,.6)}
.sh-btn.ghost:hover{border-color:var(--gold);background:rgba(232,181,74,.08)}
.sh-btn.big{height:54px;padding:0 28px;font-size:16px;border-radius:12px}
.sh-btn.wide{width:100%;height:46px;margin-top:8px}
.sh-burger{display:none;width:42px;height:40px;border-radius:8px;border:1px solid var(--line);background:rgba(20,24,38,.7);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.sh-burger i{display:block;width:20px;height:2px;background:var(--gold2);border-radius:2px}
/* ---------- герой ---------- */
.hero{position:relative;overflow:hidden;padding:30px 16px 60px;text-align:center;isolation:isolate}
.hero-bg{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,12,19,.25),rgba(10,12,19,.6) 60%,var(--bg)),url(/site/img/hero.jpg) center 30%/cover no-repeat}
.hero-in{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero-dragon{width:min(520px,80vw);height:auto;margin-bottom:-60px;filter:drop-shadow(0 0 40px rgba(255,200,80,.35));animation:hover 6s ease-in-out infinite}
.hero h1{font-size:clamp(34px,6vw,64px);font-weight:900;letter-spacing:2px;color:var(--gold2);text-shadow:0 2px 0 #3a2208,0 0 30px rgba(255,190,60,.45);position:relative}
.hero-sub{max-width:640px;margin:10px auto 0;font-size:clamp(16px,2vw,19px);color:#e6dcc4;text-shadow:0 1px 3px #000}
.eggs{display:flex;gap:clamp(6px,2vw,22px);justify-content:center;align-items:flex-end;margin:26px 0 22px}
.egg{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--ink);animation:rise .8s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 90ms + .2s)}
.egg img{width:clamp(56px,9vw,110px);height:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6)) drop-shadow(0 0 14px color-mix(in srgb,var(--c) 55%,transparent));transition:transform .3s,filter .3s;animation:glow 3.6s ease-in-out infinite;animation-delay:calc(var(--i) * .7s)}
.egg:nth-child(3) img{width:clamp(70px,11vw,136px)}
.egg span{font:700 clamp(11px,1.4vw,14px) 'Cormorant SC',serif;letter-spacing:1px;color:var(--c);text-shadow:0 1px 2px #000}
.egg:hover img{transform:translateY(-8px) scale(1.06);filter:drop-shadow(0 10px 18px rgba(0,0,0,.6)) drop-shadow(0 0 24px var(--c))}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-online{margin-top:16px;display:flex;align-items:center;gap:8px;font-size:14px;color:var(--mute)}
.hero-online i{width:9px;height:9px;border-radius:50%;background:#56d364;box-shadow:0 0 10px #56d364;animation:pulse 2s infinite}
.hero-online b{color:var(--ink);font-variant-numeric:tabular-nums}
/* ---------- секции ---------- */
.sec{max-width:1200px;margin:0 auto;padding:56px clamp(16px,3vw,32px)}
.sec-h{text-align:center;max-width:720px;margin:0 auto 30px}
.sec-h.left{text-align:left;margin:0 0 18px}
.kicker{display:inline-block;font:700 12px 'Cormorant SC',serif;letter-spacing:3px;text-transform:uppercase;color:var(--gold)}
.sec-h h2{font-size:clamp(26px,3.4vw,38px);color:#f3e4bd;margin-top:4px}
.sec-h p{color:var(--mute);margin:10px 0 0}
/* классы */
.cls-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cls{position:relative;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 14%,var(--card)),var(--card) 55%);border:1px solid color-mix(in srgb,var(--c) 40%,transparent);
  box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .3s,box-shadow .3s;animation:rise .7s ease-out both;animation-delay:calc(var(--i) * 80ms)}
.cls:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.45),0 0 0 1px var(--c),0 0 30px color-mix(in srgb,var(--c) 35%,transparent)}
.cls-egg{height:160px;display:flex;align-items:flex-end;justify-content:center;padding-top:14px;background:radial-gradient(circle at 50% 70%,color-mix(in srgb,var(--c) 35%,transparent),transparent 65%)}
.cls-egg img{height:140px;width:auto;filter:drop-shadow(0 6px 10px rgba(0,0,0,.6));transition:transform .4s}
.cls:hover .cls-egg img{transform:rotate(-4deg) scale(1.06)}
.cls-b{padding:14px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.cls-el{align-self:flex-start;padding:2px 10px;border-radius:20px;font:700 11px 'Cormorant SC',serif;letter-spacing:1px;color:var(--c);border:1px solid color-mix(in srgb,var(--c) 55%,transparent)}
.cls h3{font-size:22px;color:var(--c)}
.cls-role{font-weight:700;color:#f0e6cf;font-size:14px}
.cls p{margin:0;font-size:14px;color:var(--mute);flex:1}
.cls-stat{font-size:13px;color:var(--mute);border-top:1px solid rgba(255,255,255,.08);padding-top:8px}
.cls-stat b{color:var(--ink)}
/* новости + рейтинг */
.duo{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:start}
.news-list{display:flex;flex-direction:column;gap:10px}
.nw{display:flex;gap:16px;padding:14px 16px;border-radius:14px;text-decoration:none;color:var(--ink);background:var(--card);border:1px solid rgba(255,255,255,.06);transition:border-color .2s,transform .2s;animation:rise .6s ease-out both;animation-delay:calc(var(--i) * 70ms)}
.nw:hover{border-color:var(--line);transform:translateX(4px)}
.nw time{flex:none;width:62px;text-align:center;font-size:12px;color:var(--mute);line-height:1.2}
.nw time b{display:block;font:700 26px 'Cormorant SC',serif;color:var(--gold2)}
.nw span b{display:block;font-size:17px;color:#f3e4bd;margin-bottom:3px}
.nw small{display:block;font-size:14px;color:var(--mute);line-height:1.5}
.more{display:inline-block;margin-top:14px;font-weight:700;text-decoration:none}
.more:hover{text-decoration:underline}
.rate-list{list-style:none;margin:0;padding:0;border-radius:16px;overflow:hidden;background:var(--card);border:1px solid rgba(255,255,255,.06)}
.rate-list li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.05);animation:rise .5s ease-out both;animation-delay:calc(var(--i) * 50ms)}
.rate-list li:last-child{border-bottom:0}
.rate-list .pl{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;font:700 14px 'Cormorant SC',serif;color:var(--mute);background:rgba(255,255,255,.05);font-variant-numeric:tabular-nums}
.rate-list li:nth-child(1) .pl{color:#2a1604;background:linear-gradient(180deg,#ffe6a0,#e8b54a)}
.rate-list li:nth-child(2) .pl{color:#1c1f26;background:linear-gradient(180deg,#f2f4f8,#aab1bf)}
.rate-list li:nth-child(3) .pl{color:#2a1604;background:linear-gradient(180deg,#f3c8a0,#b9773a)}
.rate-list .who{flex:1;min-width:0}
.rate-list .who b{display:block;color:#f3e4bd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rate-list .who small{font-size:12.5px;color:var(--mute)}.rate-list .who i{font-style:normal;font-weight:700}
.rate-list .lv{font:700 20px 'Cormorant SC',serif;color:var(--gold2);font-variant-numeric:tabular-nums}
.rate-list .lv small{font:12px 'PT Sans',sans-serif;color:var(--mute);margin-left:2px}
.empty{color:var(--mute)}
/* форум */
.forum-cta{padding-top:10px}
.fc-in{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center;padding:30px;border-radius:20px;background:radial-gradient(ellipse at 0 0,rgba(232,181,74,.14),transparent 60%),var(--bg2);border:1px solid var(--line)}
.fc-in h2{font-size:clamp(24px,3vw,32px);color:#f3e4bd;margin-top:4px}
.fc-in p{color:var(--mute)}
.fc-links{display:flex;flex-wrap:wrap;gap:8px}
.fc-links a{padding:9px 14px;border-radius:10px;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:14px;transition:border-color .2s,color .2s}
.fc-links a:hover{border-color:var(--gold);color:var(--gold2)}
/* ---------- подвал ---------- */
.sf{margin-top:30px;border-top:1px solid var(--line);background:#07080d}
.sf-in{max-width:1200px;margin:0 auto;padding:34px clamp(16px,3vw,32px);display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px}
.sf-brand img{height:40px;width:auto}.sf-brand p{color:var(--mute);font-size:14px;max-width:34ch}
.sf-col{display:flex;flex-direction:column;gap:6px}.sf-col b{font:700 13px 'Cormorant SC',serif;letter-spacing:2px;color:var(--gold);margin-bottom:4px}
.sf-col a{color:var(--mute);text-decoration:none;font-size:14px}.sf-col a:hover{color:var(--gold2)}
.sf-copy{text-align:center;padding:14px;color:#6b7180;font-size:13px;border-top:1px solid rgba(255,255,255,.05);padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
/* ---------- модальные окна ---------- */
.sm{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(4,5,9,.72);backdrop-filter:blur(6px);animation:fade .25s ease-out}
.sm[hidden]{display:none}
.sm-box{position:relative;width:min(420px,100%);padding:30px 26px 24px;border-radius:18px;background:linear-gradient(180deg,#171b2a,#10131d);border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.7);text-align:center;animation:pop .3s cubic-bezier(.2,.8,.2,1)}
.sm-box.lang{width:min(560px,100%)}
.sm-egg{width:60px;height:72px;margin:-62px auto 8px;background:url(/site/img/egg_lekar.png) center/contain no-repeat;filter:drop-shadow(0 0 16px rgba(255,208,74,.7))}
.sm-box h2{font-size:24px;color:var(--gold2)}
.sm-box p{color:var(--mute);font-size:14px}
.sm-x{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:8px;background:rgba(255,255,255,.06);color:#cbd2de;font-size:22px;cursor:pointer}
.sm-f{display:flex;flex-direction:column;text-align:left;gap:4px;margin-top:16px}
.sm-f label{font-size:13px;color:var(--mute)}
.sm-f input{height:44px;padding:0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:var(--ink);font:16px 'PT Sans',sans-serif;margin-bottom:8px}
.sm-f input:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px rgba(232,181,74,.2)}
.sm-err{margin-top:12px;padding:8px 12px;border-radius:8px;background:rgba(220,70,50,.15);border:1px solid rgba(220,70,50,.4);color:#ffb4a4;font-size:14px}
.sm-or{display:flex;align-items:center;gap:10px;margin:16px 0;color:var(--mute);font-size:13px}.sm-or:before,.sm-or:after{content:"";flex:1;height:1px;background:rgba(255,255,255,.1)}
.sm-google{display:flex;align-items:center;justify-content:center;gap:10px;height:46px;border-radius:10px;background:#fff;color:#1f2430;text-decoration:none;font-weight:700}
.sm-google .g{width:20px;height:20px;background:conic-gradient(#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0);border-radius:50%;-webkit-mask:radial-gradient(circle,transparent 4px,#000 5px);mask:radial-gradient(circle,transparent 4px,#000 5px)}
.sm-links{margin-top:14px;font-size:13px;color:var(--mute)}.sm-links a{text-decoration:none}
.sm-langs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.sm-langs a{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);font-size:16px;transition:border-color .2s,background .2s}
.sm-langs a b{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font:700 14px 'Cormorant SC',serif;color:#2a1604;background:linear-gradient(180deg,#ffe6a0,#e8b54a)}
.sm-langs a:hover{border-color:var(--gold);background:rgba(232,181,74,.08)}
/* ---------- анимации ---------- */
@keyframes hover{50%{transform:translateY(-12px)}}
@keyframes glow{50%{filter:drop-shadow(0 6px 14px rgba(0,0,0,.6)) drop-shadow(0 0 22px var(--c))}}
@keyframes rise{from{opacity:0;transform:translateY(16px)}}
@keyframes pulse{50%{opacity:.4}}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.97)}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* ---------- адаптив ---------- */
@media (max-width:1100px){.cls-grid{grid-template-columns:repeat(3,1fr)}.sh-nav a{padding:8px 9px;font-size:13px}}
@media (max-width:900px){
  .sh-nav{position:fixed;left:0;right:0;top:61px;flex-direction:column;gap:0;padding:8px 16px 16px;background:#0c0f18;border-bottom:1px solid var(--line);display:none}
  .sh-nav.open{display:flex}.sh-nav a{padding:14px 8px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.05)}
  .sh-burger{display:flex}.sh .sh-btn.ghost{display:none}
  .duo,.fc-in{grid-template-columns:1fr}.sf-in{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .sh{gap:10px}.sh-logo img{height:34px}.sh .sh-btn.play{padding:0 12px;font-size:12px;height:38px}
  .cls-grid{grid-template-columns:1fr 1fr}.cls-egg{height:120px}.cls-egg img{height:105px}.cls h3{font-size:18px}
  .hero-dragon{margin-bottom:-30px}.sm-langs{grid-template-columns:1fr}.sf-in{grid-template-columns:1fr}
  .nw{flex-direction:column;gap:6px}.nw time{width:auto;text-align:left}.nw time b{display:inline;font-size:18px;margin-right:6px}
}
@media (max-width:380px){.cls-grid{grid-template-columns:1fr}}
.sm-ml{letter-spacing:.3px}
/* ---------- регистрация ---------- */
.reg{position:relative;padding:34px clamp(16px,3vw,32px) 60px;background:radial-gradient(ellipse at 30% 20%,rgba(232,181,74,.12),transparent 55%),linear-gradient(180deg,rgba(10,12,19,.6),var(--bg)),url(/site/img/hero.jpg) center/cover fixed}
.reg-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:start}
.reg-hero h1{font-size:clamp(28px,4vw,42px);color:var(--gold2);text-shadow:0 2px 10px rgba(0,0,0,.6)}
.reg-hero>p{color:#e0d6bf;max-width:52ch;text-shadow:0 1px 3px #000}
.reg-stage{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:auto auto;gap:14px;align-items:center;padding:18px;border-radius:20px;background:rgba(12,14,22,.72);border:1px solid var(--line);backdrop-filter:blur(6px)}
.reg-pers{grid-row:1/3;grid-column:2;position:relative;width:230px;height:300px}
.reg-pers #regCanvas{position:relative;z-index:2;width:230px;height:300px}
.reg-ring{position:absolute;left:25px;right:25px;bottom:18px;height:46px;border-radius:50%;background:radial-gradient(ellipse,rgba(232,181,74,.55),rgba(232,181,74,.08) 60%,transparent 70%);animation:glowring 3s ease-in-out infinite}
@keyframes glowring{50%{opacity:.55}}
.reg-pick,.reg-gen{display:flex;flex-direction:column;gap:10px}
.reg-pick{grid-column:1;grid-row:1/3}.reg-gen{grid-column:3;grid-row:1}.reg-look{grid-column:3;grid-row:2;display:flex;flex-direction:column;gap:6px}
.rk,.rg{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:var(--ink);cursor:pointer;font:16px 'PT Sans',sans-serif;text-align:left;transition:all .2s}
.rk b{font:700 17px 'Cormorant SC',serif}.rk small{color:var(--mute);font-size:12.5px}
.rk:hover,.rg:hover{border-color:var(--line)}
.rk.on,.rg.on{border-color:var(--gold);background:linear-gradient(180deg,rgba(232,181,74,.18),rgba(232,181,74,.05));box-shadow:0 0 0 1px var(--gold),0 0 18px rgba(232,181,74,.25);color:var(--gold2)}
.rg{flex-direction:row;justify-content:center;padding:9px 12px;font-weight:700}
.rl{display:flex;align-items:center;gap:6px}
.rl span{flex:1;text-align:center;font-size:13px;color:var(--mute)}
.rl button{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:rgba(20,24,38,.9);color:var(--gold2);font:700 20px/1 Georgia,serif;cursor:pointer;transition:all .15s}
.rl button:hover{background:rgba(232,181,74,.15);border-color:var(--gold);transform:scale(1.08)}
.rr{margin-top:4px;padding:8px;border-radius:10px;border:1px dashed var(--line);background:none;color:var(--gold2);cursor:pointer;font:600 13px 'PT Sans',sans-serif}
.rr:hover{border-style:solid;background:rgba(232,181,74,.08)}
.reg-card{padding:26px;border-radius:20px;background:linear-gradient(180deg,#171b2a,#10131d);border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.55)}
.reg-card h2{font-size:26px;color:var(--gold2);text-align:center;margin-bottom:14px}
.reg-sub{color:var(--mute);text-align:center}
.sm-f select{height:44px;padding:0 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#151927;color:var(--ink);font:16px 'PT Sans',sans-serif;margin-bottom:8px}
.sm-f label small{color:#6b7180}
.sm-f .chk{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--mute)}
.g-recaptcha{margin:6px 0}
@media (max-width:900px){.reg-in{grid-template-columns:1fr}}
@media (max-width:560px){.reg-stage{grid-template-columns:1fr 1fr;grid-template-rows:auto}.reg-pers{grid-column:1/3;grid-row:1;margin:0 auto}.reg-pick{grid-column:1;grid-row:2}.reg-gen{grid-column:2;grid-row:2}.reg-look{grid-column:1/3;grid-row:3}}
/* регистрация: сцена-святилище (сгенерировано) и гербы рас */
.reg-stage{background:linear-gradient(90deg,rgba(8,10,16,.88),rgba(8,10,16,.15) 32%,rgba(8,10,16,.15) 68%,rgba(8,10,16,.88)),url(/site/img/reg_stage.jpg) center 62%/cover no-repeat;min-height:340px}
.reg-ring{display:none}
.rk{flex-direction:row !important;align-items:center;gap:10px;flex-wrap:nowrap;background:rgba(10,12,20,.7)}
.rk img{width:44px;height:44px;flex:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6));transition:transform .25s}
.rk:hover img,.rk.on img{transform:scale(1.08) rotate(-4deg)}
.rk b,.rk small{display:block}.rk>span{display:flex;flex-direction:column}
.rg,.rl button,.rr{backdrop-filter:blur(2px);background:rgba(10,12,20,.7)}
/* текст полной новости (news.php?n=) — 2026-10-07 */
.news-full-text{font-size:15px;line-height:1.65;color:#ddd4bf}
.news-full-text h4{font:700 19px 'Cormorant SC',Georgia,serif;color:#f3dfa6;margin:20px 0 6px}
.news-full-text p{margin:0 0 10px;font-size:15px}
.news-full-text ul{margin:4px 0 10px;padding-left:22px}
.news-full-text li{font-size:15px;margin:3px 0}
.news-full-text li::marker{color:var(--gold)}
.news-full-text b{color:#f3ead4}
/* ---------- шапка v3 (2026-10-07): воронёная сталь с гравировкой, золотая кромка с драконьим медальоном, кнопки-плашки (site/img/s2, сгенерировано) ---------- */
.sh{min-height:74px;padding-block:8px;border-bottom:0;backdrop-filter:none;
  background:linear-gradient(180deg,rgba(255,220,150,.05),rgba(0,0,0,0) 40%,rgba(0,0,0,.35)),url(/site/img/s2/header_tex.jpg) center/cover #0b0b0e;
  box-shadow:inset 0 1px 0 rgba(255,220,150,.12),0 6px 18px rgba(0,0,0,.55)}
.sh:before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#6b4a1a 6%,#e9c06a 30%,#fff0b8 50%,#e9c06a 70%,#6b4a1a 94%,transparent);box-shadow:0 1px 0 #000,0 0 10px rgba(232,181,74,.35)}
.sh:after{content:"";position:absolute;left:50%;bottom:-17px;width:min(560px,70vw);height:36px;transform:translateX(-50%);pointer-events:none;
  background:url(/site/img/s2/trim.png) center/contain no-repeat;filter:drop-shadow(0 3px 4px rgba(0,0,0,.7))}
.sh-logo img{height:50px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.8))}
.sh-nav a{position:relative;color:#e2d6bb;text-shadow:0 1px 2px #000;border-radius:0;padding:10px 14px}
.sh-nav a:hover{background:none;color:#ffe3a0;text-shadow:0 0 12px rgba(255,200,90,.6),0 1px 2px #000}
.sh-nav a.on{box-shadow:none;color:#ffd979;text-shadow:0 0 14px rgba(255,200,90,.65),0 1px 2px #000}
.sh-nav a.on:after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:8px;
  background:radial-gradient(circle,#fff2c0 0 2px,transparent 3px) center/8px 8px no-repeat,linear-gradient(90deg,transparent,#e9c06a 25%,#e9c06a 75%,transparent) center/100% 1px no-repeat}
.sh-btn.play,.sh-btn.ghost,.sh-lc{border:14px solid transparent;border-radius:0;box-shadow:none;background:none;filter:drop-shadow(0 3px 6px rgba(0,0,0,.6))}
.sh-btn.play{border-image:url(/site/img/s2/btn_gold.png) 46 fill / 14px stretch;color:#2a1604;text-shadow:0 1px 0 rgba(255,240,190,.6);padding:0 8px;height:46px}
.sh-btn.ghost,.sh-lc{border-image:url(/site/img/s2/btn_dark.png) 46 fill / 14px stretch;color:#f1d58e;padding:0 8px;height:46px}
.sh-lc{min-width:58px}
.sh-btn.play:hover,.sh-btn.ghost:hover,.sh-lc:hover{transform:translateY(-1px);filter:drop-shadow(0 4px 10px rgba(232,181,74,.45)) brightness(1.08);box-shadow:none;background:none}
.sh-btn.big{height:58px}
.sh-burger{border:14px solid transparent;border-image:url(/site/img/s2/btn_dark.png) 46 fill / 14px stretch;background:none;width:52px;height:46px;border-radius:0}
.sh-logo{flex:none}
@media (max-width:600px){.sh-logo img{height:34px}.sh{gap:10px}}
.sh-nav a{font-size:16px;font-weight:700}
.sh-btn{font-size:16px;font-weight:700}
@media (max-width:600px){.sh-btn.play,.sh-btn.ghost{font-size:13px;padding:0 2px;height:42px}.sh-lc{min-width:44px;height:42px;padding:0}.sh-act{gap:6px}.sh-burger{width:46px;height:42px}}
@media (max-width:420px){.sh-act .sh-btn.play{display:none}}
header.sh::after,header.sh::before{display:block!important}
/* кнопки шапки: светлое золото / тёмные с золотой каймой (как в референсе) */
.sh-btn.play,.sh-btn.ghost,.sh-lc{border:1px solid;border-image:none;border-radius:8px;filter:none;height:40px;padding:0 18px;font-size:15px}
.sh-btn.play{border-color:#f6d58a;background:linear-gradient(180deg,#ffeaa8,#f1c35e 50%,#c98f2e);color:#2a1604;box-shadow:0 0 0 1px rgba(0,0,0,.5),0 4px 14px rgba(232,181,74,.35)}
.sh-btn.ghost,.sh-lc{border-color:rgba(232,181,74,.45);background:rgba(10,12,19,.6);color:#f3dfa6}
.sh-lc{min-width:46px;padding:0 10px}
.sh-btn.play:hover{background:linear-gradient(180deg,#fff1c2,#f5cc6c 50%,#d39a36);filter:none;box-shadow:0 0 0 1px rgba(0,0,0,.5),0 8px 22px rgba(232,181,74,.5)}
.sh-btn.ghost:hover,.sh-lc:hover{background:rgba(232,181,74,.12);filter:none}
.sh-burger{border:1px solid rgba(232,181,74,.45);border-image:none;border-radius:8px;background:rgba(10,12,19,.6);width:44px;height:40px}
@media (max-width:600px){.sh-btn.play,.sh-btn.ghost{height:38px;padding:0 10px;font-size:13px}.sh-lc{height:38px}.sh-burger{height:38px}}
/* ---------- шапка и подвал по целевому макету (2026-10-07) ---------- */
.sh{min-height:64px;background:linear-gradient(180deg,rgba(6,8,13,.94),rgba(8,10,16,.86)),url(/site/img/s2/header_tex.jpg) center/cover #07090e}
.sh:after{width:18px;height:18px;bottom:-9px;background:none;filter:none;transform:translateX(-50%) rotate(45deg);border:1px solid #e9c06a;background:linear-gradient(135deg,#fff0b8,#b8862f);box-shadow:0 0 8px rgba(232,181,74,.6),0 0 0 3px rgba(8,10,16,.95)}
.sh-lc{display:inline-flex;align-items:center;gap:6px}
.sf{position:relative;margin-top:0;border-top:1px solid rgba(201,160,82,.55);background:linear-gradient(180deg,rgba(8,10,16,.92),#06070b)}
.sf-in{max-width:1240px;grid-template-columns:1.5fr 1fr 1fr 1fr;align-items:start;padding:28px 16px 22px}
.sf-brand img{height:46px}.sf-brand p{color:#d9d0bb;font-size:14.5px;line-height:1.5;margin:8px 0 0}
.sf-col{border-left:1px solid rgba(201,160,82,.25);padding-left:22px}
.sf-col b,.sf-soc b{font:700 16px 'Cormorant SC',Georgia,serif;letter-spacing:1px;color:#f3cf7a;margin-bottom:4px;text-transform:none}
.sf-col a{color:#d9d0bb;font-size:14px}
.sf-soc{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.sf-soc>div{display:flex;gap:10px}
.sf-soc a,.sf-soc span{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;background:linear-gradient(180deg,#1b1f2a,#0d1017);border:1px solid rgba(255,255,255,.1);color:#d9d0bb;fill:currentColor;box-shadow:0 2px 6px rgba(0,0,0,.6)}
.sf-soc span{opacity:.55;cursor:default}
.sf-soc a:hover{color:#ffe3a0;border-color:rgba(232,181,74,.6)}
.sf-soc svg{fill:currentColor}
.sf-copy{position:relative;max-width:1240px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;text-align:left;border-top:1px solid rgba(201,160,82,.45);color:#9aa0ad;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
.sf-copy i{position:absolute;left:50%;top:-6px;width:11px;height:11px;transform:translateX(-50%) rotate(45deg);background:linear-gradient(135deg,#fff0b8,#b8862f);box-shadow:0 0 6px rgba(232,181,74,.6)}
@media (max-width:900px){.sf-in{grid-template-columns:1fr 1fr}.sf-col{border-left:0;padding-left:0}}
@media (max-width:560px){.sf-in{grid-template-columns:1fr}.sf-copy{justify-content:center;text-align:center}}
/* подвал на телефоне — компактнее */
@media (max-width:560px){.sf-in{grid-template-columns:1fr 1fr;gap:16px;padding:20px 16px 14px}.sf-brand{grid-column:1/3}.sf-brand img{height:36px}.sf-brand p{font-size:13px}.sf-soc{grid-column:1/3;flex-direction:row;align-items:center;gap:14px}.sf-copy{font-size:12px;gap:4px}}
/* шапка на телефоне: язык и меню в правом углу */
@media (max-width:900px){.sh-act{margin-left:auto}}
