/*! DeepSeek 深海游乐场 — consolidated stylesheet
 * Sections: game shell / site foundation / one-screen layout / dark theme / clean typography
 * Source order preserved for cascade correctness.
 */

/* ===== games.css ===== */
/* ============================================================
   DeepSeek 娣辨捣娓镐箰鍦?鈥?game shell & game UI
   ============================================================ */

.game-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 10, 24, 0.68);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.26s ease;
}

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

.game-overlay.is-open {
  opacity: 1;
}

.game-dialog {
  display: flex;
  flex-direction: column;
  width: min(1120px, 96vw);
  max-height: 94vh;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #07102a;
  color: #f2f6ff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.game-overlay.is-open .game-dialog {
  transform: translateY(0) scale(1);
}

.game-dialog--fish {
  width: min(1060px, 96vw);
}

.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
  min-height: 76px;
  padding: 13px 18px 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 10% 0%, rgba(77, 107, 254, 0.17), transparent 32%),
    #08122d;
}

.game-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.game-index {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.game-eyebrow {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(237, 244, 255, 0.4);
}

.game-identity h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
}

.game-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-best {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-right: 5px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: rgba(239, 245, 255, 0.38);
}

.game-best b {
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.game-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(241, 246, 255, 0.68);
  font-size: 9px;
  transition: background 0.2s ease, color 0.2s ease;
}

.game-tool:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.game-tool svg {
  width: 14px;
  height: 14px;
}

.game-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 248, 255, 0.72);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.game-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: rotate(5deg);
}

.game-close svg {
  width: 17px;
  height: 17px;
}

.game-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #06102a;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  min-height: 43px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #08122d;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  color: rgba(232, 241, 255, 0.36);
}

.game-footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-footer-right i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

/* ============================================================
   Jump game
   ============================================================ */

.jump-shell {
  position: relative;
  width: 100%;
  height: clamp(430px, 68vh, 690px);
  overflow: hidden;
  background: #071534;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.jump-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.jump-hud {
  position: absolute;
  z-index: 3;
  inset: 16px 18px auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.hud-panel {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 84px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(5, 15, 42, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  color: rgba(235, 243, 255, 0.42);
}

.hud-panel b {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hud-panel--best {
  min-width: 70px;
  margin-left: auto;
}

.hud-panel--best b {
  color: var(--lime);
  font-size: 17px;
}

.jump-combo {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--lime);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jump-combo.is-visible {
  opacity: 1;
}

.jump-power {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  width: 188px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(5, 15, 42, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.jump-power-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(235, 243, 255, 0.47);
}

.jump-power-head b {
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.jump-power-track {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.jump-power-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--lime) 65%, var(--coral));
  transition: width 0.04s linear;
}

.jump-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(5, 15, 42, 0.34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: rgba(240, 246, 255, 0.6);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.jump-hint i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.jump-hint.is-hidden {
  opacity: 0;
}

.jump-flash {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 30%;
  transform: translate(-50%, 8px) scale(0.94);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--lime);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
}

.jump-flash.is-visible {
  animation: flash-up 0.85s ease both;
}

@keyframes flash-up {
  0% { opacity: 0; transform: translate(-50%, 12px) scale(0.9); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1.04); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -17px) scale(1); }
}

.game-over {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 10, 28, 0.48);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.game-over.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.game-over__card {
  width: min(100%, 340px);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 107, 254, 0.24), transparent 40%),
    rgba(8, 19, 49, 0.92);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.35);
  text-align: center;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.game-over.is-visible .game-over__card {
  transform: translateY(0) scale(1);
}

.game-over__kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  color: var(--lime);
}

.game-over__card h3 {
  margin-top: 8px;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.game-over__score {
  margin: 17px 0 4px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.game-over__sub {
  color: rgba(231, 240, 255, 0.44);
  font-size: 10px;
}

.game-over__record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(220, 245, 108, 0.21);
  border-radius: 5px;
  background: rgba(220, 245, 108, 0.07);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

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

.game-over__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.game-over__actions button {
  flex: 1;
  height: 39px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.game-over__actions button:hover {
  transform: translateY(-1px);
}

.game-over__primary {
  background: var(--lime);
  color: var(--ink);
}

.game-over__primary:hover {
  background: #e9ff8a;
}

.game-over__secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(242, 247, 255, 0.7);
}

.game-over__secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Fish merge game
   ============================================================ */

.fish-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  height: clamp(520px, 72vh, 735px);
  min-height: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(44, 100, 144, 0.18), transparent 32%),
    #06102a;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.fish-side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 21px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 107, 254, 0.13), transparent 35%),
    rgba(8, 20, 47, 0.65);
}

.fish-side-kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(231, 241, 255, 0.34);
}

.fish-side-score {
  margin-top: 23px;
}

.fish-side-score span {
  display: block;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  color: rgba(231, 241, 255, 0.37);
}

.fish-side-score b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.fish-best-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: rgba(232, 241, 255, 0.33);
}

.fish-best-row b {
  color: var(--lime);
  font-weight: 600;
}

.fish-next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.fish-next-card > span {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(232, 241, 255, 0.38);
}

.fish-next-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.fish-next-preview .fish-next-dot {
  display: block;
  border-radius: 50%;
  box-shadow: inset -4px -5px 0 rgba(0, 0, 0, 0.07);
}

.fish-next-card b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.fish-howto {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fish-howto h3 {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(232, 241, 255, 0.33);
  font-weight: 500;
}

.fish-howto p {
  margin-top: 9px;
  color: rgba(233, 241, 255, 0.53);
  font-size: 10.5px;
  line-height: 1.8;
}

.fish-howto p b {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.fish-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 18px;
}

.fish-chain__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.03em;
  color: rgba(232, 241, 255, 0.35);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fish-chain__dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fish-chain__item.is-reached {
  border-color: rgba(220, 245, 108, 0.22);
  color: var(--lime);
  background: rgba(220, 245, 108, 0.055);
}

.fish-side-foot {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  color: rgba(232, 241, 255, 0.2);
}

.fish-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(75, 160, 192, 0.16), transparent 52%),
    linear-gradient(180deg, #07132d 0%, #061027 100%);
}

.fish-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(151, 216, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 216, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 42%, #000, transparent 78%);
}

.fish-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.fish-hud {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.fish-hud__tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: rgba(5, 15, 37, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(229, 241, 255, 0.45);
}

.fish-hud__tag i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.fish-combo {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 21%;
  opacity: 0;
  transform: translate(-50%, 8px);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--lime);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.fish-combo.is-visible {
  animation: combo-float 0.9s ease both;
}

@keyframes combo-float {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.9); }
  25% { opacity: 1; transform: translate(-50%, 0) scale(1.05); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -16px) scale(1); }
}

.fish-hint {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(5, 15, 37, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(232, 242, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.03em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fish-hint.is-hidden {
  opacity: 0;
}

.fish-hint b {
  color: var(--lime);
  font-weight: 500;
}

.fish-underwater {
  position: absolute;
  z-index: 0;
  right: 8%;
  top: 17%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.fish-underwater::before,
.fish-underwater::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.fish-underwater::before {
  top: -37px;
  left: -29px;
  width: 3px;
  height: 3px;
}

.fish-underwater::after {
  top: 56px;
  left: 21px;
}

/* mobile */

@media (max-width: 900px) {
  .game-dialog--fish {
    width: min(100%, 700px);
  }

  .fish-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: clamp(540px, 76vh, 760px);
  }

  .fish-side {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 10px 18px;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fish-side-kicker,
  .fish-howto,
  .fish-chain,
  .fish-side-foot {
    display: none;
  }

  .fish-side-score {
    margin-top: 0;
  }

  .fish-side-score span {
    font-size: 6px;
  }

  .fish-side-score b {
    margin-top: 0;
    font-size: 28px;
  }

  .fish-best-row {
    display: none;
  }

  .fish-next-card {
    justify-self: end;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .fish-next-card > span {
    display: none;
  }

  .fish-next-preview {
    width: 35px;
    height: 35px;
  }

  .fish-next-card b {
    font-size: 10px;
  }

  .fish-stage {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .game-overlay {
    padding: 8px;
  }

  .game-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 17px;
  }

  .game-topbar {
    min-height: 62px;
    padding: 9px 10px 9px 11px;
  }

  .game-index {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    font-size: 10px;
  }

  .game-eyebrow {
    font-size: 5.5px;
  }

  .game-identity h2 {
    font-size: 17px;
  }

  .game-best {
    display: none;
  }

  .game-tool {
    width: 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
  }

  .game-tool span {
    display: none;
  }

  .game-close {
    width: 32px;
    height: 32px;
  }

  .game-footer {
    min-height: 35px;
    padding: 8px 12px;
    font-size: 6.5px;
  }

  .game-footer-right {
    display: none;
  }

  .jump-shell {
    height: calc(100dvh - 121px);
    min-height: 480px;
    max-height: none;
  }

  .jump-hud {
    inset: 10px 10px auto;
  }

  .hud-panel {
    min-width: 71px;
    padding: 7px 9px;
    border-radius: 8px;
  }

  .hud-panel b {
    font-size: 20px;
  }

  .hud-panel--best {
    min-width: 60px;
  }

  .hud-panel--best b {
    font-size: 14px;
  }

  .jump-power {
    left: 10px;
    bottom: 12px;
    width: 152px;
    padding: 8px 10px;
  }

  .jump-hint {
    top: 88px;
    bottom: auto;
    padding: 7px 10px;
    font-size: 6.5px;
    white-space: nowrap;
  }

  .jump-flash {
    top: 24%;
    font-size: 23px;
  }

  .fish-shell {
    height: calc(100dvh - 121px);
    min-height: 490px;
    max-height: none;
  }

  .fish-hud {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .fish-hud .fish-hud__tag:last-child {
    display: none;
  }

  .fish-hint {
    bottom: 11px;
    font-size: 6.5px;
    white-space: nowrap;
  }

  .game-over__card {
    padding: 21px;
  }

  .game-over__score {
    font-size: 46px;
  }

  .game-over__card h3 {
    font-size: 21px;
  }
}

@media (max-width: 430px) {
  .fish-side {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .fish-next-preview {
    width: 30px;
    height: 30px;
  }

  .fish-next-card {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jump-flash.is-visible,
  .fish-combo.is-visible {
    animation-duration: 0.001ms !important;
  }
}

/* ============================================================
   Token 娑堟秷涔?   ============================================================ */

.tokens-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  height: clamp(540px, 70vh, 720px);
  min-height: 0;
  background:
    radial-gradient(circle at 88% 3%, rgba(75, 92, 255, 0.24), transparent 32%),
    radial-gradient(circle at 20% 100%, rgba(86, 205, 187, 0.13), transparent 34%),
    #06102a;
  color: #f4f8ff;
}

.tokens-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 14, 34, 0.52);
}

.tokens-side-kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(231, 241, 255, 0.35);
}

.tokens-score {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 19px;
}

.tokens-score span,
.tokens-best span {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: rgba(231, 241, 255, 0.4);
}

.tokens-score b {
  font-family: var(--font-display);
  font-size: 41px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tokens-best {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tokens-best b {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.tokens-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.tokens-stats div {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.tokens-stats span {
  display: block;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
  color: rgba(231, 241, 255, 0.38);
}

.tokens-stats b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 17px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tokens-goal {
  margin-top: 16px;
}

.tokens-goal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  color: rgba(231, 241, 255, 0.42);
}

.tokens-goal__head b {
  color: rgba(223, 245, 107, 0.76);
  font-size: 7px;
  font-weight: 600;
}

.tokens-goal__track {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.tokens-goal__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transition: width 0.35s ease;
}

.tokens-goal p {
  margin-top: 7px;
  font-size: 8.5px;
  line-height: 1.6;
  color: rgba(231, 241, 255, 0.32);
}

.tokens-legend {
  margin-top: 18px;
}

.tokens-legend__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(231, 241, 255, 0.34);
}

.tokens-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 8px 6px 0;
  font-size: 8.5px;
  color: rgba(231, 241, 255, 0.55);
}

.token-swatch {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.token-swatch--w { background: #4b5cff; }
.token-swatch--d { background: #56cdbb; }
.token-swatch--c { background: #ff7a61; }
.token-swatch--x { background: #a489ff; }
.token-swatch--p { background: #dff56b; }
.token-swatch--s { background: #ffd36e; }

.tokens-howto {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tokens-howto b {
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(231, 241, 255, 0.45);
}

.tokens-howto p {
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.7;
  color: rgba(231, 241, 255, 0.32);
}

.tokens-hint-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 34px;
  margin-top: 12px;
  padding: 0 10px;
  border: 1px solid rgba(223, 245, 107, 0.24);
  border-radius: 8px;
  background: rgba(223, 245, 107, 0.06);
  color: rgba(223, 245, 107, 0.82);
  font-size: 9px;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tokens-hint-button:hover {
  border-color: rgba(223, 245, 107, 0.5);
  background: rgba(223, 245, 107, 0.12);
}

.tokens-hint-button span {
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.tokens-side-foot {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.08em;
  color: rgba(231, 241, 255, 0.18);
}

.tokens-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 16px 20px 13px;
  overflow: hidden;
}

.tokens-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(141, 232, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(141, 232, 255, 0.014),
    0 0 0 180px rgba(141, 232, 255, 0.01);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tokens-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 566px);
  flex: 0 0 auto;
  padding: 0 2px;
}

.tokens-hud__tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: rgba(231, 241, 255, 0.35);
}

.tokens-hud__tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(223, 245, 107, 0.65);
}

.tokens-status {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.tokens-status--warn { color: var(--coral); }
.tokens-status--hot { color: #ffd36e; }
.tokens-status--lost { color: #ff8d79; }
.tokens-status--hint { color: var(--cyan); }

.tokens-board-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 12px 0;
}

.tokens-board {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
  width: min(100%, min(59vh, 540px));
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(141, 232, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 232, 255, 0.04) 1px, transparent 1px),
    rgba(5, 14, 34, 0.52);
  background-size: 28px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px rgba(0, 0, 0, 0.26);
  outline: none;
}

.tokens-board:focus-visible {
  outline: 2px solid rgba(223, 245, 107, 0.5);
  outline-offset: 5px;
}

.token-cell {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  border-radius: 11px;
  outline: none;
}

.token-cell:focus-visible .token-gem {
  box-shadow: 0 0 0 2px #07102a, 0 0 0 4px var(--lime);
}

.token-gem {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 14px rgba(8, 18, 40, 0.14),
    0 3px 7px rgba(0, 0, 0, 0.14);
  color: #fff;
  transition: transform 0.18s var(--ease-out, ease), box-shadow 0.18s ease, opacity 0.2s ease;
}

.token-gem::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 14%;
  width: 40%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(2px);
  transform: rotate(-18deg);
}

.token-glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: clamp(13px, 2.2vh, 22px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.token-name {
  position: relative;
  z-index: 1;
  font-size: 5.5px;
  letter-spacing: 0.09em;
  opacity: 0.66;
  transform: scale(0.9);
}

.token-gem--w { background: linear-gradient(145deg, #6d7bff, #3545e4); }
.token-gem--d { background: linear-gradient(145deg, #78e6d3, #2da994); color: #07211c; }
.token-gem--c { background: linear-gradient(145deg, #ff9a85, #e45139); }
.token-gem--x { background: linear-gradient(145deg, #bba4ff, #7b5ce8); }
.token-gem--p { background: linear-gradient(145deg, #efff9f, #bdd941); color: #1b2504; }
.token-gem--s { background: linear-gradient(145deg, #ffe49c, #eab73f); color: #2b2103; }

.token-gem--d .token-name,
.token-gem--p .token-name,
.token-gem--s .token-name {
  opacity: 0.52;
}

.token-cell:hover .token-gem {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 7px 14px rgba(0, 0, 0, 0.22);
}

.token-cell.is-selected .token-gem {
  transform: scale(0.9);
  box-shadow:
    0 0 0 2px #07102a,
    0 0 0 4px var(--lime),
    0 0 22px rgba(223, 245, 107, 0.34);
}

.token-cell.is-matched .token-gem {
  animation: token-pop 0.25s ease forwards;
}

@keyframes token-pop {
  0% { transform: scale(1); }
  42% { transform: scale(1.16) rotate(4deg); filter: brightness(1.5); }
  100% { transform: scale(0.1) rotate(-12deg); opacity: 0; }
}

.token-cell.is-entering .token-gem {
  animation: token-drop 0.34s var(--ease-out, ease) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes token-drop {
  from { opacity: 0; transform: translateY(-16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.token-cell.is-invalid .token-gem {
  animation: token-shake 0.32s ease;
}

@keyframes token-shake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-4px) rotate(-2deg); }
  48% { transform: translateX(4px) rotate(2deg); }
  74% { transform: translateX(-2px); }
}

.token-cell.is-hint .token-gem {
  animation: token-hint 0.9s ease-in-out infinite;
}

@keyframes token-hint {
  0%, 100% { box-shadow: 0 0 0 1px rgba(141, 232, 255, 0.22), 0 3px 7px rgba(0, 0, 0, 0.14); }
  50% { box-shadow: 0 0 0 3px rgba(141, 232, 255, 0.72), 0 0 20px rgba(141, 232, 255, 0.28); }
}

.tokens-combo {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  padding: 7px 12px;
  border: 1px solid rgba(223, 245, 107, 0.3);
  border-radius: 7px;
  background: rgba(5, 14, 34, 0.9);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, -8px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tokens-combo.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.tokens-combo--bonus {
  color: #07102a;
  background: var(--lime);
  border-color: var(--lime);
}

.tokens-combo--warn {
  color: var(--coral);
  border-color: rgba(255, 122, 97, 0.4);
}

.tokens-tip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(233, 242, 255, 0.4);
  font-size: 8.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tokens-tip b {
  color: rgba(233, 242, 255, 0.72);
  font-weight: 600;
}

.tokens-tip.is-hidden {
  opacity: 0;
  transform: translateY(4px);
}

.tokens-stage .game-over {
  background: rgba(5, 14, 34, 0.82);
}

@media (max-width: 980px) {
  .tokens-shell {
    grid-template-columns: 200px minmax(0, 1fr);
    height: clamp(500px, 69vh, 680px);
  }

  .tokens-side {
    padding: 18px 16px 13px;
  }

  .tokens-score b {
    font-size: 33px;
  }

  .tokens-legend {
    display: none;
  }

  .tokens-howto p {
    font-size: 8.5px;
  }

  .tokens-board {
    width: min(100%, min(57vh, 480px));
  }
}

@media (max-width: 760px) {
  .tokens-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .tokens-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "kicker kicker"
      "score moves"
      "best chain"
      "goal goal";
    gap: 0 16px;
    align-items: end;
    flex: 0 0 auto;
    padding: 12px 16px 11px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .tokens-side-kicker {
    grid-area: kicker;
    margin-bottom: 5px;
  }

  .tokens-score {
    grid-area: score;
    margin-top: 0;
  }

  .tokens-score b {
    font-size: 30px;
  }

  .tokens-best {
    grid-area: best;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 2px;
    padding-bottom: 0;
    border: 0;
  }

  .tokens-stats {
    display: contents;
  }

  .tokens-stats div {
    padding: 0;
    border: 0;
    background: none;
  }

  .tokens-stats div:first-child {
    grid-area: moves;
    text-align: right;
  }

  .tokens-stats div:last-child {
    grid-area: chain;
    text-align: left;
  }

  .tokens-stats span {
    display: inline;
    margin-right: 5px;
    font-size: 6px;
  }

  .tokens-stats b {
    display: inline;
    font-size: 16px;
  }

  .tokens-goal {
    grid-area: goal;
    margin-top: 4px;
  }

  .tokens-goal p,
  .tokens-legend,
  .tokens-howto,
  .tokens-hint-button,
  .tokens-side-foot {
    display: none;
  }

  .tokens-stage {
    flex: 1;
    justify-content: center;
    padding: 10px 12px 11px;
  }

  .tokens-hud {
    width: 100%;
  }

  .tokens-board-wrap {
    padding: 9px 0;
  }

  .tokens-board {
    width: min(100%, 92vw);
    gap: 4px;
    padding: 8px;
    border-radius: 16px;
  }

  .token-gem {
    border-radius: 8px;
  }

  .token-cell {
    border-radius: 8px;
  }

  .token-glyph {
    font-size: clamp(14px, 5vw, 22px);
  }

  .token-name {
    display: none;
  }

  .tokens-tip {
    font-size: 7.5px;
    padding: 5px 9px;
  }

  .tokens-combo {
    top: 4px;
    font-size: 9px;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .tokens-side {
    padding-top: 9px;
    padding-bottom: 8px;
  }

  .tokens-score b {
    font-size: 26px;
  }

  .tokens-goal {
    display: none;
  }

  .tokens-stage {
    padding-top: 6px;
  }

  .tokens-tip {
    display: none;
  }
}

/* ===== site.css ===== */
/* ============================================================
   DeepSeek 娣辨捣娓镐箰鍦?鈥?2026 visual system
   Light editorial shell 路 deep-sea arcade 路 signal desk
   ============================================================ */

:root {
  --paper: #f4f2ec;
  --paper-deep: #e9e5da;
  --paper-soft: #eeebe3;
  --card: #fffdf8;
  --ink: #101522;
  --ink-soft: #202838;
  --muted: #626a79;
  --muted-light: #8b92a0;
  --line: rgba(16, 21, 34, 0.12);
  --line-strong: rgba(16, 21, 34, 0.22);
  --blue: #4b5cff;
  --blue-deep: #2937d4;
  --blue-pale: #dfe2ff;
  --cyan: #8de8ff;
  --lime: #dff56b;
  --lime-deep: #bdd941;
  --navy: #07142e;
  --navy-soft: #0d1e43;
  --coral: #ff7a61;
  --cream: #fff9e9;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 26px 60px rgba(22, 30, 61, 0.13);
  --font-sans: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Arial Black", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1400px, calc(100% - 64px));
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 4% 3%, rgba(75, 92, 255, 0.075), transparent 28rem),
    radial-gradient(circle at 98% 8%, rgba(141, 232, 255, 0.13), transparent 30rem);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

svg {
  display: block;
}

p,
h1,
h2,
h3,
ol,
ul,
dl,
dd {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
b,
strong {
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(16, 21, 34, 0.16);
  border-bottom-color: rgba(16, 21, 34, 0.28);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  color: var(--muted);
}

.page-grain {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 18px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- shared type & controls ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--muted);
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--lime {
  color: var(--lime);
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: ping 2.8s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.55); opacity: 0.9; }
  72%, 100% { transform: scale(1.8); opacity: 0; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, box-shadow 0.25s ease;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: translateY(-2px);
}

.button--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 15px 32px rgba(75, 92, 255, 0.28);
}

.button--blue:hover {
  background: var(--blue-deep);
  box-shadow: 0 20px 38px rgba(75, 92, 255, 0.34);
}

.button--lime {
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 14px 28px rgba(9, 14, 25, 0.2);
}

.button--lime:hover {
  background: #000;
}

.button--hero {
  height: 56px;
  padding: 0 25px;
  border-radius: 15px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease-out);
}

.text-link:hover {
  color: var(--blue-deep);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link--large {
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.text-link__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out);
}

.text-link:hover .text-link__arrow {
  background: var(--ink);
  color: #fff;
  transform: translateX(3px);
}

.round-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.round-button:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
  transform: rotate(-4deg);
}

.round-button svg {
  width: 18px;
  height: 18px;
}

.sound-off-icon {
  display: none !important;
}

.sound-toggle[aria-pressed="false"] .sound-on-icon {
  display: none !important;
}

.sound-toggle[aria-pressed="false"] .sound-off-icon {
  display: block !important;
}

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.84);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
}

.masthead__inner {
  display: flex;
  align-items: center;
  width: var(--page);
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 9px 20px rgba(75, 92, 255, 0.26);
  transform: rotate(-3deg);
  transition: transform 0.35s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(3deg) translateY(-2px);
}

.brand-mark svg {
  width: 30px;
  height: 21px;
  color: #fff;
}

.brand-type {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

.brand-edition {
  margin-left: 2px;
  padding-left: 13px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(16, 21, 34, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.is-active {
  background: var(--ink);
  color: #fff;
}

.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(75, 92, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--blue-deep);
}

.main-nav a.is-active .nav-count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--lime);
}

.nav-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 97, 0.14);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.command-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 9px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.command-trigger:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.command-trigger svg {
  width: 15px;
  height: 15px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 21, 34, 0.13);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.header-cta svg {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
}

/* ---------- hero ---------- */

.hero-wrap {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 58px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  gap: clamp(32px, 4.4vw, 72px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8px 0 0;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.status-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(75, 92, 255, 0.25);
  border-radius: 999px;
  background: rgba(75, 92, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
}

.status-capsule .live-dot {
  color: var(--blue);
}

.hero-edition {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(62px, 7.3vw, 110px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.title-line {
  display: block;
}

.title-line--accent {
  position: relative;
  color: var(--blue);
  letter-spacing: -0.085em;
}

.title-line--accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 4%;
  width: 66%;
  height: 16%;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1.6deg);
  opacity: 0.9;
}

.title-dot {
  color: var(--coral);
  margin-left: 0.02em;
}

.hero-intro {
  max-width: 530px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 580px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.hero-stats dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.hero-stats b {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stats dd span {
  font-size: 9px;
  color: var(--muted-light);
}

.hero-stats__clock b {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* hero stage */

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 524px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 18%, rgba(75, 92, 255, 0.38), transparent 30%),
    radial-gradient(circle at 24% 86%, rgba(141, 232, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #081a3b 0%, #06122b 56%, #040d20 100%);
  box-shadow:
    0 40px 80px rgba(6, 14, 34, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f5f8ff;
  transform-style: preserve-3d;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.055;
  pointer-events: none;
}

.stage-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(235, 243, 255, 0.56);
}

.stage-bar__id {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
}

.stage-bar__id i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(223, 245, 107, 0.9);
}

.stage-bar__mode {
  color: rgba(235, 243, 255, 0.36);
}

.stage-visual {
  position: relative;
  z-index: 1;
  height: 424px;
  overflow: hidden;
  transform: perspective(900px) rotateX(calc(var(--my, 0) * 0.7deg)) rotateY(calc(var(--mx, 0) * -0.7deg));
  transition: transform 0.4s var(--ease-out);
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(151, 185, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 185, 255, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 72%);
}

.stage-orbit {
  position: absolute;
  top: 48%;
  left: 50%;
  border: 1px solid rgba(132, 169, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stage-orbit--one { width: 210px; height: 210px; border-color: rgba(223, 245, 107, 0.22); }
.stage-orbit--two { width: 330px; height: 330px; }
.stage-orbit--three { width: 470px; height: 470px; border-style: dashed; opacity: 0.7; }

.stage-sweep {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 300deg, rgba(141, 232, 255, 0.18) 340deg, rgba(141, 232, 255, 0.42) 358deg, transparent 360deg);
  transform: translate(-50%, -50%);
  animation: sweep 9s linear infinite;
  pointer-events: none;
}

@keyframes sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.stage-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(141, 232, 255, 0.07), 0 0 16px rgba(141, 232, 255, 0.75);
}

.stage-node--a { top: 24%; left: 28%; }
.stage-node--b { top: 62%; left: 70%; width: 5px; height: 5px; }
.stage-node--c { top: 76%; left: 22%; width: 4px; height: 4px; opacity: 0.7; }

.stage-whale {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%) translate(calc(var(--mx, 0) * 4px), calc(var(--my, 0) * 3px));
  transition: transform 0.45s var(--ease-out);
  animation: float-whale 7s ease-in-out infinite;
}

@keyframes float-whale {
  0%, 100% { margin-top: -3px; }
  50% { margin-top: 7px; }
}

.stage-whale__halo {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 232, 255, 0.34), rgba(75, 92, 255, 0.12) 48%, transparent 70%);
  filter: blur(3px);
}

.stage-whale svg {
  position: relative;
  width: 130px;
  height: 82px;
  color: #fff;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.38));
}

.stage-whale__tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 7px;
  border: 1px solid rgba(141, 232, 255, 0.26);
  border-radius: 4px;
  background: rgba(6, 18, 43, 0.7);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(225, 243, 255, 0.68);
  white-space: nowrap;
}

.stage-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 174px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(11, 28, 62, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.stage-chip:hover {
  z-index: 6;
  border-color: rgba(223, 245, 107, 0.55);
  background: rgba(18, 39, 82, 0.92);
  transform: translateY(-4px) scale(1.02);
}

.stage-chip--jump {
  top: 22px;
  left: 20px;
  animation: chip-in 0.7s 0.1s both var(--ease-out);
}

.stage-chip--fish {
  top: 116px;
  right: 18px;
  animation: chip-in 0.7s 0.22s both var(--ease-out);
}

.stage-chip--tokens {
  bottom: 34px;
  left: 34px;
  animation: chip-in 0.7s 0.34s both var(--ease-out);
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.stage-chip__num {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.stage-chip__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.stage-chip__copy b {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.stage-chip__copy small {
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(226, 238, 255, 0.42);
}

.stage-chip__go {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.stage-chip:hover .stage-chip__go {
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-6deg) scale(1.08);
}

.stage-chip__go svg {
  width: 13px;
  height: 13px;
  margin-left: 1px;
}

.stage-coordinate {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 231, 255, 0.28);
}

.stage-coordinate--left { left: 20px; }
.stage-coordinate--right { right: 20px; }

.stage-foot {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(231, 241, 255, 0.38);
}

.stage-signal {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
}

.stage-signal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.stage-now b {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

/* ---------- wire ticker ---------- */

.wire {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 138px;
  align-items: center;
  height: 52px;
  overflow: hidden;
  border-top: 1px solid rgba(16, 21, 34, 0.26);
  border-bottom: 1px solid rgba(16, 21, 34, 0.26);
  background: var(--lime);
  color: var(--ink);
}

.wire__label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 0 0 max(32px, calc((100vw - 1400px) / 2));
  border-right: 1px solid rgba(16, 21, 34, 0.22);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.wire__label span {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(16, 21, 34, 0.22);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.wire__label .live-dot {
  color: var(--coral);
}

.wire__viewport {
  overflow: hidden;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.wire__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: wire-marquee 46s linear infinite;
}

.wire:hover .wire__track {
  animation-play-state: paused;
}

@keyframes wire-marquee {
  to { transform: translateX(-50%); }
}

.wire-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.wire-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.45;
}

.wire-item b {
  font-weight: 650;
}

.wire-item span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  color: rgba(16, 21, 34, 0.55);
}

.wire__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 100%;
  padding-right: max(32px, calc((100vw - 1400px) / 2));
  border-left: 1px solid rgba(16, 21, 34, 0.22);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.wire__all svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.wire__all:hover svg {
  transform: translateX(3px);
}

/* ---------- game library ---------- */

.library {
  width: var(--page);
  margin: 0 auto;
  padding: 96px 0 78px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.section-title h2 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.section-title h2 em {
  font-style: normal;
  color: var(--blue);
}

.section-title > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.section-title--dark h2 {
  color: #fff;
}

.section-title--dark > p {
  color: rgba(232, 240, 255, 0.56);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-chip span {
  font-family: var(--font-mono);
  font-size: 8px;
  opacity: 0.6;
}

.filter-chip:hover {
  color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.library-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
}

.library-bar__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.library-bar__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.library-bar__status b {
  color: var(--ink);
  font-weight: 700;
}

.library-bar__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.library-bar__hint {
  font-size: 10px;
  color: var(--muted-light);
}

.mini-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 10px;
  font-weight: 650;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mini-button:hover {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.mini-button svg {
  width: 13px;
  height: 13px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 1px 0 rgba(16, 21, 34, 0.02);
  opacity: 0;
  animation: tile-in 0.65s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

@keyframes tile-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.game-tile:hover {
  z-index: 3;
  border-color: rgba(75, 92, 255, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-7px);
}

.game-tile--hidden {
  display: none;
}

.game-tile__button {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
}

.tile-art {
  position: relative;
  height: 218px;
  overflow: hidden;
  isolation: isolate;
}

.tile-art::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(9, 17, 36, 0.12), transparent 42%);
}

.tile-art__index {
  position: absolute;
  z-index: 9;
  top: 15px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(10, 20, 42, 0.55);
}

.tile-art__badge {
  position: absolute;
  z-index: 9;
  top: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.tile-art__badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #20a273;
  box-shadow: 0 0 0 3px rgba(32, 162, 115, 0.14);
}

.tile-art__badge--soon {
  color: rgba(10, 20, 42, 0.6);
}

.tile-art__badge--soon i {
  background: rgba(10, 20, 42, 0.4);
  box-shadow: none;
}

.tile-art__play {
  position: absolute;
  z-index: 9;
  right: 16px;
  bottom: 15px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(9, 16, 33, 0.24);
  transform: translateY(6px) scale(0.9);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease, background 0.2s ease;
}

.tile-art__play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.game-tile:hover .tile-art__play {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tile-art__play:hover {
  background: var(--blue);
}

.game-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 19px;
}

.game-tile__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.game-tile h3 {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.game-tile__tag {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  color: var(--muted-light);
  white-space: nowrap;
}

.game-tile__desc {
  margin-top: 8px;
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.game-tile__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
}

.game-tile__best b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.game-tile__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
}

.game-tile__cta i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}

.game-tile__cta i svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.game-tile:hover .game-tile__cta i {
  background: var(--blue-deep);
  transform: scale(1.1) rotate(-5deg);
}

.game-tile--soon .tile-art::before {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  background: rgba(244, 242, 236, 0.17);
}

.game-tile--soon .game-tile__cta {
  color: var(--muted-light);
}

.game-tile--soon .game-tile__cta i {
  background: var(--paper-deep);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
}

.game-tile--soon:hover .game-tile__cta i {
  transform: none;
  background: var(--paper-deep);
}

.game-tile--soon .tile-art__play {
  display: none;
}

.game-tile--soon:hover {
  border-color: var(--line-strong);
  box-shadow: 0 15px 38px rgba(22, 30, 61, 0.08);
  transform: translateY(-3px);
}

.game-tile--submit {
  overflow: hidden;
  border-color: rgba(16, 21, 34, 0.28);
  background: var(--lime);
  box-shadow: 0 16px 35px rgba(121, 141, 43, 0.12);
}

.game-tile--submit:hover {
  border-color: var(--ink);
  background: #e8ff70;
  box-shadow: 0 24px 48px rgba(103, 122, 30, 0.2);
  transform: translateY(-7px);
}

.game-tile--submit .game-tile__button {
  color: var(--ink);
}

.submit-art {
  position: relative;
  height: 218px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 16%, rgba(75, 92, 255, 0.4), transparent 35%),
    linear-gradient(145deg, #0b1c3e, #06122a);
}

.submit-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(223, 245, 107, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 245, 107, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}

.submit-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(223, 245, 107, 0.4);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-sans);
  font-size: 41px;
  font-weight: 300;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), background 0.25s ease;
}

.game-tile--submit:hover .submit-plus {
  background: var(--lime);
  color: var(--ink);
  transform: translate(-50%, -50%) rotate(90deg) scale(1.05);
}

.submit-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(141, 232, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: submit-orbit 18s linear infinite;
}

@keyframes submit-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.submit-whale {
  position: absolute;
  top: 28px;
  right: 27px;
  color: rgba(255, 255, 255, 0.14);
  transition: color 0.3s ease, transform 0.35s var(--ease-out);
}

.submit-whale svg {
  width: 80px;
  height: 50px;
}

.game-tile--submit:hover .submit-whale {
  color: rgba(223, 245, 107, 0.42);
  transform: translateY(-4px) rotate(-4deg);
}

.submit-code {
  position: absolute;
  left: 17px;
  bottom: 15px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(223, 245, 107, 0.65);
}

.game-tile--submit .game-tile__desc {
  color: rgba(16, 21, 34, 0.62);
}

.game-tile--submit .game-tile__meta {
  border-top-color: rgba(16, 21, 34, 0.18);
  color: rgba(16, 21, 34, 0.52);
}

.game-tile--submit .game-tile__cta {
  color: var(--ink);
}

.game-tile--submit .game-tile__cta i {
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.game-tile--submit:hover .game-tile__cta i {
  background: var(--blue);
  transform: rotate(-8deg) scale(1.06);
}

.noscript-note {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
}

.arcade-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.54);
}

.arcade-note-star {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
}

.arcade-note-star svg {
  width: 21px;
  height: 21px;
}

.arcade-note p {
  max-width: 720px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.arcade-note p b {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  color: var(--ink);
}

.arcade-note-code {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  white-space: nowrap;
}

/* ---------- game card artwork ---------- */

.tile-art--jump {
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(145deg, #dce4ff 0%, #aabfff 58%, #8ea8ff 100%);
}

.tile-art--fish {
  background:
    radial-gradient(circle at 27% 0%, rgba(255, 255, 255, 0.85), transparent 30%),
    linear-gradient(150deg, #d7f6e9 0%, #a5e9d8 52%, #73d6ce 100%);
}

.tile-art--tokens {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.5), transparent 26%),
    linear-gradient(145deg, #e6e3ff 0%, #c0c3ff 56%, #a4acff 100%);
}

.tile-art--prompt {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(145deg, #fbe8c8 0%, #f5d39c 60%, #efc380 100%);
}

.tile-art--radar {
  background: linear-gradient(145deg, #ccecf5 0%, #9ed8e9 52%, #77c2dd 100%);
}

.tile-art--hunter {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #ffd8d0 0%, #ffb5a7 58%, #f99b8a 100%);
}

.tile-art--puzzle {
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(145deg, #e7e0ff 0%, #cfc0f5 58%, #b6a0ea 100%);
}

.tile-art--maze {
  background:
    radial-gradient(circle at 70% 15%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(145deg, #d5f0cd 0%, #a9dfa4 58%, #86cb87 100%);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(10, 22, 48, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 48, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

/* jump */

.jump-scene {
  position: absolute;
  inset: 0;
}

.jump-sun {
  position: absolute;
  top: 24px;
  right: 34px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.12);
}

.jump-island {
  position: absolute;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 9px 0 rgba(47, 68, 160, 0.16), 0 16px 26px rgba(30, 48, 126, 0.16);
  transform: rotate(-5deg);
}

.jump-island::after {
  content: "";
  position: absolute;
  inset: 4px 10px auto;
  height: 3px;
  border-radius: 50%;
  background: rgba(75, 92, 255, 0.14);
}

.jump-island--a { width: 124px; left: 4%; bottom: 34px; }
.jump-island--b { width: 92px; left: 47%; bottom: 65px; }
.jump-island--c { width: 122px; right: 2%; bottom: 31px; background: #f7ffdb; }
.jump-island--c::after { background: rgba(166, 192, 42, 0.22); }

.jump-arc {
  position: absolute;
  left: 25%;
  bottom: 79px;
  width: 135px;
  height: 64px;
  border-top: 2px dashed rgba(41, 61, 159, 0.36);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.jump-whale {
  position: absolute;
  z-index: 3;
  left: 34%;
  bottom: 78px;
  width: 72px;
  height: 54px;
  color: var(--blue);
  filter: drop-shadow(0 9px 12px rgba(34, 52, 155, 0.24));
  transform: rotate(-9deg);
  transition: transform 0.35s var(--ease-out);
}

.game-tile:hover .jump-whale {
  transform: rotate(-9deg) translateY(-10px);
}

.jump-ring {
  position: absolute;
  z-index: 2;
  left: calc(34% + 24px);
  bottom: 60px;
  width: 30px;
  height: 11px;
  border: 1px solid rgba(75, 92, 255, 0.34);
  border-radius: 50%;
}

.jump-meter {
  position: absolute;
  z-index: 4;
  left: 12%;
  bottom: 18px;
  width: 76px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}

.jump-meter i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

/* fish */

.fish-scene {
  position: absolute;
  inset: 0;
}

.fish-bubble {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.fish-bubble--a { width: 14px; height: 14px; left: 12%; top: 25%; }
.fish-bubble--b { width: 8px; height: 8px; left: 20%; top: 18%; }
.fish-bubble--c { width: 19px; height: 19px; right: 14%; bottom: 25%; }

.fish-blob {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -8px -10px 0 rgba(0, 0, 0, 0.05), 0 10px 20px rgba(22, 67, 62, 0.1);
  transition: transform 0.35s var(--ease-out);
}

.fish-blob::before,
.fish-blob::after {
  content: "";
  position: absolute;
  top: 36%;
  width: 5px;
  height: 7px;
  border-radius: 50%;
  background: #24343a;
}

.fish-blob::before { left: 30%; }
.fish-blob::after { right: 30%; }

.fish-blob i {
  position: absolute;
  left: 50%;
  bottom: 29%;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid rgba(36, 52, 58, 0.65);
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.fish-blob--one { width: 86px; height: 86px; left: 11%; bottom: 33px; background: #ffd568; }
.fish-blob--two { width: 58px; height: 58px; left: 40%; bottom: 58px; background: #ff987f; }
.fish-blob--three { width: 112px; height: 112px; right: 5%; bottom: 28px; background: #ffc56d; }
.fish-blob--four { width: 42px; height: 42px; left: 38%; top: 25%; background: #c3a1ff; }

.game-tile:hover .fish-blob--one { transform: translateY(-8px) rotate(-3deg); }
.game-tile:hover .fish-blob--two { transform: translateY(-14px) rotate(4deg); }
.game-tile:hover .fish-blob--three { transform: translateY(-6px) rotate(-2deg); }
.game-tile:hover .fish-blob--four { transform: translateY(-10px) rotate(3deg); }

.fish-tank-line {
  position: absolute;
  right: 8%;
  bottom: 16px;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 84, 78, 0.25), transparent);
}

/* tokens */

.token-scene {
  position: absolute;
  inset: 0;
}

.token-mini-grid {
  position: absolute;
  top: 58px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 7px;
  transform: translateX(-50%) rotate(-4deg);
}

.token-mini {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 6px 13px rgba(52, 51, 150, 0.1);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.token-mini--b { background: #4b5cff; color: #fff; }
.token-mini--l { background: var(--lime); }
.token-mini--c { background: #ff8c73; color: #fff; }
.token-mini--p { background: #b79bff; color: #fff; }
.token-mini--w { background: #fff; }
.token-mini--d { background: #82e5d6; }

.token-combo {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.token-combo b {
  color: var(--lime);
  font-size: 12px;
}

/* prompt */

.prompt-scene {
  position: absolute;
  inset: 0;
}

.prompt-sun {
  position: absolute;
  top: 25px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14);
}

.prompt-window {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 238px;
  padding: 9px;
  border: 1px solid rgba(68, 48, 17, 0.18);
  border-radius: 12px;
  background: rgba(255, 251, 243, 0.84);
  box-shadow: 0 18px 36px rgba(103, 67, 15, 0.14);
  transform: translateX(-50%) rotate(2deg);
}

.prompt-window-top {
  display: flex;
  gap: 4px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(68, 48, 17, 0.1);
}

.prompt-window-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(68, 48, 17, 0.24);
}

.prompt-line {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.prompt-line span {
  height: 6px;
  border-radius: 4px;
  background: rgba(68, 48, 17, 0.15);
}

.prompt-line span:first-child { width: 42px; }
.prompt-line span:last-child { flex: 1; }

.prompt-line--active span {
  background: rgba(75, 92, 255, 0.34);
}

.prompt-chip {
  position: absolute;
  right: 14px;
  bottom: 19px;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

/* radar */

.radar-scene {
  position: absolute;
  inset: 0;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(9, 66, 88, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--a { width: 120px; height: 120px; }
.radar-ring--b { width: 190px; height: 190px; }
.radar-ring--c { width: 260px; height: 260px; opacity: 0.6; }

.radar-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  height: 1px;
  background: rgba(9, 66, 88, 0.17);
  transform: translate(-50%, -50%);
}

.radar-cross--v {
  transform: translate(-50%, -50%) rotate(90deg);
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 300deg, rgba(33, 122, 147, 0.24) 352deg, transparent);
  transform: translate(-50%, -50%);
  animation: sweep 7s linear infinite;
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #177c92;
  box-shadow: 0 0 0 4px rgba(23, 124, 146, 0.1);
}

.radar-blip--a { top: 35%; left: 35%; }
.radar-blip--b { top: 65%; left: 68%; }
.radar-blip--c { top: 26%; left: 66%; width: 4px; height: 4px; }

.radar-whale {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 47px;
  color: rgba(9, 66, 88, 0.56);
  transform: translate(-50%, -50%);
}

.radar-label {
  position: absolute;
  right: 16px;
  bottom: 17px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(9, 66, 88, 0.5);
}

/* hunter */

.hunter-scene {
  position: absolute;
  inset: 0;
}

.hunter-claim {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 220px;
  padding: 15px;
  border: 1px solid rgba(91, 28, 19, 0.16);
  border-radius: 10px;
  background: rgba(255, 250, 245, 0.84);
  box-shadow: 0 18px 34px rgba(109, 45, 35, 0.14);
  transform: translateX(-50%) rotate(-3deg);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
  color: rgba(60, 25, 18, 0.58);
}

.hunter-claim b {
  display: block;
  margin: 5px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: #6e2b1f;
}

.hunter-reticle {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(148, 48, 29, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hunter-reticle::before,
.hunter-reticle::after {
  content: "";
  position: absolute;
  background: rgba(148, 48, 29, 0.58);
}

.hunter-reticle::before { top: 50%; left: -14px; width: 104px; height: 1px; }
.hunter-reticle::after { top: -14px; left: 50%; width: 1px; height: 104px; }

.hunter-stamp {
  position: absolute;
  right: 14px;
  bottom: 17px;
  padding: 5px 8px;
  border: 1px solid rgba(148, 48, 29, 0.36);
  border-radius: 4px;
  color: #8f3021;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

/* puzzle */

.puzzle-scene {
  position: absolute;
  inset: 0;
}

.puzzle-piece {
  position: absolute;
  width: 77px;
  height: 77px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(54, 37, 110, 0.1), 0 10px 20px rgba(54, 37, 110, 0.08);
}

.puzzle-piece--a { top: 48px; left: 30px; transform: rotate(-8deg); }
.puzzle-piece--b { top: 92px; left: 105px; transform: rotate(5deg); background: rgba(75, 92, 255, 0.2); }
.puzzle-piece--c { top: 46px; right: 38px; transform: rotate(4deg); }
.puzzle-piece--d { bottom: 30px; left: 47%; transform: rotate(-3deg); width: 90px; height: 60px; }

.puzzle-piece--c svg {
  width: 54px;
  height: 34px;
  margin: 21px auto 0;
  color: var(--blue);
  opacity: 0.7;
}

.puzzle-whale {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 58px;
  color: rgba(69, 48, 134, 0.22);
  transform: translate(-50%, -50%);
}

/* maze */

.maze-scene {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(20, 69, 34, 0.2) 1.5px, transparent 1.5px),
    linear-gradient(rgba(20, 69, 34, 0.2) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 52%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 52%, #000, transparent 78%);
}

.maze-path {
  position: absolute;
  top: 25%;
  left: 22%;
  width: 46%;
  height: 52%;
  border-right: 6px solid rgba(31, 121, 55, 0.4);
  border-bottom: 6px solid rgba(31, 121, 55, 0.4);
  border-radius: 0 0 24px 0;
  transform: skewY(-18deg);
}

.maze-start {
  position: absolute;
  left: 18%;
  bottom: 25%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 31px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 6px 12px rgba(30, 87, 44, 0.16);
}

.maze-start svg {
  width: 29px;
  height: 18px;
  color: var(--ink);
}

.maze-label {
  position: absolute;
  right: 16px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: rgba(20, 69, 34, 0.55);
}

/* ---------- sonar section ---------- */

.sonar-section {
  position: relative;
  overflow: hidden;
  padding: 98px 0 74px;
  background: #07142e;
  color: #f5f8ff;
}

.sonar-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 10%, rgba(75, 92, 255, 0.28), transparent 29rem),
    radial-gradient(circle at 8% 86%, rgba(141, 232, 255, 0.11), transparent 30rem),
    linear-gradient(180deg, #091936 0%, #06122a 60%, #050f24 100%);
}

.sonar-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(159, 191, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 191, 255, 0.11) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.sonar-bg::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -80px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(141, 232, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(141, 232, 255, 0.018),
    0 0 0 180px rgba(141, 232, 255, 0.012);
}

.sonar-shell {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 0 auto;
}

.sonar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sonar-ping {
  color: var(--lime);
}

.sonar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.sonar-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.sonar-tabs button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  color: rgba(231, 240, 255, 0.55);
  transition: background 0.2s ease, color 0.2s ease;
}

.sonar-tabs button:hover {
  color: #fff;
}

.sonar-tabs button.is-active {
  background: var(--lime);
  color: var(--ink);
}

.sonar-tabs button span {
  font-family: var(--font-mono);
  font-size: 7px;
  opacity: 0.65;
}

.sonar-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 41px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(231, 240, 255, 0.62);
  font-size: 10px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.sonar-refresh:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sonar-refresh svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.sonar-refresh:hover svg {
  transform: rotate(-35deg);
}

.sonar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
}

.hot-feature {
  min-height: 526px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 0%, rgba(75, 92, 255, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hot-feature__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 526px;
}

.hot-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hot-feature__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(230, 240, 255, 0.52);
}

.hot-feature__cat i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(223, 245, 107, 0.1);
}

.hot-feature__top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-heat {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
}

.feature-heat small {
  color: rgba(223, 245, 107, 0.6);
  font-size: 7px;
}

.save-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(231, 240, 255, 0.55);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.save-button:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateY(-1px);
}

.save-button.is-saved {
  background: var(--lime);
  color: var(--ink);
}

.save-button svg {
  width: 14px;
  height: 14px;
}

.hot-feature__signal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 82px;
  padding: 0 24px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hot-feature__signal::before {
  content: "";
  position: absolute;
  right: 28px;
  top: -58px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(141, 232, 255, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(141, 232, 255, 0.025);
}

.signal-bar {
  width: 3px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: linear-gradient(to top, rgba(75, 92, 255, 0.4), var(--cyan));
  opacity: 0.8;
  animation: signal-pulse 2.4s ease-in-out infinite alternate;
}

@keyframes signal-pulse {
  from { transform: scaleY(0.45); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 0.9; }
}

.hot-feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.hot-feature__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  color: rgba(227, 238, 255, 0.4);
}

.hot-feature__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hot-feature__meta svg {
  width: 11px;
  height: 11px;
}

.hot-feature__body h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 39px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.22;
  color: #fff;
}

.hot-feature__body p {
  max-width: 660px;
  margin-top: 14px;
  color: rgba(227, 238, 255, 0.6);
  font-size: 13px;
  line-height: 1.8;
}

.hot-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.hot-feature__tags span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 8.5px;
  color: rgba(227, 238, 255, 0.5);
}

.hot-feature__question {
  margin-top: 20px;
  padding: 13px 15px;
  border-left: 2px solid var(--lime);
  background: rgba(223, 245, 107, 0.045);
}

.hot-feature__question span {
  display: block;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(223, 245, 107, 0.6);
}

.hot-feature__question p {
  margin-top: 5px;
  color: rgba(240, 246, 255, 0.7);
  font-size: 10.5px;
  line-height: 1.7;
}

.hot-feature__action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  font-weight: 750;
  color: var(--lime);
}

.hot-feature__action svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.hot-feature__action:hover svg {
  transform: translate(2px, -2px);
}

.hot-feature__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  color: rgba(227, 238, 255, 0.3);
}

.hot-feature__foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.sonar-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  padding: 44px;
}

.sonar-empty > span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.sonar-empty h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
}

.sonar-empty p {
  max-width: 380px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(231, 240, 255, 0.48);
}

.sonar-empty__button {
  height: 38px;
  margin-top: 24px;
  padding: 0 15px;
  border: 1px solid rgba(223, 245, 107, 0.34);
  border-radius: 9px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 650;
  transition: background 0.2s ease;
}

.sonar-empty__button:hover {
  background: rgba(223, 245, 107, 0.1);
}

.sonar-list-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(224, 236, 255, 0.42);
}

.trend-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-item {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.trend-item:hover {
  background: rgba(255, 255, 255, 0.045);
}

.trend-button {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 15px 4px;
  text-align: left;
}

.trend-rank {
  width: 24px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(224, 236, 255, 0.35);
}

.trend-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.trend-title {
  overflow: hidden;
  color: rgba(249, 251, 255, 0.89);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.trend-button:hover .trend-title {
  color: var(--lime);
}

.trend-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(224, 236, 255, 0.34);
}

.trend-meta span:first-child {
  color: rgba(141, 232, 255, 0.74);
}

.trend-heat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 46px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(232, 241, 255, 0.66);
}

.trend-heat small {
  color: var(--lime);
  font-size: 7px;
}

.trend-save {
  display: grid;
  place-items: center;
  width: 27px;
  flex: 0 0 auto;
  margin-right: 2px;
  color: rgba(224, 236, 255, 0.28);
  transition: color 0.2s ease;
}

.trend-save:hover {
  color: #fff;
}

.trend-save.is-saved {
  color: var(--lime);
}

.trend-save svg {
  width: 13px;
  height: 13px;
}

.trend-empty {
  padding: 28px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(227, 238, 255, 0.46);
  font-size: 12px;
  line-height: 1.7;
}

.sonar-deco {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 21px 8px 0;
}

.sonar-deco__rings {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.sonar-deco__rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(141, 232, 255, 0.19);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sonar-deco__rings i:nth-child(1) { width: 12px; height: 12px; }
.sonar-deco__rings i:nth-child(2) { width: 27px; height: 27px; }
.sonar-deco__rings i:nth-child(3) { width: 42px; height: 42px; }

.sonar-deco__rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  transform: translate(-50%, -50%);
}

.sonar-deco b {
  display: block;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(233, 242, 255, 0.55);
}

.sonar-deco small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: rgba(233, 242, 255, 0.32);
}

.sonar-deco__depth {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: rgba(233, 242, 255, 0.28);
}

.sonar-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.keyword-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(228, 238, 255, 0.4);
}

.keyword-spark {
  color: var(--lime);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyword-cloud button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(233, 242, 255, 0.55);
  font-size: 9.5px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.keyword-cloud button:hover,
.keyword-cloud button.is-active {
  border-color: rgba(223, 245, 107, 0.5);
  background: rgba(223, 245, 107, 0.09);
  color: var(--lime);
}

.sonar-disclaimer {
  max-width: 340px;
  font-size: 9px;
  line-height: 1.7;
  color: rgba(228, 238, 255, 0.3);
  text-align: right;
}

/* ---------- studio ---------- */

.studio {
  width: var(--page);
  margin: 0 auto;
  padding: 84px 0 92px;
}

.studio-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 52px;
  overflow: hidden;
  padding: 54px 58px;
  border: 1px solid rgba(16, 21, 34, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 91% 9%, rgba(255, 255, 255, 0.5), transparent 22rem),
    var(--lime);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(86, 102, 30, 0.16);
}

.studio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(16, 21, 34, 0.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 21, 34, 0.19) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 90% 10%, #000, transparent 55%);
  mask-image: radial-gradient(circle at 90% 10%, #000, transparent 55%);
  pointer-events: none;
}

.studio-copy,
.studio-steps,
.studio-stamp {
  position: relative;
  z-index: 2;
}

.closing-kicker {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: rgba(16, 21, 34, 0.55);
}

.studio-copy h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.11;
}

.studio-copy p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(16, 21, 34, 0.66);
}

.studio-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.studio-actions .text-link:hover {
  color: var(--ink);
}

.studio-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(16, 21, 34, 0.2);
}

.studio-steps li {
  display: flex;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(16, 21, 34, 0.2);
}

.studio-steps li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 21, 34, 0.25);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 8px;
}

.studio-steps b {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.studio-steps p {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(16, 21, 34, 0.55);
}

.studio-stamp {
  position: absolute;
  right: 36px;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(16, 21, 34, 0.32);
  border-radius: 50%;
  transform: rotate(9deg);
  text-align: center;
}

.studio-stamp::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(16, 21, 34, 0.24);
  border-radius: 50%;
}

.studio-stamp span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.09em;
}

.studio-stamp i {
  position: absolute;
  bottom: 15px;
  font-family: var(--font-mono);
  font-size: 5px;
  font-style: normal;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 46px 0 28px;
  background: #0a1020;
  color: rgba(240, 245, 255, 0.7);
}

.footer-main,
.footer-base {
  width: var(--page);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--blue);
}

.footer-mark svg {
  width: 29px;
  height: 20px;
  color: #fff;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-brand b {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.footer-brand span {
  font-size: 10px;
  color: rgba(240, 245, 255, 0.42);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  font-weight: 600;
}

.footer-links a,
.footer-links button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(240, 245, 255, 0.54);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.footer-links kbd {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(240, 245, 255, 0.48);
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  font-size: 9px;
  color: rgba(240, 245, 255, 0.3);
}

.footer-base > div {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------- game overlay ---------- */

.game-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(75, 92, 255, 0.22), transparent 45%),
    rgba(4, 9, 20, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.game-overlay.is-open {
  opacity: 1;
}

.game-dialog {
  display: flex;
  flex-direction: column;
  width: min(1130px, 96vw);
  max-height: 94vh;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: #07102a;
  color: #f2f6ff;
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.32s var(--ease-out);
}

.game-overlay.is-open .game-dialog {
  transform: translateY(0) scale(1);
}

.game-dialog:fullscreen {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  border: 0;
  border-radius: 0;
}

.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
  min-height: 78px;
  padding: 14px 18px 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 10% 0%, rgba(75, 92, 255, 0.22), transparent 32%),
    #08142f;
}

.game-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.game-index {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.game-eyebrow {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(237, 244, 255, 0.4);
}

.game-identity h2 {
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-best {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(239, 245, 255, 0.4);
}

.game-best b {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.game-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  color: rgba(241, 246, 255, 0.68);
  font-size: 9.5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.game-tool:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.game-tool svg {
  width: 14px;
  height: 14px;
}

.game-tool--icon {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.game-tool[aria-pressed="true"] {
  background: rgba(223, 245, 107, 0.13);
  border-color: rgba(223, 245, 107, 0.35);
  color: var(--lime);
}

.game-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 248, 255, 0.72);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.game-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: rotate(6deg);
}

.game-close svg {
  width: 17px;
  height: 17px;
}

.game-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #06102a;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #08142f;
  color: rgba(232, 241, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.game-footer-left,
.game-footer-right {
  display: flex;
  align-items: center;
  gap: 7px;
}

.game-footer-left > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.game-footer-right {
  color: rgba(232, 241, 255, 0.28);
}

/* ---------- signal detail ---------- */

.detail-overlay {
  position: fixed;
  z-index: 320;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(4, 9, 20, 0.74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.detail-overlay[hidden] {
  display: none;
}

.detail-overlay.is-open {
  opacity: 1;
}

.detail-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(780px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.3s var(--ease-out);
}

.detail-overlay.is-open .detail-dialog {
  transform: translateY(0) scale(1);
}

.detail-progress {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.detail-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width 0.12s linear;
}

.detail-close {
  position: absolute;
  z-index: 7;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(7, 16, 37, 0.32);
  color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.detail-close:hover {
  background: rgba(7, 16, 37, 0.55);
  transform: rotate(6deg);
}

.detail-close svg {
  width: 17px;
  height: 17px;
}

.detail-top {
  position: relative;
  padding: 50px 46px 30px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.2), transparent 32%),
    #0b1b3c;
}

.detail-top::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -190px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.detail-top--model { background: radial-gradient(circle at 86% 10%, rgba(141, 232, 255, 0.33), transparent 35%), #102653; }
.detail-top--oss { background: radial-gradient(circle at 86% 10%, rgba(223, 245, 107, 0.27), transparent 35%), #173619; }
.detail-top--product { background: radial-gradient(circle at 86% 10%, rgba(255, 161, 122, 0.35), transparent 35%), #40203a; }
.detail-top--community { background: radial-gradient(circle at 86% 10%, rgba(188, 158, 255, 0.36), transparent 35%), #2a2051; }

.detail-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
}

.detail-category::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.detail-top h2 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 43px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.22;
}

.detail-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.48);
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

.detail-content {
  overflow-y: auto;
  padding: 32px 46px 42px;
  overscroll-behavior: contain;
}

.command-results,
.detail-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 21, 34, 0.28) transparent;
}

.command-results::-webkit-scrollbar,
.detail-content::-webkit-scrollbar {
  width: 6px;
}

.command-results::-webkit-scrollbar-track,
.detail-content::-webkit-scrollbar-track {
  background: transparent;
}

.command-results::-webkit-scrollbar-thumb,
.detail-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(16, 21, 34, 0.24);
}

.command-results {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.command-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

.detail-content > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.detail-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.detail-section h3::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--blue);
}

.detail-prompts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.detail-prompts li {
  display: flex;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.58);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.detail-prompts li span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--blue);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--paper-deep);
  font-size: 9.5px;
  color: var(--muted);
}

.detail-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-source p {
  max-width: 450px;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted-light);
}

.detail-source a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-source a:hover {
  background: var(--ink);
  color: #fff;
}

.detail-source a svg {
  width: 13px;
  height: 13px;
}

.detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.detail-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 650;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-share:hover {
  background: var(--card);
  color: var(--ink);
}

.detail-share svg {
  width: 13px;
  height: 13px;
}

/* ---------- mobile drawer ---------- */

.drawer-layer {
  position: fixed;
  z-index: 360;
  inset: 0;
}

.drawer-layer[hidden] {
  display: none;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(5, 10, 22, 0.56);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(410px, 92vw);
  height: 100%;
  padding: 22px 24px 26px;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.24);
  transform: translateX(102%);
  transition: transform 0.34s var(--ease-out);
}

.drawer-layer.is-open .drawer-scrim {
  opacity: 1;
}

.drawer-layer.is-open .drawer {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-kicker {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.drawer-nav a span {
  width: 24px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-light);
}

.drawer-nav a small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.drawer-nav a:hover {
  color: var(--blue);
}

.drawer-games {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 28px;
}

.drawer-label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.drawer-games button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.drawer-games b {
  font-size: 12px;
  font-weight: 650;
}

.drawer-games button span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted-light);
}

.drawer-games button:hover b {
  color: var(--blue);
}

.drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.drawer-command {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}

.drawer-command svg {
  width: 15px;
  height: 15px;
}

.drawer-command kbd {
  margin-left: auto;
}

.drawer-sound {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
}

.drawer-sound b {
  margin-left: auto;
  color: var(--ink);
  font-size: 10px;
}

.drawer-sound svg {
  width: 15px;
  height: 15px;
}

/* ---------- command palette ---------- */

.command-layer {
  position: fixed;
  z-index: 380;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 11vh 22px 22px;
  background: rgba(4, 9, 20, 0.68);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.command-layer[hidden] {
  display: none;
}

.command-layer.is-open {
  opacity: 1;
}

.command-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
}

.command-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(620px, 76vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: #0b1730;
  color: #f4f7ff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: translateY(-10px) scale(0.985);
  transition: transform 0.25s var(--ease-out);
}

.command-layer.is-open .command-panel {
  transform: translateY(0) scale(1);
}

.command-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.command-search > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.command-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.command-search input::placeholder {
  color: rgba(231, 240, 255, 0.34);
}

.command-search kbd {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(231, 240, 255, 0.5);
}

.command-results {
  overflow-y: auto;
  padding: 8px;
}

.command-group + .command-group {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.command-group__label {
  padding: 8px 10px 5px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(231, 240, 255, 0.35);
}

.command-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px;
  border-radius: 9px;
  color: rgba(243, 247, 255, 0.78);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.command-item:hover,
.command-item.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.command-item__icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
}

.command-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.command-item__body b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-item__body small {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: rgba(231, 240, 255, 0.34);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-item__meta {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: rgba(231, 240, 255, 0.3);
}

.command-empty {
  padding: 44px 20px;
  color: rgba(231, 240, 255, 0.44);
  font-size: 12px;
  text-align: center;
}

.command-foot {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 8px;
  color: rgba(231, 240, 255, 0.38);
}

.command-foot span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.command-foot kbd {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(231, 240, 255, 0.42);
}

.command-foot__hint {
  margin-left: auto;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  z-index: 500;
  bottom: 28px;
  left: 50%;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 16, 34, 0.93);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .game-tile {
    opacity: 1;
  }

  .wire__track {
    animation: none;
    transform: none;
  }

  .stage-visual {
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1260px) {
  :root {
    --page: min(1200px, calc(100% - 52px));
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 0 11px;
  }

  .command-trigger span {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(58px, 7vw, 90px);
  }

  .stage-chip {
    width: 166px;
  }

  .studio-card {
    gap: 36px;
    padding: 46px;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-wrap {
    padding-top: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-title {
    font-size: clamp(72px, 12vw, 108px);
  }

  .hero-intro {
    max-width: 620px;
  }

  .hero-stats {
    max-width: 640px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .stage-visual {
    height: 400px;
  }

  .stage-sweep,
  .stage-orbit--three {
    width: 430px;
    height: 430px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sonar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sonar-controls {
    width: 100%;
    justify-content: space-between;
  }

  .sonar-tabs {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .sonar-layout {
    grid-template-columns: 1fr;
  }

  .hot-feature,
  .hot-feature__card {
    min-height: 460px;
  }

  .sonar-deco {
    margin-top: 22px;
  }

  .studio-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .studio-steps {
    border-top: 1px solid rgba(16, 21, 34, 0.2);
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 40px);
  }

  html {
    scroll-padding-top: 84px;
  }

  .masthead__inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .brand-mark svg {
    width: 27px;
    height: 19px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    display: none;
  }

  .brand-edition {
    display: none;
  }

  .header-tools {
    gap: 6px;
  }

  .command-trigger {
    width: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .command-trigger kbd {
    display: none;
  }

  .header-tools .sound-toggle {
    display: none;
  }

  .round-button {
    width: 38px;
    height: 38px;
  }

  .hero-wrap {
    padding: 34px 0 30px;
  }

  .hero-status {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-edition {
    font-size: 7px;
  }

  .hero-title {
    font-size: clamp(50px, 13.2vw, 76px);
    line-height: 0.94;
  }

  .title-line--accent::after {
    height: 13%;
  }

  .hero-intro {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-intro br {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
  }

  .button--hero {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
    margin-top: 30px;
    padding-top: 20px;
  }

  .hero-stats > div {
    padding: 0 14px;
  }

  .hero-stats > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stats > div:nth-child(3) {
    padding-left: 0;
  }

  .hero-stats__clock b {
    font-size: 14px;
  }

  .hero-stage {
    min-height: 430px;
    border-radius: 22px;
  }

  .stage-bar {
    height: 43px;
    padding: 0 15px;
    font-size: 6.5px;
  }

  .stage-bar__mode {
    display: none;
  }

  .stage-visual {
    height: 342px;
  }

  .stage-whale {
    top: 45%;
    width: 130px;
    height: 130px;
  }

  .stage-whale svg {
    width: 92px;
    height: 58px;
  }

  .stage-whale__tag {
    bottom: 3px;
    font-size: 5.5px;
  }

  .stage-orbit--one { width: 150px; height: 150px; }
  .stage-orbit--two { width: 235px; height: 235px; }
  .stage-orbit--three { width: 330px; height: 330px; }
  .stage-sweep { width: 330px; height: 330px; }

  .stage-chip {
    width: 154px;
    padding: 7px 8px;
    gap: 7px;
    border-radius: 11px;
  }

  .stage-chip--jump { top: 13px; left: 12px; }
  .stage-chip--fish { top: 84px; right: 10px; }
  .stage-chip--tokens { bottom: 15px; left: 15px; }

  .stage-chip__num {
    width: 23px;
    height: 23px;
    border-radius: 6px;
    font-size: 7px;
  }

  .stage-chip__copy b {
    font-size: 10px;
  }

  .stage-chip__copy small {
    font-size: 5.5px;
  }

  .stage-chip__go {
    width: 21px;
    height: 21px;
  }

  .stage-coordinate {
    display: none;
  }

  .stage-foot {
    min-height: 44px;
    padding: 0 15px;
    font-size: 6px;
  }

  .wire {
    grid-template-columns: 154px minmax(0, 1fr);
    height: 48px;
  }

  .wire__label {
    padding-left: 20px;
    font-size: 7.5px;
  }

  .wire__label span {
    font-size: 8px;
  }

  .wire__all {
    display: none;
  }

  .wire-item {
    padding: 0 18px;
    font-size: 10px;
  }

  .library {
    padding: 58px 0 50px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 22px;
  }

  .section-title h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .section-title > p {
    font-size: 12px;
    line-height: 1.7;
  }

  .filter-bar {
    max-width: 100%;
    overflow-x: auto;
  }

  .filter-chip {
    height: 34px;
    padding: 0 11px;
    font-size: 10.5px;
  }

  .library-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }

  .library-bar__tools {
    width: 100%;
    justify-content: space-between;
  }

  .library-bar__hint {
    font-size: 9px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tile-art {
    height: 196px;
  }

  .submit-art {
    height: 196px;
  }

  .game-tile__body {
    padding: 16px 18px 18px;
  }

  .game-tile h3 {
    font-size: 22px;
  }

  .game-tile__desc {
    min-height: 0;
    font-size: 11.5px;
  }

  .arcade-note {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }

  .arcade-note-code {
    width: 100%;
    margin-left: 56px;
    font-size: 6.5px;
  }

  .sonar-section {
    padding: 62px 0 48px;
  }

  .sonar-head {
    gap: 22px;
    padding-bottom: 22px;
  }

  .sonar-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .sonar-tabs {
    width: 100%;
    gap: 1px;
    padding: 3px;
  }

  .sonar-tabs button {
    height: 30px;
    padding: 0 9px;
    font-size: 9.5px;
  }

  .sonar-refresh {
    height: 34px;
    padding: 0 11px;
    font-size: 9px;
  }

  .hot-feature,
  .hot-feature__card {
    min-height: 0;
  }

  .hot-feature__top {
    padding: 15px 17px;
  }

  .hot-feature__signal {
    height: 64px;
    padding: 0 18px;
  }

  .hot-feature__body {
    padding: 20px 19px 22px;
  }

  .hot-feature__body h3 {
    font-size: 27px;
  }

  .hot-feature__body p {
    font-size: 12px;
  }

  .hot-feature__question {
    margin-top: 15px;
  }

  .hot-feature__action {
    padding-top: 18px;
  }

  .sonar-empty {
    min-height: 300px;
    padding: 26px 20px;
  }

  .sonar-empty h3 {
    font-size: 27px;
  }

  .trend-button {
    padding: 13px 2px;
  }

  .trend-title {
    font-size: 11.5px;
  }

  .trend-save {
    width: 25px;
  }

  .sonar-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .sonar-disclaimer {
    max-width: none;
    text-align: left;
  }

  .studio {
    padding: 50px 0 60px;
  }

  .studio-card {
    gap: 30px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .studio-copy h2 {
    font-size: clamp(34px, 9.4vw, 48px);
  }

  .studio-copy p {
    font-size: 12px;
  }

  .studio-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .studio-actions .button {
    width: 100%;
  }

  .studio-stamp {
    display: none;
  }

  .studio-steps li {
    padding: 16px 0;
  }

  .site-footer {
    padding: 34px 0 24px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 25px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    line-height: 1.7;
  }

  .footer-base > div {
    width: 100%;
    justify-content: space-between;
  }

  .game-overlay {
    padding: 0;
  }

  .game-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .game-topbar {
    min-height: 66px;
    padding: 10px 12px 10px 13px;
  }

  .game-index {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 10px;
  }

  .game-identity {
    gap: 9px;
  }

  .game-identity h2 {
    font-size: 17px;
  }

  .game-eyebrow {
    font-size: 6px;
  }

  .game-tools {
    gap: 5px;
  }

  .game-best {
    display: none;
  }

  .game-tool {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
  }

  .game-tool span {
    display: none;
  }

  .game-tool--icon {
    display: none;
  }

  .game-close {
    width: 34px;
    height: 34px;
  }

  .game-footer {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 7px;
  }

  .game-footer-tip {
    display: none;
  }

  .game-footer-right::after {
    content: "鏈湴瀛樻。";
  }

  .detail-overlay {
    padding: 0;
  }

  .detail-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .detail-top {
    padding: 44px 22px 24px;
  }

  .detail-top h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .detail-close {
    top: 13px;
    right: 13px;
  }

  .detail-content {
    padding: 24px 22px 34px;
  }

  .detail-content > p {
    font-size: 13px;
  }

  .detail-source {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-foot {
    padding: 11px 16px;
  }

  .command-layer {
    padding: 0;
  }

  .command-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .command-search {
    height: 68px;
    padding: 0 18px;
  }

  .command-results {
    flex: 1;
    padding: 8px 12px;
  }

  .command-foot {
    padding: 12px 16px;
  }

  .command-foot__hint {
    display: none;
  }
}

@media (max-width: 420px) {
  :root {
    --page: calc(100% - 32px);
  }

  .hero-title {
    font-size: clamp(47px, 13.6vw, 62px);
  }

  .status-capsule {
    font-size: 7.5px;
  }

  .hero-edition {
    display: none;
  }

  .hero-stats b {
    font-size: 22px;
  }

  .stage-chip {
    width: 146px;
  }

  .stage-chip--fish {
    top: 75px;
  }

  .stage-foot {
    font-size: 5.5px;
  }

  .wire {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .wire__label {
    padding-left: 16px;
  }

  .wire__label span {
    display: none;
  }

  .section-title h2 {
    font-size: 37px;
  }

  .studio-card {
    padding: 26px 20px;
  }

  .detail-meta {
    gap: 5px;
  }

  .detail-meta span {
    font-size: 7px;
  }

  .command-search input {
    font-size: 14px;
  }
}

/* ===== dashboard.css ===== */
/* ============================================================
   DeepSeek 娣辨捣娓镐箰鍦?鈥?one-screen dashboard
   The whole experience lives inside a single viewport.
   ============================================================ */

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
}

.masthead {
  position: relative;
  top: auto;
  flex: 0 0 auto;
}

.masthead__inner {
  min-height: 60px;
}

.brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 11px;
}

.brand-mark svg {
  width: 26px;
  height: 18px;
}

.brand-name {
  font-size: 17px;
}

.brand-sub {
  font-size: 10px;
}

.brand-edition {
  font-size: 6.5px;
}

.main-nav a {
  height: 31px;
  padding: 0 12px;
  font-size: 11px;
}

.command-trigger {
  height: 34px;
}

.round-button {
  width: 36px;
  height: 36px;
}

.header-cta {
  height: 36px;
  font-size: 11px;
}

/* ---------- page frame ---------- */

.dashboard {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 11px;
  width: var(--page);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 auto;
  padding: 11px 0 9px;
  overflow: hidden;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 372px);
  gap: 11px;
  min-height: 0;
  overflow: hidden;
}

/* ---------- compact hero ---------- */

.hero-compact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: 24px;
  min-height: 0;
  padding: 12px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 22%, rgba(75, 92, 255, 0.11), transparent 20rem),
    radial-gradient(circle at 8% 110%, rgba(141, 232, 255, 0.12), transparent 18rem),
    rgba(255, 253, 248, 0.42);
}

.hero-compact::before {
  content: "";
  position: absolute;
  top: -150px;
  right: 12%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(75, 92, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(75, 92, 255, 0.025),
    0 0 0 96px rgba(75, 92, 255, 0.016);
  pointer-events: none;
}

.hero-compact::after {
  content: "DEEP / 001";
  position: absolute;
  right: 12px;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.13em;
  color: rgba(16, 21, 34, 0.2);
  pointer-events: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-status {
  margin: 0 0 7px;
}

.status-capsule {
  height: 24px;
  padding: 0 9px;
  font-size: 7.5px;
}

.hero-edition {
  font-size: 7px;
}

.hero-title {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.98;
  white-space: nowrap;
  color: var(--ink);
}

.hero-title-line,
.hero-title-accent {
  display: inline;
}

.hero-title-accent {
  position: relative;
  color: var(--blue);
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0.04em;
  bottom: 0.03em;
  width: 96%;
  height: 0.13em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1deg);
}

.hero-intro {
  max-width: 640px;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.button--hero {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 11.5px;
}

.button--hero svg {
  width: 15px;
  height: 15px;
}

.text-link--large {
  font-size: 10.5px;
}

.text-link--large .text-link__arrow {
  width: 25px;
  height: 25px;
}

.text-link--large .text-link__arrow svg {
  width: 13px;
  height: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  padding: 0 10px;
}

.hero-stats > div:first-child {
  padding-left: 0;
}

.hero-stats dt {
  font-size: 6.5px;
}

.hero-stats dd {
  margin-top: 1px;
}

.hero-stats b {
  font-size: 17px;
}

.hero-stats dd span {
  font-size: 7px;
}

.hero-stats__clock b {
  font-size: 11px;
}

/* ---------- library panel ---------- */

.library-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 0;
  padding: 12px 14px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.38);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 0;
}

.panel-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.panel-kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--muted-light);
  white-space: nowrap;
}

.panel-kicker--lime {
  color: var(--lime);
}

.panel-title h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.1;
  white-space: nowrap;
}

.panel-title h2 em {
  font-style: normal;
  color: var(--blue);
}

.filter-bar--compact {
  padding: 3px;
}

.filter-chip {
  height: 27px;
  padding: 0 9px;
  font-size: 9.5px;
}

.filter-chip span {
  font-size: 6.5px;
}

.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.live-grid .game-tile {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  opacity: 0;
  animation: tile-in 0.5s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.live-grid .game-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 30, 61, 0.13);
}

.live-grid .game-tile__button {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.live-grid .tile-art {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.live-grid .game-tile__body {
  flex: 0 0 auto;
  padding: 9px 11px 10px;
}

.live-grid .game-tile__head {
  gap: 6px;
}

.live-grid .game-tile h3 {
  font-size: 17px;
}

.live-grid .game-tile__tag {
  font-size: 6px;
}

.live-grid .game-tile__desc {
  display: -webkit-box;
  min-height: 0;
  margin-top: 4px;
  overflow: hidden;
  font-size: 9.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.live-grid .game-tile__meta {
  margin-top: 7px;
  padding-top: 7px;
  font-size: 7px;
}

.live-grid .game-tile__cta {
  font-size: 9px;
}

.live-grid .game-tile__cta i {
  width: 20px;
  height: 20px;
}

.live-grid .tile-art__index {
  top: 10px;
  left: 11px;
  font-size: 6.5px;
}

.live-grid .tile-art__badge {
  top: 9px;
  right: 9px;
  height: 20px;
  padding: 0 7px;
  font-size: 6px;
}

.live-grid .tile-art__play {
  right: 11px;
  bottom: 10px;
  width: 32px;
  height: 32px;
}

.live-grid .tile-art__play svg {
  width: 14px;
  height: 14px;
}

/* compact cards for games still in the deep */

.soon-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  min-height: 52px;
}

.soon-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 52px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.38);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.soon-card:hover {
  border-color: rgba(75, 92, 255, 0.28);
  background: rgba(255, 255, 255, 0.76);
  transform: translateY(-2px);
}

.soon-card__num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: var(--muted);
}

.soon-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.soon-card__body b {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soon-card__body small {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.05em;
  color: var(--muted-light);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soon-card__state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 5.5px;
  color: var(--muted-light);
  white-space: nowrap;
}

.games-grid.is-soon-only {
  grid-template-rows: minmax(0, 1fr);
}

.games-grid.is-soon-only .live-grid {
  display: none;
}

.games-grid.is-soon-only .soon-strip {
  height: 100%;
  min-height: 0;
  align-content: stretch;
}

.games-grid.is-soon-only .soon-card {
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 13px;
}

.games-grid.is-soon-only .soon-card__num {
  width: 30px;
  height: 30px;
  font-size: 8px;
}

.games-grid.is-soon-only .soon-card__body b {
  font-size: 16px;
  white-space: normal;
}

.games-grid.is-soon-only .soon-card__body small {
  font-size: 6.5px;
}

.games-grid.is-soon-only .soon-card__state {
  margin-left: 0;
}

.games-grid.is-live-only .soon-strip {
  display: none;
}

.games-grid.is-live-only {
  grid-template-rows: minmax(0, 1fr);
}

.library-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}

.library-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.03em;
  color: var(--muted-light);
  white-space: nowrap;
}

.library-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.library-status b {
  color: var(--ink);
}

.library-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.library-tools .mini-button {
  height: 29px;
  font-size: 9px;
}

.open-call-wrap {
  min-width: 0;
}

.open-call {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(16, 21, 34, 0.2);
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.open-call:hover {
  background: #e9ff78;
  transform: translateY(-1px);
}

.open-call__label {
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.07em;
  opacity: 0.55;
}

.open-call__copy {
  font-size: 9px;
  font-weight: 700;
}

.open-call__action {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 8px;
  border-left: 1px solid rgba(16, 21, 34, 0.18);
  font-size: 8px;
  font-weight: 600;
}

.open-call__action svg {
  width: 11px;
  height: 11px;
}

/* ---------- compact sonar panel ---------- */

.sonar-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 12px 13px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(75, 92, 255, 0.32), transparent 17rem),
    linear-gradient(160deg, #0a1a3a 0%, #06132c 62%, #050f24 100%);
  color: #f5f8ff;
  box-shadow: 0 18px 45px rgba(6, 14, 34, 0.18);
}

.sonar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
}

.sonar-title-group {
  min-width: 0;
}

.sonar-title-group h2 {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
  color: #fff;
}

.sonar-ping {
  color: var(--lime);
}

.sonar-refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: rgba(231, 240, 255, 0.52);
  font-size: 7.5px;
  white-space: nowrap;
}

.sonar-refresh:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sonar-refresh svg {
  width: 11px;
  height: 11px;
}

.sonar-tabs {
  display: flex;
  gap: 3px;
  min-height: 0;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sonar-tabs button {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(231, 240, 255, 0.48);
  white-space: nowrap;
}

.sonar-tabs button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.sonar-tabs button span {
  font-family: var(--font-mono);
  font-size: 6px;
}

.sonar-layout {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  overflow: hidden;
}

.sonar-panel .hot-feature {
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background:
    radial-gradient(circle at 88% 4%, rgba(75, 92, 255, 0.3), transparent 15rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.sonar-panel .hot-feature__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sonar-panel .hot-feature__top {
  padding: 8px 10px;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sonar-panel .hot-feature__cat {
  gap: 6px;
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.sonar-panel .hot-feature__top-actions {
  gap: 6px;
}

.sonar-panel .feature-heat {
  font-size: 7.5px;
}

.sonar-panel .feature-heat small {
  font-size: 6px;
}

.sonar-panel .save-button {
  width: 25px;
  height: 25px;
}

.sonar-panel .save-button svg {
  width: 11px;
  height: 11px;
}

.sonar-panel .hot-feature__signal,
.sonar-panel .hot-feature__tags,
.sonar-panel .hot-feature__question,
.sonar-panel .hot-feature__foot {
  display: none;
}

.sonar-panel .hot-feature__body {
  flex: 0 0 auto;
  padding: 9px 11px 10px;
}

.sonar-panel .hot-feature__meta {
  gap: 7px;
  font-size: 6.5px;
}

.sonar-panel .hot-feature__meta svg {
  width: 9px;
  height: 9px;
}

.sonar-panel .hot-feature__body h3 {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sonar-panel .hot-feature__body p {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  font-size: 9.5px;
  line-height: 1.55;
  color: rgba(227, 238, 255, 0.5);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sonar-panel .hot-feature__action {
  display: inline-flex;
  margin-top: 6px;
  padding-top: 0;
  font-size: 8.5px;
}

.sonar-panel .hot-feature__action svg {
  width: 11px;
  height: 11px;
}

.sonar-panel .sonar-list-col {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.sonar-panel .trend-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  height: 18px;
  padding: 0 2px;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  color: rgba(224, 236, 255, 0.34);
}

.sonar-panel .trend-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sonar-panel .trend-item {
  display: flex;
  flex: 1 1 0;
  align-items: stretch;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.sonar-panel .trend-button {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 3px 2px;
}

.sonar-panel .trend-rank {
  width: 18px;
  font-size: 6.5px;
}

.sonar-panel .trend-main {
  gap: 2px;
}

.sonar-panel .trend-title {
  font-size: 9.5px;
  line-height: 1.35;
}

.sonar-panel .trend-meta {
  gap: 4px;
  font-size: 5.5px;
}

.sonar-panel .trend-heat {
  min-width: 34px;
  font-size: 7px;
}

.sonar-panel .trend-heat small {
  font-size: 6px;
}

.sonar-panel .trend-save {
  width: 20px;
  margin-right: 0;
}

.sonar-panel .trend-save svg {
  width: 10px;
  height: 10px;
}

.sonar-panel .trend-empty {
  padding: 12px 4px;
  font-size: 9px;
}

.sonar-panel .sonar-empty {
  min-height: 0;
  height: 100%;
  padding: 18px;
}

.sonar-panel .sonar-empty h3 {
  margin-top: 8px;
  font-size: 20px;
}

.sonar-panel .sonar-empty p {
  margin-top: 6px;
  font-size: 9.5px;
}

.sonar-panel .sonar-empty__button {
  height: 27px;
  margin-top: 10px;
  padding: 0 9px;
  font-size: 8px;
}

.sonar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 22px;
  margin-top: 0;
  padding-top: 6px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.keyword-block {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.keyword-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  color: rgba(228, 238, 255, 0.3);
}

.sonar-panel .keyword-cloud {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  overflow: hidden;
}

.sonar-panel .keyword-cloud button {
  height: 19px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 6.5px;
  white-space: nowrap;
}

.sonar-time {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 6px;
  color: rgba(228, 238, 255, 0.28);
  white-space: nowrap;
}

.sonar-time i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
}

.sonar-time b {
  font-weight: 500;
  color: rgba(228, 238, 255, 0.45);
}

/* ---------- compact footer ---------- */

.site-footer {
  flex: 0 0 auto;
  padding: 0;
  background: #0a1020;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--page);
  height: 36px;
  margin: 0 auto;
}

.footer-brand {
  gap: 8px;
}

.footer-mark {
  width: 23px;
  height: 23px;
  border-radius: 7px;
}

.footer-mark svg {
  width: 16px;
  height: 11px;
}

.footer-brand div {
  gap: 0;
}

.footer-brand b {
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.footer-brand span {
  font-size: 7px;
}

.footer-disclaimer {
  flex: 1;
  overflow: hidden;
  color: rgba(240, 245, 255, 0.28);
  font-size: 6.5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 7.5px;
}

.footer-links kbd {
  height: 16px;
  min-width: 16px;
  font-size: 6.5px;
}

.footer-year {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: rgba(240, 245, 255, 0.22);
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .hero-compact {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    gap: 18px;
    padding: 11px 18px;
  }

  .hero-title {
    font-size: clamp(40px, 4.5vw, 54px);
  }

  .hero-intro {
    font-size: 10.5px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 348px;
  }

  .library-panel {
    padding: 10px 12px 9px;
  }

  .panel-title {
    gap: 8px;
  }

  .panel-kicker {
    font-size: 6.5px;
  }

  .open-call__label,
  .open-call__action {
    display: none;
  }

  .open-call {
    padding: 0 9px;
  }
}

@media (max-width: 1080px) {
  .hero-compact {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 4px;
  }

  .hero-stats > div {
    padding: 0 8px;
  }

  .hero-stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stats dd {
    display: inline-flex;
    margin-left: 4px;
  }

  .hero-stats dt {
    display: inline;
  }

  .hero-stats > div {
    border-left: 0;
    padding-left: 0;
  }

  .library-foot {
    gap: 8px;
  }

  .library-status {
    font-size: 6.5px;
  }

  .live-grid {
    gap: 7px;
  }
}

@media (max-width: 900px) {
  .hero-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 10px 14px;
  }

  .hero-title {
    font-size: clamp(34px, 5.4vw, 46px);
  }

  .hero-intro {
    margin-top: 4px;
    font-size: 9.5px;
  }

  .hero-status {
    margin-bottom: 4px;
  }

  .hero-side {
    gap: 6px;
  }

  .hero-stats {
    display: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .button--hero {
    height: 34px;
    padding: 0 11px;
    font-size: 10px;
  }

  .text-link--large {
    font-size: 9px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.16fr) minmax(0, 1fr);
    gap: 8px;
  }

  .panel-title h2 {
    font-size: 22px;
  }

  .panel-kicker {
    display: none;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 8px 9px 9px;
  }

  .open-call__label,
  .open-call__action,
  .library-status {
    display: none;
  }

  .soon-card {
    padding: 6px;
  }

  .soon-card__state {
    display: none;
  }

  .sonar-panel {
    padding: 10px 11px 8px;
  }

  .sonar-title-group h2 {
    font-size: 22px;
  }

  .sonar-tabs button {
    padding: 0 5px;
    font-size: 7.5px;
  }

  .sonar-panel .hot-feature__body p {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 16px;
  }

  .footer-disclaimer {
    display: none;
  }
}

@media (max-width: 1180px) {
  .live-grid .jump-island--a {
    width: 92px;
    left: 1%;
  }

  .live-grid .jump-island--b {
    width: 70px;
    left: 45%;
  }

  .live-grid .jump-island--c {
    width: 94px;
    right: 1%;
  }

  .live-grid .jump-whale {
    width: 54px;
    height: 41px;
    left: 33%;
    bottom: 64px;
  }

  .live-grid .jump-ring {
    left: calc(33% + 18px);
    bottom: 51px;
    width: 23px;
    height: 9px;
  }

  .live-grid .jump-arc {
    left: 24%;
    bottom: 68px;
    width: 108px;
    height: 50px;
  }

  .live-grid .fish-blob--one {
    width: 66px;
    height: 66px;
    left: 7%;
    bottom: 26px;
  }

  .live-grid .fish-blob--two {
    width: 45px;
    height: 45px;
    left: 41%;
    bottom: 48px;
  }

  .live-grid .fish-blob--three {
    width: 86px;
    height: 86px;
    right: 1%;
    bottom: 24px;
  }

  .live-grid .fish-blob--four {
    width: 33px;
    height: 33px;
    left: 37%;
    top: 18%;
  }

  .live-grid .fish-blob::before,
  .live-grid .fish-blob::after {
    width: 4px;
    height: 5px;
  }

  .live-grid .fish-blob i {
    width: 7px;
    height: 4px;
    border-bottom-width: 1px;
  }

  .live-grid .token-mini-grid {
    top: 50%;
    grid-template-columns: repeat(4, 30px);
    gap: 5px;
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .live-grid .token-mini {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 11px;
  }

  .live-grid .token-combo {
    right: 9px;
    bottom: 9px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .sonar-panel .sonar-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 9px;
  }

  .sonar-panel .hot-feature {
    flex: 0 0 46%;
  }

  .sonar-panel .hot-feature__body p {
    display: -webkit-box;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 19px;
  }

  .sonar-panel .sonar-list-col {
    flex: 1 1 0;
  }
}

@media (max-width: 760px) {
  .masthead__inner {
    min-height: 52px;
  }

  .dashboard {
    gap: 7px;
    padding: 7px 0 6px;
  }

  .hero-compact {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 7px 10px 8px;
    border-radius: 16px;
  }

  .hero-status {
    display: none;
  }

  .hero-title {
    font-size: clamp(26px, 7.2vw, 34px);
    letter-spacing: -0.07em;
  }

  .hero-intro {
    margin-top: 2px;
    font-size: 8.5px;
    line-height: 1.4;
  }

  .hero-side {
    display: none;
  }

  .hero-actions {
    display: none;
  }

  .hero-actions .text-link {
    display: none;
  }

  .hero-stats {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.13fr) minmax(0, 1fr);
    gap: 7px;
  }

  .library-panel {
    gap: 5px;
    padding: 7px 8px 6px;
    border-radius: 16px;
  }

  .panel-head {
    gap: 8px;
  }

  .panel-title h2 {
    font-size: 20px;
  }

  .filter-bar--compact {
    padding: 2px;
  }

  .filter-chip {
    height: 23px;
    padding: 0 6px;
    font-size: 8px;
  }

  .filter-chip span {
    font-size: 5.5px;
  }

  .games-grid {
    gap: 5px;
  }

  .live-grid {
    gap: 5px;
  }

  .live-grid .game-tile {
    border-radius: 11px;
  }

  .live-grid .tile-art__index {
    display: none;
  }

  .live-grid .tile-art__badge {
    top: 6px;
    right: 6px;
    height: 16px;
    padding: 0 5px;
    font-size: 5px;
  }

  .live-grid .tile-art__play {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 5px 6px 6px;
  }

  .live-grid .game-tile h3 {
    font-size: 12.5px;
    letter-spacing: -0.03em;
  }

  .live-grid .game-tile__tag {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 0;
    font-size: 6px;
  }

  .live-grid .game-tile__best {
    display: none;
  }

  .live-grid .game-tile__cta {
    font-size: 7.5px;
  }

  .live-grid .game-tile__cta i {
    width: 16px;
    height: 16px;
  }

  .live-grid .game-tile__cta i svg {
    width: 9px;
    height: 9px;
  }

  .live-grid .jump-island--a {
    width: 66px;
    left: -1%;
    bottom: 18px;
  }

  .live-grid .jump-island--b {
    width: 50px;
    left: 43%;
    bottom: 34px;
  }

  .live-grid .jump-island--c {
    width: 68px;
    right: -2%;
    bottom: 17px;
  }

  .live-grid .jump-whale {
    width: 42px;
    height: 32px;
    left: 32%;
    bottom: 39px;
  }

  .live-grid .jump-ring {
    left: calc(32% + 14px);
    bottom: 30px;
    width: 18px;
    height: 7px;
  }

  .live-grid .jump-arc {
    left: 23%;
    bottom: 44px;
    width: 80px;
    height: 36px;
  }

  .live-grid .jump-sun {
    top: 14px;
    right: 15px;
    width: 27px;
    height: 27px;
  }

  .live-grid .jump-meter {
    left: 8%;
    bottom: 8px;
    width: 46px;
  }

  .live-grid .fish-blob--one {
    width: 48px;
    height: 48px;
    left: 3%;
    bottom: 17px;
  }

  .live-grid .fish-blob--two {
    width: 31px;
    height: 31px;
    left: 42%;
    bottom: 30px;
  }

  .live-grid .fish-blob--three {
    width: 60px;
    height: 60px;
    right: -2%;
    bottom: 15px;
  }

  .live-grid .fish-blob--four {
    width: 24px;
    height: 24px;
    left: 38%;
    top: 14%;
  }

  .live-grid .fish-blob::before,
  .live-grid .fish-blob::after {
    width: 3px;
    height: 4px;
  }

  .live-grid .fish-blob i {
    width: 5px;
    height: 3px;
  }

  .live-grid .fish-bubble--a {
    width: 8px;
    height: 8px;
  }

  .live-grid .fish-bubble--c {
    width: 11px;
    height: 11px;
  }

  .live-grid .token-mini-grid {
    grid-template-columns: repeat(4, 22px);
    gap: 3px;
  }

  .live-grid .token-mini {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 8px;
  }

  .live-grid .token-combo {
    right: 5px;
    bottom: 5px;
    padding: 3px 5px;
    font-size: 5px;
  }

  .live-grid .token-combo b {
    font-size: 8px;
  }

  .live-grid .token-grid .art-grid {
    opacity: 0.2;
  }

  .soon-strip {
    gap: 3px;
    min-height: 36px;
  }

  .soon-card {
    height: 36px;
    gap: 3px;
    padding: 3px 4px;
    border-radius: 7px;
  }

  .soon-card__num {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    font-size: 5px;
  }

  .soon-card__body {
    gap: 0;
  }

  .soon-card__body b {
    font-size: 7.5px;
    line-height: 1.2;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .soon-card__body small {
    display: none;
  }

  .soon-card__state {
    display: none;
  }

  .library-foot {
    min-height: 26px;
  }

  .games-grid.is-soon-only .soon-strip {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, minmax(0, 1fr));
  }

  .games-grid.is-soon-only .soon-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 4px 7px;
  }

  .games-grid.is-soon-only .soon-card__num {
    width: 18px;
    height: 18px;
    font-size: 5.5px;
  }

  .games-grid.is-soon-only .soon-card__body b {
    font-size: 10px;
    white-space: nowrap;
  }

  .games-grid.is-soon-only .soon-card__body small {
    display: block;
    font-size: 5.5px;
  }

  .games-grid.is-soon-only .soon-card__state {
    display: block;
    margin-left: auto;
    font-size: 5.5px;
  }

  .library-tools {
    flex: 1;
    justify-content: flex-end;
  }

  .library-tools .mini-button {
    display: none;
  }

  .open-call {
    width: 100%;
    height: 26px;
    justify-content: space-between;
    padding: 0 8px;
    border-radius: 6px;
  }

  .open-call__label {
    display: inline;
    font-size: 5px;
  }

  .open-call__copy {
    font-size: 8px;
  }

  .open-call__action {
    display: flex;
    font-size: 7px;
  }

  .open-call__action svg {
    width: 9px;
    height: 9px;
  }

  .sonar-panel {
    padding: 7px 8px 6px;
    border-radius: 16px;
  }

  .sonar-top {
    padding-bottom: 5px;
  }

  .panel-kicker--lime {
    display: block;
    font-size: 5.5px;
  }

  .sonar-title-group h2 {
    font-size: 19px;
  }

  .sonar-refresh {
    height: 23px;
    padding: 0 6px;
    font-size: 6.5px;
  }

  .sonar-refresh svg {
    width: 9px;
    height: 9px;
  }

  .sonar-tabs {
    margin-bottom: 5px;
    gap: 2px;
  }

  .sonar-tabs button {
    height: 20px;
    padding: 0 5px;
    font-size: 7px;
    border-radius: 4px;
  }

  .sonar-tabs button span {
    font-size: 5px;
  }

  .sonar-layout {
    gap: 4px;
  }

  .sonar-panel .hot-feature {
    border-radius: 9px;
  }

  .sonar-panel .hot-feature__top {
    padding: 5px 7px;
  }

  .sonar-panel .hot-feature__cat {
    font-size: 5.5px;
  }

  .sonar-panel .feature-heat {
    font-size: 6.5px;
  }

  .sonar-panel .save-button {
    width: 21px;
    height: 21px;
  }

  .sonar-panel .hot-feature__body {
    padding: 6px 8px 7px;
  }

  .sonar-panel .hot-feature__meta {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    margin-top: 4px;
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .sonar-panel .hot-feature__body p {
    display: none;
  }

  .sonar-panel .hot-feature__action {
    margin-top: 4px;
    font-size: 7px;
  }

  .sonar-panel .trend-head {
    height: 14px;
    font-size: 5.5px;
  }

  .sonar-panel .trend-button {
    padding: 2px;
  }

  .sonar-panel .trend-rank {
    width: 14px;
    font-size: 5.5px;
  }

  .sonar-panel .trend-title {
    font-size: 8px;
  }

  .sonar-panel .trend-meta {
    display: none;
  }

  .sonar-panel .trend-heat {
    min-width: 27px;
    font-size: 6px;
  }

  .sonar-panel .trend-heat small {
    display: none;
  }

  .sonar-panel .trend-save {
    width: 16px;
  }

  .sonar-panel .trend-item:nth-child(n+3) {
    display: none;
  }

  .sonar-bottom {
    min-height: 18px;
    padding-top: 4px;
  }

  .keyword-label {
    display: none;
  }

  .sonar-panel .keyword-cloud button {
    height: 16px;
    padding: 0 4px;
    font-size: 5.5px;
  }

  .sonar-panel .keyword-cloud button:nth-child(n+4) {
    display: none;
  }

  .sonar-time {
    font-size: 5.5px;
  }

  .footer-inline {
    height: 28px;
    gap: 8px;
  }

  .footer-brand span {
    display: none;
  }

  .footer-brand b {
    font-size: 7.5px;
  }

  .footer-mark {
    width: 19px;
    height: 19px;
  }

  .footer-mark svg {
    width: 13px;
    height: 9px;
  }

  .footer-links {
    gap: 8px;
    font-size: 6.5px;
  }

  .footer-links a:nth-child(2) {
    display: none;
  }

  .footer-links button {
    display: none;
  }

  .footer-year {
    font-size: 5.5px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .dashboard {
    gap: 5px;
    padding: 5px 0 4px;
  }

  .hero-compact {
    padding: 5px 9px 6px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-intro {
    display: none;
  }

  .hero-actions {
    bottom: 5px;
  }

  .dashboard-grid {
    grid-template-rows: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 5px;
  }

  .library-panel {
    padding: 6px 7px 5px;
  }

  .panel-title h2 {
    font-size: 18px;
  }

  .filter-chip {
    height: 21px;
    font-size: 7.5px;
  }

  .soon-strip {
    min-height: 30px;
  }

  .soon-card {
    height: 30px;
  }

  .soon-card__num {
    display: none;
  }

  .library-foot {
    min-height: 23px;
  }

  .open-call {
    height: 23px;
  }

  .open-call__label {
    display: none;
  }

  .sonar-panel {
    padding: 5px 7px;
  }

  .panel-kicker--lime {
    display: none;
  }

  .sonar-title-group h2 {
    font-size: 18px;
  }

  .sonar-tabs {
    margin-bottom: 4px;
  }

  .sonar-panel .hot-feature__top {
    display: none;
  }

  .sonar-panel .hot-feature__body {
    padding: 6px 8px;
  }

  .sonar-panel .hot-feature__body h3 {
    margin-top: 0;
    font-size: 12px;
  }

  .sonar-panel .hot-feature__action {
    display: none;
  }

  .sonar-panel .trend-head {
    display: none;
  }

  .sonar-panel .trend-title {
    font-size: 7.5px;
  }

  .sonar-panel .sonar-bottom {
    display: none;
  }

  .footer-inline {
    height: 24px;
  }

  .footer-links a {
    display: none;
  }

  .footer-links a:first-child {
    display: inline;
  }
}

/* short desktop windows */
@media (max-height: 800px) and (min-width: 761px) {
  .masthead__inner {
    min-height: 54px;
  }

  .dashboard {
    gap: 8px;
    padding: 8px 0 7px;
  }

  .hero-compact {
    padding: 9px 18px;
  }

  .hero-title {
    font-size: clamp(38px, 4.1vw, 52px);
  }

  .hero-intro {
    margin-top: 4px;
    font-size: 9.5px;
  }

  .hero-status {
    margin-bottom: 4px;
  }

  .hero-stats {
    padding-top: 6px;
  }

  .button--hero {
    height: 33px;
    font-size: 10px;
  }

  .library-panel {
    padding: 9px 12px 8px;
  }

  .panel-title h2 {
    font-size: 23px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .soon-strip {
    min-height: 46px;
  }

  .soon-card {
    height: 46px;
  }

  .sonar-panel {
    padding: 9px 11px 7px;
  }

  .sonar-title-group h2 {
    font-size: 22px;
  }

  .sonar-panel .hot-feature__body p {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 16px;
  }

  .footer-inline {
    height: 30px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .masthead__inner {
    min-height: 48px;
  }

  .dashboard {
    gap: 6px;
    padding: 6px 0 5px;
  }

  .hero-compact {
    padding: 6px 16px;
  }

  .hero-title {
    font-size: clamp(34px, 3.9vw, 46px);
  }

  .hero-intro {
    display: none;
  }

  .hero-stats {
    padding-top: 3px;
  }

  .panel-title h2 {
    font-size: 21px;
  }

  .soon-strip {
    min-height: 40px;
  }

  .soon-card {
    height: 40px;
  }

  .sonar-panel {
    padding: 7px 10px 6px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 14px;
  }

  .sonar-panel .hot-feature__action {
    display: none;
  }

  .sonar-panel .trend-item:nth-child(n+6) {
    display: none;
  }

  .footer-inline {
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-grid .game-tile {
    opacity: 1;
    animation-delay: 0s !important;
  }
}

/* very short landscape screens: drop the hero, keep the two working panels */
@media (max-height: 520px) {
  .masthead__inner {
    min-height: 44px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-mark svg {
    width: 22px;
    height: 15px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub,
  .brand-edition,
  .main-nav {
    display: none;
  }

  .dashboard {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 5px 0 4px;
  }

  .hero-compact {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    grid-template-rows: minmax(0, 1fr);
    gap: 7px;
  }

  .library-panel,
  .sonar-panel {
    padding: 6px 8px;
    border-radius: 13px;
  }

  .library-panel {
    gap: 5px;
  }

  .panel-title h2 {
    font-size: 18px;
  }

  .filter-chip {
    height: 21px;
    padding: 0 6px;
    font-size: 7.5px;
  }

  .filter-chip span {
    font-size: 5.5px;
  }

  .games-grid {
    gap: 5px;
  }

  .live-grid {
    gap: 5px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 5px 7px 6px;
  }

  .live-grid .game-tile h3 {
    font-size: 13px;
  }

  .live-grid .game-tile__tag {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: 4px;
    padding-top: 4px;
  }

  .live-grid .game-tile__best,
  .live-grid .tile-art__play,
  .live-grid .tile-art__index {
    display: none;
  }

  .soon-strip {
    min-height: 31px;
  }

  .soon-card {
    height: 31px;
    padding: 3px 5px;
  }

  .soon-card__body small,
  .soon-card__state {
    display: none;
  }

  .soon-card__body b {
    font-size: 8px;
  }

  .soon-card__num {
    width: 16px;
    height: 16px;
    font-size: 5px;
  }

  .library-foot {
    min-height: 24px;
  }

  .library-status,
  .library-tools .mini-button,
  .open-call__label,
  .open-call__action {
    display: none;
  }

  .open-call {
    height: 23px;
    font-size: 7.5px;
  }

  .sonar-top {
    padding-bottom: 4px;
  }

  .panel-kicker--lime {
    font-size: 5.5px;
  }

  .sonar-title-group h2 {
    font-size: 18px;
  }

  .sonar-refresh {
    height: 21px;
    font-size: 6px;
  }

  .sonar-tabs {
    margin-bottom: 4px;
  }

  .sonar-panel .sonar-layout {
    flex-direction: column;
    gap: 5px;
  }

  .sonar-panel .hot-feature {
    flex: 0 0 auto;
  }

  .sonar-tabs button {
    height: 19px;
    padding: 0 5px;
    font-size: 6.5px;
  }

  .sonar-panel .hot-feature__body {
    padding: 6px 8px;
  }

  .sonar-panel .hot-feature__body h3 {
    margin-top: 4px;
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .sonar-panel .hot-feature__body p,
  .sonar-panel .hot-feature__action {
    display: none;
  }

  .sonar-panel .trend-head {
    height: 14px;
  }

  .sonar-panel .trend-title {
    font-size: 7.5px;
  }

  .sonar-panel .trend-meta {
    display: none;
  }

  .sonar-panel .trend-heat small {
    display: none;
  }

  .sonar-bottom {
    display: none;
  }

  .footer-inline {
    height: 24px;
  }

  .footer-disclaimer {
    display: none;
  }

  .footer-links a:nth-child(n+2) {
    display: none;
  }
}

/* ===== premium.css ===== */
/* ============================================================
   DeepSeek 娣辨捣娓镐箰鍦?鈥?cinematic deep-sea skin
   Loaded after the layout layer; unifies the one-screen screen.
   ============================================================ */

body {
  color: #eef4ff;
  background-color: #040a18;
  background-image:
    radial-gradient(circle at 50% 118%, rgba(75, 92, 255, 0.2), transparent 38rem),
    radial-gradient(circle at 83% 9%, rgba(141, 232, 255, 0.12), transparent 27rem),
    radial-gradient(circle at 10% 12%, rgba(75, 92, 255, 0.2), transparent 29rem),
    radial-gradient(circle at 20px 32px, rgba(255, 255, 255, 0.28) 0.8px, transparent 1.4px),
    radial-gradient(circle at 128px 174px, rgba(141, 232, 255, 0.32) 0.8px, transparent 1.4px),
    linear-gradient(180deg, #071127 0%, #040a18 56%, #030711 100%);
  background-size: auto, auto, auto, 260px 260px, 360px 360px, auto;
}

.page-grain {
  opacity: 0.075;
  mix-blend-mode: soft-light;
}

/* ---------- header ---------- */

.masthead {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 24, 0.78);
}

.brand-name {
  color: #f8fbff;
}

.brand-sub {
  color: rgba(226, 238, 255, 0.5);
}

.brand-edition {
  border-left-color: rgba(255, 255, 255, 0.14);
  color: rgba(226, 238, 255, 0.3);
}

.brand-mark {
  background: linear-gradient(145deg, #6071ff, #3446e8);
  box-shadow: 0 9px 22px rgba(55, 75, 255, 0.4);
}

.main-nav {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.main-nav a {
  color: rgba(226, 238, 255, 0.56);
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.main-nav a.is-active {
  background: var(--lime);
  color: #0a1324;
  box-shadow: 0 6px 16px rgba(223, 245, 107, 0.16);
}

.nav-count {
  background: rgba(141, 232, 255, 0.12);
  color: var(--cyan);
}

.main-nav a.is-active .nav-count {
  background: rgba(10, 19, 36, 0.1);
  color: #0a1324;
}

.nav-live {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 97, 0.14);
}

.command-trigger {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 238, 255, 0.54);
}

.command-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.command-trigger kbd,
.footer-links kbd {
  border-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 238, 255, 0.44);
}

.round-button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 238, 255, 0.6);
}

.round-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.header-cta {
  background: var(--lime);
  color: #0a1324;
  box-shadow: 0 8px 24px rgba(223, 245, 107, 0.16);
}

.header-cta:hover {
  background: #ebff84;
  box-shadow: 0 12px 30px rgba(223, 245, 107, 0.24);
}

/* ---------- hero ---------- */

.hero-compact {
  border-color: rgba(255, 255, 255, 0.085);
  background:
    radial-gradient(circle at 82% 12%, rgba(75, 92, 255, 0.24), transparent 22rem),
    linear-gradient(112deg, rgba(13, 32, 68, 0.8) 0%, rgba(7, 18, 43, 0.5) 58%, rgba(9, 26, 59, 0.74) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-compact::before {
  border-color: rgba(141, 232, 255, 0.12);
  box-shadow:
    0 0 0 48px rgba(141, 232, 255, 0.025),
    0 0 0 96px rgba(141, 232, 255, 0.014);
}

.hero-compact::after {
  color: rgba(220, 238, 255, 0.18);
}

.status-capsule {
  border-color: rgba(141, 232, 255, 0.3);
  background: rgba(141, 232, 255, 0.06);
  color: var(--cyan);
}

.status-capsule .live-dot {
  color: var(--lime);
}

.hero-edition {
  color: rgba(226, 238, 255, 0.34);
}

.hero-title {
  color: #f6faff;
  text-shadow: 0 8px 40px rgba(57, 84, 255, 0.16);
}

.hero-title-accent {
  background: linear-gradient(94deg, #9beaff 4%, #7b91ff 54%, #8eaeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-title-accent::after {
  background: var(--lime);
  opacity: 0.88;
  box-shadow: 0 0 24px rgba(223, 245, 107, 0.2);
}

.title-dot {
  -webkit-text-fill-color: var(--coral);
  color: var(--coral);
}

.hero-intro {
  color: rgba(224, 237, 255, 0.56);
}

.hero-actions .text-link {
  color: rgba(242, 247, 255, 0.8);
}

.hero-actions .text-link:hover {
  color: var(--cyan);
}

.text-link__arrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.hero-actions .text-link:hover .text-link__arrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cyan);
}

.button--blue {
  background: linear-gradient(135deg, #5c6dff, #3f50f3);
  box-shadow: 0 12px 28px rgba(58, 77, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button--blue:hover {
  background: linear-gradient(135deg, #6c7dff, #4556f8);
  box-shadow: 0 16px 34px rgba(58, 77, 255, 0.44);
}

.hero-stats {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-stats > div {
  border-left-color: rgba(255, 255, 255, 0.09);
}

.hero-stats dt {
  color: rgba(218, 234, 255, 0.34);
  font-size: 7.5px;
}

.hero-stats b {
  color: #f4f8ff;
  font-size: 19px;
}

.hero-stats dd span {
  color: rgba(218, 234, 255, 0.38);
  font-size: 8px;
}

.hero-stats__clock b {
  color: var(--lime);
  font-size: 12px;
}

/* ---------- game library ---------- */

.library-panel {
  border-color: rgba(255, 255, 255, 0.085);
  background:
    radial-gradient(circle at 12% 0%, rgba(75, 92, 255, 0.1), transparent 24rem),
    linear-gradient(158deg, rgba(12, 28, 59, 0.7), rgba(5, 14, 33, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 55px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.panel-kicker {
  color: rgba(218, 234, 255, 0.32);
}

.panel-title h2 {
  color: #f6faff;
}

.panel-title h2 em {
  color: var(--cyan);
}

.filter-bar {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
}

.filter-chip {
  color: rgba(224, 237, 255, 0.5);
}

.filter-chip:hover {
  color: #fff;
}

.filter-chip.is-active {
  background: rgba(244, 248, 255, 0.94);
  color: #081226;
}

.library-status {
  color: rgba(218, 234, 255, 0.32);
}

.library-status b {
  color: rgba(244, 249, 255, 0.78);
}

.library-status i {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(223, 245, 107, 0.6);
}

.library-tools .mini-button {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(224, 237, 255, 0.5);
}

.library-tools .mini-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* full-bleed poster cards */

.live-grid .game-tile {
  border-color: rgba(255, 255, 255, 0.11);
  background: #0a1834;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.live-grid .game-tile:hover {
  border-color: rgba(141, 232, 255, 0.38);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.36),
    0 0 46px rgba(75, 92, 255, 0.12);
}

.live-grid .game-tile__button {
  position: relative;
  display: block;
}

.live-grid .tile-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.live-grid .tile-art::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.live-grid .tile-art::after {
  background:
    linear-gradient(to top, rgba(3, 9, 22, 0.95) 0%, rgba(3, 10, 24, 0.78) 22%, rgba(3, 9, 22, 0.22) 48%, transparent 68%),
    linear-gradient(to bottom, rgba(3, 9, 22, 0.24), transparent 22%);
}

.live-grid .jump-scene,
.live-grid .fish-scene,
.live-grid .token-scene,
.live-grid .prompt-scene,
.live-grid .radar-scene,
.live-grid .hunter-scene,
.live-grid .puzzle-scene,
.live-grid .maze-scene {
  transition: transform 0.7s var(--ease-out);
}

.live-grid .game-tile:hover .jump-scene,
.live-grid .game-tile:hover .fish-scene,
.live-grid .game-tile:hover .token-scene,
.live-grid .game-tile:hover .prompt-scene,
.live-grid .game-tile:hover .radar-scene,
.live-grid .game-tile:hover .hunter-scene,
.live-grid .game-tile:hover .puzzle-scene,
.live-grid .game-tile:hover .maze-scene {
  transform: translateY(-8px) scale(1.025);
}

.live-grid .tile-art__index {
  top: 11px;
  left: 12px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(5, 14, 33, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.62);
}

.live-grid .tile-art__badge {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(5, 14, 33, 0.34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.86);
}

.live-grid .tile-art__badge i {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(223, 245, 107, 0.7);
}

.tile-art__watermark {
  position: absolute;
  z-index: 4;
  top: 54px;
  right: 12px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
}

.live-grid .jump-island--a {
  bottom: 31%;
}

.live-grid .jump-island--b {
  bottom: 38%;
}

.live-grid .jump-island--c {
  bottom: 30%;
}

.live-grid .jump-whale {
  bottom: 35%;
}

.live-grid .jump-ring {
  bottom: 29%;
}

.live-grid .jump-arc {
  bottom: 37%;
}

.live-grid .fish-blob--one {
  bottom: 25%;
}

.live-grid .fish-blob--two {
  bottom: 34%;
}

.live-grid .fish-blob--three {
  bottom: 23%;
}

.live-grid .fish-blob--four {
  top: 26%;
}

.live-grid .token-mini-grid {
  top: 44%;
}

.live-grid .tile-art__play {
  display: none;
}

.live-grid .game-tile__body {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 15px 13px;
  background: linear-gradient(to top, rgba(3, 9, 22, 0.94) 0%, rgba(4, 11, 26, 0.74) 52%, transparent 100%);
}

.live-grid .game-tile h3 {
  color: #fff;
  font-size: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.live-grid .game-tile__tag {
  color: rgba(223, 245, 107, 0.72);
  font-size: 6.5px;
}

.live-grid .game-tile__desc {
  color: rgba(226, 239, 255, 0.56);
  font-size: 10px;
}

.live-grid .game-tile__meta {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(226, 239, 255, 0.36);
}

.live-grid .game-tile__best b {
  color: rgba(248, 251, 255, 0.9);
}

.live-grid .game-tile__cta {
  color: rgba(255, 255, 255, 0.9);
}

.live-grid .game-tile__cta i {
  background: var(--lime);
  color: #081226;
  box-shadow: 0 4px 12px rgba(223, 245, 107, 0.18);
}

.live-grid .game-tile:hover .game-tile__cta i {
  background: #f0ff91;
}

/* coming soon rail */

.soon-card {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.035);
}

.soon-card:hover {
  border-color: rgba(141, 232, 255, 0.32);
  background: rgba(255, 255, 255, 0.075);
}

.soon-card__num {
  background: rgba(141, 232, 255, 0.08);
  color: var(--cyan);
}

.soon-card__body b {
  color: rgba(245, 249, 255, 0.86);
}

.soon-card__body small {
  color: rgba(218, 234, 255, 0.32);
}

.soon-card__state {
  color: rgba(223, 245, 107, 0.44);
}

.open-call {
  border-color: rgba(223, 245, 107, 0.4);
  background: var(--lime);
  color: #0a1324;
  box-shadow: 0 8px 20px rgba(223, 245, 107, 0.12);
}

.open-call:hover {
  background: #ecff80;
}

/* ---------- signal panel ---------- */

.sonar-panel {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 88% 0%, rgba(75, 92, 255, 0.36), transparent 18rem),
    radial-gradient(circle at 8% 100%, rgba(141, 232, 255, 0.08), transparent 18rem),
    linear-gradient(158deg, #0b1d40 0%, #07142e 55%, #050f24 100%);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sonar-panel .panel-kicker--lime {
  color: rgba(223, 245, 107, 0.72);
}

.sonar-title-group h2 {
  color: #fff;
}

.sonar-ping {
  color: var(--lime);
  text-shadow: 0 0 18px rgba(223, 245, 107, 0.5);
}

.sonar-refresh {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(229, 241, 255, 0.5);
}

.sonar-refresh:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.sonar-tabs button {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(229, 241, 255, 0.5);
}

.sonar-tabs button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.sonar-tabs button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: #0a1324;
}

.sonar-panel .hot-feature {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 92% 0%, rgba(75, 92, 255, 0.34), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sonar-panel .hot-feature__top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sonar-panel .hot-feature__cat {
  color: rgba(226, 239, 255, 0.48);
  font-size: 7px;
}

.sonar-panel .hot-feature__cat i {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(223, 245, 107, 0.08), 0 0 10px rgba(223, 245, 107, 0.5);
}

.sonar-panel .feature-heat {
  color: var(--lime);
  font-size: 8.5px;
}

.sonar-panel .hot-feature__signal {
  display: flex;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sonar-panel .hot-feature__signal::before {
  display: none;
}

.sonar-panel .signal-bar {
  width: 2px;
  margin-right: 2px;
  background: linear-gradient(to top, rgba(75, 92, 255, 0.2), var(--cyan));
  opacity: 0.68;
}

.sonar-panel .hot-feature__body {
  padding: 10px 12px 12px;
}

.sonar-panel .hot-feature__meta {
  color: rgba(221, 237, 255, 0.36);
}

.sonar-panel .hot-feature__body h3 {
  margin-top: 7px;
  color: #fff;
  font-size: 21px;
  line-height: 1.24;
}

.sonar-panel .hot-feature__body p {
  color: rgba(226, 239, 255, 0.55);
  font-size: 10.5px;
}

.sonar-panel .hot-feature__action {
  color: var(--lime);
  font-size: 9.5px;
}

.sonar-panel .trend-head {
  color: rgba(221, 237, 255, 0.3);
}

.sonar-panel .trend-item {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.sonar-panel .trend-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sonar-panel .trend-rank {
  color: rgba(221, 237, 255, 0.3);
}

.sonar-panel .trend-title {
  color: rgba(246, 250, 255, 0.84);
  font-size: 11.5px;
}

.sonar-panel .trend-button:hover .trend-title {
  color: var(--lime);
}

.sonar-panel .trend-meta {
  color: rgba(221, 237, 255, 0.3);
}

.sonar-panel .trend-meta span:first-child {
  color: rgba(141, 232, 255, 0.62);
}

.sonar-panel .trend-heat {
  color: rgba(239, 247, 255, 0.68);
}

.sonar-panel .trend-heat small {
  color: var(--lime);
}

.sonar-panel .trend-save {
  color: rgba(221, 237, 255, 0.26);
}

.sonar-panel .trend-save.is-saved {
  color: var(--lime);
}

.sonar-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.sonar-panel .keyword-label {
  color: rgba(221, 237, 255, 0.3);
}

.sonar-panel .keyword-cloud button {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(221, 237, 255, 0.46);
}

.sonar-panel .keyword-cloud button:hover {
  border-color: rgba(223, 245, 107, 0.4);
  background: rgba(223, 245, 107, 0.07);
  color: var(--lime);
}

.sonar-time {
  color: rgba(221, 237, 255, 0.3);
}

.sonar-time b {
  color: rgba(221, 237, 255, 0.5);
}

/* ---------- footer ---------- */

.site-footer {
  background: #030711;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand b {
  color: rgba(246, 250, 255, 0.82);
  font-size: 9.5px;
}

.footer-brand span {
  color: rgba(221, 237, 255, 0.36);
  font-size: 7.5px;
}

.footer-disclaimer {
  color: rgba(221, 237, 255, 0.27);
  font-size: 7px;
}

.footer-links {
  color: rgba(221, 237, 255, 0.44);
  font-size: 8.2px;
}

.footer-links a,
.footer-links button {
  color: rgba(221, 237, 255, 0.44);
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.footer-year {
  color: rgba(221, 237, 255, 0.2);
}

/* ---------- responsive refinements ---------- */

@media (min-width: 1300px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 392px;
  }
}

@media (max-width: 1180px) {
  .live-grid .game-tile h3 {
    font-size: 18px;
  }

  .live-grid .game-tile__tag {
    display: none;
  }

  .tile-art__watermark {
    top: 42px;
    right: 8px;
    font-size: 34px;
  }
}

@media (max-height: 800px) and (min-width: 761px) {
  .live-grid .game-tile h3 {
    font-size: 18px;
  }

  .live-grid .game-tile__body {
    padding-top: 42px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 17px;
  }

  .sonar-panel .hot-feature__signal {
    height: 25px;
  }
}

@media (max-width: 900px) {
  .live-grid .game-tile__body {
    padding: 38px 11px 10px;
  }

  .live-grid .game-tile h3 {
    font-size: 18px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }
}

@media (max-width: 760px) {
  .brand-name {
    color: #fff;
  }

  .hero-intro {
    display: none;
  }

  .tile-art__watermark {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 28px 7px 6px;
    background: linear-gradient(to top, rgba(3, 9, 22, 0.96) 0%, rgba(4, 11, 26, 0.68) 62%, transparent 100%);
  }

  .live-grid .game-tile h3 {
    color: #fff;
    font-size: 13px;
  }

  .live-grid .tile-art__index {
    top: 6px;
    left: 6px;
    padding: 2px 4px;
    font-size: 4.5px;
  }

  .live-grid .tile-art__badge {
    top: 6px;
    right: 6px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(5, 14, 33, 0.44);
    color: rgba(255, 255, 255, 0.8);
  }

  .live-grid .tile-art__badge i {
    background: var(--lime);
  }

  .live-grid .game-tile__meta {
    border-top: 0;
  }

  .live-grid .game-tile__cta {
    color: rgba(255, 255, 255, 0.82);
  }

  .live-grid .game-tile__cta i {
    background: var(--lime);
    color: #081226;
  }

  .sonar-panel .hot-feature__top {
    border-bottom: 0;
  }

  .sonar-panel .hot-feature__signal {
    height: 20px;
    margin-top: 2px;
  }

  .sonar-panel .hot-feature__body {
    padding: 6px 8px 7px;
  }

  .sonar-panel .hot-feature__body h3 {
    margin-top: 0;
    font-size: 14px;
  }

  .sonar-panel .hot-feature__action {
    display: none;
  }

  .sonar-tabs button.is-active {
    box-shadow: 0 4px 12px rgba(223, 245, 107, 0.12);
  }

  .library-panel,
  .sonar-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .sonar-panel .hot-feature__signal {
    display: none;
  }

  .live-grid .game-tile__body {
    padding-top: 24px;
  }

  .live-grid .game-tile h3 {
    font-size: 11.5px;
  }
}

@media (max-height: 520px) {
  .live-grid .game-tile__body {
    padding: 18px 7px 6px;
  }

  .live-grid .game-tile h3 {
    font-size: 12px;
  }

  .sonar-panel .hot-feature__signal {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 13px;
  }
}

/* ===== clean.css ===== */
/* ============================================================
   Clean pass: fewer labels, larger type, quiet surfaces.
   Loaded last so the screen reads at a glance.
   ============================================================ */

.masthead__inner {
  min-height: 58px;
}

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

.brand-name {
  font-size: 18px;
}

.brand-sub {
  font-size: 11px;
}

.header-tools {
  margin-left: auto;
}

.command-trigger {
  height: 36px;
  padding: 0 12px;
  gap: 7px;
  font-size: 12px;
}

.command-trigger svg {
  width: 16px;
  height: 16px;
}

.round-button {
  width: 36px;
  height: 36px;
}

/* hero: one headline, one line, one action */

.hero-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 11px 20px;
  border-color: rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 86% 8%, rgba(75, 92, 255, 0.2), transparent 22rem),
    linear-gradient(110deg, rgba(12, 30, 64, 0.72), rgba(6, 16, 38, 0.34));
}

.hero-compact::before,
.hero-compact::after {
  display: none;
}

.hero-title {
  font-size: clamp(42px, 4.5vw, 64px);
}

.hero-intro {
  margin-top: 5px;
  color: rgba(224, 237, 255, 0.56);
  font-size: 12px;
}

.hero-side {
  display: block;
}

.hero-actions {
  display: block;
}

.button--hero {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 11.5px;
}

/* library */

.library-panel {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
}

.panel-head {
  min-height: 34px;
}

.panel-title h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  color: #fff;
}

.panel-title h2 em {
  color: #fff;
}

.filter-bar--compact {
  padding: 3px;
}

.filter-chip {
  height: 29px;
  padding: 0 11px;
  font-size: 10px;
}

.filter-chip span {
  margin-left: 1px;
  font-size: 7px;
}

.games-grid {
  gap: 9px;
}

.live-grid {
  gap: 9px;
}

.live-grid .game-tile {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.live-grid .game-tile:hover {
  transform: translateY(-3px);
}

.live-grid .tile-art::before {
  display: none;
}

.live-grid .tile-art::after {
  background:
    linear-gradient(to top, rgba(3, 9, 22, 0.96) 0%, rgba(3, 10, 24, 0.82) 22%, rgba(3, 9, 22, 0.1) 54%, transparent 70%),
    linear-gradient(to bottom, rgba(3, 9, 22, 0.16), transparent 20%);
}

.live-grid .game-tile__body {
  padding: 54px 16px 14px;
  background: linear-gradient(to top, rgba(3, 9, 22, 0.96) 0%, rgba(4, 11, 26, 0.78) 52%, transparent 100%);
}

.live-grid .game-tile h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.live-grid .game-tile__desc {
  display: block;
  margin-top: 4px;
  color: rgba(230, 241, 255, 0.66);
  font-size: 11px;
  line-height: 1.5;
}

.live-grid .game-tile__meta {
  margin-top: 11px;
  padding-top: 9px;
  border-top-color: rgba(255, 255, 255, 0.14);
  font-size: 9px;
}

.live-grid .game-tile__best {
  color: rgba(230, 241, 255, 0.54);
  font-family: var(--font-sans);
  font-size: 9.5px;
}

.live-grid .game-tile__best[hidden] {
  display: none;
}

.live-grid .game-tile__cta {
  gap: 7px;
  color: #fff;
  font-size: 11px;
}

.live-grid .game-tile__cta i {
  width: 24px;
  height: 24px;
  background: var(--lime);
  color: #081226;
}

.live-grid .game-tile__cta i svg {
  width: 13px;
  height: 13px;
}

/* simple coming-soon row */

.soon-strip {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  min-height: 38px;
}

.soon-label {
  padding-right: 2px;
  color: rgba(221, 237, 255, 0.4);
  font-size: 10px;
  white-space: nowrap;
}

.soon-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(235, 244, 255, 0.62);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.soon-card:hover {
  border-color: rgba(141, 232, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.games-grid.is-soon-only {
  grid-template-rows: minmax(0, 1fr);
}

.games-grid.is-soon-only .soon-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-content: center;
  gap: 10px;
}

.games-grid.is-soon-only .soon-label {
  grid-column: 1 / -1;
  padding: 0 0 2px;
  font-size: 11px;
}

.games-grid.is-soon-only .soon-card {
  height: 76px;
  border-radius: 12px;
  font-size: 14px;
}

/* hot panel */

.sonar-panel {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0;
  padding: 13px 14px;
}

.sonar-top {
  padding-bottom: 9px;
}

.sonar-title-group h2 {
  font-size: 27px;
}

.sonar-refresh {
  height: 30px;
  padding: 0 9px;
  font-size: 9px;
}

.sonar-refresh svg {
  width: 12px;
  height: 12px;
}

.sonar-tabs {
  margin-bottom: 10px;
}

.sonar-tabs button {
  height: 27px;
  padding: 0 9px;
  font-size: 10.5px;
}

.sonar-panel .sonar-layout {
  gap: 10px;
}

.sonar-panel .hot-feature {
  border-radius: 12px;
}

.sonar-panel .hot-feature__top {
  padding: 12px 14px;
}

.sonar-panel .hot-feature__cat {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.sonar-panel .feature-heat {
  color: rgba(224, 238, 255, 0.5);
  font-size: 10px;
}

.sonar-panel .save-button {
  width: 27px;
  height: 27px;
}

.sonar-panel .hot-feature__body {
  padding: 2px 14px 15px;
}

.sonar-panel .hot-feature__body h3 {
  margin-top: 2px;
  font-size: 25px;
  line-height: 1.26;
  -webkit-line-clamp: 3;
}

.sonar-panel .hot-feature__body p {
  display: -webkit-box;
  margin-top: 8px;
  color: rgba(230, 241, 255, 0.64);
  font-size: 12.5px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}

.sonar-panel .hot-feature__action {
  gap: 6px;
  margin-top: 11px;
  color: var(--lime);
  font-size: 11.5px;
}

.sonar-panel .hot-feature__action svg {
  width: 13px;
  height: 13px;
}

.sonar-panel .sonar-list-col {
  gap: 0;
}

.sonar-panel .trend-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sonar-panel .trend-item {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.sonar-panel .trend-button {
  gap: 10px;
  padding: 8px 4px;
}

.sonar-panel .trend-rank {
  width: 16px;
  color: rgba(221, 237, 255, 0.3);
  font-size: 8px;
}

.sonar-panel .trend-main {
  gap: 0;
}

.sonar-panel .trend-title {
  color: rgba(246, 250, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.sonar-panel .trend-heat {
  min-width: 38px;
  color: rgba(231, 241, 255, 0.52);
  font-size: 9.5px;
}

.sonar-panel .trend-empty {
  padding: 16px 4px;
  font-size: 11px;
}

.sonar-panel .sonar-empty {
  min-height: 250px;
  padding: 24px;
}

.sonar-panel .sonar-empty h3 {
  margin-top: 0;
  font-size: 24px;
}

.sonar-panel .sonar-empty p {
  font-size: 11px;
}

.sonar-panel .sonar-empty__button {
  height: 32px;
  padding: 0 12px;
  font-size: 10px;
}

/* footer */

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.footer-inline {
  height: 34px;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand b {
  color: rgba(246, 250, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-mark {
  width: 21px;
  height: 21px;
}

.footer-mark svg {
  width: 14px;
  height: 10px;
}

.footer-disclaimer {
  flex: 1;
  margin: 0;
  color: rgba(221, 237, 255, 0.34);
  font-size: 8.5px;
  text-align: center;
}

.footer-submit {
  color: rgba(223, 245, 107, 0.82);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-submit:hover {
  color: var(--lime);
}

.footer-year {
  color: rgba(221, 237, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 7px;
}

/* detail */

.detail-save-wrap {
  position: absolute;
  z-index: 8;
  top: 18px;
  right: 64px;
}

.detail-save {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 16, 37, 0.3);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-save:hover {
  background: rgba(7, 16, 37, 0.55);
  color: #fff;
}

.detail-save.is-saved {
  border-color: var(--lime);
  background: var(--lime);
  color: #081226;
}

.detail-save svg {
  width: 16px;
  height: 16px;
}

.detail-category {
  font-size: 9px;
}

.detail-content > p {
  font-size: 14px;
  line-height: 1.9;
}

/* responsive cleanup */

@media (max-width: 1180px) {
  .live-grid .game-tile h3 {
    font-size: 20px;
  }

  .live-grid .game-tile__desc {
    font-size: 10.5px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 23px;
  }

  .sonar-panel .trend-title {
    font-size: 11.5px;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(36px, 5.4vw, 48px);
  }

  .hero-intro {
    font-size: 11px;
  }

  .live-grid .game-tile__body {
    padding: 44px 12px 11px;
  }

  .live-grid .game-tile h3 {
    font-size: 19px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: 8px;
    padding-top: 7px;
  }

  .footer-disclaimer {
    display: block;
    font-size: 7px;
  }

  .footer-submit {
    font-size: 8.5px;
  }

  .footer-year {
    display: none;
  }
}

@media (max-width: 760px) {
  .masthead__inner {
    min-height: 52px;
  }

  .hero-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 12px;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1;
  }

  .hero-intro {
    display: none;
  }

  .hero-side {
    display: block;
  }

  .hero-actions {
    display: block;
  }

  .button--hero {
    height: 31px;
    padding: 0 10px;
    gap: 5px;
    border-radius: 8px;
    font-size: 9px;
  }

  .button--hero svg {
    width: 12px;
    height: 12px;
  }

  .library-panel {
    padding: 8px;
  }

  .panel-title h2 {
    font-size: 20px;
  }

  .filter-chip {
    height: 24px;
    padding: 0 7px;
    font-size: 8.5px;
  }

  .filter-chip span {
    font-size: 6px;
  }

  .live-grid {
    gap: 5px;
  }

  .live-grid .game-tile__body {
    padding: 34px 7px 7px;
  }

  .live-grid .game-tile h3 {
    font-size: 13px;
  }

  .live-grid .game-tile__meta {
    margin-top: 5px;
    padding-top: 4px;
    border-top: 0;
  }

  .live-grid .game-tile__cta {
    font-size: 8px;
  }

  .live-grid .game-tile__cta i {
    width: 18px;
    height: 18px;
  }

  .live-grid .game-tile__cta i svg {
    width: 10px;
    height: 10px;
  }

  .soon-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    min-height: 30px;
  }

  .soon-label {
    display: none;
  }

  .soon-card {
    height: 28px;
    padding: 0 3px;
    border-radius: 6px;
    font-size: 8px;
  }

  .games-grid.is-soon-only .soon-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-content: stretch;
    gap: 4px;
  }

  .games-grid.is-soon-only .soon-label {
    display: none;
  }

  .games-grid.is-soon-only .soon-card {
    height: 100%;
    font-size: 10px;
  }

  .sonar-panel {
    padding: 9px 10px;
  }

  .sonar-title-group h2 {
    font-size: 22px;
  }

  .sonar-refresh {
    height: 26px;
    padding: 0 7px;
    font-size: 8px;
  }

  .sonar-tabs {
    margin-bottom: 7px;
  }

  .sonar-tabs button {
    height: 23px;
    padding: 0 7px;
    font-size: 8px;
  }

  .sonar-panel .hot-feature__top {
    padding: 8px 10px;
  }

  .sonar-panel .hot-feature__body {
    padding: 2px 10px 11px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 18px;
  }

  .sonar-panel .hot-feature__body p {
    display: none;
  }

  .sonar-panel .hot-feature__action {
    margin-top: 7px;
    font-size: 9px;
  }

  .sonar-panel .trend-button {
    padding: 6px 3px;
    gap: 7px;
  }

  .sonar-panel .trend-title {
    font-size: 10px;
  }

  .sonar-panel .trend-heat {
    min-width: 30px;
    font-size: 7px;
  }

  .sonar-panel .trend-item:nth-child(n+3) {
    display: none;
  }

  .footer-inline {
    height: 28px;
    gap: 10px;
  }

  .footer-disclaimer {
    display: none;
  }

  .footer-submit {
    margin-left: auto;
    font-size: 8px;
  }

  .footer-brand b {
    font-size: 8.5px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero-title {
    font-size: 22px;
  }

  .panel-title h2 {
    font-size: 18px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 16px;
  }

  .sonar-panel .trend-title {
    font-size: 9.5px;
  }

  .sonar-panel .trend-item:nth-child(n+3) {
    display: none;
  }
}

@media (max-height: 800px) and (min-width: 761px) {
  .live-grid .game-tile__body {
    padding: 36px 12px 10px;
  }

  .live-grid .game-tile h3 {
    font-size: 19px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 21px;
  }

  .sonar-panel .hot-feature__body p {
    display: none;
  }

  .sonar-panel .trend-title {
    font-size: 11px;
  }
}

@media (max-height: 520px) {
  .hero-compact {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 22px 8px 7px;
  }

  .live-grid .game-tile h3 {
    font-size: 12px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: 4px;
    padding-top: 3px;
  }

  .live-grid .game-tile__best {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 14px;
  }

  .sonar-panel .hot-feature__action {
    display: none;
  }

  .sonar-panel .trend-title {
    font-size: 9px;
  }

  .sonar-panel .trend-item:nth-child(n+4) {
    display: none;
  }

  .soon-label {
    display: none;
  }

  .soon-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ============================================================
   Flat game shelf: all 8 games in one 4 x 2 grid.
   Information sits below the artwork, never on top of it.
   ============================================================ */

.games-grid {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
  height: 100%;
  min-height: 0;
}

.live-grid .game-tile {
  display: flex;
  height: auto;
  min-height: 0;
  border-radius: 14px;
  background: #08152f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.live-grid .game-tile:hover {
  transform: translateY(-3px);
}

.live-grid .game-tile__button {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.live-grid .tile-art {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  container-type: inline-size;
}

.live-grid .tile-art::before,
.live-grid .tile-art::after {
  display: none;
}

.live-grid .game-tile__body {
  position: relative;
  inset: auto;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 11px 13px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #08152f;
}

.live-grid .game-tile h3 {
  overflow: hidden;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-grid .game-tile__desc {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(225, 239, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.live-grid .game-tile__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-grid .game-tile__best {
  display: block;
  flex: 0 0 auto;
  color: rgba(224, 238, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 10.5px;
  white-space: nowrap;
}

.live-grid .game-tile__best[hidden] {
  display: none;
}

.live-grid .game-tile__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.live-grid .game-tile__cta i {
  width: 21px;
  height: 21px;
  background: var(--lime);
  color: #081226;
}

.live-grid .game-tile__cta i svg {
  width: 11px;
  height: 11px;
}

.live-grid .game-tile__cta--soon {
  color: rgba(224, 238, 255, 0.42);
  font-size: 10.5px;
  font-weight: 500;
}

.live-grid .game-tile:hover .jump-scene,
.live-grid .game-tile:hover .fish-scene,
.live-grid .game-tile:hover .token-scene,
.live-grid .game-tile:hover .prompt-scene,
.live-grid .game-tile:hover .radar-scene,
.live-grid .game-tile:hover .hunter-scene,
.live-grid .game-tile:hover .puzzle-scene,
.live-grid .game-tile:hover .maze-scene {
  transform: scale(var(--art-scale, 1)) translateY(-2px);
}

.live-grid .tile-art > div {
  --art-scale: 1;
  transform: scale(var(--art-scale));
  transform-origin: 50% 56%;
  transition: transform 0.45s var(--ease-out);
}

@container (max-width: 225px) {
  .tile-art > div {
    --art-scale: 0.92;
  }
}

@container (max-width: 190px) {
  .tile-art > div {
    --art-scale: 0.8;
  }
}

@container (max-width: 160px) {
  .tile-art > div {
    --art-scale: 0.68;
  }
}

@container (max-width: 130px) {
  .tile-art > div {
    --art-scale: 0.58;
  }
}

@container (max-width: 100px) {
  .tile-art > div {
    --art-scale: 0.5;
  }
}

/* keep the hot list readable while the shelf gains rows */

.sonar-panel .hot-feature__body h3 {
  font-size: 24px;
}

.sonar-panel .trend-title {
  font-size: 14px;
}

@media (max-width: 1240px) {
  .live-grid .game-tile h3 {
    font-size: 17px;
  }

  .live-grid .game-tile__desc {
    font-size: 11.5px;
  }

  .live-grid .game-tile__best {
    display: none;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .live-grid {
    gap: 8px;
  }

  .live-grid .game-tile h3 {
    font-size: 16px;
  }

  .live-grid .game-tile__desc {
    font-size: 10.5px;
  }

  .live-grid .game-tile__body {
    padding: 8px 10px 9px;
  }

  .live-grid .game-tile__meta {
    margin-top: 6px;
    padding-top: 5px;
  }

  .live-grid .game-tile__cta {
    font-size: 10px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 21px;
  }
}

@media (max-width: 760px) {
  .hero-compact {
    display: none;
  }

  .dashboard {
    grid-template-rows: minmax(0, 1fr);
  }

  .dashboard-grid {
    grid-template-rows: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: 7px;
  }

  .library-panel {
    padding: 8px;
  }

  .panel-head {
    min-height: 30px;
  }

  .panel-title h2 {
    font-size: 20px;
  }

  .live-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .live-grid .game-tile {
    border-radius: 9px;
  }

  .live-grid .game-tile__body {
    flex: 0 0 58px;
    height: 58px;
    padding: 5px 6px 6px;
  }

  .live-grid .game-tile h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: auto;
    padding-top: 3px;
    border-top: 0;
  }

  .live-grid .game-tile__best {
    display: none;
  }

  .live-grid .game-tile__cta {
    margin-left: 0;
    font-size: 8px;
    gap: 3px;
  }

  .live-grid .game-tile__cta i {
    width: 15px;
    height: 15px;
  }

  .live-grid .game-tile__cta i svg {
    width: 8px;
    height: 8px;
  }

  .live-grid .game-tile__cta--soon {
    font-size: 7px;
  }

  .sonar-panel {
    padding: 9px 10px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 17px;
  }

  .sonar-panel .trend-title {
    font-size: 10px;
  }

  .sonar-panel .trend-item:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .live-grid .game-tile h3 {
    font-size: 10.5px;
  }

  .live-grid .game-tile__cta {
    font-size: 7px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 15px;
  }

  .sonar-panel .trend-item:nth-child(n+2) {
    display: none;
  }
}

@media (max-height: 800px) and (min-width: 761px) {
  .live-grid .game-tile h3 {
    font-size: 17px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__body {
    padding: 9px 11px 10px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 20px;
  }
}

@media (max-height: 520px) {
  .live-grid .game-tile h3 {
    font-size: 13px;
  }

  .live-grid .game-tile__body {
    padding: 6px 7px;
  }

  .live-grid .game-tile__desc {
    display: none;
  }

  .live-grid .game-tile__meta {
    margin-top: 4px;
    padding-top: 3px;
  }

  .live-grid .game-tile__cta {
    font-size: 8px;
  }

  .sonar-panel .hot-feature__body h3 {
    font-size: 15px;
  }

  .sonar-panel .trend-title {
    font-size: 9px;
  }
}

