/* Feedback has its own space so choices and confirmations stay unobstructed. */
.game-shell:not(.lobby){grid-template-rows:32px 73px auto minmax(190px,1fr) 12px}
.game-shell:not(.lobby) #boardWrap{grid-row:4}
.game-shell:not(.lobby) #handArea{grid-row:2/5}
#tableFeedback{grid-column:1;grid-row:3;min-width:0;display:flex;flex-direction:column;gap:7px;padding:0 3px 10px}
#tableFeedback[hidden]{display:none}
#tableFeedback #turnBanner{position:static;transform:none;max-width:none;width:auto;padding:0 5px;text-align:left;background:none;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;border-radius:0;font-size:12px}
#tableFeedback #turnBanner strong{font-size:15px}
#tableFeedback #turnBanner span{margin:0;max-width:none;flex:1;min-width:150px;line-height:1.35}
#powerReadout{display:flex;gap:10px;align-items:center;padding:8px 10px;border:2px solid #236d39;background:#f6fff7;color:#183554;border-radius:8px;font-size:12px;line-height:1.4}
#powerReadout:empty,#actionRecap:empty,#destinationChoices:empty,#catchOpportunity:empty{display:none}
#powerReadout strong,#powerReadout div>span{display:block}
#powerReadout>div{min-width:0;overflow-wrap:anywhere}
#tableFeedback #turnBanner strong{min-width:0;max-width:100%;overflow-wrap:anywhere}
.power-rank,.recap-mark{flex:0 0 36px;min-height:36px;display:grid;place-items:center;background:#1846a4;color:#fff;font-family:'Arial Black',Arial,sans-serif;font-size:21px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.power-rank{background:#236d39}
#destinationChoices{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:2px 1px 5px;font-size:11px}
#destinationChoices>span{flex-shrink:0;font-weight:700}
#destinationChoices button{display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;background:#236d39;border:2px solid #10451f;color:#fff;padding:5px 10px;font-size:11px}
#destinationChoices button b{font-size:17px}
#destinationChoices button[aria-pressed=true]{background:#103f22;box-shadow:inset 0 0 0 2px #fff}
#actionRecap{display:flex;align-items:center;gap:10px;background:#1846a4;color:#fff;padding:9px 12px;border-radius:8px;font-size:13px;line-height:1.35;min-width:0}
#actionRecap>div:not(.wild-reveal){min-width:0;flex:1}
#actionRecap strong,#actionRecap .action-detail{display:block;overflow-wrap:anywhere}
#actionRecap .action-detail{font-size:11px;margin-top:3px}
#actionRecap .recap-mark{background:#fff;color:#1846a4}
#tableFeedback.is-selecting #actionRecap{padding:6px 10px;font-size:11px}
#tableFeedback.is-selecting .action-detail,#tableFeedback.is-selecting .recap-mark{display:none}
.wild-reveal{display:flex;gap:3px;align-items:center;flex-shrink:0}
.wild-reveal>span{font-size:22px;opacity:.35;width:25px;text-align:center}
.wild-reveal .chosen{opacity:1;background:#fff;color:#1846a4;border:2px solid #fff;border-radius:4px;transform:scale(1.15)}
.catch-opportunity{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#b63d1c;color:#fff;border:3px solid #81250f;box-shadow:0 3px 0 #81250f;text-align:left;padding:8px 12px;border-radius:8px}
.catch-opportunity strong{font-size:17px}
.catch-opportunity>span{font-size:12px;font-weight:700}
.catch-opportunity:hover:not(:disabled){background:#943016}
.catch-opportunity:disabled{opacity:.75}
.game-shell .hand-card .power-tag{position:absolute;top:24%;left:50%;transform:translateX(-50%);background:#1846a4;color:#fff;border:2px solid #fff;border-radius:4px;padding:3px 5px;font-size:10px;line-height:1.15;font-weight:900;white-space:nowrap;pointer-events:none}
.game-shell .spot{width:48px;height:48px;min-width:48px;border:0;background:transparent;box-shadow:none;opacity:1;overflow:visible;isolation:isolate;border-radius:50%;padding:0}
#spots{overflow:hidden;border-radius:inherit}
.spot>span{pointer-events:none}
.spot.in-choice-row{pointer-events:none}
.spot.in-choice-row>span,.spot.in-choice-row .spot-leader{visibility:hidden}
.spot.in-choice-row:focus-visible>span{visibility:visible}
.spot .spot-leader{position:absolute;left:50%;top:50%;width:1px;height:1px;overflow:visible;pointer-events:none;z-index:0}
.spot-leader line{stroke:#10451f;stroke-width:3;vector-effect:non-scaling-stroke}
.spot-leader line.leader-halo{stroke:#fff;stroke-width:7}
.spot>span{position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border:3px solid #fff;box-shadow:0 0 0 2px #10451f;border-radius:50%;background:#236d39;color:#fff;font-size:21px;font-weight:900;margin:auto}
.spot .spot-outline{position:absolute;pointer-events:none;left:calc(50% + var(--target-dx,0px));top:calc(50% + var(--target-dy,0px));width:var(--tile-width,120px);height:var(--tile-height,140px);transform:translate(-50%,-50%);overflow:visible;z-index:-1}
.spot-outline path{fill:#54b86c45;stroke:#10451f;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.spot-outline path.spot-halo{stroke:#fff;stroke-width:8;fill:none}
.game-shell .spot:hover,.game-shell .spot.hovered{background:transparent;transform:translate(-50%,-50%)!important}
.spot:hover>span,.spot.hovered>span,.spot.chosen>span{background:#103f22;box-shadow:0 0 0 3px #10451f}
.spot:hover .spot-outline path,.spot.hovered .spot-outline path,.spot.chosen .spot-outline path{fill:#54b86c80}
.spot:focus-visible{outline:3px solid #1846a4;outline-offset:6px}
.impact-label{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);background:#b63d1c;color:#fff;white-space:nowrap;font-size:10px;font-weight:900;padding:4px 6px;border-radius:4px;border:2px solid #fff;z-index:1}
.impact-label.resolved{background:#1846a4}
.player .forgot-call{background:#b63d1c;color:#fff;border:2px solid #fff;border-radius:4px;padding:3px 5px;white-space:nowrap}
.effect-flight{position:fixed;z-index:30;width:38px;height:44px;pointer-events:none;display:grid;place-items:center}
.effect-flight img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #18355440)}
.effect-flight b{background:#b63d1c;color:#fff;border:3px solid #fff;border-radius:6px;padding:7px;font-size:19px}
#wildToken{position:absolute;transform:translate(-50%,-50%);display:grid;grid-template-columns:auto 1fr;gap:0 4px;align-items:center;background:#fff;border:3px solid #1846a4;color:#183554;padding:3px 7px;border-radius:6px;z-index:2;pointer-events:none;box-shadow:0 3px 0 #1846a4;font-size:11px;line-height:1.15;max-width:130px}
#wildToken>span{font-size:32px;color:#1846a4;grid-row:1/3}
#wildToken small{font-size:9px}
#wildToken.preview-choice{border-color:#236d39;box-shadow:0 3px 0 #236d39}
#tableFeedback button:focus-visible{outline:3px solid #1846a4;outline-offset:3px}
@media(max-width:1000px){
 .game-shell:not(.lobby){grid-template-rows:32px 65px auto minmax(180px,1fr) 10px}
 #actionRecap{font-size:12px}
 .wild-reveal>span{font-size:18px;width:20px}
}
@media(max-width:640px){
 .game-shell:not(.lobby){grid-template-rows:25px 66px auto minmax(170px,1fr) 8px;min-height:520px}
 .game-shell:not(.lobby) #handArea{grid-template-rows:auto auto minmax(44px,1fr) auto}
 #tableFeedback{gap:5px;padding:0 0 7px}
 #tableFeedback #turnBanner{font-size:10px;padding:0;gap:2px 6px;line-height:1.3}
 #tableFeedback #turnBanner strong{font-size:12px}
 #tableFeedback #turnBanner span{min-width:100%;font-size:10px}
 #powerReadout{padding:5px 6px;gap:6px;font-size:10px;line-height:1.35}
 .power-rank,.recap-mark{flex-basis:27px;min-height:30px;font-size:17px}
 #actionRecap{padding:7px;gap:6px;font-size:11px;flex-wrap:wrap}
 #actionRecap .action-detail{font-size:10px;line-height:1.3}
 .wild-reveal{margin-left:33px}
 .wild-reveal>span{font-size:19px;width:25px}
 #tableFeedback.is-selecting .wild-reveal{display:none}
 #destinationChoices{gap:4px;font-size:10px;padding-bottom:3px}
 #destinationChoices>span{display:none}
 #destinationChoices button{padding:4px 7px;font-size:10px;gap:5px}
 .catch-opportunity{min-height:61px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:7px 8px}
 .catch-opportunity strong{font-size:13px;overflow-wrap:anywhere}
 .catch-opportunity>span{font-size:10px}
 .impact-label{font-size:8px;padding:3px;bottom:-11px}
 #wildToken{font-size:10px;padding:2px 5px;max-width:109px}
 #wildToken>span{font-size:26px}
 #wildToken small{font-size:8px}
}
@media(max-height:650px) and (min-width:641px){
 .game-shell:not(.lobby){grid-template-rows:25px 54px auto minmax(160px,1fr) 8px;min-height:450px}
 #tableFeedback{gap:4px;padding-bottom:6px}
 #actionRecap .action-detail{display:none}
}
