/* Shared instruments for Race, Online, Adventure, boat trials and sailing school. */
.race-navigation {
  position:absolute;z-index:20;display:flex;flex-direction:column;align-items:center;gap:5px;
  width:max-content;max-width:calc(100% - 24px);transform:translate(-50%,-24px);
  pointer-events:none;user-select:none;filter:drop-shadow(0 3px 6px #062b3466);
}
.race-navigation[hidden] {display:none}
.race-navigation-arrow {
  display:grid;place-items:center;width:48px;height:48px;box-sizing:border-box;
  border:2px solid #fff3ce;border-radius:50%;background:#123e4f;color:#ffe7a4;
}
.race-navigation-arrow svg {display:block;width:34px;height:30px}
.race-navigation-label {
  display:block;padding:6px 12px;border-radius:14px;background:#123e4f;color:#fff3ce;
  font:800 12px/14px sans-serif;white-space:nowrap;letter-spacing:.2px;
}
.race-leaderboard {
  position:absolute;z-index:12;right:max(24px,env(safe-area-inset-right,0px));bottom:calc(var(--game-card-bottom) + var(--game-card-height) + 184px);
  width:150px;padding:6px;box-sizing:border-box;border:1px solid #c5dfd5;border-radius:8px;
  background:#fff9e9ed;color:#174954;box-shadow:0 3px 12px #062b3426;pointer-events:none;
  font:600 11px/17px sans-serif;font-variant-numeric:tabular-nums;
}
.race-leaderboard[hidden] {display:none}
.race-leaderboard-heading {display:flex;justify-content:space-between;gap:4px;padding:0 4px 3px;color:#53777a;font-size:8px;line-height:12px;letter-spacing:.4px}
.race-leaderboard ol {list-style:none;padding:0;margin:0}
.race-leaderboard li {display:grid;grid-template-columns:13px minmax(0,1fr) auto;gap:4px;padding:0 4px;border-radius:3px}
.race-leaderboard li.is-player {background:#277b78;color:#fff9e6;font-weight:800}
.race-leaderboard-rank {opacity:.7}
.race-leaderboard-name {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.race-leaderboard-gap {text-align:right;white-space:nowrap}
@media(pointer:coarse),(any-pointer:coarse),(max-width:1200px) {
  .race-leaderboard {top:calc(var(--adventure-hud-bottom) + 10px);right:var(--adventure-hud-right);bottom:auto;width:136px}
}
@media(max-width:359px) {
  .race-screen.gameplay-hud:has(.race-leaderboard:not([hidden])) .boat-voice {width:calc(100% - 168px)}
}
.race-screen.gameplay-hud {
  --adventure-hud-top:max(12px, env(safe-area-inset-top, 0px));
  --adventure-hud-inset:max(16px, env(safe-area-inset-left, 0px));
  --adventure-hud-right:max(16px, env(safe-area-inset-right, 0px));
  --adventure-hud-height:64px;
  --adventure-hud-bottom:calc(var(--adventure-hud-top) + var(--adventure-hud-height));
  --adventure-hud-columns:110px minmax(160px,250px) minmax(0,1fr) 148px minmax(300px,340px) 112px;
  --adventure-hud-areas:"brand title space wind metrics actions";
  --adventure-hud-rows:64px;
  --adventure-hud-gap:8px;
  --adventure-brand-display:flex;
  --adventure-title-size:22px;
  --adventure-value-size:26px;
  --adventure-metric-label:9px;
  --adventure-wind-width:148px;
  --adventure-wind-height:64px;
  --adventure-wind-size:18px;
  --adventure-wind-label:9px;
  --adventure-compass-size:32px;
  --adventure-arrow-size:21px;
  --adventure-wind-symbol:flex;
  --game-card-height:96px;
  --game-card-bottom:max(20px, env(safe-area-inset-bottom, 0px));
  --game-control-bottom:calc(var(--game-card-bottom) + var(--game-card-height) + 16px);
}
.race-screen.gameplay-hud.adventure-race {
  --adventure-hud-areas:"brand title destination wind metrics actions";
  --adventure-hud-columns:110px minmax(160px,250px) minmax(220px,1fr) 148px minmax(230px,260px) 112px;
}
.race-screen.gameplay-hud .race-top-hud {
  position:absolute;top:var(--adventure-hud-top);left:var(--adventure-hud-inset);right:var(--adventure-hud-right);
  display:grid;grid-template-columns:var(--adventure-hud-columns);grid-template-areas:var(--adventure-hud-areas);
  grid-template-rows:var(--adventure-hud-rows);align-items:center;gap:var(--adventure-hud-gap);
  height:var(--adventure-hud-height);min-width:0;margin:0;padding:0;box-sizing:border-box;
  border:0;border-image:none;background:none;box-shadow:none;color:#1b7184;text-shadow:none;filter:none;backdrop-filter:none;
  z-index:12;flex-wrap:nowrap;
}
.race-screen.gameplay-hud .race-top-hud::before {display:none}
.race-screen.gameplay-hud .race-top-hud .race-brand {grid-area:brand;display:var(--adventure-brand-display);align-items:center;min-width:0;margin:0;padding:0}
.race-screen.gameplay-hud .race-top-hud .race-brand img {display:block;width:110px;height:50px;object-fit:contain}
.race-screen.gameplay-hud .race-top-hud :is(.race-track-name,.race-wind,.race-progress,.race-header-actions) {
  border:6px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;
  background:transparent;height:var(--adventure-wind-height);min-height:0;box-sizing:border-box;box-shadow:0 3px 12px #062b3426;
  filter:none;backdrop-filter:none;text-shadow:none;
}
.race-screen.gameplay-hud .race-top-hud .race-track-name {
  grid-area:title;display:flex;flex-direction:column;justify-content:center;min-width:0;width:auto;max-width:none;margin:0;padding:3px 12px;
  color:#1b7184;font-size:var(--adventure-title-size);line-height:1.1;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.race-screen.gameplay-hud .race-top-hud .race-track-name>span {display:block;margin-top:3px;color:#4c7471;font-size:9px;line-height:1.2;letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.race-screen.gameplay-hud .race-top-hud .race-track-name>span:last-child {display:none}
.race-screen.gameplay-hud .race-top-hud .race-wind {
  grid-area:wind;position:static;inset:auto;display:flex;align-items:center;justify-content:center;min-width:0;width:var(--adventure-wind-width);
  margin:0;padding:2px 6px;gap:7px;color:#1b7184;font-size:var(--adventure-wind-size);line-height:1.1;
}
.race-screen.gameplay-hud .race-top-hud .race-wind>.icon {display:var(--adventure-wind-symbol);width:24px;height:24px;flex:0 0 24px}
.race-screen.gameplay-hud .race-top-hud .race-wind-readout {display:grid;gap:4px;min-width:0;text-align:center}
.race-screen.gameplay-hud .race-top-hud .race-wind-readout>b {font-size:var(--adventure-wind-size);line-height:1.1;color:#1b7184;font-variant-numeric:tabular-nums}
.race-screen.gameplay-hud .race-top-hud .race-wind-readout>small {color:#4c7471;font-size:var(--adventure-wind-label);line-height:1.1;letter-spacing:.5px}
.race-screen.gameplay-hud .race-top-hud .race-wind.is-gusting .race-wind-readout>small,
.race-screen.gameplay-hud .race-top-hud .race-wind.is-squall .race-wind-readout>small {color:#ad4b39}
.race-screen.gameplay-hud .race-top-hud .race-wind>i {display:grid;place-items:center;width:var(--adventure-compass-size);height:var(--adventure-compass-size);min-width:var(--adventure-compass-size);flex:0 0 var(--adventure-compass-size);margin:0;border:1px solid #c5e4d6;border-radius:50%;background:#d7ece1}
.race-screen.gameplay-hud .race-top-hud .race-wind>i .icon {display:block;width:var(--adventure-arrow-size);height:var(--adventure-arrow-size)}
.race-screen.gameplay-hud .race-top-hud .race-progress {
  grid-area:metrics;position:static;display:grid;grid-template-columns:1fr 1fr 1.6fr;align-items:center;gap:7px;order:0;flex:none;
  min-width:0;width:auto;max-width:none;margin:0;padding:3px 8px;color:#1b7184;
}
.race-screen.gameplay-hud.adventure-race .race-top-hud .race-progress {grid-template-columns:repeat(3,minmax(0,1fr))}
.race-screen.gameplay-hud.boat-trial .race-top-hud .race-progress {grid-template-columns:1fr}
.race-screen.gameplay-hud .race-top-hud .race-progress>span {min-width:0;margin:0;padding:0;color:#4c7471;font-size:var(--adventure-metric-label);line-height:1.2;letter-spacing:.5px;white-space:nowrap}
.race-screen.gameplay-hud .race-top-hud .race-progress strong {display:block;margin-top:2px;color:#1b7184;font-size:var(--adventure-value-size);line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
.race-screen.gameplay-hud .race-top-hud .race-progress>span:first-child strong {color:#b96143}
.race-screen.gameplay-hud .race-top-hud .race-progress strong>small {color:#6c9486;font-size:12px;line-height:1}
.race-screen.gameplay-hud .race-header-actions {grid-area:actions;display:flex;align-items:center;justify-content:center;gap:4px;padding:0}
.race-screen.gameplay-hud .race-top-hud .race-icon-button {
  position:static;display:grid;place-items:center;flex:none;grid-area:auto;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;
  border:6px solid transparent;border-image:var(--vacation-button) 240 240 240 240 fill stretch;border-radius:0;background:transparent;
  box-shadow:none;color:#216b73;line-height:1;text-shadow:none;transform:none;pointer-events:auto;touch-action:manipulation;
}
.race-screen.gameplay-hud .race-top-hud .race-icon-button+.race-icon-button {margin-left:0}
.race-screen.gameplay-hud .race-top-hud .race-icon-button .icon {display:block;width:22px;height:22px}
.race-screen.gameplay-hud .race-top-hud .race-icon-button:hover:not(:disabled) {filter:brightness(1.04);transform:none}
.race-screen.gameplay-hud .race-top-hud .race-icon-button:focus-visible {outline:2px solid #407f83;outline-offset:3px}

/* Adventure adds a destination instrument; the common instruments keep their positions. */
.race-screen.gameplay-hud .race-top-hud .adventure-race-tools {grid-area:destination;position:static;inset:auto;width:100%;max-width:280px;min-width:0;justify-self:start;height:64px;margin:0;padding:3px 8px;border:6px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;background:transparent;box-sizing:border-box;box-shadow:0 3px 12px #062b3426;backdrop-filter:none;pointer-events:auto}
.race-screen.gameplay-hud .race-top-hud .adventure-target-row {gap:5px}
.race-screen.gameplay-hud .race-top-hud .adventure-target-row label {flex:1;min-width:0}
.race-screen.gameplay-hud .race-top-hud .adventure-route-icon {width:16px;height:16px;flex-basis:16px;margin:0;color:#216b73}
.race-screen.gameplay-hud .race-top-hud .adventure-target-row .nautical-select-trigger {height:30px;min-height:30px;padding:4px 7px;font-size:11px}
.race-screen.gameplay-hud .race-top-hud #adventure-target-help {display:block;margin:3px 0 0;font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adventure-race .race-track-name a {color:inherit;text-decoration:underline;text-underline-offset:2px}

/* One baseline for speed, fuel/hull and boat status, with sailing controls above. */
.race-screen.gameplay-hud .race-bottom-hud {display:grid;grid-template-columns:minmax(184px,.82fr) minmax(220px,1fr) minmax(220px,1.08fr);grid-template-rows:1fr;gap:12px;align-items:stretch;left:max(20px,env(safe-area-inset-left,0px));right:auto;bottom:var(--game-card-bottom);width:min(760px,calc(100% - 250px));height:var(--game-card-height)}
.race-screen.gameplay-hud .race-bottom-hud>:is(.race-speed,.race-meter-group,.race-status) {position:static;inset:auto;grid-row:auto;grid-column:auto;width:auto;min-width:0;max-width:none;flex:none;height:var(--game-card-height);min-height:var(--game-card-height);margin:0;padding:2px 12px;border:8px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;box-sizing:border-box}
.race-screen.gameplay-hud .race-speed {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) 12px;gap:4px 6px}
.race-screen.gameplay-hud .race-speed>strong {font-size:54px;height:auto;line-height:1.1;letter-spacing:-2px}
.race-screen.gameplay-hud .race-speed>span,.race-screen.gameplay-hud .race-speed>small {font-size:8px}
.race-screen.gameplay-hud .race-speed>small {height:auto}
.race-screen.gameplay-hud .race-meter-group {display:flex;flex-direction:column;justify-content:center;gap:6px}
.race-screen.gameplay-hud .race-meter-group>div {display:block}
.race-screen.gameplay-hud .race-meter-group>div>span {display:flex;flex:auto;min-height:18px;gap:4px;font-size:9px;letter-spacing:.5px;white-space:nowrap;align-items:center}
.race-screen.gameplay-hud .race-meter-group>div>span>b {min-width:0;font-size:inherit}
.race-screen.gameplay-hud .race-meter-group>div>span>small {font-size:8px;margin-left:auto}
.race-screen.gameplay-hud .race-meter-group:has(.adventure-engine-gears)>div>span>small {display:none}
.race-screen.gameplay-hud .race-meter {height:7px;margin-top:5px}
.race-screen.gameplay-hud .race-status {display:flex;flex-direction:column;justify-content:center;gap:2px;overflow:hidden}
.race-screen.gameplay-hud .race-status>* {flex-shrink:0}
.race-screen.gameplay-hud .race-status>small:empty {display:none}
.race-screen.gameplay-hud .race-status>span {display:block;font-size:8px;line-height:1.2;margin:0}
.race-screen.gameplay-hud .race-status.has-hud-notice>span {display:none}
.race-screen.gameplay-hud .race-status>strong {display:block;font-size:24px;line-height:1.1;min-height:1.1em;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.race-screen.gameplay-hud .race-status>small {font-size:8px;line-height:1.3;margin:0;letter-spacing:.3px;max-width:none}
.race-screen.gameplay-hud .race-key-hint {display:none}
.race-screen.gameplay-hud .sail-sheet-controls {left:max(20px,env(safe-area-inset-left,0px));right:auto;bottom:var(--game-control-bottom);width:280px;min-height:136px;padding:6px 10px;border:8px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;background:transparent;box-shadow:0 3px 12px #062b3426;box-sizing:border-box}
.race-screen.gameplay-hud .sail-control-panel label {color:#4c7471}
.race-screen.gameplay-hud .sail-control-panel output {color:#1b7184}
.race-screen.gameplay-hud .sail-control-panel .sail-sheet-scale {color:#4c7471}
.race-screen.gameplay-hud .sail-control-panel p {color:#287f7a}
.race-screen.gameplay-hud .sail-control-panel.drag-trimming output {color:#ad4b39}
.race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-rudder-controls {left:max(20px,env(safe-area-inset-left,0px));bottom:var(--game-control-bottom);width:280px;min-height:136px;border:8px solid transparent;border-image:var(--vacation-panel) 240 220 240 220 fill stretch;border-radius:0;background:transparent;box-sizing:border-box}
.race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {left:312px}
.adventure-engine-gears {display:flex;align-items:center;gap:3px;margin-left:auto;pointer-events:auto}
.adventure-engine-gears button {display:grid;place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;border:1px solid #86aba1;border-radius:5px;background:#edf3de;color:#28635f;font-size:12px;font-weight:800;line-height:1;transform:none;touch-action:manipulation;pointer-events:auto}
.adventure-engine-gears button[aria-pressed=true] {background:#277b78;color:#fff9e6;border-color:#277b78;box-shadow:inset 0 0 0 1px #b7d8c877}
.adventure-engine-gears button:focus-visible {outline:2px solid #a5683f;outline-offset:2px}
.adventure-engine-gears button:hover:not(:disabled) {transform:none;filter:brightness(1.05)}

@media(pointer:coarse),(any-pointer:coarse),(max-width:900px),(max-width:1000px) and (max-height:500px) {
 .race-screen.gameplay-hud {
  --adventure-hud-top:max(8px,env(safe-area-inset-top,0px));--adventure-hud-inset:max(8px,env(safe-area-inset-left,0px));--adventure-hud-right:max(8px,env(safe-area-inset-right,0px));
  --adventure-hud-height:112px;--adventure-hud-rows:50px 50px;--adventure-hud-columns:92px minmax(0,1fr) 112px;--adventure-hud-areas:"title title actions" "wind metrics metrics";--adventure-hud-gap:6px;
  --adventure-brand-display:none;--adventure-title-size:21px;--adventure-value-size:21px;--adventure-metric-label:7px;--adventure-wind-width:92px;--adventure-wind-height:50px;--adventure-wind-size:16px;--adventure-wind-label:8px;--adventure-compass-size:24px;--adventure-arrow-size:18px;--adventure-wind-symbol:none;
  --game-card-height:88px;--game-card-bottom:max(8px,env(safe-area-inset-bottom,0px));--game-control-bottom:calc(var(--game-card-bottom) + var(--game-card-height) + 12px);
 }
 .race-screen.gameplay-hud .race-top-hud :is(.race-track-name,.race-wind,.race-progress,.race-header-actions) {border-width:5px}
 .race-screen.gameplay-hud .race-top-hud .race-track-name {padding:2px 8px}
 .race-screen.gameplay-hud .race-top-hud .race-track-name>span {font-size:8px;margin-top:2px}
 .race-screen.gameplay-hud .race-top-hud .race-wind {padding:1px 3px;gap:6px}
 .race-screen.gameplay-hud .race-top-hud .race-progress {padding:2px 6px;gap:5px}
 .race-screen.gameplay-hud .race-bottom-hud {left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));width:auto;grid-template-columns:64px minmax(152px,.95fr) minmax(0,1fr);gap:6px}
 .race-screen.gameplay-hud .race-bottom-hud>:is(.race-speed,.race-meter-group,.race-status) {padding:2px 6px;border-width:6px}
 .race-screen.gameplay-hud .race-speed {grid-template-columns:minmax(0,1fr);grid-template-rows:25px 9px 18px;justify-items:center;gap:2px}
 .race-screen.gameplay-hud .race-speed>strong {font-size:25px;letter-spacing:-1px}
 .race-screen.gameplay-hud .race-speed>span {grid-column:1;grid-row:2;font-size:6px}
 .race-screen.gameplay-hud .race-speed>small {grid-column:1;grid-row:3;font-size:6px;line-height:9px;white-space:normal}
 .race-screen.gameplay-hud .race-meter-group {gap:2px}
 .race-screen.gameplay-hud .race-meter-group>div>span {min-height:11px;font-size:7px;letter-spacing:0;gap:2px}
 .race-screen.gameplay-hud .race-meter-group>div>span>.icon {width:11px;height:11px}
 .race-screen.gameplay-hud .race-meter-group:has(.adventure-engine-gears) #hud-surge-label {font-size:0}
 .race-screen.gameplay-hud .race-meter-group:has(.adventure-engine-gears) #hud-surge-label::after {content:"FUEL";font-size:7px}
 .race-screen.gameplay-hud .race-meter-group>div>span>small {display:none}
 .race-screen.gameplay-hud .race-meter {height:6px;margin-top:1px}
 .race-screen.gameplay-hud .race-status {gap:2px}
 .race-screen.gameplay-hud .race-status>span {font-size:6px}
 .race-screen.gameplay-hud .race-status>strong {font-size:18px}
 .race-screen.gameplay-hud .race-status>small {font-size:7px;letter-spacing:0;line-height:1.3}
 .race-screen.gameplay-hud .sail-sheet-controls {left:max(12px,env(safe-area-inset-left,0px));right:auto;width:min(240px,calc(100% - max(12px,env(safe-area-inset-left,0px)) - max(12px,env(safe-area-inset-right,0px)) - 100px));min-height:124px;padding:5px 8px;border-width:6px}
 .race-screen.gameplay-hud .sailing-touch-controls .touch-sail-engine {right:max(12px,env(safe-area-inset-right,0px));bottom:var(--game-control-bottom);width:88px;height:100px;min-height:100px;display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:0}
 .race-screen.gameplay-hud .sailing-touch-controls .touch-sail-engine small {display:block}
 .race-screen.gameplay-hud .sailing-touch-controls .touch-hint {display:none}
 .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-rudder-controls,
 .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {width:min(240px,calc((100% - max(12px,env(safe-area-inset-left,0px)) - max(12px,env(safe-area-inset-right,0px)) - 112px)/2));min-height:124px;bottom:var(--game-control-bottom);padding:5px 6px;border-width:6px}
 .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-rudder-controls {left:max(12px,env(safe-area-inset-left,0px))}
 .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {left:auto;right:calc(max(12px,env(safe-area-inset-right,0px)) + 100px)}
 .adventure-engine-gears {gap:2px}
 .adventure-engine-gears button {width:44px;min-width:44px;height:44px;min-height:44px;font-size:12px}
}
@media(max-width:359px) {
 .race-screen.gameplay-hud {--game-card-height:96px}
 .race-screen.gameplay-hud .race-status {gap:0}
 .race-screen.gameplay-hud .race-status>span {letter-spacing:0;white-space:nowrap}
}
@media(max-width:500px) {
 .race-screen.gameplay-hud {--game-card-height:96px}
 .race-screen.gameplay-hud .race-bottom-hud {grid-template-columns:56px 112px minmax(0,1fr)}
 .race-screen.gameplay-hud .race-meter-group {padding-left:4px;padding-right:4px}
 .race-screen.gameplay-hud .race-meter-group>div>span {min-height:0;line-height:1.2;flex-wrap:wrap;gap:0 2px}
 .race-screen.gameplay-hud .race-meter-group>div:first-child>span>.icon {display:none}
 .race-screen.gameplay-hud .adventure-engine-gears {flex-shrink:0}
}
@media(pointer:coarse),(any-pointer:coarse),(max-width:1200px) {
 .race-screen.gameplay-hud.adventure-race {--adventure-hud-height:126px;--adventure-hud-rows:64px 50px;--adventure-hud-areas:"title title destination destination" "wind metrics metrics actions";--adventure-hud-columns:92px minmax(0,1fr) minmax(0,1fr) 112px;--adventure-brand-display:none;--adventure-wind-width:92px;--adventure-wind-height:50px;--adventure-value-size:21px;--adventure-metric-label:7px;--adventure-hud-gap:6px}
 .race-screen.gameplay-hud.adventure-race .race-top-hud .race-track-name {height:64px;font-size:20px;padding:2px 8px}
 .race-screen.gameplay-hud.adventure-race .race-top-hud .adventure-route-icon {display:none}
}
@media(orientation:landscape) and (max-height:500px) and (min-width:600px) {
 .race-leaderboard {top:calc(var(--adventure-hud-bottom) + 6px);padding:2px 6px;line-height:12px}
 .race-leaderboard-heading {padding-bottom:0;line-height:10px}
 .race-screen.gameplay-hud:has(.race-leaderboard:not([hidden])) .boat-voice {left:var(--adventure-hud-inset);right:auto}
 .race-screen.gameplay-hud {--adventure-hud-height:64px;--adventure-hud-rows:64px;--adventure-hud-columns:minmax(100px,1fr) 92px minmax(220px,260px) 112px;--adventure-hud-areas:"title wind metrics actions";--adventure-wind-height:64px;--adventure-hud-gap:5px;--adventure-brand-display:none}
 .race-screen.gameplay-hud.adventure-race {--adventure-hud-height:68px;--adventure-hud-rows:64px;--adventure-hud-columns:minmax(100px,1fr) minmax(120px,1fr) 80px minmax(168px,200px) 112px;--adventure-hud-areas:"title destination wind metrics actions";--adventure-hud-gap:5px;--adventure-wind-width:80px;--adventure-wind-height:64px;--adventure-value-size:18px}
 .race-screen.gameplay-hud :is(.sail-sheet-controls,.sail-rudder-controls)>p {display:none}
 .race-screen.gameplay-hud .sail-sheet-controls {min-height:100px}
 .race-screen.gameplay-hud[data-touch-control-mode='rudder'] :is(.sail-sheet-controls,.sail-rudder-controls) {min-height:100px}
 .race-screen.gameplay-hud .adventure-anchor-dock {right:148px;bottom:calc(var(--game-control-bottom) + 112px)}
 .race-screen.gameplay-hud .adventure-zoom {right:16px;bottom:calc(var(--game-control-bottom) + 112px)}
 .race-screen.gameplay-hud .adventure-zoom .race-icon-button {width:32px;height:32px;min-width:32px;min-height:32px;border-width:5px}
 .race-screen.gameplay-hud .adventure-zoom #adventure-zoom-reset {width:48px;min-width:48px;font-size:11px}
}

/* The tutorial coach sits in the free water above the same controls. */
.race-screen.gameplay-hud .playable-tutorial-coach {top:calc(var(--adventure-hud-bottom) + 12px)}
@media(orientation:landscape) and (max-height:500px) and (min-width:600px) {
 .race-screen.gameplay-hud .playable-tutorial-coach {top:calc(var(--adventure-hud-bottom) + 8px);left:12px;right:12px;width:auto;height:72px;min-height:0;padding:7px 88px 7px 12px;box-sizing:border-box}
 .race-screen.gameplay-hud .tutorial-coach-topline,.race-screen.gameplay-hud .tutorial-mission-checklist,.race-screen.gameplay-hud .tutorial-mission-hint,.race-screen.gameplay-hud .tutorial-mission-reward {display:none}
 .race-screen.gameplay-hud .tutorial-mission-heading h2 {font-size:19px;margin:0 0 3px}
 .race-screen.gameplay-hud .tutorial-mission-heading p {font-size:10px;line-height:1.2;margin:0;max-width:none}
 .race-screen.gameplay-hud .tutorial-mission-progress {height:4px;margin-top:5px}
 .race-screen.gameplay-hud .tutorial-coach-footer {margin:0;padding:0;border:0}
 .race-screen.gameplay-hud .tutorial-retry {position:absolute;right:10px;top:12px;min-height:44px;margin:0}
}
