
/* Layout: a full-bleed animated ocean scene (sky, surface, boat, reef) behind a centered
   game column. Screens stack: home → round intro → play → results. Single deep-sea look. */
:root {
  color-scheme: dark;
  --abyss: #102a3f;
  --deep: #183d56;
  --foam: var(--hooked-text);
  --mist: var(--hooked-text-muted);
  --rope: #f2b24c;
  --rope-dk: #c9801f;
  --coral: #ff7a63;
  --line: rgba(245, 218, 179, 0.2);
  --glass: rgba(12, 36, 54, 0.64);
  --t1: #a7c3c5; --t2: #4fd0a3; --t3: #5cb6ff; --t4: #c4a2ff; --t5: #ffd36a;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
html, body { height: 100%; }
[hidden] { display: none !important; }
body { background: var(--abyss); color: var(--foam); font-family: var(--body); font-size: 16px; overflow: hidden; -webkit-font-smoothing: antialiased; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.timerwash { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 170, 90, 0.12), rgba(255, 170, 90, 0.03)); }
.timerwash.low { background: linear-gradient(to bottom, rgba(255, 90, 80, 0.2), rgba(255, 90, 80, 0.05)); }

.screen {
  position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
}
.wrap { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; min-height: 0; flex: 1; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.glass { background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Home ---------- */
#home { overflow-y: auto; overscroll-behavior: contain; }
#home .wrap { flex: none; position: relative; z-index: 1; }
#home::before { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to bottom, rgba(12, 36, 54, 0), rgba(12, 36, 54, 0.28) 48%, rgba(12, 36, 54, 0.08) 76%); pointer-events: none; }
.home-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: calc(100dvh - 100px - max(var(--adh), var(--cast-desktop-clearance, 0px)) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) { .home-layout { --cast-desktop-clearance: 110px; } }
#home .hero { flex: 1; display: flex; align-items: flex-end; padding-top: 12px; }
.home-actions { padding-top: 12px; }
#game-account:focus-visible { outline: 2px solid var(--rope); outline-offset: 2px; }
@media (max-width: 900px) { .picks #game-account { display: none; } }
.home-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-mode {
  appearance: none;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: clamp(62px, 8.5vw, 82px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 12px 16px 12px 13px;
  border: 1px solid rgba(242, 178, 76, 0.44);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 48, 70, 0.9), rgba(10, 31, 46, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 236, 0.14),
    0 12px 26px -12px rgba(5, 18, 29, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--foam);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font-family: var(--body);
  transition:
    background 150ms,
    border-color 150ms,
    box-shadow 180ms,
    transform 130ms;
}
.home-mode:hover {
  border-color: rgba(242, 178, 76, 0.8);
  background: linear-gradient(145deg, rgba(21, 59, 85, 0.94), rgba(12, 37, 55, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 236, 0.22),
    0 0 0 1px rgba(242, 178, 76, 0.22),
    0 16px 30px -12px rgba(5, 18, 29, 0.78);
  transform: translateY(-2px);
}
.home-mode:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; }
.home-mode:active { transform: translateY(1px); }
.home-mode:disabled { cursor: progress; opacity: 0.75; }
.home-mode-art { display: grid; place-items: center; min-height: 54px; padding-right: 11px; border-right: 1px solid rgba(245, 218, 179, 0.2); }
.home-mode-art svg { display: block; width: 100%; filter: drop-shadow(0 3px 6px rgba(4, 15, 24, 0.38)); }
.home-mode-copy { display: grid; gap: 4px; min-width: 0; }
.home-mode-copy strong { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: clamp(19px, 3.2vw, 23px); letter-spacing: 0.015em; line-height: 1.08; color: var(--foam); }
.home-mode-copy > span { font-family: var(--body); font-size: 14px; font-style: normal; font-weight: 500; line-height: 1.3; color: var(--mist); }
@media (max-width: 600px) {
  .home-modes { grid-template-columns: 1fr; }
  .home-mode { grid-template-columns: 76px minmax(0, 1fr); min-height: 78px; padding-block: 10px; }
}
.home-reading { display: grid; gap: 22px; margin-top: 28px; }
.home-panel {
  padding: clamp(18px, 4vw, 28px);
  border-radius: 20px;
  background: var(--hooked-panel);
  scroll-margin-top: 18px;
}
.home-panel h2 {
  margin: 0 0 18px;
  color: var(--rope);
  font-family: var(--display);
  font-stretch: 80%;
  font-size: clamp(25px, 5vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}
.home-panel h3 { margin: 0; color: var(--foam); font-size: 17px; line-height: 1.25; }
.home-panel p { margin: 6px 0 0; color: var(--mist); font-size: 15px; line-height: 1.55; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-feature-grid article { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15, 9, 20, 0.3); }
.home-steps { display: grid; gap: 16px; margin: 0; padding-inline-start: 28px; }
.home-steps li { padding-inline-start: 5px; }
.home-steps li::marker { color: var(--rope); font: 700 13px var(--mono); }
.home-faq-list { display: grid; gap: 8px; }
.home-faq-list details { padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(15, 9, 20, 0.3); }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; cursor: pointer; color: var(--foam); font-weight: 700; list-style: none; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: ""; flex: 0 0 6px; height: 6px; border-right: 2px solid var(--rope); border-bottom: 2px solid var(--rope); transform: rotate(45deg); }
.home-faq-list details[open] summary::after { transform: rotate(225deg); }
.home-faq-list summary:focus-visible { outline: 2px solid var(--rope); outline-offset: 3px; }
.home-faq-list details > p { margin: 0 0 13px; }
@media (max-width: 600px) {
  .home-feature-grid { grid-template-columns: 1fr; }
}

@keyframes cue { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.brand { display: grid; gap: 6px; }
/* header, Moonshot style: brand left, Music · Sky · Menu right, streak + date below */
.top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; position: relative; z-index: 2; }
.picks { display: flex; gap: 8px; align-items: center; justify-self: end; }
.pick-btn { display: inline-flex; align-items: center; gap: 8px; appearance: none; cursor: pointer; background: rgba(242, 178, 76, 0.1); color: var(--foam); padding: 9px 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 120ms; }
.pick-btn svg { width: 16px; height: 16px; color: var(--rope); }

.picks .pick-btn { height: 40px; box-sizing: border-box; padding-block: 0; justify-content: center; line-height: 1; }
.streak-pick { cursor: pointer; gap: 6px; }
.streak-pick svg { width: 17px; height: 17px; filter: drop-shadow(0 0 6px rgba(242, 178, 76, 0.55)); }
.streak-pick b { font-family: var(--display); font-stretch: 80%; font-size: 19px; line-height: 1; color: var(--foam); font-variant-numeric: tabular-nums; }
.streak-pick em { font-style: normal; color: var(--mist); }
@media (max-width: 900px) { .streak-pick em { display: none; } }
@media (max-width: 430px) { .picks { gap: 6px; } .picks .pick-btn { min-width: 44px; padding-inline: 8px; } .picks .streak-pick { gap: 3px; padding-inline: 6px; } .streak-pick b { font-size: 17px; } }
@media (max-width: 520px) { .pick-btn { padding: 8px 10px; font-size: 12px; } }
.brand.title[hidden] { display: none; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(30px, 8vw, 44px); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.logo svg { width: 1.05em; height: 1.05em; flex: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }
.meta { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--foam); opacity: 0.85; font-size: 11.5px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }

.ring:focus-visible, .cast:focus-visible, .catch-btn:focus-visible, .sugg button:focus-visible, .xbtn:focus-visible, .linkbtn:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; }
.kicker { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--foam); font-size: 11px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.kicker #next-haul { color: var(--rope); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #4fd0a3; box-shadow: 0 0 0 0 rgba(79, 208, 163, 0.7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(79, 208, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 208, 163, 0); } }

.cast {
  appearance: none; border: 0; cursor: pointer; width: 100%; border-radius: 16px; position: relative; overflow: hidden;
  color: #2a1500; display: grid; justify-items: center; gap: 3px; padding: 16px 20px 14px;
  background: linear-gradient(135deg, #fad07c, var(--rope) 54%, #df9429);
  border: 1px solid rgba(255, 232, 178, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 234, 0.72),
    0 3px 0 #b67216,
    0 14px 32px -10px rgba(7, 24, 38, 0.58);
  transition: filter 120ms, transform 120ms, box-shadow 220ms;
}
.cast:hover { filter: brightness(1.05); }
/* shine: a single sweep of light and a warm glow, only on hover, only on the buttons that matter */
.shine { position: relative; overflow: hidden; transition: filter 160ms, transform 120ms, box-shadow 220ms; }
.shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; pointer-events: none; opacity: 0; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); }
.shine:hover::after, .shine:focus-visible::after { animation: shine 800ms ease-out; }
.shine:hover, .shine:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 250, 234, 0.85), 0 3px 0 #b67216, 0 0 0 1px rgba(255, 226, 160, 0.75), 0 0 26px rgba(242, 178, 76, 0.55), 0 16px 34px -10px rgba(7, 24, 38, 0.68); }
.m-moon.shine:hover { box-shadow: 0 0 0 1px rgba(255, 213, 107, 0.7), 0 0 26px rgba(120, 140, 255, 0.55); }
@keyframes shine { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
@media (hover: none), (prefers-reduced-motion: reduce) { .shine::after { display: none; } }
.cast:active { transform: translateY(2px) scale(.99); }
.cast .over { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
#cast-over { opacity: 1; font-weight: 700; color: #4a2200; }
.cast .big { font-family: var(--display); font-stretch: 78%; font-weight: 900; font-size: clamp(32px, 9.2vw, 66px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; display: inline-flex; align-items: center; justify-content: center; gap: clamp(8px, 1.6vw, 14px); }
.cast .big svg { width: 0.68em; height: 0.68em; flex: none; }
.cast .big .cast-hook { transform: translateY(-0.02em); filter: drop-shadow(0 1px 0 rgba(255, 244, 214, 0.45)); }
.cast.small { padding: 16px 20px; }
.donecard { border-radius: 16px; padding: 16px 18px; display: grid; gap: 12px; border-color: rgba(79, 208, 163, 0.35); background: rgba(14, 30, 30, 0.62); }

.dc-pct { flex-basis: 100%; color: var(--mist); font-size: 14.5px; } .dc-pct b { color: var(--rope); font-weight: 800; }

.dc-stats { display: grid; grid-template-columns: 1fr 1fr; }
.dc-stat { display: grid; gap: 2px; align-content: start; min-width: 0; }
.dc-stat + .dc-stat { border-left: 1px solid rgba(255, 236, 220, 0.16); padding-left: 16px; }
.dc-stat b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(54px, 16vw, 84px); line-height: 0.92; font-variant-numeric: tabular-nums; color: var(--foam); white-space: nowrap; }
.dc-stat b em { font-style: normal; font-size: 0.4em; color: var(--mist); margin-left: 0.12em; letter-spacing: 0.01em; }
#dc-pct { color: var(--rope); text-shadow: 0 0 24px rgba(242, 178, 76, 0.35); }
.dc-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.dc-s { font-size: 13.5px; color: var(--mist); }
.dc-rare { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 236, 220, 0.12); }
.dc-rare:empty { display: none; }
.dc-rare img { width: 56px; height: auto; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 45%, transparent)); }
.dc-rare > div { display: grid; gap: 2px; min-width: 0; }
.dc-rare .dc-l { color: var(--c); }
.dc-rare b { font-size: 17px; color: var(--foam); line-height: 1.25; }
.dc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-o { appearance: none; cursor: pointer; flex: 1; min-width: 140px; padding: 11px 14px; border: 1px solid rgba(242, 178, 76, 0.6); background: rgba(242, 178, 76, 0.08); color: var(--foam); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 120ms; }
.btn-o:hover { background: rgba(242, 178, 76, 0.2); }
.cast.small .big { font-size: clamp(30px, 8vw, 42px); }

.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 14px; gap: 4px; }
.pick button { appearance: none; border: 0; cursor: pointer; background: none; color: var(--mist); border-radius: 10px; padding: 9px 10px; display: grid; gap: 2px; text-align: left; min-width: 0; transition: background 200ms, color 200ms; }
.pick button b { font-size: 15px; color: inherit; }
.pick button small { font-size: 11.5px; opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick button[aria-checked="true"] { background: rgba(242, 178, 76, 0.18); color: var(--foam); box-shadow: inset 0 0 0 1px rgba(242, 178, 76, 0.55); }
.pick button:focus-visible { outline: 3px solid var(--foam); outline-offset: 2px; }

/* life-ring cast button */
.ring { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; position: relative; width: clamp(126px, 34vw, 172px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; animation: float 4.5s ease-in-out infinite; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45)); transition: transform 160ms; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -8px; rotate: 3deg; } }
.ring:hover { transform: scale(1.04); }
.ring:active { transform: scale(0.97); }

@keyframes spin { to { rotate: 360deg; } }

.x2m { display: none; color: var(--rope); }
.lineup.many .lu img { display: none; }
.lineup.many .lu { grid-template-columns: minmax(0, 1fr); text-align: center; padding-inline: 6px; }
.lineup.many .lu div { justify-items: center; }
.lineup.many .lu .x2 { display: none; }
.lineup.many .x2m { display: inline; }
@media (max-width: 520px) { .lineup .lu img { display: none; } .lineup .lu { padding: 10px 6px; grid-template-columns: minmax(0, 1fr); text-align: center; } .lineup .lu div { justify-items: center; } .lineup .lu .k { font-size: 9px; letter-spacing: 0.06em; } .lineup .lu b { font-size: 12.5px; } .lineup .lu .x2 { display: none; } .x2m { display: inline; } }
.lineup { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-radius: 16px; overflow: hidden; }
.lu { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px; min-width: 0; position: relative; }
.lu + .lu { border-left: 1px solid var(--line); }
.lu img { width: 40px; height: auto; }
.lu div { display: grid; gap: 2px; min-width: 0; }
.lu .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.lu b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu .x2 { position: absolute; top: 8px; right: 8px; }
.x2 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: #2a1500; background: var(--rope); padding: 2px 6px; border-radius: 5px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

@keyframes nudge { 50% { transform: translateY(4px); } }

@media (max-width: 460px) {
  
  .lu { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 10px; gap: 4px; }
  .lu img { width: 34px; }
  
  .logo { font-size: clamp(24px, 7vw, 30px); gap: 8px; }

  .top { min-width: 0; }
  .brand { min-width: 0; }
}

/* How-to sheet */

.sheet { width: 100%; max-width: 560px; border-radius: 20px; padding: 22px; display: grid; gap: 16px; animation: up 380ms cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet h2 { margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 34px; text-transform: uppercase; }
.sheet p { margin: 0; color: var(--mist); line-height: 1.55; }
.sheet h4 { margin: 6px 0 -8px; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rope); }
.sheet p b { color: var(--foam); } .sheet p i { color: var(--foam); }
.sheet .fine { font-size: 13px; }

.xbtn { appearance: none; border: 1px solid var(--line); background: none; color: var(--foam); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; font-size: 18px; }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; }
.rung { text-align: center; font-size: 12px; color: var(--mist); display: grid; gap: 4px; justify-items: center; }
.rung img { width: 100%; max-width: 76px; height: auto; }
.rung b { font-family: var(--mono); color: var(--foam); font-weight: 600; }

/* ---------- Intro / summary ---------- */
#intro .wrap { justify-content: center; }
.panel { border-radius: 22px; padding: 26px 24px; display: grid; gap: 18px; }
.round-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.round-label .x2 { color: #2a1500; } /* dark text on the gold badge (it was gold on gold) */
/* round tracker: one bobber per round. Fished rounds fill with the color of their rarest catch,
   the round you're on floats as a red-and-white bobber with a ripple, the 2× round wears a gold ring. */
.rl-pips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cd-label.rl-pips { justify-content: center; }
#play-label { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
#play-label > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#mult { flex: none; letter-spacing: 0.04em; }
@media (max-width: 400px) { #play-label .of { display: none; } } /* the pips already show how far along you are */ /* the 2× badge keeps its size on narrow phones */
.rpips { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.rpip { position: relative; flex: none; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid rgba(255, 236, 220, 0.32); background: transparent; }
.rpip.done { border-color: transparent; background: var(--c, var(--mist)); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 0 6px color-mix(in srgb, var(--c, var(--mist)) 45%, transparent); }
.rpip.done.empty { --c: rgba(255, 236, 220, 0.28); box-shadow: none; }
.rpip.now { width: 13px; height: 13px; border: 0; background: linear-gradient(180deg, var(--coral) 0 50%, var(--foam) 50% 100%); box-shadow: 0 0 0 1px rgba(20, 8, 20, 0.6), 0 0 10px rgba(255, 122, 99, 0.55); }
.rpip.now::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 244, 234, 0.55); animation: rpipring 1.8s ease-out infinite; }
@keyframes rpipring { from { transform: scale(0.7); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.rpip.sp { margin-left: 3px; }
.rpip.sp::before { content: ""; position: absolute; inset: -4.5px; border-radius: 50%; border: 1.5px solid var(--rope); }
.rpip.sp:not(.done):not(.now) { border-color: rgba(242, 178, 76, 0.55); }
.pcard .rpip.done { box-shadow: inset 0 -1.5px 0 rgba(0, 0, 0, 0.22); } .pcard .rpip.now { box-shadow: 0 0 0 1px rgba(20, 8, 20, 0.6); } .pcard .rpip.now::after { display: none; } /* the header clips glows */
.pcard .rpips { gap: 5px; } .pcard .rpip { width: 8px; height: 8px; } .pcard .rpip.now { width: 10px; height: 10px; } .pcard .rpip.sp { margin-left: 2px; } .pcard .rpip.sp::before { inset: -3.5px; border-width: 1px; }
@media (prefers-reduced-motion: reduce) { .rpip.now::after { animation: none; opacity: 0; } }
.pcard .round-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round-prompt { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(40px, 11vw, 70px); line-height: 0.95; letter-spacing: -0.01em; margin: 0; text-wrap: balance; text-transform: uppercase; }
.round-note { color: var(--mist); font-size: 16px; line-height: 1.5; margin: 0; max-width: 42ch; }
.summary-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stat { display: grid; gap: 2px; }
.stat b { font-family: var(--display); font-stretch: 80%; font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { font-size: 13px; color: var(--mist); }
.banner {
  position: fixed; left: 0; right: 0; top: 38%; z-index: 6; pointer-events: none; text-align: center;
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(40px, 11vw, 76px); color: var(--rope); text-transform: uppercase;
  background: linear-gradient(90deg, transparent, rgba(3, 18, 29, 0.85) 20%, rgba(3, 18, 29, 0.85) 80%, transparent);
  padding-block: 14px; opacity: 0; transform: translateX(-30%);
}
.banner.go { animation: sweep 1.8s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-30%); } 25%, 70% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(30%); } }

/* ---------- Play ---------- */
#play .wrap { gap: 10px; }

.hudlogo { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; width: 52px; height: 52px; flex: none; border-radius: 50%; transition: transform 150ms; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.hudlogo .hk-mark { width: 100%; height: 100%; }
.hudlogo:hover { transform: rotate(-12deg) scale(1.06); }
.homebtn { position: fixed; z-index: 7; top: calc(env(safe-area-inset-top, 0px) + 14px); left: max(16px, env(safe-area-inset-left, 0px)); appearance: none; cursor: pointer; color: var(--foam); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.homebtn .hk-mark { width: 30px; height: 30px; }
body[data-screen="intro"] .homebtn { padding: 5px; } body[data-screen="intro"] .homebtn span { display: none; } /* between rounds: a small hook only; Start round N is the main button */
.homebtn:hover { border-color: rgba(242, 178, 76, 0.6); }
.homebtn:focus-visible, .hudlogo:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; }
#about, #results, .page { overflow-y: auto; }
#about .wrap, #results .wrap, .page .wrap { padding-top: 58px; }
.page .wrap { flex: none; padding-bottom: 30px; }
.pgback { justify-self: start; appearance: none; cursor: pointer; border: 0; background: none; color: var(--rope); font: 700 14px var(--body); padding: 0; margin-bottom: -4px; }
/* small text buttons get a finger-sized touch area (at least ~44px) without changing their look */
.pgback, #haul-btn, #pass-restore, #acct-forgot { position: relative; }
.pgback::after, #haul-btn::after, #pass-restore::after, #acct-forgot::after { content: ""; position: absolute; inset: -12px -8px; }
.aboutpage .fine { font-size: 13px; }
.basics { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.basics li { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 12px; background: rgba(242, 178, 76, 0.08); border: 1px solid rgba(242, 178, 76, 0.28); }
.basics b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--foam); }
.basics span { font-size: 13.5px; line-height: 1.45; color: var(--mist); }
@media (max-width: 380px) { .basics { grid-template-columns: minmax(0, 1fr); } }
.aboutpage h3.indepth { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 236, 220, 0.14); color: var(--foam); font-size: 26px; }
.aboutpage .ladder { margin: 4px 0; }
.lstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lstats div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: rgba(255, 240, 228, 0.04); border: 1px solid var(--line); min-width: 0; }
.lstats b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 28px; line-height: 1; color: var(--foam); }
.lstats span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 520px) { .lstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tide2 { display: flex; gap: 6px; align-items: stretch; height: 180px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: thin; }
.tide2 .tbar2 { flex: 0 0 34px; }
.tide2 .tbar2 em { font-size: 9px; }
.tide2 .tbar2 span b { display: block; color: var(--rope); font-weight: 500; }
.tide-empty { margin: 0; padding: 26px 16px; border-radius: 12px; border: 1px dashed var(--line); text-align: center; color: var(--mist); }
.bobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bobs .tk { padding: 12px 4px; }
.bobs .tk svg { max-width: 54px; height: 54px; }
@media (max-width: 420px) { .bobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#intro .wrap { padding-top: 40px; }
#about .wrap { flex: none; padding-bottom: 30px; }
.aboutpage { border-radius: 22px; padding: 24px; display: grid; gap: 12px; }
.aboutpage h2 { margin: 0; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(36px, 9vw, 56px); line-height: 0.95; text-transform: uppercase; }
.aboutpage .lede { font-size: 17px; color: var(--foam); }
.aboutpage h3 i { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--rope); margin-right: 10px; letter-spacing: 0.1em; vertical-align: middle; }
.aboutpage a { color: var(--t3); text-underline-offset: 3px; }
.aboutpage h3 { margin: 10px 0 0; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--rope); }
.aboutpage p { margin: 0; color: var(--mist); line-height: 1.6; max-width: 62ch; }
.aboutpage .cast { margin-top: 8px; }
.clock { font-family: var(--mono); font-weight: 600; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1; }
.clock.low { color: var(--coral); }
.score { text-align: right; display: grid; gap: 1px; }
.score b { font-family: var(--display); font-stretch: 80%; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; display: inline-block; }
.score b.bump { animation: bump 380ms cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 40% { transform: scale(1.22); color: var(--rope); } }
.score span { font-size: 12px; color: var(--mist); }

.play-prompt { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(28px, 7.5vw, 46px); line-height: 0.98; margin: 2px 0 0; text-wrap: balance; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.net-wrap { position: relative; flex: 1; min-height: 150px; border-radius: 20px; overflow: hidden; }
.net-wrap.quake { animation: quake 500ms; }
@keyframes quake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, 0); } }
#aq { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.net-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--mist); font-size: 15px; pointer-events: none; padding: 20px; }
.catch-label { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, 0); white-space: normal; max-width: min(78%, 340px); text-align: center; text-wrap: balance; line-height: 1.02; display: grid; justify-items: center; gap: 2px; animation: floatup 1.5s cubic-bezier(.2, .8, .3, 1) forwards; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.catch-label .tw { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); }
.catch-label .nm { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: clamp(17px, 4.6vw, 22px); }
.catch-label .pt { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--c); }
.catch-label.big .nm { font-size: 30px; color: var(--t5); }
@keyframes floatup { 0% { opacity: 0; transform: translate(-50%, 16px) scale(0.8); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -46px) scale(1); } }
.strip { display: flex; gap: 6px; overflow-x: auto; min-height: 32px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; flex: none; background: color-mix(in srgb, var(--c) 16%, rgba(3, 18, 29, 0.85)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip img { width: 34px; height: 17px; object-fit: contain; }
.chip b { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--c); }
.strip .chip { animation: chipin 300ms ease-out both; }
@keyframes chipin { from { opacity: 0; transform: translateX(-10px); } }
.feedback { min-height: 30px; font-size: 15px; font-weight: 600; text-align: center; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.feedback .fixed { font-weight: 500; color: var(--mist); font-size: 13px; }
.feedback .pips { display: inline-flex; gap: 3px; margin-right: 7px; vertical-align: 1px; } .feedback .pips i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 236, 220, 0.18); } .feedback .pips i.on { background: var(--c); box-shadow: 0 0 6px var(--c); }
.feedback .tierword { font-family: var(--mono); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.feedback.pop { animation: pop 300ms ease-out; }
@keyframes pop { from { transform: scale(1.12); } to { transform: scale(1); } }
.sugg { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; color: var(--mist); }
.sugg .yes { appearance: none; cursor: pointer; border: 1px solid var(--rope); background: color-mix(in srgb, var(--rope) 20%, rgba(3, 18, 29, 0.8)); color: var(--foam); font: 700 15px var(--body); padding: 5px 12px; border-radius: 999px; }
.sugg .yes kbd { font-family: var(--mono); font-size: 11px; color: var(--rope); margin-left: 6px; }
.sugg .no { appearance: none; cursor: pointer; background: none; border: 0; color: var(--mist); font: 600 14px var(--body); text-decoration: underline; text-underline-offset: 3px; padding: 5px 2px; }
.entry { display: flex; gap: 8px; }
.entry input { flex: 1; min-width: 0; font: 600 18px var(--body); color: var(--foam); background: rgba(12, 36, 54, 0.78); border: 2px solid var(--line); border-radius: 14px; padding: 15px 16px; outline: none; transition: border-color 150ms; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.entry input:focus { border-color: var(--rope); }
.entry input.shake { animation: shake 300ms; border-color: var(--coral); }
.entry input.maybe { border-color: var(--rope); border-style: dashed; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.catch-btn { appearance: none; border: 0; cursor: pointer; border-radius: 14px; padding: 0 20px; background: linear-gradient(180deg, #f8c56a, var(--rope-dk)); color: #2a1500; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 20px; text-transform: uppercase; }

.mult { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--rope); text-transform: uppercase; }

/* ---------- Results ---------- */
#results { overflow-y: auto; }
#results .wrap { gap: 16px; flex: none; padding-block: 58px 30px; }
.total { border-radius: 22px; padding: 22px 22px 18px; display: grid; gap: 4px; }
.total b { font-family: var(--display); font-stretch: 78%; font-size: clamp(72px, 20vw, 120px); font-weight: 800; line-height: 0.9; font-variant-numeric: tabular-nums; }
.total span { color: var(--mist); }
.tnum { display: flex; align-items: baseline; gap: 0.1em; }
.tnum em { font-style: normal; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(26px, 7vw, 44px); color: var(--mist); }

.cat { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; }
.cat-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat-name { font-weight: 700; font-size: 17px; min-width: 0; }
.cat-score { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.badge.best { background: color-mix(in srgb, var(--t2) 22%, transparent); color: var(--t2); }
.badge.worst { background: color-mix(in srgb, var(--coral) 20%, transparent); color: var(--coral); }
.badge.x2 { background: color-mix(in srgb, var(--rope) 20%, transparent); color: var(--rope); }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rope-dk), var(--rope)); border-radius: 99px; transition: width 1100ms cubic-bezier(.2, .8, .2, 1); }
.cat-pct { font-size: 14px; color: var(--mist); }
.rarest { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 22px; border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%), var(--glass); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rarest > div { display: grid; gap: 6px; min-width: 0; }
.rarest .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); }
.rarest .v { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(20px, 5vw, 28px); line-height: 1; text-transform: uppercase; }
.rarest .s { color: var(--mist); font-size: 14px; }
.rarest img { width: clamp(100px, 30vw, 160px); height: auto; animation: hover 3s ease-in-out infinite; }
.rarest.kraken { position: relative; overflow: hidden; border: 1.5px solid rgba(255, 211, 106, 0.55); box-shadow: 0 0 0 1px rgba(255, 211, 106, 0.15), 0 10px 40px rgba(255, 190, 80, 0.18); }
.rarest.kraken::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 230, 160, 0.22) 45%, transparent 60%); background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.rarest.kraken .k { color: var(--t5); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .rarest.kraken::after { animation: none; } }
.catches { border-radius: 18px; padding: 18px; display: grid; gap: 16px; }
.catch-group { display: grid; gap: 10px; }
.catch-group h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--mist); }
.catch-row { display: flex; flex-wrap: wrap; gap: 8px; }

.btn2 { appearance: none; cursor: pointer; border-radius: 14px; padding: 16px; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--foam); }
@media (max-width: 480px) { .ractions .cast .big { font-size: clamp(26px, 7.4vw, 42px); } .ractions .btn2 { font-size: 17px; padding: 14px 8px; } } /* phones: the results buttons fit on one line */
/* ---- streak bar ---- */
.sk { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(242, 178, 76, 0.1); border: 1px solid rgba(242, 178, 76, 0.35); text-align: left; }
.sk-lure { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(11, 34, 50, 0.65); position: relative; }
.sk-lure svg { width: 40px; height: 40px; }
.sk-lure.on { box-shadow: 0 0 0 2px var(--rope), 0 0 18px rgba(242, 178, 76, 0.45); }
.sk-lure.locked { width: 44px; height: 44px; opacity: 0.75; }
.sk-lure.locked svg { width: 30px; height: 30px; filter: grayscale(1) brightness(0.8); }
.sk-lure span { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); font: 600 10px var(--mono); color: #2a1500; background: var(--rope); padding: 0 5px; border-radius: 6px; }
.sk-mid { display: grid; gap: 6px; min-width: 0; }
.sk-top { display: flex; align-items: center; gap: 6px; }
.sk-top .flame { width: 16px; height: 16px; flex: none; }
.sk-top b { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 20px; line-height: 1; text-transform: uppercase; }
.sk-track { height: 8px; border-radius: 99px; background: rgba(255, 240, 228, 0.1); overflow: hidden; }
.sk-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #f2b24c, #ffd36a); box-shadow: 0 0 10px rgba(255, 211, 106, 0.6); animation: skfill 900ms 200ms cubic-bezier(.2, .8, .3, 1) both; }
@keyframes skfill { from { width: 0; } }
.sk-note { font-size: 13px; color: var(--mist); line-height: 1.35; }
.sk-note b { color: var(--foam); }
.intro-sk { margin-top: 4px; }
.skchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 4px; border-radius: 999px; background: rgba(242, 178, 76, 0.12); border: 1px solid rgba(242, 178, 76, 0.4); font: 700 13px var(--body); color: var(--foam); white-space: nowrap; }
.skchip svg { width: 26px; height: 26px; }
.skchip .flame { width: 13px; height: 13px; }
.skchip small { color: var(--mist); font-weight: 600; }
@media (max-width: 430px) { .skchip small { display: none; } }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week div { display: grid; justify-items: center; gap: 4px; font: 500 10px var(--mono); color: var(--mist); }
.week i { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed rgba(255, 240, 228, 0.2); display: grid; place-items: center; }
.week .done i { border: 0; background: radial-gradient(circle at 40% 35%, #ffe3a0, #f2b24c); box-shadow: 0 0 10px rgba(242, 178, 76, 0.5); }
.week .today i { border-color: var(--rope); border-style: solid; }
.unlock { position: relative; overflow: hidden; border-radius: 18px; padding: 20px 18px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; background: radial-gradient(120% 160% at 0% 50%, rgba(255, 211, 106, 0.35), rgba(13, 38, 56, 0.88) 65%); border: 1px solid rgba(255, 211, 106, 0.6); }
.unlock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%); transform: translateX(-100%); animation: sheen 1.6s 600ms ease-out 2; pointer-events: none; }
@keyframes sheen { to { transform: translateX(100%); } }
.unlock svg { width: 84px; height: 84px; filter: drop-shadow(0 0 16px rgba(255, 211, 106, 0.7)); animation: lurepop 900ms 300ms cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes lurepop { from { transform: scale(0.2) rotate(-30deg); opacity: 0; } }
.unlock .k { font: 600 11.5px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--t5); }
.unlock b { display: block; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(30px, 8vw, 44px); line-height: 0.95; text-transform: uppercase; margin: 4px 0; }
.unlock p { margin: 0; color: var(--mist); font-size: 14px; }

.tpct { display: grid; gap: 6px; margin-top: 10px; }
.tpct span { font-size: 16px; color: var(--foam); }
.tpct span b { font-family: var(--body); font-size: 30px; font-weight: 900; color: var(--rope); line-height: 1; vertical-align: -3px; margin: 0 2px; text-shadow: 0 0 22px rgba(242, 178, 76, 0.35); }
.tpct span b.wait { color: var(--mist); font-size: 16px; font-weight: 700; }
.rsplit { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; margin-top: 10px; }
.rsplit span { display: inline-flex; gap: 6px; align-items: baseline; font-size: 13px; color: var(--mist); }
.rsplit i { font-style: normal; }
.rsplit b { font-family: var(--display); font-stretch: 80%; font-size: 18px; color: var(--foam); font-variant-numeric: tabular-nums; }
.ractions { display: grid; gap: 10px; }
.ractions .cast { width: 100%; }
.rrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unlock > svg { width: 84px; height: 84px; filter: drop-shadow(0 0 16px rgba(255, 211, 106, 0.7)); }
.fine { font-size: 13px; color: var(--mist); line-height: 1.5; margin: 0; }

/* ---------- Home: sections below the fold ---------- */
.more { display: grid; gap: 14px; padding-block: 10px 10px; }
.sec { border-radius: 18px; padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.sec h3, .how h3 { margin: 0; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(28px, 6.5vw, 40px); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.eyeb { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rope); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Hooked Pass: a deep-water card with a gold foil edge and the Kraken surfacing in the corner */
.pass { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 22px 22px 18px; display: grid; gap: 16px; color: var(--foam);
  border: 1.5px solid transparent;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(155, 99, 232, 0.38), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(40, 140, 170, 0.22), transparent 60%),
    linear-gradient(170deg, #14213b, #0b1426 70%) padding-box,
    linear-gradient(135deg, #ffe3a0, #c9801f 28%, #5d2fa0 58%, #ffd36a 100%) border-box;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 0 40px -18px rgba(155, 99, 232, 0.55); }
.pass::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background: repeating-radial-gradient(circle at 85% 8%, transparent 0 22px, rgba(255, 236, 220, 0.035) 22px 23px); }
.pass-kraken { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pass-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--mist); font-size: 15px; line-height: 1.5; max-width: 60ch; }
.pass-list b { color: var(--foam); }

/* the pass dock: what pass holders see in place of the sales card */
.passdock { border-radius: 20px; padding: 18px 18px 16px; display: grid; gap: 12px; color: var(--foam); border: 1.5px solid rgba(242, 178, 76, 0.6); background: linear-gradient(170deg, #4a2a2c, #26142a 60%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 36px -16px rgba(242, 178, 76, 0.7); }
.pd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pd-t { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; cursor: pointer; text-align: left; color: var(--foam); font: inherit; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 236, 220, 0.16); min-width: 0; }
.pd-t:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(242, 178, 76, 0.5); }
.pd-t .pd-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(242, 178, 76, 0.12); border: 1px solid rgba(242, 178, 76, 0.25); }
.pd-t svg { width: 19px; height: 19px; fill: none; stroke: var(--rope); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-t > span:last-child { min-width: 0; } .pd-t b { display: block; font: 600 14px/1.2 var(--body); } .pd-t small { display: block; font-size: 11.5px; line-height: 1.25; color: var(--mist); margin-top: 2px; }
.pd-t.soon { opacity: 0.6; } .pd-t.soon .pd-ic { background: rgba(255, 255, 255, 0.05); border-color: var(--line); } .pd-t.soon svg { stroke: var(--mist); }
.pd-t.wait small { color: var(--rope); }
.pd-note { margin: 0; font-size: 13px; color: var(--mist); }
.pd-gift { flex: none; width: 100%; }
.pass .pass-gift { justify-self: center; font-size: 13.5px; color: var(--rope); margin-top: -6px; }
.gifts { border-radius: 20px; padding: 18px; display: grid; gap: 12px; color: var(--foam); border: 1.5px solid rgba(242, 178, 76, 0.6); background: linear-gradient(170deg, #4a2a2c, #26142a 60%); }
.gifts > p { margin: 0; font-size: 13.5px; color: var(--mist); }
.gifts .share-code b { font-size: clamp(17px, 5.4vw, 24px); letter-spacing: 0.12em; padding-left: 0.12em; word-break: break-all; }
.gift-used { display: flex; justify-content: space-between; gap: 10px; font: 600 12.5px var(--mono); color: var(--mist); padding: 2px 4px; }
/* crews & duels */
.fr-login { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid rgba(242, 178, 76, 0.5); background: rgba(242, 178, 76, 0.08); } .fr-login p { margin: 0; color: var(--foam); }
.fr-sec { display: grid; gap: 10px; padding-top: 6px; }
.fr-sec + .fr-sec { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 236, 220, 0.14); }
.fr-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; } .fr-cta .cast { margin: 0; }
@media (max-width: 420px) { .fr-cta { grid-template-columns: minmax(0, 1fr); } }
.fr-list { display: grid; gap: 10px; }
.fr-card { display: grid; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 240, 228, 0.03); }
.fr-card.today { border-color: rgba(242, 178, 76, 0.55); background: rgba(242, 178, 76, 0.07); }
.fr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fr-head b { font-size: 17px; } .fr-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.fr-status { margin: 0; font-size: 14px; color: var(--mist); } .fr-status b { color: var(--foam); }
.fr-status.win b { color: #4fd0a3; } .fr-status.lose b { color: var(--coral); }

   
.fr-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .fr-acts .btn-o { flex: none; min-width: 0; padding: 8px 12px; font-size: 11.5px; }

  
.fr-big { display: flex; align-items: baseline; gap: 8px; } .fr-big b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 36px; line-height: 1; color: var(--foam); white-space: nowrap; } .fr-big span { color: var(--mist); font-size: 13px; }
  
/* codes: big, spaced, impossible to miss */
.code-form { display: grid; gap: 10px; padding: 14px; border-radius: 14px; border: 1.5px solid rgba(242, 178, 76, 0.6); background: rgba(242, 178, 76, 0.08); }
.code-form label { font: 600 14px var(--body); color: var(--foam); }
.code-form input { width: 100%; box-sizing: border-box; padding: 14px; border-radius: 12px; border: 1.5px solid rgba(242, 178, 76, 0.6); background: #140a12; color: var(--foam); font: 600 18px var(--body); }
.code-form input.code-in { font: 700 30px var(--mono); letter-spacing: 0.35em; text-transform: uppercase; text-align: center; padding: 12px 6px 12px 16px; }
.code-form input.code-in::placeholder { color: rgba(255, 236, 220, 0.18); }
.code-form .cast { margin: 0; }
.share-code { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 14px; border-radius: 14px; background: rgba(20, 8, 20, 0.6); border: 1.5px dashed rgba(242, 178, 76, 0.7); }
.share-code small { font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rope); }
.share-code b { font: 700 40px var(--mono); letter-spacing: 0.3em; padding-left: 0.3em; color: var(--foam); line-height: 1; }
.share-code span { font-size: 13px; color: var(--mist); }
.share-code .fr-acts { justify-content: center; }
.invite-code { font: 700 38px var(--mono); letter-spacing: 0.3em; padding: 10px 0 10px 0.3em; text-align: center; color: var(--foam); border-radius: 12px; background: #140a12; border: 1.5px dashed rgba(242, 178, 76, 0.7); }
/* duel scoreboard */
.ds-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; text-align: center; }
.ds-head .p { display: grid; gap: 2px; min-width: 0; } .ds-head .p small { font-size: 12.5px; color: var(--mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-head .p b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 46px; line-height: 0.9; color: var(--foam); }
.ds-head .p.lead b { color: var(--rope); }
.ds-head .dash { font: 700 12px var(--mono); letter-spacing: 0.14em; color: var(--mist); padding-bottom: 10px; }
.ds-rounds { display: grid; gap: 4px; }
.ds-r { display: grid; grid-template-columns: 22px minmax(0, 1fr) 52px 56px; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 13.5px; color: var(--mist); }
.ds-r .n { font: 700 11px var(--mono); color: var(--mist); } .ds-r .l { color: var(--foam); line-height: 1.25; overflow-wrap: anywhere; }
.ds-r .s { text-align: right; font-variant-numeric: tabular-nums; } .ds-r .s.w { color: var(--foam); font-weight: 700; } .ds-r .s.w::before { content: "● "; color: var(--rope); font-size: 9px; vertical-align: 2px; }
.ds-r.next { outline: 1px solid rgba(242, 178, 76, 0.55); }
.ds-cols { display: grid; grid-template-columns: 22px minmax(0, 1fr) 52px 56px; gap: 8px; padding: 0 8px; font: 600 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); } .ds-cols span:nth-child(n+3) { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duel-line { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(242, 178, 76, 0.1); border: 1px solid rgba(242, 178, 76, 0.4); color: var(--foam); font-size: 15px; }
.duel-line b { color: var(--rope); }
/* live parties */
.pt-ms { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-m { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--foam); background: rgba(255, 240, 228, 0.03); }
.pt-m i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 236, 220, 0.25); flex: none; }
.pt-m em { font-style: normal; font: 600 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.pt-m.ok { border-color: rgba(79, 208, 163, 0.6); } .pt-m.ok i { background: #4fd0a3; box-shadow: 0 0 8px rgba(79, 208, 163, 0.8); } .pt-m.ok em { color: #7fe3bf; }
.pt-m.me { font-weight: 700; }
.pt-wins { margin: 0; font-size: 13.5px; color: var(--mist); } .pt-wins b { color: var(--rope); font-size: 15px; }
.pt-board { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(20, 8, 20, 0.35); }
.pt-rank { display: grid; gap: 4px; }
.pt-rank div { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 64px; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); font-size: 14px; color: var(--foam); }
.pt-rank div.me { outline: 1px solid rgba(242, 178, 76, 0.5); }
.pt-rank .r { font: 700 12px var(--mono); color: var(--rope); } .pt-rank .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-rank .pr { font: 600 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); } .pt-rank b { text-align: right; font-variant-numeric: tabular-nums; }
.pt-act { display: grid; gap: 8px; } .pt-act .cast { margin: 0; } .pt-act .btn-o { flex: none; }
.pt-ready.on { border-color: rgba(79, 208, 163, 0.7); background: rgba(79, 208, 163, 0.12); color: #9ff0d2; font-size: 13px; padding: 14px; }
.pt-count { text-align: center; font: 700 15px var(--body); color: var(--foam); padding: 10px; border-radius: 12px; background: rgba(242, 178, 76, 0.12); border: 1px solid rgba(242, 178, 76, 0.5); }
.pt-count b { font-family: var(--display); font-stretch: 78%; font-size: 30px; color: var(--rope); margin-left: 6px; vertical-align: -3px; }
.pt-leave { justify-content: flex-end; } .pt-leave .linkbtn { font-size: 12.5px; color: var(--mist); }
.pt-go { justify-items: center; text-align: center; padding: 28px 22px; }
.pt-go small { font: 600 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rope); }
.pt-go b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 120px; line-height: 0.9; color: var(--foam); }
.pt-go em { font-style: normal; color: var(--foam); font-weight: 700; }
.pt-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4fd0a3; margin-right: 6px; vertical-align: 1px; animation: ptPulse 1.2s ease-in-out infinite; }
@keyframes ptPulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .pt-live { animation: none; } }
.pt-rline { font: 600 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rope); margin-bottom: 6px; }
.pt-rrow { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14.5px; } .pt-rrow b { color: var(--foam); font-variant-numeric: tabular-nums; } .pt-rrow.me span { font-weight: 700; }
#fr-start[hidden] { display: none; }
#fr-start #crew-new { background: linear-gradient(160deg, #4fa3c7, #2f7ea3); color: #06202c; box-shadow: none; }
.pt-go-btn { appearance: none; cursor: pointer; width: 100%; padding: 15px; border-radius: 14px; border: 0; background: linear-gradient(160deg, #5fe0b3, #2fb38a); color: #062a1e; font: 800 22px var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.01em; box-shadow: 0 6px 20px -8px rgba(79, 208, 163, 0.8); }
.pt-go-btn:hover { filter: brightness(1.08); }
.join-btn { width: 100%; flex: none; padding: 14px; font-size: 14px; }
.pg-home-quiet { justify-self: center; margin-top: 6px; }
.m-lab { grid-column: 1 / -1; border-style: dashed !important; }
.lab-sec p { margin: 0; }
.lab-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; } .lab-row .cast { margin: 0; }
@media (max-width: 560px) { .lab-row { grid-template-columns: 1fr; } }
.lab-sec select, .lab-picks select { width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 10px; border-radius: 10px; border: 1px solid rgba(242, 178, 76, 0.45); background: #12080f; color: var(--foam); font: 600 16px var(--body); }
.lab-picks { display: grid; gap: 8px; } .lab-picks label { display: grid; gap: 4px; } .lab-picks span { font: 600 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rope); }
.lab-tools { display: flex; flex-wrap: wrap; gap: 8px; } .lab-tools .btn-o { flex: 1 1 160px; text-align: center; text-decoration: none; }
.lab-note { font-size: 13px; color: var(--mist); }
/* nickname dialog reuses the age card */
.age-card input { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(242, 178, 76, 0.45); background: #12080f; color: var(--foam); font: 600 16px var(--body); }
/* the Archive page */
.arc-list { display: grid; gap: 8px; }
.arc { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 240, 228, 0.03); cursor: pointer; text-align: left; color: var(--foam); font: inherit; }
.arc:hover { border-color: rgba(242, 178, 76, 0.6); background: rgba(242, 178, 76, 0.08); }
.arc .d { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 22px; line-height: 1; } .arc .d small { display: block; font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-top: 3px; }
.arc .c { font-size: 14px; color: var(--mist); line-height: 1.35; min-width: 0; } .arc .c b { color: var(--foam); }
.arc .go { font: 700 13px var(--body); color: var(--rope); white-space: nowrap; }
.arc.played .go { color: #4fd0a3; }
.arc-lock { position: relative; min-height: 300px; border-radius: 14px; overflow: hidden; }
.arc-lock .arc-list { filter: blur(3px); opacity: 0.5; pointer-events: none; max-height: 320px; overflow: hidden; }
.arc-lock .lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 20px; background: radial-gradient(ellipse at center, rgba(20, 8, 20, 0.82) 30%, rgba(20, 8, 20, 0.35) 75%); }
.arc-lock .lock .cast { margin: 0; min-width: 220px; }
.arc-lock .lock p { margin: 0; color: var(--foam); font-size: 16px; max-width: 30ch; }
.pass-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: nowrap; font-size: 13.5px; color: var(--mist); margin-top: -4px; }

.pass-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rope); }
.pass-tag .hk-mark { width: 22px; height: 22px; }
.pass-life { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #2a1500; background: linear-gradient(135deg, #ffe3a0, #f2b24c); }
.pass h3 { font-size: clamp(28px, 7vw, 42px); line-height: 1; margin: 0; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }

.pass-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255, 236, 220, 0.12); }

.pass-cta { width: 100%; padding: 20px 22px; font-family: var(--display); font-stretch: 78%; font-weight: 900; font-size: clamp(22px, 6.2vw, 36px); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.01em; color: #2a1500; }
.pass .pass-restore { font-size: 13.5px; color: var(--foam); white-space: nowrap; padding: 0; flex: none; }

/* fishing-license pass (old) */

.linkbtn { appearance: none; background: none; border: 0; color: var(--t3); font: 600 14px var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* dock report */
.dock { width: 100%; border-collapse: collapse; font-size: 14px; }
.dock th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); padding: 0 8px 8px 0; }
.dock td { padding: 9px 8px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.dock td:first-child { font-weight: 700; }
.dock em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--mist); }
.dock td.r { color: var(--t5); }

/* tide chart */
.tide { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; padding-top: 10px; position: relative;
  background: repeating-linear-gradient(to top, transparent 0 36px, rgba(255, 240, 228, 0.06) 36px 37px); }
.tbar2 { display: grid; gap: 6px; justify-items: center; align-self: stretch; grid-template-rows: 1fr auto; }
.tbar2 .col { width: 100%; align-self: end; border-radius: 8px 8px 3px 3px; min-height: 4px; background: linear-gradient(180deg, #7fe0f0, #1d8aa6); position: relative; transition: height 900ms cubic-bezier(.2, .8, .2, 1); }
.tbar2 .col::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.tbar2.empty .col { background: rgba(255, 240, 228, 0.08); }
.tbar2.empty .col::before { display: none; }
.tbar2.today .col { background: linear-gradient(180deg, #ffd36a, var(--rope-dk)); }
.tbar2 span { font-family: var(--mono); font-size: 10px; color: var(--mist); }
.tbar2 em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--foam); }

/* harbor board */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.board li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 240, 228, 0.04); font-size: 15px; }
.board li.me { background: rgba(242, 178, 76, 0.14); outline: 1px solid rgba(242, 178, 76, 0.4); }
.board .rk { font-family: var(--mono); color: var(--mist); }
.board .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.board .nm img { width: 30px; flex: none; }
.board b { font-family: var(--display); font-stretch: 80%; font-size: 19px; font-variant-numeric: tabular-nums; text-align: right; }

.hb-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; align-items: stretch; }
.hb-cta .cast { margin: 0; }
.hb-form { display: flex; gap: 8px; }
.aboutpage > * { min-width: 0; }
/* account card at the top of the Logbook */
.acct { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1.5px solid rgba(242, 178, 76, 0.6); background: linear-gradient(160deg, rgba(242, 178, 76, 0.16), rgba(242, 178, 76, 0.04)), rgba(24, 11, 24, 0.9); box-shadow: 0 0 30px -14px rgba(242, 178, 76, 0.7); }
.acct-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.acct-head .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rope); color: #2a1500; }
.acct-head .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acct-head b { display: block; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; color: var(--foam); }
.acct-head span { font-size: 14px; color: var(--mist); line-height: 1.4; }
.acct .gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 999px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f; font: 600 15px var(--body); cursor: pointer; }
.acct .gbtn svg { width: 20px; height: 20px; }
#gis-btn { display: flex; justify-content: center; min-height: 0; }
#gis-btn:not(.on) { position: absolute; left: 0; right: 0; opacity: 0; pointer-events: none; }
.acct { position: relative; }
.acct.flash { animation: acctFlash 1.6s ease-out 1; }
@keyframes acctFlash { 0%, 40% { box-shadow: 0 0 0 3px rgba(242, 178, 76, 0.95), 0 0 40px rgba(242, 178, 76, 0.6); } 100% { box-shadow: 0 0 30px -14px rgba(242, 178, 76, 0.7); } }
@media (prefers-reduced-motion: reduce) { .acct.flash { animation: none; } }
.acct-or { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 236, 220, 0.16); }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(20, 8, 20, 0.45); }
.acct-tabs button { appearance: none; border: 0; cursor: pointer; padding: 9px; border-radius: 9px; background: none; color: var(--mist); font: 700 14px var(--body); }
.acct-tabs button.on { background: rgba(242, 178, 76, 0.2); color: var(--foam); }
.acct form { display: grid; gap: 8px; }
.acct input { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(242, 178, 76, 0.45); background: rgba(20, 8, 20, 0.55); color: var(--foam); font: 600 15px var(--body); }
.acct input:focus { outline: 2px solid var(--rope); outline-offset: 1px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; appearance: none; border: 0; background: none; cursor: pointer; color: var(--mist); border-radius: 10px; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--foam); }
.pw-eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* phones zoom the whole page into any field under 16px, which made the sign-in card jump around */
body .acct input, body .age-card input, body .age-card select, body .hb-form input, body .ans-search input, body #crew-in { font-size: 16px; }
.acct .cast { margin: 0; padding: 14px; }
.acct .cast .big { font-size: 24px; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--mist); }
.acct-msg { margin: 0; font-size: 14px; color: var(--foam); }
.acct-msg.err { color: #ff9b8a; }

.acct-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.acct-badges span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(79, 208, 163, 0.5); color: #8be6c4; }
.acct-badges span.gold { border-color: rgba(242, 178, 76, 0.6); color: var(--rope); }
/* age check */
.age-ov { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(8, 3, 10, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.age-card { box-sizing: border-box; min-width: 0; width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; max-width: 420px; display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: #1c0f1c; border: 1px solid rgba(242, 178, 76, 0.4); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.age-card h3 { margin: 0; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--foam); }
.age-card p { margin: 0; color: var(--mist); line-height: 1.5; font-size: 14.5px; }
.age-sel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.age-sel select { padding: 11px 10px; border-radius: 10px; border: 1px solid rgba(242, 178, 76, 0.45); background: #12080f; color: var(--foam); font: 600 16px var(--body); }
.age-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.age-acts .cast { width: auto; flex: 1; padding: 12px 18px; }
.age-acts .cast .big { font-size: 22px; }
.hb-form input { flex: 1; min-width: 0; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(242, 178, 76, 0.5); background: rgba(20, 8, 20, 0.5); color: var(--foam); font: 600 15px var(--body); }
.hb-form .btn-o { flex: none; min-width: 0; }
.hb-ex { display: grid; gap: 10px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(255, 236, 220, 0.22); background: rgba(255, 240, 228, 0.03); }
.hb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .hb-head b { font-size: 17px; } .hb-head span { font-size: 11px; color: var(--mist); }
.hb-tabs { display: flex; gap: 6px; font-size: 11px; } .hb-tabs span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--mist); } .hb-tabs .on { background: rgba(242, 178, 76, 0.16); border-color: rgba(242, 178, 76, 0.5); color: var(--foam); }
.hb-champ { font-size: 13.5px; } .hb-champ b { color: var(--t5); }
@media (max-width: 420px) { .hb-cta { grid-template-columns: minmax(0, 1fr); } }

/* catch log */
.log { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.logc { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: rgba(255, 240, 228, 0.04); border: 1px solid var(--line); text-align: center; min-width: 0; }
.logc img { width: 100%; max-width: 64px; }
.logc.none img { filter: brightness(0) opacity(0.35); }
.logc b { font-family: var(--display); font-stretch: 80%; font-size: 22px; line-height: 1; }
.logc span { font-size: 11px; color: var(--mist); }

/* how it works */
.how { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { display: grid; gap: 6px; align-content: start; }
.steps .sn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #2a1500; background: var(--rope); }
.steps b { font-family: var(--display); font-stretch: 80%; font-size: 22px; text-transform: uppercase; }
.steps span { color: var(--mist); font-size: 14.5px; line-height: 1.5; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 14px 8px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .duo, .steps { grid-template-columns: minmax(0, 1fr); }

  

  
  
}
@media (max-width: 380px) { .log { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); z-index: 9; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; max-width: min(92vw, 460px); text-align: center; transition: opacity 250ms, transform 250ms; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body[data-screen="play"] .toast { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 134px); left: max(16px, env(safe-area-inset-left, 0px)); max-width: 56vw; transform: translate(0, -12px); font-size: 13px; padding: 9px 14px; text-align: left; }
body[data-screen="play"] .toast.show { transform: translate(0, 0); }
@media (min-width: 760px) { body[data-screen="play"] .toast { left: calc(50% - 360px + 16px); } }
.fly { position: fixed; z-index: 7; pointer-events: none; font-family: var(--mono); font-weight: 600; font-size: 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); transform: translate(-50%, -50%); }
.screen.enter > .wrap { animation: screenIn 560ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@media (max-width: 640px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .log { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Play (v0.9 layout) ---------- */
.playwrap { gap: 10px; }
#play .wrap { max-width: 1240px; }
body.kb { overscroll-behavior: none; }
#play.screen { top: var(--vvt, 0px); height: var(--vvh, 100dvh); bottom: auto; box-sizing: border-box; }
body.kb #play.screen { padding-top: calc(env(safe-area-inset-top, 0px) + 6px); padding-bottom: 6px; overflow: hidden; }
body.kb #play .wrap { height: 100%; gap: 6px; }
body.kb #play .phead .hudlogo { display: none; } /* the "Rarer answers = bigger fish" hint stays while typing */
body.kb #play .pcard { padding: 6px 10px; gap: 2px; }
body.kb #play .dock2 { padding: 8px; gap: 4px; }
body.kb #play .dock2 .feedback { min-height: 20px; font-size: 13.5px; }
body.kb #play .entry input { padding: 11px 14px; font-size: 17px; }
body.kb #play .catch-btn { padding-top: 0; padding-bottom: 0; }
body.kb .spot { top: var(--vvt, 0px); height: var(--vvh, 100%); bottom: auto; }
body.kb #play .pcard .play-prompt { font-size: clamp(18px, 4.6vw, 32px); }
body.kb #play .tring { width: 72px; height: 72px; }
body.kb #play .tin b { font-size: 20px; } body.kb #play .tin b[data-len="4"] { font-size: 17px; } body.kb #play .tin b[data-len="5"], body.kb #play .tin b[data-len="6"] { font-size: 14px; }
.phead { display: flex; gap: 10px; align-items: stretch; }
.phead .hudlogo { align-self: center; }
.pcard { flex: 1; min-width: 0; border-radius: 16px; padding: 10px 14px; display: grid; gap: 4px; align-content: center; }
.pcard .round-label { display: flex; align-items: center; gap: 8px; }
.prompt-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; min-width: 0; }
.rare-hint { font: 700 11.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--t5); white-space: nowrap; padding-bottom: 4px; }
@media (min-width: 900px) { .prompt-row { flex-wrap: nowrap; } #play .prompt-row .play-prompt { flex: 1 1 auto; text-wrap: pretty; font-size: clamp(22px, 3.3vw, 46px); } .rare-hint { flex: none; margin-left: auto; } }
@media (max-width: 600px) { .rare-hint { font-size: 11px; padding-bottom: 0; white-space: normal; max-width: 100%; letter-spacing: 0.08em; } }
body.kb #play .rare-hint { font-size: 10px; }
/* a phone turned sideways with the keyboard up leaves about 200px: shrink the header so the answer box stays in view */
@media (max-height: 430px) and (orientation: landscape) {
  body.kb #play .pcard { padding: 4px 10px; gap: 0; }
  body.kb #play .pcard .play-prompt { font-size: 16px; line-height: 1.1; }
  body.kb #play .rare-hint, body.kb #play .round-label .of, body.kb #play .round-label .pk { display: none; }
  body.kb #play .tring { width: 54px; height: 54px; } body.kb #play .tin b { font-size: 14px; } body.kb #play .reel-early { display: none; }
  body.kb #play .dock2 { padding: 6px 8px; gap: 2px; } body.kb #play .dock2 .feedback { min-height: 0; font-size: 12px; }
  body.kb #play .entry input { padding: 8px 12px; font-size: 16px; }
}
.pcard .play-prompt { min-width: 0; max-width: 100%; overflow-wrap: anywhere; margin: 0; font-size: clamp(22px, 5vw, 48px); text-shadow: none; }
.tring { width: 96px; height: 96px; flex: none; position: relative; align-self: center; }
.tring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.trk { fill: rgba(11, 34, 50, 0.72); stroke: rgba(255, 240, 228, 0.14); stroke-width: 7; }
.tprog { fill: none; stroke: var(--rope); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(242, 178, 76, 0.5)); }
.tring.low .tprog { stroke: var(--coral); filter: drop-shadow(0 0 8px rgba(255, 122, 99, 0.7)); }
.tring.low { animation: throb 1s ease-in-out infinite; }
@keyframes throb { 50% { transform: scale(1.06); } }
.tin b::after { content: " lb"; font-size: 0.42em; font-weight: 700; letter-spacing: 0.02em; }
.tin { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.tin b { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.tin b[data-len="4"] { font-size: 24px; } .tin b[data-len="5"], .tin b[data-len="6"] { font-size: 19px; }
.tin b.bump { animation: bump 380ms cubic-bezier(.3, 1.8, .5, 1); }
.tin span { font-family: var(--mono); font-size: 12px; color: var(--mist); font-variant-numeric: tabular-nums; }
.tring.low .tin span { color: var(--coral); }
.pbody { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(132px, 17vw, 250px); grid-template-rows: minmax(0, 1fr); gap: 12px; }
.pbody .net-wrap { min-height: 0; height: 100%; }
.pbody .clist { min-height: 0; height: auto; max-height: 100%; align-self: start; }
.clist:has(ol:empty) .clist-h { padding-bottom: 10px; }
.clist { border-radius: 16px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.clist-h { padding: 10px 10px 6px; color: var(--mist); font-size: 10.5px; }
.clist ol { list-style: none; margin: 0; padding: 0 6px 8px; overflow-y: auto; display: grid; gap: 4px; align-content: start; flex: 1; min-height: 0; scrollbar-width: none; }
.clist ol::-webkit-scrollbar { display: none; }
.clist ol { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
.clist li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 6px; align-items: center; padding: 5px 6px; border-radius: 9px; background: color-mix(in srgb, var(--c) 13%, transparent); border-left: 3px solid var(--c); animation: rowin 380ms cubic-bezier(.2, .9, .3, 1.2) both; }
.clist li img { grid-row: span 2; width: 30px; }
.clist li span { font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; line-height: 1.12; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; hyphens: auto; }
.clist li b { font-family: var(--mono); font-size: 11px; color: var(--c); font-weight: 600; }
@keyframes rowin { from { opacity: 0; transform: translateY(-10px) scale(0.95); } }
.dock2 { border-radius: 18px; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.dock2 .feedback { min-height: 26px; }
.tcol { flex: none; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.reel-early { appearance: none; background: none; border: 0; cursor: pointer; padding: 2px 4px; color: var(--mist); font: 600 12px var(--body); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.reel-early:hover { color: var(--foam); }
body.kb #play .reel-early { font-size: 11px; padding: 0 4px; }

/* countdown + cast line */
.cd { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; padding: 24px 18px; background: radial-gradient(120% 90% at 50% 45%, rgba(23, 12, 24, 0.55), rgba(23, 12, 24, 0.86)); animation: cdin 260ms ease-out both; }
.cd.out { animation: cdout 380ms ease-in both; }
@keyframes cdin { from { opacity: 0; } }
@keyframes cdout { to { opacity: 0; } }
.cd-card { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 900px; }
.cd-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rope); animation: cdrise 500ms 80ms cubic-bezier(.2, .8, .3, 1) both; }
.cd-prompt { max-width: 100%; overflow-wrap: anywhere; margin: 0; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(34px, 8.5vw, 76px); line-height: 0.95; text-transform: uppercase; text-wrap: balance; color: var(--foam); text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55); animation: cdrise 650ms 160ms cubic-bezier(.2, .8, .3, 1) both; }
@keyframes cdrise { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.cd .castline { display: none; }
#cd-num { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(90px, 28vw, 160px); line-height: 1; color: var(--rope); text-transform: uppercase; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6); }
#cd-num.go { animation: cdpop 980ms cubic-bezier(.2, 1.4, .4, 1) both; }
#cd-num.cast { animation-duration: 700ms; }
#cd-num.cast { font-size: clamp(64px, 18vw, 110px); color: var(--foam); }
@keyframes cdpop { 0% { opacity: 0; transform: scale(1.8); } 18% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(0.97); } 100% { opacity: 0; transform: scale(0.85); } }
.castline { position: absolute; inset: 0; width: 100%; height: 100%; }
.castline path { fill: none; stroke: rgba(242, 178, 76, 0.85); stroke-width: 2; stroke-dasharray: 420; stroke-dashoffset: 420; vector-effect: non-scaling-stroke; }
.castline.go path { animation: castline 650ms cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes castline { to { stroke-dashoffset: 0; } }

/* long categories (Nov 20): smaller type so the whole thing fits, even with the phone keyboard up */
.cd-prompt[data-len="long"] { font-size: clamp(26px, 6.4vw, 58px); }
.cd-prompt[data-len="xlong"] { font-size: clamp(20px, 5vw, 44px); line-height: 1.02; }
body.kb .cd-prompt[data-len="long"] { font-size: clamp(20px, 5vw, 40px); }
body.kb .cd-prompt[data-len="xlong"] { font-size: clamp(16px, 4vw, 32px); }
#play .pcard .play-prompt[data-len="long"] { font-size: clamp(18px, 4.4vw, 34px); }
#play .pcard .play-prompt[data-len="xlong"] { font-size: clamp(14px, 3.6vw, 26px); line-height: 1.05; }
body.kb #play .pcard .play-prompt[data-len="long"] { font-size: clamp(15px, 3.8vw, 24px); }
body.kb #play .pcard .play-prompt[data-len="xlong"] { font-size: clamp(12px, 3.1vw, 20px); }
/* big-catch spotlight */
.spot { position: fixed; inset: 0; z-index: 6; pointer-events: none; display: grid; place-items: center; opacity: 0; background: radial-gradient(circle at 50% 45%, rgba(0, 10, 20, 0.15), rgba(0, 4, 10, 0.7)); }
.spot.go { animation: spotfade var(--d, 950ms) ease both; }
@keyframes spotfade { 0% { opacity: 0; } 14% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
.spot-in { display: grid; justify-items: center; gap: 6px; text-align: center; }
.spot-in img { width: min(64vw, 380px); filter: drop-shadow(0 0 24px var(--c)); }
.spot.go .spot-in img { animation: swim var(--d, 950ms) cubic-bezier(.25, .7, .35, 1) both; }
@keyframes swim { from { transform: translateX(-75vw) rotate(-6deg); } 45% { transform: translateX(0) rotate(0deg); } 60% { transform: translateX(0) rotate(1deg); } to { transform: translateX(75vw) rotate(4deg); } }
.spot-t { display: grid; gap: 2px; }
.spot-t .mono { color: var(--c); font-size: 13px; letter-spacing: 0.2em; }
.spot-t b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(40px, 12vw, 76px); line-height: 0.95; text-transform: uppercase; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7); }
.spot-t em { font-style: normal; font-family: var(--mono); font-weight: 600; font-size: 20px; color: var(--c); }
.spot.kraken { --d: 1900ms; background: radial-gradient(circle at 50% 45%, rgba(255, 211, 106, 0.22), rgba(0, 4, 10, 0.75)); }
.spot.kraken .spot-t b { color: var(--t5); }
/* v3.40: the Kraken gets gold rays turning behind it and the play card shudders */
.spot-rays { position: absolute; left: 50%; top: 45%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 211, 106, 0.16) 0deg 7deg, rgba(255, 211, 106, 0) 7deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0, #000 18%, transparent 55%); mask: radial-gradient(circle, #000 0, #000 18%, transparent 55%); }
.spot.go .spot-rays { animation: rays var(--d) linear both; }
@keyframes rays { from { transform: rotate(0deg) scale(0.6); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } to { transform: rotate(40deg) scale(1.05); opacity: 0; } }
.spot.kraken .spot-t .mono { font-size: 15px; font-weight: 800; color: var(--t5); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85); }
#play .pcard.quake { animation: quake 520ms cubic-bezier(.36, .07, .19, .97) both; }
@keyframes quake { 10%, 90% { transform: translate(-1px, 0); } 20%, 80% { transform: translate(3px, 1px); } 30%, 50%, 70% { transform: translate(-5px, -1px); } 40%, 60% { transform: translate(5px, 1px); } }
@media (max-width: 430px) {
  .pbody { grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
  .clist li { grid-template-columns: 26px minmax(0, 1fr); padding: 4px 5px; }
  .clist li img { width: 26px; }
  .tring { width: 84px; height: 84px; }
  .tin b { font-size: 24px; } .tin b[data-len="4"] { font-size: 21px; } .tin b[data-len="5"], .tin b[data-len="6"] { font-size: 17px; }
  .phead .hudlogo { width: 40px; height: 40px; }
  .pcard { padding: 8px 12px; }
  .pcard .round-label { font-size: 10.5px; letter-spacing: 0.12em; }
  .pcard .round-label .pk { display: none; }
}

/* ---------- v2.0: menu drawer, tackle box, answers ---------- */

.drawer { position: fixed; inset: 0; z-index: 9; }
.drawer-bg { position: absolute; inset: 0; animation: fadein 240ms ease both; }
@keyframes fadein { from { opacity: 0; } }
.drawer-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; gap: 10px; align-content: start; animation: popin 220ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes popin { from { transform: translate(-50%, -48%) scale(.97); opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 0 2px 2px; }
.drawer-head .hk-logo .hk-mark { width: 36px; height: 36px; display: block; }
.drawer-head h2 { margin: 0; flex: 1; font-family: var(--display); font-stretch: 78%; font-weight: 900; font-size: 30px; letter-spacing: 0.05em; text-transform: uppercase; }
.m-hero { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 220, 150, 0.45); cursor: pointer; text-align: left; color: #2a1500; font: inherit; background: linear-gradient(135deg, #f8c56a, var(--rope) 55%, #e0962c); box-shadow: 0 10px 30px -12px rgba(242, 178, 76, 0.6); }
.m-hero:hover { filter: brightness(1.06); }
.m-hero svg { width: 26px; height: 26px; fill: none; stroke: #2a1500; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.m-hero > span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.m-hero b { font-family: var(--display); font-stretch: 78%; font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; }
.m-hero small { font: 600 13px var(--body); color: #3a2004; opacity: 1; }
.m-hero i { font: 700 13px var(--body); font-style: normal; background: rgba(42, 21, 0, 0.14); padding: 6px 10px; border-radius: 999px; flex: none; }
.m-hero.done { color: var(--foam); background: rgba(79, 208, 163, 0.07); border-color: rgba(79, 208, 163, 0.32); box-shadow: none; }
.m-hero.done svg { stroke: #4fd0a3; } .m-hero.done small { color: var(--mist); opacity: 1; } .m-hero.done i { background: rgba(255, 255, 255, 0.07); }
.m-moon { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #eef0fa;
  border: 1px solid rgba(255, 213, 107, 0.45);
  background: radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px) 0 0 / 46px 38px, radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.5px) 0 0 / 31px 27px, linear-gradient(135deg, #0b1030, #1b1f52 60%, #2a1f5c);
  box-shadow: 0 10px 30px -14px rgba(90, 110, 255, 0.6); transition: filter 120ms; }
.m-moon:hover { filter: brightness(1.12); }
.r-moon { margin-top: 18px; } /* v3.48: the Moonshot card at the bottom of the results */
.mm-logo { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 213, 107, 0.1); box-shadow: 0 0 22px rgba(255, 213, 107, 0.35); }
.mm-logo svg { width: 38px; height: 38px; }
.mm-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.mm-txt small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #ffd56b; }
.mm-txt b { font-family: var(--display); font-stretch: 78%; font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.mm-txt em { font-style: normal; font-size: 12.5px; color: #b9bfe0; line-height: 1.35; }
.m-moon > i { font: 700 13px var(--body); font-style: normal; color: #0b1030; background: #ffd56b; padding: 6px 10px; border-radius: 999px; flex: none; }
.m-pill { font: 700 10px var(--body); font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; color: #2a1500; background: var(--rope); padding: 2px 6px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.m-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 901px) { .home-menu-links > [data-game-account] { display: none; } }

.m-reset { justify-self: center; appearance: none; border: 0; background: none; cursor: pointer; color: var(--mist); font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; opacity: 0.7; padding: 2px; }
.m-t { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 0; padding: 11px 10px; border-radius: 12px; cursor: pointer; text-align: left; color: var(--foam); font: inherit; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 236, 220, 0.14); transition: background 120ms, border-color 120ms; min-width: 0; }
.m-t:hover, .m-t:focus-visible { background: rgba(255, 255, 255, 0.07); border-color: rgba(242, 178, 76, 0.5); outline: none; }
.m-t .m-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(242, 178, 76, 0.1); border: 1px solid rgba(242, 178, 76, 0.22); }
.m-t svg { width: 20px; height: 20px; fill: none; stroke: var(--rope); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-t > span { min-width: 0; } .m-t b { display: block; font: 600 14px/1.2 var(--body); } .m-t small { display: block; font-size: 11px; line-height: 1.25; color: var(--mist); margin-top: 2px; }
#m-today:not(.done) small { color: #3a2004; font-weight: 700; }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-b { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border-radius: 999px; cursor: pointer; font: 600 13.5px var(--body); color: var(--foam); background: rgba(242, 178, 76, 0.08); border: 1px solid rgba(242, 178, 76, 0.3); }
.m-b:hover { background: rgba(242, 178, 76, 0.18); }
.m-b svg { width: 17px; height: 17px; fill: none; stroke: var(--rope); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kicker.under { display: none !important; }

.drawer-links .grp { margin: 10px 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.drawer-links button.go::after { content: "›"; float: right; color: var(--rope); font-size: 18px; line-height: 1; }
.drawer-links { display: grid; gap: 10px; }
.drawer-links .old { appearance: none; cursor: pointer; text-align: left; border: 1px solid var(--line); background: rgba(255, 240, 228, 0.05); color: var(--foam); font: 700 15px var(--body); padding: 12px 14px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; }

.drawer-links button small { font-weight: 500; color: var(--mist); font-size: 12px; }
.drawer-links button:hover { border-color: rgba(242, 178, 76, 0.6); }

.tackle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rodline { position: relative; display: grid; gap: 10px; margin-top: 4px; }
.rodline::before { content: ""; position: absolute; left: 20px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--rope) var(--fill, 0%), rgba(255, 236, 220, 0.14) var(--fill, 0%)); }
.rl { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 10px; align-items: center; }
.rl-day { position: relative; z-index: 1; width: 43px; height: 43px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 17px; color: var(--mist); background: #0e283c; border: 2px solid rgba(255, 236, 220, 0.2); }
.rl-day small { display: block; font-family: var(--mono); font-weight: 500; font-size: 8.5px; letter-spacing: 0.08em; margin-top: 2px; }
.rl.got .rl-day { background: var(--rope); border-color: var(--rope); color: #2a1500; }
.rl.on .rl-day { box-shadow: 0 0 0 4px rgba(242, 178, 76, 0.25), 0 0 18px rgba(242, 178, 76, 0.6); }
.rl-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 12px; background: linear-gradient(135deg, rgba(16, 48, 70, 0.55), rgba(8, 26, 40, 0.45)); display: grid; gap: 4px; }
.rl.on .rl-card { border-color: rgba(242, 178, 76, 0.75); background: linear-gradient(125deg, rgba(242, 178, 76, 0.18), rgba(14, 44, 66, 0.55)); }
.rl-art svg { display: block; width: 100%; height: auto; max-height: 82px; overflow: visible; }
.rl.locked .rl-art svg { filter: saturate(0.42) brightness(0.78); opacity: 0.72; }
.rl-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rl-name b { font-size: 16px; }
.rl-name span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.rl.on .rl-name span { color: var(--rope); }
.rl-tag { margin: 0; font-size: 13.5px; color: var(--mist); line-height: 1.35; }
.rl-prog { height: 5px; border-radius: 5px; background: rgba(255, 236, 220, 0.12); margin-top: 6px; overflow: hidden; }
.rl-prog i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #c9801f, var(--rope)); }
.tk { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 240, 228, 0.03); text-align: center; min-width: 0; }
.tk svg { width: 100%; max-width: 46px; height: 46px; }
.tk b { font-size: 11.5px; line-height: 1.2; }
.tk span { font-family: var(--mono); font-size: 9.5px; color: var(--mist); letter-spacing: 0.06em; }
.tk.locked svg { opacity: 0.28; filter: grayscale(1); }
.tk.on { border-color: rgba(242, 178, 76, 0.7); background: rgba(242, 178, 76, 0.12); }
button.tk { appearance: none; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; width: 100%; font: inherit; color: inherit; cursor: pointer; transition: border-color 150ms, background 150ms, transform 120ms; }
button.tk:not(.on):hover { border-color: rgba(242, 178, 76, 0.4); }
button.tk:active { transform: scale(0.96); }
button.tk.pick span { color: var(--foam); } button.tk.on span { color: var(--rope); }

/* the top part (title, tabs, search) and the Back buttons stay put; only the list scrolls */
#answers { overflow: hidden; }
#answers .wrap { flex: 1; min-height: 0; padding-top: 58px; padding-bottom: 0; gap: 12px; }
.ans-head { flex: none; border-radius: 18px; padding: 16px; display: grid; gap: 12px; background: #0e2a3f; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(5, 18, 28, 0.45); }
.ans-head h2 { margin: 0; font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: clamp(30px, 7vw, 44px); line-height: 0.95; text-transform: uppercase; }
.ans-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ans-tabs button { appearance: none; cursor: pointer; flex: none; border: 1px solid var(--line); background: none; color: var(--mist); font: 700 14px var(--body); padding: 8px 12px; border-radius: 999px; }
.ans-tabs button[aria-selected="true"] { color: var(--foam); background: rgba(242, 178, 76, 0.18); border-color: rgba(242, 178, 76, 0.6); }
.ans-search { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; background: rgba(10, 30, 45, 0.75); }
.ans-search:focus-within { border-color: var(--rope); }
.ans-search svg { width: 18px; height: 18px; flex: none; }
.ans-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--foam); font: 600 16px var(--body); padding: 12px 0; }
.ans-meta { margin: 0; font-size: 13px; color: var(--mist); }
.ans-list { list-style: none; margin: 0; padding: 8px; border-radius: 18px; display: grid; gap: 4px; }
.ans-list li { display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.ans-list li:nth-child(odd) { background: rgba(255, 240, 228, 0.03); }
.ans-list li.mine { background: color-mix(in srgb, var(--c) 18%, transparent); outline: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.ans-list .rk { font-family: var(--mono); font-size: 12px; color: var(--mist); text-align: right; font-variant-numeric: tabular-nums; }
.ans-list img { width: 34px; }
.ans-list .nm { display: grid; min-width: 0; }
.ans-list .nm b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ans-list .nm span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.ans-list .ct { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--mist); font-variant-numeric: tabular-nums; }
.ans-list .ct b { display: block; color: var(--foam); font-size: 14px; }
.ans-list .you { font-family: var(--mono); font-size: 10px; color: #2a1500; background: var(--rope); padding: 1px 5px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }

.ans-groups { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: grid; gap: 12px; align-content: start; padding: 2px 0 10px; border-radius: 18px; }
.tg { border-radius: 16px; padding: 12px 14px 8px; background: rgba(12, 36, 54, 0.78); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tg header { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.tg header img { width: 34px; flex: none; }
.tg header b { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--c); }
.tg header span { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--mist); white-space: nowrap; }
.tg ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); column-gap: 22px; }
.tg li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 240, 228, 0.06); font-size: 15px; min-width: 0; }
.tg li .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg li .ct { flex: none; font-family: var(--mono); font-size: 11.5px; color: var(--mist); font-variant-numeric: tabular-nums; }
.tg li.mine .nm { color: var(--c); font-weight: 700; }
.tg li .you { font-family: var(--mono); font-size: 9.5px; color: #2a1500; background: var(--rope); padding: 1px 4px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.tg.kraken { border-color: rgba(255, 211, 106, 0.5); background: radial-gradient(120% 160% at 0% 0%, rgba(255, 211, 106, 0.18), rgba(12, 36, 54, 0.85) 60%); }
.tg.kraken ul { grid-template-columns: 1fr; }
.tg.kraken li { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 22px; border: 0; padding: 6px 0; }
.tg-more { appearance: none; background: none; border: 0; padding: 10px 0 4px; color: var(--c); font: 700 13.5px var(--body); cursor: pointer; }
.tg-more:hover { text-decoration: underline; }
.ans-empty { padding: 20px; text-align: center; color: var(--mist); }
.ans-foot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 2px; }
.ans-foot .btn2 { font-size: 17px; padding: 13px 8px; } .ans-foot .cast.small { padding: 13px 10px 12px; } .ans-foot .cast.small .big { font-size: 20px; } /* one slim row, so the list gets the room */
@media (max-width: 380px) { .ans-foot .btn2 { font-size: 15px; padding: 12px 6px; } .ans-foot .cast.small .big { font-size: 18px; } .ans-foot .cast.small { padding: 12px 8px 11px; } }

.resume { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rope); }
@media (max-width: 460px) {
  .ans-list li { grid-template-columns: 26px 28px minmax(0, 1fr) auto; gap: 8px; padding: 7px 6px; }
  .ans-list img { width: 28px; }
  .tackle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

[data-enter] { animation: rise 600ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0.001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {

  .stats > div { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}


/* Ezoic ad spots (same as Moonshot): two side rails on wide desktops, one footer spot on the dock and on the results screen.
   Hidden until ads start; never during a haul (intro, countdown, play); never for pass holders, owners or noads devices. */
:root { --adh: 0px; }
.ad-slot[hidden] { display: none !important; }
a.m-t, a.m-b { text-decoration: none; } .m-pill { white-space: nowrap; }
/* the other game sits at the bottom of the menu, like Moonshot's link to Hooked */
.m-moon { padding: 12px 14px; gap: 12px; } .m-moon .mm-logo { width: 40px; height: 40px; } .m-moon .mm-logo svg { width: 32px; height: 32px; } .m-moon .mm-txt b { font-size: 18px; } .m-moon .mm-txt em { font-size: 12px; }
body.noads .ad-slot, body[data-screen="intro"] .ad-slot, body[data-screen="play"] .ad-slot { display: none !important; }
.ad-rail { position: fixed; top: 96px; width: 300px; max-height: calc(84vh - 108px); overflow: hidden; z-index: 3; text-align: center; transition: opacity .35s; }
/* Ezoic's anchor bar sits along the bottom on screens 1024px+ (v3.55). Every screen is position:fixed, so body padding
   alone can't move them. When ads load, each screen gets 110px more bottom padding (and the home layout shrinks through --adh):
   controls sit above the bar, and pages still scroll to the real bottom instead of being cut off (v3.56; v3.55 shortened the
   screens, which clipped the home page mid-card). */
@media (min-width: 1024px) { body { padding-bottom: 110px; } html.ads { --adh: 110px; } html.ads .screen { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px + 110px); } }
.ad-l { left: 16px; } .ad-r { right: 16px; } /* at the screen edges, like Krillion; they end above the dock, so the bucket and the clock sign stay clear */
@media (max-width: 1499px) { .ad-rail { display: none !important; } }
.ad-foot { position: relative; z-index: 1; align-self: center; justify-self: center; width: min(1000px, calc(100vw - 32px)); max-width: none; margin: 8px 0 0; text-align: center; }
.more { grid-template-columns: minmax(0, 1fr); } /* the footer spot may be wider than the 720px column without widening the pass card */
#results > .ad-foot { margin-top: 150px; } /* Google: keep ads at least 150px from anything you play with */
/* the label and spacing only appear once an ad has actually loaded in the slot (class "filled"); an empty slot shows nothing */
.ad-slot:not(.filled)::before { content: none; }
#results > .ad-foot:not(.filled) { margin-top: 0; }
.ad-slot::before { content: "Advertisements"; display: block; margin: 0 0 4px; font: 600 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); opacity: 0.7; }
.site-about { margin: 8px 0 0; padding: 18px 20px; border-radius: 18px; background: rgba(20, 8, 20, 0.5); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-about h2 { margin: 0 0 8px; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rope); }
.site-about p { margin: 0 0 10px; color: var(--mist); font-size: 14.5px; line-height: 1.6; } .site-about p:last-child { margin-bottom: 0; } .site-about b { color: var(--foam); } .site-about a { color: var(--rope); } .site-about .sa-recent { font-size: 13.5px; } .site-about .sa-recent b { color: var(--rope); }
.more > .ad-foot { margin-top: 20px; }
#sitefoot { margin: 28px 0 10px; }
.ad-ph { display: grid; place-items: center; margin: 0 auto; border: 1.5px dashed rgba(242, 178, 76, 0.7); background: rgba(20, 8, 20, 0.55); color: var(--foam); font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; border-radius: 8px; }

#home .pass, #home #passdock, #home .more,
#menu .m-grid > :not([data-solo-panel]), #menu .m-row > :not(#m-howto), #menu .m-moon,
.r-moon, .dc-stat:has(#dc-pct) { display: none !important; }
.tpct, .cat-pct, #results-wrap .cat .bar { display: none !important; }
