#online-game.oa-online-duel-active {max-width:none!important;width:100%}
#online-game.oa-online-duel-active .oa-online-shell {display:block!important;background:linear-gradient(145deg,#13262c,#0b171d)!important;border:1px solid #37565a!important;box-shadow:none!important;overflow:visible!important}
#online-game.oa-online-duel-active .oa-online-shell::before {display:none!important}
#online-game .oa-duel-layout-v2 {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;margin-top:10px;width:100%}
#online-game .oa-duel-left-v2,#online-game .oa-duel-right-v2 {min-width:0;display:flex;flex-direction:column;gap:10px}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-players {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;min-height:0!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player {min-height:0!important;padding:12px!important;border-radius:12px!important;background:linear-gradient(145deg,#1c4540,#102a30)!important;border:1px solid #6caa86!important;box-shadow:none!important;outline:none!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 #online-card-2 {background:linear-gradient(145deg,#543a2c,#2b2327)!important;border-color:#c58c55!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player.active {outline:2px solid #baff60!important;outline-offset:-2px!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player-top {display:block!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player-top strong {font-size:clamp(14px,1.7vw,23px)!important;overflow-wrap:anywhere}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player-bottom {display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important;margin:8px 0 0!important;text-align:left!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player-bottom b {font-size:clamp(24px,3.3vw,48px)!important;letter-spacing:-.04em!important;color:#c6ff7c!important;text-shadow:none!important;text-align:left!important;overflow-wrap:anywhere}
#online-game.oa-online-duel-active .oa-duel-layout-v2 #online-card-2 b {color:#ffc17d!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-last {display:flex!important;flex-wrap:wrap;gap:8px!important;padding:12px!important;background:#15292e!important;border:1px solid #37565a!important;box-shadow:none!important;margin:0!important}
#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-last strong {font-size:clamp(15px,1.6vw,22px)!important;overflow-wrap:anywhere;min-width:0}
#online-game.oa-online-duel-active .oa-duel-layout-v2 #online-duel-panel {display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box;margin:0!important;padding:12px!important;background:#14292e!important;border:1px solid #37565a!important;border-radius:12px!important}
#online-game .oa-duel-layout-v2 #online-duel-panel.oa-duel-locked {opacity:.52;pointer-events:none}
#online-game .oa-duel-layout-v2 .oa-duel-keypad,#online-game .oa-duel-layout-v2 .oa-duel-quick,#online-game .oa-duel-layout-v2 .oa-duel-ring {max-width:none!important;width:100%!important;gap:6px!important}
#online-game .oa-duel-layout-v2 .oa-duel-keypad button {min-height:clamp(44px,6vh,66px)!important;background:#203d44;border-color:#486d72;border-radius:9px;font-size:clamp(17px,2vw,26px)}
#online-game .oa-duel-layout-v2 .oa-duel-keypad .oa-duel-confirm {background:#baff60;color:#14200d}
#online-game .oa-duel-layout-v2 .oa-duel-quick button,#online-game .oa-duel-layout-v2 .oa-duel-ring button {min-height:40px;border-radius:9px;background:#1b403e;border-color:#48756a}
#online-game .oa-duel-layout-v2 .oa-duel-ring button.selected {background:#baff60;color:#14200d}
#online-game .oa-duel-layout-v2 .oa-online-checkout-box,#online-game .oa-duel-layout-v2 .oa-online-waiting,#online-game .oa-duel-history-v2 {background:#14292e!important;border:1px solid #37565a!important;border-radius:12px!important;padding:12px!important;box-shadow:none!important;margin:0!important}
#online-game .oa-duel-history-v2 summary {cursor:pointer;color:#d8f4df}#online-game .oa-duel-history-v2 ol {max-height:240px;overflow:auto;padding-left:24px;font-size:14px}
#online-rematch.oa-rematch-popup:not([hidden]) {position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;z-index:2147483000!important;margin:0!important;padding:24px!important;text-align:center;background:#192b20!important;border:1px solid #baff60!important;box-shadow:0 0 0 100vmax #0009,0 12px 40px #0009;border-radius:16px!important;color:#fff}
#online-rematch.oa-rematch-popup>div {justify-content:center}#online-rematch.oa-rematch-popup button {min-height:44px;padding:10px 16px}#online-rematch.oa-rematch-popup #online-rematch-accept,#online-rematch.oa-rematch-popup #online-rematch-request {background:#baff60;color:#14200d;font-weight:800}.oa-rematch-timer {font-size:13px;color:#c7d9c2;margin:8px 0 0}
@media(max-width:760px){#online-game .oa-duel-layout-v2{grid-template-columns:minmax(0,1fr)}#online-game.oa-online-duel-active .oa-duel-layout-v2 .oa-online-player{padding:8px!important}#online-game .oa-duel-layout-v2 .oa-duel-keypad button{min-height:48px!important}}

#online-game.oa-online-duel-active #online-duel-panel .hint {display:none!important}
#oa-rematch-close {display:none}
#online-rematch.oa-rematch-popup #oa-rematch-close {display:block;position:absolute;right:8px;top:8px;min-width:44px;min-height:44px;padding:0;font-size:26px;background:transparent;border:0;color:#d8f4df}
#online-rematch.oa-rematch-popup {padding-top:54px!important;max-height:calc(100dvh - 32px);overflow:auto}
