/* 夜色主題（深藍＋金）試作：配合封面的深色夜空。邊框圖在 assets/theme-night/（tools/recolor-theme.mjs 產生，原圖不動）。
   面板、卡片、分頁是深藍底＋金邊＋淺色字；主要按鈕、選中的分頁是金色底＋深色字。房間場景、怪獸、對戰場地不變。 */
body{background:#0e1230}
main{background:linear-gradient(#1b2250,#121738)}
@media(min-width:520px){main{border-color:#c9a64a;box-shadow:0 10px 0 #070a1c}}
/* 金色底上的字要深色 */
.tab[aria-pressed="true"],.avatar-pick[aria-pressed="true"],.avatar-option[aria-pressed="true"],
.cl-tab[aria-selected="true"],.cl-item[aria-pressed="true"],.cl-item[data-trying],.fr-tab[aria-selected="true"],
.confirm,.confirm *{color:#1b1430!important}
/* 一般文字與次要文字 */
main{color:#eef2ff}
main small{color:#b9c4e6}
.hud-announce,.evo-hint,.lean,.species{color:#ffe9a8}
/* 還沒看過／還沒開放的剪影：深底上改成淡色剪影 */
.dex-cell[data-unknown="true"] .dex-thumb,.rival-pick:disabled .rival-thumb{filter:brightness(0) invert(1);opacity:.22}
.dex-cell[data-unknown="true"] strong{color:#8f9ac0}
.rival-round-label small{color:#c9d2f0}
.rival-round-badge[data-locked="true"]{filter:grayscale(1) brightness(1.6);opacity:.45}
/* 原本是奶油色底的小框（提示卡、維護中、VS 名牌、路線標籤）：改成深藍底＋金邊，字維持淺色 */
.tip-card,.maintenance-card,.vs-name,.lean span{background:#1f2a5c;border-color:#d9b65a;color:#eef2ff}
/* 輸入框保留淺色底、深色字，比較好打字 */
.fr-add input,.name-card input,.save-dialog textarea{color:#1b1430}
.paths li{background:#2a3570;border-color:#d9b65a;color:#eef2ff}
/* 登入頁 */
#auth-flow{background:#1b2250;border-color:#d9b65a}
#auth-flow .lead,#auth-flow .consent,#auth-flow .ghost{color:#ffe9a8}
#auth-flow .panel{background:#26306a;color:#eef2ff;border-color:#d9b65a}
#auth-flow .hint,#auth-flow .footer-note{color:#b9c4e6}
#auth-flow .auth-confirm{background:#e2b445;color:#1b1430}
#auth-flow .back{background:#2a3570;color:#eef2ff;border-color:#d9b65a}
#auth-flow .footer-links a,.help-legal a{color:#ffd76a}
#auth-flow .badge{background:#2a3570;color:#eef2ff;border-color:#d9b65a}
#auth-flow input[type="text"],#auth-flow input:not([type]){color:#1b1430}
