@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2?v=3100e775e8616cd2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed.woff2?v=2515494e8cc2ca07") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #eaf0ed;
  --muted: #a6b7b9;
  --gold: #edbd76;
  --edge: #2b3a3e;
  --base: #0a1418;
  --panel: #101d22;
  --accent: #72c7be;
  font:
    16px Inter,
    Arial,
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  overscroll-behavior: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button svg,
.brand svg,
.location svg,
.weather-icon svg,
.position-readout svg,
.species-line svg,
.gear-item svg,
.log-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
[hidden] {
  display: none !important;
}
.symbols,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--base);
}
.topbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 max(26px, 3vw);
  background: #0b171c;
  border-bottom: 1px solid #344044;
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  border: 1px solid #665540;
  background: #1d2525;
  border-radius: 9px;
}
.brand-icon svg {
  width: 24px;
  height: 24px;
  margin-top: -4px;
}
.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
  letter-spacing: 0.12em;
}
.brand strong {
  font-size: 14px;
  font-weight: 700;
}
.brand small {
  margin-top: 6px;
  color: #a3b2b3;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.27em;
}
.location {
  color: #c8d2d1;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.location svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.utility {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}
.utility button,
.controls-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #d1dbd8;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.utility button:hover,
.controls-link:hover {
  background: #1c292d;
  border-color: #354348;
  color: var(--ink);
}
.utility button svg {
  width: 17px;
  height: 17px;
  color: #adc1c0;
}
#game-audio[aria-pressed="true"] svg {
  color: var(--gold);
}
.utility button:last-child {
  border-color: #334247;
  padding: 0 11px;
  margin-left: 6px;
}
.count {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #344b49;
  border-radius: 20px;
  color: #d9f0df;
  font-size: 10px;
}
.stage {
  display: grid;
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: max(530px, calc(100svh - 153px));
  overflow: hidden;
  background: #2c454a;
}
.environment,
#world,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.environment {
  z-index: -3;
  background: #29454e;
  background-image: linear-gradient(0deg, #0c232f 3%, #193945da 24%, #203c4a00 48%), url("./assets/pier-sky.webp?v=ba7a5a3cc3ad27f2");
  background-position: center;
  background-size: cover;
}
#world {
  z-index: -2;
  display: block;
  touch-action: none;
  outline: none;
}
.stage.playing {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.stage:not(.playing) #world {
  pointer-events: none;
}
.shade {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 23, 0.9) 0%,
      rgba(9, 19, 24, 0.68) 24%,
      rgba(11, 22, 25, 0.27) 55%,
      transparent 78%
    ),
    linear-gradient(
      0deg,
      rgba(8, 18, 22, 0.78),
      transparent 22%,
      transparent 74%,
      rgba(8, 18, 22, 0.26)
    );
}
.welcome {
  align-self: center;
  width: min(550px, 70%);
  margin: 0 0 28px max(38px, 5.4vw);
  padding: 52px 0 50px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #f3c78b;
}
.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.welcome h1 {
  font:
    800 clamp(6.2rem, 11.4vw, 11.1rem)/0.77 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 18px 0 26px;
  color: #fff8eb;
  text-shadow: 0 3px 24px #0b202344;
}
.welcome h1 span {
  color: var(--gold);
}
.welcome p:not(.start-status) {
  max-width: 330px;
  color: #e3e8e3;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.primary {
  background: #e9b772;
  border-color: #f1cc95;
  color: #131913;
  box-shadow: 0 2px 10px #0a151b44;
}
.primary:hover {
  background: #f4ce94;
}
.start-link {
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.start-link:focus-visible {
  outline: 2px solid #fff4db;
  outline-offset: 4px;
}
.start-link[aria-busy="true"] {
  cursor: progress;
}
.primary svg {
  width: 18px;
  height: 18px;
}
.secondary {
  background: #132127aa;
  color: var(--ink);
  border-color: #a7b6b76e;
}
.secondary:hover {
  background: #233539;
  border-color: #c5d3d0;
}
.secondary svg {
  width: 17px;
  height: 17px;
  color: #d7dedb;
}
.start-status {
  color: #fff0ce;
  background: #12242be8;
  padding: 12px 14px;
  border-radius: 6px;
  line-height: 1.5;
  font-size: 14px;
  max-width: 400px;
}
.conditions {
  position: absolute;
  top: 31px;
  right: max(26px, 3vw);
  width: 239px;
  background: #101d22e8;
  border: 1px solid #526563;
  border-radius: 9px;
  padding: 13px 14px;
  color: #f3f3ed;
  box-shadow: 0 8px 25px #07151c39;
  backdrop-filter: blur(9px);
  pointer-events: none;
}
.conditions-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.weather-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #3c3528;
  color: #f2be7c;
}
.weather-icon svg {
  width: 21px;
  height: 21px;
}
.conditions-top small,
.conditions dt {
  display: block;
  color: #b2c3c2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.conditions-top strong {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}
.conditions dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid #64757560;
}
.conditions dt {
  font-size: 9px;
}
.conditions dd {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  margin: 5px 0 0;
}
.species-line {
  position: absolute;
  display: flex;
  gap: 9px;
  align-items: center;
  left: max(38px, 5.4vw);
  bottom: 24px;
  color: #dfebe4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.species-line svg {
  color: var(--gold);
}
.species-line b {
  color: #e9b772;
  padding: 0 4px;
}
.tackle-strip {
  min-height: 81px;
  display: grid;
  grid-template-columns: 112px repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  padding: 0 max(26px, 3vw);
  background: #0d1a1f;
  border-top: 1px solid #45534f;
  z-index: 2;
}
.loadout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: #acbfc0;
}
.loadout-label > span {
  width: 7px;
  height: 7px;
  background: #7bb1a6;
  border-radius: 50%;
  box-shadow: 0 0 10px #76c7ac55;
}
.tackle-strip button:not(.controls-link) {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 0;
  border-left: 1px solid #3a4b4f;
  border-radius: 0;
  background: transparent;
  min-height: 47px;
  padding: 5px 20px;
  color: #e5eee8;
}
.tackle-strip button:not(.controls-link):hover {
  background: #19292d;
}
.tackle-strip button > svg {
  color: var(--gold);
  width: 22px;
  height: 22px;
}
.tackle-strip small,
.tackle-strip strong {
  display: block;
}
.tackle-strip small {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #a5b8b9;
  margin-bottom: 4px;
}
.tackle-strip strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}
.tackle-strip .controls-link {
  border: 1px solid #35484e;
  font-size: 12px;
}
.tackle-strip .controls-link svg {
  color: #a7bcba;
  width: 17px;
  height: 17px;
}
.stage.playing .shade {
  background: linear-gradient(
    0deg,
    #051319a6,
    transparent 32%,
    transparent 82%,
    #0a182847
  );
}
.shell:has(.stage.playing) {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}
.stage.playing {
  --hud-inset: clamp(12px, 2.5vw, 36px);
  min-height: 0;
}
.stage:not(.playing) .hud-top {
  display: contents;
}
.stage:not(.playing) .hud-top > :not(.conditions) {
  display: none;
}
.stage.playing .hud-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.52fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  position: absolute;
  top: var(--hud-inset);
  left: max(var(--hud-inset), env(safe-area-inset-left));
  right: max(var(--hud-inset), env(safe-area-inset-right));
  pointer-events: none;
  z-index: 1;
}
.stage.playing .conditions {
  position: static;
  width: min(100%, 225px);
  padding: 11px 13px;
  justify-self: start;
}
.hud-location {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 0;
}
#play-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#play-hud button,
.hud-location button {
  pointer-events: auto;
}
.position-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  font-size: 13px;
  font-weight: 600;
  background: #0e1e25eb;
  border: 1px solid #60736f;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: left;
}
.position-readout:hover {
  background: #20363b;
  border-color: #96aaa6;
}
.position-readout small {
  display: block;
  margin-top: 3px;
  color: #c8d5d0;
  font-size: 10px;
}
.position-readout svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.heading {
  border-left: 1px solid #576c6d;
  padding-left: 9px;
  color: #f3ce97;
  min-width: 27px;
  text-align: center;
}
.icon-button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 42px;
  height: 42px;
  background: #17282f;
  color: var(--ink);
  border: 1px solid #53666a;
  border-radius: 6px;
}
.icon-button:hover {
  background: #2b4147;
}
.full {
  background: #13242be6;
}
.stage[data-phase="caught"] .reticle,
.stage[data-phase="releasing"] .reticle { display: none; }

.reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  translate: -50% -50%;
  border: 1px solid #ecf2efb3;
  border-radius: 50%;
  box-shadow: 0 0 5px #0a141a;
}
.action-hud {
  width: min(100%, 360px);
  justify-self: center;
  padding: 12px 15px;
  background: linear-gradient(145deg, #1a3038ec, #0a1b22f4);
  border: 1px solid #607777;
  border-radius: 8px;
  box-shadow: 0 8px 24px #08181f55;
  text-align: center;
}
.action-hud .action-meta {
  justify-content: center;
  align-items: center;
}
.action-hud .action-meta #distance:not(:empty)::before {
  content: "·";
  margin-right: 7px;
  color: #7d979a;
}
.stage[data-phase="fight"] .action-hud {
  border-color: #c9a773;
}
.action-meta,
.fight-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.13em;
}
.action-meta span + span,
.fight-info span + span {
  color: #bdcec9;
  letter-spacing: normal;
}
.action-hud h2 {
  font-size: 19px;
  margin: 6px 0 3px;
  line-height: 1.2;
}
.action-hud p {
  font-size: 13px;
  margin: 0;
  color: #cad9d4;
  line-height: 1.45;
}
.meter {
  margin: 10px 0 5px;
  height: 7px;
  background: #435656;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.meter span {
  display: block;
  width: var(--meter, 0%);
  height: 100%;
  background: #79c1ad;
  transition: background-color 0.12s;
}
[data-phase="charge"] .meter::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 70%;
  width: 15%;
  background: #fff3c789;
  border-inline: 1px solid #eed2aa;
}
[data-phase="bite"] .action-hud {
  border-color: #ffc278;
}
[data-phase="charge"] .meter span,
[data-phase="bite"] .meter span {
  background: var(--gold);
}
[data-danger] .meter span {
  background: #ef987d;
}
.fight-info {
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.action {
  position: absolute;
  right: max(26px, 3vw);
  bottom: max(24px, env(safe-area-inset-bottom));
  min-width: 146px;
  touch-action: none;
  user-select: none;
}
.shop-balance {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.fishing-actions {
  position: absolute;
  right: max(26px, 3vw);
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  gap: 8px;
  align-items: end;
}
.fishing-actions .action {
  position: static;
}
[data-phase="caught"] .fishing-actions .action {
  background: #13262e;
  border-color: #6e8f90;
  color: #e8f0eb;
}
.market-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  margin-bottom: 12px;
  border: 1px solid #4e7277;
  border-radius: 8px;
  background: linear-gradient(135deg, #18383f, #10252d);
}
.market-summary span:last-child { text-align: right; }
.market-summary small {
  display: block;
  color: #aec5c5;
  font-size: 10px;
  letter-spacing: .10em;
  margin-bottom: 4px;
}
.market-summary strong { font-size: 20px; }
.market-summary span:last-child strong,
.market-value { color: var(--gold); }
.market-tabs { flex-wrap: wrap; }
.market-list,
.board-records {
  margin: 10px 0 14px;
  padding: 0;
}
.market-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #365158;
}
.market-description small {
  display: block;
  margin-top: 3px;
  color: #a8c0bf;
  font-variant-numeric: tabular-nums;
}
.market-row .secondary {
  min-height: 37px;
  padding-inline: 8px;
}
.market-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 9px 13px;
}
.market-shortfall,
.market-receipt { margin-block: 0 10px; }
.market-receipt { color: #9cdfc2; }
.account-name { font-size: 17px; font-weight: 700; }
.account-form,
.account-form label,
.board-filter { display: grid; gap: 8px; }
.account-form { margin-top: 12px; gap: 12px; }
.account-form input,
.board-filter select {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  background: #0b1b21;
  border: 1px solid #5b777b;
  border-radius: 6px;
  padding: 8px 10px;
}
.account-form .primary { justify-self: start; }
.account-message:empty { display: none; }
.account-visibility {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-block: 10px;
  line-height: 1.4;
}
.account-visibility input { margin-top: 3px; accent-color: var(--accent); }
.board-records {
  padding-inline-start: 22px;
  color: #afc5c5;
}
.board-records li { padding: 7px 0; border-bottom: 1px solid #365158; }
.board-records strong { color: var(--ink); overflow-wrap: anywhere; }
.board-records span { float: right; color: var(--gold); margin-inline-start: 10px; }
dialog {
  width: min(540px, calc(100% - 28px));
  max-height: min(740px, calc(100% - 32px));
  padding: 0;
  background: #101e23;
  color: var(--ink);
  border: 1px solid #5b706f;
  border-radius: 12px;
  box-shadow: 0 26px 90px #030a0cbe;
}
dialog::backdrop {
  background: #050b10c7;
  backdrop-filter: blur(6px);
}
.panel-head {
  position: sticky;
  top: 0;
  background: #14242a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 21px;
  border-bottom: 1px solid #415558;
  z-index: 1;
}
.rod-watch {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-top: .6rem;
  border-top: 1px solid #415558;
  color: #bbcfca;
  font-size: .875rem;
}
.rod-watch > span { display: flex; align-items: center; gap: .5rem; }
.rod-watch svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.rod-watch[data-bite] { color: var(--gold); }
.rod-watch button { flex-shrink: 0; }
.panel-head small {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}
.panel-head h2 {
  font-size: 26px;
  margin: 3px 0 0;
  line-height: 1.18;
}
.panel-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 18px 21px 22px;
}
/* One shared section gap covers lists, previews, selectors and action
   buttons, including neighboring controls when an optional section is empty. */
#panel-content > * {
  min-width: 0;
  margin-block: 0;
}
#panel-content > :is(button, a) {
  justify-self: start;
  max-width: 100%;
  margin-inline-start: 0;
}
#panel-content > h3:not(:first-child) { margin-top: 4px; }
.board-filter { grid-template-columns: minmax(0, 1fr); }
.panel-content h3 {
  font-size: 16px;
  margin: 18px 0 7px;
}
.panel-content p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #c5d2d0;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.tabs button {
  min-width: 0;
  padding: 8px 6px;
  line-height: 1.3;
  min-height: 42px;
  background: #18292f;
  color: #c4d0ce;
  border: 1px solid #43595b;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.tabs button[aria-pressed="true"] {
  background: #3b3326;
  border-color: #d8a869;
  color: #ffddab;
}
.gear-list,
.journal-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gear-item {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 9px;
  background: #15272b;
  border: 1px solid #3c5251;
  border-radius: 7px;
  padding: 10px 12px;
}
.gear-item:hover:not(:disabled) {
  border-color: #92b8ae;
  background: #1b3033;
}
.gear-item[aria-pressed="true"] {
  border-color: #d6ae70;
  background: #2d2b22;
}
.gear-item .gear-icon {
  color: #e5ba7e;
}
.gear-item strong,
.gear-item small,
.gear-item em {
  display: block;
  line-height: 1.35;
}
.gear-item strong {
  font-size: 15px;
}
.gear-item small,
.gear-item em {
  color: #c1d1cc;
  font-size: 12px;
  margin-top: 2px;
  font-style: normal;
}
.gear-item .select-gear {
  color: #f1cb8e;
  font-size: 12px;
  font-weight: 700;
}
.gear-item .select-gear svg {
  width: 16px;
  height: 16px;
}
.log-empty {
  padding: 19px;
  border: 1px dashed #4a605d;
  border-radius: 7px;
  text-align: center;
}
.log-empty svg {
  margin-bottom: 5px;
  color: var(--gold);
}
.log-empty p,
.log-empty p:last-child {
  margin: 0;
}
.journal-row {
  display: grid;
  width: 100%;
  text-align: left;
  grid-template-columns: 34px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  background: #18292d;
  border: 1px solid #415954;
  border-radius: 7px;
}
.journal-row:hover {
  border-color: #92b8ae;
  background: #203539;
}
.journal-row .log-icon {
  color: var(--gold);
}
.journal-row strong,
.journal-row small {
  display: block;
}
.journal-row small {
  font-size: 12px;
  color: #bed1c9;
  margin-top: 4px;
}
.journal-row .measurement {
  font-weight: 700;
  font-size: 13px;
  color: #f1ca91;
  text-align: right;
}
.model-card {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid #557171;
  border-radius: 8px;
  background: #15252a;
}
.model-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(150px, 27svh, 225px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 53% 26%, #36596380, transparent 69%),
    linear-gradient(155deg, #1b353d, #0d2127);
}
.model-stage canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
.model-stage canvas:active {
  cursor: grabbing;
}
.model-loading {
  color: #d5e4de;
  font-size: 14px;
  z-index: 1;
  pointer-events: none;
}
.model-caption {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border-top: 1px solid #3e5b5b;
}
.model-caption strong,
.model-caption small {
  display: block;
  line-height: 1.4;
}
.model-caption > div:first-child { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; }
.model-caption small {
  color: #becccb;
  font-size: 12px;
  margin-top: 5px;
}
.model-controls {
  display: flex;
  flex: none;
  gap: 8px;
  margin-inline-start: auto;
}
.model-controls button {
  width: 38px;
  height: 38px;
  font-size: 21px;
  color: var(--gold);
}
.model-controls .model-detail {
  width: auto;
  padding-inline: 8px;
  border: 1px solid #53666a;
  border-radius: 6px;
  background: #17282f;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.model-controls .model-detail:hover {
  background: #2b4147;
}
.pier-chart {
  margin: 0 0 14px;
  padding: 16px 13px 9px;
  border: 1px solid #446264;
  border-radius: 7px;
  background: linear-gradient(90deg, #374236 20%, #183c49 20%, #102e3b);
}
.pier-chart-track {
  position: relative;
  height: 5px;
  margin: 3px 6px 8px;
  border-radius: 3px;
  background: #aabcb7;
}
.pier-chart-track span {
  position: absolute;
  top: 50%;
  left: var(--pier-location);
  width: 12px;
  height: 12px;
  border: 2px solid #192d32;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.pier-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #e0e8e4;
}
.controls-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 9px 14px;
  align-items: center;
  margin: 0 0 14px;
}
.controls-grid dt,
.controls-grid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
kbd {
  font:
    600 12px Inter,
    Arial,
    sans-serif;
  border: 1px solid #5b706e;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 3px 6px;
  background: #213238;
  white-space: nowrap;
}
.setting {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 14px;
  margin-bottom: 14px;
}
.setting label {
  font-weight: 700;
  font-size: 15px;
}
.setting small {
  display: block;
  color: #c2d1cb;
  margin-top: 4px;
  line-height: 1.4;
}
.setting input[type="range"] {
  accent-color: var(--gold);
  width: 100%;
}
.setting output {
  color: var(--gold);
  font-weight: 700;
}
.setting input[type="range"] {
  grid-column: 1 / 3;
}
.setting input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--gold);
}
.secondary + .settings-help {
  margin-left: 5px;
}
.panel-notice {
  padding: 9px 11px;
  border: 1px solid #756447;
  border-radius: 6px;
  background: #392c24;
}
@media (max-width: 850px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 17px;
    gap: 12px;
  }
  .location {
    display: none;
  }
  .tackle-strip {
    padding: 0 17px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  }
  .loadout-label {
    display: none;
  }
  .tackle-strip button:not(.controls-link) {
    padding-inline: 12px;
    gap: 7px;
  }
  .tackle-strip button:first-of-type {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 1100px) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .location { display: none; }
  .utility button { padding-inline: 8px; }
}
@media (max-width: 760px) {
  .utility button { position: relative; }
  .utility button > span:not(.count) {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .utility .count {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 15px;
    height: 15px;
    padding-inline: 3px;
    font-size: 8px;
  }
}
@media (max-width: 570px) {
  .topbar {
    min-height: 58px;
    padding: 0 12px;
    gap: 6px;
  }
  .brand {
    gap: 7px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }
  .brand-icon svg {
    width: 19px;
    height: 19px;
  }
  .brand strong {
    font-size: 11px;
    letter-spacing: 0.065em;
  }
  .brand small {
    font-size: 8px;
    margin-top: 4px;
    letter-spacing: 0.15em;
  }
  .utility {
    gap: 2px;
  }
  .utility button {
    padding: 0 8px;
    min-height: 37px;
    min-width: 35px;
  }
  .utility button:last-child {
    padding: 0 8px;
    margin-left: 2px;
  }
  .fishing-actions {
    right: max(9px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .utility button > span:not(.count) {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .stage {
    min-height: max(464px, calc(100svh - 127px));
  }
  .environment {
    background-position: 61% center;
  }
  .shade {
    background:
      linear-gradient(90deg, #0a171dd7, #0a171d33 82%),
      linear-gradient(
        0deg,
        #09171dda,
        transparent 22%,
        transparent 65%,
        #0a171d7a
      );
  }
  .welcome {
    width: calc(100% - 32px);
    margin: 44px 16px 10px;
    padding: 75px 0 40px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.19em;
    gap: 8px;
  }
  .eyebrow span {
    width: 17px;
  }
  .welcome h1 {
    font-size: clamp(4.9rem, 19.5vw, 7rem);
    margin: 14px 0 19px;
  }
  .welcome p:not(.start-status) {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .welcome-actions {
    gap: 7px;
  }
  .primary,
  .secondary {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 13px;
  }
  .conditions {
    top: 12px;
    right: 12px;
    width: 193px;
    padding: 8px 10px;
    border-radius: 6px;
  }
  .weather-icon {
    width: 28px;
    height: 28px;
  }
  .weather-icon svg {
    width: 16px;
    height: 16px;
  }
  .conditions-top {
    gap: 7px;
  }
  .conditions-top strong {
    font-size: 12px;
    margin-top: 2px;
  }
  .conditions-top small {
    font-size: 9px;
  }
  .conditions dl {
    margin-top: 6px;
    padding-top: 6px;
  }
  .conditions dd {
    font-size: 11px;
    margin-top: 3px;
  }
  .species-line {
    left: 16px;
    bottom: 13px;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0;
  }
  .species-line svg {
    height: 17px;
    width: 17px;
  }
  .species-line b {
    padding: 0 1px;
  }
  .tackle-strip {
    min-height: 69px;
    padding: 0 9px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tackle-strip button:not(.controls-link) {
    padding: 3px 6px;
    gap: 4px;
    min-height: 45px;
  }
  .tackle-strip button:first-of-type {
    padding-left: 1px;
  }
  .tackle-strip button > svg {
    width: 16px;
    height: 16px;
  }
  .tackle-strip small {
    font-size: 9px;
    margin-bottom: 3px;
  }
  .tackle-strip strong {
    font-size: 11px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .tackle-strip button > span { min-width: 0; }
  .tackle-strip .controls-link,
  .full {
    display: none;
  }
  .position-readout {
    padding: 8px 7px;
    gap: 4px;
    font-size: 11px;
    line-height: 1.2;
  }
  .position-readout svg {
    display: none;
  }
  .heading {
    padding-left: 4px;
    min-width: 17px;
  }
  .action-hud {
    padding: 9px 8px;
  }
  .action-hud h2 {
    font-size: 15px;
  }
  .action-hud p {
    font-size: 11px;
  }
  .action-meta,
  .fight-info {
    font-size: 9px;
  }
  .action {
    right: 9px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 105px;
    max-width: 110px;
  }
  .panel-head {
    padding: 13px 15px;
  }
  .panel-content {
    padding: 14px 15px 17px;
  }
}
@media (max-width: 410px) {
  .controls-grid { grid-template-columns: minmax(0, 1fr); row-gap: 5px; }
  .controls-grid dt:not(:first-child) { margin-top: 9px; }
  .board-records span { display: block; float: none; margin: 4px 0 0; }
  .topbar { padding-inline: 8px; }
  .brand > span:last-child { display: none; }
  .utility { gap: 2px; }
  .utility button,
  .utility button:last-child {
    padding-inline: 6px;
    min-width: 33px;
    margin-left: 0;
  }
  .fishing-actions { flex-direction: column; }
}
.move-stick {
  display: grid;
  position: absolute;
  left: max(20px, 3vw);
  bottom: max(36px, calc(18px + env(safe-area-inset-bottom)));
  width: 126px;
  aspect-ratio: 1;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid #9fbcbd9c;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 40%, #10242a88, #101b23b8 73%, #9baeb050 74%, #203239ce 76%);
  box-shadow: inset 0 0 14px #0c151dcc, 0 6px 20px #04101548;
  pointer-events: auto;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.stick-track {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid #b1c7c457;
  background:
    linear-gradient(#b8d1ce8f 0 0) top center / 1px 7px,
    linear-gradient(#b8d1ce8f 0 0) bottom center / 1px 7px,
    linear-gradient(#b8d1ce8f 0 0) center left / 7px 1px,
    linear-gradient(#b8d1ce8f 0 0) center right / 7px 1px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.stick-knob {
  width: 39%;
  aspect-ratio: 1;
  border: 1px solid #ccdedad0;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 34%, #84a4a5, #45656a 63%, #29454e 65%, #3d5d64 77%);
  box-shadow: inset 0 2px 4px #d1e5de46, 0 6px 13px #050b13a0;
  transform: translate(var(--stick-x, 0px), var(--stick-y, 0px));
  transition: transform 140ms cubic-bezier(.2,.8,.3,1), border-color 130ms;
  pointer-events: none;
}
.stick-label {
  position: absolute;
  bottom: -13px;
  left: 50%;
  padding: 3px 7px;
  border: 1px solid #899f9fa6;
  border-radius: 4px;
  background: #12232ae8;
  color: #e8eeea;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}
.move-stick.engaged {
  border-color: #d2e2d5b5;
}
.move-stick.engaged .stick-knob {
  border-color: #eff2e9;
  transition: none;
}
.action:active {
  background: #e2b475;
  color: #19232a;
}
@media (max-width: 570px) {
  .stage.playing {
    --hud-inset: 8px;
  }
  .stage.playing .hud-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 5px;
  }
  .stage.playing .conditions {
    padding: 8px 5px;
    text-align: left;
  }
  .stage.playing .conditions .weather-icon,
  .stage.playing .conditions strong {
    display: none;
  }
  .stage.playing .conditions small {
    font-size: 8px;
    letter-spacing: .06em;
  }
  .stage.playing .conditions dl {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .stage.playing .conditions dl div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2px;
  }
  .stage.playing .conditions dt {
    font-size: 7px;
    letter-spacing: .035em;
  }
  .stage.playing .conditions dd {
    font-size: 8.5px;
    margin: 0;
  }
  .position-readout {
    width: 100%;
    justify-content: space-between;
    padding-inline: 5px;
    overflow-wrap: anywhere;
  }
  .position-readout small {
    font-size: 8px;
    line-height: 1.3;
  }
  .heading {
    min-width: 15px;
    font-size: 8.5px;
  }
  .action-hud {
    padding: 8px 5px;
  }
  .action-meta,
  .fight-info {
    font-size: 8px;
    gap: 4px;
    letter-spacing: .06em;
  }
  .action-hud .action-meta #distance:not(:empty)::before {
    margin-right: 3px;
  }
  .action-hud h2 {
    font-size: 14px;
  }
  .action-hud p {
    font-size: 10px;
    line-height: 1.3;
  }
  .move-stick {
    left: 15px;
    bottom: max(24px, calc(14px + env(safe-area-inset-bottom)));
    width: clamp(100px, 29vw, 118px);
  }
}
@media (max-height: 550px) and (min-width: 650px) {
  .topbar {
    min-height: 49px;
  }
  .stage {
    min-height: max(310px, calc(100svh - 103px));
  }
  .tackle-strip {
    min-height: 54px;
  }
  .welcome {
    padding: 23px 0 30px;
    margin-bottom: 7px;
  }
  .welcome h1 {
    font-size: clamp(4rem, 9vw, 5.7rem);
    margin: 11px 0 15px;
  }
  .welcome p:not(.start-status) {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .species-line {
    bottom: 8px;
  }
  .conditions {
    top: 13px;
  }
  .move-stick {
    bottom: max(26px, calc(14px + env(safe-area-inset-bottom)));
    width: 103px;
  }
  .stage.playing {
    --hud-inset: 11px;
  }
  .action {
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .fishing-actions { bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

#inventory-level {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.rank-card {
  padding: 14px 16px;
  margin-bottom: 15px;
  border: 1px solid #456568;
  border-radius: 8px;
  background: linear-gradient(115deg, #19373b, #12292f);
}
.rank-card > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.rank-level { color: var(--gold); font-weight: 700; }
.rank-xp { margin-left: auto; font-variant-numeric: tabular-nums; }
.rank-card small { color: #c4d4d1; }
.rank-card progress {
  appearance: none; display: block; width: 100%; height: 5px; margin: 11px 0 7px;
  background: #334c50; border: 0; border-radius: 4px; overflow: hidden;
}
.rank-card progress::-webkit-progress-bar { background: #334c50; }
.rank-card progress::-webkit-progress-value { background: #e4b975; }
.rank-card progress::-moz-progress-bar { background: #e4b975; }
.item-description { color: #d6e3df; line-height: 1.5; }
.release-notice {
  z-index: 3; display: flex; justify-content: center; align-items: center; gap: 12px;
  padding: 5px 10px; background: #22383a; color: #f5e0b2; font-size: .875rem;
}
.release-notice button {
  border: 1px solid #ae9562; border-radius: 5px; background: #2e3832; color: #fff2d4;
  min-height: 36px; padding: 4px 12px;
}
@media (max-width: 900px) {
  #inventory-level { display: none; }
}

.product-specs { border-top: 1px solid var(--edge); margin-top: 12px; }
.product-specs .comparison-label { font-size: .85rem; margin: 10px 0 0; color: #c2ceca; }
.product-specs dl { display: flex; gap: 10px 20px; flex-wrap: wrap; margin: 12px 0 2px; }
.product-specs dt { color: #abc0c0; font-size: .8rem; }
.product-specs dd { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9rem; margin: 4px 0; }

.product-reference { display: inline-block; margin-top: 15px; color: var(--accent); text-underline-offset: 3px; }

.conditions-link { background: transparent; color: var(--gold); border: 0; border-bottom: 1px dotted currentColor; padding: 2px 0; font: inherit; font-size: .68rem; letter-spacing: .08em; font-weight: 700; pointer-events: auto; }
.conditions-details section + section { border-top: 1px solid var(--edge); margin-top: 15px; }
.conditions-details a { color: var(--accent); }
@media (max-width: 570px) { .stage.playing .conditions-link { font-size: .55rem; } }

.clean-catch-option { display: block; width: 100%; margin: 8px 0; text-align: left; }

.inventory-panel, .shop-panel { width: min(750px, calc(100% - 24px)); }
.inventory-panel .rank-card { padding: 10px 14px; margin-bottom: 12px; }
.inventory-panel .rank-card progress { margin-block: 7px 4px; }
.inventory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.inventory-filters button {
  flex: 1 0 auto;
  min-height: 38px;
  padding: 6px 11px;
}
.inventory-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-block: 14px 10px;
}
.inventory-tools input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 7px 12px;
  border: 1px solid #466166;
  border-radius: 6px;
  background: #0c191d;
  color: var(--ink);
}
.inventory-tools input::placeholder { color: #a9bfbd; }
.inventory-tools [role="status"] { color: #bed0ca; font-size: .85rem; white-space: nowrap; }
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 137px), 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.inventory-grid li { min-width: 0; }
.inventory-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  text-align: start;
  border: 1px solid #496465;
  border-radius: 8px;
  background: radial-gradient(ellipse at 55% 34%, #324e53, #192e33 66%, #122227);
}
.inventory-tile:hover, .inventory-tile:focus-visible { border-color: #93c9bf; }
.inventory-tile:has(.inventory-equipped) { border-color: #af996d; }
.inventory-picture {
  position: absolute;
  inset: 2px 0 auto;
  margin-inline: auto;
  height: calc(100% - 42px);
  aspect-ratio: 1;
  background-image: url("./assets/inventory-atlas.webp?v=7142970807890a84");
  background-size: 1000% 1000%;
  background-repeat: no-repeat;
}
.inventory-tile-meta {
  position: absolute;
  inset: 6px 6px auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  font-size: .77rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.inventory-tile-meta > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 6px;
  background: #0b1a1eea;
  border-radius: 4px;
}
.inventory-tile-meta .inventory-equipped { color: #241e17; background: #e8bc7a; padding: 2px 4px; }
.inventory-equipped svg { width: 15px; height: 15px; stroke-width: 2.5; }
.inventory-tile-name {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  background: #102125eb;
  border-top: 1px solid #74928c38;
  font-size: .85rem;
  line-height: 1.17;
  overflow-wrap: anywhere;
}
.inventory-empty { padding: 16px; border: 1px dashed #597473; border-radius: 6px; }
.inventory-back { margin-bottom: 14px; }
.inventory-detail-meta, .inventory-detail-actions { display: flex; align-items: center; gap: 10px; }
.inventory-detail-meta { justify-content: space-between; margin-bottom: 8px; color: #b3cbc6; font-size: .875rem; }
.inventory-detail-meta strong { color: var(--gold); }
.inventory-detail-actions { margin-block: 10px; flex-wrap: wrap; }
.inventory-detail-actions p { margin: 0; }
.inventory-spools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
  padding: 12px;
  margin-block: 12px;
  border: 1px solid #405858;
  border-radius: 5px;
  font-size: .875rem;
}
.inventory-spools dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.inventory-panel .product-specs { margin-bottom: 14px; }
@media (max-width: 400px) {
  .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .inventory-filters button { padding-inline: 8px; }
}


.shop-tile .inventory-tile-meta > :first-child { color: #ffda9f; }
.shop-tile .inventory-picture { height: calc(100% - 59px); }
.shop-tile .inventory-tile-name {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 58px;
}
.shop-tile .inventory-tile-name small { color: #b3c7c5; font-size: .75rem; line-height: 1.18; }
.shop-detail-price strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }

.stage[data-phase="fight"] .fishing-actions { flex-direction: column; align-items: stretch; }
.stage[data-phase="fight"] .fishing-actions .action { max-width: none; }
.fight-brake {
  display: grid;
  grid-template-columns: 44px minmax(50px, auto) 44px;
  align-items: center;
  border: 1px solid #687e80;
  border-radius: 8px;
  background: #10232bf2;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fight-brake button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e6edea;
  font-size: 24px;
  touch-action: manipulation;
}
.fight-brake button:active { background: #324b52; }
.fight-brake button:disabled { opacity: .35; }
.fight-brake span { color: #a8bcb8; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.fight-brake strong { display: block; color: #fff1d6; font-size: 14px; letter-spacing: normal; text-transform: none; }
.fight-spool {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 6px;
  color: #bdcec9;
  font-size: 11px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.fight-spool strong { color: #ecf2ef; }
.spool-track { grid-column: 1 / -1; overflow: hidden; height: 3px; border-radius: 3px; background: #435656; }
.spool-track i { display: block; width: var(--remaining, 100%); height: 100%; background: #98b3b0; }
.fight-spool[data-low] strong { color: #ffad8b; }
.fight-spool[data-low] .spool-track i { background: #ef987d; }
.fight-info { font-variant-numeric: tabular-nums; }
.stage[data-phase="landing"] .fishing-actions {
  flex-direction: column;
  align-items: stretch;
  width: min(220px, 52vw);
}
.landing-methods { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.landing-methods button { flex: 1 1 auto; min-height: 38px; padding: 6px 9px; }
.landing-sight {
  color: #e6eeeb;
  background: #10252de8;
  border: 1px solid #55767b;
  border-radius: 8px;
  padding: 8px 12px 6px;
  font-size: 12px;
  text-align: center;
}
.landing-track {
  display: block;
  height: 38px;
  margin: 2px 4px 5px;
  background: linear-gradient(0deg, #27444a, #3d575c);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.landing-track i, .landing-track b { position: absolute; transform: translate(-50%, -50%); }
.landing-track i { left: 50%; top: 50%; width: var(--target-width); height: 34%; border: 1px solid #c2dbd4; border-radius: 50%; background: #76a69955; }
.landing-track b { left: var(--fish-position); top: var(--fish-fore,50%); width: 7px; height: 7px; background: #ffd185; border-radius: 50%; box-shadow: 0 0 0 1px #23393a; }
.landing-sight[data-in-reach] { border-color: #e9bd79; }
@media (max-height: 510px) {
  .stage[data-phase="landing"] .fishing-actions { width: min(235px, 39vw); gap: 4px; }
  .landing-methods button { min-height: 31px; }
  .landing-sight { padding-block: 2px; }
}

.inventory-picture.bucket-picture {
  background-image: url("./assets/flow-troll.webp?v=aa15368916cebbd4");
  background-size: contain;
  background-position: center;
}
.king-panel-heading { display: grid; gap: .32rem; padding: .15rem 0 .7rem; }
.king-panel-heading small, .king-kit small { color: #a9c2c0; letter-spacing: .07em; font-size: .71rem; }
.king-panel-heading strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.65rem; }
.king-kit { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: .6rem; }
.king-kit > div { display: grid; gap: .32rem; padding: .75rem; border: 1px solid #405858; border-radius: .5rem; }
.king-kit strong { font-size: .88rem; }
.king-station-link[data-running] { color: #1c291e; background: #edc678; }
.stage[data-phase="caught"] .fishing-actions { flex-wrap: wrap; justify-content: end; max-width: min(520px,60%); }
@media(max-width:700px) {
  .stage[data-phase="caught"] .fishing-actions { flex-direction:column; align-items:stretch; gap:4px; }
  .king-station-link { min-height: 40px; }
}

.inventory-picture.flounder-jig-picture {
  background-image: url("./assets/flounder-jigs.webp?v=0124266b3bd48fb3");
  background-size: 200% 100%;
}
.inventory-picture.king-tackle-picture {
  background-image: url("./assets/king-tackle.webp?v=d65d8af044df5479");
  background-size: 400% 400%;
}
.king-outfit-picker { display: grid; gap: .55rem; margin: .8rem 0; }
.king-outfit-picker label { display: grid; gap: .3rem; font-weight: 600; }
.king-outfit-picker select { width: 100%; max-width: 100%; padding: .55rem; font: inherit; }
