/* v312: existing free-match cards, grouped disposal zones and contextual controls. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-title-h:30px; --v310-clock-h:28px; --v310-phase-h:36px; --v310-shared-h:32px;
 --v310-body-pad:8px; --v310-row-pad:6px; --v310-row-gap:12px;
 --v310-seat-gap:14px; --v310-card-gap:8px; --v310-preferred-card:82px;
 --v310-portrait-w:min(210px,15vw,calc((100dvh - 472px) / 2.85));
 --v310-seat-label-h:22px; --v312-disposal-h:92px; --v312-zone-h:58px;
 --v310-own-hand-h:122px; --v310-hand-w:68px; --v310-hand-gap:7px;
 --v310-ally-panel-h:66px; --v310-mini-hand-w:20px; --v310-mini-hand-gap:3px;
 display:grid!important; grid-template-columns:180px minmax(0,1fr) 180px!important;
 grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(0,1fr) var(--v312-disposal-h) minmax(0,1fr) var(--v310-own-hand-h) var(--v312-disposal-h)!important;
 grid-auto-flow:row!important; gap:4px!important; box-sizing:border-box!important;
 width:100%!important; max-width:100vw!important; height:100dvh!important; min-height:0!important;
 margin:0!important; padding:max(4px,env(safe-area-inset-top)) max(var(--v310-body-pad),env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(var(--v310-body-pad),env(safe-area-inset-left))!important;
 overflow:hidden!important; overscroll-behavior:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#title-screen,#home-screen,#character-select-screen,#matching-screen)[hidden] {
display:none!important;visibility:hidden!important;pointer-events:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > h2 {
position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:1!important;
 display:grid!important;place-items:center!important;min-width:0!important;min-height:0!important;
 height:var(--v310-title-h)!important;margin:0!important;padding:0 210px!important;font-size:23px!important;line-height:1!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > h2::before,
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > h2::after {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #turn-info {
position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:2!important;
 width:min(100%,1440px)!important;min-width:0!important;height:var(--v310-clock-h)!important;min-height:0!important;max-height:var(--v310-clock-h)!important;
 margin:0 auto!important;padding:0!important;transform:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #turn-info.v65-clock-mounted {
grid-template-columns:minmax(0,1fr) minmax(90px,.9fr) minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #turn-info > * {
min-width:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #phase-bar {
position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:3!important;
 width:100%!important;min-width:0!important;min-height:0!important;height:var(--v310-phase-h)!important;max-height:var(--v310-phase-h)!important;
 box-sizing:border-box!important;margin:0!important;padding:4px 12px 4px 154px!important;font-size:12px!important;line-height:1.3!important;
 clip-path:none!important;overflow:hidden!important;white-space:normal!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves {
position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:4!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 min-width:0!important;height:var(--v310-shared-h)!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves > * {
display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;padding:1px 5px!important;box-sizing:border-box!important;border:1px solid #d4af374b;background:#00110c80;font-size:11px!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves .card {
position:relative!important;inset:auto!important;width:24px!important;min-width:24px!important;max-width:24px!important;height:26px!important;min-height:26px!important;max-height:26px!important;flex:0 0 24px!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:1!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves {
z-index:65!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-row {
--v310-field-w:min(var(--v310-preferred-card),calc((100vw - 2 * var(--v310-body-pad) - 2 * var(--v310-row-pad) - 2 * var(--v310-portrait-w) - 2 * var(--v310-row-gap) - var(--v310-seat-gap) - var(--v310-team-gaps,2) * var(--v310-card-gap)) / var(--v310-team-slots,4)));
 --v310-field-h:calc(var(--v310-field-w) * 1.43);
 position:relative!important;inset:auto!important;grid-column:1/-1!important;
 display:grid!important;grid-template-columns:var(--v310-portrait-w) minmax(0,1fr) var(--v310-portrait-w)!important;
 align-items:center!important;column-gap:var(--v310-row-gap)!important;
 width:min(100%,1440px)!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:100%!important;max-height:100%!important;
 margin:0 auto!important;padding:0 var(--v310-row-pad)!important;box-sizing:border-box!important;overflow:visible!important;z-index:60!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-enemy-row {
grid-row:5!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-player-row {
grid-row:7!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields {
position:relative!important;inset:auto!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;gap:var(--v310-seat-gap)!important;width:100%!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area {
--v310-seat-slots:2;position:relative!important;inset:auto!important;contain:none!important;transform:none!important;perspective:none!important;filter:none!important;will-change:auto!important;
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--v310-seat-label-h) var(--v310-field-h)!important;
 grid-column:auto!important;grid-row:auto!important;align-content:center!important;gap:0!important;flex:0 0 auto!important;
 width:calc(var(--v310-seat-slots) * var(--v310-field-w) + (var(--v310-seat-slots) - 1) * var(--v310-card-gap))!important;
 min-width:0!important;max-width:none!important;min-height:0!important;height:auto!important;max-height:none!important;
 margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area:has([data-v309-field-slots="3"]) {
--v310-seat-slots:3;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area:has([data-v309-field-slots="4"]) {
--v310-seat-slots:4;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area::before,
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area::after {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area.v309-duo-acting {
outline:1px solid #f4d88d80!important;outline-offset:3px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields .v309-native-seat-label {
position:relative!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;height:var(--v310-seat-label-h)!important;min-height:0!important;margin:0!important;padding:0 2px!important;font-size:12px!important;line-height:var(--v310-seat-label-h)!important;letter-spacing:0!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) {
position:relative!important;inset:auto!important;grid-column:1!important;grid-row:2!important;
 display:grid!important;grid-template-columns:repeat(var(--v309-field-slots,2),var(--v310-field-w))!important;grid-template-rows:var(--v310-field-h)!important;grid-auto-flow:column!important;grid-auto-columns:var(--v310-field-w)!important;
 place-content:center!important;place-items:center!important;gap:var(--v310-card-gap)!important;
 width:max-content!important;min-width:0!important;max-width:none!important;height:var(--v310-field-h)!important;min-height:0!important;max-height:var(--v310-field-h)!important;
 margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:visible!important;touch-action:manipulation!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card {
position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;grid-column:var(--v310-field-column,var(--field-v304-slot-column,auto))!important;grid-row:1!important;justify-self:center!important;align-self:center!important;width:var(--v310-field-w)!important;min-width:var(--v310-field-w)!important;max-width:var(--v310-field-w)!important;height:var(--v310-field-h)!important;min-height:var(--v310-field-h)!important;max-height:var(--v310-field-h)!important;margin:0!important;margin-inline:0!important;padding:0!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important;transition:box-shadow .16s ease,filter .16s ease!important;z-index:2!important;font-size:clamp(15px,2.2vw,25px)!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v309-field-slot="0"] {
grid-column:1!important;grid-row:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v309-field-slot="1"] {
grid-column:2!important;grid-row:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v309-field-slot="2"] {
grid-column:3!important;grid-row:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v309-field-slot="3"] {
grid-column:4!important;grid-row:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait {
position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:var(--v310-portrait-w)!important;min-width:0!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait :is(#player-battle-character,#opponent-battle-character,#v309-ally-battle-character,#v309-enemy2-battle-character).battle-character {
position:relative!important;inset:auto!important;left:0!important;right:auto!important;top:0!important;bottom:auto!important;width:var(--v310-portrait-w)!important;min-width:var(--v310-portrait-w)!important;max-width:var(--v310-portrait-w)!important;height:calc(var(--v310-portrait-w) * 1281 / 925)!important;min-height:calc(var(--v310-portrait-w) * 1281 / 925)!important;max-height:calc(var(--v310-portrait-w) * 1281 / 925)!important;flex:0 0 auto!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;background-position:center top!important;background-size:cover!important;opacity:1!important;z-index:1!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .v64-duelist-plate {
max-width:100%!important;font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .opponent-hand-display {
position:relative!important;inset:auto!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-label {
font-size:9px!important;line-height:12px!important;margin:0!important;padding:0!important;text-align:center!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-cards {
position:relative!important;inset:auto!important;display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center!important;gap:2px!important;width:100%!important;min-width:0!important;height:28px!important;min-height:0!important;max-height:28px!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-mini-card {
position:relative!important;inset:auto!important;left:auto!important;top:auto!important;flex:0 0 auto!important;width:17px!important;min-width:17px!important;height:25px!important;min-height:25px!important;max-height:25px!important;margin:0!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(.opponent-chain-log,.opponent-chain-log-title,#v55-chain-log-toggle) {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-container {
position:absolute!important;inset:auto!important;left:auto!important;right:0!important;top:auto!important;bottom:0!important;width:40px!important;min-width:0!important;height:50px!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important;overflow:visible!important;z-index:5!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-label {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait :is(.deck-pile,.deck-bottom-card) {
width:32px!important;min-width:32px!important;height:44px!important;min-height:44px!important;left:0!important;top:0!important;font-size:14px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .opponent-hand-display {
position:absolute!important;left:calc(100% + 12px)!important;right:auto!important;top:0!important;bottom:auto!important;width:110px!important;height:42px!important;max-height:42px!important;flex:none!important;overflow:visible!important;z-index:6!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] .opponent-hand-display {
left:auto!important;right:calc(100% + 12px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait,
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .opponent-hand-display {
contain:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;filter:none!important;backdrop-filter:none!important;perspective:none!important;will-change:auto!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-container {
left:calc(100% + 12px)!important;right:auto!important;z-index:6!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] .deck-container {
left:auto!important;right:calc(100% + 12px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) {
position:relative!important;inset:auto!important;grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;min-width:0!important;height:var(--v312-disposal-h)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;z-index:65!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v312-enemy-disposals {
grid-row:6!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v312-player-disposals {
grid-row:9!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {
position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:16px minmax(0,1fr)!important;gap:0 8px!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0 3px!important;box-sizing:border-box!important;overflow:visible!important;visibility:visible!important;opacity:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {
grid-column:1/-1!important;grid-row:1!important;position:relative!important;inset:auto!important;min-width:0!important;height:16px!important;margin:0!important;padding:0 5px!important;font-size:11px!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-box {
position:relative!important;inset:auto!important;grid-row:2!important;display:block!important;min-width:0!important;width:100%!important;min-height:0!important;height:100%!important;max-height:none!important;margin:0!important;padding:0 5px!important;box-sizing:border-box!important;overflow:hidden!important;visibility:visible!important;opacity:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {
position:relative!important;inset:auto!important;min-width:0!important;width:100%!important;height:16px!important;min-height:0!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:16px!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) :is(.graveyard-zone,.slash-zone) {
position:relative!important;inset:auto!important;display:flex!important;align-items:flex-start!important;flex-wrap:nowrap!important;gap:7px!important;width:100%!important;min-width:0!important;min-height:var(--v312-zone-h)!important;height:var(--v312-zone-h)!important;max-height:none!important;margin:0!important;padding:2px!important;box-sizing:border-box!important;visibility:visible!important;opacity:1!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x!important;overscroll-behavior-x:contain;scrollbar-width:thin;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .number-stack {
flex:0 0 auto!important;min-width:32px!important;width:32px!important;min-height:38px!important;height:38px!important;max-height:none!important;position:relative!important;margin:0 6px 0 0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) :is(.grave-card,.slash-card,.stacked-zone-card) {
max-height:none!important;font-size:14px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock {
position:relative!important;inset:auto!important;grid-column:2!important;grid-row:8!important;z-index:64!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:18px minmax(0,1fr)!important;width:100%!important;min-width:0!important;min-height:0!important;height:var(--v310-own-hand-h)!important;margin:0!important;padding:0!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-label {
position:relative!important;inset:auto!important;grid-row:1!important;width:100%!important;min-width:0!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:18px!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #hand-row {
position:relative!important;inset:auto!important;grid-row:2!important;display:block!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;isolation:isolate!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #hand-row #hand-zone.card-zone {
position:relative!important;inset:auto!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:safe center!important;gap:var(--v310-hand-gap)!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;perspective:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:thin;touch-action:pan-x!important;z-index:2!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-own-hand-dock #hand-row #hand-zone,#v310-ally-hand-panel #v309-ally-hand) > .card {
position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:var(--v310-hand-w)!important;min-width:var(--v310-hand-w)!important;max-width:var(--v310-hand-w)!important;height:calc(var(--v310-hand-w) * 1.43)!important;min-height:calc(var(--v310-hand-w) * 1.43)!important;max-height:calc(var(--v310-hand-w) * 1.43)!important;flex:0 0 var(--v310-hand-w)!important;margin:0!important;margin-inline:0!important;padding:0!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important;transition:box-shadow .16s ease,filter .16s ease!important;z-index:2!important;box-sizing:border-box!important;font-size:clamp(15px,3.6vw,23px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card:is(.selected-card,.v38-origin-selected,.v38-double-tap-target),
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-own-hand-dock #hand-row #hand-zone,#v310-ally-hand-panel #v309-ally-hand) > .card:is(.selected-card,.adjust-tap-selected) {
outline:2px solid #ffe4a5!important;outline-offset:1px!important;filter:drop-shadow(0 0 5px #ffda7fbb)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #v95-character-hand-underlay {
position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;overflow:hidden!important;pointer-events:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #v95-character-hand-underlay .v95-whole-hand-stack {
left:auto!important;right:-10px!important;top:-45px!important;width:min(42vw,330px)!important;max-width:70%!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel {
--v310-hand-w:var(--v310-mini-hand-w);position:relative!important;inset:auto!important;grid-column:3!important;grid-row:8!important;align-self:center!important;justify-self:end!important;z-index:80!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:22px minmax(0,1fr)!important;width:176px!important;min-width:0!important;height:var(--v310-ally-panel-h)!important;min-height:0!important;margin:0!important;padding:3px 4px!important;gap:2px!important;border:1px solid #c7a4526b!important;border-radius:8px!important;background:#03120ee8!important;box-shadow:0 3px 12px #0006!important;box-sizing:border-box!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel > header {
display:flex!important;align-items:center!important;justify-content:space-between!important;min-width:0!important;gap:3px!important;margin:0!important;padding:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-ally-hand-label {
position:relative!important;inset:auto!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:17px!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-ally-hand-toggle,#v310-ally-hand-close) {
position:relative!important;inset:auto!important;flex:0 0 auto!important;min-width:0!important;min-height:22px!important;height:22px!important;margin:0!important;padding:1px 6px!important;font-size:10px!important;line-height:1!important;touch-action:manipulation!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel .v310-ally-hand-content,
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel #v309-ally-hand-row {
position:relative!important;inset:auto!important;display:block!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel #v309-ally-hand {
position:relative!important;inset:auto!important;display:flex!important;flex-flow:row nowrap!important;justify-content:safe center!important;align-items:center!important;gap:var(--v310-mini-hand-gap)!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important;padding:2px!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;touch-action:pan-x!important;overscroll-behavior-x:contain;scrollbar-width:thin;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="false"] #v309-ally-hand-row #v309-ally-hand > .card {
font-size:9px!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="false"] #v310-ally-hand-help {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] {
--v310-hand-w:min(72px,calc((100vw - 84px) / 5));position:fixed!important;inset:auto!important;right:max(10px,env(safe-area-inset-right))!important;bottom:calc(var(--v312-disposal-h) + 10px + env(safe-area-inset-bottom))!important;width:min(560px,calc(100vw - 20px))!important;height:auto!important;max-height:calc(100dvh - 40px)!important;grid-template-rows:34px minmax(0,1fr) auto!important;padding:10px!important;gap:8px!important;z-index:180!important;overflow:auto!important;overscroll-behavior:contain;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] :is(#v310-ally-hand-toggle,#v310-ally-hand-close) {
min-height:32px!important;height:32px!important;padding:4px 9px!important;font-size:12px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] #v309-ally-hand-label {
font-size:14px!important;line-height:28px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] :is(.v310-ally-hand-content,#v309-ally-hand-row) {
height:auto!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] #v309-ally-hand {
height:auto!important;max-height:calc(100dvh - 140px)!important;flex-wrap:wrap!important;gap:9px!important;padding:5px!important;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel[data-expanded="true"] #v310-ally-hand-help {
display:block!important;min-width:0!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#main-action-dock,#action-buttons,#v309-native-controls,#refresh-confirm-btn,#cancel-action-btn) {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v38-hand-action-controls,#v42-field-card-side-actions,#chain-hand-controls,#counter-menu,#player-chain-menu)[hidden] {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v42-field-card-side-actions {
z-index:155!important;max-width:min(220px,calc(100vw - 12px))!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v38-hand-action-controls {
z-index:155!important;top:0!important;bottom:auto!important;transform:none!important;padding:3px!important;gap:3px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v38-hand-action-controls .action-btn {
min-height:34px!important;max-height:36px!important;padding:3px 7px!important;white-space:pre-line!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v42-field-card-side-actions[data-v312-placement="below"] #chain-hand-controls {
flex-direction:row!important;flex-wrap:wrap!important;gap:6px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v38-hand-action-controls,#chain-hand-controls,#counter-menu,#player-chain-menu) .action-btn {
font-size:13px!important;line-height:1.25!important;min-height:36px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > .v216-battle-account {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v45-battle-menu-button {
top:max(4px,env(safe-area-inset-top))!important;left:max(7px,env(safe-area-inset-left))!important;right:auto!important;width:94px!important;min-width:0!important;height:28px!important;min-height:28px!important;padding:3px 7px!important;font-size:12px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v218-battle-settings {
top:max(4px,env(safe-area-inset-top))!important;right:max(7px,env(safe-area-inset-right))!important;left:auto!important;width:70px!important;min-width:0!important;height:28px!important;min-height:28px!important;padding:3px 7px!important;font-size:12px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v56-chain-log-open {
position:fixed!important;top:max(4px,env(safe-area-inset-top))!important;left:108px!important;right:auto!important;bottom:auto!important;width:88px!important;min-width:0!important;height:28px!important;min-height:28px!important;margin:0!important;padding:3px 6px!important;font-size:10px!important;z-index:160!important;
}

#duo-match-v308.v309-duo-modal-host{position:fixed!important;inset:0!important;z-index:2147483500!important;width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important;background:transparent!important;backdrop-filter:none!important;pointer-events:none!important}
#duo-match-v308.v309-duo-modal-host[hidden]{display:none!important}
#duo-match-v308.v309-duo-modal-host > :is(.v308-modal-backdrop,.v308-status,.v308-toast,.v308-error,.v308-notice){pointer-events:auto!important}
#duo-match-v308.v309-duo-modal-host .v308-modal-backdrop{position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;padding:10px!important;background:#000404b8!important;overflow:auto!important}
#duo-match-v308.v309-duo-modal-host :is(.v308-dialog,.v308-help-panel,.v308-details-panel){pointer-events:auto!important;max-height:calc(100dvh - 24px);overflow-y:auto}
@media (min-width:701px) and (max-height:800px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-title-h:26px;--v310-clock-h:24px;--v310-phase-h:32px;--v310-shared-h:28px;--v310-own-hand-h:100px;--v310-hand-w:54px;--v312-disposal-h:82px;--v312-zone-h:50px;--v310-portrait-w:min(170px,15vw,calc((100dvh - 414px) / 2.85));--v310-preferred-card:70px;
}
}
@media (max-width:700px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-title-h:28px;--v310-clock-h:26px;--v310-phase-h:40px;--v310-shared-h:30px;
 --v310-body-pad:4px;--v310-row-pad:0px;--v310-row-gap:4px;--v310-seat-gap:10px;--v310-card-gap:5px;
 --v310-portrait-w:clamp(70px,18vw,86px);--v310-preferred-card:48px;--v310-seat-label-h:18px;
 --v312-disposal-h:82px;--v312-zone-h:48px;--v310-own-hand-h:122px;--v310-hand-w:min(52px,calc((100vw - 46px) / 5));
 --v310-hand-gap:6px;--v310-ally-panel-h:48px;--v310-mini-hand-w:18px;--v310-mini-hand-gap:3px;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(100px,1fr) var(--v312-disposal-h) minmax(100px,1fr) var(--v310-ally-panel-h) var(--v310-own-hand-h) var(--v312-disposal-h)!important;
 gap:3px!important;
}


body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > h2 {
padding:0 60px 0 130px!important;font-size:14px!important;letter-spacing:1px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #phase-bar {
padding:3px 6px!important;font-size:11px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #phase-bar::before {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields .v309-native-seat-label {
font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .v64-duelist-plate {
font-size:8px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-label {
font-size:7px!important;line-height:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-cards {
height:18px!important;max-height:18px!important;gap:1px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .opponent-hand-display {
top:-12px!important;width:56px!important;height:30px!important;max-height:30px!important;left:calc(100% + 4px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] .opponent-hand-display {
left:auto!important;right:calc(100% + 4px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-label {
font-size:6px!important;line-height:8px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-container {
left:calc(100% + 4px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] .deck-container {
left:auto!important;right:calc(100% + 4px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-container {
left:calc(50vw - var(--v310-body-pad) - 11px)!important;right:auto!important;top:-4px!important;bottom:auto!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] .deck-container {
left:auto!important;right:calc(50vw - var(--v310-body-pad) - 11px)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-mini-card {
width:10px!important;min-width:10px!important;height:16px!important;min-height:16px!important;max-height:16px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .deck-container {
width:24px!important;height:32px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait :is(.deck-pile,.deck-bottom-card) {
width:22px!important;min-width:22px!important;height:30px!important;min-height:30px!important;font-size:11px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves {
gap:4px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves > * {
font-size:9px!important;gap:3px!important;padding:1px 2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves .card {
width:20px!important;min-width:20px!important;max-width:20px!important;flex-basis:20px!important;height:24px!important;min-height:24px!important;max-height:24px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) {
gap:6px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {
gap:0 4px!important;padding:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-box {
padding:0 2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {
font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {
font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock {
grid-column:1!important;grid-row:9!important;grid-template-rows:44px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-label {
height:44px!important;line-height:44px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock:has(> #v38-hand-action-controls:not([hidden])) > #v310-own-hand-label {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock > #v38-hand-action-controls {
position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;grid-column:1!important;grid-row:1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-self:center!important;justify-self:center!important;width:100%!important;max-width:none!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0 3px!important;gap:4px!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock > #v38-hand-action-controls .action-btn {
font-size:10px!important;line-height:1.15!important;min-height:32px!important;max-height:40px!important;padding:3px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v312-player-disposals {
grid-row:10!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel {
grid-column:1!important;grid-row:8!important;width:158px!important;padding:1px 4px!important;grid-template-rows:18px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-ally-hand-toggle,#v310-ally-hand-close) {
min-height:18px!important;height:18px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #v95-character-hand-underlay {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v45-battle-menu-button {
left:4px!important;width:64px!important;height:25px!important;min-height:25px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v56-chain-log-open {
left:73px!important;width:54px!important;height:25px!important;min-height:25px!important;font-size:8px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v218-battle-settings {
right:4px!important;width:52px!important;height:25px!important;min-height:25px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v65-clock-panel {
padding:1px 3px!important;gap:3px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v65-clock-label {
font-size:7px!important;letter-spacing:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v65-clock-time {
font-size:14px!important;min-width:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v65-clock-state {
font-size:7px!important;letter-spacing:0!important;
}
}
@media (max-width:700px) and (max-height:800px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-title-h:24px;--v310-clock-h:22px;--v310-phase-h:28px;--v310-shared-h:24px;
 --v310-portrait-w:70px;--v310-preferred-card:44px;--v310-seat-label-h:14px;
 --v312-disposal-h:62px;--v312-zone-h:38px;--v310-own-hand-h:84px;--v310-hand-w:36px;
 --v310-ally-panel-h:36px;--v310-mini-hand-w:14px;--v310-mini-hand-gap:2px;
 grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(98px,1fr) var(--v312-disposal-h) minmax(98px,1fr) var(--v310-ally-panel-h) var(--v310-own-hand-h) var(--v312-disposal-h)!important;
 gap:2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #phase-bar {
font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves > * {
font-size:8px!important;gap:2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves .card {
width:17px!important;min-width:17px!important;max-width:17px!important;flex-basis:17px!important;height:20px!important;min-height:20px!important;max-height:20px!important;font-size:8px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {
grid-template-rows:12px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {
height:12px!important;line-height:12px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {
height:12px!important;line-height:12px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock {
grid-template-rows:30px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-label {
height:30px!important;line-height:30px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock > #v38-hand-action-controls {
height:30px!important;min-height:30px!important;max-height:30px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock > #v38-hand-action-controls .action-btn {
font-size:9px!important;line-height:1!important;min-height:28px!important;max-height:30px!important;padding:2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel {
grid-template-rows:14px minmax(0,1fr)!important;width:148px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-ally-hand-toggle,#v310-ally-hand-close) {
height:14px!important;min-height:14px!important;font-size:8px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-ally-hand-label {
font-size:8px!important;line-height:14px!important;
}
}
@media (max-height:540px) and (min-width:701px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-title-h:20px;--v310-clock-h:22px;--v310-phase-h:28px;--v310-shared-h:24px;
 --v310-portrait-w:min(76px,calc((100dvh - 250px) / 2.9));--v310-preferred-card:40px;--v310-seat-label-h:14px;
 --v312-disposal-h:54px;--v312-zone-h:26px;--v310-own-hand-h:62px;--v310-hand-w:30px;
 --v310-ally-panel-h:48px;--v310-mini-hand-w:16px;--v310-hand-gap:5px;
 grid-template-columns:120px minmax(0,1fr) 160px!important;
 grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(0,1fr) var(--v312-disposal-h) minmax(0,1fr) var(--v310-own-hand-h) var(--v312-disposal-h)!important;
 gap:2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock {
grid-column:2!important;grid-row:8!important;grid-template-rows:14px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-label {
height:14px!important;line-height:14px!important;font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel {
grid-column:3!important;grid-row:8!important;width:154px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v312-player-disposals {
grid-row:9!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table > h2 {
font-size:14px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait .v64-duelist-plate {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-label {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-hand-cards {
height:14px!important;max-height:14px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .opponent-mini-card {
width:8px!important;min-width:8px!important;height:12px!important;min-height:12px!important;max-height:12px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {
grid-template-rows:12px minmax(0,1fr)!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {
height:12px!important;line-height:12px!important;font-size:9px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {
height:14px!important;line-height:14px!important;font-size:10px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .number-stack {
width:28px!important;min-width:28px!important;height:24px!important;min-height:24px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock #v95-character-hand-underlay {
display:none!important;
}
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
--v310-shared-h:0px;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v309-team-graves {
display:none!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields {
display:grid!important;grid-template-columns:max-content max-content!important;grid-template-rows:auto auto!important;align-content:center!important;justify-content:center!important;align-items:center!important;column-gap:var(--v310-seat-gap)!important;row-gap:4px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area {
grid-row:1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
grid-column:1/-1!important;grid-row:2!important;position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;min-height:34px!important;max-width:100%!important;height:auto!important;margin:0!important;padding:2px 6px!important;border:1px solid #d4af376e!important;border-radius:4px!important;box-sizing:border-box!important;overflow:visible!important;z-index:65!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave[data-owner="self"] {
border-color:#62b5ac!important;background:#07352de6!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave[data-owner="enemy"] {
border-color:#c5777c!important;background:#461118e6!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
display:block!important;min-width:0!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:16px!important;white-space:normal!important;color:#fff0cf!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
position:relative!important;inset:auto!important;width:24px!important;min-width:24px!important;max-width:24px!important;height:28px!important;min-height:28px!important;max-height:28px!important;flex:0 0 24px!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:1!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important;
}
@media (max-width:700px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields {
row-gap:2px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
display:grid!important;grid-template-columns:repeat(3,20px)!important;grid-template-rows:12px 24px!important;justify-content:center!important;gap:0 4px!important;padding:2px!important;min-height:40px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
grid-column:1/-1!important;grid-row:1!important;justify-self:center!important;width:max-content!important;max-width:calc(100vw - 160px)!important;font-size:9px!important;line-height:12px!important;white-space:nowrap!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
grid-row:2!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:24px!important;min-height:24px!important;max-height:24px!important;font-size:9px!important;
}
}
@media (max-width:700px) and (max-height:800px) {
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
grid-template-columns:repeat(3,17px)!important;grid-template-rows:12px 20px!important;min-height:36px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
width:17px!important;min-width:17px!important;max-width:17px!important;height:20px!important;min-height:20px!important;max-height:20px!important;font-size:8px!important;
}
}

/* Both teammates may read their private field values without revealing them
   to the opposing team. Preserve the same native back and number plate. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle :is(#player-field,#v309-ally-field) > .card.card-back.v315-team-private-card {
  isolation:isolate!important;
  color:var(--v157-card-back-ink,#fff1c5)!important;
  font-weight:900!important;
  text-shadow:0 2px 3px #210003,0 0 6px #000,0 0 11px #000!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle :is(#player-field,#v309-ally-field) > .card.card-back.v315-team-private-card::before {
  content:"";position:absolute;left:16%;right:16%;top:50%;z-index:-1;height:34%;
  border:1px solid rgba(255,239,190,.68);border-radius:4px;transform:translateY(-50%);
  background:rgba(72,0,7,.78);box-shadow:0 2px 7px rgba(0,0,0,.58),inset 0 0 10px rgba(255,222,137,.08);
  pointer-events:none;
}

/* v316: turn ownership and the two battle participants remain explicit while
   defense decisions move between players. All markers are static in layout. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
 --v310-shared-h:42px;
}
body.v309-native-duo.v310-team-table #v316-turn-guide {
 grid-column:1/-1!important;grid-row:4!important;display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:24px 14px!important;
 gap:0 8px!important;align-content:center!important;position:relative!important;inset:auto!important;
 box-sizing:border-box!important;width:min(100%,1440px)!important;max-width:100%!important;height:42px!important;
 min-width:0!important;margin:0 auto!important;padding:1px 8px!important;overflow:hidden!important;
 border:1px solid #9b825355!important;border-radius:4px!important;background:#071711eb!important;
 color:#fff3d8!important;font-family:Arial,"Noto Sans JP",sans-serif!important;z-index:66!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-item {
 display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-label {
 display:block!important;flex:0 0 auto!important;min-width:0!important;font-size:10px!important;font-weight:700!important;
 line-height:20px!important;letter-spacing:0!important;color:#decda7!important;white-space:nowrap!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-value {
 display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;font-size:15px!important;font-weight:800!important;line-height:22px!important;letter-spacing:0!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide[data-state="active"] #v316-current-turn .v316-guide-value {
 color:#ffe49a!important;
}
body.v309-native-duo.v310-team-table #v316-next-turn {
 border-left:1px solid #bda16a55!important;padding-left:10px!important;
}
body.v309-native-duo.v310-team-table #v316-next-turn .v316-guide-value {
 color:#c4eaff!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide #v316-next-turn[hidden] {
 display:none!important;
}
body.v309-native-duo.v310-team-table #v316-response-state {
 grid-column:1/-1!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;font-size:10px!important;font-weight:600!important;line-height:14px!important;letter-spacing:0!important;color:#c8e8e5!important;
}
body.v309-native-duo.v310-team-table #v316-turn-guide[data-state="finished"] #v316-current-turn {
 grid-column:1/-1!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields .v309-native-seat-label {
 display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;max-width:100%!important;overflow:visible!important;
}
body.v309-native-duo.v310-team-table .v316-turn-number {
 display:inline-grid!important;place-items:center!important;flex:0 0 17px!important;box-sizing:border-box!important;
 width:17px!important;height:17px!important;border:1px solid #c3aa70!important;border-radius:50%!important;
 background:#10231eea!important;color:#f7e5b9!important;font:800 10px/1 Arial,sans-serif!important;letter-spacing:0!important;
}
body.v309-native-duo.v310-team-table .v316-seat-name {
 min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:inherit!important;
}
body.v309-native-duo.v310-team-table .v316-seat-state {
 display:inline-block!important;flex:0 0 auto!important;box-sizing:border-box!important;max-width:55px!important;
 padding:0 4px!important;border:1px solid #8daba7!important;border-radius:3px!important;
 background:#15302bea!important;color:#d5e9e6!important;font:700 9px/15px Arial,"Noto Sans JP",sans-serif!important;letter-spacing:0!important;
}
body.v309-native-duo.v310-team-table .v316-seat-state[hidden] {display:none!important;}
body.v309-native-duo.v310-team-table [data-v316-turn="current"] .v316-turn-number {
 border-color:#ffe39a!important;background:#f3cf76!important;color:#24180a!important;
}
body.v309-native-duo.v310-team-table [data-v316-turn="current"] .v316-seat-state {
 border-color:#e8c275!important;background:#604416!important;color:#fff0b8!important;
}
body.v309-native-duo.v310-team-table [data-v316-turn="next"] .v316-turn-number {
 border-color:#90c4dd!important;color:#d0ecff!important;
}
body.v309-native-duo.v310-team-table [data-v316-response="true"]:not([data-v316-turn="current"]) .v316-seat-state {
 border-color:#8bd9ec!important;background:#123b49!important;color:#d7f8ff!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area[data-v316-response="true"]:not([data-v316-turn="current"]) {
 outline:1px dashed #95d9eb!important;outline-offset:3px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v316-battle-role] {
 --v316-battle-color:#ffe297;--v316-battle-dark:#49320b;
 outline:3px solid var(--v316-battle-color)!important;outline-offset:1px!important;
 box-shadow:0 0 0 5px #16150de0,0 0 17px #d6aa5266!important;
 font-weight:900!important;font-size:clamp(20px,2.5vw,34px)!important;
 padding-top:15px!important;z-index:7!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v316-battle-role="defense"] {
 --v316-battle-color:#97e7ff;--v316-battle-dark:#103743;
 box-shadow:0 0 0 5px #101b21e8,0 0 17px #62d4ed66!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v316-battle-role]::after {
 content:attr(data-v316-battle-label)!important;position:absolute!important;inset:3px 2px auto!important;
 padding:2px 0!important;border-radius:2px!important;border-bottom:1px solid var(--v316-battle-color)!important;
 background:var(--v316-battle-dark)!important;color:var(--v316-battle-color)!important;
 font:800 10px/13px Arial,"Noto Sans JP",sans-serif!important;letter-spacing:0!important;text-align:center!important;pointer-events:none!important;
}
@media (max-width:700px) {
 body.v309-native-duo.v310-team-table #v316-turn-guide {gap:0 5px!important;padding-inline:5px!important;}
 body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-item {gap:4px!important;}
 body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-label {font-size:8px!important;}
 body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-value {font-size:11px!important;}
 body.v309-native-duo.v310-team-table #v316-next-turn {padding-left:5px!important;}
 body.v309-native-duo.v310-team-table #v316-response-state {font-size:8px!important;}
 body.v309-native-duo.v310-team-table .v316-turn-number {width:13px!important;height:13px!important;flex-basis:13px!important;font-size:8px!important;}
 body.v309-native-duo.v310-team-table .v316-seat-state {padding-inline:2px!important;font-size:7px!important;line-height:11px!important;}
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields .v309-native-seat-label {gap:2px!important;}
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v316-battle-role] {padding-top:11px!important;font-size:clamp(17px,4vw,24px)!important;}
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#player-field,#opponent-field,#v309-ally-field,#v309-enemy2-field) > .card[data-v316-battle-role]::after {padding:1px 0!important;font-size:7px!important;line-height:10px!important;}
}

/* v317: all four cards use the right-side rectangular treatment. The native
   player IDs otherwise inherit older rounded borders and portrait filters. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait :is(#player-battle-character,#opponent-battle-character,#v309-ally-battle-character,#v309-enemy2-battle-character).battle-character.v317-unified-portrait {
 border:0!important;border-radius:4px!important;clip-path:inset(0 round 4px)!important;
 overflow:hidden!important;filter:none!important;background-color:transparent!important;
 box-shadow:0 5px 15px rgba(0,0,0,.58)!important;outline:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v42-field-card-side-actions[data-v317-compact="true"] {
 width:min(180px,calc(100vw - 16px))!important;gap:0!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v42-field-card-side-actions[data-v317-compact="true"] #chain-hand-controls {
 display:flex!important;flex-direction:row!important;gap:5px!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v42-field-card-side-actions[data-v317-compact="true"] :is(#chain-hand-controls .action-btn,#ability-field-swap-confirm) {
 width:auto!important;flex:1 1 0!important;height:36px!important;min-height:36px!important;padding:4px!important;
}

/* Shared initial cards stay beneath their own team's four field cards.
   Their faces and team title have a solid backing instead of fading into felt. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
 display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,34px)!important;
 grid-template-rows:44px!important;grid-auto-flow:column!important;align-items:center!important;
 gap:0 6px!important;min-height:56px!important;padding:5px 7px!important;border-width:2px!important;
 border-radius:5px!important;box-shadow:0 3px 10px #0009,inset 0 0 0 1px #ffffff10!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave[data-owner="self"] {
 border-color:#76cbbd!important;background:#072e28fa!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave[data-owner="enemy"] {
 border-color:#d78a91!important;background:#3a1018fa!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
 grid-column:1!important;grid-row:1!important;justify-self:start!important;width:auto!important;max-width:100%!important;
 font:700 12px/17px Arial,"Noto Sans JP",sans-serif!important;letter-spacing:0!important;
 color:#fff5dc!important;text-shadow:0 1px 2px #000!important;white-space:normal!important;text-align:left!important;
}
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
 grid-row:1!important;grid-column:auto!important;width:34px!important;min-width:34px!important;max-width:34px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 34px!important;
 font-size:17px!important;font-weight:800!important;line-height:1!important;border:1px solid #e3d2aa!important;
 background:#fff8e6!important;box-shadow:0 2px 4px #0008!important;text-shadow:none!important;
}

/* Turn ownership stays on the turn's field during a defense response. This
   quiet light has no animated pulse, geometry change or extra hit target. */
body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields > .field-area[data-v317-turn-active="true"] {
 background:linear-gradient(180deg,rgba(236,201,115,.10),rgba(236,201,115,.035))!important;
 border-radius:6px!important;outline:1px solid rgba(239,207,134,.62)!important;outline-offset:4px!important;
 box-shadow:inset 0 0 24px rgba(232,193,94,.14),0 0 16px rgba(235,196,104,.16)!important;
}
@media (max-width:700px) {
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:repeat(3,28px)!important;grid-template-rows:14px 36px!important;
  justify-content:center!important;gap:3px 5px!important;min-height:62px!important;padding:3px 5px!important;
 }
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
  grid-column:1/-1!important;grid-row:1!important;justify-self:center!important;width:max-content!important;
  max-width:calc(100vw - 160px)!important;font-size:10px!important;line-height:14px!important;white-space:nowrap!important;text-align:center!important;
 }
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  grid-row:2!important;width:28px!important;min-width:28px!important;max-width:28px!important;
  height:36px!important;min-height:36px!important;max-height:36px!important;flex-basis:28px!important;font-size:15px!important;
 }
}
@media (max-height:550px) {
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:minmax(0,1fr) repeat(3,22px)!important;grid-template-rows:28px!important;
  min-height:36px!important;gap:0 4px!important;padding:2px 5px!important;
 }
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
  grid-column:1!important;grid-row:1!important;width:auto!important;justify-self:start!important;
  max-width:100%!important;font-size:9px!important;line-height:12px!important;white-space:normal!important;text-align:left!important;
 }
 body.v309-native-duo.v310-team-table.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  grid-row:1!important;width:22px!important;min-width:22px!important;max-width:22px!important;
  height:28px!important;min-height:28px!important;max-height:28px!important;flex-basis:22px!important;font-size:13px!important;
 }
}

/* v318: each team reserves its own field, shared grave and personal zones.
   These are tracks in the actual table, rather than overflowing children of
   a field row whose height was calculated without the shared cards. */
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
 --v318-shared-track:68px;--v318-team-gap:6px;
 grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(0,1fr) minmax(0,1fr) var(--v310-own-hand-h)!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-row {
 grid-template-rows:minmax(0,1fr) var(--v318-shared-track) var(--v312-disposal-h)!important;
 row-gap:var(--v318-team-gap)!important;align-items:stretch!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-player-row {grid-row:6!important;}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-fields {
 grid-column:2!important;grid-row:1!important;grid-template-rows:minmax(0,1fr)!important;row-gap:0!important;
 height:100%!important;min-height:0!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait {
 grid-row:1/3!important;align-self:stretch!important;justify-content:center!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="left"] {grid-column:1!important;}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v310-team-portrait[data-side="right"] {grid-column:3!important;}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v318-portrait-frame {
 position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto!important;
 width:var(--v310-portrait-w)!important;height:calc(var(--v310-portrait-w) * 1281 / 925)!important;
 min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:6px!important;clip-path:inset(0 round 6px)!important;
 background:transparent!important;overflow:hidden!important;isolation:isolate!important;
 box-shadow:0 5px 15px #0009!important;box-sizing:border-box!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v318-portrait-frame > :is(#player-battle-character,#opponent-battle-character,#v309-ally-battle-character,#v309-enemy2-battle-character).battle-character {
 width:100%!important;min-width:100%!important;max-width:100%!important;
 height:100%!important;min-height:100%!important;max-height:100%!important;
 border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;
 background-color:transparent!important;filter:none!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v318-shared-grave-dock {
 grid-column:2!important;grid-row:2!important;position:relative!important;inset:auto!important;
 display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;
 height:var(--v318-shared-track)!important;min-height:0!important;margin:0!important;padding:0!important;
 overflow:hidden!important;box-sizing:border-box!important;z-index:65!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
 grid-column:1!important;grid-row:1!important;grid-template-columns:minmax(0,1fr) repeat(3,40px)!important;
 grid-template-rows:50px!important;gap:0 8px!important;width:min(100%,520px)!important;
 height:64px!important;min-height:64px!important;max-height:64px!important;padding:5px 8px!important;
 border:2px solid #85d5c8!important;border-radius:6px!important;background:#052d25!important;
 overflow:hidden!important;box-shadow:0 2px 8px #0009,inset 0 0 0 1px #ffffff0d!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave[data-owner="enemy"] {
 border-color:#ed9da6!important;background:#3b0f18!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
 grid-column:1!important;grid-row:1!important;justify-self:start!important;
 width:auto!important;max-width:100%!important;font-size:13px!important;line-height:18px!important;
 white-space:normal!important;text-align:left!important;color:#fff7e5!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
 grid-row:1!important;grid-column:auto!important;width:40px!important;min-width:40px!important;max-width:40px!important;
 height:50px!important;min-height:50px!important;max-height:50px!important;flex-basis:40px!important;
 font-size:20px!important;font-weight:800!important;color:#241e17!important;
 border:1px solid #cfb98b!important;border-radius:4px!important;background:#fff7e3!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) {
 grid-column:1/-1!important;grid-row:3!important;align-self:stretch!important;
 height:var(--v312-disposal-h)!important;min-height:0!important;overflow:hidden!important;
}
body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v310-own-hand-dock,#v310-ally-hand-panel) {grid-row:7!important;}
@media (min-width:701px) and (max-height:800px) {
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
  --v318-shared-track:56px;--v310-portrait-w:min(170px,15vw,calc((100dvh - 426px) / 2.85));
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:minmax(0,1fr) repeat(3,34px)!important;grid-template-rows:44px!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;padding:4px 7px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  width:34px!important;min-width:34px!important;max-width:34px!important;height:44px!important;min-height:44px!important;max-height:44px!important;font-size:18px!important;
 }
}
@media (min-width:701px) and (max-height:740px) {
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
  --v318-shared-track:48px;--v312-disposal-h:50px;--v312-zone-h:26px;
  --v310-preferred-card:56px;--v310-seat-label-h:18px;--v310-own-hand-h:82px;--v310-hand-w:42px;
  --v310-portrait-w:min(170px,15vw,calc((100dvh - 352px) / 2.85));
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:minmax(0,1fr) repeat(3,30px)!important;grid-template-rows:38px!important;
  height:48px!important;min-height:48px!important;max-height:48px!important;padding:3px 7px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  width:30px!important;min-width:30px!important;max-width:30px!important;height:38px!important;min-height:38px!important;max-height:38px!important;font-size:16px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {grid-template-rows:12px minmax(0,1fr)!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {height:12px!important;line-height:12px!important;font-size:10px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {height:12px!important;line-height:12px!important;font-size:10px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .number-stack {height:24px!important;min-height:24px!important;}
}
@media (max-width:700px) {
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
  --v318-shared-track:64px;--v312-disposal-h:54px;--v312-zone-h:28px;--v310-preferred-card:44px;
  grid-template-rows:var(--v310-title-h) var(--v310-clock-h) var(--v310-phase-h) var(--v310-shared-h) minmax(0,1fr) minmax(0,1fr) var(--v310-ally-panel-h) var(--v310-own-hand-h)!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-ally-hand-panel {grid-row:7!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock {grid-row:8!important;grid-template-rows:44px minmax(0,1fr)!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-label {height:44px!important;line-height:44px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table #v310-own-hand-dock[data-v318-context-controls="true"] #v310-own-hand-label {visibility:hidden!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:repeat(3,30px)!important;grid-template-rows:14px 38px!important;
  justify-content:center!important;gap:2px 6px!important;height:64px!important;min-height:64px!important;max-height:64px!important;padding:3px 5px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {
  grid-column:1/-1!important;grid-row:1!important;justify-self:center!important;width:max-content!important;
  max-width:100%!important;font-size:10px!important;line-height:14px!important;white-space:nowrap!important;text-align:center!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  grid-row:2!important;width:30px!important;min-width:30px!important;max-width:30px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;font-size:16px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {grid-template-rows:12px minmax(0,1fr)!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {height:12px!important;line-height:12px!important;font-size:9px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {height:12px!important;line-height:12px!important;font-size:10px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .number-stack {height:26px!important;min-height:26px!important;}
}
@media (max-width:700px) and (max-height:800px) {
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {--v310-own-hand-h:100px;}
}
@media (min-width:701px) and (max-height:550px) {
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table {
  --v310-title-h:18px;--v310-clock-h:20px;--v310-phase-h:24px;--v310-shared-h:30px;
  --v318-shared-track:32px;--v318-team-gap:2px;--v312-disposal-h:36px;--v312-zone-h:14px;
  --v310-preferred-card:34px;--v310-seat-label-h:12px;--v310-own-hand-h:54px;--v310-hand-w:28px;
  --v310-portrait-w:min(76px,calc((100dvh - 225px) / 2.85));
 }
 body.v309-native-duo.v310-team-table #v316-turn-guide {height:var(--v310-shared-h)!important;grid-template-rows:18px 10px!important;}
 body.v309-native-duo.v310-team-table #v316-turn-guide .v316-guide-value {font-size:11px!important;line-height:17px!important;}
 body.v309-native-duo.v310-team-table #v316-turn-guide .v316-response-state {font-size:8px!important;line-height:10px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave {
  grid-template-columns:minmax(0,1fr) repeat(3,20px)!important;grid-template-rows:26px!important;gap:0 4px!important;
  height:32px!important;min-height:32px!important;max-height:32px!important;padding:1px 4px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave .v309-shared-title {font-size:9px!important;line-height:11px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table .v313-team-shared-grave > .card {
  width:20px!important;min-width:20px!important;max-width:20px!important;height:26px!important;min-height:26px!important;max-height:26px!important;font-size:12px!important;
 }
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) > .disposal-container {grid-template-rows:10px minmax(0,1fr)!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .v312-disposal-seat-label {height:10px!important;line-height:10px!important;font-size:8px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .disposal-title {height:10px!important;line-height:10px!important;font-size:9px!important;}
 body.v309-native-duo.v310-team-table.v318-team-layout.v188-shared-battle.v45-battle-active.v64-shocker-battle.v310-team-table :is(#v312-enemy-disposals,#v312-player-disposals) .number-stack {height:14px!important;min-height:14px!important;}
}
