*{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:450px;margin:auto;padding:4px 16px calc(16px + env(safe-area-inset-bottom))}button{font:inherit;color:inherit;border:1px solid transparent;background:#f3f4f6;border-radius:8px;min-height:44px;padding:10px;touch-action:manipulation}button:disabled{opacity:.45}button:active:not(:disabled){background:#e3e6eb}button:focus-visible{outline:2px solid #91556f;outline-offset:2px}[hidden]{display:none!important}.companion{display:flex;align-items:center;gap:8px;min-height:80px}.companion img{object-fit:contain}.companion div{flex:1}.companion small{color:#6e626a;font-size:12px}.companion p{margin:4px 0;line-height:1.5}.hud{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:4px 0 12px}.hud span,.muted{color:#6e626a}h1{font-size:21px;margin:8px 0}h2{font-size:15px;margin:8px 0 12px}h3{font-size:12px;margin:0 0 4px}p{line-height:1.6}.primary{display:block;width:100%;background:#2a2328;color:white;font-weight:600;margin-top:14px}.primary:active:not(:disabled){background:#474149}.intro{text-align:center;padding:8px 0}.intro>img{display:block;margin:0 auto;object-fit:contain}.look{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 0}.look-item{display:flex;align-items:center;flex-direction:column;justify-content:center;background:#f3f4f6;border-radius:8px;padding:8px 4px;gap:5px;min-width:0}.look-item small{color:#6e626a}.look-item strong{font-size:12px;font-weight:600}.item-art{display:block;width:100%;max-width:106px;line-height:0}.item-art svg{width:100%;height:auto;max-height:100px}.choice-group{margin:10px 0}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.choices button{position:relative;display:flex;flex-direction:column;align-items:center;padding:6px 3px;gap:4px;font-size:11px}.choices .item-art{max-width:74px}.choices [aria-pressed=true],.look [aria-pressed=true]{border:1px solid #767179;background:#eef0f3}.choices [aria-pressed=true]:after,.look [aria-pressed=true]:after{content:'✓';position:absolute;right:5px;top:3px;font-size:15px;font-weight:bold}.look button{position:relative}#notice{font-size:11px;color:#6e626a;margin:8px 0}#stage>p{font-size:13px}#stage{padding-bottom:4px}
.look .item-art{max-width:112px}.look-item{min-height:166px}.look-item strong{text-align:center;line-height:1.5}.look-item small{font-size:11px}
.look [aria-pressed=true]{box-shadow:inset 0 0 0 1px #767179}.look [aria-pressed=true]:after{background:#eef0f3;padding:0 3px;border-radius:4px}.choice-group h3{color:#6e626a}.choices button span:last-child{line-height:1.4;min-height:16px}
.selection-hint{margin:6px 0 0;color:#6e626a;font-size:12px;min-height:19px}.companion #pause{flex-shrink:0;width:44px}.companion p{overflow-wrap:anywhere}
