:root {
  color-scheme: dark;
  --bg: #0e0e10;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --surface-3: #26262c;
  --text: #efeff1;
  --muted: #adadb8;
  --subtle: #777782;
  --purple: #9147ff;
  --purple-bright: #a970ff;
  --purple-dark: #772ce8;
  --cyan: #00f5d4;
  --success: #00db84;
  --danger: #ff5f68;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, Roobert, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { width: 100%; max-width: 100vw; margin: 0; overflow-x: hidden; min-width: 320px; background: var(--bg); color: var(--text); }
button, select, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.loading-screen {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(145, 71, 255, 0.16), transparent 28%), var(--bg);
}
.loader-logo { width: 58px; height: 64px; position: relative; margin-bottom: 28px; }
.loader-logo::before { content: ""; position: absolute; inset: 0; background: var(--purple); clip-path: polygon(8% 0, 100% 0, 100% 72%, 75% 100%, 49% 100%, 49% 80%, 20% 80%, 8% 68%); }
.loader-logo span { position: absolute; inset: 13px 14px 21px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 70%, 74% 100%, 0 100%); }
.loader-logo span::before, .loader-logo span::after { content: ""; position: absolute; width: 4px; height: 13px; top: 8px; background: var(--purple); }
.loader-logo span::before { left: 8px; }.loader-logo span::after { right: 8px; }
.loader-line { width: 180px; height: 3px; overflow: hidden; background: var(--surface-3); }
.loader-line i { display: block; height: 100%; width: 46%; background: var(--purple-bright); animation: load 1.15s ease-in-out infinite; }
.loading-screen p { color: var(--muted); font-size: 13px; letter-spacing: .04em; margin-top: 14px; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(250%); } }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; letter-spacing: -.04em; }
.brand > span:last-child { display: flex; align-items: baseline; }
.brand b { font-weight: 850; }.brand em { color: var(--purple-bright); font-style: normal; font-weight: 850; }
.brand-mark { width: 27px; height: 31px; position: relative; background: var(--purple); clip-path: polygon(7% 0, 100% 0, 100% 72%, 74% 100%, 48% 100%, 48% 81%, 20% 81%, 7% 68%); }
.brand-mark i { position: absolute; inset: 7px 7px 10px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 68%, 72% 100%, 0 100%); }
.brand-mark i::before, .brand-mark i::after { content: ""; position: absolute; top: 4px; width: 2px; height: 7px; background: var(--purple); }
.brand-mark i::before { left: 4px; }.brand-mark i::after { right: 4px; }

/* Public showcase */
.public-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 81% 18%, rgba(145, 71, 255, .13), transparent 23%), var(--bg); }
.public-header { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.ghost-button, .primary-button, .text-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 750; transition: .18s ease; }
.ghost-button { min-height: 40px; padding: 0 17px; border: 1px solid var(--line); background: rgba(255,255,255,.035); font-size: 13px; }
.ghost-button:hover { background: var(--surface-3); border-color: rgba(255,255,255,.17); }
.hero { min-height: 670px; padding: 86px 0 92px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 80px; }
.eyebrow, .dashboard-kicker { display: flex; align-items: center; gap: 9px; color: var(--purple-bright); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(0,219,132,.1); }
.hero h1 { margin: 22px 0; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.065em; font-weight: 850; }
.hero h1 span, .public-cta h2 span { color: var(--purple-bright); }
.hero-copy > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 34px 0 48px; }
.primary-button { min-height: 49px; padding: 0 22px; gap: 12px; color: white; background: var(--purple-dark); box-shadow: 0 12px 34px rgba(119,44,232,.25); }
.primary-button:hover { transform: translateY(-2px); background: var(--purple); }
.text-button { color: var(--muted); font-size: 14px; }.text-button:hover { color: white; }
.public-stats { display: flex; gap: 36px; }
.public-stats div { display: grid; gap: 3px; }
.public-stats strong { font-size: 17px; text-transform: uppercase; }.public-stats span { color: var(--subtle); font-size: 11px; }
.message-showcase { position: relative; width: min(100%, 465px); margin-left: auto; padding: 18px; background: rgba(31,31,35,.8); border: 1px solid rgba(255,255,255,.11); box-shadow: var(--shadow); transform: rotate(1.3deg); }
.message-showcase::before { content: ""; position: absolute; width: 140px; height: 140px; left: -32px; top: -32px; border: 1px solid rgba(145,71,255,.25); z-index: -1; }
.showcase-glow { position: absolute; right: -90px; bottom: -80px; width: 260px; height: 260px; background: rgba(145,71,255,.16); filter: blur(65px); z-index: -1; }
.window-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 3px 17px; }
.window-user { display: flex; gap: 10px; align-items: center; }.window-user > div { display: grid; }.window-user b { font-size: 13px; }.window-user small { color: var(--purple-bright); font-size: 10px; }
.bot-avatar, .owner-avatar { display: grid; place-items: center; background: var(--purple); color: #fff; font-weight: 900; }
.bot-avatar { width: 34px; height: 34px; font-size: 14px; clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); }
.window-time { color: var(--subtle); font-size: 10px; }
.message-card { background: var(--surface); border-left: 3px solid var(--purple); padding: 22px; }
.game-row { display: flex; align-items: center; gap: 14px; }.game-art { width: 48px; height: 57px; display: grid; place-items: center; background: linear-gradient(145deg,#50228f,#9a5cff); font-size: 23px; font-weight: 900; }
.game-row small { display: block; color: var(--purple-bright); font-size: 9px; font-weight: 850; letter-spacing: .1em; }.game-row h3 { margin: 4px 0 0; font-size: 21px; }
.campaign-title { color: var(--muted); font-size: 13px; margin: 17px 0; font-style: italic; }
.reward-list { display: grid; gap: 7px; }.reward-list div { display: grid; grid-template-columns: 65px 1fr; gap: 12px; align-items: center; background: var(--surface-2); padding: 9px 11px; }.reward-list span { color: var(--purple-bright); font-size: 10px; font-weight: 750; }.reward-list b { font-size: 11px; }
.message-deadline { color: var(--muted); font-size: 11px; margin: 16px 0; }.message-card button { width: 100%; border: 0; color: white; background: var(--purple-dark); padding: 11px; font-weight: 750; font-size: 11px; }
.example-label { position: absolute; right: 8px; bottom: -28px; color: var(--subtle); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.benefits-section { padding: 100px 0; background: #121214; border-block: 1px solid var(--line); }
.section-heading > span { color: var(--purple-bright); font-size: 11px; font-weight: 850; letter-spacing: .14em; }.section-heading h2 { margin: 9px 0 38px; font-size: clamp(30px,4vw,44px); letter-spacing: -.045em; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.benefit-grid article { position: relative; min-height: 290px; display: flex; flex-direction: column; align-items: center; padding: 34px 27px; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 30%,rgba(145,71,255,.08),transparent 45%),rgba(255,255,255,.015); text-align: center; transition: .2s ease; }.benefit-grid article:last-child { border-right: 0; }.benefit-grid article:hover { background: radial-gradient(circle at 50% 30%,rgba(145,71,255,.18),transparent 48%),rgba(145,71,255,.055); transform: translateY(-4px); }.benefit-grid article > i { position: absolute; right: 18px; top: 15px; color: #494951; font-style: normal; font-weight: 900; font-size: 12px; }
.feature-icon { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin: 24px auto 26px; color: #c9a8ff; border: 1px solid rgba(169,112,255,.58); background: linear-gradient(145deg,rgba(145,71,255,.24),rgba(73,29,121,.08)); box-shadow: inset 0 0 22px rgba(145,71,255,.1),0 12px 34px rgba(0,0,0,.26); clip-path: polygon(0 0,100% 0,100% 78%,78% 100%,0 100%); }.feature-icon::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.055); clip-path: inherit; }.feature-icon svg { width: 34px; height: 34px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.benefit-grid h3 { font-size: 20px; margin: 0 0 12px; }.benefit-grid p { max-width: 245px; color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 auto; }
.steps-section { padding: 105px 0; }.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }.steps li { display: flex; gap: 20px; min-height: 145px; background: var(--bg); padding: 28px; }.steps > li > b { color: var(--purple-bright); font-size: 13px; }.steps h3 { margin: 0 0 10px; font-size: 17px; }.steps p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.55; }
.public-cta { padding: 92px 0; background: linear-gradient(110deg,rgba(119,44,232,.22),transparent 48%), #151518; border-block: 1px solid var(--line); }.cta-inner { text-align: center; display: grid; justify-items: center; }.cta-inner > div { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }.public-cta h2 { font-size: clamp(38px,6vw,64px); line-height: 1; letter-spacing: -.055em; margin: 22px 0 32px; }
.public-footer { min-height: 84px; display: flex; justify-content: space-between; align-items: center; color: var(--subtle); font-size: 12px; }.public-footer span { color: var(--muted); font-weight: 750; }

/* Owner dashboard */
.dashboard-shell { min-height: 100vh; background: #0e0e10; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 230px; display: flex; flex-direction: column; padding: 25px 17px; background: #151517; border-right: 1px solid var(--line); }
.dashboard-brand { padding: 0 10px 27px; border-bottom: 1px solid var(--line); }.sidebar nav { display: grid; gap: 6px; margin-top: 28px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; border: 0; padding: 12px 13px; color: #8d8d98; background: transparent; cursor: pointer; font-size: 13px; text-align: left; border-left: 2px solid transparent; }.nav-item span { width: 22px; text-align: center; font-size: 17px; }.nav-item:hover { color: white; background: rgba(255,255,255,.035); }.nav-item.active { color: white; border-left-color: var(--purple); background: linear-gradient(90deg,rgba(145,71,255,.15),transparent); }
.sidebar-status { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 10px; background: #1c1c20; border: 1px solid var(--line); }.status-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(0,219,132,.08); }.sidebar-status div { display: grid; gap: 3px; }.sidebar-status b { font-size: 11px; }.sidebar-status small { color: var(--subtle); font-size: 9px; }
.dashboard-main { margin-left: 230px; min-height: 100vh; }.dashboard-header { height: 72px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; background: rgba(14,14,16,.91); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }.dashboard-header p { color: var(--muted); font-size: 13px; }.dashboard-header p b { color: white; }.mobile-brand { display: none; }.header-actions { display: flex; align-items: center; gap: 16px; }.period-select { display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.period-select select { color: white; border: 1px solid var(--line); background: var(--surface); padding: 8px 28px 8px 10px; font-size: 11px; outline: none; }.owner-avatar { width: 32px; height: 32px; font-size: 12px; }.preview-badge { color: #0e0e10; background: var(--cyan); padding: 4px 7px; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.dashboard-content { width: min(1400px,100%); padding: 34px 30px 55px; margin: auto; }.intro-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }.intro-row h1 { font-size: 34px; margin: 6px 0 4px; letter-spacing: -.045em; }.intro-row p { margin: 0; color: var(--subtle); font-size: 11px; }.health-pill { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); }.health-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }.health-pill.attention span { background: var(--danger); }
.admin-loading-progress { position: sticky; top: 72px; z-index: 14; margin: 0 30px; padding: 13px 15px 14px; border: 1px solid rgba(145,71,255,.52); background: linear-gradient(135deg,rgba(145,71,255,.22),rgba(20,20,24,.97) 62%); box-shadow: 0 12px 35px rgba(0,0,0,.28); transition: opacity .2s ease,transform .2s ease; }.admin-loading-copy { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }.admin-loading-copy > div { display: grid; gap: 3px; }.admin-loading-copy strong { color: white; font-size: 12px; }.admin-loading-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }.admin-loading-copy b { color: var(--purple-bright); font-size: 13px; }.admin-loading-track { height: 5px; overflow: hidden; background: rgba(255,255,255,.08); }.admin-loading-track i { display: block; width: 8%; height: 100%; background: linear-gradient(90deg,var(--purple),#bf94ff,var(--cyan)); box-shadow: 0 0 16px rgba(145,71,255,.7); transition: width .28s ease; }.admin-loading-retry { width: 100%; margin-top: 11px; }.admin-loading-progress.is-complete { border-color: rgba(0,245,212,.35); }.admin-loading-progress.is-complete .admin-loading-copy b { color: var(--cyan); }.admin-loading-progress.has-error { border-color: rgba(235,4,92,.55); }.admin-loading-progress.has-error .admin-loading-copy b { color: var(--danger); }.admin-loading-progress.has-error .admin-loading-track i { background: var(--danger); }
.kpi-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 14px; }.kpi-card { position: relative; min-height: 132px; padding: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }.kpi-card::after { content: ""; position: absolute; width: 85px; height: 85px; right: -30px; bottom: -40px; border: 1px solid rgba(255,255,255,.035); transform: rotate(45deg); }.kpi-card.accent { background: linear-gradient(135deg,rgba(145,71,255,.18),var(--surface) 58%); border-color: rgba(145,71,255,.28); }.kpi-label { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }.kpi-label span { color: var(--purple-bright); font-size: 16px; }.kpi-card strong { display: block; margin: 17px 0 4px; font-size: 29px; letter-spacing: -.04em; }.kpi-card small { color: var(--subtle); font-size: 10px; }.kpi-card small.positive { color: var(--success); }
.chart-grid { display: grid; grid-template-columns: 1.55fr .85fr; gap: 14px; margin-bottom: 14px; }.panel { background: var(--surface); border: 1px solid var(--line); padding: 20px; }.panel-head { display: flex; justify-content: space-between; align-items: flex-start; min-height: 48px; }.panel-head > div > span { color: var(--purple-bright); font-size: 8px; font-weight: 850; letter-spacing: .13em; }.panel-head h2 { font-size: 16px; margin: 5px 0 0; }.panel-head > small { color: var(--subtle); font-size: 9px; }.chart-legend, .legend-row { display: flex; align-items: center; gap: 7px; color: var(--subtle); font-size: 9px; }.chart-legend i, .legend-row i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }.purple { background: var(--purple-bright); }.cyan { background: var(--cyan); }.chart { min-height: 218px; width: 100%; touch-action: pan-y; -webkit-user-select: none; user-select: none; }.chart svg { display: block; width: 100%; height: 218px; overflow: visible; }.chart text { fill: #777783; font-size: 9px; }.chart .grid { stroke: rgba(255,255,255,.09); stroke-width: 1; vector-effect: non-scaling-stroke; }.chart .grid.vertical { stroke: rgba(255,255,255,.055); }.chart .line { fill: none; stroke: var(--purple-bright); stroke-width: 2.5; vector-effect: non-scaling-stroke; }.chart .area { fill: url(#area-gradient); }.chart .point { fill: var(--surface); stroke: var(--purple-bright); stroke-width: 2; }.bars { position: relative; display: flex; align-items: end; gap: clamp(1px,.35vw,5px); padding-top: 20px; }.bars::before { content: ""; position: absolute; z-index: 0; inset: 20px 0 26px; pointer-events: none; background-image: linear-gradient(to bottom,rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(to right,rgba(255,255,255,.055) 1px,transparent 1px); background-size: 100% 25%,25% 100%; border-bottom: 1px solid rgba(255,255,255,.09); }.bar-group { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; height: 180px; display: flex; align-items: end; gap: 1px; border-bottom: 1px solid transparent; }.bar-group i { flex: 1; min-width: 1px; min-height: 2px; opacity: .9; }.bar-group .click-bar { background: var(--cyan); }.bar-group .reaction-bar { background: var(--purple); }.legend-row { justify-content: flex-end; gap: 16px; margin-top: 8px; }.legend-row span { display: flex; gap: 6px; align-items: center; }
.combo-chart-panel { grid-column: 1 / -1; overflow: hidden; border-color: rgba(145,71,255,.34); border-radius: 18px; background: radial-gradient(circle at 88% 3%,rgba(145,71,255,.18),transparent 30%),linear-gradient(145deg,#21182f 0%,#17151f 46%,#111217 100%); box-shadow: 0 18px 52px rgba(0,0,0,.24); }
.combo-chart-head { align-items: center; gap: 18px; }.panel-head.combo-chart-head h2 { font-size: 21px; }.combo-chart-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }.combo-chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 11px; }.combo-chart-legend span,.combo-chart-tooltip span { display: inline-flex; align-items: center; gap: 7px; }.line-swatch,.bar-swatch { display: inline-block; flex: 0 0 auto; }.line-swatch { width: 19px; height: 4px; border-radius: 999px; background: var(--purple-bright); box-shadow: 0 0 12px rgba(169,112,255,.45); }.bar-swatch { width: 8px; height: 15px; border-radius: 2px; background: var(--cyan); opacity: .82; }
.chart-fullscreen-button { min-height: 37px; padding: 0 12px; border: 1px solid rgba(169,112,255,.45); border-radius: 8px; color: white; background: rgba(145,71,255,.14); cursor: pointer; font-size: 11px; font-weight: 800; white-space: nowrap; }.chart-fullscreen-button:hover,.chart-fullscreen-button:focus-visible { border-color: var(--purple-bright); background: rgba(145,71,255,.27); outline: none; }
.combo-chart { position: relative; min-height: 330px; margin-top: 10px; overflow: visible; border-radius: 12px; outline: none; }.combo-chart:focus-visible { box-shadow: inset 0 0 0 2px rgba(169,112,255,.72); }.combo-chart svg { height: 330px; overflow: hidden; }.combo-chart .grid.horizontal { stroke: rgba(255,255,255,.13); }.combo-chart .grid.vertical { stroke: rgba(255,255,255,.055); }.combo-chart .axis-left { fill: #c9a8ff; font-size: 10px; font-weight: 750; }.combo-chart .axis-right { fill: #46e8db; font-size: 10px; font-weight: 750; }.combo-chart .axis-date { fill: #9693a1; font-size: 10px; }.combo-chart .axis-title { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.combo-chart .axis-title-left { fill: #c9a8ff; }.combo-chart .axis-title-right { fill: #46e8db; }.combo-bar { fill: url(#combo-bar-gradient); opacity: .48; transition: opacity .12s ease,filter .12s ease; }.combo-bar.is-active { opacity: 1; filter: drop-shadow(0 0 7px rgba(0,245,212,.55)); }.combo-area { fill: url(#combo-audience-gradient); }.combo-line { fill: none; stroke: var(--purple-bright); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(169,112,255,.32)); }.combo-end-point,.combo-focus-point { fill: #17151f; stroke: #d3b7ff; stroke-width: 3; vector-effect: non-scaling-stroke; }.combo-focus-line { stroke: rgba(255,255,255,.42); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.combo-chart-tooltip { position: absolute; z-index: 4; display: grid; gap: 7px; box-sizing: border-box; padding: 11px 12px; border: 1px solid rgba(169,112,255,.48); border-radius: 10px; color: white; background: rgba(19,16,27,.96); box-shadow: 0 14px 34px rgba(0,0,0,.45); pointer-events: none; backdrop-filter: blur(12px); font-size: 11px; }.combo-chart-tooltip[hidden] { display: none; }.combo-chart-tooltip strong { font-size: 12px; }.combo-chart-tooltip small { color: var(--muted); }.chart-point-summary { min-height: 17px; margin-top: 3px; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.5; }
body.admin-chart-fullscreen { overflow: hidden; }.combo-chart-panel.is-fullscreen { position: fixed; z-index: 120; inset: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; margin: 0; padding: 20px; border-radius: 18px; background: radial-gradient(circle at 88% 3%,rgba(145,71,255,.21),transparent 32%),#111117; box-shadow: 0 0 0 9999px rgba(7,7,10,.92); }.combo-chart-panel.is-fullscreen .combo-chart { flex: 1 1 auto; min-height: 360px; }.combo-chart-panel.is-fullscreen .combo-chart svg { height: 100%; min-height: 360px; }
.tables-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-bottom: 14px; }.post-ranking { margin-top: 8px; }.rank-row { display: grid; grid-template-columns: 26px minmax(140px,1fr) 95px 58px; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }.rank-number { color: #64646e; font-size: 10px; font-weight: 850; }.rank-title { min-width: 0; }.rank-title b, .recent-title b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.rank-title small, .recent-title small { display: block; color: var(--subtle); font-size: 9px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.rank-bar { height: 4px; background: var(--surface-3); }.rank-bar i { display: block; height: 100%; background: linear-gradient(90deg,var(--purple-dark),var(--purple-bright)); }.rank-score { color: var(--muted); text-align: right; font-size: 10px; }.recent-list { margin-top: 8px; }.recent-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }.recent-icon { width: 29px; height: 34px; display: grid; place-items: center; color: white; font-size: 10px; font-weight: 900; background: linear-gradient(145deg,#4c237c,#8e52ef); }.recent-stats { text-align: right; }.recent-stats b { display: block; font-size: 10px; }.recent-stats small { color: var(--subtle); font-size: 8px; }
.system-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.system-card { min-height: 82px; display: flex; align-items: center; gap: 13px; padding: 16px; background: #151517; border: 1px solid var(--line); }.system-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--success); background: rgba(0,219,132,.08); }.system-card div { min-width: 0; }.system-card small { display: block; color: var(--subtle); font-size: 9px; margin-bottom: 5px; }.system-card strong { display: block; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.error-card .system-icon { color: var(--muted); background: var(--surface-3); }.error-card.has-error .system-icon { color: var(--danger); background: rgba(255,95,104,.08); }.mobile-nav { display: none; }

.admin-view-switcher { position: fixed; z-index: 80; right: 14px; top: calc(82px + env(safe-area-inset-top)); display: flex; padding: 3px; gap: 2px; background: rgba(24,24,27,.96); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.35); backdrop-filter: blur(14px); }.admin-view-switcher button { border: 0; padding: 7px 10px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }.admin-view-switcher button.active { color: white; background: var(--purple); }
.day-picker { display: flex; align-items: center; gap: 9px; color: var(--subtle); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.day-picker input { color: white; color-scheme: dark; border: 1px solid var(--line); background: var(--surface); padding: 7px 9px; font: inherit; outline: none; }
.bar-group { position: relative; margin-bottom: 22px; }.bar-group small { position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); color: #686873; font-size: 8px; white-space: nowrap; }.bars { padding-bottom: 4px; }
.users-panel { margin-bottom: 14px; }.users-head { align-items: center; gap: 18px; }.users-head small { display: block; max-width: 690px; margin-top: 6px; color: var(--subtle); font-size: 10px; line-height: 1.45; }.users-actions { display: flex; gap: 8px; }.users-actions button { border: 1px solid var(--line); padding: 9px 12px; color: white; font-size: 10px; font-weight: 750; cursor: pointer; }.secondary-action { background: var(--surface-2); }.primary-action { background: var(--purple); border-color: var(--purple)!important; }.users-table-wrap { width: 100%; margin-top: 18px; overflow-x: auto; }.users-table { width: 100%; min-width: 790px; border-collapse: collapse; font-size: 11px; }.users-table th { padding: 10px 12px; color: var(--subtle); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--line); }.users-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.055); vertical-align: middle; }.users-table td:first-child b,.users-table td:first-child small { display: block; }.users-table td:first-child small { color: var(--subtle); margin-top: 3px; }.status-tag { display: inline-flex; padding: 4px 7px; font-size: 9px; color: var(--muted); background: var(--surface-3); }.status-tag.ok { color: var(--success); background: rgba(0,219,132,.08); }.status-tag.off { color: var(--danger); background: rgba(255,95,104,.08); }
.empty-state { min-height: 120px; display: grid; place-content: center; color: var(--subtle); font-size: 11px; text-align: center; }
.admin-section-group { margin-bottom: 14px; border: 1px solid var(--line); background: #131315; scroll-margin-top: 88px; }
.admin-section-group > summary { list-style: none; }
.admin-section-group > summary::-webkit-details-marker { display: none; }
.admin-section-summary { min-height: 94px; display: grid; grid-template-columns: 42px minmax(0,1fr) 24px; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; user-select: none; }
.admin-section-summary:hover { background: rgba(145,71,255,.055); }
.admin-section-summary:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: -2px; }
.admin-section-summary .summary-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(145,71,255,.42); color: var(--purple-bright); background: rgba(145,71,255,.08); font-size: 19px; }
.admin-section-summary h2 { margin: 0; font-size: 18px; }
.admin-section-summary p { max-width: 880px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.summary-chevron { color: var(--purple-bright); font-size: 22px; transition: transform .18s ease; }
.admin-section-group[open] .summary-chevron { transform: rotate(180deg); }
.admin-section-group[open] > .admin-section-summary { border-bottom: 1px solid var(--line); background: linear-gradient(90deg,rgba(145,71,255,.09),transparent 58%); }
.admin-section-body { padding: 20px; }
.section-explanation { margin: 0 0 18px; padding: 13px 15px; border-left: 2px solid rgba(145,71,255,.55); color: var(--muted); background: rgba(145,71,255,.045); font-size: 12px; line-height: 1.6; }
.admin-section-body .intro-row { margin-bottom: 16px; }
.admin-section-body .kpi-grid,.admin-section-body .chart-grid { margin-bottom: 0; }
.audience-number-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }.audience-number-card { min-height: 154px; padding: 18px; border: 1px solid var(--line); background: linear-gradient(145deg,#1d1b23,#151519); }.audience-number-card.primary { border-color: rgba(145,71,255,.52); background: radial-gradient(circle at 88% 12%,rgba(0,245,212,.13),transparent 32%),linear-gradient(145deg,rgba(145,71,255,.3),#17151d 64%); }.audience-number-card small { color: var(--purple-bright); font-size: 10px; font-weight: 850; letter-spacing: .1em; }.audience-number-card strong { display: block; margin: 15px 0 9px; color: white; font-size: clamp(38px,5vw,64px); line-height: .9; letter-spacing: -.055em; }.audience-number-card:not(.primary) strong { font-size: clamp(32px,4vw,50px); }.audience-number-card p { max-width: 460px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.audience-refresh-row { min-height: 56px; display: flex; align-items: center; margin-bottom: 12px; padding: 9px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }.audience-refresh-row > div { display: grid; gap: 3px; }.audience-refresh-row strong { font-size: 11px; }.audience-refresh-row small { color: var(--subtle); font-size: 10px; }
.chart-range-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 13px 15px; border: 1px solid var(--line); background: var(--surface); }
.chart-range-toolbar > div:first-child { min-width: 0; display: grid; gap: 4px; }.chart-range-toolbar > div:first-child > span { color: var(--purple-bright); font-size: 9px; font-weight: 850; letter-spacing: .11em; }.chart-range-toolbar strong { font-size: 13px; }.chart-range-toolbar small { color: var(--subtle); font-size: 10px; line-height: 1.4; }
.chart-range-actions { flex: 0 0 auto; display: flex; gap: 6px; }.chart-range-actions button { min-width: 38px; height: 38px; padding: 0 11px; border: 1px solid rgba(145,71,255,.38); color: white; background: rgba(145,71,255,.1); cursor: pointer; font-size: 16px; font-weight: 800; }.chart-range-actions button:last-child { min-width: 100px; font-size: 10px; }.chart-range-actions button:hover:not(:disabled) { border-color: var(--purple-bright); background: rgba(145,71,255,.2); }.chart-range-actions button:disabled { opacity: .35; cursor: default; }
.preference-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.preference-grid article { min-height: 116px; padding: 15px; border: 1px solid var(--line); background: var(--surface); }
.preference-grid small { color: var(--purple-bright); font-size: 10px; font-weight: 800; }
.preference-grid strong { display: block; margin: 12px 0 5px; font-size: 24px; }
.preference-grid p { margin: 0; color: var(--subtle); font-size: 10px; line-height: 1.45; }
.audience-export { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; }
.audience-export > div > span { color: var(--purple-bright); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.audience-export h2 { margin: 6px 0; font-size: 18px; }
.audience-export p { max-width: 850px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.audience-export button { flex: 0 0 auto; min-height: 44px; padding: 0 18px; color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.admin-drop-filters { display: grid; grid-template-columns: minmax(260px,1.5fr) repeat(3,minmax(150px,.7fr)); gap: 10px; margin-bottom: 20px; }
.admin-drop-filters > label:not(.admin-drop-search) { min-height: 58px; display: grid; align-content: center; gap: 5px; padding: 7px 10px; border: 1px solid var(--line); background: var(--bg); }
.admin-drop-filters > label > span { color: var(--subtle); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.admin-drop-filters select { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }
.admin-section-body > .system-grid { margin-bottom: 14px; }
.admin-section-body .test-message-panel { margin-top: 14px; }
.users-growth-panel { grid-column: auto; }

/* Personal user feed */
.startup-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 28px; text-align: center; background: radial-gradient(circle at 50% 40%,rgba(145,71,255,.17),transparent 28%),var(--bg); }
.startup-error .error-mark { width: 52px; height: 58px; display: grid; place-items: center; color: white; background: var(--purple-dark); clip-path: polygon(0 0,100% 0,100% 72%,73% 100%,0 100%); font-size: 25px; font-weight: 900; }
.startup-error h1 { margin: 22px 0 8px; font-size: 24px; }.startup-error p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }
.startup-diagnostic-code { margin-top: 10px; color: #bf94ff; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; letter-spacing: .04em; }
.startup-error button { margin-top: 24px; min-height: 44px; padding: 0 24px; border: 0; color: white; background: var(--purple-dark); font-weight: 800; cursor: pointer; }
.user-shell { min-height: 100vh; background: radial-gradient(circle at 90% 8%,rgba(145,71,255,.13),transparent 24%),var(--bg); }
.user-header { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px,calc((100vw - 1180px)/2)); border-bottom: 1px solid var(--line); background: rgba(14,14,16,.92); backdrop-filter: blur(18px); }
.user-identity { display: grid; justify-items: end; gap: 3px; }.user-identity small { color: var(--purple-bright); font-size: 8px; font-weight: 850; letter-spacing: .13em; }.user-identity b { font-size: 12px; }
.user-content { width: min(1180px,calc(100% - 40px)); margin: auto; padding: 54px 0 36px; }
.user-hero { display: grid; grid-template-columns: 1fr 370px; align-items: end; gap: 50px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.user-hero h1 { margin: 10px 0 10px; font-size: clamp(34px,5vw,57px); line-height: 1; letter-spacing: -.055em; }.user-hero p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.notification-toggle { min-height: 86px; display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 18px; padding: 18px; border: 1px solid rgba(145,71,255,.34); background: linear-gradient(135deg,rgba(145,71,255,.16),var(--surface)); cursor: pointer; }
.notification-toggle > span { display: grid; gap: 5px; }.notification-toggle b { font-size: 13px; }.notification-toggle small { color: var(--muted); font-size: 9px; line-height: 1.4; }.notification-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.notification-toggle i { position: relative; width: 44px; height: 24px; border-radius: 20px; background: #39393f; transition: .18s; }.notification-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .18s; }.notification-toggle input:checked + i { background: var(--purple); }.notification-toggle input:checked + i::after { transform: translateX(20px); }
.feed-toolbar { display: grid; grid-template-columns: minmax(260px,1fr) auto auto; align-items: center; gap: 14px; padding: 24px 0; }
.feed-search { height: 45px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); }.feed-search span { color: var(--purple-bright); font-size: 22px; }.feed-search input,.game-search input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }.feed-search input::placeholder,.game-search input::placeholder { color: #696974; }
.feed-search-note { display: block; margin: 7px 2px 0; color: var(--subtle); font-size: 11px; line-height: 1.4; }
.feed-summary { min-width: 112px; display: grid; justify-items: end; }.feed-summary strong { font-size: 18px; }.feed-summary span { color: var(--subtle); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.filter-button,.text-action { min-height: 45px; border: 1px solid var(--line); color: white; background: var(--surface); padding: 0 15px; cursor: pointer; font-size: 11px; font-weight: 750; }.filter-button:hover,.text-action:hover { background: var(--surface-3); }.filter-button b { min-width: 19px; height: 19px; display: inline-grid; place-content: center; margin-left: 7px; border-radius: 10px; color: white; background: var(--purple-dark); font-size: 8px; }
.user-panel { padding: 22px; background: rgba(24,24,27,.8); border: 1px solid var(--line); }.user-section-head { min-height: 53px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.user-section-head span { color: var(--purple-bright); font-size: 8px; font-weight: 850; letter-spacing: .13em; }.user-section-head h2 { margin: 5px 0 0; font-size: 19px; }.user-section-head small { color: var(--subtle); font-size: 9px; }
.campaign-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.drop-card { position: relative; min-height: 245px; display: flex; flex-direction: column; padding: 18px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid var(--line); background: var(--surface); transition: .18s; }.drop-card::after { content: ""; position: absolute; right: -50px; top: -55px; width: 130px; height: 130px; border-radius: 50%; background: rgba(145,71,255,.12); filter: blur(4px); }.drop-card:hover { transform: translateY(-3px); border-color: rgba(145,71,255,.45); background: var(--surface-2); }
.drop-game { display: flex; align-items: center; gap: 11px; padding-right: 20px; }.drop-letter { width: 38px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: linear-gradient(145deg,#4e227f,#9b5dff); font-size: 16px; font-weight: 900; clip-path: polygon(0 0,100% 0,100% 77%,77% 100%,0 100%); }.drop-game div { min-width: 0; }.drop-game small { display: block; color: var(--purple-bright); font-size: 8px; font-weight: 850; letter-spacing: .08em; }.drop-game b { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.drop-card h3 { margin: 18px 0 13px; font-size: 13px; line-height: 1.4; }.drop-rewards { display: grid; gap: 6px; margin-bottom: 16px; }.drop-reward { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }.drop-reward::before { content: "•"; margin-right: 7px; color: var(--purple-bright); }.drop-card footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }.drop-card footer span { color: var(--subtle); font-size: 8px; }.drop-card footer b { color: var(--purple-bright); font-size: 9px; }
.feed-empty { grid-column: 1/-1; min-height: 280px; display: grid; place-content: center; justify-items: center; text-align: center; }.feed-empty strong { font-size: 18px; }.feed-empty p { max-width: 360px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.filters-panel { min-height: 430px; }.filter-help { max-width: 760px; color: var(--muted); font-size: 11px; line-height: 1.6; }.game-search { height: 42px; display: block; max-width: 430px; margin: 20px 0 14px; padding: 11px 13px; background: var(--bg); border: 1px solid var(--line); }.game-filter-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }.game-filter { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); background: var(--surface-2); cursor: pointer; text-align: left; font-size: 10px; }.game-filter > span { min-width: 0; display: grid; gap: 4px; }.game-filter b { overflow: hidden; color: inherit; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.game-filter small { overflow: hidden; color: var(--subtle); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }.game-filter i { width: 9px; height: 9px; flex: 0 0 auto; border: 1px solid #666672; }.game-filter.interested { color: #c8ffe0; border-color: rgba(0,219,132,.24); background: rgba(0,219,132,.045); }.game-filter.interested i { border-color: var(--success); box-shadow: 0 0 0 3px rgba(0,219,132,.08); }.game-filter.blocked { color: #777782; background: rgba(255,95,104,.045); border-color: rgba(255,95,104,.18); }.game-filter.blocked i { background: var(--danger); border-color: var(--danger); box-shadow: inset 0 0 0 2px var(--surface); }
.save-toast { position: fixed; z-index: 50; left: 50%; bottom: max(20px,env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 11px 16px; color: #0e0e10; background: var(--success); box-shadow: var(--shadow); font-size: 10px; font-weight: 850; }
.save-toast.error { color: white; background: #d9324c; }
.notification-permission { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 14px 15px; border: 1px solid rgba(255,184,77,.55); background: linear-gradient(135deg,rgba(255,184,77,.13),rgba(145,71,255,.08)); }
.notification-permission > div { display: grid; gap: 5px; min-width: 0; }.notification-permission b { color: #fff; font-size: 13px; }.notification-permission small { color: #d3c8b2; font-size: 11px; line-height: 1.5; }
.notification-permission button { min-height: 38px; flex: 0 0 auto; padding: 0 13px; border: 1px solid #ffb84d; color: #0e0e10; background: #ffb84d; font-size: 11px; font-weight: 900; cursor: pointer; }.notification-permission button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 560px) { .notification-permission { align-items: stretch; flex-direction: column; }.notification-permission button { width: 100%; } }
.diagnostics-panel { margin-top: 18px; }.diagnostics-panel .panel-head { align-items: center; gap: 12px; }.diagnostics-panel > p { color: var(--muted); font-size: 12px; line-height: 1.65; }.secondary-action { min-height: 38px; padding: 0 14px; border: 1px solid rgba(145,71,255,.55); color: #fff; background: rgba(145,71,255,.1); font-weight: 800; cursor: pointer; }.diagnostics-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,220px); gap: 8px; margin: 16px 0 10px; }.diagnostics-controls input,.diagnostics-controls select { min-height: 42px; width: 100%; padding: 0 12px; border: 1px solid var(--line); color: #fff; background: var(--surface-2); }.diagnostics-list { display: grid; gap: 7px; max-height: 620px; margin-top: 12px; overflow: auto; overscroll-behavior: contain; }.diagnostics-event { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); background: #101014; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; line-height: 1.45; }.diagnostics-event.error { border-color: rgba(255,75,92,.7); background: rgba(110,12,26,.15); }.diagnostics-event.warn { border-color: rgba(255,184,77,.45); }.diagnostics-event .diag-code { color: #bf94ff; font-weight: 850; }.diagnostics-event .diag-stage { overflow-wrap: anywhere; color: #fff; }.diagnostics-event .diag-stage small { display: block; margin-top: 3px; color: var(--muted); }.diagnostics-event .diag-time { color: var(--muted); white-space: nowrap; }.diagnostics-event details { grid-column: 2/-1; }.diagnostics-event summary { color: #a970ff; cursor: pointer; }.diagnostics-event pre { max-width: 100%; margin: 7px 0 0; overflow: auto; color: #d6d6dc; white-space: pre-wrap; word-break: break-word; }.diagnostics-empty { padding: 24px; color: var(--muted); border: 1px dashed var(--line); text-align: center; }
.user-audit-panel { margin-top: 18px; }.user-audit-panel .panel-head { align-items: center; gap: 12px; }.user-audit-panel > p { margin: 10px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }.user-audit-search { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); background: #0e0e10; }.user-audit-search span { color: var(--purple-bright); font-size: 19px; }.user-audit-search input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 13px; }.user-audit-panel > small { display: block; margin-top: 9px; color: var(--subtle); font-size: 10px; }.user-audit-result { display: grid; gap: 12px; margin-top: 14px; }.audit-health-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.audit-health-grid article { padding: 12px; border: 1px solid var(--line); background: #121217; }.audit-health-grid small { color: var(--muted); font-size: 9px; }.audit-health-grid strong { display: block; margin-top: 7px; font-size: 24px; }.audit-match { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px; border: 1px solid rgba(0,219,132,.45); background: rgba(0,219,132,.055); }.audit-match.error { border-color: rgba(255,95,104,.55); background: rgba(255,95,104,.06); }.audit-match > div { display: grid; align-content: start; gap: 5px; }.audit-match small { color: var(--success); font-size: 9px; font-weight: 850; letter-spacing: .09em; }.audit-match strong { font-size: 17px; }.audit-match span { color: var(--muted); font-size: 10px; }.audit-not-found { display: grid; gap: 6px; padding: 14px; border: 1px solid rgba(255,95,104,.52); background: rgba(255,95,104,.06); }.audit-not-found span { color: var(--muted); font-size: 11px; }.audit-webhook { display: grid; gap: 7px; padding: 13px; border: 1px solid var(--line); background: #111116; overflow-wrap: anywhere; }.audit-webhook > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.audit-webhook strong { font-size: 11px; }.audit-webhook > span { color: var(--muted); font-size: 10px; }.audit-webhook em { color: var(--danger); font-size: 10px; font-style: normal; }.audit-state { padding: 4px 7px; color: #111; background: var(--success); font-size: 9px; font-weight: 850; }.audit-state.error { color: white; background: var(--danger); }.audit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.audit-columns h3 { margin: 0 0 7px; font-size: 12px; }.audit-user-row,.audit-start-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 9px; align-items: center; padding: 8px 9px; border-top: 1px solid var(--line); background: rgba(255,255,255,.018); font-size: 10px; }.audit-user-row span,.audit-start-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.audit-user-row b,.audit-start-row b { color: var(--muted); font-weight: 650; }.audit-user-row time,.audit-start-row time { color: var(--subtle); white-space: nowrap; }
@media (max-width: 620px) { .diagnostics-controls { grid-template-columns: 1fr; }.diagnostics-event { grid-template-columns: 72px minmax(0,1fr); }.diagnostics-event .diag-time { grid-column: 2; }.diagnostics-event details { grid-column: 1/-1; }.user-audit-panel .panel-head { align-items: stretch; flex-direction: column; }.user-audit-panel .panel-head button { width: 100%; }.audit-health-grid,.audit-match,.audit-columns { grid-template-columns: 1fr; }.audit-user-row,.audit-start-row { grid-template-columns: minmax(0,1fr) auto; }.audit-user-row time,.audit-start-row time { grid-column: 1 / -1; } }

/* Comfortable desktop typography and personalized game search. */
.nav-item { padding-block: 13px; font-size: 14px; }.nav-item span { font-size: 19px; }
.dashboard-header p,.intro-row p,.health-pill { font-size: 12px; }.period-select { font-size: 11px; }.period-select select { font-size: 12px; }
.kpi-label { font-size: 11px; }.kpi-card strong { font-size: 30px; }.kpi-card small { font-size: 12px; line-height: 1.4; }
.panel-head > div > span { font-size: 11px; }.panel-head h2 { font-size: 18px; }.panel-head > small,.chart-legend,.legend-row { font-size: 11px; }
.chart text { fill: #858590; font-size: 11px; }.chart .line { stroke-width: 2.8; }.green { background: var(--success); }
.rank-title b,.recent-title b { font-size: 13px; }.rank-title small,.recent-title small { font-size: 11px; }.rank-score,.recent-stats b { font-size: 11px; }.recent-stats small { font-size: 10px; }
.system-card small { font-size: 11px; }.system-card strong { font-size: 13px; }.sidebar-status b { font-size: 12px; }.sidebar-status small { font-size: 10px; }
.users-head small { font-size: 12px; }.users-actions button { font-size: 11px; }.users-table { font-size: 12px; }.users-table th { font-size: 10px; }.status-tag { font-size: 10px; }
.users-growth-panel { grid-column: 1 / -1; }.users-chart,.users-chart svg { min-height: 240px; height: 240px; }
.user-identity small { font-size: 10px; }.user-identity b { font-size: 14px; }.notification-toggle b { font-size: 15px; }.notification-toggle small { font-size: 12px; }
.feed-search-wrap { position: relative; min-width: 0; }.feed-search input,.game-search input { font-size: 14px; }.feed-summary { min-width: 190px; }.feed-summary strong { font-size: 22px; }.feed-summary span { max-width: 190px; font-size: 11px; line-height: 1.3; text-align: right; }
.game-suggestions { position: absolute; z-index: 45; top: calc(100% + 7px); left: 0; right: 0; max-height: min(430px,62vh); overflow-y: auto; padding: 8px; border: 1px solid rgba(145,71,255,.38); background: rgba(24,24,27,.985); box-shadow: 0 22px 55px rgba(0,0,0,.56); backdrop-filter: blur(18px); }
.feed-game-suggestions { top: 52px; }
.suggestions-head { display: grid; gap: 3px; padding: 8px 10px 11px; border-bottom: 1px solid var(--line); }.suggestions-head b { font-size: 12px; }.suggestions-head small { color: var(--subtle); font-size: 11px; }
.suggestion-row { width: 100%; min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border: 0; border-bottom: 1px solid rgba(255,255,255,.045); color: white; background: transparent; text-align: left; cursor: pointer; }.suggestion-row:hover,.suggestion-row:focus-visible { background: rgba(145,71,255,.11); outline: 0; }.suggestion-row span { display: grid; gap: 4px; }.suggestion-row b { font-size: 13px; }.suggestion-row small { color: var(--subtle); font-size: 11px; }.suggestion-row em { color: var(--purple-bright); font-size: 19px; font-style: normal; }.suggestion-row.selected em { color: var(--success); }.suggestion-row.custom { background: rgba(145,71,255,.08); }.suggestions-empty { padding: 22px 10px; color: var(--subtle); font-size: 12px; text-align: center; }
.user-section-head span { font-size: 10px; }.user-section-head h2 { font-size: 22px; }.user-section-head small { font-size: 11px; }.filter-help { font-size: 13px; }
.drop-game small { font-size: 10px; }.drop-game b { font-size: 16px; }.drop-card h3 { font-size: 15px; }.drop-reward { font-size: 12px; line-height: 1.35; }.drop-card footer span { color: var(--muted); font-size: 13px; font-weight: 700; }.drop-card footer b { font-size: 11px; }.feed-empty p { font-size: 13px; }
.notification-modes { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 22px 0; }.notification-modes > label { position: relative; min-height: 94px; display: block; padding: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }.notification-modes > label > input { position: absolute; opacity: 0; }.notification-modes > label > span { display: grid; gap: 9px; }.notification-modes > label > span > b { font-size: 14px; }.notification-modes > label > span > small { color: var(--muted); font-size: 12px; line-height: 1.45; }.notification-modes > label:has(> input:checked) { border-color: var(--purple); background: linear-gradient(135deg,rgba(145,71,255,.18),var(--surface-2)); box-shadow: inset 0 0 0 1px rgba(145,71,255,.24); }.notification-modes > label:has(> input:checked)::after { content: "✓"; position: absolute; right: 12px; top: 10px; color: var(--success); font-weight: 900; }
.notification-panel { margin-bottom: 22px; border-color: rgba(145,71,255,.42); background: linear-gradient(145deg,rgba(145,71,255,.09),rgba(24,24,27,.88) 48%); box-shadow: 0 18px 55px rgba(0,0,0,.18); }.notification-panel .notification-modes { margin-bottom: 0; }.notification-panel-head { min-height: 54px; align-items: flex-start; }.language-control { display: grid; justify-items: end; gap: 7px; }.language-control > small { color: var(--muted); font-size: 10px; }.language-control > div { display: flex; padding: 3px; border: 1px solid var(--line); background: var(--bg); }.language-control button { min-height: 32px; padding: 0 12px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }.language-control button.active { color: white; background: var(--purple-dark); }.inline-interest-settings { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(145,71,255,.3); }.notification-modes > .inline-interest-settings { margin: 0; padding: 18px 16px; border: 1px solid rgba(145,71,255,.42); background: #0c0c10; box-shadow: inset 3px 0 0 rgba(145,71,255,.42); }.inline-interest-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.inline-interest-head > div { display: grid; gap: 6px; }.inline-interest-head b { font-size: 15px; }.inline-interest-head small { color: var(--muted); font-size: 12px; line-height: 1.45; }.inline-interest-head em { min-width: 28px; height: 28px; display: grid; place-content: center; border-radius: 50%; color: white; background: var(--purple-dark); font-size: 11px; font-style: normal; font-weight: 850; }.settings-utility-section { margin-top: 12px; }.settings-utility-section .feed-search-wrap { max-width: 720px; }
.settings-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }.settings-title { display: flex; justify-content: space-between; gap: 16px; }.settings-title > div { display: grid; gap: 5px; }.settings-title b { font-size: 15px; }.settings-title small { color: var(--subtle); font-size: 12px; line-height: 1.45; }.settings-title > span { min-width: 26px; height: 26px; display: grid; place-content: center; border-radius: 50%; color: white; background: var(--purple-dark); font-size: 11px; font-weight: 800; }
.interest-picker { position: relative; max-width: 620px; }.interest-search { max-width: none; margin: 15px 0 0; border-color: rgba(145,71,255,.42); background: rgba(145,71,255,.055); }.interest-search:focus-within { border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(145,71,255,.1); }
.interest-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.interest-list button { min-height: 39px; display: flex; align-items: center; gap: 9px; padding: 0 10px 0 11px; border: 1px solid rgba(0,219,132,.55); color: #dfffee; background: linear-gradient(135deg,rgba(0,219,132,.2),rgba(145,71,255,.13)); box-shadow: inset 0 0 0 1px rgba(0,219,132,.06); cursor: pointer; }.interest-list button::before { content: "✓"; color: var(--success); font-size: 13px; font-weight: 900; }.interest-list button:hover { border-color: var(--success); background: linear-gradient(135deg,rgba(0,219,132,.27),rgba(145,71,255,.19)); }.interest-list button span { font-size: 13px; font-weight: 750; }.interest-list button b { color: #a9c8b8; font-size: 18px; }.empty-interest { width: 100%; padding: 15px; color: var(--subtle); background: rgba(255,255,255,.025); font-size: 12px; line-height: 1.5; }.game-filter { font-size: 12px; }
.settings-accordion { margin-top: 12px; border: 1px solid var(--line); background: var(--surface-2); }.settings-accordion summary { min-height: 74px; display: grid; grid-template-columns: minmax(0,1fr) auto 22px; align-items: center; gap: 13px; padding: 14px 16px; list-style: none; cursor: pointer; user-select: none; background: var(--surface-2); transition: background .18s ease,border-color .18s ease; }.settings-accordion summary::-webkit-details-marker { display: none; }.settings-accordion summary:hover { background: rgba(145,71,255,.1); }.settings-accordion summary > span { min-width: 0; display: grid; gap: 5px; }.settings-accordion summary b { font-size: 15px; }.settings-accordion summary small { color: var(--muted); font-size: 12px; line-height: 1.4; }.settings-accordion summary em { min-width: 27px; height: 27px; display: grid; place-content: center; border-radius: 50%; color: white; background: var(--purple-dark); font-size: 11px; font-style: normal; font-weight: 850; }.settings-accordion summary > i { position: relative; width: 18px; height: 18px; }.settings-accordion summary > i::before,.settings-accordion summary > i::after { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 2px; background: var(--purple-bright); transition: transform .18s ease; }.settings-accordion summary > i::after { transform: rotate(90deg); }.settings-accordion[open] { border-color: var(--purple); }.settings-accordion[open] summary { border-bottom: 1px solid rgba(145,71,255,.4); background: linear-gradient(135deg,rgba(145,71,255,.18),var(--surface-2)); box-shadow: inset 0 0 0 1px rgba(145,71,255,.24); }.settings-accordion[open] summary > i::after { transform: rotate(0); }.accordion-content { padding: 18px 16px 20px; background: #0c0c10; box-shadow: inset 3px 0 0 rgba(145,71,255,.42); }.accordion-content .notification-modes { margin: 0; }.accordion-content > .game-search { margin-top: 0; }.active-search-results { display: grid; gap: 13px; margin-top: 18px; }.active-search-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid rgba(145,71,255,.3); background: #18131f; }.active-search-result-head strong { font-size: 14px; }.active-search-result-head span { color: var(--muted); font-size: 12px; }.active-search-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; }.active-search-empty { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(145,71,255,.26); background: #161219; }.active-search-empty strong { font-size: 16px; }.active-search-empty p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }.active-search-empty button { min-height: 43px; margin-top: 3px; border: 1px solid var(--purple); color: white; background: var(--purple-dark); font-size: 12px; font-weight: 850; cursor: pointer; }.active-search-empty button:hover { background: var(--purple); }.active-search-success { border-color: rgba(0,219,132,.45); background: rgba(0,219,132,.08); }.active-search-success strong { color: #dfffee; }.selected-game-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 16px; }.selected-game-list > button { min-height: 38px; display: inline-flex; align-items: center; gap: 9px; padding: 0 10px 0 11px; cursor: pointer; }.blacklist-list > button:not(.clear-tags) { color: #ffdfe1; border: 1px solid rgba(255,95,104,.55); background: linear-gradient(135deg,rgba(255,95,104,.19),rgba(119,44,232,.1)); }.blacklist-list > button:not(.clear-tags)::before { content: "×"; color: var(--danger); font-size: 16px; font-weight: 900; }.blacklist-list > button:not(.clear-tags):hover { border-color: var(--danger); background: rgba(255,95,104,.23); }.blacklist-list button span { font-size: 13px; font-weight: 750; }.blacklist-list button b { color: #d3a7aa; font-size: 18px; }.selected-game-list .clear-tags { min-height: 34px; padding: 0 11px; color: var(--muted); border: 1px dashed rgba(255,255,255,.22); background: transparent; font-size: 11px; font-weight: 800; }.selected-game-list .clear-tags::before { content: none; }.selected-game-list .clear-tags:hover { color: white; border-color: var(--purple-bright); background: rgba(145,71,255,.1); }
.feedback-section { display: grid; justify-items: center; gap: 12px; padding: 4px 0 max(28px,env(safe-area-inset-bottom)); }.feedback-toggle { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(145,71,255,.34); color: #bdb3ca; background: rgba(145,71,255,.07); cursor: pointer; font-size: 11px; }.feedback-toggle:hover,.feedback-toggle[aria-expanded="true"] { color: white; border-color: var(--purple-bright); background: rgba(145,71,255,.16); }.feedback-toggle span { color: var(--purple-bright); }.feedback-form { width: min(100%,620px); box-sizing: border-box; padding: 18px; border: 1px solid rgba(145,71,255,.4); background: linear-gradient(145deg,#191320,#101014); box-shadow: 0 18px 45px rgba(0,0,0,.28); }.feedback-head { display: flex; justify-content: space-between; gap: 18px; }.feedback-head > div { display: grid; gap: 6px; }.feedback-head b { font-size: 16px; }.feedback-head small,.feedback-form > small { color: var(--muted); font-size: 11px; line-height: 1.45; }.feedback-head > button { width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; font-size: 20px; }.feedback-form > label { display: grid; gap: 7px; margin-top: 15px; color: #d8d8dc; font-size: 11px; font-weight: 800; }.feedback-form textarea,.feedback-form input { width: 100%; box-sizing: border-box; border: 1px solid var(--line); outline: 0; color: white; background: #0e0e10; font: inherit; font-size: 13px; }.feedback-form textarea { min-height: 112px; resize: vertical; padding: 12px; line-height: 1.5; }.feedback-form input { min-height: 44px; padding: 0 12px; }.feedback-form textarea:focus,.feedback-form input:focus { border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(145,71,255,.1); }.feedback-form > small { display: block; margin-top: 10px; }.feedback-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }.feedback-actions button { min-height: 42px; padding: 0 17px; border: 1px solid var(--purple); color: white; background: var(--purple-dark); cursor: pointer; font-size: 12px; font-weight: 850; }.feedback-actions button:disabled { opacity: .55; cursor: wait; }.feedback-actions span { color: var(--muted); font-size: 11px; line-height: 1.4; }.feedback-actions span.success { color: var(--success); }.feedback-actions span.error { color: var(--danger); }
.test-message-panel { grid-column: 1 / -1; min-height: 0; }.test-message-panel > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }.test-message-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }.test-message-actions button { min-height: 43px; }.test-message-actions button:disabled { opacity: .55; cursor: wait; }.test-message-panel > small { display: block; margin-top: 13px; color: var(--subtle); font-size: 11px; }
.suggestions-more,.show-more-button { width: 100%; min-height: 44px; border: 1px solid rgba(145,71,255,.38); color: white; background: rgba(145,71,255,.1); font-size: 12px; font-weight: 800; cursor: pointer; }.suggestions-more { margin-top: 6px; }.suggestions-more:hover,.show-more-button:hover { border-color: var(--purple-bright); background: rgba(145,71,255,.19); }.show-more-button { margin-top: 16px; }.compact-more { max-width: 310px; }
.admin-campaigns-panel { margin-top: 14px; }.admin-drops-head { align-items: end; }.admin-drops-head > div { min-width: 230px; }.admin-drops-head small { display: block; margin-top: 7px; color: var(--subtle); font-size: 12px; }.admin-drop-search { width: min(430px,52%); min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); background: var(--bg); }.admin-drop-search:focus-within { border-color: rgba(145,71,255,.6); }.admin-drop-search span { color: var(--purple-bright); font-size: 20px; }.admin-drop-search input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 13px; }.admin-drop-search input::placeholder { color: #696974; }
.admin-campaign-list { display: grid; gap: 10px; margin-top: 18px; }.admin-drop-card { display: grid; grid-template-columns: minmax(240px,1.15fr) minmax(170px,.85fr) minmax(420px,1.6fr); gap: 18px; align-items: center; padding: 17px; border: 1px solid var(--line); background: var(--surface-2); }.admin-drop-card:hover { border-color: rgba(145,71,255,.38); }.admin-drop-title { min-width: 0; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 11px; align-items: center; position: relative; padding-right: 86px; }.admin-drop-letter { width: 38px; height: 44px; display: grid; place-items: center; color: white; background: linear-gradient(145deg,#4e227f,#9b5dff); font-weight: 900; clip-path: polygon(0 0,100% 0,100% 77%,77% 100%,0 100%); }.admin-drop-title small { color: var(--purple-bright); font-size: 9px; font-weight: 850; letter-spacing: .08em; }.admin-drop-title h3 { margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }.admin-drop-title p { margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.35; }.admin-drop-title > b { position: absolute; top: 0; right: 0; color: var(--purple-bright); font-size: 11px; }.admin-drop-rewards { min-width: 0; display: grid; gap: 5px; }.admin-drop-rewards span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }.admin-drop-rewards span::before { content: "•"; margin-right: 7px; color: var(--success); }
.admin-drop-metrics { display: grid; grid-template-columns: repeat(3,minmax(76px,1fr)); gap: 7px; }.admin-drop-metrics div { min-height: 57px; display: grid; align-content: center; gap: 4px; padding: 7px; border-left: 1px solid var(--line); }.admin-drop-metrics strong { font-size: 16px; }.admin-drop-metrics span { color: var(--subtle); font-size: 9px; line-height: 1.25; }.admin-drop-metrics .metric-alert strong { color: var(--danger); }.admin-drop-card footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 15px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 10px; }.admin-drop-empty { min-height: 130px; display: grid; place-content: center; }

@media (max-width: 1020px) {
  .hero { gap: 36px; }.benefit-grid { grid-template-columns: repeat(2,1fr); }.benefit-grid article:nth-child(2) { border-right: 0; }.benefit-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sidebar { width: 190px; }.dashboard-main { margin-left: 190px; }.chart-grid,.tables-grid { grid-template-columns: 1fr; }.system-grid { grid-template-columns: repeat(2,1fr); }
  .campaign-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.game-filter-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.admin-drop-card { grid-template-columns: minmax(220px,1fr) minmax(0,1fr); }.admin-drop-metrics { grid-column: 1 / -1; }.preference-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.admin-drop-filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .chart-range-toolbar { align-items: stretch; flex-direction: column; gap: 12px; padding: 12px; }.chart-range-toolbar small { font-size: 11px; }.chart-range-actions { display: grid; grid-template-columns: 44px 44px 1fr; }.chart-range-actions button,.chart-range-actions button:last-child { width: 100%; min-width: 0; }.chart { touch-action: pan-y; }.bar-group small { font-size: 9px; }.combo-chart-panel { border-radius: 13px; }.combo-chart-head { align-items: stretch; flex-direction: column; }.panel-head.combo-chart-head h2 { font-size: 19px; }.combo-chart-actions { justify-content: space-between; }.combo-chart { min-height: 310px; margin-inline: -5px; }.combo-chart svg { height: 310px; }.combo-chart-tooltip { font-size: 10px; }.combo-chart-panel.is-fullscreen { inset: 0; padding: 14px 12px max(12px,env(safe-area-inset-bottom)); border: 0; border-radius: 0; }.combo-chart-panel.is-fullscreen .combo-chart { margin-inline: -4px; }
  .wrap { width: min(100% - 28px, 620px); }.public-header { height: 68px; }.public-header .ghost-button { display: none; }
  .hero { min-height: auto; padding: 62px 0 72px; grid-template-columns: 1fr; gap: 62px; }.hero h1 { font-size: clamp(44px,14vw,66px); }.hero-copy > p { font-size: 15px; }.public-stats { gap: 20px; flex-wrap: wrap; }.message-showcase { margin: auto; transform: none; }
  .benefits-section,.steps-section { padding: 72px 0; }.benefit-grid { grid-template-columns: 1fr; }.benefit-grid article { min-height: 225px; border-right: 0; border-bottom: 1px solid var(--line); }.benefit-grid article:last-child { border-bottom: 0; }.steps { grid-template-columns: 1fr; }.steps li { min-height: 120px; }.public-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .sidebar { display: none; }.dashboard-main { margin-left: 0; padding-bottom: 72px; }.dashboard-header { height: 61px; padding: 0 15px; }.dashboard-header > div:first-child { display: flex; align-items: center; gap: 10px; }.dashboard-header p { display: none; }.mobile-brand { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--purple); font-weight: 900; font-size: 9px; }.owner-avatar { display: none; }.period-select { font-size: 0; }.period-select select { font-size: 10px; padding: 7px 24px 7px 9px; }.day-picker { font-size: 0; }.day-picker input { width: 112px; font-size: 9px; padding: 7px 5px; }.admin-loading-progress { top: 61px; margin: 0 14px; padding: 11px 12px 12px; }.admin-loading-copy strong { font-size: 11px; }.admin-loading-copy small { font-size: 9px; }.dashboard-content { padding: 24px 14px 30px; }.intro-row { align-items: flex-start; }.intro-row h1 { font-size: 28px; }.health-pill { padding: 7px 9px; font-size: 0; }.health-pill::after { content: "online"; font-size: 9px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }.campaign-kpi { grid-column: 1 / -1; }.kpi-card { min-height: 118px; padding: 15px; }.kpi-card strong { font-size: 24px; }.chart-grid,.tables-grid { gap: 9px; }.panel { padding: 15px; }.chart { overflow: hidden; }.rank-row { grid-template-columns: 20px 1fr 48px; }.rank-bar { display: none; }.system-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.system-card { padding: 12px; min-height: 75px; }.system-icon { width: 29px; height: 29px; }.mobile-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(60px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(20,20,22,.97); border-top: 1px solid var(--line); backdrop-filter: blur(15px); }.mobile-nav button { display: grid; place-content: center; gap: 2px; justify-items: center; border: 0; color: #777782; background: transparent; font-size: 8px; }.mobile-nav button span { font-size: 17px; }.mobile-nav button.active { color: var(--purple-bright); }.admin-view-switcher { top: calc(69px + env(safe-area-inset-top)); right: 8px; }.admin-view-switcher button { padding: 6px 8px; font-size: 9px; }
  .user-header { height: 62px; padding: 0 14px; }.user-header .brand { font-size: 17px; }.user-identity small { display: none; }.user-content { width: calc(100% - 28px); padding-top: 28px; }.user-hero { grid-template-columns: 1fr; gap: 22px; padding-bottom: 24px; }.user-hero h1 { font-size: 38px; }.notification-toggle { min-height: 72px; }.feed-toolbar { grid-template-columns: 1fr auto; padding: 16px 0; }.feed-search { grid-column: 1/-1; }.feed-summary { justify-items: start; }.campaign-grid { grid-template-columns: 1fr; }.drop-card { min-height: 218px; }.user-panel { padding: 14px; }.user-section-head small { display: none; }.game-filter-list { grid-template-columns: 1fr; }
  .feed-search-wrap { grid-column: 1 / -1; }.feed-summary { min-width: 150px; }.feed-summary span { text-align: left; }.game-suggestions { max-height: 52vh; }.notification-modes { grid-template-columns: 1fr; }.notification-modes > label { min-height: 86px; }.settings-title small,.notification-modes > label > span > small { font-size: 12px; }.drop-reward { font-size: 12px; }.drop-card footer span { font-size: 13px; }.mobile-nav { height: calc(68px + env(safe-area-inset-bottom)); }.mobile-nav button { gap: 4px; font-size: 11px; }.mobile-nav button span { font-size: 21px; }.dashboard-main { padding-bottom: 80px; }.period-select select { font-size: 12px; }.day-picker input { font-size: 11px; }.kpi-label { font-size: 10px; }.kpi-card small { font-size: 11px; }.panel-head > div > span { font-size: 9px; }.users-growth-panel { grid-column: auto; }
  .admin-section-summary { min-height: 82px; grid-template-columns: 36px minmax(0,1fr) 18px; gap: 11px; padding: 14px; }.admin-section-summary .summary-icon { width: 34px; height: 34px; }.admin-section-summary h2 { font-size: 16px; }.admin-section-summary p { font-size: 11px; }.admin-section-body { padding: 13px; }.section-explanation { font-size: 11px; }.audience-number-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.audience-number-card { min-height: 132px; padding: 14px; }.audience-number-card.primary { grid-column: 1 / -1; }.audience-number-card strong,.audience-number-card:not(.primary) strong { font-size: 38px; }.preference-grid { grid-template-columns: 1fr 1fr; }.audience-export { align-items: stretch; flex-direction: column; }.audience-export button { width: 100%; }.admin-drop-filters { grid-template-columns: 1fr; }.admin-drop-filters .admin-drop-search { min-height: 52px; }.admin-drops-head { align-items: stretch; flex-direction: column; }.admin-drop-search { width: 100%; box-sizing: border-box; }.admin-drop-card { grid-template-columns: 1fr; gap: 12px; padding: 14px; }.admin-drop-rewards,.admin-drop-metrics { grid-column: auto; }.admin-drop-metrics { grid-template-columns: repeat(3,1fr); }.admin-drop-card footer { flex-direction: column; gap: 5px; }.admin-drop-title { padding-right: 74px; }.compact-more { max-width: none; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }.text-button { min-height: 40px; }.message-showcase { padding: 11px; }.message-card { padding: 16px; }.public-stats div:last-child { display: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }.kpi-label { font-size: 9px; }.kpi-card small { font-size: 10px; }.system-grid { grid-template-columns: 1fr; }.audience-number-grid { grid-template-columns: 1fr; }.audience-number-card.primary { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

body.admin-session { padding-top: 50px; }
.admin-session .admin-view-switcher { position: absolute; top: max(8px,env(safe-area-inset-top)); }
.admin-session .user-header,.admin-session .dashboard-header { top: 0; }
.admin-session .sidebar { top: 0; }

@media (max-width: 760px) {
  body.admin-session { padding-top: 48px; }
  .admin-session .admin-view-switcher { top: max(6px,env(safe-area-inset-top)); right: 8px; }
  .admin-session .user-header,.admin-session .dashboard-header { top: 0; }
  .admin-session .sidebar { top: 0; }
  .feed-search input,.game-search input,.admin-drop-search input,.feedback-form input,.feedback-form textarea { font-size: 16px; }
  .settings-accordion summary { min-height: 70px; padding: 13px 12px; }
  .settings-accordion summary small { font-size: 11px; }
  .accordion-content { padding: 15px 12px 17px; }
  .notification-panel-head { flex-direction: column; gap: 14px; }
  .language-control { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .user-shell,.dashboard-shell,.public-shell { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .test-message-actions { display: grid; grid-template-columns: 1fr; }
  .test-message-actions button { width: 100%; }
  .feedback-form { padding: 15px; }
  .feedback-actions { align-items: stretch; flex-direction: column; }
  .feedback-actions button { width: 100%; }
}
