/* SQUIRT web — colorful cartoon system */

:root {
  --sky: #5ec8ff;
  --sky-deep: #3aa8e8;
  --sun: #ffe566;
  --grass: #6fcf6a;
  --grass-deep: #4faf52;
  --coral: #ff6b5b;
  --coral-deep: #e84f42;
  --grape: #8b7cff;
  --cream: #fff8e8;
  --foam: #e8fbff;
  --ink: #2b2140;
  --ink-soft: #5a4f73;
  --white: #ffffff;
  --stroke: 3px solid var(--ink);
  --shadow: 6px 8px 0 rgba(43, 33, 64, 0.18);
  --shadow-lg: 10px 12px 0 rgba(43, 33, 64, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 229, 102, 0.55) 0 8%, transparent 9%),
    radial-gradient(circle at 88% 12%, rgba(139, 124, 255, 0.35) 0 6%, transparent 7%),
    linear-gradient(180deg, var(--sky) 0%, #9adfff 28%, #c8f5c4 62%, var(--grass) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='10' r='3' fill='%23ffffff' opacity='0.45'/%3E%3Ccircle cx='40' cy='28' r='2' fill='%23ffffff' opacity='0.35'/%3E%3C/svg%3E");
}

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

a {
  color: var(--coral-deep);
  font-weight: 800;
}

a:hover {
  color: var(--grape);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* ----- Nav ----- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 232, 0.88);
  border-bottom: var(--stroke);
  backdrop-filter: blur(10px);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--stroke);
  object-fit: cover;
  background: var(--sun);
  box-shadow: 3px 3px 0 rgba(43, 33, 64, 0.15);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--sun);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  box-shadow: 2px 3px 0 rgba(43, 33, 64, 0.12);
}

.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grass-deep);
  box-shadow: 0 0 0 3px rgba(111, 207, 106, 0.35);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.85);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: var(--stroke);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 8px 10px 0 rgba(43, 33, 64, 0.16);
}

.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 2px 2px 0 rgba(43, 33, 64, 0.16);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--coral-deep);
}

.btn-ghost {
  background: var(--cream);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--sun);
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--sun);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 38ch;
  font-weight: 700;
}

.section {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.grid-3 {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    font-size: 0.82rem;
  }
}

.card {
  background: var(--cream);
  border: var(--stroke);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

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

.card-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--ink);
  margin-bottom: 0.85rem;
  background: var(--foam);
}

.card-art.wide {
  aspect-ratio: 16 / 10;
}

.fine {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.kicker {
  color: var(--coral-deep);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: var(--stroke);
  background: var(--cream);
  padding: 1.75rem 0 2.25rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

/* ----- Hero ----- */

.hero {
  padding: 2.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.hero-frame {
  position: relative;
  border: var(--stroke);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-frame .sticker {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(43, 33, 64, 0.15);
}

.hero-frame .sticker-b {
  bottom: 14px;
  right: 12px;
  background: var(--coral);
  color: var(--white);
  transform: rotate(4deg);
}

.cast-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.cast-card {
  background: var(--cream);
  border: var(--stroke);
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.cast-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid var(--ink);
}

.cast-card span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.marquee {
  position: relative;
  z-index: 1;
  border-block: var(--stroke);
  background: var(--sun);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 0.65rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  animation: marquee 36s linear infinite;
}

.marquee-seq {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-item {
  display: inline-block;
}

.marquee-item::after {
  content: "\00B7";
  display: inline-block;
  margin: 0 1.4rem;
  opacity: 0.45;
}

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.7rem 0.35rem;
  border-bottom: 2px dashed rgba(43, 33, 64, 0.18);
  vertical-align: top;
}

.spec-table th {
  color: var(--ink-soft);
  font-weight: 800;
  width: 36%;
}

.price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin: 0.45rem 0 0.2rem;
}

.price small {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.tier-hot {
  background: linear-gradient(165deg, #fff 0%, var(--foam) 100%);
  outline: 4px solid var(--grape);
  outline-offset: 0;
}

.roadmap {
  padding-left: 1.15rem;
  margin: 0.75rem 0 0;
}

.roadmap li {
  margin: 0.5rem 0;
  color: var(--ink-soft);
  font-weight: 700;
}

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

.legal-box {
  border: var(--stroke);
  border-radius: var(--radius);
  background: var(--sun);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.bubble {
  display: inline-block;
  background: var(--foam);
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 6px;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ----- Ops (clubhouse monitor) ----- */

body.ops {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 229, 102, 0.5) 0 10%, transparent 11%),
    linear-gradient(180deg, #7ad4ff 0%, #b8f0a8 55%, #8fd87a 100%);
  background-attachment: fixed;
}

.ops-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  padding: 0.75rem;
}

.ops-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  background: var(--cream);
  border: var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.ops-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.mode-badge {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: var(--stroke);
  background: var(--sun);
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(43, 33, 64, 0.14);
  cursor: pointer;
  user-select: none;
}

.mode-badge.wet {
  background: var(--coral);
  color: var(--white);
}

.ops-main {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 0.75rem;
  min-height: 0;
}

@media (max-width: 960px) {
  .ops-main {
    grid-template-columns: 1fr;
  }
}

.feed-panel,
.side-panel {
  background: var(--cream);
  border: var(--stroke);
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 0;
  overflow: hidden;
}

.feed-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--foam);
}

.feed-stage {
  position: relative;
  min-height: 300px;
  width: 100%;
  background: #1a3040;
}

/* In the single-column layout the 1fr row no longer sizes the stage,
   so the aspect ratio takes over; on desktop it must NOT set the width
   (a 16/10 box derived from the row height overflows the grid track). */
@media (max-width: 960px) {
  .feed-stage {
    aspect-ratio: 16 / 10;
  }
}

.feed-bezel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feed-bezel .bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(1.05);
}

.feed-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feed-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: #e8fbff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.roi {
  position: absolute;
  left: 30%;
  right: 30%;
  top: 36%;
  bottom: 28%;
  border: 3px dashed rgba(255, 229, 102, 0.9);
  border-radius: 12px;
}

.roi span {
  position: absolute;
  top: -1.45rem;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--sun);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.float-mascot {
  position: absolute;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.float-mascot.squirrel {
  right: 12%;
  top: 38%;
  opacity: 0;
  transform: scale(0.8);
}

.float-mascot.squirrel.show {
  opacity: 1;
  transform: scale(1) rotate(-6deg);
}

.float-mascot.bird {
  left: 10%;
  top: 34%;
  opacity: 0.95;
}

.float-mascot.hose {
  right: 4%;
  bottom: 10%;
  width: 100px;
  height: 100px;
  opacity: 0.2;
}

.float-mascot.hose.blast {
  opacity: 1;
  transform: rotate(8deg) scale(1.05);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

@media (max-width: 700px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-right: 2px solid var(--ink);
  background: var(--white);
}

.stat:last-child {
  border-right: none;
}

.stat:nth-child(1) {
  background: #ffe8e4;
}
.stat:nth-child(2) {
  background: #fff4c8;
}
.stat:nth-child(3) {
  background: #e4ffe8;
}
.stat:nth-child(4) {
  background: #ebe6ff;
}

.stat .n {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1;
}

.stat .l {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.side-panel {
  display: grid;
  grid-template-rows: auto 1fr;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.event-list li {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 4px 0 rgba(43, 33, 64, 0.1);
}

.event-list li.kind-squirrel {
  background: #fff4e8;
  border-color: #c45a2a;
}

.event-list li.kind-bird {
  background: #eef8ff;
  border-color: #2a6fad;
}

.thumb {
  width: 76px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  object-fit: cover;
  background: var(--foam);
}

.event-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.event-body span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.conf {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--grape);
}

.ops-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.95rem;
  background: var(--cream);
  border: var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.ops-bottom a {
  color: var(--ink);
  text-decoration: none;
  background: var(--sun);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

.ops-bottom a:hover {
  background: var(--coral);
  color: var(--white);
}

/* Reviews strip */
.review-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.review-head img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  border: var(--stroke);
  object-fit: cover;
  background: var(--cream);
}

.stars {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 3px;
  color: #e8a30c;
  text-shadow: 0 1px 0 rgba(43, 33, 64, 0.25);
}

.review-who {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.review-card p {
  font-style: italic;
}

/* ---- Jingle video card ---- */
.video-card {
  max-width: 980px;
  margin: 0 auto;
}
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
}

/* ---- The ballad play toggle (nav corner) ---- */
.ballad-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 8px 16px;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 rgba(43, 33, 64, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transform: rotate(-2deg);
  transition: transform 0.15s ease, background 0.15s ease;
}
.ballad-btn:hover {
  transform: rotate(0deg) translateY(-1px);
}
.ballad-btn .ballad-note {
  font-size: 16px;
  line-height: 1;
}
.ballad-btn.playing {
  background: var(--coral);
  color: var(--white);
}
.ballad-btn.playing .ballad-note {
  animation: ballad-bob 0.7s ease-in-out infinite alternate;
}
@keyframes ballad-bob {
  from { transform: translateY(1px) rotate(-6deg); }
  to   { transform: translateY(-2px) rotate(8deg); }
}
@media (max-width: 720px) {
  .ballad-btn .ballad-label { display: none; }
  .ballad-btn { padding: 8px 12px; }
}


/* ---- Clubhouse header lockup ---- */
.ops-top .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
}
.ops-top .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 3px solid var(--ink);
  object-fit: cover;
}
.ops-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  transform: rotate(-2deg);
}
.ops-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ----- Most Wanted (would-fire board) ----- */

body.mw {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 107, 91, 0.28) 0 9%, transparent 10%),
    radial-gradient(circle at 88% 8%, rgba(255, 229, 102, 0.45) 0 8%, transparent 9%),
    linear-gradient(180deg, #7ad4ff 0%, #c8f0b0 50%, #8fd87a 100%);
}

.mw-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--cream);
  border: var(--stroke);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .mw-hero {
    grid-template-columns: 1fr;
  }
}

.mw-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mw-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.mw-lede {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 700;
  max-width: 42rem;
}

.mw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 600px) {
  .mw-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mw-stat {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.55rem 0.45rem;
  text-align: center;
  box-shadow: 3px 4px 0 rgba(43, 33, 64, 0.1);
}

.mw-stat .n {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.mw-stat .l {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.mw-hero-art {
  position: relative;
  min-height: 200px;
  border-radius: 18px;
  border: var(--stroke);
  overflow: hidden;
  background: #1a3040;
  box-shadow: var(--shadow);
}

.mw-poster-deco {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  opacity: 0.92;
}

.mw-mascot-deco {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  object-fit: cover;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(8deg);
}

.mw-stamp {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--coral);
  background: rgba(255, 248, 232, 0.92);
  border: 3px solid var(--coral);
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 rgba(43, 33, 64, 0.15);
}

.mw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--foam);
  border: var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mw-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.mw-filter select {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  color: var(--ink);
}

.mw-hint {
  margin: 0;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.mw-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
  padding: 0.15rem 0 0.5rem;
}

.mw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem 0.65rem 0.75rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: #fffdf5;
  border: 3px solid var(--ink);
  border-radius: 6px 6px 14px 14px;
  box-shadow: 5px 7px 0 rgba(43, 33, 64, 0.14);
  transform: rotate(-0.6deg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mw-card:nth-child(even) {
  transform: rotate(0.8deg);
}

.mw-card:hover,
.mw-card:focus-visible {
  transform: rotate(0deg) translateY(-3px) scale(1.02);
  box-shadow: 7px 10px 0 rgba(43, 33, 64, 0.16);
  outline: none;
  z-index: 2;
}

.mw-card-pin {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 1px 2px 0 rgba(43, 33, 64, 0.2);
  z-index: 2;
}

.mw-card-stamp {
  position: absolute;
  top: 18px;
  right: 10px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  border: 2px solid var(--coral-deep);
  border-radius: 4px;
  padding: 0.1rem 0.3rem;
  background: rgba(255, 248, 232, 0.88);
  transform: rotate(12deg);
  opacity: 0.9;
}

.mw-card-photo {
  margin-top: 0.45rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: #1a3040;
  aspect-ratio: 4 / 3;
}

.mw-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mw-card-photo.missing {
  opacity: 0.55;
  filter: grayscale(0.4);
}

.mw-card-body {
  display: grid;
  gap: 0.12rem;
}

.mw-card-body strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.mw-card-when,
.mw-card-zone {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.mw-card-score {
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  width: fit-content;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

.score-hot {
  background: #ffe0d8;
  color: #b83220;
}

.score-warm {
  background: var(--sun);
  color: var(--ink);
}

.score-cool {
  background: var(--foam);
  color: var(--ink-soft);
}

.mw-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--cream);
  border: var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mw-empty img {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: var(--stroke);
  object-fit: cover;
}

.mw-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100vw - 1.5rem));
  width: 100%;
}

.mw-dialog::backdrop {
  background: rgba(43, 33, 64, 0.55);
  backdrop-filter: blur(3px);
}

.mw-dialog-inner {
  margin: 0;
  background: var(--cream);
  border: var(--stroke);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mw-dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--foam);
}

.mw-dialog-top h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.mw-close {
  flex-shrink: 0;
}

.mw-dialog-body {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 0;
}

@media (max-width: 720px) {
  .mw-dialog-body {
    grid-template-columns: 1fr;
  }
}

.mw-dialog-shot {
  position: relative;
  background: #1a3040;
  min-height: 280px;
}

.mw-dialog-shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  background: #102028;
}

.mw-wanted-banner {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  transform: rotate(-4deg);
}

.mw-meta {
  margin: 0;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mw-meta > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.4rem;
  align-items: baseline;
}

.mw-meta dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mw-meta dd {
  margin: 0;
  font-weight: 800;
}

.mw-meta dd.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  word-break: break-all;
}

.mw-dialog-note {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  border-top: 2px dashed rgba(43, 33, 64, 0.2);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}

/* Anchor targets clear the sticky nav */
section[id] {
  scroll-margin-top: 84px;
}
