:root {
  --ink: #281106;
  --cream: #fff4d5;
  --gold: #ffd34e;
  --green: #1f9b48;
  --dark-green: #0f5e31;
  --red: #e84424;
  --sky: #81d7ff;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100%;
  background:
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.55) 0 120px, transparent 320px),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.28) 0 100px, transparent 300px),
    linear-gradient(180deg, #7dd9ff 0%, #c7f2ff 42%, #f6c071 100%);
  color: var(--ink);
  font-family: ui-rounded, "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif;
}
.page-shell { min-height: 100vh; display: grid; place-items: center; padding: clamp(10px, 2vw, 26px); }
.game-card {
  width: min(1380px, 100%);
  border: 7px solid #321505;
  border-radius: 30px;
  padding: clamp(10px, 2vw, 18px);
  background:
    radial-gradient(circle at 20% 5%, rgba(255,255,255,.22) 0 140px, transparent 260px),
    repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 16px, rgba(255,255,255,0) 16px 32px),
    linear-gradient(135deg, #ffc94b, #f49c33 48%, #de7028);
  box-shadow: 0 28px 80px rgba(55,21,5,.35), inset 0 0 0 5px rgba(255,255,255,.35);
}
.game-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.potato-logo {
  width: 68px; height: 68px; border-radius: 54% 46% 50% 44%; border: 4px solid #321505;
  background:
    radial-gradient(circle at 31% 24%, #fff4b0 0 7px, transparent 8px),
    radial-gradient(circle at 69% 55%, #7f4019 0 5px, transparent 6px),
    linear-gradient(145deg, #ffe08a, #bd6d25);
  box-shadow: inset -11px -14px 0 rgba(80,33,7,.2);
  transform: rotate(-9deg);
}
.eyebrow { margin: 0 0 2px; font-weight: 950; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #65300c; }
h1 { margin: 0; font-size: clamp(31px, 5vw, 62px); line-height: .88; letter-spacing: -2px; text-shadow: 2px 3px 0 rgba(255,255,255,.45), 6px 6px 0 rgba(91,40,7,.18); }
h1 span { color: var(--green); }
.tagline { margin: 6px 0 0; font-size: 14px; font-weight: 900; color: #54270b; }
.status-pill {
  border: 3px solid #321505; border-radius: 999px; background: rgba(255,250,218,.92); padding: 9px 14px; font-weight: 950; box-shadow: 0 6px 0 rgba(80,31,7,.2);
}
.game-wrap {
  position: relative; overflow: hidden; border-radius: 24px; border: 6px solid #2d1204; background: #87dcff;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 18px 40px rgba(61,25,6,.32); touch-action: none;
}
canvas { display: block; width: 100%; aspect-ratio: 16 / 9; background: #78d8ff; cursor: crosshair; }
.mobile-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); pointer-events: none;
  background: rgba(255,244,213,.9); border: 3px solid #321505; border-radius: 999px; padding: 6px 12px; font-weight: 950; font-size: 13px; opacity: .9;
}
.underbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 11px; font-size: 13px; font-weight: 900; color: #56270b; }
kbd { border: 2px solid #321505; border-radius: 7px; background: #fff8d7; padding: 2px 7px; box-shadow: 0 2px 0 #321505; font-weight: 950; }
@media (max-width: 800px) { .status-pill { display: none; } }
@media (max-width: 680px) { .underbar { font-size: 11px; } .mobile-hint { font-size: 11px; max-width: 92%; text-align: center; } }
