@font-face{font-family:Poster;src:url(title.woff)}*{box-sizing:border-box}body{margin:0;min-height:100svh;color:#faf0dc;background:radial-gradient(ellipse at 50% 0,#2c4035,#111c19 70%);font:16px/1.5 system-ui,'Malgun Gothic',sans-serif}a{color:inherit;text-decoration:none}header{height:60px;border-bottom:1px solid #52635165;display:flex;align-items:center;gap:20px;padding:0 max(5vw,16px)}.brand{font:34px Poster,serif;margin-right:auto}button{cursor:pointer;font:inherit;color:inherit;touch-action:manipulation}header button,.back{color:#dbd5bc;background:none;border:0;font-size:13px}main{width:min(100% - 28px,580px);margin:auto;padding:18px 0 30px}.intro p,.controls p{margin:4px 0}.intro p:first-child{font:600 12px/1.3 monospace;color:#ebc882;letter-spacing:.08em}.intro h1{font:600 clamp(31px,6vw,44px)/1.3 Georgia,'Batang',serif;margin:4px 0;color:#fff5d7}.intro p:last-child{color:#d4dbce;font-size:15px}.arena{border:1px solid #617363;border-radius:20px;overflow:hidden;margin:15px 0 10px;background:linear-gradient(#122820ed,#142b22c7),url(greenhouse.webp) center/cover;box-shadow:0 12px 50px #050c093b}.stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:10px;background:#101e19a8}.stats small,.finalscore small{display:block;color:#bec9ba;font-size:12px}.stats strong{font-variant-numeric:tabular-nums;font-size:24px;color:#fbeac5}#clock{height:4px;background:#748a7b42}#clock i{height:100%;display:block;background:#b7ddac;transform-origin:left}#clock.low i{background:#ffad7b}#stage{height:clamp(143px,23svh,205px);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px}#preview{display:flex;align-items:center;gap:5px;color:#d4dfcb;font-size:12px;min-height:25px}#feedback{min-height:22px;color:#f3d496;font-weight:650;font-size:14px}.pots{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 12px 12px}.pot{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #85b6ae;background:#243e37;border-radius:15px;min-height:80px}.pot.sun{background:#463d2c;border-color:#bd9f6e}.pot[disabled]{cursor:default}.pot img{width:50px;height:50px;object-fit:cover;border-radius:50%}.pot span{font-size:12px}.pot b{display:block;font-size:18px}.dew b{color:#a9f4f0}.sun b{color:#ffdd91}.controls{text-align:center}.records{color:#d7c392;font-size:14px}.actions{display:flex;justify-content:center;gap:8px}.actions button{border:1px solid #66765f;border-radius:12px;background:#25372d;padding:11px 20px;font-weight:650}.actions #start{background:#edce91;color:#252b1e;border-color:#edce91}.actions button[hidden]{display:none}.finalscore{text-align:center}.finalscore b{font-size:43px;font-variant-numeric:tabular-nums}details{margin-top:14px;color:#c1d0bd;font-size:13px;border-top:1px solid #53655480;padding-top:12px}details summary{cursor:pointer}#manual{width:100%;padding:8px}#share-note,#summary{font-size:13px}footer{text-align:center;font-size:11px;color:#afbaac;padding:16px}
@media(max-width:370px){.pot{gap:5px}.pot img{width:34px;height:34px}.actions button{padding:9px 12px}}
:focus-visible{outline:3px solid #fff0b7;outline-offset:2px}

.figure-0 {aspect-ratio:480/733;background-image:url(characters.webp);background-size:348.333% 128.377%;background-position:60.738% 68.750%;clip-path:polygon(4.79% 53.21%,8.54% 52.93%,8.75% 46.93%,9.17% 42.02%,13.12% 36.15%,18.75% 31.24%,26.25% 27.01%,39.17% 23.60%,47.29% 22.51%,46.25% 18.55%,45.62% 13.51%,41.25% 13.10%,36.88% 13.37%,30.83% 11.87%,26.25% 8.87%,22.71% 3.68%,21.04% 2.05%,25.42% 2.59%,33.54% 2.73%,41.46% 2.18%,50.42% 1.09%,58.54% 1.09%,61.88% 1.50%,58.33% 3.82%,57.50% 5.18%,62.08% 5.73%,64.79% 7.91%,68.75% 9.00%,73.12% 11.73%,66.25% 11.19%,59.58% 10.50%,53.96% 10.78%,49.58% 12.96%,47.50% 13.37%,48.54% 18.83%,50.00% 22.10%,57.50% 21.83%,66.67% 22.92%,75.83% 25.92%,82.92% 30.29%,87.71% 35.06%,88.96% 38.20%,93.33% 39.70%,92.50% 43.66%,95.83% 45.98%,96.25% 49.39%,93.33% 52.93%,97.71% 53.34%,96.46% 64.26%,93.54% 65.21%,89.17% 82.13%,84.79% 97.41%,76.46% 98.91%,60.62% 99.59%,39.17% 98.91%,21.67% 97.68%,17.92% 95.63%,13.12% 65.76%,5.21% 64.39%);}
.figure-1 {aspect-ratio:450/700;background-image:url(characters.webp);background-size:371.556% 134.429%;background-position:94.599% 72.614%;clip-path:polygon(8.00% 52.71%,9.78% 47.86%,11.33% 42.14%,15.11% 35.57%,14.67% 32.00%,17.33% 27.43%,22.00% 25.14%,29.11% 24.57%,32.44% 25.71%,42.00% 24.71%,45.33% 24.14%,47.56% 16.71%,45.78% 12.86%,41.33% 12.00%,34.67% 11.86%,29.33% 9.57%,26.22% 6.71%,22.67% 8.00%,15.33% 10.14%,6.89% 12.14%,2.22% 12.71%,6.89% 9.00%,14.22% 5.14%,23.11% 3.86%,41.78% 2.00%,52.00% 0.86%,59.33% 1.43%,57.78% 4.57%,54.22% 7.29%,52.22% 10.00%,58.22% 7.57%,68.67% 3.86%,76.89% 4.14%,86.44% 6.43%,94.00% 10.43%,97.11% 12.43%,89.33% 10.71%,82.44% 9.43%,76.00% 9.43%,68.89% 11.00%,62.44% 11.71%,54.67% 10.43%,50.22% 13.29%,50.00% 17.57%,47.56% 25.14%,56.22% 25.71%,61.78% 26.57%,65.33% 26.43%,70.22% 28.00%,75.11% 31.43%,76.22% 34.86%,73.78% 38.00%,75.11% 42.14%,77.56% 48.29%,78.00% 52.43%,86.22% 53.00%,85.11% 62.71%,79.78% 63.86%,74.00% 92.57%,71.78% 95.86%,62.67% 97.43%,46.67% 98.43%,21.33% 97.29%,17.33% 95.71%,10.67% 64.00%,8.22% 62.86%);}
/* Leave each plant silhouette open against the greenhouse. */
.figure {display:block;background-repeat:no-repeat;flex:none}
#stage{position:relative;align-items:stretch;padding:0 14px;height:clamp(178px,25svh,218px);gap:0;background:linear-gradient(0deg,#39432c24,#25392d19)}
#preview{color:#ffe198;font-weight:800;margin:0 0 2px 2px;letter-spacing:.04em;min-height:21px}
#lane-window{overflow:hidden;width:100%;border-bottom:3px solid #9f8054;box-shadow:0 4px 0 #403524;background:linear-gradient(0deg,#b6a67725,transparent 32%)}
#line{display:flex;align-items:flex-end;width:100%;min-height:80px}
.visitor{display:grid;place-items:end center;position:relative;flex:0 0 16.66667%;padding-bottom:2px;filter:drop-shadow(1px 3px 2px #10171085)}
.visitor .figure{width:82%;filter:brightness(1.12)}
.visitor:first-child .figure{width:91%;filter:brightness(1.23)}
.double{position:absolute;right:0;bottom:1px;color:#ffe390;text-shadow:0 1px 4px #000;font:bold 15px system-ui}
#feedback{padding-top:8px;text-align:center;line-height:1.3}
#now{text-align:center}#now[hidden],#lane-window[hidden]{display:none}
.pot{gap:8px;min-height:72px}.pot .figure{height:56px}.pot b{font-size:clamp(15px,3.7vw,20px);color:#fff1d6}.pot kbd{font:14px monospace;color:#d5ceac}
.stats{grid-template-columns:minmax(0,2.5fr) 1fr 1fr;align-items:center;text-align:right;padding:12px 18px;gap:10px}
.stats .scoreboard{text-align:left}
.score-row{display:flex;align-items:center;flex-wrap:wrap;gap:0 7px}
.stats #score{display:inline-block;font-size:clamp(38px,9vw,63px);line-height:1;letter-spacing:-.055em;color:#ffe79c;transform-origin:left center;text-shadow:0 3px 15px #b6832230}
#gain{color:#ffdc6e;font-weight:900;font-size:clamp(14px,2.8vw,21px);line-height:1.1}
#burst{pointer-events:none;position:absolute;right:14px;top:0;color:#ffdf72;font:1000 clamp(18px,4.7vw,28px)/1 system-ui;letter-spacing:-.045em;text-shadow:1px 2px #59351a,0 2px 12px #39280f}
#burst.peak{color:#fff3aa;text-shadow:1px 2px #925226,0 0 16px #ffbd54}
@media(max-width:420px){.visitor{flex-basis:20%}.pot .figure{height:44px}.pot kbd{display:none}.stats{padding:11px 12px}.stats strong{font-size:20px}.pots{padding:0 9px 10px}.score-row{gap:2px 5px}}
@media(max-height:660px){header{height:44px}main{padding-top:10px}.intro h1{font-size:30px}.arena{margin-top:8px}#stage{height:150px}.pot{min-height:55px}.stats{padding-top:6px;padding-bottom:6px}}

.ladder{margin-top:18px;border-top:1px solid #536554;padding:16px 2px}.ladder-head,.ladder li{display:flex;align-items:center;justify-content:space-between;gap:10px}.ladder h2{font:600 23px Georgia,serif;margin:3px 0}.ladder small{color:#d0c2a0;font-size:12px}.ladder button{border:1px solid #6a7963;border-radius:9px;background:#293d30;padding:7px 11px}.ladder p{font-size:13px;color:#d8caa8}.ladder ol{padding:0}.ladder li{padding:8px 5px;border-bottom:1px solid #425246;font-variant-numeric:tabular-nums}.ladder li span:nth-child(2){flex:1}.ladder li:first-child{color:#ffe39a}.ladder input{width:9em;background:#18251e;color:#fff4d8;padding:8px;border:1px solid #7d8d72;border-radius:7px}.ladder form small{display:block;margin-top:7px}

#round-photo{margin:16px 0;border:1px solid #536653;border-radius:15px;overflow:hidden;background:#1e2d23}
#round-photo img{width:100%;aspect-ratio:1.85;object-fit:cover;max-height:260px;display:block}
#round-photo figcaption{padding:14px 18px 18px}#round-photo small{color:#d9c38f}#round-photo p{margin:5px 0 0;line-height:1.55}
#name-feedback{color:#ffd59f}
#round-line blockquote{margin:4px 0}#round-line p[lang=en]{font:20px/1.4 Georgia,serif;color:#fff3d8}#round-line .translation{font-size:14px;color:#ced6c8}#round-line footer{padding:0;margin:6px 0 0;text-align:left;background:none;font-size:12px;color:#e7ce92}#round-line a{color:inherit}
.intro h1,.ladder h2,#rank-title,#rank-score,.scoreboard #score,.finalscore b,#burst{font-family:FilmDisplay,system-ui,sans-serif}
#rank-dialog{border:1px solid #b9a576;color:#faedcd;background:#17271f;width:min(92vw,390px);max-height:82svh;padding:0;border-radius:17px;box-shadow:0 20px 80px #0009;margin:auto}#rank-dialog::backdrop{background:#091710c9}
.rank-panel{padding:22px}.rank-panel h2{font-size:24px;line-height:1.25;margin:3px 0 6px}.rank-panel strong{font-size:38px;color:#f6d480}.rank-eyebrow{color:#bed3b9;font-size:12px;margin:0}
#rank-dialog form:not([hidden]){display:grid;gap:8px}#rank-dialog label{display:grid;gap:4px}#rank-dialog input{width:100%;font-size:16px;background:#fff6e1;color:#19251e;border-radius:6px;padding:8px}
#rank-dialog button{padding:10px 14px;border-radius:7px}#post-score{background:#edcf8b;color:#19251e;font-weight:bold}#rank-close{margin-top:8px}
#rank-dialog small{font-size:11px}#sill-earned,footer a{color:#f3ddab}
