.home-portal-menu{top:max(10px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));z-index:5;--menu-bg:#ffffffeb;--menu-line:#07132f33;--menu-fg:#07132f;width:44px;height:44px;color:var(--menu-fg);position:absolute}.home-portal-menu[data-theme=dark]{--menu-bg:#040b16b8;--menu-line:#6fd6ff66;--menu-fg:#e8f7ff}body:not([data-screen=home]) .home-portal-menu{display:none}.home-portal-menu:has([data-asobiba-link][hidden]){display:none}.home-portal-menu>summary,.home-portal{box-sizing:border-box;border:1px solid var(--menu-line);background:var(--menu-bg);min-height:44px;color:var(--menu-fg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:999px;font:800 13px/1 system-ui,sans-serif;text-decoration:none;box-shadow:0 6px 16px #0006}.home-portal-menu>summary{cursor:pointer;justify-content:center;align-items:center;width:44px;height:44px;padding:0;list-style:none;display:flex}.home-portal-menu>summary::-webkit-details-marker{display:none}.home-portal-menu>summary::marker{content:""}.home-portal-menu[open]>summary svg{transform:rotate(180deg)}.home-portal{white-space:nowrap;align-items:center;gap:4px;width:max-content;max-width:calc(100vw - 80px);padding:0 14px 0 10px;display:flex;position:absolute;top:0;left:50px}.home-portal-menu:not([open])>.home-portal,.home-portal[hidden]{display:none}.home-portal-menu svg{flex:none}.home-portal-menu>summary:focus-visible,.home-portal:focus-visible{outline:3px solid var(--menu-fg);outline-offset:2px}.settings-dialog .settings-row{border-bottom:2px dashed color-mix(in srgb, currentColor 22%, transparent);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:16px;font-weight:800;display:flex}.settings-dialog .settings-row:last-of-type{margin-bottom:14px}.settings-dialog .locale-pill select:focus-visible{outline:none}html[data-keyboard-focus] .settings-dialog .locale-pill:has(select:focus-visible){outline-offset:2px;outline:3px solid}.ura-more{box-sizing:border-box;min-width:44px;min-height:44px;color:inherit;text-align:center;text-underline-offset:3px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;grid-column:1/-1;justify-content:center;align-items:center;gap:.4em;font-size:13px;font-weight:700;line-height:1.2;text-decoration:underline;display:flex}.ura-more:after{content:"";border-top:2px solid;border-right:2px solid;flex:none;width:.45em;height:.45em;transform:rotate(45deg)}.ura-more[hidden]{display:none}.asmr-headphone-hint{z-index:1;top:max(4px, env(safe-area-inset-top));left:max(4px, env(safe-area-inset-left));right:max(4px, env(safe-area-inset-right));color:#fff;text-align:center;pointer-events:none;background:#191919eb;border-radius:4px;width:fit-content;margin:0 auto;padding:3px 6px;font:13px/1.4 system-ui,sans-serif;position:absolute}:root{color:#21372e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;--kit-accent:#254d46;--kit-radius:3px;--kit-font:system-ui, sans-serif;background:#748071;font-family:system-ui,-apple-system,Hiragino Kaku Gothic ProN,Noto Sans,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}#app{height:calc(100% - var(--game-ad-h,0px))}body{background:#748071 url(./desk-LnIrGPgb.webp) 50%/cover no-repeat}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button,input,select,summary{min-width:44px;min-height:44px}button:active{filter:brightness(.9)}p,h1,h2,h3{margin:0}p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.5}button:focus:not(:focus-visible),input:focus:not(:focus-visible){outline:none}input{color:#21372e;background:#fffdf4;border:1px solid #86948b;border-radius:2px;font-size:16px}button{color:inherit}#play{height:calc(100dvh - var(--game-ad-h,0px));padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, var(--game-safe-bottom,env(safe-area-inset-bottom))) max(12px, env(safe-area-inset-left));flex-direction:column;max-width:760px;margin:auto;display:flex}.hud{background:#eeecdce8;border-bottom:1px solid #bbbba2;padding:8px 62px 10px 10px;box-shadow:0 2px 8px #1f2d2520}.hud h1{letter-spacing:.04em;font-family:serif;font-size:clamp(17px,4.5vw,23px);font-weight:600}.time-row{justify-content:space-between;align-items:baseline;gap:10px;margin-top:6px;font-size:12px;display:flex}.time-row strong{font-variant-numeric:tabular-nums;font-size:17px}.time-gauge{appearance:none;background:#cccbb7;border:0;border-radius:0;width:100%;height:7px;margin-top:3px;display:block}.time-gauge::-webkit-progress-bar{background:#cccbb7}.time-gauge::-webkit-progress-value{background:#305c4f}.time-gauge::-moz-progress-bar{background:#305c4f}.mail-guide{text-align:center;color:#fdf8e6;text-shadow:0 1px 2px #223b2f;align-self:center;width:100%;margin-top:14px}.mail-guide strong{font-size:17px}.mail-number{letter-spacing:.14em;margin-bottom:4px;font-size:11px;display:block}.mail-guide p{text-wrap:balance;max-width:420px;min-height:3em;margin:5px auto 0;font-size:13px}:lang(ja) .mail-guide p{word-break:keep-all;overflow-wrap:anywhere}.play-area{flex:1;width:100%;min-height:0;position:relative}#scene,#board{background:0 0;border:0;border-radius:0;width:100%;height:100%;padding:0;position:absolute;inset:0}#scene{pointer-events:none}#board{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#board:active{filter:none}.play-foot{text-align:center;color:#f9f5e4;text-shadow:0 1px 2px #273c30;flex:none;justify-content:center;align-items:center;height:70px;padding:5px 20px;font-size:13px;display:flex}.play-foot p{text-wrap:balance}#settings-open{top:max(16px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));z-index:12;color:#263e34;background:#eeecdce8;border:1px solid #babfae;border-radius:3px;place-items:center;width:44px;height:44px;padding:0;display:grid;position:fixed}#settings-open svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}dialog{color:#243b30;max-width:min(92vw,480px);max-height:85dvh;overflow:auto}dialog::backdrop{background:#15271eb0}#settings p{margin:10px 0;font-size:13px}#settings summary{cursor:pointer;align-items:center;font-weight:600;display:flex}.audio-credit{font-size:11px!important}.audio-credit a{align-items:center;min-height:44px;display:inline-flex}#result{height:calc(100dvh - var(--game-ad-h,0px));padding:max(60px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(6px, var(--game-safe-bottom,env(safe-area-inset-bottom))) max(10px, env(safe-area-inset-left));grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,540px);place-content:center;gap:12px;display:grid}.result-stage{border:2px solid #fff7e2;border-radius:12px;min-width:0;min-height:0;position:relative;box-shadow:0 3px 9px #182a2444}.result-photo{border-radius:inherit;width:100%;height:100%;display:block;position:absolute;inset:0}.result-tools{align-content:center;gap:8px;min-width:0;margin-inline:4px;line-height:1.25;display:grid}.slip{color:#283e33;background:#f7f2e1;padding:clamp(10px,3.8vw,22px);position:relative;transform:rotate(-1deg);box-shadow:0 3px 4px #15221d44,0 10px 20px #15221d40}.slip header,.assessment,.slip-footer,.score-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.slip header{border-bottom:3px double #76836f;padding-bottom:8px}.slip header small{letter-spacing:.08em;font-size:11px;display:block}.slip h1,.slip h2,.score-row strong{font-family:Georgia,serif}.slip h1{font-size:clamp(17px,4.8vw,25px);line-height:1.12}.clerk-stamp{color:#9f4433;border:3px double;flex:none;padding:5px;font:700 12px Georgia,serif;transform:rotate(-5deg)}.assessment{margin-top:8px}.assessment h2{text-wrap:balance;font-size:clamp(17px,4.2vw,24px);line-height:1.15}.score-row{flex-direction:column;flex:none;align-items:end;gap:0}.score-row strong{color:#943c2d;font-size:clamp(23px,7.8vw,38px);line-height:1.1}.score-row small{font-size:11px}.result-note{margin-block:6px 10px;font-size:13px;line-height:1.4}.slip-footer{border-top:1px solid #b2b5a2;padding-top:6px}.name-row{flex:1;align-items:center;gap:4px;min-width:0;font-size:12px;display:flex}.name-row span{flex:none}.name-row input{background:#fffcf1;width:100%;min-width:44px;height:44px;padding:4px}#ranking-open{font-size:13px}.result-tools>.ura-more{color:#fff8df;justify-self:center}#ranking-dialog{inset:0 0 var(--game-ad-h,0px);width:min(390px,94vw);max-height:calc(100dvh - var(--game-ad-h,0px) - 20px);background:#f7f2e1;border:1px solid #6b796c;margin:auto;padding:12px;box-shadow:0 12px 32px #11281d55}#ranking-dialog[open]{flex-direction:column;gap:8px;display:flex}#ranking-close{flex:none}.needs-name input{background:#ffe5d6;border:2px solid #a13f2c}.name-prompt{color:#9c3524;margin-top:2px;font-size:9px;line-height:1.2}.ranking{background:#e5e8dbef;border-top:3px double #6c8170;flex-direction:column;min-width:0;min-height:0;padding:5px;display:flex;box-shadow:0 3px 8px #1d332333}.ranking-head{flex-direction:column;flex:none;display:flex}.ranking-head h3{text-align:center;margin:3px 0;font:700 20px Georgia,serif}.ranking-tabs{gap:2px;display:flex}.ranking-tabs button{overflow-wrap:anywhere;background:0 0;border:1px solid #849684;border-radius:2px;flex:1;min-width:44px;min-height:44px;padding:1px 2px;font-size:10px;line-height:1.05}.ranking-tabs .on{color:#fff9e5;background:#36554a}.ranking-list{overscroll-behavior:contain;flex:auto;min-height:45px;margin:3px 0;padding:0;list-style:none;overflow-y:auto}.ranking-list li{border-bottom:1px solid #b6c2ac;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:2px;min-height:34px;padding:3px 0;font-size:14px;display:grid}.ranking-list .who{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ranking-list .who small{font-size:7px;display:block}.ranking-list .seconds{display:none}.ranking-list .len{font-size:14px;font-weight:500}.ranking-list .me{color:#773b2b;background:#f6f0c6}.ranking-list .apart{border-top:1px dashed #7b8f7d;margin-top:3px}.ranking-note{text-wrap:balance;white-space:pre-line;overflow-wrap:anywhere;margin:6px 0;font-size:14px;line-height:1.35}.ranking-form{flex:none;margin-top:auto}.ranking-form button{border-radius:2px;width:100%;min-height:44px;padding:3px;font-size:12px}.turnstile:empty{display:none}.turnstile:not(:empty){z-index:50;bottom:calc(var(--game-safe-bottom,env(safe-area-inset-bottom)) + 66px + var(--game-ad-h,0px));background:#f4f3ea;max-width:96vw;position:fixed;left:50%;transform:translate(-50%)}.error{color:#963d2c}.done{color:#28523b}.btn{background:#e7e7d4;border:1px solid #506b59;border-bottom-width:3px;border-radius:2px;min-height:44px;padding:7px 12px;line-height:1.15}.primary{color:#fff9e7;background:#35574a}.result-buttons{grid-template-columns:1fr 1fr;gap:8px;min-height:44px;margin-top:6px;display:grid}.result-buttons fieldset{border:0;min-width:0;margin:0;padding:0}.result-buttons fieldset>div{height:100%}.result-buttons fieldset button{background:#e7e7d4;border:1px solid #506b59;border-bottom-width:3px;border-radius:2px;width:100%;height:100%;min-height:44px;font-size:14px}.result-buttons #retry{color:#fff7df;background:#35574a;font-size:14px}.pause-screen,.loading{inset:0 0 var(--game-ad-h,0px);z-index:20;color:#fff8df;text-align:center;background:#183a2bd9;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:20px;display:flex;position:fixed}.pause-screen section{color:#2e4536;background:#f2efdf;max-width:340px;padding:22px;box-shadow:0 8px 20px #0e241b66}.pause-screen h2{margin-bottom:10px;font-family:serif;font-size:23px}.pause-screen p{margin-bottom:18px;font-size:13px}.pause-screen .btn{min-width:160px}.loading progress{width:min(80vw,320px)}@media (height<=650px) and (orientation:portrait){#play{padding-top:8px}.hud{padding-top:4px;padding-bottom:5px}.mail-guide{margin-top:7px}.mail-guide strong{font-size:14px}.mail-guide p{min-height:3em;font-size:11px}.play-foot{height:55px;font-size:11px}}@media (orientation:landscape) and (height<=550px){#play{grid-template-rows:auto auto 1fr;grid-template-columns:33% 67%;gap:4px;padding:8px;display:grid}.hud{grid-column:1;padding:5px 8px}.hud h1{font-size:17px}.mail-guide{grid-column:1;margin-top:8px}.mail-guide p{font-size:12px}.play-area{grid-area:1/2/4;width:100%;height:100%}.play-foot{grid-column:1;height:auto;padding:10px;font-size:12px}}@media (orientation:landscape){#result{padding-top:max(6px, env(safe-area-inset-top));padding-right:max(67px, calc(env(safe-area-inset-right) + 50px));grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,570px) minmax(0,480px);align-content:stretch;gap:12px}}@media (orientation:landscape) and (height<=400px),(width<=350px){.slip{padding:7px 10px}.slip header{padding-bottom:3px}.slip h1{font-size:16px}.assessment{margin-top:3px}.assessment h2{font-size:15px}.score-row strong{font-size:22px}.result-note{margin:2px 0 4px;font-size:11px}.slip-footer{padding-top:2px}.result-tools{gap:5px}}@media (orientation:landscape) and (height<=310px){.slip header small{font-size:10px}.slip header div{align-items:baseline;gap:6px;display:flex}}.result-buttons{height:44px}.result-buttons fieldset>div{align-items:stretch;height:44px;display:flex}.result-buttons fieldset button{color:#233c31;justify-content:center;align-items:center;gap:7px;max-height:44px;padding:4px;display:flex}.result-buttons svg{fill:none;stroke:currentColor;stroke-width:1.8px;flex:none;width:18px;height:18px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.locale-pill{color:#21372e;touch-action:manipulation;background:#fffdf4;border:1.5px solid #21372e33;border-radius:999px;align-items:center;gap:4px;min-width:44px;min-height:44px;padding:0 8px 0 12px;display:inline-flex}.locale-pill svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.locale-pill select{appearance:none;color:inherit;max-width:9.5em;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:15px;font-weight:700}.howto[open],#settings[open]{max-height:calc(100dvh - var(--game-ad-h,0px) - 24px);max-width:calc(100vw - 24px);inset:0 0 var(--game-ad-h,0px);flex-direction:column;margin:auto;display:flex;overflow:hidden}.howto>h2,.howto>.settings-row,.howto>form{flex-shrink:0}.howto>form{order:2}.howto>ol,.howto>.settings-content,.howto>.instructions,.howto>.settings-extras,.howto>div:not(.settings-row){overscroll-behavior:contain;min-height:0;overflow-y:auto}@media (height<=450px){.howto[open],#settings[open]{padding:12px}.howto>h2{margin:0 0 6px;font-size:18px}.howto>.settings-row{margin:4px 0;padding-block:4px}.howto[open]>form,#settings[open]>form{margin:8px 0 0}.howto form .btn{margin-top:0}}@media (orientation:landscape) and (height<=340px){#settings[open]{grid-template-rows:auto auto minmax(44px,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;width:min(620px,94vw);display:grid}#settings>:is(h2,form,div:not(.settings-row)){grid-column:1/-1}#settings>.settings-row{margin:0}}
