body[data-ui="fishing"]{--sea:#061d27;--panel:#0b2933;--gold:#eee4c8;--mint:#a6c6c2}body[data-ui="fishing"] .shell{padding-top:0}body[data-ui="fishing"] .masthead{padding-inline:0}body[data-ui="fishing"] .wordmark strong{font-weight:550;letter-spacing:-.04em}body[data-ui="fishing"] h1{font-size:clamp(2.25rem,4vw,3.5rem)}body[data-ui="fishing"] .primary{border-radius:8px;background:#eee4c8;color:#08242c}body[data-ui="fishing"] .close-dialog{border-radius:8px;width:44px;height:44px}
body[data-ui="fishing"]>.world-header{display:flex;align-items:center;justify-content:space-between}body[data-ui="fishing"]>.world-header nav{display:flex;flex-wrap:wrap}
body[data-ui="fishing"] .top-tools{gap:14px;flex-wrap:wrap}body[data-ui="fishing"] .top-tools .text-button{min-height:44px;padding:10px 0}body[data-ui="fishing"] .table-company{flex-wrap:wrap}body[data-ui="fishing"] .company-fish{max-width:100%;gap:16px}body[data-ui="fishing"] .company-fish>div{min-width:0}body[data-ui="fishing"] .cast-tray>*{min-width:0}
body[data-ui="fishing"] .masthead nav.top-tools{gap:14px;justify-content:flex-start}body[data-ui="fishing"] .wordmark strong{font-size:clamp(32px,4vw,48px)}body[data-ui="fishing"] h1{font-size:clamp(26px,3vw,36px)}

/* Three Spots is an allocation game: see the whole split and place physical casts. */
body[data-ui=fishing]{--gold:#efd28c}.cast-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.cast-overview button{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;text-align:left;padding:12px 16px;border:1px solid #668991;border-radius:10px;background:#103644;color:#c3d7d4;min-height:65px}.cast-overview span{font-size:13px}.cast-overview strong{grid-column:2;grid-row:1/3;font-size:28px;color:#f3e3b6;font-variant-numeric:tabular-nums}.cast-overview small{font-size:10px;color:#aac8c9}.cast-overview [data-chosen=true]{border-color:#e9d08e;background:#334a43}.cast-overview [data-hot=true]{background:#dfbd6c;color:#203d3d}.cast-overview [data-hot=true] :is(strong,small){color:#203d3d}.cast-overview button:disabled{opacity:1;cursor:default}.cast-overview button:enabled:hover{background:#27515b;transform:translateY(-2px)}.cast-overview button:enabled:active{transform:translateY(2px)}.cast-overview button:focus-visible{outline:3px solid #a5e9e4;outline-offset:3px}.cast-pebbles{display:flex;gap:5px;flex-wrap:wrap;min-height:24px;padding:9px 15px;background:#062631}.cast-pebbles i{width:9px;height:9px;border-radius:50%;background:#e4c985;box-shadow:inset 0 -2px 0 #ad8c49}.spot{border-radius:15px!important}.spot.chosen{border-color:#cbb46e}.cast-ripple{position:absolute;left:50%;top:48%;width:70px;height:28px;border:2px solid #ffebae;border-radius:50%;pointer-events:none;z-index:6;animation:cast-splash .65s ease-out forwards}.cast-tray{padding:20px!important;border:1px solid #6a9296;border-radius:13px;background:#123541;margin:14px 0}.cast-tray .primary{background:#eed58f!important;color:#1f3d3a!important;min-height:54px;box-shadow:0 4px 0 #6e5e37;font-weight:700}.stepper{min-height:44px;border-radius:7px!important}.phase-step.current .phase-number{background:#e6ce8b;color:#1b3c3c}.result-total{background:linear-gradient(110deg,#274d49,#12333e);padding:20px!important;border-radius:12px}.result-total strong{color:#f2d491}.your-marker b{background:#edcf86;color:#163b3f;border-color:#f9e4b2}.allocation-bar{height:9px}.spot.recounting{outline:2px solid #f0d78f;outline-offset:2px}@keyframes cast-splash{from{transform:translate(-50%,-50%) scale(.3);opacity:1}to{transform:translate(-50%,-50%) scale(2);opacity:0}}
@media(max-width:760px){.cast-overview{gap:7px;margin-bottom:10px}.cast-overview button{padding:10px;gap:4px;min-height:68px}.cast-overview span{font-size:12px}.cast-overview small{font-size:9px}.cast-overview strong{font-size:24px}.cast-tray{padding:15px!important}.cast-tray .turn-action{position:relative}.spots .water{height:250px}.cast-pebbles{padding:8px 14px}.board-caption .swipe{font-size:10px}.allowance-title strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.cast-ripple{display:none}.cast-overview button{transition:none}}


#primary:disabled{background:#25444c;color:#acc1be;box-shadow:none}.swipe{font-size:12px;color:#b7d1cd}.quick-actions .text-button{font-size:13px}.company-fish small{color:#b7d1cd}

/* Keep the game identity, round state, and action at distinct, predictable levels. */
body[data-ui=fishing] .shell{width:min(1280px,100%);padding-inline:clamp(16px,4vw,48px)}
body[data-ui=fishing] .game-heading{padding:24px 0 4px}
body[data-ui=fishing] .game-heading .return-cove{padding:0 0 14px;font-size:14px}
body[data-ui=fishing] #game-title{margin:0 0 12px;font-size:clamp(34px,4vw,52px);line-height:1.05}
body[data-ui=fishing] .game-heading>p{color:var(--muted);font-size:16px;line-height:1.5}
body[data-ui=fishing] .opening{padding:20px 0 4px;gap:24px;align-items:start}
body[data-ui=fishing] #headline{margin:7px 0 9px;font-size:clamp(24px,2.5vw,32px);line-height:1.16;font-weight:700;letter-spacing:-.03em;text-wrap:pretty}
body[data-ui=fishing] .intro{font-size:14px;line-height:1.6;max-width:64ch}
body[data-ui=fishing] .resume-outing{padding:0;margin:0 0 8px;border:0;background:none;font-size:12px;color:var(--muted)}
body[data-ui=fishing] .pot{min-width:205px;max-width:260px;padding-left:24px}
body[data-ui=fishing] .pot-label{font-size:12px}
body[data-ui=fishing] .pot-amount{font-size:34px;line-height:1.1}
body[data-ui=fishing] .pot-note{font-size:11px;line-height:1.5}
body[data-ui=fishing] .pot-parts{margin-top:8px}
body[data-ui=fishing] .cast-tray{margin:16px 0 20px;gap:20px;grid-template-columns:minmax(140px,.8fr) minmax(190px,1fr) minmax(230px,1fr)}
body[data-ui=fishing] .action-note{line-height:1.5}
body[data-ui=fishing] .phase-rail{margin-bottom:18px}
body[data-ui=fishing] .credit-result{padding:18px 0;margin:12px 0;flex-wrap:wrap}
body[data-ui=fishing] .credit-result h2{font-size:22px}
body[data-ui=fishing] .credit-result .primary{width:auto;font-size:14px}
body[data-ui=fishing] .credit-result .eyebrow{display:none}
body[data-ui=fishing] #sound{min-height:44px;padding:10px;font-size:13px}
@media(max-width:760px){
 body[data-ui=fishing] .game-heading{padding-top:20px}
 body[data-ui=fishing] .opening{grid-template-columns:1fr;gap:14px;padding-top:4px}
 body[data-ui=fishing] .pot{max-width:none;min-width:0;padding:12px 14px;border:1px solid #a3c8cb28;border-radius:10px;background:#0b2933;align-items:center}
 body[data-ui=fishing] .pot-amount{font-size:28px}
 body[data-ui=fishing] .pot-note{max-width:28ch}
 body[data-ui=fishing] .cast-tray{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px}
 body[data-ui=fishing] .player{gap:8px}
 body[data-ui=fishing] .player-image{width:42px;height:36px}
 body[data-ui=fishing] .player select{max-width:92px;font-size:14px;padding-right:0}
 body[data-ui=fishing] .player-detail{font-size:11px}
 body[data-ui=fishing] .allowance{padding-left:12px}
 body[data-ui=fishing] .allowance-title{flex-wrap:wrap;gap:0 6px}
 body[data-ui=fishing] .allowance-title span{font-size:12px}
 body[data-ui=fishing] .quick-actions{gap:12px;flex-wrap:wrap}
 body[data-ui=fishing] .quick-actions .text-button{font-size:12px;min-height:36px}
 body[data-ui=fishing] .phase-step{font-size:10px;gap:4px}
 body[data-ui=fishing] .phase-step::after{margin:0 6px}
 body[data-ui=fishing] .credit-result .primary{margin-top:0}
}

body[data-ui=fishing] .cast-tray .primary:disabled{background:#25444c!important;color:#acc1be!important;border-color:#62828a66;box-shadow:none;cursor:default}
