/* Монополькино — прототип стиля сайта «Ночной город и золото» (CONCEPT.txt). Только для показа владельцу. */
@import url('/vendor/fonts/fonts.css');
@import url('/vendor/phosphor/regular/style.css');
@import url('/vendor/phosphor/fill/style.css');

:root {
  --bg0: #0A0B22; --bg1: #0E1030; --bg2: #1B1A3A; --bg3: #262551;
  --panel: rgba(22, 21, 52, .78); --panel-solid: #17163A; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --text: #F4F1FF; --mute: #A9A6CC; --dim: #7A77A0;
  --gold: #FFB35C; --gold2: #FFD45C; --gold-deep: #8A4A17; --ink: #2A1606;
  --gem: #A66BFF; --ok: #3FBF8F; --bad: #FF5C6C;
  --r-s: 10px; --r: 16px; --r-l: 24px;
  --f-sign: 'Dela Gothic One', system-ui, sans-serif;
  --f-ui: 'Geologica', system-ui, sans-serif;
  --rail: 92px; --live: 340px;
  /* цвета групп улиц на доске — для карточек-«купчих» */
  --g-brown: #8B5A3C; --g-sky: #5CB8F0; --g-pink: #E05FA8; --g-orange: #F08A3C; --g-red: #E54848; --g-yellow: #E8C83A; --g-green: #2FAE68; --g-blue: #2F62D8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font: 400 16px/1.5 var(--f-ui);
  background: radial-gradient(1200px 600px at 70% -10%, #241F5C 0%, transparent 60%), linear-gradient(180deg, var(--bg1), var(--bg0) 70%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.ph, .ph-fill { line-height: 1; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 8px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; letter-spacing: .01em; transition: transform .12s, box-shadow .12s, background .2s; white-space: nowrap; }
.btn .ph, .btn .ph-fill { font-size: 1.25em; }
.btn-gold { color: var(--ink); background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 5px 0 var(--gold-deep), 0 12px 28px rgba(255, 150, 60, .28); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--gold-deep), 0 16px 34px rgba(255, 150, 60, .36); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-deep), 0 6px 16px rgba(255, 150, 60, .2); }
.btn-glass { background: rgba(255, 255, 255, .08); border: 1px solid var(--line2); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); }
.btn-xl { min-height: 60px; padding: 0 30px; font-size: 1.15rem; border-radius: 18px; }
.btn-s { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: .92rem; }

/* ---------- каркас: рельс районов · центр · живая колонка ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr) var(--live); grid-template-rows: auto 1fr; grid-template-areas: 'rail top top' 'rail main live' 'rail foot foot'; min-height: 100dvh; }
/* широкий экран (2560+, ультраширокий): центр не шире 1480 px, по бокам — поля; рельс, шапка и подвал — во всю ширину */
/* весь сайт — одним блоком по центру: меню слева, шапка, содержимое, колонка справа и подвал рядом друг с другом; поля — по краям
   экрана (на 3440 меню и шапка оставались у краёв, далеко от содержимого — владелец 07.10.2026: «неприлично растянут») */
@media (min-width: 1200px) { .app { grid-template-columns: minmax(0, 1fr) var(--rail) minmax(0, 1480px) var(--live) minmax(0, 1fr); grid-template-areas: '. rail top top .' '. rail main live .' '. rail foot foot .'; } }
.rail { grid-area: rail; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0; border-right: 1px solid var(--line); background: rgba(10, 11, 34, .6); backdrop-filter: blur(12px); z-index: 5; }
.rail .mark { width: 46px; height: 46px; margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(255, 150, 60, .3)); }
.rail a { width: 76px; padding: 10px 0 8px; border-radius: 14px; display: grid; justify-items: center; gap: 4px; color: var(--mute); font-size: .72rem; font-weight: 600; transition: background .2s, color .2s; }
.rail a i { font-size: 26px; }
.rail a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.rail a[aria-current] { color: var(--gold2); background: rgba(255, 179, 92, .1); }
.rail a.play i { color: var(--ink); background: linear-gradient(180deg, var(--gold2), var(--gold)); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; box-shadow: 0 4px 0 var(--gold-deep); font-size: 24px; }
.rail a.play { color: var(--gold2); }
.rail .grow { flex: 1; }

.top { grid-area: top; display: flex; align-items: center; gap: 14px; padding: 16px 28px; position: sticky; top: 0; z-index: 4; background: linear-gradient(180deg, rgba(10, 11, 34, .92), rgba(10, 11, 34, .55)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .brand { display: none; align-items: center; gap: 10px; font: 400 1.2rem/1 var(--f-sign); color: var(--gold); letter-spacing: .02em; }
.top .brand img { width: 34px; height: 34px; }
.top .hello { color: var(--mute); font-size: .95rem; }
.top .hello b { color: var(--text); font-weight: 600; }
.top .tabs { display: none; }
.top .sp { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.chip .coin { width: 22px; height: 22px; }
.chip .gem { color: var(--gem); font-size: 20px; }
.chip .plus { margin-left: 2px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(166, 107, 255, .2); color: #d7c0ff; font-size: 14px; }
.me-btn { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.me-btn .ava { width: 36px; height: 36px; border-radius: 10px; background: #2c2a63 center 8% / 190% no-repeat; }
.me-btn .lv { font-size: .78rem; color: var(--mute); line-height: 1.2; }
.me-btn .lv b { display: block; color: var(--text); font-size: .9rem; }

main { grid-area: main; padding: 24px 28px 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: start; min-width: 0; }
.live { grid-area: live; padding: 24px 24px 48px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; align-content: start; }

/* ---------- панели ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; backdrop-filter: blur(14px); }
.h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font: 700 1.05rem/1.2 var(--f-ui); }
.h .more { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--gold); }
.h-sign { font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--f-sign); letter-spacing: .01em; margin: 0 0 16px; }
.muted { color: var(--mute); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .07); color: var(--mute); }
.tag.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 191, 143, .2); }

/* ---------- герой: живой кадр города ---------- */
.hero { position: relative; overflow: hidden; border-radius: 28px; background: var(--bg0); container-type: inline-size; border: 1px solid var(--line2); isolation: isolate; }
/* кадр — полоса сверху на всех ширинах: доска с неоном видна целиком, текст её не перекрывает */
.hero .shot { position: relative; display: block; width: 100%; height: clamp(260px, 27vw, 400px); object-fit: cover; object-position: 75% 50%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: clamp(260px, 27vw, 400px); z-index: -1; background: linear-gradient(0deg, var(--bg0) 0%, rgba(10, 11, 34, 0) 28%); }
.hero .copy { position: relative; padding: 8px 36px 36px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 36px; align-items: start; }
.hero .copy { grid-template-areas: "lead" "cta" "card"; }
body.user .hero .copy { grid-template-areas: "lead" "card" "cta"; }
.hero .lead-col { grid-area: lead; } .hero .cta { grid-area: cta; } .hero .side-card { grid-area: card; }
@container (min-width: 760px) { .hero .copy, body.user .hero .copy { grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); grid-template-areas: "lead card" "cta card"; grid-template-rows: auto 1fr; row-gap: 22px; } .hero .cta { align-self: end; } .hero .side-card { align-self: stretch; align-content: start; } .hero .neon { font-size: min(3.4rem, 4.2cqi); } }
.hero .lead-col { display: grid; gap: 18px; }
.hero > .eyebrow { position: absolute; top: 18px; left: 20px; z-index: 1; }
.hero > .eyebrow .tag { background: rgba(10, 11, 34, .72); backdrop-filter: blur(8px); color: var(--text); }
/* карточка справа в шапке */
.side-card { display: grid; gap: 10px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); backdrop-filter: blur(12px); }
.sc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.sc-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.sc-row i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--gold2); background: rgba(255, 212, 92, .12); }
.sc-row b { display: block; font-size: .95rem; }
.sc-row span { display: block; font-size: .84rem; color: var(--mute); line-height: 1.35; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--mute); }
.sc-meta span { white-space: nowrap; }
.sc-meta b { color: var(--text); }
.sc-meta .plus { color: var(--ok); }
.sc-players { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sc-players li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 4px 8px; border-radius: 10px; font-size: .9rem; }
.sc-players .a { width: 28px; height: 28px; border-radius: 8px; background: #2c2a63 center 6% / 200% no-repeat; }
.sc-players .n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-players .m { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-players .m img { width: 15px; height: 15px; }
.sc-players li.me { background: rgba(255, 179, 92, .1); }
.sc-players li.out { opacity: .45; }
.sc-players li.out .m { font-weight: 600; font-size: .8rem; color: var(--bad); }
.wide-btn { width: 100%; }
.side-card .wide-btn { margin-top: auto; }
.me-line { display: flex; flex-wrap: wrap; gap: 8px; }
.me-line .tag { height: 30px; font-size: .82rem; color: var(--text); background: rgba(255, 255, 255, .07); }
.me-line .tag i { color: var(--gold2); font-size: 15px; }
.hero .eyebrow { display: flex; flex-wrap: wrap; gap: 8px; }
.hero p { margin: 0; color: #D6D2F2; font-size: 1.06rem; max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }

/* неоновая вывеска: включается вспышками, как «МОНОПОЛЬКИНО» на доске (scene.js NEON_ON), дальше горит ровно */
.neon { margin: 0; font: 400 clamp(2.1rem, 4.2vw, 3.6rem)/1.05 var(--f-sign); letter-spacing: .02em; color: #FFF6DC;
  text-shadow: 0 0 2px #fff2c8, 0 0 10px #FFB35C, 0 0 24px rgba(255, 150, 60, .85), 0 0 56px rgba(255, 120, 40, .55);
  animation: neon-on 1.17s steps(1, end) .35s both; }
@keyframes neon-on {
  0% { opacity: 0 } 7.7% { opacity: .7 } 15.4% { opacity: 0 } 30.8% { opacity: .9 } 38.5% { opacity: .2 } 46.2% { opacity: 0 }
  53.8% { opacity: 1 } 61.5% { opacity: .4 } 69.2% { opacity: 1 } 84.6% { opacity: .6 } 92.3%, 100% { opacity: 1 } }
.neon small { display: block; font: 600 1rem/1.4 var(--f-ui); color: var(--mute); text-shadow: none; letter-spacing: 0; margin-top: 10px; }

/* ---------- режимы: карточки-«купчие» (как карточка участка в игре) ---------- */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deed { position: relative; display: grid; grid-template-rows: auto 1fr auto; border-radius: var(--r-l); overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line); transition: transform .18s, border-color .2s, box-shadow .2s; min-height: 230px; }
.deed:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.deed .band { position: relative; height: 92px; padding: 16px 18px; display: flex; align-items: flex-start; justify-content: space-between; background: var(--c); overflow: hidden; }
.deed .band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .18)); }
.deed .band i { font-size: 40px; color: rgba(255, 255, 255, .95); position: relative; z-index: 1; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18)); }
.deed .band .kind { position: relative; z-index: 1; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.deed .body { padding: 16px 18px 6px; display: flex; flex-direction: column; }
.deed h3 { margin: 0 0 6px; font: 400 1.25rem/1.15 var(--f-sign); }
.deed p { margin: 0; color: var(--mute); font-size: .92rem; }
.deed .rows { margin: auto 0 0; padding-top: 12px !important; padding: 0; list-style: none; font-size: .86rem; display: grid; gap: 4px; }
.deed .rows li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; color: var(--mute); }
.deed .rows b { color: var(--text); font-weight: 600; }
.deed .foot { padding: 14px 18px 18px; display: flex; align-items: center; gap: 10px; }
.deed .foot .btn { flex: 1; }
.deed.locked .band { filter: saturate(.35) brightness(.8); }
.deed .lock { display: flex; align-items: center; gap: 10px; font-size: .84rem; line-height: 1.3; color: var(--mute); }
.deed .lock b { color: var(--text); font-weight: 600; }
.deed .lock i { font-size: 18px; color: var(--gold); }

/* ---------- дорога наград (улица уровней) ---------- */
.road { display: grid; gap: 14px; }
.road .bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.road .bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--ok), #7BE3B5); box-shadow: 0 0 16px rgba(63, 191, 143, .5); }
.road .meta { display: flex; justify-content: space-between; font-size: .88rem; color: var(--mute); }
.road .meta b { color: var(--text); }
.street { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
.house { position: relative; border-radius: 14px; padding: 14px 6px 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-align: center; display: grid; grid-template-rows: auto auto auto auto; gap: 8px; justify-items: center; align-content: start; min-width: 0; }
.house .lvl { font: 400 1rem/1 var(--f-sign); color: var(--mute); font-variant-numeric: tabular-nums; }
.house .win { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .06); color: var(--dim); }
.house .what { font-size: .84rem; font-weight: 700; color: var(--text); line-height: 1.2; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.house .rws { display: flex; gap: 8px; justify-content: center; white-space: nowrap; font-size: .76rem; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; }
.house .rw { display: inline-flex; align-items: center; gap: 3px; }
.house .rw img { width: 13px; height: 13px; }
.house .rw i { font-size: 13px; color: var(--gem); }
.house.got .win { background: rgba(255, 212, 92, .16); color: var(--gold2); box-shadow: 0 0 18px rgba(255, 212, 92, .25) inset; }
.house.got .lvl { color: var(--gold2); }
.house.now { border-color: rgba(255, 212, 92, .6); background: rgba(255, 179, 92, .08); }
.house.now::after { content: 'следующая'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 4px 8px; border-radius: 99px; background: var(--gold); color: var(--ink); white-space: nowrap; }
.house.up .win { color: var(--gem); background: rgba(166, 107, 255, .15); }
.house.star .win { color: var(--gold2); background: rgba(255, 212, 92, .1); }

.pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
.achs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.ach { display: flex; gap: 14px; align-items: center; }
.ach .ico { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; color: var(--gold2); background: radial-gradient(circle at 30% 25%, rgba(255, 212, 92, .3), rgba(255, 179, 92, .08)); border: 1px solid rgba(255, 212, 92, .3); }
.ach .t { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gem-n { display: inline-flex; align-items: center; gap: 3px; font-size: .8rem; color: #d7c0ff; background: rgba(166, 107, 255, .16); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.gem-n i { color: var(--gem); }
.nw { white-space: nowrap; }
.ach .s { font-size: .86rem; color: var(--mute); }
.ach .mini { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden; }
.ach .mini i { display: block; height: 100%; width: var(--p); background: var(--gold); border-radius: inherit; }

/* ---------- живая колонка ---------- */
.me-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.me-card .pic { height: 110px; border-radius: 18px; background: radial-gradient(circle at 50% 85%, rgba(255, 179, 92, .35), transparent 60%), #211F4E; overflow: hidden; display: grid; place-items: end center; }
.me-card .pic img { height: 106%; }
.me-card .name { font: 400 1.2rem/1.1 var(--f-sign); }
.rank { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--rc); }
.rank i { font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stats div { background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 8px 10px; }
.stats b { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stats span { font-size: .74rem; color: var(--mute); }

.table-card { display: grid; grid-template-columns: 6px 1fr auto; gap: 12px; align-items: center; padding: 12px 12px 12px 0; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); overflow: hidden; }
.table-card + .table-card { margin-top: 10px; }
.table-card .stripe { align-self: stretch; background: var(--c); }
.table-card .t { font-weight: 700; font-size: .95rem; }
.table-card .s { font-size: .8rem; color: var(--mute); display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
.table-card .s span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.table-card > div { min-width: 0; }
.stack { display: flex; margin-top: 6px; }
.stack span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--panel-solid); margin-left: -7px; background: #2c2a63 center 6% / 200% no-repeat; }
.stack span:first-child { margin-left: 0; }
.stack span.empty { background: rgba(255, 255, 255, .06); border-style: dashed; border-color: var(--line2); }

.leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: n; }
.leaders li { display: grid; grid-template-columns: 26px 32px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; }
.leaders li::before { counter-increment: n; content: counter(n); font: 400 .95rem/1 var(--f-sign); color: var(--dim); text-align: center; }
.leaders li:nth-child(1)::before { color: var(--gold2); } .leaders li:nth-child(2)::before { color: #cfd6e8; } .leaders li:nth-child(3)::before { color: #d79a6a; }
.leaders .a { width: 32px; height: 32px; border-radius: 10px; background: #2c2a63 center 6% / 200% no-repeat; }
.leaders .n { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.leaders .n small { display: block; font-size: .74rem; font-weight: 700; color: var(--rc); }
.leaders .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.leaders li.me { background: rgba(255, 179, 92, .1); border: 1px solid rgba(255, 179, 92, .3); }
.season { display: flex; align-items: center; gap: 12px; }
.clock { display: flex; gap: 6px; }
.clock div { min-width: 46px; padding: 6px 4px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); text-align: center; }
.clock b { display: block; font: 400 1.15rem/1 var(--f-sign); color: var(--gold2); font-variant-numeric: tabular-nums; }
.clock span { font-size: .64rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- гость: ярусы, шаги, вопросы ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tier { position: relative; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07)); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.tier .pic { height: 230px; padding-top: 18px; display: flex; justify-content: center; align-items: flex-end; background: radial-gradient(60% 50% at 50% 88%, color-mix(in srgb, var(--c) 50%, transparent), transparent); }
.tier .pic img { height: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.tier:hover .pic img { transform: translateY(-4px); }
.tier .cap { padding: 14px 16px 18px; display: grid; gap: 6px; align-content: start; justify-items: start; }
.tier .cap .tag { height: 24px; font-size: .74rem; color: var(--text); background: color-mix(in srgb, var(--c) 28%, transparent); }
.tier .cap b { font: 400 1.15rem/1.2 var(--f-sign); }
.tier .cap span:last-child { font-size: .86rem; color: var(--mute); line-height: 1.35; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 20px; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 400 1.1rem/1 var(--f-sign); color: var(--ink); background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 3px 0 var(--gold-deep); margin-bottom: 12px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--mute); font-size: .92rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--mute); }
/* подвал (владелец 02.10.2026): слева — документы, ниже «где разработано» и разработчик; справа — компания, ниже ИНН и
   ОГРН. Страницы «Контакты» нет. На телефоне — колонки друг под другом */
.foot-site { grid-area: foot; margin: 0 28px; padding: 18px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 32px; color: var(--dim); font-size: .86rem; }
.foot-site .fs-left { display: grid; gap: 10px; min-width: 0; }
.foot-site .fs-links, .foot-site .fs-made { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot-site .fs-made span { display: inline-flex; align-items: center; gap: 6px; }
.foot-site .fs-made a { color: var(--mute); }
.foot-site .fs-org { display: grid; gap: 10px; justify-items: end; text-align: right; }
.foot-site .fs-org b { color: var(--mute); font-weight: 700; }
.foot-site i { font-size: 15px; color: var(--gold); }
.foot-site [aria-current="page"] { color: var(--text); }
.foot-site a:hover { color: var(--text); }

/* нижняя панель вкладок — только телефон */
.tabbar { display: none; }

/* прототип: переключатель гость/вошедший */
.proto { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 50; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .7); border: 1px solid var(--line2); font-size: .8rem; }
.proto a { padding: 6px 12px; border-radius: 99px; color: var(--mute); }
.proto a[aria-current] { background: var(--gold); color: var(--ink); font-weight: 700; }

/* ================= ПЛАНШЕТ 768–1199 ================= */
@media (max-width: 1199px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'main' 'live' 'foot'; }
  .rail { display: none; }
  .top { flex-wrap: wrap; padding: 12px 24px 0; row-gap: 10px; }
  .top .brand { display: flex; }
  .top .hello { display: none; }
  .top .tabs { display: flex; order: 10; width: 100%; gap: 4px; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
  .top .tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 12px; color: var(--mute); font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap; }
  .top .tabs a i { font-size: 20px; }
  .top .tabs a[aria-current] { color: var(--gold2); border-color: var(--gold); }
  main { padding: 22px 24px 8px; }
  .live { padding: 8px 24px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live > .wide { grid-column: 1 / -1; }
  .hero .copy { padding: 8px 28px 28px; }
  .street { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tier .pic { height: 190px; }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .deed .rows { display: none; }
  .pair { grid-template-columns: 1fr; }
}

/* ================= ТЕЛЕФОН < 768 ================= */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .top { padding: 10px 16px; gap: 8px; padding-top: max(10px, env(safe-area-inset-top)); }
  .top .tabs, .me-btn .lv { display: none; }
  body.user .top .brand span { display: none; }
  .hide-phone { display: none !important; }
  .me-btn { padding: 3px; }
  .chip { height: 34px; padding: 0 10px 0 6px; font-size: .9rem; }
  .chip .plus { display: none; }
  main { padding: 14px 16px 8px; gap: 22px; }
  .live { padding: 8px 16px 16px; grid-template-columns: minmax(0, 1fr); }
  .foot-site { margin: 0 16px; padding: 16px 0 120px; flex-direction: column; }
  .foot-site .fs-org { justify-items: start; text-align: left; }
  .hero { border-radius: 24px; }
  .hero .shot, .hero::before { height: 260px; }
  .hero .shot { object-position: 50% 57%; }
  .hero .copy { padding: 6px 18px 20px; gap: 18px; }
  .hero > .eyebrow { top: 12px; left: 12px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .neon { font-size: 2rem; }
  .modes { grid-template-columns: 1fr; gap: 12px; }
  .deed { grid-template-columns: 96px 1fr; grid-template-rows: 1fr auto; min-height: 0; }
  .deed .band { grid-row: 1 / span 2; height: auto; flex-direction: column; justify-content: space-between; padding: 14px 12px; }
  .deed .band .kind { font-size: .62rem; }
  .deed .body { padding: 14px 14px 4px; }
  .deed .rows { display: none; }
  .deed .foot { padding: 10px 14px 14px; }
  .pair { grid-template-columns: 1fr; }
  .street { grid-template-columns: repeat(6, 128px); overflow-x: auto; margin: 0 -20px; padding: 10px 20px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .house { scroll-snap-align: start; }
  .tiers { grid-template-columns: repeat(4, 180px); overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .tier { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .proto { bottom: 92px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 6px 6px max(8px, env(safe-area-inset-bottom)); background: rgba(12, 12, 38, .94); backdrop-filter: blur(16px); border-top: 1px solid var(--line2); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding-top: 6px; font-size: .68rem; font-weight: 600; color: var(--mute); }
  .tabbar a i { font-size: 24px; }
  .tabbar a[aria-current] { color: var(--gold2); }
  .tabbar a.play { margin-top: -24px; color: var(--gold2); }
  .tabbar a.play i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; color: var(--ink); background: radial-gradient(circle at 35% 30%, #FFE9A0, var(--gold2) 40%, var(--gold)); box-shadow: 0 4px 0 var(--gold-deep), 0 8px 24px rgba(255, 150, 60, .45), 0 0 0 5px rgba(12, 12, 38, .94); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 767px) { .achs { grid-template-columns: 1fr; } }
.leaders li.me::before { content: "37"; color: var(--gold); font-size: .8rem; }

h1, h2, h3, .neon small, .deed p, .tier .cap span, .step p, .hero p { text-wrap: balance; }
p { text-wrap: pretty; }
@media (max-width: 1099px) { .steps { grid-template-columns: 1fr; gap: 10px; } .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; } .step .num { grid-row: span 2; margin: 0; } .step b { margin: 0; } }

/* ---------- документы: политика конфиденциальности, пользовательское соглашение ----------
   Компьютер — оглавление справа (едет со страницей, подсвечивает раздел); планшет и телефон — лента
   разделов под шапкой. Текст — короткими абзацами и списками, ключевое — жирным, цифры — из кода. */
.doc-head { display: grid; gap: 12px; padding: 8px 0 4px; }
.doc-head h1 { margin: 0; font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 var(--f-sign); }
.doc-head .lead { margin: 0; color: #D6D2F2; font-size: 1.05rem; max-width: 62ch; text-wrap: pretty; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-sec { scroll-margin-top: 96px; }
.doc-sec .panel { display: grid; gap: 12px; padding: 24px 28px; color: #D6D2F2; }
.doc-sec h2 { margin: 0 0 2px; display: flex; align-items: center; gap: 12px; font: 400 clamp(1.15rem, 1.8vw, 1.35rem)/1.2 var(--f-sign); color: var(--text); }
.doc-sec h2 .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; color: var(--ink); background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 3px 0 var(--gold-deep); }
.doc-sec p { margin: 0; text-wrap: pretty; }
.doc-sec b { color: var(--text); }
.doc-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.doc-sec li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.doc-sec li > i { font-size: 18px; color: var(--gold2); margin-top: 2px; }
.doc-sec a { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; }
.doc-table { display: grid; gap: 4px; }
.doc-table div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: .92rem; }
.doc-table div.th { background: none; padding-top: 0; padding-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.doc-table b { font-weight: 700; }
.doc-sec li > span, .doc-table span, .doc-table b, .doc-note span { text-wrap: pretty; }   /* без «висящих» слов в конце строк */
.doc-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 179, 92, .08); border: 1px solid rgba(255, 179, 92, .22); font-size: .92rem; }
.doc-note i { color: var(--gold); font-size: 20px; }
.fill { color: var(--gold2); background: rgba(255, 212, 92, .1); border: 1px dashed rgba(255, 212, 92, .5); border-radius: 6px; padding: 0 6px; overflow-wrap: anywhere; }

.doc-toc { position: sticky; top: 96px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.doc-toc a { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; color: var(--mute); font-size: .9rem; font-weight: 600; }
.doc-toc a::before { counter-increment: t; content: counter(t); font: 400 .8rem/1 var(--f-sign); color: var(--dim); text-align: center; }
.doc-toc a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.doc-toc a.on { background: rgba(255, 179, 92, .1); color: var(--gold2); }
.doc-toc a.on::before { color: var(--gold); }
.doc-chips { display: none; }
@media (max-width: 1199px) {
  .doc-toc-col { display: none; }
  .doc-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 4px 24px 6px; scrollbar-width: none; position: sticky; top: 104px; z-index: 3; background: linear-gradient(180deg, var(--bg1) 70%, transparent); }
  .doc-chips a { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--mute); font-weight: 600; font-size: .88rem; white-space: nowrap; }
  .doc-chips a.on { background: rgba(255, 179, 92, .14); border-color: rgba(255, 179, 92, .4); color: var(--gold2); }
  .doc-sec { scroll-margin-top: 170px; }
}
@media (max-width: 767px) {
  .doc-chips { margin: 0 -16px; padding: 4px 16px 6px; top: 58px; }
  .doc-sec { scroll-margin-top: 120px; }
  .doc-sec .panel { padding: 20px 18px; }
  .doc-head h1 { font-size: min(1.9rem, 6.6vw); }   /* «конфиденциальности» в шрифте вывесок ≈ 12.9 × размер — на 360 px крупнее не влезает */
  .doc-table div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc-table div.th { display: none; }
  .doc-table div span:last-child { color: var(--mute); font-size: .86rem; }
}

/* российская разработка: компактная плашка с флагом (владелец 05.10.2026: лаконично, без нагромождения) */
.flag-ru { width: 16px; height: 11px; border-radius: 2px; flex: none; background: linear-gradient(180deg, #fff 0 33.3%, #1c57a5 33.3% 66.6%, #d52b1e 66.6%); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* ===== единый подвал (tools/site-footer.mjs; владелец 05.10.2026: переработать, а не втиснуть) =====
   бренд + плашка «Российская разработка» · колонки «Игра» и «Документы» · одна строка внизу */
.foot-site { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px 48px; align-items: start; padding: 30px 0 44px; }
.foot-site .fs-brand { display: grid; gap: 12px; justify-items: start; }
.foot-site .fs-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.1rem; }
.foot-site .fs-logo img { width: 30px; height: 30px; }
.foot-site .fs-brand p { margin: 0; max-width: 34ch; color: var(--mute); font-size: .9rem; line-height: 1.5; text-wrap: pretty; }
.ru-badge { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.ru-badge b { display: block; font-size: .9rem; color: var(--text); font-weight: 700; line-height: 1.25; }
.ru-badge small { display: block; font-size: .78rem; color: var(--mute); line-height: 1.3; }
.ru-badge .flag-ru { width: 28px; height: 20px; border-radius: 4px; }
.foot-site .fs-col { display: grid; gap: 9px; align-content: start; justify-items: start; }
.foot-site .fs-col h4 { margin: 0 0 4px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.foot-site .fs-col a { color: var(--mute); font-size: .92rem; line-height: 1.3; text-wrap: balance; }
.foot-site .fs-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }
.foot-site .fs-bottom a { color: var(--mute); margin-left: auto; }
@media (max-width: 900px) { .foot-site { grid-template-columns: 1fr 1fr; gap: 24px 28px; } .foot-site .fs-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .foot-site { margin: 0 16px; padding: 24px 0 120px; } .foot-site .fs-bottom a { margin-left: 0; } .ru-badge { width: 100%; } }

/* подвал: силуэт города над линией — как улица за доской (без анимации; светятся отдельные окна) */
.foot-site { position: relative; margin-top: 56px; padding-top: 34px; border-top: 0; }
.foot-site::before { content: ""; position: absolute; left: 0; right: 0; top: -63px; height: 64px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22537%22%20height%3D%2264%22%20viewBox%3D%220%200%20537%2064%22%3E%3Cg%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.055%22%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%2226%22%20height%3D%2254%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2212%22%20y%3D%222%22%20width%3D%222%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%2229%22%20y%3D%2218%22%20width%3D%2238%22%20height%3D%2246%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2274%22%20y%3D%2233%22%20width%3D%2238%22%20height%3D%2231%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22114%22%20y%3D%2224%22%20width%3D%2235%22%20height%3D%2240%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22153%22%20y%3D%2233%22%20width%3D%2240%22%20height%3D%2231%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22199%22%20y%3D%2223%22%20width%3D%2234%22%20height%3D%2241%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22238%22%20y%3D%2228%22%20width%3D%2230%22%20height%3D%2236%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22274%22%20y%3D%2246%22%20width%3D%2235%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22290.5%22%20y%3D%2238%22%20width%3D%222%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%22312%22%20y%3D%2227%22%20width%3D%2251%22%20height%3D%2237%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22368%22%20y%3D%2236%22%20width%3D%2249%22%20height%3D%2228%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22391.5%22%20y%3D%2228%22%20width%3D%222%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%22419%22%20y%3D%2211%22%20width%3D%2249%22%20height%3D%2253%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22442.5%22%20y%3D%223%22%20width%3D%222%22%20height%3D%228%22%2F%3E%3Crect%20x%3D%22475%22%20y%3D%2239%22%20width%3D%2257%22%20height%3D%2225%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23FFD45C%22%20fill-opacity%3D%22.5%22%3E%3Crect%20x%3D%226%22%20y%3D%2216%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%2235%22%20y%3D%2224%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%2253%22%20y%3D%2233%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%2289%22%20y%3D%2239%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22129%22%20y%3D%2230%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2239%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2257%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22214%22%20y%3D%2238%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22205%22%20y%3D%2247%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22223%22%20y%3D%2247%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22205%22%20y%3D%2256%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22244%22%20y%3D%2234%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22280%22%20y%3D%2252%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22289%22%20y%3D%2252%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22318%22%20y%3D%2242%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22336%22%20y%3D%2242%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22327%22%20y%3D%2251%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22345%22%20y%3D%2251%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22374%22%20y%3D%2242%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22392%22%20y%3D%2242%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22392%22%20y%3D%2251%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22401%22%20y%3D%2251%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22425%22%20y%3D%2253%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22481%22%20y%3D%2245%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22490%22%20y%3D%2254%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3Crect%20x%3D%22508%22%20y%3D%2254%22%20width%3D%223.5%22%20height%3D%224.5%22%20rx%3D%22.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x left bottom; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.foot-site::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 212, 92, .45), transparent); }
@media (max-width: 767px) { .foot-site { margin-top: 48px; } }
/* подвал: четыре колонки вместо трёх с пустотой посередине; плотнее по вертикали */
.foot-site { grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 22px 40px; padding-bottom: 36px; }
.foot-site .fs-col a { font-size: .9rem; }
@media (max-width: 1100px) { .foot-site { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 22px 24px; } }
@media (max-width: 900px) { .foot-site { grid-template-columns: 1fr 1fr; } .foot-site .fs-brand { grid-column: 1 / -1; } }

/* ===== карточки «Выберите игру» (владелец 06.10.2026: «более красиво обыграть») =====
   лучи из угла, значок в стеклянной плашке (покачивается при наведении), подпись режима — таблеткой, блик проходит по полосе, снизу — плавный переход в карточку */
.deed .band { height: 112px; padding: 16px 18px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 100%, #fff 12%), color-mix(in srgb, var(--c) 100%, #000 22%)); }
.deed .band::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 8deg at 88% 130%, rgba(255, 255, 255, .13) 0 7deg, transparent 7deg 15deg); -webkit-mask-image: radial-gradient(circle at 88% 130%, #000, transparent 75%); mask-image: radial-gradient(circle at 88% 130%, #000, transparent 75%); }
.deed .band::after { background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 45%, rgba(10, 11, 34, .35)); }
.deed .band i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 32px; background: linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12)); border: 1px solid rgba(255, 255, 255, .42); box-shadow: 0 8px 18px rgba(10, 11, 34, .28), inset 0 1px 0 rgba(255, 255, 255, .5); transform: rotate(-6deg); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); filter: none; text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.deed:hover .band i { transform: rotate(4deg) scale(1.1) translateY(-2px); }
.deed .band .kind { padding: 4px 11px; border-radius: 99px; background: rgba(10, 11, 34, .32); border: 1px solid rgba(255, 255, 255, .22); color: #fff; letter-spacing: .1em; }
.deed .band .kind::before { content: ''; position: absolute; }
.deed .band > .sw { position: absolute; top: 0; bottom: 0; left: -50%; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 2; }
.deed:hover .band > .sw { opacity: 1; animation: deedsweep .8s ease-out; }
@keyframes deedsweep { from { left: -50%; } to { left: 130%; } }
.deed.locked .band i { transform: rotate(-6deg); }
@media (max-width: 767px) { .deed .band i { width: 44px; height: 44px; font-size: 25px; border-radius: 14px; } .deed .band { height: auto; } }
@media (prefers-reduced-motion: reduce) { .deed:hover .band > .sw { animation: none; } .deed .band i { transition: none; } }

/* ===== кнопки установки «iPhone / Android» (подвал, главная, инструкция) — в стиле игры: стеклянная плашка и светлая плитка со значком ===== */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge { display: inline-flex; align-items: center; gap: 12px; padding: 7px 18px 7px 8px; border-radius: 18px; text-decoration: none; color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 6px 0 rgba(6, 5, 24, .55), 0 14px 26px rgba(6, 5, 24, .35); transition: transform .15s, box-shadow .15s, border-color .2s; }
.app-badge:hover { transform: translateY(-2px); border-color: rgba(255, 212, 92, .55); box-shadow: 0 8px 0 rgba(6, 5, 24, .55), 0 18px 30px rgba(6, 5, 24, .4); }
.app-badge:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(6, 5, 24, .55); }
.app-badge .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 28px; color: #2a1d00; background: linear-gradient(180deg, #FFF3D6, #F4D9A6); box-shadow: inset 0 -3px 0 rgba(150, 100, 20, .25), 0 2px 6px rgba(0, 0, 0, .3); flex: none; }
.app-badge small { display: block; font-size: .72rem; color: var(--mute); font-weight: 600; line-height: 1.2; }
.app-badge b { display: block; font: 400 1.18rem/1.15 var(--f-sign, system-ui); letter-spacing: .01em; }
.foot-site .fs-brand .app-badges { margin-top: 2px; }
.foot-site .app-badge { padding: 5px 14px 5px 6px; border-radius: 16px; gap: 10px; }
.foot-site .app-badge .ico { width: 36px; height: 36px; font-size: 23px; border-radius: 11px; }
.foot-site .app-badge b { font-size: 1rem; }
.foot-site .app-badge small { font-size: .66rem; }
.foot-site .app-badge i { font-size: inherit; color: inherit; }

/* блок «Играйте как в приложении» на главной */
.app-promo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; padding: 24px 28px; background: radial-gradient(circle at 12% 50%, rgba(255, 179, 92, .18), transparent 55%), var(--panel-solid, #17163A); overflow: hidden; }
.app-promo[hidden] { display: none; }
.app-promo .ap-art { position: relative; width: 112px; height: 112px; }
.app-promo .ap-art img { width: 100%; height: 100%; border-radius: 28px; box-shadow: 0 14px 30px rgba(6, 5, 24, .55), 0 0 0 1px rgba(255, 255, 255, .2); transform: rotate(-6deg); }
.app-promo .ap-art i { position: absolute; color: #FFE48F; filter: drop-shadow(0 0 8px rgba(255, 212, 92, .7)); }
.app-promo .ap-art .s1 { top: -10px; right: -8px; font-size: 26px; } .app-promo .ap-art .s2 { bottom: -6px; left: -12px; font-size: 18px; }
.app-promo h2 { margin: 0 0 6px; } .app-promo p { margin: 0 0 14px; color: var(--mute); max-width: 52ch; text-wrap: pretty; }
@media (max-width: 640px) { .app-promo { grid-template-columns: 1fr; padding: 20px; text-align: left; } .app-promo .ap-art { width: 84px; height: 84px; } .app-badges { width: 100%; } .app-badges .app-badge { flex: 1 1 140px; } }

/* сноска о товарных знаках Apple и Google (рядом со значками установки) */
.app-badge sup { font-size: .6em; color: var(--gold2, #FFD45C); margin-left: 2px; vertical-align: super; }
.tm-note { margin: 12px 0 0; max-width: 78ch; font-size: .74rem; line-height: 1.5; color: var(--dim); text-wrap: pretty; }
.foot-site .fs-tm { grid-column: 1 / -1; margin: 0; font-size: .72rem; line-height: 1.5; color: var(--dim); max-width: 120ch; text-wrap: pretty; }
/* подвал: плашки «Установить на iPhone / Android» — справа от сноски о товарных знаках (там была пустота) */
.foot-site .fs-apps { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.foot-site .fs-apps .fs-tm { flex: 1 1 420px; max-width: 84ch; }
.foot-site .fs-apps .app-badges { flex: none; }
@media (max-width: 767px) { .foot-site .fs-apps { flex-direction: column-reverse; align-items: stretch; } .foot-site .fs-apps .app-badges .app-badge { flex: 1 1 140px; } }

/* правая колонка главной: закреплена при прокрутке и не пустует (владелец 06.10.2026) */
.side-help{display:grid;gap:4px}.side-help .h{margin-bottom:6px}
.sh-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 8px;border-radius:14px;color:var(--text);text-decoration:none;transition:background .2s}
.sh-row:hover{background:rgba(255,255,255,.07)}
.sh-row>i:first-child{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:18px;background:rgba(255,212,92,.14);color:#FFD45C}
.sh-row b{display:block;font-size:.92rem}.sh-row small{display:block;color:var(--mute);font-size:.76rem;line-height:1.3}
.sh-row>i:last-child{color:var(--dim)}

/* шапка не просвечивает при прокрутке, закреплённая боковина начинается под ней (владелец 06.10.2026) */
.top{background:linear-gradient(180deg,#0b0c26,#0d0e2c)}
@media (min-width:1101px){
 .doc-toc{top:88px}
 .live.doc-toc-col,.live.toc-col{padding-bottom:150px}   /* закреплённое содержание не доезжает до подвала и силуэта города */
}

/* правая колонка главной катается вместе со страницей, как боковины на других страницах;
   если она выше окна — закрепляется нижним краем (top считает hub-sticky.js) */
.live-in{display:grid;gap:20px;min-width:0}
@media (min-width:1101px){ .live-in{position:sticky;top:var(--live-top,88px)} .live:has(>.live-in){padding-bottom:150px} }
@media (max-width:1100px){ .live-in{grid-template-columns:repeat(2,minmax(0,1fr))} .live-in>.wide{grid-column:1/-1} }
@media (max-width:700px){ .live-in{grid-template-columns:minmax(0,1fr)} }
@media (max-width:1100px){ .live:has(>.live-in){grid-template-columns:minmax(0,1fr)} }

/* кнопки-ссылки внутри текстовых разделов не должны наследовать цвет и подчёркивание обычных ссылок */
.doc-sec a.btn, .panel a.btn { text-decoration: none; }
.doc-sec a.btn-gold, .panel a.btn-gold { color: #2a1d00; }
.doc-sec a.btn-glass, .panel a.btn-glass { color: var(--text); }
.gm { color: var(--gem, #c084ff); font-size: 1.05em; vertical-align: -.12em; }
.gmi { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; object-fit: contain; }
.gem-n .gmi { width: 14px; height: 14px; vertical-align: -2px; }
.chip .gmi.gem { width: 22px; height: 22px; }

/* ===== живые аватары: 3D (js/site-life.js) и эмоции (life.js) ===== */
[data-who] { position: relative; }
[data-who] .lf3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; pointer-events: none; }
[data-who].lf3d-ready .lf3d { opacity: 1; }
html.lf3d-on [data-who] > img { opacity: 0; }              /* 3D заведомо будет: картинку-заглушку не показываем, чтобы не было «перескока» */
html.lf3d-on [data-who].lf3d-fail > img { opacity: 1; }
/* магазин: карточка «по наведению» (data-life="hover") — картинка видна, пока 3D не готово, потом плавно уступает место */
html.lf3d-on [data-who][data-life="hover"] > :is(img, svg) { opacity: 1; transition: opacity .45s ease; }
html.lf3d-on [data-who][data-life="hover"].lf3d-ready > :is(img, svg) { opacity: 0; transition-delay: .35s; }
html.lf3d-on [data-who] .lf3d { transform: translateY(6px) scale(.97); transition: opacity .7s ease, transform .7s ease; }
html.lf3d-on [data-who].lf3d-ready .lf3d { transform: none; }
html.lf3d-on [data-who]:not([data-life="hover"]):not(.lf3d-ready):not(.lf3d-fail)::after { content: ''; position: absolute; left: 50%; bottom: 14%; width: 46%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); animation: lfPulse 1.4s ease-in-out infinite; }
@keyframes lfPulse { 50% { opacity: .35; } }
[data-who] { cursor: pointer; }
.lf-bub { position: fixed; z-index: 3; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); animation: lfPop .3s cubic-bezier(.3,1.5,.5,1) both; }
.lf-bub.out { animation: lfOut .26s ease-in both; }
@keyframes lfPop { from { opacity: 0; transform: translateY(8px) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes lfOut { to { opacity: 0; transform: translateY(-6px) scale(.8); } }
@media (prefers-reduced-motion: reduce) { .lf-bub { display: none; } }
.item .slotart .pcard-mini { width: 92%; }
.panel.pcard { border-radius: var(--r-l, 22px); }

/* телефон: заголовок героя в одну строку, метки поверх фото — одной прокручиваемой строкой, а не вразнобой */
@media (max-width: 700px) {
  .neon { font-size: clamp(1.45rem, 7.3vw, 2rem); text-wrap: nowrap; }
  .neon small { text-wrap: balance; }
  .hero > .eyebrow { right: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .hero > .eyebrow::-webkit-scrollbar { display: none; }
  .hero > .eyebrow .tag { flex: none; white-space: nowrap; }
  /* «Сделано в Набережных Челнах» на телефоне не помещался — «Сезон» уезжал за край ленты; эта плашка есть в подвале и на столе */
  .hero > .eyebrow .tag.ru { display: none; }
}

/* карточка «Ваш прогресс» в герое: строки-подсказки и пара кнопок внизу, без пустого поля */
.side-card .sc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.side-card .sc-btns .btn { flex: 1 1 130px; justify-content: center; }
.side-card .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; } .side-card .bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, #FFB35C, #FFD45C); }
.side-card .sc-h .tag { font-size: .7rem; }

.sc-row.ok i { color: var(--ok, #7ee2a8); background: rgba(126,226,168,.14); } .sc-row.ok b { opacity: .75; }
.side-card .bar i { background: linear-gradient(90deg, var(--bc, #FFB35C), #FFD45C); }

/* ===== карточка героя по стадиям игрока (live-hub.js) ===== */
body.user .hero .cta { align-self: start; }
.st-tip { margin: 0; font-size: .86rem; color: var(--mute); line-height: 1.4; }
/* первые шаги: дорожка по доске — клетки-«улицы» с цветной полосой, фишка на текущей */
.st-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 12px; }
.st-board .sq { position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 4px 8px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); text-align: center; overflow: visible; }
.st-board .sq .band { position: absolute; left: 0; right: 0; top: 0; height: 9px; border-radius: 9px 9px 0 0; background: var(--c); }
.st-board .sq i { font-size: 22px; color: var(--mute); } .st-board .sq b { font-size: .72rem; }
.st-board .sq.ok i { color: var(--ok, #7ee2a8); } .st-board .sq.ok { background: rgba(126,226,168,.08); }
.st-board .sq.now { border-color: rgba(255,212,92,.8); background: rgba(255,212,92,.12); box-shadow: 0 0 0 2px rgba(255,212,92,.25); }
.st-board .sq.now i { color: #FFD45C; }
.st-board .token { position: absolute; left: 50%; top: -24px; width: 30px; height: 36px; margin-left: -15px; object-fit: cover; object-position: 50% 8%; filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); animation: stHop 1.8s ease-in-out infinite; }
@keyframes stHop { 50% { transform: translateY(-4px); } }
/* путь к рейтингу: трек уровней */
.st-track { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; }
.st-track .stop { display: grid; justify-items: center; gap: 4px; }
.st-track .stop span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.08); border: 2px solid var(--line2); }
.st-track .stop small { font-size: .7rem; color: var(--mute); }
.st-track .stop.got span { background: #7ee2a8; color: #05281a; border-color: transparent; } .st-track .stop.now span { border-color: #FFD45C; color: #FFD45C; box-shadow: 0 0 14px rgba(255,212,92,.4); }
.st-track .ln { flex: 1; height: 3px; margin: 0 6px 16px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
/* кольцо (ранг, цели) */
.st-ring { position: relative; width: 104px; aspect-ratio: 1; flex: none; }
.st-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .st-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.st-ring .bg { stroke: rgba(255,255,255,.1); } .st-ring .fg { stroke: var(--c); stroke-dasharray: var(--p) 100; transition: stroke-dasharray 1s ease; filter: drop-shadow(0 0 6px var(--c)); }
.st-ring .in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; } .st-ring .in b { font-size: .95rem; line-height: 1.1; } .st-ring .in small { font-size: .68rem; color: var(--mute); } .st-ring .in i { font-size: 28px; color: var(--c); }
/* сезон: кольцо + соседи по таблице */
.st-season { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.st-near { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-near li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 9px; font-size: .84rem; background: rgba(255,255,255,.04); }
.st-near li.me { background: rgba(255,212,92,.14); box-shadow: inset 0 0 0 1px rgba(255,212,92,.5); } .st-near .pl { color: var(--mute); font-weight: 800; } .st-near .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .st-near .p { font-weight: 800; }
/* опытный: три цели */
.st-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-goals .goal { display: grid; justify-items: center; gap: 3px; text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.st-goals .st-ring { width: 62px; } .st-goals .st-ring circle { stroke-width: 11; } .st-goals .st-ring .in i { font-size: 20px; }
.st-goals b { font-size: .78rem; line-height: 1.15; } .st-goals small { font-size: .68rem; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .st-board .token { animation: none; } .st-ring .fg { transition: none; } }
/* фишка игрока на текущем шаге: круглая «фишка» с лицом инвестора, стоит на клетке (не прыгает и не летает) */
.st-board .token { top: -15px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 2px solid #FFD45C; background: #2c2a63; object-fit: cover; object-position: 50% 6%; animation: stPulse 2s ease-out infinite; filter: none; box-shadow: 0 3px 0 rgba(0,0,0,.35); }
@keyframes stPulse { 0% { box-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 0 0 rgba(255,212,92,.55); } 70%, 100% { box-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 0 10px rgba(255,212,92,0); } }
.st-season { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; } .st-season .st-ring { width: 86px; } .st-season .st-ring .in b { font-size: .8rem; } .st-season .st-ring .in small { font-size: .6rem; }
.st-near li { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; padding: 5px 6px; font-size: .8rem; }
/* значки внутри колец — строго по центру */
.st-ring .in { display: grid; place-items: center; place-content: center; }
.st-ring .in i { display: block; line-height: 1; width: 1em; height: 1em; text-align: center; margin: 0; }

/* длинные имена (до 40 знаков): в заголовке героя, шапке, блоке профиля, таблицах — не ломают вёрстку */
@media (max-width: 700px) { .neon { text-wrap: balance; font-size: clamp(1.3rem, 6.6vw, 2rem); } }
.me-card > div, .who > div { min-width: 0; }
.me-btn .lv { min-width: 0; } .me-btn .lv b:not(.nick) { display: block; max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders .n, .sc-players .n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders .n small { overflow: hidden; text-overflow: ellipsis; }

.st-near li.empty { display: block; color: var(--mute); font-size: .78rem; line-height: 1.35; background: none; padding: 2px 0; }
/* имя — до 18 знаков: в заголовке целиком, при самом широком сочетании переносится, а не вылезает */
.hero .neon { overflow-wrap: anywhere; }

/* карточка героя тянется по высоте левой колонки: содержимое — столбцом, кнопки прижаты к низу (раньше под кнопками оставалась пустота) */
.hero .side-card { display: flex; flex-direction: column; gap: 10px; }
.hero .side-card > .st-board, .hero .side-card > .st-track, .hero .side-card > .st-season, .hero .side-card > .st-goals { margin-block: auto; }
.hero .side-card .sc-btns { margin-top: auto; }

/* поддержка в подвале: чип со значком; запасная почта — рядом, тихо */
.foot-site .fs-bottom a[data-support] { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(255,212,92,.1); border: 1px solid rgba(255,212,92,.38); color: #FFD45C; font-weight: 700; text-decoration: none; white-space: nowrap; }
.foot-site .fs-bottom a[data-support]:hover { background: rgba(255,212,92,.2); }
.foot-site .fs-bottom a[data-support] i { font-size: 18px; }
.foot-site .sp-mail { margin-left: 10px; color: var(--dim); font-size: .82rem; white-space: nowrap; }
.foot-site .sp-mail a { color: var(--mute); }
@media (max-width: 700px) { .foot-site .fs-bottom a[data-support] { width: 100%; justify-content: center; } .foot-site .sp-mail { display: block; margin: 6px 0 0; text-align: center; } }

/* ник на сайте: компонент .nick побеждает прежние правила блока */
.me-card .name.nick { display: flex; font-size: 1.2rem; line-height: 1.1; min-width: 0; }
.me-btn .lv b.nick { display: flex; max-width: 18ch; color: var(--text); font-size: .9rem; } @media (max-width: 1100px) { .me-btn .lv b.nick { max-width: 12ch; } }
.me-card > div:last-child { min-width: 0; }
/* карточка героя частично лежит на фото, частично на тёмном фоне: полупрозрачная она показывала «шов» через кнопки.
   Теперь фон почти непрозрачный и без размытия — шва не видно при любой высоте окна */
.hero .side-card { background: linear-gradient(180deg, rgba(26,27,62,.96), rgba(18,19,46,.97)); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ===== карточка игрока на главной (07.10.2026, раскладка владельца): портрет и рядом статистика; под ними во всю ширину — имя
   (было: имя в узкой колонке рядом с портретом — при табличке «Цветы» видно 2 буквы); не влезает и так — js/nick-fit.js:
   без украшений, затем бегущей строкой. Строкой ниже — титул мецената (assets/patron.css), уровень со звёздами, ранг. */
.me-card { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: 'pic stats' 'name name' 'info info'; gap: 12px 14px; align-items: center; }
.me-card > .pic { grid-area: pic; }
/* статистика рядом с портретом — список из трёх строк в одной плашке (плитки в узкой колонке выглядели плохо — владелец 07.10.2026) */
.me-card > .stats { grid-area: stats; margin: 0; align-self: center; height: 110px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 4px 12px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.me-card > .stats div { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; padding: 0; flex: 1; align-content: center; background: none; border-radius: 0; }
.me-card > .stats div + div { border-top: 1px solid var(--line); }
.me-card > .stats i { font-size: 17px; color: var(--gold2); align-self: center; }
.me-card > .stats b { font-size: 1rem; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.me-card > .stats span { font-size: .8rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-card > .name { grid-area: name; margin-top: 2px; }
.me-card .name.nick { justify-self: start; max-width: 100%; font-size: 1.35rem; }
.me-card .name:not(.nick) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-card > .info { grid-area: info; display: grid; gap: 10px; justify-items: start; min-width: 0; margin-top: -4px; }
.me-card .info .ptitle[hidden] { display: none; }
/* уровень и ранг — две плашки в ряд (владелец 07.10.2026: «уровень и рейтинг выглядят очень просто»):
   уровень — золотой номер, подпись и полоска опыта до следующего; ранг — щит цвета ранга, название и очки */
.me-card .lv-rk { justify-self: stretch; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; }
.me-card .lvl, .me-card .info .rank { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; padding: 6px 10px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.me-card .lv-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font: 400 1.05rem/1 var(--f-sign); color: #3A2200;
  background: linear-gradient(180deg, #FFE7A0, #F5B83A 55%, #D98E1C); box-shadow: inset 0 -3px 0 rgba(120, 60, 0, .35), 0 0 12px rgba(255, 190, 70, .3); }
.me-card .lvl > span { display: grid; gap: 5px; min-width: 0; }
.me-card .lvl small, .me-card .info .rank small { font-size: .72rem; color: var(--mute); white-space: nowrap; }
.me-card .lv-bar { display: block; width: 44px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.me-card .lv-bar > i { display: block; width: var(--xp, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFB35C, #FFD45C); }
.me-card .info .rank { border-color: color-mix(in srgb, var(--rc) 45%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 16%, transparent), rgba(255, 255, 255, .03)); font: inherit; color: var(--text); }
.me-card .info .rank > i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 19px; color: var(--rc); background: color-mix(in srgb, var(--rc) 18%, transparent); }
.me-card .info .rank > span { display: grid; gap: 1px; min-width: 0; }
.me-card .info .rank b { font-size: .82rem; line-height: 1.15; text-wrap: balance; }   /* «Домовладелец III» — на две строки, не многоточием */
/* метка режима в узкой полосе карточки (телефон): «СЕЗОН 1» ломалась на две строки — в одну строку, плотнее */
.deed .band .kind { white-space: nowrap; }
@media (max-width: 520px) { .deed .band .kind { letter-spacing: .05em; padding: 4px 8px; font-size: .62rem; } }

/* меню игрока в шапке (live.js): кто вошёл, профиль в игре, настройки, выход */
.me-btn { cursor: pointer; }
.me-menu { position: fixed; z-index: 60; min-width: 230px; max-width: calc(100vw - 16px); padding: 8px; border-radius: 16px; background: rgba(23, 22, 58, .98); border: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: grid; gap: 2px; animation: mmIn .14s ease-out; }
.me-menu .mm-who { display: grid; gap: 2px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); min-width: 0; }
.me-menu .mm-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-menu .mm-who small { color: var(--mute); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-menu a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; color: var(--text); font-weight: 600; }
.me-menu a i { font-size: 19px; color: var(--gold2); }
.me-menu a:hover, .me-menu a:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.me-menu a.mm-out, .me-menu a.mm-out i { color: #FF9AA6; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .me-menu { animation: none; } }

/* низ подвала (07.10.2026): слева правообладатель и права на продажу, справа поддержка двумя одинаковыми кнопками (было — кнопка
   и сбоку «или почта» мелко); ниже значки установки и пометка о знаках Apple/Google — на всю ширину */
.foot-site .fs-bottom { align-items: center; justify-content: space-between; gap: 14px 28px; }
.foot-site .fs-rights { display: grid; gap: 4px; min-width: 0; flex: 1 1 420px; line-height: 1.5; }
.foot-site .fs-help { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-site .fs-bottom a.fs-chip { margin: 0; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; font-weight: 700; font-size: .84rem; white-space: nowrap; text-decoration: none;
  color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); }
.foot-site .fs-bottom a.fs-chip[hidden] { display: none; }
.foot-site .fs-bottom a.fs-chip i { font-size: 18px; color: var(--gold2); }
.foot-site .fs-bottom a.fs-chip.gold { color: #FFD45C; background: rgba(255, 212, 92, .1); border-color: rgba(255, 212, 92, .38); }
.foot-site .fs-bottom a.fs-chip:hover { background: rgba(255, 255, 255, .1); } .foot-site .fs-bottom a.fs-chip.gold:hover { background: rgba(255, 212, 92, .2); }
.foot-site .fs-apps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.foot-site .fs-apps .fs-tm { max-width: none; }
.foot-site .fs-apps .app-badges { justify-self: start; }
@media (max-width: 700px) { .foot-site .fs-help { width: 100%; } .foot-site .fs-bottom a.fs-chip { flex: 1 1 180px; justify-content: center; } .foot-site .fs-apps .app-badges { justify-self: stretch; } }
/* значки установки — в колонке бренда под плашкой «Российская разработка», рядом друг с другом и той же ширины, что плашка */
.foot-site .fs-brand .app-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; width: 100%; max-width: 340px; }
.foot-site .fs-brand .app-badges .app-badge { min-width: 0; }
.foot-site .fs-brand .ru-badge { max-width: 340px; box-sizing: border-box; width: 100%; }
.foot-site .fs-apps { gap: 0; }
.foot-site .fs-brand .app-badge small { white-space: nowrap; }   /* узкая колонка (1024): «Установить на» не ломается — значки встают друг под другом */

/* рейтинг: коротко о правилах (rating.html .rk-how, 08.10.2026) */
.rk-how ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rk-how li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.35; color: var(--text); }
.rk-how li i { flex: none; color: var(--gold, #FFD45C); font-size: 1.1rem; margin-top: .05em; }
.rk-how .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--gold, #FFD45C); text-decoration: none; }
.rk-how .more:hover { text-decoration: underline; }

/* полоса с часами на iPhone (08.10.2026, владелец: «наверху, где часы, плашка белая — в других приложениях всегда в нужный цвет»).
   Safari (iOS 26) красит её по СПЛОШНОМУ цвету фона страницы, а не по theme-color: фон был только градиентом — полоса белая.
   Установленное приложение: black-translucent — страница уходит под часы, сверху наш фон; шапка и меню отступают на высоту часов */
html { background-color: #0E1030; }
body { background-color: #0E1030; }
.top { padding-top: max(16px, env(safe-area-inset-top)); }
.rail { padding-top: max(18px, env(safe-area-inset-top)); }
@media (max-width: 767px) { .top { padding-top: max(10px, env(safe-area-inset-top)); } }

/* аккаунт без персонажа (08.10.2026): кошелька нет, вместо выдуманного лица — монета; имя — «Новый аккаунт» */
html.nochar .top .chip[title="Монеты"], html.nochar .top .chip[title^="Кристаллы"] { display: none; }
html.nochar .me-btn .ava { background-image: url(/assets/logo-mark.svg) !important; background-size: 78% !important; background-position: center !important; background-repeat: no-repeat !important; }
.me-card.nochar .pic img { object-fit: contain; padding: 18%; }
.me-card.nochar { display: grid; justify-items: center; text-align: center; gap: 10px; } .me-card.nochar .pic { width: 96px; height: 96px; } .me-card.nochar .pic img { width: 100%; height: 100%; padding: 0; } .me-card.nochar .nc-tip { margin: 0; color: var(--mute, #A9A6CC); font-size: .9rem; }
.me-card.nochar { grid-template-columns: 1fr !important; grid-template-areas: none !important; padding-bottom: 6px; }
.me-card.nochar > * { grid-area: auto !important; grid-column: 1 / -1 !important; justify-self: center; }
.me-card.nochar .btn { margin-top: 2px; }

/* 08.10.2026, приложение на телефоне: (1) низ страницы не доходил до конца — мобильный отступ футера (120px) перебивался более поздним
   правилом (44px) и не учитывал вырез, последние строки оставались под нижней панелью; (2) шапка была полупрозрачной с размытием —
   контент «замыливался» под ней при прокрутке; теперь плотная полоса с чёткой кромкой, до самого верха экрана (включая полосу часов). */
@media (max-width: 767px) {
  .foot-site { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
  .top { background: #0B0C26; -webkit-backdrop-filter: none; backdrop-filter: none; }
}


/* 09.10.2026: iPhone в приложении — окно короче экрана на высоту выреза (pwa.js измеряет: html.vgap, --vgap): растягиваем страницу на эту разницу;
   transform делает body опорой для fixed-элементов, и панели, холст и кнопки доходят до настоящего низа экрана. Без разницы класса нет — ничего не меняется */
html.vgap body { height: calc(100% + var(--vgap, 0px)); transform: translateZ(0); }

/* «Правила коротко» на странице правил (09.10.2026) */
.brief ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.brief li { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: var(--text); line-height: 1.5; }
.brief li b { color: var(--gold2, #FFD45C); margin-right: 4px; }
@media (min-width: 900px) { .brief ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Текстовый блок главной для гостей и поисковых роботов (09.10.2026) */
.seo-text p { max-width: 74ch; color: #D6D2F2; line-height: 1.6; margin: 0 0 12px; text-wrap: pretty; }
.seo-text h3 { margin: 18px 0 10px; font-size: 1.05rem; color: var(--text); }
.seo-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 74ch; }
.seo-list li { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); line-height: 1.5; color: #D6D2F2; }
.seo-list a { color: var(--gold2, #FFD45C); text-decoration: none; } .seo-list a:hover { text-decoration: underline; }
.seo-text a { color: var(--gold2, #FFD45C); }
.doc-sec ol.how { padding-left: 1.4em; margin: 0 0 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; line-height: 1.6; max-width: 70ch; } .doc-sec ol.how li { display: list-item !important; padding-left: 4px; }

/* ===== приглашение в другие игры: «Города» и «Эрудит» (09.10.2026, версия 2) ===== */
.xgames { display: grid; gap: 18px; }
.xg-head { display: grid; gap: 6px; max-width: 72ch; } .xg-head p { margin: 0; color: var(--mute); line-height: 1.55; }
.xg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.xg { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--text); background: var(--panel-solid); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 46px rgba(4, 4, 20, .45); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.xg:hover, .xg:focus-visible { transform: translateY(-5px); box-shadow: 0 30px 64px rgba(4, 4, 20, .6); border-color: rgba(255, 255, 255, .34); outline: none; }
.xg-art { position: relative; height: clamp(220px, 20vw, 290px); overflow: hidden; isolation: isolate; }
.xg-city .xg-art { background: radial-gradient(520px 300px at 18% 8%, rgba(120, 205, 255, .5), transparent 70%), radial-gradient(420px 260px at 92% 90%, rgba(255, 140, 90, .32), transparent 70%), linear-gradient(160deg, #1B5AA8, #272C80 62%, #3B2478); }
.xg-erudit .xg-art { display: grid; place-items: center; background: radial-gradient(520px 300px at 82% 6%, rgba(255, 200, 120, .4), transparent 70%), radial-gradient(420px 260px at 8% 96%, rgba(70, 190, 150, .38), transparent 70%), linear-gradient(160deg, #2C7357, #1E4B49 62%, #223A57); }
.xg-stamp { position: absolute; z-index: 4; left: 16px; top: 16px; display: grid; justify-items: center; padding: 8px 12px; border-radius: 14px; background: rgba(8, 8, 30, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); transform: rotate(-4deg); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.xg-stamp b { font: 400 1.35rem/1 var(--f-sign); color: #FFD45C; letter-spacing: 0; }

/* Города: карта с маршрутом, подписи, силуэт города */
.xg .map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.xg .route-bg { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.xg .route { fill: none; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 7px rgba(255, 190, 90, .85)); animation: xgDraw 6s ease-in-out infinite; }
.xg .pn { position: absolute; z-index: 3; width: 0; height: 0; }
.xg .pn .dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #FFD45C; box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(255, 212, 92, .9); }
.xg .pn .dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #FFD45C; animation: xgRing 2.4s ease-out infinite; }
.xg .p2 .dot::after { animation-delay: .8s; } .xg .p3 .dot::after { animation-delay: 1.6s; }
.xg .lbl { position: absolute; left: 0; bottom: 18px; transform: translateX(-50%) rotate(-2deg); padding: 8px 12px; border-radius: 12px; font: 400 .95rem/1 var(--f-sign); font-style: normal; color: #fff; background: rgba(10, 10, 40, .66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), 0 8px 18px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); white-space: nowrap; }
.xg .lbl em { font-style: normal; color: #FFD45C; text-shadow: 0 0 10px rgba(255, 212, 92, .9); }
.xg .p1 .lbl { transform: translateX(-30%) rotate(-3deg); } .xg .p3 .lbl { transform: translateX(-72%) rotate(2deg); }
.xg .sky { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 34%; display: flex; align-items: flex-end; gap: 4px; padding: 0 12px; opacity: .85; pointer-events: none; }
.xg .sky i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #151A55, #0B0D33); background-image: radial-gradient(circle, rgba(255, 214, 120, .85) 1.2px, transparent 1.7px), linear-gradient(180deg, #151A55, #0B0D33); background-size: 9px 11px, 100% 100%; }
.xg .sky i:nth-child(1) { height: 52%; } .xg .sky i:nth-child(2) { height: 78%; } .xg .sky i:nth-child(3) { height: 44%; } .xg .sky i:nth-child(4) { height: 92%; } .xg .sky i:nth-child(5) { height: 60%; } .xg .sky i:nth-child(6) { height: 70%; } .xg .sky i:nth-child(7) { height: 48%; } .xg .sky i:nth-child(8) { height: 86%; } .xg .sky i:nth-child(9) { height: 56%; } .xg .sky i:nth-child(10) { height: 72%; } .xg .sky i:nth-child(11) { height: 40%; }

/* Эрудит: доска 9×5, бонусные клетки и падающие фишки */
.xg .brd { --s: clamp(30px, 3.1vw, 44px); position: relative; display: grid; grid-template-columns: repeat(var(--cols), var(--s)); grid-template-rows: repeat(var(--rows), var(--s)); gap: 3px; padding: 9px; border-radius: 16px; background: #173B33; box-shadow: 0 18px 38px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(-2.5deg); }
.xg .bc { border-radius: 6px; background: rgba(255, 255, 255, .09); position: relative; }
.xg .bc::after { position: absolute; inset: 0; display: grid; place-items: center; font: 700 calc(var(--s) * .3)/1 var(--f-ui); color: rgba(255, 255, 255, .88); letter-spacing: .02em; }
.xg .bc.w3 { background: #D8484F; } .xg .bc.w3::after { content: 'С×3'; }
.xg .bc.w2 { background: #E98F8A; } .xg .bc.w2::after { content: 'С×2'; }
.xg .bc.l3 { background: #2F7FD0; } .xg .bc.l3::after { content: 'Б×3'; }
.xg .bc.l2 { background: #79B7E8; } .xg .bc.l2::after { content: 'Б×2'; }
.xg .bc.st { background: #D8484F; } .xg .bc.st::after { content: '★'; font-size: calc(var(--s) * .5); }
.xg .tl { position: absolute; z-index: 2; left: calc(9px + var(--x) * (var(--s) + 3px)); top: calc(9px + var(--y) * (var(--s) + 3px)); width: var(--s); height: var(--s); display: grid; place-items: center; border-radius: 7px; font: 400 calc(var(--s) * .56)/1 var(--f-sign); font-style: normal; color: #4A2A0E; background: linear-gradient(180deg, #FFE9B6, #F1BB66); box-shadow: 0 3px 0 #B77A2E, 0 7px 10px rgba(0, 0, 0, .35); opacity: 0; animation: xgDrop 7s cubic-bezier(.2, .9, .3, 1.15) infinite; animation-delay: calc(var(--d) * .22s); }
.xg .tl sub { position: absolute; right: 3px; bottom: 2px; font: 700 calc(var(--s) * .24)/1 var(--f-ui); }

.xg-body { display: grid; gap: 10px; align-content: start; padding: 22px 24px 26px; }
.xg-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.xg-body h3 { margin: 0; font: 400 2rem/1.05 var(--f-sign); } .xg-body p { margin: 0; color: var(--mute); line-height: 1.55; }
.xg-facts { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; font-weight: 600; color: #D8D4F4; }
.xg-facts li { display: inline-flex; align-items: center; gap: 6px; } .xg-facts i { color: var(--gold2); }
.xg-go { justify-self: start; margin-top: 4px; pointer-events: none; } .xg-go i { transition: transform .2s; } .xg:hover .xg-go i { transform: translate(3px, -3px); }
@keyframes xgDraw { 0% { stroke-dashoffset: 520; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -520; } }
@keyframes xgRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes xgDrop { 0%, 3% { opacity: 0; transform: translateY(-34px) rotate(-8deg) scale(1.15); } 9%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@media (max-width: 860px) { .xg-grid { grid-template-columns: minmax(0, 1fr); } .xg .brd { --s: min(34px, 8.6vw); } .xg-art { height: 230px; } .xg .lbl { font-size: .82rem; padding: 7px 10px; } .xg-body h3 { font-size: 1.7rem; } }
@media (prefers-reduced-motion: reduce) { .xg, .xg-go i { transition: none; } .xg .route, .xg .pin .ring { animation: none; stroke-dashoffset: 0; } .xg .tl { animation: none; opacity: 1; } }
.xg-erudit .xg-stamp { left: auto; right: 14px; top: auto; bottom: 12px; transform: rotate(4deg); }

/* ===== подпись AlbireoTech «Сделано в» (09.10.2026): код и стили — из брендбука https://albireotech.ru/brand/ (раздел 11), стили вынесены сюда один раз ===== */
.albireo-sign{display:inline-block;line-height:0;color:inherit;text-decoration:none}.albireo-sign svg{display:block;height:100%;width:auto;overflow:visible}.albireo-sign .albireo-sign-gh{opacity:0;mix-blend-mode:screen}.albireo-sign--light .albireo-sign-gh{mix-blend-mode:multiply}.albireo-sign .albireo-sign-gl{transform-box:fill-box;transform-origin:center}.albireo-sign:hover .albireo-sign-gh--a,.albireo-sign:focus-visible .albireo-sign-gh--a{animation:albireo-sign-a .75s cubic-bezier(.22,1,.36,1)}.albireo-sign:hover .albireo-sign-gh--b,.albireo-sign:focus-visible .albireo-sign-gh--b{animation:albireo-sign-b .75s cubic-bezier(.22,1,.36,1)}.albireo-sign:hover .albireo-sign-main,.albireo-sign:focus-visible .albireo-sign-main{animation:albireo-sign-m .75s cubic-bezier(.22,1,.36,1)}.albireo-sign:hover .albireo-sign-gl,.albireo-sign:focus-visible .albireo-sign-gl{animation:albireo-sign-g .9s cubic-bezier(.22,1,.36,1)}@keyframes albireo-sign-a{0%{opacity:.95;transform:translateX(-4px)}100%{opacity:0;transform:none}}@keyframes albireo-sign-b{0%{opacity:.95;transform:translateX(4px)}100%{opacity:0;transform:none}}@keyframes albireo-sign-m{0%{opacity:.35}100%{opacity:1}}.albireo-sign .albireo-sign-t{transform-box:fill-box;transform-origin:center bottom}.albireo-sign:hover .albireo-sign-t,.albireo-sign:focus-visible .albireo-sign-t{animation:albireo-sign-t .55s cubic-bezier(.22,1,.36,1) calc(.12s + var(--i) * 70ms) both}.albireo-sign:hover .albireo-sign-div,.albireo-sign:focus-visible .albireo-sign-div{animation:albireo-sign-d .6s ease .05s}@keyframes albireo-sign-t{0%{transform:none}35%{transform:translateY(-14%) scale(1.12);fill:var(--albireo-sign-gold,#ffc46a)}100%{transform:none}}@keyframes albireo-sign-d{40%{stroke:#ffc46a;stroke-width:2}}.albireo-sign--light{--albireo-sign-gold:#d98a1c}@keyframes albireo-sign-g{0%{transform:rotate(0) scale(1)}40%{transform:rotate(45deg) scale(1.6)}100%{transform:rotate(90deg) scale(1)}}@media (prefers-reduced-motion:reduce){.albireo-sign *{animation:none!important}}
.foot-site .fs-sign { display: flex; align-items: center; padding: 6px 4px 2px; }
.foot-site a.albireo-sign { margin: 0; opacity: .92; transition: opacity .2s, transform .2s; } .foot-site a.albireo-sign:hover { opacity: 1; transform: translateY(-1px); }

/* кнопки установки в подвале — только значки (09.10.2026), рядом с кнопками поддержки */
.foot-site .fs-apps-ico { display: inline-flex; gap: 8px; align-items: center; }
.foot-site .fs-bottom a.fs-app { margin: 0; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line2, rgba(255, 255, 255, .16)); text-decoration: none; transition: transform .18s, background .18s, border-color .18s; }
.foot-site .fs-bottom a.fs-app i { font-size: 20px; color: var(--text); }
.foot-site .fs-bottom a.fs-app:hover { transform: translateY(-2px); background: rgba(255, 212, 92, .14); border-color: rgba(255, 212, 92, .55); }
@media (max-width: 700px) { .foot-site .fs-apps-ico { width: 100%; justify-content: center; } .foot-site .fs-bottom a.fs-app { width: 44px; height: 44px; } }
