/* Big Bass Angler — cabin.css
   Autumn cabin palette: dark timber, plaid red, brass and spruce. */

:root {
  --timber: #1a1512;
  --timber-2: #27201b;
  --timber-3: #33291f;
  --plaid: #c0392b;
  --plaid-deep: #8f2a20;
  --brass: #d4a24c;
  --brass-soft: rgba(212, 162, 76, 0.14);
  --spruce: #3e7c5a;
  --spruce-soft: rgba(62, 124, 90, 0.18);
  --cream: #f5efe6;
  --dust: #bfae9c;
  --glow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --soft-glow: 0 10px 26px rgba(0, 0, 0, 0.28);
  --round: 20px;
  --round-sm: 12px;
  --f-head: "Bitter", Georgia, "Times New Roman", serif;
  --f-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --wrap: min(1160px, calc(100% - 32px));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--f-body);
  color: var(--cream);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(192, 57, 43, 0.22), transparent 70%),
    radial-gradient(900px 600px at -10% 30%, rgba(62, 124, 90, 0.16), transparent 70%),
    linear-gradient(180deg, #1f1915 0%, var(--timber) 55%, #140f0c 100%);
  -webkit-font-smoothing: antialiased;
}

body.dial-lock { overflow: hidden; }

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--brass); text-decoration: none; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--cream); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0; color: var(--cream); }
p { margin: 0; line-height: 1.7; color: var(--dust); }

.cab-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--brass);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── Header ─────────────────────────────────────────── */
.cab-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: rgba(26, 21, 18, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cab-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.cab-logo:hover { color: var(--brass); }

.cab-seal {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(135deg, var(--plaid), var(--plaid-deep));
  color: var(--cream);
  font-family: var(--f-head);
  font-size: .8rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px rgba(212, 162, 76, 0.45);
}

.cab-nav { margin-left: auto; position: relative; }

.cab-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cab-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--dust);
  font-size: .86rem;
  font-weight: 700;
}
.cab-links a:hover { color: var(--cream); background: rgba(245, 239, 230, 0.07); }
.cab-links a[aria-current="page"] { color: var(--timber); background: var(--brass); }

.cab-burger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--timber-3);
  color: var(--cream);
  font: 700 .85rem var(--f-body);
  cursor: pointer;
}
.cab-burger-bars,
.cab-burger-bars::before,
.cab-burger-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
  content: "";
  position: relative;
}
.cab-burger-bars::before { position: absolute; top: -5px; }
.cab-burger-bars::after { position: absolute; top: 5px; }

.cab-lang { position: relative; }
.cab-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--spruce-soft);
  color: var(--cream);
  font: 800 .8rem var(--f-body);
  cursor: pointer;
}
.cab-lang-btn:hover, .cab-lang-btn[aria-expanded="true"] { background: var(--spruce); }
.cab-lang-caret { font-size: .7rem; opacity: .7; }
.cab-lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: none;
  min-width: 176px;
  padding: 6px;
  border-radius: 14px;
  background: var(--timber-2);
  box-shadow: var(--glow);
}
.cab-lang-list.is-open { display: grid; gap: 2px; }
.cab-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--dust);
  font: 600 .88rem var(--f-body);
  text-align: left;
  cursor: pointer;
}
.cab-lang-item:hover { background: rgba(245, 239, 230, 0.06); color: var(--cream); }
.cab-lang-item.is-on { background: var(--brass-soft); color: var(--brass); }
.cab-lang-flag { font-size: 1.05rem; }

/* ── Home: lake + game ──────────────────────────────── */
.cab-lake {
  width: var(--wrap);
  margin: 0 auto;
  padding: 34px 0 30px;
  display: grid;
  gap: 22px;
}
.cab-lake-intro { max-width: 760px; }
.cab-lake-intro h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.cab-hero-lead { margin-top: 12px; font-size: 1.05rem; color: #d9cab8; }

.cab-frame {
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(145deg, #4a3322, #2b1f17);
  box-shadow: var(--glow), inset 0 0 0 2px rgba(212, 162, 76, 0.25);
}
#game {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 620;
  border-radius: 18px;
  cursor: crosshair;
  touch-action: none;
  background: #13342a;
}

/* notebook block */
.cab-notebook {
  width: var(--wrap);
  margin: 26px auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--round);
  overflow: hidden;
  background: var(--timber-2);
  box-shadow: var(--glow);
}
.cab-notebook-pic { margin: 0; min-height: 100%; }
.cab-notebook-pic img { width: 100%; height: 100%; object-fit: cover; }
.cab-notebook-text { padding: 34px; display: grid; align-content: center; gap: 12px; }
.cab-notebook-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* bands of cards */
.cab-band { width: var(--wrap); margin: 30px auto; }
.cab-band-warm {
  padding: 30px;
  border-radius: 28px;
  background: radial-gradient(700px 300px at 0% 0%, rgba(212, 162, 76, 0.16), transparent 70%), rgba(51, 41, 31, 0.6);
}
.cab-band-head { max-width: 720px; margin-bottom: 20px; display: grid; gap: 8px; justify-items: start; }
.cab-band-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); }

.cab-tiles { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cab-tiles-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cab-tiles-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cab-tiles-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cab-tile {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--round);
  background: var(--timber-2);
  box-shadow: var(--soft-glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cab-tile:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.cab-tile h2, .cab-tile h3 { font-size: 1.12rem; }
.cab-tile-reward { background: linear-gradient(160deg, rgba(192, 57, 43, 0.18), var(--timber-2) 55%); }
.cab-tile-row { grid-template-columns: auto 1fr; align-items: start; gap: 16px; }
.cab-tile-row div { display: grid; gap: 6px; }

.cab-emblem {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--brass-soft);
  font-size: 1.45rem;
}

/* home mailbox teaser */
.cab-mailbox {
  width: var(--wrap);
  margin: 30px auto 56px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(62, 124, 90, 0.35), rgba(39, 32, 27, 0.95) 60%);
  box-shadow: var(--glow);
}
.cab-mailbox h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.cab-mailbox-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cab-mailbox-links a:not(.cab-pill) {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(26, 21, 18, 0.6);
  color: var(--dust);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cab-mailbox-links strong { color: var(--cream); font-size: 1rem; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.cab-mailbox-links a:hover { background: rgba(26, 21, 18, 0.9); }

.cab-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--timber);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(212, 162, 76, 0.25);
}
.cab-pill:hover { background: var(--cream); color: var(--timber); }

/* ── Inner pages ────────────────────────────────────── */
.cab-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 48px 0 18px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.cab-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; max-width: 880px; }
.cab-hero .cab-hero-lead { max-width: 760px; }
.cab-hero-split { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px; }
.cab-hero-split > div { display: grid; gap: 6px; justify-items: start; }
.cab-hero-pic { width: 100%; height: auto; max-width: 360px; justify-self: end; border-radius: 28px 8px 28px 8px; box-shadow: var(--glow); }
.cab-hero-wide { max-width: 480px; aspect-ratio: 1200 / 560; object-fit: cover; }

.cab-crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cab-mate {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--round);
  background: var(--timber-2);
  box-shadow: var(--soft-glow);
}
.cab-mate > div { display: grid; gap: 6px; }
.cab-mate h3 { font-size: 1.2rem; }
.cab-mate-role { color: var(--brass); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cab-monogram {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e85a49, var(--plaid-deep));
  color: var(--cream);
  font-family: var(--f-head);
  font-weight: 800;
  box-shadow: inset 0 0 0 4px rgba(212, 162, 76, 0.5);
}

.cab-callout {
  width: var(--wrap);
  margin: 30px auto 56px;
  padding: 34px;
  display: grid;
  gap: 12px;
  justify-items: start;
  border-radius: 28px;
  background: radial-gradient(600px 260px at 100% 0%, rgba(192, 57, 43, 0.28), transparent 70%), var(--timber-3);
  box-shadow: var(--glow);
}
.cab-callout h2 { font-size: 1.6rem; }
.cab-callout p { max-width: 720px; }

/* contact */
.cab-inboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cab-inbox {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--round);
  background: var(--timber-2);
  box-shadow: var(--soft-glow);
}
.cab-inbox h2 { font-size: 1.15rem; }
.cab-inbox a { font-weight: 800; overflow-wrap: anywhere; }
.cab-inbox-time { display: grid; gap: 2px; margin-top: 4px; padding: 10px 14px; border-radius: 12px; background: var(--spruce-soft); }
.cab-inbox-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dust); }
.cab-inbox-time strong { color: var(--cream); font-size: .92rem; }

.cab-desk { width: var(--wrap); margin: 30px auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cab-desk-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cab-desk-card { display: grid; align-content: start; gap: 12px; padding: 26px; border-radius: var(--round); background: rgba(51, 41, 31, 0.75); box-shadow: var(--soft-glow); }
.cab-desk-card h2 { font-size: 1.2rem; }
.cab-desk-hours { background: linear-gradient(160deg, rgba(212, 162, 76, 0.2), rgba(51, 41, 31, 0.85) 60%); }
.cab-desk-warn { background: linear-gradient(160deg, rgba(192, 57, 43, 0.22), rgba(51, 41, 31, 0.85) 60%); }
.cab-hours { display: grid; gap: 4px; }
.cab-hours strong { font-family: var(--f-head); font-size: 1.5rem; color: var(--brass); }

.cab-ticks, .cab-crosses { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.cab-ticks li, .cab-crosses li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--dust); line-height: 1.5; }
.cab-ticks li::before { content: "✓"; color: var(--spruce); font-weight: 800; color: #6fb98a; }
.cab-crosses li::before { content: "✕"; color: #e0503e; font-weight: 800; }

.cab-folds { display: grid; gap: 10px; }
.cab-fold { border-radius: 16px; background: var(--timber-2); box-shadow: var(--soft-glow); }
.cab-fold summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.cab-fold summary::-webkit-details-marker { display: none; }
.cab-fold summary::after { content: "+"; color: var(--brass); font-size: 1.3rem; line-height: 1; }
.cab-fold[open] summary::after { content: "–"; }
.cab-fold p { padding: 0 22px 20px; }
.cab-aside-note { margin-top: 18px; }

/* legal */
.cab-stamp { color: var(--brass); font-size: .85rem; font-weight: 700; }
.cab-legal { width: min(940px, calc(100% - 32px)); margin: 16px auto 56px; display: grid; gap: 14px; }
.cab-notice { padding: 20px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(192, 57, 43, 0.25), rgba(51, 41, 31, 0.9)); color: var(--cream); }
.cab-clauses { display: grid; gap: 12px; }
.cab-clause { padding: 22px 26px; border-radius: 18px; background: var(--timber-2); box-shadow: var(--soft-glow); }
.cab-clause:nth-child(even) { background: #2c241e; }
.cab-clause h2 { font-size: 1.08rem; margin-bottom: 8px; color: var(--brass); }

/* ── Footer ─────────────────────────────────────────── */
.cab-foot { margin-top: 30px; background: #120e0b; box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.3); }
.cab-foot-inner { width: var(--wrap); margin: 0 auto; padding: 40px 0 34px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.cab-foot-brand { display: grid; gap: 8px; justify-items: center; max-width: 560px; }
.cab-foot-name { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; }
.cab-foot-tag { font-size: .9rem; }
.cab-foot-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.cab-foot-nav a { display: block; padding: 6px 12px; border-radius: 999px; background: rgba(245, 239, 230, 0.05); color: var(--dust); font-size: .84rem; font-weight: 600; }
.cab-foot-nav a:hover, .cab-foot-nav a[aria-current="page"] { background: var(--brass-soft); color: var(--brass); }
.cab-foot-legal { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; max-width: 820px; padding: 20px 24px; border-radius: 18px; background: rgba(39, 32, 27, 0.8); text-align: left; }
.cab-age { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--plaid); color: var(--cream); font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; box-shadow: inset 0 0 0 4px rgba(245, 239, 230, 0.25); }
.cab-foot-notes { display: grid; gap: 6px; }
.cab-foot-notes p { font-size: .8rem; line-height: 1.55; }
.cab-owner { color: var(--cream); font-size: .85rem; font-weight: 600; }
.cab-copy { font-size: .78rem; }

/* ── Compass dialog ─────────────────────────────────── */
.dial-veil {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 13, 10, 0.9);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: dialIn .25s ease-out;
}
.dial-veil:focus { outline: none; }
.dial-veil.is-leaving { opacity: 0; transition: opacity .22s ease; }
.dial-card {
  width: min(940px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 26px;
  background: radial-gradient(520px 300px at 0% 0%, rgba(192, 57, 43, 0.3), transparent 70%), var(--timber-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(212, 162, 76, 0.25);
}
.dial-kicker { color: var(--brass); font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.dial-words h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.dial-lead { margin: 14px 0 20px; }
.dial-key { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 0; padding: 0; list-style: none; }
.dial-key li { display: flex; align-items: center; gap: 8px; color: var(--cream); font-size: .82rem; font-weight: 700; }
.dial-key-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 10px; background: var(--brass-soft); }
.dial-stage { position: relative; display: grid; justify-items: center; gap: 14px; }
.dial-face {
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#c0392b 0 60deg, #3e7c5a 60deg 120deg, #d4a24c 120deg 180deg, #8f2a20 180deg 240deg, #6b8f4e 240deg 300deg, #b8742f 300deg 360deg);
  box-shadow: 0 0 0 10px #4a3322, 0 0 0 13px var(--brass), 0 22px 45px rgba(0, 0, 0, 0.45);
  transition: transform 3s cubic-bezier(0.12, 0.65, 0.18, 1);
}
.dial-face::after {
  content: "";
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f6d58f, var(--brass) 55%, #7d5418);
  box-shadow: 0 0 0 4px var(--timber-2);
}
.dial-face > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 21, 18, 0.78);
  font-size: 1.4rem;
  transform: rotate(calc(var(--slot) * 60deg + 30deg)) translateY(-122px) rotate(calc(var(--slot) * -60deg - 30deg));
}
.dial-needle {
  position: absolute;
  z-index: 2;
  top: -12px;
  width: 36px;
  height: 40px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.5));
}
.dial-turn, .dial-go {
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--brass);
  color: var(--timber);
  font: 800 .86rem var(--f-body);
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 162, 76, 0.3);
}
.dial-turn:hover, .dial-go:hover { background: var(--cream); }
.dial-turn:disabled { opacity: .6; cursor: wait; }
.dial-go { background: #6fb98a; }
.dial-result { min-height: 64px; text-align: center; }
.dial-result small, .dial-result strong, .dial-result span { display: block; }
.dial-result small { color: var(--dust); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.dial-result strong { margin-top: 4px; color: var(--brass); font-family: var(--f-head); font-size: 1.2rem; }
.dial-result span { max-width: 420px; margin-top: 4px; color: var(--cream); font-size: .84rem; }

@keyframes dialIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .dial-face { transition-duration: .6s; }
  .cab-tile { transition: none; }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .cab-burger { display: inline-flex; }
  .cab-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 230px;
    padding: 8px;
    border-radius: 16px;
    background: var(--timber-2);
    box-shadow: var(--glow);
  }
  .cab-links.is-open { display: flex; }
  .cab-links a { padding: 12px 14px; }
}

@media (max-width: 980px) {
  .cab-tiles-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-tiles-three, .cab-inboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-desk { grid-template-columns: 1fr 1fr; }
  .cab-desk-hours { grid-column: 1 / -1; }
  .cab-notebook { grid-template-columns: 1fr; }
  .cab-notebook-pic img { aspect-ratio: 1200 / 560; }
}

@media (max-width: 720px) {
  .cab-top { gap: 10px; }
  .cab-logo-name { font-size: 1rem; }
  .cab-tiles-four, .cab-tiles-three, .cab-tiles-two, .cab-inboxes, .cab-crew, .cab-desk, .cab-desk-pair { grid-template-columns: 1fr; }
  .cab-hero-split { grid-template-columns: 1fr; }
  .cab-hero-pic { justify-self: start; max-width: 260px; }
  .cab-hero-wide { max-width: 100%; }
  .cab-mailbox { grid-template-columns: 1fr; padding: 24px; }
  .cab-band-warm { padding: 22px 16px; }
  .cab-notebook-text, .cab-callout { padding: 24px; }
  .cab-foot-legal { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cab-frame { padding: 6px; border-radius: 18px; }
  #game { border-radius: 13px; }
  .dial-veil { padding: 10px; }
  .dial-card { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; max-height: calc(100vh - 20px); }
  .dial-words h2 { font-size: 1.9rem; }
  .dial-lead { margin: 8px 0 12px; font-size: .88rem; }
  .dial-key li { font-size: .74rem; }
  .dial-face { width: min(270px, 70vw); }
  .dial-face > span { width: 38px; height: 38px; margin: -19px; font-size: 1.15rem; transform: rotate(calc(var(--slot) * 60deg + 30deg)) translateY(-90px) rotate(calc(var(--slot) * -60deg - 30deg)); }
}

@media (max-width: 420px) {
  .cab-logo-name { display: none; }
  .cab-lake { padding-top: 22px; }
  .cab-tile, .cab-inbox, .cab-mate, .cab-desk-card { padding: 20px; }
  .cab-mate { grid-template-columns: 1fr; }
  .dial-face { width: 240px; }
  .dial-face > span { transform: rotate(calc(var(--slot) * 60deg + 30deg)) translateY(-80px) rotate(calc(var(--slot) * -60deg - 30deg)); }
}

/* Wheel dialog: wheel and button only, no side text column */
.dial-card {
  width: min(460px, 100%);
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}
.dial-card .dial-stage { width: 100%; }
.wheel-sr-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
