@font-face{font-family:'Patrick Hand';src:url('./fonts/patrick-hand.ttf') format('truetype');font-display:swap}
:root{--ink:#262624;--muted:#71716b;--yellow:#ffe165;--pink:#f2a5b4;--green:#b6dfca;--line:#e6e5de;--hand:'Patrick Hand','Comic Sans MS',cursive;--body:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#fff;color:var(--ink)}body{font:14px/1.6 var(--body);-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.3;cursor:not-allowed}button,a,input,canvas{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #669681}button{border-radius:0}::selection{background:var(--yellow)}[hidden]{display:none!important}.sr-only,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{position:fixed;z-index:50;left:12px;top:8px;width:auto;height:auto;clip:auto;background:var(--yellow);padding:10px 20px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:500;line-height:1.6;margin:0;color:var(--muted)}
.topbar{height:56px;padding:0 27px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #eeeee8;background:#fff;position:relative;z-index:10}.back{display:flex;align-items:center;gap:10px;font-size:12px;min-height:44px}.back span{font-size:21px}.back:hover{color:#59836d}.signature{font:26px/1 var(--hand);position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}.signature span{display:inline-block;color:#d59b21;margin-left:6px;font-size:20px;transform:rotate(15deg)}.header-right{display:flex;align-items:center;gap:20px}.model-state{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.model-state i{width:6px;height:6px;border-radius:50%;background:#bcb8a3}.model-state.ready i{background:#67a382}.model-state.error i{background:#c47171}.help-button{font:25px/1 var(--hand);background:#fff;width:32px;height:32px;border:1.5px solid var(--ink);border-radius:44% 48% 47% 45%;transform:rotate(4deg)}.help-button:hover{background:var(--yellow)}
.game{height:calc(100dvh - 56px);min-height:430px;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#fff}.roundbar{height:82px;flex:none;display:flex;align-items:center;padding:9px 28px;gap:32px}.round-info{display:flex;align-items:center;gap:22px;flex:1;min-width:0}.round-info .eyebrow{font-size:10px;white-space:nowrap}.word-line{font:33px/1.1 var(--hand);white-space:nowrap;letter-spacing:-.01em}.word-line>span{color:#85857d;margin-right:5px;font-size:28px}.word-line strong{font-weight:400;background:linear-gradient(transparent 70%,var(--yellow) 70%,var(--yellow) 91%,transparent 91%);padding:0 5px 1px}.metrics{display:flex;align-items:center;gap:26px}.time-metric{display:flex;justify-content:center;align-items:center;min-width:61px;min-height:52px;border:2px solid var(--ink);border-radius:49% 44% 47% 43%;transform:rotate(-3deg)}.metrics output{font:29px/1 var(--hand);display:block;font-variant-numeric:tabular-nums}.metrics output>span{font-size:16px;margin-left:1px}.score-metric{min-width:42px;text-align:center}.score-metric .eyebrow{font-size:8px}.score-metric output{font-size:23px}.round-actions{display:flex;align-items:center;gap:8px}.round-button{min-height:40px;min-width:64px;border:1px solid #dcdcd4;border-radius:4px 7px 5px 6px;background:#fff;padding:7px 12px;font-size:11px}.round-button:hover:not(:disabled){background:#faf6d9}.round-button:last-child{background:#fff8d8;border-color:#e4d896}.time-track{display:block;flex:none;height:3px;width:100%;appearance:none;border:0;background:#f3f2ea}.time-track::-webkit-progress-bar{background:#f3f2ea}.time-track::-webkit-progress-value{background:#edca43;transition:width .15s linear}.time-track::-moz-progress-bar{background:#edca43}
.studio-grid{display:flex;flex-direction:column;min-height:0;flex:1}.paper{flex:1;position:relative;min-height:180px;background:#fff;isolation:isolate}.canvas-wrap{position:absolute;inset:0;overflow:hidden}.canvas-wrap canvas{width:100%;height:100%;display:block;background:#fff;touch-action:none;cursor:crosshair}.canvas-wrap canvas.eraser{cursor:cell}.canvas-wrap canvas[aria-disabled=true]{cursor:default}.canvas-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;padding:60px;color:#9e9e91;font:24px/1.3 var(--hand);text-align:center;gap:8px}.canvas-hint svg{width:76px;height:64px;stroke:#b5b8a3;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;fill:none;margin-bottom:8px;transform:rotate(-5deg)}.canvas-hint small{font:11px/1.6 var(--body);color:#b5b5aa}.keyboard-cursor{position:absolute;border:1px solid #cd8157;border-radius:50%;width:10px;height:10px;transform:translate(-50%,-50%);pointer-events:none}.keyboard-cursor.down{background:#cd8157}.paper-top{position:absolute;right:24px;top:16px;z-index:2}.history-tools{display:flex;align-items:center;gap:2px;padding:2px 5px;background:#ffffffeb;border:1px solid #e8e8df;border-radius:7px 5px 8px 4px;box-shadow:2px 2px 0 #ecece3}.icon-button,.clear-button,.text-button{background:transparent;border:0;min-width:40px;min-height:40px;padding:7px 10px}.icon-button{font:26px/1 var(--hand)}.clear-button{font-size:11px}.icon-button:hover:not(:disabled),.clear-button:hover:not(:disabled){color:#597a5e;background:#f7f8ef}.tools{position:absolute;left:24px;bottom:18px;z-index:2;display:flex;align-items:center;gap:12px;padding:7px 9px;border:1.5px solid #383832;border-radius:9px 6px 8px 5px;background:#fff;box-shadow:3px 3px 0 #e9e7d9}.tool-switch{display:flex;gap:4px}.tool-switch button{display:flex;align-items:center;gap:6px;min-height:38px;padding:7px 11px;border:0;background:none;border-radius:4px;font-size:11px}.tool-switch button[aria-pressed=true]{background:var(--yellow);transform:rotate(-2deg)}.tool-switch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.brush-control{display:flex;align-items:center;gap:9px;margin-left:2px}.brush-control input{accent-color:var(--ink);width:74px;height:28px;cursor:ew-resize}.brush-control i{width:5px;height:5px;border-radius:50%;background:var(--ink)}.save-drawing{border-left:1px solid var(--line);margin-left:2px;font-size:27px}
.ai-panel{display:flex;align-items:center;gap:18px;min-height:98px;padding:14px 28px;position:relative;border-top:1.5px dashed #d9d7c8;background:#fffdf3;flex:none}.ai-heading{display:flex;flex:none}.little-robot{width:58px;height:58px;fill:var(--yellow);stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-5deg)}.little-robot path+path{fill:none;stroke-width:2.5}.guess-main{position:relative;flex:1;min-width:0}.mini-label{font-size:9px;color:#9a9274;letter-spacing:.04em;display:block;line-height:1.4}.guess-main p{font:30px/1.18 var(--hand);margin:3px 0 0;overflow-wrap:anywhere}.thinking{position:absolute;font:12px var(--hand);color:#9c9b88;top:-1px;left:170px}.guess-history{max-width:38%}.guess-history ol{list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0;justify-content:flex-end}.guess-history li{font-size:10px;color:#969281;border:1px solid #e7e2cf;border-radius:7px 4px 5px 6px;padding:4px 9px}.guess-history li:last-child{display:none}.guess-history li span{display:none}.guess-history .history-empty{display:none}.ai-orbit{font:26px var(--hand);color:#c0af60;margin-left:5px;align-self:center}.ai-orbit.thinking{animation:turn 3s linear infinite}
.game-overlay{position:absolute;inset:85px 0 0;z-index:5;display:flex;align-items:center;justify-content:center;background:#ffe165f5;padding:35px;overflow-y:auto}.overlay-card{text-align:center;position:relative;width:min(550px,100%);background:#fffdf6;border:2px solid var(--ink);border-radius:8px 14px 10px 15px;padding:40px 42px 35px;box-shadow:7px 7px 0 #2f302516}.overlay-card h2{font:54px/1.02 var(--hand);font-weight:400;letter-spacing:-.02em;margin:15px 0 21px}.overlay-card>p:not(.overlay-foot){max-width:360px;margin:0 auto 23px;font-size:13px;line-height:1.9;color:#717163}.overlay-index{font-size:10px;color:#85806a}.overlay-buttons{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}.primary,.secondary{font:24px/1.1 var(--hand);min-height:52px;padding:12px 35px;border:2px solid var(--ink);border-radius:5px 8px 7px 4px;background:var(--yellow);box-shadow:4px 4px 0 var(--ink);transition:transform .12s,box-shadow .12s;transform:rotate(-1deg);display:inline-flex;align-items:center;justify-content:center;gap:15px}.primary:hover:not(:disabled),.secondary:hover:not(:disabled){box-shadow:2px 2px 0 var(--ink);transform:translate(2px,2px) rotate(-1deg)}.primary:active:not(:disabled),.secondary:active:not(:disabled){box-shadow:none;transform:translate(4px,4px)}.primary:disabled{box-shadow:3px 3px 0 #aaa37e}.secondary{background:#fff;font-size:22px}.text-button{font-size:12px;min-height:44px}.text-button:hover{color:#668875}.overlay-foot{font-size:10px;color:#95917d;line-height:1.8;margin:23px 0 0}.overlay-card.result:before{content:'✓';display:grid;place-items:center;font:40px var(--hand);background:var(--green);width:66px;height:57px;border:1.5px solid var(--ink);border-radius:49% 43% 48% 42%;margin:0 auto 23px;transform:rotate(-8deg)}.overlay-card.missed:before{content:'↗';background:#fff1b3}.overlay-card.result h2{font-size:58px}.overlay-card progress{appearance:none;width:160px;height:4px;border:0;display:block;margin:0 auto 11px}.overlay-card progress::-webkit-progress-bar{background:#eeece1}.overlay-card progress::-webkit-progress-value{background:#d6b02c}.overlay-card progress::-moz-progress-bar{background:#d6b02c}#loading-block{margin:0 0 20px}#load-caption{font-size:10px;color:#99937d}.game-overlay[data-mode=intro],.game-overlay[data-mode=loading]{inset:0;background:#fffdf6}.game-overlay[data-mode=intro] .overlay-card,.game-overlay[data-mode=loading] .overlay-card{border:0;box-shadow:none;max-width:none;width:100%;background:none;padding:16px 30px 60px}.game-overlay[data-mode=intro] h2,.game-overlay[data-mode=loading] h2{font-size:clamp(48px,5.5vw,76px);line-height:.98;margin-top:18px;margin-bottom:9px}.game-overlay[data-mode=intro] h2{transform:rotate(-2deg)}.game-overlay[data-mode=intro] .overlay-index{background:var(--yellow);color:var(--ink);padding:3px 12px;display:inline-block;transform:rotate(2deg);font-size:9px;letter-spacing:.09em}.intro-doodle{margin:14px auto 22px;width:min(370px,85vw)}.intro-doodle svg{width:100%;height:auto;display:block;overflow:visible}.doodle-fill{fill:var(--yellow)}.doodle-line{fill:none;stroke:var(--ink);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.doodle-caption{font:16px/1.3 var(--hand);color:#aaa58a;display:block;margin-top:-4px;transform:rotate(2deg)}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){font-size:13px;max-width:365px;margin-bottom:21px}.game-overlay[data-mode=intro] .primary{background:var(--green);min-width:205px}.under-canvas{display:none}.foot{display:none}body[data-phase=intro] .roundbar,body[data-phase=intro] .time-track,body[data-phase=intro] .studio-grid{visibility:hidden}body[data-phase=intro] .foot{display:flex;position:fixed;left:27px;right:27px;bottom:15px;z-index:6;justify-content:space-between;gap:20px;font-size:10px;color:#97947f}.foot a{text-decoration:underline;text-underline-offset:4px}.foot a:hover{color:var(--ink)}
.how-notes{position:fixed;z-index:20;top:70px;right:20px;width:min(440px,calc(100vw - 40px));max-height:calc(100dvh - 90px);overflow-y:auto;border:2px solid var(--ink);border-radius:9px 5px 10px 6px;background:#fffef7;padding:28px 30px 30px;box-shadow:6px 6px 0 #26262422}.how-notes h2{font:36px/1.05 var(--hand);margin:16px 0 21px;max-width:300px}.how-notes p{font-size:12px;color:#7a7769;line-height:1.9;margin-block:16px}.how-notes a{text-decoration:underline;text-underline-offset:3px}.how-notes .eyebrow{font-size:9px;margin:0}.how-notes .credits{font-size:10px}.notes-close{position:absolute;right:12px;top:8px;border:0;background:none;font:30px var(--hand);width:40px;height:40px}.archive-link{font:20px var(--hand)}
.results{max-width:1320px;padding:60px 35px 50px;margin:auto}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:38px}.results h2{font:64px/1 var(--hand);font-weight:400;margin:11px 0 0;letter-spacing:-.02em}.results h2 span{color:#c29526}.results-score{display:flex;align-items:center;gap:18px;transform:rotate(2deg);padding:14px 20px;background:#fff5b9;border-radius:8px 3px 6px 4px}.results-score strong{font:55px/1 var(--hand)}.results-score span{font-size:11px;max-width:115px}.results-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:21px}.result-tile{border:1.5px solid #44443d;border-radius:3px 7px 3px 4px;padding:13px;background:#fff;box-shadow:3px 4px 0 #eeeadf;transform:rotate(-1.5deg);min-width:0}.result-tile:nth-child(even){transform:rotate(1.5deg)}.result-tile img{width:100%;aspect-ratio:1;object-fit:contain}.result-tile h3{font:27px/1 var(--hand);margin:12px 0}.result-tile p{font-size:10px;color:#9b9786;margin:0}.result-tile p.good{color:#57806c}.result-tile b{float:right;font-weight:400}.results-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:42px}.results-actions .text-button{margin-left:auto}.noscript{position:fixed;inset:auto 20px 20px;z-index:100;padding:20px;background:#fff4b1;border:2px solid #262624}.noscript a{text-decoration:underline}@keyframes turn{to{transform:rotate(360deg)}}
@media(min-width:1700px){.game-overlay[data-mode=intro] .intro-doodle{width:440px}.game-overlay[data-mode=intro] h2{font-size:88px}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){font-size:15px;max-width:420px}}
@media(max-width:900px){.round-info{display:block}.round-info .eyebrow{font-size:9px}.word-line{font-size:30px;margin-top:3px}.word-line>span{font-size:25px}.roundbar{gap:22px}.guess-history{max-width:30%}.guess-main p{font-size:28px}}
@media(max-width:600px){.topbar{height:50px;padding-inline:16px;gap:14px}.back{font-size:11px;gap:7px}.signature{font-size:22px}.signature span{font-size:17px}.model-state{font-size:0;gap:0}.model-state i{width:6px;height:6px}.header-right{gap:16px}.help-button{width:29px;height:29px;font-size:23px}.game{height:calc(100dvh - 50px);min-height:360px}.roundbar{height:81px;padding:8px 15px;gap:16px}.round-info{flex:1}.round-info .eyebrow{font-size:8px;letter-spacing:.08em}.word-line{font-size:27px;margin-top:4px;white-space:normal;line-height:1}.word-line>span{font-size:23px;margin-right:1px}.metrics{gap:0}.time-metric{min-width:50px;min-height:45px}.metrics output{font-size:27px}.score-metric{display:none}.round-actions{display:flex;flex-direction:column;gap:1px}.round-button{border:0!important;min-width:44px;min-height:29px;font-size:10px;padding:2px 4px;background:none!important}.round-button:last-child{font-weight:600}.paper-top{right:12px;top:12px}.history-tools{padding:0 2px}.history-tools .icon-button,.history-tools .clear-button{min-height:34px;min-width:34px;padding:4px 7px}.history-tools .icon-button{font-size:22px}.clear-button{font-size:10px}.tools{left:12px;bottom:12px;padding:5px 6px;gap:8px;border-width:1.2px;box-shadow:2px 2px 0 #e9e7d9}.tool-switch button{padding:6px 9px;min-height:34px}.tool-switch button span{display:none}.brush-control input{width:60px}.brush-control i{display:none}.tools>.icon-button{min-width:34px;min-height:34px;font-size:24px;padding:4px 8px}.ai-panel{min-height:88px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:12px}.little-robot{width:45px;height:45px}.mini-label{font-size:8px}.guess-main p{font-size:25px;line-height:1.13;min-height:29px;margin-top:3px}.guess-history{display:none}.ai-orbit{font-size:22px;margin-left:0}.thinking{font-size:11px;left:145px}.canvas-hint{font-size:21px;padding:70px 25px;gap:8px}.canvas-hint small{font-size:10px;max-width:200px}.canvas-hint svg{width:65px;height:55px}.game-overlay{inset:84px 0 0;padding:24px 20px;align-items:center}.overlay-card{padding:28px 25px 26px;border-radius:7px 11px 8px 10px;box-shadow:5px 5px 0 #2f302516}.overlay-card h2,.overlay-card.result h2{font-size:45px;margin-top:15px}.overlay-card>p:not(.overlay-foot){font-size:12px;line-height:1.85;max-width:280px}.overlay-index{font-size:8px}.overlay-foot{font-size:9px;line-height:1.8;margin-top:22px}.overlay-card.result:before{width:55px;height:48px;font-size:32px;margin-bottom:18px}.primary,.secondary{min-height:48px;font-size:23px;padding:10px 30px}.game-overlay[data-mode=intro] .overlay-card{padding:12px 22px 52px}.game-overlay[data-mode=intro] h2{font-size:51px;line-height:1.02;margin-bottom:4px}.game-overlay[data-mode=intro] .overlay-index{font-size:8px}.intro-doodle{width:min(320px,87vw);margin:12px auto 18px}.doodle-caption{font-size:14px;margin-top:0}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){font-size:12px;max-width:290px;line-height:1.9;margin-bottom:21px}.game-overlay[data-mode=intro] .overlay-foot{font-size:9px;max-width:260px;margin-inline:auto}body[data-phase=intro] .foot{left:16px;right:16px;bottom:12px;font-size:9px}.foot>span{font-size:9px}.how-notes{right:12px;top:62px;max-height:calc(100dvh - 78px);width:calc(100vw - 24px);padding:26px 25px}.results{padding:38px 22px}.results-heading{display:block;margin-bottom:30px}.results h2{font-size:48px}.results-score{display:inline-flex;margin-top:28px;gap:15px;padding:10px 16px}.results-score strong{font-size:43px}.results-score span{font-size:10px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 17px}.result-tile{padding:10px}.result-tile h3{font-size:25px}.results-actions{flex-direction:column;align-items:stretch;gap:20px;margin-top:37px}.results-actions .text-button{margin:0;text-align:center}}
@media(max-height:650px){.game-overlay[data-mode=intro] .intro-doodle{width:220px;margin-block:3px 13px}.game-overlay[data-mode=intro] h2{font-size:46px}.game-overlay[data-mode=intro] .doodle-caption{font-size:13px}.game-overlay[data-mode=intro] .overlay-card{padding-block:10px 40px}.game-overlay[data-mode=intro] .overlay-index{display:none}.game-overlay[data-mode=intro] .overlay-foot{margin-top:15px}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){margin-bottom:14px;line-height:1.6}.game-overlay:not([data-mode=intro]):not([data-mode=loading]) .overlay-card{padding:18px 25px}.overlay-card.result:before{display:none}.overlay-card h2,.overlay-card.result h2{font-size:39px;margin-block:8px 14px}.overlay-card .overlay-foot{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* The prompt is the first thing to read; handwritten styling stays around it. */
.roundbar{height:96px}.word-line{font-size:42px}.word-line>span{font:27px var(--hand);color:#6e6d60;margin-right:8px}.word-line strong{font:700 42px/1.15 var(--body);letter-spacing:-.035em;color:#171713;background:#ffe165;border-radius:5px 8px 4px 6px;padding:2px 12px 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.game-overlay{inset:99px 0 0}
@media(max-width:900px) and (min-width:601px){.word-line,.word-line strong{font-size:36px}.word-line>span{font-size:23px}}
@media(max-width:600px){.roundbar{height:122px;position:relative;padding:10px 15px 73px;gap:14px}.round-info{display:contents}.round-info>.eyebrow{flex:1;font-size:9px}.word-line{position:absolute;left:15px;right:15px;bottom:15px;margin:0;text-align:center;font-size:35px;white-space:nowrap;line-height:1.15}.word-line strong{font-size:clamp(29px,9vw,38px);padding:2px 10px 4px}.word-line>span{font-size:22px;margin-right:6px}.time-metric{min-width:43px;min-height:36px}.metrics output{font-size:23px}.metrics output>span{font-size:13px}.round-actions{flex-direction:row;gap:7px}.round-button{min-height:34px;min-width:37px;font-size:10px}.game-overlay{inset:125px 0 0}.game-overlay[data-mode=intro],.game-overlay[data-mode=loading]{inset:0}}
.history-button{border:0;background:none;font:17px var(--hand);padding:7px 0;min-height:40px;white-space:nowrap}.history-button span{font-size:15px;margin-left:3px}.history-button:hover{color:#718e67}
.round-gallery{border-top:1.5px dashed #d9d2b9;margin-top:24px;padding-top:22px;text-align:left}.round-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.round-gallery h3{font:29px/1.05 var(--hand);font-weight:400;margin:0;max-width:340px}.round-gallery h3>span:first-child{background:#fff0a5;padding:0 4px}.sharing-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.sharing-actions button{font:18px var(--hand);border:1.5px solid var(--ink);border-radius:5px 7px 4px 6px;background:var(--green);padding:7px 13px;min-height:41px}.sharing-actions button:last-child:not(:first-child){background:#fff}.share-message,.gallery-status{font-size:10px;color:#969078;line-height:1.8;margin:12px 0 0}.gallery-status{color:#8c887a}.round-gallery-list{display:flex;gap:14px;overflow-x:auto;padding:15px 3px 7px;margin-inline:-3px;scroll-snap-type:x proximity}.round-gallery-list:empty{display:none}.doodle-card{border:1px solid #d1ccbb;border-radius:5px 8px 3px 5px;background:#fff;padding:9px;min-width:0}.round-gallery-list>.doodle-card{width:150px;flex:0 0 150px;scroll-snap-align:start}.doodle-card canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:3px}.doodle-card h4{font:23px/1.1 var(--hand);font-weight:400;margin:10px 0 6px;overflow-wrap:anywhere}.doodle-date{font-size:9px;color:#99917c;margin:0 0 8px}.doodle-card-actions{display:flex;gap:7px;justify-content:space-between;flex-wrap:wrap}.doodle-card-actions button,.gallery-retry{font-size:10px;min-height:32px;background:#fff;border:1px solid #e0dac7;border-radius:4px;padding:5px 8px}.doodle-card-actions button:hover,.gallery-retry:hover{background:#fff7ce}.doodle-card-actions .report-doodle{border:0;color:#a9a293;padding-inline:2px}.card-feedback{font-size:9px;line-height:1.7;color:#8c887b;margin:8px 0 0}.card-feedback:empty{display:none}.game-overlay:has(.round-gallery:not([hidden])){align-items:flex-start;padding-top:30px;padding-bottom:35px}.overlay-card:has(.round-gallery:not([hidden])){width:min(760px,100%);padding:25px 32px 24px;margin:auto}.overlay-card.result:has(.round-gallery:not([hidden])):before{width:45px;height:40px;font-size:27px;margin-bottom:13px}.overlay-card.result:has(.round-gallery:not([hidden])) h2{font-size:46px;margin:10px 0 14px}.overlay-card.result:has(.round-gallery:not([hidden]))>p:not(.overlay-foot){margin-bottom:18px}.overlay-card.result:has(.round-gallery:not([hidden])) .overlay-foot{margin-top:18px}
.history-dialog{width:min(870px,calc(100vw - 40px));max-height:85dvh;overflow-y:auto;border:2px solid var(--ink);border-radius:8px 13px 6px 10px;background:#fffdf6;color:var(--ink);padding:30px 33px 35px;box-shadow:7px 7px 0 #26262425}.history-dialog::backdrop{background:#20201855;backdrop-filter:blur(3px)}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.history-heading h2{font:45px/1 var(--hand);margin:10px 0 23px;font-weight:400}.history-heading .eyebrow{font-size:9px}.history-heading>button{align-self:start;border:0;background:none;width:40px;height:40px;font:34px var(--hand)}.history-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px dashed #ddd5bc;padding-bottom:16px}.history-navigation>div{display:flex;gap:8px}.history-navigation button{font:19px var(--hand);border:1px solid #d2cbb8;background:none;border-radius:4px 6px 3px 5px;padding:6px 13px;min-height:41px}.history-navigation button[aria-pressed=true]{background:var(--yellow);border-color:#cab145;transform:rotate(-1deg)}.history-navigation label{display:flex;align-items:center;gap:9px;color:#93907d;font-size:10px}.history-navigation select{font:13px var(--body);border:1px solid #d7d1be;border-radius:4px;background:#fff;padding:9px;max-width:170px}.history-privacy{font-size:11px;line-height:1.8;color:#908977;margin:17px 0}.history-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:20px}.history-list .doodle-card{box-shadow:2px 3px 0 #efebdb}.history-list .doodle-card:nth-child(3n){transform:rotate(1deg)}
@media(max-width:600px){.header-right{gap:12px}.history-button{font-size:15px}.history-button span{display:none}.model-state{display:none}.round-gallery-heading{display:block}.round-gallery h3{font-size:26px}.sharing-actions{margin-top:14px}.sharing-actions button{font-size:18px;padding:7px 13px}.round-gallery{margin-top:22px;padding-top:20px}.share-message,.gallery-status{font-size:10px}.round-gallery-list>.doodle-card{width:135px;flex-basis:135px}.overlay-card:has(.round-gallery:not([hidden])){padding:24px 20px 21px;margin:0}.overlay-card.result:has(.round-gallery:not([hidden])) h2{font-size:39px}.game-overlay:has(.round-gallery:not([hidden])){padding:22px 15px 30px}.history-dialog{width:calc(100vw - 24px);max-height:90dvh;padding:25px 21px 28px}.history-heading h2{font-size:37px;margin-bottom:22px}.history-navigation{display:block}.history-navigation>div{gap:7px}.history-navigation button{font-size:18px;padding-inline:12px}.history-navigation label{margin-top:15px}.history-navigation select{max-width:none;flex:1}.history-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px}.history-privacy{font-size:10px}.history-list .doodle-card h4{font-size:24px}}
/* A real doodle, a little personality, and two unmistakable next steps. */
.overlay-card.result:has(.round-gallery:not([hidden])){display:grid;grid-template-columns:160px minmax(0,1fr);gap:0 26px;text-align:left;padding:29px 32px 25px}.overlay-card.result:has(.round-gallery:not([hidden])):before{display:none}.round-preview{grid-column:1;grid-row:1/4;align-self:center;margin:0}.round-preview img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1.5px solid #d1cab5;border-radius:5px 8px 4px 6px;background:white;transform:rotate(-2deg)}.round-preview figcaption{font:14px/1.3 var(--hand);color:#a39b81;text-align:center;max-width:145px;margin:9px auto 0}.overlay-card.result #overlay-kicker,.overlay-card.result #overlay-title,.overlay-card.result #overlay-copy{grid-column:2}.overlay-card.result #overlay-kicker{align-self:end;font-size:9px}.overlay-card.result:has(.round-gallery:not([hidden])) #overlay-title{font-size:43px;line-height:1.05;margin:12px 0 14px;text-wrap:balance}.overlay-card.result:has(.round-gallery:not([hidden])) #overlay-copy{font-size:12px;line-height:1.8;margin:0;max-width:none}.overlay-card.result .overlay-buttons{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.overlay-card.result .overlay-buttons button{width:100%;min-width:0;font-size:23px;min-height:53px;padding:11px 15px}.overlay-card.result .save-result{background:var(--green)}.overlay-card.result .overlay-foot{grid-column:1/-1;text-align:center;font-size:10px}.overlay-card.result .round-gallery{grid-column:1/-1}.overlay-card.result:has(.round-gallery:not([hidden])) .round-gallery{margin-top:21px}.overlay-card.result .overlay-buttons .primary{order:2}.overlay-card.result .overlay-buttons .save-result{order:1}
@media(max-width:600px){.overlay-card.result:has(.round-gallery:not([hidden])){grid-template-columns:83px minmax(0,1fr);gap:0 17px;padding:24px 19px 22px}.round-preview figcaption{font-size:11px}.overlay-card.result #overlay-kicker{font-size:7px;line-height:1.6}.overlay-card.result:has(.round-gallery:not([hidden])) #overlay-title{font-size:33px;line-height:1.03;margin:9px 0 11px;overflow-wrap:anywhere;text-wrap:balance}.overlay-card.result:has(.round-gallery:not([hidden])) #overlay-copy{font-size:11px;line-height:1.75}.overlay-card.result .overlay-buttons{gap:13px;margin-top:25px}.overlay-card.result .overlay-buttons button{font-size:21px;padding:10px 9px;min-height:53px}.overlay-card.result .overlay-foot{font-size:9px}}
/* A visible second opinion, without taking over the paper. */
.game-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;width:min(420px,100%);margin:0 auto 24px;text-align:left}.game-options label{font-size:10px;color:#797765}.game-options select{display:block;width:100%;font:13px var(--body);color:var(--ink);background:#fff;border:1.5px solid #d2cdb6;border-radius:5px 8px 4px 6px;padding:11px 8px;margin-top:6px;min-height:44px}.game-options select:focus-visible{outline:3px solid #669681;outline-offset:3px}.game-options select:hover{border-color:#8e987d}.game-overlay[data-mode=intro] .intro-doodle{width:min(300px,78vw);margin-block:9px 17px}.game-overlay[data-mode=intro] .overlay-card{padding-bottom:35px}.ai-panel{min-height:128px;gap:17px}.guess-history{display:none}.guess-main p{margin:3px 0 0}.guess-main .look-status{font:11px/1.5 var(--body);color:#8c8875;margin-top:7px}.alternatives{display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:10px;color:#88836f;margin-top:7px}.alternatives:empty{display:none}.alternatives>span:first-child{margin-right:3px}.alternative{border:1px solid #dcd7c2;background:#fff;border-radius:6px 4px 5px 7px;padding:2px 7px;color:#676756}.ai-actions{flex:none;align-self:center}.ai-actions button{font:20px/1.1 var(--hand);background:#fff;border:1.5px solid var(--ink);border-radius:5px 8px 5px 4px;padding:10px 16px;min-height:44px;white-space:nowrap;box-shadow:2px 2px 0 #e1ddcb}.ai-actions button:hover:not(:disabled){background:var(--green)}.ai-actions button:disabled{opacity:.4}.ai-orbit{display:none}.word-line.is-long strong{font-size:clamp(23px,2.4vw,32px)}.word-line.is-long{white-space:normal}.round-info{min-width:0}.word-line{min-width:0}.word-line strong{overflow-wrap:anywhere}.time-track[hidden]+.studio-grid{border-top:3px solid #b6dfca}.results-actions #change-options{border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.game-overlay[data-mode=intro] .overlay-foot{margin-top:20px}
@media(max-width:900px){.round-info{display:block}.word-line{white-space:normal}.word-line strong{font-size:32px}.word-line.is-long strong{font-size:24px}.guess-main p{font-size:27px}.game-options{margin-bottom:21px}}
@media(max-width:600px){.round-info{display:contents}.word-line{display:flex;justify-content:center;align-items:center;gap:5px;white-space:normal;bottom:13px}.word-line>span{margin-right:0;flex:none}.word-line strong{font-size:clamp(27px,8.5vw,36px);max-width:calc(100% - 52px);display:inline-block}.word-line.is-long strong{font-size:clamp(19px,5.6vw,27px);line-height:1.12;padding-block:4px}.ai-panel{min-height:127px;gap:10px;align-items:flex-start;padding:11px 13px calc(11px + env(safe-area-inset-bottom))}.little-robot{width:34px;height:38px}.guess-main p{font-size:24px;line-height:1.12}.guess-main .look-status{font-size:9px;line-height:1.5;margin-top:6px}.alternatives{font-size:9px;gap:4px;margin-top:6px}.alternative{padding:2px 5px}.ai-actions{align-self:flex-start;padding-top:14px}.ai-actions button{font-size:17px;padding:9px 10px;min-height:44px;white-space:normal;max-width:73px;box-shadow:2px 2px 0 #e1ddcb}.game-options{gap:11px;max-width:330px;margin-bottom:20px}.game-options select{font-size:11px;padding-inline:5px}.game-overlay[data-mode=intro] .intro-doodle{width:min(255px,75vw);margin-block:8px 13px}.game-overlay[data-mode=intro] h2{font-size:47px}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){margin-bottom:17px}.game-overlay[data-mode=intro] .overlay-card{padding-bottom:40px}.results-actions #change-options{padding-block:10px}}
@media(max-height:730px){.game-overlay[data-mode=intro] h2{font-size:44px}.game-overlay[data-mode=intro] .intro-doodle{width:190px;margin-block:5px 10px}.game-overlay[data-mode=intro] .doodle-caption{font-size:12px}.game-options{margin-bottom:17px}.game-overlay[data-mode=intro] .overlay-card>p:not(.overlay-foot){margin-bottom:13px}.game-overlay[data-mode=intro] .overlay-foot{margin-top:15px}.game-overlay[data-mode=intro] .overlay-card{padding-top:12px}.game-overlay[data-mode=intro] .overlay-index{display:none}}

.sr-only{margin:-1px;padding:0;border:0}
.game-overlay[data-mode=intro],.game-overlay[data-mode=loading]{align-items:safe center}
@media(max-width:600px){.game-overlay[data-mode=intro],.game-overlay[data-mode=loading]{padding:16px 8px}.game-overlay[data-mode=intro] .overlay-card,.game-overlay[data-mode=loading] .overlay-card{padding-inline:18px}}
@media(max-width:360px){.game-overlay[data-mode=intro] h2,.game-overlay[data-mode=loading] h2{font-size:40px}.game-overlay[data-mode=intro] .intro-doodle{width:190px}.game-options{gap:9px}.game-options select{font-size:10px}}
