/* Allergen 19-21 + 25-27 (Sol, Nov 9, NEW). Cleaner, more product-faithful
   contrast treatments and iMessage replies in Sol's voice. */

/* 19 · Porcelain coins: bright wells, heavy plum strokes, one crisp pop */
html[data-v-ldallergy="19"],
html[data-v-ldallergy="25"] {
  --lda-ico-fill: #FFF8EC;
  --lda-ico-stroke: #2D1928;
  --lda-ico-accent: #C8962A;
}
html[data-v-ldallergy="19"] .lda-ico-art,
html[data-v-ldallergy="25"] .lda-ico-art {
  background: radial-gradient(circle at 35% 30%, #FFFFFF, #F3E2C2);
  box-shadow:
    0 0 0 2px #2D1928,
    0 0 0 4px #D4A843,
    inset 0 1px 2px rgba(255,255,255,.9),
    0 8px 14px -8px rgba(0,0,0,.6);
}
html[data-v-ldallergy="19"] .lda-glyph,
html[data-v-ldallergy="25"] .lda-glyph {
  filter: none;
}
html[data-v-ldallergy="19"] .ld-ico-name,
html[data-v-ldallergy="25"] .ld-ico-name {
  text-transform: none; letter-spacing: .03em; font-weight: 700; font-size: .64rem;
}

/* 20 · Signal docks: a distinct saturated well per allergen */
html[data-v-ldallergy="20"],
html[data-v-ldallergy="26"] {
  --lda-ico-fill: #FFF8EC;
  --lda-ico-stroke: #FFF4D2;
  --lda-ico-accent: #F3D58A;
}
html[data-v-ldallergy="20"] .ld-allergy-icons,
html[data-v-ldallergy="26"] .ld-allergy-icons {
  border-radius: 22px;
  background: rgba(8, 2, 8, .5);
}
html[data-v-ldallergy="20"] .lda-ico-wheat, html[data-v-ldallergy="26"] .lda-ico-wheat { background: radial-gradient(circle at 32% 28%, #5A7A18, #243208); }
html[data-v-ldallergy="20"] .lda-ico-dairy, html[data-v-ldallergy="26"] .lda-ico-dairy { background: radial-gradient(circle at 32% 28%, #1E4D7B, #0B2036); }
html[data-v-ldallergy="20"] .lda-ico-eggs, html[data-v-ldallergy="26"] .lda-ico-eggs { background: radial-gradient(circle at 32% 28%, #8A5514, #3A2208); }
html[data-v-ldallergy="20"] .lda-ico-soy, html[data-v-ldallergy="26"] .lda-ico-soy { background: radial-gradient(circle at 32% 28%, #1F5A3A, #0C2818); }
html[data-v-ldallergy="20"] .lda-ico-tree-nuts, html[data-v-ldallergy="26"] .lda-ico-tree-nuts { background: radial-gradient(circle at 32% 28%, #5A2E12, #2A1408); }
html[data-v-ldallergy="20"] .lda-ico-peanuts, html[data-v-ldallergy="26"] .lda-ico-peanuts { background: radial-gradient(circle at 32% 28%, #7A4A10, #3A2208); }
html[data-v-ldallergy="20"] .lda-ico-art,
html[data-v-ldallergy="26"] .lda-ico-art {
  box-shadow:
    0 0 0 2px #FFF8EC,
    0 0 0 3px rgba(20,8,14,.85),
    inset 0 2px 3px rgba(255,255,255,.2),
    0 8px 14px -8px rgba(0,0,0,.7);
}
html[data-v-ldallergy="20"]:not(.glz-static) .ld-allergy.is-lit .lda-ico-art,
html[data-v-ldallergy="26"]:not(.glz-static) .ld-allergy.is-lit .lda-ico-art {
  animation: lda20-flash 1.6s ease-in-out calc(var(--i, 0) * 110ms + 700ms) 1 both;
}
@keyframes lda20-flash {
  0%, 100% { filter: none; transform: scale(1); }
  40% { filter: brightness(1.12); transform: scale(1.06); }
}

/* 21 · Foil stamps: gold-filled glyphs on near-black discs */
html[data-v-ldallergy="21"],
html[data-v-ldallergy="27"] {
  --lda-ico-fill: #FFE08A;
  --lda-ico-stroke: #FFF8EC;
  --lda-ico-accent: #F3D58A;
}
html[data-v-ldallergy="21"] #menu .unified-allergy.ld-allergy,
html[data-v-ldallergy="27"] #menu .unified-allergy.ld-allergy {
  background:
    radial-gradient(90% 80% at 12% 18%, rgba(226, 188, 96, .28), transparent 46%),
    radial-gradient(130% 160% at 0% 0%, #6A2A5F 0%, #4A1942 42%, #2D1928 100%) !important;
}
html[data-v-ldallergy="21"] .lda-ico-art,
html[data-v-ldallergy="27"] .lda-ico-art {
  background: radial-gradient(circle at 32% 28%, #2A1024, #0A0408);
  box-shadow:
    0 0 0 2px #E2BA5C,
    0 0 0 5px rgba(226, 186, 96, .22),
    inset 0 2px 3px rgba(255,255,255,.12),
    0 8px 16px -10px rgba(0,0,0,.7);
}
html[data-v-ldallergy="21"]:not(.glz-static) .ld-ico,
html[data-v-ldallergy="27"]:not(.glz-static) .ld-ico {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
html[data-v-ldallergy="21"]:not(.glz-static) .ld-ico:hover,
html[data-v-ldallergy="27"]:not(.glz-static) .ld-ico:hover {
  transform: translate3d(0, -4px, 0);
}

/* 25 · Receipt replies: closest to iOS Messages, status bar, iMessage blue */
html[data-v-ldallergy="25"] .lda-im-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 2px .55rem; margin-bottom: .15rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
html[data-v-ldallergy="25"] .lda-im-who {
  font: 800 .95rem/1.1 'DM Sans', sans-serif; color: var(--lda-cream, #FDF8F0);
}
html[data-v-ldallergy="25"] .lda-im-svc {
  font: 600 .68rem/1 'DM Sans', sans-serif; letter-spacing: .08em;
  text-transform: lowercase; color: #E8C46A;
}
html[data-v-ldallergy="25"] .ld-allergy-copy,
html[data-v-ldallergy="25"] .lda-in,
html[data-v-ldallergy="25"] .lda-im-typing {
  border: 0; background: #FFF6EA;
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 24px -16px rgba(0,0,0,.5);
}
html[data-v-ldallergy="25"] .lda-out { background: #0B84FF; }
html[data-v-ldallergy="25"] .lda-send { background: #0B84FF; }
html[data-v-ldallergy="25"] .lda-dot { background: #aea7ad; width: 8px; height: 8px; }
html[data-v-ldallergy="25"] .lda-im-receipt { letter-spacing: .02em; font-weight: 500; }

/* 26 · Sheet replies: recessed sheet, dock of tokens, plum outgoing */
html[data-v-ldallergy="26"] .ld-allergy-panel {
  margin: 0 .7rem .75rem; padding: .85rem 1rem 1.05rem !important;
  border-radius: 22px; background: rgba(12, 4, 12, .38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 10px 24px -18px rgba(0,0,0,.55);
}
html[data-v-ldallergy="26"] .lda-sheet-handle {
  display: block; width: 36px; height: 4px; border-radius: 999px;
  margin: 0 auto .7rem; background: rgba(232, 196, 106, .55);
}
html[data-v-ldallergy="26"]:not(.glz-static) .ld-allergy.is-open .lda-im {
  animation-name: lda26-sheet; animation-duration: .7s;
}
@keyframes lda26-sheet {
  0% { opacity: 0; transform: translate3d(0, 36px, 0); }
  100% { opacity: 1; transform: none; }
}
html[data-v-ldallergy="26"] .lda-out {
  background: #6B2A5A;
  box-shadow: 0 12px 28px -18px rgba(107, 42, 90, .75);
}
html[data-v-ldallergy="26"] .lda-send { background: #6B2A5A; }
html[data-v-ldallergy="26"] .lda-im-msg { width: 100%; max-width: 100%; }
html[data-v-ldallergy="26"] .lda-out-wrap { width: 100%; }

/* 27 · Studio replies: gold-foil time, display serif, plum+gold send */
html[data-v-ldallergy="27"] .lda-im-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: .4rem;
}
html[data-v-ldallergy="27"] .lda-im-who {
  font: 500 1.15rem/1 'Glaze Display', Georgia, serif; color: #F3D58A; letter-spacing: -.01em;
}
html[data-v-ldallergy="27"] .lda-im-svc { color: rgba(253,248,240,.55); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
html[data-v-ldallergy="27"] .lda-im-time {
  color: #E8C46A; letter-spacing: .22em;
  text-shadow: 0 0 12px rgba(232, 196, 106, .45);
}
html[data-v-ldallergy="27"] .ld-allergy-main { font-family: 'Glaze Display', Georgia, serif; font-weight: 500; font-size: 1.28rem; }
html[data-v-ldallergy="27"] .lda-out {
  background: #4A1942;
  border: 1px solid rgba(226, 186, 96, .55);
  box-shadow: 0 12px 28px -18px rgba(74, 25, 66, .8);
}
html[data-v-ldallergy="27"] .lda-send { background: #4A1942; box-shadow: 0 0 0 1px rgba(226,186,96,.5), 0 8px 16px -8px rgba(74,25,66,.8); }
html[data-v-ldallergy="27"] .lda-msg1 .ld-bonbon-say { font-size: .95rem; }

@media (max-width: 479.98px) {
  html[data-v-ldallergy="25"] .lda-im-who { font-size: .9rem; }
  html[data-v-ldallergy="27"] .ld-allergy-main { font-size: 1.08rem; }
  html[data-v-ldallergy="27"] .lda-im-who { font-size: 1.02rem; }
  html[data-v-ldallergy="26"] .ld-allergy-panel { margin-inline: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-v-ldallergy="20"] .lda-ico-art,
  html[data-v-ldallergy="21"] .ld-ico,
  html[data-v-ldallergy="26"] .lda-im,
  html[data-v-ldallergy="27"] .ld-ico {
    animation: none !important; transform: none !important;
  }
}

/* 31 · Beveled mint: precise top-light / bottom-shadow rim, one crisp drop */
html[data-v-ldallergy="31"] .lda-im-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 2px .55rem; margin-bottom: .15rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
html[data-v-ldallergy="31"] .lda-im-who {
  font: 800 .95rem/1.1 'DM Sans', sans-serif; color: var(--lda-cream, #FDF8F0);
}
html[data-v-ldallergy="31"] .lda-im-svc {
  font: 600 .68rem/1 'DM Sans', sans-serif; letter-spacing: .08em;
  text-transform: lowercase; color: #E8C46A;
}
html[data-v-ldallergy="31"] .ld-allergy-copy,
html[data-v-ldallergy="31"] .lda-in,
html[data-v-ldallergy="31"] .lda-im-typing {
  border: 0; background: #FFF6EA;
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 24px -16px rgba(0,0,0,.5);
}
html[data-v-ldallergy="31"] .lda-ico-art {
  background:
    radial-gradient(circle at 34% 28%, #FFFFFF 0%, #FFF9F0 46%, #F0DFC0 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9),
    0 0 0 1px #8A6514,
    0 0 0 3px #D4A843,
    0 0 0 4px #2D1928,
    inset 0 3px 3px rgba(255,255,255,1),
    inset 0 -3px 4px rgba(90, 55, 12, .4),
    0 8px 14px -8px rgba(0,0,0,.6);
}
html[data-v-ldallergy="31"]:not(.glz-static) .ld-allergy.is-lit .ld-ico {
  animation: lda31-drop .62s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 70ms + 80ms) both;
}
@keyframes lda31-drop {
  0% { opacity: 0; transform: translate3d(0, -14px, 0); }
  100% { opacity: 1; transform: none; }
}

/* 32 · Studio porcelain: cooler white china, tighter type, hover lift, 390-crisp */
html[data-v-ldallergy="32"] #menu .unified-allergy.ld-allergy {
  background:
    radial-gradient(90% 80% at 12% 18%, rgba(226, 188, 96, .2), transparent 46%),
    radial-gradient(130% 160% at 0% 0%, #6A2A5F 0%, #4A1942 42%, #2D1928 100%) !important;
}
html[data-v-ldallergy="32"] .ld-allergy-main {
  font-family: 'Glaze Display', Georgia, serif; font-weight: 500; font-size: 1.24rem;
}
html[data-v-ldallergy="32"] .lda-ico-art {
  background:
    radial-gradient(circle at 30% 24%, #FFFFFF 0%, #F7F3EA 50%, #E6DCC8 100%);
  box-shadow:
    0 0 0 1px #6B4A12,
    0 0 0 3px #E2BA5C,
    0 0 0 4px #1A0814,
    inset 0 4px 4px rgba(255,255,255,1),
    inset 0 -2px 3px rgba(80, 60, 30, .28),
    0 10px 16px -10px rgba(0,0,0,.65);
}
html[data-v-ldallergy="32"] .ld-ico-name {
  font-size: .6rem; letter-spacing: .04em; font-weight: 800;
}
html[data-v-ldallergy="32"]:not(.glz-static) .ld-ico { transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
html[data-v-ldallergy="32"]:not(.glz-static) .ld-ico:hover { transform: translate3d(0, -4px, 0); }
html[data-v-ldallergy="32"] .lda-out {
  background: #4A1942;
  border: 1px solid rgba(226, 186, 96, .55);
}
html[data-v-ldallergy="32"] .lda-send { background: #4A1942; box-shadow: 0 0 0 1px rgba(226,186,96,.5), 0 8px 16px -8px rgba(74,25,66,.8); }
@media (max-width: 479.98px) {
  html[data-v-ldallergy="32"] .ld-allergy-main { font-size: 1.06rem; }
  html[data-v-ldallergy="32"] .lda-ico-art { width: 52px; height: 52px; }
  html[data-v-ldallergy="32"] .lda-ico-art .lda-glyph,
  html[data-v-ldallergy="32"] .ld-ico svg.lda-glyph { width: 40px; height: 40px; }
}

/* 33 · Clink dock: drop-and-settle overshoot, heavier gold rim, max contrast */
html[data-v-ldallergy="33"] .ld-allergy-icons {
  border-radius: 24px;
  background: rgba(8, 2, 8, .5);
  gap: .55rem .55rem;
  padding: .7rem .8rem .65rem;
}
html[data-v-ldallergy="33"] .lda-ico-art {
  width: 56px; height: 56px;
  background:
    radial-gradient(circle at 32% 26%, #FFFFFF 0%, #FFF8EC 40%, #F0D9A4 100%);
  box-shadow:
    0 0 0 2px #2D1928,
    0 0 0 4.5px #F0C85A,
    0 0 0 6px #2D1928,
    inset 0 3px 4px rgba(255,255,255,1),
    inset 0 -3px 4px rgba(90, 50, 10, .35),
    0 10px 16px -8px rgba(0,0,0,.7);
}
html[data-v-ldallergy="33"] .lda-ico-art .lda-glyph,
html[data-v-ldallergy="33"] .ld-ico svg.lda-glyph { width: 42px; height: 42px; }
html[data-v-ldallergy="33"] {
  --lda-ico-stroke: #14080E;
  --lda-ico-accent: #C48418;
  --lda-ico-fill: #FFFDF6;
}
html[data-v-ldallergy="33"]:not(.glz-static) .ld-allergy.is-lit .ld-ico {
  animation: lda33-clink .72s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 95ms + 40ms) both;
}
@keyframes lda33-clink {
  0% { opacity: 0; transform: translate3d(0, -26px, 0) scale(.65); }
  62% { opacity: 1; transform: translate3d(0, 5px, 0) scale(1.08); }
  80% { transform: translate3d(0, -2px, 0) scale(.98); }
  100% { opacity: 1; transform: none; }
}
html[data-v-ldallergy="33"] .lda-out { background: #6B2A5A; }
html[data-v-ldallergy="33"] .lda-send { background: #6B2A5A; }
@media (max-width: 479.98px) {
  html[data-v-ldallergy="33"] .lda-ico-art { width: 52px; height: 52px; }
  html[data-v-ldallergy="33"] .lda-ico-art .lda-glyph,
  html[data-v-ldallergy="33"] .ld-ico svg.lda-glyph { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-v-ldallergy="31"] .ld-ico,
  html[data-v-ldallergy="32"] .ld-ico,
  html[data-v-ldallergy="33"] .ld-ico {
    animation: none !important; transform: none !important;
  }
}
