:root {
  color-scheme: dark;
  --ink: #edfaff;
  --muted: #9cc5d5;
  --deep: #061923;
  --panel: rgba(7, 38, 54, 0.88);
  --panel-strong: rgba(9, 57, 75, 0.96);
  --line: rgba(133, 228, 255, 0.22);
  --aqua: #56e0ff;
  --teal: #42f2bd;
  --gold: #ffd36c;
  --danger: #ff7285;
  --coral: #ff7aa8;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --soft-glow: 0 0 32px rgba(86, 224, 255, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(86, 224, 255, 0.3), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(255, 122, 168, 0.12), transparent 20rem),
    radial-gradient(circle at 82% 88%, rgba(66, 242, 189, 0.2), transparent 24rem),
    linear-gradient(155deg, #03141e 0%, #073549 47%, #041923 100%);
  color: var(--ink);
  animation: ocean-shift 18s ease-in-out infinite alternate;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.18;
  background:
    radial-gradient(circle at 12% 24%, rgba(237, 250, 255, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 34%, rgba(237, 250, 255, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 82%, rgba(237, 250, 255, 0.22) 0 2px, transparent 3px);
  background-size: 180px 260px;
  animation: bubbles 18s linear infinite;
}

@keyframes ocean-shift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 18px -28px, -24px 18px, 0 0;
  }
}

@keyframes bubbles {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 -260px;
  }
}

button {
  position: relative;
  border: 0;
  font: inherit;
  touch-action: manipulation;
  transform: translateY(0) scale(1);
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
  will-change: transform;
}

button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.08);
}

button:active:not(:disabled) {
  transform: translateY(1px) scale(0.975);
  filter: brightness(0.96);
  transition-duration: 80ms;
}

button:active:not(:disabled)::before {
  opacity: 0.18;
}

button:focus-visible {
  outline: 2px solid rgba(66, 242, 189, 0.72);
  outline-offset: 3px;
  box-shadow:
    0 0 0 5px rgba(66, 242, 189, 0.12),
    0 0 22px rgba(66, 242, 189, 0.22);
}

button:disabled {
  transform: none;
  filter: none;
  will-change: auto;
}

.menu-button.primary,
.rebirth-button,
.game-select-button,
.building,
.upgrade,
.skin-card,
.chat-form button,
.profile-form button,
.frenzy-actions button:first-child {
  overflow: hidden;
}

.menu-button::before,
.rebirth-button::before,
.game-select-button::before,
.building::before,
.upgrade::after,
.skin-card::before,
.chat-form button::before,
.profile-form button::before,
.frenzy-actions button::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(237, 250, 255, 0.22), transparent 58%);
  content: "";
  opacity: 0;
  transition: opacity 140ms ease;
}

.menu-button.primary::after,
.rebirth-button::after,
.game-select-button::after,
.chat-form button::after,
.profile-form button::after,
.frenzy-actions button:first-child::after {
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 46%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 520ms ease;
}

.menu-button.primary:hover::after,
.rebirth-button:hover::after,
.game-select-button:hover::after,
.chat-form button:hover::after,
.profile-form button:hover::after,
.frenzy-actions button:first-child:hover::after {
  left: 120%;
}

body.reduced-motion *,
body.reduced-motion *::before,
body.reduced-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

body.reduced-motion button {
  transform: none !important;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 30%, rgba(86, 224, 255, 0.18), transparent 22rem),
    rgba(2, 13, 20, 0.96);
}

.auth-gate.hidden {
  display: none;
}

.auth-card {
  display: grid;
  width: min(100%, 420px);
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(133, 228, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7, 45, 63, 0.96), rgba(2, 18, 27, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.auth-card img {
  width: 54px;
  height: 54px;
}

.auth-card h1 {
  font-size: clamp(2.1rem, 8vw, 3.4rem);
}

.auth-copy,
.auth-message {
  color: var(--muted);
  font-weight: 800;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-tabs button {
  min-height: 42px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.22);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.52);
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
}

.auth-tabs button.active {
  border-color: rgba(255, 211, 108, 0.68);
  color: var(--gold);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label,
.auth-form span {
  display: grid;
  gap: 6px;
}

.auth-form span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background: rgba(1, 12, 18, 0.75);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  padding: 0 12px;
}

.text-button {
  width: fit-content;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  justify-self: center;
  text-transform: uppercase;
}

.text-button:hover {
  color: var(--gold);
}

.auth-message {
  min-height: 1.3em;
}

.auth-message.error {
  color: var(--danger);
}

.auth-message.success {
  color: var(--teal);
}

.main-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: block;
  padding: 0;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(86, 224, 255, 0.12), transparent 42%),
    linear-gradient(155deg, #02131d 0%, #073247 48%, #031620 100%);
}

.main-menu.hidden {
  display: none;
}

.menu-ocean {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 18%, rgba(86, 224, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 72% 78%, rgba(255, 211, 108, 0.1), transparent 24rem),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 45%, rgba(66, 242, 189, 0.12) 45% 55%, transparent 55%),
    rgba(3, 25, 37, 0.88);
  background-size: auto, auto, 52px 52px, 52px 52px, auto, auto;
  box-shadow: none;
}

.menu-ocean::before,
.menu-ocean::after {
  position: absolute;
  right: -10%;
  left: -10%;
  height: 18vh;
  content: "";
  opacity: 0.18;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 44px,
    rgba(86, 224, 255, 0.32) 45px 48px,
    transparent 49px 92px
  );
}

.menu-ocean::before {
  top: 13%;
  transform: rotate(-4deg);
}

.menu-ocean::after {
  bottom: 11%;
  transform: rotate(4deg);
}

.menu-topline {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1180px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-topline strong {
  color: var(--gold);
}

.menu-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#menuAccountName {
  max-width: 220px;
  overflow: hidden;
  padding: 7px 10px;
  border: 1px solid rgba(66, 242, 189, 0.32);
  border-radius: 999px;
  color: var(--teal);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-fish {
  position: absolute;
  right: clamp(-140px, -8vw, -40px);
  bottom: clamp(120px, 15vh, 220px);
  width: min(70vw, 760px);
  opacity: 0.22;
  filter: blur(1px) drop-shadow(0 30px 42px rgba(0, 0, 0, 0.4));
  transform: rotate(-7deg);
  animation: menu-fish-drift 7s ease-in-out infinite;
}

@keyframes menu-fish-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-18px) rotate(-5deg);
  }
}

.menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 560px);
  flex-direction: column;
  align-items: stretch;
  justify-self: start;
  margin-left: clamp(18px, 10vw, 140px);
  padding: 18px clamp(18px, 4vw, 42px);
  text-align: left;
  animation: menu-content-in 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes menu-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-leaderboard {
  position: absolute;
  right: clamp(24px, 6vw, 120px);
  top: 18%;
  z-index: 2;
  width: min(34vw, 420px);
  min-height: 340px;
  padding: 18px;
  border: 1px solid rgba(66, 242, 189, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 48, 65, 0.68), rgba(1, 13, 20, 0.58)),
    rgba(2, 18, 27, 0.46);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.22),
    var(--soft-glow);
}

.leaderboard-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid rgba(133, 228, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 24, 35, 0.76);
  color: var(--muted);
  font-weight: 850;
}

.leaderboard-list li.current-player {
  border-color: rgba(255, 213, 90, 0.72);
  background: linear-gradient(90deg, rgba(255, 213, 90, 0.18), rgba(66, 242, 189, 0.1));
  box-shadow: 0 0 22px rgba(255, 213, 90, 0.1);
}

.leaderboard-rank {
  color: var(--gold);
  font-weight: 950;
}

.leaderboard-name {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: var(--ink);
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-name:hover {
  color: var(--gold);
}

.leaderboard-fish {
  color: var(--teal);
}

.menu-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pearl-coast-logo {
  position: absolute;
  top: 52%;
  left: 55%;
  z-index: 2;
  width: min(25vw, 340px);
  object-fit: contain;
  filter:
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 30px rgba(255, 211, 108, 0.22));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 1500px) {
  .pearl-coast-logo {
    display: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.menu-content h1 {
  margin-top: 8px;
  font-size: clamp(3.2rem, 7.2vw, 6.3rem);
  line-height: 0.88;
  text-shadow: 0 0 34px rgba(86, 224, 255, 0.42);
}

.menu-content h1 span {
  display: block;
}

.menu-subtitle {
  margin: 12px 0 18px;
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
}

.menu-screen {
  display: none;
}

.menu-screen.active {
  display: grid;
  gap: 10px;
}

.menu-screen h2 {
  margin-bottom: 6px;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 48px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 48, 65, 0.86), rgba(2, 18, 27, 0.84)),
    rgba(3, 24, 35, 0.84);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.menu-button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(86, 224, 255, 0.7);
  background: linear-gradient(135deg, rgba(13, 91, 114, 0.92), rgba(5, 37, 52, 0.9));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.menu-button.primary {
  border-color: rgba(255, 211, 108, 0.8);
  background: linear-gradient(135deg, rgba(255, 211, 108, 0.34), rgba(66, 242, 189, 0.24));
  box-shadow: 0 0 28px rgba(255, 211, 108, 0.2);
}

.menu-button.locked-menu-button {
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 16px;
  cursor: not-allowed;
  border-color: rgba(133, 228, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(8, 48, 65, 0.52), rgba(2, 18, 27, 0.78)),
    rgba(3, 24, 35, 0.78);
  color: rgba(237, 250, 255, 0.62);
  opacity: 0.82;
}

.menu-button.locked-menu-button span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 211, 108, 0.38);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.game-select-button {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 14px;
  cursor: pointer;
  border: 1px solid rgba(66, 242, 189, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(66, 242, 189, 0.18), rgba(86, 224, 255, 0.1));
  color: var(--ink);
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.game-select-button:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(255, 211, 108, 0.72);
  background: linear-gradient(135deg, rgba(255, 211, 108, 0.18), rgba(86, 224, 255, 0.12));
}

.game-select-button strong,
.game-select-button span {
  display: block;
}

.game-select-button strong {
  font-size: 1.05rem;
}

.game-select-button span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.menu-button.danger {
  border-color: rgba(255, 114, 133, 0.62);
  background: rgba(90, 18, 30, 0.72);
}

.menu-button.admin-only {
  border-color: rgba(255, 211, 108, 0.58);
  background: linear-gradient(135deg, rgba(255, 211, 108, 0.22), rgba(5, 34, 49, 0.84));
}

.discord-icon-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(88, 101, 242, 0.72);
  border-radius: 14px;
  background: rgba(88, 101, 242, 0.16);
  color: #5865f2;
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.16);
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.discord-icon-link:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(142, 151, 255, 0.98);
  background: rgba(88, 101, 242, 0.28);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.28);
}

.discord-icon-link:active {
  transform: translateY(1px) scale(0.96);
}

.discord-icon-link svg {
  width: 27px;
  height: 21px;
  fill: currentColor;
}

.admin-panel {
  display: grid;
  gap: 10px;
}

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

.setting-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.58);
  color: var(--ink);
  font-weight: 850;
}

.setting-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
}

.skin-settings {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(133, 228, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.46);
}

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

.skin-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  min-height: 104px;
  padding: 12px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, var(--skin-glow, rgba(86, 224, 255, 0.18)), transparent 5rem),
    linear-gradient(135deg, rgba(7, 45, 61, 0.92), rgba(1, 13, 20, 0.86));
  color: var(--ink);
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.skin-card.equipped {
  border-color: rgba(66, 242, 189, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(66, 242, 189, 0.24),
    0 0 26px rgba(66, 242, 189, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.skin-card.owner-skin {
  border-color: rgba(255, 211, 108, 0.5);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 211, 108, 0.24), transparent 5rem),
    linear-gradient(135deg, rgba(88, 58, 7, 0.92), rgba(1, 13, 20, 0.86));
}

.skin-card.owner-skin.equipped {
  border-color: rgba(255, 211, 108, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 211, 108, 0.3),
    0 0 34px rgba(255, 211, 108, 0.28);
}

.skin-card:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(255, 211, 108, 0.58);
}

.skin-card:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.skin-preview {
  position: relative;
  display: block;
  width: 64px;
  height: 44px;
  align-self: center;
  border-radius: 50% 58% 54% 46%;
  background:
    radial-gradient(circle at 70% 33%, rgba(255, 255, 255, 0.9) 0 4%, transparent 5%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 30%),
    var(--skin-base, #56e0ff);
  box-shadow:
    inset -14px -8px 0 rgba(0, 0, 0, 0.18),
    inset 10px 8px 0 rgba(255, 255, 255, 0.1),
    0 0 22px var(--skin-glow, rgba(86, 224, 255, 0.26));
  animation: skin-preview-swim 2.8s ease-in-out infinite;
}

.skin-preview::before {
  position: absolute;
  top: 12px;
  left: -16px;
  width: 24px;
  height: 22px;
  clip-path: polygon(100% 50%, 0 0, 12% 50%, 0 100%);
  background: inherit;
  content: "";
}

.skin-preview::after {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #031620;
  box-shadow:
    -25px 16px 0 -4px rgba(255, 255, 255, 0.48),
    -10px 26px 0 -5px rgba(255, 255, 255, 0.36);
  content: "";
}

@keyframes skin-preview-swim {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-3px) rotate(1.5deg);
  }
}

.skin-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.skin-copy strong,
.skin-copy small,
.skin-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skin-copy strong {
  font-size: 0.84rem;
}

.skin-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.skin-copy em {
  color: var(--gold);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
}

.skin-lock {
  position: absolute;
  right: 7px;
  bottom: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.skin-card.equipped .skin-lock {
  color: var(--teal);
}

.skin-classic {
  --skin-base: linear-gradient(135deg, #8df3ff 0%, #22b6df 45%, #1372c4 100%);
  --skin-glow: rgba(86, 224, 255, 0.34);
}

.skin-sunset {
  --skin-base: linear-gradient(135deg, #ffe08c, #ff6d8a 58%, #5cd9ff);
  --skin-glow: rgba(255, 139, 92, 0.42);
}

.skin-kelp {
  --skin-base: radial-gradient(circle at 34% 50%, rgba(255, 255, 255, 0.24) 0 5%, transparent 6%), linear-gradient(135deg, #7dffb4, #087b68 58%, #053c34);
  --skin-glow: rgba(66, 242, 189, 0.36);
}

.skin-coral {
  --skin-base: radial-gradient(circle at 30% 35%, #fff0a8 0 8%, transparent 9%), radial-gradient(circle at 70% 60%, #ffe3f1 0 7%, transparent 8%), radial-gradient(circle at 46% 72%, #ff4f9a 0 5%, transparent 6%), linear-gradient(135deg, #ff7aa8, #ffb86c);
  --skin-glow: rgba(255, 122, 168, 0.42);
}

.skin-storm {
  --skin-base: linear-gradient(90deg, #d8f3ff, #627386 52%, #0a263d);
  --skin-glow: rgba(216, 243, 255, 0.34);
}

.skin-gold {
  --skin-base: linear-gradient(135deg, #fff7bb, #ffd36c 48%, #b86f12);
  --skin-glow: rgba(255, 211, 108, 0.58);
}

.skin-abyss {
  --skin-base: radial-gradient(circle at 68% 38%, #42f2bd 0 7%, transparent 8%), linear-gradient(135deg, #061224, #162069 60%, #40d6ff);
  --skin-glow: rgba(64, 214, 255, 0.42);
}

.skin-pearl {
  --skin-base: linear-gradient(135deg, #ffffff, #b5f7ff 42%, #d8c9ff);
  --skin-glow: rgba(237, 250, 255, 0.5);
}

.skin-neon {
  --skin-base: radial-gradient(circle at 28% 40%, #00ffd5, transparent 18%), radial-gradient(circle at 62% 62%, #ff4fd8, transparent 20%), linear-gradient(135deg, #00aefc, #ffe85f);
  --skin-glow: rgba(255, 79, 216, 0.48);
}

.skin-royal {
  --skin-base: radial-gradient(circle at 72% 35%, #ffd36c 0 7%, transparent 8%), linear-gradient(135deg, #7b4dff, #190637);
  --skin-glow: rgba(123, 77, 255, 0.56);
}

.skin-owner-crown {
  --skin-base: radial-gradient(circle at 64% 28%, #ffffff 0 6%, transparent 7%), linear-gradient(135deg, #fff7bd, #ffbf28 48%, #7b3f00);
  --skin-glow: rgba(255, 211, 108, 0.78);
}

.admin-panel .setting-row {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.admin-panel input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.72);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.admin-panel input:focus {
  outline: 2px solid rgba(66, 242, 189, 0.4);
  outline-offset: 2px;
}

.credits-list {
  display: grid;
  gap: 10px;
}

.credits-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.58);
}

.credits-list span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.credits-list strong {
  color: var(--gold);
}

.menu-status {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1180px);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 56px) 8px;
}

.menu-status p {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid rgba(133, 228, 255, 0.32);
  background: rgba(2, 18, 27, 0.34);
}

.menu-status span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-status strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.ticker {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  min-height: 34px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(133, 228, 255, 0.26);
  background: rgba(2, 18, 27, 0.94);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.update-badge {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: stretch;
  min-width: max-content;
  place-items: center;
  padding: 0 16px;
  border-right: 1px solid rgba(133, 228, 255, 0.26);
  background: linear-gradient(135deg, rgba(66, 242, 189, 0.2), rgba(255, 211, 108, 0.12));
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker span {
  display: inline-block;
  min-width: 100%;
  padding-left: 36px;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.command-bar {
  position: fixed;
  top: 46px;
  right: 14px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
}

.command-bar button,
.save-status {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(133, 228, 255, 0.38);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.78);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.command-bar button {
  cursor: pointer;
}

.save-status {
  display: grid;
  place-items: center;
  color: var(--teal);
}

.command-bar button:hover {
  border-color: rgba(255, 211, 108, 0.72);
}

.game-shell {
  display: flex;
  width: 100%;
  height: calc(100dvh - 34px);
  min-height: 760px;
  overflow: hidden;
}

.panel {
  min-width: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 63, 84, 0.28), transparent 14rem),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset -1px 0 0 rgba(255, 255, 255, 0.02);
  animation: panel-rise 520ms ease both;
  scrollbar-color: rgba(66, 242, 189, 0.54) rgba(2, 18, 27, 0.58);
}

.panel::-webkit-scrollbar,
.main-menu::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
  width: 10px;
}

.panel::-webkit-scrollbar-track,
.main-menu::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
  background: rgba(2, 18, 27, 0.58);
}

.panel::-webkit-scrollbar-thumb,
.main-menu::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
  border: 2px solid rgba(2, 18, 27, 0.58);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(86, 224, 255, 0.66), rgba(66, 242, 189, 0.66));
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.left-panel {
  display: flex;
  flex: 0 0 32%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 22px 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(86, 224, 255, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(8, 55, 75, 0.96), rgba(3, 28, 41, 0.94));
  text-align: center;
}

.middle-panel {
  flex: 1 1 44%;
  padding: 18px 18px 22px;
  background:
    linear-gradient(180deg, rgba(7, 45, 60, 0.88), rgba(3, 25, 36, 0.9)),
    rgba(5, 28, 40, 0.82);
}

.right-panel {
  flex: 0 0 24%;
  padding: 72px 18px 22px;
  border-right: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 211, 108, 0.11), transparent 15rem),
    linear-gradient(180deg, rgba(6, 46, 62, 0.9), rgba(3, 23, 34, 0.92));
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-fish {
  width: 48px;
  height: 48px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

h2 {
  font-size: 1.35rem;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-header p {
  max-width: 23ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: right;
}

.panel-header.compact p {
  max-width: 19ch;
}

.stats-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 400px);
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(86, 224, 255, 0.4);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 63, 86, 0.9), rgba(8, 36, 51, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(86, 224, 255, 0.08),
    0 18px 52px rgba(0, 0, 0, 0.2);
}

.stats-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.09) 45%, transparent 54%),
    radial-gradient(circle at 80% 20%, rgba(255, 211, 108, 0.12), transparent 7rem);
  content: "";
  opacity: 0.72;
}

.stat-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fish-count {
  position: relative;
  margin-top: 6px;
  font-size: clamp(2.5rem, 5.2vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 26px rgba(86, 224, 255, 0.35);
}

.fps-count,
.click-power {
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.mini-stats {
  display: grid;
  width: min(100%, 400px);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.mini-stats div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(133, 228, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.44);
}

.mini-stats span,
.mini-stats strong {
  display: block;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-stats strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.02rem;
}

.shop-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid rgba(133, 228, 255, 0.14);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.58);
}

.shop-tabs button {
  min-height: 58px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.26);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.62);
  color: var(--muted);
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.shop-tabs button.active {
  border-color: rgba(255, 211, 108, 0.76);
  background: linear-gradient(135deg, rgba(255, 211, 108, 0.24), rgba(66, 242, 189, 0.16));
  color: var(--teal);
}

.harbor-shop-section {
  display: none;
}

.harbor-shop-section.active {
  display: block;
}

.buy-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.buy-controls button {
  min-height: 38px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.46);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 950;
}

.buy-controls button.active {
  border-color: rgba(255, 211, 108, 0.7);
  background: rgba(255, 211, 108, 0.14);
  color: var(--gold);
}

.click-power {
  color: var(--gold);
  font-size: 0.95rem;
}

.big-fish-button {
  position: relative;
  display: grid;
  width: min(72%, 360px);
  aspect-ratio: 1 / 0.74;
  margin: 16px auto 14px;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 52%, rgba(237, 250, 255, 0.1) 0 10%, transparent 30%),
    radial-gradient(circle, rgba(86, 224, 255, 0.16) 0%, transparent 67%),
    transparent;
  transition:
    filter 160ms ease,
    transform 160ms ease;
  animation: fish-idle 3.6s ease-in-out infinite;
}

.big-fish-button:hover {
  filter:
    drop-shadow(0 0 25px rgba(86, 224, 255, 0.55))
    saturate(1.08);
}

.big-fish-button:active,
.big-fish-button.pulse {
  transform: scale(0.94) rotate(-2deg);
}

.big-fish-button img {
  width: 100%;
  max-height: 100%;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    drop-shadow(0 24px 24px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 18px var(--skin-aura, rgba(86, 224, 255, 0.15)));
}

.big-fish-button[data-skin="gold"] {
  --skin-aura: rgba(255, 211, 108, 0.36);
}

.big-fish-button[data-skin="pearl"] {
  --skin-aura: rgba(237, 250, 255, 0.34);
}

.big-fish-button[data-skin="neon"] {
  --skin-aura: rgba(255, 79, 216, 0.32);
}

.big-fish-button[data-skin="royal"] {
  --skin-aura: rgba(123, 77, 255, 0.34);
}

.big-fish-button[data-skin="owner-crown"] {
  --skin-aura: rgba(255, 211, 108, 0.56);
}

.big-fish-button[data-skin="sunset"],
.big-fish-button[data-skin="coral"] {
  --skin-aura: rgba(255, 122, 168, 0.28);
}

.big-fish-button[data-skin="gold"] {
  --skin-aura: rgba(255, 211, 108, 0.34);
}

.big-fish-button[data-skin="abyss"],
.big-fish-button[data-skin="neon"],
.big-fish-button[data-skin="royal"] {
  --skin-aura: rgba(123, 77, 255, 0.28);
}

.big-fish-button[data-skin="pearl"] {
  --skin-aura: rgba(237, 250, 255, 0.32);
}

@keyframes fish-idle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

.big-fish-button.pulse::after {
  position: absolute;
  inset: 12%;
  border: 2px solid rgba(86, 224, 255, 0.45);
  border-radius: 50%;
  content: "";
  animation: sonar 520ms ease-out forwards;
}

@keyframes sonar {
  from {
    opacity: 0.8;
    transform: scale(0.72);
  }

  to {
    opacity: 0;
    transform: scale(1.28);
  }
}

.click-pop {
  position: fixed;
  z-index: 12;
  pointer-events: none;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 950;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  animation: click-pop 780ms ease-out forwards;
}

@keyframes click-pop {
  from {
    opacity: 1;
    transform: translate(-50%, -20%) scale(0.95);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -110%) scale(1.18);
  }
}

.lifetime-strip {
  display: flex;
  width: min(100%, 400px);
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(66, 242, 189, 0.08), transparent),
    rgba(2, 18, 27, 0.45);
  color: var(--muted);
}

.lifetime-strip strong {
  color: var(--ink);
}

.buff-strip {
  display: flex;
  width: min(100%, 400px);
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 211, 108, 0.48);
  border-radius: 8px;
  background: rgba(255, 211, 108, 0.1);
  color: var(--gold);
  font-weight: 900;
}

.building-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.harbor-gear {
  margin-bottom: 16px;
}

.subsection-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 10px;
}

.subsection-title h2 {
  font-size: 1rem;
}

.subsection-title span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tap-upgrade-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.fleet-upgrade-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(133, 228, 255, 0.18);
}

.tap-upgrade-list .upgrade {
  min-height: 126px;
  background: linear-gradient(135deg, rgba(8, 58, 78, 0.94), rgba(4, 28, 38, 0.96));
}

.fleet-upgrade-list .upgrade {
  min-height: 126px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 211, 108, 0.12), transparent 6rem),
    linear-gradient(135deg, rgba(26, 66, 68, 0.94), rgba(4, 28, 38, 0.96));
}

.tap-upgrade-list .upgrade.affordable {
  border-color: rgba(66, 242, 189, 0.82);
  box-shadow: 0 0 26px rgba(66, 242, 189, 0.16);
}

.fleet-upgrade-list .upgrade.affordable {
  border-color: rgba(255, 211, 108, 0.82);
  box-shadow: 0 0 26px rgba(255, 211, 108, 0.16);
}

.building {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 11px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.17);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 224, 255, 0.16), transparent 6rem),
    linear-gradient(135deg, rgba(12, 70, 93, 0.92), rgba(7, 31, 43, 0.96));
  color: var(--ink);
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.building:hover:not(:disabled) {
  border-color: rgba(66, 242, 189, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(66, 242, 189, 0.08),
    0 14px 26px rgba(0, 0, 0, 0.18);
}

.building::after {
  position: absolute;
  inset: auto 10px 7px 80px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(237, 250, 255, 0.09);
  content: "";
}

.building {
  position: relative;
}

.building-progress {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 80px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
}

.building-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
}

.building:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(86, 224, 255, 0.52);
}

.building:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.building.locked {
  filter: saturate(0.55);
}

.building.affordable {
  border-color: rgba(66, 242, 189, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(66, 242, 189, 0.14),
    0 0 18px rgba(66, 242, 189, 0.16);
  animation: affordable-glow 1.8s ease-in-out infinite alternate;
}

@keyframes affordable-glow {
  from {
    box-shadow:
      inset 0 0 0 1px rgba(66, 242, 189, 0.12),
      0 0 14px rgba(66, 242, 189, 0.1);
  }

  to {
    box-shadow:
      inset 0 0 0 1px rgba(66, 242, 189, 0.2),
      0 0 24px rgba(66, 242, 189, 0.2);
  }
}

.building img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.building-name {
  font-size: 1rem;
  font-weight: 900;
}

.building-meta,
.building-output {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.building-owned {
  min-width: 46px;
  color: rgba(237, 250, 255, 0.82);
  font-size: 2rem;
  font-weight: 900;
  text-align: right;
}

.prestige-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.prestige-box div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.42);
}

.prestige-box span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prestige-box strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.ocean-multiplier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(66, 242, 189, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(66, 242, 189, 0.12), rgba(86, 224, 255, 0.1));
}

.ocean-multiplier span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ocean-multiplier strong {
  color: var(--teal);
  font-size: 1.3rem;
}

.rebirth-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px 16px;
  cursor: pointer;
  border: 1px solid rgba(255, 211, 108, 0.6);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 211, 108, 0.22), rgba(86, 224, 255, 0.13));
  color: var(--ink);
  font-weight: 900;
}

.rebirth-button.unavailable {
  opacity: 0.52;
}

.rebirth-button small {
  color: var(--gold);
  font-weight: 800;
}

.rebirth-progress {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.4);
}

.rebirth-progress div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.rebirth-progress strong {
  color: var(--ink);
}

.progress-track {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(237, 250, 255, 0.1);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 180ms ease;
}

.upgrade-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.upgrade {
  position: relative;
  display: grid;
  min-height: 138px;
  padding: 22px 8px 9px;
  place-items: center;
  align-content: start;
  gap: 5px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -10%, rgba(86, 224, 255, 0.16), transparent 5rem),
    linear-gradient(180deg, rgba(5, 37, 52, 0.9), rgba(2, 18, 27, 0.9));
  color: var(--ink);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.upgrade::before {
  position: absolute;
  top: 5px;
  left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(86, 224, 255, 0.14);
  color: var(--muted);
  content: attr(data-tier);
  font-size: 0.56rem;
  font-weight: 950;
}

.upgrade:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(86, 224, 255, 0.56);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.upgrade:disabled {
  cursor: not-allowed;
  opacity: 0.44;
  transform: none;
}

.upgrade.affordable {
  border-color: rgba(255, 211, 108, 0.8);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 211, 108, 0.22), transparent 5rem),
    linear-gradient(180deg, rgba(7, 50, 61, 0.96), rgba(2, 18, 27, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 211, 108, 0.14),
    0 0 26px rgba(255, 211, 108, 0.22);
}

.upgrade.purchased {
  opacity: 0.35;
}

.upgrade img {
  width: 38px;
  height: 38px;
}

.upgrade-name,
.upgrade-effect {
  max-width: 100%;
  color: rgba(237, 250, 255, 0.9);
  font-weight: 850;
  text-align: center;
}

.upgrade-name {
  font-size: 0.78rem;
  line-height: 1.08;
}

.upgrade-effect {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.18;
}

.upgrade small {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.achievements {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.achievements h2 {
  margin-bottom: 10px;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.achievement {
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(133, 228, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 49, 66, 0.68), rgba(2, 18, 27, 0.52));
  opacity: 0.5;
}

.achievement.unlocked strong::before {
  color: var(--gold);
  content: "OK ";
}

.achievement.unlocked {
  border-color: rgba(255, 211, 108, 0.62);
  box-shadow: 0 0 18px rgba(255, 211, 108, 0.12);
  opacity: 1;
}

.achievement.unlocked strong::before {
  color: var(--gold);
  content: "OK ";
}

.achievement strong,
.achievement span {
  display: block;
}

.achievement strong {
  font-size: 0.82rem;
}

.achievement span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.contracts {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contracts h2 {
  margin-bottom: 10px;
}

.contract-list {
  display: grid;
  gap: 9px;
}

.contract {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(133, 228, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 211, 108, 0.08), transparent 6rem),
    rgba(2, 18, 27, 0.42);
}

.contract.claimable {
  border-color: rgba(255, 211, 108, 0.72);
  box-shadow: 0 0 22px rgba(255, 211, 108, 0.14);
}

.contract.claimed {
  opacity: 0.55;
}

.contract header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contract strong {
  font-size: 0.88rem;
}

.contract small,
.contract p {
  color: var(--muted);
}

.contract p {
  margin: 0;
  font-size: 0.78rem;
}

.contract button {
  min-height: 34px;
  cursor: pointer;
  border: 1px solid rgba(255, 211, 108, 0.42);
  border-radius: 8px;
  background: rgba(255, 211, 108, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.harbor-chat {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(66, 242, 189, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 242, 189, 0.16), transparent 13rem),
    radial-gradient(circle at 88% 100%, rgba(86, 224, 255, 0.1), transparent 12rem),
    linear-gradient(180deg, rgba(4, 42, 58, 0.86), rgba(1, 13, 20, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(133, 228, 255, 0.06),
    0 0 28px rgba(66, 242, 189, 0.08);
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.chat-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

#chatStatus {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(66, 242, 189, 0.38);
  border-radius: 999px;
  background: rgba(66, 242, 189, 0.12);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

#chatStatus::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(66, 242, 189, 0.8);
  content: "";
  vertical-align: 1px;
}

.chat-messages {
  display: grid;
  min-height: 340px;
  max-height: 46dvh;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(133, 228, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(1, 13, 20, 0.76);
  background-size: 100% 34px;
  scrollbar-color: rgba(66, 242, 189, 0.5) rgba(1, 13, 20, 0.7);
}

.chat-message {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(133, 228, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(5, 40, 56, 0.94), rgba(2, 18, 27, 0.92));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  animation: message-in 220ms ease both;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.mine {
  border-color: rgba(66, 242, 189, 0.62);
  background: linear-gradient(135deg, rgba(14, 74, 68, 0.92), rgba(2, 18, 27, 0.9));
}

.chat-message button {
  width: fit-content;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 950;
}

.chat-message button:hover {
  color: var(--teal);
}

.chat-message p,
.chat-empty {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chat-empty {
  color: var(--muted);
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(133, 228, 255, 0.18);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.58);
}

.chat-form input,
.profile-form input {
  min-height: 46px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(133, 228, 255, 0.32);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.88);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.chat-form input:focus,
.profile-form input:focus {
  outline: 2px solid rgba(66, 242, 189, 0.34);
  outline-offset: 2px;
}

.chat-form button,
.profile-form button {
  min-height: 46px;
  cursor: pointer;
  border: 1px solid rgba(66, 242, 189, 0.62);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(66, 242, 189, 0.22), rgba(86, 224, 255, 0.14));
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.chat-form button:disabled,
.chat-form input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 10, 15, 0.7);
  backdrop-filter: blur(8px);
}

.profile-modal[hidden] {
  display: none;
}

.profile-card {
  position: relative;
  display: grid;
  width: min(460px, 100%);
  max-height: min(760px, calc(100dvh - 36px));
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(66, 242, 189, 0.14), transparent 14rem),
    rgba(2, 18, 27, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.profile-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.24);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.72);
  color: var(--ink);
  font-weight: 950;
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 38px;
}

.profile-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.profile-heading p,
.profile-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.profile-stats p {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(133, 228, 255, 0.16);
  border-radius: 8px;
  background: rgba(1, 13, 20, 0.5);
}

.profile-stats span,
.profile-stats strong {
  display: block;
}

.profile-stats span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-stats strong {
  margin-top: 3px;
}

.profile-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 8px;
}

.profile-form label {
  display: grid;
  gap: 5px;
}

.profile-form span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-profile-actions {
  grid-template-columns: minmax(0, 1fr) 84px 84px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 211, 108, 0.22);
}

.contract button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.golden-fish {
  position: fixed;
  z-index: 10;
  width: 96px;
  height: 72px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 108, 0.36), transparent 68%);
  filter: drop-shadow(0 0 24px rgba(255, 211, 108, 0.8));
  animation: golden-bob 1.2s ease-in-out infinite alternate;
}

.golden-fish img {
  width: 100%;
  height: 100%;
}

.frenzy-game {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(86, 224, 255, 0.2), transparent 22rem),
    linear-gradient(180deg, #031620, #073247 52%, #020f17);
}

.frenzy-game[hidden] {
  display: none;
}

.frenzy-hud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, auto) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.72);
}

.frenzy-hud strong,
.frenzy-hud span {
  display: block;
}

.frenzy-hud > div > strong {
  font-size: 1.2rem;
}

.frenzy-hud span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.frenzy-stats {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 16px;
}

.frenzy-stats strong {
  color: var(--gold);
  font-size: 1rem;
}

.frenzy-actions {
  display: flex;
  gap: 8px;
}

.frenzy-actions button {
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  border: 1px solid rgba(133, 228, 255, 0.3);
  border-radius: 8px;
  background: rgba(4, 32, 45, 0.88);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.frenzy-actions button:first-child {
  border-color: rgba(255, 211, 108, 0.66);
  color: var(--gold);
}

.frenzy-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.frenzy-help span {
  padding: 8px 10px;
  border: 1px solid rgba(133, 228, 255, 0.18);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.46);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

#frenzyCanvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  touch-action: none;
  cursor: grab;
  border: 1px solid rgba(133, 228, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(4, 52, 72, 0.95), rgba(2, 16, 24, 0.98));
  box-shadow: inset 0 0 80px rgba(86, 224, 255, 0.08);
}

#frenzyCanvas:active {
  cursor: grabbing;
}

@keyframes golden-bob {
  from {
    transform: translateY(0) rotate(-4deg);
  }

  to {
    transform: translateY(-9px) rotate(5deg);
  }
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  pointer-events: none;
  border: 1px solid rgba(86, 224, 255, 0.35);
  border-radius: 8px;
  background: rgba(2, 18, 27, 0.94);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1280px) {
  .left-panel {
    flex-basis: 31%;
  }

  .middle-panel {
    flex-basis: 37%;
  }

  .right-panel {
    flex-basis: 32%;
  }
}

@media (max-width: 1180px) {
  .menu-content {
    justify-self: center;
    margin-left: 0;
    text-align: center;
  }

  .pearl-coast-logo {
    display: none;
  }

  .menu-subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .menu-fish {
    right: auto;
    bottom: 20%;
    width: min(92vw, 620px);
  }

  .menu-status {
    grid-template-columns: 1fr;
  }

  .menu-leaderboard {
    position: relative;
    top: auto;
    right: auto;
    width: min(100% - 36px, 560px);
    min-height: 0;
    margin: 0 auto 18px;
  }

  .game-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    height: auto;
    min-height: calc(100dvh - 34px);
    overflow: visible;
  }

  .left-panel {
    grid-row: span 2;
    min-height: calc(100dvh - 34px);
  }

  .middle-panel,
  .right-panel {
    min-width: 0;
  }

  .tap-upgrade-list,
  .fleet-upgrade-list,
  .upgrade-list {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
}

@media (max-width: 900px) {
  .game-shell {
    display: block;
  }

  .panel {
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .left-panel,
  .middle-panel,
  .right-panel {
    width: 100%;
    min-height: auto;
  }

  .left-panel {
    padding-top: 72px;
  }

  .big-fish-button {
    width: min(62vw, 340px);
  }

  .tap-upgrade-list,
  .fleet-upgrade-list,
  .upgrade-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    animation: none;
  }

  body::after {
    display: none;
  }

  .ticker {
    min-height: auto;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .update-badge {
    width: 100%;
    min-height: 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(133, 228, 255, 0.18);
  }

  .ticker span {
    min-height: 30px;
    padding-left: 16px;
    animation-duration: 18s;
  }

  .menu-ocean {
    width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    place-items: stretch;
  }

  .menu-topline {
    align-items: flex-start;
    flex-direction: row;
    padding: 18px;
  }

  .menu-top-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
    text-align: right;
  }

  .discord-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .pearl-coast-logo {
    position: absolute;
    top: 108px;
    right: 24px;
    left: auto;
    z-index: 3;
    display: block;
    width: 72px;
    opacity: 1;
    transform: none;
    filter:
      drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 18px rgba(255, 211, 108, 0.2));
  }

  .menu-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px;
    justify-content: center;
    text-align: center;
  }

  .menu-screen.active {
    gap: 10px;
  }

  .menu-content h1 {
    font-size: clamp(3rem, 16vw, 5rem);
    line-height: 0.9;
    overflow-wrap: anywhere;
  }

  .menu-subtitle {
    max-width: 24ch;
  }

  .menu-status {
    width: 100%;
    max-width: 100%;
    padding: 0 18px 18px;
  }

  .menu-leaderboard {
    width: calc(100% - 36px);
    padding: 12px;
  }

  .leaderboard-list li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .leaderboard-fish {
    grid-column: 2;
  }

  .admin-actions {
    grid-template-columns: 1fr;
  }

  .menu-status p {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 5px;
    padding: 12px;
  }

  .menu-status strong {
    width: 100%;
    text-align: left;
    font-size: 1rem;
  }

  .command-bar {
    top: 70px;
    right: 10px;
    left: 10px;
    justify-content: flex-end;
  }

  .command-bar button,
  .save-status {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .frenzy-game {
    padding: 10px;
  }

  .frenzy-hud {
    grid-template-columns: 1fr;
  }

  .frenzy-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .frenzy-actions {
    justify-content: space-between;
  }

  .game-shell {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .left-panel,
  .middle-panel,
  .right-panel {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .left-panel {
    padding-top: 114px;
  }

  .brand-row {
    gap: 8px;
  }

  .brand-fish {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }

  .panel-header {
    position: static;
    display: block;
  }

  .panel-header p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .prestige-box {
    grid-template-columns: 1fr;
  }

  .profile-stats,
  .profile-form,
  .admin-profile-actions {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-messages {
    min-height: 240px;
    max-height: 340px;
  }

  .stats-card {
    padding: 14px;
  }

  .fish-count {
    font-size: clamp(2.4rem, 18vw, 4.2rem);
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .big-fish-button {
    width: min(78vw, 320px);
    margin: 14px auto;
  }

  .buy-controls {
    position: sticky;
    top: 100px;
    z-index: 3;
    padding: 6px 0;
    background: rgba(5, 28, 40, 0.92);
  }

  .building {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .building img {
    width: 48px;
    height: 48px;
  }

  .building-owned {
    min-width: 34px;
    font-size: 1.45rem;
  }

  .building-name {
    font-size: 0.92rem;
  }

  .building-meta,
  .building-output {
    font-size: 0.76rem;
  }

  .tap-upgrade-list,
  .fleet-upgrade-list,
  .upgrade-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .upgrade {
    min-height: 132px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .achievement-list {
    grid-template-columns: 1fr;
  }

  .contract header {
    align-items: flex-start;
    flex-direction: column;
  }

  .toast {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .menu-content h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .menu-button,
  .game-select-button {
    min-height: 50px;
  }

  .menu-topline {
    gap: 8px;
  }

  .menu-fish {
    width: 115vw;
    opacity: 0.16;
  }

  .left-panel {
    padding-top: 112px;
  }

  .tap-upgrade-list,
  .fleet-upgrade-list,
  .upgrade-list {
    grid-template-columns: 1fr;
  }

  .skin-list {
    grid-template-columns: 1fr;
  }

  .frenzy-stats {
    grid-template-columns: 1fr;
  }
}
