/* 자동 생성 파일 — 직접 고치지 마세요.
   원본: public/indian-poker/style.css · 손질: scripts/theme/overrides/indian-poker.css
   다시 만들기: npm run theme:build  (scripts/build-dark-theme.mjs) */
:root[data-theme="dark"]{--bg:#221e29;--paper:#1a1820;--ink:#d7dbed;--navy:#9eadec;--muted:#b5b9ca;--line:#332d40;--line-strong:#3c334f;--violet:#6c4fd6;--violet-deep:#aaa4ff;--gold:#f2c14e;--gold-deep:#dba74e;--red:#d93a4a;--red-deep:#ff898c;--green:#5ec89f;--blue:#84b1ff;--focus:#4b6ff0;--felt:#1f3a7a;--felt-deep:#13234f;--rim:#5b3a17;--rim-dark:#3e270e;--shadow:0 22px 60px rgba(0,0,0,.352);--soft:0 10px 28px rgba(0,0,0,.22)}
html[data-theme="dark"]{background:#221e29}
:root[data-theme="dark"] body{color:#d7dbed;background:radial-gradient(circle at 4% 0,#2f283d 0,transparent 26rem),radial-gradient(circle at 96% 6%,#2b2109 0,transparent 24rem),linear-gradient(#1d1b24,#24202c)}
: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 #4b6ff0}
:root[data-theme="dark"] .ip-skip{background:#1d2457;color:#fff}
:root[data-theme="dark"] .ip-top{border-bottom:1px solid rgba(51,45,64,.8);background:rgba(29,27,36,.902)}
:root[data-theme="dark"] .ip-brand{color:inherit;text-decoration:none}
:root[data-theme="dark"] .ip-brand-mark{border:1px solid #3c334f;background:linear-gradient(145deg,#1a1820,#282234);box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-brand-copy strong{color:#9eadec}
:root[data-theme="dark"] .ip-brand-copy small{color:#b5b9ca}
:root[data-theme="dark"] .ip-nav a{color:#b5b9ca;text-decoration:none}
:root[data-theme="dark"] .ip-nav a:hover{background:#1a1820;color:#9eadec}
:root[data-theme="dark"] .sfx-toggle{border:1px solid #332d40;background:#1a1820;color:#ada3ff}
:root[data-theme="dark"] .sfx-toggle:hover{color:#9eadec}
:root[data-theme="dark"] .sfx-toggle:focus-visible{outline:3px solid #1d2457}
:root[data-theme="dark"] .sfx-toggle[aria-pressed=false]{color:#b5b9ca;background:#24212b}
@media (forced-colors:active){
:root[data-theme="dark"] .sfx-toggle{border-color:ButtonText;color:ButtonText}
}
:root[data-theme="dark"] .ip-account{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-account-name{color:#9eadec}
:root[data-theme="dark"] .ip-account-money{color:#b5b9ca}
:root[data-theme="dark"] .ip-account-money b{color:#dba74e}
:root[data-theme="dark"] .ip-link-btn{border:0;background:#25212e;color:#b5b9ca}
:root[data-theme="dark"] .ip-link-btn:hover{background:#2e273d;color:#9eadec}
:root[data-theme="dark"] .ip-eyebrow{color:#aaa4ff}
:root[data-theme="dark"] .ip-eyebrow:before{background:linear-gradient(90deg,#6c4fd6,#f2c14e)}
:root[data-theme="dark"] .ip-btn{border:1px solid #3c334f;background:#1a1820;color:#9eadec;box-shadow:0 6px 16px rgba(0,0,0,.13)}
:root[data-theme="dark"] .ip-btn:hover:not(:disabled){box-shadow:0 10px 22px rgba(0,0,0,.268)}
:root[data-theme="dark"] .ip-btn.primary{border-color:#5a3fc4;background:linear-gradient(135deg,#6c4fd6,#3f58d8);color:#fff;box-shadow:0 12px 26px #6c4fd633}
:root[data-theme="dark"] .ip-btn.danger{border-color:#4f2d33;background:#1e1c24;color:#ff898c}
:root[data-theme="dark"] .ip-btn.ready{border-color:#1b4234;background:#17211d;color:#5ec89f}
:root[data-theme="dark"] .ip-btn.ready[aria-pressed=true]{border-color:#18916b;background:linear-gradient(135deg,#21a17a,#178062);color:#fff}
:root[data-theme="dark"] .ip-btn kbd{border:1px solid currentColor;background:rgba(26,24,32,.149)}
:root[data-theme="dark"] .ip-form-status{color:#b5b9ca}
:root[data-theme="dark"] .ip-form-status.bad{color:#ff898c}
:root[data-theme="dark"] .ip-form-status.good{color:#5ec89f}
:root[data-theme="dark"] .ip-loading{color:#b5b9ca}
:root[data-theme="dark"] .ip-spinner{border:4px solid #352c47;border-top-color:#6c4fd6}
:root[data-theme="dark"] .ip-auth-card{border:1px solid #332d40;background:rgba(26,24,32,.949);box-shadow:var(--shadow)}
:root[data-theme="dark"] .ip-auth-card h1{color:#9eadec}
:root[data-theme="dark"] .ip-auth-card>p{color:#b5b9ca}
:root[data-theme="dark"] .ip-auth-card label,:root[data-theme="dark"] .ip-settings label{color:#9eadec}
:root[data-theme="dark"] .ip-auth-card input,:root[data-theme="dark"] .ip-settings input,:root[data-theme="dark"] .ip-settings select{border:1px solid #3c334f;background:#1a1820;outline:0}
:root[data-theme="dark"] .ip-auth-card input:focus,:root[data-theme="dark"] .ip-settings input:focus,:root[data-theme="dark"] .ip-settings select:focus,:root[data-theme="dark"] .ip-raise-input input:focus{border-color:#6c4fd6;box-shadow:0 0 0 4px #6c4fd624}
:root[data-theme="dark"] .ip-auth-link{color:#84b1ff}
:root[data-theme="dark"] .ip-hub-hero h1{color:#9eadec}
:root[data-theme="dark"] .ip-lead{color:#b5b9ca}
:root[data-theme="dark"] .ip-lead strong{color:#aaa4ff}
:root[data-theme="dark"] .ip-action-card{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-action-card:hover:not(:disabled){box-shadow:var(--shadow)}
:root[data-theme="dark"] .ip-action-card strong{color:#9eadec}
:root[data-theme="dark"] .ip-action-card small{color:#b5b9ca}
:root[data-theme="dark"] .ip-action-icon{color:#fff}
:root[data-theme="dark"] .ip-action-card.create{background:radial-gradient(circle at 100% 0,#2a2339 0,transparent 55%),#1a1820}
:root[data-theme="dark"] .ip-action-card.create .ip-action-icon{background:linear-gradient(135deg,#6c4fd6,#3f58d8);box-shadow:0 12px 24px #6c4fd640}
:root[data-theme="dark"] .ip-action-card.list{background:radial-gradient(circle at 100% 0,#2a2109 0,transparent 55%),#1a1820}
:root[data-theme="dark"] .ip-action-card.list .ip-action-icon{background:linear-gradient(135deg,#f6cf62,#d99b1c);box-shadow:0 12px 24px #d99b1c40}
:root[data-theme="dark"] .ip-rules{border:1px solid #332d40;background:rgba(26,24,32,.941)}
:root[data-theme="dark"] .ip-rules summary{color:#9eadec}
:root[data-theme="dark"] .ip-rules ul{color:#b5b9ca}
:root[data-theme="dark"] .ip-rules strong{color:#aaa4ff}
:root[data-theme="dark"] .ip-section-head h1{color:#9eadec}
:root[data-theme="dark"] .ip-room-card{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-room-card h2{color:#9eadec}
:root[data-theme="dark"] .ip-room-card .host{color:#b5b9ca}
:root[data-theme="dark"] .ip-room-stats div{background:#211e28}
:root[data-theme="dark"] .ip-room-stats span{color:#b5b9ca}
:root[data-theme="dark"] .ip-room-stats b{color:#9eadec}
:root[data-theme="dark"] .ip-room-seats i{background:#2d273a}
:root[data-theme="dark"] .ip-room-seats i.on{background:linear-gradient(90deg,#6c4fd6,#f2c14e)}
:root[data-theme="dark"] .ip-badge.lobby{background:#17241e;color:#5ec89f}
:root[data-theme="dark"] .ip-badge.playing{background:#2a1f11;color:#f3984e}
:root[data-theme="dark"] .ip-badge.full{background:#212028;color:#b5b9ca}
:root[data-theme="dark"] .ip-empty{border:1px dashed #3c334f;background:#1b1a22;color:#b5b9ca}
:root[data-theme="dark"] .ip-empty strong{color:#9eadec}
:root[data-theme="dark"] .ip-room-head h1{color:#9eadec}
:root[data-theme="dark"] .ip-chip{border:1px solid #332d40;background:#1a1820;color:#b5b9ca}
:root[data-theme="dark"] .ip-chip b{color:#9eadec}
:root[data-theme="dark"] .ip-chip.ante b{color:#dba74e}
:root[data-theme="dark"] .ip-chip.net i{background:#353b43}
:root[data-theme="dark"] .ip-chip.net[data-quality=good] i{background:#20b37f;box-shadow:0 0 0 3px #20b37f2a}
:root[data-theme="dark"] .ip-chip.net[data-quality=ok] i{background:#e6a817;box-shadow:0 0 0 3px #e6a8172a}
:root[data-theme="dark"] .ip-chip.net[data-quality=bad] i{background:#d93a4a;box-shadow:0 0 0 3px #d93a4a2a}
:root[data-theme="dark"] .ip-seat{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-seat.empty{background:#1b1a22;box-shadow:none;color:#9d99ab}
:root[data-theme="dark"] .ip-seat.me{border-color:#b9a6f2;box-shadow:0 0 0 3px #6c4fd618,var(--soft)}
:root[data-theme="dark"] .ip-avatar{color:#fff}
:root[data-theme="dark"] .ip-seat-name strong{color:#9eadec}
:root[data-theme="dark"] .ip-seat-name small{color:#b5b9ca}
:root[data-theme="dark"] .ip-tag{background:#211f28;color:#b5b9ca}
:root[data-theme="dark"] .ip-tag.host{background:#292109;color:#dba65f}
:root[data-theme="dark"] .ip-tag.ready{background:#17241e;color:#5ec89f}
:root[data-theme="dark"] .ip-tag.away{background:#281d1e;color:#ff898c}
:root[data-theme="dark"] .ip-tag.dealer{background:#292337;color:#aaa4ff}
:root[data-theme="dark"] .ip-kick{border:1px solid #4f2d33;background:#1e1c24;color:#ff898c}
:root[data-theme="dark"] .ip-kick:hover{background:#2f1e21}
:root[data-theme="dark"] .ip-lobby-card{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-lobby-card h2{color:#9eadec}
:root[data-theme="dark"] .ip-lobby-card h2 small{background:#292109;color:#dba65f}
:root[data-theme="dark"] .ip-presets button{border:1px solid #332d40;background:#201d25;color:#9eadec}
:root[data-theme="dark"] .ip-presets button:hover:not(:disabled){border-color:#6c4fd6}
:root[data-theme="dark"] .ip-lobby-hint{color:#b5b9ca}
:root[data-theme="dark"] .ip-last-result li{background:#201d25}
:root[data-theme="dark"] .ip-last-result li.win{background:#292109}
:root[data-theme="dark"] .plus{color:#5ec89f}
:root[data-theme="dark"] .minus{color:#ff898c}
:root[data-theme="dark"] .zero{color:#b5b9ca}
:root[data-theme="dark"] .ip-pot{border:1px solid #3d3212;background:linear-gradient(135deg,#201c14,#292109);color:#dba74e}
:root[data-theme="dark"] .ip-pot b{color:#d4c8b9}
:root[data-theme="dark"] .ip-turn-banner{background:#1d2457;color:#fff}
:root[data-theme="dark"] .ip-turn-banner.mine{background:linear-gradient(135deg,#6c4fd6,#3f58d8)}
:root[data-theme="dark"] .ip-table{box-shadow:inset 0 0 0 12px #5b3a17,inset 0 0 0 16px #3e270e,var(--shadow);background:#3e270e}
:root[data-theme="dark"] .ip-felt{background:radial-gradient(ellipse at 50% 42%,#2f56a8 0,#1f3a7a 46%,#13234f 100%)}
:root[data-theme="dark"] .ip-felt:after{border:2px solid #ffffff14}
:root[data-theme="dark"] .ip-felt-mark{color:#ffffff12}
:root[data-theme="dark"] .ip-tseat.folded{filter:grayscale(.85)}
:root[data-theme="dark"] .ip-tseat.winner .ip-forehead .ip-card{box-shadow:0 0 0 3px var(--gold),0 0 26px #f2c14e99}
:root[data-theme="dark"] .ip-plate{background:#0b1640d9;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.72)}
:root[data-theme="dark"] .ip-plate-copy small{color:#cdd8ff}
:root[data-theme="dark"] .ip-tseat.turn .ip-plate{background:#1a1820;color:#9eadec;box-shadow:0 0 0 3px #f2c14e,0 8px 20px rgba(0,0,0,.72)}
:root[data-theme="dark"] .ip-tseat.turn .ip-plate-copy small{color:#b5b9ca}
:root[data-theme="dark"] .ip-dealer-btn{background:#1a1820;color:#9eadec;border:2px solid #f2c14e;box-shadow:0 3px 8px rgba(0,0,0,.72)}
:root[data-theme="dark"] .ip-timer circle{fill:none}
:root[data-theme="dark"] .ip-timer .track{stroke:rgba(239,237,248,.102)}
:root[data-theme="dark"] .ip-timer .bar{stroke:#ada3ff}
:root[data-theme="dark"] .ip-bet{background:rgba(26,24,32,.902);color:#e6decc;box-shadow:0 3px 10px rgba(0,0,0,.587)}
:root[data-theme="dark"] .ip-bet:before{background:radial-gradient(circle,#1a1820 0 28%,transparent 30%),repeating-conic-gradient(#f2c14e 0 30deg,#c48b17 30deg 60deg);border:1.5px solid #8a5a00}
:root[data-theme="dark"] .ip-action-tag{background:#1a1820;color:#9eadec;box-shadow:0 4px 10px rgba(0,0,0,.587)}
:root[data-theme="dark"] .ip-action-tag.fold{background:#28262f;color:#b9b7c8}
:root[data-theme="dark"] .ip-action-tag.raise,:root[data-theme="dark"] .ip-action-tag.bet{background:linear-gradient(135deg,#342b13,#f2b53a);color:#dbcfbf}
:root[data-theme="dark"] .ip-action-tag.allin{background:linear-gradient(135deg,#d93a4a,#ff7a45);color:#fff}
:root[data-theme="dark"] .ip-center-chips i{background:radial-gradient(circle,#1a1820 0 26%,transparent 28%),repeating-conic-gradient(var(--c1) 0 30deg,var(--c2) 30deg 60deg);border:2px solid #00000040;box-shadow:0 3px 6px rgba(0,0,0,.72)}
:root[data-theme="dark"] .ip-center-bet{background:#0b1640b3;color:#eef2ff}
:root[data-theme="dark"] .ip-table-toast{background:#1a1820;color:#9eadec;box-shadow:0 10px 26px rgba(0,0,0,.72)}
:root[data-theme="dark"] .ip-table-toast.good{background:linear-gradient(135deg,#272109,#342b13);color:#d4c8b9}
:root[data-theme="dark"] .ip-table-toast.bad{background:#281d1e;color:#ff898c}
:root[data-theme="dark"] .ip-card{background:#fffdf9;border:1.5px solid #fff;box-shadow:0 6px 14px #0005}
:root[data-theme="dark"] .ip-card-back{background:radial-gradient(circle at 50% 50%,#f2c14e 0 13%,transparent 14%),repeating-linear-gradient(45deg,#3b2a8f 0 6px,#2a1f6b 6px 12px);border:3px solid #fff;box-shadow:0 4px 10px #0005}
:root[data-theme="dark"] .ip-card-back.mine:after{color:#fff;text-shadow:0 2px 6px #0008}
:root[data-theme="dark"] .ip-actions{border:1px solid #332d40;background:#1a1820;box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-my-card-hint{background:repeating-linear-gradient(45deg,#3b2a8f 0 5px,#2a1f6b 5px 10px);border:2px solid #27252e;box-shadow:0 3px 8px rgba(0,0,0,.44);color:#fff}
:root[data-theme="dark"] .ip-my-info small{color:#b5b9ca}
:root[data-theme="dark"] .ip-my-info b{color:#9eadec}
:root[data-theme="dark"] .ip-btn.fold{border-color:#363143;background:#201e27;color:#cac9db}
:root[data-theme="dark"] .ip-btn.call{border-color:#1b4234;background:#17211d;color:#5ec89f}
:root[data-theme="dark"] .ip-raise-input{color:#9eadec}
:root[data-theme="dark"] .ip-raise-input input{border:1px solid #3c334f;background:#1a1820;outline:0}
:root[data-theme="dark"] .ip-raise-range{color:#b5b9ca}
:root[data-theme="dark"] .ip-dialog{border:1px solid #3c334f;background:#1a1820;color:#d7dbed;box-shadow:var(--shadow)}
:root[data-theme="dark"] .ip-dialog::backdrop{background:#130b3a66}
:root[data-theme="dark"] .ip-dialog-body h2{color:#9eadec}
:root[data-theme="dark"] .ip-dialog-body p{color:#b5b9ca}
:root[data-theme="dark"] .ip-result-mycard span{color:#b5b9ca}
:root[data-theme="dark"] .ip-result-mycard b{color:#9eadec}
:root[data-theme="dark"] .ip-result-list li{background:#201d25}
:root[data-theme="dark"] .ip-result-list li.win{background:linear-gradient(135deg,#272109,#2f270f)}
:root[data-theme="dark"] .ip-result-list li .who b{color:#9eadec}
:root[data-theme="dark"] .ip-result-list li .who small{color:#b5b9ca}
:root[data-theme="dark"] .ip-toast{border:1px solid #3c334f;background:rgba(26,24,32,.969);color:#9eadec;box-shadow:var(--shadow)}
:root[data-theme="dark"] .ip-toast.bad{border-color:#4f2d33;color:#ff898c}
:root[data-theme="dark"] .ip-toast.good{border-color:#193f31;color:#5ec89f}
@media (forced-colors:active){
:root[data-theme="dark"] .ip-btn,:root[data-theme="dark"] .ip-action-card,:root[data-theme="dark"] .ip-seat,:root[data-theme="dark"] .ip-room-card,:root[data-theme="dark"] .ip-lobby-card{border:1px solid CanvasText}
}
:root[data-theme="dark"] .ip-top{border:1px solid #332d40;background:rgba(26,24,32,.88);box-shadow:var(--soft)}
:root[data-theme="dark"] .ip-hub-hero{background:radial-gradient(420px 260px at 80% 100%,rgba(26,24,32,.12),transparent 70%),repeating-linear-gradient(45deg,rgba(26,24,32,.025) 0 2px,transparent 2px 6px),linear-gradient(165deg,#1f3a7a,#13234f);color:#fff;box-shadow:inset 0 0 0 6px rgba(255,255,255,.06),var(--shadow)}
:root[data-theme="dark"] .ip-hub-hero h1{color:#fff}
:root[data-theme="dark"] .ip-hub-hero .ip-lead{color:rgba(255,255,255,.82)}
:root[data-theme="dark"] .ip-hub-hero .ip-lead strong{color:#f2c14e}
:root[data-theme="dark"] .ip-hub-hero .ip-eyebrow{color:#f2c14e}
:root[data-theme="dark"] .ip-action-card:after{color:#b5b9ca}
:root[data-theme="dark"] .ip-action-card:hover:not(:disabled):after{color:#9eadec}
:root[data-theme="dark"] .ip-auth-card:before{background:repeating-linear-gradient(45deg,rgba(26,24,32,.03) 0 2px,transparent 2px 6px),linear-gradient(165deg,#1f3a7a,#13234f)}
:root[data-theme="dark"] .ip-auth-card>.ip-eyebrow{color:#f2c14e}
:root[data-theme="dark"] .ip-auth-card>h1{color:#fff}
:root[data-theme="dark"] .ip-auth-card>p:not(.ip-eyebrow){color:rgba(255,255,255,.8)}
@media (max-width:860px){
:root[data-theme="dark"] .ip-auth-card>.ip-eyebrow{background:linear-gradient(165deg,#1f3a7a,#13234f)}
:root[data-theme="dark"] .ip-auth-card>h1,:root[data-theme="dark"] .ip-auth-card>p:not(.ip-eyebrow){background:#13234f}
}

/* ── 손질(overrides/indian-poker.css) ── */
/* 인디언 포커 다크 손질: 테마 버튼을 보라 계열에 맞춘다. */
:root[data-theme="dark"] .hv-theme-switch.hv-theme-switch{--ts-bg:#1a1726;--ts-line:#302a47;--ts-icon:#8f86ad;--ts-icon-hover:#ece8fb;--ts-on-bg:#f2c14e;--ts-on-icon:#231300;--ts-hover-bg:rgba(236,232,251,.07)}
