*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font:14px -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}main{max-width:500px;margin:auto;padding:6px 16px 16px}[hidden]{display:none!important}button{font:inherit;color:inherit;border:0;border-radius:8px;background:#f3f4f6;min-height:44px;padding:10px 12px;touch-action:manipulation}button:active{transform:scale(.98)}button:disabled{opacity:.45}.companion{display:flex;align-items:center;gap:10px;margin-bottom:6px}.companion img{width:72px;height:72px;object-fit:contain;flex-shrink:0}.companion strong{font-size:12px}.companion p{margin:4px 0;line-height:1.5}.panel{border:1px solid #e4e4e6;border-radius:12px;padding:14px}h2{font-size:18px;margin:0 0 10px}p{line-height:1.6}.note{font-size:11px;color:#6e626a;margin:10px 0}.panel button{width:100%;font-weight:600}.status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.status button{font-size:12px}.destination{background:#eef0f3;border-radius:8px;padding:10px 12px;display:flex;align-items:center;gap:12px}.destination small{color:#6e626a}.destination strong{font-size:20px}#route{display:flex;flex-wrap:wrap;gap:4px;padding:12px 0;line-height:1.7;min-height:50px}#prompt{margin:0 0 8px;font-weight:600}#cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.word{font-size:18px;min-height:48px}#feedback{min-height:24px;margin:10px 0;font-size:13px}#feedback[data-kind=success]{color:#45613e}#feedback[data-kind=error]{color:#a33f48}.actions{display:flex;gap:8px}.actions button{flex:1}#next{font-weight:600;background:#eef0f3}@media(prefers-reduced-motion:reduce){button:active{transform:none}}

.word:disabled{opacity:1;color:#8a8187;background:#f7f7f8}.word:disabled{border:1px solid #ececef}

.current-word{font-weight:700;text-decoration:underline;text-underline-offset:4px}#route span{white-space:nowrap}

#feedback[data-kind=success],#feedback[data-kind=error]{font-weight:600}#feedback{overflow-wrap:anywhere}.actions{padding-bottom:env(safe-area-inset-bottom,0px)}
