:root {
  --bg: #fff4bf;
  --ink: #161616;
  --ball: #d7ff4a;
  --grass: #55cb44;
  --sky: #84d3ff;
  --mud: #8f5b34;
  --bark: #c8884f;
  --hot: #ff6f5e;
  --pink: #ff5fba;
  --blue: #4c7dff;
  --yellow: #ffd84d;
  --white: #fffef9;
  --shadow: 0 14px 0 rgba(22, 22, 22, 0.12);
  --radius: 28px;
  --display: Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", cursive;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 95, 186, 0.25), transparent 18%),
    radial-gradient(circle at 85% 14%, rgba(76, 125, 255, 0.2), transparent 16%),
    linear-gradient(180deg, #fff394 0%, #fff7bf 44%, #fffce8 100%);
}

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

button {
  font: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  padding: 18px 0 12px;
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.site-brand__logo {
  height: 144px;
  width: auto;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 3px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.top-nav a.is-current {
  background: var(--hot);
  color: white;
  transform: rotate(-2deg);
}

.hero,
.feature-slab,
.callout-grid,
.games-tease,
.page-hero,
.stat-banner,
.ball-wall,
.stick-wall,
.games-grid,
.bottom-cta {
  margin-top: 22px;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,235,127,0.85));
  border: 4px solid rgba(22, 22, 22, 0.1);
  box-shadow: var(--shadow);
}

.hero-tag,
.kicker {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
}

.hero-home h1,
.feature-slab h2,
.games-tease h2,
.page-hero h1,
.callout h3,
.bottom-cta h2,
.game-card h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  line-height: 0.92;
}

.hero-home h1 {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  max-width: 8ch;
  margin: 8px 0 0;
}

.hero-logo {
  font-family: var(--display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.25em;
  color: var(--ink);
}

.hero-shout,
.feature-slab p,
.callout p,
.games-tease p,
.page-hero p,
.bottom-cta p,
.game-card p {
  font-size: 1.15rem;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) rotate(-1deg) scale(1.02);
}

.button-hot {
  background: var(--hot);
  color: white;
}

.button-cool {
  background: var(--blue);
  color: white;
}

.button-bark {
  background: var(--mud);
  color: white;
}

.hero-home__stack {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 40px rgba(22,22,22,0.18);
  transform: rotate(-6deg);
  object-fit: cover;
  position: relative;
  z-index: 1;
  top: -2.5cm;
}

.intern-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: 22px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  width: fit-content;
  margin: 12px 0 0 auto;
  transform: rotate(-1.5deg);
}

.intern-strip__dog {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 4px solid var(--bg);
  flex-shrink: 0;
}

.intern-strip__note strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
}

.intern-strip__note p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(22,22,22,0.65);
}

.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

.sticker-pink {
  top: 8px;
  right: 8px;
  background: var(--pink);
  color: white;
  transform: rotate(14deg);
}

.sticker-yellow {
  top: 8px;
  left: 18px;
  background: var(--yellow);
  transform: rotate(-14deg);
}

.sticker-blue {
  top: 64px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  background: var(--blue);
  color: white;
}

.intern-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 210px;
  padding: 18px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.intern-note strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
}

.intern-note p {
  margin: 10px 0 0;
}

.marquee-strip {
  overflow: hidden;
  padding: 12px 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 20s linear infinite;
  font-family: var(--display);
  font-size: 1.3rem;
  white-space: nowrap;
}

.feature-slab {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.feature-slab-ball {
  background: linear-gradient(135deg, rgba(215,255,74,0.72), rgba(255,255,255,0.88));
}

.feature-slab-stick {
  background: linear-gradient(135deg, rgba(200,136,79,0.42), rgba(255,255,255,0.92));
}

.feature-slab-mud {
  background: linear-gradient(135deg, rgba(143,91,52,0.4), rgba(255,244,191,0.94));
}

.feature-slab h2,
.page-hero h1,
.games-tease h2 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.feature-slab__art,
.feature-slab__art-stick {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.feature-slab__art-mud {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.mega-ball {
  width: min(270px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--ball), var(--grass));
  border: 12px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.45), var(--shadow);
  position: relative;
}

.mega-ball::before,
.mega-ball::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 7px solid rgba(255,255,255,0.88);
}

.mega-ball::after {
  inset: 62px 24px;
  border: 0;
  border-top: 7px solid rgba(255,255,255,0.88);
  border-bottom: 7px solid rgba(255,255,255,0.88);
}

.floating-stick {
  width: 240px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7ae7b, #8f5b34);
  box-shadow: var(--shadow);
  position: absolute;
}

.feature-slab__art-stick {
  position: relative;
}

.stick-a {
  transform: rotate(-18deg);
  top: 56px;
}

.stick-b {
  width: 200px;
  transform: rotate(16deg);
  top: 150px;
  right: 30px;
}

.stick-c {
  width: 260px;
  transform: rotate(-4deg);
  bottom: 56px;
  left: 20px;
}

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

.callout,
.game-card {
  padding: 22px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.callout h3 {
  font-size: 2.4rem;
}

.intern-mini {
  margin-top: 10px;
  font-size: 0.95rem;
  font-style: italic;
}

.callout-blue {
  background: #dbe8ff;
}

.callout-yellow {
  background: #fff2a8;
}

.callout-pink {
  background: #ffd4ec;
}

.games-tease,
.bottom-cta,
.page-hero,
.stat-banner,
.award-card,
.about-card,
.mud-card,
.gallery-game,
.ball-share,
.mud-meter-game,
.stick-judge__option {
  padding: 24px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.games-tease {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  background: linear-gradient(135deg, rgba(132,211,255,0.62), rgba(255,255,255,0.9));
}

.page-hero-ball {
  background: linear-gradient(135deg, rgba(215,255,74,0.7), rgba(255,255,255,0.92));
}

.page-hero-stick {
  background: linear-gradient(135deg, rgba(200,136,79,0.52), rgba(255,255,255,0.92));
}

.page-hero-games {
  background: linear-gradient(135deg, rgba(255,95,186,0.34), rgba(132,211,255,0.5), rgba(255,255,255,0.92));
}

.page-hero-mud {
  background: linear-gradient(135deg, rgba(143,91,52,0.55), rgba(255,244,191,0.92));
}

.page-hero-about {
  background: linear-gradient(135deg, rgba(255,216,77,0.66), rgba(255,255,255,0.92));
}

.stat-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: white;
}

.stat-banner strong {
  font-family: var(--display);
  font-size: 2rem;
}

.stat-banner-mud {
  background: var(--mud);
}

.stat-banner-selfies {
  background: var(--pink);
}

.gallery-game {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(215,255,74,0.45), rgba(255,255,255,0.92));
}

.gallery-game h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.gallery-game__status {
  min-width: 210px;
  padding: 18px;
  border-radius: 22px;
  background: white;
  text-align: center;
}

.gallery-game__status strong,
.gallery-game__status span {
  display: block;
}

.gallery-game__status strong {
  font-family: var(--display);
  font-size: 1.55rem;
}

.gallery-game__status span {
  margin-top: 8px;
  font-weight: 700;
}

.ball-overlay {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 40;
  width: min(360px, calc(100% - 28px));
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(22, 22, 22, 0.92);
  color: white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.ball-overlay strong,
.ball-overlay span {
  display: block;
}

.ball-overlay strong {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 0.95;
}

.ball-overlay span {
  margin-top: 4px;
  font-size: 0.95rem;
}

.ball-overlay__actions {
  position: relative;
  display: grid;
  gap: 8px;
}

.ball-overlay .button[disabled] {
  opacity: 0.55;
  cursor: default;
}

.ball-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ball-confetti.is-active::before,
.ball-confetti.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #ffd84d 0 3px, transparent 4px),
    radial-gradient(circle, #ff5fba 0 3px, transparent 4px),
    radial-gradient(circle, #84d3ff 0 3px, transparent 4px),
    radial-gradient(circle, #d7ff4a 0 3px, transparent 4px);
  background-size: 120px 120px, 140px 140px, 160px 160px, 180px 180px;
  animation: confetti-fall 2000ms ease-out;
  opacity: 0;
}

.ball-confetti.is-active::after {
  animation-delay: 80ms;
}

.reward-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 22, 22, 0.56);
}

.reward-overlay[hidden] {
  display: none !important;
}

.reward-overlay__panel {
  position: relative;
  width: min(680px, 100%);
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 236, 150, 0.82), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,216,0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.reward-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.reward-confetti.is-active::before,
.reward-confetti.is-active::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle, #ffd84d 0 4px, transparent 5px),
    radial-gradient(circle, #ff5fba 0 4px, transparent 5px),
    radial-gradient(circle, #84d3ff 0 4px, transparent 5px),
    radial-gradient(circle, #d7ff4a 0 4px, transparent 5px),
    radial-gradient(circle, #ff7a00 0 4px, transparent 5px);
  background-size: 110px 110px, 140px 140px, 160px 160px, 180px 180px, 130px 130px;
  animation: confetti-fall 2000ms ease-out;
  opacity: 0;
}

.reward-confetti.is-active::after {
  animation-delay: 140ms;
}

.reward-overlay__panel h2 {
  margin: 10px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 0.96;
}

.reward-overlay__panel p {
  font-size: 1.08rem;
  line-height: 1.45;
}

.reward-overlay__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.ball-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ball-card,
.stick-card {
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
}

.ball-card {
  padding: 0;
  overflow: hidden;
}

.ball-card__num {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  pointer-events: none;
  line-height: 1;
}

.ball-card__art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #d4e84a;
  appearance: none;
  cursor: pointer;
  padding: 0;
  border: none;
}

.ball-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ball-card:hover {
  animation: ball-float 0.7s ease-in-out infinite;
}

@keyframes ball-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.ball-card.is-found {
  outline: 5px dashed var(--hot);
  transform: rotate(-2deg) scale(1.02);
  animation: none;
}

.ball-not-it {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(22, 22, 22, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  animation: not-it-fade 1.8s ease forwards;
}

@keyframes not-it-fade {
  0%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0; }
}

.ball-card.is-special-test .ball-card__art {
  outline: 4px solid #ff7a00;
}

.ball-card p,
.ball-card > strong {
  display: none;
}

.ball-card p,
.stick-card p {
  margin: 8px 0 0;
  font-weight: 600;
}

.stick-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stick-wall__more {
  display: contents;
}
.stick-wall__more[hidden] {
  display: none;
}
.stick-wall__reveal-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
}
.stick-pile-reveal {
  grid-column: 1 / -1;
}

.stick-judge {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.stick-judge__option {
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease;
}

.stick-judge__option:hover,
.stick-judge__option:focus-visible {
  transform: translateY(-3px) rotate(-1deg);
}

.stick-judge__option strong {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-size: 1.6rem;
}

.stick-judge__art {
  display: block;
  height: 120px;
  border-radius: 22px;
  background: linear-gradient(180deg, #e9f5ff, #fff2dc);
  position: relative;
  overflow: hidden;
}

.stick-judge__art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7ae7b, #8f5b34);
  transform: translate(-50%, -50%);
}

.stick-judge__art-long::after {
  width: 170px;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.stick-judge__art-fork::after {
  width: 120px;
  transform: translate(-50%, -50%) rotate(8deg);
  box-shadow: 34px -26px 0 -2px #a06b42;
}

.stick-judge__art-wet::after {
  width: 136px;
  transform: translate(-50%, -50%) rotate(-3deg);
  box-shadow: 0 0 0 4px rgba(132, 211, 255, 0.32);
}

.mud-wall,
.about-grid,
.awards-strip {
  display: grid;
  gap: 18px;
}

.mud-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.awards-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mud-meter {
  height: 28px;
  border-radius: 999px;
  background: #ead3bb;
  overflow: hidden;
}

.mud-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #c8884f, #6e3c1f);
  transition: width 140ms ease;
}

.mud-meter__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.mud-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mud-overlay__status {
  margin-top: 16px;
}

.mud-overlay__status strong,
.mud-overlay__status span {
  display: block;
}

.mud-overlay__status strong {
  font-family: var(--display);
  font-size: 1.5rem;
}

.mud-overlay__status span {
  margin-top: 6px;
  font-weight: 700;
}

.mud-exhibit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mud-game-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.mud-dog-wrap {
  position: relative;
  width: 100%;
}

.mud-dog-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.mud-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: mud-fling var(--dur) ease-out forwards;
}

@keyframes mud-fling {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  70%  { opacity: 0.85; }
  100% { transform: translate(var(--tx), var(--ty)) scale(var(--es)); opacity: 0; }
}

.mud-meter-game {
  margin-top: 18px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.mud-exhibit {
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #e8c29a, #b06f42);
  color: white;
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 160ms ease;
}

.mud-exhibit:hover,
.mud-exhibit:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
}

.mud-exhibit strong,
.mud-exhibit span {
  display: block;
}

.mud-exhibit strong {
  font-family: var(--display);
  font-size: 1rem;
}

.mud-exhibit span {
  margin-top: 2px;
  font-size: 0.8rem;
}

.stick-card__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 10px;
}

.stick-card__art {
  position: relative;
  height: 112px;
  margin-bottom: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #eef7ff, #fff4e7);
  overflow: hidden;
}

.stick-card__shape {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7ae7b, #8f5b34);
  transform-origin: center;
}

.stick-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
}

.stick-card[data-stick-report] {
  cursor: pointer;
}

.stick-card[data-stick-report]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}


/* Stick modal */
.stick-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.stick-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 10, 0.55);
  border: 0;
  cursor: pointer;
}

.stick-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 36px 40px 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.stick-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.4;
  padding: 6px;
  line-height: 1;
}

.stick-modal__close:hover { opacity: 1; }

.stick-modal__heading {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 4px 0 18px;
  opacity: 0.5;
}

.stick-modal__classification {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

.stick-modal__description {
  margin: 0 0 24px;
  line-height: 1.6;
}

.stick-modal__traits-heading {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.5;
}

.stick-modal__traits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stick-modal__traits li::before {
  content: "— ";
  opacity: 0.4;
}

.stick-modal__board {
  background: #f7f3ee;
  border-radius: 14px;
  padding: 18px 20px;
}

.stick-modal__board strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 6px;
}

.stick-modal__board p {
  margin: 0;
  font-style: italic;
  line-height: 1.55;
}

.mud-puddle {
  width: min(300px, 88%);
  height: 190px;
  border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%;
  background:
    radial-gradient(circle at 28% 32%, rgba(255,255,255,0.3), transparent 16%),
    radial-gradient(circle at 64% 62%, rgba(255,255,255,0.16), transparent 18%),
    linear-gradient(180deg, #b88352, #7a4928);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.mud-card {
  background: rgba(255, 250, 241, 0.9);
}

.mud-card__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 14px;
}

.mud-card__art {
  height: 150px;
  margin-bottom: 14px;
  border-radius: 24px;
  background-color: #f8ecd8;
  position: relative;
  overflow: hidden;
}

.mud-card__art::before,
.mud-card__art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(143, 91, 52, 0.85);
}

.mud-card__art-splash::before {
  width: 120px;
  height: 60px;
  left: 24px;
  bottom: 26px;
}

.mud-card__art-splash::after {
  width: 70px;
  height: 34px;
  right: 20px;
  top: 28px;
}

.mud-card__art-deep::before {
  inset: 28px 18px 18px;
  border-radius: 36px;
}

.mud-card__art-track::before {
  width: 56px;
  height: 56px;
  left: 22px;
  top: 24px;
  box-shadow: 76px 10px 0 rgba(143, 91, 52, 0.82), 152px 26px 0 rgba(143, 91, 52, 0.82);
}

.mud-card__art-track::after {
  width: 22px;
  height: 22px;
  left: 36px;
  top: 72px;
  box-shadow: 74px 10px 0 rgba(143, 91, 52, 0.82), 150px 26px 0 rgba(143, 91, 52, 0.82);
}

.mud-card__art-drip::before {
  width: 140px;
  height: 54px;
  left: 30px;
  top: 28px;
}

.mud-card__art-drip::after {
  width: 18px;
  height: 68px;
  left: 74px;
  bottom: 10px;
  box-shadow: 42px 12px 0 rgba(143, 91, 52, 0.85);
}

.mud-card__art-hero::before {
  inset: 18px;
  border-radius: 50% 40% 58% 42%;
}

.mud-card__art-soft::before {
  width: 160px;
  height: 78px;
  left: 22px;
  bottom: 18px;
}

.mud-card__art-soft::after {
  width: 60px;
  height: 28px;
  right: 28px;
  bottom: 42px;
}

.about-card,
.award-card {
  background: rgba(255, 255, 255, 0.9);
}

.about-card h2,
.award-card h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  line-height: 0.95;
}

.about-card h2 {
  font-size: 2.2rem;
}

.award-card h3 {
  font-size: 2rem;
}

.games-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card {
  background: rgba(255, 255, 255, 0.9);
}

.score-box {
  display: inline-grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin: 18px 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ball), var(--grass));
  box-shadow: var(--shadow);
}

.score-box strong {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
}

.dry-meter {
  height: 26px;
  margin: 18px 0;
  border-radius: 999px;
  background: #dbe8ff;
  overflow: hidden;
}

.dry-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--hot));
  transition: width 120ms ease;
}

.shake-dog-wrap {
  position: relative;
  width: 200px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.shake-dog-photo {
  display: block;
  width: 200px;
  height: auto;
  margin-top: -0.5cm;
}

.shake-dog-photo.is-shaking {
  animation: shake 180ms linear 3;
}

.drop {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 60% 60% / 40% 40% 60% 60%;
  background: #6ec6f5;
  opacity: 0.85;
  pointer-events: none;
  animation: dropfly 480ms ease-out forwards;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.water-stream {
  position: absolute;
  top: 0;
  width: 14px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, rgba(160,220,255,0.95), rgba(80,160,220,0.7));
  pointer-events: none;
  transform-origin: top center;
  animation: stream-fall var(--dur) ease-in forwards;
}

@keyframes stream-fall {
  0%   { height: 0; opacity: 1; }
  70%  { height: 110%; opacity: 0.9; }
  100% { height: 110%; opacity: 0; }
}

.water-flood {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(130,210,255,0.75) 0%, rgba(60,140,210,0.55) 100%);
  animation: flood-wash 500ms ease-in-out forwards;
}

@keyframes flood-wash {
  0%   { clip-path: inset(100% 0 0 0); opacity: 1; }
  55%  { clip-path: inset(0% 0 0 0);   opacity: 0.85; }
  100% { clip-path: inset(0% 0 0 0);   opacity: 0; }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(180,230,255,0.85);
  pointer-events: none;
  animation: bubble-rise var(--dur) ease-out forwards;
}

@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(var(--rise)) scale(0.3); opacity: 0; }
}

@keyframes dropfly {
  0%   { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 0.85; }
  80%  { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; }
}

.game-message {
  min-height: 2.8em;
  font-weight: 600;
}

/* Bury game */
.bury-game {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bury-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.bury-ball-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.bury-potato-svg {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 6px 0 rgba(22,22,22,0.14));
  transition: transform 600ms cubic-bezier(0.4,0,1,1), opacity 400ms ease;
}

.bury-potato-svg.is-dropping {
  transform: translateY(160px) scale(0.7);
  opacity: 0;
}

.bury-ball-waiting span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.bury-depth-label {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.45;
}

/* Grid side + log side */
.bury-area {
  display: flex;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
}

.bury-grid-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Dirt pile accumulates above the grid */
.bury-dirt-area {
  height: 52px;
  position: relative;
}

.bury-pile {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at 50% 110%, #9c7040 0%, #6b4020 60%, #4a2808 100%);
  border-radius: 55% 55% 0 0;
  transition: height 280ms ease, width 280ms ease;
}

.bury-pile::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 3px;
  width: 18px;
  height: 11px;
  background: #8b6030;
  border-radius: 50%;
}

.bury-pile::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 4px;
  width: 14px;
  height: 9px;
  background: #7a5228;
  border-radius: 50%;
}

/* Grid wrap */
.bury-grid-wrap {
  position: relative;
  width: 100%;
}

.bury-grid-wrap::before {
  content: "START: TAP GREEN GRASS";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 6;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #23410f;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  pointer-events: none;
  box-shadow: 0 5px 0 rgba(22, 22, 22, 0.12);
}

.bury-game.has-started .bury-grid-wrap::before,
.bury-game.is-ready-to-place .bury-grid-wrap::before,
.bury-game.is-filling .bury-grid-wrap::before {
  display: none;
}

.bury-grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 1.5px;
  background: #150800;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 14 / 11;
  width: 100%;
}

/* Dog follows the dig */
.bury-dog {
  position: absolute;
  z-index: 5;
  top: calc((var(--dog-row, 1) + 0.5) / 11 * 100%);
  left: calc((var(--dog-col, 7) + 0.5) / 14 * 100%);
  transform: translate(-50%, -50%);
  transition: top 350ms ease, left 250ms ease;
  pointer-events: none;
  width: calc(100% / 7);
  height: auto;
}

.bury-dog.is-digging {
  animation: dog-dig 0.38s ease-in-out infinite;
}

@keyframes dog-dig {
  0%, 100% { transform: translate(-50%, -50%) rotate(-14deg); }
  50%       { transform: translate(-50%, -50%) rotate(14deg); }
}

/* Deep enough banner — covers only the last grid row so dog stays visible */
.bury-win-banner {
  position: absolute;
  top: calc(10 / 11 * 100%);
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 8;
  pointer-events: none;
  animation: banner-appear 350ms ease;
}

@keyframes banner-appear {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Placed potato cell — remains visible through the fill */
.bury-cell[data-type="potato"] {
  background: #0c0400;
}

.bury-cell[data-type="potato"]::after {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at 38% 40%, #f0d070 0%, #c9a845 55%, #8a6c28 100%);
  border-radius: 55% 45% 62% 40% / 60% 55% 45% 48%;
  box-shadow: 0 0 7px 2px rgba(201, 168, 69, 0.55);
}

/* Cells */
.bury-cell {
  position: relative;
  cursor: default;
  transition: filter 80ms;
  min-height: 0;
}

.bury-cell[data-type="surface"] {
  background: linear-gradient(180deg, #7acc48 0%, #5db830 100%);
  cursor: crosshair;
}

.bury-game:not(.has-started) .bury-cell[data-type="surface"] {
  animation: grass-invite 1.25s ease-in-out infinite;
}

.bury-cell[data-type="surface"]:hover {
  filter: brightness(1.2);
}

.bury-cell[data-type="surface"].is-locked {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.bury-cell[data-type="broken"] {
  background: #0c0400;
}

.bury-cell[data-type="earth"] {
  background: var(--cc, #7a5230);
  cursor: crosshair;
}

.bury-cell[data-type="earth"][data-acc="0"] {
  cursor: default;
  opacity: 0.82;
}

.bury-cell[data-type="earth"][data-acc="1"]:hover {
  filter: brightness(1.3);
}

.bury-cell.is-diggable {
  box-shadow: inset 0 0 0 1px rgba(255, 241, 142, 0.42);
  animation: diggable-pulse 1.1s ease-in-out infinite;
}

.bury-cell[data-type="dug"] {
  background: #0c0400;
}

.bury-cell[data-type="rock"] {
  background: #7c7c7c;
}

.bury-cell[data-type="rock"][data-hp="5"] { background: #808080; }
.bury-cell[data-type="rock"][data-hp="4"] { background: #6c6c6c; }
.bury-cell[data-type="rock"][data-hp="3"] { background: #595959; }
.bury-cell[data-type="rock"][data-hp="2"] { background: #484848; }
.bury-cell[data-type="rock"][data-hp="1"] { background: #363636; }

.bury-cell[data-type="rock"][data-acc="0"] {
  cursor: default;
  opacity: 0.82;
}

.bury-cell[data-type="rock"][data-acc="1"] {
  cursor: crosshair;
}

.bury-cell[data-type="rock"][data-acc="1"]:hover {
  filter: brightness(1.35);
}

.bury-cell[data-type="rock"].is-diggable {
  box-shadow: inset 0 0 0 1px rgba(255, 241, 142, 0.48);
}

.bury-cell[data-type="rock"][data-hp="2"]::after,
.bury-cell[data-type="rock"][data-hp="1"]::after {
  content: "✕";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

.bury-cell[data-type="item"] {
  background: var(--cc, #7a5230);
  cursor: crosshair;
}

.bury-cell[data-type="item"][data-acc="0"] {
  cursor: default;
  opacity: 0.82;
}

.bury-cell[data-type="item"][data-acc="1"]:hover {
  filter: brightness(1.3);
}

.bury-cell[data-type="item"].is-near {
  animation: item-sense 1.8s ease-in-out infinite;
}

@keyframes grass-invite {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.28) saturate(1.2); }
}

@keyframes diggable-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08) saturate(1.04); }
}

@keyframes item-sense {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.4) saturate(1.6); }
}

/* Dirt particles */
.dirt-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  animation: dirt-fly var(--dur) ease-out forwards;
  z-index: 10;
}

@keyframes dirt-fly {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; }
}

/* Finds log — right panel, no interruption */
.bury-log {
  width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.bury-log-header {
  margin: 0 0 2px;
  opacity: 0.45;
}

.bury-log-empty {
  font-size: 0.75rem;
  opacity: 0.35;
  font-style: italic;
  margin: 0;
}

.bury-log-entry {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--hot);
  text-align: left;
  animation: log-slide 220ms ease;
}

@keyframes log-slide {
  from { transform: translateX(14px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.bury-log-entry__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}

.bury-log-entry strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.bury-log-entry p {
  font-size: 0.72rem;
  margin: 0;
  opacity: 0.75;
  line-height: 1.35;
}

.bury-message {
  font-size: 1.05rem;
  font-weight: 700;
  min-height: 1.6em;
}

.bury-dig-btn {
  font-size: 1.1rem;
  min-width: 180px;
}

.bury-game.is-ready-to-place .bury-dig-btn {
  animation: button-call 900ms ease-in-out infinite;
}

@keyframes button-call {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.bury-certificate {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.bury-certificate h2 {
  margin: 6px 0 14px;
}

.bury-cert-details {
  text-align: left;
  margin: 16px 0;
}

.bury-cert-details p {
  margin: 5px 0;
  font-size: 0.88rem;
}

.bury-pawprint {
  font-size: 2.4rem;
  display: block;
  margin: 10px 0 4px;
}

.bury-cert-footer {
  font-style: italic;
  opacity: 0.65;
  font-size: 0.85rem;
  margin: 0 0 18px;
}

.bury-certificate .button {
  margin: 6px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.choice-button {
  min-height: 48px;
}

.door-stage {
  position: relative;
  height: 190px;
  margin: 18px 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #dbe8ff, #fff3d2);
  overflow: hidden;
}

.door-panel {
  position: absolute;
  right: 26px;
  top: 22px;
  width: 116px;
  height: 146px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #cf9052, #8f5b34);
  box-shadow: var(--shadow);
}

.door-panel::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd84d;
}

.door-dog {
  position: absolute;
  left: 24px;
  bottom: 20px;
  width: 96px;
  height: 64px;
  border-radius: 40px;
  background: linear-gradient(180deg, #f6d0a9, #d39a67);
  transform: translateX(-150px);
  transition: transform 240ms ease;
}

.door-dog::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f6d0a9;
}

.door-dog::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 6px;
  width: 12px;
  height: 38px;
  border-radius: 999px;
  background: #d39a67;
  transform: rotate(28deg);
}

.door-dog.is-visible {
  transform: translateX(0);
}

.bottom-cta {
  text-align: center;
  margin-bottom: 36px;
  background: linear-gradient(135deg, rgba(255,216,77,0.7), rgba(255,255,255,0.95));
}

.greg-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.greg-modal[hidden] { display: none; }
.greg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22,22,22,0.6);
  cursor: pointer;
}
.greg-modal__box {
  position: relative;
  background: #fffef5;
  border: 4px solid var(--ink);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: calc(100% - 48px);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}
.greg-modal__box h2 {
  font-size: 1.4rem;
  margin: 0.5em 0 1em;
}
.greg-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  color: var(--ink);
}

.site-footer {
  padding: 0 0 34px;
  margin-top: 64px;
}

.awards-strip {
  margin-top: 64px;
}

.site-footer__inner {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}

.site-footer p {
  margin: 0;
}

.site-footer__top {
  flex-shrink: 0;
}

.site-footer__copy {
  font-size: 0.82rem;
  color: rgba(22,22,22,0.45);
  margin-top: 4px !important;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.issue-hero,
.issue-panel,
.issue-result {
  margin-top: 22px;
  padding: 26px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.issue-hero {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 240, 182, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,244,195,0.88));
  text-align: center;
}

.issue-hero h1,
.issue-panel h2,
.issue-result h2,
.relic-card__copy h3 {
  margin: 8px 0 0;
  font-family: "Cinzel", Georgia, serif;
  line-height: 0.96;
}

.issue-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.issue-hero p,
.issue-panel p,
.issue-note,
.relic-card__note {
  font-size: 1.08rem;
  line-height: 1.45;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}

.issue-panel {
  background: rgba(255,255,255,0.9);
}

.issue-panel-rules {
  background: linear-gradient(180deg, rgba(255,252,240,0.96), rgba(255,243,205,0.96));
}

.issue-panel-chamber {
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 241, 170, 0.72), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,227,0.94));
}

.holy-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #fffdf7, #fff6dd);
  border: 2px solid rgba(110, 76, 40, 0.12);
}

.holy-stage__halo {
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,156,0.86) 0%, rgba(255,236,156,0) 68%);
}

.holy-stage__rays {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(255,232,153,0.18) 56px 64px),
    linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.42));
  mask: radial-gradient(circle at 50% 18%, black 0 42%, transparent 72%);
}

.holy-stage__scroll {
  position: relative;
  margin: 42px auto 0;
  width: min(88%, 560px);
  min-height: 360px;
  padding: 24px 24px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,253,246,0.98), rgba(250,240,214,0.96));
  border: 2px solid rgba(120, 84, 45, 0.18);
  box-shadow: 0 24px 40px rgba(83, 58, 29, 0.14);
}

.holy-stage__preview {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.holy-stage__preview svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.holy-stage__caption {
  margin: 12px 0 0;
  text-align: center;
  font-weight: 600;
}

.issue-actions,
.issue-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.issue-note {
  margin-top: 16px;
  font-weight: 600;
}

.streak-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(110, 76, 40, 0.12);
}

.streak-panel strong {
  display: block;
  margin-top: 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.streak-panel p:last-child {
  margin-bottom: 0;
}

.issue-result {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 237, 149, 0.58), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,244,211,0.94));
}

.issue-result__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.rarity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  background: #e8dfcf;
}

.rarity-common {
  background: #d9c5a1;
}

.rarity-uncommon {
  background: #cfe5b5;
}

.rarity-rare {
  background: #c6dbff;
}

.rarity-epic {
  background: #ecd2ff;
}

.rarity-museum-grade {
  background: linear-gradient(135deg, #f6de7a, #ffd14f);
}

.relic-card {
  margin-top: 18px;
}

.relic-card__frame {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 34px;
  border: 6px solid #d7be9b;
  background: linear-gradient(180deg, #fffdf7, #fff4d9);
}

.relic-card__frame.rarity-uncommon {
  border-color: #7fb55d;
}

.relic-card__frame.rarity-rare {
  border-color: #5c88de;
}

.relic-card__frame.rarity-epic {
  border-color: #b865df;
}

.relic-card__frame.rarity-museum-grade {
  border-color: #dbb53a;
}

.relic-card__halo {
  position: absolute;
  width: 360px;
  height: 360px;
  left: 50%;
  top: -84px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,239,176,0.92) 0%, rgba(255,239,176,0) 70%);
}

.relic-card__art,
.relic-card__copy {
  position: relative;
}

.relic-card__art {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.relic-card__art svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.relic-card__copy {
  text-align: center;
}

.relic-card__copy h3 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.relic-card__traits {
  margin: 12px 0 0;
  font-weight: 700;
}

.relic-card__note {
  max-width: 40ch;
  margin: 12px auto 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

@keyframes shake {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  25% {
    transform: translateX(-6px) rotate(-3deg);
  }

  50% {
    transform: translateX(6px) rotate(3deg);
  }

  75% {
    transform: translateX(-4px) rotate(-2deg);
  }

  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-18px);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translateY(90px);
    opacity: 0;
  }
}

/* Mobile nav toggle — hidden on desktop, activated by 680px breakpoint */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--white);
  border: 3px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-close {
  display: none;
}

@media (max-width: 940px) {
  .hero-home,
  .feature-slab,
  .callout-grid,
  .games-grid,
  .ball-wall,
  .stick-wall,
  .mud-wall,
  .about-grid,
  .awards-strip,
  .stick-judge,
  .issue-layout {
    grid-template-columns: 1fr;
  }

  .games-tease {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-game {
    flex-direction: column;
    align-items: flex-start;
  }

  .ball-overlay {
    left: 14px;
    width: auto;
  }

  .ball-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Jaunty dog images on gallery pages */
.page-hero--with-dog {
  position: relative;
  overflow: visible;
  padding-right: 260px;
}

.jaunty-dog {
  position: absolute;
  right: -14px;
  bottom: -28px;
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  border: 7px solid white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  z-index: 2;
  pointer-events: none;
}

.jaunty-dog--stick {
  object-position: center 30%;
  transform: rotate(9deg);
}

.jaunty-dog--mud {
  object-position: center 20%;
  transform: rotate(-8deg);
}

.jaunty-dog--ball {
  object-position: 37% 25%;
  transform: rotate(6deg);
}

/* Executive Board page */
.page-hero-board {
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.08), rgba(255, 244, 191, 0.96));
}

.board-photo-section {
  margin-top: 22px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.board-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 30%;
}

.board-caption {
  padding: 18px 24px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.board-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.board-card__portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}

.board-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.board-card .kicker {
  margin-top: 6px;
  display: block;
}

.board-card p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Board consult */
.board-consult {
  margin-top: 22px;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(22,22,22,0.06), rgba(255,244,191,0.94));
  box-shadow: var(--shadow);
}

.board-consult__intro h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.board-consult__intro p {
  font-size: 1.1rem;
  line-height: 1.45;
  max-width: 56ch;
}

.board-form {
  margin-top: 22px;
}

.board-form__label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.board-form__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.board-form__input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border: 3px solid rgba(22,22,22,0.15);
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  background: white;
  box-shadow: var(--shadow);
}

.board-form__input:focus {
  outline: none;
  border-color: var(--mud);
}

.board-response {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
}

.board-response__considering {
  display: flex;
  align-items: center;
  gap: 10px;
}

.board-response__considering p {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.board-response__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mud);
  animation: board-pulse 1.2s ease-in-out infinite;
}

.board-response__dot:nth-child(2) { animation-delay: 0.2s; }
.board-response__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes board-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.board-response__answer {
  margin-top: 18px;
}

.board-response__answer blockquote {
  margin: 10px 0 0;
  padding: 16px 22px;
  border-left: 6px solid var(--mud);
  background: rgba(143,91,52,0.08);
  border-radius: 0 16px 16px 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.board-response__silence {
  margin-top: 18px;
  font-weight: 600;
  color: rgba(22,22,22,0.5);
  font-style: italic;
}

.board-consult__count {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(22,22,22,0.35);
}

/* Selfie gallery page */
.page-hero-selfies {
  background: linear-gradient(135deg, rgba(255, 95, 186, 0.3), rgba(132, 211, 255, 0.4), rgba(255, 255, 255, 0.9));
}

.selfie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 22px;
  padding: 8px 4px 16px;
}

.selfie-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  height: 296px;
  background: #f7edda;
  padding: 9px 9px 30px;
  border-radius: 2px;
  box-shadow:
    0 0 0 3px #c9a84c,
    0 0 0 7px #6e4b16,
    0 0 0 9px #d4b85a,
    7px 10px 30px rgba(0, 0, 0, 0.48);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.selfie-card:hover {
  transform: rotate(0deg) scale(1.06) !important;
  z-index: 5;
  box-shadow:
    0 0 0 3px #c9a84c,
    0 0 0 7px #6e4b16,
    0 0 0 9px #d4b85a,
    12px 18px 44px rgba(0, 0, 0, 0.56);
}

.selfie-card:nth-child(5n+1) { transform: rotate(-2.2deg); }
.selfie-card:nth-child(5n+2) { transform: rotate(1.4deg); }
.selfie-card:nth-child(5n+3) { transform: rotate(-0.7deg); }
.selfie-card:nth-child(5n+4) { transform: rotate(2deg); }
.selfie-card:nth-child(5n+5) { transform: rotate(-1.6deg); }

.selfie-card img {
  display: block;
  width: 100%;
  height: 0;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 1px;
}

.selfie-card__label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 12px;
  background: linear-gradient(135deg, #d9bf6a 0%, #a07820 45%, #d9bf6a 100%);
  color: #1a0d00;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.06em;
  border: 1px solid #6e4b16;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 1px;
}

/* Mid-range: dog too big at 230px for narrow desktops/tablets — downsize before it overflows */
@media (max-width: 860px) {
  .page-hero--with-dog {
    padding-right: 200px;
  }

  .jaunty-dog {
    width: 160px;
    height: 160px;
    right: 0;
    bottom: -18px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  main {
    width: min(1120px, calc(100% - 18px));
  }

  /* Header: brand left, hamburger right — never stack */
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Shrink logo so the header bar stays compact */
  .site-brand__logo {
    height: 52px;
  }

  /* Show hamburger toggle */
  .nav-toggle {
    display: flex;
  }

  /* Full-screen nav overlay */
  .top-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: var(--bg);
    padding: 48px 20px 32px;
    overflow-y: auto;
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    width: min(320px, 100%);
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px 24px;
  }

  /* Close button shown inside the overlay */
  .nav-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 22px;
    background: none;
    border: 2px solid rgba(22, 22, 22, 0.18);
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  /* Reduce card padding */
  .hero-home,
  .feature-slab,
  .games-tease,
  .page-hero,
  .stat-banner,
  .bottom-cta,
  .game-card,
  .issue-hero,
  .issue-panel,
  .issue-result {
    padding: 20px;
  }

  /* Galleries: 3 per row */
  .ball-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .stick-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stick-card strong {
    font-size: 1rem;
  }

  .mud-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .selfie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .selfie-card__label {
    font-size: 0.62rem;
  }

  /* Stick judge: 2×2 instead of 1-col */
  .stick-judge {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mud-exhibit-grid {
    grid-template-columns: 1fr;
  }

  .gallery-game__status {
    min-width: 0;
    width: 100%;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Homepage hero: hide CTA buttons, show intern note instead */
  .hero-buttons {
    display: none;
  }

  .intern-note {
    display: block;
  }

  /* Taller stack so nose dog and intern note don't collide */
  .hero-home__stack {
    min-height: 300px;
  }

  /* Jaunty dog: smaller on mobile, inset so rotation doesn't clip viewport edge */
  .jaunty-dog {
    width: 90px;
    height: 90px;
    right: 6px;
    bottom: -8px;
  }

  /* Reduce page-hero padding-right so text isn't squeezed */
  .page-hero--with-dog {
    padding-right: 110px;
  }
}

/* Very small screens: hide jaunty dog entirely, restore full padding */
@media (max-width: 540px) {
  .page-hero--with-dog {
    padding-right: 20px;
    overflow: visible;
  }

  .jaunty-dog {
    display: none;
  }

  /* Mud game: stack dog photo above controls */
  .mud-game-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bury-game {
    padding: 24px 12px;
    gap: 16px;
  }

  .bury-hud {
    gap: 12px;
  }

  .bury-potato-svg {
    width: 58px;
    height: 58px;
  }

  .bury-area {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .bury-dirt-area {
    height: 38px;
  }

  .bury-grid-side,
  .bury-log {
    width: 100%;
  }

  .bury-grid {
    gap: 1px;
    border-radius: 5px;
  }

  .bury-log {
    max-height: 150px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.62);
    border: 2px dashed rgba(22, 22, 22, 0.12);
    border-radius: 14px;
  }

  .bury-log-entry {
    box-shadow: none;
  }

  .bury-message {
    font-size: 0.95rem;
    min-height: 2.4em;
  }

  .bury-dig-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Exhibit archive page */
.exhibit-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.exhibit-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.exhibit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 0 rgba(22, 22, 22, 0.14);
}

.exhibit-card__frame {
  overflow: hidden;
  background: #1a1208;
}

.exhibit-card__frame img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 300ms ease;
}

.exhibit-card:hover .exhibit-card__frame img {
  transform: scale(1.03);
}

.exhibit-card__label {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.exhibit-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(22, 22, 22, 0.4);
}

.exhibit-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
  margin-top: 2px;
}

.exhibit-card__meta {
  font-size: 0.78rem;
  color: rgba(22, 22, 22, 0.5);
  margin-top: 2px;
}

.exhibit-card__caption {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(22, 22, 22, 0.75);
}

/* Nomination section */
.nominate-section {
  margin-top: 48px;
  margin-bottom: 36px;
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,216,77,0.5), rgba(255,255,255,0.95));
  box-shadow: var(--shadow);
  max-width: 680px;
}

.nominate-section h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
}

.nominate-section p {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-top: 14px;
}

.nominate-section .button {
  margin-top: 20px;
}

.nominate-section__small {
  font-size: 0.82rem !important;
  color: rgba(22, 22, 22, 0.55);
  font-style: italic;
}

@media (max-width: 940px) {
  .exhibit-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .exhibit-archive {
    grid-template-columns: 1fr;
  }
  .nominate-section {
    padding: 22px;
  }
}

/* Nose dog in homepage hero */
.hero-nose-dog {
  position: absolute;
  bottom: 144px;
  right: 0;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  z-index: 2;
}

/* Dog exhibit photos — scattered around the site */
.dog-exhibit {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dog-exhibit img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}

.dog-exhibit__caption {
  display: none;
}

/* Inline exhibit — sits within a section, fixed size */
.dog-exhibit--inline {
  width: 200px;
  flex-shrink: 0;
}

.dog-exhibit--inline img {
  height: auto;
}

/* Jaunty treatment — white border, shadow, slight rotation */
.dog-exhibit--jaunty {
  transform: rotate(var(--jaunty, -3deg));
}

.dog-exhibit--jaunty img {
  border: 7px solid white;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(22,22,22,0.2);
  overflow: hidden;
}

.selfie-stack {
  display: flex;
  justify-content: center;
  align-items: center;
}

.selfie-stack .dog-exhibit--inline {
  width: 140px;
  flex-shrink: 0;
  margin-left: -32px;
  transition: transform 0.15s ease;
}

.selfie-stack .dog-exhibit--inline:first-child {
  margin-left: 0;
}

.selfie-stack .dog-exhibit--inline:nth-child(1) { z-index: 1; }
.selfie-stack .dog-exhibit--inline:nth-child(2) { z-index: 2; }
.selfie-stack .dog-exhibit--inline:nth-child(3) { z-index: 3; }
.selfie-stack .dog-exhibit--inline:nth-child(4) { z-index: 4; }

.selfie-stack .dog-exhibit--inline:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.05);
  z-index: 10;
}

/* Homepage hero exhibit — larger greeting dog */
.dog-exhibit--hero {
  position: absolute;
  right: -14px;
  bottom: -28px;
  width: 200px;
  z-index: 2;
  box-shadow: 7px 10px 30px rgba(0,0,0,0.3);
  transform: rotate(4deg);
}

.dog-exhibit--hero img {
  height: auto;
}

/* Callout card exhibit — dog sits at top of card */
.dog-exhibit--card {
  width: 100%;
  margin-bottom: 14px;
}

.dog-exhibit--card img {
  height: auto;
  border-radius: 16px;
  border: 7px solid white;
  box-shadow: 0 14px 32px rgba(22,22,22,0.2);
}

@media (max-width: 680px) {
  .dog-exhibit--hero {
    display: none;
  }
  /* Override any inline width= styles so images don't overflow their containers */
  .dog-exhibit--inline {
    width: 100% !important;
    max-width: 100%;
  }
  .dog-exhibit--inline img {
    max-width: 100%;
    height: auto;
  }
  /* But preserve the selfie stack overlap widths */
  .selfie-stack .dog-exhibit--inline {
    width: 140px !important;
  }
}

/* ── Community Gallery ─────────────────────────────────── */

.dog-of-week {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255,216,77,0.45), rgba(255,255,255,0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.dog-of-week::before {
  content: "★ LEADER";
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(22,22,22,0.35);
}

.dog-of-week__frame {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(22,22,22,0.18);
}

.dog-of-week__frame img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 20%;
}

.dog-of-week__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dog-of-week__info h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.dog-of-week__cat {
  font-size: 0.78rem;
  color: rgba(22,22,22,0.45);
  letter-spacing: 0.06em;
  margin: 0;
}

.dog-of-week__caption {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(22,22,22,0.8);
  margin: 4px 0;
}

.dog-of-week__vote-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.dog-of-week__count {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--ink);
}

.dog-of-week__instagram-note {
  font-size: 0.82rem;
  color: rgba(22,22,22,0.45);
  font-style: italic;
  margin: 2px 0 0;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.community-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.community-card:hover {
  transform: translateY(-3px);
}

.community-card__frame img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 300ms ease;
}

.community-card:hover .community-card__frame img {
  transform: scale(1.03);
}

.community-card__info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.community-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(22,22,22,0.38);
}

.community-card__name {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.community-card__meta {
  font-size: 0.75rem;
  color: rgba(22,22,22,0.42);
}

.community-card__caption {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(22,22,22,0.75);
  margin: 6px 0 0;
  flex: 1;
}

.community-card__vote-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.community-card__count {
  font-family: var(--display);
  font-size: 1.1rem;
}

.vote-btn.is-voted {
  background: var(--grass);
  opacity: 0.8;
  cursor: default;
}

.nominate-section--community {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  max-width: 100%;
}

.nominate-section--community .nominate-section__copy {
  flex: 1;
}

.nominate-section__cert-preview {
  flex-shrink: 0;
  width: 280px;
}

.cert-preview {
  background: var(--white);
  border: 3px double rgba(22,22,22,0.25);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(22,22,22,0.1);
}

.cert-preview__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22,22,22,0.4);
  margin: 0 0 8px;
}

.cert-preview__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(22,22,22,0.35);
  border-bottom: 1px solid rgba(22,22,22,0.15);
  padding-bottom: 12px;
  margin: 0 0 12px;
}

.cert-preview__body {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(22,22,22,0.65);
  margin: 0 0 14px;
}

.cert-preview__seal {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(22,22,22,0.3);
  margin: 0;
}

@media (max-width: 840px) {
  .dog-of-week {
    flex-direction: column;
  }
  .dog-of-week__frame {
    width: 100%;
  }
  .dog-of-week__frame img {
    height: 220px;
  }
  .community-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nominate-section--community {
    flex-direction: column;
  }
  .nominate-section__cert-preview {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .community-gallery {
    grid-template-columns: 1fr;
  }
}
