/* Макеты клуба. Цвета и название — заглушки до брендбука клуба. */
/* Темы оформления. Клуб выбирает одну в «Оформлении», акцент можно заменить своим цветом. */
:root, [data-theme="lime"] {
  --accent: #d4ff3f; --accent-2: #9be22c; --accent-hi: #f2ffb8; --on-accent: #0d0e10;
  --bg: #0d0e10; --card: #18191d; --card-2: #212328; --card-3: #2b2d33; --side: #121316;
  --text: #f4f5f7; --text-2: #c3c7ce; --muted: #8d929c; --line: rgba(255,255,255,.07); --line-2: #3a3d44;
  --ok: #3ee0a1; --warn: #ffc94a; --danger: #ff6b5b;
  --chat-bg: #0f1418; --msg: #1f2329; --msg-me: #2b5b3f;
}
[data-theme="felt"] {
  --accent: #34d399; --accent-2: #059669; --accent-hi: #a7f3d0; --on-accent: #03140d;
  --bg: #06110d; --card: #0d1c16; --card-2: #14271f; --card-3: #1b3229; --side: #091711;
  --text: #effaf5; --text-2: #bfd8cc; --muted: #7f9c8f; --line: rgba(255,255,255,.07); --line-2: #2c4a3e;
  --ok: #a7f3d0; --warn: #fcd34d; --danger: #fb7185;
  --chat-bg: #08150f; --msg: #14271f; --msg-me: #1f5a43;
}
[data-theme="burgundy"] {
  --accent: #ff4d5e; --accent-2: #c81e3a; --accent-hi: #ffb3bb; --on-accent: #ffffff;
  --bg: #110a0c; --card: #1c1114; --card-2: #27181c; --card-3: #321f25; --side: #160d10;
  --text: #fbf3f4; --text-2: #dcc3c7; --muted: #a08a8e; --line: rgba(255,255,255,.07); --line-2: #4a3036;
  --ok: #4ade80; --warn: #fbbf24; --danger: #ffa94d;
  --chat-bg: #150c0f; --msg: #27181c; --msg-me: #5a1f2b;
}
[data-theme="gold"] {
  --accent: #f5c451; --accent-2: #c8932b; --accent-hi: #ffe7a3; --on-accent: #1a1204;
  --bg: #0b0a08; --card: #17150f; --card-2: #211e16; --card-3: #2c281d; --side: #110f0b;
  --text: #f7f3ea; --text-2: #d6cdb8; --muted: #9a917c; --line: rgba(255,255,255,.07); --line-2: #3d382b;
  --ok: #6ee7b7; --warn: #fdba74; --danger: #f87171;
  --chat-bg: #100e0a; --msg: #211e16; --msg-me: #4a3b17;
}
[data-theme="sapphire"] {
  --accent: #6d95ff; --accent-2: #3b5bdb; --accent-hi: #c5d5ff; --on-accent: #ffffff;
  --bg: #090c14; --card: #121827; --card-2: #1a2133; --card-3: #232b40; --side: #0d1220;
  --text: #f2f5fc; --text-2: #c3cbe0; --muted: #8a93ab; --line: rgba(255,255,255,.07); --line-2: #333d57;
  --ok: #4ade80; --warn: #fbbf24; --danger: #fb7185;
  --chat-bg: #0b1020; --msg: #1a2133; --msg-me: #24407a;
}
[data-theme="light"] {
  --accent: #1f7a5a; --accent-2: #145a42; --accent-hi: #4fbf93; --on-accent: #ffffff;
  --bg: #f2f3f5; --card: #ffffff; --card-2: #f0f1f4; --card-3: #e6e8ec; --side: #f7f8fa;
  --text: #15171a; --text-2: #3b4048; --muted: #6b7280; --line: rgba(0,0,0,.07); --line-2: #cfd3d9;
  --ok: #0f9d6b; --warn: #b7791f; --danger: #d6452f;
  --chat-bg: #e4ebe6; --msg: #ffffff; --msg-me: #d9f5c9;
}
[data-theme="paper"] {
  --accent: #c8643b; --accent-2: #a94f2a; --accent-hi: #e8946c; --on-accent: #ffffff;
  --bg: #f2efe9; --card: #fffdfa; --card-2: #f5f1ea; --card-3: #ebe4d9; --side: #faf7f2;
  --text: #2f2a24; --text-2: #5c544a; --muted: #8c8377; --line: #e8e2d8; --line-2: #d5cdbf;
  --ok: #3d8a55; --warn: #b7791f; --danger: #b4232a;
  --chat-bg: #ebe5da; --msg: #fffdfa; --msg-me: #fbe9df;
}
:root, [data-theme] {
  --ok-soft: color-mix(in srgb, var(--ok) 14%, transparent);
  --warn-soft: color-mix(in srgb, var(--warn) 16%, transparent);
  --danger-soft: color-mix(in srgb, var(--danger) 14%, transparent);
  --tint: color-mix(in srgb, var(--accent) 13%, var(--bg));
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Onest", system-ui, sans-serif; color: #15171a; background: #eceef1; font-size: 15px; line-height: 1.35; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.num, .stats b, .facts b, .clock, .seat-big b { font-variant-numeric: tabular-nums; }

/* ── страница ── */
.page { max-width: 1320px; margin: 0 auto; padding: 40px 32px 80px; }
.page-head { max-width: 860px; margin-bottom: 36px; }
.eyebrow { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.page-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.thesis { font-size: 16px; color: #3b4048; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.nav a { text-decoration: none; background: #fff; border-radius: 99px; padding: 8px 16px; font-size: 14px; }
.nav a.on { background: #15171a; color: #fff; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 44px 0 6px; }
.section-note { color: #6b7280; max-width: 860px; margin-bottom: 20px; }
.shots { display: flex; flex-wrap: wrap; gap: 40px 28px; align-items: flex-start; }
.shot { width: 360px; }
.shot-cap { min-height: 64px; margin-bottom: 12px; }
.shot-cap b { display: block; font-size: 15px; margin-bottom: 3px; }
.shot-cap span { font-size: 13px; color: #6b7280; }

/* ── телефон ── */
.phone { width: 360px; height: 800px; border: 9px solid #000; border-radius: 52px; background: var(--bg); color: var(--text); overflow: hidden; position: relative; display: flex; flex-direction: column; box-shadow: 0 0 0 2px #2a2c31, 0 24px 50px rgba(0,0,0,.22); }
.status { height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 14px; font-weight: 600; }
.status .island { width: 96px; height: 28px; border-radius: 20px; background: #000; }
.status .sig { display: flex; gap: 5px; align-items: center; }
.status .sig i { display: block; width: 16px; height: 10px; border-radius: 2px; background: var(--text); opacity: .9; }
.status .sig i:first-child { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.tgbar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 15px; }
.tgbar .x { color: var(--text); background: var(--card); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.tgbar .t { font-weight: 600; }
.tgbar .dots { width: 32px; height: 32px; border-radius: 50%; background: var(--card); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 0; }
.tgbar .dots::after { content: "•••"; font-size: 9px; letter-spacing: 1px; }
.content { flex: 1; overflow: hidden; padding: 10px 14px 0; display: flex; flex-direction: column; gap: 12px; }
.content > *, .chat > * { flex-shrink: 0; }
.phone:has(.tabbar) .content { padding-bottom: 92px; }
.h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sub { font-size: 13px; color: var(--muted); }
.label { font-size: 13px; color: var(--muted); font-weight: 500; margin: 6px 4px -4px; }

.tabbar { position: absolute; left: 16px; right: 16px; bottom: 18px; height: 64px; display: flex; padding: 6px; gap: 4px; border-radius: 32px; background: color-mix(in srgb, var(--card-2) 85%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--muted); border-radius: 26px; }
.tabbar span svg { width: 22px; height: 22px; }
.tabbar span.on { color: var(--on-accent); background: var(--accent); font-weight: 600; }

/* ── блоки ── */
.card { background: var(--card); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.card.soft { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.card.soft .sub, .card.soft p { color: var(--text-2) !important; }
.hero { border-radius: 24px; padding: 18px; color: var(--on-accent); background: radial-gradient(120% 140% at 100% 0%, var(--accent-hi) 0%, var(--accent) 45%, var(--accent-2) 100%); position: relative; overflow: hidden; }
.hero .sub { color: color-mix(in srgb, var(--on-accent) 60%, transparent); font-weight: 500; }
.hero::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid color-mix(in srgb, var(--on-accent) 7%, transparent); }
.list { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); min-height: 58px; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 600; }
.row .time { font-weight: 700; font-size: 16px; width: 50px; flex: none; }
.row .right { text-align: right; font-size: 13px; color: var(--muted); }
.row .chev { color: var(--muted); font-size: 20px; }
.row.me { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.date { width: 46px; height: 50px; flex: none; border-radius: 14px; background: var(--card-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date b { font-size: 19px; font-weight: 700; }
.date span { font-size: 10px; color: var(--muted); text-transform: uppercase; margin-top: 3px; font-weight: 600; }
.date.on { background: var(--accent); color: var(--on-accent); }
.date.on span { color: color-mix(in srgb, var(--on-accent) 60%, transparent); }
.ava { width: 38px; height: 38px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #0d0e10; background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }
.ava.c2 { background: linear-gradient(135deg, #fecdd3, #fda4af); }
.ava.c3 { background: linear-gradient(135deg, #bbf7d0, #6ee7b7); }
.ava.c4 { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.ava.c5 { background: linear-gradient(135deg, #bae6fd, #7dd3fc); }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--card-2); color: var(--text-2); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--danger-soft); color: var(--danger); }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 16px; border: 0; width: 100%; }
.btn svg { width: 20px; height: 20px; }
.btn.ghost { background: var(--card-2); color: var(--text); }
.btn.soft { background: var(--ok-soft); color: var(--ok); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.off { background: var(--card); color: var(--muted); border: 1px dashed var(--line-2); }
.btn.big { height: 66px; font-size: 18px; border-radius: 22px; }
.btn.sm { height: 36px; font-size: 13px; width: auto; padding: 0 14px; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }
.link { color: var(--accent); font-size: 14px; text-align: center; padding: 6px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.link svg { width: 16px; height: 16px; }
.bottom { margin-top: auto; padding-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.hint { font-size: 12px; color: var(--muted); text-align: center; }

.facts { display: flex; gap: 8px; }
.facts > div { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.facts b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.facts span { font-size: 12px; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 99px; }

.stats { display: flex; gap: 8px; }
.stats > div { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.stats b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stats span { font-size: 12px; color: var(--muted); }

.seg { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.seg span { flex: 1; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 500; border-radius: 99px; color: var(--muted); }
.seg span.on { background: var(--text); color: var(--bg); font-weight: 700; }

.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 13px 16px; color: var(--muted); font-size: 15px; }
.search svg { width: 18px; height: 18px; }
.toggle { width: 46px; height: 28px; border-radius: 99px; background: var(--accent); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--on-accent); }
.toggle.off { background: var(--line-2); }
.toggle.off::after { right: auto; left: 3px; background: var(--muted); }

.steps { display: flex; gap: 6px; }
.steps span { flex: 1; text-align: center; font-size: 12px; font-weight: 500; padding: 7px 0; border-radius: 99px; background: var(--card); color: var(--muted); }
.steps span.done { color: var(--text-2); }
.steps span.done::before { content: "✓ "; color: var(--ok); }
.steps span.on { background: var(--text); color: var(--bg); font-weight: 700; }

.live { display: flex; align-items: center; gap: 12px; border-radius: 20px; padding: 12px 16px; background: linear-gradient(135deg, var(--tint), var(--card) 70%); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.live .clock { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); }
.live .grow { flex: 1; }
.live b { font-size: 15px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }

/* билет */
.ticket { background: #fff; color: #0d0e10; border-radius: 28px; padding: 22px 20px 18px; text-align: center; position: relative; }
.ticket .sub { color: #6b7280; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 62%; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: -12px; } .ticket::after { right: -12px; }
.ticket hr { border: 0; border-top: 2px dashed #e1e3e7; margin: 14px 0 12px; }
.qr { width: 190px; height: 190px; margin: 12px auto 0; display: block; }
.seat-big { display: flex; justify-content: center; gap: 14px; text-align: center; }
.seat-big > div { flex: 1; background: var(--card-2); border-radius: 22px; padding: 14px 0 12px; }
.seat-big b { display: block; font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--accent); }
.seat-big span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* шторка */
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--card); border-radius: 30px 30px 0 0; padding: 10px 16px 26px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.sheet .grip { width: 40px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 4px; }

/* поля формы */
.field { background: var(--card); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; }
.field span { font-size: 14px; color: var(--muted); }
.field b { font-weight: 600; text-align: right; }
.fields { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* столы в админке */
.tbl { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.tbl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.seats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.seats span { font-size: 13px; background: var(--card-2); border-radius: 10px; padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seats span i { font-style: normal; color: var(--muted); display: inline-block; width: 18px; font-weight: 600; }
.seats span.empty { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); }
.seats span.sel { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.seats span.sel i { color: color-mix(in srgb, var(--on-accent) 55%, transparent); }

/* чат бота (тёмная тема Telegram) */
.chat { flex: 1; background: var(--chat-bg) radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 40%), radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--ok) 6%, transparent), transparent 40%); padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.msg { max-width: 84%; background: var(--msg); border-radius: 18px 18px 18px 6px; padding: 9px 12px; font-size: 14px; }
.msg.me { align-self: flex-end; background: var(--msg-me); border-radius: 18px 18px 6px 18px; }
.msg .kb { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.msg .kb span { flex: 1; text-align: center; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--accent); border-radius: 12px; padding: 8px 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.msg time { display: block; font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }
.reply-kb { flex: none; background: var(--card); padding: 10px 10px 26px; border-top: 1px solid var(--line); }
.reply-kb span { display: block; text-align: center; background: var(--accent); border-radius: 99px; padding: 13px; font-weight: 700; color: var(--on-accent); }
.daysep { align-self: center; font-size: 12px; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text-2); padding: 3px 12px; border-radius: 99px; }

/* ── ТВ ── */
.tv { width: 960px; height: 540px; border: 12px solid #000; border-radius: 14px; background: radial-gradient(90% 120% at 50% 0%, var(--tint) 0%, var(--bg) 60%); color: var(--text); position: relative; overflow: hidden; box-shadow: 0 0 0 2px #2a2c31, 0 24px 50px rgba(0,0,0,.25); font-variant-numeric: tabular-nums; font-family: "Onest", sans-serif; }
.tv-cap { max-width: 960px; margin-bottom: 12px; }
.tv-cap b { display: block; font-size: 15px; margin-bottom: 3px; }
.tv-cap span { font-size: 13px; color: #6b7280; }
.tv-wrap { margin-bottom: 40px; }

/* сравнение и оглавление */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1100px; }
.compare > div { background: #fff; border-radius: 22px; padding: 22px 24px; }
.compare > div:last-child { background: #15171a; color: #f4f5f7; }
.compare > div:last-child ul { color: var(--text-2); }
.compare h3 { font-size: 16px; margin-bottom: 12px; }
.compare ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #3b4048; }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin-top: 28px; }
.files a { display: block; background: #fff; border-radius: 22px; padding: 22px 24px; text-decoration: none; }
.files a b { display: block; font-size: 18px; margin-bottom: 6px; }
.files a span { font-size: 14px; color: #6b7280; }

/* ── админка на ПК ── */
.desk { width: 1240px; height: 780px; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--text); display: flex; flex-direction: column; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.wbar { height: 40px; flex: none; background: var(--card); display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); position: relative; }
.wbar .lights { display: flex; gap: 8px; }
.wbar .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.wbar .lights i:nth-child(2) { background: #febc2e; } .wbar .lights i:nth-child(3) { background: #28c840; }
.wbar .url { position: absolute; left: 50%; transform: translateX(-50%); width: 400px; background: var(--bg); border-radius: 8px; padding: 5px 12px; font-size: 12px; color: var(--muted); text-align: center; }
.dapp { flex: 1; display: flex; min-height: 0; }
.dside { width: 184px; flex: none; background: var(--side); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.dlogo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 2px 8px 18px; }
.dlogo i { width: 28px; height: 28px; border-radius: 9px; background: var(--accent); }
.dlogo span { font-size: 12px; color: var(--muted); font-weight: 500; display: block; }
.dnav { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; color: var(--muted); font-weight: 500; font-size: 14px; }
.dnav svg { width: 18px; height: 18px; }
.dnav.on { background: var(--card-2); color: var(--text); }
.dnav .n { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--accent); color: var(--on-accent); border-radius: 99px; padding: 2px 7px; }
.dme { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dme .ava { width: 32px; height: 32px; font-size: 12px; }
.dmain { flex: 1; min-width: 0; padding: 18px 20px 14px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.dhead { display: flex; align-items: center; gap: 16px; }
.dhead h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.dhead .grow { flex: 1; }
.dhead .steps { width: 360px; }
.dgrid { display: grid; gap: 14px; flex: 1; min-height: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
.panel h3 { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel h3 .sub { font-weight: 400; }
.panel .tbl { background: var(--card-2); border: 0; padding: 12px; }
.panel .seats span { background: var(--card-3); }
.panel .search { background: var(--card-2); padding: 10px 14px; font-size: 14px; }
.panel .seg { background: var(--card-2); }
.panel .stats > div, .panel .facts > div { background: var(--card-2); border: 0; }
table.dt { width: 100%; border-collapse: collapse; font-size: 14px; }
.dt th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dt td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dt td.r, .dt th.r { text-align: right; }
.dt tr:last-child td { border-bottom: 0; }
.dt .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dt .who .ava { width: 28px; height: 28px; font-size: 11px; }
.dt tr.sel td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.dt tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.dt tr.brk td { color: var(--ok); background: color-mix(in srgb, var(--ok) 6%, transparent); font-weight: 600; }
.dt .acts { display: flex; gap: 6px; justify-content: flex-end; }
.btn.xs { height: 30px; font-size: 12px; padding: 0 12px; width: auto; gap: 6px; }
.btn.xs svg { width: 14px; height: 14px; }
.kbd { display: inline-block; font-size: 11px; line-height: 1.4; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; }
.btn .kbd { border-color: color-mix(in srgb, var(--on-accent) 25%, transparent); color: color-mix(in srgb, var(--on-accent) 55%, transparent); }
.dclock { font-size: 66px; font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.logi { display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.logi:last-child { border-bottom: 0; }
.logi time { color: var(--muted); width: 38px; flex: none; font-variant-numeric: tabular-nums; }
.logi .grow { flex: 1; }
.scanbox { background: var(--bg); border: 2px solid var(--accent); border-radius: 16px; padding: 16px 18px; font-size: 16px; color: var(--muted); display: flex; align-items: center; gap: 12px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 8%, transparent); }
.scanbox svg { width: 22px; height: 22px; color: var(--accent); }
.scanbox::after { content: ""; width: 2px; height: 20px; background: var(--accent); margin-left: -8px; }
.okbig { background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); border-radius: 18px; padding: 18px; }
.okbig .seat-row { display: flex; gap: 10px; margin-top: 12px; }
.okbig .seat-row div { flex: 1; background: color-mix(in srgb, var(--bg) 45%, transparent); border-radius: 14px; padding: 10px 12px; }
.okbig .seat-row b { display: block; font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
.dfoot { font-size: 12px; color: var(--muted); display: flex; gap: 18px; flex: none; }
.dfoot span { display: flex; align-items: center; gap: 6px; }
.textarea { background: var(--card-2); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--text-2); min-height: 70px; }
.desk-wrap { margin-bottom: 44px; }

/* переключатель тем на страницах макетов (не часть продукта) */
.themebar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; gap: 4px; align-items: center; background: #15171a; color: #fff; border-radius: 99px; padding: 6px 6px 6px 16px; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.themebar > span { color: #8d929c; margin-right: 6px; }
.themebar button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; white-space: nowrap; }
.themebar button.on { background: #2e3036; }
.themebar .sw { width: 16px; height: 16px; border-radius: 50%; border: 4px solid; }

/* экран «Оформление» */
.themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.themecard { border-radius: 16px; padding: 10px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.themecard.on { outline: 2px solid var(--accent); outline-offset: 2px; }
.themecard .mini { background: var(--card); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.themecard .mini i { display: block; height: 7px; border-radius: 4px; background: var(--text); width: 70%; opacity: .85; }
.themecard .mini i + i { background: var(--muted); width: 45%; opacity: 1; }
.themecard .mini b { display: block; height: 18px; border-radius: 99px; background: var(--accent); margin-top: 4px; }
.themecard .nm { font-weight: 600; font-size: 13px; margin-top: 8px; display: flex; justify-content: space-between; }
.themecard .nm span { color: var(--muted); font-weight: 400; font-size: 12px; }
.colorfield { display: flex; align-items: center; gap: 12px; background: var(--card-2); border-radius: 12px; padding: 10px 14px; }
.colorfield .sw { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); }
.dropbox { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.dropbox .lg { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); }
.minitv { border-radius: 12px; border: 6px solid #000; background: radial-gradient(90% 120% at 50% 0%, var(--tint) 0%, var(--bg) 60%); padding: 14px; text-align: center; color: var(--text); }
.minitv .c { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 4px; }
.minitv .b { font-size: 18px; font-weight: 800; color: var(--accent); margin-top: 6px; }
.miniphone { width: 230px; margin: 0 auto; border: 6px solid #000; border-radius: 30px; background: var(--bg); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.miniphone .hero { padding: 12px; border-radius: 16px; }
.miniphone .row { min-height: 44px; padding: 8px 10px; }
.miniphone .btn { height: 40px; font-size: 14px; }

.panel .seats span { font-size: 13px; padding: 3px 8px; }
.panel .tbl-head { margin-bottom: 8px; }
.dt td { padding: 8px; } .dt th { padding: 6px 8px; }

/* кнопки соседних уровней в пульте таймера */
.btn.lv { height: 64px; border-radius: 20px; font-size: 15px; gap: 10px; }
.btn.lv span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn.lv small { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.btn.lv.r span { align-items: flex-end; }

/* ── покерные элементы: масти, фишки, карты, стол ── */
:root, [data-theme] { --felt: #1b6b47; --rail: #4a2f1d; --card-red: #d6303f; }
[data-theme="burgundy"] { --felt: #6e1c28; }
[data-theme="sapphire"] { --felt: #1c3b74; }
[data-theme="gold"] { --felt: #17543a; --rail: #6b4a1f; }
.suit { font-style: normal; }
.suit.red { color: var(--card-red); }
.chip-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; flex: none; }
.clubline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin: -2px 2px 0; }
.clubline b { color: var(--text); font-weight: 700; }
.clubline .chip-ico { width: 22px; height: 22px; }
.hero-chips { position: absolute; right: -18px; bottom: -26px; width: 120px; height: 120px; opacity: .9; pointer-events: none; }
.hero-chips svg { position: absolute; width: 78px; height: 78px; }
.hero-chips svg:first-child { right: 8px; bottom: 18px; transform: rotate(-12deg); }
.hero-chips svg:last-child { right: 44px; bottom: 0; transform: rotate(18deg); }
.date.cd { background: #fff; color: #15171a; border-radius: 9px; width: 42px; height: 56px; position: relative; box-shadow: 0 1px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.15); }
.date.cd::before { content: attr(data-s); position: absolute; top: 3px; left: 5px; font-size: 12px; line-height: 1; color: #15171a; }
.date.cd.red::before { color: var(--card-red); }
.date.cd span { color: #6b7280; }
.date.cd.on { background: #fff; color: #15171a; outline: 2px solid var(--accent); outline-offset: 2px; }
.date.cd.on span { color: #6b7280; }
.cards2 { display: flex; gap: 12px; justify-content: center; }
.pc { flex: 1; max-width: 140px; aspect-ratio: 5 / 7; background: #fff; color: #15171a; border-radius: 14px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 2px 0 rgba(0,0,0,.15), 0 10px 24px rgba(0,0,0,.25); }
.pc i { position: absolute; font-style: normal; font-weight: 800; font-size: 16px; line-height: .95; text-align: center; }
.pc i:first-of-type { top: 9px; left: 10px; }
.pc i:last-of-type { bottom: 9px; right: 10px; transform: rotate(180deg); }
.pc.red i, .pc.red b { color: var(--card-red); }
.pc b { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pc span { font-size: 13px; color: #6b7280; font-weight: 600; margin-top: 4px; }
.felt { position: relative; height: 196px; margin: 4px 2px 6px; }
.felt-in { position: absolute; inset: 15% 11%; border-radius: 999px; background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--felt) 70%, #fff), var(--felt) 72%); border: 7px solid var(--rail); box-shadow: inset 0 0 0 2px rgba(255,255,255,.1), inset 0 6px 18px rgba(0,0,0,.35), 0 8px 18px rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.felt-in b { font-size: 14px; letter-spacing: .02em; }
.felt-in span { font-size: 11px; opacity: .75; }
.felt .st { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 1px; z-index: 1; }
.felt .st span { width: 34px; height: 34px; border-radius: 50%; background: var(--card-2); border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.felt .st.me span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.felt .st.empty span { background: transparent; border-style: dashed; color: var(--muted); box-shadow: none; }
.felt .st em { font-style: normal; font-size: 10px; color: var(--text-2); white-space: nowrap; background: var(--bg); border-radius: 6px; padding: 0 4px; }
.felt .dealer { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #15171a; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); z-index: 1; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ticket .corner { position: absolute; font-size: 20px; line-height: 1; font-weight: 800; }
.ticket .corner.tl { top: 14px; left: 16px; }
.ticket .corner.br { bottom: 14px; right: 16px; transform: rotate(180deg); }
.structure { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.structure div { flex: none; background: var(--card-2); border-radius: 10px; padding: 6px 9px; font-size: 12px; text-align: center; }
.structure div b { display: block; font-size: 13px; }
.structure div span { color: var(--muted); }
.structure div.brk { background: var(--ok-soft); color: var(--ok); }
.rk { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #15171a; flex: none; }
.rk.g { background: #f5c451; } .rk.s { background: #cfd4dc; } .rk.b { background: #dd9e6e; }

.tabbar { z-index: 3; } .plaque { z-index: 4; } .dim { z-index: 8; } .sheet { z-index: 9; }

/* ── тема FRBS: чёрно-золотая, по сайту FRBS Club ── */
[data-theme="frbs"] {
  --accent: #c8a35a; --accent-2: #8a7140; --accent-hi: #f2c14e; --on-accent: #141617;
  --bg: #0f1011; --card: #1a1c1e; --card-2: #24282b; --card-3: #2f3438; --side: #131516;
  --text: #ebe6dc; --text-2: #cfc9be; --muted: #8f989d; --line: rgba(235,230,220,.08); --line-2: #3a4044;
  --ok: #7be08f; --warn: #f2c14e; --danger: #e0603c;
  --chat-bg: #111314; --msg: #1e2123; --msg-me: #3a3220;
  --felt: #3f8a5f; --rail: #8a7140; --radius: 18px;
  --display: "Alumni Sans", "Arial Narrow", sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* общее для FRBS: золото металлом, крупные цифры узким Alumni Sans, остальное — Onest */
:is([data-theme="frbs"], [data-theme="frbs-light"]) .btn { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 52%, var(--accent-2)); color: var(--on-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .btn.ghost { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .btn.soft { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-hi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .btn.danger { background: var(--danger-soft); color: var(--danger); box-shadow: none; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .btn.off { background: var(--card); color: var(--muted); box-shadow: none; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .stats b, :is([data-theme="frbs"], [data-theme="frbs-light"]) .facts b, :is([data-theme="frbs"], [data-theme="frbs-light"]) .clock, :is([data-theme="frbs"], [data-theme="frbs-light"]) .dclock, :is([data-theme="frbs"], [data-theme="frbs-light"]) .seat-big b, :is([data-theme="frbs"], [data-theme="frbs-light"]) .pc b, :is([data-theme="frbs"], [data-theme="frbs-light"]) .minitv .c, :is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-clock, :is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-blinds, :is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-bottom b { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .stats b { font-size: 36px; line-height: 1; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .facts b { font-size: 22px; white-space: nowrap; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .stats > div, :is([data-theme="frbs"], [data-theme="frbs-light"]) .facts > div { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .steps span.on, :is([data-theme="frbs"], [data-theme="frbs-light"]) .seg span.on, :is([data-theme="frbs"], [data-theme="frbs-light"]) .tabbar span.on { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 55%, var(--accent-2)); color: var(--on-accent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .hero { color: var(--text); border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: radial-gradient(110% 130% at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 55%), linear-gradient(160deg, #24221d, #141517 75%); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .hero .sub { color: var(--accent); font-weight: 600; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .hero > div > div > div:first-child { font-family: var(--display); font-weight: 700; font-size: 48px; letter-spacing: 0; background: linear-gradient(180deg, #f6dc94, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .hero .btn.sm { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 55%, var(--accent-2)) !important; color: var(--on-accent) !important; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .live { background: linear-gradient(160deg, #22201b, #151618 70%); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .live .clock { font-size: 38px; background: linear-gradient(180deg, #f6dc94, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .ava { background: linear-gradient(135deg, #3d3528, #24211c); color: var(--accent-hi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .card.soft { background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .row.me { background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .date.cd.on { outline-color: var(--accent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tabbar { border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .sheet { border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .clubline b, :is([data-theme="frbs"], [data-theme="frbs-light"]) .dlogo, :is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-top b { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .clubline b { font-size: 17px; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .dlogo { font-size: 20px; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .dlogo i { background: linear-gradient(135deg, var(--accent-hi), var(--accent-2)); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .dlogo span { font-family: "Onest", sans-serif; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--muted); font-weight: 500; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tv { background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), #0d0e0f; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-clock { font-size: 200px; color: var(--text); letter-spacing: -2px; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-blinds { background: linear-gradient(180deg, #f6dc94, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-blinds small { -webkit-text-fill-color: var(--muted); }
:is([data-theme="frbs"], [data-theme="frbs-light"]) .tv-level { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* ── FRBS светлая: меловой фон с сайта, графитовый текст, латунь ── */
[data-theme="frbs-light"] {
  --accent: #b48d45; --accent-2: #8a7140; --accent-hi: #d9b569; --on-accent: #141617;
  --bg: #e7e1d5; --card: #f4efe5; --card-2: #ebe5d8; --card-3: #ddd5c5; --side: #eee8dc;
  --text: #141617; --text-2: #3a4044; --muted: #6c7478; --line: rgba(20,22,23,.09); --line-2: #cbc2b0;
  --ok: #2f7d4a; --warn: #a8761b; --danger: #c0392b;
  --chat-bg: #e3ddd0; --msg: #f6f2ea; --msg-me: #eadfc4;
  --felt: #3f8a5f; --rail: #8a7140; --radius: 18px; --brass-ink: #7a5f2c;
  --display: "Alumni Sans", "Arial Narrow", sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
}
[data-theme="frbs-light"] .label { color: var(--muted); }
[data-theme="frbs-light"] .link, [data-theme="frbs-light"] .hero .sub, [data-theme="frbs-light"] .clubline b, [data-theme="frbs-light"] .dlogo, [data-theme="frbs-light"] .tv-top b, [data-theme="frbs-light"] .tv-level { color: var(--brass-ink); }
[data-theme="frbs-light"] .btn.soft { color: var(--brass-ink); }
[data-theme="frbs-light"] .ava { background: linear-gradient(135deg, #f3e8cf, #e2d3b2); color: var(--brass-ink); }
[data-theme="frbs-light"] .hero { background: radial-gradient(110% 130% at 100% 0%, rgba(200,163,90,.32), transparent 55%), linear-gradient(160deg, #fbf7ef, #ece4d4 75%); }
[data-theme="frbs-light"] .hero > div > div > div:first-child, [data-theme="frbs-light"] .live .clock, [data-theme="frbs-light"] .tv-blinds { background: linear-gradient(180deg, #a07e3c, #6f5526); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="frbs-light"] .live { background: linear-gradient(160deg, #fbf7ef, #ebe4d5 70%); border-color: rgba(138,113,64,.35); }
[data-theme="frbs-light"] .tv { background: radial-gradient(70% 90% at 50% 0%, rgba(200,163,90,.25), transparent 70%), #ece6da; color: var(--text); }
[data-theme="frbs-light"] .date.cd { box-shadow: 0 1px 0 rgba(20,22,23,.1), 0 3px 10px rgba(20,22,23,.1); }
[data-theme="frbs-light"] .felt .st em { background: var(--card); }
[data-theme="frbs-light"] .tabbar { background: color-mix(in srgb, var(--card) 88%, transparent); }
[data-theme="frbs-light"] .stats > div, [data-theme="frbs-light"] .facts > div { background: linear-gradient(180deg, #fbf8f1, var(--card)); }

.themecard { min-width: 0; padding: 8px; } .themecard .nm { flex-wrap: wrap; gap: 0 4px; font-size: 12px; } .themecard .nm span { font-size: 11px; }

/* перерывы на ТВ */
.tv-bottom em { font-style: normal; font-size: 15px; color: var(--muted); margin-left: 8px; }
.tv .tv-bottom .soon { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.tv .tv-level.soon { background: var(--accent); color: var(--on-accent); border-color: var(--accent); animation: tvpulse 1.6s ease-in-out infinite; }
@keyframes tvpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { .tv .tv-level.soon { animation: none; } }
