/* Görünüş. Rənglər theme.js-dən gəlir (gecə/gündüz, tema). Müəllif: Ramo */
:root {
  --bg: #0E1519; --bg2: #121C22; --card: #17232B; --field: #1C2A33; --line: #1E2B33; --line2: #2A3A44;
  --text: #E9EEF0; --text2: #B7C2C8; --muted: #7E8C94; --muted2: #4A5A63;
  --accent: #1FBF75; --accent-soft: rgba(31, 191, 117, .2); --accent-text: #9EEBC6; --on-accent: #fff;
  --out: #11503B; --in: #1C2A33; --chat-bg: #0A1216; --chat-pat: #15232B; --topbar: rgba(14, 21, 25, .94); --overlay: rgba(0, 0, 0, .55);
  --ok: #2ED47A; --warn: #F2B13E; --danger: #F0605D; --tick-read: #4FA3FF;
  --gold-bg: #2A2113; --gold-line: #4A3A1C; --gold-text: #FFE2B0; --good-bg: rgba(46, 212, 122, .13); --good-line: rgba(46, 212, 122, .32); --good-text: #8FEBBE;
  --info-bg: rgba(80, 140, 255, .13); --info-text: #B5CCFF; --bad-bg: rgba(240, 96, 93, .13); --wave-off: #4A5A63; --shadow: 0 6px 20px rgba(0, 0, 0, .35);
  --r: 18px; --max: 560px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: calc(15px * var(--fz, 1))/1.4 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body { overscroll-behavior-y: none; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.muted { color: var(--muted); } .sm { font-size: calc(13px * var(--fz, 1)); } .b { font-weight: 700; } .center { text-align: center; } .pad { padding: 12px 16px; }
.strong { color: var(--text) !important; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page { max-width: var(--max); margin: 0 auto; min-height: 100dvh; padding-bottom: 24px; position: relative; background: var(--bg); }
.page.with-nav { padding-bottom: 100px; }
.center-page { display: flex; align-items: center; justify-content: center; padding: 20px; }

/* ---------- Başlıq ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--topbar); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 4px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px 6px; min-height: 58px; }
.tb-title { flex: 1; min-width: 0; font-weight: 700; font-size: calc(17px * var(--fz, 1)); padding-left: 6px; }
.tb-title.big { font-size: calc(24px * var(--fz, 1)); font-weight: 800; letter-spacing: -.4px; padding-left: 12px; }
.tb-sub { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); font-weight: 500; }
.tb-sub.on { color: var(--ok); }
.tb-right { display: flex; align-items: center; gap: 2px; }
.logo { font-weight: 800; letter-spacing: -.5px; } .logo i { color: var(--accent); font-style: normal; }
.logo.xl { font-size: calc(40px * var(--fz, 1)); }
.ib { width: 44px; height: 44px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); position: relative; flex-shrink: 0; }
.ib:active { background: var(--field); }
.ib.sm { width: 36px; height: 36px; }
.ib.light { color: #fff; }
.nb { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--on-accent);
  font-size: calc(10.5px * var(--fz, 1)); font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.nb.dotonly { min-width: 9px; width: 9px; height: 9px; padding: 0; top: 4px; right: 14px; }
.coin { height: 32px; padding: 0 11px 0 6px; border-radius: 16px; background: var(--field); display: inline-flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fz, 1)); font-weight: 700; color: var(--warn); }
.coin-dot { width: 20px; height: 20px; border-radius: 10px; background: #F2C14E; color: #6A4300; display: flex; align-items: center; justify-content: center; }

/* ---------- Alt menyu ---------- */
.bnav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max); z-index: 30; display: flex; justify-content: space-around;
  padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); background: var(--bg2); border-top: 1px solid var(--line); }
.bn { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: calc(11.5px * var(--fz, 1)); font-weight: 600; color: var(--muted); flex: 1; min-width: 0; }
.bn .pill { width: 62px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; }
.bn .nb { top: -3px; right: 8px; }
.bn.on { color: var(--text); font-weight: 700; } .bn.on .pill { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- Avatar ---------- */
.av { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #0D0D11; position: relative; flex-shrink: 0; background-clip: content-box; }
.av > img, .av > span:first-child { border-radius: 50%; }
.av .dot { position: absolute; right: 0; bottom: 0; border-radius: 50%; background: var(--ok); border: 2.5px solid var(--bg); }
.av.tap { cursor: pointer; }
.uname { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; min-width: 0; max-width: 100%; font-size: calc(16px * var(--fz, 1)); }
.tag { font-size: calc(10px * var(--fz, 1)); font-weight: 800; padding: 2px 6px; border-radius: 6px; text-transform: uppercase; letter-spacing: .3px; flex-shrink: 0; }
.tag.adm { background: var(--gold-bg); color: var(--warn); } .tag.mod { background: var(--info-bg); color: var(--info-text); }
.tag.own { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- Siyahılar ---------- */
.row { display: flex; align-items: center; gap: 10px; padding: 9px 16px; width: 100%; text-align: left; color: var(--text); }
.row:active { background: var(--bg2); }
.row-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--text); }
.row-main.pad { padding: 8px 16px; }
.row-b { flex: 1; min-width: 0; }
.row-s { font-size: calc(13.5px * var(--fz, 1)); color: var(--muted); margin-top: 2px; }
.row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.row-t { font-size: calc(12px * var(--fz, 1)); color: var(--muted); flex-shrink: 0; } .row-t.u { color: var(--accent); font-weight: 600; }
.row-bot { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: calc(14px * var(--fz, 1)); color: var(--muted); min-width: 0; }
.row-bot .ell { flex: 1; }
.chat-row { padding: 10px 16px; }
.badge { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--on-accent); font-size: calc(11.5px * var(--fz, 1)); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.typing-txt { color: var(--ok); font-weight: 500; flex: 1; }
.soft { color: var(--text2); font-weight: 600; }
.count-pill { font-size: calc(11.5px * var(--fz, 1)); font-weight: 600; padding: 3px 8px; border-radius: 10px; background: var(--field); color: var(--muted); flex-shrink: 0; }
.count-pill.live { color: var(--ok); background: var(--good-bg); }
.with-float .row.person { padding-right: 84px; }

.sec { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 8px; font-size: calc(14px * var(--fz, 1)); font-weight: 700; }
.sec a, .sec button { font-size: calc(13px * var(--fz, 1)); font-weight: 600; color: var(--accent); }
.chips { display: flex; gap: 8px; padding: 10px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--field); color: var(--text2); font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--accent-soft); color: var(--accent-text); }
.hscroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.seg { display: flex; margin: 6px 16px; padding: 4px; border-radius: 16px; background: var(--field); }
.seg button { flex: 1; height: 40px; border-radius: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: calc(14px * var(--fz, 1)); }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.seg.sm button { height: 34px; font-size: calc(13.5px * var(--fz, 1)); }

.search { margin: 4px 16px 4px; height: 44px; border-radius: 22px; background: var(--field); display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: calc(15px * var(--fz, 1)); color: var(--text); min-width: 0; }

/* ---------- İkonlu filtrlər ---------- */
.fchips { display: flex; gap: 10px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 58px; flex-shrink: 0; font-size: calc(12px * var(--fz, 1)); font-weight: 600; color: var(--text2); white-space: nowrap; }
.fchip .fic { width: 52px; height: 52px; border-radius: 17px; background: var(--field); display: flex; align-items: center; justify-content: center; color: var(--text2); position: relative; }
.fchip.on { color: var(--text); } .fchip.on .fic { background: var(--accent); color: var(--on-accent); }
.fchip.noicon { min-width: 0; } .fchip.noicon .lbl { height: 36px; padding: 0 15px; border-radius: 18px; background: var(--field); display: flex; align-items: center; }
.fchip.noicon.on .lbl { background: var(--accent-soft); color: var(--accent-text); }
.fic .live-ring { position: absolute; inset: -4px; border-radius: 21px; border: 2px solid var(--ok); opacity: .6; animation: ring 1.8s ease-out infinite; pointer-events: none; }
.fic .live-ring.r2 { animation-delay: .9s; }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.fic .live-ic { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.fic.m { color: #6FA6FF; } .fic.f { color: #F57CA6; }

/* ---------- Hekayələr ---------- */
.stories { padding-top: 6px; padding-bottom: 4px; }
.st-item { width: 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.st-av { position: relative; border-radius: 50%; }
.st-av.add { width: 66px; height: 66px; border: 2px dashed var(--line2); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.st-plus { position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: var(--on-accent); border: 2.5px solid var(--bg); display: flex; align-items: center; justify-content: center; }
.st-n { font-size: calc(12px * var(--fz, 1)); color: var(--text2); max-width: 68px; text-align: center; }

.online-strip .os-item { width: 62px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: calc(12px * var(--fz, 1)); color: var(--text2); flex-shrink: 0; }
.online-strip .os-item span.ell { max-width: 62px; }

/* ---------- Kartlar ---------- */
.card { margin: 10px 16px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.card-h { font-size: calc(12px * var(--fz, 1)); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.loc-card, .welcome { display: flex; gap: 12px; align-items: center; }
.lc-ic, .w-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prog-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bar { height: 6px; border-radius: 3px; background: var(--field); margin-top: 6px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.note { margin: 12px 16px 0; padding: 10px 14px; border-radius: 14px; background: var(--field); color: var(--text2); font-size: calc(14px * var(--fz, 1)); text-align: center; }
.note.warn { background: var(--bad-bg); color: var(--danger); }
.safety { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: calc(12.5px * var(--fz, 1)); padding: 14px 20px; }

/* ---------- Düymələr ---------- */
.btn { height: 46px; padding: 0 20px; border-radius: 23px; font-weight: 700; font-size: calc(15px * var(--fz, 1)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; }
.btn.sm { height: 36px; padding: 0 14px; font-size: calc(13.5px * var(--fz, 1)); border-radius: 18px; }
.btn.primary { background: var(--accent); color: var(--on-accent); } .btn.primary:active { filter: brightness(.92); }
.btn.soft { background: var(--accent-soft); color: var(--accent-text); }
.btn.ghost { background: var(--field); color: var(--text); }
.btn.danger { background: #E5484D; color: #fff; }
.btn.block { width: 100%; }
.link { color: var(--accent); font-weight: 600; }
.fab { position: fixed; bottom: calc(100px + env(safe-area-inset-bottom)); right: max(18px, calc(50% - var(--max) / 2 + 18px)); width: 58px; height: 58px; border-radius: 18px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; z-index: 25; box-shadow: var(--shadow); }

/* ---------- Üzən oyun düymələri ---------- */
.floats { position: fixed; bottom: calc(96px + env(safe-area-inset-bottom)); right: max(14px, calc(50% - var(--max) / 2 + 14px)); z-index: 25; display: flex; flex-direction: column; gap: 10px; align-items: center; transition: transform .25s, opacity .25s; }
.floats.hide { transform: translateX(90px); opacity: .0; pointer-events: none; }
.fgame { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fgame .fb { width: 56px; height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); position: relative; }
.fgame .fbl { font-size: calc(10.5px * var(--fz, 1)); font-weight: 800; padding: 1px 7px; border-radius: 8px; background: rgba(0, 0, 0, .6); color: #fff; }
.fgame .cnt { position: absolute; top: -4px; right: -6px; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 10px; background: #E5484D; color: #fff; font-size: calc(10.5px * var(--fz, 1)); font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.fgame .fb.spin svg { animation: bottle 6s ease-in-out infinite; }
@keyframes bottle { 0%, 70% { transform: rotate(0); } 85% { transform: rotate(320deg); } 100% { transform: rotate(360deg); } }

/* ---------- Formalar ---------- */
.form { padding: 8px 16px; display: flex; flex-direction: column; gap: 14px; }
.fl { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.fl > span { font-size: calc(13px * var(--fz, 1)); font-weight: 600; color: var(--text2); display: flex; justify-content: space-between; gap: 8px; }
.fl > span small { font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.inp { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--field); color: var(--text); font-size: calc(16px * var(--fz, 1)); outline: none; }
.inp:focus { border-color: var(--accent); }
.inp::placeholder { color: var(--muted); }
textarea.inp { resize: vertical; min-height: 80px; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input[type=color].inp { padding: 4px; height: 48px; }
.two { display: flex; gap: 10px; }
.opt { flex: 1; height: 48px; border-radius: 14px; background: var(--field); border: 1px solid var(--line2); font-weight: 600; }
.opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: calc(13.5px * var(--fz, 1)); color: var(--text2); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.form-err { padding: 10px 14px; border-radius: 12px; background: var(--bad-bg); color: var(--danger); font-size: calc(14px * var(--fz, 1)); }
.switch { position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--line2); flex-shrink: 0; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; transition: transform .2s; }
.switch.on { background: var(--accent); } .switch.on::after { transform: translateX(18px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { height: 38px; padding: 0 15px; border-radius: 19px; background: var(--field); font-weight: 600; font-size: calc(14px * var(--fz, 1)); color: var(--text2); border: 1.5px solid transparent; }
.pills button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }

/* ---------- Giriş və qeydiyyat ---------- */
.auth { padding-top: calc(40px + env(safe-area-inset-top)); }
.auth-hero { text-align: center; padding: 20px 24px 16px; }
.auth-tag { color: var(--text2); margin-top: 10px; font-size: calc(15.5px * var(--fz, 1)); }
.auth-online { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 16px; background: var(--card); font-size: calc(13.5px * var(--fz, 1)); color: var(--text2); }
.live-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--ok); display: inline-block; box-shadow: 0 0 0 4px var(--good-bg); }

/* ---------- Profil doldurma (addımlar) ---------- */
.wiz { max-width: var(--max); margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top)) 0 calc(24px + env(safe-area-inset-bottom)); }
.wiz-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 18px; font-size: calc(13px * var(--fz, 1)); color: var(--muted); font-weight: 600; }
.wiz-top button { color: var(--accent); font-weight: 700; font-size: calc(14px * var(--fz, 1)); }
.wiz-bars { display: flex; gap: 5px; padding: 8px 18px 6px; } .wiz-bars span { flex: 1; height: 5px; border-radius: 3px; background: var(--field); } .wiz-bars span.on { background: var(--accent); }
.wiz-h { padding: 14px 18px 4px; } .wiz-h h1 { margin: 0; font-size: calc(25px * var(--fz, 1)); letter-spacing: -.3px; } .wiz-h p { margin: 6px 0 0; color: var(--muted); font-size: calc(14.5px * var(--fz, 1)); }
.wiz-body { flex: 1; }
.wiz-foot { padding: 12px 18px 0; display: flex; gap: 10px; } .wiz-foot .btn { flex: 1; height: 52px; border-radius: 26px; font-size: calc(16px * var(--fz, 1)); }
.wiz-photo { margin: 18px auto 8px; position: relative; width: 150px; }

/* ---------- Profil ---------- */
.prof { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 20px 6px; }
.prof-av { position: relative; border-radius: 50%; }
.av-edit { position: absolute; right: 2px; bottom: 6px; width: 36px; height: 36px; border-radius: 18px; background: var(--accent); color: var(--on-accent); border: 3px solid var(--bg); display: flex; align-items: center; justify-content: center; }
.prof-name { margin-top: 14px; display: flex; align-items: baseline; justify-content: center; max-width: 100%; }
.prof-age { font-size: calc(22px * var(--fz, 1)); font-weight: 500; color: var(--text2); }
.prof-status { color: var(--muted); font-size: calc(14px * var(--fz, 1)); margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.prof-status.on { color: var(--ok); }
.prof-dist { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 16px; background: var(--card); font-size: calc(14px * var(--fz, 1)); color: var(--text2); }
.prof-dist b { color: var(--text); }
.prof-actions { display: flex; gap: 10px; margin-top: 18px; width: 100%; max-width: 360px; }
.prof-actions .btn { flex: 1; }
.about { white-space: pre-line; color: var(--text2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.itag { padding: 7px 12px; border-radius: 14px; background: var(--field); font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; }
.btn-tag.on { background: var(--accent-soft); color: var(--accent-text); }
.info-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: calc(14.5px * var(--fz, 1)); }
.info-rows > div:last-child { border-bottom: 0; } .info-rows span { color: var(--muted); } .info-rows b { text-align: right; }
.menu { padding: 4px 0; }
.mrow { display: flex; align-items: center; gap: 14px; padding: 12px 16px; width: 100%; text-align: left; color: var(--text); }
.mrow > svg { color: var(--muted2); }
.mr-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--field); color: var(--text2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mr-ic.danger { color: var(--danger); }
.mr-b { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.mr-s { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); font-weight: 500; }

/* ---------- Çat ---------- */
.chat-page { max-width: var(--max); margin: 0 auto; height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.chat-page .topbar { position: relative; background: var(--bg2); border-bottom: 1px solid var(--line); }
.chat-hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.msgs { flex: 1; overflow-y: auto; padding: 10px 10px 6px; display: flex; flex-direction: column; gap: 3px; overscroll-behavior: contain; background-color: var(--chat-bg); background-image: var(--chat-image); background-size: var(--chat-size, auto); background-position: center; }
.day-sep { text-align: center; margin: 10px 0 6px; } .day-sep span { padding: 4px 10px; border-radius: 8px; background: var(--field); font-size: calc(12px * var(--fz, 1)); color: var(--muted); }
.bwrap { display: flex; align-items: center; gap: 6px; } .bwrap.out { flex-direction: row-reverse; }
.breply { opacity: 0; width: 30px; height: 30px; border-radius: 15px; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.bwrap:hover .breply { opacity: 1; }
@media (hover: none) { .breply { display: none; } }
.bubble { max-width: min(78%, 420px); padding: 7px 10px 5px; border-radius: 16px; background: var(--in); font-size: calc(15.5px * var(--fz, 1)); line-height: 1.38; position: relative; transition: transform .15s; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bwrap.in .bubble { border-top-left-radius: 5px; } .bwrap.out .bubble { background: var(--out); border-top-right-radius: 5px; }
.btext { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.btext.cap { display: block; margin-top: 4px; }
.bmeta { float: right; display: inline-flex; align-items: center; gap: 3px; font-size: calc(11px * var(--fz, 1)); color: var(--muted); margin: 6px 0 -2px 10px; }
.bubble.img { padding: 4px; } .bubble.img img { display: block; border-radius: 12px; max-height: 320px; min-width: 120px; object-fit: cover; cursor: zoom-in; }
.bubble.img .bmeta { position: absolute; right: 10px; bottom: 8px; margin: 0; padding: 2px 6px; border-radius: 8px; background: rgba(0, 0, 0, .45); color: #fff; }
.bubble.img .btext.cap + .bmeta { position: static; background: none; color: var(--muted); }
.bubble.stk { background: transparent !important; box-shadow: none; padding: 0; }
.bubble.stk img { width: 140px; height: 140px; display: block; }
.bubble.stk .bmeta { float: none; display: flex; justify-content: flex-end; margin: 2px 4px 0; }
.deleted { font-style: italic; color: var(--muted); }
.quote { display: flex; flex-direction: column; padding: 6px 10px; border-left: 3px solid var(--accent); border-radius: 8px; background: rgba(0, 0, 0, .12); font-size: calc(13px * var(--fz, 1)); margin-bottom: 5px; min-width: 0; }
.quote b { color: var(--accent); font-size: calc(12.5px * var(--fz, 1)); } .quote span { color: var(--text2); }
.quote.sm { margin: 2px 0 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 4px; background: var(--muted); animation: blink 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .2s; } .bubble.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.sys-card { margin: 20px auto; padding: 20px; border-radius: 18px; background: var(--field); text-align: center; max-width: 290px; display: flex; flex-direction: column; align-items: center; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 210px; padding: 2px 0; }
.vplay { width: 38px; height: 38px; border-radius: 19px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vwave { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.vwave span { width: 3px; border-radius: 2px; }
.vdur { font-size: calc(12px * var(--fz, 1)); color: var(--text2); font-variant-numeric: tabular-nums; }

.composer { background: var(--bg2); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.comp-row { display: flex; align-items: flex-end; gap: 8px; }
.comp-box { flex: 1; display: flex; align-items: flex-end; min-height: 48px; padding: 2px 4px; border-radius: 24px; background: var(--field); min-width: 0; }
.comp-box textarea, .comp-box input { flex: 1; border: 0; outline: none; background: transparent; color: var(--text); font-size: calc(16px * var(--fz, 1)); resize: none; padding: 12px 4px; max-height: 120px; line-height: 1.35; min-width: 0; }
.send { width: 48px; height: 48px; border-radius: 24px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reply-bar { display: flex; align-items: center; gap: 6px; padding: 0 4px 8px; } .reply-bar .quote { flex: 1; margin: 0; }
.picker { border-top: 1px solid var(--line); margin: 8px -8px 0; }
.picker-tabs { display: flex; gap: 4px; padding: 8px 10px 6px; overflow-x: auto; }
.picker-tabs button { padding: 6px 12px; border-radius: 12px; font-size: calc(13px * var(--fz, 1)); font-weight: 600; color: var(--muted); white-space: nowrap; }
.picker-tabs button.on { background: var(--accent-soft); color: var(--accent-text); }
.picker-body { height: 230px; overflow-y: auto; padding: 4px 10px 6px; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emoji-grid button { height: 42px; font-size: calc(24px * var(--fz, 1)); border-radius: 10px; } .emoji-grid button:active { background: var(--field); }
.stk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stk-grid button { aspect-ratio: 1; border-radius: 14px; padding: 4px; position: relative; }
.stk-grid button:active { background: var(--field); }
.stk-grid img { width: 100%; height: 100%; object-fit: contain; }
.stk-add { border: 2px dashed var(--line2) !important; color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: calc(11px * var(--fz, 1)); font-weight: 700; gap: 2px; }
.stk-note { font-size: calc(11.5px * var(--fz, 1)); color: var(--muted); padding: 8px 2px 2px; }
.rec-bar { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-left: 4px; }
.rec-dot { width: 10px; height: 10px; border-radius: 5px; background: #E5484D; animation: blink 1s infinite; }
.rec-t { font-weight: 700; font-variant-numeric: tabular-nums; }
.blocked-bar { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); background: var(--bg2); border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: center; align-items: center; font-size: calc(14px * var(--fz, 1)); flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox img { max-height: 100%; border-radius: 8px; } .lb-x { position: absolute; top: 14px; right: 14px; }

/* ---------- Otaq və qrup ---------- */
.announce { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; background: var(--info-bg); color: var(--info-text); font-size: calc(13.5px * var(--fz, 1)); border-bottom: 1px solid var(--line); }
.announce svg { flex-shrink: 0; margin-top: 1px; }
.join-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--accent-soft); color: var(--accent-text); font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; }
.join-bar span { flex: 1; }
.quiz-card { margin: 8px 10px 0; padding: 12px 14px; border-radius: 16px; background: var(--gold-bg); border: 1px solid var(--gold-line); }
.quiz-card.wait { display: flex; align-items: center; gap: 8px; color: var(--warn); font-weight: 600; font-size: calc(14px * var(--fz, 1)); }
.qc-top { display: flex; justify-content: space-between; font-size: calc(12px * var(--fz, 1)); font-weight: 700; color: var(--warn); text-transform: uppercase; letter-spacing: .4px; }
.qc-time { font-variant-numeric: tabular-nums; } .qc-time.low { color: var(--danger); }
.qc-q { font-size: calc(16.5px * var(--fz, 1)); font-weight: 700; margin-top: 6px; line-height: 1.35; }
.qc-hint { margin-top: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: calc(17px * var(--fz, 1)); letter-spacing: 1px; color: var(--gold-text); white-space: pre-wrap; }
.qc-bar { height: 4px; border-radius: 2px; background: var(--gold-line); margin-top: 10px; overflow: hidden; }
.qc-bar i { display: block; height: 100%; background: var(--warn); transition: width .25s linear; }
.msgs.room { gap: 2px; padding: 8px 8px; }
.rm { display: flex; gap: 9px; padding: 6px 8px; border-radius: 12px; cursor: pointer; }
.rm:active { background: var(--bg2); }
.rm-b { flex: 1; min-width: 0; }
.rm-h { display: flex; align-items: center; gap: 6px; font-size: calc(13.5px * var(--fz, 1)); }
.rm-h b.g-f { color: #E9679A; } .rm-h b.g-m { color: #5B95F0; }
.rm-t { margin-left: auto; font-size: calc(11px * var(--fz, 1)); color: var(--muted); }
.rm-text { font-size: calc(15px * var(--fz, 1)); line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.rm-text.hl { background: var(--accent-soft); border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
.rm-text.deleted { color: var(--muted); font-style: italic; }
.rm-bot { margin: 4px 8px; padding: 8px 12px; border-radius: 12px; font-size: calc(14px * var(--fz, 1)); display: flex; gap: 8px; align-items: flex-start; color: var(--text2); background: var(--field); }
.rm-bot.q { flex-direction: column; gap: 2px; background: var(--gold-bg); color: var(--gold-text); border: 1px solid var(--gold-line); } .rm-bot.q b { color: var(--warn); font-size: calc(12.5px * var(--fz, 1)); }
.rm-bot.ok { background: var(--good-bg); color: var(--good-text); font-weight: 600; border: 1px solid var(--good-line); cursor: pointer; }
.rm-bot.hint { color: var(--gold-text); font-family: ui-monospace, Menlo, Consolas, monospace; background: transparent; padding: 2px 12px; }
.rm-bot.timeout { color: var(--muted); }
.rm-bot.warn { background: var(--bad-bg); color: var(--danger); }
.rm-bot.announce { background: var(--info-bg); color: var(--info-text); }
.rm-bot.system { justify-content: center; background: transparent; color: var(--muted); font-size: calc(12.5px * var(--fz, 1)); }
.room-ic { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--rc) 22%, transparent); color: var(--rc); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.room-ic.round { border-radius: 50%; }
.room-ic img { width: 100%; height: 100%; object-fit: cover; }
.room-ic.sm { width: 40px; height: 40px; border-radius: 13px; } .room-ic.sm.round { border-radius: 50%; }
.top-row .place { width: 26px; text-align: center; font-weight: 800; color: var(--muted); }
.top-row .place.p1 { color: #E8B82E; } .top-row .place.p2 { color: #9AA5B1; } .top-row .place.p3 { color: #D08A52; }
.top-row.me { background: var(--accent-soft); }
.pts { color: var(--warn); font-size: calc(14px * var(--fz, 1)); }
.lock-ic { display: inline-flex; align-items: center; gap: 4px; font-size: calc(12px * var(--fz, 1)); color: var(--muted); }

/* ---------- Yeniləmələr: kürsü ---------- */
.podium { position: relative; height: 330px; margin: 8px 16px 0; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.podium .sky { position: absolute; left: 0; right: 0; top: 0; height: 200px; background: color-mix(in srgb, var(--accent) 24%, var(--card)); }
.podium .moon { position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--accent) 34%, var(--card)); }
.pd-col { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; }
.pd-col .ped { width: 104px; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; align-items: center; padding-top: 8px; color: #1A2630; text-align: center; }
.pd-col .ped b { font-size: calc(24px * var(--fz, 1)); line-height: 1.1; } .pd-col .ped .nm { font-size: calc(12.5px * var(--fz, 1)); font-weight: 800; max-width: 96px; } .pd-col .ped .vl { font-size: calc(11px * var(--fz, 1)); }
.pd-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: calc(14px * var(--fz, 1)); text-align: center; padding: 30px; }
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 16px; }
.stat-tile { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stat-tile b { font-size: calc(24px * var(--fz, 1)); display: block; } .stat-tile span { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); }
.news-card h3 { margin: 0 0 6px; font-size: calc(16px * var(--fz, 1)); } .news-card p { margin: 0; color: var(--text2); white-space: pre-line; font-size: calc(14.5px * var(--fz, 1)); }

/* ---------- Avatar düzəltmə ---------- */
.ava-stage { display: flex; justify-content: center; padding: 10px 0 4px; }
.ava-stage .ava-bg { width: 200px; height: 230px; border-radius: 28px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.opt-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.opt-row::-webkit-scrollbar { display: none; }
.opt-tile { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: var(--field); display: flex; align-items: center; justify-content: center; border: 2px solid transparent; font-size: calc(11px * var(--fz, 1)); font-weight: 700; color: var(--text2); overflow: hidden; }
.opt-tile.on { border-color: var(--accent); }
.sw-row { display: flex; gap: 10px; padding: 2px 16px 12px; flex-wrap: wrap; }
.sw { width: 34px; height: 34px; border-radius: 17px; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line2) inset; }
.sw.on { border-color: var(--text); }

/* ---------- Görünüş səhifəsi ---------- */
.mode-row { display: flex; gap: 8px; }
.mode-row button { flex: 1; height: 72px; border-radius: 14px; background: var(--field); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: calc(12.5px * var(--fz, 1)); font-weight: 600; color: var(--text2); border: 2px solid transparent; }
.mode-row button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-card { border-radius: 14px; overflow: hidden; border: 2px solid transparent; text-align: left; }
.theme-card.on { border-color: var(--accent); }
.theme-card .tp { height: 64px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.theme-card .tp span { height: 12px; border-radius: 6px; }
.theme-card .tn { padding: 6px 8px; font-size: calc(11.5px * var(--fz, 1)); font-weight: 700; background: var(--field); }
.hue { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; border-radius: 9px; outline: none; margin: 8px 0 0;
  background: linear-gradient(90deg, hsl(0 80% 55%), hsl(45 85% 55%), hsl(90 70% 45%), hsl(150 70% 45%), hsl(190 75% 45%), hsl(220 85% 58%), hsl(270 80% 62%), hsl(320 75% 58%), hsl(360 80% 55%)); }
.hue::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 14px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.hue::-moz-range-thumb { width: 24px; height: 24px; border-radius: 12px; background: var(--accent); border: 3px solid #fff; }
.bg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bg-grid button { text-align: center; font-size: calc(11.5px * var(--fz, 1)); color: var(--text2); }
.bg-grid .bgp { height: 74px; border-radius: 12px; border: 2px solid transparent; margin-bottom: 5px; background-color: var(--chat-bg); }
.bg-grid button.on .bgp { border-color: var(--accent); }

/* ---------- Alt pəncərə və dialoq ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: var(--overlay); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet-bg.center { align-items: center; padding: 20px; }
.sheet { width: 100%; max-width: var(--max); max-height: 88dvh; overflow-y: auto; background: var(--card); border-radius: 22px 22px 0 0; padding: 6px 0 calc(12px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line2); margin: 6px auto 8px; }
.sheet-title { font-weight: 700; padding: 4px 18px 10px; font-size: calc(16px * var(--fz, 1)); }
.sheet-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 20px; font-size: calc(15.5px * var(--fz, 1)); text-align: left; color: var(--text); }
.sheet-item:active { background: var(--field); } .sheet-item.danger { color: var(--danger); }
.sheet-list { padding-bottom: 8px; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } } @keyframes fade { from { opacity: 0; } }
.dialog { width: 100%; max-width: 360px; background: var(--card); border-radius: 20px; padding: 20px; }
.dialog-title { font-size: calc(17px * var(--fz, 1)); font-weight: 700; } .dialog-text { color: var(--text2); margin-top: 8px; font-size: calc(14.5px * var(--fz, 1)); }
.dialog .inp { margin-top: 12px; }
.dialog-btns { display: flex; gap: 10px; margin-top: 18px; } .dialog-btns .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 120; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 14px;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: calc(14px * var(--fz, 1)); box-shadow: var(--shadow); animation: fade .2s; text-align: center; }
.toast.err { background: #E5484D; color: #fff; }

.empty { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-ic { width: 64px; height: 64px; border-radius: 22px; background: var(--field); color: var(--muted); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.empty-t { font-weight: 700; font-size: calc(16px * var(--fz, 1)); } .empty-s { color: var(--muted); font-size: calc(14px * var(--fz, 1)); max-width: 300px; }
.empty .btn { margin-top: 10px; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--accent); animation: rot .8s linear infinite; margin: 40px auto; }
@keyframes rot { to { transform: rotate(360deg); } }
.notif.unread { background: var(--accent-soft); } .nt { font-size: calc(14.5px * var(--fz, 1)); }

/* ---------- Hekayə baxışı ---------- */
.story-wrap { position: fixed; inset: 0; z-index: 90; background: #000; display: flex; justify-content: center; }
.story { position: relative; width: 100%; max-width: 480px; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; }
.story-img { width: 100%; height: 100%; object-fit: contain; }
.story-text, .story-input { font-size: calc(28px * var(--fz, 1)); font-weight: 800; color: #fff; text-align: center; padding: 30px; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere; }
.story-input { width: 100%; height: 60%; background: transparent; border: 0; outline: none; resize: none; }
.story-input::placeholder { color: rgba(255, 255, 255, .6); }
.story-cap { position: absolute; left: 0; right: 0; bottom: 96px; text-align: center; padding: 10px 20px; background: rgba(0, 0, 0, .45); color: #fff; font-size: calc(16px * var(--fz, 1)); }
.story-capin { position: absolute; left: 16px; right: 16px; bottom: 100px; width: auto; background: rgba(0, 0, 0, .55); border-color: transparent; color: #fff; }
.story-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; background: linear-gradient(rgba(0, 0, 0, .5), transparent); z-index: 3; }
.story-bars { display: flex; gap: 4px; padding: 0 4px 10px; }
.story-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story-bars i { display: block; height: 100%; background: #fff; }
.story-head { display: flex; align-items: center; gap: 4px; }
.story-user { flex: 1; display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.story-user span { color: rgba(255, 255, 255, .7); font-size: calc(13px * var(--fz, 1)); }
.story-nav { position: absolute; top: 90px; bottom: 90px; width: 35%; z-index: 2; } .story-nav.l { left: 0; } .story-nav.r { right: 0; }
.story-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px calc(16px + env(safe-area-inset-bottom)); z-index: 3; display: flex; justify-content: center; }
.story-bottom.create { flex-direction: column; gap: 14px; align-items: stretch; }
.story-reply { display: flex; gap: 8px; width: 100%; } .story-reply .inp { border-radius: 24px; background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .3); color: #fff; }
.story-reply .ib { color: #fff; }
.story-views { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; padding: 10px 16px; border-radius: 20px; background: rgba(0, 0, 0, .45); }
.swatches { display: flex; gap: 12px; justify-content: center; }
.story .sw { border-color: rgba(255, 255, 255, .35); box-shadow: none; } .story .sw.on { border-color: #fff; }

/* ---------- İdarə paneli ---------- */
.adm-search { display: flex; align-items: center; gap: 8px; margin: 6px 16px 4px; padding: 0 12px; border-radius: 12px; background: var(--field); color: var(--muted); }
.adm-search .inp { background: transparent; border: 0; padding: 10px 0; flex: 1; min-width: 0; }
.adm-group { margin: 8px 16px 0; }
.adm-group-h { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: calc(12px * var(--fz, 1)); font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.adm-group-h > span:first-child { flex: 1; text-align: left; }
.adm-list { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.adm-row { width: 100%; display: flex; align-items: center; gap: 11px; padding: 9px 12px; text-align: left; color: var(--text); border-top: 1px solid var(--line); }
.adm-row:first-child { border-top: 0; }
.adm-row:active { background: var(--bg2); }
.adm-row .ai { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adm-row .ar-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-row .ar-b b { font-size: calc(14.5px * var(--fz, 1)); font-weight: 600; } .adm-row .ar-b span { font-size: calc(12px * var(--fz, 1)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row .ar-go { color: var(--muted2); flex-shrink: 0; }
.nb.s { position: static; background: #E5484D; color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 16px; }
.tile { padding: 14px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.tile b { font-size: calc(22px * var(--fz, 1)); } .tile span { font-size: calc(12px * var(--fz, 1)); color: var(--muted); }
.alert-card { display: flex; align-items: center; gap: 10px; color: var(--danger); font-weight: 700; width: calc(100% - 32px); }
.warn-t { color: var(--danger); }
.rep .rep-c { margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: var(--field); font-size: calc(14px * var(--fz, 1)); color: var(--text2); }
.rep .sm { margin-top: 4px; } .rep.done { opacity: .55; }
.btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.q-row { align-items: flex-start; } .q-row.off { opacity: .5; } .qq { font-weight: 600; font-size: calc(14.5px * var(--fz, 1)); }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .sr-b { flex: 1; min-width: 0; } .set-row .sr-b b { display: block; font-size: calc(14.5px * var(--fz, 1)); } .set-row .sr-b span { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); }
.nav-edit { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-edit:last-child { border-bottom: 0; }
.nav-edit .ne-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--field); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-edit input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; }
.icon-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 6px 16px 14px; }
.icon-pick button { height: 52px; border-radius: 14px; background: var(--field); display: flex; align-items: center; justify-content: center; border: 2px solid transparent; }
.icon-pick button.on { border-color: var(--accent); color: var(--accent-text); }
.stk-adm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 16px; }
.stk-adm > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: center; font-size: calc(11.5px * var(--fz, 1)); color: var(--muted); }
.stk-adm img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.stk-adm .btn { margin-top: 6px; width: 100%; }

@media (min-width: 600px) {
  .page, .chat-page { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* ================= 3-cü versiya ================= */
/* İdarə heyəti nişanı */
.tag.staff { display: inline-flex; align-items: center; gap: 3px; background: var(--info-bg); color: var(--info-text); text-transform: none; letter-spacing: 0; font-size: calc(10.5px * var(--fz, 1)); font-weight: 700; padding: 2px 7px 2px 5px; }
.tag.staff.c { padding: 2px 4px; }

/* Filtr ölçüləri (paneldən: kiçik / orta / böyük) */
.fchips.sz-s { gap: 8px; } .fchips.sz-s .fchip { min-width: 46px; gap: 4px; font-size: calc(11px * var(--fz, 1)); }
.fchips.sz-s .fchip .fic { width: 38px; height: 38px; border-radius: 13px; } .fchips.sz-s .fic .live-ring { border-radius: 16px; inset: -3px; }
.fchips.sz-s .fchip.noicon .lbl { height: 30px; padding: 0 12px; }
.fchips.sz-m .fchip { min-width: 52px; gap: 5px; } .fchips.sz-m .fchip .fic { width: 45px; height: 45px; border-radius: 15px; } .fchips.sz-m .fic .live-ring { border-radius: 19px; }

/* Oyun düymələri: yalnız ikon, ölçü paneldən */
.floats { gap: 12px; }
.fgame .fb { overflow: hidden; }
.fgame .fb img { width: 100%; height: 100%; object-fit: cover; }
.floats.sz-s .fgame .fb { width: 44px; height: 44px; } .floats.sz-m .fgame .fb { width: 52px; height: 52px; } .floats.sz-l .fgame .fb { width: 60px; height: 60px; }
.with-float.fsz-s .row.person { padding-right: 66px; } .with-float.fsz-m .row.person { padding-right: 74px; }

/* İdarə heyəti sürətli paneli */
.staff-bar { margin: 8px 16px 2px; padding: 6px 6px 6px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 4px; }
.staff-bar .sb-t { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--fz, 1)); font-weight: 700; color: var(--info-text); margin-right: auto; white-space: nowrap; }
.staff-bar a { position: relative; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text2); flex-shrink: 0; }
.staff-bar a:active { background: var(--field); }
.staff-bar .nb { top: 1px; right: -1px; background: var(--danger); color: #fff; }

/* Yeni çat pəncərəsi */
.newchat .sheet-list { max-height: 60vh; }
.nc-item { display: flex; align-items: center; gap: 12px; padding: 9px 16px; width: 100%; text-align: left; }
.nc-item:active { background: var(--field); }
.nc-ic { width: 44px; height: 44px; border-radius: 22px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newchat .search { margin: 4px 16px 6px; }

/* Avtomatik təklif siyahısı (məktəb) */
.fl.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; z-index: 30; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow); max-height: 240px; overflow-y: auto; }
.ac-list button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; text-align: left; font-size: calc(14px * var(--fz, 1)); border-bottom: 1px solid var(--line); }
.ac-list button:last-child { border-bottom: 0; }
.ac-list b { margin-left: auto; font-size: calc(11.5px * var(--fz, 1)); color: var(--accent-text); flex-shrink: 0; } .ac-list small { color: var(--muted); font-size: calc(11.5px * var(--fz, 1)); flex-shrink: 0; }
.fl small { font-weight: 500; color: var(--muted); }

/* Yeni giriş səhifəsi */
.auth2 { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); padding: 0; }
.au-hero { position: relative; height: 330px; background: var(--accent); overflow: hidden; flex-shrink: 0; padding-top: env(safe-area-inset-top); }
.au-hero.sm { height: 250px; }
.au-blob { position: absolute; border-radius: 50%; }
.au-blob.b1 { width: 300px; height: 300px; right: -120px; top: -110px; background: rgba(255, 255, 255, .12); }
.au-blob.b2 { width: 200px; height: 200px; left: -80px; bottom: -110px; background: rgba(0, 0, 0, .14); }
.au-logo { position: absolute; left: 24px; top: calc(62px + env(safe-area-inset-top)); font-size: calc(34px * var(--fz, 1)); font-weight: 800; color: var(--on-accent); letter-spacing: -.5px; }
.au-logo i { font-style: normal; opacity: .7; }
.au-tag { position: absolute; left: 24px; top: calc(110px + env(safe-area-inset-top)); color: var(--on-accent); opacity: .9; font-size: calc(15px * var(--fz, 1)); max-width: 190px; line-height: 1.4; }
.au-bub { position: absolute; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0E1519; margin-top: env(safe-area-inset-top); }
.au-bub img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.au-dot { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 7px; background: #2ED47A; border: 2.5px solid var(--accent); }
.au-live { position: absolute; left: 24px; bottom: 56px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 16px; background: rgba(0, 0, 0, .22); color: #fff; font-size: calc(13px * var(--fz, 1)); font-weight: 600; }
.au-live .ld { width: 8px; height: 8px; border-radius: 4px; background: #5BFFA8; box-shadow: 0 0 0 4px rgba(91, 255, 168, .25); }
.au-sheet { position: relative; margin-top: -32px; flex: 1 0 auto; border-radius: 30px 30px 0 0; background: var(--bg2); padding: 26px 22px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; }
.au-sheet h2 { margin: 0; font-size: calc(24px * var(--fz, 1)); letter-spacing: -.3px; }
.au-sub { color: var(--muted); font-size: calc(14px * var(--fz, 1)); margin-top: -6px; }
.au-inp { min-height: 52px; border-radius: 16px; background: var(--field); display: flex; align-items: center; padding: 0 8px 0 16px; color: var(--muted); gap: 10px; min-width: 0; flex-shrink: 0; }
.au-inp input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: calc(16px * var(--fz, 1)); height: 50px; }
.au-inp:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.auth2 .two { display: flex; gap: 10px; } .auth2 .two > * { flex: 1; min-width: 0; }
.auth2 .fl .inp { min-height: 52px; border-radius: 16px; border: 0; }
.auth2 .opt { height: 48px; border-radius: 14px; }
.au-btn { height: 54px; border-radius: 27px; font-size: calc(16px * var(--fz, 1)); font-weight: 800; }
.au-row { display: flex; justify-content: space-between; align-items: center; font-size: calc(13.5px * var(--fz, 1)); color: var(--text2); }
.au-chk { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.au-chk input { position: absolute; opacity: 0; pointer-events: none; }
.au-chk .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line2); display: flex; align-items: center; justify-content: center; }
.au-chk input:checked + .box { background: var(--accent); border-color: var(--accent); }
.au-chk input:checked + .box::after { content: ''; width: 10px; height: 5px; border-left: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.au-chk input:focus-visible + .box { box-shadow: 0 0 0 2px var(--accent-soft); }
.au-link { color: var(--accent-text); font-weight: 700; }
.au-foot { text-align: center; font-size: calc(14px * var(--fz, 1)); color: var(--muted); margin-top: 2px; }
.au-saved { display: flex; gap: 12px; padding: 2px 0 4px; overflow-x: auto; }
.au-sv { position: relative; flex-shrink: 0; }
.au-sv-b { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: calc(12px * var(--fz, 1)); color: var(--text2); width: 64px; }
.au-sv-b .ell { max-width: 64px; }
.au-add { width: 56px; height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; color: var(--muted); border: 2px dashed var(--line2); background: var(--field); }
.au-x { position: absolute; top: -2px; right: 2px; width: 20px; height: 20px; border-radius: 10px; background: var(--field); color: var(--muted); display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg2); }
.au-steps { display: flex; gap: 6px; } .au-steps span { flex: 1; height: 5px; border-radius: 3px; background: var(--line2); } .au-steps span.on { background: var(--accent); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: calc(13px * var(--fz, 1)); } .or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.g-btn { min-height: 44px; display: flex; justify-content: center; align-items: center; }
.au-gme { display: flex; align-items: center; gap: 14px; } .au-gme img { width: 64px; height: 64px; border-radius: 32px; object-fit: cover; }

/* Otaq: Sistem mesajı, stiker, mahnı kartı, saat, çıxarılma */
.rm-bot.sys { background: var(--bad-bg); color: var(--danger); flex-direction: column; gap: 2px; }
.rm-bot.sys .sys-n { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: calc(12.5px * var(--fz, 1)); }
.rm-bot.sys.kick { border: 1px solid var(--danger); }
.rm-bot.topic { flex-direction: column; gap: 2px; background: var(--info-bg); color: var(--info-text); }
.rm-bot.topic b { font-size: calc(12px * var(--fz, 1)); }
.rm-stk img { width: 120px; height: 120px; display: block; object-fit: contain; }
.yt-card { margin-top: 4px; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); max-width: 320px; }
.yt-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-thumb .yt-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 38px; border-radius: 12px; background: rgba(229, 56, 56, .92); color: #fff; display: flex; align-items: center; justify-content: center; }
.yt-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.yt-b { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.yt-b .yt-t { flex: 1; min-width: 0; font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.like-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 16px; background: var(--field); color: var(--text2); font-weight: 700; font-size: calc(13px * var(--fz, 1)); flex-shrink: 0; }
.like-btn.on { background: rgba(229, 72, 77, .15); color: #F0605D; }
.like-btn.on svg { fill: currentColor; }
.song-pin { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--gold-bg); border-bottom: 1px solid var(--gold-line); color: var(--gold-text); }
.song-pin img { width: 56px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.song-pin .sp-b { flex: 1; min-width: 0; } .song-pin .sp-b small { display: block; font-size: calc(11px * var(--fz, 1)); font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--warn); }
.song-pin .sp-b span { display: block; font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.closing-bar { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--gold-bg); color: var(--gold-text); font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; border-bottom: 1px solid var(--gold-line); }
.closing-bar b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--warn); font-size: calc(15px * var(--fz, 1)); }
.closed-bar { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; background: var(--bg2); border-top: 1px solid var(--line); color: var(--text2); font-size: calc(14px * var(--fz, 1)); }
.closed-bar b { display: block; font-size: calc(22px * var(--fz, 1)); font-variant-numeric: tabular-nums; margin-top: 4px; color: var(--text); }
.kick-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 10px; }
.kick-page .k-ic { width: 72px; height: 72px; border-radius: 36px; background: var(--bad-bg); color: var(--danger); display: flex; align-items: center; justify-content: center; }
.kick-page .k-t { font-size: calc(34px * var(--fz, 1)); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Heyət siyahısı */
.staff-row .row-s { display: flex; align-items: center; gap: 6px; }
.on-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--ok); display: inline-block; }

/* Market */
.mk-head { margin: 12px 16px 0; padding: 18px; border-radius: 20px; background: var(--accent); color: var(--on-accent); }
.mk-head > b { font-size: calc(20px * var(--fz, 1)); display: block; } .mk-head > span { opacity: .9; font-size: calc(14px * var(--fz, 1)); display: block; margin-top: 4px; }
.bg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 16px; }
.bg-tile { aspect-ratio: 3 / 4; border-radius: 16px; border: 2px solid var(--line); overflow: hidden; position: relative; background-color: var(--chat-bg); display: flex; align-items: flex-end; justify-content: center; padding: 8px; font-size: calc(12px * var(--fz, 1)); font-weight: 700; color: var(--text2); }
.bg-tile.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.bg-tile .price { position: absolute; top: 6px; right: 6px; font-size: calc(10.5px * var(--fz, 1)); padding: 2px 6px; border-radius: 8px; background: var(--good-bg); color: var(--good-text); }
.bg-tile span.lb { background: var(--card); padding: 2px 8px; border-radius: 8px; }
.font-prev { padding: 12px 14px; border-radius: 14px; background: var(--field); margin-top: 10px; }

/* Panel: yazışmalara baxış, fayllar, heyət */
.dm-pair { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dm-pair .arr { color: var(--muted); flex-shrink: 0; }
.dm-view { padding: 10px; display: flex; flex-direction: column; gap: 4px; background: var(--chat-bg); min-height: 50vh; }
.dm-msg { max-width: 80%; padding: 7px 10px; border-radius: 14px; background: var(--in); font-size: calc(14.5px * var(--fz, 1)); align-self: flex-start; }
.dm-msg.r { align-self: flex-end; background: var(--out); }
.dm-msg.del { outline: 1.5px dashed var(--danger); }
.dm-msg small { display: block; font-size: calc(10.5px * var(--fz, 1)); color: var(--muted); margin-top: 3px; }
.dm-msg img { max-width: 200px; max-height: 220px; border-radius: 10px; display: block; }
.dm-msg audio { width: 220px; height: 36px; }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 16px; }
.file-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; font-size: calc(11px * var(--fz, 1)); color: var(--muted); min-width: 0; }
.file-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; cursor: zoom-in; }
.file-grid .stk img { object-fit: contain; }
.file-grid audio { width: 100%; height: 32px; }
.perm-list { display: flex; flex-direction: column; }
.perm-list label { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: calc(14.5px * var(--fz, 1)); border-bottom: 1px solid var(--line); }
.perm-list input { width: 20px; height: 20px; accent-color: var(--accent); }
.log-row { padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: calc(14px * var(--fz, 1)); }
.log-row .lr-t { font-size: calc(12px * var(--fz, 1)); color: var(--muted); }
.game-edit { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.game-edit .fb { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.game-edit .fb img { width: 100%; height: 100%; object-fit: cover; }
.howto { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.howto li { counter-increment: s; position: relative; padding: 0 0 12px 34px; font-size: calc(14px * var(--fz, 1)); color: var(--text2); line-height: 1.45; }
.howto li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: calc(12.5px * var(--fz, 1)); display: flex; align-items: center; justify-content: center; }
.howto code { background: var(--field); padding: 1px 6px; border-radius: 6px; font-size: calc(13px * var(--fz, 1)); word-break: break-all; }
.seg.four button { font-size: calc(12.5px * var(--fz, 1)); gap: 4px; padding: 0 2px; } .seg.four button svg { width: 15px; height: 15px; }

/* ================= 4-cü versiya ================= */
.coin-pill { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px 0 7px; border-radius: 16px; background: var(--gold-bg); color: var(--gold-text); font-weight: 800; font-size: calc(13.5px * var(--fz, 1)); margin-right: 2px; font-variant-numeric: tabular-nums; }
.coins { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.lvl { flex-shrink: 0; min-width: 20px; height: 17px; padding: 0 5px; border-radius: 6px; font-size: calc(10.5px * var(--fz, 1)); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; background: var(--field); color: var(--muted); }
.lvl.t1 { background: rgba(46, 212, 122, .16); color: var(--ok); } .lvl.t2 { background: rgba(76, 141, 255, .16); color: #6FA6FF; }
.lvl.t3 { background: rgba(155, 123, 255, .18); color: #B39DFF; } .lvl.t4 { background: rgba(242, 177, 62, .2); color: #F2B13E; }
.tag.bot { background: var(--field); padding: 1px 4px; font-size: calc(11px * var(--fz, 1)); }
.vip-c { color: #F2B13E; flex-shrink: 0; }
.st-line { display: block; max-width: 100%; text-align: left; font-size: calc(12.5px * var(--fz, 1)); color: var(--accent-text); margin-top: 2px; }
/* Çərçivələr */
.av.fr { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5px var(--frc, #F2B13E); }
.av.fr-gold { --frc: #F2B13E; } .av.fr-neon { --frc: #3DF5E0; box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5px #3DF5E0, 0 0 12px #3DF5E0; }
.av.fr-hearts { --frc: #F57CA6; } .av.fr-fire { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5px #FF6B2C, 0 0 10px #FF3D00; }
.av.fr-ice { --frc: #9AD8FF; box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 5px #9AD8FF, 0 0 10px #9AD8FF; }
.av.fr-rainbow { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 4px #FF4F6D, 0 0 0 5.5px #F2C14E, 0 0 0 7px #4C8DFF; }
/* Gündəlik mükafat */
.dialog.daily { text-align: center; }
.daily-fire { font-size: calc(46px * var(--fz, 1)); line-height: 1; margin-bottom: 4px; }
.daily-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 14px 0 10px; }
.dd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; background: var(--field); font-size: calc(11px * var(--fz, 1)); }
.dd small { color: var(--muted); font-size: calc(10px * var(--fz, 1)); } .dd b { font-size: calc(11.5px * var(--fz, 1)); }
.dd.past { opacity: .45; } .dd.now { background: var(--gold-bg); outline: 2px solid #F2B13E; }
/* Səviyyə */
.lvl-card { display: flex; align-items: center; gap: 14px; color: var(--text); }
.lvl-big { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(19px * var(--fz, 1)); background: var(--field); color: var(--text2); flex-shrink: 0; }
.lvl-big.t1 { background: rgba(46, 212, 122, .16); color: var(--ok); } .lvl-big.t2 { background: rgba(76, 141, 255, .16); color: #6FA6FF; }
.lvl-big.t3 { background: rgba(155, 123, 255, .18); color: #B39DFF; } .lvl-big.t4 { background: rgba(242, 177, 62, .2); color: #F2B13E; }
/* Tapşırıqlar */
.task-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.task-row .tr-b { flex: 1; min-width: 0; } .task-row .tr-b b { display: block; font-size: calc(14.5px * var(--fz, 1)); } .task-row .bar { margin: 6px 0 3px; }
.task-row.claimed { opacity: .55; }
.tr-rw { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--gold-text); font-size: calc(13.5px * var(--fz, 1)); }
.tr-done { width: 32px; height: 32px; border-radius: 16px; background: var(--good-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.bonus-card { display: flex; align-items: center; gap: 12px; } .bonus-card.ready { border-color: #F2B13E; background: var(--gold-bg); }
.ach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px 16px; }
.ach { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 12px 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: calc(12.5px * var(--fz, 1)); filter: grayscale(1); opacity: .55; }
.ach.on { filter: none; opacity: 1; } .ach-ic { font-size: calc(30px * var(--fz, 1)); line-height: 1.1; } .ach b { font-size: calc(12.5px * var(--fz, 1)); line-height: 1.25; }
.ref-link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--field); font-size: calc(14px * var(--fz, 1)); }
/* Ana səhifə */
.my-status { display: flex; align-items: center; gap: 10px; margin: 2px 16px 6px; padding: 9px 14px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line2); color: var(--muted); font-size: calc(13.5px * var(--fz, 1)); }
.my-status .ms-ic { flex-shrink: 0; }
.ev-banner { margin: 8px 16px 0; padding: 10px 14px; border-radius: 14px; background: var(--ec); color: #fff; display: flex; flex-direction: column; gap: 2px; font-size: calc(13.5px * var(--fz, 1)); box-shadow: var(--shadow); }
.ev-banner b { font-size: calc(15px * var(--fz, 1)); }
/* Profil */
.prof-st { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); font-size: calc(14px * var(--fz, 1)); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-acts2 { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.prof-acts2 .pa { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 9px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: calc(12px * var(--fz, 1)); font-weight: 700; color: var(--text2); }
.prof-acts2 .pa.on { color: #F0605D; border-color: rgba(240, 96, 93, .4); } .prof-acts2 .pa.on svg { fill: currentColor; }
.prof-acts2 .pa.fr { color: var(--ok); border-color: var(--good-line); } .prof-acts2 .pa.fr svg { fill: none; }
.prof-acts2 .pa.hl { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.prof-stats { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.prof-stats div { display: flex; flex-direction: column; align-items: center; } .prof-stats b { font-size: calc(17px * var(--fz, 1)); } .prof-stats span { font-size: calc(11.5px * var(--fz, 1)); color: var(--muted); }
.gift-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 16px; }
.gw { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: var(--card); font-size: calc(11px * var(--fz, 1)); color: var(--text2); min-width: 0; }
.gw img { width: 52px; height: 52px; object-fit: contain; } .gw small { color: var(--muted); font-size: calc(10px * var(--fz, 1)); } .gw .ell { max-width: 100%; }
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 4px 16px 8px; max-height: 42vh; overflow-y: auto; }
.gg { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; border: 2px solid transparent; background: var(--field); font-size: calc(11.5px * var(--fz, 1)); min-width: 0; }
.gg img { width: 50px; height: 50px; object-fit: contain; } .gg small { display: inline-flex; align-items: center; gap: 2px; color: var(--gold-text); font-weight: 800; font-size: calc(11px * var(--fz, 1)); }
.gg.on { border-color: var(--accent); background: var(--accent-soft); } .gg .ell { max-width: 100%; }
.gg.add { border: 2px dashed var(--line2); color: var(--accent); justify-content: center; }
/* Status */
.st-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 10px 16px 0; }
.st-types button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 14px; background: var(--field); font-size: calc(11.5px * var(--fz, 1)); font-weight: 700; color: var(--text2); border: 2px solid transparent; }
.st-types button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.emoji-grid.big { grid-template-columns: repeat(6, minmax(0, 1fr)); } .emoji-grid.big button { height: 50px; font-size: calc(28px * var(--fz, 1)); } .emoji-grid.big button.on { background: var(--accent-soft); outline: 2px solid var(--accent); }
.st-prev { width: 100%; max-height: 320px; object-fit: contain; border-radius: 14px; background: #000; }
.st-pick { height: 160px; border-radius: 16px; border: 2px dashed var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-weight: 600; }
.st-view .row-main { margin-bottom: 10px; }
.st-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.st-img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 12px; background: #000; }
.st-yt { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; }
.st-emoji { font-size: calc(64px * var(--fz, 1)); line-height: 1.1; } .st-text { font-size: calc(18px * var(--fz, 1)); font-weight: 600; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
.st-acts { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.sm-sel { margin-left: auto; width: auto; min-height: 34px; height: 34px; padding: 0 10px; font-size: calc(13px * var(--fz, 1)); border-radius: 10px; }
.cmt { display: flex; gap: 10px; padding: 10px 16px; align-items: flex-start; }
.cmt-b { flex: 1; min-width: 0; font-size: calc(14.5px * var(--fz, 1)); overflow-wrap: anywhere; } .cmt-b b { font-size: calc(13.5px * var(--fz, 1)); }
.cmt-form { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
/* Market */
.mk-bal { margin: 12px 16px 0; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, var(--gold-bg), var(--card)); border: 1px solid var(--gold-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-bal span { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); } .mk-bal b { display: flex; align-items: center; gap: 8px; font-size: calc(26px * var(--fz, 1)); } .mk-bal small { font-size: calc(13px * var(--fz, 1)); color: var(--muted); font-weight: 600; }
.vip-card .vip-h { display: flex; align-items: center; gap: 8px; color: #F2B13E; } .vip-card .vip-h b { font-size: calc(18px * var(--fz, 1)); }
.vip-card ul { margin: 8px 0 12px; padding-left: 20px; color: var(--text2); font-size: calc(14px * var(--fz, 1)); line-height: 1.6; }
.mk-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); } .mk-item:last-child { border-bottom: 0; }
.mk-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--field); display: flex; align-items: center; justify-content: center; color: var(--accent-text); flex-shrink: 0; }
.mk-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .mk-b b { font-size: calc(14.5px * var(--fz, 1)); } .mk-b span { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); }
.mk-prev { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.frame-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 16px; }
.fg { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 10px; border-radius: 16px; background: var(--card); border: 2px solid var(--line); font-size: calc(12.5px * var(--fz, 1)); font-weight: 700; }
.fg small { display: inline-flex; align-items: center; gap: 3px; color: var(--gold-text); font-size: calc(11px * var(--fz, 1)); } .fg.on { border-color: var(--accent); }
.fg-none { width: 54px; height: 54px; border-radius: 27px; border: 2px dashed var(--line2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
/* Musiqi zolağı */
.song-wrap { margin: 0 -8px 6px; }
.song-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 8px 4px; scrollbar-width: none; } .song-strip::-webkit-scrollbar { display: none; }
.sc { flex-shrink: 0; width: 176px; display: flex; gap: 7px; padding: 5px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.sc.top { border-color: #F2B13E; background: var(--gold-bg); } .sc.on { border-color: var(--accent); }
.sc-th { position: relative; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #000; }
.sc-th img { width: 100%; height: 100%; object-fit: cover; }
.sc-pl { position: absolute; inset: 0; margin: auto; width: 22px; height: 16px; border-radius: 5px; background: rgba(229, 56, 56, .92); color: #fff; display: flex; align-items: center; justify-content: center; }
.sc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.sc-t { font-size: calc(11.5px * var(--fz, 1)); font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-like { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; font-size: calc(11px * var(--fz, 1)); font-weight: 700; color: var(--muted); }
.sc-like.on { color: #F0605D; } .sc-like.on svg { fill: currentColor; }
.song-player { display: flex; align-items: center; gap: 8px; margin: 0 8px 6px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.song-player iframe { width: 128px; height: 72px; border: 0; border-radius: 8px; flex-shrink: 0; background: #000; }
.sp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sp-info b { font-size: calc(13px * var(--fz, 1)); }
.song-empty { font-size: calc(12.5px * var(--fz, 1)); color: var(--muted); padding: 2px 4px 8px; }
.ib.mus { position: relative; } .mus-n { position: absolute; top: 3px; right: 1px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: calc(9.5px * var(--fz, 1)); font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* İdarə paneli — yığcam görünüş */
.page.admin .card { margin: 8px 12px; padding: 12px; border-radius: 14px; }
.page.admin .form { padding: 6px 12px; gap: 10px; }
.page.admin .fl { gap: 4px; }
.page.admin .inp { min-height: 42px; padding: 9px 12px; border-radius: 11px; }
.page.admin textarea.inp { min-height: 0; }
.page.admin .note { margin: 8px 12px 0; padding: 8px 12px; font-size: calc(13px * var(--fz, 1)); text-align: left; border-radius: 12px; }
.page.admin .set-row { padding: 9px 0; }
.page.admin .row { padding: 7px 12px; }
.page.admin .pad { padding: 8px 12px; }
.page.admin .card-h { margin-bottom: 6px; }

/* Oyun mərkəzi və ana səhifə elanları */
.ghub { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px; }
.ghub-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ghub-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.gh-ic { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.gh-ic img { width: 100%; height: 100%; object-fit: cover; }
.gh-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gh-b b { font-size: calc(18px * var(--fz, 1)); } .gh-b > span { font-size: calc(13px * var(--fz, 1)); opacity: .85; }
.gh-b em { font-style: normal; font-size: calc(12px * var(--fz, 1)); font-weight: 700; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.gh-b em i { width: 8px; height: 8px; border-radius: 50%; background: #3DFF9A; box-shadow: 0 0 8px #3DFF9A; }
.gban-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gban-row::-webkit-scrollbar { display: none; }
.gban { flex: 0 0 calc(100% - 24px); scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 10px 34px 10px 14px; border-radius: 16px; color: #fff; position: relative; }
.gban-row .gban:only-child { flex-basis: 100%; }
.gb-main { flex: 1; min-width: 0; color: #fff; display: flex; flex-direction: column; }
.gb-main b { font-size: calc(14.5px * var(--fz, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gb-main span { font-size: calc(12px * var(--fz, 1)); opacity: .85; }
.gb-btn { background: #fff; color: #222; font-weight: 800; flex-shrink: 0; }
.gb-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 14px; color: rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; }

/* Yeni mesaj bildirişi (üstdə) */
.msg-pop { position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 130; width: min(440px, calc(100% - 20px)); display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 16px; background: var(--card, #fff); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.25); text-align: left; cursor: pointer; font: inherit; animation: msgPopIn .25s ease-out; }
.msg-pop-t { display: flex; flex-direction: column; min-width: 0; }
.msg-pop-t b { font-size: calc(15px * var(--fz, 1)); }
.msg-pop-t span { font-size: calc(14px * var(--fz, 1)); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes msgPopIn { from { transform: translate(-50%, -120%); } to { transform: translate(-50%, 0); } }


/* ===== Hissə 23: Mafia (aparıcılı) ===== */
.mxav { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; font-size: calc(19px * var(--fz, 1)); line-height: 1; background: #1E2A48; border: 2px solid #7FB2FF; overflow: hidden; position: relative; vertical-align: middle; }
.mxav img { width: 100%; height: 100%; object-fit: cover; }
.mxav.sm { width: 30px; height: 30px; font-size: calc(15px * var(--fz, 1)); border-width: 1px; } .mxav.xs { width: 24px; height: 24px; font-size: calc(12px * var(--fz, 1)); border-width: 1px; }
.mxav.xl { width: 72px; height: 72px; font-size: calc(36px * var(--fz, 1)); border-width: 3px; } .mxav.gold { background: linear-gradient(135deg, #F6C342, #B9780A); border-color: #FFFFFF; }
.mxav.on::after { content: ''; position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; border: 2px solid #0E1524; }
.pillx { display: inline-flex; align-items: center; gap: 5px; font-size: calc(12px * var(--fz, 1)); font-weight: 800; background: rgba(255, 255, 255, .1); color: inherit; border: 0; padding: 6px 11px; border-radius: 999px; white-space: nowrap; font-family: inherit; }
button.pillx { cursor: pointer; }
.mxhero { position: relative; overflow: hidden; border-radius: 22px; min-height: 300px; padding: 26px 22px 70px; color: #FFFFFF; background: radial-gradient(circle at 78% 18%, rgba(246, 195, 66, .18), transparent 30%), linear-gradient(160deg, #05060F 0%, #1A1033 45%, #4A0E12 100%); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.mxhero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px); pointer-events: none; }
.mxcity { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.mxmoon { position: absolute; right: 9%; top: 26px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6D6, #F6C342 60%, #B9780A); box-shadow: 0 0 60px 12px rgba(246, 195, 66, .35); }
.mxmoon::after { content: ''; position: absolute; left: 18px; top: 12px; width: 70px; height: 70px; border-radius: 50%; background: #120C28; opacity: .55; }
.mxfan { position: absolute; right: 6%; bottom: 52px; display: flex; }
.mxfan span { width: 54px; height: 76px; margin-left: -16px; border-radius: 9px; display: grid; place-items: center; font-size: calc(26px * var(--fz, 1)); background: linear-gradient(160deg, #CF2F1C, #3A0B0F); border: 2px solid #F6C342; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); transform: rotate(calc((var(--i, 0) - 2) * 9deg)); }
.mxfan span:nth-child(1) { --i: 0; } .mxfan span:nth-child(2) { --i: 1; background: linear-gradient(160deg, #2B5BE8, #0E1A45); } .mxfan span:nth-child(3) { --i: 2; } .mxfan span:nth-child(4) { --i: 3; background: linear-gradient(160deg, #0B7A5E, #062F26); } .mxfan span:nth-child(5) { --i: 4; background: linear-gradient(160deg, #6A3FD0, #24104F); }
.mxherotext { position: relative; max-width: 560px; }
.mxkicker { display: inline-block; font-size: calc(11px * var(--fz, 1)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6C342; border: 1px solid rgba(246, 195, 66, .5); border-radius: 999px; padding: 4px 10px; }
.mxhero h1 { margin: 10px 0 6px; font-size: calc(54px * var(--fz, 1)); line-height: 1; letter-spacing: .12em; font-weight: 900; color: #FFFFFF; text-shadow: 0 0 24px rgba(207, 47, 28, .65), 0 3px 0 #4A0E12; }
.mxhero p { margin: 0 0 14px; font-size: calc(14.5px * var(--fz, 1)); line-height: 1.55; opacity: .9; max-width: 470px; }
.mxcta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn.mxgold { background: linear-gradient(180deg, #F6C342, #C98A0B); color: #2A1B00; border-color: #C98A0B; font-weight: 900; }
.btn.mxghost { background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: rgba(255, 255, 255, .3); display: inline-flex; align-items: center; gap: 6px; }
.mxstats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: calc(13px * var(--fz, 1)); opacity: .9; } .mxstats b { color: #F6C342; font-size: calc(16px * var(--fz, 1)); }
.mxcontest { margin-top: 12px; border: 2px solid #F6C342; border-radius: 18px; padding: 12px; color: #FFFFFF; background: linear-gradient(100deg, #1B1408, #0E1524 60%); }
.mxchead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.mxchead b { font-size: calc(16px * var(--fz, 1)); display: block; } .mxchead small { opacity: .8; font-size: calc(12px * var(--fz, 1)); }
.mxprizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mxprizes div { text-align: center; border-radius: 12px; padding: 9px 6px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(246, 195, 66, .35); }
.mxprizes span { font-size: calc(24px * var(--fz, 1)); display: block; } .mxprizes b { display: block; font-size: calc(13px * var(--fz, 1)); } .mxprizes small { font-size: calc(12px * var(--fz, 1)); opacity: .9; }
.mxgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mxbox { border-radius: 16px; padding: 12px; background: #0F1628; color: #E8EEFA; border: 1px solid #23304F; }
.mxbox h2 { font-size: calc(15px * var(--fz, 1)); margin: 0 0 9px; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; }
.mxbox .mute, .mxroomw .mute, .mxprof .mute { color: #9FB0D3; }
.mxbox .inp, .mxprof .inp { background: #F6F9FF; color: #12233F; }
.mxbox .lbl { color: #E8EEFA; }
.mxroom { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: #17213A; border: 1px solid #2B3857; margin-bottom: 7px; color: #E8EEFA; }
.mxroom:hover { border-color: #F6C342; } .mxroom .rt { flex: 1; min-width: 0; } .mxroom b { display: block; font-size: calc(14px * var(--fz, 1)); color: #FFFFFF; } .mxroom small { display: block; font-size: calc(12px * var(--fz, 1)); opacity: .8; margin-top: 1px; }
.mxhostav { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: calc(18px * var(--fz, 1)); background: linear-gradient(135deg, #F6C342, #B9780A); border: 2px solid #FFFFFF; position: relative; }
.mxhostav img { width: 100%; height: 100%; object-fit: cover; } .mxhostav.on { box-shadow: 0 0 0 2px #2ECC71; }
.mxrow { display: flex; align-items: center; gap: 9px; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: calc(13px * var(--fz, 1)); color: #E8EEFA; }
.mxrow:last-child { border: 0; } .mxrow b { color: #FFFFFF; } .mxrow small { opacity: .65; font-size: calc(11.5px * var(--fz, 1)); } .mxrow .v { margin-left: auto; font-weight: 900; white-space: nowrap; } .mxrow .md { width: 24px; text-align: center; font-size: calc(17px * var(--fz, 1)); font-weight: 900; opacity: .9; }
/* Profil */
.mxprof { display: flex; flex-direction: column; gap: 10px; border-radius: 18px; padding: 16px; background: linear-gradient(160deg, #0E1524, #1A1033); color: #E8EEFA; }
.mxprofhead { display: flex; gap: 14px; align-items: center; } .mxprofhead h1 { margin: 0; font-size: calc(22px * var(--fz, 1)); color: #FFFFFF; } .mxprofhead p { margin: 4px 0 0; font-size: calc(13px * var(--fz, 1)); opacity: .85; }
.mxprof .lbl { color: #E8EEFA; }
.mxpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 7px; }
.mxpick label { cursor: pointer; display: grid; place-items: center; } .mxpick input { position: absolute; opacity: 0; }
.mxpick .mxav { width: 48px; height: 48px; font-size: calc(24px * var(--fz, 1)); border-radius: 14px; border-color: #2B3857; }
.mxpick input:checked + .mxav { border-color: #F6C342; background: #3B1F5C; box-shadow: 0 0 0 2px #F6C342; }
.mxupload { display: block; border: 2px dashed #4A5B7A; border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; font-weight: 800; }
.mxupload small { display: block; font-weight: 600; opacity: .75; margin: 3px 0 6px; }
/* Otaq */
.mxroomw { border-radius: 18px; padding: 12px; color: #E8EEFA; background: radial-gradient(ellipse at 50% 0%, #1B2546, #0A0F1E 75%); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 10px; }
.mxroomw.ph-night { background: radial-gradient(ellipse at 50% 0%, #1A1442, #04050C 75%); }
.mxroomw.ph-vote, .mxroomw.ph-defense { background: radial-gradient(ellipse at 50% 0%, #3A1A12, #0A0F1E 75%); }
.mxtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mxtop #xPlBtn { margin-left: auto; }
.mxphase { font-weight: 900; font-size: calc(15px * var(--fz, 1)); display: flex; align-items: center; gap: 8px; } .mxphase i { width: 10px; height: 10px; border-radius: 50%; background: #F6C342; box-shadow: 0 0 10px #F6C342; }
.ph-night .mxphase i { background: #8FA8FF; box-shadow: 0 0 10px #8FA8FF; }
.mxhostbar { display: flex; gap: 12px; align-items: flex-start; background: rgba(8, 12, 26, .95); border: 2px solid #F6C342; border-radius: 14px; padding: 10px; }
.mxhav { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: calc(22px * var(--fz, 1)); background: linear-gradient(135deg, #F6C342, #B9780A); border: 2px solid #FFFFFF; position: relative; }
.mxhav img { width: 100%; height: 100%; object-fit: cover; } .mxhav.on { box-shadow: 0 0 0 3px #2ECC71; }
.mxhinfo { flex: 1; min-width: 0; } .mxhinfo b { font-size: calc(14px * var(--fz, 1)); color: #FFFFFF; }
.hl { font-size: calc(10px * var(--fz, 1)); color: #F6C342; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.mxhsay { font-size: calc(13.5px * var(--fz, 1)); margin-top: 3px; opacity: .92; line-height: 1.45; }
.mxhbtns { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; align-items: center; }
.mxhint { margin-top: 7px; font-size: calc(12.5px * var(--fz, 1)); padding: 6px 9px; border-radius: 9px; background: rgba(246, 195, 66, .12); border: 1px solid rgba(246, 195, 66, .4); }
.mxroomw .b { font: inherit; font-size: calc(12px * var(--fz, 1)); font-weight: 800; padding: 7px 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #FFFFFF; cursor: pointer; }
.mxroomw .b:hover { background: rgba(255, 255, 255, .16); }
.mxroomw .b.p { background: #2B5BE8; border-color: #2B5BE8; } .mxroomw .b.n { background: #3B1F5C; border-color: #6B4BA0; } .mxroomw .b.g { background: #F6C342; color: #2A1B00; border-color: #F6C342; }
.mxroomw .b.r { background: #A3261E; border-color: #CF2F1C; } .mxroomw .b.gr { background: #0B7A5E; border-color: #0B7A5E; } .mxroomw .b.on { outline: 2px solid #FFFFFF; outline-offset: 1px; } .mxroomw .b.dim { opacity: .45; } .mxroomw .b.lk { border-style: dashed; }
.mxpanel { border: 1px solid #6B4BA0; border-radius: 14px; padding: 12px; background: #121A30; }
.mxpanel h3 { margin: 0 0 9px; font-size: calc(14px * var(--fz, 1)); color: #FFFFFF; }
.mxcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.mxcard { border-radius: 12px; padding: 8px; background: #18223A; border: 1px solid #2B3857; text-align: center; font-size: calc(12.5px * var(--fz, 1)); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mxcard.off { opacity: .5; } .mxcard b { color: #FFFFFF; } .mxcard small { opacity: .7; font-size: calc(11px * var(--fz, 1)); }
.mxci { width: 40px; height: 54px; border-radius: 7px; display: grid; place-items: center; font-size: calc(20px * var(--fz, 1)); overflow: hidden; flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .3); }
.mxci img { width: 100%; height: 100%; object-fit: cover; }
.mxci.s-maf { background: linear-gradient(160deg, #CF2F1C, #4A1410); } .mxci.s-city { background: linear-gradient(160deg, #2B5BE8, #12233F); } .mxci.s-solo { background: linear-gradient(160deg, #6A3FD0, #2A1660); }
.mxck { display: inline-flex; align-items: center; gap: 5px; font-size: calc(12px * var(--fz, 1)); font-weight: 700; cursor: pointer; }
.mxcnt { display: inline-flex; align-items: center; gap: 4px; } .mxcnt button { width: 26px; height: 26px; border-radius: 7px; border: 0; background: #2B3857; color: #FFFFFF; font-weight: 900; cursor: pointer; }
.mxcnt input { width: 48px; text-align: center; padding: 4px; border-radius: 7px; border: 1px solid #2B3857; background: #0E1524; color: #FFFFFF; font: inherit; }
.mxsum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: calc(13px * var(--fz, 1)); }
.mxacts { display: flex; flex-direction: column; gap: 3px; font-size: calc(12.5px * var(--fz, 1)); margin-bottom: 8px; opacity: .9; }
.mxdeaths { display: flex; flex-direction: column; gap: 5px; }
.mxdeaths label { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: #18223A; border: 1px solid #2B3857; font-size: calc(13px * var(--fz, 1)); cursor: pointer; flex-wrap: wrap; }
.mxdeaths label.ok { border-color: #CF2F1C; } .mxdeaths label.no { opacity: .8; } .mxdeaths small { opacity: .8; }
.mxnote { font-size: calc(12.5px * var(--fz, 1)); padding: 7px 9px; border-radius: 9px; margin-top: 6px; background: rgba(43, 91, 232, .14); border: 1px solid rgba(43, 91, 232, .5); }
.mxpick2 { display: flex; flex-wrap: wrap; gap: 6px; font-size: calc(13px * var(--fz, 1)); } .mxpick2 label { padding: 5px 9px; border-radius: 9px; background: #18223A; border: 1px solid #2B3857; cursor: pointer; }
.mxmine { display: flex; gap: 10px; align-items: center; border-radius: 12px; padding: 9px 12px; font-size: calc(13px * var(--fz, 1)); background: linear-gradient(90deg, #12306B, #1B2546); border: 1px solid #2B5BE8; }
.mxmine.s-maf { background: linear-gradient(90deg, #4A1410, #1B2546); border-color: #A3261E; } .mxmine.s-solo { background: linear-gradient(90deg, #2A1660, #1B2546); border-color: #6A3FD0; }
.mxmine.dead { filter: grayscale(.7); } .mxmine small { display: block; opacity: .85; margin-top: 2px; } .mxmine small.mates { color: #FFB3A8; }
.mxwake { border: 2px solid #8FA8FF; border-radius: 14px; padding: 10px; background: rgba(20, 26, 70, .8); }
.mxwh { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; font-size: calc(13px * var(--fz, 1)); } .mxwh b { font-size: calc(15px * var(--fz, 1)); }
.mxgridp { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.mxpb { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 10px; background: #18223A; border: 1px solid #2B3857; font: inherit; font-size: calc(12.5px * var(--fz, 1)); color: #FFFFFF; text-align: left; cursor: pointer; }
.mxpb:hover { border-color: #8FA8FF; } .mxpb.sel { border-color: #CF2F1C; background: rgba(163, 38, 30, .35); } .mxpb.mate { border-color: #6B1A13; }
.mxvote { border: 2px solid #F6C342; border-radius: 16px; padding: 12px; background: rgba(8, 12, 26, .9); }
.mxvh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 6px; flex-wrap: wrap; } .mxvh b { font-size: calc(15px * var(--fz, 1)); }
.mxlock { font-size: calc(13px * var(--fz, 1)); font-weight: 800; padding: 8px 11px; border-radius: 10px; background: rgba(163, 38, 30, .2); border: 1px solid #A3261E; margin-bottom: 8px; }
.mxmyvote { font-size: calc(13px * var(--fz, 1)); padding: 8px 11px; border-radius: 10px; background: rgba(43, 91, 232, .18); border: 1px solid #2B5BE8; margin-bottom: 8px; }
.mxcols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; }
.mxcols > div { border: 1px solid #2B3857; border-radius: 12px; padding: 8px; background: rgba(255, 255, 255, .03); min-width: 0; }
.mxcols h4 { margin: 0 0 7px; font-size: calc(11.5px * var(--fz, 1)); text-transform: uppercase; letter-spacing: .05em; } .mxcols h4.g { color: #8CF0B0; } .mxcols h4.y { color: #F6C342; } .mxcols h4.r { color: #FFA99E; }
.mxvr { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 9px; background: #18223A; border: 1px solid #2B3857; margin-bottom: 4px; font-size: calc(12px * var(--fz, 1)); }
.mxvr > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mxvr.me { border-color: #2B5BE8; } .mxvr.top { border-color: #F6C342; background: linear-gradient(90deg, rgba(246, 195, 66, .2), #18223A); }
.mxvr .to { margin-left: auto; opacity: .75; font-size: calc(11px * var(--fz, 1)); white-space: nowrap; } .mxvr .cnt { margin-left: auto; font-weight: 900; background: #F6C342; color: #2A1B00; border-radius: 6px; padding: 0 6px; }
.mxvr .wait { margin-left: auto; font-size: calc(10.5px * var(--fz, 1)); opacity: .6; }
.vbtn { margin-left: auto; font: inherit; font-size: calc(11px * var(--fz, 1)); font-weight: 800; border: 0; border-radius: 6px; padding: 3px 8px; background: #2B5BE8; color: #FFFFFF; cursor: pointer; }
.mxvr .cnt + .vbtn { margin-left: 4px; }
.mxcols .bar { height: 4px; border-radius: 3px; background: #F6C342; margin: -2px 0 6px; }
.mxdef { display: flex; gap: 14px; align-items: center; border: 2px solid #CF2F1C; border-radius: 16px; padding: 12px; background: linear-gradient(90deg, rgba(163, 38, 30, .35), rgba(0, 0, 0, .2)); }
.mxdef > div:nth-child(2) { flex: 1; min-width: 0; } .mxdef small { display: block; font-size: calc(11px * var(--fz, 1)); text-transform: uppercase; letter-spacing: .05em; opacity: .8; } .mxdef b { display: block; font-size: calc(19px * var(--fz, 1)); } .mxdef span { font-size: calc(13px * var(--fz, 1)); opacity: .9; }
.mxtimer { width: 68px; height: 68px; border-radius: 50%; border: 4px solid #FF6B5A; display: grid; place-items: center; font-size: calc(18px * var(--fz, 1)); font-weight: 900; flex: 0 0 auto; }
.mxplayers { border: 1px solid #2B3857; border-radius: 14px; padding: 10px; background: rgba(255, 255, 255, .03); }
.mxplh { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .mxplh .inp { flex: 1; padding: 7px 10px; font-size: calc(13px * var(--fz, 1)); background: #F6F9FF; color: #12233F; }
.mxpc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border-radius: 12px; background: linear-gradient(180deg, #1E2A48, #141D35); border: 1px solid #2B3857; text-align: center; font-size: calc(12px * var(--fz, 1)); min-width: 0; }
.mxpc b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #FFFFFF; } .mxpc small { font-size: calc(10.5px * var(--fz, 1)); opacity: .7; }
.mxpc .num { position: absolute; top: 5px; left: 6px; font-size: calc(10px * var(--fz, 1)); font-weight: 900; background: #0E1524; border: 1px solid #7FB2FF; border-radius: 6px; padding: 0 4px; }
.mxpc.dead { opacity: .45; filter: grayscale(1); } .mxpc.won { border-color: #F6C342; } .mxpc .wonl { color: #F6C342; opacity: 1; font-weight: 800; }
.mxpc .real { font-size: calc(11px * var(--fz, 1)); color: #9FC1FF; } .mxpc .mini, .mxroomw select.mini { font: inherit; font-size: calc(10.5px * var(--fz, 1)); padding: 3px 6px; border-radius: 6px; border: 1px solid #2B3857; background: #0E1524; color: #FFFFFF; cursor: pointer; max-width: 100%; }
.mxsep { grid-column: 1 / -1; font-size: calc(11.5px * var(--fz, 1)); text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-top: 4px; }
.mxtag { font-size: calc(10.5px * var(--fz, 1)); font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #2B5BE8; } .mxtag.s-maf { background: #A3261E; } .mxtag.s-solo { background: #6A3FD0; }
i.bot { font-style: normal; font-size: calc(9.5px * var(--fz, 1)); font-weight: 900; background: #59617A; color: #FFFFFF; border-radius: 5px; padding: 0 4px; letter-spacing: .04em; }
.mxjoin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-size: calc(13px * var(--fz, 1)); }
.mxend { flex-basis: 100%; text-align: center; font-weight: 800; padding: 10px; border-radius: 12px; background: linear-gradient(120deg, #12306B, #0B7A5E); }
.mxtabs2 { display: flex; gap: 6px; flex-wrap: wrap; }
.mxtabs2 button { font: inherit; font-size: calc(13px * var(--fz, 1)); font-weight: 800; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); color: #FFFFFF; cursor: pointer; }
.mxtabs2 button.on { background: #2B5BE8; border-color: #2B5BE8; } .mxtabs2 button.maf { border-color: #A3261E; } .mxtabs2 button.maf.on { background: #A3261E; }
.mxsend { display: flex; flex-direction: column; gap: 6px; }
.mxto { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: calc(12px * var(--fz, 1)); } .mxto:empty { display: none; }
.mxsendrow { display: flex; gap: 6px; } .mxsendrow .inp { flex: 1; background: #F6F9FF; color: #12233F; }
.mxsend.locked .inp { background: #1E2A44; color: #7C8BAA; border-style: dashed; } .mxsend.locked .btn { opacity: .4; pointer-events: none; }
.mxfeed { display: flex; flex-direction: column; gap: 5px; max-height: 520px; overflow-y: auto; }
.mxm { display: flex; gap: 8px; align-items: flex-start; padding: 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: calc(13.5px * var(--fz, 1)); line-height: 1.45; word-break: break-word; }
.mxm .mh { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .mxm .mh b { font-size: calc(13px * var(--fz, 1)); color: #FFFFFF; } .mxm .mh small { opacity: .5; font-size: calc(11px * var(--fz, 1)); margin-left: 2px; }
.mxm .num { font-size: calc(10px * var(--fz, 1)); font-weight: 800; background: #0E1524; border: 1px solid #7FB2FF; border-radius: 5px; padding: 0 4px; }
.mxm.host { background: linear-gradient(90deg, rgba(246, 195, 66, .16), rgba(246, 195, 66, .03)); border: 1px solid rgba(246, 195, 66, .4); } .mxm.host .mh b { color: #F6C342; }
.mxm.pv { background: rgba(106, 63, 208, .16); border: 1px dashed #8C6BE0; } .mxm.pvm { background: rgba(163, 38, 30, .18); border: 1px dashed #CF5A4A; }
.mxm.maf { background: rgba(163, 38, 30, .14); border: 1px solid rgba(163, 38, 30, .5); } .mxm.dfn { border: 1px solid #CF2F1C; background: rgba(163, 38, 30, .15); }
.mxm .lock { font-size: calc(10.5px * var(--fz, 1)); font-weight: 800; border-radius: 6px; padding: 1px 6px; background: #6A3FD0; } .mxm.pvm .lock { background: #A3261E; }
.mxm.sys { justify-content: center; text-align: center; background: rgba(255, 255, 255, .06); font-size: calc(12.5px * var(--fz, 1)); color: #CFD9F2; } .mxm.sys small { opacity: .5; margin-left: 6px; font-size: calc(11px * var(--fz, 1)); }
@media (max-width: 760px) {
  .mxgrid { grid-template-columns: 1fr; }
  .mxcols { grid-template-columns: 1fr; }
  .mxhero h1 { font-size: calc(42px * var(--fz, 1)); } .mxfan { display: none; } .mxmoon { width: 56px; height: 56px; right: 18px; top: 18px; }
  .mxgridp { grid-template-columns: repeat(2, 1fr); }
  .mxplayers .mxgridp { grid-template-columns: repeat(3, 1fr); }
  .mxprizes small { font-size: calc(11px * var(--fz, 1)); }
}
.mxm small { white-space: nowrap; }
.mxtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mxtile { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 12px; border-radius: 16px; color: #FFFFFF; background: #0F1628; border: 1px solid #23304F; overflow: hidden; min-height: 108px; transition: transform .12s, border-color .12s; }
.mxtile:hover { transform: translateY(-2px); border-color: #F6C342; }
.mxtile span { font-size: calc(28px * var(--fz, 1)); line-height: 1; } .mxtile b { font-size: calc(15px * var(--fz, 1)); } .mxtile small { font-size: calc(12px * var(--fz, 1)); opacity: .8; }
.mxtile em { font-style: normal; font-size: calc(11px * var(--fz, 1)); font-weight: 800; color: #F6C342; margin-top: 2px; }
.mxtile::after { content: ''; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; opacity: .35; }
.mxtile.t-host::after { background: #F6C342; } .mxtile.t-cup::after { background: #CF2F1C; } .mxtile.t-rate::after { background: #2B5BE8; }
.mxtile.t-win::after { background: #0B7A5E; } .mxtile.t-prof::after { background: #6A3FD0; } .mxtile.t-rule::after { background: #59617A; }
@media (max-width: 760px) { .mxtiles { grid-template-columns: repeat(2, 1fr); } }
.qfhero { background: linear-gradient(120deg, #1B1F3B, #4F46E5); color: #FFFFFF; border: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.qfhero h1 { color: #FFFFFF; font-size: calc(22px * var(--fz, 1)); }
.qfhero p { margin: 4px 0 0; font-size: calc(14px * var(--fz, 1)); opacity: .9; }
.qfrow { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 14px 16px; }
.qfrow:hover { text-decoration: none; border-color: var(--accent); }
.qfrow .rtext { flex: 1 1 auto; }
.cages { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.cage { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: calc(13px * var(--fz, 1)); min-width: 0; }
.cage b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cagein { position: relative; display: inline-flex; border-radius: 14px; overflow: hidden; padding: 4px; background: #2A2F45; }
.cage.empty .cagein { width: 72px; height: 72px; background: var(--field); }
.bars { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(150, 160, 185, .8) 15px 17px); border-top: 4px solid #8F98B3; border-bottom: 4px solid #8F98B3; pointer-events: none; }
.cage.danger { border-color: #E5483A; background: rgba(229, 72, 58, .14); }
.cage.danger .vcount { color: #FF7A6E; font-weight: 800; }
.cage.myvote { border-color: #1E9E5A; }
.cage.out { opacity: .5; filter: grayscale(1); }
.cage.win { border-color: #E0A100; box-shadow: 0 0 0 3px #FFE08A; }
.vcount { font-weight: 700; color: var(--accent-text); }
.qfwin { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: calc(18px * var(--fz, 1)); border-color: #E0A100; }

/* ===== Oyunlar: Mafia və Virtual qəfəs (bekar.az-dan köçürülüb) — Ramo ===== */
.mxpage { background: #070A14; color: #E8EEFA; }
.mxpage .topbar { background: #0A0F1E; color: #FFFFFF; border-bottom: 1px solid #1E2846; }
.mxpage .topbar .ib, .mxpage .tb-sub { color: #C9D4EE; }
.mxwrap { padding: 12px 12px 30px; display: flex; flex-direction: column; gap: 12px; }
.mxwrap .btn { font-weight: 800; }
.mxwrap .inp, .mxroomw .inp { background: #F6F9FF; color: #12233F; border-color: transparent; }
.mxwrap .mute, .mxroomw .mute { color: #9FB0D3; }
.mxwrap .fl > span { color: #C9D4EE; }
.mxrules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: calc(13.5px * var(--fz, 1)); line-height: 1.5; color: #CFD9F2; }
.mxtile { text-align: left; }
.mxsum b { color: #FFFFFF; }
.mxroomw .mxsendrow .btn { white-space: nowrap; }
.mxpick button { display: grid; place-items: center; padding: 0; background: none; border: 0; cursor: pointer; }
.mxpick button.on .mxav { border-color: #F6C342; background: #3B1F5C; box-shadow: 0 0 0 2px #F6C342; }
.mxupload input { display: none; }
.mxm .mbody { min-width: 0; }
.mxerr { font-size: calc(13px * var(--fz, 1)); font-weight: 700; padding: 9px 12px; border-radius: 10px; background: rgba(229, 72, 58, .18); border: 1px solid #CF2F1C; color: #FFC9C2; }
.mxadm .mxcard { text-align: left; align-items: stretch; }
.adm-mx-card { display: flex; gap: 10px; align-items: center; }
.adm-mx-card .mxci { width: 34px; height: 46px; font-size: calc(18px * var(--fz, 1)); }
.mxdate { display: flex; gap: 6px; } .mxdate .inp { flex: 1; min-width: 0; }
/* Virtual qəfəs */
.qfpage .wrap { padding: 12px 12px 30px; display: flex; flex-direction: column; gap: 12px; }
.qfhero { border-radius: 18px; padding: 16px; }
.qfrow { border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.qftiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qftiles div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.qftiles b { display: block; font-size: calc(18px * var(--fz, 1)); } .qftiles span { font-size: calc(12px * var(--fz, 1)); color: var(--muted); }
.cage .av { border-radius: 10px; } .cage .av img { border-radius: 10px; }
.cage .btn.sm { padding: 5px 10px; }
.qflog { display: flex; flex-direction: column; gap: 6px; font-size: calc(13px * var(--fz, 1)); }
.qflog small { color: var(--muted); margin-right: 6px; }
.fgame.qf .fb { background: linear-gradient(135deg, #1B1F3B, #4F46E5); }

/* ===== Butulka — klassik görünüş (taxta masa, ortada butulka) — Ramo ===== */
.bt-page { background: #F3EEE6; color: #2A2018; display: flex; flex-direction: column; min-height: 100dvh; padding-bottom: 0; }
.bt-page.bt-play { height: 100dvh; min-height: 0; overflow: hidden; }
.bt-page .sheet { color: var(--text); }
.bt-page .muted { color: #8A7A68; }
.bt-top { display: flex; align-items: center; gap: 6px; padding: 8px 8px; background: linear-gradient(180deg, #D98B3A, #C77526); color: #fff; position: sticky; top: 0; z-index: 20; }
.bt-top .ib { color: #fff; width: 40px; height: 40px; }
.bt-hearts { display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 900; font-size: calc(18px * var(--fz, 1)); }
.bt-hearts span { font-size: calc(26px * var(--fz, 1)); color: #FF5A3C; text-shadow: 0 1px 0 #fff, 0 0 0 #fff; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.bt-ic { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; font-size: calc(18px * var(--fz, 1)); color: #fff; position: relative; flex-shrink: 0; }
.bt-ic .dot { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #FF3B30; border: 2px solid #D98B3A; }
.bt-tname { display: flex; flex-direction: column; align-items: center; line-height: 1.05; color: #fff; padding: 0 4px; }
.bt-tname small { font-size: calc(10px * var(--fz, 1)); opacity: .85; } .bt-tname b { font-size: calc(14px * var(--fz, 1)); }
/* masa fonları */
.th-wood { background: radial-gradient(ellipse at 50% 50%, rgba(255, 220, 160, .35), transparent 60%), repeating-linear-gradient(90deg, #D4914A 0 7px, #CC8840 7px 9px, #D99A55 9px 21px, #C98543 21px 23px); }
.th-cherry { background: radial-gradient(ellipse at 50% 50%, rgba(255, 170, 160, .3), transparent 60%), repeating-linear-gradient(90deg, #9E2F2A 0 8px, #932A25 8px 10px, #A8362F 10px 22px); }
.th-night { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .5) 0 1px, transparent 2px) 0 0/37px 41px, radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .35) 0 1px, transparent 2px) 0 0/53px 47px, radial-gradient(ellipse at 50% 40%, #2C3E7A, #0D1430 75%); }
.th-marble { background: linear-gradient(120deg, transparent 40%, rgba(160, 160, 170, .35) 41%, transparent 43%), linear-gradient(60deg, transparent 60%, rgba(160, 160, 170, .3) 61%, transparent 63%), radial-gradient(ellipse at 50% 50%, #FBFBFB, #DEDCE0); }
.th-meadow { background: radial-gradient(ellipse at 50% 50%, rgba(220, 255, 180, .35), transparent 60%), repeating-linear-gradient(45deg, #5E9E3C 0 6px, #58963A 6px 12px); }
.th-velvet { background: radial-gradient(ellipse at 50% 40%, #7E3FA8, #3A1356 80%); }
/* masalar */
.bt-lobby { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.bt-big { background: linear-gradient(180deg, #8CD14A, #5FAE2A); color: #fff; font-size: calc(18px * var(--fz, 1)); font-weight: 900; padding: 14px; border-radius: 16px; box-shadow: 0 4px 0 #4C8D22; text-align: center; }
.bt-queue { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #FFF4D6; border: 1px solid #F0C96A; font-size: calc(13.5px * var(--fz, 1)); }
.bt-tcard { border-radius: 20px; padding: 12px; color: #fff; box-shadow: 0 6px 18px rgba(120, 70, 20, .25), inset 0 0 0 4px rgba(255, 255, 255, .35); position: relative; }
.bt-tcard.mine { box-shadow: 0 6px 18px rgba(120, 70, 20, .25), inset 0 0 0 4px #FFD54A; }
.bt-th { display: flex; justify-content: space-between; align-items: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.bt-th b { font-size: calc(17px * var(--fz, 1)); } .bt-th span { font-size: calc(13px * var(--fz, 1)); font-weight: 700; background: rgba(0, 0, 0, .3); padding: 2px 9px; border-radius: 10px; }
.bt-faces { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin: 10px 0; }
.bt-face { width: calc((100% - 30px) / 6); max-width: 54px; height: auto; aspect-ratio: 1 / 1; flex-shrink: 0; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; background: rgba(255, 255, 255, .9); color: #8A6A4A; border: 2px solid rgba(255, 255, 255, .9); }
.bt-face img { width: 100%; height: 100%; object-fit: cover; }
.bt-face.free { background: rgba(0, 0, 0, .15); border: 2px dashed rgba(255, 255, 255, .5); }
.bt-face.g-f { border-color: #FF8FB8; } .bt-face.g-m { border-color: #7CC0FF; }
.bt-tact { display: flex; justify-content: flex-end; }
.bt-go { background: #fff; color: #7A4413; font-weight: 900; padding: 8px 18px; }
.bt-rules { background: #fff; border-radius: 14px; padding: 10px 14px; font-size: calc(13.5px * var(--fz, 1)); }
.bt-rules summary { font-weight: 800; cursor: pointer; } .bt-rules ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
/* masa (oyun lövhəsi) */
.bt-board { position: relative; width: 100%; aspect-ratio: 1 / 1.12; max-height: 56dvh; overflow: hidden; flex-shrink: 0; touch-action: manipulation; }
.chat-big .bt-board { max-height: 40dvh; }
.bt-orn { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%); fill: rgba(255, 255, 255, .13); stroke: rgba(120, 60, 10, .18); stroke-width: 2; }
.bt-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.bt-bottle { transform-origin: 50% 50%; filter: drop-shadow(4px 8px 6px rgba(0, 0, 0, .35)); line-height: 0; }
.bt-spos { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.bt-seat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bt-ph { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; background: #EEE; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; border: 2px solid #fff; transition: transform .2s, box-shadow .2s; }
.bt-ph > img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.bt-noph { font-size: calc(24px * var(--fz, 1)); font-weight: 900; color: #A08870; }
.bt-ph.big { width: 110px; height: 110px; font-size: calc(40px * var(--fz, 1)); }
.bt-seat.turn .bt-ph { box-shadow: 0 0 0 3px #FFE14A, 0 0 18px #FFE14A; transform: scale(1.06); }
.bt-seat.target .bt-ph { box-shadow: 0 0 0 3px #FF4D7A, 0 0 18px #FF4D7A; transform: scale(1.06); }
.bt-kc { position: absolute; top: -8px; right: -8px; min-width: 26px; height: 22px; padding: 0 4px; border-radius: 11px; background: radial-gradient(circle at 40% 35%, #FF6B6B, #C8102E); color: #fff; font-size: calc(11px * var(--fz, 1)); font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.bt-wear { position: absolute; right: -8px; bottom: -6px; font-size: calc(26px * var(--fz, 1)); line-height: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.bt-wear img { width: 34px; height: 34px; object-fit: contain; }
.bt-king { position: absolute; top: -18px; left: -6px; font-size: calc(24px * var(--fz, 1)); transform: rotate(-18deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.bt-tier { position: absolute; bottom: -6px; left: -6px; font-size: calc(15px * var(--fz, 1)); }
.bt-nm { font-size: calc(11px * var(--fz, 1)); font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-marble .bt-nm { color: #333; text-shadow: none; }
.bt-status { position: absolute; left: 50%; bottom: 23%; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 56%; text-align: center; }
.bt-status > b { font-size: calc(13px * var(--fz, 1)); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.bt-timer { width: 70%; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .25); overflow: hidden; }
.bt-timer i { display: block; height: 100%; background: #FFE14A; transition: width .5s linear; }
.bt-spin { background: linear-gradient(180deg, #8CD14A, #5FAE2A); color: #fff; font-weight: 900; padding: 10px 28px; border-radius: 14px; box-shadow: 0 3px 0 #4C8D22; animation: btPulse 1.2s infinite; }
@keyframes btPulse { 50% { transform: scale(1.06); } }
.bt-dec { display: flex; gap: 8px; }
.bt-no { background: linear-gradient(180deg, #F25A3C, #D53A20); color: #fff; font-weight: 900; padding: 10px 16px; border-radius: 12px; box-shadow: 0 3px 0 #A52A14; }
.bt-yes { background: linear-gradient(180deg, #8CD14A, #5FAE2A); color: #fff; font-weight: 900; padding: 10px 26px; border-radius: 12px; box-shadow: 0 3px 0 #4C8D22; }
.bt-fly { position: absolute; z-index: 10; left: var(--x0); top: var(--y0); transform: translate(-50%, -50%); font-size: calc(34px * var(--fz, 1)); pointer-events: none; animation: btFly 1.2s ease-in-out forwards; }
.bt-fly img { width: 44px; height: 44px; object-fit: contain; }
.bt-fly.kiss { animation-name: btKiss; font-size: calc(44px * var(--fz, 1)); }
@keyframes btFly { 0% { left: var(--x0); top: var(--y0); transform: translate(-50%, -50%) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } 85% { left: var(--x1); top: var(--y1); transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { left: var(--x1); top: var(--y1); transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
@keyframes btKiss { 0% { left: var(--x0); top: var(--y0); transform: translate(-50%, -50%) scale(.5); } 50% { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.8); } 100% { left: var(--x1); top: var(--y1); transform: translate(-50%, -50%) scale(.8); opacity: 0; } }
/* söhbət */
.bt-chat { flex: 1; display: flex; flex-direction: column; background: #F3EEE6; position: relative; min-height: 0; }
.bt-size { position: absolute; right: 10px; top: -18px; z-index: 8; width: 44px; height: 30px; border-radius: 15px; background: #555; color: #fff; font-weight: 900; font-size: calc(18px * var(--fz, 1)); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.bt-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column-reverse; gap: 4px; padding: 8px 10px; min-height: 0; }
.chat-big .bt-board { max-height: 34dvh; }
.bt-m { display: flex; align-items: center; gap: 6px; font-size: calc(14px * var(--fz, 1)); }
.bt-mt { background: #fff; border-radius: 12px; padding: 6px 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); max-width: 82%; word-break: break-word; }
.bt-mt b.g-f { color: #E0457B; } .bt-mt b.g-m { color: #2F7DE1; }
.bt-mav { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; background: #DDD; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #777; flex-shrink: 0; }
.bt-mav img { width: 100%; height: 100%; object-fit: cover; }
.bt-gi { font-size: calc(26px * var(--fz, 1)); line-height: 1; } .bt-gi img { width: 32px; height: 32px; object-fit: contain; }
.bt-arr { color: #5FAE2A; font-weight: 900; font-size: calc(20px * var(--fz, 1)); }
.bt-cnt { font-weight: 900; color: #5FAE2A; font-size: calc(18px * var(--fz, 1)); animation: btBump .4s; }
@keyframes btBump { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }
.bt-m.s { justify-content: center; font-size: calc(12px * var(--fz, 1)); color: #9A8A78; }
.bt-m.jp { justify-content: center; background: linear-gradient(90deg, #FFE7A0, #FFD15C); border-radius: 12px; padding: 6px 10px; font-size: calc(13px * var(--fz, 1)); }
.bt-emo { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 6px 8px; background: #fff; border-top: 1px solid #EADFD0; }
.bt-emo button { font-size: calc(24px * var(--fz, 1)); padding: 4px 0; }
.bt-input { display: flex; align-items: center; gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EADFD0; flex-shrink: 0; }
.bt-input .inp { background: #F6F2EC; border: 0; color: #2A2018; min-height: 42px; }
.bt-input .ib { color: #E57A2E; width: 40px; height: 40px; }
.bt-input .send { width: 42px; height: 42px; border-radius: 21px; background: #F2992E; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bt-input .send:disabled { opacity: .5; }
/* pəncərələr */
.bt-pad { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.bt-who { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 16px 18px; text-align: center; }
.bt-who .bt-ph { box-shadow: 0 4px 14px rgba(0, 0, 0, .25); border: 0; }
.bt-who .bt-ph img { border-radius: 14px; }
.bt-who-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.bt-gto { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; }
.bt-gto .bt-face { width: 48px; height: 48px; flex-shrink: 0; opacity: .55; }
.bt-gto .bt-face.on { opacity: 1; box-shadow: 0 0 0 3px var(--accent); }
.bt-ggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 16px; max-height: 42dvh; overflow-y: auto; }
.bt-gg { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; background: var(--field); border: 2px solid transparent; }
.bt-gg span { font-size: calc(30px * var(--fz, 1)); line-height: 1.1; } .bt-gg img { width: 38px; height: 38px; object-fit: contain; }
.bt-gg small { font-size: calc(11.5px * var(--fz, 1)); color: var(--text2); } .bt-gg em { font-style: normal; font-size: calc(12px * var(--fz, 1)); font-weight: 800; color: #FF6B6B; }
.bt-gg.on { border-color: var(--accent); }
.bt-gsend { display: flex; align-items: center; gap: 10px; padding: 12px 16px 16px; justify-content: space-between; }
.bt-log { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: calc(14px * var(--fz, 1)); }
.bt-log small { display: block; color: var(--muted); font-size: calc(11.5px * var(--fz, 1)); } .bt-log b.p { color: #3DBE6A; } .bt-log b.m { color: #FF6B6B; }
.bt-wheel-w { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.bt-wheel { position: relative; width: min(300px, 80vw); aspect-ratio: 1; margin: 6px auto; }
.bt-wheel svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); }
.bt-arrow { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: calc(30px * var(--fz, 1)); color: #E8B23A; text-shadow: 0 2px 2px rgba(0, 0, 0, .4); }
.bt-res { text-align: center; font-size: calc(20px * var(--fz, 1)); font-weight: 900; color: #FF6B6B; animation: btBump .5s; }
.bt-pass-h { display: flex; gap: 8px; padding: 0 16px; }
.bt-prem { flex: 1; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, #FFD54A, #F2A100); color: #4A2E00; font-weight: 900; }
.bt-prem.on { background: var(--accent-soft); color: var(--accent-text); text-align: center; }
.bt-left { padding: 10px; border-radius: 12px; background: #2F7DE1; color: #fff; font-weight: 800; font-size: calc(13px * var(--fz, 1)); }
.bt-pbar { display: flex; align-items: center; gap: 8px; padding: 10px 16px 0; font-weight: 800; font-size: calc(13px * var(--fz, 1)); }
.bt-pbar i { flex: 1; height: 12px; border-radius: 6px; background: var(--field); overflow: hidden; } .bt-pbar i b { display: block; height: 100%; background: linear-gradient(90deg, #2F7DE1, #6BB0FF); }
.bt-pbar em { font-style: normal; width: 28px; height: 28px; border-radius: 6px; transform: rotate(45deg); background: #2F7DE1; color: #fff; display: flex; align-items: center; justify-content: center; }
.bt-plist { display: flex; flex-direction: column-reverse; gap: 8px; padding: 0 16px 16px; max-height: 52dvh; overflow-y: auto; }
.bt-prow { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 8px; opacity: .55; }
.bt-prow.on { opacity: 1; }
.bt-lv { width: 34px; height: 34px; margin: auto; transform: rotate(45deg); border-radius: 7px; background: #CFD6DE; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.bt-lv { color: #fff; } .bt-prow.on .bt-lv { background: #2F7DE1; }
.bt-rw { position: relative; padding: 14px 6px; border-radius: 14px; background: var(--field); font-weight: 900; font-size: calc(15px * var(--fz, 1)); color: var(--text); }
.bt-rw.prem { background: linear-gradient(180deg, #FFF3C4, #FFE08A); color: #6A4300; }
.bt-rw i { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font-style: normal; font-size: calc(10.5px * var(--fz, 1)); background: #9B4DE0; color: #fff; padding: 1px 7px; border-radius: 8px; white-space: nowrap; }
.bt-rw s { position: absolute; right: 4px; bottom: 2px; text-decoration: none; font-size: calc(12px * var(--fz, 1)); }
.bt-rw.done { opacity: .45; } .bt-rw.done::after { content: '✓'; position: absolute; top: 2px; right: 6px; color: #3DBE6A; }
.bt-league { padding: 0 16px 16px; }
.bt-lg-me { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 10px; } .bt-lg-me .ic { font-size: calc(54px * var(--fz, 1)); } .bt-lg-me b { font-size: calc(18px * var(--fz, 1)); }
.bt-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 6px; }
.bt-tiers span { display: flex; flex-direction: column; align-items: center; font-size: calc(20px * var(--fz, 1)); padding: 6px 2px; border-radius: 10px; background: var(--field); opacity: .6; }
.bt-tiers span.on { opacity: 1; box-shadow: 0 0 0 2px var(--accent); } .bt-tiers b { font-size: calc(11px * var(--fz, 1)); } .bt-tiers small { font-size: calc(10px * var(--fz, 1)); color: var(--muted); text-align: center; }
.bt-rk { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.bt-rk .n { width: 26px; text-align: center; font-weight: 900; } .bt-rk b { flex: 1; } .bt-rk em { font-style: normal; font-weight: 900; color: #FF6B6B; }
.bt-shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 16px 16px; }
.bt-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--field); border: 2px solid transparent; color: var(--text); }
.bt-item.on { border-color: var(--accent); } .bt-item small { font-size: calc(12px * var(--fz, 1)); color: var(--muted); }
.bt-bgprev { width: 64px; height: 64px; border-radius: 12px; display: block; }
.bt-boost { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--field); }
.bt-boost > span { font-size: calc(24px * var(--fz, 1)); font-weight: 900; color: #FF4D7A; } .bt-boost div { flex: 1; } .bt-boost small { display: block; color: var(--muted); font-size: calc(12.5px * var(--fz, 1)); }

.bt-lv i, .bt-pbar em i { transform: rotate(-45deg); font-style: normal; display: block; }
.bt-lv { color: #fff; background: #8C99A8; }
