.adventure-setup {max-width:1440px;margin:auto;padding:32px 5vw 64px;color:#173f43}
.adventure-heading h1 {font-size:clamp(40px,5vw,76px);font-weight:700;line-height:1.12;letter-spacing:0;margin:16px 0}
.adventure-heading h1 em {color:#167b78;font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em}
.adventure-heading>p {color:#527271;margin-bottom:30px}
.adventure-region-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px;max-width:960px}
.adventure-region-card{position:relative;padding:18px 22px;border:1px solid #a7bcaf;border-radius:14px;background:#fff9e9e8;color:#254e49;text-align:left;cursor:pointer;transition:background .18s,border-color .18s;min-width:0}
.adventure-region-card>span{display:block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;opacity:.8}
.adventure-region-card>strong{display:block;font-size:26px;line-height:1.3;margin:5px 0}
.adventure-region-card>small{display:block;font-size:12px;line-height:1.4;padding-right:15px}
.adventure-region-card>i{position:absolute;right:19px;top:22px;font-style:normal;font-size:24px;opacity:.65}
.adventure-region-card[aria-pressed=true]{background:#1d514a;color:#fff6dd;border-color:#1d514a;box-shadow:inset 0 0 0 1px #9fc5af}
.adventure-region-card:hover{border-color:#497b68}.adventure-region-card:focus-visible{outline:3px solid #a96735;outline-offset:3px}
@media(max-width:480px){.adventure-region-picker{gap:8px;margin-bottom:18px}.adventure-region-card{padding:14px 12px}.adventure-region-card>strong{font-size:22px}.adventure-region-card>small{font-size:10px;padding:0}.adventure-region-card>i{display:none}.adventure-region-card>span{font-size:9px;letter-spacing:.7px}}
.adventure-planner {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);background:#fbf7e9;border:1px solid #d9ddcc;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px #092c331a}
.adventure-chart-column{display:flex;flex-direction:column;align-self:start;min-width:0}
.adventure-chart {position:relative;aspect-ratio:1;background:#0b465a;min-height:560px}
.adventure-departure-panel{padding:24px 32px;border-top:1px solid #d9ddcc}
.adventure-chart canvas {width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.adventure-chart-tag {position:absolute;bottom:18px;right:18px;font-size:11px;letter-spacing:2px;color:#d7e5d7}
.adventure-plan {padding:32px}
.adventure-plan h2 {font-size:32px;margin:10px 0}.adventure-plan>p{color:#5e7371;line-height:1.6}
.adventure-plan label,.adventure-departure-panel label {display:block;font-size:12px;font-weight:700;letter-spacing:.6px;margin:17px 0 0}
.adventure-plan label small{float:right;font-weight:400;letter-spacing:0}
.adventure-plan select,.adventure-departure-panel select{display:block;width:100%;border:1px solid #c9d4c9;border-radius:8px;padding:12px;margin-top:7px;background:#fffdf5;color:#17454a;font:inherit;letter-spacing:0}
.adventure-forecast {background:#e9efe1;padding:14px;border-radius:10px;margin-top:20px;font-size:10px;letter-spacing:.5px}
#adventure-weather-summary {display:flex;gap:20px;margin-top:12px;font-size:22px;letter-spacing:-.5px}
#adventure-weather-summary small{display:block;font-size:9px;letter-spacing:1px;margin-top:5px;font-weight:500}
.adventure-demo-label{color:#93521f}
.adventure-hour-strip {display:flex;gap:5px;overflow-x:auto;margin:12px 0 18px;padding-bottom:5px}
.adventure-hour-strip button{flex:0 0 50px;background:#f0eddf;border:0;border-radius:8px;padding:10px 5px;color:#28555a;cursor:pointer}
.adventure-hour-strip small,.adventure-hour-strip b,.adventure-hour-strip span{display:block;font-size:11px}.adventure-hour-strip span{font-size:24px;margin:6px}
.adventure-plan .primary-button {width:100%}.adventure-plan button:disabled{opacity:.5;cursor:wait}
.adventure-data-actions {display:flex;flex-wrap:wrap;gap:14px;margin:14px 0}.adventure-data-actions button{font-size:10px}
.adventure-plan .adventure-fine-print {font-size:11px;line-height:1.6;margin-bottom:0}.adventure-fine-print a{color:inherit;text-decoration:underline}

#adventure-resume[hidden]{display:none}
.adventure-race-tools{position:absolute;z-index:5;top:140px;left:26px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 16px;max-width:360px;border:1px solid #d8e4bb66;border-radius:10px;background:#203c2ade;color:#f7f1d8;backdrop-filter:blur(4px)}
.adventure-race-tools label{font-size:8px;letter-spacing:1px;flex:1;min-width:180px}
.adventure-race-tools select{display:block;width:100%;margin-top:5px;padding:7px;background:#fff5dd;color:#20483d;border:0;border-radius:5px;font:inherit;font-size:12px;letter-spacing:0}
.adventure-race-tools .race-icon-button{position:static;flex-shrink:0;width:42px;height:42px}.adventure-race-tools button[aria-pressed=true]{background:#f0d497;color:#203c2a}
#adventure-provenance{flex-basis:100%;font-size:7px;line-height:1.5;letter-spacing:.3px;color:#d6dfc1}
@media(max-width:850px){.adventure-planner{grid-template-columns:1fr}.adventure-chart{min-height:350px}.adventure-plan{padding:24px}}
@media(max-width:700px){.adventure-race-tools{top:150px;left:16px;max-width:270px;padding:8px 10px;gap:8px}.adventure-race-tools label{min-width:160px}.adventure-race-tools .race-icon-button{width:32px;height:32px}.adventure-race-tools select{font-size:10px}#adventure-provenance{font-size:6px}}
@media(max-height:550px){.adventure-race-tools{top:92px;max-width:255px;padding:7px 10px}.adventure-race-tools label{min-width:150px}}
.adventure-zoom{position:absolute;right:26px;top:140px;z-index:5;display:flex;align-items:center;gap:8px}
.adventure-zoom .race-icon-button{position:static;display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;min-width:48px;min-height:48px;margin:0;padding:2px;box-sizing:border-box;line-height:1;transform:none}
.adventure-zoom .race-icon-button+.race-icon-button{margin-left:0}
.adventure-zoom .race-icon-button:hover:not(:disabled){transform:none}
.adventure-zoom .icon{display:block;width:22px;height:22px;flex:0 0 22px;vertical-align:initial}
.adventure-zoom #adventure-zoom-reset{width:70px;min-width:70px;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.adventure-zoom .race-icon-button:focus-visible{outline:2px solid #fff5dd;outline-offset:3px}
@media(max-width:700px){.adventure-zoom{right:16px;top:255px}}
@media(max-height:550px){.adventure-zoom{top:92px;right:16px}}
.helm-intro{max-width:740px;width:calc(100vw - 32px);padding:30px;background:#fff8e8;border-radius:22px;color:#1f4a48;box-shadow:0 24px 100px #082b3970;max-height:calc(100dvh - 32px);overflow-y:auto}
.helm-intro h2{font-size:46px;margin:10px 0;font-family:Georgia,serif;font-weight:400}.helm-intro>p{color:#57766e;font-size:13px;line-height:1.6}
.helm-intro-demo{display:grid;grid-template-columns:250px 1fr;gap:24px;align-items:center;margin:20px 0}.helm-intro-art{position:relative}.helm-intro-art svg{display:block;width:100%;height:auto}
.intro-boat{transform-origin:150px 170px;transition:transform 1.1s ease-in-out}.intro-sail{transform-origin:150px 132px;transform:rotate(-35deg);transition:transform 1.1s ease-in-out}.helm-intro-art[data-key=a] .intro-boat{transform:rotate(-25deg)}.helm-intro-art[data-key=d] .intro-boat{transform:rotate(25deg)}.helm-intro-art[data-key=w] .intro-sail{transform:rotate(-5deg)}.helm-intro-art[data-key=s] .intro-sail{transform:rotate(-65deg)}
.intro-wind{animation:intro-breeze 2.6s ease-in-out infinite}.intro-wake{animation:intro-wake 2.6s ease-in-out infinite}@keyframes intro-breeze{50%{transform:translateX(10px);opacity:.7}}@keyframes intro-wake{50%{transform:translateY(8px);opacity:.15}}
.intro-current-key{position:absolute;top:12px;left:12px;border:1px solid #c6e0ca88;border-radius:8px;background:#fffcdb;color:#1c5152;font-size:24px;font-weight:700;padding:6px 14px}
.helm-intro-keys{display:grid;gap:9px}.helm-intro-keys button{display:flex;align-items:center;gap:14px;border:1px solid #d5dbca;border-radius:12px;background:#f6f0dd;padding:12px;text-align:left;color:#214d4c;cursor:pointer}.helm-intro-keys button[aria-pressed=true]{background:#deead8;border-color:#5a9184;box-shadow:0 0 0 1px #5a9184}.helm-intro-keys kbd{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:8px;border:1px solid #b3c3b0;box-shadow:0 3px #b3c3b0;background:#fffdf0;font:700 21px Arial}.helm-intro-keys strong{display:block;font-size:14px}.helm-intro-keys small{display:block;font-size:11px;line-height:1.5;color:#55716c;margin-top:4px}
.helm-intro .helm-intro-explanation{min-height:22px;text-align:center;color:#286c60;font-weight:700;font-size:12px}.helm-intro-tip{padding:12px 16px;background:#e9eedf;border-radius:10px;font-size:12px;line-height:1.8;margin-bottom:16px}.helm-intro-tip span{font-size:10px;font-weight:700;letter-spacing:1px;margin-right:5px}.helm-intro-tip small{font-size:11px;color:#5d756e}.helm-intro .primary-button{width:100%}
@media(max-width:650px){.helm-intro{padding:22px}.helm-intro h2{font-size:34px}.helm-intro-demo{grid-template-columns:140px 1fr;gap:12px}.helm-intro-keys button{padding:9px;gap:8px}.helm-intro-keys kbd{width:30px;height:30px;font-size:16px}.helm-intro-keys strong{font-size:11px}.helm-intro-keys small{font-size:9px}.helm-intro-art svg{height:245px;object-fit:cover;border-radius:16px}.helm-intro>p{font-size:11px}}
@media(max-width:400px){.helm-intro-demo{grid-template-columns:1fr}.helm-intro-art{max-width:150px;margin:auto}.helm-intro-art svg{height:155px}.helm-intro-keys{grid-template-columns:1fr 1fr}.helm-intro-keys small{display:none}}
@media(prefers-reduced-motion:reduce){.intro-boat,.intro-sail{transition:none}.intro-wind,.intro-wake{animation:none}}
/* Compact voyage controls match the game's HUD and explain their purpose. */
.adventure-race-tools{display:block;max-width:340px;width:340px;padding:12px 14px;border-radius:12px;background:#183f35ed}
.adventure-target-row{display:flex;align-items:flex-end;gap:10px}.adventure-target-row label{display:block;min-width:0;flex:1;font-size:9px;line-height:1.4;letter-spacing:1.2px;margin:0}.adventure-target-row select{height:40px;padding:8px 10px;font-size:12px;margin-top:6px}
.adventure-anchor-button{display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;height:40px;padding:8px 11px;border:1px solid #c7d9bb;border-radius:7px;background:#e9f0ce;color:#214f40;font-size:10px;font-weight:700;cursor:pointer}.adventure-anchor-button .icon{width:18px;height:18px}.adventure-anchor-button[aria-pressed=true]{background:#f4d992}.adventure-anchor-button:disabled{opacity:.5;cursor:default}
#adventure-target-help{display:block;font-size:10px;line-height:1.5;letter-spacing:0;color:#c6d9c3;margin-top:8px}
@media(max-width:700px){.adventure-race-tools{width:min(310px,calc(100vw - 32px));max-width:none;top:150px;padding:10px 12px}.adventure-target-row label{min-width:0}.adventure-target-row select{font-size:11px}.adventure-anchor-button{font-size:10px}.adventure-zoom{top:245px}}
@media(max-height:550px){.adventure-race-tools{top:90px;width:290px;padding:8px 11px}.adventure-target-row select,.adventure-anchor-button{height:33px}#adventure-target-help{font-size:9px;margin-top:5px}.adventure-zoom{top:90px}}
.adventure-boat-field{margin-top:18px}.adventure-boat-field>span{display:block;font-size:10px;font-weight:700;letter-spacing:1px;margin-bottom:8px}
#adventure-boat[hidden]{display:none}
#adventure-boat-picker{display:flex;width:100%;align-items:center;gap:12px;border:1px solid #c9d4c9;border-radius:12px;padding:10px;background:#fffdf5;color:#214d4c;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
#adventure-boat-picker:hover{background:#edf3e4;border-color:#54877c}.adventure-selected-boat{display:block!important;position:relative!important;flex:0 0 104px!important;width:104px!important;height:104px!important;transform:none!important;margin:0!important;filter:drop-shadow(0 7px 8px #17475022)}
.adventure-selected-boat-copy{display:block;flex:1}.adventure-selected-boat-copy small{font-size:10px;color:#62796c}.adventure-selected-boat-copy strong{display:block;font-size:25px;margin:6px 0}.adventure-selected-boat-copy>span{display:block;font-size:11px;color:#49766d}
.adventure-boat-modal{background:#fff8e8;color:#224d47;padding:30px;width:calc(100vw - 32px);max-width:1020px;border-radius:20px;max-height:calc(100dvh - 32px);overflow:auto;position:relative;box-shadow:0 24px 100px #082b3970}
.adventure-boat-modal>h2{font-family:Georgia,serif;font-weight:400;font-size:36px;margin:12px 0}.adventure-boat-modal>p{font-size:12px;color:#62796c}.adventure-boat-modal-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;margin:20px 0}
.adventure-boat-large{background:radial-gradient(ellipse at center,#b4dfd3,#e2eadd);border-radius:15px;min-height:260px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.adventure-detail-art{display:block!important;position:relative!important;transform:none!important;width:280px!important;height:280px!important;margin:0!important;filter:drop-shadow(0 16px 18px #1747503b)}
.adventure-boat-description{padding:17px 4px}.adventure-boat-description h3{font-size:30px;margin:9px 0}.adventure-boat-description>p{font-size:12px;line-height:1.6;color:#58746c}.adventure-boat-numbers{display:flex;justify-content:space-between;gap:10px;margin:17px 0}.adventure-boat-numbers>span{font-size:8px;letter-spacing:1px}.adventure-boat-numbers strong{display:block;font-size:25px;letter-spacing:0;margin-top:6px}.adventure-boat-numbers small{font-size:10px;font-weight:400}.adventure-boat-description .adventure-boat-note{font-size:10px}
.adventure-boat-fleet{max-height:490px;overflow:auto;padding-right:9px;overscroll-behavior:contain}.adventure-boat-fleet section>h3{font-size:12px;color:#507465;margin:12px 0 9px}.adventure-boat-fleet section>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.adventure-boat-fleet button{background:#f5f0dd;border:1px solid #d6ddcb;border-radius:9px;padding:6px;cursor:pointer;color:#214b45}.adventure-boat-fleet button[aria-pressed=true]{background:#dcead5;border-color:#528b77;box-shadow:0 0 0 1px #528b77}.adventure-boat-fleet .pod-art{display:block!important;position:relative!important;width:95px!important;max-width:100%;height:82px!important;margin:0 auto!important;transform:none!important}.adventure-boat-fleet button strong{display:block;font-size:10px;margin:4px 0}
.adventure-boat-modal>.primary-button{width:100%}
@media(max-width:700px){.adventure-boat-modal{padding:22px}.adventure-boat-modal>h2{font-size:28px}.adventure-boat-modal-body{grid-template-columns:1fr;gap:12px}.adventure-boat-large{min-height:180px}.adventure-detail-art{width:200px!important;height:200px!important}.adventure-boat-fleet{max-height:260px}.adventure-boat-description{padding:12px 0}.adventure-boat-description h3{font-size:25px}.adventure-selected-boat{flex-basis:86px!important;width:86px!important;height:86px!important}.adventure-selected-boat-copy strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){#adventure-boat-picker{transition:none}}
select[hidden]{display:none!important}
.nautical-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 15px;margin-top:7px;border:1px solid #c6d6bf;border-radius:10px;background:#fffdf1;color:#244f49;text-align:left;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 3px 0 #d9dfc91f;transition:background .15s,border-color .15s}
.nautical-select-trigger::after{content:'⌄';font-size:19px;color:#66877b;margin-left:14px}.nautical-select-trigger:hover{background:#edf3e4;border-color:#62917c}.nautical-select-trigger:focus-visible{outline:2px solid #719b82;outline-offset:3px}.nautical-select-trigger:disabled{opacity:.5;cursor:wait}
.nautical-choice-dialog{border:1px solid #d2dac6;border-radius:20px;padding:26px;background:#fff8e8;color:#244d46;width:calc(100vw - 36px);max-width:580px;max-height:calc(100dvh - 48px);box-shadow:0 24px 100px #082b3970;overflow:auto}
.nautical-choice-dialog::backdrop{background:#0b283da8;backdrop-filter:blur(5px)}.nautical-choice-dialog header{display:flex;justify-content:space-between;align-items:center;gap:15px}.nautical-choice-dialog h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:0}.nautical-choice-dialog>p{font-size:12px;color:#62796c;margin:12px 0 22px}
.nautical-choice-close{border:0;background:#e4ebd9;color:#416652;min-width:32px;width:32px;height:32px;border-radius:50%;font-size:23px;cursor:pointer}
.nautical-choice-options{display:grid;gap:9px}.nautical-choice-options section>h3{font-size:11px;letter-spacing:1px;text-transform:uppercase;margin:19px 0 11px}.nautical-choice-options section:first-child>h3{margin-top:0}.nautical-choice-hours{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.nautical-choice-option{padding:13px 15px;border:1px solid #d1dbc5;border-radius:10px;background:#f7f3e4;color:#285849;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer}.nautical-choice-option:hover{background:#e5efdb;border-color:#7da384}.nautical-choice-option[aria-pressed=true]{background:#dbeacd;border-color:#5e936d;box-shadow:0 0 0 1px #5e936d}.nautical-choice-option:focus-visible{outline:2px solid #719b82;outline-offset:2px}.nautical-choice-hours button{text-align:center;padding:12px 5px;font-size:11px}
.adventure-target-row .nautical-select-trigger{height:40px;padding:7px 10px;font-size:12px;letter-spacing:0;margin-top:6px}.adventure-target-row .nautical-select-trigger::after{font-size:16px}
@media(max-width:500px){.nautical-choice-dialog{padding:20px}.nautical-choice-dialog h2{font-size:25px}.nautical-choice-hours{grid-template-columns:repeat(3,1fr)}.nautical-select-trigger{font-size:12px}}
@media(prefers-reduced-motion:reduce){.nautical-select-trigger{transition:none}}
#adventure-chart-view{position:absolute;left:18px;bottom:18px;border:1px solid #dae8c588;border-radius:8px;background:#163e36d9;color:#f1f1d1;padding:10px 12px;font-size:10px;letter-spacing:.8px;font-weight:700;cursor:pointer;backdrop-filter:blur(4px)}
#adventure-chart-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#183f35e0;padding:15px 20px;border-radius:10px;color:#f6edd3;font-size:12px;white-space:nowrap}#adventure-chart-loading[hidden]{display:none}
/* Contain each boat canvas so the shared sprite styles cannot overlap text. */
#adventure-boat-picker{overflow:hidden;min-height:118px;position:relative}
#adventure-boat-picker .adventure-selected-boat{background-color:transparent!important;overflow:hidden;isolation:isolate;border-radius:10px;align-self:center}
#adventure-boat-picker .boat-preview-canvas,.adventure-boat-large .boat-preview-canvas,.adventure-boat-fleet .boat-preview-canvas{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;transform:none!important;object-fit:contain}
#adventure-boat-picker .pod-art::before,#adventure-boat-picker .pod-art::after,.adventure-boat-large .pod-art::before,.adventure-boat-large .pod-art::after{display:none!important}
.adventure-selected-boat-copy{position:relative;z-index:1;min-width:0}.adventure-boat-large .pod-art{overflow:hidden;isolation:isolate}.adventure-boat-fleet .pod-art{overflow:hidden;isolation:isolate}
#adventure-boat-picker .boat-sprite,.adventure-boat-large .boat-sprite,.adventure-boat-fleet .boat-sprite{left:auto!important;top:auto!important;translate:none!important;rotate:0deg!important;transform:none!important;animation:none!important;max-width:none!important;flex-shrink:0!important;aspect-ratio:1}
.adventure-boat-fleet .boat-sprite{max-width:100%!important}
.adventure-boat-large{padding:14px;min-height:300px}
#adventure-boat-picker .adventure-selected-boat{background-image:var(--boat-atlas)!important}
#adventure-boat-picker .adventure-selected-boat.has-rig-preview,#adventure-boat-picker .adventure-selected-boat.native-boat-preview{background-image:none!important}
@media(max-width:700px){.adventure-boat-large{min-height:220px}}
.adventure-setup,.adventure-planner,.adventure-plan,.adventure-chart,.adventure-boat-field,.adventure-hour-strip{min-width:0;max-width:100%}
.adventure-plan{overflow-wrap:anywhere}.adventure-plan>p{white-space:normal}
.adventure-hour-strip{width:100%;overflow-x:auto;overscroll-behavior-x:contain}.adventure-hour-strip button{flex-shrink:0}
.adventure-chart{overflow:hidden}.adventure-chart canvas{object-fit:contain}
.adventure-plan .primary-button{white-space:normal;min-width:0;gap:10px;line-height:1.5}
.adventure-data-actions .text-link{white-space:normal}
#adventure-weather-summary{gap:12px;flex-wrap:wrap}#adventure-weather-summary strong{min-width:0;flex:1}
@media(max-width:850px){.adventure-setup{padding:24px 0 40px}.adventure-planner{grid-template-columns:minmax(0,1fr)}.adventure-chart{flex:none;min-height:300px;height:300px}.adventure-plan,.adventure-departure-panel{padding:22px}.adventure-chart-tag{font-size:8px;letter-spacing:1px}}
@media(max-width:480px){.adventure-plan,.adventure-departure-panel{padding:18px}.adventure-heading h1{font-size:40px}.adventure-heading>p{font-size:12px}.adventure-plan h2{font-size:27px}.adventure-plan>p{font-size:12px}.adventure-data-actions{gap:12px}.adventure-data-actions button{font-size:9px}.adventure-chart-tag{display:none}#adventure-weather-summary{font-size:20px}.adventure-selected-boat-copy strong{font-size:22px}#adventure-boat-picker{gap:9px;padding:9px;min-height:105px}}
/* Larger actions and readable labels throughout the voyage setup and dialogs. */
#adventure-start,#adventure-boat-confirm,.helm-intro #helm-intro-ready{min-height:64px;padding:18px 24px;font-size:16px;font-weight:800;letter-spacing:1px;line-height:1.5;white-space:normal}
.helm-intro #helm-intro-ready{min-height:72px;font-size:18px}
.adventure-data-actions button{min-height:44px;padding:10px 0;font-size:13px;line-height:1.5}
.nautical-select-trigger,.nautical-choice-option{min-height:50px;font-size:15px}
.nautical-choice-hours button{min-height:48px;font-size:14px}
.nautical-choice-close,.adventure-boat-modal .modal-close{min-width:44px;width:44px;height:44px;font-size:25px}
.adventure-boat-fleet button strong{font-size:13px;line-height:1.4}
.adventure-selected-boat-copy>span{font-size:14px;line-height:1.5}
.adventure-hour-strip button{flex-basis:62px;min-height:92px;padding:12px 8px}
.adventure-hour-strip small,.adventure-hour-strip b{font-size:13px}
#adventure-chart-view{min-height:44px;padding:12px 16px;font-size:12px}
.helm-intro-keys strong{font-size:16px}.helm-intro-keys small{font-size:12px}
@media(max-width:650px){#adventure-start,#adventure-boat-confirm{min-height:60px;padding:16px;font-size:15px}.helm-intro #helm-intro-ready{min-height:64px;font-size:16px;padding:16px}.helm-intro-keys strong{font-size:13px}.helm-intro-keys small{font-size:10px}.adventure-data-actions button{font-size:12px}.nautical-select-trigger,.nautical-choice-option{font-size:14px}.adventure-boat-fleet button strong{font-size:12px}}
/* Quiet, compact navigation toolbar leaves the coast visible. */
.adventure-race-tools{width:320px;max-width:calc(100vw - 32px);padding:7px 8px;border:1px solid #d0e9d82e;border-radius:10px;background:#123c36d6;box-shadow:0 4px 16px #082d3526;backdrop-filter:blur(10px)}
.adventure-target-row{align-items:center;gap:6px}.adventure-target-row label{line-height:1;letter-spacing:0}
.adventure-target-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.adventure-target-row .nautical-select-trigger{height:44px;min-height:44px;margin:0;padding:8px 10px;border:1px solid #c4e3ce26;border-radius:7px;background:#ffffff0c;box-shadow:none;color:#f1f5df;font-size:12px;font-weight:600;line-height:1.2;transform:none}
.adventure-target-row .nautical-select-trigger:hover{background:#ffffff19;border-color:#c4e3ce66}.adventure-target-row .nautical-select-trigger::after{color:#c3d8c8;margin-left:7px;font-size:16px}
.adventure-anchor-button{height:44px;min-height:44px;padding:8px 10px;gap:5px;border:1px solid #c4e3ce38;border-radius:7px;background:#ffffff0c;color:#e9f1d5;font-size:11px;line-height:1.2;white-space:nowrap;transform:none}
.adventure-anchor-button .icon{display:block;width:17px;height:17px}.adventure-anchor-button:hover{background:#ffffff19}.adventure-anchor-button[aria-pressed=true]{background:#e4d8a92e;color:#fff1b4;border-color:#eed9a76b}
.adventure-target-row button:hover:not(:disabled){transform:none}
#adventure-target-help{margin:5px 3px 0;font-size:10px;line-height:1.25;color:#c2d5c3}
@media(max-width:700px){.adventure-race-tools{width:300px}.adventure-target-row .nautical-select-trigger{font-size:12px}.adventure-anchor-button{font-size:11px}}
.adventure-race-tools{top:calc(var(--adventure-hud-bottom,126px) + 12px);width:270px}
.adventure-route-icon{width:18px;height:18px;flex:0 0 18px;color:#dbe8c5;margin:0 3px}
.adventure-target-row label{min-width:0}.adventure-target-row .nautical-select-trigger{overflow:hidden}
.adventure-zoom{top:calc(var(--adventure-hud-bottom,126px) + 12px)}
.adventure-anchor-dock{position:absolute;z-index:6;right:26px;bottom:var(--adventure-anchor-bottom,26px);padding:5px;background:#123c36d9;border:1px solid #d0e9d82e;border-radius:10px;box-shadow:0 4px 16px #082d3526;backdrop-filter:blur(10px)}
.adventure-anchor-dock .adventure-anchor-button{height:48px;min-height:48px;padding:10px 15px;font-size:13px;gap:8px}
.adventure-anchor-dock .icon{width:22px;height:22px}.adventure-anchor-dock button:hover:not(:disabled){transform:none}
.adventure-race .race-key-hint{display:none}
@media(pointer:coarse),(any-pointer:coarse),(max-width:900px),(max-width:1000px) and (max-height:500px){.adventure-anchor-dock{right:16px}}
:where(.touch-device) .adventure-anchor-dock{right:16px}
@media(max-width:700px){.adventure-race-tools{left:16px;width:260px}.adventure-zoom{top:calc(var(--adventure-hud-bottom,126px) + 97px)}}
@media(orientation:landscape) and (max-height:500px) and (min-width:480px){.adventure-race-tools{padding:5px 8px}#adventure-target-help{display:none}.adventure-zoom{top:calc(var(--adventure-hud-bottom,126px) + 12px)}.adventure-anchor-dock{right:calc(var(--touch-engine-size,88px) + 20px)}}
@media(orientation:landscape) and (max-height:500px) and (min-width:480px) and (max-width:599px){.adventure-race .sail-sheet-controls{width:calc(100vw - 300px);right:auto}.adventure-race .sail-sheet-controls p{display:none}}

/* Camera controls share the lower-right dock with anchoring. */
.adventure-race .adventure-zoom{top:auto;right:26px;bottom:calc(var(--adventure-anchor-bottom,26px) + 66px);gap:5px}
.adventure-race .adventure-zoom .race-icon-button{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-width:6px}
.adventure-race .adventure-zoom .icon{width:18px;height:18px;flex-basis:18px}
.adventure-race .adventure-zoom #adventure-zoom-reset{width:58px;min-width:58px;font-size:12px}
.adventure-race .adventure-map-credit{position:absolute;right:22px;bottom:8px;z-index:7;font-size:9px;line-height:1.3;color:#f5f4dc;text-shadow:0 1px 3px #164957;text-decoration:underline;text-underline-offset:2px;max-width:calc(100vw - 40px)}
.adventure-race .adventure-race-tools{width:240px;padding:2px 6px;border:6px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;background:transparent;backdrop-filter:none;color:#28635f}
.adventure-race .adventure-target-row .nautical-select-trigger{height:34px;min-height:34px;padding:5px 8px;font-size:11px;color:#285f5d;border-color:#a6bdb477;background:#e9efdf;box-shadow:none}
.adventure-race .adventure-target-row .nautical-select-trigger::after{color:#537d70;font-size:14px}
.adventure-race .adventure-route-icon{width:16px;height:16px;flex-basis:16px;color:#28635f}
.adventure-race #adventure-target-help{font-size:9px;color:#4b766d;margin:3px 2px 1px}
.adventure-race .adventure-anchor-dock{padding:2px;border:6px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;background:transparent;backdrop-filter:none}
.adventure-race .adventure-anchor-dock .adventure-anchor-button{height:36px;min-height:36px;padding:5px 9px;border:0;background:transparent;color:#28635f;font-size:12px}
.adventure-race .adventure-anchor-dock .adventure-anchor-button[aria-pressed=true]{color:#a46a35;background:#ecd69e33}
.adventure-race .adventure-anchor-dock .icon{width:19px;height:19px}
@media(pointer:coarse),(any-pointer:coarse),(max-width:900px),(max-width:1000px) and (max-height:500px){.adventure-race .adventure-zoom{right:16px}}
:where(.touch-device) .adventure-race .adventure-zoom{right:16px}
@media(orientation:landscape) and (max-height:500px) and (min-width:480px){.adventure-race .adventure-zoom{right:calc(var(--touch-engine-size,88px) + 20px)}}

/* Forecast hour cards show the conditions before a departure is selected. */
.nautical-choice-dialog.nautical-choice-rich-dialog{max-width:720px}
.nautical-choice-hours .nautical-choice-rich-option{display:block;min-width:0;min-height:160px;padding:12px 10px;text-align:center;white-space:normal}
.forecast-option{display:grid;grid-template-rows:20px 42px 24px 22px 16px;justify-items:center;gap:3px;min-width:0;color:#28544b}
.forecast-option-time{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;line-height:1}
.forecast-option-time>strong{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.forecast-option-time>small{padding:3px 4px;border-radius:4px;background:#dce9cd;color:#4b765e;font-size:8px;font-weight:800;letter-spacing:.5px}
.forecast-option-weather{display:block;width:50px;height:42px;overflow:visible}
.forecast-option-condition{align-self:center;font-size:11px;font-weight:600;line-height:1.15;color:#59796c}
.forecast-option-wind{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;line-height:1;color:#285e57}
.forecast-option-wind-arrow{display:block;width:21px;height:21px;transform-origin:center;flex:0 0 21px}
.forecast-option-wind>b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}.forecast-option-wind small{font-size:11px;font-weight:600}
.forecast-option-no-wind{display:grid;place-items:center;width:21px;height:21px;font-size:18px;color:#789384}
.forecast-option-rain{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:500;line-height:1;color:#789080;font-variant-numeric:tabular-nums}
.forecast-option-rain>svg{display:block;width:10px;height:13px;flex:0 0 10px}.forecast-option-rain.is-wet{color:#3d8090;font-weight:700}
.nautical-choice-hours .nautical-choice-rich-option:hover .forecast-option-weather{filter:drop-shadow(0 2px 3px #356f5820)}
.nautical-choice-hours .nautical-choice-rich-option[aria-pressed=true]{background:#e0ecd5;border-color:#5c8e79;box-shadow:0 0 0 1px #5c8e79}
@media(max-width:500px){.nautical-choice-rich-dialog .nautical-choice-hours{grid-template-columns:repeat(2,minmax(0,1fr))}.nautical-choice-hours .nautical-choice-rich-option{padding:11px 8px}.forecast-option-time>strong{font-size:16px}}

.adventure-chart canvas{touch-action:none;cursor:grab}.adventure-chart canvas:active{cursor:grabbing}
.adventure-chart-zoom{position:absolute;right:18px;top:60px;display:flex;flex-direction:column;gap:5px}
.adventure-chart-zoom button{width:38px;height:38px;border:1px solid #d6dfc680;border-radius:8px;background:#123d3ee8;color:#fff6dd;font-size:24px;cursor:pointer}
.adventure-chart-zoom button:focus-visible{outline:3px solid #e6bd77;outline-offset:2px}
.adventure-plan .adventure-scale-summary{margin:8px 0 0;font-size:11px;line-height:1.6;color:#5b756d;letter-spacing:0}
.adventure-scale-summary strong{color:#28594e;font-weight:600}.adventure-scale-summary span{display:block;margin-top:3px}
.adventure-departure-label{display:block;font-size:12px;font-weight:700;letter-spacing:.6px}
.adventure-departure-mode{display:flex;gap:6px;margin-top:7px;padding:5px;border:1px solid #c9d4c9;border-radius:11px;background:#e9eedf}
.adventure-departure-mode button{flex:1;min-width:0;border:0;border-radius:7px;padding:10px 8px;background:transparent;color:#4d7163;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.adventure-departure-mode button[aria-pressed=true]{background:#fffdf5;color:#245746;box-shadow:0 2px 5px #254d4220}
.adventure-departure-mode button:focus-visible,.adventure-chart canvas:focus-visible{outline:3px solid #a96735;outline-offset:3px}
.adventure-chart canvas:focus-visible{outline-offset:-5px}
.adventure-pin-status{margin:10px 0 0;font-size:11px;line-height:1.6;color:#52766a}.adventure-pin-status.is-error{color:#9c482f}
#adventure-port-field[hidden],#adventure-pin-status[hidden]{display:none}
.adventure-chart canvas.is-picking{cursor:crosshair}.adventure-chart canvas.is-picking:active{cursor:grabbing}
