:root {
  --bg: #120d16;
  --bg-2: #1a1320;
  --card: #211827;
  --card-2: #2a1f32;
  --line: #3a2c44;
  --text: #f6eef7;
  --muted: #b3a2ba;
  --dim: #7f6d88;
  --accent: #ff5a36;
  --accent-2: #ffb547;
  --violet: #a46bff;
  --ok: #3ddc97;
  --warn: #ffb547;
  --bad: #ff4d6d;
  --live: #ff2d55;
  --twitch: #9146ff;
  --kick: #53fc18;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(164, 107, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 90, 54, .14), transparent 60%),
    var(--bg);
  color: var(--text); font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video, iframe { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; }
h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); font-size: 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── header ───────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(18, 13, 22, .78); border-bottom: 1px solid var(--line); }
.top__inner { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 20px -6px var(--accent); }
.logo__text { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; }
.logo__text b { font-weight: 900; font-size: 15px; letter-spacing: .08em; }
.logo__text i { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--accent-2); margin-top: 3px; }
.tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: .15s; }
.tab:hover { color: var(--text); background: var(--card); }
.tab.is-active { color: var(--text); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.tab--admin { color: var(--accent-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 45, 85, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 45, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); } }
.top__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.soc { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); transition: .15s; }
.soc:hover { transform: translateY(-2px); border-color: var(--accent); }
.soc i { width: 16px; height: 16px; background: var(--text); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.soc--big { width: auto; height: auto; padding: 10px 14px; gap: 10px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 14px; }

/* ── buttons & forms ───────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--grad); border: 0; color: #1a0d07; box-shadow: 0 10px 30px -12px var(--accent); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; }
.btn--sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn--ok { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .4); color: var(--ok); }
.btn--bad { background: rgba(255, 77, 109, .12); border-color: rgba(255, 77, 109, .4); color: var(--bad); }
.btn--warn { background: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .4); color: var(--warn); }
.btn--twitch { background: var(--twitch); border: 0; color: #fff; }
.btn--kick { background: var(--kick); border: 0; color: #0b1a05; }
.btn--vk { background: #0077ff; border: 0; color: #fff; }
.btn--telegram { background: #27a7e7; border: 0; color: #fff; }
.btn i.ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 700; font-size: 14px; }
.input, textarea.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); outline: none; transition: .15s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 54, .2); }
textarea.input { min-height: 200px; resize: vertical; line-height: 1.6; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 700; font-size: 14px; transition: .15s; }
.seg input:checked + span { border-color: var(--accent); background: rgba(255, 90, 54, .12); color: var(--text); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 90, 54, .35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }

/* ── layout ───────────────────────────── */
.page { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 16px 60px; outline: none; }
.section { margin-bottom: 44px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty b { display: block; font-size: 40px; margin-bottom: 8px; }
.loader { display: grid; place-items: center; padding: 60px; color: var(--dim); }
.loader::before { content: ''; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero */
.hero { position: relative; overflow: hidden; border-radius: 24px; padding: 34px; margin-bottom: 36px; background: linear-gradient(120deg, #2a1531 0%, #1d1423 55%, #2b160f 100%); border: 1px solid var(--line); }
.hero::after { content: '🛋'; position: absolute; right: -10px; bottom: -40px; font-size: 220px; opacity: .1; transform: rotate(-12deg); pointer-events: none; }
.hero p { max-width: 620px; color: var(--muted); font-size: 17px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--card-2); border: 1px solid var(--line); }
.badge--live { background: var(--live); border: 0; color: #fff; }
.badge--live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ── stream ───────────────────────────── */
.stream { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.stream--nochat { grid-template-columns: 1fr; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chat { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.chat iframe { width: 100%; height: 100%; border: 0; }
.stream__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.stream__title { font-weight: 800; font-size: 18px; }
.platforms { display: flex; gap: 8px; margin-bottom: 14px; }
.offline { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.offline__emoji { font-size: 64px; line-height: 1; margin-bottom: 12px; }

/* ── episodes ─────────────────────────── */
.ep { cursor: pointer; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: .2s; text-align: left; padding: 0; }
.ep:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.ep__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2) center / cover; }
.ep__thumb::after { content: '▶'; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); font-size: 20px; opacity: 0; transition: .2s; }
.ep:hover .ep__thumb::after { opacity: 1; }
.ep__body { padding: 14px 16px 16px; }
.ep__title { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-s); overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── stories (review cards) ───────────── */
.story { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: .2s; text-align: left; color: inherit; }
.story:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow); }
.story__quote { position: absolute; top: 8px; right: 18px; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--violet); opacity: .25; }
.story__text { white-space: pre-line; color: #e8dcea; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.story__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ava { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--grad); color: #1a0d07; object-fit: cover; }
.ava--anon { background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.author b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.author small { color: var(--dim); font-size: 12px; }
.score { display: flex; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.score .up { color: var(--ok); } .score .down { color: var(--bad); }
.rating { display: flex; gap: 3px; }
.rating span { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.rating span.on { background: var(--grad); }

/* ── videos ───────────────────────────── */
.vid { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: .2s; text-align: left; padding: 0; color: inherit; }
.vid:hover { border-color: var(--accent); transform: translateY(-2px); }
.vid__media { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover; display: grid; place-items: center; }
.vid__media video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vid__media .play { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); font-size: 18px; }
.vid__link { padding: 20px; color: var(--muted); font-weight: 700; word-break: break-all; text-align: center; }
.vid__body { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.vid__body p { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── images carousel ──────────────────── */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.carousel__item { flex: 0 0 auto; width: min(78vw, 360px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; cursor: pointer; background: var(--card); border: 1px solid var(--line); position: relative; padding: 0; }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.carousel__item:hover img { transform: scale(1.04); }
.carousel__item .score { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.carousel__nav { position: absolute; top: calc(50% - 26px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(18, 13, 22, .85); cursor: pointer; font-size: 18px; display: grid; place-items: center; z-index: 2; }
.carousel__nav--prev { left: -12px; } .carousel__nav--next { right: -12px; }
.carousel__count { font-size: 14px; color: var(--muted); font-weight: 700; }

/* ── post modal ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 3, 8, .78); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); animation: pop .2s ease-out; }
.modal__box--narrow { width: min(440px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; z-index: 2; }
.modal__body { padding: 26px; }
.post__media { margin: -26px -26px 20px; background: #000; border-radius: 22px 22px 0 0; overflow: hidden; }
.post__media img, .post__media video { width: 100%; max-height: 70vh; object-fit: contain; margin: 0 auto; }
.post__text { white-space: pre-wrap; font-size: 17px; line-height: 1.7; margin-bottom: 20px; overflow-wrap: anywhere; }
.post__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.react { display: flex; gap: 8px; margin: 18px 0 26px; }
.react .btn.is-on.up { background: rgba(61, 220, 151, .18); border-color: var(--ok); color: var(--ok); }
.react .btn.is-on.down { background: rgba(255, 77, 109, .16); border-color: var(--bad); color: var(--bad); }
.comments { border-top: 1px solid var(--line); padding-top: 20px; }
.comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(58, 44, 68, .5); }
.comment__body { flex: 1; min-width: 0; }
.comment__body p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment__meta { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.comment__meta b { font-size: 14px; }
.comment__del { margin-left: auto; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 13px; }
.comment__del:hover { color: var(--bad); }
.comment-form { display: flex; gap: 10px; margin-top: 16px; align-items: flex-end; }
.comment-form textarea { min-height: 48px; height: 48px; }

/* ── login / account ─────────────────── */
.login { display: flex; flex-direction: column; gap: 10px; }
.login .btn { justify-content: flex-start; padding: 14px 18px; font-size: 15px; }
.tg-wait { padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.tg-wait::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line); border-top-color: #27a7e7; animation: spin .8s linear infinite; }
.account { position: relative; }
.account__btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 700; font-size: 14px; max-width: 200px; }
.account__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account__btn .ava { width: 30px; height: 30px; font-size: 13px; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); z-index: 30; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.menu a:hover, .menu button:hover { background: var(--card-2); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu small { display: block; padding: 6px 12px 2px; color: var(--dim); font-size: 12px; }

/* ── submit ───────────────────────────── */
.submit { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.rules { position: sticky; top: 90px; }
.rules ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.rules li { margin-bottom: 10px; }
.drop { border: 2px dashed var(--line); border-radius: 14px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: .15s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: rgba(255, 90, 54, .05); }
.drop input { display: none; }
.drop__preview { margin-top: 12px; max-height: 260px; border-radius: 10px; margin-left: auto; margin-right: auto; }

/* ── statuses ─────────────────────────── */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.st--pending { background: rgba(164, 107, 255, .16); color: #c9a8ff; }
.st--approved { background: rgba(61, 220, 151, .14); color: var(--ok); }
.st--viewed { background: rgba(255, 181, 71, .14); color: var(--accent-2); }
.st--rejected { background: rgba(179, 162, 186, .14); color: var(--muted); }
.st--violation { background: rgba(255, 77, 109, .16); color: var(--bad); }
.list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.row__main { flex: 1; min-width: 0; }
.row__main p { margin: 2px 0 0; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── admin ────────────────────────────── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.chip em { font-style: normal; padding: 0 7px; border-radius: 999px; background: var(--card-2); font-size: 12px; }
.chip.is-active { border-color: var(--accent); background: rgba(255, 90, 54, .12); }
.sub { padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sub__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sub__head h3 { margin: 0; }
.sub__meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; font-size: 14px; color: var(--muted); }
.sub__meta b { color: var(--text); font-weight: 700; }
.sub__text { white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; max-height: 320px; overflow: auto; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.sub__text.is-open { max-height: none; }
.sub__media img, .sub__media video { max-height: 420px; border-radius: 12px; background: #000; }
.sub__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.sub--banned { border-color: rgba(255, 77, 109, .5); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { color: var(--dim); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .input { flex: 1; min-width: 200px; }

/* ── support ──────────────────────────── */
.btn--support { background: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .45); color: var(--accent-2); }
.btn--support:hover { border-color: var(--accent-2); background: rgba(255, 181, 71, .2); }
.support__list { display: flex; flex-direction: column; gap: 10px; }
.support__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; cursor: pointer; text-align: left; transition: .15s; }
.support__opt:hover { border-color: var(--accent-2); transform: translateY(-1px); }
.support__opt b { display: block; font-size: 16px; }
.support__opt small { display: block; color: var(--muted); font-size: 13px; }
.support__opt > span:nth-child(2) { flex: 1; min-width: 0; }
.support__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--card-2); flex-shrink: 0; }
.support__arrow { color: var(--dim); font-size: 18px; }
.support__opt[aria-expanded="true"] .support__arrow { transform: rotate(180deg); }
.crypto { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.crypto__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.crypto__coin { display: flex; align-items: baseline; gap: 8px; }
.crypto__coin small { color: var(--dim); font-size: 12px; }
.crypto__addr { grid-column: 1 / -1; grid-row: 2; font-size: 12.5px; color: var(--text); word-break: break-all; user-select: all; font-family: ui-monospace, Consolas, monospace; }
.crypto__row .btn { grid-column: 2; grid-row: 1; }

/* ── toast / footer ───────────────────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--card-2); border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 60; transition: .25s; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { border-color: var(--bad); }
.foot { border-top: 1px solid var(--line); background: rgba(10, 7, 12, .5); }
.foot__inner { max-width: 1240px; margin: 0 auto; padding: 28px 16px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot__brand p { color: var(--dim); font-size: 14px; max-width: 420px; margin: 10px 0 0; }

/* ── responsive ───────────────────────── */
@media (max-width: 1100px) { .socials--top { display: none; } }
@media (max-width: 900px) {
  .stream, .submit, .offline { grid-template-columns: 1fr; }
  .chat { min-height: 460px; }
  .rules { position: static; }
  .top__inner { flex-wrap: wrap; gap: 10px; }
  .tabs { order: 3; flex-basis: 100%; }
  .top__right { margin-left: auto; }
  .carousel__nav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 24px 20px; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal__body { padding: 20px; }
  .post__media { margin: -20px -20px 18px; }
  .logo__text { display: none; }
  .btn--support span { display: none; }
  .card { padding: 18px; }
}
