/* System fonts keep the downloaded event edition usable offline. */
:root{color-scheme:light;--ink:#182954;--paper:#fff7e5;--yellow:#ffcb56;--orange:#f45a32;--blue:#2d57bb;--line:#d9d9df}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--ink);font-family:'M PLUS Rounded 1c',system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2477e3;outline-offset:4px}[hidden]{display:none!important}.game-shell{width:min(100%,650px);margin:auto;background:var(--paper);min-height:100svh;padding:22px 32px 28px}.brand{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;letter-spacing:1px}.brand a{font-size:14px;letter-spacing:0}.game-heading{display:flex;justify-content:space-between;align-items:center;margin-top:28px}.eyebrow{font-size:14px;font-weight:800;margin:0 0 9px}h1{font-size:clamp(30px,6.5vw,45px);line-height:1.35;letter-spacing:-1.5px;margin:0;font-weight:900}h1 em{font-style:normal;color:var(--orange)}.edition{font-family:system-ui,sans-serif;font-size:65px;line-height:.9;font-weight:800;color:var(--blue);text-align:right}.edition span{display:block;font-size:11px;line-height:1.1;letter-spacing:2px;margin-top:10px}.howto{font-size:16px;margin:18px 0 18px}.board{border:2px solid var(--ink);border-radius:22px;overflow:hidden;background:white;box-shadow:0 6px 0 var(--ink)}.stats{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:var(--yellow);border-bottom:2px solid var(--ink);font-size:13px;font-weight:800}.stats strong{display:inline-block;margin-left:16px;font-size:32px;line-height:1}.stats small{font-size:14px;margin-left:4px}.timer{font-size:32px;line-height:1}.bakery{position:relative;height:280px;background:#c9e5f4;overflow:hidden}.actor{position:absolute;font-size:96px;line-height:1;user-select:none;pointer-events:none}.chef{right:36px;top:68px}.cat{left:28px;bottom:20px;transition:transform .15s}.cat.stealing{transform:translateX(50px) rotate(-5deg)}.signal{position:absolute;left:0;right:0;top:0;text-align:center;padding:12px;background:var(--blue);color:white;font-size:16px;font-weight:800;z-index:2}.signal.warning{background:var(--orange)}.signal.looking{background:var(--ink)}.pocket{position:absolute;left:14px;right:14px;bottom:7px;font-weight:800;text-align:center;border-radius:10px;background:rgba(255,255,255,.92);padding:7px 10px;font-size:14px}.toast{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%) scale(.9);background:var(--ink);color:white;border-radius:16px;padding:12px 18px;font-size:20px;font-weight:900;opacity:0;transition:.15s;white-space:nowrap;z-index:4}.toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.danger-track{height:5px;background:#e1e8f0}.danger-track div{width:0;height:100%;background:var(--orange)}.hold{display:block;width:calc(100% - 32px);margin:16px 16px 0;padding:17px 8px;border:2px solid var(--ink);border-radius:15px;background:var(--orange);color:white;font-weight:900;font-size:20px;box-shadow:0 4px 0 var(--ink);touch-action:none;user-select:none}.hold span{display:block;font-size:12px;font-weight:700;margin-top:6px}.hold:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)}.keyboard{font-size:12px;text-align:center;margin:13px 0;color:#556076}.result{text-align:center;margin-top:24px;border:2px solid var(--ink);padding:24px;border-radius:20px;background:white}.result h2{font-size:64px;line-height:1;margin:12px 0}.result small{font-size:22px}.primary{background:var(--ink);color:white;border:0;padding:14px 24px;border-radius:12px;font-weight:800;font-size:16px}footer{font-size:13px;text-align:center;padding-top:20px}.muted{color:#667086;font-size:12px}@media(min-width:800px){.game-shell{margin:28px auto;border-radius:28px;min-height:0;padding:28px 42px 22px}.bakery{height:300px}}@media(max-width:400px){.game-shell{padding:18px 18px 22px}.game-heading{margin-top:20px}.edition{font-size:51px}.bakery{height:235px}.actor{font-size:80px}.howto{font-size:14px}.hold{font-size:17px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* Gameplay artwork and the challenge card. */
.bakery{background-image:url('assets/bakery.png');background-size:cover;background-position:center;height:310px}.actor{font-size:initial;overflow:hidden;position:absolute}.actor img{position:absolute;max-width:none;pointer-events:none}.cat{width:176px;height:159px;left:8px;bottom:34px;filter:hue-rotate(var(--cat-hue,0deg))}.cat img{width:352px;height:352px;left:0;top:0}.cat.stealing{transform:translateX(38px) rotate(-3deg)}.cat.stealing img{left:-176px}.chef{width:166px;height:181px;right:30px;top:65px}.chef img{width:332px;height:332px;left:0;top:-151px}.chef.looking img{left:-166px}.signal{font-size:16px}.pocket{bottom:8px}.controls-note{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 16px;font-size:12px;color:#556076;padding:15px 8px 14px}.controls-note label{display:flex;align-items:center;gap:5px}.controls-note input{accent-color:var(--blue);width:16px;height:16px}.pause-layer{position:absolute;inset:0;background:rgba(24,41,84,.82);display:grid;place-content:center;justify-items:center;color:white;z-index:6}.pause-layer p{font-size:25px;font-weight:900}.pause-layer button{background:var(--yellow);color:var(--ink)}.hold:disabled{opacity:.5}.timer.urgent{color:#a32013}.challenge-banner{padding:12px 14px;background:var(--yellow);border:2px solid var(--ink);border-radius:12px;font-weight:800;margin-bottom:16px;font-size:15px;overflow-wrap:anywhere}.event-label{font-size:15px;font-weight:800;text-align:center;color:var(--blue);overflow-wrap:anywhere}.finished .board,.finished .howto{display:none}.result{margin-top:20px}.result .rank{font-weight:900;font-size:20px}.detail{font-size:13px;color:#586273}.share-block{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;text-align:left}.share-block>label{display:block;font-weight:800;font-size:15px}.share-block small{font-size:12px;color:#667086;font-weight:500}.share-block>input{width:100%;font:inherit;padding:12px;border:1px solid #a8b2c5;border-radius:10px;background:#f5f7fa;margin-top:8px}.share-block>p{font-size:14px}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.secondary{border:1px solid var(--ink);border-radius:10px;background:var(--paper);padding:12px 6px;font-size:14px;font-weight:800;color:var(--ink)}.x-share{grid-column:1/-1;text-align:center;padding:14px;background:var(--ink);color:white;border-radius:10px;font-size:16px;font-weight:800;text-decoration:none}.share-status{min-height:21px;color:var(--blue);font-size:13px!important}#resultCanvas{width:100%;height:auto;border-radius:12px;display:block}#linkFallback{margin-bottom:12px;font-size:14px}#challengeUrl{width:100%;padding:10px;font:inherit;font-size:13px}.pro-teaser{margin-top:32px;padding:23px 6px 10px;border-top:2px solid var(--ink)}.pro-tag{font-size:12px;letter-spacing:.03em;color:var(--blue);font-weight:900}.pro-teaser h2{font-size:22px;margin:9px 0}.pro-teaser p{font-size:14px;line-height:1.9;margin:0 0 14px}.pro-link{font-size:15px;font-weight:900}.muted{line-height:1.8}footer>p:first-child{font-size:13px}@media(max-width:430px){.game-shell{padding:17px 18px 24px}.game-heading{margin-top:20px}h1{font-size:33px}.edition{font-size:54px}.howto{font-size:14px;margin:14px 0}.bakery{height:254px}.cat{width:145px;height:132px;bottom:35px}.cat img{width:290px;height:290px}.cat.stealing img{left:-145px}.chef{width:139px;height:152px;top:53px;right:10px}.chef img{width:278px;height:278px;top:-126px}.chef.looking img{left:-139px}.signal{font-size:14px;padding:10px}.hold{font-size:18px;padding:13px 5px}.stats{padding:12px 15px}.stats strong{font-size:29px}.timer{font-size:29px}.result{padding:20px 15px}.pro-teaser h2{font-size:20px}}@media(min-width:800px){body{background:radial-gradient(circle at 20% 20%,#345895 0,transparent 40%),var(--ink)}.game-shell{width:620px}.bakery{height:305px}}
