/* Black / electric blue. Loaded after layout styles on the home and Khammini. */
:root{color-scheme:dark;--bg:#090b10;--surface:#12161f;--surface2:#1a2130;--line:#293143;--text:#f3f6fc;--muted:#a3adbf;--teal:#87acff;--purple:#87acff;--gold:#9cc8ff;--pink:#ff9bae;--orange:#315cf5;--soft:#151e33}
body{color:var(--text);background:var(--bg)}a{color:#93b4ff}::selection{color:#fff;background:#274fc2}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.home-menu summary:focus-visible,.difficulty-choice input:focus-visible+span{outline-color:#9bc5ff}
.brand,.brand b{color:#f3f6fc}.brand small,.top-note{color:#929eb3}.mark i,.mark i:nth-child(2){background:#4a77ff}.top-note:before{background:#303b50}.top-nav a,.top-nav button,.top>.pill{color:#c4cee0;border-color:#303b50}.top-nav a:hover,.top-nav button:hover{color:#8eb4ff}
.intro-head .kicker,.intro-head p,.hero-stats,.section-heading p,.step-label,.category small,.selected-category small,.difficulty-summary,.setup-tip,.how-strip span,.closing-note,.ready-note,.room-head p,.secret-stage p,.answer-mini small,.credit-page p,.mobile-continue small{color:#a3adbf}
.intro-head h1,.setup h2,.category b,.selected-category b,.field,.settings-panel .field,.difficulty-field legend,.two-fields label,.secret-answer,.player b,.answer-mini b,.mobile-continue b{color:#f2f5fc}
.intro-head h1 em,.hero-stats b,.stat-icon,.room-head h1,.room-code,.shield,.big-count,.summary-row b,.result-head .result-symbol{color:#8aafff}
.hero-stats>span{border-color:#2a3244}.hero-fan:before{background:radial-gradient(ellipse,#315cf520,transparent 70%)}.fan-card{background:#171e2c;border-color:#39455e;box-shadow:0 14px 24px #0005}.fan-2{border-color:#6383d4}
.category-total,.difficulty-badge{background:#172746;color:#a2bdff;border-color:#2b426b}.filter{background:#181d28;color:#b9c3d6;border-color:#242d3d}.filter:hover{background:#202e48;color:#d5e3ff}.filter.active,.tab.active{background:#315cf5;color:#fff;border-color:#315cf5}
.category{background:#12161f;color:#f3f6fc;border-color:#293143;box-shadow:0 2px 6px #0002}.category:hover{border-color:#597ccb;box-shadow:0 8px 22px #0003}.category.active{background:#17233b;border-color:#6b92ff;box-shadow:0 0 0 2px #6b92ff}.category.active:after{background:#315cf5;border-color:#d9e4ff;color:#fff}.category-art{background:#171f30}
.settings-panel,.join-panel,.lobby-panel,.score,.answer-mini,.summary-list{background:#12161f;border-color:#293143;box-shadow:0 10px 30px #0002}.tabs{background:#0a0e16;border-color:#262e3d}.tab{color:#aab6cc}
input,select{background:#0d111a;color:#eef3ff;border-color:#354056}input::placeholder{color:#8f9cb3}input:hover,select:hover{border-color:#5c7bc0}.selected-category{background:#171d29;border-color:#2b3548}
.difficulty-choice span{background:#161c27;border-color:#323c50}.difficulty-choice b{color:#c0cadd}.difficulty-choice span:before{border-color:#7e8ba4}.difficulty-choice input:checked+span{background:#192c50;border-color:#779dff}.difficulty-choice input:checked+span:before{border-color:#79a0ff;background:#0d111a}.difficulty-choice input:checked+span b{color:#d4e2ff}
.btn,button.btn,a.btn{background:#315cf5;border-color:#315cf5;color:#fff}.btn:hover,button.btn:hover,a.btn:hover{background:#2449d1;border-color:#6385ff}.btn.secondary{background:#1c2a46;color:#c2d5ff;border-color:#344c77}.btn.secondary:hover{background:#25395c}.btn.outline{background:transparent;color:#c0cbe0;border-color:#3b475d}.btn.outline:hover{background:#1b2537;border-color:#5b719a}.btn.danger{background:#361922;color:#ffb6c3;border-color:#743444}.btn.danger:hover{background:#4a202d;border-color:#b35a72}.btn.gold{background:#315cf5;color:#fff}.text-button,footer a,footer .text-button{color:#a9bde8}
.notice{background:#151e30;border-color:#2c3c59;color:#c1cce0}.notice.error{background:#311922;border-color:#733649;color:#ffb7c6}.error-inline{color:#ffb7c6}.notice.warning,#connection:not(:empty){background:#2c2417;border-color:#625033;color:#f2d39a}.how-strip b{background:#192b4c;color:#a8c4ff}.mobile-continue{background:#141b28;color:#edf3ff;border-color:#394b6c;box-shadow:0 8px 30px #0009}
.player{background:#171d29;border-color:#303b50}.avatar,.player:nth-child(2) .avatar{background:#1b2c4a;color:#a4c6ff;border-color:#365b92}.status-ready,.ready-wait{color:#9ac4ff!important}.score b{color:#86aaff}.score.second b{color:#b0d9ff}.vs{color:#a3adbf}.round-clock{background:#17243b;border-color:#344c77;color:#b7d2ff}
.secret-stage{background:radial-gradient(ellipse at top,#1c2b47,transparent 75%),#111722;border-color:#354969;box-shadow:0 10px 30px #0004}.secret-stage:before{background:linear-gradient(90deg,#88b7ff,#315cf5)}.secret-caption{color:#a3c4ff!important}.summary-row{border-color:#2b3548}
dialog{background:#141b28;color:#edf3ff;border-color:#3b4c68}dialog::backdrop{background:#030509c9}.modal-head{border-color:#2a364c}.modal-head button{background:#25324a;color:#deebff}.toast{background:#243b64;color:#fff;border:1px solid #5477b5}.loader{border-color:#25375a;border-top-color:#88afff}
footer{background:none;color:#929eb3}footer:before{background:#283246}
/* Home page: a black canvas, softly separated cards and a clear blue action. */
.modern-home{background:radial-gradient(ellipse at 75% 0,#10203b55,transparent 43%),#090b10;color:#f4f7ff}
.modern-home .brand{color:#f5f7ff}.modern-home .mark i,.modern-home .mark i:nth-child(2){background:#4a77ff}
.home-menu summary{background:#141a25;border-color:#303b50;box-shadow:none}.home-menu summary span{background:#eaf1ff}.home-menu nav{background:#141b28;border-color:#33415a;box-shadow:0 18px 40px #0009}.home-menu nav a{color:#d9e3f5}.home-menu nav a:hover{background:#203255;color:#b5ceff}
.modern-home .eyebrow,.modern-home .intro{color:#a8b3c7}.modern-home .home-hero h1{color:#f5f7fc}.modern-home .home-hero h1 em{color:#719dff}.friends-note{color:#b1c3e2}.friends-note:after{background:#719dff}
.games-heading{color:#eff4ff}.games-heading:after{background:#2a3548}
.modern-home .game{background:linear-gradient(140deg,#181e2a,#11151d);border-color:#2b3547;color:#f4f7ff;box-shadow:0 8px 28px #0003}.modern-home .game:hover{border-color:#5c81d5;box-shadow:0 14px 35px #0005}
.modern-home .game h2,.modern-home .guess-game h2{color:#f5f7ff}.modern-home .game p,.modern-home .guess-game p{color:#b2bdd1}
.modern-home .game .mini-label,.modern-home .guess-game .mini-label{background:#203052;color:#b8d0ff;border:1px solid #324b77}
.modern-home .game .tags span,.modern-home .guess-game .tags span{background:#ffffff04;color:#b8c5dc;border-color:#38465d}
.modern-home .game .enter,.modern-home .guess-game .enter{background:#315cf5;color:#fff;box-shadow:inset 0 1px 0 #ffffff20}.modern-home .game:hover .enter{background:#3b67ff}
.modern-home .guess-game{background:linear-gradient(140deg,#15213a,#111720);border-color:#31466d}.modern-home .guess-game:hover{border-color:#6a94ed}
.modern-home .home-footer{background:none;color:#9aa9c1}.modern-home .home-footer:before,.modern-home .home-footer:after{background:#2a3548}
.modern-home .update{background:#15243f;border-color:#355580;color:#c1d7ff}.modern-home .update button{color:#b7d2ff}

/* Keep original Minecraft pixels sharp when enlarged. */
.pixel-card{image-rendering:pixelated;image-rendering:crisp-edges}.secret-image.pixel-card{padding:22px;background:#dce7f5;border:1px solid #9fb5d0;border-radius:18px;max-width:300px;height:300px;aspect-ratio:1}.answer-mini img.pixel-card{padding:14px;background:#dce7f5;border-radius:12px}
@media(max-width:480px){.category-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.secret-image.pixel-card{width:min(100%,250px);height:250px;padding:22px}}

.secret-image.question-card{height:auto;max-width:500px;width:100%;aspect-ratio:4/3}.prophets-tip{margin-top:12px}.secret-stage:has(.question-card) .secret-answer{font-size:28px}.card-credit a{color:#b5d0ff}
