/* 자동 생성 파일 — 직접 고치지 마세요.
   원본: public/halligalli/style.css · 손질: scripts/theme/overrides/halligalli.css
   다시 만들기: npm run theme:build  (scripts/build-dark-theme.mjs) */
:root[data-theme="dark"]{--bg:#231e14;--paper:#1d1a17;--ink:#ced8e4;--navy:#cdd7e3;--muted:#adb8c3;--line:#3c3018;--line-strong:#47371a;--red:#e5484d;--red-deep:#ff8987;--gold:#f2b53a;--gold-deep:#dea64a;--green:#63c8a0;--blue:#7bb3ff;--focus:#146ec4;--felt:#16704f;--felt-deep:#0d5038;--felt-line:#2c8a66;--shadow:0 22px 60px rgba(0,0,0,.352);--soft:0 10px 28px rgba(0,0,0,.22)}
html[data-theme="dark"]{background:#231e14}
:root[data-theme="dark"] body{color:#ced8e4;background:radial-gradient(circle at 6% 0,#2d271c 0,transparent 26rem),radial-gradient(circle at 96% 8%,#332526 0,transparent 24rem),linear-gradient(#221c17,#271f15)}
:root[data-theme="dark"] button,:root[data-theme="dark"] input,:root[data-theme="dark"] select{color:inherit}
:root[data-theme="dark"] :focus-visible{outline:3px solid #146ec4}
:root[data-theme="dark"] .hg-skip{background:#173b65;color:#fff}
:root[data-theme="dark"] .hg-top{border-bottom:1px solid rgba(60,48,24,.8);background:rgba(34,28,23,.902)}
:root[data-theme="dark"] .hg-brand{color:inherit;text-decoration:none}
:root[data-theme="dark"] .hg-brand-mark{border:1px solid #47371a;background:linear-gradient(145deg,#1d1a17,#282317);box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-brand-copy strong{color:#cdd7e3}
:root[data-theme="dark"] .hg-brand-copy small{color:#adb8c3}
:root[data-theme="dark"] .hg-nav a{color:#adb8c3;text-decoration:none}
:root[data-theme="dark"] .hg-nav a:hover{background:#1d1a17;color:#cdd7e3}
:root[data-theme="dark"] .sfx-toggle{border:1px solid #3c3018;background:#1d1a17;color:#dea64a}
:root[data-theme="dark"] .sfx-toggle:hover{color:#cdd7e3}
:root[data-theme="dark"] .sfx-toggle:focus-visible{outline:3px solid #173b65}
:root[data-theme="dark"] .sfx-toggle[aria-pressed=false]{color:#adb8c3;background:#272219}
@media (forced-colors:active){
:root[data-theme="dark"] .sfx-toggle{border-color:ButtonText;color:ButtonText}
}
:root[data-theme="dark"] .hg-account{border:1px solid #3c3018;background:#1d1a17;box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-account-name{color:#cdd7e3}
:root[data-theme="dark"] .hg-account-money{color:#adb8c3}
:root[data-theme="dark"] .hg-account-money b{color:#dea64a}
:root[data-theme="dark"] .hg-link-btn{border:0;background:#262015;color:#adb8c3}
:root[data-theme="dark"] .hg-link-btn:hover{background:#2c261b;color:#cdd7e3}
:root[data-theme="dark"] .hg-eyebrow{color:#ff8987}
:root[data-theme="dark"] .hg-eyebrow:before{background:linear-gradient(90deg,#e5484d,#f2b53a)}
:root[data-theme="dark"] .hg-btn{border:1px solid #47371a;background:#1d1a17;color:#cdd7e3;box-shadow:0 6px 16px rgba(0,0,0,.156)}
:root[data-theme="dark"] .hg-btn:hover:not(:disabled){box-shadow:0 10px 22px rgba(0,0,0,.268)}
:root[data-theme="dark"] .hg-btn.primary{border-color:#c2573f;background:linear-gradient(135deg,#e5484d,#e0761f);color:#fff;box-shadow:0 12px 26px #e5484d33}
:root[data-theme="dark"] .hg-btn.danger{border-color:#4f2d33;background:#231e1a;color:#ff8987}
:root[data-theme="dark"] .hg-btn.ready{border-color:#1b4234;background:#19221e;color:#63c8a0}
:root[data-theme="dark"] .hg-btn.ready[aria-pressed=true]{border-color:#1f8f6a;background:linear-gradient(135deg,#21a17a,#178062);color:#fff}
:root[data-theme="dark"] .hg-btn kbd{border:1px solid #ffffff66;background:rgba(29,26,23,.149)}
:root[data-theme="dark"] .hg-ring-btn kbd{border-color:#47371a;background:#252014}
:root[data-theme="dark"] .hg-form-status{color:#adb8c3}
:root[data-theme="dark"] .hg-form-status.bad{color:#ff8987}
:root[data-theme="dark"] .hg-form-status.good{color:#63c8a0}
:root[data-theme="dark"] .hg-loading{color:#adb8c3}
:root[data-theme="dark"] .hg-spinner{border:4px solid #3e2f11;border-top-color:#e5484d}
:root[data-theme="dark"] .hg-auth-card{border:1px solid #3c3018;background:rgba(29,26,23,.949);box-shadow:var(--shadow)}
:root[data-theme="dark"] .hg-auth-card h1{color:#cdd7e3}
:root[data-theme="dark"] .hg-auth-card>p{color:#adb8c3}
:root[data-theme="dark"] .hg-auth-card label,:root[data-theme="dark"] .hg-settings label{color:#cdd7e3}
:root[data-theme="dark"] .hg-auth-card input,:root[data-theme="dark"] .hg-settings input,:root[data-theme="dark"] .hg-settings select{border:1px solid #47371a;background:#1d1a17;outline:0}
:root[data-theme="dark"] .hg-auth-card input:focus,:root[data-theme="dark"] .hg-settings input:focus,:root[data-theme="dark"] .hg-settings select:focus{border-color:#e5484d;box-shadow:0 0 0 4px #e5484d1f}
:root[data-theme="dark"] .hg-auth-link{color:#7bb3ff}
:root[data-theme="dark"] .hg-hub-hero h1{color:#cdd7e3}
:root[data-theme="dark"] .hg-lead{color:#adb8c3}
:root[data-theme="dark"] .hg-lead strong{color:#ff8987}
:root[data-theme="dark"] .hg-action-card{border:1px solid #3c3018;background:#1d1a17;box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-action-card:hover:not(:disabled){box-shadow:var(--shadow)}
:root[data-theme="dark"] .hg-action-card strong{color:#cdd7e3}
:root[data-theme="dark"] .hg-action-card small{color:#adb8c3}
:root[data-theme="dark"] .hg-action-card.create{background:radial-gradient(circle at 100% 0,#322324 0,transparent 55%),#1d1a17}
:root[data-theme="dark"] .hg-action-card.create .hg-action-icon{background:linear-gradient(135deg,#e5484d,#e0761f);color:#fff;box-shadow:0 12px 24px #e5484d40}
:root[data-theme="dark"] .hg-action-card.list{background:radial-gradient(circle at 100% 0,#282317 0,transparent 55%),#1d1a17}
:root[data-theme="dark"] .hg-action-card.list .hg-action-icon{background:linear-gradient(135deg,#f8cf5c,#e09a1c);color:#fff;box-shadow:0 12px 24px #e09a1c40}
:root[data-theme="dark"] .hg-rules{border:1px solid #3c3018;background:rgba(29,26,23,.941)}
:root[data-theme="dark"] .hg-rules summary{color:#cdd7e3}
:root[data-theme="dark"] .hg-rules ul{color:#adb8c3}
:root[data-theme="dark"] .hg-rules strong{color:#ff8987}
:root[data-theme="dark"] .hg-section-head h1{color:#cdd7e3}
:root[data-theme="dark"] .hg-room-card{border:1px solid #3c3018;background:#1d1a17;box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-room-card h2{color:#cdd7e3}
:root[data-theme="dark"] .hg-room-card .host{color:#adb8c3}
:root[data-theme="dark"] .hg-room-stats div{background:#231e13}
:root[data-theme="dark"] .hg-room-stats span{color:#adb8c3}
:root[data-theme="dark"] .hg-room-stats b{color:#cdd7e3}
:root[data-theme="dark"] .hg-room-seats i{background:#312b1f}
:root[data-theme="dark"] .hg-room-seats i.on{background:linear-gradient(90deg,#e5484d,#f2b53a)}
:root[data-theme="dark"] .hg-badge.lobby{background:#182520;color:#63c8a0}
:root[data-theme="dark"] .hg-badge.playing{background:#292117;color:#f3984e}
:root[data-theme="dark"] .hg-badge.full{background:#25211f;color:#adb8c3}
:root[data-theme="dark"] .hg-empty{border:1px dashed #47371a;background:#1f1b18;color:#adb8c3}
:root[data-theme="dark"] .hg-empty strong{color:#cdd7e3}
:root[data-theme="dark"] .hg-room-head h1{color:#cdd7e3}
:root[data-theme="dark"] .hg-chip{border:1px solid #3c3018;background:#1d1a17;color:#adb8c3}
:root[data-theme="dark"] .hg-chip b{color:#cdd7e3}
:root[data-theme="dark"] .hg-chip.stake b,:root[data-theme="dark"] .hg-chip.pot b{color:#dea64a}
:root[data-theme="dark"] .hg-chip.net i{background:#363d44}
:root[data-theme="dark"] .hg-chip.net[data-quality=good] i{background:#20b37f;box-shadow:0 0 0 3px #20b37f2a}
:root[data-theme="dark"] .hg-chip.net[data-quality=ok] i{background:#e6a817;box-shadow:0 0 0 3px #e6a8172a}
:root[data-theme="dark"] .hg-chip.net[data-quality=bad] i{background:#e5484d;box-shadow:0 0 0 3px #e5484d2a}
:root[data-theme="dark"] .hg-seat{border:1px solid #3c3018;background:#1d1a17;box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-seat.empty{background:#1f1b18;box-shadow:none;color:#a19a8d}
:root[data-theme="dark"] .hg-seat.me{border-color:#553236;box-shadow:0 0 0 3px #e5484d14,var(--soft)}
:root[data-theme="dark"] .hg-avatar{color:#fff}
:root[data-theme="dark"] .hg-seat-name strong{color:#cdd7e3}
:root[data-theme="dark"] .hg-seat-name small{color:#adb8c3}
:root[data-theme="dark"] .hg-tag{background:#23201d;color:#adb8c3}
:root[data-theme="dark"] .hg-tag.host{background:#272317;color:#dba65f}
:root[data-theme="dark"] .hg-tag.ready{background:#182520;color:#63c8a0}
:root[data-theme="dark"] .hg-tag.away{background:#291e1f;color:#ff8987}
:root[data-theme="dark"] .hg-kick{border:1px solid #4f2d33;background:#231e1a;color:#ff8987}
:root[data-theme="dark"] .hg-kick:hover{background:#2e2023}
:root[data-theme="dark"] .hg-lobby-card{border:1px solid #3c3018;background:#1d1a17;box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-lobby-card h2{color:#cdd7e3}
:root[data-theme="dark"] .hg-lobby-card h2 small{background:#272317;color:#dba65f}
:root[data-theme="dark"] .hg-stake-presets button{border:1px solid #3c3018;background:#211d15;color:#cdd7e3}
:root[data-theme="dark"] .hg-stake-presets button:hover:not(:disabled){border-color:#f2b53a}
:root[data-theme="dark"] .hg-lobby-hint{color:#adb8c3}
:root[data-theme="dark"] .hg-last-result li{background:#211d15}
:root[data-theme="dark"] .hg-last-result li.win{background:#272317}
:root[data-theme="dark"] .hg-last-result li span:last-child{color:#dea64a}
:root[data-theme="dark"] .hg-match-clock{border:1px solid #3c3018;background:#1d1a17;color:#adb8c3}
:root[data-theme="dark"] .hg-match-clock b{color:#cdd7e3}
:root[data-theme="dark"] .hg-turn-banner{background:#173b65;color:#fff}
:root[data-theme="dark"] .hg-turn-banner.mine{background:linear-gradient(135deg,#e5484d,#e0761f)}
:root[data-theme="dark"] .hg-table{box-shadow:inset 0 0 0 10px #775c44,inset 0 0 0 14px #6e4520,var(--shadow);background:#6e4520}
:root[data-theme="dark"] .hg-table-felt{background:radial-gradient(ellipse at 50% 45%,#1d8a62 0,#16704f 45%,#0d5038 100%)}
:root[data-theme="dark"] .hg-table-felt:after{border:2px dashed #ffffff1c}
:root[data-theme="dark"] .hg-tseat.out{filter:grayscale(.85)}
:root[data-theme="dark"] .hg-plate{background:#0b3a29d9;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.72)}
:root[data-theme="dark"] .hg-plate-copy small{color:#cfe9dd}
:root[data-theme="dark"] .hg-tseat.turn .hg-plate{background:#1d1a17;color:#cdd7e3;box-shadow:0 0 0 3px #f2b53a,0 8px 20px rgba(0,0,0,.72)}
:root[data-theme="dark"] .hg-tseat.turn .hg-plate-copy small{color:#adb8c3}
:root[data-theme="dark"] .hg-timer circle{fill:none}
:root[data-theme="dark"] .hg-timer .track{stroke:rgba(243,237,233,.102)}
:root[data-theme="dark"] .hg-timer .bar{stroke:#ff8a86}
:root[data-theme="dark"] .hg-deck-count{background:#1d1a17;color:#cdd7e3;box-shadow:0 3px 8px rgba(0,0,0,.587)}
:root[data-theme="dark"] .hg-deck.empty{border:2px dashed #ffffff40}
:root[data-theme="dark"] .hg-pile{border:2px dashed #ffffff30}
:root[data-theme="dark"] .hg-pile-count{color:#d8f0e5}
:root[data-theme="dark"] .hg-card{background:#fffdf7;border:2px solid #fff;box-shadow:0 6px 14px #0005}
:root[data-theme="dark"] .hg-card-back{background:radial-gradient(circle at 50% 50%,#f6c24a 0 18%,transparent 19%),repeating-linear-gradient(45deg,#c8323a 0 6px,#b02a33 6px 12px);border:3px solid #fff;box-shadow:0 4px 10px #0005}
:root[data-theme="dark"] .hg-bell{border:0;background:transparent;filter:drop-shadow(0 12px 18px rgba(0,0,0,.72))}
:root[data-theme="dark"] .hg-bell-label{background:#0b3a29b3;color:#e9fff5}
:root[data-theme="dark"] .hg-bell:disabled{filter:grayscale(.5) drop-shadow(0 12px 18px rgba(0,0,0,.72))}
:root[data-theme="dark"] .hg-table-toast{background:#1d1a17;color:#cdd7e3;box-shadow:0 10px 26px rgba(0,0,0,.72)}
:root[data-theme="dark"] .hg-table-toast.good{background:linear-gradient(135deg,#262316,#312d21);color:#d2c8bc}
:root[data-theme="dark"] .hg-table-toast.bad{background:#291e1f;color:#ff8987}
:root[data-theme="dark"] .hg-my-stack{border:1px solid #3c3018;background:#1d1a17}
:root[data-theme="dark"] .hg-my-stack-label{color:#adb8c3}
:root[data-theme="dark"] .hg-my-stack b{color:#cdd7e3}
:root[data-theme="dark"] .hg-dialog{border:1px solid #47371a;background:#1d1a17;color:#ced8e4;box-shadow:var(--shadow)}
:root[data-theme="dark"] .hg-dialog::backdrop{background:#2b1a0855}
:root[data-theme="dark"] .hg-dialog-body h2{color:#cdd7e3}
:root[data-theme="dark"] .hg-dialog-body p{color:#adb8c3}
:root[data-theme="dark"] .hg-result-amount{color:#dea64a}
:root[data-theme="dark"] .hg-result-list li{background:#211d15}
:root[data-theme="dark"] .hg-result-list li.win{background:linear-gradient(135deg,#262316,#2d291d)}
:root[data-theme="dark"] .hg-result-list li b{color:#cdd7e3}
:root[data-theme="dark"] .hg-result-list li span{color:#adb8c3}
:root[data-theme="dark"] .hg-toast{border:1px solid #47371a;background:rgba(29,26,23,.969);color:#cdd7e3;box-shadow:var(--shadow)}
:root[data-theme="dark"] .hg-toast.bad{border-color:#4f2d33;color:#ff8987}
:root[data-theme="dark"] .hg-toast.good{border-color:#193f31;color:#63c8a0}
@media (forced-colors:active){
:root[data-theme="dark"] .hg-btn,:root[data-theme="dark"] .hg-action-card,:root[data-theme="dark"] .hg-seat,:root[data-theme="dark"] .hg-room-card,:root[data-theme="dark"] .hg-lobby-card{border:1px solid CanvasText}
}
:root[data-theme="dark"] .hg-top{border:1px solid #3c3018;background:rgba(29,26,23,.88);box-shadow:var(--soft)}
:root[data-theme="dark"] .hg-hub-hero{background:radial-gradient(420px 260px at 80% 100%,rgba(29,26,23,.12),transparent 70%),repeating-linear-gradient(45deg,rgba(29,26,23,.025) 0 2px,transparent 2px 6px),linear-gradient(165deg,#16704f,#0d5038);color:#fff;box-shadow:inset 0 0 0 6px rgba(255,255,255,.06),var(--shadow)}
:root[data-theme="dark"] .hg-hub-hero h1{color:#fff}
:root[data-theme="dark"] .hg-hub-hero .hg-lead{color:rgba(255,255,255,.82)}
:root[data-theme="dark"] .hg-hub-hero .hg-lead strong{color:#f2b53a}
:root[data-theme="dark"] .hg-hub-hero .hg-eyebrow{color:#f2b53a}
:root[data-theme="dark"] .hg-action-card:after{color:#adb8c3}
:root[data-theme="dark"] .hg-action-card:hover:not(:disabled):after{color:#cdd7e3}
:root[data-theme="dark"] .hg-auth-card:before{background:repeating-linear-gradient(45deg,rgba(29,26,23,.03) 0 2px,transparent 2px 6px),linear-gradient(165deg,#16704f,#0d5038)}
:root[data-theme="dark"] .hg-auth-card>.hg-eyebrow{color:#f2b53a}
:root[data-theme="dark"] .hg-auth-card>h1{color:#fff}
:root[data-theme="dark"] .hg-auth-card>p:not(.hg-eyebrow){color:rgba(255,255,255,.8)}
@media (max-width:860px){
:root[data-theme="dark"] .hg-auth-card>.hg-eyebrow{background:linear-gradient(165deg,#16704f,#0d5038)}
:root[data-theme="dark"] .hg-auth-card>h1,:root[data-theme="dark"] .hg-auth-card>p:not(.hg-eyebrow){background:#0d5038}
}

/* ── 손질(overrides/halligalli.css) ── */
/* 할리갈리 다크 손질: 테마 버튼을 할리갈리의 따뜻한 색에 맞춘다. */
:root[data-theme="dark"] .hv-theme-switch.hv-theme-switch{--ts-bg:#1f1a14;--ts-line:#3a3127;--ts-icon:#9c8c78;--ts-icon-hover:#f3e9dc;--ts-on-bg:#f6c24a;--ts-on-icon:#2a1a00;--ts-hover-bg:rgba(255,240,220,.07)}
