:root{--yellow:#ffc800;--black:#0b0b0b;--red:#e10600;--grey:#6b6b6b;--line:#e8e8e5;--white:#fff;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--black);background:#f4f4f0;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh;display:grid;place-items:center}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer;color:inherit}
button:disabled{cursor:wait;opacity:.7}
button:focus-visible,a:focus-visible{outline:3px solid #2281ee;outline-offset:4px}
button:active:not(:disabled){transform:translateY(2px)}
.game{width:min(100%,440px);height:100dvh;max-height:920px;background:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;isolation:isolate}
.brand{font-size:12px;font-weight:900;letter-spacing:2px;display:flex;align-items:center;gap:8px}
.monogram{display:grid;place-items:center;letter-spacing:-1px;width:34px;height:34px;background:var(--yellow);border-radius:10px;color:#0b0b0b;font-weight:900;font-size:14px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.primary{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--yellow);border:0;border-radius:14px;min-height:54px;padding:14px 18px;font-size:16px;font-weight:900;box-shadow:0 4px 0 #cda000;text-decoration:none;color:#0b0b0b;width:100%;line-height:1.25}
.secondary{border:0;background:none;padding:12px;min-height:44px;font-weight:700;color:var(--grey);font-size:14px}
.icon{width:20px;height:20px;flex:none}
.intro{height:100%;background:#0b0b0b;color:#fff;position:relative;padding:25px 28px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px;border:8px solid transparent;border-image:repeating-linear-gradient(135deg,#ffc800 0px,#ffc800 12px,#0b0b0b 12px,#0b0b0b 24px) 8}
.intro .brand{align-self:flex-start;color:#bbb;font-size:11px;letter-spacing:1.8px}
.emergency{background:#e10600;color:white;border:1px solid #ff514b;border-radius:12px;min-height:52px;width:100%;font-size:19px;font-weight:900;letter-spacing:2px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 0 24px #e1060035;margin-top:auto}
.emergency .icon{width:25px;height:25px}
.intro-art{height:clamp(170px,30dvh,280px);width:82%;position:relative;border-radius:22px;overflow:hidden;background:#fff;flex-shrink:1}
.intro-art img{width:100%;height:100%;object-fit:contain;animation:breathe 2.8s ease-in-out infinite}
.intro-art .stress-mark{top:20%;right:22%}
.intro h1{font-size:clamp(25px,3.7dvh,34px);line-height:1.08;letter-spacing:-1.1px;margin:0;font-weight:950;text-transform:uppercase}
.intro h1 span{color:var(--yellow)}
.intro-copy{font-size:16px;line-height:1.5;color:#c6c6c6;margin:0;max-width:330px}
.intro-copy strong{color:#fff}
.intro .primary{min-height:64px;font-size:18px;margin-top:4px}
.intro-meta{display:flex;gap:8px;justify-content:center;align-items:center;font-size:12px;color:#b5b5b5;margin-bottom:auto;flex-wrap:wrap}
.intro-meta i{width:3px;height:3px;border-radius:100%;background:#8b8b8b}
.demo-label{font-size:11px;color:#999;margin:0;line-height:1.4}
.urgent-banner{background:#0b0b0b;color:white;text-align:center;font-size:14px;line-height:1.35;font-weight:850;padding:10px 18px;flex-shrink:0}
.urgent-banner strong{color:var(--yellow)}
.hud{background:#0b0b0b;color:white;border-radius:16px;margin:10px 14px 0;padding:12px;display:flex;gap:10px;align-items:center;box-shadow:0 5px 0 #ecece9;flex-shrink:0}
.clock{min-width:77px}
.clock-digits{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:29px;line-height:1;font-weight:900;letter-spacing:-2px;font-variant-numeric:tabular-nums}
.clock-label{font-size:9px;letter-spacing:1.2px;color:#b3b3b3;margin-top:4px;text-transform:uppercase}
.clock.low .clock-digits{color:#ff5751;animation:timerPulse 1s ease-in-out infinite}
.goal{flex:1;min-width:0}
.goal-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;gap:6px;margin-bottom:7px}
.goal-line strong{color:var(--yellow);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.goal-line span{color:#aaa;font-size:9px;font-weight:700}
.progress{background:#303030;height:7px;border-radius:20px;overflow:hidden}
.progress-fill{background:var(--yellow);height:100%;transition:width .6s cubic-bezier(.2,.8,.2,1);border-radius:20px}
.pips{display:flex;gap:4px;margin-top:6px}
.pips i{height:3px;background:#363636;flex:1;border-radius:5px}
.pips i.done{background:var(--yellow)}
.sound{background:#242424;border:0;border-radius:10px;color:white;min-width:40px;min-height:44px;display:grid;place-items:center}
.stage{position:relative;min-height:110px;flex:1;display:flex;align-items:center;justify-content:center;padding:4px 18px;overflow:hidden}
.character{position:relative;height:100%;max-height:270px;width:50%;min-width:145px;display:grid;place-items:center;transform-origin:50% 90%}
.character img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}
.character.stressed{animation:tremble 3s infinite}
.character.happy{animation:happy .8s ease-in-out infinite}
.stress-mark{position:absolute;color:#168edf;font-size:28px;top:25%;right:13%;transform:rotate(-10deg);animation:sweat 1.5s ease-in-out infinite;filter:drop-shadow(0 1px 0 #fff)}
.speech{border:1px solid #e7e7e7;box-shadow:0 3px 0 #f1f1ef;border-radius:14px;padding:11px 12px;max-width:155px;position:relative;align-self:center;font-size:13px;font-weight:650;line-height:1.45;background:#fff}
.speech:before{content:'';position:absolute;width:10px;height:10px;top:50%;left:-6px;border-left:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7;background:#fff;transform:rotate(45deg)}
.speech strong{display:block;color:#ce250b}
.stage-caption{position:absolute;bottom:3px;left:0;right:0;text-align:center;color:#8c8c8c;font-size:10px;letter-spacing:.2px}
.mission-strip{background:var(--yellow);color:#0b0b0b;display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 18px;flex-shrink:0}
.mission-number{background:#0b0b0b;color:var(--yellow);width:24px;height:24px;border-radius:7px;font-size:12px;display:grid;place-items:center;font-weight:900}
.mission-strip strong{font-size:13px;flex:1}
.mission-strip>span:last-child{font-size:12px;font-weight:850}
.phone{border:2px solid #0b0b0b;border-bottom:0;border-radius:25px 25px 0 0;background:#f7f7f5;margin:12px 12px 0;overflow:hidden;display:flex;flex-direction:column;height:49%;min-height:305px;max-height:450px;flex-shrink:0;box-shadow:0 0 0 4px #f1f1ee;animation:sheetIn .35s cubic-bezier(.2,.8,.2,1)}
.phone-top{height:19px;display:flex;align-items:center;justify-content:center;background:white;flex-shrink:0}
.speaker{height:5px;width:53px;background:#0b0b0b;border-radius:12px}
.phone-header{background:#0b0b0b;color:white;padding:11px 13px;display:flex;align-items:center;gap:9px;flex-shrink:0}
.bot-mark{width:32px;height:32px;background:var(--yellow);color:#0b0b0b;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:950;flex:none}
.bot-name{font-size:13px;font-weight:800;line-height:1.35}
.bot-status{font-size:10px;color:#bbb;margin-top:2px;display:flex;align-items:center;gap:4px}
.bot-status:before{content:'';width:5px;height:5px;background:var(--yellow);border-radius:100%}
.phone-body{padding:13px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;display:flex;flex-direction:column;gap:10px}
.bot-bubble{background:#fff;border:1px solid #e8e8e5;border-radius:3px 14px 14px 14px;padding:11px 12px;font-size:14px;line-height:1.45}
.bot-bubble p{margin:0}
.prompt{background:#fff8dc;border:1px solid #ebd37c;border-radius:14px 14px 3px 14px;padding:11px 12px;font-size:13px;line-height:1.5;margin-left:13px}
.prompt-label{color:#685519;font-size:10px;font-weight:850;letter-spacing:.8px;text-transform:uppercase;display:block;margin-bottom:5px}
.phone-actions{padding:10px 13px 13px;background:#fff;border-top:1px solid #e8e8e5;flex-shrink:0}
.phone-actions .primary{min-height:50px;font-size:14px;border-radius:11px;box-shadow:0 3px 0 #cda000}
.phone-footer{font-size:9px;text-align:center;color:#999;line-height:1.3;margin:8px 0 0}
.attachment-row{display:flex;gap:8px;flex-shrink:0}
.attachment{margin:0;position:relative;width:calc(50% - 4px);height:83px;background:#eee;border-radius:10px;overflow:hidden;border:1px solid #ddd}
.attachment img{height:100%;width:100%;object-fit:cover}
.attachment figcaption{position:absolute;bottom:0;left:0;right:0;background:#0b0b0bbb;color:white;font-size:9px;padding:4px 6px;backdrop-filter:blur(8px)}
.platforms{display:flex;gap:6px;flex-wrap:wrap}
.platform{display:flex;align-items:center;gap:5px;background:white;border:1px solid #e4e4e1;border-radius:7px;padding:6px;font-size:9px;font-weight:650;line-height:1.2}
.platform img{width:15px;height:15px;object-fit:contain}
.ai-platforms{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ai-platform{background:#fff;border:1px solid #e4e4e1;border-radius:10px;padding:9px 3px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;font-weight:700}
.ai-platform img{width:24px;height:24px;object-fit:contain}
.search-card{background:white;border:1px solid #e3e3e0;border-radius:12px;padding:12px}
.search-query{font-size:11px;font-weight:650;color:#737373;padding-bottom:9px;border-bottom:1px solid #eee;margin-bottom:8px}
.rank-row{display:flex;align-items:center;gap:9px;font-size:12px}
.rank{height:29px;width:29px;background:#f2f2f2;border-radius:7px;display:grid;place-items:center;font-weight:900;font-size:11px}
.rank-row small{display:block;font-size:10px;color:#888;margin-top:3px}
.rank-row.winner .rank{background:var(--yellow)}
.rank-row.winner strong{font-size:14px}
.processing{display:flex;flex-direction:column;justify-content:center;gap:14px;flex:1;padding:8px 3px}
.work-step{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.4;color:#888}
.work-step.active{color:#0b0b0b;font-weight:700}
.work-step.done{color:#0b0b0b}
.step-dot{width:23px;height:23px;border:1px solid #ddd;border-radius:100%;display:grid;place-items:center;font-size:12px;flex-shrink:0}
.active .step-dot{border:3px solid #ffca00;border-right-color:transparent;animation:spin 1s linear infinite}
.done .step-dot{background:var(--yellow);border-color:var(--yellow);font-weight:900}
.work-title{font-size:19px;font-weight:900;margin:0 0 5px;letter-spacing:-.5px}
.work-sub{font-size:12px;color:#777;margin:0}
.push{background:#eeeef0;border:1px solid #ddd;border-radius:15px;padding:14px;animation:sheetIn .4s ease-out}
.push-app{display:flex;justify-content:space-between;font-size:10px;color:#777;margin-bottom:8px}
.push strong{font-size:14px}
.push p{font-size:13px;line-height:1.4;margin:5px 0 0}
.reward-body{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;gap:12px;padding:12px}
.success-check{background:var(--yellow);width:49px;height:49px;display:grid;place-items:center;border-radius:100%;font-size:26px;font-weight:900}
.reward-amount{font-size:39px;font-weight:950;letter-spacing:-1.5px}
.reward-body h2{font-size:18px;margin:0}
.reward-body p{font-size:13px;line-height:1.5;color:#6b6b6b;margin:0}
.clear-stamp{font-size:11px;font-weight:900;letter-spacing:1px;padding:7px 11px;border:2px solid #0b0b0b;border-radius:7px;transform:rotate(-3deg)}
.timeout{background:#fff3ec;border:1px solid #ffd0b2;padding:12px;border-radius:13px}
.timeout h2{font-size:18px;margin:0 0 8px}
.timeout p{font-size:13px;line-height:1.4;margin:0 0 10px}
.timeout .primary{min-height:48px}
.finale{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 26px 20px;position:relative;gap:12px;background:radial-gradient(ellipse at 50% 40%,#fff7cc,white 65%);overflow-y:auto}
.finale .brand{align-self:flex-start}
.saved-tag{background:var(--yellow);font-size:11px;font-weight:900;letter-spacing:1.2px;border-radius:20px;padding:9px 13px;margin-top:auto}
.finale h1{font-size:36px;line-height:1.05;letter-spacing:-1.4px;margin:0;font-weight:950}
.final-art{width:100%;height:clamp(150px,25dvh,245px);position:relative}
.final-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;animation:happy .8s infinite}
.final-art video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;mix-blend-mode:multiply;background:#fff}
.total-card{background:#0b0b0b;color:#fff;padding:16px;border-radius:17px;width:100%}
.total-card small{color:#bbb;font-size:10px;letter-spacing:1.5px}
.total-card strong{display:block;font-size:40px;font-weight:950;color:var(--yellow);line-height:1.15;letter-spacing:-1px}
.total-card .progress{margin-top:9px}
.finale-copy{font-size:15px;line-height:1.45;margin:0;color:#666}
.finale .primary{margin-top:3px}
.finale .demo-label{margin-bottom:auto}
.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.confetti i{position:absolute;top:-15px;width:7px;height:11px;background:var(--yellow);animation:fall 2.4s ease-in forwards}
.confetti i:nth-child(3n){background:#e10600}
.confetti i:nth-child(3n + 1){background:#0b0b0b}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes tremble{0%,75%,100%{transform:translateX(0) rotate(0)}77%,81%,85%{transform:translateX(-2px) rotate(-.5deg)}79%,83%,87%{transform:translateX(2px) rotate(.5deg)}}
@keyframes sweat{0%,100%{opacity:.6;transform:translateY(-3px) rotate(-10deg)}50%{opacity:1;transform:translateY(4px) rotate(-10deg)}}
@keyframes happy{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@keyframes timerPulse{50%{opacity:.65}}
@keyframes sheetIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes fall{to{transform:translateY(920px) rotate(700deg)}}
.pizza-preview{position:relative;min-height:140px;flex-shrink:0;background:#0b0b0b;border-radius:13px;overflow:hidden}
.pizza-preview img{position:absolute;width:100%;height:100%;object-fit:cover;animation:pizzaPan 5s ease-in-out infinite alternate}
.pizza-preview img:nth-child(2){animation:pizzaFade 6s ease-in-out infinite}
.pizza-preview span{position:absolute;top:9px;left:9px;background:#0b0b0bbf;color:white;border-radius:5px;padding:5px 7px;font-size:9px;font-weight:800;letter-spacing:.5px}
.pizza-preview b{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0b0b0baf);color:white;padding:35px 14px 13px;font-size:21px;letter-spacing:-.5px}
.next-note{display:block;text-align:center;font-size:13px;font-weight:700;padding:8px;color:#777}
@keyframes pizzaPan{to{transform:scale(1.12) translateX(3px)}}
@keyframes pizzaFade{0%,35%,100%{opacity:0}50%,85%{opacity:1}}
@media(min-width:600px){body{padding:16px}.game{height:calc(100dvh - 32px);border-radius:30px;box-shadow:0 0 0 1px #e5e5e0,0 16px 70px #15150012}.intro{border-radius:29px}}
@media(max-height:720px){.intro{gap:10px;padding:18px 23px 14px}.intro .brand{font-size:10px}.intro-art{height:23dvh}.intro h1{font-size:26px}.intro-copy{font-size:14px}.intro .primary{min-height:55px;font-size:16px}.emergency{min-height:44px;font-size:17px}.urgent-banner{font-size:12px;padding:7px 13px}.hud{margin-top:7px;padding:9px}.clock-digits{font-size:25px}.stage{min-height:105px}.phone{height:51%;min-height:300px;margin-top:8px}.phone-header{padding:8px 11px}.phone-body{padding:10px;gap:8px}.bot-bubble{font-size:13px;padding:9px}.prompt{font-size:12px;padding:9px}.mission-strip{min-height:35px;padding:6px 15px}.finale{gap:9px;padding-top:19px}.finale h1{font-size:29px}.total-card{padding:12px}.total-card strong{font-size:33px}.final-art{height:21dvh}}
@media(max-width:350px){.hud{gap:8px}.hud>.monogram{display:none}.clock{min-width:70px}.goal-line{display:block}.goal-line>span{display:none}.goal-line strong{font-size:12px}.total-card strong{font-size:29px}.finale h1{font-size:29px}.speech{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
/* Bring the complete prompt into view for the longer missions. */
.expanded .stage{flex:0 0 95px;min-height:0;padding:0 24px}.expanded .character{height:95px;min-width:75px;width:90px}.expanded .speech{font-size:12px;max-width:220px;padding:8px 10px}.expanded .speech strong{display:none}.expanded .phone{height:auto;max-height:none;min-height:0;flex:1}.expanded .phone-body{gap:10px}.expanded .prompt{margin-left:0;font-size:14px;line-height:1.5;padding:13px}.expanded .attachment-row{height:85px;padding:3px 12px;align-items:center}.expanded .attachment{height:73px;width:105px;border:4px solid white;box-shadow:0 2px 7px #0002;transform:rotate(-5deg)}.expanded .attachment:nth-child(2){transform:rotate(5deg);margin-left:8px;margin-top:5px}.expanded .attachment img{filter:saturate(.62) brightness(.89) contrast(.87);object-position:30% 70%;transform:scale(1.16)}.expanded .attachment:nth-child(2) img{filter:saturate(.7) brightness(.78);transform:scale(1.27) rotate(-4deg);object-position:70% 40%}.expanded .attachment figcaption{font-size:8px;padding:2px 3px}.expanded .ai-platform{padding:7px 2px}
.lesson{display:flex;flex-direction:column;gap:12px;padding:6px}
.lesson h2,.ranking-demo h2{font-size:22px;line-height:1.15;letter-spacing:-.6px;margin:0}
.lesson-stat{background:white;border:1px solid #e4e4df;border-radius:14px;padding:13px}
.lesson-stat>strong{font-size:31px;letter-spacing:-1px}
.lesson-stat p{font-size:14px;line-height:1.4;margin:4px 0 8px}
.lesson-stat a{font-size:11px;color:#6b6b6b}
.lesson-note{font-size:11px;line-height:1.4;color:#777;margin:0}
.lesson-next{font-size:11px;font-weight:700;color:#777}
.ranking-demo{display:flex;flex-direction:column;gap:12px}
.rank-motion{display:flex;align-items:center;justify-content:space-between;background:#fff3be;padding:12px;border-radius:14px;font-size:12px}
.rank-large{font-size:44px;font-weight:900;animation:sheetIn .4s ease-out}
.rank-platforms{display:flex;gap:7px}
.rank-platforms>div{display:flex;align-items:center;flex:1;gap:6px;padding:10px 6px;background:white;border:1px solid #ddd;border-radius:10px;flex-wrap:wrap;font-size:11px}
.rank-platforms b{margin-left:auto}
.website-demo{display:flex;flex-direction:column;gap:12px;background:#0b0b0b;color:#fff;border-radius:13px;padding:17px}
.website-demo>span{font-size:9px;color:#aaa}
.website-demo>strong{font-size:23px;max-width:230px;line-height:1.1;color:#ffc800}
.website-demo>small{font-size:10px;color:#ddd}
@media(max-height:720px){.expanded .stage{flex-basis:60px;padding:0 20px}.expanded .character{height:60px;min-width:50px;width:60px}.expanded .phone{margin-top:6px}.expanded .phone-body{padding:9px;gap:7px}.expanded .prompt{font-size:12px;line-height:1.4;padding:9px}.expanded .prompt-label{font-size:9px;margin-bottom:4px}.expanded .attachment-row{height:60px}.expanded .attachment{height:54px;width:85px}.expanded .ai-platform{font-size:9px;padding:5px 2px;gap:3px}.expanded .ai-platform img{width:19px;height:19px}.expanded .phone-header{padding:7px 10px}.lesson{gap:8px;padding:0}.lesson h2,.ranking-demo h2{font-size:18px}.lesson-stat{padding:9px}.lesson-stat>strong{font-size:24px}.lesson-stat p{font-size:12px;margin:3px 0 5px}.lesson-note{font-size:10px}.rank-motion{padding:7px}.rank-large{font-size:30px}.ranking-demo{gap:8px}.website-demo{padding:10px;gap:7px}.website-demo>strong{font-size:19px}}
@media(max-height:720px){.ranking-demo{gap:6px}.ranking-demo h2{font-size:16px}.rank-platforms>div{padding:7px 5px;font-size:10px}.rank-platforms img{width:18px;height:18px}.website-demo{gap:5px;padding:9px}.website-demo>strong{font-size:17px}.ranking-demo .lesson-note{font-size:9px}}
/* The restaurant name always uses the same yellow brand highlight. */
.restaurant-name{color:#0b0b0b!important;background:#ffc800;border-radius:.18em;padding:0 .13em;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-weight:850}
.intro h1 .restaurant-name{font-weight:950;line-height:1.2}
.intro-copy .debt{color:#ff514b}
.urgent-banner .restaurant-name{font-size:inherit}
.bot-status .restaurant-name{font-size:9px}
.rank-row .restaurant-name{font-size:inherit}
.finale h1 .restaurant-name{line-height:1.2}
.clock-label:before{content:'◷ ';font-size:11px}
.intro h1 .restaurant-name{font-size:.85em}
