#agent-form,.quick-questions,.outbound-box,#mecha-intel{display:none!important}
.table-status h1{display:none}
.table-action .play-button{font-size:13px;line-height:1.5;padding:8px}
#round-prompt{font-size:14px;line-height:1.6;min-height:110px}
#round-prompt:disabled{opacity:.75}
.agent-drawer #agent-summary{white-space:pre-line}
.agent-drawer .mother-card p{line-height:1.6}

#mother-confirm{width:min(440px,calc(100vw - 32px));box-sizing:border-box;background:#251832;color:#fff0d7;border:3px solid #c6a1e1;border-radius:22px;padding:26px;box-shadow:0 24px 80px #0009}
#mother-confirm::backdrop{background:#120d20b8}
#mother-confirm h2{margin:0 0 12px;color:#ffe69a;font-size:23px}
#mother-confirm p{line-height:1.6}#mother-confirm blockquote{margin:16px 0;padding:12px;border-left:3px solid #c6a1e1;overflow-wrap:anywhere;background:#ffffff0a}
#mother-confirm .bridge-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}#mother-confirm form{margin:0}

.turn-steps{display:flex;gap:10px;justify-content:center;padding:12px 16px;background:#21182de8;border-bottom:1px solid #c8a8e344}
.turn-steps span{display:flex;gap:8px;align-items:center;color:#bcadcb;font-size:14px}.turn-steps i{font-style:normal;border:1px solid #746580;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.turn-steps .current{color:#fff0a4;font-weight:800}.turn-steps .current i{background:#ffe58d;color:#291c36;border-color:#ffe58d}.turn-steps .done{color:#9ce4c1}
.turn-status{background:#21182de8;text-align:center;padding:8px 16px;color:#ecddfa;font-size:14px;min-height:24px;overflow-wrap:anywhere}
.choice-diff{font-size:13px;line-height:1.5;color:#ffe8ad;margin:8px 0;max-width:250px}
.strategy-presets{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.strategy-presets button{background:#3b294c;color:#fff0d7;border:1px solid #b69bcc;border-radius:10px;padding:10px;cursor:pointer}
.damage-detail{padding:12px;margin:6px 0;background:#ffffff0a;border-radius:10px;line-height:1.6;font-variant-numeric:tabular-nums}
button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffe78c;outline-offset:3px}
@media(max-width:600px){.turn-steps{gap:6px;padding:10px 6px}.turn-steps span{font-size:11px;gap:4px}.turn-steps i{width:22px;height:22px}.turn-status{font-size:12px}.choice-diff{max-width:none}.strategy-presets button{flex:1}.agent-drawer{max-height:85dvh;overflow-y:auto}}

/* Decision controls stay outside card animation and fan hit areas. */
.game-shell{display:flex;flex-direction:column;min-height:100dvh}.game-shell.hidden{display:none}
.tabletop{width:100%;height:calc(100dvh - 330px);min-height:450px;flex:none}
.tabletop .arena-opponent:nth-child(-n+5){top:36px}.table-center{top:170px}.tabletop .staged-card{height:80px;width:85px}.tabletop .staged-card .stage-art{max-height:34px}.tabletop .staged-card b{font-size:12px}
.game-shell>.table-action{position:relative;inset:auto;transform:none;width:auto;display:grid;grid-template-columns:minmax(150px,1fr) minmax(200px,2fr) auto;align-items:center;gap:8px 20px;padding:14px 24px;background:#2a1d38;border-top:1px solid #bba0cf77;text-align:left;z-index:15}
.game-shell>.table-action #selection-copy{display:block;min-height:0;margin:0;font-size:12px}.game-shell>.table-action #selection-copy b{font-size:18px;color:#ffe69b}
.selected-rule{font-size:14px;line-height:1.5;margin:0;color:#f4e9fa}.game-shell>.table-action .choice-diff{grid-column:1/3;max-width:none;margin:0}.game-shell>.table-action #play-card{grid-column:3;grid-row:1/3;width:180px;font-size:15px;min-height:48px}.game-shell>.table-action .prediction-control{grid-column:2;grid-row:3;margin:0}.game-shell>.table-action select{max-width:none}.game-shell>.table-action #reveal-actions{grid-column:1/-1;text-align:center}.game-shell>.table-action:has(#reveal-actions:not(.hidden)) .choice-diff,.game-shell>.table-action:has(#reveal-actions:not(.hidden)) .selected-rule{display:none}
.player-controls{min-height:76px;padding:10px 20px;gap:20px}.player-controls .self-hero .hero-portrait{width:38px;height:44px}.player-controls .agent-launcher button{min-height:40px}.tabletop .advice-float{left:auto;right:3%;top:185px;bottom:auto;max-width:240px;max-height:170px}.tabletop .advice-float p{max-height:75px}.tabletop .hand-card{bottom:-30px}.tabletop .draw-notice{display:none}
@media(max-width:600px){.tabletop{height:480px;min-height:480px}.table-center{top:155px}.tabletop .advice-float{left:12px;right:12px;top:140px;max-width:none;max-height:135px}.tabletop .advice-float p{max-height:42px}.tabletop .hand-section{height:235px;bottom:0}.tabletop .hand-cards{display:flex;align-items:end;gap:10px;overflow-x:auto;overflow-y:hidden;padding:12px 16px;pointer-events:auto;scroll-snap-type:x proximity}.tabletop .hand-card,.tabletop .hand-card:not(:hover):not(:focus-visible):not(.selected),.tabletop .hand-card:hover,.tabletop .hand-card.selected,.tabletop .hand-card:focus-visible{position:relative;inset:auto;transform:none;width:130px;min-width:130px;min-height:210px;max-height:none;scroll-snap-align:center;touch-action:pan-x;flex:none}.tabletop .hand-card.selected{border-color:#c2ff7a;box-shadow:0 0 0 2px #5da943}.tabletop .hand-card p{font-size:10px}.game-shell>.table-action{grid-template-columns:1fr auto;padding:14px;gap:8px 12px}.game-shell>.table-action #selection-copy{grid-column:1}.game-shell>.table-action #play-card{grid-column:2;grid-row:1/3;width:125px;font-size:13px}.selected-rule{grid-column:1;font-size:12px}.game-shell>.table-action .choice-diff{grid-column:1/-1;font-size:12px}.game-shell>.table-action .prediction-control{grid-column:1/-1;grid-row:auto}.player-controls{gap:8px}.player-controls .self-hero{justify-self:end}.player-controls .agent-launcher{gap:8px}.turn-status{min-height:20px}.tabletop #hand-count{z-index:50;bottom:0;right:10px;background:#20142e;padding:3px 8px;border-radius:8px}}

.game-shell>.advice-float{position:relative;inset:auto;width:calc(100% - 32px);max-width:1000px;max-height:none;box-sizing:border-box;margin:10px auto 16px;padding:14px 44px 14px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 20px;z-index:12}.game-shell>.advice-float.hidden{display:none}.game-shell>.advice-float>b{font-size:13px}.game-shell>.advice-float p{grid-column:1;margin:0;font-size:14px;line-height:1.5;max-height:90px;overflow:auto}.game-shell>.advice-float .tiny-button{grid-column:2;grid-row:1/3;min-height:40px}.game-shell>.advice-float::after{left:40px}.strategy-presets button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.game-shell>.advice-float{width:calc(100% - 24px);grid-template-columns:1fr;padding:12px 34px 12px 14px;gap:8px}.game-shell>.advice-float .tiny-button{grid-row:auto;grid-column:1;justify-self:start}.game-shell>.advice-float p{font-size:13px}.game-shell>.advice-float>b{font-size:12px}}
