:root {
  --dw-bg: #fff6e9; --dw-fg: #3b2418; --dw-accent: #e8475f; --dw-panel: rgba(255, 250, 242, .97);
  --dw-font-body: 'Nunito', system-ui, sans-serif; --display: 'Shrikhand', Georgia, serif;
  --mint: #9fe3cf; --mint-d: #4fb89a; --cherry: #e8475f; --butter: #ffd77a; --cocoa: #5a3424; --line: #3b241822; --card: #fffdf8;
}
body { overflow-x: hidden; background: var(--dw-bg) radial-gradient(#3b24180d 1px, transparent 1.5px) 0 0 / 22px 22px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .45em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--cherry); }
h3 { font-size: 1.3rem; color: var(--cocoa); }
section { padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 64px); }
.dw-plain { font: inherit; color: inherit; }
a { color: var(--cherry); }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 10px clamp(16px, 4vw, 40px); background: #fff6e9e6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 3px solid var(--mint); }
.brand { font-family: var(--display); font-size: 1.5rem; color: var(--cocoa); text-decoration: none; }
.brand span { color: var(--cherry); }
.topbar nav { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: .9rem; }
.topbar nav a { color: var(--cocoa); text-decoration: none; }
.topbar nav a:hover { color: var(--cherry); }
.dw-audio { color: var(--cocoa); }
@media (max-width: 640px) { .topbar nav a { display: none; } }

.hero { position: relative; min-height: 92svh; display: grid; align-items: end; padding: 0; overflow: hidden; background: var(--mint); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; margin: 0 clamp(16px, 5vw, 64px) clamp(28px, 6vh, 64px); padding: clamp(20px, 3vw, 34px);
  background: #fff6e9f2; border-radius: 22px; box-shadow: 0 8px 0 var(--cherry), 0 30px 60px #3b241833; border: 3px solid var(--cocoa); }
.kicker { font-weight: 900; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint-d); margin: 0 0 .7rem; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); color: var(--cocoa); }
.hero h1 em { font-style: normal; color: var(--cherry); }
.lede { font-size: clamp(1rem, 1.8vw, 1.15rem); margin: 0; }
.word { background: var(--butter); border: 0; padding: 0 .25em; border-radius: 4px; cursor: pointer; font-weight: 800; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.btn { font-weight: 900; font-size: 1rem; text-decoration: none; color: var(--cocoa); border: 3px solid var(--cocoa); padding: .7em 1.2em; border-radius: 999px; background: #fff; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-hot { background: var(--cherry); color: #fff; box-shadow: 0 4px 0 var(--cocoa); }

.bake { background: linear-gradient(var(--mint) 0, #c8f0e3 100%); border-top: 3px solid var(--cocoa); border-bottom: 3px solid var(--cocoa); }
.bake-head { max-width: 820px; margin: 0 auto 1.4rem; text-align: center; }
.bake-head h2 { color: var(--cocoa); }
.play { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 820px) { .play { grid-template-columns: 1fr; } }
.board-side { background: var(--card); border: 3px solid var(--cocoa); border-radius: 22px; padding: 14px; box-shadow: 0 8px 0 var(--cocoa); }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.bake-btn { font: inherit; font-family: var(--display); font-size: 1.3rem; color: #fff; background: var(--cherry); border: 3px solid var(--cocoa); border-radius: 14px; padding: .25em .9em; cursor: pointer; box-shadow: 0 4px 0 var(--cocoa); }
.bake-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cocoa); }
.meters { display: flex; gap: 14px; margin: 0; font-weight: 800; font-size: .95rem; }
.meters b { color: var(--cherry); font-variant-numeric: tabular-nums; }
.meters b.low { animation: blink .6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; touch-action: none; user-select: none; -webkit-user-select: none; }
.cell { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 0; font: inherit; border-radius: 12px; border: 2px solid #3b241822; background: #fff;
  cursor: pointer; padding: 2px; color: var(--cocoa); transition: transform .12s, box-shadow .12s; }
.cell.empty { background: #f4ead9; border-style: dashed; }
.cell.t1 { background: #fff3d1; } .cell.t2 { background: #ffe1c2; } .cell.t3 { background: #ffd0d6; } .cell.t4 { background: #fff1a8; border-color: #e0a81e; box-shadow: 0 0 16px #ffd34d; }
.cell.sel { border-color: var(--cherry); box-shadow: 0 0 0 3px var(--cherry); transform: scale(1.04); }
.cell.lift { opacity: .35; }
.cell.pop { animation: pop .3s ease; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.ico { font-size: clamp(1.4rem, 4.2vw, 2.1rem); line-height: 1; display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; }
.ico svg { width: 100%; height: 100%; }
.lbl { font-size: clamp(.55rem, 1.4vw, .72rem); font-weight: 800; line-height: 1.05; text-align: center; }
.ghost { position: fixed; z-index: 100; pointer-events: none; transform: translate(-50%, -60%) scale(1.3); filter: drop-shadow(0 8px 10px #3b241855); }
.board-msg { margin: 12px 4px 0; font-weight: 700; min-height: 2.8em; }
.tickets-side { background: var(--card); border: 3px solid var(--cocoa); border-radius: 22px; padding: 16px; box-shadow: 0 8px 0 var(--cocoa); }
.tickets { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: #fff6e9;
  border: 2px dashed #3b241855; transform: rotate(-.6deg); }
.ticket:nth-child(2) { transform: rotate(.7deg); }
.ticket.ready { background: #e8fbf3; border: 2px solid var(--mint-d); }
.ticket .tw { display: grid; line-height: 1.2; }
.ticket small { opacity: .75; }
.ticket button { font: inherit; font-weight: 900; font-size: .85rem; border-radius: 999px; padding: .45em .8em; border: 2px solid var(--cocoa); background: var(--mint); color: var(--cocoa); cursor: pointer; }
.ticket button:disabled { background: #eee3d0; opacity: .7; cursor: default; }
.reset { font: inherit; font-weight: 800; background: none; border: 2px solid var(--line); border-radius: 999px; padding: .5em 1em; cursor: pointer; color: var(--cocoa); }
.specials { max-width: 980px; margin: 18px auto 0; display: grid; gap: 8px; }
.special { background: #fff1a8; border: 3px solid #e0a81e; border-radius: 14px; padding: .8em 1em; font-weight: 800; cursor: pointer; text-align: left; }

.recipes { max-width: 980px; margin: 0 auto; text-align: center; }
.book { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; text-align: left; }
.book li { display: flex; align-items: center; gap: 6px; background: var(--card); border: 2px dashed var(--line); border-radius: 12px; padding: 8px 10px; font-weight: 800; color: #3b241888; }
.book li.got { border: 2px solid var(--mint-d); color: var(--cocoa); }
.book .ico { font-size: 1.4rem; }
.book b { margin-left: auto; font-size: .85rem; }
.q { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #f0e3cc; }

.shop { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .shop { grid-template-columns: 1fr; } }
.art { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 3px solid var(--cocoa); box-shadow: 0 8px 0 var(--cherry); }
.art img { width: 100%; height: auto; }
.hs { position: absolute; width: 10%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed transparent; background: transparent; cursor: pointer; transition: border-color .3s, background .3s; }
.hs:hover, .hs:focus-visible { border-color: var(--cherry); background: #e8475f22; }
.hs.is-found { border-color: var(--mint-d); }
.hs-cat { left: 37%; top: 58%; width: 12%; } .hs-basket { left: 73%; top: 50%; width: 12%; } .hs-lamp { left: 11%; top: 32%; width: 8%; }
.features { padding-left: 1.1em; }
.features li { margin: .5em 0; }
.features b { color: var(--cherry); }

.found-wrap { text-align: center; padding-top: 20px; }
.found { font-weight: 800; }
.found b { color: var(--cherry); }
.reward { max-width: 640px; margin: 1rem auto; padding: 1rem 1.2rem; border: 3px solid var(--mint-d); border-radius: 16px; background: #e8fbf3; }
.journal { max-width: 760px; margin: 1rem auto 0; text-align: left; }
.journal li { margin: .5em 0; }

.vote { text-align: center; max-width: 1000px; margin: 0 auto; }
.vote h3 { margin-top: 1.8rem; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: .8rem auto 0; }
.offers.four { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.offer { font: inherit; font-size: 1.1rem; font-weight: 900; color: var(--cocoa); background: var(--card); border: 3px solid var(--cocoa); border-radius: 16px; padding: 1em; cursor: pointer;
  box-shadow: 0 5px 0 var(--mint-d); transition: transform .15s; }
.offer.small { font-size: 1rem; padding: .8em; }
.offer small { font-weight: 600; font-size: .88rem; opacity: .8; }
.offer:hover, .offer:focus-visible { transform: translateY(-3px); }

.list { display: grid; justify-items: center; text-align: center; background: var(--butter); border-top: 3px solid var(--cocoa); }
.list h2 { color: var(--cocoa); }
.list .dw-optin { text-align: left; width: 100%; }
.dw-optin input[type=email] { background: #fff; border: 3px solid var(--cocoa); }
.dw-optin button[type=submit] { background: var(--cherry); color: #fff; border: 3px solid var(--cocoa); }
.offer-note { margin: 0; color: var(--cherry); font-weight: 800; }

.foot { padding: 30px 16px 10px; text-align: center; background: var(--cocoa); color: #fff6e9; }
.foot a { color: var(--butter); }
.more { font-weight: 700; }
.spoon { background: none; border: 0; cursor: pointer; font-size: 1.1rem; opacity: .7; }
.dw-toast { color: #fff6e9; background: #3b2418f2; }
@media (prefers-reduced-motion: reduce) { .meters b.low, .cell.pop { animation: none; } }
