@charset "utf-8";

/* ==========================================================================
   EuroAion — 7 лет вместе. Прототип утверждённого макета (hybrid + stage).
   Страница свёрстана в системе координат 1680px и масштабируется на всю
   ширину окна (см. app.js — zoom), поэтому размеры заданы в пикселях макета.
   ========================================================================== */

@font-face {
  font-family: "AnnCinzel";
  src: url("/Assets/lib/fonts/cinzel/v26/8vIJ7ww63mVu7gt79mT7PkRXMw.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink:        #111f35;
  --ink-2:      #1d3151;
  --ink-soft:   #4c6379;
  --ink-mute:   #8a9bad;
  --navy:       #0d2340;
  --navy-2:     #16375c;

  --paper:      #fbf9f1;
  --paper-2:    #f4f1e4;
  --paper-3:    #eef2f7;

  --gold:       #b8873a;
  --gold-dk:    #8a611f;
  --gold-lt:    #e6c675;
  --gold-pale:  #f6e6b6;
  --gold-line:  rgba(168, 126, 46, .42);
  --gold-thin:  rgba(168, 126, 46, .24);

  --blue:       #1f7fd0;
  --green:      #1c8c57;

  --serif: "PT Serif", "New York", Georgia, "Times New Roman", serif;
  --title: "AnnCinzel", "PT Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #d9e6f0;
  color: var(--ink);
  font: 15px/1.45 var(--serif);
}
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
svg { display: block; width: 100%; height: 100%; fill: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 1680px;
  margin: 0 auto;
  background: var(--paper);
  transform-origin: top center;
  overflow: hidden;
}

/* ----------------------------- общие элементы ----------------------------- */

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 38px; padding: 0 26px;
  color: #fff8e6;
  font: 700 13px/1 var(--serif);
  letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(180deg, #cfa04a 0%, #9d701f 100%);
  border: 1px solid #e9cd85;
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, .55), inset 0 -1px 0 rgba(60, 38, 6, .35), 0 4px 14px rgba(86, 60, 16, .22);
  text-shadow: 0 1px 1px rgba(58, 36, 6, .45);
}
.btn-gold svg { width: 16px; height: 16px; stroke: currentColor; }
.btn-gold:hover { filter: brightness(1.08); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 18px;
  color: #f7ecd0;
  font: 700 11.5px/1 var(--serif);
  letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(12, 30, 52, .78), rgba(8, 20, 38, .86));
  border: 1px solid rgba(226, 194, 122, .7);
  box-shadow: 0 6px 18px rgba(6, 18, 34, .35);
}
.btn-ghost svg { width: 15px; height: 15px; stroke: currentColor; }
.btn-ghost:hover { border-color: #f0d89c; color: #fff6df; }

/* Ромб-орнамент на вертикальных разделителях убран по просьбе владельца.
   Сам .vrule оставлен распоркой: он держит интервалы между колонками
   дневного набора, и удаление элементов сдвинуло бы вёрстку. */
.vrule { position: relative; width: 1px; align-self: stretch; }
.hrule { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 15%, var(--gold-line) 85%, transparent); }

.minilabel {
  color: var(--ink-2);
  font: 700 11px/1 var(--serif);
  letter-spacing: .2em; text-transform: uppercase;
}

/* ===========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  height: 480px;
  background: url("/Assets/anniversary-7/assets/art/hero-no-birds.png") 50% 18% / cover no-repeat;
  overflow: hidden;
}
.hero__media {
  position: absolute; z-index: 1; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: 2; inset: auto 0 0 0; height: 104px;
  background: linear-gradient(180deg, rgba(251, 249, 241, 0), rgba(251, 249, 241, .92) 78%, var(--paper));
}

.nav {
  position: relative; z-index: 4;
  display: flex; align-items: center; gap: 26px;
  width: 1272px; height: 52px; margin: 0 90px 0 auto;
  padding: 0 60px 0 26px;
  background: linear-gradient(96deg, #0f2a49 0%, #0a1c33 48%, #102e4e 100%);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 6px 22px rgba(10, 28, 50, .35);
}
.nav__identity { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__brand { color: #e8c273; font: 400 27px/1 var(--title); letter-spacing: .01em; }
.nav__video {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 28px; flex: none; color: #fff;
  border: 1px solid rgba(255, 91, 91, .92); border-radius: 15px;
  background: linear-gradient(180deg, #e3393f, #a91622);
  box-shadow: 0 0 0 0 rgba(230, 42, 50, .46), inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(90, 5, 14, .34);
  animation: live-button-pulse 2.2s ease-out infinite;
  transition: filter .18s ease, transform .18s ease;
}
.nav__video-play { width: 21px; height: 21px; filter: drop-shadow(0 1px 2px rgba(80, 0, 8, .55)); animation: video-play-pulse 1.7s ease-in-out infinite; }
.nav__video-play path { fill: currentColor; stroke: none; }
.nav__video:hover, .nav__video:focus-visible { filter: brightness(1.16); transform: scale(1.07); outline: 2px solid rgba(255, 231, 192, .86); outline-offset: 2px; }
@keyframes video-play-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
@keyframes live-button-pulse {
  0%, 42% { box-shadow: 0 0 0 0 rgba(230, 42, 50, .42), inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(90, 5, 14, .34); }
  78%, 100% { box-shadow: 0 0 0 7px rgba(230, 42, 50, 0), inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(90, 5, 14, .34); }
}
@media (prefers-reduced-motion: reduce) {
  .nav__video, .nav__video-play { animation: none; }
  .hero__media { display: none; }
  .updates-recap__card, .updates-recap__media img { transition: none; }
}
.nav__menu { display: none; }
.nav__links { display: flex; gap: 22px; margin-left: 4px; }
.nav__links a, .nav__links button { color: #dbe4ec; font: 400 11.5px/1 var(--serif); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.nav__links a:hover, .nav__links button:hover { color: #f3d48a; }
.nav__play { margin-left: auto; height: 32px; padding: 0 28px; font-size: 12px; letter-spacing: .2em; }
.nav__play--account { max-width: 190px; letter-spacing: .1em; }
.nav__play--account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__play--restore { padding-right: 18px; padding-left: 18px; letter-spacing: .1em; white-space: nowrap; }
.nav__tools { display: flex; align-items: center; gap: 12px; color: #cfdae6; }
.nav__sep { width: 1px; height: 22px; background: rgba(214, 228, 242, .25); }
.nav__icon { width: 19px; height: 19px; color: inherit; }
.nav__icon svg { stroke: currentColor; }
.nav__lang { display: flex; align-items: center; gap: 6px; color: inherit; font: 400 12px/1 var(--serif); letter-spacing: .1em; }
.nav__globe { width: 17px; height: 17px; stroke: currentColor; }
.nav__caret { width: 14px; height: 14px; stroke: currentColor; }
.nav__language { position: relative; }
.nav__lang:hover, .nav__lang[aria-expanded="true"] { color: #f1d58f; }
.nav__lang[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__lang-menu {
  position: absolute; z-index: 20; top: calc(100% + 15px); right: -14px; width: 154px; padding: 7px;
  color: #dce7f0; background: linear-gradient(155deg, rgba(17, 48, 79, .99), rgba(6, 23, 42, .995));
  border: 1px solid rgba(226, 192, 113, .58); box-shadow: 0 16px 36px rgba(2, 12, 24, .48);
}
.nav__lang-menu[hidden] { display: none; }
.nav__lang-menu::before { content: ""; position: absolute; right: 23px; bottom: 100%; border: 6px solid transparent; border-bottom-color: rgba(226, 192, 113, .58); }
.nav__lang-menu a { display: block; padding: 9px 11px; color: #cbd8e3; font: 400 12px/1 var(--serif); letter-spacing: .04em; }
.nav__lang-menu a:hover { color: #fff4d5; background: rgba(255,255,255,.06); }
.nav__lang-menu a.is-active { color: #f1cf7a; background: rgba(211, 170, 78, .11); }

/* Окно входа использует общую механику сайта, но оформление birthday. */
.birthday-login {
  width: 430px; padding: 42px 38px 36px;
  color: #f8edd2;
  font-family: var(--serif);
  background: linear-gradient(155deg, rgba(18, 47, 78, .99), rgba(7, 24, 43, .995));
  border: 1px solid rgba(226, 192, 113, .65); border-radius: 4px;
  box-shadow: 0 30px 90px rgba(2, 12, 24, .72), inset 0 0 0 1px rgba(255, 244, 210, .08);
}
.birthday-login .ea-modal__close { color: #d8bf86; border-color: rgba(226, 192, 113, .28); }
.birthday-login__eyebrow { margin-bottom: 8px; color: #d7ad58; font: 700 11px/1 var(--serif); letter-spacing: .28em; text-align: center; text-transform: uppercase; }
.birthday-login .ea-modal__title { margin-bottom: 10px; color: #fff4d8; font: 700 28px/1.15 var(--title); }
.birthday-login .ea-modal__subtitle { margin-bottom: 22px; color: #b9c8d6; font: 400 14px/1.55 var(--serif); }
.birthday-login .form-input {
  height: 48px; color: #f8edd2; font-family: var(--serif);
  background: rgba(255, 255, 255, .055); border-color: rgba(198, 216, 232, .2); border-radius: 2px;
}
.birthday-login .form-input:focus { border-color: #d7ad58; box-shadow: 0 0 0 3px rgba(215, 173, 88, .13); }
.birthday-login .form-input::placeholder { color: #8195a8; }
.birthday-login .ea-modal__submit {
  border: 1px solid #e9cd85; border-radius: 2px; color: #fff8e6; font-family: var(--serif); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, #cfa04a, #93661d); box-shadow: inset 0 1px rgba(255, 246, 214, .5), 0 8px 22px rgba(3, 14, 27, .38);
}
.birthday-login .ea-modal__submit:hover { color: #fff; background: linear-gradient(180deg, #ddb35c, #a67625); box-shadow: 0 10px 28px rgba(3, 14, 27, .5); }
.birthday-login .ea-modal__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.birthday-login .ea-modal__links a { color: #e4c77f; font-family: var(--serif); }
.birthday-register { width: 510px; padding-top: 34px; padding-bottom: 30px; }
.birthday-register .ea-modal__subtitle { margin-bottom: 12px; }
.birthday-register .ea-modal__form { gap: 12px; }
.birthday-register__warning {
  margin: 0 0 14px; padding: 9px 12px; color: #e8d8ae; background: rgba(214, 171, 73, .09);
  border-left: 2px solid #d7ad58; font: 600 12px/1.4 var(--serif);
}
.birthday-register__hint { display: block; margin: 4px 2px 0; color: #e49b8e; font: 600 11px/1.35 var(--serif); }
.birthday-register__hint:empty { display: none; }
.birthday-register .birthday-register__checks { margin: 7px 2px 0; font: 400 11.5px/1.45 var(--serif); }
.birthday-register .birthday-register__checks li { color: #9eb0c0; }
.birthday-register .birthday-register__checks li::before { color: #df6e65; }
.birthday-register .birthday-register__checks li.is-ok { color: #69b88a; }
.birthday-register .birthday-register__checks li.is-ok::before { color: #69b88a; }
.birthday-register .form-input.is-invalid { border-color: #ba6b60; box-shadow: 0 0 0 2px rgba(186, 107, 96, .12); }
.birthday-register .form-input.is-valid { border-color: #6b9b82; }
.birthday-register__terms label { color: #adbdcb; font: 400 11px/1.45 var(--serif); }
.birthday-register__terms label a { color: #e4c77f; }
.birthday-register__terms input { accent-color: #c7973e !important; }

/* YouTube загружается только после открытия окна. */
body.has-video-modal { overflow: hidden; }
.video-modal { position: fixed; z-index: 2300; inset: 0; display: grid; place-items: center; padding: 28px; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; background: rgba(2, 12, 23, .86); backdrop-filter: blur(7px); }
.video-modal__panel {
  position: relative; z-index: 1; width: min(1040px, calc(100vw - 56px)); padding: 18px;
  color: #f7edd4; background: linear-gradient(155deg, rgba(18, 47, 78, .995), rgba(5, 20, 37, .998));
  border: 1px solid rgba(226, 192, 113, .72); box-shadow: 0 32px 100px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(255, 244, 210, .07);
}
.video-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 2px 14px; }
.video-modal__head p { color: #d7ad58; font: 700 10px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; }
.video-modal__head h2 { margin-top: 6px; color: #fff4d8; font: 700 23px/1.1 var(--title); }
.video-modal__close {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: #d8bf86;
  border: 1px solid rgba(226, 192, 113, .3); border-radius: 50%; font: 300 24px/1 Arial, sans-serif;
}
.video-modal__close:hover, .video-modal__close:focus-visible { color: #fff4d8; border-color: #d7ad58; background: rgba(215, 173, 88, .1); outline: none; }
.video-modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #02070d; box-shadow: 0 12px 36px rgba(0, 0, 0, .5); }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Загрузка клиента внутри юбилейного лендинга. */
body.has-download-modal { overflow: hidden; }
.download-modal { position: fixed; z-index: 2400; inset: 0; display: grid; place-items: center; padding: 28px; }
.download-modal[hidden] { display: none; }
.download-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; background: rgba(2, 11, 22, .88); backdrop-filter: blur(8px); }
.download-modal__panel {
  position: relative; z-index: 1; width: min(1180px, calc(100vw - 56px)); max-height: calc(100vh - 56px); overflow-y: auto;
  color: var(--ink); background: #f7f3e8; border: 1px solid #d3ad60;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .75);
  scrollbar-color: #bb9143 #e9e2d3; scrollbar-width: thin;
}
.download-modal__panel::before { content: ""; position: absolute; z-index: 2; inset: 7px; pointer-events: none; border: 1px solid rgba(185, 139, 54, .24); }
.download-modal__close {
  position: absolute; z-index: 5; top: 16px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px;
  color: #d8bf86; border: 1px solid rgba(226, 192, 113, .34); border-radius: 50%; font: 300 27px/1 Arial, sans-serif;
}
.download-modal__close:hover, .download-modal__close:focus-visible { color: #fff4d8; border-color: #d7ad58; background: rgba(215, 173, 88, .12); outline: none; }
.download-modal__header {
  position: relative; padding: 30px 60px 26px 38px; color: #f7edd4;
  background:
    linear-gradient(100deg, rgba(8, 29, 50, .97), rgba(14, 48, 79, .92) 60%, rgba(6, 25, 44, .97)),
    url("/Assets/anniversary-7/assets/art/panorama.png") center 46% / cover no-repeat;
  border-bottom: 2px solid #c79b45;
}
.download-modal__eyebrow { color: #d9b665; font: 700 10px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; }
.download-modal__header h2 { margin-top: 9px; color: #fff8e7; font: 700 35px/1.08 var(--title); }
.download-modal__header > p:last-of-type { max-width: 690px; margin-top: 9px; color: #c3d1dc; font: 400 14px/1.5 var(--serif); }
.download-modal__notice {
  position: absolute; right: 68px; bottom: 25px; width: 310px; padding: 10px 13px;
  color: #f3dfaf; background: rgba(4, 19, 35, .68); border-left: 2px solid #d4aa50; font: 600 11.5px/1.4 var(--serif);
}
.download-modal__content { padding: 25px 30px 24px; }
.download-methods { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 14px; align-items: start; }
.download-method {
  min-width: 0; padding: 20px 20px 17px; background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(240, 239, 233, .94));
  border: 1px solid #d6dce0; box-shadow: 0 6px 18px rgba(31, 48, 64, .07);
}
.download-method--primary { background: linear-gradient(180deg, #fffdf6, #f5ecd7); border-color: #cca452; box-shadow: inset 0 0 0 1px rgba(226, 195, 125, .38), 0 8px 24px rgba(111, 77, 20, .12); }
.download-method__top { display: flex; align-items: center; justify-content: space-between; min-height: 25px; }
.download-method__number { color: #a67726; font: 700 12px/1 var(--title); letter-spacing: .15em; }
.download-method__recommended { padding: 5px 8px; color: #fff8e6; background: linear-gradient(180deg, #c99a42, #92651d); font: 700 8.5px/1 var(--serif); letter-spacing: .13em; text-transform: uppercase; }
.download-method h3 { margin-top: 10px; color: #152b46; font: 700 22px/1.08 var(--title); }
.download-method > p { min-height: 54px; margin-top: 8px; color: #617487; font: 400 12.5px/1.45 var(--serif); }
.download-method__action {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 39px; margin-top: 14px; padding: 0 14px;
  color: #fdf6e5; background: linear-gradient(180deg, #173e65, #0b2744); border: 1px solid #31597d;
  font: 700 11px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: filter .16s ease, transform .12s ease;
}
.download-method--primary .download-method__action { background: linear-gradient(180deg, #d0a44e, #95691f); border-color: #e1c57f; }
.download-method__action:hover, .download-method__action:focus-visible { color: #fff; filter: brightness(1.1); transform: translateY(-1px); outline: none; }
.download-method__action svg { flex: none; width: 17px; height: 17px; stroke: currentColor; }
.download-method__steps { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(160, 128, 67, .24); }
.download-method__steps summary { position: relative; padding-right: 18px; color: #38516a; font: 700 11.5px/1.3 var(--serif); cursor: pointer; list-style: none; }
.download-method__steps summary::-webkit-details-marker { display: none; }
.download-method__steps summary::after { content: "+"; position: absolute; right: 1px; top: -2px; color: #a77928; font: 700 18px/1 var(--serif); }
.download-method__steps[open] summary::after { content: "−"; }
.download-method__steps ol { margin-top: 11px; padding-left: 20px; color: #607386; list-style: decimal; }
.download-method__steps li { margin-top: 6px; padding-left: 2px; font: 400 11.5px/1.4 var(--serif); }
.download-method__steps strong { color: #263f58; }
.download-help {
  display: grid; grid-template-columns: minmax(300px, 1fr) minmax(480px, 1.4fr); align-items: center; gap: 24px;
  margin-top: 15px; padding: 17px 20px; color: #dfe8ef; background: linear-gradient(100deg, #102f50, #081d34); border: 1px solid rgba(201, 163, 79, .62);
}
.download-help__eyebrow { color: #d8b665; font: 700 9px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.download-help h3 { margin-top: 5px; color: #f4dfac; font: 700 17px/1.15 var(--title); }
.download-help__copy > p:last-child { margin-top: 5px; color: #aebfce; font: 400 11.5px/1.4 var(--serif); }
.download-help__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.download-help__links a { padding: 8px 10px; color: #dce7ef; background: rgba(255,255,255,.055); border: 1px solid rgba(198, 216, 232, .16); font: 600 10.5px/1.2 var(--serif); }
.download-help__links a:hover { color: #f2d58c; border-color: rgba(215, 173, 88, .58); }
.download-forum {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; padding: 12px 16px;
  color: #334d66; background: rgba(255,255,255,.72); border: 1px solid #d9d4c8;
}
.download-forum > span:first-child { min-width: 0; }
.download-forum strong, .download-forum small { display: block; }
.download-forum strong { font: 700 12.5px/1.3 var(--serif); }
.download-forum small { margin-top: 3px; color: #718396; font: 400 11px/1.3 var(--serif); }
.download-forum__action { display: flex; align-items: center; gap: 9px; flex: none; color: #976b20; font: 700 10.5px/1 var(--serif); letter-spacing: .09em; text-transform: uppercase; }
.download-forum__action svg { width: 16px; height: 16px; stroke: currentColor; }
.download-forum:hover { color: #263f58; border-color: #c39a49; background: #fffdf7; }
.download-modal__guide { margin-top: 14px; color: #738496; font: 400 11.5px/1.4 var(--serif); text-align: center; }
.download-modal__guide a { color: #976b20; font-weight: 700; border-bottom: 1px solid rgba(151, 107, 32, .38); }

@media (max-width: 900px) {
  .download-modal { align-items: start; padding: 12px; }
  .download-modal__panel { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .download-modal__header { padding: 26px 48px 22px 22px; }
  .download-modal__header h2 { font-size: 29px; }
  .download-modal__header > p:last-of-type { font-size: 13px; }
  .download-modal__notice { position: static; width: auto; margin-top: 14px; }
  .download-modal__content { padding: 17px 14px 18px; }
  .download-methods { grid-template-columns: 1fr; }
  .download-method { padding: 18px 17px 15px; }
  .download-method > p { min-height: 0; }
  .download-help { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .download-help__links { grid-template-columns: 1fr; }
  .download-forum { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Отдельная страница восстановления доступа. */
body.birthday-access-page { min-height: 100vh; background: #081c31 url("/Assets/anniversary-7/assets/art/hero.png") 50% 12% / cover fixed no-repeat; }
.access-shell { min-height: 100vh; padding-bottom: 44px; background: linear-gradient(180deg, rgba(7, 26, 46, .18), rgba(7, 24, 43, .92) 72%, #07182b); }
.access-nav {
  display: flex; align-items: center; gap: 24px; width: min(1180px, calc(100% - 48px)); height: 64px; margin: 0 auto;
  padding: 0 28px; color: #d9e4ee; background: linear-gradient(96deg, rgba(15, 42, 73, .98), rgba(7, 24, 43, .98));
  border-radius: 0 0 24px 24px; box-shadow: 0 8px 28px rgba(3, 15, 28, .35);
}
.access-nav__brand { color: #e8c273; font: 400 27px/1 var(--title); }
.access-nav__back { margin-left: auto; font: 700 11px/1 var(--serif); letter-spacing: .15em; text-transform: uppercase; }
.access-nav__back:hover { color: #f0cf82; }
.access-nav .nav__icon { flex: 0 0 20px; }
.access-main { display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(260px, .85fr); gap: 54px; width: min(1040px, calc(100% - 48px)); margin: 92px auto 0; align-items: center; }
.access-intro { grid-column: 2; grid-row: 1; color: #f8f4e9; text-shadow: 0 3px 24px rgba(5, 19, 34, .75); }
.access-intro__kicker { color: #e5bd68; font: 700 11px/1 var(--serif); letter-spacing: .25em; text-transform: uppercase; }
.access-intro h1 { margin-top: 16px; font: 700 clamp(38px, 5vw, 64px)/1.02 var(--title); }
.access-intro p { max-width: 470px; margin-top: 20px; color: #d8e2eb; font: 400 17px/1.65 var(--serif); }
.access-card { grid-column: 1; grid-row: 1; padding: 38px 42px; background: rgba(251, 249, 241, .97); border: 1px solid rgba(231, 202, 132, .8); box-shadow: 0 24px 70px rgba(2, 13, 25, .5); }
.access-card h2 { color: var(--ink); font: 700 30px/1.15 var(--title); }
.access-card__lead { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.access-anniversary-note { position: relative; margin-top: 18px; padding: 13px 15px 13px 18px; color: #526a80; background: linear-gradient(90deg, #fff6dc, #f8efd6); border: 1px solid #dfc786; border-left: 4px solid #bd8930; }
.access-anniversary-note strong, .access-anniversary-note span { display: block; }
.access-anniversary-note strong { color: #79551c; font: 700 14px/1.35 var(--serif); }
.access-anniversary-note span { margin-top: 4px; font: 400 13px/1.45 var(--serif); }
.access-alert { margin: 18px 0 0; padding: 12px 14px; color: #215c43; background: #e8f5ed; border-left: 3px solid #3d9d6d; }
.access-alert--error { color: #7e2929; background: #faece9; border-left-color: #c65d51; }
.access-form { display: grid; gap: 10px; margin-top: 24px; }
.access-form label { color: var(--ink-2); font-weight: 700; }
.access-form input[type="email"] { width: 100%; height: 50px; padding: 0 15px; color: var(--ink); background: #fff; border: 1px solid #bdcbd7; outline: 0; }
.access-form input[type="email"]:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 135, 58, .13); }
.access-form .g-recaptcha { margin: 5px 0; }
.access-form__submit { width: 100%; margin-top: 6px; }
.access-steps { display: grid; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gold-thin); counter-reset: access-step; }
.access-steps li { position: relative; min-height: 30px; padding-left: 42px; color: var(--ink-soft); line-height: 1.5; counter-increment: access-step; }
.access-steps li::before { content: counter(access-step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; color: #fff8e6; background: var(--navy-2); border: 1px solid var(--gold-lt); border-radius: 50%; }
.access-manual { margin-top: 22px; padding-top: 20px; color: var(--ink-soft); border-top: 1px solid var(--gold-thin); }
.access-manual h3 { color: var(--ink); font: 700 18px/1.3 var(--serif); }
.access-manual > p { margin-top: 8px; font: 400 13px/1.48 var(--serif); }
.access-manual > p strong { color: #38546c; }
.access-manual details { margin-top: 13px; background: rgba(235, 241, 246, .66); border: 1px solid rgba(134, 157, 177, .34); }
.access-manual summary { padding: 11px 14px; color: #74521b; font: 700 13px/1.3 var(--serif); cursor: pointer; }
.access-manual details[open] summary { border-bottom: 1px solid rgba(134, 157, 177, .27); }
.access-manual ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; padding: 13px 18px 15px 32px; list-style: disc; }
.access-manual li { color: #536b80; font: 400 12.5px/1.4 var(--serif); }
.access-manual__actions { display: flex; gap: 10px; margin-top: 13px; }
.access-manual__actions a { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 15px; color: #fff7df; background: linear-gradient(180deg, #bf913e, #91641c); border: 1px solid #d7b86d; font: 700 11px/1.2 var(--serif); letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.access-manual__actions a + a { color: #38536c; background: #edf2f6; border-color: #b9c9d6; }
.access-manual__actions a:hover { filter: brightness(1.07); }
.access-manual .access-manual__privacy { color: #8997a3; font-size: 11px; }

.hero__side {
  position: absolute; top: 112px; z-index: 3;
  color: #23384f;
  font: 700 10.5px/2.1 var(--serif);
  letter-spacing: .24em; text-transform: uppercase;
}
.hero__side--left  { top: 124px; left: 36px; width: max-content; min-width: 88px; max-width: 128px; text-align: center; letter-spacing: .22em; }
.hero__side--left .hero__rule { margin-top: 7px; margin-right: auto; margin-left: auto; }
.hero__side--right { top: auto; bottom: 128px; right: 14px; text-align: right; color: #f4f8fc; text-shadow: 0 2px 12px rgba(8, 20, 36, .95), 0 0 28px rgba(8, 20, 36, .6); }
.hero__side--right .hero__rule { margin-top: 7px; margin-right: auto; margin-left: auto; }
.hero__rule { display: block; width: 34px; height: 1px; margin-top: 12px; background: var(--gold); opacity: .8; }

.hero__copy { position: relative; z-index: 3; width: 640px; margin: 56px 0 0 320px; text-align: center; }
.hero__brand {
  color: #10192a; font: 600 72px/.92 var(--title);
  letter-spacing: .005em;
  text-shadow: 0 2px 20px rgba(255, 255, 255, .55);
}
.hero__years {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  margin-top: -2px;
  color: #10192a; font: 700 56px/.95 var(--serif);
  letter-spacing: .01em; text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .5);
}
.hero__seven { font: 400 92px/.8 var(--title); }
.hero__tagline {
  margin-top: 0; color: #2b4258;
  font: 400 12.5px/1.72 var(--serif);
  letter-spacing: .22em; text-transform: uppercase;
}
.hero__cta { margin-top: 12px; height: 34px; padding: 0 26px; white-space: nowrap; font-size: 12px; letter-spacing: .13em; }

.hero__seam { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-line) 8%, var(--gold) 50%, var(--gold-line) 92%, transparent); }

/* ===========================================================================
   10 ДНЕЙ — 10 НАБОРОВ
   ========================================================================== */

.road {
  position: relative; z-index: 2;
  border-top: 1px solid var(--gold-line);
}
.road__panel {
  position: relative; z-index: 2;
  padding: 14px 102px 16px;
  background: linear-gradient(180deg, #fdfbf4 0%, #f9f6ec 55%, #f6f2e6 100%);
}

.road__head { position: relative; display: flex; align-items: flex-start; gap: 34px; padding: 6px 12px 0 32px; min-height: 56px; }
.road__title {
  flex: none; white-space: nowrap;
  color: var(--ink); font: 700 42px/1 var(--serif);
  letter-spacing: .01em; font-variant-caps: small-caps;
}
.road__lead {
  flex: none; white-space: nowrap;
  margin-top: 2px; color: #3e5871;
  font: 700 14.5px/1.58 var(--serif);
  letter-spacing: .12em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}
.plaque { flex: none; margin-left: auto; width: 570px; }
.plaque__inner {
  display: flex; align-items: center; gap: 13px;
  height: 56px; padding: 0 14px;
  background: linear-gradient(100deg, #0c2240 0%, #143a61 52%, #0b1f3b 100%);
  border: 1px solid #d8b463;
  box-shadow: inset 0 0 0 1px rgba(247, 228, 173, .22), 0 6px 20px rgba(15, 36, 60, .25);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.plaque__crest {
  flex: none; width: 78px; height: 54px; margin-left: -5px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.32));
}
.plaque__text { display: flex; flex: 1 1 auto; min-width: 0; overflow: hidden; flex-direction: column; gap: 1px; }
.plaque__label {
  display: block; overflow: hidden; color: #e9f0f7;
  font: 400 10px/1 var(--serif); letter-spacing: .18em; text-transform: uppercase;
  text-overflow: ellipsis; white-space: nowrap;
}
.plaque__value {
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 400 27px/1.05 var(--serif); letter-spacing: .09em; text-transform: uppercase;
  background: linear-gradient(180deg, #fdf1c6 10%, #dcb35d 62%, #b8892f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plaque__value.is-truncated { cursor: help; }
.plaque__value.is-truncated:focus { outline: 1px dotted rgba(240, 217, 156, .8); outline-offset: 2px; }
.plaque__info {
  flex: none; display: grid; place-items: center; width: 23px; height: 23px; padding: 0;
  color: #e6c675; background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 198, 117, .72);
  border-radius: 50%; cursor: help; transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.plaque__info:hover, .plaque__info:focus-visible, .plaque__info[aria-expanded="true"] { color: #fff4d1; background: rgba(230, 198, 117, .2); border-color: #f0d99c; outline: none; }
.plaque__info svg { width: 15px; height: 15px; }
.plaque__divider { width: 1px; height: 34px; margin-left: auto; background: rgba(228, 238, 248, .3); }
.plaque__account { display: flex; align-items: center; gap: 10px; }
.plaque__note { width: 142px; color: #e4edf6; font: 400 10.5px/1.35 var(--serif); }
.plaque__login {
  min-width: 62px; height: 28px; padding: 0 10px;
  border: 1px solid #e4c477; color: #fff8e5;
  background: linear-gradient(180deg, #c8993c, #93661c);
  box-shadow: inset 0 1px rgba(255,255,255,.25);
  font: 700 10px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.plaque__login:hover { filter: brightness(1.08); }
.plaque__login[hidden] { display: none; }

/* --- дорожка десяти дней --- */
.days {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-start;
  height: 95px; margin: 16px 4px 0;
}
.days::before {
  content: none;
}
.day { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.day__label { color: var(--ink-2); font: 700 12px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.day__dot {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(180deg, #fdfcf6, #e9e1cd);
  border: 2px solid #dcb96f;
  box-shadow: 0 0 0 3px #fdfbf2, 0 0 0 4.5px #cfa953, 0 4px 12px rgba(110, 88, 44, .26), inset 0 1px 3px rgba(120, 100, 60, .2);
  color: #7e8b99;
}
.day__dot svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.day:not(.day--sel) .day__dot { margin-top: 11px; }
.day--lock .day__dot { color: #6f7d8c; }
.day--done .day__dot {
  background: linear-gradient(180deg, #1c4570, #0a1f3b);
  border-color: #e3c079; color: #ffffff;
  box-shadow: 0 0 0 3px #fdfbf2, 0 0 0 4.5px #cfa953, 0 4px 14px rgba(18, 42, 70, .34);
}
.day--done .day__dot svg { fill: none; stroke: currentColor; stroke-width: 3.2; width: 25px; height: 25px; }
.day--sel .day__label { color: var(--ink); }
.day--sel .day__dot {
  width: 74px; height: 74px;
  background: radial-gradient(circle at 50% 34%, #fff2c4 0%, #ddb055 48%, #9d6f1f 100%);
  border: 3px solid #fdf3d4;
  box-shadow: 0 0 0 4px #ddb765, 0 0 0 10px rgba(246, 222, 158, .38), 0 0 42px 14px rgba(234, 193, 100, .62);
}
.day--sel .day__dot svg { width: 38px; height: 38px; }
.day__gift { display: block; width: 46px; height: 46px; object-fit: contain; object-position: 50% 50%; }
.day--sel::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 124px; height: 124px; margin-left: -62px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244, 208, 122, .42), transparent 66%);
  pointer-events: none; z-index: 1;
}
.day__gem {
  position: absolute; z-index: 1; bottom: 27px; width: 118px; height: 20px;
  transform: translateX(-50%);
  background: url("/Assets/anniversary-7/assets/art/day-connector.png") center / 100% 100% no-repeat;
}

/* --- набор дня --- */
.daybox {
  position: relative;
  margin: 16px 0 0; padding: 10px 22px 8px;
  min-height: 125px;
  background: linear-gradient(180deg, #fffdf7, #fbf8ee);
  border: 1px solid var(--gold-line);
  box-shadow: 0 4px 14px rgba(133, 113, 66, .09), inset 0 0 0 1px rgba(255, 255, 255, .85);
}
.daybox__main { display: flex; align-items: stretch; gap: 16px; }
.daybox__main > .vrule { flex: none; height: 100px; align-self: flex-start; }
/* Примечание про уровень стоит в потоке, а не на фиксированной высоте:
   раньше при подзаголовке в три строки текст заезжал под его отчёркивание.
   min-height держит прежнюю высоту колонки, когда подзаголовок короткий. */
.daybox__intro { position: relative; flex: none; display: flex; flex-direction: column; width: 270px; min-height: 125px; padding: 3px 4px 0 12px; }
.daybox__title { white-space: nowrap; color: var(--ink); font: 700 36px/1 var(--serif); font-variant-caps: small-caps; letter-spacing: .01em; }
.daybox__sub { margin-top: 10px; color: #61768a; font: 400 14px/1.5 var(--serif); }
.daybox__level-note { margin: auto 0 0; padding-top: 9px; border-top: 1px solid rgba(180, 139, 56, .38); color: #80632e; font: 600 11.5px/1.45 var(--serif); }
.daybox__col { flex: none; display: flex; flex-direction: column; gap: 5px; padding-top: 1px; }
.daybox__col--loot { width: 430px; }
.daybox__col--chars { flex: 1 1 0; min-width: 0; }
/* Подпись колонки начинается вровень с первой карточкой, а не со стрелкой
   карусели: ширина стрелки 38px плюс её отступ 10px. */
.daybox__col > .minilabel { margin-left: 48px; }
.daybox__col--static-loot > .minilabel { margin-left: 0; }
.character-login-prompt {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 78px; margin-left: 16px; padding: 12px 16px;
  color: #536b82; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,244,248,.92));
  border: 1px solid #d8e0e8; border-radius: 5px;
  font: 600 13px/1.4 var(--serif); text-align: center;
}
.character-login-prompt svg { flex: none; width: 22px; height: 22px; color: #173f68; fill: none; stroke: currentColor; }
.character-login-prompt button {
  flex: none; padding: 7px 15px; color: #fff8e8; cursor: pointer;
  background: linear-gradient(180deg, #d1a348, #9d6f1e); border: 1px solid #e8c97b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35); font: 700 11px/1 var(--serif);
  letter-spacing: .1em; text-transform: uppercase; transition: filter .16s ease, transform .16s ease;
}
.character-login-prompt button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.character-login-prompt button:focus-visible { outline: 2px solid #173f68; outline-offset: 2px; }
#dayClaimCarousel[hidden], #heroCarousel[hidden], #stageCharactersLead[hidden], .character-login-prompt[hidden] { display: none !important; }

.loot { display: flex; gap: 10px; }
.loot li {
  position: relative; flex: none;
  width: 64px; height: 70px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #ffffff, #f1f4f8);
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(60, 80, 100, .08);
}
.loot li > svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 3px rgba(40, 60, 84, .3)); }
.loot li > svg[hidden] { display: none !important; }
.loot__item-image { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(40, 60, 84, .3)); }
.loot__x { position: absolute; right: 6px; bottom: 4px; color: var(--ink-2); font: 700 14px/1 var(--serif); text-shadow: 0 1px 0 #fff; }
.loot li.loot__random-label { width: auto; min-width: 64px; padding: 8px; color: #6e7f8f; line-height: 1.15; text-align: center; }
.loot__random-label span, .loot__random-label b { display: block; }
.loot__random-label span { font: 700 10px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.loot__random-label b { margin-top: 5px; color: #9b7024; font: 700 12px/1 var(--serif); }
.loot li.loot__random-option { display: flex; width: auto; min-width: 72px; max-width: 148px; padding: 7px 7px 17px; gap: 4px; cursor: help; }
.loot__random-item { position: relative; display: grid; place-items: center; width: 48px; height: 48px; }
.loot__random-item > svg, .loot__random-item > .loot__item-image { width: 44px; height: 44px; }
.loot__random-item .loot__x { right: 0; bottom: 0; font-size: 11px; }
.loot__chance { position: absolute; right: 4px; bottom: 3px; color: #936c27; font: 700 10px/1 var(--serif); }
.loot--lg li { width: 76px; height: 94px; }
.loot--lg li > svg { width: 48px; height: 48px; }
.loot--lg .loot__item-image { width: 48px; height: 48px; }
.loot--lg .loot__x { right: 8px; bottom: 7px; font-size: 14px; }
.loot--lg li { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .12s ease; }
.loot--lg li:hover { border-color: #d7bd7b; transform: translateY(-1px); }
.loot--lg li:focus-visible { outline: 2px solid #d4a84d; outline-offset: 2px; }
.loot--lg li.is-on { border-color: #d7ad4f; background: linear-gradient(180deg, #fffdf6, #f8f3e4); box-shadow: inset 0 0 0 1px #e0bd6e, 0 4px 14px rgba(150, 120, 50, .18); }
.loot__pick {
  position: absolute; z-index: 2; top: 5px; right: 5px; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; color: transparent; background: #fff;
  border: 2px solid #c6d0da; box-shadow: 0 1px 3px rgba(40, 58, 76, .12);
}
.loot__pick svg { width: 11px; height: 11px; stroke: currentColor; }
.loot--lg li.is-on .loot__pick { color: #fff; border-color: #d8b264; background: linear-gradient(180deg, #f5dd9f, #c39433); }
.loot--lg li.is-received { border-color: #80b497; background: linear-gradient(180deg, #fbfffc, #edf7f1); }
.loot--lg li.is-received, .loot--lg li.is-received:hover { cursor: default; transform: none; }
.loot--lg li.is-received { cursor: default; }
.loot--lg li.is-received:hover { transform: none; border-color: #80b497; }
.claimers li.is-on { border-color: #d7ad4f; box-shadow: inset 0 0 0 1px #e0bd6e; }
.loot__recipient { position: absolute; z-index: 3; left: 5px; bottom: 5px; width: 25px; height: 25px; }
.loot__recipient img { display: block; width: 25px; height: 25px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #4c966d; box-shadow: 0 2px 5px rgba(36, 92, 61, .28); }
.loot__recipient > span { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; color: #fff; background: #31945f; border: 1px solid #fff; }
.loot__recipient > span svg { width: 7px; height: 7px; stroke: currentColor; }

.claimers { display: flex; gap: 12px; }
.claimers li {
  display: flex; align-items: center; gap: 9px;
  flex: none; width: 194px; height: 94px; padding: 6px 14px 6px 6px;
  background: linear-gradient(180deg, #ffffff, #f2f5f9);
  border: 1px solid #e0e5ec; border-radius: 5px;
  box-shadow: 0 2px 6px rgba(60, 80, 100, .07);
  cursor: pointer;
}
.claimer__face { flex: none; width: 48px; height: 62px; border-radius: 4px; object-fit: cover; object-position: 50% 18%; border: 1px solid #ccd4dd; }
.claimer__body { flex: 1; min-width: 0; display: block; }
.claimer__name { display: block; overflow: hidden; max-width: 100%; color: var(--ink); font: 700 15px/1.2 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.claimer__meta { display: flex; align-items: center; gap: 6px; min-height: 18px; white-space: nowrap; color: #7d8f9f; font: 400 12.5px/1.3 var(--serif); }
.claimer__class { flex: none; width: 15px; height: 15px; object-fit: contain; }
.claimer__act { display: block; margin-top: 3px; }
.claimer__act .pill { padding-right: 10px; padding-left: 10px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 25px; padding: 0 16px; border-radius: 3px;
  font: 700 11.5px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase;
}
.pill--gold { color: #fff7e4; background: linear-gradient(180deg, #d0a24c, #9c6f20); border: 1px solid #ecd190; box-shadow: inset 0 1px 0 rgba(255, 246, 214, .5); }
button.pill--gold { transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background .16s ease; }
button.pill--gold:hover { color: #fff; background: linear-gradient(180deg, #e0b75f, #ad7925); box-shadow: inset 0 1px 0 rgba(255, 250, 228, .72), 0 5px 12px rgba(111, 73, 13, .28); transform: translateY(-1px); }
button.pill--gold:focus-visible { outline: 2px solid #173f68; outline-offset: 2px; }
button.pill--gold:active { filter: brightness(.94); transform: translateY(1px); }
button.pill--gold:disabled { cursor: wait; filter: saturate(.55); transform: none; }
.pill--grey { color: #97a3ae; background: linear-gradient(180deg, #eceff3, #dfe4ea); border: 1px solid #d5dbe2; }
/* Недоступное получение — та же кнопка «Забрать», только выключенная: так
   карточка персонажа не меняет размер при переходе в доступное состояние. */
button.pill--grey:disabled { cursor: default; }
.claimer__done { display: flex; align-items: center; gap: 7px; color: var(--green); font: 400 13px/1 var(--serif); text-transform: none; letter-spacing: 0; }
.claimer__done span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; border: 1.6px solid var(--green); }
.claimer__done span svg { width: 11px; height: 11px; stroke: currentColor; }
.claimer__hint { display: block; margin-top: 3px; color: #9aa6b1; font: 400 11px/1.2 var(--serif); }

/* обязательное игровое время для разблокировки набора */
.playtime {
  display: grid; grid-template-columns: 430px minmax(360px, 1fr); align-items: center; gap: 24px;
  margin: 10px 0 0 338px; padding: 10px 4px 2px 0;
  border-top: 1px solid var(--gold-thin);
}
.playtime__condition { display: flex; align-items: center; gap: 11px; min-width: 0; }
.playtime__clock {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--gold-dk); background: #fffaf0; border: 1px solid #d9b66b;
  box-shadow: 0 2px 7px rgba(115, 82, 28, .12);
}
.playtime__clock svg { width: 19px; height: 19px; stroke: currentColor; }
.playtime__condition p { min-width: 0; }
.playtime__condition p > span {
  display: block; color: #7b8d9e; font: 700 10px/1.1 var(--serif); letter-spacing: .16em; text-transform: uppercase;
}
.playtime__condition strong { display: block; margin-top: 3px; color: var(--ink-2); font: 700 13px/1.25 var(--serif); }
.playtime__progress { min-width: 0; }
.playtime__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 5px; color: #687d91; font: 400 11.5px/1 var(--serif); }
.playtime__meta strong { color: var(--ink-2); white-space: nowrap; }
.playtime__track {
  height: 8px; padding: 1px; overflow: hidden; border-radius: 8px;
  background: #e4e7e8; border: 1px solid #cfd5d9;
  box-shadow: inset 0 1px 2px rgba(42, 58, 75, .12);
}
.playtime__track i {
  display: block; width: 70%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #a87829, #e0bd68 72%, #f3da96);
  box-shadow: 0 0 7px rgba(194, 145, 55, .34);
  transition: width .25s ease;
}
.playtime__schedule { display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; color: #778a9b; font: 400 11px/1.35 var(--serif); }
.playtime__schedule svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: #9a7a3f; stroke: currentColor; }
.playtime__schedule strong { color: #5b7186; }
.playtime.is-done .playtime__clock { color: #fff; background: var(--green); border-color: #4aa979; }
.playtime.is-done .playtime__track i { background: linear-gradient(90deg, #19764b, #42ad76); box-shadow: none; }
.playtime.is-lock { opacity: .62; }
.playtime.is-lock .playtime__track i { background: #9eabb5; box-shadow: none; }

/* ===========================================================================
   КАРТА СЕМИ ЛЕТ
   ========================================================================== */

/* Стыки блока карты — явные золотые разделители (см. README): бесшовный
   переход между разными артами читался как посторонняя световая полоса. */
.atlas {
  position: relative; height: 422px; overflow: hidden; background: #0d2136;
  border-top: 2px solid rgba(184, 135, 58, .8);
}
.atlas__art {
  position: absolute; left: 0; right: 0; top: 0; height: 420px;
  background: url("/Assets/anniversary-7/assets/art/map-stage-aligned.png") center 50% / 100% auto no-repeat;
  background-color: #0d2136;
}
.atlas__art::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 30, .8) 0%, rgba(5, 15, 30, .3) 22%, rgba(5, 15, 30, 0) 40%),
    linear-gradient(270deg, rgba(5, 15, 30, .74) 0%, rgba(5, 15, 30, 0) 26%),
    linear-gradient(180deg, rgba(5, 15, 30, .34), rgba(5, 15, 30, 0) 36%),
    linear-gradient(0deg, rgba(5, 15, 30, .38), rgba(5, 15, 30, 0) 24%),
    linear-gradient(rgba(6, 18, 34, .16), rgba(6, 18, 34, .16));
  pointer-events: none;
}

.atlas__kicker, .atlas__thanks {
  position: absolute; left: 50%; z-index: 4; transform: translateX(-50%);
  width: max-content; max-width: 60%; margin: 0; color: #f4dfac;
  font: 700 17px/1.25 var(--serif); letter-spacing: .04em; text-align: center;
  text-shadow: 0 2px 4px #07182a, 0 3px 16px #07182a;
  pointer-events: none;
}
.atlas__kicker { top: 18px; }

.atlas__intro { position: absolute; top: 25px; left: 42px; z-index: 4; width: 430px; }
.atlas__title {
  color: #fdfefe; font: 700 40px/1 var(--serif);
  letter-spacing: .02em; font-variant-caps: small-caps;
  text-shadow: 0 3px 18px rgba(3, 12, 26, .85);
}
.atlas__range { margin-top: 6px; color: #e9f1f8; font: 400 25px/1 var(--serif); letter-spacing: .2em; text-shadow: 0 3px 14px rgba(3, 12, 26, .8); }
.atlas__motto {
  max-width: 260px; margin-top: 10px; color: #f2e3bd;
  font: 700 11px/1.8 var(--serif); letter-spacing: .18em; text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(3, 12, 26, .8);
}
.atlas__thanks { bottom: 16px; }
/* --- медальоны этапов --- */
.atlas__nodes { position: absolute; inset: 0; z-index: 4; }
.stage {
  position: absolute; transform: translate(-50%, -57px);
  display: block; width: 136px; text-align: center;
}
.stage__main { display: block; width: 100%; text-align: center; }
.stage__disc {
  position: relative; display: block; width: 114px; height: 114px; margin: 0 auto; border-radius: 50%;
  background: #0b1f39 center/cover no-repeat;
  border: 4px solid #e3c47e;
  box-shadow: 0 0 0 2px rgba(9, 24, 44, .8), 0 0 26px rgba(243, 214, 146, .45), 0 10px 26px rgba(4, 14, 28, .55);
  transition: box-shadow .18s, transform .18s;
}
.stage__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(255, 240, 200, .3),
              inset 0 -20px 26px rgba(5, 16, 32, .5),
              inset 0 12px 20px rgba(5, 16, 32, .26);
}
.stage__num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(180deg, #16385c, #0a1d36);
  border: 2px solid #e0c07a; color: #fff;
  font: 700 14px/1 var(--serif);
  box-shadow: 0 3px 10px rgba(4, 14, 28, .6);
}
.stage__year { display: block; margin-top: 0; color: #fdfefe; font: 400 19px/1 var(--serif); letter-spacing: .04em; text-shadow: 0 2px 10px rgba(4, 14, 28, .95); }
.stage__name { display: block; margin-top: 2px; color: #eaf1f8; font: 700 10px/1.2 var(--serif); letter-spacing: .13em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(4, 14, 28, .95); }
.stage__main:hover .stage__disc { transform: scale(1.04); box-shadow: 0 0 0 2px rgba(9, 24, 44, .75), 0 0 30px rgba(250, 224, 160, .7), 0 12px 30px rgba(4, 14, 28, .6); }
.stage.is-active .stage__disc {
  border-color: #f7e3ad;
  box-shadow: 0 0 0 2px rgba(9, 24, 44, .8), 0 0 0 7px rgba(238, 206, 132, .3), 0 0 42px rgba(250, 220, 150, .8), 0 12px 30px rgba(4, 14, 28, .6);
}

/* --- панель выбранной главы --- */
.chapter {
  position: absolute; z-index: 5; right: 44px; top: 50%; width: 292px; transform: translateY(-50%);
  padding: 9px 14px 9px;
  background: linear-gradient(180deg, rgba(10, 27, 48, .95), rgba(7, 19, 36, .96));
  border: 1px solid #cfae5b;
  box-shadow: inset 0 0 0 1px rgba(238, 212, 152, .16), 0 14px 40px rgba(3, 12, 26, .55);
}
.chapter__title { color: #f4dca4; font: 700 15px/1.2 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.chapter__year { margin-top: 2px; color: #9fb4c8; font: 400 12px/1 var(--serif); }
.chapter__shot { display: block; width: 100%; height: 54px; margin-top: 7px; object-fit: cover; border: 1px solid rgba(214, 182, 110, .5); }
.chapter__text { margin-top: 6px; color: #dbe6f1; font: 400 11.5px/1.34 var(--serif); }
.chapter__sub { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(214, 182, 110, .35); color: #f0d79f; font: 700 11px/1 var(--serif); letter-spacing: .17em; text-transform: uppercase; }
.chapter__events { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.chapter__events li { color: #e7eff7; font: 400 11px/1.25 var(--serif); }
.chapter__events button { display: flex; align-items: center; gap: 7px; width: 100%; color: inherit; font: inherit; text-align: left; }
.chapter__events button:hover, .chapter__events button:focus-visible { color: #f5d98f; outline: none; }
.chapter__events span { flex: none; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(180deg, #2a5f92, #17395f); border: 1px solid rgba(226, 202, 146, .6); }
.chapter__events span svg { width: 11px; height: 11px; }

/* --- главная награда за прохождение всех семи этапов --- */
.final-reward {
  position: relative; display: grid;
  grid-template-columns: 82px 380px minmax(360px, 1fr) 170px 260px;
  grid-template-rows: auto auto; align-items: center; column-gap: 24px;
  min-height: 156px; padding: 24px 54px 20px;
  color: #f7f9fc; background:
    linear-gradient(90deg, rgba(4, 18, 34, .96), rgba(8, 31, 53, .86) 58%, rgba(3, 17, 32, .94)),
    url("/Assets/anniversary-7/assets/art/panorama.png") center 58% / cover no-repeat;
  border-top: 3px solid #c5943f; border-bottom: 2px solid #d4ae62;
  box-shadow: inset 0 1px 0 rgba(255, 239, 193, .45), inset 0 -1px 0 rgba(255, 240, 198, .35), 0 -10px 26px rgba(6, 20, 35, .12);
}
.final-reward__seal {
  grid-row: 1 / 3; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  color: #f5d88d; background: radial-gradient(circle at 35% 28%, #204b74, #071b32 72%);
  border: 3px solid #d5ad56; box-shadow: 0 0 0 2px #fff8e6, 0 7px 20px rgba(73, 53, 18, .2);
  font: 700 24px/1 var(--serif); letter-spacing: .08em;
}
.final-reward__eyebrow { color: #e0bd70; font: 700 10.5px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.final-reward__copy h2 { margin-top: 5px; font: 700 27px/1.05 var(--serif); font-variant-caps: small-caps; }
.final-reward__copy > p:last-child { margin-top: 6px; color: #c5d2dd; font: 400 13px/1.25 var(--serif); }
.final-reward__progress { align-self: center; }
.final-reward__meta { display: flex; align-items: baseline; justify-content: space-between; color: #c3d1dd; font: 400 12px/1 var(--serif); }
.final-reward__meta strong { color: #f4deb0; font-size: 15px; }
.final-reward__steps { position: relative; display: flex; justify-content: space-between; margin-top: 12px; }
.final-reward__steps::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; transform: translateY(-50%);
  background: rgba(207, 220, 232, .4);
}
.final-reward__steps::after {
  content: ""; position: absolute; left: 10px; top: 50%; width: calc((100% - 20px) * var(--final-progress, .714)); height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, #b7832c, #efcf79);
}
.final-reward__steps li {
  position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  color: #b9c7d3; background: #17334d; border: 2px solid #75899c; font: 700 9px/1 var(--serif);
}
.final-reward__steps li.is-done { color: #fff; background: #0c2944; border-color: #e0b85c; box-shadow: 0 0 0 2px rgba(255, 239, 196, .3); }
.final-reward__prize { display: flex; align-items: center; gap: 10px; color: #f0d594; font: 700 11px/1.35 var(--serif); letter-spacing: .09em; text-transform: uppercase; }
.final-reward__prize img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(121, 85, 25, .25)); }
.final-reward__loot { flex-wrap: wrap; }
.final-reward__loot li { width: 64px; height: 72px; cursor: help; }
.final-reward__loot li > svg, .final-reward__loot .loot__item-image { width: 46px; height: 46px; }
.final-reward__claim {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 42px;
  color: #fff9e9; background: linear-gradient(180deg, #cdb477, #9d8148); border: 1px solid #dcc58f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 5px 14px rgba(92,68,26,.18);
  font: 700 16px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: transform .12s ease, filter .16s ease, box-shadow .16s ease;
}
.final-reward__claim svg { width: 16px; height: 16px; fill: currentColor; }
.final-reward__claim:hover { filter: brightness(1.09); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 7px 17px rgba(92,68,26,.26); }
.final-reward__claim:active { filter: brightness(.95); transform: translateY(1px) scale(.995); }
.final-reward__claim.is-ready { background: linear-gradient(180deg, #d9ad4f, #a36e17); }
.final-reward__claim.is-claimed { cursor: default; background: linear-gradient(180deg, #719b83, #3f745b); }
.final-reward__claim.is-denied { animation: claim-denied .3s ease; }
.final-reward__note { grid-column: 3 / 6; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; color: #b5c7d6; font: 400 11.5px/1 var(--serif); }
.final-reward__note .info-icon { width: 17px; height: 17px; font-size: 12px; line-height: 15px; }

/* --- финальный социальный призыв --- */
.invite {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 90px;
  min-height: 330px; padding: 58px 150px 54px; color: var(--ink); overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 252, 240, .94) 0%, rgba(244, 242, 226, .87) 48%, rgba(224, 235, 237, .82) 100%),
    url("/Assets/anniversary-7/assets/art/stage-header.png") center 55% / cover no-repeat;
  border-top: 1px solid #e1c781; border-bottom: 3px solid #bf8d37;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.invite__copy, .invite__actions { position: relative; z-index: 1; }
.invite__eyebrow { color: #9b6d20; font: 700 11px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; }
.invite h2 { margin-top: 12px; color: var(--ink); font: 700 43px/1.05 var(--title); text-shadow: 0 2px 18px rgba(255, 255, 255, .7); }
.invite__lead { max-width: 720px; margin-top: 17px; color: #3d5870; font: 400 16px/1.6 var(--serif); }
.invite__accent { margin-top: 14px; color: #79571d; font: 700 14px/1.45 var(--serif); }
.invite__actions { align-self: center; display: flex; flex-direction: column; gap: 10px; }
.invite__share { width: 100%; height: 48px; }
.invite__networks { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 5px; }
.invite__networks a, .invite__networks button {
  min-height: 34px; padding: 9px 12px; color: #506b81; border-bottom: 1px solid rgba(145, 105, 29, .34);
  font: 400 11.5px/1 var(--serif); transition: color .15s ease, border-color .15s ease;
}
.invite__networks a:hover, .invite__networks button:hover { color: #8a5e17; border-color: #b98528; }

/* --- что изменилось для вернувшихся игроков --- */
.updates-recap {
  position: relative; padding: 58px 150px 64px; color: #eaf2f8; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 18, 34, .94), rgba(8, 31, 53, .84) 58%, rgba(3, 17, 32, .94)),
    url("/Assets/anniversary-7/assets/art/panorama.png") center / cover no-repeat;
  border-bottom: 3px solid #bf8d37;
}
.updates-recap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 12, 23, .08), rgba(2, 12, 23, .22));
}
.updates-recap__intro, .updates-recap__cards, .updates-recap__more { position: relative; z-index: 1; }
.updates-recap__intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 90px; }
.updates-recap__more-label { color: #d8b765; font: 700 11px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; }
.updates-recap__intro h2 { margin-top: 11px; color: #fffaf0; font: 700 39px/1.06 var(--title); }
.updates-recap__intro h2 span { display: block; color: #9fc9e5; }
.updates-recap__lead { padding: 0 0 2px 25px; color: #b8cad8; border-left: 1px solid rgba(216, 183, 101, .58); font: 400 15px/1.55 var(--serif); }
.updates-recap__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 31px; }
.updates-recap__cards:focus-visible { outline: 2px solid #e7ca82; outline-offset: 5px; }
.updates-recap__card {
  position: relative; display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 142px; overflow: hidden;
  background: linear-gradient(145deg, rgba(10, 32, 50, .92), rgba(5, 20, 34, .96));
  border: 1px solid rgba(224, 181, 101, .24); box-shadow: 0 9px 24px rgba(2, 12, 23, .3);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.updates-recap__card:hover { transform: translateY(-2px); border-color: rgba(220, 188, 111, .62); box-shadow: 0 13px 30px rgba(2, 12, 23, .3); }
.updates-recap__media { position: relative; min-width: 0; overflow: hidden; }
.updates-recap__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 54%, rgba(5, 20, 34, .9)); }
.updates-recap__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); transition: transform .35s ease; }
.updates-recap__card:hover .updates-recap__media img { transform: scale(1.045); }
.updates-recap__content { min-width: 0; padding: 17px 18px 15px 14px; }
.updates-recap__version { display: inline-flex; align-items: baseline; gap: 4px; color: #91aabe; font: 700 9px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.updates-recap__version strong { color: #f1cf78; font-size: 16px; letter-spacing: .04em; }
.updates-recap__content h3 { margin: 8px 0 0; color: #f7f2e6; font: 700 18px/1.1 var(--serif); overflow-wrap: anywhere; }
.updates-recap__content p { margin-top: 8px; color: #aebfcd; font: 400 11.5px/1.38 var(--serif); }
.updates-recap__more { margin-top: 31px; padding-top: 27px; border-top: 1px solid rgba(216, 183, 101, .28); }
.updates-recap__more-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.updates-recap__more-head h3 { margin: 6px 0 0; color: #edf4f8; font: 700 18px/1.2 var(--serif); }
.updates-recap__cards--features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 19px; }

.reward-modal { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 24px; }
.reward-modal[hidden] { display: none; }
.reward-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(3, 13, 25, .72); backdrop-filter: blur(4px); }
.reward-modal__panel {
  position: relative; z-index: 1; width: min(760px, calc(100vw - 48px)); padding: 30px 34px 32px;
  color: var(--ink); background: linear-gradient(180deg, #fffdf7, #f3efe2);
  border: 2px solid #d0aa58; box-shadow: inset 0 0 0 1px #fff, 0 24px 70px rgba(2, 12, 24, .48);
}
.reward-modal__close { position: absolute; top: 9px; right: 12px; width: 32px; height: 32px; color: #718397; font: 400 27px/1 var(--serif); }
.reward-modal__close:hover { color: #9c6d1e; }
.reward-modal__eyebrow { color: #a87928; font: 700 11px/1 var(--serif); letter-spacing: .18em; text-transform: uppercase; }
.reward-modal h2 { margin-top: 7px; color: var(--ink); font: 700 34px/1 var(--serif); font-variant-caps: small-caps; }
.reward-modal__lead { margin-top: 9px; color: #62778b; font: 400 14px/1.4 var(--serif); }
.reward-modal__heroes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.reward-modal__heroes button {
  display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; padding: 7px;
  color: var(--ink); text-align: left; background: linear-gradient(180deg, #fff, #f0f4f8);
  border: 1px solid #d5dde5; border-radius: 6px; transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.reward-modal__heroes button:hover { transform: translateY(-1px); border-color: #d2b36c; }
.reward-modal__heroes button:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .52; transform: none; }
.reward-modal__heroes button.is-on { border-color: #d7ae55; background: linear-gradient(180deg, #fffdf5, #f6eed8); box-shadow: 0 0 0 2px rgba(215, 174, 85, .28); }
.reward-modal__heroes img { flex: none; width: 46px; height: 58px; object-fit: cover; object-position: 50% 18%; border: 1px solid #cbd4dc; border-radius: 4px; }
.reward-modal__hero-copy { min-width: 0; }
.reward-modal__hero-copy b { display: block; overflow: hidden; max-width: 100%; color: var(--ink); font: 700 13px/1.2 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.reward-modal__hero-copy small { display: block; margin-top: 5px; color: #8090a0; font: 400 11px/1.2 var(--serif); }
.reward-modal__hero-mark { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 7px; border: 2px solid #c5d0da; border-radius: 50%; color: transparent; background: #fff; }
.reward-modal__hero-mark svg { width: 12px; height: 12px; stroke: currentColor; }
.reward-modal__heroes button.is-on .reward-modal__hero-mark { color: #fff; border-color: #d4ac59; background: linear-gradient(180deg, #f1d387, #b98426); }
.reward-modal__confirm {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 22px;
  color: #fff8e7; background: linear-gradient(180deg, #d8ad51, #a57420); border: 1px solid #e4c679;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 17px rgba(99,70,20,.22);
  font: 700 17px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase;
}
.reward-modal__confirm:hover { filter: brightness(1.08); transform: translateY(-1px); }
.reward-modal__confirm:active { filter: brightness(.96); transform: translateY(1px); }
.reward-modal__confirm:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .55; transform: none; }
.reward-choice { width: min(680px, calc(100vw - 48px)); }
.reward-choice__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.reward-choice__option {
  position: relative; min-height: 92px; padding: 14px 14px 12px; color: var(--ink); text-align: left;
  background: linear-gradient(180deg, #fff, #eef3f7); border: 1px solid #d2dce4; border-radius: 7px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.reward-choice__option:hover { transform: translateY(-1px); border-color: #cfad62; }
.reward-choice__option.is-on { border-color: #c99536; background: linear-gradient(180deg, #fffdf4, #f4ead0); box-shadow: 0 0 0 2px rgba(201,149,54,.24); }
.reward-choice__label { display: block; margin-bottom: 10px; color: #8c6725; font: 700 12px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.reward-choice__option .loot { display: flex; flex-wrap: wrap; gap: 8px; }
.reward-choice__option .loot li { width: 48px; height: 48px; }
.reward-choice__option .loot li > svg,
.reward-choice__option .loot .loot__item-image { width: 40px; height: 40px; }
.reward-choice__counter { min-height: 18px; margin-top: 13px; color: #62778b; font: 600 13px/1.35 var(--serif); text-align: center; }
body.has-reward-modal, body.has-support-modal { overflow: hidden; }

/* Контакты поддержки в стилистике юбилейной страницы. */
.support-modal { position: fixed; z-index: 2050; inset: 0; display: grid; place-items: center; padding: 24px; }
.support-modal[hidden] { display: none; }
.support-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(3, 13, 25, .78); backdrop-filter: blur(5px); }
.support-modal__panel {
  position: relative; z-index: 1; width: min(720px, calc(100vw - 48px)); padding: 34px 38px 36px;
  color: var(--ink); background: linear-gradient(180deg, #fffdf7, #f2eddf);
  border: 2px solid #d0aa58; box-shadow: inset 0 0 0 1px #fff, 0 28px 80px rgba(2, 12, 24, .58);
}
.support-modal__panel::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid rgba(177, 132, 48, .2); }
.support-modal__close { position: absolute; z-index: 2; top: 9px; right: 12px; width: 34px; height: 34px; color: #718397; font: 400 28px/1 var(--serif); }
.support-modal__close:hover { color: #9c6d1e; }
.support-modal__eyebrow { color: #a87928; font: 700 11px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.support-modal h2 { margin-top: 8px; padding-right: 38px; color: var(--ink); font: 700 36px/1.05 var(--title); }
.support-modal__lead { max-width: 610px; margin-top: 12px; color: #5c7185; font: 400 14px/1.55 var(--serif); }
.support-modal__channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.support-channel {
  display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 74px; padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(237,242,246,.92));
  border: 1px solid #d3dce3; box-shadow: 0 3px 10px rgba(21, 43, 65, .05);
  transition: border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
.support-channel:hover { border-color: #c9a451; box-shadow: 0 7px 18px rgba(75, 55, 20, .12); transform: translateY(-1px); }
.support-channel__mark { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; color: #f8eac3; background: linear-gradient(155deg, #173c62, #0b223c); border: 1px solid #d1aa58; border-radius: 50%; font: 700 14px/1 var(--title); }
.support-channel > span:last-child { min-width: 0; }
.support-channel strong, .support-channel small { display: block; }
.support-channel strong { color: var(--ink); font: 700 15px/1.2 var(--serif); }
.support-channel small { overflow: hidden; margin-top: 5px; color: #6e8193; font: 400 12px/1.25 var(--serif); text-overflow: ellipsis; }
.support-modal__access { display: flex; align-items: center; gap: 22px; margin-top: 20px; padding: 18px; color: #e6eef5; background: linear-gradient(100deg, #102f50, #091f38); border: 1px solid rgba(211, 173, 89, .65); }
.support-modal__access > span { min-width: 0; flex: 1; }
.support-modal__access strong, .support-modal__access small { display: block; }
.support-modal__access strong { color: #f4dfaa; font: 700 15px/1.3 var(--serif); }
.support-modal__access small { margin-top: 4px; color: #b7c7d5; font: 400 12px/1.35 var(--serif); }
.support-modal__access .btn-gold { flex: none; min-width: 205px; padding-right: 16px; padding-left: 16px; font-size: 11px; letter-spacing: .1em; }
.anniversary-antiforgery { display: none; }
.anniversary-test-badge {
  position: fixed; z-index: 2190; bottom: 12px; left: 12px; padding: 6px 10px;
  color: #5b451d; background: rgba(255, 244, 205, .94); border: 1px solid #cba653;
  border-radius: 3px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  font: 700 10px/1 var(--serif); letter-spacing: .1em; text-transform: uppercase;
}
.anniversary-test-badge[hidden] { display: none; }
.anniversary-load-state, .anniversary-state {
  position: fixed; z-index: 2180; top: 12px; left: 50%; padding: 9px 14px;
  color: #f7f0dd; background: rgba(12, 31, 48, .94); border: 1px solid rgba(210, 176, 100, .62);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .23); font: 600 12px/1.35 var(--serif);
  transform: translateX(-50%);
}
.anniversary-load-state[hidden], .anniversary-state[hidden] { display: none; }
.anniversary-load-state.is-error { color: #fff3f1; background: rgba(108, 35, 32, .97); border-color: #c87970; }
.anniversary-load-state button { margin-left: 10px; padding: 4px 8px; color: inherit; border: 1px solid currentColor; }
.anniversary-state { top: 54px; max-width: min(620px, calc(100vw - 32px)); text-align: center; }
.anniversary-empty {
  display: flex !important; align-items: center; justify-content: center; min-width: 240px;
  padding: 15px !important; color: #788a9b; border: 1px dashed #bdc7d0 !important;
  background: rgba(255, 255, 255, .46) !important; font: 600 12px/1.35 var(--serif);
}
.btn-gold:disabled { opacity: .62; cursor: default; filter: grayscale(.3); }
.anniversary-api-status {
  position: fixed; z-index: 2200; right: 22px; bottom: 22px;
  max-width: min(420px, calc(100vw - 32px)); padding: 13px 18px;
  border: 1px solid rgba(86, 128, 101, .7); border-radius: 5px;
  color: #f7fff8; background: rgba(43, 91, 62, .96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .32);
  font: 600 14px/1.4 var(--serif); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .2s ease, transform .2s ease;
}
.anniversary-api-status.is-visible { opacity: 1; transform: translateY(0); }
.anniversary-api-status.is-error { border-color: rgba(191, 92, 83, .8); background: rgba(119, 39, 36, .97); }
body[aria-busy="true"] .claim, body[aria-busy="true"] .final-reward__claim,
button:disabled { cursor: wait; }

/* ===========================================================================
   ВИД 2 — ШАПКА ЭТАПА
   ========================================================================== */

.shead {
  position: relative; display: flex; align-items: stretch;
  min-height: 348px; padding: 56px 46px 26px 62px;
  background: url("/Assets/anniversary-7/assets/art/stage-header.png") 0 -38px / 1680px 598px no-repeat;
  border-top: 2px solid rgba(184, 135, 58, .8);
  border-bottom: 1px solid var(--gold-line);
}
.shead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(252, 252, 248, .26), rgba(252, 252, 248, .02) 26%, rgba(250, 250, 244, .52) 62%, rgba(250, 249, 242, .86)); }

.shead__left { position: relative; z-index: 3; flex: none; width: 52%; min-width: 0; padding-top: 6px; }
.shead__chapter { color: #1f3a5c; font: 700 15.5px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; }
.shead__title {
  max-width: 100%; margin-top: 10px; color: #101d31; font: 400 70px/1 var(--serif);
  letter-spacing: .01em; font-variant-caps: small-caps;
  white-space: normal; overflow-wrap: break-word; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .6);
}
.shead__dates { margin-top: 8px; color: #2b4763; font: 400 17px/1 var(--serif); letter-spacing: .42em; text-transform: uppercase; }
.shead__quote { margin-top: 32px; color: #3a5670; font: italic 400 17.5px/1 var(--serif); letter-spacing: .06em; }

.shead__split {
  position: relative; z-index: 3; flex: none; width: 0; align-self: stretch;
}
.shead__split::before, .shead__split::after { content: none; }

.shead__right { position: relative; z-index: 3; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 4px 34px 36px; }
.shead__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.shead__row--foot { align-items: center; margin-top: 20px; }
.shead__label { color: #16304e; font: 700 17px/1 var(--serif); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.shead__count { color: #16304e; font: 700 19px/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; }
.shead__note { color: #35506c; font: 400 14px/1 var(--serif); }

/* --- линейка прогресса аккаунта --- */
.track { position: relative; display: flex; align-items: center; margin-top: 22px; }
.track li { position: relative; z-index: 2; flex: 1 1 0; display: flex; justify-content: center; }
.track__dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, #fbfaf4, #e6e0d0); border: 2px solid #d9c793; color: #6f7d8c;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .85), 0 2px 8px rgba(80, 70, 40, .18); }
.track__dot svg { width: 20px; height: 20px; fill: currentColor; }
.track li.is-done .track__dot { background: linear-gradient(180deg, #1b4069, #0b2240); border-color: #dcb96b; color: #fff; }
.track li.is-done .track__dot svg { fill: none; stroke: currentColor; stroke-width: 3.2; width: 22px; height: 22px; }
.track__link {
  position: absolute; z-index: 1; top: 50%; height: 20px; margin-top: -10px;
  background: url("/Assets/anniversary-7/assets/art/day-connector.png") center / 100% 100% no-repeat;
}
.track__link--pale { filter: saturate(.35); opacity: .52; }

/* ===========================================================================
   СОБЫТИЯ ЭТАПА
   ========================================================================== */

.sevent {
  position: relative; display: flex; align-items: stretch;
  min-height: 160px; padding: 0 46px 18px;
  background: url("/Assets/anniversary-7/assets/art/stage-event.png") 4% 72% / cover no-repeat;
  border-bottom: 1px solid var(--gold-line);
}
/* Подложка набирает плотность там, где начинается текст: блок событий
   сдвинут левее прежних 405px, и без этого заголовки легли бы на тёмную
   часть иллюстрации. */
.sevent::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253, 253, 248, 0) 6%, rgba(253, 253, 248, .45) 11%, rgba(253, 253, 248, .82) 16%, rgba(253, 253, 248, .86) 82%, rgba(253, 253, 248, .74)); }
.sevent__body { position: relative; z-index: 3; flex: 1; min-width: 0; margin-left: 250px; padding: 14px 24px 0 0; }
.ribbon {
  position: relative; display: inline-block; margin-left: -4px; padding: 6px 26px;
  color: #f6e8c5; font: 700 12px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(180deg, #143557, #0a1e38);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 9px 100%, 0 50%);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 18px; margin-top: -9px;
  background: linear-gradient(180deg, #f7e3ab, #c2913a);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.ribbon::before { left: -24px; }
.ribbon::after  { right: -24px; }
/* События этапа идут одним рядом: число колонок проставляет скрипт по их
   количеству (renderStage). Четыре здесь — значение по умолчанию и минимум:
   одно-два события не должны растягиваться во всю ширину блока, а пятое и
   шестое раньше уезжали на вторую строку. */
.sevent__details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sevent__item { position: relative; min-width: 0; }
.sevent__item:not(:first-child) { padding-left: 18px; border-left: 1px solid rgba(176, 133, 52, .32); }
/* Пять и больше событий в ряду — колонка становится примерно вдвое уже, и
   прежний кегль ломал заголовки на три строки. Класс ставит renderStage. */
.sevent__details--dense { gap: 14px; }
.sevent__details--dense .sevent__item:not(:first-child) { padding-left: 14px; }
.sevent__details--dense .sevent__title { font-size: 19px; }
.sevent__details--dense .sevent__dates { font-size: 11px; letter-spacing: .12em; }
.sevent__details--dense .sevent__text { font-size: 11.5px; }
.sevent__title { margin-top: 6px; color: #101d31; font: 400 24px/1.08 var(--serif); letter-spacing: .015em; font-variant-caps: small-caps; text-shadow: 0 2px 16px rgba(255, 255, 255, .65); }
.sevent__dates { margin-top: 5px; color: #2b4763; font: 400 12px/1.15 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.sevent__bottom { margin-top: 8px; }
.sevent__text { color: #2f4a66; font: 400 12.5px/1.35 var(--serif); }
.sevent__bottom .btn-gold { display: flex; width: 100%; min-width: 0; margin-top: 9px; padding-right: 18px; padding-left: 18px; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.sevent__bottom .btn-gold:hover { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255, 246, 214, .65), 0 8px 20px rgba(86, 60, 16, .3); transform: translateY(-2px); }
.sevent__bottom .btn-gold:focus-visible { outline: 2px solid #173f68; outline-offset: 3px; }
.sevent__bottom .btn-gold:active { transform: translateY(1px); }

/* ===========================================================================
   ЗАДАНИЯ + НАГРАДА
   ========================================================================== */

.sbody {
  position: relative; display: flex; gap: 0;
  padding: 22px 30px 24px;
  background: linear-gradient(180deg, #fdfbf4, #f7f5ea);
}
.tasks { position: relative; flex: none; width: 1020px; padding: 0 22px 0 24px; }
.prize { position: relative; flex: 1 1 0; min-width: 0; padding: 0 14px 0 46px; border-left: 1px solid var(--gold-thin); }

.secthead { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.secthead h2 { flex: none; color: var(--ink); font: 700 46px/.82 var(--serif); letter-spacing: .015em; font-variant-caps: small-caps; }
.secthead__orn {
  flex: none; display: block; width: 92px; height: 34px;
  margin: -9px -4px;
  background: url("/Assets/anniversary-7/assets/art/divider-ornament.png") center / contain no-repeat;
  transform: translateY(-7px);
}
.secthead__count { flex: none; color: var(--ink-2); font: 700 19px/1 var(--serif); letter-spacing: .06em; }
.secthead__hint { flex: none; margin-left: 12px; color: #8b9aa8; font: 400 11px/1 var(--serif); letter-spacing: .155em; text-transform: uppercase; }

#stTrack[hidden], #taskCount[hidden], #tasksScroller[hidden], #tasksAccountNote[hidden], #tasksUpcoming[hidden], #prizeUpcoming[hidden], #prizeContent[hidden], #prizeUnlock[hidden], #dayPlaytimeProgress[hidden] { display: none; }
.tasks__upcoming {
  position: relative;
  height: 470px;
  margin: 12px 34px 0 0;
  overflow: hidden;
}
.tasks__preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  filter: blur(5px);
  opacity: .7;
  pointer-events: none;
  user-select: none;
}
.tasks__preview-row {
  display: flex;
  align-items: center;
  min-height: 90px;
  padding: 6px 16px;
  background: linear-gradient(180deg, #fbfcfe, #f2f5f9);
  border: 1px solid #e3e8ee;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(64, 88, 112, .06);
}
.tasks__preview-row:nth-child(even) { background: linear-gradient(180deg, #f4f8fa, #edf3f6); }
.tasks__preview-icon {
  flex: none;
  width: 78px;
  height: 78px;
  background: radial-gradient(circle at 50% 45%, #bd9149 0 17px, transparent 18px), linear-gradient(180deg, #1b2b42, #0d1829);
  border: 2px solid #d3b06a;
  border-radius: 8px;
}
.tasks__preview-main,
.tasks__preview-level,
.tasks__preview-progress { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 54px; }
.tasks__preview-main { width: 290px; padding: 0 18px 0 22px; }
.tasks__preview-level { width: 164px; padding: 0 18px; border-left: 1px solid #e1e6ec; }
.tasks__preview-progress { flex: 1; padding: 0 18px; border-left: 1px solid #e1e6ec; }
.tasks__preview-main i,
.tasks__preview-level i,
.tasks__preview-progress i { display: block; height: 13px; background: #a5b2be; border-radius: 4px; }
.tasks__preview-main i:first-child { width: 75%; height: 18px; background: #52677e; }
.tasks__preview-main i:last-child { width: 90%; }
.tasks__preview-level i:first-child { width: 85%; }
.tasks__preview-level i:last-child { width: 46%; height: 20px; background: #596f85; }
.tasks__preview-progress i:first-child { width: 54%; }
.tasks__preview-progress i:last-child { width: 95%; border-radius: 9px; }
.tasks__preview-state { flex: none; width: 116px; height: 32px; background: #bac8d6; border: 1px solid #9eb3c8; border-radius: 4px; }
.tasks__upcoming-message {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(660px, calc(100% - 36px));
  margin: 0;
  padding: 22px 30px;
  color: var(--ink);
  background: rgba(255, 252, 244, .96);
  border: 1px solid #e2cfaa;
  border-left: 4px solid #bf9141;
  box-shadow: 0 10px 35px rgba(45, 61, 75, .18);
  font: 700 18px/1.45 var(--serif);
  text-align: center;
  transform: translate(-50%, -50%);
}

/* --- список заданий --- */
.tasks__scroller { position: relative; margin-top: 12px; padding-right: 34px; }
.tasks__list { max-height: 470px; overflow: auto; padding-right: 4px; scrollbar-width: none; display: flex; flex-direction: column; gap: 10px; }
.tasks__list::-webkit-scrollbar { width: 0; height: 0; }
.tasks__account-note {
  display: flex; align-items: center; gap: 9px; margin: 10px 34px 0 0;
  color: #637b92; font: 400 13px/1.35 var(--serif);
}
.tasks__account-note .info-icon { flex: none; }

.task {
  position: relative;
  display: flex; align-items: center; gap: 0;
  padding: 6px 16px;
  background: linear-gradient(180deg, #fbfcfe, #f2f5f9);
  border: 1px solid #e3e8ee; border-radius: 7px;
  box-shadow: 0 2px 8px rgba(64, 88, 112, .06);
  cursor: pointer;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.task--done { background: linear-gradient(180deg, #f0f8f2, #e6f3ea); border-color: #bcdcc6; }
.task.is-selected {
  border-color: #d3ac58;
  box-shadow: 0 0 0 2px rgba(214, 177, 91, .28), 0 5px 15px rgba(91, 69, 27, .1);
  transform: translateX(2px);
}
.task__icon {
  flex: none; width: 78px; height: 78px; display: grid; place-items: center;
  background: linear-gradient(180deg, #1b2b42, #0d1829);
  border: 2px solid #d3b06a; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .5);
}
.task__icon svg { width: 52px; height: 52px; }
.task__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.task__main { display: block; width: 290px; padding: 0 18px 0 22px; }
.task__name {
  display: -webkit-box; max-height: 2.4em; overflow: hidden;
  color: var(--ink); font: 700 18.5px/1.2 var(--serif);
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.task__name.is-truncated { cursor: help; }
.task__name.is-truncated:focus { color: #385b7b; outline: none; }
.task__desc {
  display: -webkit-box; max-height: 4.14em; margin-top: 4px; overflow: hidden;
  color: #6f8091; font: 400 14px/1.38 var(--serif); cursor: help;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
}
.task__desc:hover, .task__desc:focus { color: #385b7b; text-decoration: underline dotted; text-underline-offset: 3px; outline: none; }
/* Ссылки задания: тема форума, страницы игровых заданий. Наведение меняет
   только цвет — подчёркивание в этом дизайне не используется. */
.task__links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.task__links a { color: #9a7327; font: 600 11.5px/1.3 var(--serif); text-decoration: none; }
.task__links a:hover { color: #6f5013; }
.task__links a:focus-visible { outline: 2px solid #173f68; outline-offset: 2px; }
.task--lock .task__name, .task--lock .task__desc { opacity: .62; }
.task__location { display: block; width: 164px; padding: 0 18px; border-left: 1px solid #e1e6ec; }
.task__location small { display: block; color: #7b8b9a; font: 400 13.5px/1 var(--serif); }
.task__location b {
  display: -webkit-box; max-height: 2.5em; margin-top: 7px; overflow: hidden;
  color: var(--ink); font: 700 15px/1.25 var(--serif);
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.task__prog { display: block; flex: 1; padding: 0 18px; border-left: 1px solid #e1e6ec; }
.task__nums { display: block; white-space: nowrap; color: var(--ink-2); font: 400 17px/1 var(--serif); letter-spacing: .04em; }
.bar { position: relative; display: block; height: 12px; margin-top: 9px; background: #d9dee5; border-radius: 6px; box-shadow: inset 0 1px 2px rgba(40, 60, 80, .18); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(180deg, #59b1ef, #1a6fc0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.task--done .bar { background: #e4dcc2; }
.task--done .bar i { background: linear-gradient(180deg, #fbe4a5, #cf9f3d); }
.task__state { flex: none; display: flex; align-items: center; gap: 12px; width: 176px; justify-content: flex-end; }
.task__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.task__mark--done { border: 2px solid var(--green); color: var(--green); }
.task__mark--done svg { width: 19px; height: 19px; stroke: currentColor; }
.task__mark--lock { border: 2px solid #c3ccd5; background: #f4f6f9; color: #8494a3; }
.task__mark--lock svg { width: 19px; height: 19px; fill: currentColor; }
.task__badge { display: grid; place-items: center; width: 124px; height: 34px; border-radius: 4px; font: 700 12px/1 var(--serif); letter-spacing: .13em; text-transform: uppercase; }
.task__badge--done { color: #147045; background: #dcf0e3; border: 1px solid #a9d4b8; }
.task__badge--live { color: #2b5580; background: #e7eef7; border: 1px solid #ccd9e8; }
.task__badge--lock { color: #8c98a4; background: #eceff3; border: 1px solid #d8dee5; }
.task__stateBox { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.task__req { display: block; color: #97a3ae; font: 400 11.5px/1 var(--serif); }

/* золотой скроллбар */
.goldbar { position: absolute; top: 0; right: 0; bottom: 0; width: 26px; display: flex; flex-direction: column; align-items: center; }
.goldbar__cap { flex: none; width: 16px; height: 18px; padding: 0; border: 0; background: var(--gold); opacity: .85; cursor: pointer; }
.goldbar__cap--up { clip-path: polygon(50% 18%, 100% 82%, 50% 58%, 0 82%); }
.goldbar__cap--down { clip-path: polygon(50% 82%, 100% 18%, 50% 42%, 0 18%); }
.goldbar__cap:hover { filter: brightness(.82); }
.goldbar__cap:disabled { opacity: .3; cursor: default; }
.goldbar__track { position: relative; flex: 1; width: 12px; margin: 4px 0; background: linear-gradient(180deg, #efe7d3, #e3d9bf); border: 1px solid #cbb684; border-radius: 7px; cursor: pointer; }
.goldbar__thumb { position: absolute; left: 1px; right: 1px; top: 0; height: 40%; border-radius: 6px;
  padding: 0; border: 0; cursor: grab; touch-action: none;
  background: linear-gradient(180deg, #fdf0c5, #d9ae55 52%, #9c7326);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .8), 0 1px 3px rgba(90, 66, 20, .35); }
.goldbar__thumb:hover { filter: brightness(1.06); }
.goldbar__thumb.is-dragging { cursor: grabbing; filter: brightness(.94); }

/* --- награда главы --- */
.prize .secthead h2 { font-size: 40px; }
.prize .secthead__orn { width: 76px; background-size: 76px auto; }
.prize .secthead__count { font-size: 18px; }
.prize__unlock { margin-left: auto; max-width: 220px; color: var(--ink-soft); font: 400 13px/1.3 var(--serif); text-align: right; white-space: normal; }
.prize__unlock strong { color: var(--ink-2); font-weight: 700; }
.prize__lead { margin-top: 6px; color: #46617c; font: 400 14px/1.46 var(--serif); }
.character-login-prompt--recipient { min-height: 102px; margin: 10px 0 0; }
.prize__upcoming { position: relative; height: 470px; margin-top: 12px; overflow: hidden; }
.prize__preview { filter: blur(5px); opacity: .7; pointer-events: none; user-select: none; }
.prize__preview-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 4px 48px; }
.prize__preview-items > span {
  position: relative; display: grid; place-items: center; height: 128px;
  background: linear-gradient(180deg, #fbfcfe, #eef2f7); border: 1px solid #dfe5ec; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(64, 88, 112, .08);
}
.prize__preview-items i { display: block; width: 54px; height: 54px; background: #6e8296; border-radius: 8px; }
.prize__preview-items b { position: absolute; right: 9px; bottom: 8px; width: 28px; height: 13px; background: #41576e; border-radius: 3px; }
.prize__preview-divider { display: block; height: 1px; margin: 37px 0 10px; background: #d9c89e; }
.prize__preview-heading { display: block; width: 56%; height: 35px; background: #344b62; border-radius: 4px; }
.prize__preview-lead { display: block; width: 44%; height: 13px; margin-top: 10px; background: #8496a7; border-radius: 4px; }
.prize__preview-heroes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 15px 48px 0; }
.prize__preview-heroes > span {
  display: flex; align-items: center; gap: 9px; height: 102px; padding: 5px;
  background: linear-gradient(180deg, #fff, #f2f5f9); border: 1px solid #dfe5ec; border-radius: 6px;
}
.prize__preview-heroes i { flex: none; width: 54px; height: 90px; background: #40556b; border-radius: 4px; }
.prize__preview-heroes b { display: block; width: 54px; height: 15px; background: #7e90a1; border-radius: 4px; }
.prize__preview-button { display: block; height: 46px; margin-top: 14px; background: linear-gradient(180deg, #d9c08a, #b59a5e); border-radius: 2px; }
.prize__upcoming-message {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: min(520px, calc(100% - 36px));
  margin: 0; padding: 22px 24px; color: var(--ink); background: rgba(255, 252, 244, .96);
  border: 1px solid #e2cfaa; border-left: 4px solid #bf9141; box-shadow: 0 10px 35px rgba(45, 61, 75, .18);
  font: 700 18px/1.45 var(--serif); text-align: center; transform: translate(-50%, -50%);
}

.carousel { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.prize .carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
.prize .carousel__viewport { justify-self: center; }
.dayloot-carousel { display: grid; grid-template-columns: 38px 334px 38px; justify-content: center; }
.dayloot-carousel .carousel__viewport { width: 334px; -webkit-mask-image: none; mask-image: none; }
.dayloot-carousel .carousel__rail { width: 100%; padding: 0; scroll-snap-type: x mandatory; }
.dayloot-carousel .carousel__rail > li { scroll-snap-align: start; }
.dayloot-carousel.carousel--static { grid-template-columns: 334px; justify-content: center; }
.dayloot-carousel.carousel--static .carousel__rail { justify-content: center; }
.dayloot-carousel.carousel--static .carousel__arrow { display: none; }
#prizeCarousel { margin-top: 12px; }
#prizeCarousel .carousel__viewport {
  width: 100%;
  -webkit-mask-image: none; mask-image: none;
}
#prizeCarousel .carousel__rail { width: 100%; padding: 4px; scroll-snap-type: x mandatory; }
#prizeCarousel .loot--lg li { flex-basis: calc((100% - 30px) / 4); width: auto; }
#prizeCarousel .carousel__rail > li { scroll-snap-align: start; }
.carousel__viewport {
  flex: 1 1 0; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, rgba(0,0,0,.25) 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 88%, rgba(0,0,0,.25) 100%);
}
.carousel__rail { display: flex; gap: 10px; overflow: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.carousel__rail::-webkit-scrollbar { width: 0; height: 0; }
.carousel__arrow {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: #9d7429; background: linear-gradient(180deg, #fdfaf0, #f0e8d4); border: 2px solid #dcc287;
  box-shadow: 0 3px 10px rgba(120, 96, 44, .2), inset 0 0 0 2px rgba(255, 255, 255, .8);
}
.carousel__arrow svg { width: 18px; height: 18px; stroke: currentColor; }
.carousel__arrow:hover { color: #7a5714; border-color: #c9aa54; }
.carousel__arrow:disabled { opacity: .32; cursor: default; color: #87939d; border-color: #ccd2d6; box-shadow: none; }

.dayclaim-carousel {
  margin-top: 7px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px; overflow: visible;
}
.dayclaim-carousel .carousel__viewport { width: 100%; -webkit-mask-image: none; mask-image: none; }
.dayclaim-carousel .claimers { gap: 10px; padding: 2px 0; }
.dayclaim-carousel .claimers > li {
  flex: 0 0 calc((100% - 20px) / 3); width: auto; padding-right: 8px;
}
.dayclaim-carousel .carousel__arrow {
  position: static; z-index: 4; width: 38px; height: 38px;
}
.dayclaim-carousel .carousel__arrow svg { width: 18px; height: 18px; }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.dots li { width: 9px; height: 9px; border-radius: 50%; background: #bfd3e4; }
.dots li.is-on { background: linear-gradient(180deg, #f3d68f, #b8862f); box-shadow: 0 0 0 2px rgba(216, 180, 106, .3); }

.prize .hrule { margin: 9px 0 6px; }

.heroes { display: flex; gap: 10px; }
.carousel--chars .carousel__viewport {
  flex: 0 0 436px; width: 436px;
  -webkit-mask-image: none; mask-image: none;
}
.carousel--chars .carousel__rail { padding: 4px; scroll-snap-type: x mandatory; }
.carousel--chars .carousel__rail > li { scroll-snap-align: start; }
.heroes li {
  position: relative; flex: none; display: flex; align-items: stretch; gap: 9px;
  width: 136px; padding: 5px;
  background: linear-gradient(180deg, #ffffff, #f2f5f9);
  border: 1px solid #dfe5ec; border-radius: 6px;
  cursor: pointer;
}
.heroes li.is-on { border-color: #d7ad4f; box-shadow: inset 0 0 0 1px #e0bd6e, 0 4px 14px rgba(150, 120, 50, .18); background: linear-gradient(180deg, #fffdf6, #f8f3e4); }
.hero-card__face { flex: none; width: 54px; height: 92px; object-fit: cover; object-position: 50% 16%; border-radius: 4px; border: 1px solid #ccd4dd; }
.hero-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.hero-card__name { display: block; overflow: hidden; max-width: 100%; color: var(--ink); font: 700 13.5px/1.2 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.hero-card__meta { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #7d8f9f; font: 400 11.5px/1.2 var(--serif); }
.hero-card__class { width: 21px; height: 21px; object-fit: contain; }
.hero-card__pick { margin-top: 6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c6d0da; background: #fff; color: transparent; }
.hero-card__pick svg { width: 14px; height: 14px; stroke: currentColor; }
.heroes li.is-on .hero-card__pick { border-color: #d8b264; background: linear-gradient(180deg, #f5dd9f, #c39433); color: #fff; }

.claim {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100%; height: 46px; margin-top: 8px;
  color: #fffaf0; font: 700 25px/1 var(--serif); letter-spacing: .1em; font-variant-caps: small-caps; white-space: nowrap;
  background: linear-gradient(180deg, #d9c08a, #b59a5e);
  border: 1px solid #e4cf9c;
  box-shadow: inset 0 1px 0 rgba(255, 250, 232, .6), 0 6px 18px rgba(120, 96, 44, .18);
  text-shadow: 0 1px 2px rgba(96, 70, 20, .75);
  cursor: pointer;
  transition: transform .12s ease, filter .16s ease, box-shadow .16s ease, background .16s ease;
}
.claim:hover {
  filter: brightness(1.09) saturate(1.08);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 250, 232, .8), 0 8px 20px rgba(120, 86, 30, .28);
}
.claim:active { filter: brightness(.95); transform: translateY(1px) scale(.995); }
.claim:focus-visible { outline: 2px solid #d4a84d; outline-offset: 3px; }
.claim.is-locked { opacity: .95; }
.claim.is-ready { background: linear-gradient(180deg, #dfb95f, #a97822); }
.claim.is-claimed { cursor: default; background: linear-gradient(180deg, #719b83, #3f745b); }
.claim.is-claimed:hover { filter: none; transform: none; }
.claim.is-denied { animation: claim-denied .3s ease; }
.claim__lock { width: 20px; height: 20px; fill: currentColor; }

@keyframes claim-denied {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  55% { transform: translateX(4px); }
  80% { transform: translateX(-2px); }
}

.prize__foot { margin-top: 7px; color: #6e8398; font: 400 13px/1.45 var(--serif); text-align: center; }
.prize__foot--info {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 34px; margin-top: 8px; padding: 6px 12px; color: #5d768e; text-align: left;
  background: rgba(232, 240, 246, .58); border: 1px solid rgba(133, 158, 180, .32); border-radius: 4px;
}
.prize__foot--info .info-icon { flex: none; }
.info-icon {
  flex: none; display: inline-grid; place-items: center;
  width: 19px; height: 19px; border: 1.5px solid #7890a5; border-radius: 50%;
  color: #5d7890; background: rgba(255,255,255,.55);
  font: 700 14px/17px Georgia, serif; text-transform: lowercase;
}

.item-tooltip {
  position: fixed; z-index: 5000; width: min(480px, calc(100vw - 24px));
  max-height: min(680px, calc(100dvh - 24px)); overflow-y: auto;
  padding: 4px 12px; color: #263e57;
  background: linear-gradient(180deg, rgba(251, 252, 254, .99), rgba(242, 245, 249, .99));
  border: 1px solid #d5b66c; border-top-width: 3px; border-radius: 7px;
  box-shadow: 0 14px 34px rgba(46, 62, 76, .2), inset 0 0 0 1px rgba(255, 255, 255, .9);
  font: 600 13.5px/1.36 var(--serif); text-align: left; white-space: pre-line;
  overscroll-behavior: contain;
  scrollbar-color: #c6a456 #eef1f3;
}
.item-tooltip[hidden] { display: none; }
.item-tooltip__close { display: none; position: sticky; float: right; top: 0; margin: -6px -8px 4px 8px;
  width: 30px; height: 30px; border: 1px solid #d2b36b; border-radius: 50%;
  background: #fffaf0; color: #79591d; font: 24px/1 Arial, sans-serif; cursor: pointer; }
@media (hover: none), (pointer: coarse) { .item-tooltip__close { display: block; } }

.task-tooltip {
  position: fixed; z-index: 1000; width: 330px; padding: 12px 14px;
  color: #eef5fb; background: rgba(10, 31, 52, .97);
  border: 1px solid #cba658; border-radius: 5px;
  box-shadow: 0 10px 28px rgba(8, 24, 41, .3);
  pointer-events: none;
  font-family: var(--serif);
}
.task-tooltip[hidden] { display: none; }
.task-tooltip--with-image { width: 460px; }
.task-tooltip strong { display: block; color: #f0d28c; font-size: 14px; }
.task-tooltip__desc { margin-bottom: 10px; color: #eef5fb; font-size: 13px; line-height: 1.42; }
.task-tooltip__figure { display: grid; place-items: center; margin: 10px 0 0; padding: 6px;
  overflow: hidden; background: rgba(2, 14, 25, .72); border: 1px solid rgba(203, 166, 88, .58); border-radius: 4px; }
.task-tooltip__figure img { display: block; width: auto; max-width: 100%; max-height: 300px; border-radius: 2px; }
/* margin у dl/dd сбрасываем явно: общий reset выше покрывает только
   ul/ol/p/h1-h3, а браузерный отступ dd в 40px уводил значения вправо от
   их подписей. */
.task-tooltip dl { display: grid; gap: 9px; margin: 10px 0 0; }
.task-tooltip dl div { display: grid; gap: 3px; }
.task-tooltip dt { color: #9fb6c9; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.task-tooltip dd { margin: 0; color: #eef5fb; font-size: 13px; line-height: 1.38; }
.category-tooltip {
  position: fixed; z-index: 1100; width: 310px; padding: 11px 13px;
  color: #eef5fb; background: rgba(10, 31, 52, .98);
  border: 1px solid #cba658; border-radius: 5px;
  box-shadow: 0 10px 28px rgba(8, 24, 41, .32);
  pointer-events: none; font: 400 12.5px/1.45 var(--serif);
}
.category-tooltip[hidden] { display: none; }

/* ===========================================================================
   Печать / мелкие экраны — страховка
   ========================================================================== */

@media (max-width: 900px) {
  .anniversary-test-badge { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; }
  .anniversary-load-state { top: 8px; max-width: calc(100vw - 24px); text-align: center; }
  .anniversary-state { top: 50px; }
  .anniversary-api-status { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); left: 16px; max-width: none; }
  html { scroll-behavior: smooth; }
  body { min-width: 0; background: var(--paper); font-size: 14px; }
  button, a, [role="checkbox"] { -webkit-tap-highlight-color: transparent; }
  .wrap { width: 100%; margin: 0; transform: none !important; overflow: hidden; }

  .btn-gold { min-height: 44px; height: 44px; padding: 0 18px; font-size: 11px; }

  /* Шапка */
  .hero { height: 500px; background-position: 58% 18%; }
  .hero__media { object-position: 58% 18%; }
  .nav {
    width: calc(100% - 24px); height: 54px; margin: 0 12px; padding: 0 14px;
    gap: 12px; border-radius: 0 0 18px 18px;
  }
  .nav__brand { font-size: 22px; }
  .nav__identity { gap: 7px; }
  .nav__video { width: 40px; height: 26px; }
  .nav__video-play { width: 19px; height: 19px; }
  .nav__tools { display: flex; gap: 0; }
  .nav__tools .nav__sep { display: none; }
  .nav__lang { gap: 4px; min-height: 38px; padding: 0 4px; font-size: 10px; }
  .nav__globe { width: 16px; height: 16px; }
  .nav__caret { width: 11px; height: 11px; }
  .nav__lang-menu { top: calc(100% + 8px); right: -6px; }
  .nav__menu {
    display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; margin-left: auto;
    color: #e8c273; border: 1px solid rgba(232, 194, 115, .5); border-radius: 2px;
  }
  .nav__menu span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav.is-menu-open .nav__menu span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.is-menu-open .nav__menu span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__menu span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 48px; left: 0; right: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 14px;
    background: rgba(5, 25, 47, .97); border: 1px solid rgba(232, 194, 115, .28);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-menu-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a, .nav__links button { display: block; width: 100%; min-height: 40px; padding: 14px 10px; text-align: center; }
  .nav__play { height: 36px; margin-left: 0; padding: 0 15px; font-size: 10px; letter-spacing: .12em; }
  .nav__play--account { max-width: 110px; padding-right: 10px; padding-left: 10px; letter-spacing: .06em; }
  .nav__play--restore { max-width: 136px; padding-right: 8px; padding-left: 8px; font-size: 9px; letter-spacing: .04em; white-space: normal; text-align: center; line-height: 1.15; }
  .birthday-login { padding: 38px 24px 28px; }
  .birthday-register { padding-top: 32px; }
  .video-modal { padding: 12px; }
  .video-modal__panel { width: calc(100vw - 24px); padding: 10px; }
  .video-modal__head { padding: 4px 4px 10px; }
  .video-modal__head h2 { font-size: 18px; }
  .video-modal__head p { font-size: 8px; letter-spacing: .15em; }
  .access-nav { width: calc(100% - 24px); height: 56px; padding: 0 16px; border-radius: 0 0 18px 18px; }
  .access-nav__brand { font-size: 21px; }
  .access-nav__back { font-size: 9px; letter-spacing: .08em; }
  .access-main { display: block; width: calc(100% - 28px); margin-top: 48px; }
  .access-intro { padding: 0 10px 30px; text-align: center; }
  .access-intro p { font-size: 15px; }
  .access-card { padding: 28px 20px; }
  .access-card h2 { font-size: 26px; }
  .access-manual ul { grid-template-columns: 1fr; gap: 6px; }
  .access-manual__actions { display: grid; }

  .hero__side { display: none; }
  .hero__copy { width: calc(100% - 32px); margin: 116px auto 0; padding: 20px 12px; background: rgba(251, 249, 241, .68); backdrop-filter: blur(2px); }
  .hero__brand { font-size: clamp(42px, 13vw, 58px); }
  .hero__years { gap: 4px; margin-top: 3px; font-size: clamp(28px, 8.5vw, 38px); }
  .hero__seven { font-size: clamp(55px, 17vw, 72px); }
  .hero__tagline { margin-top: 8px; font-size: 10px; line-height: 1.65; letter-spacing: .13em; }
  .hero__cta { width: 100%; max-width: 300px; height: 44px; margin-top: 14px; white-space: normal; }

  /* Десять дней */
  .road__panel { padding: 22px 14px 24px; }
  .road__head { display: block; min-height: 0; padding: 0; }
  .road__title { white-space: normal; font-size: 32px; }
  .road__lead { white-space: normal; margin-top: 8px; font-size: 11px; line-height: 1.45; letter-spacing: .09em; }
  .plaque { width: 100%; margin-top: 16px; }
  .plaque__inner { height: auto; min-height: 72px; padding: 10px 12px; gap: 9px; }
  .plaque__crest { width: 52px; height: 50px; }
  .plaque__value { font-size: 20px; }
  .plaque__divider { display: none; }
  .plaque__account { margin-left: auto; }
  .plaque__note { display: none; }
  .plaque__login { min-width: 70px; height: 36px; }
  .days {
    justify-content: flex-start; gap: 6px; height: 118px; margin: 18px -14px 0; padding: 3px 18px 12px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .days::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 82px; scroll-snap-align: center; }
  .day__label { font-size: 10px; }
  .day__dot { width: 48px; height: 48px; }
  .day--sel .day__dot { width: 64px; height: 64px; }
  .day__gem { width: 88px; }
  .daybox { min-height: 0; margin-top: 12px; padding: 16px 12px 14px; }
  .daybox__main { display: block; }
  /* На узком экране колонка идёт обычным блоком: запас высоты под примечание
     тут не нужен, оно и так встаёт сразу за подзаголовком. */
  .daybox__intro { display: block; width: auto; min-height: 0; padding: 0; }
  .daybox__title { white-space: normal; font-size: 30px; }
  .daybox__sub { margin-top: 7px; font-size: 13px; }
  .daybox__level-note { margin-top: 14px; }
  .daybox__col { width: 100%; margin-top: 16px; overflow: hidden; }
  .daybox__col--loot { width: 100%; }
  .daybox__col--chars { margin-top: 18px; }
  /* Стрелок каруселей на узком экране нет — подписи идут от края колонки. */
  .daybox__col > .minilabel { margin-left: 0; }
  .daybox__col--chars .character-login-prompt { margin-left: 0; }
  .daybox .vrule { display: none; }
  .daybox .loot, .claimers { overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .daybox .loot::-webkit-scrollbar, .claimers::-webkit-scrollbar { display: none; }
  .daybox .loot li, .claimers li { scroll-snap-align: start; }
  .dayloot-carousel { display: block; width: 100%; }
  .dayloot-carousel .carousel__viewport { width: 100%; }
  .dayloot-carousel .carousel__arrow { display: none; }
  .dayclaim-carousel { display: block; transform: none; }
  .dayclaim-carousel .carousel__viewport { width: 100%; }
  .dayclaim-carousel .carousel__arrow { display: none; }
  .dayclaim-carousel .claimers > li { flex-basis: 194px; width: 194px; padding-right: 14px; }
  .playtime { display: block; margin: 14px 0 0; padding: 14px 0 0; }
  .playtime__progress { margin-top: 14px; }
  .playtime__meta { line-height: 1.3; }
  .playtime__schedule { font-size: 10.5px; }

  /* Карта остаётся крупной и прокручивается пальцем по горизонтали */
  .atlas { height: 430px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
  .atlas::-webkit-scrollbar { display: none; }
  .atlas__art { left: 0; right: auto; width: 1280px; height: 428px; background-size: auto 428px; background-position: center; }
  .atlas__nodes { width: 1280px; }
  .atlas__intro { top: 18px; left: 18px; width: 270px; }
  .atlas__title { font-size: 29px; }
  .atlas__range { font-size: 18px; }
  .atlas__motto { display: none; }
  .atlas__kicker, .atlas__thanks { font-size: 14px; }
  .atlas__thanks { bottom: 12px; max-width: 560px; }
  .atlas__kicker {
    position: sticky; top: 16px; left: 18px; width: calc(100vw - 36px); max-width: 354px; margin-top: 16px;
    transform: none;
  }
  .chapter { display: none; }

  /* Информация выбранного этапа */
  .shead { display: block; height: auto; min-height: 480px; padding: 34px 18px 28px; background-position: 38% center; background-size: auto 560px; }
  .shead__left { width: 100%; padding: 0; }
  .shead__chapter { font-size: 12px; }
  .shead__title { margin-top: 8px; font-size: clamp(42px, 13vw, 58px); line-height: .95; }
  .shead__dates { font-size: 13px; letter-spacing: .24em; }
  .shead__quote { margin-top: 18px; font-size: 15px; line-height: 1.35; }
  .shead__split { display: none; }
  .shead__right { margin-top: 70px; padding: 0; }
  .shead__label, .shead__count { font-size: 13px; }
  .track { margin-top: 18px; padding-left: 0; }
  .track__dot { width: 40px; height: 40px; }

  /* События этапа */
  .sevent { min-height: 0; padding: 22px 16px 26px; background-position: 18% top; }
  .sevent::before { background: rgba(253, 252, 247, .78); }
  .sevent__body { margin: 0; padding: 0; }
  .sevent__details { display: block; margin: 0; }
  .sevent--multiple .sevent__details {
    display: flex; gap: 14px; margin: 0 -16px; padding: 2px 16px 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .sevent--multiple .sevent__details::-webkit-scrollbar { display: none; }
  .sevent--multiple .sevent__item { flex: 0 0 calc(100% - 34px); scroll-snap-align: center; padding: 0; }
  .sevent__item:not(:first-child) { padding: 0; border: 0; }
  .sevent__title { font-size: 31px; }
  .sevent__bottom { margin-top: 10px; }
  .sevent__text { font-size: 13px; }
  .sevent__bottom .btn-gold { margin-top: 14px; }

  /* Задания и награды */
  .sbody { display: block; padding: 24px 14px 30px; }
  .tasks { width: 100%; padding: 0; }
  .secthead { flex-wrap: wrap; gap: 10px 12px; white-space: normal; }
  .secthead h2, .prize .secthead h2 { font-size: 34px; line-height: 1; }
  .secthead__orn { width: 58px; height: 24px; margin: 0; transform: none; }
  .secthead__count { font-size: 16px; }
  .secthead__hint { flex-basis: 100%; margin: 0; font-size: 9.5px; line-height: 1.35; letter-spacing: .1em; }
  .prize__unlock { flex-basis: 100%; max-width: none; margin-left: 0; text-align: left; }
  .tasks__scroller { margin-top: 14px; padding-right: 32px; }
  .tasks__list { max-height: 560px; gap: 9px; padding: 2px; }
  .goldbar { width: 32px; }
  .goldbar__cap { width: 30px; height: 32px; }
  .goldbar__track { width: 20px; }
  .task { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 7px 10px; padding: 10px; }
  .task__icon { grid-row: 1 / 5; width: 62px; height: 62px; }
  .task__icon svg { width: 43px; height: 43px; }
  .task__main { width: auto; padding: 0; }
  .task__name { padding-right: 0; font-size: 16px; }
  .task__desc { font-size: 12.5px; }
  .task__location { display: flex; align-items: baseline; gap: 8px; width: auto; padding: 0; border: 0; }
  .task__location small { flex: none; font-size: 11px; }
  .task__location b { max-height: 2.5em; margin: 0; font-size: 14px; }
  .task__prog { width: 100%; padding: 0; border: 0; }
  .task__nums { font-size: 14px; }
  .bar { height: 9px; margin-top: 6px; }
  .task__state { width: auto; justify-content: flex-start; gap: 8px; }
  .task__mark { width: 29px; height: 29px; }
  .task__badge { width: auto; min-width: 98px; height: 28px; padding: 0 8px; font-size: 9px; }
  .task__stateBox { align-items: flex-start; }
  .task__req { font-size: 10px; }
  .tasks__account-note { margin: 11px 32px 0 0; align-items: flex-start; font-size: 12px; }
  .prize { margin-top: 28px; padding: 26px 0 0; border-top: 1px solid var(--gold-thin); border-left: 0; }
  .prize__lead { font-size: 13px; }
  .carousel { gap: 7px; }
  .carousel__arrow { width: 40px; height: 40px; }
  .carousel__rail { scroll-snap-type: x proximity; }
  .carousel__rail > li { scroll-snap-align: start; }
  .loot--lg li { width: 72px; height: 90px; }
  .claimers li { height: 90px; }
  #prizeCarousel .carousel__viewport { width: 100%; }
  #prizeCarousel .loot--lg li { flex-basis: calc((100% - 10px) / 2); width: auto; }
  .heroes li { width: 150px; }
  .carousel--chars .carousel__viewport { flex-basis: 158px; width: 158px; }
  .claim { height: auto; min-height: 50px; padding: 10px 12px; font-size: clamp(17px, 5.2vw, 22px); white-space: normal; text-align: center; }
  .prize__foot--info { align-items: flex-start; font-size: 12px; line-height: 1.35; }

  /* Сквозная награда */
  .final-reward { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto; gap: 18px 14px; padding: 26px 18px 28px; }
  .final-reward__seal { grid-row: auto; width: 58px; height: 58px; font-size: 19px; }
  .final-reward__copy h2 { font-size: 25px; }
  .final-reward__progress, .final-reward__prize, .final-reward__claim, .final-reward__note { grid-column: 1 / -1; }
  .final-reward__prize { justify-content: center; }
  .final-reward__claim { width: 100%; height: 48px; font-size: 14px; }
  .final-reward__note { justify-content: flex-start; align-items: flex-start; margin-top: 0; line-height: 1.35; }

  .invite { display: block; min-height: 0; padding: 42px 22px 38px; background-position: 46% 50%; }
  .invite__copy { text-align: center; }
  .invite h2 { font-size: clamp(32px, 9.5vw, 43px); }
  .invite__lead { font-size: 14px; line-height: 1.55; }
  .invite__accent { font-size: 13px; }
  .invite__actions { gap: 9px; margin-top: 28px; }
  .invite__share { width: 100%; min-height: 48px; height: auto; }
  .invite__networks { flex-wrap: wrap; gap: 2px 5px; }
  .invite__networks a, .invite__networks button { min-height: 38px; }

  .updates-recap { padding: 42px 16px 46px; }
  .updates-recap__intro { display: block; text-align: center; }
  .updates-recap__intro h2 { font-size: clamp(30px, 9vw, 39px); }
  .updates-recap__lead { margin-top: 18px; padding: 15px 8px 0; border-top: 1px solid rgba(216, 183, 101, .42); border-left: 0; font-size: 13px; line-height: 1.5; }
  .updates-recap__cards { display: flex; gap: 10px; margin: 25px -16px 0; padding: 0 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .updates-recap__cards::-webkit-scrollbar { display: none; }
  .updates-recap__card { flex: 0 0 min(330px, calc(100vw - 46px)); grid-template-columns: 112px minmax(0, 1fr); min-height: 146px; scroll-snap-align: center; }
  .updates-recap__content { padding: 15px 13px 13px 10px; }
  .updates-recap__content h3 { font-size: 17px; }
  .updates-recap__content p { font-size: 11px; }
  .updates-recap__more { margin-top: 17px; padding-top: 23px; }
  .updates-recap__more-head { display: block; text-align: center; }
  .updates-recap__more-head h3 { font-size: 17px; line-height: 1.3; }
  .updates-recap__cards--features { margin-top: 8px; }

  /* Модальное окно получателя */
  .reward-modal { align-items: end; padding: 0; }
  .reward-modal__panel { width: 100%; max-height: 92dvh; padding: 24px 16px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; border-width: 2px 0 0; }
  .reward-modal h2 { padding-right: 36px; font-size: 30px; }
  .reward-modal__lead { font-size: 13px; }
  .reward-modal__heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
  .reward-modal__heroes button { min-height: 74px; }
  .reward-modal__confirm { position: sticky; bottom: 0; min-height: 50px; height: auto; padding: 10px; font-size: 13px; }
  .reward-choice__options { grid-template-columns: 1fr; }

  .support-modal { align-items: end; padding: 0; }
  .support-modal__panel { width: 100%; max-height: 92dvh; padding: 26px 18px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; border-width: 2px 0 0; }
  .support-modal h2 { font-size: 30px; }
  .support-modal__lead { font-size: 13px; }
  .support-modal__channels { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .support-channel { min-height: 66px; padding: 9px 11px; }
  .support-channel__mark { flex-basis: 38px; width: 38px; height: 38px; }
  .support-modal__access { display: grid; gap: 14px; padding: 16px; }
  .support-modal__access .btn-gold { width: 100%; min-width: 0; }

  .task-tooltip { width: calc(100vw - 24px); max-width: 360px; padding: 12px; }
  .category-tooltip { width: calc(100vw - 24px); max-width: 310px; }
}

@media (max-width: 390px) {
  .nav__brand { display: none; }
  .hero__copy { margin-top: 105px; }
  .plaque__label { font-size: 8.5px; }
  .plaque__value { font-size: 17px; }
  .shead { min-height: 455px; }
  .shead__right { margin-top: 58px; }
  .task { grid-template-columns: 56px minmax(0, 1fr); }
  .task__icon { width: 56px; height: 56px; }
  .task__badge { min-width: 88px; padding: 0 6px; }
  .reward-modal__heroes { grid-template-columns: 1fr 1fr; }
}
