/* ===== UI refresh (2026-11): game-style numerals, brighter labels, calmer chrome =====
   Loaded last so it only adjusts the existing look. Oxanium: SIL Open Font License 1.1. */
@font-face{font-family:"Journey Num";src:url(oxanium-600.woff2) format("woff2");font-weight:500 650;font-display:swap;unicode-range:U+0020-007E,U+00B7,U+2192,U+2190,U+00D7}
@font-face{font-family:"Journey Num";src:url(oxanium-800.woff2) format("woff2");font-weight:700 900;font-display:swap;unicode-range:U+0020-007E,U+00B7,U+2192,U+2190,U+00D7}
:root{
 --muted:#b2c3b6;
 --ui-cn:"PingFang SC","HarmonyOS Sans SC","MiSans","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
 --ui-num:"Journey Num","Segoe UI",var(--ui-cn);
 --ui-label:#c3d2c5;
 --ui-gold:#f7d892;
}
body{font-family:"Segoe UI",var(--ui-cn);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ---------- Numbers: one game-style face everywhere money, BTC, rounds and timers appear ---------- */
.home-motto,.sat-nav-amount,.round-chip strong,.turn-clock,.race-goal,.center-price,.price-stage strong,
.seat-holding-line strong,.seat-cash strong,.seat-worth strong,.seat-month-income strong,.seat-month-expense strong,.seat-flow strong,.seat-debt b,
.room-code-block b,.network-hud b,.lobby-count,.lobby-room-bar b,
.ts-sats,.ts-xp,.ts-summary strong,.ts-balance,.sat-wallet-amount,.achievement-progress b,.ts-task-progress b,
.metric-value,.ad-metric strong{font-family:var(--ui-num);font-variant-numeric:tabular-nums;letter-spacing:.01em}
.home-motto{letter-spacing:.02em;text-shadow:0 2px 0 #7a4d1a,0 10px 30px #f2b45a40}
.center-price{text-shadow:0 2px 14px #f5c46a33}
.turn-clock{letter-spacing:.06em}
.round-chip strong{font-size:26px;line-height:1}
.seat-holding-line strong{letter-spacing:.02em}

/* ---------- Top bar: drop the version badge, brighter nav, no underlines ---------- */
.topbar .edition{display:none!important}
.topbar nav a,.topbar nav button.quiet{color:#dbe5d8;text-decoration:none!important;font-weight:700;letter-spacing:.03em}
.topbar nav a:hover,.topbar nav button.quiet:hover{color:var(--ui-gold)}
.topbar .rewards-nav-text{text-decoration:none!important}
.brand small{color:#c8b88f;letter-spacing:.28em}

/* ---------- Home ---------- */
.home-description{font-size:15px!important;color:#c9d6c8!important;letter-spacing:.06em}
.eyebrow,.account-kicker{font-size:12px!important;letter-spacing:.22em!important}
.site-footer-motto,.site-footer-note{color:#b3c3b4!important}

/* ---------- Seat cards: tiny 8-10px labels become readable (needs the same specificity as seat-polish.css) ---------- */
html body .game-table .seat-card .seat-finances span,html body .game-table .seat-card .seat-holding-caption span,html body .game-table .seat-card .seat-holding-caption b,
html body .game-table .seat-card .seat-cost,html body .game-table .seat-card .seat-debt span,html body .game-table .seat-card .seat-header .seat-name small{color:var(--ui-label)!important;letter-spacing:.02em}
@media (min-width:901px){
 html body .game-table .seat-card .seat-finances span,html body .game-table .seat-card .seat-holding-caption span,html body .game-table .seat-card .seat-holding-caption b,
 html body .game-table .seat-card .seat-cost,html body .game-table .seat-card .seat-debt span,html body .game-table .seat-card .seat-header .seat-name small{font-size:11.5px!important}
 html body .game-table .seat-card .seat-finances .seat-cash strong,html body .game-table .seat-card .seat-finances .seat-worth strong{font-size:15px!important}
 html body .game-table .seat-card .seat-finances strong{font-size:14px!important}
 html body .game-table .seat-card .seat-status-row button{font-size:12px!important}
 html body .game-table .turn-bar small,html body .game-table .center-price-label,html body .game-table .center-change span{font-size:12.5px!important;color:#c6d4c5!important}
}
@media (max-width:900px){
 html body .game-table .seat-card .seat-finances span,html body .game-table .seat-card .seat-holding-caption span,html body .game-table .seat-card .seat-header .seat-name small{font-size:10.5px!important}
}

/* ---------- Room bar: hide the routine "已连接" text, keep the warnings ---------- */
#networkStatus:empty{display:none}
.lobby-room-bar .room-code-block span{font-size:12px;color:var(--ui-label)}

/* ---------- During a room / game the site footer only takes space ---------- */
body:has(.game-table) #siteFooter,body:has(.lobby-room-bar) #siteFooter{display:none!important}

/* ---------- Unified 全屏 toggle: always the right-most item of the top bar / panel header ---------- */
#tgExitFull,#tgFullToggle{display:none!important}
.in-telegram #mobileFullscreen{display:none!important}
.topbar .tg-full-toggle{order:99;white-space:nowrap;display:inline-flex;align-items:center;gap:5px;padding:7px 12px!important;border:1px solid #d9b46a66!important;border-radius:10px;background:#d9b46a1a!important;color:var(--ui-gold)!important;font-weight:700}
.center-bar .tg-full-toggle{margin-left:auto;white-space:nowrap}
.center-bar nav{margin:0 auto}
@media (min-width:901px){
 html body .game-table .center-price{font-size:40px!important;line-height:1.1}
 html body .game-table .race-goal{font-size:20px!important}
 html body .game-table .seat-card .seat-cost{font-size:11.5px!important}
}
