/* TURON UZ RP · баг-трекер bugs.turon-rp.uz — тёмная тема сайта turon-rp.uz (Unbounded + Manrope, бирюза и золото) */
:root {
  --bg: #05070c; --bg-2: #0a0e17; --card: #0d121d; --card-2: #121a28; --card-3: #172133;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f3f6fb; --text-2: #c5cdda; --muted: #8d97ab;
  --tq: #2ee6d6; --tq-2: #0fb5c9; --gold: #ffb547; --blue: #4c8dff; --red: #ff4d6a; --green: #34d399; --violet: #a78bfa;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif; --body: 'Manrope', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 18px; --wrap: 1280px; --pad: clamp(16px, 3.4vw, 40px);
  --flag: linear-gradient(90deg,#0099b5 0 32.5%,#ce1126 32.5% 34%,#fff 34% 66%,#ce1126 66% 67.5%,#1eb53a 67.5% 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--tq); color: #001; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { color: var(--gold); font-weight: 700; }
[hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, opacity .2s; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn--main { color: #00141a; background: linear-gradient(135deg, #6ff7ea 0%, var(--tq) 45%, var(--tq-2) 100%); box-shadow: 0 0 0 1px rgba(46,230,214,.4), 0 10px 30px -8px rgba(46,230,214,.5); }
.btn--main:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(46,230,214,.7), 0 14px 44px -6px rgba(46,230,214,.75); transform: translateY(-1px); }
.btn--gold { color: #241500; background: linear-gradient(135deg, #ffd88f, var(--gold)); box-shadow: 0 10px 30px -10px rgba(255,181,71,.6); }
.btn--ghost { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.btn--danger { color: #fff; background: rgba(255,77,106,.16); box-shadow: inset 0 0 0 1px rgba(255,77,106,.5); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 11px; border-radius: 12px; }
.btn--xs { height: 34px; padding: 0 12px; font-size: 10.5px; border-radius: 10px; gap: 6px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .45; }
.btn svg { width: 17px; height: 17px; }
.lnk { color: var(--tq); font-weight: 700; }
.lnk:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- шапка ---------- */
.flag { height: 4px; background: var(--flag); }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(5,7,12,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 26px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.logo__uz { display: inline-flex; align-items: center; justify-content: center; height: 25px; padding: 0 7px; border-radius: 7px; background: var(--tq); color: #00141a; font-size: 11.5px; letter-spacing: .04em; }
.logo__sub { padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--muted); text-transform: none; }
.nav { display: flex; gap: 6px; margin-left: 10px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: var(--text-2); transition: background .2s, color .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: #fff; background: rgba(46,230,214,.1); box-shadow: inset 0 0 0 1px rgba(46,230,214,.28); }
.nav__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #241500; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.me { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 6px; padding-right: 14px; border-radius: 13px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.ava { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #1e3a5a, #0f5f68); font-family: var(--display); font-weight: 800; font-size: 12px; color: #c9fffa; }
.ava--adm { background: linear-gradient(135deg, #5a3a0e, #9a6412); color: #ffe2b0; }
.me__t { display: grid; line-height: 1.15; }
.me__t b { font-size: 13.5px; }
.me__t span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.me__t span em { font-style: normal; color: var(--gold); font-weight: 800; }
.hdr__plus { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); align-items: center; justify-content: center; }
.mnav { position: fixed; inset: 76px 0 0; z-index: 49; padding: 20px var(--pad) 28px; background: rgba(5,7,12,.97); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 6px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.is-menu .mnav { opacity: 1; transform: none; visibility: visible; }
.mnav a.mnav__a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.mnav__me { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 8px; border-radius: 16px; background: var(--card); }
.mnav__me .me__t b { font-size: 15px; }
.mnav .btn { margin-top: 18px; }

/* роли: что видит гость, игрок, админ */
html:not(.as-guest) .g-only, html.as-guest .u-only, html:not(.as-admin) .a-only { display: none !important; }

/* ---------- заголовок страницы ---------- */
.ptop { position: relative; padding: 44px 0 26px; overflow: hidden; isolation: isolate; }
.ptop::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 120% at 85% 0%, rgba(46,230,214,.14), transparent 70%), radial-gradient(35% 90% at 0% 100%, rgba(76,141,255,.10), transparent 70%); }
.girih { position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232ee6d6' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='35' y='35' width='50' height='50'/%3E%3Crect x='35' y='35' width='50' height='50' transform='rotate(45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Cpath d='M0 0L35 35M120 0L85 35M0 120L35 85M120 120L85 85M60 0V25M60 95V120M0 60H25M95 60H120'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(55% 100% at 85% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(55% 100% at 85% 0%, #000 10%, transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--tq); }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.015em; text-transform: uppercase; }
.h1 em { font-style: normal; background: linear-gradient(100deg, #fff 0%, #9ffaf1 35%, var(--tq) 60%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 12px; max-width: 680px; font-size: 16.5px; color: #b9c2d1; }
.ptop__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.h2 { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* ---------- бейджи ---------- */
.st { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; --c: var(--blue); color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 38%, transparent); }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--new { --c: #6aa2ff; } .st--info { --c: var(--gold); } .st--ok { --c: var(--tq); } .st--dup { --c: var(--violet); } .st--notbug { --c: #9aa4b5; } .st--fixed { --c: var(--green); } .st--closed { --c: #6b7588; }
.st--lg { height: 32px; padding: 0 14px; font-size: 13px; }
.row__r .tag { white-space: normal; height: auto; padding: 4px 9px; line-height: 1.2; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--text-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--text-2); white-space: nowrap; }
.sev__d { display: inline-flex; gap: 2px; }
.sev__d i { width: 5px; height: 12px; border-radius: 2px; background: rgba(255,255,255,.12); }
.sev__d i.on { background: var(--sc, var(--gold)); }
.uzc { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,181,71,.13); color: var(--gold); font-weight: 800; font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.uzc::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe7b3, #ffb547 55%, #b97510); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.uzc--wait { background: rgba(255,255,255,.06); color: var(--muted); }
.uzc--wait::before { background: rgba(255,255,255,.2); }
.hid { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: rgba(255,77,106,.14); color: #ff9aac; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.hid svg { width: 13px; height: 13px; }

/* ---------- список ---------- */
.lay { display: grid; grid-template-columns: 1fr; gap: 26px; padding-block: 6px 70px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button, .tabs a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 11px; font-weight: 800; font-size: 14px; color: var(--muted); }
.tabs [aria-selected="true"] { background: rgba(255,255,255,.09); color: #fff; }
.tabs small { font-size: 12px; color: var(--muted); font-weight: 700; }
.srch { flex: 1; min-width: 260px; position: relative; }
.srch svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; color: var(--muted); }
.srch input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 13px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.srch input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--tq), 0 0 0 4px rgba(46,230,214,.12); }
.sel { height: 46px; padding: 0 40px 0 14px; border-radius: 13px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d97ab' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; -webkit-appearance: none; appearance: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 11px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13.5px; color: var(--text-2); transition: background .2s, box-shadow .2s, color .2s; }
.chip:hover { color: #fff; }
.chip small { color: var(--muted); font-weight: 700; font-size: 12px; }
.chip[aria-pressed="true"] { background: rgba(46,230,214,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(46,230,214,.5); }
.chip[aria-pressed="true"] small { color: var(--tq); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.filters { display: grid; gap: 10px; }
.filters__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.filters__row > span { flex: none; width: 92px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.list { display: grid; gap: 8px; }
.row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 140px 120px 56px; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, box-shadow .2s, transform .2s; }
.row:hover { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.row:active { transform: scale(.995); }
.row__n { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--muted); }
.row__m { min-width: 0; }
.row__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 800; font-size: 16px; line-height: 1.35; color: #fff; overflow: hidden; }
.row__t::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.row__s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.row__s b { color: var(--text-2); font-weight: 700; }
.row__st { display: flex; justify-content: flex-start; }
.row__r { display: flex; justify-content: flex-start; }
.vote { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 800; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.vote svg { width: 16px; height: 16px; color: var(--muted); }
.vote.is-on { color: var(--tq); } .vote.is-on svg { color: var(--tq); }
.lhead { display: grid; grid-template-columns: 64px minmax(0, 1fr) 140px 120px 56px; gap: 18px; padding: 0 20px 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lhead span:last-child { text-align: right; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 60px 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.empty__i { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center; background: rgba(46,230,214,.1); color: var(--tq); }
.empty__i svg { width: 26px; height: 26px; }
.empty b { font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.empty p { max-width: 440px; color: var(--muted); }
.skel { height: 78px; border-radius: 16px; background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.lnote { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255,77,106,.07); box-shadow: inset 0 0 0 1px rgba(255,77,106,.22); font-size: 13.5px; color: #ffc2cc; }
.lnote svg { color: #ff8aa0; }
.more { display: flex; justify-content: center; margin-top: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* боковая колонка списка */
.lay--side { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.side { display: grid; gap: 14px; position: sticky; top: 96px; }
.box { padding: 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.box--tq { background: linear-gradient(160deg, rgba(46,230,214,.12), rgba(13,18,29,1) 55%); box-shadow: inset 0 0 0 1px rgba(46,230,214,.28); }
.box--gold { background: linear-gradient(160deg, rgba(255,181,71,.12), rgba(13,18,29,1) 60%); box-shadow: inset 0 0 0 1px rgba(255,181,71,.3); }
.box .h3 { margin-bottom: 12px; }
.grid5 { display: grid; gap: 6px; }
.grid5 div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.035); font-size: 13.5px; font-weight: 700; }
.grid5 div span { display: inline-flex; align-items: center; gap: 8px; }
.mystat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.mystat div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.mystat b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.mystat span { font-size: 12px; color: var(--muted); font-weight: 600; }
.mystat .g { color: var(--gold); }
.small { font-size: 13.5px; color: var(--muted); }
.small b { color: var(--text-2); }
.box p + .btn { margin-top: 14px; }

/* ---------- карточка бага ---------- */
.bug { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; padding-block: 8px 80px; }
.bug__h { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.005em; }
.bug__n { font-family: var(--mono); font-size: 15px; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bug__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.bug__meta b { color: var(--text-2); }
.who { display: inline-flex; align-items: center; gap: 8px; }
.who .ava { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; }
.banner { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; margin-top: 20px; --c: var(--violet); background: color-mix(in srgb, var(--c) 10%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.banner__i { flex: none; display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.banner b { display: block; font-weight: 800; font-size: 15.5px; }
.banner p { margin-top: 2px; font-size: 14px; color: var(--text-2); }
.banner p a { color: var(--c); font-weight: 800; }
.banner--gold { --c: var(--gold); } .banner--red { --c: var(--red); } .banner--green { --c: var(--green); } .banner--tq { --c: var(--tq); }
.sec { margin-top: 26px; }
.sec .h3 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.txt { padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 15.5px; }
.txt ol { padding-left: 22px; display: grid; gap: 6px; }
.txt ol li::marker { color: var(--tq); font-weight: 800; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.txt--exp { box-shadow: inset 3px 0 0 var(--green), inset 0 0 0 1px var(--line); }
.txt--got { box-shadow: inset 3px 0 0 var(--red), inset 0 0 0 1px var(--line); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.shot { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.6); font-size: 11px; font-weight: 700; }
.vid { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14.5px; }
.vid__i { display: inline-flex; width: 38px; height: 38px; border-radius: 11px; align-items: center; justify-content: center; background: rgba(255,77,106,.14); color: #ff7d94; }
.vid small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.vid > svg:last-child { margin-left: auto; color: var(--muted); }
/* лента комментариев */
.feed { display: grid; gap: 12px; }
.cm { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.cm .ava { width: 36px; height: 36px; border-radius: 11px; }
.cm__b { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cm__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.cm__h b { color: #fff; font-size: 14px; }
.role { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.role--adm { background: rgba(255,181,71,.16); color: var(--gold); }
.role--me { background: rgba(46,230,214,.12); color: var(--tq); }
.role--int { background: rgba(167,139,250,.16); color: var(--violet); }
.cm--adm .cm__b { background: linear-gradient(160deg, rgba(255,181,71,.08), var(--card) 60%); box-shadow: inset 0 0 0 1px rgba(255,181,71,.28); }
.cm--int .cm__b { background: repeating-linear-gradient(135deg, rgba(167,139,250,.05) 0 10px, transparent 10px 20px), var(--card); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); }
.cm--sys { grid-template-columns: 36px 1fr; align-items: center; }
.cm--sys .cm__dot { justify-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--muted)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #888) 20%, transparent); }
.cm--sys p { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cm--sys p b { color: var(--text-2); }
.cm__p { color: var(--text-2); font-size: 15px; }
.reply { display: grid; gap: 10px; margin-top: 4px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.reply textarea { min-height: 84px; resize: vertical; padding: 4px; font-size: 15px; }
.reply textarea:focus { outline: 0; }
.reply__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
/* правая колонка карточки */
.facts { display: grid; gap: 0; padding: 6px 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { font-weight: 800; text-align: right; display: flex; align-items: center; gap: 8px; }
.metoo { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.metoo__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 8px 0 18px; border-radius: 14px; background: rgba(46,230,214,.08); box-shadow: inset 0 0 0 1px rgba(46,230,214,.35); font-weight: 800; font-size: 15px; transition: background .2s, transform .15s; }
.metoo__btn:hover:not(:disabled) { background: rgba(46,230,214,.14); }
.metoo__btn:active:not(:disabled) { transform: scale(.98); }
.metoo__btn span { display: inline-flex; align-items: center; gap: 10px; }
.metoo__btn b { min-width: 46px; height: 40px; padding: 0 10px; border-radius: 10px; background: rgba(0,0,0,.25); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; font-variant-numeric: tabular-nums; }
.metoo__btn[aria-pressed="true"] { background: var(--tq); color: #00141a; box-shadow: none; }
.metoo__btn[aria-pressed="true"] b { background: rgba(0,0,0,.15); }
.metoo__btn:disabled { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.metoo p { font-size: 13px; color: var(--muted); }
.pop { animation: pop .35s cubic-bezier(.2,.8,.2,1.4); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* ---------- форма ---------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; padding-block: 8px 80px; }
.fcard { display: grid; gap: 22px; padding: 26px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fld { display: grid; gap: 8px; }
.fld > label, .fld > .lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 14.5px; }
.fld > label small, .fld > .lbl small { font-weight: 600; font-size: 12.5px; color: var(--muted); }
.inp { width: 100%; height: 50px; padding: 0 16px; border-radius: 13px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 15.5px; transition: box-shadow .2s; }
textarea.inp { height: auto; min-height: 104px; padding: 13px 16px; line-height: 1.5; resize: vertical; }
.inp:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--tq), 0 0 0 4px rgba(46,230,214,.12); }
.inp::placeholder { color: #5c667a; }
.inp.is-err { box-shadow: inset 0 0 0 1px var(--red), 0 0 0 4px rgba(255,77,106,.12); }
.hint { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.err { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #ff8aa0; font-weight: 700; }
.err svg { width: 14px; height: 14px; }
select.inp { -webkit-appearance: none; appearance: none; padding-right: 42px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d97ab' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats label { position: relative; }
.cats input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cats span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 11px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 14px; color: var(--text-2); transition: background .2s, box-shadow .2s, color .2s; }
.cats input:checked + span { background: rgba(46,230,214,.12); box-shadow: inset 0 0 0 1px var(--tq); color: #fff; }
.cats input:focus-visible + span { outline: 2px solid var(--tq); outline-offset: 2px; }
.sevs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sevs label { position: relative; }
.sevs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sevs span { display: grid; gap: 2px; height: 100%; padding: 12px 12px 11px; border-radius: 13px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, box-shadow .2s; }
.sevs span b { font-family: var(--display); font-size: 18px; line-height: 1; color: var(--sc); }
.sevs span em { font-style: normal; font-weight: 800; font-size: 13.5px; line-height: 1.25; }
.sevs span small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.sevs input:checked + span { background: color-mix(in srgb, var(--sc) 12%, var(--bg-2)); box-shadow: inset 0 0 0 1px var(--sc); }
.sevs input:focus-visible + span { outline: 2px solid var(--tq); outline-offset: 2px; }
.drop { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 16px; border: 1.5px dashed rgba(46,230,214,.35); background: rgba(46,230,214,.035); text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover, .drop.is-over { background: rgba(46,230,214,.09); border-color: var(--tq); }
.drop__i { display: inline-flex; width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; background: rgba(46,230,214,.12); color: var(--tq); }
.drop b { font-weight: 800; }
.drop span { font-size: 13px; color: var(--muted); font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thumb { position: relative; aspect-ratio: 16/10; border-radius: 11px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 7px; background: rgba(0,0,0,.7); display: inline-flex; align-items: center; justify-content: center; }
.thumb button svg { width: 13px; height: 13px; }
.thumb small { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 5px; background: rgba(0,0,0,.65); font-size: 10.5px; font-weight: 700; }
.thumb--empty { display: flex; align-items: center; justify-content: center; color: #3c4658; font-weight: 800; font-size: 12px; box-shadow: inset 0 0 0 1px var(--line); background: transparent; border: 1px dashed var(--line-2); }
.fsend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.fsend p { font-size: 13px; color: var(--muted); font-weight: 600; }
.fsend p b { color: var(--text-2); }
.sim { display: grid; gap: 6px; }
.sim a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); transition: background .2s; }
.sim a:hover { background: rgba(255,255,255,.07); }
.sim a b { font-size: 13.5px; line-height: 1.35; font-weight: 700; }
.sim a small { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.sim a .st { height: 20px; font-size: 10.5px; padding: 0 8px; }
.sim__none { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted); }
mark { background: rgba(46,230,214,.22); color: #fff; border-radius: 3px; padding: 0 1px; }
.rules { display: grid; gap: 10px; counter-reset: r; }
.rules li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.rules li::before { counter-increment: r; content: counter(r); display: inline-flex; width: 24px; height: 24px; border-radius: 8px; align-items: center; justify-content: center; background: rgba(255,181,71,.15); color: var(--gold); font-weight: 800; font-size: 12px; }
.rules li b { color: #fff; }
.limit { display: flex; align-items: center; gap: 10px; }
.limit i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.limit i b { display: block; height: 100%; background: var(--tq); border-radius: 3px; }
/* результат отправки */
.done { display: grid; justify-items: center; gap: 12px; max-width: 640px; margin: 20px auto 80px; padding: 44px 32px; border-radius: 26px; text-align: center; background: radial-gradient(70% 60% at 50% 0%, rgba(46,230,214,.16), transparent 70%), var(--card); box-shadow: inset 0 0 0 1px rgba(46,230,214,.3); }
.done--gold { background: radial-gradient(70% 60% at 50% 0%, rgba(255,181,71,.16), transparent 70%), var(--card); box-shadow: inset 0 0 0 1px rgba(255,181,71,.32); }
.done--red { background: radial-gradient(70% 60% at 50% 0%, rgba(255,77,106,.16), transparent 70%), var(--card); box-shadow: inset 0 0 0 1px rgba(255,77,106,.32); }
.done__i { display: inline-flex; width: 72px; height: 72px; border-radius: 22px; align-items: center; justify-content: center; background: var(--tq); color: #00141a; box-shadow: 0 16px 50px -10px rgba(46,230,214,.7); }
.done--gold .done__i { background: var(--gold); color: #241500; box-shadow: 0 16px 50px -10px rgba(255,181,71,.6); }
.done--red .done__i { background: var(--red); color: #fff; box-shadow: 0 16px 50px -10px rgba(255,77,106,.6); }
.done__i svg { width: 34px; height: 34px; stroke-width: 2.4; }
.done__n { font-family: var(--mono); font-weight: 700; font-size: 44px; line-height: 1; color: var(--tq); letter-spacing: .02em; }
.done h1 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; text-transform: uppercase; }
.done p { color: var(--text-2); max-width: 470px; }
.done__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-top: 10px; text-align: left; }
.steps3 div { padding: 12px; border-radius: 13px; background: rgba(255,255,255,.04); font-size: 13px; color: var(--muted); font-weight: 600; }
.steps3 b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; }

/* ---------- вход ---------- */
.auth { position: relative; display: grid; place-items: center; min-height: calc(100vh - 76px); padding: 40px var(--pad) 60px; isolation: isolate; overflow: hidden; }
.auth::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 20%, rgba(46,230,214,.16), transparent 70%), radial-gradient(40% 50% at 80% 90%, rgba(76,141,255,.12), transparent 70%); }
.auth .girih { -webkit-mask-image: radial-gradient(50% 60% at 50% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(50% 60% at 50% 30%, #000 10%, transparent 75%); }
.acard { width: 100%; max-width: 440px; display: grid; gap: 18px; padding: 32px; border-radius: 24px; background: rgba(13,18,29,.92); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0,0,0,.8); }
.acard__top { display: grid; gap: 8px; }
.acard__top h1 { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.acard__top p { color: var(--muted); font-size: 14.5px; }
.pw { position: relative; }
.pw .inp { padding-right: 52px; }
.pw button { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.pw button:hover { color: #fff; background: rgba(255,255,255,.06); }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 14px; --c: var(--red); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); font-size: 14px; }
.alert svg { color: var(--c); margin-top: 2px; }
.alert b { display: block; }
.alert span { color: var(--text-2); }
.alert--gold { --c: var(--gold); } .alert--tq { --c: var(--tq); }
.acard__or { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.acard__or::before, .acard__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.acard__dl { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); }
.acard__dl img { width: 44px; height: 44px; border-radius: 12px; }
.acard__dl div { flex: 1; font-size: 13.5px; color: var(--muted); }
.acard__dl b { display: block; color: #fff; font-size: 14.5px; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(46,230,214,.2); border-top-color: var(--tq); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- награды ---------- */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 18px; border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--sc) 12%, var(--card)) 0%, var(--card) 55%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc) 32%, transparent); overflow: hidden; }
.tier__n { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--sc); }
.tier__h { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.15; text-transform: uppercase; }
.tier__p { display: flex; align-items: baseline; gap: 6px; }
.tier__p b { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.tier__p span { font-weight: 800; color: var(--gold); }
.tier ul { list-style: none; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.tier ul li { display: grid; grid-template-columns: 10px 1fr; gap: 8px; }
.tier ul li::before { content: ''; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--sc); }
.tier--top { box-shadow: inset 0 0 0 1px var(--red), 0 20px 60px -30px rgba(255,77,106,.7); }
.tier__flag { align-self: flex-start; order: -1; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 7px; background: rgba(255,77,106,.18); color: #ff9aac; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 34px; padding-bottom: 80px; align-items: start; }
.rlist { display: grid; gap: 10px; }
.ritem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ritem__i { display: inline-flex; width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; background: rgba(46,230,214,.1); color: var(--tq); }
.ritem b { display: block; font-weight: 800; font-size: 15.5px; }
.ritem p { margin-top: 3px; font-size: 14px; color: var(--text-2); }
.ritem--red { box-shadow: inset 0 0 0 1px rgba(255,77,106,.4); background: linear-gradient(160deg, rgba(255,77,106,.08), var(--card) 60%); }
.ritem--red .ritem__i { background: rgba(255,77,106,.14); color: #ff8aa0; }
.top { padding: 22px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.top__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.top table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.top th { text-align: left; padding: 0 8px 8px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.top th:nth-child(n+3), .top td:nth-child(n+3) { text-align: right; }
.top td { padding: 10px 8px; border-top: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.top td:first-child { width: 36px; font-family: var(--mono); color: var(--muted); }
.top tr.is-1 td:first-child { color: var(--gold); } .top tr.is-2 td:first-child { color: #d5dbe5; } .top tr.is-3 td:first-child { color: #e0a06a; }
.top tr.is-me td { background: rgba(46,230,214,.07); }
.top tr.is-me td:first-child { border-radius: 10px 0 0 10px; } .top tr.is-me td:last-child { border-radius: 0 10px 10px 0; }
.top td .g { color: var(--gold); }
.top__f { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---------- админка ---------- */
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; padding-block: 22px 80px; }
.anav { position: sticky; top: 96px; display: grid; gap: 4px; padding: 10px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.anav__h { padding: 8px 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.anav a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.anav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.anav a[aria-current="page"] { background: rgba(46,230,214,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(46,230,214,.28); }
.anav a i { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.anav a i.hot { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #2f6bff; color: #fff; }
.anav a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.anav__sep { height: 1px; margin: 6px 4px; background: var(--line); }
.anav a.is-lock { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { padding: 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.kpi b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.kpi--hot b { color: #8bb4ff; } .kpi--gold b { color: var(--gold); }
.q { display: grid; gap: 6px; }
.qrow { display: grid; grid-template-columns: 70px minmax(0, 1fr) 128px 120px 130px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; position: relative; }
.qrow:hover { background: var(--card-2); }
.qrow.is-on { box-shadow: inset 0 0 0 1px var(--tq); background: rgba(46,230,214,.06); }
.qrow b.t { display: block; font-size: 14.5px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrow small { color: var(--muted); font-weight: 600; }
.qrow .row__n { font-size: 13px; }
.qrow a.cover { position: absolute; inset: 0; border-radius: 14px; }
.qhead { display: grid; grid-template-columns: 70px minmax(0, 1fr) 128px 120px 130px; gap: 14px; padding: 0 16px 2px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.age { font-weight: 800; color: var(--text-2); }
.age.is-old { color: #ff8aa0; }
.acard2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.panel { position: sticky; top: 96px; display: grid; gap: 16px; padding: 20px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(255,181,71,.3), 0 30px 60px -40px rgba(0,0,0,.8); }
.panel__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel .fld > .lbl { font-size: 13px; }
.stg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stg label { position: relative; }
.stg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.stg span { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 13px; color: var(--text-2); --c: var(--muted); }
.stg span::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.stg input:checked + span { color: #fff; background: color-mix(in srgb, var(--c) 14%, var(--bg-2)); box-shadow: inset 0 0 0 1px var(--c); }
.sev5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sev5 label { position: relative; }
.sev5 input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sev5 span { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sev5 span b { font-family: var(--display); font-size: 16px; color: var(--sc); line-height: 1.1; }
.sev5 span small { font-size: 10.5px; font-weight: 800; color: var(--gold); }
.sev5 input:checked + span { background: color-mix(in srgb, var(--sc) 14%, var(--bg-2)); box-shadow: inset 0 0 0 1px var(--sc); }
.paybox { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,181,71,.08); box-shadow: inset 0 0 0 1px rgba(255,181,71,.3); font-size: 13.5px; font-weight: 700; }
.paybox b { font-family: var(--display); font-size: 18px; color: var(--gold); }
.paybox small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.duprow { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.dupok { padding: 10px 12px; border-radius: 11px; background: rgba(167,139,250,.08); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.dupok b { color: #fff; }
.intc { min-height: 76px !important; background: repeating-linear-gradient(135deg, rgba(167,139,250,.05) 0 10px, transparent 10px 20px), var(--bg-2) !important; box-shadow: inset 0 0 0 1px rgba(167,139,250,.4) !important; }
.panel__f { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.panel__f p { font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: center; }
.stbl { width: 100%; border-collapse: collapse; }
.stbl th { text-align: left; padding: 0 12px 10px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.stbl td { padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 700; vertical-align: middle; }
.stbl .inp { height: 42px; max-width: 140px; }
.stbl .inp.w { max-width: none; }
.money { position: relative; display: inline-block; }
.money .inp { padding-right: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.money span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-size: 12px; font-weight: 800; color: var(--gold); }
.lock { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.sets { display: grid; gap: 18px; }
.sets .box { padding: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 0; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 18px 12px 12px; border-radius: 16px; background: #101827; box-shadow: inset 0 0 0 1px rgba(46,230,214,.4), 0 20px 50px -10px rgba(0,0,0,.7); font-weight: 700; font-size: 14px; animation: tin .35s cubic-bezier(.2,.8,.2,1); }
.toast__i { display: inline-flex; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; background: var(--tq); color: #00141a; flex: none; }
.toast small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
@keyframes tin { from { opacity: 0; translate: -50% 12px; } }
.deny { max-width: 560px; margin: 60px auto 100px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.deny .done__i { background: rgba(255,255,255,.08); color: var(--muted); box-shadow: none; }

/* ---------- лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto; background: rgba(3,5,9,.94); backdrop-filter: blur(8px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.lb__x, .lb__nav { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.16); }
.lb__stage { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; gap: 10px; padding: 0 16px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: calc(100vh - 170px); margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lb__strip { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.lb__strip button { width: 84px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; opacity: .5; box-shadow: inset 0 0 0 1px var(--line-2); }
.lb__strip button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--tq); }
.lb__strip img { width: 100%; height: 100%; object-fit: cover; }
.no-scroll { overflow: hidden; }

/* ---------- подвал ---------- */
.foot { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.foot__in nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__in a:hover { color: var(--tq); }

/* ---------- появление ---------- */
[data-r] { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
[data-r].in { opacity: 1; transform: none; }
.no-js [data-r], .shot-mode [data-r] { opacity: 1; transform: none; transition: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .lay--side, .bug, .form, .acard2 { grid-template-columns: 1fr; }
  .side, .panel { position: static; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .adm { grid-template-columns: 1fr; }
  .anav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .anav__h, .anav__sep { display: none; }
  .anav a { flex: none; }
}
@media (max-width: 980px) {
  .nav, .hdr__r .me, .hdr__r .btn--report, .hdr__r .g-login { display: none !important; }
  .burger, .hdr__plus { display: inline-flex; }
  .hdr__plus { width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: #00141a; background: linear-gradient(135deg, #6ff7ea, var(--tq)); }
  .row, .lhead { grid-template-columns: 1fr auto; }
  .lhead { display: none; }
  .row { gap: 10px 12px; padding: 14px 16px; }
  .row__n { grid-column: 1; grid-row: 1; font-size: 12.5px; }
  .row__m { grid-column: 1 / -1; grid-row: 2; }
  .row__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15.5px; }
  .row__st { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .row__r { grid-column: 1; grid-row: 3; }
  .row__v { grid-column: 2; grid-row: 3; }
  .row__v { justify-self: end; }
  .ptop__row > .btn { width: 100%; }
  .qrow, .qhead { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .qhead { display: none; }
  .qrow > :nth-child(4), .qrow > :nth-child(5) { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .rgrid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hdr__in { height: 64px; gap: 10px; }
  .mnav { inset: 68px 0 0; }
  .logo { font-size: 17px; }
  .logo__sub { font-size: 12px; padding-left: 10px; }
  .ptop { padding: 26px 0 18px; }
  .lead { font-size: 15.5px; }
  .two, .f2 { grid-template-columns: 1fr; }
  .sevs { grid-template-columns: 1fr; }
  .sevs span { grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .fcard { padding: 18px; border-radius: 18px; gap: 20px; }
  .fsend .btn { width: 100%; }
  .tiers { grid-template-columns: 1fr; }
  .tier { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; }
  .tier ul { grid-column: 1 / -1; }
  .tier__p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .tier__p b { font-size: 34px; }
  .tier__flag { justify-self: start; grid-column: 1 / -1; }
  .filters__row { flex-direction: column; align-items: stretch; gap: 6px; }
  .filters__row > span { width: auto; }
  .chips { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .bar .tabs { width: 100%; } .bar .tabs > * { flex: 1; justify-content: center; }
  .srch { min-width: 0; flex-basis: 100%; }
  .steps3 { grid-template-columns: 1fr; }
  .done { padding: 32px 20px; margin: 10px 0 60px; }
  .done__n { font-size: 36px; }
  .acard { padding: 24px 20px; }
  .lb__stage { grid-template-columns: 1fr; padding: 0 8px; }
  .lb__nav { display: none; }
  .lb__strip button { width: 60px; }
  .duprow { grid-template-columns: 1fr; }
  .stbl th:nth-child(3), .stbl td:nth-child(3) { display: none; }
  .top { padding: 16px; }
  .top td, .top th { padding-inline: 5px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-r] { opacity: 1; transform: none; }
}

.acard2 .bug__h { font-size: clamp(20px, 2vw, 26px); }
.paybox b { white-space: nowrap; }
.fld > .drop { display: grid; }
.sim--inline { display: none; }
@media (max-width: 1180px) { .sim--inline { display: grid; } .sim--inline .sim__none { display: none; } .form .side .box:first-child { display: none; } }
@media (max-width: 720px) { .thumb--empty { display: none; } .thumbs:empty { display: none; } .drop span:last-child { font-size: 12px; } }
.bug__top, .bug__main { min-width: 0; grid-column: 1; }
.bug > .side { grid-column: 2; grid-row: 1 / span 2; }
.bug__main > .banner:first-child, .bug__main > .sec:first-child { margin-top: 0; }
.bug { row-gap: 22px; }
@media (max-width: 1180px) { .bug > .side { grid-column: 1; grid-row: 2; } .bug__main { grid-row: 3; } }
@media (max-width: 720px) {
  .tier--top .tier__flag { grid-row: 1; }
  .tier--top .tier__p { grid-row: 2 / span 2; }
  .facts { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .facts div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0; }
  .facts dd { text-align: left; }
  .bug .side > .btn, .bug .side > .box { display: none; }
}
