*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#e9e6dc;color:#343b36;font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}header{height:58px;position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #d6d6cc;background:#f4f2eb;z-index:5}header a{text-decoration:none;color:#5e655e;font-size:12px;font-weight:700}.brand{font-size:20px;font-weight:900;letter-spacing:-1px}.brand span{font-size:10px;letter-spacing:0;margin-left:4px}header button{border:1px solid #bfc5b8;border-radius:30px;padding:7px 12px;color:#53614e;background:transparent;font-size:11px}#app{position:relative;height:calc(100dvh - 58px);isolation:isolate}#scene{display:block;width:100%;height:100%;touch-action:none;outline:none}#topcopy{position:absolute;left:0;right:0;top:5%;text-align:center;pointer-events:none}.eyebrow{font-size:11px;letter-spacing:.24em;color:#6d786a}h1{font-family:serif;font-size:clamp(30px,4vw,48px);font-weight:600;letter-spacing:.13em;margin:10px 0}#subtitle{font-size:12px;letter-spacing:.18em;color:#6e766d;margin:0}#bottom{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:20px;right:20px;text-align:center;pointer-events:none}#bottom button{pointer-events:auto;background:#3e5b46;color:#fff;border:0;border-radius:7px;padding:16px 62px;font-weight:700;font-size:16px;box-shadow:0 5px 16px #33453220;transition:transform .15s}#bottom button:active{transform:scale(.97)}#bottom button:disabled{opacity:.55}#intro p{font-size:12px;color:#5c6559;letter-spacing:.06em;margin:0 0 15px}#intro small{display:block;margin-top:12px;font-size:10px;color:#858b80}#stagebar{position:absolute;left:28px;right:28px;top:24px;max-width:660px;margin:auto;pointer-events:none}#stagebar>div:first-child{display:flex;align-items:center;gap:14px}#stepnum{font-size:13px;color:#82927e;letter-spacing:.1em}h2{font-family:serif;font-size:25px;letter-spacing:.1em;font-weight:500;margin:0}#restart{position:absolute;right:0;top:0;border:1px solid #bdc3b5;border-radius:50%;background:#f5f4ef99;color:#66745d;width:34px;height:34px;pointer-events:auto;font-size:24px}#track{height:3px;background:#c8cebf;margin-top:16px;border-radius:3px;overflow:hidden}#progress{height:100%;background:#5d7a59;width:0;transition:width .12s}#playhint{display:flex;justify-content:center;align-items:center;gap:13px;margin-bottom:8px;min-height:60px}#playhint[hidden]{display:none}#toolicon{border:1px solid #c1c7b6;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#697b61}#playhint p{font-size:14px;letter-spacing:.04em;margin:0 0 5px}#playhint small{font-size:11px;color:#7c8575}#finished h2{font-size:32px;margin-top:10px}#finished p{font-size:12px;color:#6a7565;margin-bottom:20px}.cornerlabel{position:absolute;left:28px;bottom:30px;writing-mode:vertical-rl;font-family:serif;font-size:15px;letter-spacing:.3em;color:#7c8575;pointer-events:none}.cornerlabel span{font-family:system-ui;font-size:9px;margin-top:12px;letter-spacing:.15em}#material{position:absolute;left:50%;top:24%;transform:translate(-50%,0);font-size:12px;color:#58694f;border:1px solid #d1d6c9;background:#f9f9f1e8;padding:8px 16px;border-radius:30px;display:flex;gap:8px;align-items:center;opacity:0;transition:opacity .2s;pointer-events:none}#matDot{width:6px;height:6px;border-radius:50%;background:#76916a}#toast{position:absolute;left:0;right:0;top:21%;text-align:center;color:#4c694c;font-size:16px;font-family:serif;letter-spacing:.12em;pointer-events:none;opacity:0;transition:opacity .25s}#loaderror{position:absolute;inset:25% 8%;background:#fffdf3;padding:30px;border-radius:15px;text-align:center;font-size:14px;z-index:6}button:focus-visible,a:focus-visible{outline:3px solid #9fb187;outline-offset:4px}@media(max-width:600px){header{height:50px;padding:0 16px}.brand{font-size:17px}header a{font-size:10px}#app{height:calc(100dvh - 50px)}#topcopy{top:6%}h1{font-size:32px}#bottom{bottom:max(30px,env(safe-area-inset-bottom));left:18px;right:18px}#stagebar{top:24px;left:22px;right:22px}h2{font-size:23px}.cornerlabel{left:15px;bottom:25%;font-size:12px}#material{top:23%}#playhint{gap:9px}#playhint p{font-size:12px}#playhint small{font-size:10px}}@media(max-height:560px){#topcopy{top:3%}h1{font-size:25px;margin:5px 0}#subtitle,.eyebrow{font-size:10px}#bottom{bottom:14px}#intro p,#intro small{display:none}#bottom button{padding:10px 35px;font-size:13px}#stagebar{top:12px}#stageTitle{font-size:19px}#playhint{min-height:34px;margin:0}#material{top:21%}}

/* A small fish workshop: warm paper, blue-green tools, bold tactile sounds. */
html,body{background:#eee9dc;color:#243e40}header{background:#f7f3e8;border-bottom-color:#cbd4c5}h1{font-family:system-ui,sans-serif;font-weight:900;letter-spacing:.01em;font-size:clamp(29px,4vw,45px)}h2{font-family:system-ui,sans-serif;font-weight:800;letter-spacing:.02em}#bottom button{background:#285a5b;border-radius:50px;box-shadow:0 6px 0 #183e3e;padding:16px 54px}#bottom button:active{transform:translateY(4px);box-shadow:0 2px 0 #183e3e}#stagebar{padding:13px 16px 11px;border-radius:16px;background:#f9f6e5da;backdrop-filter:blur(8px);top:16px}#restart{right:12px;top:10px}#track{margin-top:10px;background:#cbd3bb;height:4px}#progress{background:#d48d38}#bottom{bottom:max(20px,env(safe-area-inset-bottom))}#playhint{background:#f7f3e6e8;border:1px solid #fffffff0;border-radius:18px;padding:12px 18px;max-width:520px;margin:0 auto;box-shadow:0 8px 35px #183e3e14}#toolicon{color:#2e6462;border-color:#9ab9a9}#material{top:auto;bottom:120px;background:#fff8e5d9;color:#45675b;border-color:#bec9ae;font-size:11px}#toast{top:19%;font-family:system-ui,sans-serif;font-weight:800;color:#365e55}#sfxWords{position:absolute;left:55%;top:30%;font-size:clamp(35px,6vw,65px);font-weight:1000;font-style:italic;letter-spacing:-.06em;text-shadow:3px 3px 0 #fff8df,-2px -2px 0 #fff8df,2px -2px 0 #fff8df,-2px 2px 0 #fff8df;pointer-events:none;opacity:0;z-index:3}#fishlabel{color:#526e61}#topcopy{top:4%}#finished{background:#f8f3e8ed;border-radius:24px;padding:20px;max-width:440px;margin:auto}#finished h2{font-size:27px}#finished .eyebrow{color:#566e5e}#intro p{font-weight:700;color:#2e4c49}#intro small{color:#506963}@media(max-width:600px){h1{font-size:29px}#stagebar{left:12px;right:12px;top:12px}#stageTitle{font-size:20px}#playhint{padding:10px}#playhint p{font-size:13px}#playhint small{font-size:10px}#material{bottom:112px}#sfxWords{top:29%}.cornerlabel{bottom:23%;left:10px}}

.cut-target{position:absolute;z-index:8;pointer-events:none;transform:translate(-50%,-145%);padding:7px 12px;border-radius:20px;background:#fff4cc;color:#453318;border:2px solid #dfaa22;box-shadow:0 3px 12px #34260e33;font-size:13px;font-weight:700;white-space:nowrap}
.cut-target[hidden]{display:none}

/* Keep the board and the active gesture prominent. */
#subtitle,#intro p,#intro small,#topcopy .eyebrow,#subinstruction,#toolicon,#fishlabel,#sfxWords,#material{display:none}
#stagebar{max-width:600px;padding-right:125px}#stageTitle{font-size:18px}#stepnum{font-size:11px}
#timer{position:absolute;right:58px;top:15px;font:600 16px system-ui;font-variant-numeric:tabular-nums;color:#285a5b}
#toast{font-size:13px}#playhint{min-height:0;padding:9px 18px;width:max-content;max-width:90%}#playhint p{margin:0}
.cut-target{font-size:23px;padding:0 8px;border-width:1px}#finished h2{font-size:40px}#finished p{font-size:24px;font-variant-numeric:tabular-nums}
@media(max-width:600px){#stageTitle{font-size:15px}#stagebar>div:first-child{gap:7px}#timer{font-size:14px;top:16px}h1{font-size:26px}}

#sfxWords{display:block;font-size:clamp(20px,3vw,32px);font-weight:800;text-shadow:1px 1px 3px #fff9e9,0 0 8px #fff9e9;z-index:3}
#app.result #scene{width:calc(100% - 270px)}
#app.result #bottom{left:auto;right:12px;top:35%;bottom:auto;width:245px}
#finished{padding:15px 10px;background:#f8f3e8ee;border-radius:14px}
#finished h2{font-size:23px;margin:12px 0}#finished p{font-size:12px;line-height:1.8;margin:12px 0 20px}#resultRank{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;color:#45665a}
#finished button{font-size:13px;padding:12px 16px;box-shadow:none;width:100%}#finished button[hidden]{display:none}
@media(max-width:650px){#app.result #scene{width:100%;height:calc(100% - 160px)}#app.result #bottom{top:auto;bottom:12px;left:12px;right:12px;width:auto}#finished{padding:10px 14px}#finished h2{font-size:18px;margin:4px 0}#finished p{margin:3px 0 8px;font-size:11px}#finished button{padding:8px}#resultRank{font-size:12px}}

#bottom #plateNow{font-size:14px;padding:10px 24px;margin-top:10px;box-shadow:0 3px 0 #183e3e}#plateNow[hidden]{display:none}

.cut-target{border:3px solid #173e40!important;box-shadow:0 0 0 3px #fff8d8,0 5px 14px #173e4060!important;font-size:27px!important;color:#173e40!important;background:#ffd34d!important}
@media(max-width:650px){#bottom{bottom:max(54px,calc(env(safe-area-inset-bottom) + 38px))!important}#app.result #bottom{bottom:max(32px,calc(env(safe-area-inset-bottom) + 22px))!important}#app.result #scene{height:calc(100% - 190px)}#bottom button{min-height:48px}#plateNow{margin-bottom:8px}}

header.game-bar{height:64px;padding:8px;display:grid;grid-template-columns:190px 1fr 210px;gap:10px;background:#fff;border-bottom:1px solid #ddd;color:#252b2d}header .game-list-link{justify-self:start;background:#b43d23;color:#fff;border:1px solid #94321e;border-radius:10px;padding:12px 14px;font-size:16px;box-shadow:0 3px 0 #8e3523}header .game-bar-title{text-align:center;font-size:20px;font-weight:800;white-space:nowrap}header .game-bar-brand{display:flex;align-items:center;gap:6px;justify-self:end;font-size:19px;color:#252b2d;white-space:nowrap}#app{height:calc(100dvh - 64px)}#sound{position:absolute;right:12px;top:96px;z-index:5;padding:8px 12px;border:1px solid #637a71;border-radius:22px;background:#f5f3e8;color:#274d4d;font-size:11px}#shareActions{display:flex;gap:8px;margin-top:10px;pointer-events:auto}#finished #shareActions button,#shareX{flex:1;min-width:0;width:auto;display:flex;align-items:center;justify-content:center;border:1px solid #b9c7bf;border-radius:10px;padding:11px 6px;min-height:44px;background:#fff;color:#244e50;font-size:12px;font-weight:700;text-decoration:none;box-shadow:none}#shareX{background:#203234;color:white}#copyStatus{display:block;min-height:18px;font-size:11px;margin-top:4px}
@media(max-width:650px){header.game-bar{height:58px;grid-template-columns:76px 1fr 80px;gap:5px;padding:6px}header .game-list-link{font-size:11px;padding:11px 6px;border-radius:7px}header .game-bar-title{font-size:12px;white-space:normal;line-height:1.35}header .game-bar-brand{font-size:10px;gap:3px;white-space:normal;line-height:1.15}header .game-bar-brand img{width:22px;height:22px}#app{height:calc(100dvh - 58px)}#app.result #scene{height:calc(100% - 245px)}#app.result #sound{top:12px}#finished #shareActions button,#shareX{min-height:44px}#app.result #bottom{bottom:max(26px,calc(env(safe-area-inset-bottom) + 18px))!important}#shareActions{margin-top:7px}#copyStatus{min-height:15px}}

/* Keep guidance readable before a gesture, discreet while handling the fish. */
#playhint{transition:opacity .25s,transform .25s}#app.guides-quiet #playhint{opacity:.16;transform:translateY(4px)}#app.dispatching #playhint{background:#f7f3e6b8;box-shadow:none;font-size:12px}#app.dispatching #stagebar{background:#f9f6e5b0;backdrop-filter:none}#app.dispatching #sfxWords{display:none}
