/* The harbour home joins sailing modes and the next voyage in one clubhouse. */
.front-home {
  --home-paper: #fff9ed;
  --home-border: #305f5426;
  --home-sea: #164f53;
  min-height: 100svh;
}
.front-home::after {
  background: linear-gradient(180deg, #fff5e797, #fff5e71a 36%, #123f4336 77%, #fff5e775),
    linear-gradient(90deg, #fff4e854, transparent 55%);
}
.front-home .front-header {
  width: min(100%, 1340px);
  min-height: 108px;
  margin-inline: auto;
  padding: 20px 44px 10px;
  gap: 24px;
}
.front-home .front-brand-logo { width: 158px; }
.front-home .front-player {
  gap: 22px;
  padding: 10px 16px;
  border: 1px solid #fff8e85e;
  border-radius: 12px;
  background: #fff9edb8;
  backdrop-filter: blur(12px);
}
.front-home .front-settings { min-height: 44px; padding-left: 19px; }
.front-home .online-account-link { min-height: 42px; }
.front-home .front-lobby {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 18px 44px 24px;
  gap: 0;
}
.front-home .front-clubhouse {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  width: min(100%, 1210px);
  min-height: 552px;
  overflow: hidden;
  border: 1px solid #fffaf0cc;
  border-radius: 22px;
  background: var(--home-paper);
  box-shadow: 0 22px 70px #113f4138, 0 4px 14px #173d4312;
}
.front-home .front-main-menu {
  min-width: 0;
  max-width: none;
  padding: 28px 30px;
  border-right: 1px solid var(--home-border);
  background: linear-gradient(140deg, #fffaf0, #f7f4e8);
}
.front-home .front-main-menu > .front-eyebrow {
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 1.7px;
}
.front-home .front-main-menu h1 {
  margin: 11px 0 9px;
  font-size: clamp(52px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.front-home .front-main-menu h1 em { margin-left: .06em; }
.front-home .front-welcome {
  max-width: 335px;
  margin: 0 0 20px;
  color: var(--front-muted);
  font-size: 11px;
  line-height: 1.65;
}
.front-home .front-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.front-home .front-menu > button {
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 11px 14px;
  gap: 12px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: #fffaf065;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.front-home .front-mode-choice { grid-column: 1 / -1; }
.front-home .front-choice-icon {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #dae9df9e;
  color: var(--front-ink);
}
.front-home .front-choice-icon .icon { width: 21px; height: 21px; }
.front-home .front-choice-copy { min-width: 0; gap: 4px; }
.front-home .front-choice-copy strong { font-size: 24px; letter-spacing: .6px; }
.front-home .front-choice-copy small { font-size: 10px; line-height: 1.45; }
.front-home .front-choice-arrow {
  display: flex;
  flex: 0 0 auto;
  margin-left: auto;
  opacity: .6;
  transform: none;
  color: var(--front-muted);
}
.front-home .front-choice-arrow .icon { width: 17px; height: 17px; }
.front-home .front-menu > .front-primary-choice {
  border-color: #dd997c;
  background: linear-gradient(110deg, #ffbea0, #f4ad8d);
  box-shadow: 0 3px 8px #ac715c12;
}
.front-home .front-primary-choice .front-choice-icon { background: #fff8e857; }
.front-home .front-primary-choice .front-choice-copy strong { color: #174b4b; }
.front-home .front-primary-choice .front-choice-copy small,
.front-home .front-primary-choice .front-choice-arrow { color: #4c5a4e; }
.front-home .front-menu > .front-utility-choice {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 87px;
  margin-top: 7px;
  padding: 12px 10px;
  gap: 7px;
  background: #e8eee46b;
}
.front-home .front-utility-choice .front-choice-icon {
  flex-basis: auto;
  width: 21px;
  height: 21px;
  border-radius: 0;
  background: none;
  color: #528174;
}
.front-home .front-utility-choice .front-choice-icon .icon { width: 19px; height: 19px; }
.front-home .front-utility-choice .front-choice-copy { gap: 4px; }
.front-home .front-utility-choice .front-choice-copy strong { font-size: 17px; letter-spacing: .2px; }
.front-home .front-utility-choice .front-choice-copy small { font-size: 9px; }
.front-home .front-utility-choice .front-choice-arrow { display: none; }
.front-home .front-menu > button:hover {
  padding-left: 14px;
  border-color: #6e9c87;
  background: #e2eddf;
  box-shadow: 0 3px 10px #205a4210;
}
.front-home .front-menu > .front-utility-choice:hover { padding-left: 10px; }
.front-home .front-menu > .front-primary-choice:hover { border-color: #b96f50; background: #ffc4a6; }
.front-home .front-menu > button:focus { padding-left: 14px; }
.front-home .front-menu > .front-utility-choice:focus { padding-left: 10px; }
.front-home button:focus-visible {
  outline: 3px solid #2d7b76;
  outline-offset: 3px;
}
.front-home .front-menu > button:focus-visible {
  outline: 3px solid #2d7b76;
  outline-offset: -4px;
  border-color: #2d7b76;
}
.front-home .front-race-brief {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f7f8ee;
  box-shadow: none;
  backdrop-filter: none;
}
.front-home .front-voyage-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 334px;
  overflow: hidden;
  padding: 24px 28px 25px;
  color: #fff5df;
  background: radial-gradient(ellipse at 77% 18%, #478f8757, transparent 61%),
    linear-gradient(140deg, #144e51, var(--voyage-ocean, #237778));
}
.front-home .front-voyage-scene::before {
  position: absolute;
  z-index: -1;
  top: -64px;
  right: -72px;
  width: 440px;
  height: 440px;
  border: 1px solid #fff5dc21;
  border-radius: 50%;
  box-shadow: 0 0 0 52px #fff5dc07, 0 0 0 53px #fff5dc0c, 0 0 0 107px #fff5dc05;
  content: '';
}
.front-home .front-voyage-scene::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #123f42a6, transparent 77%),
    linear-gradient(0deg, #123e48ba, transparent 60%);
  content: '';
}
.front-home .front-voyage-art {
  position: absolute;
  z-index: -2;
  top: 8px;
  right: -13px;
  width: 79%;
  height: 92%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 18px #082d3040);
  pointer-events: none;
}
.front-home .front-voyage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.front-home .front-voyage-top .front-eyebrow {
  color: #fbdfa8;
  font-size: 8px;
  letter-spacing: 1.6px;
}
.front-home .front-voyage-top .front-eyebrow > span { background: #fbdfa8; width: 18px; }
.front-home .front-voyage-top .front-link {
  flex-shrink: 0;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 16px;
  gap: 11px;
  border: 1px solid #fff5dce6;
  border-radius: 9px;
  background: #fff5df;
  box-shadow: 0 4px 12px #072f3433;
  color: #174b4b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .4px;
}
.front-home .front-voyage-top .front-link .icon { width: 20px; height: 20px; flex: 0 0 20px; }
.front-home .front-voyage-top .front-link:hover { background: #ffffff; }
.front-home .front-destination { padding: 23px 0 0; }
.front-home .front-destination > span { color: #d5e4d4; font-size: 10px; letter-spacing: .5px; }
.front-home .front-destination h2 {
  margin: 8px 0 7px;
  color: #fff6e2;
  font-size: clamp(47px, 4.7vw, 66px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.5px;
  text-shadow: 0 2px 16px #063f414f;
}
.front-home .front-destination > p { color: #e0ebd9; font-size: 11px; line-height: 1.5; }
.front-home .front-conditions { flex-wrap: wrap; gap: 7px; margin: 16px 0 0; color: #edf2dc; }
.front-home .front-conditions > span {
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid #d9e7c834;
  border-radius: 5px;
  background: #154a506b;
  font-size: 8px;
  line-height: 1.3;
}
.front-home .front-conditions .icon { width: 14px; height: 14px; }
.front-home .front-departure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .79fr);
  align-items: center;
  gap: 18px;
  padding: 20px 28px 12px;
}
.front-home .front-vessel { min-width: 0; gap: 10px; padding: 0; border: 0; }
.front-home .front-vessel-art { width: 90px; height: 124px; flex: 0 0 90px; }
.front-home .front-vessel-art > .boat-sprite { width: 148px; height: 148px; }
.front-home .front-vessel .front-eyebrow { font-size: 7px; letter-spacing: 1.4px; }
.front-home .front-vessel h3 { margin: 6px 0 5px; font-size: 26px; line-height: 1.05; }
.front-home .front-vessel p { font-size: 9px; line-height: 1.55; }
.front-home .front-vessel .front-link {
  min-height: 44px;
  max-width: 100%;
  margin-top: 9px;
  padding: 10px 13px;
  gap: 9px;
  border: 1px solid #9bb8a4;
  border-radius: 8px;
  background: #e3eedf;
  color: #174b4b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .3px;
}
.front-home .front-vessel .front-link .icon { width: 18px; height: 18px; flex: 0 0 18px; }
.front-home .front-vessel .front-link:hover { background: #d5e7d2; border-color: #52816a; }
.front-home .front-brief-actions { min-width: 0; gap: 7px; padding: 0; }
.front-home .front-brief-actions > button {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #df987a;
  border-radius: 8px;
  background: #f6af8c;
  color: #123f42;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .5px;
  box-shadow: 0 3px 10px #ac715c14;
}
.front-home .front-brief-actions > button .icon { width: 21px; height: 21px; flex: 0 0 21px; }
.front-home .front-brief-actions > button:last-child,
.front-home .front-brief-actions > button[data-action="stage"] {
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #a5bdab;
  border-radius: 8px;
  background: #e7eee1;
  color: #315f51;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}
.front-home .front-brief-actions > button:last-child:hover { background: #e0eadf; }
.front-home .front-save-note {
  align-items: center;
  gap: 6px;
  margin: 0 28px 19px;
  padding: 11px 0 0;
  border-top: 1px solid var(--home-border);
  color: #668074;
  font-size: 8px;
  line-height: 1.5;
}
.front-home .front-save-note .icon { margin-top: 0; }
.front-home .front-footer {
  width: min(100%, 1300px);
  min-height: 46px;
  margin-inline: auto;
  padding: 0 44px max(12px, env(safe-area-inset-bottom));
  border: 0;
  background: none;
  color: #264f47;
  text-shadow: 0 1px 10px #fff6e8;
}
.front-home .front-footer button { min-height: 35px; }
.front-home .front-water-hint { display: none; }

@media (max-width: 1100px) and (min-width: 741px) {
  .front-home .front-header { padding-inline: 30px; }
  .front-home .front-player { gap: 15px; }
  .front-home .front-lobby { padding-inline: 30px; }
  .front-home .front-clubhouse { grid-template-columns: minmax(320px, .93fr) minmax(0, 1.07fr); }
  .front-home .front-main-menu { padding: 26px 23px; }
  .front-home .front-main-menu h1 { font-size: 55px; }
  .front-home .front-utility-choice .front-choice-copy strong { font-size: 14px; }
  .front-home .front-departure { grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; padding-inline: 20px; }
  .front-home .front-vessel-art { width: 72px; flex-basis: 72px; }
  .front-home .front-vessel h3 { font-size: 23px; }
  .front-home .front-voyage-scene { padding-inline: 23px; }
  .front-home .front-voyage-top { gap: 8px; }
  .front-home .front-voyage-top .front-eyebrow { font-size: 7px; letter-spacing: 1px; }
  .front-home .front-voyage-top .front-eyebrow > span { display: none; }
  .front-home .front-voyage-top .front-link { font-size: 14px; gap: 10px; }
  .front-home .front-save-note { margin-inline: 20px; }
  .front-home .front-footer { padding-inline: 30px; }
}
@media (min-width: 741px) and (max-height: 820px) {
  .front-home .front-header { min-height: 90px; padding-top: 10px; padding-bottom: 5px; }
  .front-home .front-brand-logo { width: 130px; }
  .front-home .front-lobby { padding-top: 12px; padding-bottom: 18px; }
  .front-home .front-clubhouse { min-height: 520px; }
  .front-home .front-main-menu { padding-block: 20px; }
  .front-home .front-main-menu h1 { font-size: 58px; margin-top: 9px; }
  .front-home .front-welcome { margin-bottom: 14px; }
  .front-home .front-menu > .front-mode-choice { min-height: 55px; padding-block: 9px; }
  .front-home .front-menu > .front-utility-choice { min-height: 78px; margin-top: 5px; }
  .front-home .front-voyage-scene { min-height: 316px; padding-block: 20px; }
  .front-home .front-departure { padding-top: 15px; }
  .front-home .front-save-note { margin-bottom: 15px; }
}
@media (max-width: 740px) {
  .front-home .front-header {
    min-height: 90px;
    padding: max(16px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
    gap: 10px;
  }
  .front-home .front-brand-logo { width: 116px; }
  .front-home .front-player { gap: 12px; padding: 5px 9px; border-radius: 10px; }
  .front-home .front-mode { font-size: 7px; letter-spacing: .6px; white-space: nowrap; }
  .front-home .front-player .front-credits { display: none; }
  .front-home .front-player .online-account-link { display: none; }
  .front-home .front-settings { width: 44px; min-height: 44px; padding: 0; border: 0; justify-content: center; }
  .front-home .front-settings span { display: none; }
  .front-home .front-lobby {
    display: flex;
    align-items: stretch;
    padding: 10px max(16px, env(safe-area-inset-right)) 20px max(16px, env(safe-area-inset-left));
  }
  .front-home .front-clubhouse { display: flex; flex-direction: column; min-height: 0; width: 100%; border-radius: 17px; }
  .front-home .front-main-menu { order: 2; padding: 23px 20px; border: 0; border-top: 1px solid var(--home-border); }
  .front-home .front-main-menu > .front-eyebrow { font-size: 8px; }
  .front-home .front-main-menu h1 { margin: 9px 0 6px; font-size: clamp(45px, 12vw, 62px); }
  .front-home .front-welcome { max-width: 100%; margin-bottom: 16px; font-size: 10px; }
  .front-home .front-menu { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .front-home .front-menu > .front-mode-choice { grid-column: span 3; min-height: 79px; padding: 12px 10px; gap: 8px; }
  .front-home .front-choice-icon { flex-basis: 28px; width: 28px; height: 28px; border-radius: 7px; }
  .front-home .front-choice-icon .icon { width: 18px; height: 18px; }
  .front-home .front-mode-choice .front-choice-copy strong { font-size: 21px; letter-spacing: .25px; }
  .front-home .front-mode-choice .front-choice-copy small { font-size: 8px; line-height: 1.5; }
  .front-home .front-mode-choice .front-choice-arrow { display: none; }
  .front-home .front-menu > .front-utility-choice { grid-column: span 2; min-height: 81px; margin-top: 4px; padding: 11px 9px; }
  .front-home .front-utility-choice .front-choice-copy strong { font-size: 16px; }
  .front-home .front-utility-choice .front-choice-copy small { font-size: 7px; }
  .front-home .front-menu > button:hover,
  .front-home .front-menu > button:focus { padding-left: 10px; }
  .front-home .front-menu > .front-utility-choice:hover,
  .front-home .front-menu > .front-utility-choice:focus { padding-left: 9px; }
  .front-home .front-race-brief { order: 1; width: 100%; }
  .front-home .front-voyage-scene { flex: none; min-height: 274px; padding: 17px 20px 21px; }
  .front-home .front-voyage-art { top: 16px; right: -27px; width: 83%; height: 86%; }
  .front-home .front-voyage-scene::before { width: 340px; height: 340px; top: -60px; right: -82px; }
  .front-home .front-voyage-top { gap: 8px; }
  .front-home .front-voyage-top .front-eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .front-home .front-voyage-top .front-eyebrow > span { width: 13px; }
  .front-home .front-voyage-top .front-link { min-height: 48px; padding: 11px 13px; font-size: 13px; gap: 9px; }
  .front-home .front-voyage-top .front-link .icon { width: 19px; height: 19px; flex-basis: 19px; }
  .front-home .front-destination { padding-top: 23px; }
  .front-home .front-destination > span { font-size: 9px; }
  .front-home .front-destination h2 { font-size: 48px; }
  .front-home .front-destination > p { font-size: 10px; }
  .front-home .front-conditions { gap: 5px; margin-top: 12px; }
  .front-home .front-conditions > span { min-height: 25px; padding: 4px 7px; font-size: 7px; }
  .front-home .front-departure { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 19px 18px 14px; }
  .front-home .front-vessel { gap: 15px; }
  .front-home .front-vessel-art { width: 78px; height: 124px; flex-basis: 78px; }
  .front-home .front-vessel-art > .boat-sprite { width: 136px; height: 136px; }
  .front-home .front-vessel h3 { font-size: 24px; }
  .front-home .front-vessel p { font-size: 8px; }
  .front-home .front-vessel .front-link { min-height: 46px; padding: 10px 13px; font-size: 13px; gap: 9px; }
  .front-home .front-vessel .front-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
  .front-home .front-brief-actions > button { min-height: 58px; padding: 14px 17px; font-size: 18px; letter-spacing: .4px; }
  .front-home .front-brief-actions > button:last-child,
.front-home .front-brief-actions > button[data-action="stage"] { min-height: 46px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .front-home .front-save-note { margin: 0 18px 13px; padding-top: 10px; font-size: 7px; }
  .front-home .front-footer { min-height: 43px; padding: 0 20px max(15px, env(safe-area-inset-bottom)); font-size: 7px; gap: 10px; }
  .front-home .front-footer > span:first-child { max-width: 215px; }
  .front-home .front-footer > .front-key-hints { display: none; }
  .front-home .front-footer button { min-height: 44px; font-size: 8px; }
}
@media (max-width: 359px) {
  .front-home .front-main-menu { padding-inline: 15px; }
  .front-home .front-utility-choice .front-choice-copy strong { font-size: 12px; }
  .front-home .front-mode-choice .front-choice-icon { display: none; }
  .front-home .front-departure { grid-template-columns: minmax(0, 1fr); padding-inline: 14px; gap: 15px; }
  .front-home .front-vessel-art { width: 68px; flex-basis: 68px; }
  .front-home .front-vessel h3 { font-size: 22px; }
  .front-home .front-voyage-top .front-eyebrow > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .front-home .front-menu > button,
  .front-home .front-choice-arrow { transition: none; }
}
