:root { --bg:#121212; --panel:#1d1d1c; --border:#494239; --text:#eee9dd; --cyan:#705a35; }
body { font-family:"Microsoft YaHei UI","Microsoft YaHei",sans-serif; }
header { background:#1d1d1c; border-bottom:1px solid #967b48; }
.brand { font-style:normal; gap:10px; letter-spacing:.16em; font-size:23px; }
.header-actions button,.demo-badge { border-color:#ddbf80; }
nav { background:#121212; }
nav .nav-icon { background:none; color:#ddbf80; font:23px/32px "Segoe UI Symbol",sans-serif; }
nav button.active,.tabs .active { background:#312e29; color:#ffe5a8; }
nav .audit-toggle { background:#af9159; color:#191714; box-shadow:none; }
.panel,.content,#login { background:var(--panel); }
#login { border-top:3px solid #c1a368; border-radius:12px; box-shadow:0 12px 36px #0b171744; }
.side-btn { border-radius:7px; }
.game-icon.observed-icon { display:grid; place-items:center; background:#312e29; color:#eddab2; font-size:14px; border-radius:9px; }
.table-wrap .empty { background:none; color:#beb5a5; font-size:14px; }
.mj-avatar { background:#705a35; color:#fff4ce; font-style:normal; }
.number-banner { min-width:0; height:auto; padding:24px; font-size:22px; }

body { color-scheme:dark; }
header { background:linear-gradient(100deg,#151514,#26231d); }
.brand { color:#e6ca8a; }
input,select,textarea { background:#242321; border-color:#504a40; color:#f1eadc; }
input::placeholder,textarea::placeholder { color:#bab2a2; }
button:focus-visible,a:focus-visible { outline:2px solid #e7c887; outline-offset:2px; }
nav button.active { box-shadow:inset 0 -2px #dfc184; }
#login { padding:30px; border-color:#4b4233; border-top:3px solid #ddbf80; }
#login button,.nav .audit-toggle { background:#dfc184; color:#191714; font-weight:650; }
.header-actions button { color:#ead8b3; border-color:#62563e; }
.side-btn.active,.segments button.active { background:#4f422c; color:#ffe0a1; }
.table-wrap .empty { color:#b7ae9e; }
.message .mj-avatar { background:#382f23; border-color:#615039; color:#edd09a; }
.reference-dialog { color-scheme:dark; background:#201f1d; border-color:#504637; color:#eee8da; }
.reference-dialog .modal-head { background:#302b23; color:#eddbb7; }
.reference-dialog .modal-head h2,.reference-dialog .modal-head button { color:#e6ce9c; }
.edit-field input,.edit-field select,.edit-field textarea { background:#252320; border-color:#554d40; color:#f4eddf; }
.message .bubble { background:#292723; }
.message.mine .bubble { background:#493c28; color:#f4ead7; }
.lines-page { background:#171717; color:#f0e7d5; }
.switch.on { background:#886e41; }
.game-item.selected { background:#383127; }
.online b,.chat-drawing b { color:#edd198; }
.chat-drawing { color:#f3e1b9; background:linear-gradient(150deg,#57482f,#242321); border-color:#736247; }
