/* Admin-selected interface theme. Artwork, playing surfaces and broadcast views retain their colours. */
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--bg:#0a1323;--paper:#15243b;--ink:#eef3fc;--muted:#b1bfd3;--line:#344862;--green:#3568d4;--lime:#ffad91;--pale:#203653;--navy:#0b172b;--blue:#89b4ff;--coral:#ff997f;background:var(--bg);color:var(--ink)}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] :is(h1,h2,h3){color:var(--ink)}
html[data-theme="dark"] :is(.panel,.arena-card,.match-card,.player-card,.ranking-board,.profile-editor){background:var(--paper);border-color:var(--line)}
html[data-theme="dark"] :is(.muted,.lede,small,.resign){color:var(--muted)}
html[data-theme="dark"] :is(input,textarea,select){background:#0c1a2e;color:var(--ink);border-color:#4b6382}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9cacc4;opacity:1}
html[data-theme="dark"] :is(input,textarea,select):focus{outline-color:#a6c6ff}
html[data-theme="dark"] :is(.button.secondary,.secondary,.ghost){background:#203653;color:#eef3fc;border-color:#506a8e}
html[data-theme="dark"] .button:not(.secondary):not(.ghost){color:white}
html[data-theme="dark"] :is(.feature-bar,.notice,.page-notice,.legal-summary,.captcha-box,.empty,.avatar-upload-card,.archive-payload){background:#1b3150;color:#e4edfb;border-color:#4f6d95}
html[data-theme="dark"] .feature-bar{color:#dceaff}
html[data-theme="dark"] .benefit-grid article>span{background:#25456e;color:#b8d1ff}
html[data-theme="dark"] :is(.social-links a,.profile-cover .social-links a){background:#263f61;color:#edf4ff;border-color:#55739a}
html[data-theme="dark"] .table-chat .chat-history{background:#0e1c30;border-color:#3d5678;color:var(--ink)}
html[data-theme="dark"] .table-chat .chat-history article{border-color:#3d5678}
html[data-theme="dark"] :is(.site-footer,.site-footer a,.avatar-preview-caption){color:#b3c8e5}
html[data-theme="dark"] .site-footer .footer-credit a{color:#99bdff}
html[data-theme="dark"] .profile-cover{border-color:var(--line)}
html[data-theme="dark"] :is(.eyebrow,.auth-layout .eyebrow){color:#ffad96}
html[data-theme="dark"] .auth-piece{color:#99bdff}
html[data-theme="dark"] .timing-meter{background:#304866}
html[data-theme="dark"] .tag{border-color:#58759c}
html[data-theme="dark"] .lesson-nav a[aria-current=page]{background:#315da2;color:white}
html[data-theme="dark"] .stream-banner .button{background:#ff8d73;color:#101f34}
html[data-theme="dark"] .tikninja-promo .button{background:#e4223b;color:white}
html[data-theme="dark"] :is(.tikninja-promo,.stream-banner,.domino-table,.darts-scoreline) :is(h2,h3,p,small){color:inherit}
html[data-theme="dark"] .tikninja-promo-copy>p:not(.eyebrow){color:#d6dbea}
html[data-theme="dark"] body.maintenance{background:radial-gradient(ellipse at top right,#21477e,#0d1c34 65%)}
html[data-theme="dark"] .hero h1 em{color:#91b9ff}
html[data-theme="dark"] header .account .button:not(.secondary):not(.ghost){color:#15283f}
html[data-theme="dark"] :is(.stat-number,.rating-line,.result-counts,.status.live,.auth-form a,.empty-icon,.create-card>span){color:#a6c8ff}
html[data-theme="dark"] .arena-card .tag{background:#203653;color:#dbeaff;border-color:#58759c}
