/* ============================================================================
   community.css — раздел «Сообщество»: шкура «Трибуна» поверх общего каркаса сайта.
   Каркас (строка, шапка, вкладки, герой, «01 · НАЗВАНИЕ», карточки, сетка .sx-g) — общий
   со «Статистикой» (stats-sub.css, body.sx-page). Своё: коралл (--tb-a), табло — янтарные
   цифры точечным шрифтом Doto на тёмной панели, линия под заголовком — ряды трибун.
   Крупно и просто (замечание 10.10 «много мелкого»).
   ============================================================================ */
body.cm-page {
    --tb-a: #ff7a45; --tb-a2: #ffa071; --tb-b: #ffd166; --tb-deep: #1c120d;
    --tb-up: #4ade80; --tb-down: #fb7185; --tb-mute: #94a3b8;
    --tb-line: rgba(255, 122, 69, .32); --tb-wash: rgba(255, 122, 69, .08);
    --tb-dot: 'Doto', 'IBM Plex Sans Condensed', monospace;
    --sx-a: #ff7a45; --sx-b: #ffd166; --sx-c: #4ade80;
    --sx-a-wash: rgba(255, 122, 69, .08); --sx-b-wash: rgba(255, 209, 102, .08);
    --sx-a-line: rgba(255, 122, 69, .34); --sx-b-line: rgba(255, 209, 102, .3);
    --sx-tick: rgba(255, 122, 69, .26);
}
body.light.cm-page {
    --tb-a: #c2410c; --tb-a2: #ea580c; --tb-b: #b45309; --tb-deep: #fff4ec;
    --tb-up: #047857; --tb-down: #be123c; --tb-mute: #64748b;
    --tb-line: rgba(194, 65, 12, .26); --tb-wash: rgba(194, 65, 12, .06);
    --sx-a: #c2410c; --sx-b: #b45309; --sx-c: #047857;
    --sx-a-wash: rgba(194, 65, 12, .06); --sx-b-wash: rgba(180, 83, 9, .06);
    --sx-a-line: rgba(194, 65, 12, .28); --sx-b-line: rgba(180, 83, 9, .26); --sx-tick: rgba(194, 65, 12, .24);
}

/* ---------- шкура общих элементов ---------- */
.cm-page .kt-tabs { margin: 4px 0 0; }
.cm-page .kt-tabs a { font-size: 14px; }
.cm-page .kt-tabs a.on { background: var(--tb-a); color: #1f0d04; box-shadow: 0 0 14px rgba(255, 122, 69, .4); }
body.light.cm-page .kt-tabs a.on { color: #fff; box-shadow: none; }
.cm-page .page-content .hero { margin-top: 18px; }
.cm-page .page-content .hero .hero-sub { background: none; color: var(--tb-a); -webkit-text-fill-color: currentColor; font-size: 13px; }
/* номер секции — цифры табло */
body.cm-page .cm-num { font: 800 20px var(--tb-dot); color: var(--tb-b); background: #120c08; border: 1px solid rgba(255, 209, 102, .3); border-radius: 8px;
    min-width: 44px; height: 36px; display: inline-grid; place-items: center; padding: 0 6px; letter-spacing: .04em; text-shadow: 0 0 8px rgba(255, 209, 102, .55);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, .6); }
body.light.cm-page .cm-num { color: #ffd166; background: #2a1a10; }
.cm-page .strip-title { font-size: 17px; letter-spacing: .08em; }
.cm-page .strip-title i, .cm-page .strip-legend i, .cm-page .cm-verdict > i { color: var(--tb-a); }
.cm-page .strip-legend { font-size: 13px; }
/* линия под заголовком — ряды трибуны: ступеньки, яркие слева */
.cm-page .strip-head::after {
    height: 8px;
    background: linear-gradient(90deg, var(--tb-a), transparent) left bottom / 140px 2px no-repeat,
                repeating-linear-gradient(90deg, var(--sx-tick) 0 14px, transparent 14px 18px) left bottom / 100% 2px no-repeat,
                repeating-linear-gradient(90deg, var(--sx-tick) 0 14px, transparent 14px 18px) 9px 3px / 100% 2px no-repeat;
    -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent);
}
.cm-page .sx-card { background: linear-gradient(180deg, rgba(255, 122, 69, .045), transparent 40%), var(--mx-surface); border-color: var(--mx-line); padding: 18px 20px; }
.cm-page .sx-card::before { left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, transparent, var(--tb-a) 50%, transparent); -webkit-mask-image: none; mask-image: none; opacity: .7; }
body.light.cm-page .sx-card { background: var(--mx-surface); }
.cm-page .cm-verdict { font-size: 15.5px; line-height: 1.55; color: var(--text-color); opacity: .88; margin: 12px 0 0; }
.cm-page .cm-next a:hover { border-color: var(--tb-line); background: var(--tb-wash); }
.cm-page .cm-next i { color: var(--tb-a); }
.cm-page .cm-next b { font-size: 15px; } .cm-page .cm-next span { font-size: 13px; }
.cm-page .up { color: var(--tb-up); } .cm-page .down { color: var(--tb-down); }
.cm-page .cm-empty { font-size: 15px; }
.cm-page .sx-seg button { font-size: 14px; padding: 7px 13px; }
.cm-page .sx-seg button.on { background: var(--tb-a); color: #1f0d04; }
body.light.cm-page .sx-seg button.on { color: #fff; }

/* ---------- ряд: вкладки + аккаунт ---------- */
.tb-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 5; }
.tb-acct { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--mx-line-strong, var(--mx-line));
    background: var(--mx-surface); color: var(--text-color); font: 600 15px var(--mx-f-ui, 'Onest', sans-serif); cursor: pointer; text-decoration: none; transition: border-color .2s, background .2s, transform .15s; }
.tb-btn:hover { border-color: var(--tb-line); background: var(--tb-wash); }
.tb-btn.hot { background: var(--tb-a); border-color: var(--tb-a); color: #1f0d04; }
.tb-btn.hot:hover { background: var(--tb-a2); }
body.light .tb-btn.hot { color: #fff; }
.tb-btn.wide { width: 100%; padding: 13px 18px; font-size: 16px; }
.tb-btn:disabled { opacity: .55; cursor: default; }
.tb-btn.sm { padding: 7px 13px; font-size: 13.5px; }
.tb-bell { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mx-line); background: var(--mx-surface); color: var(--text-color); font-size: 17px; cursor: pointer; }
.tb-bell:hover { border-color: var(--tb-line); }
.tb-bell b { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--tb-a); color: #1f0d04; font: 700 12px/20px var(--sx-f); }
.tb-me { display: inline-flex; align-items: center; gap: 9px; padding: 4px 16px 4px 4px; border-radius: 999px; border: 1px solid var(--mx-line); background: var(--mx-surface); color: var(--text-color); text-decoration: none; font-weight: 600; font-size: 15px; }
.tb-me:hover { border-color: var(--tb-line); }
.tb-notes { position: absolute; right: 0; top: calc(100% + 8px); width: min(420px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; border: 1px solid var(--tb-line); border-radius: 16px;
    background: var(--bg-color, #0e0e10); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); padding: 8px; z-index: 50; }
body.light .tb-notes { background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .15); }
.tb-notes-h { padding: 8px 10px; font: 700 13px var(--sx-f); letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); }
.tb-notes a { display: flex; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text-color); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.tb-notes a:hover { background: var(--tb-wash); }
.tb-notes a i { color: var(--tb-a); margin-top: 3px; width: 16px; text-align: center; }
.tb-notes a.new { background: var(--tb-wash); }
.tb-notes a small { display: block; font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }
.tb-notes-e { padding: 10px 12px 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); }

/* ---------- деталь в шапке: табло ---------- */
.tb-hero-r { margin-left: auto; flex: 0 1 640px; min-width: 0; }
.tb-board { position: relative; border-radius: 18px; padding: 14px 18px 16px; color: #f5efe6; overflow: hidden;
    background: radial-gradient(circle, rgba(255, 209, 102, .07) 1px, transparent 1.6px) 0 0 / 7px 7px, linear-gradient(180deg, #17100b, #0c0907);
    border: 1px solid rgba(255, 122, 69, .35); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .25); }
.tb-board::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); pointer-events: none; }
.tb-board-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font: 600 12.5px var(--sx-f); letter-spacing: .16em; text-transform: uppercase; color: #c9b8a6; }
.tb-board-h em { font-style: normal; letter-spacing: .03em; text-transform: none; font-size: 13px; color: #ffb38f; }
.tb-board-g { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
.tb-cell { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 9px; border-radius: 10px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 209, 102, .12); min-width: 0; }
.tb-cell small { font: 600 11.5px var(--sx-f); letter-spacing: .12em; text-transform: uppercase; color: #b9a896; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-cell b { font: 800 34px/1.05 var(--tb-dot); color: #ffd166; text-shadow: 0 0 10px rgba(255, 209, 102, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.tb-cell b small { font: 700 15px var(--sx-f); color: #e8d6bf; text-shadow: none; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.tb-cell span { font-size: 13px; color: #d4c2ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-cell.coral b { color: #ff8a5c; text-shadow: 0 0 10px rgba(255, 122, 69, .5); }
.tb-cell.up b { color: #6ee7a1; text-shadow: 0 0 10px rgba(74, 222, 128, .4); }
.tb-cell.down b { color: #fb7185; text-shadow: 0 0 10px rgba(251, 113, 133, .4); }
.tb-cell.txt b { font: 700 18px/1.3 var(--sx-f); color: #f5efe6; text-shadow: none; white-space: normal; }
.tb-led { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tb-a); box-shadow: 0 0 9px var(--tb-a); margin-right: 8px; vertical-align: 1px; animation: tbLed 2.4s ease-in-out infinite; }
@keyframes tbLed { 50% { opacity: .35; } }
.tb-board .tb-led { background: #ff8a5c; box-shadow: 0 0 9px #ff8a5c; }

/* ---------- люди ---------- */
.tb-ava { --h: 20; flex: 0 0 auto; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 16px var(--sx-f); text-decoration: none;
    color: hsl(var(--h) 90% 85%); background: hsl(var(--h) 45% 24%); border: 1px solid hsl(var(--h) 55% 40%); }
.tb-ava.big { width: 64px; height: 64px; font-size: 28px; }
body.light .tb-ava { color: hsl(var(--h) 60% 28%); background: hsl(var(--h) 70% 92%); border-color: hsl(var(--h) 50% 75%); }
.tb-nick { --h: 20; color: hsl(var(--h) 85% 72%); font-weight: 700; text-decoration: none; }
.tb-nick:hover { text-decoration: underline; }
body.light .tb-nick { color: hsl(var(--h) 65% 35%); }
.tb-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 12px; color: var(--tb-b); background: var(--sx-b-wash); }
.tb-ppl { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-ppl a { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--mx-line); color: var(--text-color); text-decoration: none; font-size: 14px; }
.tb-ppl a .tb-ava { width: 28px; height: 28px; font-size: 13px; }

/* ---------- текст пользователя ---------- */
.tb-text { font-size: 16px; line-height: 1.6; word-wrap: break-word; overflow-wrap: anywhere; }
.tb-text blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid var(--tb-a); background: var(--tb-wash); border-radius: 0 8px 8px 0; color: var(--text-secondary); }
.tb-text a { color: var(--tb-a2); }
body.light .tb-text a { color: var(--tb-a); }
.tb-at { font-weight: 600; text-decoration: none; }
.tb-at.me { background: var(--sx-b-wash); color: var(--tb-b) !important; padding: 0 4px; border-radius: 4px; }
.tb-tick { display: inline-flex; align-items: baseline; gap: 6px; padding: 1px 8px; border-radius: 7px; border: 1px solid var(--tb-line); background: var(--tb-wash); text-decoration: none; color: var(--text-color) !important; font-size: .92em; white-space: nowrap; vertical-align: 1px; }
.tb-tick b { font-family: var(--sx-f); }
.tb-tick span { font-variant-numeric: tabular-nums; }
.tb-tick em { font-style: normal; font-size: .88em; }
.tb-tick em.up { color: var(--tb-up); } .tb-tick em.down { color: var(--tb-down); }

/* ---------- шкала идеи ---------- */
.tb-track { display: flex; flex-direction: column; gap: 8px; }
.tb-tr-bar { position: relative; height: 12px; border-radius: 7px; background: var(--mx-line); }
.tb-tr-bar i { position: absolute; top: 0; bottom: 0; }
.tb-tr-bar .loss { background: linear-gradient(90deg, color-mix(in srgb, var(--tb-down) 60%, transparent), color-mix(in srgb, var(--tb-down) 15%, transparent)); border-radius: 7px 0 0 7px; }
.tb-tr-bar .win { background: linear-gradient(90deg, color-mix(in srgb, var(--tb-up) 15%, transparent), color-mix(in srgb, var(--tb-up) 60%, transparent)); border-radius: 0 7px 7px 0; }
.tb-track.rev .loss { background: linear-gradient(90deg, color-mix(in srgb, var(--tb-down) 15%, transparent), color-mix(in srgb, var(--tb-down) 60%, transparent)); border-radius: 0 7px 7px 0; }
.tb-track.rev .win { background: linear-gradient(90deg, color-mix(in srgb, var(--tb-up) 60%, transparent), color-mix(in srgb, var(--tb-up) 15%, transparent)); border-radius: 7px 0 0 7px; }
.tb-tr-bar .ent { position: absolute; top: -4px; width: 2px; height: 20px; margin-left: -1px; background: var(--text-color); }
.tb-tr-bar .now { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--tb-a); border: 3px solid var(--bg-color, #111); box-shadow: 0 0 10px var(--tb-a); }
.tb-tr-lv { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; }
.tb-tr-lv span { display: flex; flex-direction: column; }
.tb-tr-lv .m { align-items: center; } .tb-tr-lv .r { align-items: flex-end; }
.tb-track.rev .tb-tr-lv .l { order: 3; align-items: flex-end; } .tb-track.rev .tb-tr-lv .m { order: 2; } .tb-track.rev .tb-tr-lv .r { order: 1; align-items: flex-start; }
.tb-tr-lv small { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .1em; }
.tb-tr-lv b { font: 700 18px var(--sx-f); font-variant-numeric: tabular-nums; }
.tb-tr-lv em { font-style: normal; font-size: 13px; color: var(--text-secondary); }
.tb-tr-lv .l b { color: var(--tb-down); } .tb-tr-lv .r b { color: var(--tb-up); }
.tb-dir { display: inline-block; padding: 3px 11px; border-radius: 8px; font: 700 15px var(--sx-f); letter-spacing: .03em; white-space: nowrap; }
.tb-dir.long { color: var(--tb-up); background: color-mix(in srgb, var(--tb-up) 13%, transparent); }
.tb-dir.short { color: var(--tb-down); background: color-mix(in srgb, var(--tb-down) 13%, transparent); }
.tb-st { font: 600 14px var(--sx-f); white-space: nowrap; color: var(--text-secondary); }
.tb-st.open { color: var(--tb-a); } .tb-st.up { color: var(--tb-up); } .tb-st.down { color: var(--tb-down); }
.tb-st .tb-led { width: 8px; height: 8px; }

/* ---------- окно ---------- */
.tb-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(5, 4, 3, .72); backdrop-filter: blur(6px); }
.tb-modal[hidden] { display: none; }
.tb-modal-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 26px 22px; border-radius: 20px; border: 1px solid var(--tb-line);
    background: var(--bg-color, #0f0d0c); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
body.light .tb-modal-box { background: #fff; }
.tb-modal-box.wide { width: min(760px, 100%); }
.tb-x { position: absolute; right: 14px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary); font-size: 26px; cursor: pointer; }
.tb-x:hover { background: var(--tb-wash); color: var(--text-color); }
.tb-auth { width: min(440px, 100%); }
.tb-auth-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tb-auth-h img { width: 46px; height: 46px; }
.tb-auth-h b { display: block; font: 700 26px var(--mx-f-display, 'Unbounded', sans-serif); }
.tb-auth-h span { font-size: 14px; color: var(--text-secondary); }
.tb-form label, .tb-auth label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.tb-form label small, .tb-auth label small { font-weight: 400; }
.tb-form input, .tb-form select, .tb-form textarea, .tb-auth input, .tb-in {
    width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--mx-line-strong, var(--mx-line)); background: rgba(255, 255, 255, .03);
    color: var(--text-color); font: 500 16px var(--mx-f-ui, 'Onest', sans-serif); outline: none; transition: border-color .2s, box-shadow .2s; }
body.light .tb-form input, body.light .tb-form select, body.light .tb-form textarea, body.light .tb-auth input, body.light .tb-in { background: #fff; }
.tb-form select option { background: var(--bg-color, #111); color: var(--text-color); }
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus, .tb-auth input:focus, .tb-in:focus { border-color: var(--tb-a); box-shadow: 0 0 0 3px var(--tb-wash); }
.tb-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.tb-code { font: 700 28px var(--sx-f) !important; letter-spacing: .4em; text-align: center; }
.tb-auth-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--tb-down) 12%, transparent); color: var(--tb-down); font-size: 14.5px; }
.tb-auth-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--tb-wash); font-size: 14.5px; line-height: 1.45; }
.tb-auth-note i { color: var(--tb-a); }
.tb-auth-sw { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 14.5px; }
.tb-auth-sw a { color: var(--tb-a2); text-decoration: none; }
body.light .tb-auth-sw a { color: var(--tb-a); }
.tb-auth-sw a:hover { text-decoration: underline; }
.tb-auth-tg { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--mx-line-strong, var(--mx-line)); font-size: 13.5px; line-height: 1.45; color: var(--text-secondary); }
.tb-auth-tg i { font-size: 22px; color: #2aabee; }
.tb-auth-fine { margin: 12px 0 0; font-size: 13px; color: var(--text-secondary); }

.tb-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 3100; padding: 13px 22px; border-radius: 14px;
    background: #1d140e; color: #ffe2d2; border: 1px solid rgba(255, 122, 69, .5); font-size: 15px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.tb-toast.on { opacity: 1; transform: translate(-50%, 0); }
.tb-toast.bad { border-color: var(--tb-down); color: #ffd3da; }

/* ---------- редактор ---------- */
.tb-ed { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.tb-ed button { width: 36px; height: 34px; border-radius: 8px; border: 1px solid var(--mx-line); background: var(--mx-surface); color: var(--text-color); cursor: pointer; }
.tb-ed button:hover { border-color: var(--tb-line); color: var(--tb-a); }
.tb-ed span { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--text-secondary); }

/* ---------- пусто — но с делом ---------- */
.tb-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 16px; }
.tb-empty > i { font-size: 34px; color: var(--tb-a); opacity: .85; }
.tb-empty b { font: 700 19px var(--sx-f); }
.tb-empty span { max-width: 460px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.tb-empty .tb-btn { margin-top: 6px; }

/* ---------- общий список действий у сообщения ---------- */
.tb-acts { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tb-acts button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-secondary); font: 500 14px var(--mx-f-ui, 'Onest', sans-serif); cursor: pointer; }
.tb-acts button:hover { background: var(--tb-wash); color: var(--text-color); }
.tb-acts button.on { color: var(--tb-a); }
.tb-acts .tb-rep { margin-left: auto; opacity: .6; }
.tb-acts .tb-rep:hover { opacity: 1; color: var(--tb-down); }

@media (max-width: 1100px) { .tb-hero-r { margin-left: 0; flex-basis: 100%; } }
@media (max-width: 700px) {
    .tb-row { gap: 10px; } .tb-acct { margin-left: 0; width: 100%; justify-content: flex-end; }
    .tb-board-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tb-cell b { font-size: 28px; }
    .tb-ed span { display: none; }
    .tb-modal-box { padding: 22px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .tb-led { animation: none; } }

.cm-page [hidden] { display: none !important; }
.tb-ava { overflow: hidden; padding: 0; }
.tb-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-owner { display: inline-flex; align-items: center; gap: 5px; margin-left: 7px; padding: 2px 9px; border-radius: 7px; font: 700 12.5px var(--sx-f); letter-spacing: .03em; color: #1f0d04; background: linear-gradient(135deg, #ffd166, #ff7a45); vertical-align: 2px; white-space: nowrap; }

/* 13.10.2026: свой фон «Трибуны» вместо смеси голубого/оранжевого (от Статистики) и золотого сияния.
   Одна гамма: тёплый графит + коралловый свет сверху справа + глубокий винный снизу слева. */
body.cm-page:not(.light):not(.mx-black) { --bg-color: #0d0a0b; --bg-gradient: none; background: #0d0a0b; }
body.cm-page:not(.light)::before { background: radial-gradient(55% 45% at 92% 0%, rgba(255, 122, 69, .13), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(150, 30, 70, .14), transparent 70%); }
body.cm-page .mx-aurora::before { background: radial-gradient(closest-side, rgba(255, 122, 69, .12), transparent); }
body.cm-page .mx-aurora::after { background: radial-gradient(closest-side, rgba(170, 40, 90, .12), transparent); }
body.cm-page:not(.light) .sx-card { background: linear-gradient(180deg, rgba(255, 122, 69, .05), transparent 40%), rgba(255, 245, 240, .03); border-color: rgba(255, 160, 120, .12); }
body.light.cm-page::before { background: radial-gradient(55% 45% at 92% 0%, rgba(234, 88, 12, .07), transparent 70%); }
