/* Clubhouse foundations for information pages. Keep legacy game tokens intact. */
:root {
    --tw-page: #f0f6fc;
    --tw-surface: #ffffff;
    --tw-surface-soft: #eaf4fc;
    --tw-text: #112e48;
    --tw-muted: #516a83;
    --tw-accent: #097eae;
    --tw-border: rgba(79, 133, 182, .24);
    --tw-shadow: 0 8px 24px rgba(21, 60, 100, .07);
    --tw-radius-card: 18px;
    --tw-radius-control: 12px;
    --tw-space: 16px;
    --tw-nav-bg: rgba(255, 255, 255, .98);
    --tw-nav-active: #e0f3ff;
    --tw-nav-height: 70px;
}
[data-theme="dark"] {
    --tw-page: #071526;
    --tw-surface: #122a43;
    --tw-surface-soft: #0d2138;
    --tw-text: #f3f9ff;
    --tw-muted: #bdd1e4;
    --tw-accent: #85def8;
    --tw-border: rgba(148, 210, 254, .25);
    --tw-shadow: 0 8px 26px rgba(0, 0, 0, .22);
    --tw-nav-bg: rgba(7, 21, 38, .98);
    --tw-nav-active: #163f5c;
}
/* Reusable primitives; future information pages can opt in without global resets. */
.tw-shell { width: min(100%, 792px); margin-inline: auto; }
.tw-panel { background: var(--tw-surface); color: var(--tw-text); border: 1px solid var(--tw-border); border-radius: var(--tw-radius-card); box-shadow: var(--tw-shadow); }
.tw-control { min-height: 44px; background: var(--tw-surface); color: var(--tw-text); border: 1px solid var(--tw-border); border-radius: var(--tw-radius-control); font: inherit; }
.tw-section-heading { color: var(--tw-text); font-size: clamp(21px, 4vw, 27px); font-weight: 800; letter-spacing: -.025em; }
.tw-record-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tw-control:focus-visible, .tw-panel[role="button"]:focus-visible { outline: 3px solid var(--tw-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tw-panel, .tw-control { transition: none !important; } }
