@import url('./avatar.css');
@import url('./district-art.css');
:root{color-scheme:dark;--ink:#071d2b;--white:#f3f8fa;--cyan:#35d4ed;--orange:#ff8a48;--muted:#9cb5c2}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--white);font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums;background-image:repeating-radial-gradient(ellipse at 110% 10%,transparent 0 70px,#15334255 71px 72px,transparent 73px 100px)}header,footer{display:flex;justify-content:space-between;align-items:center;padding:25px 4vw;border-bottom:1px solid #29414e}header a{font-size:28px;font-weight:800;letter-spacing:3px;text-decoration:none;color:var(--white)}header small{font-size:11px;color:var(--muted);letter-spacing:2px;margin-left:18px}#connection{color:var(--cyan);font-size:14px}main{padding:35px 4vw;min-height:80vh;position:relative}h1{font-size:clamp(42px,5vw,82px);line-height:1.03;letter-spacing:-3px;margin:15px 0 22px}h1 small{font-size:.5em;color:var(--muted);letter-spacing:-1px}h2{font-size:26px;line-height:1.2;margin:12px 0}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:bold;color:var(--cyan);line-height:1.5}.intro{font-size:21px;line-height:1.5;color:#c2d3db;max-width:670px}.muted,small{color:var(--muted);line-height:1.5}.welcome{max-width:650px;padding:5vh 0;position:relative;z-index:1}.welcome h1{font-size:clamp(55px,6vw,105px)}form{display:flex;align-items:end;gap:20px;margin:35px 0}label{display:grid;gap:10px;font-size:14px}select{font:inherit;border:1px solid #47616e;padding:15px;min-width:130px;background:#102f40;color:var(--white);border-radius:4px}button{font:700 16px Arial;cursor:pointer;background:var(--cyan);border:1px solid var(--cyan);border-radius:4px;color:var(--ink);padding:17px 24px;min-height:50px}button:hover{filter:brightness(1.13)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button:disabled{opacity:.35;cursor:default}.secondary{background:transparent;color:var(--white);border-color:#47616e}.actions{display:flex;align-items:center;gap:16px;margin:24px 0;flex-wrap:wrap}.actions p{font-size:14px;color:var(--muted);line-height:1.6}.harbor-art{position:absolute;right:7%;top:15%;width:34%;aspect-ratio:1;background:repeating-radial-gradient(ellipse,#133e4d 0 2px,transparent 3px 30px);border-radius:50%;transform:rotate(-10deg)}.island{position:absolute;inset:20%;background:#173c46;border:2px solid #2c6170;clip-path:polygon(10% 20%,70% 5%,100% 45%,76% 95%,20% 90%,0 60%);display:flex;justify-content:center;align-items:center;flex-direction:column;font-weight:bold;letter-spacing:3px;line-height:1.7;font-size:22px}.island small{font-size:9px;letter-spacing:1px}.boat{position:absolute;bottom:12%;right:10%;font-size:65px;color:var(--orange)}.join{display:flex;gap:28px;align-items:center;background:#0c2a3b;border:1px solid #335260;border-left:4px solid var(--cyan);padding:20px 28px;margin:25px 0}.qr{background:white;padding:5px;flex-shrink:0;width:155px;height:155px}.qr svg{width:100%;height:100%}.room-code{font-size:52px;letter-spacing:12px}.join p{margin:4px 0}.join a{color:var(--white);font-size:19px}.notice{color:var(--orange);font-size:13px}.crew-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.crew,.station{background:#0c2838e8;border:1px solid #294957;padding:18px 22px;border-radius:5px}.crew p{color:var(--muted);font-size:13px}.seat{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #284452;padding:10px 0;font-size:14px}.seat span{color:var(--muted)}.title-row{display:flex;justify-content:space-between;align-items:center}.week-state{font-size:22px;color:var(--cyan);text-align:right}.week-state p{font-size:14px;color:var(--muted)}.tabs{display:flex;gap:10px;margin:5px 0 20px}.tabs button{background:transparent;border-color:#294957;color:var(--muted);padding:10px 20px;min-height:40px}.tabs button.active{border-color:var(--cyan);color:var(--cyan);background:#123749}.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.station{position:relative}.station:not(:last-child):after{content:'←';position:absolute;right:-21px;top:38%;color:var(--cyan);font-size:22px}.metric{font-size:64px;font-weight:bold;letter-spacing:-2px}.metric span{display:block;font-size:11px;letter-spacing:2px;font-weight:normal;color:var(--muted);margin:2px 0 20px}.station-data span{display:flex;justify-content:space-between;font-size:14px;line-height:2;color:var(--muted)}.station-data b{color:var(--white)}.order-state{padding-top:12px;border-top:1px solid #294957;font-size:13px;color:var(--cyan)}.flow-note{text-align:center;font-size:10px;letter-spacing:1.3px;color:var(--muted);margin:18px 0}.chart{border:1px solid #294957;background:#092333d9;padding:18px 22px;margin:20px 0}.chart svg{display:block;width:100%;max-height:195px}.legend{display:flex;justify-content:center;gap:28px;font-size:12px;margin-top:10px}.mini-code{margin-left:auto;letter-spacing:3px;font-size:18px;color:var(--muted)}.debrief-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:35px;margin-top:25px}.debrief{padding:25px 30px;background:#0e2d3c;border:1px solid #32505f;border-top:3px solid var(--cyan)}.debrief h2{font-size:34px;letter-spacing:-1px}.beat-text{font-size:23px;line-height:1.6}.prompt{border-left:3px solid var(--orange);padding:4px 20px;margin-top:30px}.prompt .eyebrow{color:var(--orange)}.prompt p:last-child{font-size:21px;line-height:1.5}.ranking{padding:15px 0}.rank{display:flex;gap:18px;align-items:center;padding:25px 0;border-bottom:1px solid #294957}.rank>span{font-size:20px;color:var(--muted)}.rank strong{font-size:25px}.rank b{margin-left:auto;font-size:28px;text-align:right}.rank small{display:block;font-size:9px;letter-spacing:1px;margin-top:5px}.ranking button{margin-top:28px;width:100%}details{padding:20px 0;margin:15px 0}summary{cursor:pointer;color:var(--muted)}textarea{width:100%;min-height:180px;margin-top:20px}footer{border-bottom:0;border-top:1px solid #29414e;font-size:10px;letter-spacing:2px;color:var(--muted)}#error{color:var(--orange);margin:0 4vw 20px;font-size:18px}a{color:var(--cyan)}@media(min-width:1700px){main{padding-top:50px}.crew,.station{padding:24px 30px}.join{max-width:1000px}.flow .metric{font-size:80px}}@media(max-width:1000px){.harbor-art{opacity:.4;right:0}.crew-grid{grid-template-columns:repeat(2,1fr)}.flow{gap:12px}.station{padding:14px 10px}.metric{font-size:44px}.station:not(:last-child):after{display:none}.station-data span{font-size:12px}.debrief-layout{grid-template-columns:1fr}.title-row{align-items:start}.legend{gap:12px}header small{display:none}}@media(max-width:600px){header{padding:18px}.crew-grid,.flow{grid-template-columns:1fr}.join{padding:15px;gap:15px}.qr{width:110px;height:110px}.room-code{font-size:34px}.join small{display:none}.intro{font-size:18px}.title-row{display:block}.week-state{text-align:left;font-size:18px}.tabs{flex-wrap:wrap}.legend{flex-wrap:wrap}.harbor-art{display:none}.welcome h1{font-size:56px}.debrief{padding:20px}.beat-text{font-size:20px}.mini-code{margin-left:0}footer span{display:none}}
/* Signal & Tide harbor scene and measured shipment animation. */
header{gap:20px}.motion-control{font-size:11px;min-height:32px;padding:7px 11px;background:transparent;color:var(--muted);border-color:#335260;white-space:nowrap}#connection{margin-left:auto}.welcome-art{position:absolute;right:4vw;top:60px;width:41%;max-width:750px}.harbor-scene{position:relative;isolation:isolate;border:1px solid #38626d;border-radius:6px;overflow:hidden;background:#0b3342 url('/assets/harbor.png') center 55%/cover no-repeat}.harbor-scene:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071d2be8,#071d2b3b 70%),linear-gradient(0deg,#071d2bbf,transparent 60%)}.harbor-welcome{min-height:350px;padding:28px;display:flex;flex-direction:column;justify-content:space-between}.harbor-caption strong{display:block;font-size:35px;line-height:1.1;letter-spacing:-1px;margin-top:10px;max-width:340px}.moored-fleet{display:flex;gap:22px;align-items:end;margin-top:40px}.moored-fleet>div{display:grid;justify-items:center;gap:6px;font-size:11px;letter-spacing:1px}.crew-vessel{display:inline-block;position:relative;width:63px;height:47px;vertical-align:middle;flex-shrink:0}.vessel-art{position:absolute;inset:0;background:url('/assets/boats.png') left center/300% 100% no-repeat;filter:drop-shadow(0 4px 4px #0008)}[data-boat=tern] .vessel-art{background-position:center center}[data-boat=amber] .vessel-art{background-position:right center}[data-boat=indigo] .vessel-art{filter:hue-rotate(210deg) drop-shadow(0 4px 4px #0008)}[data-boat=sage] .vessel-art{filter:hue-rotate(90deg) drop-shadow(0 4px 4px #0008)}[data-boat=rose] .vessel-art{filter:hue-rotate(300deg) drop-shadow(0 4px 4px #0008)}.harbormaster{display:flex;gap:15px;align-items:center;padding:15px 0}.harbormaster img{width:78px;height:78px;object-fit:cover;object-position:center 25%;border-radius:50%;border:1px solid #476575;background:#183a47}.harbormaster>span{font-size:11px;letter-spacing:2px;color:var(--cyan);font-weight:bold}.harbormaster small{display:block;font-size:13px;letter-spacing:0;margin-top:7px;font-weight:normal}.lobby-harbor{display:grid;grid-template-columns:1.2fr 1fr;gap:25px;align-items:stretch;margin:24px 0}.lobby-harbor .join{margin:0}.lobby-harbor .harbor-welcome{min-height:240px;padding:20px}.lobby-harbor .harbor-caption strong{font-size:26px}.lobby-harbor .moored-fleet{margin-top:14px}.crew-name{display:flex;align-items:center;gap:8px}.crew-name .crew-vessel{width:56px;height:42px}.tabs button{display:flex;align-items:center;gap:8px}.tabs .crew-vessel{width:40px;height:30px}.harbor-live{padding:15px 22px;margin:0 0 22px;background-position:center 65%}.harbor-live:before{background:linear-gradient(90deg,#071d2bed,#071d2b99,#071d2bd9)}.dispatch-heading{display:flex;justify-content:space-between;gap:15px;margin-bottom:10px}.dispatch-heading .eyebrow{font-size:10px}.dispatch-heading>span:last-child{font-size:10px;color:#c4dae2}.dispatch-lanes{display:grid;gap:3px}.dispatch-lane{display:grid;grid-template-columns:95px minmax(140px,1fr) 95px 105px;align-items:center;min-height:31px;gap:14px}.dock-label{font-size:11px;color:#e0edf1;text-align:right}.dock-label.source{text-align:left}.shipping-water{position:relative;height:31px;overflow:hidden;border-bottom:1px dashed #6595a05e;background:linear-gradient(0deg,#35d4ed12,transparent)}.shipment-motion{position:absolute;right:0;top:0;height:31px;width:90px;display:flex;align-items:center;gap:4px;animation:dispatch-crossing 5s linear both;animation-delay:var(--dispatch-elapsed,0ms)}.shipment-motion .crew-vessel{width:43px;height:31px}.shipment-motion b{font-size:12px;padding:2px 5px;background:#071d2bea;color:var(--cyan);border-radius:3px}.route-arrow{position:absolute;left:2px;bottom:0;color:#35d4ed88}.dispatch-total{font-size:11px;color:var(--cyan);text-align:right}.no-shipment{display:block;text-align:center;font-size:10px;color:#afc2ca;line-height:31px}.debrief>.harbormaster{padding-top:0;margin-bottom:15px;border-bottom:1px solid #335260;padding-bottom:15px}.dispatch-paused .shipment-motion{animation-play-state:paused}.motion-off .shipment-motion{animation:none;right:40%}@keyframes dispatch-crossing{from{right:0}to{right:calc(100% - 90px)}}@media(prefers-reduced-motion:reduce){.shipment-motion{animation:none;right:40%}}@media(max-width:1100px){.welcome-art{position:static;width:100%;max-width:none;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}.welcome-art .harbor-welcome{min-height:230px}.welcome{padding:15px 0}.lobby-harbor{grid-template-columns:1fr}.lobby-harbor .harbor-welcome{min-height:190px}.dispatch-heading{flex-wrap:wrap}.dispatch-lane{grid-template-columns:80px minmax(100px,1fr) 80px 85px;gap:8px}.harbor-live{padding:14px}}@media(max-width:600px){.welcome-art{display:block}.welcome-art .harbor-welcome{min-height:240px}.dispatch-lane{grid-template-columns:58px minmax(65px,1fr) 65px;gap:6px}.dispatch-total{grid-column:2/4;text-align:left;padding-bottom:5px}.dock-label{font-size:9px}.dispatch-heading>span:last-child{line-height:1.5}.harbor-live{padding:12px 9px}.harbor-caption strong{font-size:29px}.motion-control{font-size:9px;padding:6px}header{flex-wrap:wrap;gap:10px}header a{font-size:22px}#connection{font-size:11px}.moored-fleet{gap:12px}}
.crew-vessel{width:64px;height:64px}.crew-name .crew-vessel{width:52px;height:52px}.tabs .crew-vessel{width:32px;height:32px}.shipment-motion .crew-vessel{width:31px;height:31px;transform:scaleX(-1)}
/* Keep the operating board and facilitator controls together on a TV. */
@media(min-width:1100px){
header{padding:16px 4vw}footer{padding:14px 4vw}main{padding:20px 4vw;min-height:calc(100svh - 140px)}h1{font-size:60px;margin:8px 0 14px}main>.eyebrow{margin-top:0}.intro{font-size:19px;margin:10px 0 16px}.title-row>.eyebrow,.title-row .eyebrow{margin:0 0 6px}.title-row h1{font-size:62px;margin:5px 0 12px}.week-state p{margin:8px 0}.harbor-live{padding:10px 20px;margin:0 0 12px}.dispatch-heading{margin-bottom:4px}.dispatch-lane{min-height:27px}.shipping-water{height:27px}.shipment-motion{height:27px;top:-2px}.no-shipment{line-height:27px}.dispatch-lanes{gap:1px}.tabs{margin:0 0 12px}.tabs button{padding:5px 15px;min-height:38px}.tabs .crew-vessel{width:28px;height:28px}.flow{gap:24px}.station{padding:14px 22px}.station>.eyebrow{margin:0 0 6px}.metric,.flow .metric{font-size:58px;line-height:1.03}.metric span{margin:6px 0 11px}.station-data span{line-height:1.8}.order-state{margin:8px 0 0;padding-top:8px}.flow-note{margin:10px 0;font-size:10px}.chart{padding:10px 20px;margin:10px 0}.chart>.eyebrow{margin:0 0 4px}.chart svg{height:140px;max-height:140px}.legend{margin-top:2px}.actions{margin:14px 0 4px;gap:12px}.actions button{padding:12px 20px;min-height:46px}.lobby-harbor{margin:16px 0;gap:22px}.lobby-harbor .harbor-welcome{min-height:200px;padding:18px}.lobby-harbor .harbor-caption strong{font-size:26px}.lobby-harbor .moored-fleet{margin-top:4px}.lobby-harbor .crew-vessel{width:48px;height:48px}.join{padding:16px 22px}.crew{padding:12px 20px}.crew h2{font-size:23px;margin:0 0 4px}.crew-name .crew-vessel{width:40px;height:40px}.crew>p{margin:5px 0 8px}.seat{padding:7px 0}.actions p{margin:0;font-size:13px;line-height:1.6}.debrief-layout{margin-top:16px;gap:28px}.debrief{padding:20px 26px}.debrief>.harbormaster{margin-bottom:10px;padding-bottom:10px}.debrief .harbormaster img{width:60px;height:60px}.debrief h2{font-size:30px;margin:10px 0}.beat-text{font-size:21px;line-height:1.5;margin:12px 0}.prompt{margin-top:20px;padding:2px 18px}.prompt p:last-child{font-size:19px;margin:10px 0}.ranking{padding:8px 0}.rank{padding:20px 0}.ranking button{margin-top:20px}details{padding:12px 0;margin:12px 0}.welcome-art{top:35px}.welcome{padding:4vh 0}#error:empty{display:none}
}
@media(min-width:1100px) and (max-height:850px){header{padding-top:12px;padding-bottom:12px}main{padding-top:14px;padding-bottom:14px}.title-row h1{font-size:46px}.harbor-live{margin-bottom:8px}.dispatch-lane{min-height:22px}.shipping-water{height:22px}.dispatch-heading>span{font-size:9px}.metric,.flow .metric{font-size:42px}.station{padding:10px 18px}.station-data span{font-size:12px;line-height:1.6}.metric span{margin-bottom:6px}.chart svg{height:90px;max-height:90px}.tabs button{min-height:32px;padding-top:2px;padding-bottom:2px}.chart{padding-top:7px;padding-bottom:7px}.actions{margin-top:9px}.flow-note{margin:7px 0}.lobby-harbor .harbor-welcome{min-height:175px}.crew{padding:10px 16px}.seat{padding:5px 0}.actions p{font-size:12px}h1{font-size:48px}.debrief .harbormaster{display:none}}
/* The live district is the operating map; station tables are optional detail. */
.district-map{position:relative;isolation:isolate;height:clamp(420px,52vh,560px);overflow:hidden;border:1px solid #438491;border-radius:8px;background:radial-gradient(ellipse at 50% 65%,#12546a,#082c41 75%);box-shadow:inset 0 0 100px #041b2b88}.map-sea{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#082c4199,#082c41cc),url('/assets/harbor.png') center 58%/cover;opacity:.72}.district-map:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-radial-gradient(ellipse at 40% 80%,transparent 0 35px,#50bed51c 36px 37px,transparent 39px 60px)}.map-coordinate{position:absolute;left:24px;top:17px;font-size:11px;font-weight:bold;letter-spacing:2px;color:#bcecf5}.map-coordinate span{display:block;font-weight:normal;font-size:9px;letter-spacing:1px;margin-top:7px;color:#8fb5c3}.map-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.shipment-route{fill:none;stroke:var(--cyan);stroke-width:2.3;stroke-dasharray:6 5;opacity:.85}.order-route{fill:none;stroke:var(--orange);stroke-width:2.3;stroke-dasharray:5 4}.map-sites{position:absolute;left:6%;right:6%;top:15%;display:grid;grid-template-columns:repeat(4,1fr)}.map-site{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0}.site-facts{position:relative;border:1px solid #adcbd3;border-radius:6px;background:#edf5f7;color:var(--ink);width:clamp(150px,12vw,220px);box-shadow:0 7px 18px #01131c55;text-align:center;z-index:1}.site-facts:after{content:'';position:absolute;top:100%;left:calc(50% - 9px);border:9px solid transparent;border-top-color:#edf5f7}.site-facts h2{font-size:clamp(15px,1.3vw,24px);color:var(--white);background:#0a2b3d;margin:0;padding:9px 6px;border-radius:5px 5px 0 0}.site-stock{display:flex;align-items:center;justify-content:center;gap:10px;font-size:clamp(34px,3vw,56px);line-height:1.1;padding:8px 4px 3px;color:#c74e14}.site-stock small{font-size:9px;letter-spacing:1px;color:#284c5e;font-weight:bold;max-width:40px;text-align:left}.site-backlog{display:block;font-size:12px;margin-bottom:9px;color:#355362}.site-backlog b{margin-left:7px;color:#ac4011}.site-building{display:block;width:clamp(130px,13vw,230px);height:110px;overflow:visible;margin-top:12px;filter:drop-shadow(0 7px 4px #00152088)}.site-order{font-size:10px;background:#071d2be3;border:1px solid #356376;color:#abecf4;padding:5px 8px;border-radius:4px;position:absolute;top:calc(100% - 9px);white-space:nowrap}.map-ships{position:absolute;left:17%;right:17%;top:68%;height:75px;pointer-events:none}.map-route-batch{position:absolute;left:calc(var(--route-index)*33.333%);width:33.333%;height:75px}.map-voyage{position:absolute;left:0;top:-40px;display:flex;align-items:end;width:95px;height:70px;animation:map-crossing 5s linear both;animation-delay:var(--dispatch-elapsed,0ms);filter:drop-shadow(0 9px 3px #8ee4ed33)}.map-voyage .crew-vessel{width:85px;height:85px}.cargo-crates{position:absolute;left:40px;bottom:12px;color:#ffb26d;font-size:16px;text-shadow:0 1px #082c41}.cargo-quantity{position:absolute;left:0;bottom:-18px;white-space:nowrap;color:#ddfaff;background:#07293ce8;border:1px solid #3c8da1;border-radius:3px;font-size:12px;padding:3px 6px}.empty-route{display:block;text-align:center;color:#a8c9d2;font-size:11px;margin-top:-8px}.customer-dispatch{position:absolute;top:75%;right:7%;color:#b4dbe3;font-size:9px;letter-spacing:.6px;text-align:right}.customer-dispatch b{display:block;color:#edfbff;font-size:11px;letter-spacing:0;margin-top:4px}.map-legend{position:absolute;bottom:17px;left:24px;display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--cyan)}.map-legend>span:last-child{color:var(--orange)}.map-harbormaster{position:absolute;right:20px;bottom:0;display:flex;align-items:center;gap:12px;width:390px;max-width:40%;padding:8px 8px 0 0;background:linear-gradient(90deg,transparent,#071d2be0 25%);border-radius:8px 8px 0 0}.map-harbormaster img{width:95px;height:115px;object-fit:cover;object-position:top;align-self:end}.map-harbormaster>div{padding:6px 0}.map-harbormaster span{color:var(--cyan);letter-spacing:1.5px;font-size:9px;font-weight:bold}.map-harbormaster p{font-size:14px;line-height:1.5;margin:7px 0;color:var(--white)}.live-detail{margin:12px 0 0;padding:7px 0}.live-detail summary{font-size:13px}.live-detail .flow{margin-top:20px}.dispatch-paused .map-voyage{animation-play-state:paused}.motion-off .map-voyage{animation:none;left:calc(50% - 45px)}@keyframes map-crossing{from{left:0}to{left:calc(100% - 95px)}}@media(prefers-reduced-motion:reduce){.map-voyage{animation:none;left:calc(50% - 45px)}}@media(min-width:1100px) and (max-height:850px){.district-map{height:350px}.map-sites{top:13%}.site-facts h2{font-size:16px;padding:5px}.site-stock{font-size:36px;padding-top:4px}.site-backlog{font-size:10px;margin-bottom:5px}.site-building{height:85px;margin-top:7px}.site-order{font-size:9px;padding:3px 5px}.map-coordinate{top:10px;font-size:9px}.map-coordinate span{display:none}.map-harbormaster img{height:85px;width:75px}.map-harbormaster p{font-size:12px;line-height:1.3}.map-legend{font-size:10px;gap:5px;bottom:12px}.customer-dispatch{top:76%}.map-voyage .crew-vessel{width:65px;height:65px}.map-voyage{top:-42px;height:65px}.cargo-quantity{font-size:10px}.map-sites .site-facts{width:150px}}@media(max-width:1099px){.district-map{height:480px}.map-coordinate{font-size:9px}.site-facts{width:140px}.site-facts h2{font-size:15px}.site-stock{font-size:34px}.site-building{width:140px;height:100px}.map-harbormaster{width:310px}.map-harbormaster img{width:70px;height:95px}.map-harbormaster p{font-size:12px}.map-legend{font-size:10px}.cargo-quantity{font-size:10px}.map-voyage{width:75px}.map-voyage .crew-vessel{width:65px;height:65px}}@media(max-width:700px){.district-map{min-width:650px}.district-map{height:460px}.tabs+.district-map{overflow:hidden}main:has(.district-map){overflow-x:auto}.map-sites{left:5%;right:5%}.site-facts{width:125px}.map-harbormaster{max-width:43%}.map-harbormaster img{width:65px;height:90px}.map-harbormaster p{font-size:11px}.customer-dispatch{font-size:8px}.site-order{font-size:8px}.map-legend{left:12px}.map-coordinate{left:14px}}
/* The generated four-island plate is mirrored alone to match the reference's upstream-left geography. */
.district-map .map-sea{background-image:url('/assets/brewery-map.png');background-position:center 45%;background-size:100% auto;transform:scaleX(-1);opacity:1}.district-map:after{opacity:.25}.district-map .map-sites{left:0;right:0;top:7%;bottom:29%;align-items:stretch}.district-map .site-building{display:none}.district-map .site-order{top:auto;bottom:0}.district-map .map-ships{left:12.5%;right:12.5%;top:77%}.district-map .customer-dispatch{top:66%;right:3%}.district-map .site-facts{width:clamp(145px,12vw,220px)}.district-map .site-facts h2{font-size:clamp(15px,1.25vw,23px)}.map-coordinate{top:12px;font-size:9px}.map-coordinate span{display:none}.district-map .site-stock{font-size:clamp(34px,2.6vw,50px)}@media(min-width:1100px) and (max-height:850px){.district-map .map-sea{background-position:center 44%}.district-map .site-facts{width:145px}.district-map .site-stock{font-size:32px}.district-map .site-backlog{margin-bottom:4px}.district-map .site-order{font-size:8px}.district-map .map-harbormaster{max-width:36%}.district-map .map-harbormaster p{font-size:11px}.district-map .map-harbormaster img{width:60px;height:75px}.district-map .customer-dispatch{top:65%;font-size:8px}.district-map .map-ships{top:79%}}@media(max-width:700px){.district-map .site-facts{width:125px}.district-map .map-sites{left:0;right:0}.district-map .site-order{font-size:8px}.district-map .map-harbormaster{max-width:42%}}
/* District-specific operational boards share the harbor's measured-data typography. */
#create{flex-wrap:wrap;gap:13px}#create label{font-size:12px}#create select{min-width:90px;padding:12px}#create #district{min-width:180px}.cannery-board{position:relative;overflow:hidden;background:linear-gradient(110deg,#0c3346ed,#0b2b3bdf),url('/assets/harbor.png') center/cover;border:1px solid #406373;border-radius:8px;padding:23px 25px}.production-banner{display:flex;align-items:center;justify-content:space-between;gap:20px}.production-banner .eyebrow{margin-top:0}.production-banner h2{font-size:30px;margin:7px 0}.production-banner p:last-child{color:var(--muted);font-size:13px}.dock-total{text-align:right;display:grid;gap:4px}.dock-total strong{font-size:60px;color:var(--cyan);line-height:1}.dock-total span{font-size:10px;letter-spacing:1px;color:var(--muted)}.production-line{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-top:20px}.production-station{position:relative;border-top:3px solid var(--cyan);padding:15px;background:#082536db;border-radius:5px}.production-station:not(:last-child):after{content:'→';position:absolute;right:-22px;top:37%;font-size:24px;color:var(--cyan)}.production-station>.eyebrow{margin:0;font-size:11px}.station-machine{margin-top:10px;background:linear-gradient(#467585,#234b5b);border:2px solid #7598a3;border-radius:10px 10px 0 0;height:65px;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 0 #09212e}.station-machine>span:first-child{font-size:35px;color:#c7dbe2}.machine-belt{font-size:20px;letter-spacing:2px;color:#f0ad6c}.queue-count{padding:15px 0 8px;display:flex;align-items:center;gap:12px}.queue-count strong{font-size:50px;line-height:1}.queue-count>span{font-size:9px;letter-spacing:1px;color:var(--muted);max-width:70px;line-height:1.5}.production-station dl{font-size:13px;margin:8px 0}.production-station dl>div{display:flex;justify-content:space-between;gap:8px;line-height:1.9}.production-station dt{color:var(--muted)}.production-station dd{font-weight:bold;margin:0}.production-status{font-size:11px;color:var(--cyan);border-top:1px solid #365463;padding-top:12px;margin:10px 0 0}.production-legend{display:flex;justify-content:space-between;gap:16px;margin-top:22px;font-size:10px;color:var(--muted);letter-spacing:.5px}.production-legend span:first-child{color:var(--cyan)}.district-guide{display:flex;align-items:center;gap:22px;margin:15px 0}.district-guide .harbormaster{padding:0;flex-shrink:0}.district-guide .harbormaster img{width:57px;height:57px}.district-guide .harbormaster small{display:none}.district-guide>p{font-size:17px;color:#d7e8ee;line-height:1.5;margin:0;border-left:2px solid var(--orange);padding-left:18px}.history-table{overflow-x:auto;margin-top:15px}.history-table table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.history-table th{color:var(--cyan);font-size:12px}.history-table td,.history-table th{padding:13px 15px;border-bottom:1px solid #294957}.fishery-board{padding:24px 28px;border:1px solid #416e7b;border-radius:8px;background:linear-gradient(100deg,#07283ee8,#103a4bdd),url('/assets/harbor.png') center 55%/cover}.lake-overview{position:relative;padding-bottom:18px;border-bottom:1px solid #447786}.lake-overview>.eyebrow{margin:0 0 10px}.lake-stock{display:flex;align-items:center;gap:18px}.lake-stock strong{font-size:72px;letter-spacing:-2px;line-height:1}.lake-stock span{font-size:11px;color:var(--cyan);letter-spacing:1.5px;max-width:80px;line-height:1.5}.stock-gauge{height:13px;width:46%;margin-top:13px;background:#031928;border:1px solid #467989;border-radius:8px;overflow:hidden}.stock-gauge>span{display:block;height:100%;background:linear-gradient(90deg,#248daa,#35d4ed)}.lake-overview>p:last-of-type{font-size:11px;color:var(--muted);margin-bottom:0}.lake-ledger{position:absolute;right:0;top:25px;display:flex;gap:40px}.lake-ledger>span{display:grid;gap:12px;font-size:11px;color:var(--muted)}.lake-ledger b{font-size:30px;font-weight:normal;color:var(--white)}.fishing-crews{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.fishing-crew{position:relative;padding:13px 18px;background:#062739bf;border:1px solid #365e6e;border-radius:6px;min-height:150px}.fishing-crew h2{margin:5px 0;font-size:25px}.fishing-fleet{height:50px;display:flex;justify-content:end;position:absolute;right:12px;top:8px;max-width:52%;overflow:hidden}.fishing-fleet .crew-vessel{width:50px;height:50px;margin-left:-8px}.catch-total{font-size:31px;color:#e5f6fa;font-weight:bold}.catch-total>span{font-size:9px;color:var(--muted);font-weight:normal;letter-spacing:.6px;margin-left:6px}.fishing-crew>p{font-size:11px;color:#acc9d5;margin:7px 0}.crew-ready{font-size:10px;color:var(--cyan)}.lake-collapsed{border-color:var(--orange)}.lake-collapsed .lake-stock strong{color:var(--orange)}.lake-collapsed .stock-gauge>span{background:var(--orange)}.fish-chart{margin-top:15px;border:1px solid #365e6e;padding:15px}.fish-chart svg{width:100%;height:130px}.map-site .site-order{bottom:-27px}.district-map .customer-dispatch{top:58%;right:1%;background:#071d2bdf;padding:5px 8px;border-radius:3px;max-width:12%;font-size:8px}.district-map .customer-dispatch b{font-size:10px}.district-map .map-sites{bottom:34%}
@media(min-width:1100px) and (max-height:850px){.cannery-board{padding:15px 20px}.production-banner h2{font-size:24px}.production-banner p:last-child{font-size:11px;margin:6px 0}.dock-total strong{font-size:46px}.production-line{gap:20px;margin-top:12px}.production-station{padding:10px}.station-machine{height:48px;margin-top:8px}.station-machine>span:first-child{font-size:26px}.machine-belt{font-size:15px}.queue-count{padding:13px 0 4px}.queue-count strong{font-size:34px}.production-station dl{font-size:11px;margin:4px 0}.production-status{font-size:9px;padding-top:7px;margin-top:6px}.production-legend{margin-top:15px;font-size:9px}.district-guide{margin:10px 0;gap:16px}.district-guide .harbormaster img{width:44px;height:44px}.district-guide>p{font-size:14px}.fishery-board{padding:17px 22px}.lake-stock strong{font-size:52px}.lake-ledger{gap:25px}.lake-ledger b{font-size:23px}.fishing-crew{padding:10px 14px;min-height:125px}.fishing-crews{margin-top:12px;gap:10px}.fishing-crew h2{font-size:22px}.catch-total{font-size:25px}.fishing-fleet .crew-vessel{width:40px;height:40px}.lake-overview{padding-bottom:12px}}
@media(max-width:1099px){.production-line{gap:12px}.production-station{padding:10px}.production-station:not(:last-child):after{right:-13px;font-size:16px}.machine-belt{font-size:14px}.production-banner h2{font-size:25px}.production-legend{flex-wrap:wrap}.lake-ledger{gap:20px}.lake-stock strong{font-size:60px}.fishing-crews{grid-template-columns:repeat(2,1fr)}.district-guide .harbormaster>span{display:none}}
@media(max-width:700px){.production-line{grid-template-columns:1fr}.production-station:not(:last-child):after{display:none}.production-station{display:grid;grid-template-columns:1fr 1fr;gap:8px}.production-station>.eyebrow,.production-status{grid-column:1/-1}.queue-count{padding:0}.production-station dl{margin:0;grid-column:1/-1}.production-banner{align-items:start}.dock-total strong{font-size:38px}.production-banner h2{font-size:22px}.district-guide>p{font-size:14px}.district-guide .harbormaster img{width:44px;height:44px}.cannery-board{padding:15px}.lake-ledger{position:static;margin-top:20px;gap:22px}.stock-gauge{width:100%}.fishery-board{padding:18px}.fishing-crews{grid-template-columns:1fr}.lake-ledger b{font-size:23px}.fishing-crew{min-height:130px}.production-legend{font-size:9px}}
/* Keep readiness labels with site facts, away from the cargo routes and sails. */
.district-map .map-site .site-order{position:static;margin-top:14px;align-self:center;max-width:100%}
.fishing-fleet{width:152px;max-width:52%;height:54px;align-items:center;justify-content:flex-end;overflow:visible}.fishing-fleet .crew-vessel{display:block;flex:0 0 50px;width:50px;height:50px;margin-left:-3px}.fishing-fleet .vessel-art{display:block;position:absolute;inset:0;background-size:300% 100%}@media(min-width:1100px) and (max-height:850px){.fishing-fleet{width:120px;height:44px}.fishing-fleet .crew-vessel{width:40px;height:40px;flex-basis:40px}}
