/* Shared Pixelar surfaces, navigation and analytics. Loaded after legacy page styles. */
/* Brand typefaces and scene are shared with Pixelar_Website. Font licenses live in /fonts. */
@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-regular.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-medium.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-semibold.ttf') format('truetype'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-bold.ttf') format('truetype'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-bold.ttf') format('truetype'); }
:root {
  --bg: #070908;
  --bg-soft: #0b0e0c;
  --sidebar: #0a0e0c;
  --panel: #101411;
  --panel-solid: #101411;
  --panel-hover: #171e18;
  --line: #29332c;
  --line-green: #304b34;
  --line-green-strong: #527358;
  --text: #f3f5ed;
  --muted: #abb7ae;
  --muted-2: #9aa99e;
  --pixelar: #4bc84b;
  --success: #70ee70;
  --danger: #ff8181;
  --shadow: 0 12px 30px #00000024;
  --glow: 0 0 22px #4bc84b12;
  --radius: 5px;
  --font-body: Barlow, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
body { font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: var(--font-body); }
::selection { background: #70ee70; color: #071008; }
.admin-body { background: radial-gradient(ellipse 900px 500px at 75% 0, #22403626, transparent 80%), var(--bg); }
.sidebar { width: 248px; padding: 22px 14px 16px; background: linear-gradient(180deg, #11191366, transparent 280px), var(--sidebar); border-color: var(--line); box-shadow: 12px 0 48px #00000020; backdrop-filter: none; }
.sidebar::after { display: none; }
.sidebar-brand { padding: 0 8px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.sidebar-brand strong { font-family: var(--font-display); font-size: 31px; line-height: 1; text-transform: uppercase; letter-spacing: -.3px; }
.sidebar-brand small { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--muted); margin-top: 5px; }
.brand-mark { background: transparent; box-shadow: none; }
.sidebar-brand .brand-logo { width: 44px; height: 48px; padding: 0; border: 0; overflow: visible; }
.side-nav { display: block; margin-top: 10px; overflow-y: auto; min-height: 0; padding-right: 3px; }
.nav-group { margin-bottom: 12px; }
.side-nav-section { margin: 16px 12px 6px; color: var(--muted-2); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.side-nav a { min-height: 40px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; margin: 3px 0; }
.side-nav a:hover { background: #1a241c; box-shadow: none; }
.side-nav a.active { background: linear-gradient(90deg, #254229, #142017); color: #b9f5bb; border-color: #36543a; box-shadow: inset 2px 0 var(--pixelar), 0 0 20px #4bc84b08; }
.side-nav .nav-icon { color: inherit; border: 0; background: transparent; }
.side-nav .nav-icon i { font-size: 19px; }
.sidebar-foot { padding: 12px 10px; font-size: 12px; letter-spacing: 0; text-transform: none; flex-shrink: 0; background: #101b12; border-color: #2d4532; }
.status-dot, .session-indicator span { box-shadow: none; }
.topbar { left: 248px; background: #080c0be8; border-color: #ffffff10; padding: 0 28px; backdrop-filter: blur(12px); }
.breadcrumb { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.topbar-action-button, .ghost-button { min-height: 36px; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; background: #19271e; box-shadow: none; }
.topbar-action-button:hover, .ghost-button:hover { transform: none; box-shadow: none; }
.profile-chip { min-width: 140px; background: transparent; border-color: transparent; }
.profile-chip strong { text-transform: none; letter-spacing: 0; font-weight: 600; }
.profile-chip small, .session-indicator { text-transform: none; letter-spacing: 0; font-weight: 500; }
.admin-main { margin-left: 248px; padding: 96px 28px 40px; min-width: 0; }
.panel-card, .stat-card, .hero-panel { background: linear-gradient(145deg, #ffffff03, transparent 55%), var(--panel); box-shadow: var(--shadow); }
.panel-card:hover, .stat-card:hover { background: var(--panel); border-color: var(--line); }
.hero-panel h1, .page-toolbar h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.panel-card h2, .section-head h2, .charts-toolbar h2 { font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.card-head { align-items: flex-start; }
.card-head p { color: var(--muted); margin: 5px 0 0; font-size: 12px; }
.eyebrow { text-transform: none; letter-spacing: .015em; color: var(--muted); }
.badge { letter-spacing: 0; text-transform: none; font-weight: 500; }
button, a, summary { -webkit-tap-highlight-color: #39ff5a25; }
:focus-visible { outline: 2px solid #b6ffc5; outline-offset: 4px; }
:target { scroll-margin-top: 90px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; color: #102016; background: #a6ffb5; border-radius: 5px; }
.skip-link:focus { top: 10px; }
.mobile-menu-button { display: none; }
.insights-page { max-width: 1760px; margin: 0 auto; }
.insights-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.insights-heading h1 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 58px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.05; }
.insights-heading p { margin: 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.insights-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #b4dfbd; font-size: 13px; font-weight: 600; text-decoration: none; flex-shrink: 0; }
.insights-link:hover { color: var(--pixelar); }
.insights-link i { font-size: 20px; }
.insights-status { margin: 0 0 20px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; background: #0e1510; color: var(--muted); font-size: 12px; }
.insights-status.is-warning { color: #eed49b; border-color: #5d4e30; background: #201e16; }
.insights-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 5px; background: var(--panel); overflow: hidden; }
.insight-kpi { min-width: 0; padding: 22px 24px; border-right: 1px solid var(--line); }
.insight-kpi:last-child { border-right: 0; }
.insight-kpi.featured { background: linear-gradient(135deg, #203923, #101a13); box-shadow: inset 0 2px var(--pixelar); }
.insight-kpi > span { color: #c0d0c4; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.insight-kpi > span i { color: var(--pixelar); font-size: 18px; }
.insight-kpi > strong { display: block; margin: 12px 0 10px; font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.insight-kpi.featured > strong { color: #acffaa; }
.insight-kpi > small { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.insights-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 16px; }
.insights-toolbar h2 { font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: 0; margin: 0; }
.insights-toolbar p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.range-control { background: #101914; flex-shrink: 0; }
.insights-page .range-control button { min-height: 36px; min-width: 64px; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.range-control button[aria-pressed="true"] { background: #264831; border-color: #3c6146; color: #b9ffc7; }
.insights-main-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 20px; }
.insights-bottom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.insights-page .panel-card { min-width: 0; padding: 22px; }
.insights-page .chart-card { overflow: hidden; }
.chart-notice { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.retention-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.retention-row span { font-size: 13px; }
.retention-row strong { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #b9efbb; white-space: nowrap; }
.retention-row small, .retention-highlights small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.insight-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; }
.insights-facts { margin: 0; }
.insights-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.insights-facts > div:last-child { border-bottom: 0; }
.insights-facts dt { font-size: 13px; color: var(--muted); }
.insights-facts dd { margin: 0; font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.insights-server, .cohort-panel, .insights-method { margin-top: 20px; }
.dashboard-stat-group { margin-top: 18px; }
.dashboard-stat-group h3 { margin: 0 0 9px; font-size: 14px; font-weight: 500; color: var(--muted); }
.dashboard-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.dashboard-stat-card { min-width: 0; padding: 16px 18px 12px; background: linear-gradient(145deg, #ffffff04, transparent 65%), var(--panel); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 4px 16px #00000012; }
.dashboard-stat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; font-size: 14px; color: #c4cec6; }
.dashboard-stat-label i { color: #79c884; font-size: 21px; }
.dashboard-stat-card > strong { display: block; margin: 7px 0 5px; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dashboard-stat-card > small { display: block; min-height: 17px; color: var(--muted); font-size: 11px; }
.dashboard-stat-card.is-unavailable { border-color: #5d4e30; }
.dashboard-stat-card.is-unavailable > small { color: #eed49b; }
.retention-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 24px; }
.retention-highlights > div { border-left: 2px solid #376a44; padding: 0 20px; }
.retention-highlights span { font-size: 13px; color: var(--muted); }
.retention-highlights strong { display: block; font-size: 30px; font-weight: 600; margin: 4px 0; color: #b7f7c5; }
.insights-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.insights-table caption { text-align: left; color: var(--muted); font-size: 12px; padding-bottom: 14px; }
.insights-table th { background: #111a15; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.insights-table td, .insights-table th { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.insights-table td { font-size: 13px; font-variant-numeric: tabular-nums; }
.insights-table small { font-size: 11px; color: var(--muted); margin-left: 6px; }
.cohort-panel .table-wrap { max-height: 480px; overflow: auto; }
.cohort-panel th { position: sticky; top: 0; z-index: 1; }
.retention-cell { display: inline-block; min-width: 66px; padding: 5px 8px; border-radius: 5px; color: #e5ffea; background: #274b32; }
.retention-cell.high { background: #376c44; }
.retention-cell.low { background: #25342b; }
.pending-cell { color: var(--muted); font-size: 12px; }
.insights-method summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.insights-method p { max-width: 90ch; color: var(--muted); font-size: 13px; line-height: 1.8; }
.insights-method[open] summary { margin-bottom: 18px; }
.insights-page .rich-list-row { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; grid-template-columns: 30px minmax(0, 1fr) auto; }
.insights-page .rich-rank { border: 0; width: auto; color: var(--muted-2); font-size: 12px; }
.insights-page .rich-player strong { font-size: 13px; font-weight: 600; }
.insights-page .rich-player small { font-size: 11px; font-weight: 400; }
.insights-page .rich-value { font-weight: 600; letter-spacing: 0; }
.insights-page .rich-list-row[href]:hover { background: #1d2c22; transform: none; }
[hidden] { display: none !important; }

/* A single landscape sets the scene; the working surfaces remain opaque. */
.insights-heading, .page-toolbar {
  position: relative; isolation: isolate; overflow: hidden; min-height: 170px;
  padding: 28px 32px; border: 1px solid #53665c55; border-radius: 5px;
  background: #0c1210; box-shadow: 0 14px 34px #00000024;
}
.insights-heading { min-height: 210px; align-items: flex-end; }
[data-dashboard-page="overview"] .insights-heading { min-height: 230px; }
.insights-heading::before, .page-toolbar::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, #070b0aed 0%, #070b0ab0 40%, #070b0a25 78%),
    linear-gradient(0deg, #070b0abf, transparent 90%), url('/img/pixelar-horizon.webp') 50% 58% / cover;
}
.insights-heading::after, .page-toolbar::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/img/cinema-grain.svg'); opacity: .045; mix-blend-mode: soft-light;
}
.insights-heading h1 { text-shadow: 0 4px 24px #00000055; }
.insights-heading p { max-width: 56ch; font-size: 15px; color: #c9d2ce; line-height: 1.6; }
.insights-heading > .insights-link { min-height: 44px; padding: 0 16px; border: 1px solid #99b49d66; border-radius: 4px; background: #080e0cba; color: #e1eee1; }
.insights-heading > .insights-link:hover { border-color: var(--pixelar); background: #182b1de8; }
.page-toolbar h1 { font-size: clamp(34px, 3.4vw, 48px); }
.page-toolbar .eyebrow { color: #bfd1c1; font-size: 13px; font-weight: 500; }
.page-toolbar > div { min-width: 0; }
.page-toolbar .search-form { min-width: 0; width: min(460px, 100%); flex-shrink: 1; }
.page-toolbar .search-form input { background: #080e0de8; font-size: 14px; }
.search-form button, .table-button, .secondary-button { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; border-radius: 4px; }
.search-form button, .table-button { background: #18271c; border-color: #36543d; color: #d7ebd8; box-shadow: none; }
.search-form button:hover, .table-button:hover { background: #243d2a; box-shadow: none; }
.data-table { font-family: var(--font-body); }
.data-table th { font-size: 12px; font-weight: 600; letter-spacing: .015em; text-transform: none; color: #b9c6bd; background: #0c110e; overflow-wrap: normal; white-space: nowrap; }
.data-table td { font-size: 14px; }
.data-table td strong { font-weight: 600; }
.data-table tr:hover td { background-color: #17231a; }
.data-table td small { font-size: 12px; color: var(--muted); }
.online-panel { background: #0a100df7; border-color: #314838; }
.online-panel-toggle { background: #121e16; border-color: #3b5942; }
.inventory-modal, .online-player-modal { background: #101713; border-color: #3b4e41; box-shadow: 0 28px 80px #00000080; }
.insights-page .range-control button { min-height: 40px; font-size: 13px; }
.range-control button[aria-pressed="true"] { background: #223d27; color: #b9f5bb; border-color: #436449; }
.cohort-panel h2, .insights-method summary { color: var(--text); }
.retention-highlights strong { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: #b9efbb; }

/* The authentication scene uses the same horizon and wordmark as pixelar.fr. */
.auth-body { position: relative; isolation: isolate; background: #070908; }
.auth-body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, #060b1080, #07100b35 55%, #060b0acc),
    linear-gradient(0deg, #070908 0%, #07090845 45%, #060a0e66 100%),
    url('/img/pixelar-horizon.webp') 50% 60% / cover;
}
.auth-body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url('/img/cinema-grain.svg'); opacity: .045; mix-blend-mode: soft-light; }
.auth-card { padding: 36px; border-color: #768c7a55; background: #0c120ff0; box-shadow: 0 26px 80px #00000060; backdrop-filter: blur(14px); }
.auth-card::before { background: linear-gradient(90deg, transparent, #70ee70, transparent); opacity: .5; }
.auth-card h1 { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-transform: none; }
.auth-card p { font-size: 15px; line-height: 1.7; }
.auth-card .auth-note { margin-top: 22px; font-size: 12px; color: #aab8ae; }
.cinematic-login { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.login-header, .login-layout, .login-footer { width: min(1400px, calc(100% - 96px)); margin-inline: auto; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid #e1eae31a; }
.login-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.login-brand img { width: 48px; height: 48px; object-fit: contain; }
.login-brand strong { display: block; font-family: var(--font-display); font-size: 31px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.login-brand small { display: block; margin-top: 5px; font-size: 12px; color: #bdcbc3; }
.login-site-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: #d1dcd5; text-decoration: none; }
.login-site-link:hover { color: #9df69f; }
.login-site-link i { font-size: 20px; transform: rotate(135deg); }
.login-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: clamp(40px, 7vw, 110px); align-items: center; padding: 60px 0; }
.login-intro { min-width: 0; padding-bottom: 20px; text-shadow: 0 4px 36px #00000060; }
.login-wordmark { display: flex; align-items: flex-start; gap: 16px; margin: 0; font-family: var(--font-display); font-size: clamp(84px, 12vw, 190px); font-weight: 700; line-height: .9; letter-spacing: -.025em; text-transform: uppercase; }
.login-wordmark span { margin-top: 12px; padding: 5px 7px; font-family: var(--font-body); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: 0; color: #8aec8c; border: 1px solid #4bc84b88; border-radius: 3px; background: #10251466; }
.login-caption { margin: 25px 0 15px; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.login-description { margin: 0; color: #c4d0c8; font-size: 16px; line-height: 1.7; }
.login-card { width: 100%; padding: 38px 34px; }
.login-access { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #b4c8b8; font-size: 13px; }
.login-access i { color: #81ce87; font-size: 18px; }
.discord-button { min-height: 52px; gap: 10px; margin-top: 28px; padding: 12px 16px; border-color: #6bdf6b80; background: #4bc84b; color: #071008; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: 0 0 24px #4bc84b20; }
.discord-button:hover { transform: none; border-color: #70ee70; background: #70e570; box-shadow: 0 0 30px #4bc84b30; }
.discord-button i { font-size: 22px; }
.discord-button i:last-child { margin-left: auto; }
.login-card .auth-note { border-top: 1px solid #d5e5d51a; padding-top: 20px; }
.login-footer { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; border-top: 1px solid #e1eae31a; color: #a7b8ae; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .auth-body::before { animation: pixelar-scene-enter 1.4s ease-out both; }
  .insights-heading::before { animation: pixelar-scene-enter .8s ease-out both; }
  @keyframes pixelar-scene-enter { from { opacity: .35; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
}
@media (min-width: 901px) and (max-width: 1450px) {
  .online-panel-open .insights-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .online-panel-open .insights-main-grid, .online-panel-open .insights-bottom-grid, .online-panel-open .rich-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1250px) {
  .insights-main-grid { grid-template-columns: 1fr; }
  .insights-page .rich-list-grid { grid-template-columns: 1fr; }
  .insight-kpi { padding: 20px 16px; }
}
@media (max-width: 1050px) {
  .insights-heading { align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 20px; }
  .login-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 36px; }
  .login-header, .login-layout, .login-footer { width: calc(100% - 64px); }
  .insights-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-kpi:nth-child(2) { border-right: 0; }
  .insight-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .session-indicator { display: none; }
}
@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 44px; }
  .login-intro { padding: 0; }
  .login-wordmark { font-size: clamp(90px, 17vw, 150px); }
  .login-card { max-width: 460px; }
  .page-toolbar { flex-wrap: wrap; }
  .sidebar { position: relative; width: auto; padding: 16px; }
  .sidebar-brand { border: 0; padding: 0; width: fit-content; }
  .mobile-menu-button { display: inline-flex; align-items: center; gap: 7px; position: absolute; right: 16px; top: 19px; min-height: 40px; background: #1e3024; border: 1px solid #42664c; border-radius: 4px; padding: 0 12px; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
  .nav-ready:not(.nav-open) .side-nav { display: none; }
  .side-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-foot { display: none; }
  .topbar { position: static; height: auto; padding: 10px 16px; }
  .topbar-right { flex-wrap: wrap; width: 100%; gap: 8px; }
  .profile-chip { margin-left: auto; min-width: 0; }
  .admin-main, .online-panel-open .admin-main { margin-left: 0; padding: 24px 16px 40px; }
  .insights-heading { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .table-wrap > .data-table { min-width: 560px; }
  .insights-heading, .page-toolbar { padding: 24px 20px; }
  .insights-heading { gap: 20px; }
  [data-dashboard-page="overview"] .insights-heading { min-height: 220px; }
  .insights-heading::before, .page-toolbar::before { background-position: center, center, 54% 58%; }
  .insights-heading h1 { font-size: 39px; }
  .login-header, .login-layout, .login-footer { width: calc(100% - 40px); }
  .login-header { padding-block: 18px; gap: 12px; }
  .login-brand { gap: 8px; }
  .login-brand img { width: 38px; height: 42px; }
  .login-brand strong { font-size: 27px; }
  .login-brand small { font-size: 11px; }
  .login-site-link { font-size: 12px; gap: 6px; }
  .login-layout { padding-block: 36px; gap: 30px; }
  .login-wordmark { font-size: clamp(84px, 23vw, 140px); gap: 10px; }
  .login-wordmark span { margin-top: 4px; font-size: 11px; padding: 4px; }
  .login-caption { margin-top: 18px; font-size: 24px; }
  .login-description { font-size: 14px; }
  .login-card { padding: 26px 24px; }
  .login-card h1 { font-size: 38px; }
  .login-access { margin-bottom: 16px; }
  .login-card p { font-size: 14px; }
  .login-card .auth-note { font-size: 12px; }
  .discord-button { padding-inline: 12px; font-size: 14px; }
  .login-footer { font-size: 11px; padding-block: 18px; }
  .dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dashboard-stat-card { padding: 13px 12px 10px; }
  .dashboard-stat-card > strong { font-size: 27px; }
  .dashboard-stat-label { align-items: flex-start; font-size: 12px; }
  .dashboard-stat-label i { font-size: 18px; }
  .insights-toolbar { align-items: flex-start; flex-direction: column; }
  .insights-heading { margin-bottom: 16px; }
  .insights-heading p { font-size: 13px; }
  .insights-bottom-grid { grid-template-columns: 1fr; }
  .insights-page .panel-card { padding: 16px; }
  .insight-kpi { padding: 17px 14px; }
  .insight-kpi > span { font-size: 12px; }
  .insight-kpi > strong { font-size: 34px; }
  .insight-kpi > small { font-size: 11px; }
  .retention-highlights > div { padding: 0 10px; }
  .retention-highlights strong { font-size: 24px; }
  .insights-page .card-head { flex-wrap: wrap; }
  .insights-page .chart-frame-large { height: 260px !important; }
  .topbar .profile-chip { display: none; }
  .topbar .ghost-button { font-size: 11px; padding: 0 8px; }
  .topbar .topbar-action-button { padding: 0 8px; font-size: 11px; }
  .insights-facts dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
