/* HAZERHA team section: warm near-black, cream controls, original blue/red team identity. */
@font-face{font-family:Tajawal;src:url('../fonts/tajawal/regular.ttf');font-weight:400;font-display:swap}@font-face{font-family:Tajawal;src:url('../fonts/tajawal/bold.ttf');font-weight:700;font-display:swap}@font-face{font-family:Tajawal;src:url('../fonts/tajawal/black.ttf');font-weight:900;font-display:swap}
:root{--bg:#0b0b0b;--card:#1c1b19;--ink:#ece7dd;--mut:#bdb8ae;--red:#ff738b;--blue:#91b7ff;--gold:#ffca00}
body{font-family:Tajawal,system-ui,sans-serif;line-height:1.65;background-image:none}.screen{padding-top:24px}.card{border:1px solid #44413b;border-radius:22px;padding:20px}.card summary{cursor:pointer;font-weight:700}h1{font-weight:900;line-height:1.35;letter-spacing:0}h1::before{content:'حزرها / جلسة فريقين';display:block;color:var(--mut);font-size:.8rem;font-weight:400;margin-bottom:8px}
input[type=text]{background:#131312;border-color:#686258;border-radius:12px;color:var(--ink);font-family:inherit}input:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible,#board:focus-visible{outline:3px solid #ffca00;outline-offset:3px}
.chip{border-radius:15px;background:#282622;border-color:#686258}.chip.sel{border-color:#ffca00;background:#3e3518}.dot{border:1px solid #bdb8ae}.big{background:#ece7dd;color:#151515;border-radius:14px;font-size:1.1rem;min-height:52px}.ghost{background:#302d27;color:var(--ink);border:1px solid #686258;border-radius:12px;min-height:44px}.big:disabled{background:#5d584d;color:#ece7dd;opacity:.7}
.team{border-radius:18px;border:2px solid #555149;background:#1c1b19}.team.turn{border-color:#ffca00}.team b{font-variant-numeric:tabular-nums}.adj button{background:#38342e;color:var(--ink);border:1px solid #7d786e;border-radius:8px;min-width:32px;min-height:32px}.board{scrollbar-color:#ffca00 #1c1b19}.col h3{font-weight:700}.tile{background:#ece7dd;border:1px solid #7d786e;border-radius:14px;color:#151515}.tile.done{opacity:.7}.tile.wa{background:#214a89;color:#fff;opacity:1;border-color:#91b7ff}.tile.wb{background:#833046;color:#fff;opacity:1;border-color:#ff738b}
.modal{background:#0b0b0b}.qtext{font-size:clamp(1.5rem,4.5vw,2.7rem);line-height:1.55}.ans{color:#b5e6c5}.timer{border-color:#ffca00}.timer.low{color:#ff9bad;border-color:#ff9bad}.tools summary{background:#302d27;color:#ece7dd;border:1px solid #686258;border-radius:12px}.tools[open] summary{color:#ffca00}.pwbar button{background:#ece7dd;color:#151515;border:1px solid #7d786e;border-radius:12px;min-height:44px}.dblbadge{color:#ffe080}.keys button{background:#302d27;color:#ece7dd;border:1px solid #686258;border-radius:10px}.keys button.big{background:#ece7dd;color:#151515}.jA{background:#214a89;color:#fff}.jB{background:#833046;color:#fff}.jN{background:#302d27;color:#ece7dd;border:1px solid #686258}.judge button{border-radius:13px}.jhint{outline:3px solid #ffca00;outline-offset:3px}
.gc{border-radius:17px;background:#1c1b19}.memorycell{background:#302d27;color:#ece7dd;border-color:#686258;border-radius:12px}.memorycell.lit{background:#ffca00;color:#151515;border-color:#ffca00}.memorynote{color:#bdb8ae;line-height:1.8}.comparechoices button[aria-pressed=true]{outline-color:#ffca00;background:#3e3518}.lasercell{background:#302d27;color:#ece7dd;border-color:#686258;border-radius:8px}.lasercell.entry{color:#ffe080}.lasercell.target{color:#ffbdca}.lasercell.ray{background:#354b2c;border-color:#a6c58c}
@media(max-width:640px){.screen{padding-top:18px}.card{padding:16px}.team{padding:7px}.adj button{min-width:32px}.team b{font-size:1.6rem}.top>#swap{font-size:.9rem;min-height:44px}.col h3{font-size:.95rem}.tile{font-size:1.15rem}.judge button{padding:14px}.qtext{margin:18px 0}}
/* Original HAZERHA333 palette, game team colors remain meaningful. */
:root{--bg:#111f29;--card:#1b303e;--ink:#fff6df;--mut:#c0cdd0;--gold:#f4c458}.card,.team,.gc{background:var(--card);border-color:#66808e}.ghost,.tools summary,.keys button{background:#294454;color:var(--ink)}.big,.tile{background:#fff6df;color:#192832}.modal{background:var(--bg)}.chip{background:#294454}.chip.sel{background:#3b493c;border-color:var(--gold)}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
