/* 관리자페이지에서 보기 */
#admin { height:100vh; min-height:0; padding:0; overflow:hidden; }
#admin > .content { min-height:0; margin:0; overflow:hidden; }
/* 사용자페이지에서 보기 */
#sub01 ~ #pHelpButton { display:none; }

/* ##### .strip-poker-v2 */
.strip-poker-v2 { --sp-rail:clamp(210px,25vw,340px); --sp-gold:#e0bd77; --sp-muted:#93b3aa; position:fixed; inset:0; z-index:10000; width:100%; height:100vh; height:100dvh; overflow:hidden; isolation:isolate; color:#f2f3e9; background:radial-gradient(ellipse at 67% 40%,#1e5147 0%,#10382f 48%,#071e1a 100%); }
.strip-poker-v2::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.12; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.55' filter='url(%23n)'/%3E%3C/svg%3E"); }
.strip-poker-v2::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; box-shadow:inset 0 0 160px 24px #0005; }
.strip-poker-v2 *, .strip-poker-v2 *::before, .strip-poker-v2 *::after { box-sizing:border-box; }
.strip-poker-v2 #sp-canvas { position:absolute; inset:0; z-index:1; pointer-events:none; }
.strip-poker-v2 #sp-canvas canvas { display:block; }
.strip-poker-v2 .jw-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; margin:0; padding:10px 18px; border:1px solid #d7e6d927; border-radius:10px; color:#eaf0e7; background:#08251e8c; box-shadow:none; font-size:inherit; font-weight:600; text-decoration:none; cursor:pointer; transition:background .18s,border-color .18s,transform .18s,opacity .18s; }
.strip-poker-v2 .jw-button:hover:not(:disabled) { border-color:#e0bd7780; background:#234a3d; transform:translateY(-1px); }
.strip-poker-v2 .jw-button:active:not(:disabled) { transform:translateY(1px); }
.strip-poker-v2 .jw-button:focus-visible { outline:2px solid var(--sp-gold); outline-offset:4px; }
.strip-poker-v2 .jw-button:disabled { opacity:.32; cursor:default; }
.strip-poker-v2 .jw-button.solid { border-color:var(--sp-gold); color:#243328; background:var(--sp-gold); }
.strip-poker-v2 .jw-button.solid:hover:not(:disabled) { border-color:#f2d89f; background:#f2d89f; }
.strip-poker-v2 svg { flex:none; width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.strip-poker-v2 .sp-opponent { position:absolute; z-index:2; top:50%; transform:translateY(-50%); left:30px; width:var(--sp-rail); display:flex; flex-direction:column; gap:18px; }
.strip-poker-v2 .sp-portrait { position:relative; flex:1; min-height:0; overflow:hidden; border:1px solid #d5c09a30; border-radius:18px; background:linear-gradient(145deg,#172f29,#0a1b17); box-shadow:0 20px 60px #0004; }
.strip-poker-v2 .sp-portrait::after { content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; box-shadow:inset 0 0 36px #0003; }
.strip-poker-v2 .sp-portrait img { display:block; width:100%; height:100%; object-fit:contain; }
.strip-poker-v2 .sp-image-fallback { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:22px; color:#a7bcb0; text-align:center; }
.strip-poker-v2 .sp-image-fallback > span { color:var(--sp-gold); font-size:24px; }
.strip-poker-v2 .sp-image-fallback p { margin:0; font-size:12px; }
.strip-poker-v2 .sp-stage-label { position:absolute; z-index:1; top:14px; left:14px; padding:7px 10px; border:1px solid #ffffff1c; border-radius:7px; color:#e8d9b8; background:#071e1bcc; font-size:12px; backdrop-filter:blur(12px); }
.strip-poker-v2 .sp-opponent-info { flex:none; padding:0 4px; }
.strip-poker-v2 .sp-opponent-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.strip-poker-v2 .sp-opponent-heading > strong { min-width:0; overflow:hidden; color:#f6f1df; font-size:18px; text-overflow:ellipsis; white-space:nowrap; }
.strip-poker-v2 .sp-balance { display:inline-flex; align-items:center; gap:7px; color:var(--sp-gold); font-variant-numeric:tabular-nums; white-space:nowrap; }
.strip-poker-v2 .sp-balance i { display:block; width:12px; height:12px; border:2px solid currentColor; border-radius:50%; outline:1px solid #e0bd7740; outline-offset:2px; }
.strip-poker-v2 .sp-stages { display:flex; gap:7px; margin:16px 0 0; padding:0; list-style:none; }
.strip-poker-v2 .sp-stages li { position:relative; flex:1; height:4px; overflow:hidden; border-radius:4px; color:transparent; background:#adc8b925; text-indent:-9999px; }
.strip-poker-v2 .sp-stages li.is-open { background:#b8a172; }
.strip-poker-v2 .sp-stages li.is-current { background:var(--sp-gold); box-shadow:0 0 14px #e0bd7740; }
.strip-poker-v2 .sp-tools { position:absolute; z-index:4; top:24px; right:30px; display:flex; align-items:center; gap:8px; }
.strip-poker-v2 .sp-tool { width:40px; min-height:40px; padding:9px; border-color:transparent; background:#071d1659; }
.strip-poker-v2 .sp-open-players { min-height:40px; padding:9px 13px; font-size:12px; }
.strip-poker-v2 .sp-exit { min-height:40px; padding:9px 13px; border-color:#e08a7c99; color:#f0a99c; font-size:12px; }
.strip-poker-v2 .sp-exit:hover:not(:disabled) { border-color:#f0a99c; background:#3a2320; }
.strip-poker-v2 .sp-sound-slash { display:none; }
.strip-poker-v2 #sp-sound.is-muted .sp-sound-waves, .strip-poker-v2 #sp-sound[aria-pressed="true"] .sp-sound-waves { display:none; }
.strip-poker-v2 #sp-sound.is-muted .sp-sound-slash, .strip-poker-v2 #sp-sound[aria-pressed="true"] .sp-sound-slash { display:block; }
.strip-poker-v2 .sp-play-area { position:absolute; z-index:2; top:86px; right:42px; bottom:28px; left:calc(var(--sp-rail) + 76px); pointer-events:none; }
.strip-poker-v2 .sp-hand-number { position:absolute; top:-48px; left:0; color:#91aa9b; font-size:12px; font-variant-numeric:tabular-nums; }
.strip-poker-v2 .sp-seat { position:absolute; right:0; left:0; display:flex; flex-direction:column; gap:12px; }
.strip-poker-v2 .sp-seat-pc { top:0; height:30%; }
.strip-poker-v2 .sp-seat-player { bottom:112px; height:30%; }
.strip-poker-v2 .sp-seat-heading { display:flex; flex:none; align-items:center; justify-content:space-between; min-height:24px; gap:12px; padding:0 4px; }
.strip-poker-v2 .sp-seat-label { display:inline-flex; align-items:center; gap:16px; color:#9db6a8; font-size:12px; font-weight:600; }
.strip-poker-v2 .sp-seat-label .sp-balance { font-size:16px; }
.strip-poker-v2.is-player-turn .sp-seat-player .sp-seat-label, .strip-poker-v2.is-pc-turn .sp-seat-pc .sp-seat-label { color:#f2d59a; }
.strip-poker-v2 .sp-rank { overflow:hidden; max-width:65%; color:#c5d7ca; font-size:12px; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.strip-poker-v2 .sp-card-zone { position:relative; flex:1; min-height:0; }
.strip-poker-v2 .sp-table-center { position:absolute; top:39%; right:0; left:0; display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; }
.strip-poker-v2 .sp-street { color:#8cae9e; font-size:12px; }
.strip-poker-v2 .sp-pot { display:flex; align-items:baseline; justify-content:center; gap:12px; }
.strip-poker-v2 .sp-pot > span { color:#b3c9b7; font-size:12px; }
.strip-poker-v2 .sp-pot > strong { color:#f4dfae; font-size:24px; font-variant-numeric:tabular-nums; }
.strip-poker-v2 .sp-result { position:absolute; top:calc(100% + 18px); left:50%; margin:0; color:#f4d99e; font-size:24px; font-weight:700; text-align:center; white-space:nowrap; text-shadow:0 3px 18px #0008; transform:translateX(-50%); }
.strip-poker-v2 .sp-result.is-lost { color:#e3aaa0; }
.strip-poker-v2 .sp-result.is-tie { color:#d6e6d7; }
.strip-poker-v2 .sp-controls { position:absolute; right:0; bottom:0; left:0; display:flex; flex-direction:column; align-items:center; gap:14px; pointer-events:auto; }
.strip-poker-v2 .sp-status { min-height:18px; margin:0; color:#c8d8ca; font-size:12px; text-align:center; }
.strip-poker-v2 .sp-actions { display:flex; justify-content:center; width:100%; gap:10px; }
.strip-poker-v2 .sp-actions .jw-button { flex:1; max-width:180px; min-height:52px; }
.strip-poker-v2 .sp-actions .sp-next { min-width:170px; }
.strip-poker-v2 .sp-actions .sp-fold { color:#baa99a; }
.strip-poker-v2 .sp-actions .sp-call { background:#ffffff0d; }
.strip-poker-v2 .sp-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; margin:-1px; padding:0; border:0; clip-path:inset(50%); white-space:nowrap; }
.strip-poker-v2 .sp-dialog { inset:0; width:fit-content; max-width:min(680px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:26px; border:1px solid #c7b48150; border-radius:20px; color:#eef0e5; background:#112b24; box-shadow:0 35px 120px #0009; transform:none; }
.strip-poker-v2 .sp-dialog::backdrop { background:#020c09b5; backdrop-filter:blur(10px); }
.strip-poker-v2 .sp-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.strip-poker-v2 .sp-dialog-heading h2 { margin:0; font-size:18px; }
.strip-poker-v2 .sp-dialog-close { width:36px; min-height:36px; padding:7px; border-color:transparent; }
.strip-poker-v2 .sp-player-list { display:flex; flex-wrap:wrap; gap:12px; }
.strip-poker-v2 .sp-player-option { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px; width:200px; height:auto; padding:9px; border-color:#c5ddc823; border-radius:13px; text-align:left; }
.strip-poker-v2 .sp-player-option.is-selected { border-color:var(--sp-gold); background:#e0bd7712; }
.strip-poker-v2 .sp-player-option img { display:block; width:100%; aspect-ratio:3/4; border-radius:8px; background:#061b16; object-fit:contain; }
.strip-poker-v2 .sp-player-option-copy { display:flex; flex-direction:column; gap:7px; min-width:0; padding:2px 3px 5px; }
.strip-poker-v2 .sp-player-option-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.strip-poker-v2 .sp-player-option-copy span, .strip-poker-v2 .sp-player-option-copy small { color:#a3b9aa; font-size:12px; font-weight:400; }
.strip-poker-v2 .sp-config-errors { margin-top:18px; padding:13px; border:1px solid #d4a66e3d; border-radius:10px; color:#e1c59e; font-size:12px; }
.strip-poker-v2 .sp-config-errors summary { cursor:pointer; }
.strip-poker-v2 .sp-config-errors ul { display:grid; gap:10px; margin:14px 0 0; padding-left:18px; }
.strip-poker-v2 .sp-noscript { position:absolute; z-index:5; right:20px; bottom:20px; left:20px; margin:0; padding:18px; border-radius:10px; color:#fff; background:#263e30; text-align:center; }
.strip-poker-v2.is-cleared .sp-portrait { border-color:var(--sp-gold); box-shadow:0 0 50px #dcb55c24; }
.strip-poker-v2.is-cleared .sp-status { color:#f0d59e; }
@media (max-width:1000px) {
	.strip-poker-v2 { --sp-rail:220px; }
	.strip-poker-v2 .sp-opponent { top:24px; bottom:24px; left:20px; }
	.strip-poker-v2 .sp-play-area { right:24px; left:calc(var(--sp-rail) + 48px); }
	.strip-poker-v2 .sp-tools { right:24px; }
	.strip-poker-v2 .sp-opponent-heading { align-items:flex-start; flex-direction:column; gap:10px; }
	.strip-poker-v2 .sp-seat-player { bottom:108px; }
	.strip-poker-v2 .sp-actions { gap:7px; }
	.strip-poker-v2 .sp-actions .jw-button { padding:10px 12px; }
}
@media (max-width:700px) {
	.strip-poker-v2 .sp-opponent { top:max(16px,env(safe-area-inset-top)); bottom:auto; right:156px; left:18px; width:auto; height:120px; flex-direction:row; gap:15px; }
	.strip-poker-v2 .sp-portrait { flex:none; width:86px; height:120px; border-radius:12px; }
	.strip-poker-v2 .sp-portrait .sp-stage-label { top:auto; bottom:5px; left:5px; padding:4px 6px; font-size:12px; }
	.strip-poker-v2 .sp-opponent-info { display:flex; flex:1; flex-direction:column; justify-content:center; min-width:0; padding:0; }
	.strip-poker-v2 .sp-opponent-heading { align-items:stretch; gap:12px; }
	.strip-poker-v2 .sp-opponent-heading > strong { font-size:16px; }
	.strip-poker-v2 .sp-stages { margin-top:16px; }
	.strip-poker-v2 .sp-tools { top:max(16px,env(safe-area-inset-top)); right:14px; display:grid; grid-template-columns:repeat(3,34px); gap:6px; }
	.strip-poker-v2 .sp-open-players { grid-column:1/-1; min-height:38px; }
	.strip-poker-v2 .sp-exit { grid-column:1/-1; min-height:38px; }
	.strip-poker-v2 .sp-tool { width:34px; min-height:34px; padding:7px; }
	.strip-poker-v2 .sp-play-area { top:162px; right:18px; bottom:max(20px,env(safe-area-inset-bottom)); left:18px; }
	.strip-poker-v2 .sp-hand-number { top:-22px; right:0; left:auto; }
	.strip-poker-v2 .sp-seat { gap:9px; }
	.strip-poker-v2 .sp-seat-pc { height:29%; }
	.strip-poker-v2 .sp-seat-player { bottom:100px; height:29%; }
	.strip-poker-v2 .sp-table-center { top:32%; gap:4px; }
	.strip-poker-v2 .sp-controls { gap:12px; }
	.strip-poker-v2 .sp-actions .jw-button { min-height:48px; padding:10px 8px; }
	.strip-poker-v2 .sp-actions .sp-next { min-width:130px; }
	.strip-poker-v2 .sp-dialog { padding:20px; }
	.strip-poker-v2 .sp-player-option { width:150px; }
}
@media (max-width:400px) {
	.strip-poker-v2 .sp-opponent { right:137px; left:12px; gap:9px; }
	.strip-poker-v2 .sp-portrait { width:72px; }
	.strip-poker-v2 .sp-opponent-heading > strong { font-size:inherit; }
	.strip-poker-v2 .sp-tools { right:10px; gap:4px; }
	.strip-poker-v2 .sp-play-area { right:12px; left:12px; }
	.strip-poker-v2 .sp-actions { gap:5px; }
	.strip-poker-v2 .sp-actions .sp-next { min-width:110px; }
}
@media (max-height:650px) and (min-width:701px) {
	.strip-poker-v2 { --sp-rail:clamp(150px,22vw,230px); }
	.strip-poker-v2 .sp-opponent { top:18px; bottom:18px; left:18px; gap:12px; }
	.strip-poker-v2 .sp-opponent-heading { flex-direction:row; align-items:center; gap:8px; }
	.strip-poker-v2 .sp-opponent-heading > strong { font-size:16px; }
	.strip-poker-v2 .sp-stages { margin-top:12px; }
	.strip-poker-v2 .sp-tools { top:14px; right:20px; gap:5px; }
	.strip-poker-v2 .sp-tools .jw-button { min-height:34px; padding:6px 9px; }
	.strip-poker-v2 .sp-play-area { top:64px; right:24px; bottom:16px; left:calc(var(--sp-rail) + 44px); }
	.strip-poker-v2 .sp-hand-number { top:-36px; }
	.strip-poker-v2 .sp-seat { gap:5px; }
	.strip-poker-v2 .sp-seat-pc { height:31%; }
	.strip-poker-v2 .sp-seat-player { bottom:78px; height:31%; }
	.strip-poker-v2 .sp-seat-heading { min-height:18px; }
	.strip-poker-v2 .sp-table-center { top:32%; gap:2px; }
	.strip-poker-v2 .sp-pot > strong { font-size:18px; }
	.strip-poker-v2 .sp-controls { gap:8px; }
	.strip-poker-v2 .sp-actions .jw-button { min-height:40px; padding:8px 10px; }
	.strip-poker-v2 .sp-status { min-height:15px; }
}
@media (max-height:700px) and (max-width:700px) and (orientation:portrait) {
	.strip-poker-v2 .sp-opponent { height:96px; }
	.strip-poker-v2 .sp-portrait { height:96px; width:72px; }
	.strip-poker-v2 .sp-play-area { top:134px; bottom:max(14px,env(safe-area-inset-bottom)); }
	.strip-poker-v2 .sp-seat-player { bottom:88px; }
	.strip-poker-v2 .sp-controls { gap:8px; }
	.strip-poker-v2 .sp-actions .jw-button { min-height:42px; }
}
@media (max-height:500px) and (max-width:700px) and (orientation:landscape) {
	.strip-poker-v2 { --sp-rail:130px; }
	.strip-poker-v2 .sp-opponent { top:12px; bottom:12px; right:auto; left:12px; width:130px; height:auto; flex-direction:column; gap:8px; }
	.strip-poker-v2 .sp-portrait { flex:1; width:100%; height:auto; }
	.strip-poker-v2 .sp-opponent-info { flex:none; }
	.strip-poker-v2 .sp-opponent-heading { flex-direction:row; align-items:center; gap:5px; }
	.strip-poker-v2 .sp-opponent-heading > strong { font-size:inherit; }
	.strip-poker-v2 .sp-stages { margin-top:8px; }
	.strip-poker-v2 .sp-tools { top:8px; right:12px; display:flex; gap:4px; }
	.strip-poker-v2 .sp-tools .jw-button { min-height:30px; padding:5px 8px; }
	.strip-poker-v2 .sp-play-area { top:48px; right:14px; bottom:10px; left:160px; }
	.strip-poker-v2 .sp-hand-number { top:-27px; right:auto; left:0; }
	.strip-poker-v2 .sp-seat { gap:3px; }
	.strip-poker-v2 .sp-seat-pc { height:29%; }
	.strip-poker-v2 .sp-seat-player { bottom:66px; height:29%; }
	.strip-poker-v2 .sp-seat-heading { min-height:17px; }
	.strip-poker-v2 .sp-table-center { top:32%; gap:1px; }
	.strip-poker-v2 .sp-pot > strong { font-size:18px; }
	.strip-poker-v2 .sp-street { display:none; }
	.strip-poker-v2 .sp-controls { gap:5px; }
	.strip-poker-v2 .sp-actions .jw-button { min-height:34px; padding:6px; }
}
@media (prefers-reduced-motion:reduce) {
	.strip-poker-v2 .jw-button { transition:none; }
}
@media (max-height:500px) and (orientation:landscape) {
	.strip-poker-v2 .sp-table-center { top:33%; flex-direction:row; justify-content:center; }
	.strip-poker-v2 .sp-street { display:none; }
	.strip-poker-v2 .sp-result { top:50%; left:calc(50% - 90px); font-size:18px; transform:translate(-100%,-50%); }
}
@media (max-width:550px) and (max-height:500px) and (orientation:landscape) {
	.strip-poker-v2.has-result .sp-pot { visibility:hidden; }
	.strip-poker-v2 .sp-result { left:50%; transform:translate(-50%,-50%); }
}
.strip-poker-v2 [hidden], .strip-poker-v2 img[hidden], .strip-poker-v2 button[hidden] { display:none; }
