:root{font-family:system-ui,-apple-system,'Hiragino Kaku Gothic ProN',sans-serif;color:#2a2328;background:#fff;color-scheme:light}*{box-sizing:border-box}body{margin:0;-webkit-tap-highlight-color:transparent}button{font:inherit;min-height:44px;border:1px solid #ddd9de;border-radius:8px;padding:12px;color:inherit;background:#f3f4f6;touch-action:manipulation}button:disabled{opacity:1}button:focus-visible{outline:3px solid #2a2328;outline-offset:2px}.shell{max-width:450px;margin:auto;padding:8px 16px max(12px,env(safe-area-inset-bottom))}#app{display:flex;flex-direction:column;gap:12px}h2{font-size:20px;text-align:center;margin:8px 0}p{margin:0;font-size:14px;line-height:1.6}.muted,.intro{text-align:center;color:#6e626a;font-size:13px}.hud{display:flex;gap:12px;align-items:center;font-size:13px}.hud button{margin-left:auto;padding:8px 12px}.rule-label{font-size:14px;font-weight:700}.instruction{font-size:13px}.sequence{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sequence-cell{background:#f7f7f8;border:1px solid #ece9ec;border-radius:8px;min-height:94px;position:relative;display:flex;align-items:center;justify-content:center;padding:23px 7px 7px}.sequence-cell small{position:absolute;top:4px;left:7px;color:#6e626a;font-size:11px}.flowers{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:100%;max-width:100px;justify-items:center}.flowers:has(svg:only-child){grid-template-columns:1fr}.flowers svg{width:25px;height:28px}.flowers svg:only-child{width:40px;height:44px}.mystery{border:2px dashed #b796a2;background:#fff9fb}.mystery strong{font-size:30px}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.choice{min-width:0;min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 3px}.choice span{font-size:11px;white-space:nowrap}.choice small{font-size:11px}.choice b{font-size:11px}.choice.correct{border:2px solid #658168;background:#f1f6f1}.choice.wrong{border:2px solid #b46c7e;background:#fff5f7}.feedback{min-height:48px;font-size:14px}.feedback p{font-size:13px}.next{width:100%;font-weight:700}.companion{display:flex;align-items:center;gap:8px;border-top:1px solid #ece9ec;padding-top:8px}.companion img{object-fit:contain;flex-shrink:0}.companion b{font-size:12px;color:#6e626a}.companion p{font-size:13px}.companion.large{border:0;flex-direction:column;text-align:center;padding:18px 0 8px}.result-score{text-align:center;font-weight:700;font-size:22px}#storage-note{font-size:10px;color:#6e626a;margin-top:12px}@media(max-height:720px){#app{gap:8px}.sequence-cell{min-height:78px}.choice{min-height:108px}.companion img{width:48px;height:48px}.companion.large img{width:96px;height:96px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
button:not(:disabled):active{background:#e6e8ec;transform:translateY(1px)}.choice.correct b{color:#355d3b}.choice.wrong b{color:#8d4057}
