:root {
  color-scheme: dark;
  --ink: #17140f;
  --paper: #eee5d1;
  --muted: #9f9685;
  --line: rgba(225, 207, 171, .14);
  --panel: rgba(38, 33, 26, .78);
  --brass: #c6a563;
  --teal: #60b7ae;
  --red: #c76d5e;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--paper); background: radial-gradient(circle at 78% -10%, rgba(93, 82, 55, .36), transparent 34rem), radial-gradient(circle at 3% 42%, rgba(32, 93, 88, .1), transparent 30rem), linear-gradient(145deg, #18150f, #100f0d 62%); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; min-height: 100vh; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }
main { position: relative; width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 64px; }
.masthead { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; padding: 0 2px 30px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--brass); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 700; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.04em; line-height: .96; }
h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.subtitle { color: var(--muted); margin: 15px 0 0; }
.header-actions, .toolbar, .legend, .token-row { display: flex; align-items: center; gap: 12px; }
.live-state { color: #b4ad9f; font-size: .78rem; }
.live-state i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--teal); box-shadow: 0 0 0 4px rgba(96,183,174,.1); }
button, input { font: inherit; }
button { color: var(--paper); cursor: pointer; }
.quiet-button { border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.025); padding: 9px 13px; }
button:hover, button:focus-visible { border-color: rgba(198,165,99,.65); outline: none; }
.login-panel { width: min(390px, calc(100% - 32px)); margin: 38vh auto 0; }
.login-panel form { text-align: left; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.token-row input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 4px; padding: 14px; color: var(--paper); background: rgba(0,0,0,.25); }
.token-row button { width: 48px; border: 1px solid var(--line); border-radius: 4px; padding: 13px; background: rgba(255,255,255,.035); color: var(--muted); font-weight: 700; }
.form-error { min-height: 1.3em; margin: 10px 0 0; color: #dd8d7f !important; font-size: .82rem; }
.toolbar { justify-content: space-between; margin: 28px 0 20px; }
.range-picker { display: flex; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.range-picker button { border: 0; border-right: 1px solid var(--line); padding: 9px 13px; background: transparent; color: var(--muted); }
.range-picker button:last-child { border-right: 0; }
.range-picker button.active { background: rgba(198,165,99,.15); color: #e9d6ad; }
.updated { flex: 1; color: #777063; font-size: .75rem; text-align: right; }
.notice { margin-bottom: 20px; padding: 12px 15px; border: 1px solid rgba(198,165,99,.3); background: rgba(198,165,99,.07); color: #d8c79f; border-radius: 5px; font-size: .85rem; }
.summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.summary-card, .panel { border: 1px solid var(--line); background: var(--panel); border-radius: 6px; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.summary-card { min-width: 0; min-height: 142px; padding: 21px; background: linear-gradient(145deg, rgba(46,40,31,.88), rgba(31,28,23,.78)); }
.summary-card p { margin: 0 0 16px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.summary-card strong { display: block; font: 2.25rem Georgia, serif; font-weight: 400; }
.summary-card span { display: block; margin-top: 9px; color: #817a6e; font-size: .77rem; }
.audience-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audience-card > div > span { margin: 0; }
.audience-card > div > span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.audience-card strong { font-size: 2rem; color: var(--paper); }
.audience-card small { display: block; margin-top: 7px; color: #817a6e; font-size: .7rem; }
.private-card strong { color: #b8b0a1; }
.coverage { margin: 14px 3px 0; }
.coverage-labels { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; color: #8c8476; font-size: .7rem; }
.coverage-labels > span { display: flex; align-items: center; gap: 7px; }
.coverage-labels > span:last-child { justify-content: flex-end; }
.coverage-labels strong { color: #bdb4a4; font-weight: 500; }
.coverage-labels i { width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.coverage-labels i.basic { background: #777064; }
.coverage-track { display: flex; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.05); }
.coverage-track i.opted { background: var(--teal); }
.coverage-track i.basic { background: #625d54; }
.privacy-note { margin: 8px 3px 0; color: #777063; font-size: .7rem; line-height: 1.45; }
.panel { padding: 24px; }
.chart-panel { margin-top: 14px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.legend { color: var(--muted); font-size: .72rem; }
.legend i { display: inline-block; width: 19px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--brass); }
.legend i.players { height: 2px; background: var(--teal); }
.chart { min-height: 260px; margin-top: 18px; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .grid line { stroke: rgba(225,207,171,.09); }
.chart .grid text, .axis-labels text { fill: #766f62; font: 10px system-ui, sans-serif; }
.chart .bars { fill: rgba(198,165,99,.38); }
.dau-line { fill: none; stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.points { fill: var(--teal); }
.split-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 14px; }
.geo-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(250px, .9fr); gap: 14px; margin-top: 14px; }
.access-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.table-wrap { overflow-x: auto; margin: 18px -4px 0; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th { color: #777063; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
th:not(:first-child), td:not(:first-child) { text-align: right; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 5px; }
.rate { display: inline-block; width: 48px; height: 3px; margin-right: 8px; background: rgba(255,255,255,.08); vertical-align: middle; }
.rate i, .bar i { display: block; height: 100%; background: var(--teal); }
.fine-print { color: #716a5e; font-size: .7rem; line-height: 1.5; margin: 16px 0 0; }
.panel-note { margin: 5px 0 0; color: #777063; font-size: .72rem; }
.time-display { padding: 37px 0 31px; text-align: center; }
.time-display strong { display: block; font: 3rem Georgia, serif; }
.time-display span { color: var(--muted); font-size: .78rem; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.mini-stats div { padding-top: 17px; text-align: center; }
.mini-stats div + div { border-left: 1px solid var(--line); }
.mini-stats strong, .mini-stats span { display: block; }
.mini-stats span { margin-top: 4px; color: #777063; font-size: .68rem; }
.breakdown { margin-top: 21px; }
.breakdown-row { margin: 0 0 14px; }
.breakdown-row > div:first-child { display: flex; justify-content: space-between; gap: 15px; color: #b9b1a2; font-size: .78rem; }
.breakdown-row strong { color: #ddd4c3; font-weight: 500; }
.bar { height: 3px; margin-top: 7px; background: rgba(255,255,255,.07); }
.bar i { background: var(--brass); }
.map-panel { min-width: 0; overflow: hidden; }
.map-scale { display: flex; align-items: center; gap: 4px; color: #777063; font-size: .64rem; }
.map-scale i { width: 13px; height: 7px; border-radius: 1px; background: rgba(96,183,174,.15); }
.map-scale i:nth-of-type(2) { background: rgba(96,183,174,.35); }
.map-scale i:nth-of-type(3) { background: rgba(96,183,174,.62); }
.map-scale i:nth-of-type(4) { background: rgba(96,183,174,.95); }
.world-map { position: relative; margin: 15px 0 8px; }
.world-map svg { display: block; width: 100%; height: auto; }
.map-country { fill: rgba(213,202,180,.085); stroke: rgba(15,14,12,.68); stroke-width: .65; vector-effect: non-scaling-stroke; transition: fill-opacity .16s ease, filter .16s ease; }
.map-country.has-visits { fill: var(--teal); fill-opacity: var(--intensity); }
.map-country.has-visits:hover { fill-opacity: 1; filter: drop-shadow(0 0 4px rgba(96,183,174,.5)); }
.map-country.has-visits:focus { fill-opacity: 1; outline: none; filter: drop-shadow(0 0 5px rgba(96,183,174,.7)); }
.map-tooltip { position: absolute; top: 0; left: 0; z-index: 2; min-width: 128px; max-width: 210px; padding: 9px 11px; border: 1px solid rgba(198,165,99,.32); border-radius: 4px; background: rgba(20,18,15,.96); box-shadow: 0 8px 24px rgba(0,0,0,.32); pointer-events: none; }
.map-tooltip strong, .map-tooltip span { display: block; }
.map-tooltip strong { color: var(--paper); font: .82rem Georgia, serif; font-weight: 400; }
.map-tooltip span { margin-top: 3px; color: #9f9685; font-size: .68rem; white-space: nowrap; }
.country-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); padding-top: 10px; }
.country-list > div { display: grid; grid-template-columns: 19px 1fr auto 35px; align-items: center; gap: 7px; min-width: 0; padding: 7px 0; border-bottom: 1px solid rgba(225,207,171,.07); font-size: .72rem; }
.country-list > div > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-list strong { font-weight: 500; }
.country-list small, .country-rank { color: #777063; text-align: right; }
.status-list, .error-list { margin-top: 22px; }
.status-list > div { display: grid; grid-template-columns: 10px 1fr auto 42px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .83rem; }
.status-list small { color: #777063; text-align: right; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-dot.accepted { background: var(--teal); }.status-dot.flagged { background: var(--brass); }.status-dot.rejected { background: var(--red); }
.error-total { color: var(--red); font: 2rem Georgia, serif; font-weight: 400; }
.error-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .75rem; line-height: 1.4; }
.error-list strong { color: var(--red); }
.error-list span { color: #aaa294; overflow-wrap: anywhere; }
.empty { color: #777063; text-align: center !important; padding: 28px 5px; }.empty.good { color: var(--teal); }
footer { position: relative; padding: 21px; border-top: 1px solid var(--line); color: #696357; text-align: center; font-size: .68rem; }
[hidden] { display: none !important; }
@media (max-width: 1180px) { .summary-grid { grid-template-columns: repeat(3, 1fr); }.summary-card:nth-child(4), .summary-card:nth-child(5) { grid-column: span 1; } }
@media (max-width: 900px) { .summary-grid { grid-template-columns: repeat(2, 1fr); }.geo-grid, .split-grid { grid-template-columns: 1fr; }.access-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } }
@media (max-width: 600px) {
  main { width: min(100% - 20px, 1320px); padding-top: 22px; padding-bottom: 42px; }
  .masthead { align-items: flex-start; padding-bottom: 22px; }
  .subtitle, .live-state { display: none; }
  .toolbar { align-items: stretch; flex-wrap: wrap; margin-top: 18px; }
  .updated { order: 3; flex-basis: 100%; text-align: left; }
  .range-picker { flex: 1 1 100%; }
  .range-picker button { flex: 1; min-width: 0; padding-inline: 6px; }
  .toolbar > .quiet-button { position: absolute; right: 0; margin-top: 49px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .summary-card { min-height: 122px; padding: 16px; }
  .summary-card p { min-height: 2.1em; margin-bottom: 11px; }
  .summary-card strong { font-size: 1.85rem; }
  .audience-card > div { gap: 9px; }
  .audience-card > div > span + span { padding-left: 9px; }
  .audience-card strong { font-size: 1.5rem; }
  .summary-card:last-child { grid-column: 1 / -1; min-height: 110px; }
  .coverage-labels { grid-template-columns: 1fr 1fr; }
  .coverage-labels strong { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .coverage-labels > span { grid-row: 2; }
  .login-panel { margin-top: 38vh; }
  .token-row { align-items: stretch; }
  .legend { display: none; }
  .panel { padding: 16px; }
  .chart { min-height: 0; margin-top: 10px; }
  .chart svg { width: 100%; }
  .access-stack { grid-template-columns: 1fr; }
  .country-list { grid-template-columns: 1fr; }
  .map-scale { display: none; }
  .world-map { margin-inline: -8px; }
  .header-actions { flex-direction: column; align-items: flex-end; }
  .time-display { padding-block: 27px 24px; }
}
@media (max-width: 370px) { .summary-grid { grid-template-columns: 1fr; }.summary-card:last-child { grid-column: auto; }.summary-card p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .map-country { transition: none; } }
