.taste-scene[hidden], .taste-result[hidden], #tasteQuestion[hidden], .taste-invite[hidden], .taste-error[hidden] { display: none !important; }
.taste-step .step-title, .taste-scene .step-title { font-size: clamp(22px, 5.5vw, 27px); line-height: 1.55; }
.taste-step .step-subtitle, .taste-scene .step-subtitle { max-width: 390px; margin-top: 5px; }
.taste-form { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.taste-options { display: grid; gap: 10px; border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.taste-option {
  --taste-accent: #1764a4; --taste-tint: #edf6ff;
  position: relative; display: grid; grid-template-columns: 98px minmax(0, 1fr) 17px;
  align-items: center; gap: 10px; padding: 10px;
  border: 1.5px solid #dae5ef; border-radius: 20px; background: #fff;
  cursor: pointer; box-shadow: 0 4px 15px rgba(14, 62, 106, .04);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.taste-option[data-tone="pink"] { --taste-accent: #a94768; --taste-tint: #fff0f5; }
.taste-option[data-tone="green"] { --taste-accent: #3b7331; --taste-tint: #f0f7e9; }
.taste-option:has(input:checked) { border-color: var(--taste-accent); background: var(--taste-tint); box-shadow: 0 4px 18px rgba(14, 62, 106, .09); }
.taste-option:has(input:focus-visible) { outline: 3px solid #123b71; outline-offset: 3px; }
.taste-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.taste-product-visual { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(ellipse, var(--taste-tint), transparent 75%); }
.taste-product-visual img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 7px 5px rgba(25, 53, 80, .1)); transition: transform .18s; }
.taste-option:has(input:checked) .taste-product-visual img { transform: translateY(-3px); }
.taste-product-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; min-width: 0; }
.taste-badge { border-radius: 7px; padding: 1px 7px; color: var(--taste-accent); background: var(--taste-tint); font-size: 10px; font-weight: 800; }
.taste-product-name { color: #163854; font-size: 14px; line-height: 1.6; }
.taste-flavor { font-size: 11px; font-weight: 700; color: #3c5872; line-height: 1.6; }
.taste-feature { font-size: 10px; line-height: 1.7; color: #52677a; }
.taste-check { display: grid; place-items: center; width: 17px; height: 17px; border: 1.5px solid #a4b7c8; border-radius: 50%; color: transparent; font: 12px sans-serif; }
.taste-option:has(input:checked) .taste-check { color: white; background: var(--taste-accent); border-color: var(--taste-accent); }
.taste-options:disabled .taste-option { cursor: wait; opacity: .7; }
.taste-note { color: #52657a; font-size: 11px; line-height: 1.9; margin: 0; }
.taste-selection { color: #1c5e98; font-size: 11px; font-weight: 800; margin: 0; min-height: 21px; }
.taste-form > .btn { flex: 0 0 auto; margin-top: auto; gap: 8px; }
.taste-step .taste-form { margin-bottom: 6px; }
.taste-invite { width: 100%; margin: 7px 0 9px; gap: 8px; }
.card-scene .portrait-after-play:has(.taste-invite:not([hidden])) { padding: 10px; }
.card-scene .portrait-after-play:has(.taste-invite:not([hidden])) > p { margin: 0; }
.card-scene .portrait-after-play:has(.taste-invite:not([hidden])) .btn-row { margin-top: 0; gap: 8px; }
.card-scene .portrait-after-play:has(.taste-invite:not([hidden])) .btn-row .btn { min-height: 40px; padding-block: 9px; }
.taste-scene { flex: 1; min-height: 0; padding: 16px 22px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.taste-error { padding: 10px; border-radius: 12px; color: #a52f32; background: #fff0ef; font-size: 12px; }
.taste-save-status { min-height: 18px; font-size: 11px; color: #52657a; margin: 0; text-align: center; }
.taste-form[aria-busy="true"] .btn::before { content: ''; width: 15px; height: 15px; border: 2px solid #fff6; border-top-color: #fff; border-radius: 50%; animation: taste-spin .8s linear infinite; }
.taste-result { text-align: center; padding-top: 12px; }
.taste-result-heart { display: grid; place-items: center; margin: 0 auto 12px; width: 64px; height: 64px; border-radius: 50%; border: 1px solid #e8d2a2; background: #fff6df; color: #a87821; font: 45px sans-serif; }
.taste-result-kicker { font-size: 11px; color: #8b681f; font-weight: 800; }
.taste-result .step-subtitle { margin-inline: auto; }
.taste-result-product { margin: 18px 0 12px; padding: 4px 16px 18px; border-radius: 24px; background: linear-gradient(155deg, #e8f4ff, #fff); border: 1px solid #dae6ef; }
.taste-result-product[data-tone="pink"] { background: linear-gradient(155deg, #ffeaf1, #fff); }
.taste-result-product[data-tone="green"] { background: linear-gradient(155deg, #ecf6df, #fff); }
.taste-result-product img { display: block; width: min(70%, 230px); height: auto; margin: auto; filter: drop-shadow(0 12px 9px #183b6020); }
.taste-result-product span { display: block; font-size: 11px; color: #51647b; }
.taste-result-product strong { display: block; margin-top: 5px; color: #173f68; font-size: 18px; }
.taste-comparison { border-radius: 14px; background: #f2f6fa; padding: 12px; margin-bottom: 12px; color: #37526c; font-size: 12px; line-height: 2; overflow-wrap: anywhere; }
.taste-result .btn { margin-top: 18px; }
@keyframes taste-spin { to { transform: rotate(360deg); } }
@media (max-width: 360px) {
  .taste-option { grid-template-columns: 88px minmax(0, 1fr) 16px; gap: 8px; padding: 10px 8px; border-radius: 16px; }
  .taste-product-name { font-size: 13px; }
  .taste-scene { padding-inline: 16px; }
  .taste-step .step-title, .taste-scene .step-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .taste-option, .taste-product-visual img { transition: none; }
  .taste-form[aria-busy="true"] .btn::before { animation: none; }
}
