:root{color-scheme:light;--green:#173d31;--green-deep:#102b23;--green-soft:#e7eee8;--green-bright:#3c7356;--cream:#f6f4ec;--paper:#fffef8;--gold:#b68d43;--gold-light:#eedbb0;--ink:#23362c;--muted:#738075;--line:#e2e5da;--red:#9b483e;--radius:20px;font-family:"Noto Sans Thai",Tahoma,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--cream);font-size:15px;line-height:1.65}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button:disabled:focus-visible{outline:0}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35}h1{font-size:clamp(25px,2.5vw,34px);font-weight:700;letter-spacing:-.7px}h2{font-size:21px;font-weight:700}h3{font-size:16px}.skip-link{position:fixed;top:10px;left:10px;z-index:10;background:var(--paper);padding:10px 16px;border-radius:10px;transform:translateY(-200%)}.skip-link:focus{transform:none}.brand{display:flex;align-items:center;gap:11px}.brand img{border-radius:50%;object-fit:cover;background:#fff;border:2px solid rgba(255,255,255,.2)}.brand span{display:flex;flex-direction:column;line-height:1.35}.brand strong{font-size:20px}.brand small{font-size:9px;letter-spacing:2.3px;margin-top:6px;opacity:.65}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--green-bright);margin-bottom:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:11px;min-height:43px;padding:10px 17px;font-size:13px;font-weight:700;transition:background .16s,transform .16s}.button:active{transform:translateY(1px)}.button-primary{background:var(--green);color:white}.button-primary:hover:not(:disabled){background:var(--green-deep)}.button-secondary{background:var(--paper);border-color:var(--line);color:var(--green)}.button-secondary:hover{background:var(--green-soft)}.text-button{border:0;background:none;padding:4px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px;color:var(--green-bright)}.small-note{font-size:11px;color:var(--muted)}.auth-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px 24px;background:radial-gradient(ellipse at 75% 10%,rgba(182,141,67,.12),transparent 50%),var(--cream)}.auth-brand{color:var(--green);margin-bottom:26px}.auth-card{width:min(100%,470px);padding:38px 38px 30px;background:var(--paper);border:1px solid var(--line);border-radius:25px;box-shadow:0 16px 70px rgba(23,61,49,.055);text-align:center}.auth-card h1{font-size:32px;line-height:1.5;margin-top:10px}.auth-intro{font-size:13px;color:var(--muted);line-height:1.9;margin:13px 0 19px}.auth-topics{display:flex;gap:7px;justify-content:center}.auth-topics span{padding:3px 12px;border-radius:30px;background:var(--green-soft);color:var(--green-bright);font-size:11px}.auth-status{font-size:13px;line-height:1.8;margin-top:25px;padding:13px 14px;border-radius:11px;background:var(--cream);color:var(--muted)}.auth-status.is-error{color:var(--red);background:#f9eee8}.signin-actions{display:flex;flex-direction:column;gap:11px;margin-top:18px}.signin-actions .button{min-height:48px}.google-mark{font-family:Arial,sans-serif;font-weight:700;font-size:19px}.auth-account{font-size:11px;color:var(--muted);margin:5px 0}.auth-account strong{font-weight:400;color:var(--green)}#firebase-status{margin-top:18px}.back-link{font-size:12px;color:var(--muted);margin-top:23px}.noscript-note{text-align:center;margin:20px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;display:flex;flex-direction:column;background:var(--green);color:#e9eee6;padding:31px 22px 22px;z-index:2}.sidebar .brand strong{font-size:18px}.sidebar .brand small{font-size:8px;letter-spacing:1.8px}.sidebar-label{font-size:10px;color:#9db5a5;letter-spacing:1px;margin:46px 13px 14px}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;font-size:12px;color:#b7c9bc}.side-nav a span{font-size:19px;font-family:Arial,sans-serif;width:21px;text-align:center}.side-nav a:hover{background:rgba(255,255,255,.05);color:white}.side-nav a.active{background:#2b5040;color:#f1e3be;border:1px solid #456247}.sidebar-bottom{margin-top:auto;padding-top:24px}.owner-badge{display:flex;gap:9px;align-items:center;padding:15px 3px;border-top:1px solid #3b5a48}.owner-dot{height:7px;width:7px;border-radius:50%;background:var(--gold-light);flex-shrink:0}.owner-badge div{min-width:0}.owner-badge strong{display:block;font-size:11px;font-weight:500}.owner-badge small{display:block;font-size:10px;color:#a9bfae;overflow-wrap:anywhere;margin-top:3px}.site-link{display:flex;justify-content:space-between;align-items:center;color:#d5dfd2;font-size:11px;padding:10px 3px}.signout-button{color:#a9bfae;background:none;border:0;font-size:11px;padding:9px 3px}.signout-button:hover{color:white}.main{margin-left:236px;max-width:1700px;padding:35px 40px 0;min-height:100svh}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-header .eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:9px}.page-subtitle{font-size:12px;color:var(--muted);margin-top:9px}.refresh-area{display:flex;align-items:center;gap:16px;flex-shrink:0}.connection-status{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;white-space:nowrap}.status-dot{width:6px;height:6px;background:#a3aaa0;border-radius:50%}.connection-status.is-live .status-dot{background:#5b885e;box-shadow:0 0 0 4px #e3ecdd}.connection-status.is-stale .status-dot{background:var(--gold)}.connection-status.is-error .status-dot{background:var(--red)}.button-refresh{background:var(--paper);color:var(--green);border-color:var(--line);font-size:12px;padding:8px 13px;min-height:39px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 21px;padding-bottom:21px;border-bottom:1px solid var(--line)}.period-picker{display:flex;gap:3px;padding:4px;background:#e8ebe1;border-radius:12px}.period-picker button{border:0;background:transparent;padding:7px 19px;color:var(--muted);border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}.period-picker button[aria-pressed=true]{background:var(--paper);color:var(--green);box-shadow:0 2px 6px rgba(30,50,30,.05)}.period-caption{text-align:right;font-size:11px;color:var(--green)}.period-caption small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.loading-state{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:15px 0}.spinner{width:14px;height:14px;border:2px solid #dce3d6;border-top-color:var(--green-bright);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-state{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#faeee5;border:1px solid #ebd5c6;padding:17px 20px;border-radius:14px;margin-bottom:20px;color:var(--red)}.error-state strong{font-size:13px}.error-state p{font-size:12px;margin-top:4px}.error-state .button{flex-shrink:0}.tracking-note{display:flex;align-items:center;gap:12px;padding:14px 17px;background:#eceee3;border-radius:12px;margin-bottom:22px}.tracking-icon{width:29px;height:29px;display:grid;place-items:center;font-family:Arial,sans-serif;font-size:20px;color:var(--gold);background:var(--paper);border-radius:9px;flex-shrink:0}.tracking-note p{font-size:10px;color:var(--muted);line-height:1.75}.tracking-note strong{display:block;font-size:11px;font-weight:500;color:var(--green)}.tracking-note p span{display:block}.updated-at{margin-left:auto;color:var(--muted);font-size:9px;text-align:right;flex-shrink:0}.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.metric-card{padding:20px 21px 17px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.metric-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-heading h2{font-size:12px;color:#6b7b6d;font-weight:400}.metric-heading>span{font-family:Arial,sans-serif;font-size:18px;color:var(--gold)}.metric-value{font-size:35px;line-height:1.25;letter-spacing:-1px;font-weight:700;margin:14px 0 8px;color:var(--green);font-variant-numeric:tabular-nums}.metric-value.is-missing{color:#b3bbb0}.metric-note{font-size:9px;color:#8a9385;line-height:1.6}.counting-note{display:flex;gap:7px;align-items:flex-start;color:var(--muted);font-size:10px;margin:15px 2px 24px}.counting-note>span{color:var(--gold);font-family:Arial,sans-serif;font-size:13px;line-height:1.5}.overview-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(225px,1fr);gap:17px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:24px 24px 8px}.panel-heading h2{font-size:18px}.panel-heading .eyebrow{font-size:9px;margin-bottom:5px}.chart-legend{display:flex;gap:12px;font-size:9px;color:var(--muted);flex-wrap:wrap}.chart-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%}.views-dot{background:var(--green-bright)}.visitors-dot{background:var(--gold)}.chart-wrap{padding:12px 15px 9px;min-height:230px}.chart-wrap svg{display:block;width:100%;height:auto;overflow:visible}.chart-wrap svg text,.game-bars svg text{font-family:inherit;font-size:10px;fill:var(--muted)}.chart-axis{stroke:#e6e9df;stroke-width:1}.chart-line{fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-label{fill:var(--muted)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:230px;padding:28px 20px;color:var(--muted)}.empty-state>span{font-family:Arial,sans-serif;font-size:36px;line-height:1;margin-bottom:14px;color:#aab7a2}.empty-state strong{font-size:12px;color:#7a8976;font-weight:400}.empty-state p{font-size:10px;margin-top:6px}.compact{min-height:170px}.membership-panel{padding-bottom:23px;background:linear-gradient(135deg,#fffef8,#f3f4e8)}.membership-symbol{width:34px;height:34px;background:#ececd9;display:grid;place-items:center;color:var(--gold);border-radius:11px;font-size:22px}.member-count{font-size:51px;font-weight:700;line-height:1.2;letter-spacing:-1.5px;color:var(--green);margin:23px 25px 10px;font-variant-numeric:tabular-nums}.data-status{display:inline-block;font-size:9px;color:#887d5c;background:#eee8d7;border-radius:20px;padding:3px 10px;margin:0 25px}.data-status.is-available{color:var(--green-bright);background:#e3ecdc}.data-status.is-error{color:var(--red);background:#f1e1d8}.member-source{font-size:11px;line-height:1.8;color:var(--green);margin:15px 25px 0}.membership-note{font-size:9px;line-height:1.85;color:var(--muted);margin:10px 25px 0}.membership-panel .small-note{font-size:9px;margin:16px 25px 0}.section-block{margin-top:28px;scroll-margin-top:25px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:14px}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:9px}.section-caption{font-size:10px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.game-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px}.game-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}.game-brand{display:flex;align-items:center;gap:11px}.game-icon{width:37px;height:37px;display:grid;place-items:center;background:#ecebd8;color:var(--gold);border-radius:12px;font-family:Arial,sans-serif;font-size:24px}.game-card h3{font-size:16px}.game-card .data-status{margin:0;font-size:8px;white-space:nowrap;flex-shrink:0}.game-stats{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;margin:19px 0 0}.game-stats div{min-width:0}.game-stats dt{font-size:10px;color:var(--muted);line-height:1.5}.game-stats dd{font-size:25px;line-height:1.35;font-weight:700;margin:6px 0 0;color:var(--green);font-variant-numeric:tabular-nums}.game-stats dd.is-missing{color:#afb8a9}.games-chart-panel{margin-top:16px;padding-bottom:16px}.games-chart-panel .panel-heading{padding-bottom:0}.games-chart-panel h3{font-size:13px}.game-bars{padding:10px 24px 2px}.game-bars svg{width:100%;height:auto;display:block}.game-bars svg .bar-value{fill:var(--green);font-size:12px;font-weight:700}.inline-empty{padding:22px 24px 8px;color:var(--muted);font-size:11px}.table-wrap{overflow-x:auto;padding:12px 24px 8px}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{padding:11px 0;border-bottom:1px solid var(--line);font-size:10px;font-weight:400;color:var(--muted)}td{padding:14px 0;border-bottom:1px solid #edf0e6;vertical-align:middle}tbody tr:last-child td{border-bottom:0}.rank-column{width:60px}td.rank-column{color:var(--gold);font-size:11px}.number-column{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:20px}td.number-column{font-size:14px;font-weight:700;color:var(--green)}.page-name{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.page-path{display:block;font-size:10px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere;direction:ltr}.coverage-panel{background:#eaece1;border:1px solid #dde2d3;border-radius:var(--radius);padding:24px}.coverage-panel h2{font-size:18px}.coverage-panel ul{margin:16px 0 0;padding-left:18px;font-size:11px;color:#65755e;line-height:1.9}.coverage-panel li+li{margin-top:6px}.coverage-panel li::marker{color:var(--gold)}.coverage-footnote{font-size:10px;color:#7f8975;margin-top:18px;padding-top:15px;border-top:1px solid #d9dfcd;line-height:1.8}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:27px 0 24px;color:#929b88;font-size:9px}.page-footer a{color:var(--green-bright)}
@media(min-width:1500px){.metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.metric-card{padding:20px 17px}.metric-value{font-size:32px}}
@media(max-width:1150px){.main{padding:28px 26px 0;margin-left:210px}.sidebar{width:210px;padding:27px 17px 20px}.sidebar .brand img{width:42px;height:42px}.sidebar .brand strong{font-size:16px}.sidebar .brand small{font-size:7px}.refresh-area{gap:10px}.overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(205px,1fr)}.panel-heading{padding:21px 20px 8px}.panel-heading h2{font-size:16px}.chart-legend{gap:6px;flex-direction:column}.game-card{padding:19px}.game-card-header{align-items:flex-start;flex-direction:column;gap:10px}.game-card .data-status{margin-left:48px}.metric-card{padding:19px}.metric-value{font-size:32px}.updated-at{max-width:130px}}
@media(max-width:900px){.sidebar{position:static;inset:auto;width:auto;padding:15px 24px;display:flex;flex-direction:row;align-items:center;gap:20px}.sidebar .brand{flex-shrink:0}.sidebar .brand img{width:38px;height:38px}.sidebar .brand small{margin-top:3px}.sidebar-label,.side-nav{display:none}.sidebar-bottom{margin:0 0 0 auto;padding:0;display:flex;align-items:center;gap:15px}.owner-badge{padding:0;border:0;gap:7px}.owner-badge strong{font-size:10px}.owner-badge small{font-size:9px;max-width:130px}.site-link{display:none}.signout-button{font-size:10px;white-space:nowrap}.main{margin-left:0;padding:29px 26px 0}.page-header h1{font-size:29px}.chart-legend{flex-direction:row}.game-card-header{flex-direction:row;align-items:center}.game-card .data-status{margin:0}.overview-grid{grid-template-columns:minmax(0,2fr) minmax(215px,1fr)}}
@media(max-width:650px){body{font-size:14px}.sidebar{padding:13px 18px;gap:12px}.sidebar .brand strong{font-size:15px}.sidebar .brand small{font-size:7px}.owner-badge{display:none}.sidebar-bottom{gap:0}.signout-button{border:1px solid #4a6856;border-radius:8px;padding:6px 10px}.main{padding:25px 17px 0}.page-header{align-items:flex-start;gap:12px}.page-header h1{font-size:25px}.page-header .eyebrow{font-size:8px;letter-spacing:1px}.page-subtitle{font-size:10px;margin-top:7px}.refresh-area{flex-direction:column-reverse;align-items:flex-end;gap:8px;padding-top:1px}.button-refresh{padding:7px 11px;font-size:11px;min-height:35px}.connection-status{font-size:9px}.status-dot{height:5px;width:5px}.toolbar{align-items:flex-start;flex-direction:column;gap:13px;margin:23px 0 18px;padding-bottom:18px}.period-picker{align-self:stretch;justify-content:space-between}.period-picker button{flex:1;padding:8px 15px}.period-caption{text-align:left;font-size:10px;display:flex;flex-direction:column;gap:0}.period-caption small{font-size:8px}.tracking-note{align-items:flex-start;gap:9px;padding:12px;margin-bottom:16px;flex-wrap:wrap}.tracking-note p{flex:1;min-width:0;font-size:9px}.tracking-note strong{font-size:10px}.tracking-icon{width:25px;height:25px;font-size:17px;border-radius:7px}.updated-at{margin-left:34px;max-width:none;width:100%;font-size:8px;text-align:left}.metrics-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{padding:15px;border-radius:15px}.metric-heading h2{font-size:11px}.metric-heading>span{font-size:16px}.metric-value{font-size:30px;margin:13px 0 6px}.metric-note{font-size:8px}.counting-note{font-size:9px;line-height:1.85;margin:13px 1px 20px}.overview-grid{grid-template-columns:1fr;gap:15px}.panel{border-radius:16px}.panel-heading{padding:20px 19px 8px}.panel-heading h2{font-size:17px}.chart-legend{font-size:8px;gap:8px}.chart-wrap{padding:12px 10px 6px;min-height:210px}.membership-panel{position:relative;padding-bottom:19px}.membership-panel .panel-heading{padding-bottom:0}.member-count{font-size:43px;margin:16px 20px 9px}.member-source{margin:13px 20px 0;font-size:10px}.membership-note{margin:9px 20px 0;font-size:9px}.membership-panel .small-note{margin:12px 20px 0}.membership-panel .data-status{margin-left:20px}.section-block{margin-top:23px}.section-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:12px}.section-heading h2{font-size:20px}.section-caption{font-size:9px}.game-grid{grid-template-columns:1fr;gap:12px}.game-card{padding:19px;border-radius:16px}.game-card h3{font-size:16px}.game-card-header{flex-direction:row;align-items:center}.game-card .data-status{margin:0}.game-stats{margin-top:17px;gap:19px 14px}.game-stats dt{font-size:10px}.game-stats dd{font-size:27px}.game-bars{padding:13px 17px 0}.game-bars svg text{font-size:11px}.games-chart-panel .small-note{font-size:8px}.table-wrap{padding:10px 18px 6px}.rank-column{width:43px}.page-name{font-size:11px}.page-path{font-size:9px}td.number-column{font-size:13px}.coverage-panel{padding:20px;border-radius:16px}.coverage-panel ul{font-size:10px}.coverage-footnote{font-size:9px}.page-footer{font-size:8px;padding:23px 0 20px}.error-state{align-items:flex-start;flex-direction:column;gap:13px;padding:16px}.auth-screen{padding:28px 17px}.auth-card{padding:29px 24px 25px}.auth-card h1{font-size:29px}.auth-intro{font-size:12px}.auth-brand{margin-bottom:22px}.auth-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation:none}.button{transition:none}}
.guest-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;margin-bottom:14px;border:1px solid var(--line);border-radius:12px;background:#eeeee1;color:var(--green);font-size:11px}.guest-summary strong{font-size:20px;font-variant-numeric:tabular-nums;margin:0 6px}.guest-summary small{font-size:9px;color:var(--muted)}@media(max-width:650px){.guest-summary{align-items:flex-start;flex-direction:column;gap:4px;padding:12px 15px;font-size:10px}.guest-summary small{font-size:8px}}
