/* Making Biscuits — 1950s pastel kitchen, phone-first */

:root {
  --cream: #fff8ec;
  --paper: #f7e7c7;
  --wall: #f6dcb0;
  --mint: #7fa98c;
  --mint-dark: #5a8768;
  --gingham: #c43b3b;
  --gingham-dark: #9a2b2b;
  --tabby: #e07a3d;
  --tabby-dark: #b85a22;
  --pink: #f4c4b0;
  --blush: #f8ddd2;
  --chocolate: #4a2e1c;
  --ink: #3a2418;
  --gold: #e8b84a;
  --butter: #ffe7a0;
  --white: #fffdf8;
  --shadow: rgba(74, 46, 28, 0.16);
  --shadow-deep: rgba(74, 46, 28, 0.28);
  --nav-h: 62px;
  --font-display: "Limelight", "Times New Roman", serif;
  --font-script: "Playball", "Georgia", cursive;
  --font-poster: "Passion One", "Impact", sans-serif;
  --font-slab: "Alfa Slab One", "Georgia", serif;
  --font-body: "Nunito Soft", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --max: 720px;
}

@font-face { font-family: "Limelight"; src: url("../assets/fonts/Limelight-Regular.ttf") format("truetype"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Playball"; src: url("../assets/fonts/Playball-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Passion One"; src: url("../assets/fonts/PassionOne-Regular.ttf") format("truetype"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Passion One"; src: url("../assets/fonts/PassionOne-Bold.ttf") format("truetype"); font-display: swap; font-weight: 700; }
@font-face { font-family: "Alfa Slab One"; src: url("../assets/fonts/AlfaSlabOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Lobster"; src: url("../assets/fonts/Lobster-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Pacifico"; src: url("../assets/fonts/Pacifico-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Courgette"; src: url("../assets/fonts/Courgette-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/BebasNeue-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Righteous"; src: url("../assets/fonts/Righteous-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Bungee"; src: url("../assets/fonts/Bungee-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Anton"; src: url("../assets/fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fugaz One"; src: url("../assets/fonts/FugazOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("../assets/fonts/ArchivoBlack-Regular.ttf") format("truetype"); font-display: swap; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.7), transparent 40%),
    repeating-linear-gradient(
      90deg,
      #f8e8c8 0 14px,
      #f8e8c8 14px 16px,
      #f3d9a8 16px 30px,
      #f3d9a8 30px 32px
    );
  background-color: var(--wall);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 12px 16px 0;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 8px;
  width: min(100%, var(--max));
  margin: 0 auto;
}
.topbar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 0 var(--shadow);
  object-fit: cover;
  background: var(--paper);
}
.topbar .brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.topbar .ticker {
  font-family: var(--font-poster);
  color: var(--gingham);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Hero */
.hero {
  position: relative;
  margin: 4px 0 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #3a2418;
  box-shadow: 0 10px 24px var(--shadow);
  border: 3px solid #fff;
}
.hero-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}
.hero-card {
  background: linear-gradient(180deg, #fffdf8 0%, #f7e7c7 100%);
  border-radius: 24px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px var(--shadow);
  padding: 18px 16px 20px;
  text-align: center;
  margin-bottom: 16px;
}
.hero-pfp {
  width: 168px;
  height: 168px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 6px 0 rgba(196, 59, 59, 0.2), 0 12px 24px var(--shadow);
  object-fit: cover;
  background: var(--paper);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  margin: 6px 0 0;
  line-height: 1.05;
  color: var(--chocolate);
  text-shadow: 1px 1px 0 #fff;
}
.hero-script {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gingham);
  margin: 2px 0 8px;
}
.hero-tag {
  margin: 0 auto 14px;
  max-width: 28ch;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #5a3b28;
}

.chip {
  display: inline-block;
  background: var(--gingham);
  color: #fff;
  font-family: var(--font-poster);
  letter-spacing: 0.06em;
  padding: 4px 12px 5px;
  border-radius: 999px;
  font-size: 1.05rem;
  box-shadow: 0 2px 0 var(--gingham-dark);
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 0;
  text-decoration: none;
  font-family: var(--font-poster);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--shadow-deep);
  transition: transform 80ms ease, box-shadow 80ms ease, filter 80ms ease;
  user-select: none;
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--shadow-deep); }
.btn[disabled], .btn.is-disabled {
  filter: grayscale(0.15) brightness(1.05);
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-primary {
  background: linear-gradient(180deg, #e15555 0%, var(--gingham) 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.btn-mint {
  background: linear-gradient(180deg, #9ec9aa 0%, var(--mint) 100%);
  color: #1f3b2a;
}
.btn-gold {
  background: linear-gradient(180deg, #ffe7a0 0%, #e8b84a 100%);
  color: var(--chocolate);
}
.btn-cream {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  color: var(--chocolate);
  border: 2px solid rgba(74, 46, 28, 0.12);
}
.btn-tabby {
  background: linear-gradient(180deg, #f09a5c 0%, var(--tabby) 100%);
  color: #fff;
}

.actions { display: grid; gap: 10px; }
.actions-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions-main { margin: 14px 0 12px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 14px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  min-height: 112px;
  padding: 14px 8px;
  border-radius: 20px;
  background: #fffdf8;
  border: 3px solid #fff;
  box-shadow: 0 6px 0 rgba(74, 46, 28, 0.1);
  text-align: center;
}
.feature-card .emoji, .feature-card .ico { font-size: 1.8rem; line-height: 1; }
.feature-card h2 {
  font-family: var(--font-poster);
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: 0.02em;
}
.feature-card p { margin: 0; font-size: 0.82rem; color: #6a4a36; line-height: 1.25; }
.feature-card.memes { background: linear-gradient(180deg, #fff 0%, #ffe7c2 100%); }
.feature-card.knead { background: linear-gradient(180deg, #fff 0%, #f8c8b8 100%); }

.section-label {
  font-family: var(--font-script);
  font-size: 1.25rem;
  margin: 8px 0 8px;
  color: var(--chocolate);
}

.contract {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffdf8;
  border-radius: 16px;
  padding: 10px 10px 10px 14px;
  border: 2px solid rgba(74, 46, 28, 0.08);
  margin: 8px 0 18px;
}
.contract .meta { flex: 1; min-width: 0; }
.contract .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8a6a54; }
.contract .v {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contract .btn { width: auto; min-height: 44px; padding: 8px 14px; font-size: 1.05rem; flex-shrink: 0; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 8px 16px 20px;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: #6a4a36;
  font-size: 0.85rem;
}
.site-footer p { margin: 6px 0; }
.panda-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 4px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #f3e27a;
  text-decoration: none;
  font-family: var(--font-poster);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  min-height: 44px;
}
.panda-ad.is-plain {
  background: #2a241c;
  color: #f3e27a;
  cursor: default;
}
.fineprint { font-size: 0.78rem; color: #8a6a54; line-height: 1.4; }

/* Bottom nav — always one tap away */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fffdf8;
  border-top: 2px solid rgba(74, 46, 28, 0.1);
  box-shadow: 0 -6px 18px var(--shadow);
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 0px));
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 52px;
  text-decoration: none;
  font-family: var(--font-poster);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #7a5a44;
  border-radius: 12px;
}
.bottom-nav a .ico { font-size: 1.25rem; line-height: 1; }
.bottom-nav a.is-on {
  color: var(--gingham);
  background: #ffe8e0;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
  transform: translateX(-50%) translateY(20px);
  background: var(--chocolate);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 80;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 20px var(--shadow-deep);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Meme page ===== */
.page-head {
  text-align: center;
  padding: 6px 8px 10px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  margin: 0;
}
.page-head p { margin: 4px 0 0; color: #6a4a36; }

.meme-stage {
  background: #1a120c;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px var(--shadow);
  touch-action: none;
  position: relative;
}
.meme-stage canvas {
  width: 100%;
  height: auto;
  display: block;
  background: #2a1c12;
}

.tpl-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.tpl-row::-webkit-scrollbar { height: 0; }
.tpl {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  padding: 0;
  background: #eee;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 3px 0 var(--shadow);
}
.tpl img { width: 100%; height: 100%; object-fit: cover; }
.tpl.is-on { border-color: var(--gingham); box-shadow: 0 0 0 3px var(--gingham); }

.panel {
  background: #fffdf8;
  border-radius: 20px;
  padding: 12px;
  border: 2px solid rgba(74, 46, 28, 0.08);
  margin-bottom: 12px;
}
.field { margin: 0 0 10px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a6a54;
  margin-bottom: 4px;
}
.field input[type="text"],
.field input[type="number"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid rgba(74, 46, 28, 0.12);
  background: #fff;
  font-size: 16px; /* prevent iOS zoom */
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.color-dot {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 2px solid rgba(74, 46, 28, 0.15);
  cursor: pointer;
  background: #fff;
}
.color-dot.is-on { outline: 3px solid var(--gingham); outline-offset: 1px; }

/* ===== Knead game ===== */
.game-scene {
  position: relative;
  background: linear-gradient(180deg, #f3d7a4 0%, #eec888 55%, #d9b07a 100%);
  border-radius: 24px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px var(--shadow);
  overflow: hidden;
  min-height: 0;
  margin-bottom: 12px;
  touch-action: manipulation;
  padding-bottom: 8px;
}
.game-scene .counter {
  position: absolute;
  top: 10px;
  left: 0; right: 0;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.game-scene .counter .n {
  font-family: var(--font-poster);
  font-size: clamp(2.6rem, 16vw, 4rem);
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 3px 0 var(--gingham-dark), 0 6px 12px rgba(0,0,0,0.25);
}
.game-scene .stage-name {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--chocolate);
  background: rgba(255, 253, 248, 0.86);
  display: inline-block;
  padding: 2px 12px 4px;
  border-radius: 999px;
  margin-top: 2px;
}
.game-cat {
  width: 186px;
  height: 186px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  margin: 72px auto 0;
  box-shadow: 0 8px 18px var(--shadow-deep);
  position: relative;
  z-index: 1;
  display: block;
  background: var(--paper);
  transition: transform 90ms ease;
}
.game-cat.bounce { transform: scale(1.04) rotate(-2deg); }

.dough-wrap {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 84px;
  margin: -30px auto 6px;
  pointer-events: none;
}
.dough {
  width: 140px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 40% 32%, #fff6d2, #f0d59a 55%, #d9ae62 100%);
  box-shadow:
    inset 0 -14px 18px rgba(140, 90, 20, 0.22),
    0 8px 0 rgba(150, 100, 30, 0.28);
  transform-origin: 50% 80%;
  transition: transform 70ms ease, background 400ms ease;
}
.dough.squish { transform: scaleX(1.2) scaleY(0.68); }
.dough.stage-1 { background: radial-gradient(circle at 40% 32%, #fff4c8, #efd08a 55%, #d0a050 100%); }
.dough.stage-2 { background: radial-gradient(circle at 40% 32%, #ffe8a8, #e8c060 55%, #c48a30 100%); }
.dough.stage-3 { background: radial-gradient(circle at 40% 32%, #ffd278, #e0a038 55%, #b86a18 100%); }
.paw-print {
  position: absolute;
  width: 28px; height: 24px;
  border-radius: 50%;
  background: rgba(140, 80, 30, 0.18);
  opacity: 0.7;
}

.flour {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 4;
  animation: flour-fly 500ms ease-out forwards;
}
@keyframes flour-fly {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4); }
}
.plus-one {
  position: absolute;
  z-index: 5;
  font-family: var(--font-poster);
  color: var(--gingham);
  font-size: 1.4rem;
  text-shadow: 0 1px 0 #fff;
  animation: plus-up 500ms ease-out forwards;
  pointer-events: none;
}
@keyframes plus-up {
  0% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50px) scale(1.2); }
}

.knead-btn {
  width: 100%;
  min-height: 88px;
  border: 0;
  border-radius: 24px;
  background:
    repeating-linear-gradient(
      45deg,
      #d64545 0 10px,
      #c43b3b 10px 20px,
      #fff 20px 22px,
      #c43b3b 22px 32px
    );
  color: #fff;
  font-family: var(--font-poster);
  font-size: 2.3rem;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 0 rgba(80, 0, 0, 0.35);
  box-shadow: 0 8px 0 #7a1e1e, 0 14px 22px var(--shadow);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  margin: 4px 0 12px;
}
.knead-btn:active, .knead-btn.is-down {
  transform: translateY(5px);
  box-shadow: 0 3px 0 #7a1e1e, 0 8px 14px var(--shadow);
}

.progress {
  height: 10px;
  background: rgba(74, 46, 28, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 6px;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--tabby), var(--gold));
  border-radius: inherit;
  transition: width 180ms ease;
}
.next-hint { text-align: center; font-size: 0.88rem; color: #6a4a36; margin: 0 0 14px; }

.lb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 8px;
}
.lb-head h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fffdf8;
  border-radius: 14px;
  padding: 4px;
  border: 2px solid rgba(74, 46, 28, 0.08);
  margin-bottom: 8px;
}
.tabs-3 { grid-template-columns: 1fr 1fr 1fr; }
.tabs-3 button { font-size: 1.02rem; padding: 0 4px; }
.tabs button {
  min-height: 44px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-poster);
  font-size: 1.15rem;
  color: #7a5a44;
  cursor: pointer;
}
.tabs button.is-on {
  background: var(--gingham);
  color: #fff;
}
.lb-note { font-size: 0.8rem; color: #8a6a54; text-align: center; margin: 0 0 8px; }
.lb-list { list-style: none; margin: 0; padding: 0; }
.lb-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fffdf8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 2px solid transparent;
}
.lb-list li.me { border-color: var(--gingham); background: #fff0ea; }
.lb-list .rank {
  font-family: var(--font-poster);
  font-size: 1.2rem;
  color: var(--gingham);
  text-align: center;
}
.lb-list .who { min-width: 0; }
.lb-list .nick {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-list .wallet {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.7rem;
  color: #8a6a54;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-list .taps {
  font-family: var(--font-poster);
  font-size: 1.2rem;
  color: var(--chocolate);
}
.empty-lb { text-align: center; padding: 18px 8px; color: #8a6a54; }

.you-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  background: #fffdf8;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 2px dashed rgba(196, 59, 59, 0.35);
  font-size: 0.92rem;
}
.you-bar button {
  border: 0;
  background: transparent;
  color: var(--gingham);
  font-family: var(--font-poster);
  cursor: pointer;
  min-height: 40px;
  padding: 4px 8px;
}

.contest-card {
  background: #fff0ea;
  border: 2px solid var(--gingham);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 12px;
  text-align: center;
}
.contest-kicker {
  font-family: var(--font-poster);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gingham);
  margin: 0 0 4px;
}
.contest-clock {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--chocolate);
  margin: 0 0 4px;
  line-height: 1.25;
}
.contest-you {
  font-size: 0.86rem;
  color: #6a4a36;
  margin: 0;
}

/* Modal */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(40, 20, 10, 0.45);
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.modal-bg[hidden] { display: none; }
.modal {
  width: min(100%, 440px);
  background: #fffdf8;
  border-radius: 24px 24px 18px 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 -10px 30px var(--shadow-deep);
}
.modal h2 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 1.5rem;
}
.modal p { margin: 0 0 12px; color: #6a4a36; }
.modal .hint { font-size: 0.8rem; color: #8a6a54; margin: 4px 0 12px; }

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8a6a54;
  margin-right: 6px;
}
.status-dot.ok { background: #3d8a55; }
.status-dot.bad { background: #c43b3b; }

@media (min-width: 700px) {
  .hero-pfp { width: 200px; height: 200px; }
  .game-cat { width: 210px; height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .dough, .game-cat, .btn, .flour, .plus-one { transition: none; animation: none; }
}
