@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#173f43;background:#f3eddc;font-size:14px;--ink:#173f43;--teal:#14696e;--paper:#fff9eb;--gold:#dbad62}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 30%,#d4e4db,transparent 50%),#f3eddc;min-height:100vh}button,input{font:inherit}button{cursor:pointer;border:1px solid #a7b9ad;border-radius:8px;background:#fff8e9;color:var(--ink);padding:10px 15px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#e4ece0}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #d8a454;outline-offset:3px}.primary,.check{background:var(--teal);border-color:var(--teal);color:white}.primary:hover,.check:hover{background:#0c5357}input{padding:12px;border:1px solid #b6beb0;background:#fffdf5;border-radius:7px;min-width:0;color:var(--ink)}label{display:block;font-size:12px;font-weight:600;letter-spacing:.05em;margin:12px 0 8px}header{height:91px;border-bottom:1px solid #b9c6b645;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.wordmark{text-decoration:none;font-family:Fraunces,Georgia,serif;letter-spacing:4px;font-weight:700;font-size:28px;color:#12535b}.wordmark span{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:3px;margin-top:5px}nav{display:flex;gap:9px;align-items:center}nav button{padding:7px 10px;background:transparent;border-color:transparent}nav svg{width:31px;height:23px;border-radius:3px;display:block;box-shadow:0 1px 3px #3333}nav button[aria-pressed=true]{border-color:#b99154;background:#fff7e5}h1,h2,h3{font-family:Fraunces,Georgia,serif;font-weight:500}h1{font-size:clamp(40px,4.5vw,66px);line-height:1.05;letter-spacing:-2px;margin:22px 0}h2{font-size:27px;margin:6px 0 14px}p{line-height:1.65}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#5e8078;margin:0 0 12px}.hero{max-width:1300px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding:70px 45px}.hero-copy>p:not(.eyebrow):not(.fine){max-width:475px;font-size:16px;color:#658078}.facts{display:flex;gap:22px;margin:30px 0;font-size:12px}.facts>span{display:flex;gap:5px;align-items:center}.hero form{max-width:460px}.hero #name{width:100%;margin-bottom:12px}.row{display:flex;gap:9px;align-items:center}.hero .row .primary{flex:1}#joinForm{margin-top:15px}#roomCode{flex:1;text-transform:uppercase}.fine{font-size:12px;color:#73857b;line-height:1.5}.hero-art{position:relative;perspective:1000px}.hero-art>img{width:100%;border-radius:16px;box-shadow:12px 22px 38px #254f4b40;transform:rotate(4deg);animation:breathe 8s ease-in-out infinite}.seal{position:absolute;bottom:-20px;left:-35px;background:#fff9e8;border:1px solid #c6b68c;box-shadow:0 6px 20px #1233;width:125px;height:125px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:30px;transform:rotate(-10deg)}.seal small{font-size:9px;text-align:center;line-height:1.6;letter-spacing:1px;margin-top:8px}#lobby{max-width:640px;margin:70px auto}.lobby-card{background:#fff9eb;padding:40px;border-radius:18px;box-shadow:0 15px 50px #174b4820}.lobby-card h1{font-size:42px}.crew-member{display:flex;align-items:center;gap:15px;border-bottom:1px solid #bec5b866;padding:16px 0}.crew-member .icon{font-size:35px}.invite{display:flex;align-items:center;justify-content:space-between;background:#e4e9dc;border-radius:10px;padding:15px;margin:24px 0}#code{letter-spacing:4px;font-weight:bold}#game{padding:25px 28px;max-width:1800px;margin:auto}.game-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.game-head h2{margin-bottom:0}.game-head .eyebrow{margin-bottom:5px}#players{display:flex;gap:8px}.player{padding:7px 11px;display:flex;align-items:center;gap:8px;background:#fff8e9}.player.active{border-color:#187d77;background:#e1eee2}.player .icon{font-size:22px}.player small{font-size:10px;display:block;font-weight:400}.table{display:grid;grid-template-columns:220px minmax(400px,1fr) 260px;gap:22px;align-items:start}.paper{background:var(--paper);padding:20px;border-radius:11px;box-shadow:0 3px 15px #234d4310;margin-bottom:16px;border:1px solid #d4d8c766}.paper .eyebrow{margin-bottom:12px}#weather h3{font-size:21px;margin:10px 0}#weather .weather-icon{font-size:34px}#weather p{font-size:12px;margin:8px 0}#weather button{padding:7px 9px;font-size:11px;margin:3px}#weather img{width:100%;border-radius:5px}#goals{display:flex;gap:10px}#goals img{width:calc(50% - 5px);border-radius:5px;cursor:zoom-in}.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#667c72;padding:5px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-weight:600}.board-heading button{padding:6px 9px;font-size:12px}#viewport{position:relative;background:#12667b;border:8px solid #e3d4b0;border-radius:14px;box-shadow:0 12px 25px #1d59502b;overflow:auto;max-height:76vh;scrollbar-width:thin;scrollbar-color:#a5c8bf #12667b}canvas{display:block;width:100%;touch-action:none;cursor:crosshair;aspect-ratio:1}#controls{position:sticky;left:12px;bottom:12px;width:max-content;max-width:95%;margin:0 auto 10px;background:#fff9ea;padding:6px;border-radius:12px;box-shadow:0 5px 20px #0005;display:flex;gap:5px;z-index:2}#controls button{padding:7px 12px;font-size:20px}#controls .check{background:#34864a}.hint{text-align:center;font-size:12px;margin:12px 0;color:#5e7e73;min-height:20px}#resources{display:flex;justify-content:center;gap:18px;font-size:12px;flex-wrap:wrap}#resources b{font-size:18px;margin-left:5px}.tile{position:relative;display:grid;gap:1px;padding:7px;background:transparent;border:1px solid transparent;border-radius:8px;touch-action:none;width:max-content;animation:breathe 8s ease-in-out infinite}.tile.selected{border-color:#39866c;background:#e0ebda;animation:none}.tile:active{animation:none}.tile-cell{width:36px;height:36px;background-size:cover;border-radius:3px;box-shadow:1px 2px 3px #102b3130}.tile .num{position:absolute;right:3px;bottom:3px;font-size:10px;background:#fff8e9;border-radius:50%;width:18px;height:18px;line-height:18px}#hand{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}#actions>button{width:100%;margin-top:13px}#actions p{text-align:center;font-size:12px}#buildChoices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.build{padding:5px;font-size:10px;text-align:center}.build img{width:100%;border-radius:5px}.build small{display:block}#finale{margin:24px auto;max-width:900px;text-align:center}#scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;margin:20px 0}.score-column{border-right:1px solid #c3cabc}.score-column .total{font:45px Fraunces,serif;color:#1a776c}.score-line{display:flex;justify-content:space-between;font-size:12px;padding:6px 12px}.chat-toggle{position:fixed;bottom:18px;left:18px;border-radius:50%;width:46px;height:46px;background:#fff9eb;box-shadow:0 4px 15px #1233;z-index:6;font-size:21px;padding:5px}#unread{font-size:11px;background:#dcab60;border-radius:10px}#chat{position:fixed;bottom:75px;left:18px;width:min(340px,90vw);height:360px;padding:16px;background:#fff9eb;box-shadow:0 5px 30px #1234;border-radius:12px;z-index:7}#chat .row{justify-content:space-between}#chat h3{margin:0}#messages{height:240px;overflow:auto;padding:10px 0}#messages p{font-size:12px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}#chatInput{width:100%}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 23px;background:#123f45;color:white;border-radius:10px;z-index:20;box-shadow:0 5px 20px #0003;max-width:90vw}#connection{position:fixed;bottom:5px;right:10px;font-size:10px;color:#426359;background:#f3eddcdd}dialog{border:1px solid #c0c9b5;border-radius:15px;padding:30px;background:#fff9eb;color:var(--ink);max-width:min(850px,95vw);max-height:90vh;box-shadow:0 20px 60px #0004}dialog::backdrop{background:#07394399;backdrop-filter:blur(4px)}dialog .close{float:right;padding:3px 10px;font-size:20px}#audioDialog{width:380px}#audioDialog label{display:flex;align-items:center;gap:10px;justify-content:space-between}#ruleText p{font-size:14px}#forecastChoices{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}#forecastChoices button{width:150px;padding:5px;font-size:11px}#forecastChoices img{width:100%;border-radius:5px}#follower{position:fixed;pointer-events:none;z-index:50;filter:drop-shadow(0 5px 7px #0006);display:grid;gap:0}#follower .tile-cell{border-radius:2px}.waiting{color:#8c7548}.success{color:#34864a}a{color:#176d72}[hidden]{display:none!important}@keyframes breathe{0%,100%{translate:0 0}50%{translate:0 -4px}}@media(prefers-reduced-motion:reduce){body:not(.motion-opt-in) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.calm *{animation:none!important;transition:none!important}@media(min-width:1600px){.table{grid-template-columns:245px minmax(500px,1fr) 300px}.tile-cell{width:42px;height:42px}}@media(max-width:1100px){#game{padding:18px 12px}.table{grid-template-columns:minmax(340px,1fr) 235px;gap:14px}.left{grid-column:1/-1;display:flex;gap:14px;align-items:start}.left .paper{flex:1;padding:13px;margin-bottom:0}.left #weather img{display:none}.left #goals img{width:60px}.left .legend{max-width:180px}.game-head{flex-wrap:wrap}.game-head h2{font-size:22px}.player{padding:5px 8px}#viewport{max-height:72vh}}@media(max-width:700px){header{height:74px;padding:0 18px}.wordmark{font-size:21px}nav{gap:0}nav button{padding:6px}.hero{grid-template-columns:1fr;padding:35px 23px;gap:45px}.hero-art{max-width:390px;margin:0 20px 25px}.hero h1{font-size:46px}.facts{gap:12px;font-size:11px}#lobby{margin:25px 14px}.lobby-card{padding:24px}.table{display:flex;flex-direction:column}.left{width:100%;gap:8px}.left .legend{display:none}.left .paper{padding:10px}.left #goals img{width:48px}.left #weather h3{font-size:16px}.left .eyebrow{font-size:8px;letter-spacing:1px}.ocean-area{width:100%}.right{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.right .paper{padding:10px}.tile-cell{width:30px;height:30px}.tile{padding:4px}#hand{gap:2px}.game-head{gap:10px}#players{order:3;width:100%;justify-content:center}.player{flex:1;justify-content:center;font-size:10px}.player .icon{font-size:18px}#viewport{border-width:5px;max-height:70vh}#controls button{padding:5px 10px}#resources{gap:10px}#resources b{font-size:15px}.board-heading{font-size:12px}.board-heading .row{gap:4px}.board-heading button{padding:5px}.paper .eyebrow{letter-spacing:1px}.game-head>button{padding:6px;font-size:11px}#buildChoices{gap:4px}}

/* The game is an open sea, with a little theatre between the decisions. */
#game{max-width:1500px}.table{grid-template-columns:220px minmax(380px,1fr) 260px}.ocean-area{position:relative;max-width:min(100%,calc(100vh - 270px));margin:0 auto;width:100%}#viewport{max-height:68vh}#controls{position:absolute;bottom:auto;left:12px;top:12px;margin:0;gap:3px}#controls button{padding:6px 10px}.vortex-paper{position:relative;isolation:isolate;overflow:hidden}.vortex-paper:before{content:'';position:absolute;inset:30px -30px -40px;z-index:-1;background:repeating-conic-gradient(from 30deg,#d2e8df44 0deg 10deg,transparent 12deg 32deg);border-radius:50%;mask-image:radial-gradient(ellipse,#0000 12%,#0007 40%,#0000 70%);animation:current 70s linear infinite}body[data-day="2"]{background:radial-gradient(ellipse at 70% 20%,#cbdfe3,transparent 70%),#eeeddf}body[data-day="3"]{background:radial-gradient(ellipse at 70% 20%,#bfced6,transparent 70%),#e7e8df}body[data-day="4"]{background:radial-gradient(ellipse at 70% 20%,#efc8a5,transparent 70%),#f2e7d4}.tide-card{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;background:linear-gradient(130deg,#124c64ee,#237b83ed);color:#fff4db;animation:tide-arrive 3.2s ease both}.tide-card span{font-size:80px;color:#e6bb75}.tide-card small{letter-spacing:4px;font-size:11px;margin:18px}.tide-card strong{font:64px Fraunces,Georgia,serif}.rescue-note{position:absolute;top:42%;left:50%;width:max-content;transform:translateX(-50%);pointer-events:none;background:#fff3cf;color:#276d6d;border:1px solid #ccb277;padding:14px 24px;border-radius:30px;z-index:4;font-family:Fraunces,Georgia,serif;box-shadow:0 8px 24px #1234;animation:rescue 2.6s ease both}@keyframes current{to{transform:rotate(360deg)}}@keyframes tide-arrive{0%{opacity:0;clip-path:ellipse(100% 0% at 50% 100%)}18%,65%{opacity:1;clip-path:ellipse(150% 160% at 50% 100%)}100%{opacity:0;clip-path:ellipse(100% 0% at 50% 0%)}}@keyframes rescue{0%{opacity:0;translate:0 20px}20%,65%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -45px}}@media(max-width:1100px){.table{grid-template-columns:minmax(340px,1fr) 235px}.ocean-area{max-width:min(100%,calc(100vh - 260px))}}@media(max-width:700px){.ocean-area{max-width:100%}.table{display:flex}#viewport{max-height:72vh}.tide-card strong{font-size:48px}}
.explain{position:fixed;z-index:1000;width:300px;max-width:calc(100vw - 24px);padding:16px 18px;border-radius:14px;background:#fff9e9;color:#234e50;box-shadow:0 8px 35px #102e4355;border:1px solid #d7cfae;pointer-events:none;font-size:14px;line-height:1.5}.explain strong{font-family:Fraunces,Georgia,serif;font-size:19px}.explain p{margin:6px 0 0}.legend button{display:flex;gap:6px;align-items:center;text-align:left;background:transparent;border:0;padding:7px;border-radius:9px;cursor:help}.legend button:hover,.legend button:focus-visible{background:#fff9e9;outline:2px solid #4c9290}[data-help]{cursor:help}
.explain{position:fixed;z-index:1000;width:300px;max-width:calc(100vw - 24px);padding:16px 18px;border-radius:14px;background:#fff9e9;color:#234e50;box-shadow:0 8px 35px #102e4355;border:1px solid #d7cfae;pointer-events:none;font-size:14px;line-height:1.5}.explain strong{font-family:Fraunces,Georgia,serif;font-size:19px}.explain p{margin:6px 0 0}.legend button{display:flex;gap:6px;align-items:center;text-align:left;background:transparent;border:0;padding:7px;border-radius:9px;cursor:help}.legend button:hover,.legend button:focus-visible{background:#fff9e9;outline:2px solid #4c9290}
.field-guide details{padding:12px 0;border-bottom:1px solid #d8d1b8}.field-guide summary{cursor:pointer;font-weight:700}.field-guide p{line-height:1.65}.hero h1{background:linear-gradient(105deg,#174b51 20%,#418b89 43%,#174b51 65%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:tidal-ink 12s ease-in-out infinite}.hero h1 em{color:inherit}@keyframes tidal-ink{50%{background-position:100% 50%}}@media(prefers-reduced-motion:reduce){.hero h1{animation:none}}.calm .hero h1{animation:none}.tile.selected{animation:none!important}.legend{display:grid;grid-template-columns:1fr 1fr}
@media(max-width:700px){.left{flex-wrap:wrap}.left .legend{display:flex;flex-wrap:wrap;max-width:none;width:100%;gap:4px}.left>.fine{width:100%;margin:0}.legend button{padding:5px 8px;font-size:12px}}

/* Compact piece tools and a roomy, directly navigable ocean. */
.ocean-area{max-width:100%;min-width:0}#viewport{height:min(68vh,680px);max-height:none;overflow:auto;overscroll-behavior:contain}#board{max-width:none;cursor:grab}#viewport.panning #board,#viewport.pan-mode #board{cursor:grabbing}#controls{padding:3px;gap:2px;border-radius:8px;max-width:none}#controls button{padding:0;width:24px;height:25px;min-width:24px;font-size:16px;line-height:1;border-radius:5px}#controls .check{width:28px}#zoomLabel{font-size:11px;min-width:35px;text-align:center;font-variant-numeric:tabular-nums}#panBoard[aria-pressed=true]{background:#d4e9d9;border-color:#287d71}.board-heading{flex-wrap:wrap}.board-heading .row{gap:4px}.camera-hint{text-align:center;font-size:11px;color:#587a73;margin:8px 0 0}@media(pointer:coarse){#controls button{width:30px;height:32px;min-width:30px}#controls .check{width:32px}}@media(max-width:700px){#viewport{height:62vh}.board-heading .row{flex-wrap:wrap}#controls button{padding:0}}

/* Painted maritime table: original components remain the focus. */
body,body[data-day]{background:#103e43 url('/assets/storybook-sea.png') center/cover fixed;color:#fff1cf}header{height:76px;padding:0 3vw;background:#092e37dd;border-bottom:1px solid #c8a46177;box-shadow:0 6px 24px #001b2280}.wordmark{color:#f6d49a;text-shadow:0 2px 0 #08282b}.wordmark span{color:#c9dcd1}nav{gap:5px}nav button{color:#fff1cf;font-size:12px;padding:7px 8px}nav button:hover,nav button[aria-pressed=true]{background:#ffffff17;border-color:#c8a46199}nav svg{width:27px;height:19px}.top-volume{display:flex;align-items:center;gap:5px;margin:0;letter-spacing:0}.top-volume input{width:76px;height:18px;padding:0;accent-color:#d8b772}.top-volume output{font-size:10px;min-width:27px;color:#f1d9a7}nav .chat-toggle{position:static;display:flex;align-items:center;gap:5px;width:auto;height:auto;border-radius:7px;font-size:12px;box-shadow:none;background:#f2d5a31a;padding:7px 9px}#chat{top:84px;right:18px;bottom:auto;left:auto;color:#23464a;border:1px solid #cfaf76;box-shadow:0 18px 50px #001b22bb}#connection{background:#082b34dd;color:#d6e8d8;border-radius:5px;padding:3px 8px}#game{padding:18px 24px;max-width:1800px}.game-head{margin-bottom:14px}.game-head h2{font-size:26px;text-shadow:0 2px 8px #001e29}.eyebrow{color:#e1c28d}.game-head .player{box-shadow:0 5px 12px #001e2944;border-color:#c8b588}.paper,.lobby-card{color:#20494b;background:linear-gradient(115deg,#fff6dfef,#e8d9b9f5);border:1px solid #d0ae6f;box-shadow:0 7px 18px #001e2944,inset 0 0 18px #b0925420;border-radius:13px}.paper .eyebrow,.lobby-card .eyebrow{color:#697c67}.paper{padding:16px}.table{grid-template-columns:205px minmax(400px,1fr) 260px;gap:18px}.board-heading{color:#ffebbe}.board-heading button{box-shadow:0 3px 8px #001b2244}#viewport{border:4px solid #cfaa6b;border-radius:10px;box-shadow:0 12px 32px #00182099,inset 0 0 0 1px #ffdc9a;height:calc(100vh - 230px);max-height:760px;background:#146d80}.camera-hint,.hint{color:#dae6d7;font-size:11px}.hint{margin:6px 0 8px}#resources{background:#072f39c9;border:1px solid #bc9f5c66;border-radius:10px;padding:8px 12px;gap:16px;color:#f9e8bf}#resources b{color:#ffe6a2}.legend{background:#092f38dc;border:1px solid #c2a56b66;border-radius:10px;gap:3px}.legend button{color:#e9e8cf;font-size:12px}.legend button:hover,.legend button:focus-visible{color:#143e43;background:#fff0cc}.left>.fine{color:#d8e1ce}.tile-cell{width:42px;height:42px;border-radius:4px}.tile{padding:5px;animation-duration:10s;transition:background .12s,border-color .12s}.tile:hover{background:#d7b97e30;border-color:#8b9b7566}.tile.selected{box-shadow:0 0 0 2px #5b9c7b44}.vortex-paper:before{background-image:url('/assets/image-10.png');background-size:contain;background-repeat:no-repeat;background-position:center;mask-image:radial-gradient(ellipse,#0005 10%,#0002 55%,#0000 72%);opacity:.4}.explain{border:1px solid #bf995a;background:#fff3d8;box-shadow:0 12px 45px #001b2299;animation:help-in .12s ease-out}.help-example{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;padding:13px 8px;background:#e1e6cf;border-radius:9px;margin:10px 0}.example-square{display:grid;grid-template-columns:34px 34px;gap:1px}.example-square img{width:34px;height:34px;animation:example-match 3s ease-in-out infinite}.example-arrow{font-size:25px;color:#4f806b}.example-building{width:70px;height:70px;object-fit:contain;animation:example-build 3s ease-in-out infinite}.help-example small{width:100%;text-align:center;font-weight:700;font-size:11px}.help-object{text-align:center;margin:10px 0}.help-object img{max-width:130px;max-height:100px;object-fit:contain;border-radius:8px}.field-guide .help-example{max-width:320px}.hero{padding-top:55px}.hero h1{background:none;color:#ffe4ab;text-shadow:0 3px 0 #082d35;animation:none}.hero-copy>p:not(.eyebrow):not(.fine){color:#d9e8da}.hero .fine,.hero .facts{color:#e0dfc5}.hero-art>img{box-shadow:0 20px 60px #001e29bb;border:1px solid #c3a469}#controls{box-shadow:0 3px 12px #001b2299;border:1px solid #c6a669}#controls button:hover{transform:translateY(-1px)}#controls .check:enabled{background:#368751;box-shadow:0 0 0 1px #74ad78}#toast{background:#fff1cf;color:#21464b;border:1px solid #c6a669}@keyframes help-in{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}@keyframes example-match{0%,20%,100%{filter:none}40%,70%{filter:brightness(1.16);box-shadow:0 0 0 2px #3b926c}}@keyframes example-build{0%,30%{opacity:.35;transform:scale(.85)}55%,100%{opacity:1;transform:scale(1)}}@media(max-width:1100px){.table{grid-template-columns:minmax(340px,1fr) 240px}.left{display:flex;flex-wrap:wrap;gap:10px}.left>.fine{display:none}.left .legend{max-width:none;display:flex;align-self:stretch}.left .paper{margin:0}.left .paper:first-child{flex:2}.left .paper:nth-child(2){flex:1}#viewport{height:62vh}header{padding:0 16px}.top-volume input{width:58px}nav{gap:2px}}@media(max-width:700px){header{height:auto;min-height:76px;flex-wrap:wrap;padding:10px 14px;gap:10px}nav{flex-wrap:wrap}.wordmark{font-size:22px}.table{display:flex}.left{gap:8px}.left .legend{width:100%;display:flex;flex-wrap:wrap}.right{grid-template-columns:1fr 1fr}#viewport{height:60vh}.tile-cell{width:32px;height:32px}#game{padding:12px}.paper{padding:12px}.top-volume input{width:55px}.game-head h2{font-size:22px}}
.material-icon{width:27px;height:27px;border-radius:4px;box-shadow:0 2px 4px #001b2266}.resource-icon{width:25px;height:25px;object-fit:contain;border-radius:4px;vertical-align:middle;margin-right:5px}#resources>span{display:flex;align-items:center;gap:3px}.legend button{gap:7px}.example-square img{object-fit:cover}
/* Site-wide palette from the user's impasto reference. */
:root{--ink:#253c71;--teal:#506aa8;--paper:#edf0ff;--gold:#efcf6b;color:#263d73;background:#95acd5}body,body[data-day]{background:#95acd5 url('/assets/painted-sea.png') center/cover fixed;color:#253d72}header{background:#e5ebfacf;border-bottom:1px solid #a4aed0;box-shadow:0 5px 24px #334a7b22;backdrop-filter:blur(10px)}.wordmark{color:#304d84;text-shadow:0 1px 0 #f8e8b8}.wordmark span{color:#50699a}nav button{color:#30497d}nav button:hover,nav button[aria-pressed=true]{background:#f9e5a65c;border-color:#8a9dc3}.top-volume output{color:#365184}.top-volume input{accent-color:#6a7cb1}nav .chat-toggle{background:#bccbeb60}.eyebrow{color:#475f8d}.game-head h2{color:#293d70;text-shadow:0 1px 0 #e4eaf9}.game-head .player{border-color:#9cadd1;box-shadow:0 4px 12px #3b53852b}.player.active{background:#e9e6fa;border-color:#7d8bbb}.paper,.lobby-card{color:#2a4275;background:linear-gradient(125deg,#f4f4ffd9,#dfe9ffd9);border:1px solid #a3b4d8;box-shadow:0 6px 18px #344d7b22,inset 0 1px 0 #fff9;backdrop-filter:blur(6px);border-radius:12px 15px 12px 14px}.paper .eyebrow,.lobby-card .eyebrow{color:#526b96}.paper h3{color:#2a4275}.fine{color:#526b96}button,input{color:#30487a;border-color:#a3b2d2}button{background:#eef1ff;box-shadow:inset 0 1px 0 #ffffff9c}button:hover{background:#fff0bf}button:disabled{opacity:.5}.primary{background:#536fa9;color:white;border-color:#405b98;box-shadow:0 3px 8px #3c568532}.primary:hover{background:#425e9d}input{background:#f8f7ff}input:focus-visible,button:focus-visible,a:focus-visible,canvas:focus-visible{outline-color:#b78e36}.board-heading{color:#294574}#viewport{border:4px solid #e9ddba;box-shadow:0 9px 26px #3c568550,inset 0 0 0 1px #fdf1cb}.camera-hint,.hint{color:#344f7e;text-shadow:0 1px 0 #edf2ff99}#resources{background:#e9edfae6;color:#2f4877;border-color:#a6b2d2;box-shadow:0 3px 12px #3c568526}#resources b{color:#334e8c}.legend{background:#e5ebf5df;border-color:#a6b7d5}.legend button{color:#304c7a}.legend button:hover,.legend button:focus-visible{background:#fff0bf;color:#30487a}.left>.fine{color:#334e7e}.tile.selected{background:#e3e6f6;border-color:#708ab9;box-shadow:0 0 0 2px #7c93bc30}.tile:hover{background:#8fa5d232;border-color:#849cc1}.vortex-paper:before{opacity:.2}#panBoard[aria-pressed=true]{background:#e8dbfa;border-color:#8997c7}#controls{background:#f1f1ff;border-color:#a4b1ce;box-shadow:0 4px 13px #334a7b55}#controls button{background:#edf0ff;color:#304c7a}#controls .check{color:#fff;background:#3c8c65;border-color:#357d5b}#controls .check:enabled{background:#3c8c65;box-shadow:none}.explain,dialog,#chat{background:#f0f2ffeF;color:#2d457a;border-color:#9aaed1;box-shadow:0 12px 40px #344d7b55}.help-example{background:#dce5f4}.example-arrow{color:#526eaa}.field-guide details{border-color:#b8c6df}.hero h1{color:#2b437b;text-shadow:0 2px 0 #f9e8ad}.hero-copy>p:not(.eyebrow):not(.fine){color:#3f5884}.hero .fine,.hero .facts{color:#3e5782}.hero-art>img{box-shadow:0 18px 50px #3a568366;border-color:#a5b8d6}.seal{background:#f3edda;color:#435d8e;border-color:#a6b5ce}.invite{background:#dce6f5;color:#334e7e}.crew-member{border-color:#a7b9d4}#toast{background:#edf0ff;color:#30487a;border-color:#9aacce}#connection{background:#e7edfadf;color:#405b86}dialog::backdrop{background:#344d7b88}.tide-card{background:linear-gradient(130deg,#536ba8ee,#9bbad9ee);color:#fff1bd}.tide-card span{color:#ffe8a0}.rescue-note{background:#fff0be;color:#435987;border-color:#c7b873}#finale{color:#2c447a}.score-column .total{color:#526ea6}.success{color:#317455}.waiting{color:#68719a}a{color:#3f5c99}
/* Open tabletop: components, not dashboard containers. */
#game .paper,#lobby .lobby-card{background:none;border:0;box-shadow:none;backdrop-filter:none;border-radius:0;padding:4px 2px}#game .paper{margin-bottom:22px}#game .paper .eyebrow{font-size:11px;letter-spacing:1.6px;color:#2e497e;text-shadow:0 1px 4px #f1f5ff}#weather{font-size:13px}#weather .weather-icon{font-size:30px}#goals{gap:12px}#goals img{box-shadow:1px 4px 7px #2b426344;border-radius:5px}.left{background:none}.legend{background:none;border:0;box-shadow:none;padding:0;gap:4px}.legend button{background:none;border:0;box-shadow:none;padding:5px 2px}.left>.fine{font-size:11px}.vortex-paper{position:relative;isolation:isolate;overflow:visible;min-height:390px}.vortex-paper:before{display:none}.vortex-board{position:absolute;z-index:-1;top:28px;left:50%;transform:translateX(-50%);width:min(350px,130%);max-width:none;aspect-ratio:1;object-fit:contain;clip-path:circle(49.5%);filter:drop-shadow(0 8px 8px #203e6c66);pointer-events:none}.vortex-paper #hand{position:relative;gap:10px;min-height:300px;align-content:center;padding:22px 0 26px}.vortex-paper #hand .tile{filter:drop-shadow(0 3px 4px #082e4b99)}.vortex-paper #hand .tile-cell{width:36px;height:36px}.vortex-paper #hand .tile{background:none;border-color:transparent}.vortex-paper #hand .tile.selected{box-shadow:none;border-color:#f0d786;background:#eef0ff22}.vortex-paper #hand .tile .num{background:#f9ebbe;color:#24436b}#handTitle{position:relative;margin-bottom:5px!important}.right #actions{position:relative;margin-top:8px}#buildSection{margin-top:5px}#buildChoices .build{border:0;background:none;box-shadow:none;border-radius:0;font-size:12px;padding:3px}#buildChoices .build:hover{background:#e9e9ff55}#buildChoices img{filter:drop-shadow(0 4px 4px #2b426344)}#resources{background:none;border:0;box-shadow:none;padding:7px 0}#resources b{font-size:19px}.game-head .player{background:#e9edfa8c;border-color:#99afd155;box-shadow:none}.game-head .player.active{background:#fff1bc9c;border-color:#7d8fad}#viewport{border:0;border-radius:3px;box-shadow:0 5px 17px #2c497a44}#game .board-heading button{box-shadow:none}#panBoard,#fitBoard,#zoomIn,#zoomOut{border-color:#8b9fc555;background:#edf0ff9c}#controls{border:0;box-shadow:0 3px 10px #12365b66}#game .camera-hint,#game .hint{color:#2f4c7b}#finale{background:none!important;border:0!important;box-shadow:none!important}.score-column{border-color:#9aafd077}.hero-art>img{border:0}.invite{background:#e6e9fa66;border:0}#chat{border:0;border-radius:10px}#connection{background:#edf0ff8c}@media(min-width:1500px){.table{grid-template-columns:215px minmax(450px,1fr) 330px}.vortex-paper #hand .tile-cell{width:38px;height:38px}.vortex-paper #hand{min-height:320px}.vortex-board{width:370px}}@media(max-width:700px){.vortex-board{width:110%;top:35px}.vortex-paper #hand .tile-cell{width:27px;height:27px}.vortex-paper{min-height:300px}.vortex-paper #hand{min-height:240px;gap:5px;padding:15px 0}.right{gap:20px}#game .paper{padding:0}.left .paper:first-child{flex:1}}
#controls{position:absolute;width:0;height:0;min-width:0;max-width:none;padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none;display:block;pointer-events:none}#controls button{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:22px;height:22px;min-width:22px;padding:0;font-size:14px;line-height:1;border-radius:50%;border:1px solid #8096be;background:#f2f4ffed;box-shadow:0 2px 5px #29446a44}#controls button:hover{transform:translate(-50%,-50%) scale(1.08)}#controls .check,#controls .check:enabled{width:24px;height:24px;min-width:24px;background:#38855d;color:#fff;font-size:17px;border:1px solid #e0f4d5;box-shadow:0 2px 6px #29446a55}#controls button:disabled{opacity:.65}@media(pointer:coarse){#controls button{width:26px;height:26px;min-width:26px}#controls .check{width:28px;height:28px;min-width:28px}}
body{overflow-x:hidden}.vortex-paper #hand.radial-hand{display:block;height:325px;min-height:325px;padding:0}.vortex-paper #hand.radial-hand .tile{position:absolute;translate:-50% -50%;margin:0}.vortex-paper #hand.radial-hand .tile-cell{width:27px;height:27px}.left p,.left .eyebrow,.left .fine,.legend button,#resources,.hint,.camera-hint{text-shadow:0 1px 2px #f6f4ff,0 -1px 3px #f6f4ff,1px 0 3px #f6f4ff,-1px 0 3px #f6f4ff}.vortex-board{width:125%}#resources span{color:#243e70;font-weight:600}@media(max-width:700px){.vortex-paper #hand.radial-hand{height:260px;min-height:260px}.vortex-paper #hand.radial-hand .tile-cell{width:22px;height:22px}}
/* Readable text islands; original vortex remains fully exposed. */
.table{grid-template-columns:205px minmax(400px,1fr) 300px;gap:20px}.right{min-width:0}.vortex-paper{min-height:355px}.vortex-board{width:100%;top:32px;max-width:100%;left:0;transform:none}.vortex-paper #hand{min-height:300px}.vortex-paper #hand.radial-hand{height:300px;min-height:300px}.vortex-paper #hand.radial-hand .tile-cell{width:27px;height:27px}#game .left .paper,#game #buildSection{background:linear-gradient(120deg,#f6f4ffed,#e4edfaed);border:0;border-radius:15px 19px 16px 13px;box-shadow:0 5px 18px #344d7b21,inset 0 1px 0 #ffffffad;padding:14px 15px;margin-bottom:18px;color:#20365f;backdrop-filter:blur(6px)}#game .left .paper .eyebrow,#game #buildSection .eyebrow{color:#3e5583;text-shadow:none;font-weight:800}#weather p,#buildSection p{color:#2a4269;font-size:12px;font-weight:500;text-shadow:none}#weather h3{color:#273d6c}#weather .weather-icon{color:#3b578b}.legend{background:#f0f3ffed;border:0;border-radius:13px;padding:8px 10px;box-shadow:0 4px 12px #344d7b1c}.legend button{color:#233a65;font-weight:700}.left p,.left .eyebrow,.left .fine,.legend button,#resources,.hint,.camera-hint{text-shadow:none}.left>.fine{background:#f0f3ffdf;border-radius:8px;padding:5px 8px;color:#324d7d;font-size:11px}.game-head h2{color:#20365f;text-shadow:0 1px 0 #f4f3ff}.game-head .eyebrow{color:#344e7d}.board-heading{color:#20365f}.board-heading>span{background:#f2f4ffdf;border-radius:8px;padding:5px 9px}.camera-hint,.hint{background:#eff2ffdf;width:fit-content;max-width:100%;margin:7px auto;border-radius:8px;padding:4px 9px;color:#304a73!important;font-weight:500}#resources{background:#eef2ffed;border-radius:12px;padding:9px 12px;box-shadow:0 4px 12px #344d7b21;color:#233a65}#handTitle{background:#eef1ffdf;border-radius:8px;display:block;width:fit-content;max-width:100%;padding:5px 9px;color:#304a73!important}.vortex-paper .tile .num{text-shadow:none}.vortex-paper #actions{margin-top:4px}#buildSection{margin-top:0}@media(min-width:1500px){.table{grid-template-columns:215px minmax(450px,1fr) 330px}.vortex-board{width:100%}.vortex-paper #hand.radial-hand{height:330px;min-height:330px}}@media(max-width:1100px){.table{grid-template-columns:minmax(340px,1fr) 285px}.left .paper{margin-bottom:0!important}.vortex-paper #hand.radial-hand{height:285px;min-height:285px}}@media(max-width:700px){.table{display:flex}.right{display:flex;flex-wrap:wrap;gap:14px}.vortex-paper{flex:1 1 260px;min-width:0;width:min(100%,330px);max-width:330px;margin:0 auto!important}.vortex-paper #hand.radial-hand{height:300px;min-height:300px}.vortex-paper #hand.radial-hand .tile-cell{width:27px;height:27px}#buildSection{flex:1 1 200px}.left{align-items:stretch}.left .legend{padding:6px}.camera-hint,.hint{font-size:10px}#resources{gap:10px;font-size:11px}}

/* Illustrated player aid and clear simultaneous-turn guidance. */
#turnPrompt{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;background:#f5f2ffeF;color:#243b65;border-left:5px solid #458260;border-radius:12px;padding:10px 15px;margin:0 0 16px;box-shadow:0 4px 15px #344d7b22}#turnPrompt strong{font-size:16px}#turnPrompt span{font-size:12px}#turnPrompt[data-stage=finish]{background:#fff4d9;border-color:#b78032}#turnPrompt[data-stage=waiting]{border-color:#8291ae;background:#e8edf9}.guide-button{width:100%;font-size:12px;background:#dce5fa;color:#253f70;margin:5px 0 12px}.building-guide{width:min(1050px,94vw);max-width:94vw;background:#f2f3ff;color:#233a62}.building-guide>p{max-width:800px}.building-reference{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.building-reference article{padding:15px;background:#fffdf4;border-radius:15px;box-shadow:0 3px 12px #344d7b18}.building-reference h3{font-size:17px;margin:0}.building-reference p{font-size:13px;line-height:1.6}.effect-example>img{width:60px;height:60px;object-fit:contain}.effect-example{background:#e4eaf6}.example-poly{display:grid;grid-template-columns:repeat(3,23px)}.example-poly img{width:23px;height:23px}.example-poly img:first-child{grid-column:2}.example-poly img:nth-child(2){grid-column:1}.example-scraps{display:grid;grid-template-columns:repeat(2,25px);gap:3px}.example-scraps img{width:25px;height:25px}.example-open{display:grid;grid-template-columns:repeat(3,25px);grid-template-rows:repeat(3,25px);align-items:center;text-align:center;background:#c5e0ea}.example-open img{width:25px;height:25px}.example-open span{font-size:12px;font-weight:800;color:#285a50}.example-neighbors{display:flex;gap:3px}.example-neighbors img{width:30px;height:40px;object-fit:contain}#ready{width:100%;font-size:15px;padding:11px 13px;box-shadow:0 4px 12px #365b7333}#actions .waiting{background:#edf2ffed;color:#2f4672;border-radius:9px;padding:9px}

.effect-example>img[src$="boat.webp"],.help-object img[src$="boat.webp"]{width:150px;height:auto;max-width:100%}.boat-tile{background:#147d93 url('/assets/texture-39.png') center/100% 100% no-repeat!important}.boat-tile .tile-cell{background:none!important;border:0}.boat-tile .num{background:#f4f1df;color:#203b62}.guide-button{margin-top:12px}

/* Weather is a contribution card, with real piece silhouettes and filled slots. */
.weather-card-art{position:relative;overflow:hidden;aspect-ratio:360/290;border-radius:9px;margin:0 -5px 10px;box-shadow:0 2px 7px #304a7022}.weather-card-art img{width:100%;height:auto;display:block}.weather-name{font-size:17px;margin:8px 0!important;line-height:1.2}.weather-instruction{font-size:12px!important;font-weight:700!important}.weather-requirements{display:flex;flex-direction:column;gap:9px}.weather-requirement{padding:9px;background:#fffdf4;border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.weather-slots{display:flex;gap:4px;grid-column:1/-1}.weather-slot{position:relative;width:39px;height:43px;border:2px dashed #879bb1;border-radius:6px;padding:3px;background:#e7edf4}.weather-slot img{width:100%;height:100%;object-fit:contain;opacity:.55;filter:saturate(.65)}.weather-slot.filled{border:2px solid #4b8767;background:#e0efde}.weather-slot.filled img{opacity:1;filter:none}.weather-slot b{position:absolute;right:-5px;bottom:-5px;border-radius:50%;background:#367c53;color:white;width:19px;height:19px;text-align:center;font-size:13px}.weather-requirement strong{font-size:12px;color:#273f60}.weather-requirement small{font-size:11px;color:#586c82}.weather-requirement button{font-size:10px;padding:5px 7px;background:#dcebdc;color:#245337;border:1px solid #a7c3ab}.weather-requirement button:disabled{background:#edf0f5;color:#59677c;opacity:1;border:1px solid #d2d9e3}.weather-done{font-size:11px;color:#30704b;font-weight:700}.weather-or{align-self:center;font-size:11px;font-weight:800;color:#52648b}.weather-outcome{display:flex;align-items:center;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid #cad4e3}.weather-outcome>img{width:35px;height:35px;object-fit:contain}.weather-outcome b{display:block;font-size:11px;color:#326449}.weather-outcome small{display:block;font-size:10px;color:#79523b;margin-top:5px}.weather-note{font-size:10px!important;line-height:1.45;color:#516582!important;margin-bottom:0}#weather .weather-requirement p{margin:0}

/* Piece positioning must not compete with ambient breathing motion. */
.vortex-paper #hand.radial-hand .tile{animation:none;translate:-50% -50%}.vortex-paper #hand .tile.selected,.vortex-paper #hand .tile:active{animation:none}#viewport{scrollbar-gutter:stable;overflow-anchor:none}.ocean-area,.right,.left{overflow-anchor:none}

dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#344d7b33}header,#game .paper,.paper,.lobby-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}


/* Gentle motion uses transform, leaving the radial anchor untouched. */
body:not(.calm) .vortex-paper #hand .tile:not(.selected):not(:active){animation:salvage-bob 7s ease-in-out infinite}body:not(.calm) .vortex-paper #hand .tile:nth-child(2n){animation-delay:-2s}body:not(.calm) .vortex-paper #hand .tile:nth-child(3n){animation-delay:-4s}@keyframes salvage-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){body:not(.motion-opt-in) .vortex-paper #hand .tile{animation:none!important}}

.turn-invitation button{border:1px solid #b8c8df!important;background:linear-gradient(115deg,#fff5dc,#edf0ff)!important;color:#29446a!important;box-shadow:0 5px 24px #344d7b33!important;border-radius:23px 25px 24px 7px!important}.turn-invitation button img{width:100px!important;height:48px!important;border-radius:0!important}.turn-invitation strong{font-family:Fraunces,Georgia,serif}.turn-invitation .turn-action{font-size:13px!important}.turn-invitation{top:90px!important}.turn-invitation small{opacity:.85!important}

.construction-dialog{width:min(960px,94vw);max-width:94vw;padding:26px;background:#f5f3ff;color:#263f66}.construction-dialog>h2{font-size:28px;margin:0 0 10px}.construction-dialog>p{font-size:14px;line-height:1.6;max-width:760px}.construction-groups>section>h3{font-size:12px;color:#526784;margin:20px 0 10px}.construction-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.construction-options article{display:flex;flex-direction:column;padding:22px;background:#fffdf4;border-radius:18px;box-shadow:0 4px 18px #344d7b15}.construction-options h3{font-size:22px;margin:0 0 10px}.construction-options p{font-size:14px;line-height:1.65;flex:1}.construction-options .help-example{min-height:130px}.construction-options .effect-example>img{width:85px;height:85px}.construction-options .effect-example>img[src$="boat.webp"]{width:180px;height:auto}.construction-options .help-example small{font-size:12px;line-height:1.5}.construction-options .primary{margin-top:12px;padding:12px;font-size:14px}@media(max-width:620px){.construction-options{grid-template-columns:1fr}.construction-dialog{padding:18px}.construction-options article{padding:18px}}

#follower .boat-follower-art{position:absolute;left:50%;top:50%;max-width:none;pointer-events:none}

/* Player-aid diagrams preserve actual square footprints and adjacency. */
.example-poly{display:grid;grid-template-columns:repeat(3,23px);grid-template-rows:repeat(3,23px);gap:0}.example-poly img:first-child{grid-column:1;grid-row:1}.example-poly img:nth-child(2){grid-column:2;grid-row:1}.example-poly img:nth-child(3){grid-column:3;grid-row:1}.example-poly img:nth-child(4){grid-column:2;grid-row:2}.example-poly img:nth-child(5){grid-column:2;grid-row:3}
.example-solar-grid{display:grid;grid-template-columns:repeat(4,23px);grid-template-rows:repeat(4,23px);background:#a9d6e4;gap:1px}.example-solar-grid .solar-piece{grid-column:2/4;grid-row:2/4;background:url('/assets/solar.webp') center/100% 100%}.example-solar-grid img{width:23px;height:23px;display:block}.example-solar-grid .open-edge{font-size:13px;font-weight:800;display:grid;place-items:center;color:#174e59;background:#ccebf0}.example-garden-grid{display:grid;grid-template-columns:repeat(5,19px);grid-template-rows:repeat(6,19px);gap:1px;background:#a9d6e4}.example-garden-grid span>img{width:100%;height:100%;display:block;object-fit:fill}.example-garden-grid .garden-piece{grid-column:3;grid-row:3/5;background:url('/assets/garden.webp') center/100% 100%}

/* Keep the ocean clear: instructions live in help, not repeated around the table. */
.camera-hint{display:none!important}#hint{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}.game-head #phase{display:none}.game-head{margin-bottom:8px}#turnPrompt{padding:8px 13px;margin-bottom:10px}#turnPrompt>span{display:none}#turnPrompt strong{font-size:14px}#resources{margin-top:8px}.collection-notice{position:absolute;z-index:20;left:50%;bottom:62px;translate:-50% 0;display:flex;align-items:center;gap:12px;width:min(450px,90%);padding:14px 16px;background:#fff5dc;color:#294569;border-radius:16px;box-shadow:0 6px 25px #29446a44;border:1px solid #cfba83}.ocean-area{position:relative}.collection-notice img{width:48px;height:48px;object-fit:contain}.collection-notice strong{display:block;font-size:21px}.collection-notice small{display:block;margin-top:5px;line-height:1.4;font-size:12px}.collection-notice button{margin-left:auto;padding:3px 8px;background:none;border:0;font-size:20px}.just-collected{background:#e3efd3;box-shadow:0 0 0 4px #b2d394;border-radius:6px}.collection-notice+.collection-notice{bottom:172px}

/* Compact support columns give the ocean the largest uninterrupted area. */
#game{padding-top:12px}.table{align-items:start}.left>.paper{margin-bottom:12px!important}#weather{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 9px;align-items:start}.weather-card-art{width:64px;aspect-ratio:360/290;margin:0;grid-row:1/3}.weather-name{font-size:15px!important;margin:0!important;line-height:1.3!important}.weather-instruction{font-size:10px!important;margin:0!important;line-height:1.4}.weather-requirements,.weather-outcome,.weather-note{grid-column:1/-1}.weather-requirements{gap:6px;margin-top:4px}.weather-requirement{padding:7px;grid-template-columns:auto 1fr auto;gap:6px}.weather-slots{grid-column:auto;gap:3px}.weather-slot{width:29px;height:34px;padding:2px}.weather-requirement strong{font-size:11px}.weather-requirement strong small{display:block}.weather-requirement button{font-size:9px;padding:4px 5px;max-width:60px}.weather-done{font-size:10px}.weather-outcome{margin-top:3px;padding-top:8px}.weather-outcome b{font-size:10px;line-height:1.4}.weather-note{display:none}#weather>p:only-child{grid-column:1/-1}#goals{gap:8px}#goals img{width:calc(50% - 4px);height:110px;object-fit:contain;cursor:zoom-in}.left>.fine{display:none}.legend{margin-top:10px}.legend button{font-size:11px;padding:5px 3px}.legend .material-icon{width:27px;height:27px}.left .guide-button{margin-top:8px;padding:8px;font-size:11px}#buildSection>p.fine{display:none}#buildSection{padding:12px!important}#buildChoices>.fine{margin:0;line-height:1.4;font-size:11px}.vortex-paper{min-height:335px}.board-heading{margin-bottom:7px}.game-head .eyebrow{margin:0}#resources{gap:12px;padding:8px 10px;font-size:11px}.resource-icon{width:24px;height:24px}@media(max-width:700px){.left{gap:10px}.left>.paper{flex:1 1 180px}.left .legend{flex:1 1 160px}.weather-requirement{grid-template-columns:auto 1fr auto}}

.construction-skip{display:block;margin:20px auto 0;padding:10px 24px;background:#e2e8f5;color:#3c5277;border:1px solid #b6c3d9}.construction-dialog{background:#f5f3ff!important}.building-guide,#rulesDialog{background:#f5f3ff!important}

#viewport{margin-left:auto;margin-right:auto;max-width:100%}#buildChoices>.guide-button{grid-column:1/-1;min-height:0;padding:7px;margin:0 0 6px}.weather-outcome b{font-weight:600}.weather-requirement{grid-template-columns:auto 1fr}.weather-requirement button,.weather-done{grid-column:1/-1;justify-self:stretch;text-align:center;max-width:none;min-height:25px}#resources{justify-content:center}.board-heading{justify-content:space-between}.left .paper{padding:11px!important}

.build-picture-guide{grid-column:1/-1;display:flex;flex-direction:column;gap:7px}.build-picture-row{display:grid;grid-template-columns:29px 14px 1fr 1fr;gap:6px;align-items:center}.build-picture-row .build-material{width:29px;height:29px;object-fit:contain}.build-picture-row>span{color:#65799a}.build-picture-row button{padding:5px 3px;background:#fffdf4;border:0;border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:3px}.build-picture-row button img{width:50px;height:50px;object-fit:contain}.build-picture-row small{font-size:9px;line-height:1.2}.build-picture-guide>small{font-size:10px;text-align:center;color:#526784}.build img{max-width:100%;width:80px;height:80px;object-fit:contain}#buildChoices{gap:8px}.build{padding:8px!important}.build span{font-size:12px}.build small{font-size:10px}

header{height:60px}.wordmark{font-size:29px}.wordmark span{font-size:8px}.game-head .player{padding:4px 8px}.game-head .player .icon{font-size:22px}.game-head .player small{font-size:9px}.board-heading button{padding:5px 8px}.game-head{gap:8px}.game-head #copyRoom{padding:5px 8px}#game{padding-top:10px}#turnPrompt{padding:7px 12px}.turn-invitation{top:70px!important}

/* Fluid card choices based on CSS-Tricks auto-fit/minmax guidance. */
.construction-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}.building-reference{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}


#ready{background:#397c58;color:white;border:1px solid #c6e7c7;font-size:16px;font-weight:800;padding:13px 16px;box-shadow:0 4px 14px #28543c33}body:not(.calm) #ready{animation:pass-emphasis 3s ease-in-out infinite}@keyframes pass-emphasis{0%,100%{box-shadow:0 4px 14px #28543c33}50%{box-shadow:0 0 0 4px #b5d6a9aa,0 5px 16px #28543c33}}@media(prefers-reduced-motion:reduce){body:not(.motion-opt-in) #ready{animation:none!important}}#turnPrompt[data-stage=finish]{border-left:6px solid #397c58;background:#edf3df}#turnPrompt[data-stage=finish] strong{color:#245b3e}

/* A persistent next action, distinct from the brief turn entrance. */
#actions:has(#ready){position:relative;margin-top:12px;padding-top:23px}
#actions:has(#ready)::before{content:"↓";position:absolute;top:-7px;left:calc(50% - 15px);width:30px;height:30px;border-radius:50%;background:#fff3bd;color:#22543d;font-size:26px;font-weight:900;text-align:center;line-height:30px;box-shadow:0 2px 8px #193e4c30;pointer-events:none}
#ready{min-height:56px;border:2px solid #f2e5a8;background:linear-gradient(135deg,#317656,#205c47);border-radius:14px;font-size:18px;letter-spacing:.1px;box-shadow:0 5px 0 #163c30,0 9px 20px #19493338;transition:transform .16s,filter .16s}
#ready:hover{filter:brightness(1.13);transform:translateY(-2px)}#ready:active{transform:translateY(2px)}#ready:focus-visible{outline:3px solid #fff3b8;outline-offset:4px}

#resources #inspectFish{display:inline-flex;align-items:center;gap:5px;background:#f8f7e8;border:1px solid #b9c8d4;border-radius:8px;padding:4px 7px;color:#233a65;font-size:inherit}#resources #inspectFish small{font-size:10px}.private-fish-dialog{width:min(680px,92vw);background:#f4f3ff;color:#253f67}.private-fish-dialog p{line-height:1.6}.private-fish-tokens{display:flex;flex-wrap:wrap;gap:12px}.private-fish-tokens article{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fffdf4;border-radius:12px;padding:13px;min-width:115px}.private-fish-tokens img{width:75px;height:75px;object-fit:contain}.private-fish-tokens button{font-size:11px;background:#dbead9;color:#2d6142}

.fish-choice-panel{position:absolute;z-index:15;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,94%);display:flex;gap:16px;align-items:center;background:#fff7df;color:#263f62;border:2px solid #9c8150;border-radius:16px;padding:18px;box-shadow:0 12px 40px #20334e55}.fish-choice-panel>img{width:85px;height:85px;object-fit:contain}.fish-choice-panel h3{font-size:20px;margin:0 0 7px}.fish-choice-panel p{font-size:13px;line-height:1.5}.fish-choice-actions{display:flex;gap:8px;flex-wrap:wrap}.fish-choice-actions button{background:#dce8d7;color:#26543b;font-weight:700}.fish-choice-panel small{display:block;margin-top:8px}@media(max-width:600px){.fish-choice-panel{padding:13px;gap:9px}.fish-choice-panel>img{width:55px;height:55px}.fish-choice-panel h3{font-size:17px}}
