body.v6-active{overflow:hidden}.v6-active #app{min-height:0;margin:0;padding:0}.v6-active #arena{padding:0;margin:0;max-width:none;border:0;border-radius:0;perspective:none;display:block;background:#071726}.v6-live .v6-playmat{display:contents}.v6-live .v6-playmat>div.field-character,.v6-live .v6-playmat>div.field-temple,.v6-live .v6-playmat>div.field-weapon,.v6-live .v6-playmat>div.field-armor{display:contents}.v6-live .field-card{aspect-ratio:auto;max-width:none;min-height:0;background:none}.v6-live .field-card img{max-width:none}.v6-live .opponent-hand{padding:0;margin:0;background:none;border:0;border-radius:0;min-height:0;transform:none}.v6-live .hand{padding:0;gap:0;border:0;background:none;overflow:visible;min-height:0}.v6-live .hand-card{height:auto;max-height:none;min-height:0;width:calc(105% / max(5,var(--hand-count)));min-width:30px;margin-left:-1.5%}.v6-live .hand-card:first-child{margin-left:0}.v6-live .hand-card::after{display:none}.v6-live .stats{margin:0;padding:0;border-radius:0;min-height:0;grid-template-columns:none}.v6-live .stats span{border:0;padding:0;background:none}.v6-live .stats b{font-size:inherit;line-height:1}.v6-live .stats img{margin:0}.v6-live .brand-name{line-height:1}.v6-live .header-tools .icon-button{padding:0;min-width:0;min-height:0}.v6-live .inspector-art{padding:0;border:0;background:none;min-height:0;height:44%;flex-shrink:0}.v6-live .inspector-art .full-card{height:100%;width:100%;object-fit:contain}.v6-live .inspector .effect-copy{font-size:clamp(14px,1.08vw,19px);line-height:1.65;white-space:pre-line;overflow:auto;min-height:0;margin:0}.v6-live .inspector h3{font-size:clamp(17px,1.5vw,25px);margin:0;color:#edce8f}.v6-live .printed-art-crop img{position:absolute;width:112%;height:auto;left:-6%;top:-20%;max-width:none;object-fit:unset}.v6-live .slot-label{padding:0}.v6-live .resource-cards{overflow-x:auto;overflow-y:hidden}.v6-live .resource-card{min-width:22px;flex-shrink:0}.v6-live .resource-card img{max-width:none}.v6-live .can-activate{filter:drop-shadow(0 0 6px #f6c653);outline:1px solid #e6bd60}.v6-live .log-entry button{border:0;padding:0;background:none;flex-shrink:0}.v6-live .log-entry img{display:block}.v6-live .log-entry p{font-size:clamp(12px,.9vw,16px)}.v6-live .log-entry{min-height:76px}.v6-live .pass-button{letter-spacing:0;font-size:clamp(16px,1.3vw,23px)}.v6-actions{position:absolute;right:1%;top:54%;width:19%;display:flex;flex-wrap:wrap;gap:7px;z-index:12;background:#061521e8;padding:12px;border:1px solid #af8a49}.v6-actions button,.v6-response button{font-size:13px;min-height:36px;padding:6px 10px;border:1px solid #af8a49;background:#173144;border-radius:2px}.v6-turn{width:100%;font-size:13px;color:#e8d2a0}.v6-response{position:absolute;right:1%;bottom:15%;width:19%;z-index:15;display:flex;flex-direction:column;gap:5px}.v6-response:empty{display:none}.v6-response button{background:#624322;color:#fff0b7}.v6-live .field-grave{display:block;gap:0;border:0;padding:0;background:none}.v6-live .count-badge{line-height:1.2;min-width:22px}.v6-active #modal .dialog-card>img{object-fit:contain;aspect-ratio:744/1039;max-height:75dvh}.v6-active #modal .primary{clip-path:none;font-size:16px;letter-spacing:0}.v6-active #modal .dialog-top h2{margin:0}.v6-active .public-review-host{z-index:80}.v6-live .field-temple-count{display:none}.v6-live .topbar{position:absolute;max-width:none}.v6-active .flying-card{pointer-events:none}.v6-active .public-review{max-height:65dvh;overflow:auto}.v6-active #toast{z-index:100}.v6-aim{position:fixed;inset:0;z-index:70;pointer-events:none;width:100vw;height:100dvh;filter:drop-shadow(0 2px 3px #000)}.v6-aim path{fill:none;stroke:#ffd98d;stroke-width:8;stroke-linecap:round}.v6-aim .aim-core{stroke:#fff8d5;stroke-width:2}.v6-live .player-god{touch-action:none}.v6-live .deity.targeted{filter:drop-shadow(0 0 18px #ffdd8a)}
@media(max-aspect-ratio:1/1){.v6-live .v6-actions{left:2%;right:auto;top:41.3%;width:21%;padding:4px;gap:3px;max-height:11%;overflow:auto;background:#061521c9}.v6-actions button{width:100%;min-height:25px;padding:3px 2px;font-size:10px}.v6-turn{font-size:9px}.v6-response{left:25%;right:auto;bottom:46%;width:50%;gap:3px}.v6-response button{font-size:11px;min-height:30px;padding:3px}.v6-live .stats{height:22px}.v6-live .deity .art{height:calc(100% - 22px)}.v6-live .stats b{font-size:clamp(12px,3.4vw,20px)}.v6-live .mobile-dock .pass-button{font-size:13px}.v6-live .mobile-dock strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.v6-live .dock-copy{min-width:0}.v6-live .resource-title{font-size:10px}.v6-live .count-badge{font-size:12px;min-width:18px;right:3px;bottom:3px}.v6-active #modal{padding:14px;max-width:96vw}.v6-active .dialog-card{display:flex;flex-direction:column}.v6-active #modal .dialog-card>img{height:49dvh;max-width:100%;align-self:center}.v6-active #modal .dialog-card>div{width:100%;max-height:none}.v6-active #modal .dialog-text{max-height:none;font-size:16px}.v6-live .opponent-hand img{max-width:25%}.v6-active .public-review-host{bottom:12%;top:auto;width:96%;left:2%;right:auto}.v6-active .public-review{max-height:50dvh}.v6-live .hand-card{min-width:20px}.v6-live .inspector{display:none}}

.v6-live .topbar{display:flex;height:7.65%}.v6-live .deity .art{object-fit:cover;object-position:center center;transform:none!important}.v6-live .opponent-hand img{height:100%;width:auto;max-width:16.5%;object-fit:contain;flex-shrink:1}.v6-live .hand-card{flex-basis:auto}.v6-live .slot img{transform:none}.v6-live .resource-card{flex-basis:auto;width:auto}.v6-live .game-card-header img{height:auto;object-fit:unset}.v6-live .field-card .game-card-header img{height:auto}.v6-live .game-card-illustration:not(.printed-art-crop) img{height:100%;object-fit:cover}.v6-live .field-card{margin:0;border:0;box-shadow:none;overflow:visible}.v6-live .field-card img.art{height:calc(100% - 27px)}.v6-live .field-card .card-face .game-card-ui img{height:auto}.v6-live .field-card .card-face .game-card-illustration:not(.printed-art-crop) img{height:100%}.v6-live .slot .card-face{padding:0}.v6-live .pile .card-face img,.v6-live .grave .card-face>img{height:100%;width:100%;object-fit:fill}.v6-live .deity .stats{border:0;border-top:1px solid #d6ae5c99}.v6-live .field-card .stats img{height:19px;width:19px}.v6-live .game-card-picture{pointer-events:none}.v6-live .resource-empty{border:0}
@media(max-aspect-ratio:1/1){.v6-live .topbar{height:6.8%}.v6-live .field-card img.art{height:calc(100% - 22px)}.v6-live .field-card .stats img{height:14px;width:14px}}
.v6-live .printed-art-crop img{width:230%;left:-65%;top:-42%;height:auto!important}.v6-live .deity .stats{font-size:clamp(12px,1.1vw,20px);gap:2px}.v6-live .deity .stats span{gap:2px;min-width:0}.v6-live .deity .stats b{font-weight:600}.v6-live .deity .stats img{width:clamp(12px,1.1vw,18px);height:clamp(12px,1.1vw,18px)}
.v6-active .public-review.collapsed{max-width:240px;margin-left:auto;padding:10px}.v6-active .public-review.collapsed .public-review-title strong{font-size:14px}.v6-active .public-review.collapsed .public-review-title small{font-size:10px}.v6-active .public-review.collapsed .primary{font-size:14px;min-height:36px;padding:5px;clip-path:none;letter-spacing:0}.v6-active .public-review.collapsed .public-review-title{gap:4px}.v6-active .public-review.collapsed .public-review-title button{padding:4px;min-height:32px;font-size:11px}
@media(max-aspect-ratio:1/1){.v6-live .deity .stats{font-size:clamp(12px,3.2vw,18px)}.v6-active .public-review-host:has(.collapsed){bottom:auto;top:7%;left:auto;right:2%;width:51%}}
.v6-live .slot.can-activate{position:absolute;animation:none;border:0}.v6-live .slot.can-activate::after{display:none}.v6-live .deity.can-activate .card-face{box-shadow:0 0 14px #f2c75c80;border-color:#ffe19c}.v6-live .equipment.can-activate .card-face{box-shadow:0 0 12px #f2c75c80}

.v6-tutorial-coach{position:absolute;right:1%;top:11%;width:21%;z-index:25;padding:17px;border:1px solid #d6ad65;background:#071a28f5;max-height:70%;overflow:auto;box-shadow:0 8px 30px #0008}.v6-tutorial-coach .tutorial-coach{border:0;background:none;padding:0;margin:0}.v6-tutorial-coach .tutorial-coach h2{font-size:20px}.v6-tutorial-coach .tutorial-coach p{font-size:14px}.v6-tutorial-coach .primary{font-size:16px;clip-path:none;letter-spacing:0;padding:10px}.v6-guided .desktop-action{display:none}.v6-guided .tutorial-focus{outline:3px solid #fff1a9;outline-offset:4px;z-index:15}.v6-guided .coach-details{font-size:12px}
@media(max-aspect-ratio:1/1){.v6-tutorial-coach{top:9%;left:22%;right:auto;width:56%;max-height:30%;padding:10px;font-size:11px;opacity:.98}.v6-tutorial-coach .tutorial-coach h2{font-size:15px}.v6-tutorial-coach .tutorial-coach p{font-size:12px;line-height:1.5;margin:6px 0}.v6-tutorial-coach .primary{font-size:12px;min-height:34px;padding:5px}.v6-tutorial-coach .row small{font-size:10px}.v6-tutorial-coach .eyebrow{font-size:8px}.v6-tutorial-coach .coach-details{display:none}.v6-tutorial-coach .ghost{font-size:10px;min-height:28px;padding:3px 6px}.v6-guided .learning-matchup{font-size:12px}.v6-guided .learning-result{padding:5px;font-size:11px}}

@media(max-aspect-ratio:1/1){.v6-tutorial-coach{top:8.9%;left:22%;width:56%;max-height:130px;padding:7px 9px;overflow:hidden}.v6-tutorial-coach .tutorial-coach>.row,.v6-tutorial-coach .coach-progress,.v6-tutorial-coach .learning-result,.v6-tutorial-coach .learning-matchup,.v6-tutorial-coach .coach-details,.v6-tutorial-coach [data-action=tutorial-restart]{display:none}.v6-tutorial-coach .tutorial-coach h2{font-size:13px;line-height:1.3;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v6-tutorial-coach .tutorial-coach p{font-size:11px;line-height:1.4;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.v6-tutorial-coach .primary{font-size:11px;line-height:1.3;min-height:27px;padding:4px;margin:0}.v6-tutorial-coach>[data-action=tutorial-skip]{min-height:20px;line-height:1.2;font-size:10px;padding:2px 0;width:100%;margin-top:1px}.v6-tutorial-coach [data-action=tutorial-advanced]{font-size:10px;min-height:24px;padding:3px}}

/* 2026-10-24: reviewed phase boundaries, activation affordance and progress. */
.v6-live .phase-track{left:28%;width:58%;padding-inline:12px}
.v6-live .phase-track>.phase{padding-left:12px;min-width:0;font-size:clamp(10px,.95vw,17px);border:1px solid transparent}
.v6-live .phase-track>.phase:first-child{padding-left:0}
.v6-live .phase-track>.phase+ .phase::before{left:4px;top:50%;transform:translateY(-50%);font-size:14px;line-height:1}
.v6-live .phase-track>.phase.active{border-color:#ffe19a}
.v6-live .audio-toggle{position:relative}
.v6-live .audio-slash{position:absolute;inset:0;display:none;align-items:center;justify-content:center;color:#fff0c7;text-shadow:0 1px 3px #071726;font-size:35px;font-family:Arial,sans-serif;font-weight:400;pointer-events:none}
.v6-live .audio-toggle.is-muted .audio-slash{display:flex}
.v6-live .audio-toggle.is-muted>span:first-child{opacity:.64}
.v6-live .slot.can-activate:is(.deity,.temple)::after{content:'發動效果';display:flex;position:absolute;inset:auto 7% 18%;align-items:center;justify-content:center;min-height:30px;padding:7px 4px;background:#302114 url('assets/interface-v6/ornate-button-amber.svg') center/100% 100% no-repeat;color:#fff5c5;font:700 clamp(11px,1vw,18px)/1.2 'Songti TC',serif;border:1px solid #e6bd60;box-shadow:0 0 14px #f8c65388;opacity:0;transform:translateY(4px);transition:opacity .14s,transform .14s;pointer-events:none;z-index:5}
.v6-live .slot.can-activate:is(.deity,.temple):is(:hover,:focus-visible)::after{opacity:1;transform:none}
.v6-live .temple.can-activate .card-face{box-shadow:0 0 14px #f2c75c80;border-color:#ffe19c}
.v6-live .cpu-effect{left:37.955%;width:6.2%;height:17.43%}
.v6-live .player-effect{left:57.035%;width:6.2%;height:17.43%}
.v6-live .effect-label{font-size:clamp(11px,.95vw,17px);letter-spacing:0}
.v6-live .effect-zone small{font-size:clamp(9px,.7vw,13px);padding:1px 5px}
.v6-live .v6-actions{gap:7px;padding:10px}
.evolution-counters{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}
.v6-actions .evolution-counter{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:8px;min-width:0;text-align:left;background:linear-gradient(145deg,#173347b8,#081725);border:1px solid #8d7547;border-radius:3px;color:#d7e0df;font-size:12px}
.v6-actions .evolution-counter[data-evolution-side='1']{border-color:#477893}
.evolution-counter strong{font:600 20px/1.2 Georgia,serif;color:#f3d597}
.evolution-counter small{font:11px/1.35 system-ui,sans-serif;color:#b0c4d0}
.evolution-counter .evolution-final{font:600 12px/1.6 system-ui,sans-serif}
.evolution-meter{display:block;height:4px;overflow:hidden;background:#030d16;border-radius:2px}
.evolution-meter i{display:block;height:100%;background:linear-gradient(90deg,#967433,#f0d88f)}
.evolution-counter[data-evolution-side='1'] .evolution-meter i{background:linear-gradient(90deg,#376c92,#9cdcff)}
.evolution-counter.condition-met{border-color:#e4c67a}
.phase-choice-buttons{display:flex;flex-direction:column;gap:4px;width:100%;flex:1;min-height:0}
.v6-live .desktop-action:has(.phase-choice-buttons){height:17%;bottom:1%}
.v6-live .desktop-action .phase-choice-buttons .pass-button{font-size:clamp(13px,1.2vw,21px);min-height:34px;padding:7px 12px}
.v6-live .phase-choice-buttons .end-phase-button{background:transparent url('assets/interface-v6/ornate-button-blue.svg') center/100% 100% no-repeat}
@media(max-aspect-ratio:1/1){
 .v6-live .cpu-effect{left:23.06%;top:41.24%;width:13.82%;height:12.08%}
 .v6-live .player-effect{left:63.12%;top:41.18%;width:13.82%;height:12.08%}
 .v6-live .effect-label{font-size:clamp(9px,2.65vw,16px);line-height:1.25}
 .v6-live .effect-zone small{font-size:clamp(8px,2vw,11px);padding:0 3px}
 .v6-live .effect-emblem{height:34%;width:60%}
 .v6-live .v6-actions{left:1%;top:40.9%;width:20%;max-height:13%;padding:4px;gap:3px}
 .evolution-counters{grid-template-columns:1fr;gap:3px}
 .v6-actions .evolution-counter{display:grid;grid-template-columns:1fr auto;padding:3px;gap:2px;font-size:8px;min-height:0}
 .evolution-counter strong{font-size:11px}.evolution-counter small,.evolution-meter{display:none}
 .evolution-counter .evolution-final{font-size:8px;grid-column:1/-1}
 .v6-live .v6-actions>button{font-size:9px;min-height:21px}
 .v6-live .v6-turn{font-size:8px}
 .v6-live .mobile-dock:has(.phase-choice-buttons){grid-template-columns:minmax(0,1fr) 145px}
 .v6-live .mobile-dock .phase-choice-buttons{grid-column:2;grid-row:1;gap:3px}
 .v6-live .mobile-dock .phase-choice-buttons .pass-button{font-size:11px;min-height:28px;padding:5px 8px;letter-spacing:0}
}
@media(prefers-reduced-motion:reduce){.v6-live .slot.can-activate::after{transition:none}}

/* Keep the engraved graphic when global button hover styles apply. */
.v6-live .pass-button,.v6-live .pass-button:hover:not(:disabled){background:transparent var(--pass-graphic,url('assets/interface-v6/ornate-button-amber.svg')) center/100% 100% no-repeat;border:0}
.v6-live .mobile-dock .pass-button,.v6-live .phase-choice-buttons .end-phase-button{--pass-graphic:url('assets/interface-v6/ornate-button-blue.svg')}

/* Full native face: contain, never stretch or compose disconnected header/art/footer crops. */
.v6-live .slot .card-face>.board-full-card,.v6-live .hand-card .board-full-card,.v6-live .resource-card>.board-full-card{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;transform:none!important}
.v6-live .slot:not(.deity):has(.board-full-card) .card-face,.v6-live .hand-card:has(.board-full-card) .card-face{border:0;box-shadow:none;background:transparent;overflow:hidden;border-radius:0}
.v6-live .card-face:has(>.board-full-card)::before,.v6-live .card-face:has(>.board-full-card)::after{display:none}
.v6-live .resource-card:has(>.board-full-card){border:0;background:transparent}

.v6-live .audio-toggle>span:first-child{font-size:23px;opacity:1}
.v6-live .audio-slash{font-size:30px;transform:translateX(3px);text-shadow:none;opacity:.9}

/* Direct card actions are sibling buttons, never buttons nested inside a card. */
.v6-live .hand-card-shell{position:relative;flex:none;width:calc(105% / max(5,var(--hand-count)));aspect-ratio:744/1039;margin-left:-1.5%;transform-origin:50% 95%;transform:translateY(var(--raise,0px)) rotate(var(--angle,0deg));transition:transform .18s;isolation:isolate}
.v6-live .hand-card-shell:first-child{margin-left:0}
.v6-live .hand-card-shell.is-selected{--raise:-38px;--angle:0deg!important;z-index:20}
.v6-live .hand-card-shell:hover{z-index:21}
.v6-live .player-hand .hand-card-shell>.hand-card{width:100%;height:100%;min-width:0;margin:0;top:0;transform:none;aspect-ratio:744/1039;display:block}
.v6-live .card-quick-actions{position:absolute;left:50%;bottom:6%;transform:translateX(-50%);display:flex;gap:4px;z-index:25;pointer-events:auto}
.v6-live .card-quick-action,.v6-live .card-quick-action:hover{min-width:76px;min-height:44px;padding:9px 12px;border:0;border-radius:0;clip-path:none;background:transparent url('assets/interface-v6/ornate-button-amber.svg') center/100% 100% no-repeat;color:#fff3c4;font:700 16px/1.2 'Songti TC',serif;box-shadow:0 3px 12px #0009;white-space:nowrap;cursor:pointer;touch-action:manipulation}
.v6-live .card-quick-action span{padding-right:4px}
.v6-live .grave[data-effect-source]{filter:drop-shadow(0 0 8px #f7d273)}
.v6-live .grave-source-badge{position:absolute;left:0;right:0;top:25%;z-index:6;padding:3px 1px;text-align:center;background:#241b09e8;border-block:1px solid #e7c77d;color:#fff2ba;font-size:clamp(9px,.9vw,15px);line-height:1.2;pointer-events:none}
.v6-live .card-quick-action:focus-visible{outline:2px solid #fff1b0;outline-offset:2px}
.v6-live .character-quick-actions{left:44.92%;top:calc(60.68% + 8%);bottom:auto;width:10.89%;transform:none;justify-content:center}
/* Activation badges are styled in edge-dock.css; do not suppress them here. */
.v6-evolution-progress{position:absolute;right:1%;top:66%;width:19%;z-index:12;padding:8px;background:#061521e8;border:1px solid #af8a49}
.evolution-panel-title{display:block;color:#e8d2a0;font-size:12px;margin-bottom:5px}
.v6-evolution-progress .evolution-counter{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:8px;min-width:0;text-align:left;background:linear-gradient(145deg,#173347b8,#081725);border:1px solid #8d7547;border-radius:3px;color:#d7e0df;font-size:12px}
.v6-evolution-progress .evolution-counter[data-evolution-side='1']{border-color:#477893}
.v6-live .battle-phase-actions{display:flex;gap:5px;min-width:0;width:100%}
.v6-live .battle-phase-actions>.pass-button{flex:1;min-width:0;width:auto;grid-column:auto;grid-row:auto}
.v6-live .battle-phase-actions>.attack-again-button{--pass-graphic:url('assets/interface-v6/ornate-button-amber.svg')}
@media(max-aspect-ratio:1/1){
 .v6-live .hand-card-shell.is-selected{--raise:-27px}
 .v6-live .card-quick-actions{bottom:24%}
 .v6-live .card-quick-action{min-width:68px;font-size:14px;padding:9px 10px}
 .v6-live .character-quick-actions{left:36.03%;top:calc(54.61% + 6%);width:28.06%;bottom:auto}
 .v6-evolution-progress{left:78%;right:auto;top:41.2%;width:21%;padding:3px;max-height:12%;overflow:auto}
 .v6-evolution-progress .evolution-panel-title{font-size:9px;margin:0 0 2px;text-align:center}
 .v6-evolution-progress .evolution-counters{grid-template-columns:1fr;gap:3px}
 .v6-live .v6-evolution-progress .evolution-counter{display:grid;grid-template-columns:1fr auto;align-items:center;padding:3px;gap:2px;font-size:10px;min-height:34px}
 .v6-evolution-progress .evolution-counter strong{font-size:13px}
 .v6-evolution-progress .evolution-counter .evolution-final{font-size:9px}
 .v6-live .v6-actions{max-height:12%;overflow:auto}
 .v6-live .mobile-dock:has(.battle-phase-actions){grid-template-columns:minmax(0,1fr) minmax(200px,58%);column-gap:5px}
 .v6-live .mobile-dock .battle-phase-actions{grid-column:2;grid-row:1;align-items:stretch}
 .v6-live .mobile-dock .battle-phase-actions .pass-button{font-size:12px;min-height:44px;padding:6px 5px;line-height:1.35;white-space:normal}
 .v6-live .mobile-dock:has(.battle-phase-actions) .dock-thumbnail{display:none}
}
@media(prefers-reduced-motion:reduce){.v6-live .hand-card-shell{transition:none}}
.v6-live .cpu-effect,.v6-live .player-effect{top:calc(40.91% + 10px);height:calc(17.43% - 20px)}
@media(max-aspect-ratio:1/1){
 .v6-live .cpu-effect,.v6-live .player-effect{top:calc(41.21% + 8.5px);height:calc(12.08% - 17px)}
 .v6-live .v6-actions{max-height:12%;padding:4px}
 .v6-live .evolution-counter .evolution-stage{display:none}
 .v6-live .evolution-counter{font-size:9px;padding:2px 3px;line-height:1.2}
 .v6-live .v6-turn{font-size:10px;line-height:1.2}
 .v6-live .v6-turn .turn-owner{display:none}
 .v6-live:has(.phase-choice-buttons) .v6-actions [data-action='v6-phase']{display:none}
}

/* Character shortcuts remain over their card while moving from the card to a button. */
.v6-live .character-quick-actions{opacity:0;visibility:hidden;pointer-events:none;flex-direction:column;align-items:center;gap:4px;top:calc(60.68% + 3%)}
.v6-live .field-character.quick-selected .character-quick-actions,.v6-live .field-character.quick-hover .character-quick-actions,.v6-live .field-character.quick-focus .character-quick-actions{opacity:1;visibility:visible;pointer-events:auto}
.v6-live .character-quick-actions .card-quick-action{width:calc(100% - 8px);min-width:0;font-size:clamp(12px,1.1vw,16px);padding-inline:4px}
.v6-live .effect-zone.is-activating{padding:3px;display:block;filter:drop-shadow(0 0 8px #f7d273)}
.v6-live .effect-zone.is-activating::after{display:none}
.v6-live .effect-zone.is-activating .card-face{display:block;position:relative;inset:0;width:100%;height:100%;border:0;box-shadow:none;overflow:hidden}
.v6-live .effect-zone.is-activating .card-face>img{display:block;width:100%;height:100%;object-fit:fill}
.v6-live .effect-zone.is-activating .card-face::before,.v6-live .effect-zone.is-activating .card-face::after{display:none}
.v6-live .effect-zone .grave-source-badge{top:auto;bottom:4px;font-size:clamp(8px,.75vw,12px)}
@media(max-aspect-ratio:1/1){
 .v6-live .character-quick-actions{top:calc(54.61% + 1%)}
 .v6-live .character-quick-actions .card-quick-action{font-size:14px}
}

/* Short landscape: scale the complete stage, never crop off the bottom controls. */
html.short-landscape:has(body.v6-active){height:100%;overflow:hidden;overscroll-behavior:none}
.short-landscape body.v6-active{position:fixed;inset:0;width:var(--landscape-width);height:var(--landscape-height);min-height:0;overflow:hidden;overscroll-behavior:none}
.short-landscape .v6-active #app{position:absolute;inset:0;overflow:hidden;height:100%;min-height:0}
.short-landscape .v6-active #arena{position:absolute;left:50%;top:50%;width:1100px;height:688px;min-height:0;transform:translate(-50%,-50%) scale(var(--landscape-scale));transform-origin:center}
.short-landscape .v6-live .player-hand{top:84%;height:15%}
.short-landscape .v6-live .hand-card-shell{width:min(64px,calc(105% / max(5,var(--hand-count))))}
.short-landscape .v6-active .hand-card-shell>.hand-card{width:100%!important;height:100%!important;flex:none}
.short-landscape .v6-live .desktop-action{bottom:2%;}
