/* ============================================================
   Шапка, бургер-меню и уведомления (19.10). Разметку даёт tools/gen_site_nav.py
   (одна на все страницы), поведение — main.js (меню, блокировка прокрутки)
   и notify.js (колокольчик). Грузится после style.css и перекрывает его старые
   правила .drawer-item (фиолетовые одинаковые кнопки, на которые жаловался владелец).
   ============================================================ */

/* ---------- Блокировка прокрутки страницы под открытым меню (п.8) ----------
   Меню прокручено до конца — дальше поехала страница под ним. overflow:hidden на body
   iOS Safari до 16 игнорировал, поэтому main.js ещё и фиксирует body (position:fixed со
   сдвигом на прежнюю прокрутку) и возвращает позицию при закрытии. overscroll-behavior
   у самого меню не даёт «цепочке прокрутки» уйти на страницу в Chrome/Android. */
html.menu-lock { overflow: hidden; overscroll-behavior: none; }
body.menu-lock { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.drawer, .notify-list { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.backdrop { touch-action: none; overscroll-behavior: contain; }

/* ---------- Шапка: иконки FAQ / Достижения / колокольчик ---------- */
body.nav-simple .nav-ico,
.igra-topbar .nav-bell-btn,
body.nav-simple .nav-bell-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; min-width: 38px; padding: 0 9px; border-radius: 999px; flex: none;
  color: var(--text-2); background: var(--surface); border: 1px solid var(--border-strong);
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
body.nav-simple .nav-ico:hover, body.nav-simple .nav-bell-btn:hover, .igra-topbar .nav-bell-btn:hover { color: var(--text); background: var(--surface-2); transform: translateY(-1px); }
body.nav-simple .nav-ico.is-active { color: var(--gold-2); border-color: rgba(232,180,92,.5); }
body.nav-simple .nav-ico svg, body.nav-simple .nav-bell-btn svg, .igra-topbar .nav-bell-btn svg { width: 20px; height: 20px; flex: none; }
.nav-ico-txt { display: none; }
@media (min-width: 1100px) {
  body.nav-simple .nav-ico { padding: 0 14px 0 11px; }
  .nav-ico-txt { display: inline; }
}
.nav-bell { position: relative; flex: none; }
.nav-bell-btn[aria-expanded="true"] { color: var(--gold-2); border-color: rgba(232,180,92,.55); background: var(--surface-2); }
.nav-bell-btn.is-ring svg { animation: bellRing 1.1s ease .3s 1; transform-origin: 50% 10%; }
@keyframes bellRing {
  0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); }
  45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); }
}
.nav-bell-n {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700; line-height: 1; color: #fff;
  background: linear-gradient(135deg, #d9461f, #a8231d); box-shadow: 0 0 0 2px var(--bg), 0 4px 12px rgba(217,70,31,.5); /* 19.10: белая цифра на прежнем #e8552e давала 4,46:1 при пороге 4,5 */
  animation: badgePop .35s cubic-bezier(.2,1.6,.4,1) both;
}
.nav-bell-n[hidden] { display: none; }
@keyframes badgePop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Панель уведомлений ---------- */
.notify-panel {
  position: absolute; top: calc(100% + 12px); right: -6px; z-index: 70; width: min(404px, calc(100vw - 24px));
  display: flex; flex-direction: column; max-height: min(72vh, 580px); overflow: hidden;
  background: radial-gradient(120% 70% at 0% 0%, rgba(232,147,76,.12), transparent 60%), linear-gradient(180deg, #1a1325, #110d1b);
  border: 1px solid rgba(232,180,92,.38); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  /* Подложка панели тёмная в любой теме, поэтому и цвета текста внутри свои: в светлой теме (pink_kingdom) токены темы были тёмными и давали контраст 1.2 */
  --text: #efe6d8; --text-2: #bcb2a8; --gold-2: #f0b46f; --border: rgba(255, 255, 255, 0.09); --surface: rgba(255, 255, 255, 0.035); --surface-2: rgba(255, 255, 255, 0.06);
  transform-origin: calc(100% - 22px) 0; animation: notifyIn .24s cubic-bezier(.2,.8,.2,1) both;
}
.notify-panel[hidden] { display: none; }
@keyframes notifyIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.notify-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 10px; }
.notify-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: -6px -6px -6px 0; padding: 0; border: 1px solid var(--border, rgba(255,255,255,.12)); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.notify-x svg { width: 20px; height: 20px; }
.notify-x:hover, .notify-x:focus-visible { border-color: var(--gold-2); outline: none; }
.notify-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.notify-title small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--gold-2); margin-left: 8px; }
.notify-tools { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; border-bottom: 1px solid var(--border); }
.notify-tool {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: background .2s, border-color .2s;
}
.notify-tool:hover:not(:disabled) { background: rgba(255,255,255,.1); border-color: rgba(232,180,92,.5); }
.notify-tool:disabled { color: var(--text-2); opacity: .7; cursor: default; }
.notify-tool.is-danger:hover:not(:disabled) { border-color: rgba(240,120,110,.7); }
.notify-tool svg { width: 15px; height: 15px; }
.notify-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.notify-item {
  position: relative; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: start;
  padding: 12px 8px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  animation: notifyItem .3s ease both; animation-delay: calc(var(--n, 0) * 35ms);
}
@keyframes notifyItem { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.notify-item.is-unread { background: linear-gradient(135deg, rgba(232,147,76,.16), rgba(255,255,255,.04)); border-color: rgba(232,180,92,.4); }
.notify-item.is-unread::before {
  content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 26px; margin-top: -13px; border-radius: 6px;
  background: linear-gradient(180deg, var(--gold-2), var(--ember));
}
.notify-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1, #9a9dd4), var(--c2, #5b4fd6)); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.notify-ic svg { width: 22px; height: 22px; }
.notify-item.t-ink { --c1: #f0b46f; --c2: #c0503a; }
.notify-item.t-ach { --c1: #ffd36b; --c2: #e8934c; }
.notify-item.t-taverna { --c1: #5fd4c4; --c2: #2b6bd6; }
.notify-item.t-news { --c1: #f08fb0; --c2: #8a5cff; }
.notify-item.t-short { --c1: #f0b46f; --c2: #c0503a; }
.notify-item.t-chat { --c1: #7ccf9a; --c2: #2f7f9f; }
.notify-body { min-width: 0; }
.notify-body a, .notify-body .notify-row-t { display: block; color: inherit; }
.notify-name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.notify-text { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.notify-time { display: block; margin-top: 5px; font-size: .75rem; color: var(--text-2); }
.notify-del {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2);
  background: transparent; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.notify-del:hover { color: var(--text); background: var(--surface-2); border-color: var(--border-strong); }
.notify-del svg { width: 16px; height: 16px; }
.notify-item.is-leaving { animation: notifyOut .22s ease both; }
@keyframes notifyOut { to { opacity: 0; transform: translateX(24px); height: 0; padding-top: 0; padding-bottom: 0; margin: 0; } }
.notify-empty { padding: 34px 20px 38px; text-align: center; color: var(--text-2); }
.notify-empty-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); background: var(--surface-2); border: 1px solid rgba(232,180,92,.35); }
.notify-empty-ic svg { width: 30px; height: 30px; }
.notify-empty b { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.notify-foot { padding: 10px 16px 14px; font-size: .78rem; color: var(--text-2); border-top: 1px solid var(--border); }
.notify-foot[hidden] { display: none; }
@media (max-width: 600px) {
  .nav-bell { position: static; }
  .notify-panel { left: 12px; right: 12px; width: auto; top: calc(100% + 6px); max-height: calc(100vh - var(--nav-h) - 24px); max-height: calc(100dvh - var(--nav-h) - 24px); transform-origin: 50% 0; }
}

/* ---------- Мобильная шапка: лишнее уходит в меню ---------- */
@media (max-width: 840px) {
  body.nav-simple .nav-dl { display: none; }   /* «Скачать» — в карточке Android на главной и в подвале (до 840, иначе на 764-828px налезает на бургер) */
}
/* 20.10: на 485-690px «Начать игру» с подписью и «Войти» вытесняли бургер за край шапки, на 764-808px «Скачать» ложилась поверх бургера */
@media (max-width: 700px) {
  body.nav-simple .nav-play { padding: 0; width: 38px; height: 38px; justify-content: center; }
  body.nav-simple .nav-play-txt { display: none; }
  body.nav-simple .nav-actions { gap: 6px; margin-right: 8px; }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
}
@media (max-width: 480px) {
  .nav .container { gap: 6px; }
  .brand-name { display: none; }
  body.nav-simple .nav-actions { gap: 5px; margin-right: 6px; }
  body.nav-simple .nav-play { display: none; }
  body.nav-simple .nav-ico, body.nav-simple .nav-bell-btn { padding: 0; width: 38px; justify-content: center; }
}
@media (max-width: 359px) {
  body.nav-simple .nav-ico[data-page="faq"] { display: none; }
  body.nav-simple .nav-actions { gap: 4px; }
}

/* ---------- Бургер-меню: «книга заклинаний» ---------- */
.backdrop { background: radial-gradient(80% 60% at 20% 20%, rgba(139,92,246,.18), transparent 70%), rgba(5,4,10,.68); }
.drawer {
  width: min(360px, 90vw); padding: 14px 14px 26px; gap: 0; position: fixed; isolation: isolate;
  background:
    radial-gradient(120% 46% at 0% 0%, rgba(240,143,176,.2), transparent 62%),
    radial-gradient(90% 40% at 100% 100%, rgba(95,212,196,.14), transparent 62%),
    linear-gradient(180deg, #181022, #0d0a16);
  border-right: 1px solid rgba(232,180,92,.3);
  box-shadow: 24px 0 70px rgba(0,0,0,.6), inset -1px 0 0 rgba(255,255,255,.04);
}
/* Светящийся «воздух» наверху меню: медленно плывущие искры */
.drawer-aura { position: absolute; left: 0; right: 0; top: 0; height: 300px; z-index: -1; pointer-events: none; overflow: hidden; opacity: .9;
  background:
    radial-gradient(2px 2px at 12% 30%, #ffe3a8 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 34% 62%, #f9a6c8 50%, transparent 52%),
    radial-gradient(2.2px 2.2px at 58% 20%, #fff0c8 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 78% 48%, #8ff0e2 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 90% 14%, #ffe3a8 50%, transparent 52%),
    radial-gradient(1.7px 1.7px at 22% 84%, #f9a6c8 50%, transparent 52%);
  background-size: 100% 100%; animation: auraDrift 9s ease-in-out infinite alternate; }
@keyframes auraDrift { from { transform: translateY(0); opacity: .55; } to { transform: translateY(14px); opacity: 1; } }
.drawer > * { position: relative; }
.drawer > .drawer-aura { position: absolute; }
.drawer-head { border-bottom: 0; margin-bottom: 6px; padding-bottom: 10px; }
.drawer-head .brand { font-size: 1.3rem; }
.drawer-head .icon-btn { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.drawer-head .icon-btn:hover { transform: rotate(90deg); background: var(--surface-2); }

/* Вход в игру — главная «дверь» меню */
.drawer-portal {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; margin: 2px 2px 18px; padding: 14px 14px 14px 18px;
  border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid rgba(240,180,111,.6);
  box-shadow: 0 12px 38px rgba(232,147,76,.3), inset 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.drawer-portal:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(232,147,76,.45), inset 0 0 0 1px rgba(255,255,255,.1); }
.dp-art { position: absolute; inset: 0; z-index: -2; }
.dp-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; transform: scale(1.06); transition: transform .8s ease; }
.drawer-portal:hover .dp-art img { transform: scale(1.14); }
.dp-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,9,20,.9) 0%, rgba(14,9,20,.62) 55%, rgba(14,9,20,.18) 100%); }
.drawer-portal::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,226,170,.32) 50%, transparent 62%); transform: translateX(-120%);
  animation: portalShine 5.5s ease-in-out 1s infinite;
}
@keyframes portalShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.dp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dp-txt small { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.dp-txt b { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.dp-go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #1a1206;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 6px 20px rgba(232,147,76,.5); transition: transform .25s; }
.dp-go svg { width: 22px; height: 22px; }
.drawer-portal:hover .dp-go { transform: translateX(3px) scale(1.06); }

.drawer-label { display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.drawer-label::before, .drawer-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,180,92,.45)); }
.drawer-label::after { background: linear-gradient(270deg, transparent, rgba(232,180,92,.45)); }

/* Карточки-«задания»: у каждой свой цвет и руна-значок */
.drawer-quests { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dq {
  --c: 232,180,92;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 124px; padding: 14px 12px 12px;
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(var(--c), .5);
  background: linear-gradient(165deg, rgba(var(--c), .26), rgba(var(--c), .06) 72%);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
}
.dq::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c), .35), transparent 70%); transition: transform .4s; }
.dq:hover { transform: translateY(-3px); border-color: rgba(var(--c), .9); box-shadow: 0 12px 30px rgba(var(--c), .25); }
.dq:hover::after { transform: scale(1.5); }
.dq.is-active { border-color: rgba(var(--c), .95); box-shadow: 0 0 0 1px rgba(var(--c), .5) inset; }
.dq-gold { --c: 240,180,111; } .dq-teal { --c: 95,212,196; } .dq-rose { --c: 240,143,176; } .dq-violet { --c: 154,157,212; }
.dq-ic {
  width: 46px; height: 46px; margin-bottom: 8px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(var(--c), 1), rgba(var(--c), .55));
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  transition: transform .4s cubic-bezier(.2,1.4,.4,1);
}
.dq-ic svg { width: 23px; height: 23px; color: #16101f; }
.dq:hover .dq-ic { transform: rotate(-10deg) scale(1.1); }
.dq b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; line-height: 1.2; color: var(--text); }
.dq small { position: relative; z-index: 1; font-size: .78rem; line-height: 1.3; color: var(--text-2); }

.drawer-links { display: flex; flex-direction: column; margin: 0 2px; }
.drawer-links a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; color: var(--text-2); font-size: 1rem; }
.drawer-links a::before { content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); border: 1px solid var(--gold); background: transparent; transition: background .2s; }
.drawer-links a:hover, .drawer-links a.is-active { color: var(--text); background: var(--surface-2); }
.drawer-links a:hover::before, .drawer-links a.is-active::before { background: var(--gold); }
/* старое правило body.nav-simple .drawer-links a (style.css) растягивало пункт: ромбик слева, текст справа */
body.nav-simple .drawer .drawer-links a, .drawer .drawer-links a { justify-content: flex-start; }
/* 19.10 (Егор): Варлоды и приложение остаются в меню, но не главными плитками — строкой помельче внизу */
.drawer-more { display: flex; flex-direction: column; gap: 2px; margin: 10px 2px 0; padding-top: 10px; border-top: 1px solid var(--border); }
.drawer-more a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; color: var(--text-3, var(--text-2)); font-size: .9rem; }
.drawer-more a svg { flex: none; opacity: .8; }
.drawer-more small { color: var(--text-3, var(--text-2)); opacity: .75; font-size: .8rem; margin-left: 4px; }
.drawer-more a:hover, .drawer-more a.is-active { color: var(--text); background: var(--surface-2); }
.drawer-foot { margin-top: 14px; padding: 0 8px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: .92rem; color: var(--text-2); }
.drawer-auth { margin: 0 2px 14px; }

/* Появление по очереди: пункты вплывают, когда меню открыто */
.drawer-auth, .drawer-portal, .drawer-label, .dq, .drawer-links, .drawer-foot { opacity: 0; transform: translateX(-16px); }
.drawer.is-open .drawer-auth, .drawer.is-open .drawer-portal, .drawer.is-open .drawer-label,
.drawer.is-open .dq, .drawer.is-open .drawer-links, .drawer.is-open .drawer-foot {
  opacity: 1; transform: none;
  transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
  transition-delay: calc(var(--i, 0) * 70ms + 90ms);
}
.drawer.is-open .drawer-portal { transition-delay: .12s; }
.drawer.is-open .drawer-label { transition-delay: .2s; }
.drawer.is-open .drawer-links { transition-delay: .55s; }
.drawer.is-open .drawer-foot { transition-delay: .65s; }
.drawer.is-open .dq:hover, .drawer.is-open .drawer-portal:hover { transition-delay: 0s; transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .drawer-aura, .drawer-portal::before, .nav-bell-n, .nav-bell-btn.is-ring svg, .notify-panel, .notify-item { animation: none !important; }
  .drawer-auth, .drawer-portal, .drawer-label, .dq, .drawer-links, .drawer-foot { opacity: 1; transform: none; }
  .drawer.is-open .drawer-auth, .drawer.is-open .drawer-portal, .drawer.is-open .drawer-label,
  .drawer.is-open .dq, .drawer.is-open .drawer-links, .drawer.is-open .drawer-foot { transition: none; }
}
@media (max-width: 359px) { .drawer-quests { grid-template-columns: 1fr; } .dq { min-height: 0; } }

/* 19.10 (Егор: «уродская прокрутка»): в боковых меню полосы нет совсем — листается колесом и пальцем;
   на остальном сайте тонкая, почти прозрачная, проявляется золотом при наведении */
.drawer, .igra-nav { scrollbar-width: none; }
.drawer::-webkit-scrollbar, .igra-nav::-webkit-scrollbar { width: 0; height: 0; display: none; }
html { scrollbar-width: thin; scrollbar-color: rgba(232, 180, 92, .22) transparent; }
html:hover { scrollbar-color: rgba(232, 180, 92, .5) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(232, 180, 92, .22); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232, 180, 92, .6); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }

/* ---------- 20.10 (проверка, замечания 5 и 7) ---------- */
/* Главная кнопка шапки - «Начать игру» (заливка), «Скачать» - контурная второстепенная */
body.nav-simple .nav-play {
  color: #1a1206; border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #d99a3d);
  box-shadow: 0 8px 24px rgba(232, 180, 92, .28), inset 0 1px 0 rgba(255,255,255,.35);
}
body.nav-simple .nav-play:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #d99a3d); border-color: transparent; box-shadow: 0 12px 30px rgba(232, 180, 92, .4), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
body.nav-simple .nav-dl-btn { box-shadow: none; }
/* Узкая шапка: значок меча (кружок со стрелкой читался как «видео»), на 641-700 px ещё и слово «Играть» */
.nav-play-short { display: none; }
@media (min-width: 641px) and (max-width: 700px) {
  body.nav-simple .nav-play { width: auto; height: 38px; padding: 0 12px; gap: 6px; }
  body.nav-simple .nav-play svg { width: 16px; height: 16px; }
  body.nav-simple .nav-play-txt { display: none; }
  body.nav-simple .nav-play-short { display: inline; font-size: .9rem; }
}
/* Зона нажатия 44x44 у кнопок шапки: сам значок остаётся 38 px, невидимая область шире */
body.nav-simple .nav-actions > :is(.nav-ico, .nav-play, .nav-auth), body.nav-simple .nav-bell-btn, body.nav-simple .nav-dl-btn, body.nav-simple .nav-toggle { position: relative; }
body.nav-simple .nav-actions > :is(.nav-ico, .nav-play, .nav-auth)::after, body.nav-simple .nav-bell-btn::after, body.nav-simple .nav-dl-btn::after, body.nav-simple .nav-toggle::after {
  content: ""; position: absolute; inset: -4px;
}
.nav .brand { position: relative; }
.nav .brand::after { content: ''; position: absolute; inset: -8px; }
