:root{color:#4f3938;font-synthesis:none;text-rendering:optimizelegibility;background:#fff8f1;font-family:Yu Gothic,YuGothic,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}*{box-sizing:border-box}body{margin:0}button{font:inherit}button:focus-visible,canvas:focus-visible{outline-offset:4px;outline:3px solid #a84355}button{cursor:pointer}[hidden]{display:none!important}.app{width:min(1120px,100% - 48px);margin:0 auto}.masthead{border-bottom:1px solid #ead8cd;justify-content:space-between;align-items:center;height:70px;display:flex}.brand{letter-spacing:.03em;color:#6f5752;font-family:Georgia,serif;font-size:14px}.brand-dot{background:#db7282;border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.divider{color:#d1b9a9;margin:0 8px}.help-button{color:#785b54;background:#fffaf5;border:1px solid #e6c9bc;border-radius:50%;place-items:center;width:38px;height:38px;font-size:19px;line-height:1;display:grid}.help-button:hover{background:#fbece2}.heading{padding:29px 0 26px}.eyebrow,.message-kicker{color:#be7180;letter-spacing:.17em;margin:0;font-size:11px;font-weight:800}.eyebrow span{color:#d8b2a7;margin:0 6px}h1{letter-spacing:.08em;margin:10px 0 8px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:clamp(28px,3.8vw,45px);line-height:1.25}h1 span{color:#b94f65}.tagline{color:#967d74;margin:0;font-size:13px;line-height:1.7}.layout{grid-template-columns:minmax(0,1fr) 246px;grid-template-areas:"stage hud";align-items:stretch;gap:22px;display:grid}.stage{background:#f8e9df;border:1px solid #f0ded3;border-radius:24px;grid-area:stage;min-width:0;height:clamp(420px,100vh - 310px,560px);position:relative;overflow:hidden;box-shadow:0 16px 35px #b8846b10}.stage canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.stage canvas:active{cursor:grabbing}.stage-mark{color:#c9a99b;letter-spacing:.2em;pointer-events:none;flex-direction:column;gap:3px;font-family:Georgia,serif;font-size:11px;display:flex;position:absolute;top:23px;left:25px}.stage-mark span+span{letter-spacing:.08em;font-size:10px}.drag-mark{white-space:nowrap;color:#9d756d;letter-spacing:.1em;pointer-events:none;font-size:17px;position:absolute;bottom:23px;left:50%;transform:translate(-50%)}.drag-mark span{letter-spacing:.05em;margin:0 12px;font-size:11px}.hud{flex-direction:column;grid-area:hud;gap:14px;display:flex}.score-card,.meter-card{background:#fffdf9;border:1px solid #f0ded3;border-radius:19px;padding:23px 22px}.score-card{flex:1;min-height:190px}.hud-label{color:#b76b79;letter-spacing:.17em;margin:0;font-size:11px;font-weight:800}.hud-label span{color:#a58a80;letter-spacing:0;margin-top:7px;font-size:11px;font-weight:500;display:block}.score-number{letter-spacing:.015em;color:#6d4443;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:20px 0 13px;font-family:Georgia,serif;font-size:clamp(35px,4vw,50px);line-height:1}.score-note,.meter-note{color:#a48e84;margin:0;font-size:11px;line-height:1.8}.meter-heading{justify-content:space-between;gap:8px;font-size:12px;font-weight:700;display:flex}.meter-heading span:last-child{color:#c46c79;font-size:11px}.meter{background:#f4e5dc;border-radius:999px;height:10px;margin:15px 0 9px;position:relative;overflow:hidden}.meter-fill{border-radius:inherit;background:linear-gradient(90deg,#e9ab8c,#e87d83,#d65368);width:0;height:100%;transition:width .1s linear}.meter-limit{background:#bd5360;width:2px;height:100%;position:absolute;top:0;right:2px}.hint{color:#a38b80;margin:auto 2px 4px;font-size:12px;line-height:1.8}.hint>span{color:#c47a80;margin-right:5px;font-size:17px}.hint small{color:#c1aaa0;margin-left:26px}.stage-message{background:#fffdf8ef;border:1px solid #f2ddd1;border-radius:17px;justify-content:space-between;align-items:center;gap:12px;width:min(460px,100% - 36px);padding:17px 20px;display:flex;position:absolute;bottom:27px;left:50%;transform:translate(-50%);box-shadow:0 8px 26px #a964571c}.stage-message h2{letter-spacing:.04em;margin:6px 0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:18px}.stage-message p:not(.message-kicker){color:#9d8077;margin:0;font-size:11px;line-height:1.65}.primary-button{color:#fff;white-space:nowrap;background:#bd586a;border:0;border-radius:999px;justify-content:center;align-items:center;gap:22px;min-height:44px;padding:0 17px;font-size:12px;font-weight:700;display:inline-flex;box-shadow:0 4px #9f4556}.primary-button:hover{background:#aa4d60}.primary-button:active{transform:translateY(2px);box-shadow:0 2px #9f4556}.result-message strong{color:#b94f65;margin-left:5px;font-family:Georgia,serif;font-size:19px}.webgl-error{color:#8a4d50;text-align:center;background:#fff9f1;place-items:center;padding:35px;line-height:1.8;display:grid;position:absolute;inset:0}footer{color:#bd9f91;letter-spacing:.08em;justify-content:space-between;gap:12px;padding:25px 0 32px;font-size:10px;display:flex}footer span:last-child{letter-spacing:.15em;font-family:Georgia,serif}footer span span{color:#d77985;font-size:15px}dialog{color:#674b46;background:#fffaf4;border:1px solid #efd8ca;border-radius:22px;width:min(440px,100% - 36px);max-height:calc(100% - 36px);padding:24px 27px 26px;box-shadow:0 20px 70px #49302a38}dialog::backdrop{background:#4f363483}.dialog-head{justify-content:space-between;align-items:center;display:flex}dialog h2{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:21px;line-height:1.5}dialog p:not(.eyebrow){color:#896e64;font-size:13px;line-height:1.9}.dialog-done{margin-top:10px}@media (max-width:720px){.app{width:min(100% - 28px,520px)}.masthead{height:54px}.heading{padding:20px 0 16px}.tagline{font-size:12px}.layout{grid-template-columns:1fr;grid-template-areas:"hud""stage";gap:10px}.hud{grid-template-columns:1fr 1.2fr;gap:9px;display:grid}.score-card,.meter-card{border-radius:15px;min-width:0;padding:13px 15px}.score-card{min-height:0}.hud-label span{margin:0 0 0 5px;font-size:10px;display:inline}.score-number{margin:9px 0 0;font-size:30px}.score-note,.hint{display:none}.meter-heading{font-size:11px}.meter{margin:12px 0 5px}.meter-note{font-size:10px}.stage{border-radius:19px;height:clamp(360px,112vw,480px)}.stage-mark{top:18px;left:19px}.stage-message{padding:14px 15px;bottom:17px}.stage-message h2{letter-spacing:0;white-space:nowrap;font-size:clamp(13px,3.6vw,16px)}.drag-mark{bottom:17px}footer{padding:18px 0 24px;font-size:9px}}@media (max-width:360px){.app{width:calc(100% - 20px)}h1{font-size:27px}.stage-message{gap:6px;width:calc(100% - 24px);padding:12px}.stage-message p:not(.message-kicker){font-size:10px}.primary-button{gap:8px;padding:0 13px}.score-card,.meter-card{padding:12px}.meter-heading span:last-child{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
