:root {
  color-scheme: light;
  --black: #222222;
  --black-soft: #2b2b2b;
  --gray-700: #3d3d3d;
  --gray-600: #575757;
  --gray-500: #6e6e6e;
  --gray-400: #9a9a9a;
  --gray-300: #c4c4c4;
  --border: #dddddd;
  --border-soft: #e9e9e6;
  --surface: #f2f2f0;
  --surface-dark: #e5e5e2;
  --white: #ffffff;
  --action: #15803d;
  --action-dark: #166534;
  --action-soft: #dcfce7;
  --action-bright: #22c55e;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --danger: #b42318;
  --danger-soft: #fee4e2;
  --info: #2563eb;
  --info-soft: #dbeafe;
  --bg: #f4f4f2;
  --sidebar-width: 264px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--black);
  background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  overflow: hidden;
  place-items: center;
  border-radius: 16px;
  background: var(--action);
  box-shadow: 0 16px 36px -18px rgba(34, 197, 94, 0.8);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark-small { width: 42px; height: 42px; border-radius: 12px; box-shadow: none; }

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--action-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.98); }
.button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }
.button-primary {
  color: var(--white);
  background: var(--action);
  box-shadow: 0 14px 28px -14px rgba(21, 128, 61, 0.75);
}
.button-primary:hover { background: var(--action-dark); }
.button-secondary { border: 1px solid var(--border); background: var(--white); }
.button-secondary:hover { border-color: var(--gray-400); }
.button-danger { color: var(--danger); background: var(--danger-soft); }
.button-quiet { min-height: 34px; padding: 0 11px; color: var(--gray-600); background: var(--surface); font-size: 12px; }
.button svg { width: 19px; height: 19px; }

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s;
}
.icon-button:hover { background: rgba(255, 255, 255, 0.08); }
.icon-button svg { width: 19px; height: 19px; }

/* Sign in */
.login-view {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: 32px 20px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    var(--black);
  background-size: 72px 72px;
}
.login-view::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, transparent 0, rgba(34, 34, 34, 0.82) 72%);
}
.login-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
}
.login-glow-one { top: -180px; left: -130px; width: 520px; height: 520px; background: var(--action-bright); }
.login-glow-two { right: -200px; bottom: -220px; width: 580px; height: 580px; background: var(--action); }
.login-card {
  position: relative;
  z-index: 2;
  width: min(510px, calc(100vw - 40px));
  min-width: 0;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: rgba(34, 34, 34, 0.78);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
}
.login-card .brand-mark { margin-bottom: 34px; }
.login-card .eyebrow { color: #86efac; }
.login-card h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.login-card h1 em { color: var(--action-bright); font-style: normal; }
.login-card > p:not(.login-status) {
  max-width: 400px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 15px;
  line-height: 1.65;
}
.login-card .button { width: 100%; min-height: 54px; font-size: 14px; }
.login-card small { display: block; margin-top: 18px; color: rgba(255, 255, 255, 0.38); text-align: center; }
.login-status { min-height: 22px; margin: 14px 0 0; color: #fca5a5; font-size: 12px; text-align: center; }

/* App shell */
.app-view { min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 24px 16px 18px;
  color: var(--white);
  background: var(--black);
}
.sidebar::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: radial-gradient(90% 38% at 0 0, rgba(34, 197, 94, 0.18), transparent 72%);
}
.sidebar-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 7px 32px;
}
.sidebar-brand > span:last-child { display: flex; flex-direction: column; }
.sidebar-brand strong { font-size: 17px; font-weight: 850; letter-spacing: -0.025em; }
.sidebar-brand small { margin-top: 2px; color: rgba(255, 255, 255, 0.42); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sidebar-nav { position: relative; display: flex; flex: 1; flex-direction: column; gap: 5px; }
.nav-item {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.57);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.nav-item:hover { color: var(--white); background: rgba(255, 255, 255, 0.055); transform: translateX(2px); }
.nav-item.active { color: var(--white); background: rgba(34, 197, 94, 0.13); }
.nav-item.active::before { position: absolute; left: 0; width: 3px; height: 20px; border-radius: 99px; content: ''; background: var(--action-bright); }
.nav-item [data-icon] { display: grid; width: 19px; place-items: center; }
.nav-item svg { width: 18px; height: 18px; }
.nav-count { margin-left: auto; padding: 3px 7px; border-radius: 99px; color: #bbf7d0; background: rgba(34, 197, 94, 0.16); font-size: 10px; }
.sidebar-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-identity { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; }
.admin-identity > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.admin-identity strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-identity small { overflow: hidden; margin-top: 3px; color: rgba(255, 255, 255, 0.4); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-avatar { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #bbf7d0; background: rgba(34, 197, 94, 0.16); font-size: 12px; font-weight: 800; }

.main-content { min-height: 100vh; margin-left: var(--sidebar-width); padding: 38px clamp(24px, 4vw, 58px) 64px; }
.page-header { display: flex; max-width: 1500px; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 auto 30px; }
.page-header h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.page-header p { margin: 12px 0 0; color: var(--gray-500); font-size: 14px; }
.page-actions { display: flex; align-items: center; gap: 14px; }
.updated-at { color: var(--gray-400); font-size: 11px; white-space: nowrap; }
.content { max-width: 1500px; margin: 0 auto; }
.mobile-header, .sidebar-scrim { display: none; }

/* Reusable dashboard pieces */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.metric-card, .panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--white);
  box-shadow: 0 18px 50px -42px rgba(0, 0, 0, 0.42);
}
.metric-card { min-height: 148px; padding: 22px; border-radius: 20px; }
.metric-card::after { position: absolute; right: -36px; bottom: -52px; width: 128px; height: 128px; border-radius: 50%; content: ''; background: var(--action-soft); opacity: 0.65; }
.metric-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: var(--gray-500); font-size: 11px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.metric-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: var(--action-dark); background: var(--action-soft); }
.metric-icon.warning { color: var(--warning); background: var(--warning-soft); }
.metric-icon.danger { color: var(--danger); background: var(--danger-soft); }
.metric-icon svg { width: 17px; height: 17px; }
.metric-value { position: relative; z-index: 1; margin-top: 21px; font-size: 34px; font-weight: 900; letter-spacing: -0.05em; }
.metric-note { position: relative; z-index: 1; margin-top: 4px; color: var(--gray-400); font-size: 10px; }
.panel { border-radius: 22px; }
.panel-head { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--border-soft); }
.panel-head h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.panel-head p { margin: 4px 0 0; color: var(--gray-400); font-size: 10px; }
.panel-head-actions { display: flex; align-items: center; gap: 8px; }
.panel-body { padding: 22px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 18px; }
.stack { display: grid; gap: 18px; }

.chart { display: flex; height: 210px; align-items: flex-end; gap: clamp(4px, 1vw, 12px); padding: 18px 2px 0; }
.chart-column { display: flex; min-width: 0; flex: 1; align-items: flex-end; align-self: stretch; gap: 3px; }
.chart-bar { width: 50%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: var(--action); transition: height 0.5s var(--ease); }
.chart-bar.games { background: var(--black); }
.chart-labels { display: flex; justify-content: space-between; margin-top: 12px; color: var(--gray-400); font-size: 9px; }
.legend { display: flex; gap: 14px; color: var(--gray-500); font-size: 10px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--action); }
.legend span:last-child i { background: var(--black); }

.activity-list { display: grid; gap: 2px; }
.activity-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.activity-item:last-child { border: 0; }
.activity-avatar { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--action-dark); background: var(--action-soft); font-size: 11px; font-weight: 800; }
.activity-copy { min-width: 0; flex: 1; }
.activity-copy strong, .activity-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-copy strong { font-size: 12px; }
.activity-copy span { margin-top: 3px; color: var(--gray-400); font-size: 10px; }
.activity-time { color: var(--gray-400); font-size: 9px; white-space: nowrap; }

.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.search-field { position: relative; flex: 1; }
.search-field svg { position: absolute; top: 50%; left: 14px; width: 17px; height: 17px; color: var(--gray-400); transform: translateY(-50%); }
.search-field input, .filter-select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  color: var(--black);
  background: var(--white);
  font-size: 12px;
  transition: border 0.2s, box-shadow 0.2s;
}
.search-field input { padding: 0 14px 0 42px; }
.filter-select { width: auto; min-width: 150px; padding: 0 34px 0 13px; }
.search-field input:focus, .filter-select:focus { border-color: var(--action); box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 13px 18px; color: var(--gray-400); background: #fafaf9; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 15px 18px; border-top: 1px solid var(--border-soft); color: var(--gray-600); font-size: 11px; vertical-align: middle; }
.data-table tbody tr { transition: background 0.16s; }
.data-table tbody tr:hover { background: #fcfcfb; }
.primary-cell { display: flex; min-width: 180px; align-items: center; gap: 11px; }
.primary-cell strong { display: block; color: var(--black); font-size: 12px; }
.primary-cell small { display: block; max-width: 270px; overflow: hidden; margin-top: 3px; color: var(--gray-400); text-overflow: ellipsis; white-space: nowrap; }
.table-actions { display: flex; justify-content: flex-end; gap: 7px; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 99px; color: var(--action-dark); background: var(--action-soft); font-size: 9px; font-weight: 750; text-transform: capitalize; white-space: nowrap; }
.status-pill::before { width: 5px; height: 5px; border-radius: 50%; content: ''; background: currentColor; }
.status-pill.warning { color: var(--warning); background: var(--warning-soft); }
.status-pill.danger { color: var(--danger); background: var(--danger-soft); }
.status-pill.neutral { color: var(--gray-600); background: var(--surface); }
.status-pill.info { color: var(--info); background: var(--info-soft); }

.empty-state { display: grid; min-height: 300px; place-items: center; padding: 42px; text-align: center; }
.empty-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 16px; place-items: center; border-radius: 16px; color: var(--action-dark); background: var(--action-soft); }
.empty-icon svg { width: 23px; height: 23px; }
.empty-state h2 { margin: 0; font-size: 17px; }
.empty-state p { max-width: 420px; margin: 9px auto 0; color: var(--gray-500); font-size: 12px; line-height: 1.6; }

.analytics-platform-bar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 16px; }
.platform-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-soft); }
.platform-tab { min-height: 36px; padding: 0 15px; border: 0; border-radius: 10px; color: var(--gray-500); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; transition: color 0.18s, background 0.18s, box-shadow 0.18s; }
.platform-tab:hover { color: var(--black); background: var(--surface); }
.platform-tab.active { color: var(--white); background: var(--black); box-shadow: 0 7px 18px rgba(20, 20, 20, 0.16); }
.platform-mobile { display: none; }
.platform-mobile > span { display: block; margin-bottom: 7px; color: var(--gray-500); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.analytics-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 18px; margin-bottom: 18px; }
.analytics-summary { padding: 28px; color: var(--white); background: var(--black); }
.analytics-summary .eyebrow { color: #86efac; }
.analytics-summary h2 { max-width: 580px; margin: 0; font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.04; }
.analytics-summary h2 span { color: var(--action-bright); }
.analytics-summary p { max-width: 540px; margin: 14px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 12px; line-height: 1.65; }
.analytics-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.analytics-total { padding: 15px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 13px; background: rgba(255, 255, 255, 0.045); }
.analytics-total strong { display: block; font-size: 23px; letter-spacing: -0.04em; }
.analytics-total span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.42); font-size: 9px; text-transform: uppercase; }
.rank-list { display: grid; gap: 14px; }
.rank-row { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr auto; align-items: center; gap: 12px; font-size: 10px; }
.rank-row > span:first-child { overflow: hidden; color: var(--gray-600); text-overflow: ellipsis; white-space: nowrap; }
.rank-track { height: 7px; overflow: hidden; border-radius: 99px; background: var(--surface); }
.rank-fill { height: 100%; min-width: 3px; border-radius: inherit; background: var(--action); }
.rank-row strong { min-width: 28px; font-size: 10px; text-align: right; }

.setup-card { padding: 30px; border-color: #fde68a; background: #fffbeb; }
.setup-card h2 { margin: 0; font-size: 18px; }
.setup-card p { max-width: 760px; margin: 10px 0 0; color: #92400e; font-size: 12px; line-height: 1.7; }
.setup-code { display: inline-block; margin-top: 14px; padding: 9px 12px; border: 1px solid #fcd34d; border-radius: 9px; color: #78350f; background: rgba(255, 255, 255, 0.65); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

.health-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.health-card { padding: 22px; }
.health-card-head { display: flex; align-items: center; justify-content: space-between; }
.health-card h2 { margin: 0; font-size: 14px; }
.health-card p { margin: 18px 0 0; color: var(--gray-500); font-size: 11px; line-height: 1.65; }
.health-stat { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; }
.health-stat strong { font-size: 30px; letter-spacing: -0.05em; }
.health-stat span { color: var(--gray-400); font-size: 10px; }

.skeleton { position: relative; overflow: hidden; color: transparent !important; background: var(--surface) !important; }
.skeleton::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent); transform: translateX(-100%); animation: shimmer 1.35s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.loading-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.loading-grid .skeleton { height: 148px; border-radius: 20px; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(390px, calc(100vw - 40px)); padding: 13px 16px; border-radius: 12px; color: var(--white); background: var(--black); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.65); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast.error { background: var(--danger); }

.modal { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.58); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(100%, 440px); padding: 28px; border: 1px solid var(--border-soft); border-radius: 22px; background: var(--white); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7); }
.modal-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.035em; }
.modal-card > p { margin: 11px 0 0; color: var(--gray-500); font-size: 12px; line-height: 1.6; }
.modal-field { display: block; margin-top: 20px; }
.modal-field > span { display: block; margin-bottom: 7px; color: var(--gray-600); font-size: 10px; font-weight: 750; }
.modal-field textarea { width: 100%; resize: vertical; border: 1px solid var(--border); border-radius: 11px; outline: 0; padding: 11px 12px; color: var(--black); background: var(--white); font-size: 12px; }
.modal-field textarea:focus { border-color: var(--action); box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .analytics-hero { grid-template-columns: 1fr; }
  .health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .sidebar { width: min(84vw, 290px); transform: translateX(-105%); transition: transform 0.35s var(--ease); }
  body.menu-open .sidebar { transform: none; }
  .sidebar-scrim { position: fixed; z-index: 25; inset: 0; border: 0; background: rgba(0, 0, 0, 0.44); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  body.menu-open .sidebar-scrim { display: block; opacity: 1; pointer-events: auto; }
  .mobile-header { position: sticky; z-index: 20; top: 0; display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--border-soft); background: rgba(244, 244, 242, 0.9); backdrop-filter: blur(16px); }
  .mobile-header .icon-button:hover { background: var(--surface-dark); }
  .mobile-brand { font-size: 15px; font-weight: 850; letter-spacing: -0.03em; }
  .mobile-brand span { color: var(--action); }
  .main-content { margin-left: 0; padding: 28px 18px 50px; }
  .page-header { align-items: flex-start; }
  .page-actions { flex-direction: column-reverse; align-items: flex-end; }
}

@media (max-width: 620px) {
  .login-card { padding: 34px 25px; border-radius: 22px; }
  .page-header { display: block; }
  .page-actions { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 18px; }
  .metric-grid, .loading-grid, .health-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 128px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filter-select { width: 100%; }
  .analytics-platform-bar { display: block; }
  .platform-tabs { display: none; }
  .platform-mobile { display: block; }
  .analytics-totals { grid-template-columns: 1fr; }
  .panel-head { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  .panel-head-actions { width: 100%; }
  .data-table th, .data-table td { padding-right: 13px; padding-left: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
