.dessert-experience { --dessert-ink: #422b25; --dessert-muted: #715a4e; --dessert-rose: #8e3e46; color: var(--dessert-ink); max-width: 1160px; margin: 24px auto 0; padding: clamp(20px, 4vw, 48px); background: #faf3e8; border-radius: 30px; overflow-wrap: anywhere; }
.dessert-experience h1, .dessert-experience h2, .dessert-experience p, .dessert-experience figure { margin: 0; }
.dessert-experience :is(div, figure) > svg { display: block; width: 100%; height: auto; }
.dessert-experience button, .dessert-option { -webkit-tap-highlight-color: transparent; }
.dessert-experience button { font: inherit; cursor: pointer; min-height: 48px; }
.dessert-experience button:disabled { cursor: default; opacity: .5; }
.dessert-experience button:focus-visible, .dessert-option:has(input:focus-visible), .dessert-experience textarea:focus-visible { outline: 3px solid #422b25; outline-offset: 5px; }
.dessert-experience [data-dessert-heading]:focus { outline: none; }
.dessert-primary, .dessert-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 24px; border-radius: 100px; border: 1px solid #8e3e46; font-weight: 650 !important; }
.dessert-primary { background: var(--dessert-rose); color: #fffaf3; }
.dessert-primary:not(:disabled):hover { background: #713039; }
.dessert-secondary { background: transparent; color: var(--dessert-rose); }
.dessert-text-button { padding: 10px 8px; border: 0; background: none; color: var(--dessert-muted); text-decoration: underline; text-underline-offset: 5px; }
.dessert-eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .12em; color: var(--dessert-rose); }
.dessert-landing { display: grid; align-items: center; gap: 12px; }
.dessert-intro h1 { margin-block: 20px; font-size: clamp(40px, 6vw, 70px); line-height: 1.2; letter-spacing: -.04em; }
.dessert-lead { color: var(--dessert-muted); font-size: 17px; line-height: 1.9; max-width: 38ch; }
.dessert-meta { display: flex; gap: 18px; margin-block: 20px 28px; font-size: 14px; color: var(--dessert-muted); }
.dessert-intro .dessert-text-button { display: block; margin-top: 8px; }
.dessert-display { position: relative; padding-block: 10px 24px; min-width: 0; }
.dessert-display-disc { position: absolute; inset: 12% 9% 17%; background: transparent; border-radius: 24px; }
.dessert-display-main { overflow: hidden; border-radius: 24px; position: relative; width: 86%; margin-left: -3%; }
.dessert-display-small { overflow: hidden; border-radius: 20px; position: absolute; width: 50%; right: -4%; bottom: 5%; transform: rotate(-8deg); }
.dessert-display p { position: relative; text-align: center; margin-top: 14px; font-size: 14px; color: var(--dessert-muted); }
.dessert-menu { margin-top: 32px; padding-top: 28px; border-top: 1px solid #cbb294; }
.dessert-menu h2 { font-size: 18px; }
.dessert-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin-top: 12px; }
.dessert-gallery figure { text-align: center; min-width: 0; }
.dessert-gallery figcaption { font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.dessert-disclaimer { margin-top: 32px !important; color: var(--dessert-muted); font-size: 13px; line-height: 1.7; text-align: center; }
.dessert-question { max-width: 940px; margin-inline: auto; }
.dessert-question-top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.dessert-question progress { display: block; appearance: none; border: 0; width: 100%; height: 5px; border-radius: 8px; background: #ead9c8; margin-top: 12px; overflow: hidden; color: var(--dessert-rose); }
.dessert-question progress::-webkit-progress-bar { background: #ead9c8; }
.dessert-question progress::-webkit-progress-value { background: var(--dessert-rose); }
.dessert-question progress::-moz-progress-bar { background: var(--dessert-rose); }
.dessert-question-body { display: grid; align-items: center; gap: 20px; padding-block: 12px; }
.dessert-question-art { overflow: hidden; border-radius: 20px; width: 150px; margin-inline: auto; }
.dessert-question fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dessert-question legend { font-size: clamp(23px, 3vw, 31px); line-height: 1.6; font-weight: 650; width: 100%; padding: 0; }
.dessert-options { display: grid; gap: 14px; margin-top: 24px; }
.dessert-option { position: relative; display: grid; grid-template-columns: 30px 1fr 18px; gap: 12px; align-items: center; min-height: 78px; padding: 18px 16px; border: 1px solid #917663; border-radius: 16px; background: #fffaf2; cursor: pointer; line-height: 1.7; font-size: 16px; }
.dessert-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dessert-option-letter { font-size: 14px; color: var(--dessert-muted); }
.dessert-option-check { visibility: hidden; }
.dessert-option:has(input:checked) { border-color: var(--dessert-rose); background: #f5e3db; box-shadow: inset 0 0 0 1px var(--dessert-rose); }
.dessert-option:has(input:checked) .dessert-option-check { visibility: visible; }
.dessert-question-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.dessert-result-hero { display: grid; align-items: center; gap: 24px; }
.dessert-result-art { background: #eed8c1; border-radius: 24px; overflow: hidden; max-width: 420px; width: 100%; margin-inline: auto; }
.dessert-result h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.25; margin-block: 16px; }
.dessert-result-line { font-size: clamp(19px, 2vw, 24px); line-height: 1.8; }
.dessert-flavor-tag { display: inline-block; margin-top: 20px; font-size: 14px; border: 1px solid #917663; padding: 7px 16px; border-radius: 30px; }
.dessert-reading { margin-block: 36px; border-block: 1px solid #cbb294; padding-block: 28px; }
.dessert-description { font-size: 18px; line-height: 1.9; max-width: 60ch; }
.dessert-reading-details { display: grid; gap: 24px; margin-top: 28px; }
.dessert-reading h2 { font-size: 16px; margin-bottom: 10px; color: var(--dessert-rose); }
.dessert-reading p, .dessert-reading li { line-height: 1.9; }
.dessert-reading ul { padding-left: 20px; margin: 0; }
.dessert-share { display: grid; gap: 28px; align-items: center; }
.dessert-share h2 { font-size: 24px; }
.dessert-share-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dessert-share [role="status"] { font-size: 14px; color: var(--dessert-muted); margin-top: 14px; min-height: 24px; }
.dessert-share textarea { width: 100%; padding: 14px; font: inherit; color: var(--dessert-ink); background: #fffaf2; border: 1px solid #917663; border-radius: 12px; margin-top: 8px; }
.dessert-poster { max-width: 300px; width: 100%; margin-inline: auto; box-shadow: 0 12px 36px #422b2514; transform: rotate(2deg); }
.dessert-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .dessert-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dessert-result-hero { grid-template-columns: 1fr 1.3fr; } .dessert-reading-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .dessert-share { grid-template-columns: 1fr 300px; } }
@media (min-width: 880px) { .dessert-landing { grid-template-columns: 1fr 1fr; } .dessert-question-body { grid-template-columns: 240px 1fr; gap: 36px; padding-block: 48px; } .dessert-question-art { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dessert-experience *, .dessert-experience *::before, .dessert-experience *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.dessert-gallery figure > svg { border-radius: 16px; overflow: hidden; margin-bottom: 12px; }

/* Shop-window direction for the 24-result version. */
.dessert-experience {
  --dessert-ink: #38271f;
  --dessert-muted: #665044;
  --dessert-rose: #913b43;
  --dessert-paper: #fbf4e8;
  color: var(--dessert-ink);
  background:
    radial-gradient(ellipse at 8% 4%, #f5e4c9 0, transparent 32%),
    #fbf4e8;
  border: 1px solid #dcc4a4;
  box-shadow: 0 16px 42px #573d2410;
}
.dessert-experience button { min-height: 48px; }
.dessert-experience button:focus-visible,
.dessert-experience summary:focus-visible,
.dessert-option:has(input:focus-visible),
.dessert-experience textarea:focus-visible {
  outline: 3px solid #38271f;
  outline-offset: 4px;
}
.dessert-primary, .dessert-secondary { min-height: 52px; }
.dessert-primary { box-shadow: 0 3px 0 #64272d; }
.dessert-primary:not(:disabled):hover { transform: translateY(-1px); }
.dessert-primary:active { transform: translateY(1px); }
.dessert-intro { padding-block: 8px 22px; }
.dessert-landing { align-items: start; }
.dessert-intro { align-self: start; }
.dessert-intro h1 { color: #38271f; }
.dessert-meta { flex-wrap: wrap; align-items: center; }
.dessert-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid #bf9b70;
  padding: 4px 2px;
}
.dessert-display {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid #cfa98c;
  border-radius: 22px;
  background: #f7e7d8;
  box-shadow: 8px 10px 0 #e4c7ae66;
}
.dessert-display-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #543b2c;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
}
.dessert-display-top span + span {
  border-inline-start: 1px solid #9d7652;
  padding-inline-start: 13px;
  text-align: end;
}
.dessert-display-main {
  position: relative;
  width: min(65%, 285px);
  margin: 12px auto 0;
  transform: rotate(-1deg);
  filter: drop-shadow(0 12px 9px #53371c2a);
}
.dessert-display-main svg,
.dessert-display-shelf svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.dessert-display-tag {
  position: absolute;
  right: 12px;
  bottom: 10%;
  border: 1px solid #b68659;
  border-radius: 100px;
  padding: 8px 13px;
  background: #fff9ed;
  color: #51392b;
  font-size: 12px;
  font-weight: 700;
}
.dessert-display-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  padding: 16px 4px 8px;
  border-top: 1px solid #cfa98c;
  border-bottom: 3px solid #cfa98c;
}
.dessert-display-shelf figure { min-width: 0; text-align: center; }
.dessert-display-shelf figure:first-child { transform: rotate(2deg); }
.dessert-display-shelf figure:last-child { transform: rotate(-2deg); }
.dessert-display-shelf svg { max-width: 112px; margin-inline: auto; }
.dessert-display-shelf figcaption {
  margin-top: 6px;
  color: #543b2c;
  font-size: 13px;
  font-weight: 650;
}
.dessert-display > p {
  margin-top: 15px;
  color: #543b2c;
  text-align: center;
  font-size: 14px;
}
.dessert-menu {
  margin-top: 26px;
  padding: 0;
  border: 1px solid #c8a985;
  border-radius: 16px;
  background: #fff9ef;
}
.dessert-menu summary,
.dessert-sources summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: #53372b;
  cursor: pointer;
  font-weight: 700;
}
.dessert-menu-count {
  min-width: 44px;
  border-radius: 30px;
  padding: 6px 10px;
  background: #f1e2ca;
  text-align: center;
}
.dessert-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  margin: 0;
  padding: 8px 16px 20px;
}
.dessert-gallery-item { min-width: 0; padding: 8px; }
.dessert-gallery-item > svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #f4e5d0;
  margin-bottom: 9px;
}
.dessert-gallery-item figcaption {
  min-height: 2.8em;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}
.dessert-sources {
  margin-top: 20px;
  border-top: 1px solid #dcc4a4;
}
.dessert-sources summary { justify-content: flex-start; padding-inline: 4px; }
.dessert-source-copy { max-width: 78ch; padding: 0 4px 12px; }
.dessert-source-copy p, .dessert-source-copy li { line-height: 1.75; }
.dessert-source-copy ul { padding-inline-start: 22px; }
.dessert-source-copy a { color: #713039; text-underline-offset: 3px; }
.dessert-question { max-width: 720px; margin-inline: auto; }
.dessert-question-top { min-height: 48px; }
.dessert-question-top .dessert-text-button { min-height: 48px; }
.dessert-question progress { height: 8px; }
.dessert-question-note {
  margin-top: 18px !important;
  color: var(--dessert-muted);
  font-size: 14px;
  line-height: 1.6;
}
.dessert-question-fieldset { min-width: 0; margin: 30px 0 0; padding: 0; border: 0; }
.dessert-question legend {
  max-width: 34ch;
  color: #38271f;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.45;
}
.dessert-dimension-hint {
  margin-top: 11px !important;
  color: var(--dessert-rose);
  font-size: 14px;
  font-weight: 700;
}
.dessert-options { gap: 9px; margin-top: 19px; }
.dessert-option {
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 58px;
  padding: 10px 14px;
  border-color: #b3977b;
  border-radius: 13px;
  background: #fffaf2;
  font-size: 16px;
}
.dessert-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.dessert-option-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #a78b6d;
  border-radius: 50%;
  color: #543b2c;
  font-size: 14px;
  font-weight: 750;
}
.dessert-option:has(input:checked) {
  border-color: var(--dessert-rose);
  background: #f3e3d8;
  box-shadow: inset 0 0 0 1px var(--dessert-rose);
}
.dessert-option:has(input:checked) .dessert-option-number {
  border-color: var(--dessert-rose);
  background: var(--dessert-rose);
  color: #fff9ef;
}
.dessert-option:has(input:focus-visible) { outline-offset: 2px; }
.dessert-question-actions { align-items: center; margin-top: 24px; }
.dessert-question-actions .dessert-primary { min-width: 148px; }
.dessert-result-hero { gap: 28px; }
.dessert-result-art {
  padding: 10px;
  border: 1px solid #d2b998;
  border-radius: 20px;
  background: #f4e5d0;
}
.dessert-result-art svg { border-radius: 12px; }
.dessert-match-note {
  margin-top: 16px !important;
  max-width: 48ch;
  color: var(--dessert-muted);
  font-size: 15px;
  line-height: 1.7;
}
.dessert-scores { margin-top: 42px; }
.dessert-section-heading { max-width: 64ch; }
.dessert-section-heading h2 { margin-top: 8px; font-size: clamp(24px, 3vw, 32px); }
.dessert-section-heading > p:last-child {
  margin-top: 9px;
  color: var(--dessert-muted);
  line-height: 1.7;
}
.dessert-score-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
.dessert-score-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #cfb391;
  border-radius: 16px;
  background: #fffaf2;
}
.dessert-score-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dessert-score-heading h3 { font-size: 17px; line-height: 1.4; }
.dessert-score-heading p { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.dessert-score-label { color: var(--dessert-muted); font-size: 12px; }
.dessert-score-heading strong { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dessert-score-track {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 99px;
  background: #ead8c0;
}
.dessert-score-track span {
  display: block;
  width: var(--dessert-score-position);
  height: 100%;
  border-radius: inherit;
  background: #963f46;
}
.dessert-score-ends {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: #594338;
  font-size: 12px;
  line-height: 1.4;
}
.dessert-score-ends span:last-child { text-align: right; }
.dessert-score-note { margin-top: 11px !important; color: var(--dessert-muted); font-size: 14px; line-height: 1.6; }
.dessert-reading { margin-block: 42px; padding-block: 32px; }
.dessert-description { margin-top: 14px !important; }
.dessert-reading-details { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.dessert-reading-details > section {
  padding: 17px 18px;
  border-left: 3px solid #b8755c;
  background: #f5ead9;
}
.dessert-reading h3 { margin-bottom: 8px; color: #713039; font-size: 16px; }
.dessert-reading-details p, .dessert-reading-details li { line-height: 1.75; }
.dessert-reading-details ul { padding-inline-start: 20px; }
.dessert-share { gap: 24px; }
.dessert-share h2 { margin-top: 7px; }
.dessert-poster { border-radius: 3px; }
.dessert-result-actions { row-gap: 14px; }
.dessert-result-actions button { min-height: 48px; }
.dessert-result-details {
  margin-top: 24px;
  border: 1px solid #c8a985;
  border-radius: 16px;
  background: #fff9ef;
}
.dessert-result-details summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 12px 18px;
  color: #53372b;
  cursor: pointer;
  font-weight: 700;
}
.dessert-result-details .dessert-scores { margin: 0; padding: 8px 18px 22px; }

@media (min-width: 520px) {
  .dessert-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dessert-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dessert-reading-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .dessert-experience { padding-block: 30px; }
  .dessert-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dessert-question-fieldset { margin-top: 42px; }
  .dessert-options { gap: 11px; }
  .dessert-option { min-height: 62px; }
  .dessert-result-hero { grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); }
  .dessert-landing { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .dessert-display { max-height: 540px; padding: 14px; }
  .dessert-display-main { width: min(58%, 270px); }
  .dessert-display-shelf svg { max-width: 110px; }
  .dessert-intro h1 { margin-block: 12px; font-size: clamp(42px, 5vw, 60px); line-height: 1.12; }
  .dessert-intro .dessert-lead { font-size: 16px; line-height: 1.7; }
  .dessert-intro .dessert-meta { margin-block: 14px 18px; }
  .dessert-score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dessert-reading-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dessert-share { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (min-width: 1000px) {
  .dessert-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dessert-score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .dessert-experience *, .dessert-experience *::before, .dessert-experience *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Question flow: compact mobile art, full shop-window display on desktop. */
.dessert-question { max-width: 1040px; }
.dessert-question-layout { position: relative; min-width: 0; }
.dessert-question-art {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: 56px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #d2b998;
  border-radius: 12px;
  background: #f4e5d0;
  margin: 0;
}
.dessert-question-art svg { display: block; width: 100%; height: 100%; }
.dessert-question-main { min-width: 0; animation: dessert-question-arrive 180ms ease-out both; }
.dessert-question-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-inline-end: 68px;
}
.dessert-question-top .dessert-text-button { justify-self: start; margin: 0; text-align: start; }
.dessert-question-top > span { color: var(--dessert-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.dessert-question progress { animation: dessert-progress-arrive 180ms ease-out both; }
.dessert-question-note { max-width: 66ch; }
.dessert-question .dessert-question-fieldset { margin-block-start: 24px; }
.dessert-options { gap: 10px; margin-block-start: 20px; }
.dessert-option {
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  min-height: 60px;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.dessert-option-check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #713039;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.dessert-option:has(input:checked) .dessert-option-check { visibility: visible; }
.dessert-option:hover { border-color: #8f5a50; }
.dessert-question-actions { justify-content: flex-start; }
.dessert-question form.is-advancing .dessert-option:has(input:checked) {
  animation: dessert-answer-picked 180ms ease-out both;
}
@keyframes dessert-question-arrive {
  from { opacity: .78; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dessert-progress-arrive {
  from { opacity: .55; transform: scaleX(.96); transform-origin: left center; }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes dessert-answer-picked {
  from { transform: scale(.99); }
  to { transform: scale(1); }
}
@media (min-width: 880px) {
  .dessert-question-layout {
    display: grid;
    grid-template-columns: minmax(210px, .82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(26px, 4vw, 52px);
  }
  .dessert-question-art {
    position: relative;
    inset: auto;
    width: min(100%, 320px);
    margin: 54px auto 0;
    border-radius: 18px;
    box-shadow: 0 12px 26px #6843261c;
  }
  .dessert-question-top { padding-inline-end: 0; }
  .dessert-question .dessert-question-fieldset { margin-block-start: 24px; }
  .dessert-question-main .dessert-options { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dessert-question-main,
  .dessert-question progress,
  .dessert-question form.is-advancing .dessert-option:has(input:checked) {
    animation: none !important;
  }
  .dessert-option { transition: none !important; }
}

/* Pastry counter: a loose still life above five tasting-note tiles. */
.dessert-experience--question {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fcf4e8;
}
.dessert-experience--question::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 70%;
  top: -25%;
  left: -20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f0c6ab66, transparent 70%);
  animation: dessert-counter-light 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.dessert-question-layout { display: block; }
.dessert-question-main { position: relative; }
.dessert-question-art {
  z-index: 1;
  position: absolute;
  inset: 0 0 auto auto;
  width: 84px;
  margin: 0;
  border: 0;
  border-radius: 28px 10px 28px 10px;
  box-shadow: 0 5px 0 #d7b69b55;
  transform: rotate(3deg);
}
.dessert-question-top { padding-inline-end: 100px; min-height: 84px; }
.dessert-question progress { height: 6px; margin-top: 18px; }
.dessert-question .dessert-question-fieldset { margin-top: 28px; }
.dessert-question legend { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.35; }
.dessert-option {
  border-color: #92735f;
  border-radius: 18px 6px 18px 18px;
  background: #fffaf2;
  box-shadow: 0 4px 0 #d5bda34d;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.dessert-option:nth-child(2) { background: #f6e1d5; border-radius: 6px 18px 18px 18px; }
.dessert-option:nth-child(3) { background: #efead5; }
.dessert-option:nth-child(4) { background: #e4eee5; border-radius: 18px 18px 6px 18px; }
.dessert-option:nth-child(5) { background: #f2e0e6; }
.dessert-option:has(input:checked) { background: #913b43; color: #fffaf2; border-color: #913b43; box-shadow: 0 4px 0 #66272e; }
.dessert-option:has(input:checked) .dessert-option-number { background: #fffaf2; color: #713039; }
.dessert-option:has(input:checked) .dessert-option-check { color: #fffaf2; }
.dessert-option:active { transform: translateY(3px); box-shadow: none; }
@media (hover: hover) {
  .dessert-option:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #d5bda355; }
  .dessert-gallery-item:hover > svg { transform: translateY(-4px) rotate(-2deg); }
}
.dessert-display { border-radius: 40px 12px 40px 12px; }
.dessert-display-main { transform: rotate(-3deg); border-radius: 30px 10px 30px 10px; }
.dessert-display-shelf figure:first-child { transform: rotate(3deg); }
.dessert-display-shelf figure:last-child { transform: rotate(-3deg); }
.dessert-gallery-item > svg { transition: transform 180ms ease; }
.dessert-result-art { border-radius: 40px 12px 40px 12px; transform: rotate(-2deg); }
@media (min-width: 880px) {
  .dessert-question-art {
    inset: 140px auto auto 16px;
    width: 230px;
    border-radius: 38px 12px 38px 12px;
    transform: rotate(-4deg);
    box-shadow: 12px 12px 0 #e8d3ba80, 0 12px 30px #573d2410;
  }
  .dessert-question-top { min-height: 48px; padding-inline-end: 0; }
  .dessert-question legend {
    display: flex;
    align-items: center;
    min-height: 220px;
    padding-inline-start: 300px;
    margin-bottom: 16px;
  }
  .dessert-question-main .dessert-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .dessert-option {
    grid-template-columns: minmax(0, 1fr) 24px;
    align-content: space-between;
    gap: 18px 8px;
    min-height: 132px;
    padding: 18px 16px;
  }
  .dessert-option-number { grid-column: 1; grid-row: 1; }
  .dessert-option > span:nth-of-type(2) { grid-column: 1 / -1; grid-row: 2; font-size: 16px; line-height: 1.5; }
  .dessert-option-check { grid-column: 2; grid-row: 1; }
}
@keyframes dessert-counter-light { to { transform: translate(45%, 25%); } }
/* Dessert shop typography: expressive names, handwritten quotes, readable UI. */
.dessert-experience {
  --dessert-display-font: 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --dessert-note-font: 'Kaiti SC', 'STKaiti', 'KaiTi', Georgia, serif;
  --dessert-body-font: 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif;
  font-family: var(--dessert-body-font);
  background: linear-gradient(135deg, #fff9ef, #f9ecd9);
  border: 1px solid #ddc8ac;
  border-radius: 36px 12px 36px 12px;
}
.dessert-intro h1, .dessert-result h1, .dessert-section-heading h2, .dessert-food-history h2, .dessert-share h2, .dessert-gallery-item figcaption {
  font-family: var(--dessert-display-font);
  font-weight: 700;
  letter-spacing: .015em;
}
.dessert-result h1 { font-size: clamp(38px, 6vw, 66px); color: #583229; }
.dessert-result-line, .dessert-display > p {
  font-family: var(--dessert-note-font);
  font-size: clamp(23px, 2.6vw, 29px);
  line-height: 1.65;
  color: #7a3b42;
}
.dessert-result-line { padding-block: 10px 14px; }
.dessert-eyebrow { letter-spacing: .16em; }
.dessert-question legend { font-family: var(--dessert-body-font); }
.dessert-question-top > span, .dessert-meta { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.dessert-result-art {
  padding: 14px;
  border: 0;
  border-radius: 50% 50% 18px 18px;
  background: #e7cbb1;
  box-shadow: 10px 10px 0 #ead9c280;
  transform: rotate(-2deg);
}
.dessert-result-art svg { border-radius: 50% 50% 12px 12px; overflow: hidden; }
.dessert-reading { border: 0; padding-block: 12px; }
.dessert-reading-details > section { border: 0; border-radius: 20px 5px 20px 5px; padding: 24px; background: #fffaf2; box-shadow: 0 2px 0 #d9bda670; }
.dessert-reading-details > section:nth-child(2) { background: #f3e2dd; }
.dessert-reading-details > section:nth-child(3) { background: #e8eddf; }
.dessert-reading-details > section:nth-child(4) { background: #f2e7d0; }
.dessert-reading h3 { font-family: var(--dessert-display-font); font-size: 20px; }
.dessert-share { margin-top: 38px; padding: 28px; border-radius: 24px; background: #ecdace; }
.dessert-poster { transform: rotate(-2deg); box-shadow: 6px 8px 0 #cba58d55; }
@media (max-width: 519px) {
  .dessert-share { padding: 20px 16px; }
  .dessert-result-art { max-width: 290px; }
}
.dessert-food-profile { display: grid; grid-template-columns: minmax(0, 1fr); margin: 32px 0; background: #f1e8d8; border-radius: 28px 8px 28px 8px; overflow: hidden; }
.dessert-food-label { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #e3eadd; color: #344c3e; }
.dessert-food-label > span { font-size: 13px; letter-spacing: .12em; }
.dessert-food-label strong { font-size: 21px; line-height: 1.5; }
.dessert-food-history { min-width: 0; padding: 28px; }
.dessert-food-history h2 { margin: 0 0 14px; font-size: 25px; color: #633a31; }
.dessert-food-history p, .dessert-gallery-profile > p { font-size: 16px; line-height: 1.9; color: #49372c; margin: 0 0 16px; }
.dessert-food-sources summary, .dessert-gallery-profile > summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: #74333c; font-size: 14px; line-height: 1.5; }
.dessert-food-sources ul { padding-inline-start: 20px; margin: 0; }
.dessert-food-sources a { display: inline-block; padding: 7px 0; font-size: 14px; line-height: 1.6; color: #74333c; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.dessert-food-sources summary:focus-visible, .dessert-gallery-profile > summary:focus-visible, .dessert-food-sources a:focus-visible { outline: 3px solid #74333c; outline-offset: 3px; }
.dessert-gallery-profile { text-align: start; }
.dessert-gallery-profile .dessert-food-profile { margin: 12px 0; border-radius: 16px; }
.dessert-gallery-profile .dessert-food-label, .dessert-gallery-profile .dessert-food-history { padding: 16px; }
.dessert-gallery-profile .dessert-food-label strong { font-size: 17px; }
.dessert-gallery-profile .dessert-food-history h2 { font-size: 20px; }
.dessert-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; gap: 24px; }
.dessert-gallery-item { border-bottom: 1px solid #d2b998; padding: 8px 0 16px; }
.dessert-gallery-item figcaption { font-size: 18px; margin-bottom: 4px; }
.dessert-gallery-profile > summary { font-size: 15px; }
.dessert-match-note { font-size: 17px; line-height: 1.85; }
.dessert-food-history > p { max-width: 65ch; }
.dessert-result-intro { min-width: 0; }
.dessert-result-intro h1 { overflow-wrap: normal; }
.dessert-result-line { text-wrap: balance; }
.dessert-intro h1 > span { color: #8e3e46; }
.dessert-display { max-height: none; }
.dessert-display::before { content: ''; display: block; height: 18px; margin: -2px -2px 16px; border-radius: 8px 8px 14px 14px; background: repeating-linear-gradient(90deg, #b26069 0 22px, #fff6e9 22px 44px); }
.dessert-display-main { width: min(80%, 290px); margin: 16px auto; border-radius: 48% 48% 12px 12px; transform: none; filter: none; }
.dessert-display-main svg { border-radius: inherit; }
.dessert-display-tag { bottom: 12px; right: 8px; box-shadow: 0 3px 0 #d9b99c44; }
.dessert-display-shelf figure:first-child, .dessert-display-shelf figure:last-child { transform: none; }
.dessert-display-shelf figcaption { font-family: var(--dessert-display-font); font-size: 15px; line-height: 1.5; }
.dessert-display > p { font-size: 21px; margin-top: 14px; }
.dessert-question-top > span { padding: 8px 14px; background: #e9dfcf; border-radius: 100px; color: #583229; font-weight: 650; }
.dessert-question-note { font-size: 15px; line-height: 1.7; }
.dessert-question legend { text-wrap: balance; }
.dessert-experience--question::before { animation: none; }
.dessert-question-fieldset { animation: dessert-question-arrive 180ms ease-out; }
.dessert-question progress::-webkit-progress-value { transition: width 180ms ease-out; }
.dessert-option:has(input:checked) { transform: translateY(-2px); }
@keyframes dessert-question-arrive { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: none; } }
html[lang="en"] .dessert-intro h1, html[lang="en"] .dessert-result h1, html[lang="en"] .dessert-section-heading h2 { font-family: Georgia, serif; letter-spacing: -.025em; }
html[lang="en"] .dessert-intro h1 { font-size: clamp(30px, 4.5vw, 52px); }
@media (max-width: 519px) {
  .dessert-intro h1 { font-size: clamp(36px, 10vw, 48px); }
  .dessert-landing { gap: 28px; }
  .dessert-display { padding: 16px; }
  .dessert-display-shelf svg { max-width: 86px; }
  .dessert-display-tag { font-size: 12px; }
}
@media (max-width: 879px) {
  .dessert-question-top { position: relative; min-height: 104px; align-items: start; }
  .dessert-question-top > button { white-space: nowrap; padding-inline: 0; }
  .dessert-question-top > span { position: absolute; inset: auto auto 0 0; }
}
.dessert-match-note, .dessert-food-history > p, .dessert-gallery-profile > p { text-wrap: pretty; }
@media (min-width: 640px) { .dessert-result > .dessert-food-profile { grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); } }
@media (prefers-reduced-motion: reduce) {
  .dessert-experience--question::before { animation: none; }
  .dessert-gallery-item > svg, .dessert-option { transition: none; }
}
