*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;font-size:14px}main{max-width:480px;margin:auto;padding:8px 16px 24px}button{font:inherit;color:inherit;background:#f3f4f6;border:0;border-radius:8px;min-height:44px;padding:10px 12px;touch-action:manipulation}button:disabled{opacity:.5}button.primary{width:100%;font-weight:700;background:#eef0f3;margin-top:10px}.companion{display:flex;align-items:center;gap:10px}.companion img{object-fit:contain}.companion div{flex:1}.companion small{font-size:11px;color:#6e626a}.companion p{margin:4px 0;line-height:1.5}.hud{display:flex;justify-content:space-between;margin:8px 0 12px;font-size:12px}.hud span{color:#6e626a}.intro{text-align:center;padding:24px 4px}.intro img{width:144px;height:144px;object-fit:contain}.intro h1,.intro h2{font-size:20px}.intro p{line-height:1.7}.rules{padding:10px 12px 10px 28px;margin:8px 0;background:#f3f4f6;border-radius:8px;line-height:1.65;font-size:13px}.instruction{font-size:13px;margin:10px 0}.tasks{display:flex;gap:6px}.tasks button{flex:1;padding:8px 4px;font-size:13px;min-height:58px;border:2px solid transparent}.tasks small{display:block;font-size:11px;margin-top:3px}.tasks button[aria-pressed=true]{border-color:#bb6483;background:#fbedf3}.board{margin:10px 0}.slot{width:100%;display:flex;align-items:center;gap:12px;text-align:left;margin:3px 0;min-height:44px;padding:7px 10px;background:#f7f7f8;border:1px solid #eee}.slot time{font-size:12px;font-variant-numeric:tabular-nums;width:40px;flex-shrink:0;color:#6e626a}.slot span{flex:1}.slot.occupied{background:#eef0f3;border-left:4px solid #a9a0a5}.slot small{font-size:11px;color:#6e626a}.feedback{padding:10px 12px;background:#f3f4f6;border-radius:8px;line-height:1.6}.feedback.bad{border-left:3px solid #bb6483}.actions{display:flex;gap:8px}.actions button{flex:1}.caption{font-size:12px;color:#6e626a;margin:6px 0}.rounds{list-style:none;padding:0;text-align:left}.rounds li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}h2.puzzle{font-size:14px;margin:0}#storage{font-size:12px;color:#99415f}[hidden]{display:none!important}
/* Design review 1: keep the timeline foremost on portrait screens. */
main{padding-top:4px}.companion img{width:52px;height:52px}.companion p{font-size:13px}.hud{margin:4px 0 8px}.rules{margin:6px 0;padding-top:6px;padding-bottom:6px;line-height:1.5}.instruction{margin:7px 0}.board{margin:8px 0}.slot{margin:2px 0}.caption{line-height:1.5}
/* Design review 2: show occupancy and conflicts with words and borders. */
.slot.chosen{border-left-color:#bb6483}.slot.overlap{border-color:#bb6483;background:#fbedf3}.slot span{overflow-wrap:anywhere}.slot small{color:#99415f;flex-shrink:0}
/* Local play 1: self-contained sound icon prevents missing font overflow. */
.game-sound-toggle{width:44px;height:44px;min-width:44px;min-height:44px}
