.yibao {
  --yb-pink: #d20d49;
  --yb-dark: #501c14;
  --yb-cream: #fff0d8;
  --yb-teal: #16b9b0;
  --yb-yellow: #ffd66e;
  color: var(--yb-dark);
  background: var(--yb-cream);
}
.yibao .site-header, .yibao .site-nav { background: #fff9e9; color: var(--yb-dark); }
.yb-nav-group { position: relative; }
.yb-nav-group > summary {
  display: flex;
  align-items: center;
  gap: .38rem;
  width: max-content;
  list-style: none;
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.yb-nav-group > summary::-webkit-details-marker { display: none; }
.yb-nav-group > summary::after {
  content: "";
  display: block;
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
  translate: 0 -.12rem;
}
.yb-nav-group[open] > summary,
.yb-nav-group > summary:hover,
.yb-nav-group:has([aria-current="page"]) > summary { color: #9d1040; }
.yb-nav-group[open] > summary::after { rotate: 225deg; translate: 0 .08rem; }
.yb-nav-panel {
  position: absolute;
  top: calc(100% + .85rem);
  left: -.8rem;
  min-width: max-content;
  padding: .35rem .55rem;
  border: 1px solid #501c1420;
  border-radius: .7rem;
  background: #fff9e9;
  box-shadow: 0 .5rem 1.5rem #501c141e;
}
.yibao .yb-nav-panel a {
  display: block;
  padding: .48rem .58rem;
  border-radius: .35rem;
}
.yibao .yb-nav-panel a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: #9d1040;
  background: #fbe7df;
}
.yibao .yb-nav-panel a::after, .yibao .site-nav .yb-nav-cta::after { display: none; }
.yibao .site-nav .yb-nav-cta {
  padding: .46rem .85rem;
  border-radius: 2rem;
  color: #fff9e9;
  background: #a80c41;
  font-weight: 750;
}
.yibao .site-nav .yb-nav-cta:hover { background: #831330; }
@media (max-width: 770px) {
  .yibao .site-nav.is-open { max-height: calc(100dvh - var(--header)); overflow-y: auto; }
  .yb-nav-group > summary {
    justify-content: space-between;
    width: 100%;
    padding: .4rem 0;
  }
  .yb-nav-panel {
    position: static;
    margin: .1rem 0 .35rem;
    padding: .1rem 0 .1rem .65rem;
    border: 0;
    border-left: 2px solid #e7cbbd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .yibao .site-nav .yb-nav-cta { align-self: start; margin-top: .35rem; }
}
.yb-wordmark img { width: clamp(112px, 12vw, 150px); height: auto; }
.yibao main h1, .yibao main h2, .yibao main h3 {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -.035em;
}
.yibao main h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.4rem);
  line-height: 1.16;
}
.yb-wrap { width: min(100% - 4rem, 1180px); margin-inline: auto; }
.yb-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(610px, 52vw, 860px);
  overflow: hidden;
  background: #df1351;
  color: var(--yb-dark);
}
.yb-package-pattern {
  position: absolute;
  z-index: -1;
  inset: -28px;
  background:
    radial-gradient(circle at 43px 42px, #ffebbe 0 24px, transparent 25px)
      0 0 / 144px 144px,
    radial-gradient(circle at 117px 113px, #21b9b0 0 26px, transparent 27px)
      0 0 / 144px 144px,
    linear-gradient(128deg, #f02466, #d10b46 67%, #ad093d);
}
.yb-hero-message {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.5rem);
}
.yb-package-mascot {
  position: absolute;
  right: clamp(.2rem, 1.4vw, 1.1rem);
  bottom: .35rem;
  width: clamp(6rem, 13vw, 11.3rem);
  height: auto;
  clip-path: ellipse(44% 50%);
  rotate: -9deg;
  pointer-events: none;
}
.yb-hero-copy {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-left: max(2rem, calc((100% - 1180px) / 2));
  padding: clamp(2rem, 4.2vw, 4rem) clamp(1.5rem, 3.3vw, 3.25rem);
  background: var(--yb-cream);
  border: 1px solid #a31642;
  outline: 2px solid var(--yb-cream);
  outline-offset: 4px;
  border-radius: clamp(1.6rem, 3vw, 3.4rem) clamp(1.6rem, 3vw, 3.4rem) clamp(1.6rem, 3vw, 3.4rem) .7rem;
  box-shadow: 7px 11px #8e09325c;
}
.yibao main .yb-hero h1 { margin: 0 0 .85rem; line-height: 1; }
.yb-hero-logo { width: clamp(245px, 34vw, 510px); height: auto; }
.yb-slogan {
  font: 900 clamp(1.7rem, 3.75vw, 3.95rem)/1.27 var(--sans);
  letter-spacing: -.035em;
}
.yb-hero-product {
  width: fit-content;
  margin-bottom: .68rem;
  padding: .22rem .72rem;
  border-radius: 2rem;
  background: var(--yb-pink);
  color: var(--yb-cream);
  font-size: clamp(.82rem, 1.25vw, 1rem);
  font-weight: 900;
  letter-spacing: .05em;
}
.yb-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  margin-top: 1.65rem;
  padding: .55rem 1.2rem;
  border: 2px solid var(--yb-dark);
  border-radius: 2rem;
  color: var(--yb-dark);
  background: var(--yb-yellow);
  font-weight: 900;
  box-shadow: .2rem .22rem var(--yb-dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.yb-button:hover { transform: translate(-2px, -2px); box-shadow: .36rem .36rem var(--yb-dark); }
.yb-hero :focus-visible { outline-color: #861238; }
.yb-jar-scene {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(67%, 1120px);
  pointer-events: none;
}
.yb-jar {
  position: absolute;
  right: -1.5%;
  bottom: -16%;
  width: auto;
  height: 97%;
  max-width: 91%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-13px 18px 24px #64042664);
}
.yb-grains { position: absolute; inset: 0; }
.yb-grains img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: auto;
  transform: rotate(var(--turn, 0deg));
  filter: drop-shadow(2px 6px 7px #690c334d);
}
.yb-grains img:nth-child(1) { --x: 42%; --y: 8%; --w: 12%; --turn: 33deg; --depth: 1; }
.yb-grains img:nth-child(2) { --x: 61%; --y: 0%; --w: 15%; --turn: 20deg; --depth: 1.15; }
.yb-grains img:nth-child(3) { --x: 26%; --y: 21%; --w: 5%; --turn: -35deg; --depth: .45; }
.yb-grains img:nth-child(4) { --x: 74%; --y: 15%; --w: 7%; --turn: -47deg; --depth: .65; }
.yb-grains img:nth-child(5) { --x: 89%; --y: 9%; --w: 6%; --turn: 42deg; --depth: .55; }
.yb-grains img:nth-child(6) { --x: 53%; --y: 20%; --w: 5%; --turn: -25deg; --depth: .55; }
.yb-grains img:nth-child(7) { --x: 42%; --y: 28%; --w: 4%; --turn: 84deg; --depth: .4; }
.yb-grains img:nth-child(8) { --x: 51%; --y: 29%; --w: 4%; --depth: .4; }
.yb-grains img:nth-child(9) { --x: 80%; --y: 4%; --w: 3.5%; --depth: .35; }
.yb-grains img:nth-child(10) { --x: 33%; --y: 6%; --w: 4.5%; --turn: 54deg; --depth: .6; }
.yb-grains img:nth-child(11) { --x: 90%; --y: 27%; --w: 17%; --turn: -30deg; --depth: 1.8; filter: blur(.6px) drop-shadow(4px 8px 7px #690c334d); }
.yb-grains img:nth-child(12) { --x: 65%; --y: 27%; --w: 3.2%; --turn: -57deg; --depth: .35; }
.yb-grains img:nth-child(13) { --x: 56%; --y: 35%; --w: 2.9%; --depth: .3; }
@media (prefers-reduced-motion: no-preference) {
  .yb-package-pattern, .yb-jar, .yb-grains img { transition: translate .24s ease-out; }
  .yb-package-pattern { translate: calc(var(--yb-pointer-x, 0px) * -.25) calc(var(--yb-pointer-y, 0px) * -.25); }
  .yb-jar { translate: calc(var(--yb-pointer-x, 0px) * .42) calc(var(--yb-pointer-y, 0px) * .4 + var(--yb-scroll, 0px) * .25); }
  .yb-grains img { translate: calc(var(--yb-pointer-x, 0px) * var(--depth)) calc((var(--yb-pointer-y, 0px) + var(--yb-scroll, 0px)) * var(--depth)); }
}
.yb-story, .yb-flavors, .yb-share, .yb-wholesale { padding-block: clamp(4.35rem, 8vw, 8rem); }
.yb-story-layout, .yb-share-layout, .yb-wholesale-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.yb-caramel-story {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: clip;
  min-height: clamp(480px, 43vw, 650px);
  background: #fff0d8;
}
.yb-caramel-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #fff0d8 7%, #fff0d8fa 27%, #fff0d8ed 38%, #fff0d8a6 49%, #fff0d82b 62%, transparent 78%);
}
.yb-caramel-field {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 54%;
  border-radius: 0;
}
.yb-caramel-copy {
  box-sizing: content-box;
  width: min(42vw, 34rem);
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 6rem) max(2rem, calc((100% - 1180px) / 2));
}
.yb-caramel-story .yb-caramel-copy h2 span { color: #9b461d; }
.yb-caramel-ingredient { color: #315e39; }
.yb-caramel-jar {
  position: absolute;
  right: max(2.6rem, calc((100% - 1180px) / 2));
  bottom: clamp(1.6rem, 4vw, 4rem);
  width: auto;
  height: clamp(200px, 29vw, 405px);
  filter: drop-shadow(9px 14px 14px #301d1266);
}
@media (max-width: 760px) {
  .yb-caramel-story { display: block; min-height: 0; padding-bottom: clamp(15rem, 62vw, 22rem); }
  .yb-caramel-story::before {
    background: linear-gradient(180deg, #fff0d8 22%, #fff0d8fa 42%, #fff0d8b8 58%, transparent 77%);
  }
  .yb-caramel-field { object-position: 74% 60%; }
  .yb-caramel-copy { box-sizing: border-box; width: 100%; padding: 3rem 1.175rem 2rem; }
  .yb-caramel-jar { right: 1.25rem; bottom: 1.25rem; height: clamp(165px, 48vw, 255px); }
}
.yb-process { padding-bottom: clamp(3.25rem, 7vw, 6.5rem); }
.yb-process-opening {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 39vw, 560px);
  padding-block: clamp(3.1rem, 7vw, 6rem);
}
.yb-process-photo,
.yb-process-opening::after {
  position: absolute;
  inset: 0;
}
.yb-process-photo {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  border-radius: 0;
}
.yb-process-opening::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(0deg, #b4dfcf 0%, transparent 21%),
    linear-gradient(90deg, #dcebdd 6%, #dcebddfa 30%, #dcebdded 43%, #dcebdd8c 57%, transparent 78%);
}
.yb-process-copy { width: min(47%, 35rem); }
.yb-process-label { display: inline-block; padding: .18rem .78rem; margin-bottom: .8rem; border: 1px solid #a21c43; border-radius: 2rem; background: var(--yb-cream); color: #97203e; font-weight: 700; }
.yb-process-copy h2 span { color: #17554a; }
.yb-process-lead {
  margin-block: 1.2rem .45rem;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
}
.yb-process-ingredients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.3rem, 4vw, 3rem);
  margin-top: clamp(1.8rem, 4vw, 3.3rem);
}
.yb-process-ingredients article { padding-top: 1rem; border-top: 2px solid #377b72; }
.yibao main .yb-process-ingredients h3 {
  margin-bottom: .68rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}
@media (max-width: 760px) {
  .yb-process-opening { min-height: 0; padding-block: 3.1rem clamp(11rem, 48vw, 17rem); }
  .yb-process-photo { object-position: 75% center; }
  .yb-process-opening::after {
    background:
      linear-gradient(0deg, #b4dfcf 0%, transparent 22%),
      linear-gradient(180deg, #dcebdd 30%, #dcebddf2 51%, #dcebdd80 66%, transparent 80%);
  }
  .yb-process-copy { width: min(100%, 34rem); }
  .yb-process-ingredients { grid-template-columns: 1fr; }
}

.yb-anniversary {
  overflow: clip;
  padding-block: clamp(3.6rem, 7vw, 7rem);
  background: linear-gradient(180deg, #fff0d8, #ffe6b0 38%, #f7ebc8 82%, #e9ebd2);
}
.yb-anniversary-heading {
  margin-bottom: clamp(1.65rem, 4vw, 3rem);
  text-align: center;
}
.yibao main .yb-anniversary-heading h2 {
  display: grid;
  justify-items: center;
  row-gap: .2rem;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}
.yb-anniversary-accent {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--yb-pink);
  font-size: clamp(3.35rem, 9vw, 6.3rem);
  white-space: nowrap;
}
.yb-anniversary-accent > span { display: inline-block; }
.yb-anniversary-accent::after {
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  width: 4em;
  aspect-ratio: 1;
  translate: -50% -50%;
  opacity: 0;
  pointer-events: none;
  content: "";
  background: repeating-conic-gradient(from 22deg,
    var(--yb-pink) 0 3deg, transparent 3deg 45deg,
    var(--yb-teal) 45deg 48deg, transparent 48deg 90deg);
  mask-image: radial-gradient(circle closest-side, transparent 68%, #000 69% 94%, transparent 95%);
}
@media (prefers-reduced-motion: no-preference) {
  .yb-anniversary-heading.yb-reveal .yb-anniversary-accent > span {
    animation: yb-word-burst 1.8s .12s both;
  }
  .yb-anniversary-heading.yb-reveal .yb-anniversary-accent::after {
    animation: yb-word-rays 1.8s .12s both;
  }
}
@keyframes yb-word-burst {
  0% { opacity: 0; scale: 0; }
  17% { opacity: 1; scale: 1.25; }
  34%, 100% { opacity: 1; scale: 1; }
}
@keyframes yb-word-rays {
  0%, 9% { opacity: 0; scale: .15; }
  19% { opacity: 1; }
  65%, 100% { opacity: 0; scale: 1.3; }
}
.yb-anniversary-heading p {
  margin-top: .4rem;
  color: #a50b3a;
  font-size: clamp(1.05rem, 2.7vw, 1.55rem);
  font-weight: 900;
}
.yb-anniversary-timeline {
  --yb-anniversary-circle: clamp(9rem, 17vw, 13rem);
  --yb-anniversary-drop: clamp(4.4rem, 8vw, 7rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 82rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}
.yb-anniversary-timeline::before,
.yb-anniversary-timeline::after {
  position: absolute;
  width: 37%;
  content: "";
  border-top: 2px dashed #875741;
  transform-origin: left center;
}
.yb-anniversary-timeline::before {
  top: calc(var(--yb-anniversary-circle) / 2);
  left: 16%;
  rotate: 23deg;
}
.yb-anniversary-timeline::after {
  top: calc(var(--yb-anniversary-circle) / 2 + var(--yb-anniversary-drop));
  left: 50%;
  rotate: -25deg;
}
.yb-anniversary-timeline > li { position: relative; z-index: 1; min-width: 0; }
.yb-anniversary-timeline > li:nth-child(2) { margin-top: var(--yb-anniversary-drop); }
.yb-anniversary-timeline > li:last-child { margin-top: -.7rem; }
.yb-anniversary-photo {
  position: relative;
  display: grid;
  width: var(--yb-anniversary-circle);
  aspect-ratio: 1;
  place-items: center;
  margin-inline: auto;
  overflow: hidden;
  border: 3px solid #fff5e3;
  border-radius: 50%;
  background: #f8dca0;
}
.yb-anniversary-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yb-anniversary-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 4%;
  padding: 0 calc(var(--yb-anniversary-circle) * .23);
}
.yb-anniversary-jar {
  position: relative;
  width: 100%;
  aspect-ratio: 330 / 810;
  overflow: hidden;
  border-radius: .4rem;
}
.yb-anniversary-jar img {
  position: absolute;
  top: -6.17%;
  left: -65.15%;
  width: 412.13%;
  height: auto;
  max-width: none;
}
.yb-anniversary-jar-salted img { left: -251.52%; }
.yb-anniversary-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .25rem .45rem;
  margin-top: .85rem;
  color: #a50b3a;
  font-weight: 900;
}
.yb-anniversary-date .yb-popular-badge { font-size: .75rem; }
.yibao main .yb-anniversary-timeline h3 {
  margin-block: .1rem .45rem;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}
.yb-anniversary-timeline > li > p:last-child { max-width: 19rem; margin-inline: auto; }
@media (max-width: 760px) {
  .yb-anniversary-timeline {
    --yb-anniversary-circle: clamp(9rem, 48vw, 12rem);
    grid-template-columns: 1fr;
    gap: 3.25rem;
    max-width: 30rem;
  }
  .yb-anniversary-timeline::before, .yb-anniversary-timeline::after { display: none; }
  .yb-anniversary-timeline > li:nth-child(2), .yb-anniversary-timeline > li:last-child { margin-top: 0; }
  .yb-anniversary-timeline > li:not(:last-child)::after {
    position: absolute;
    bottom: -2.65rem;
    left: 50%;
    height: 2rem;
    content: "";
    border-left: 2px dashed #875741;
    rotate: 18deg;
  }
  .yb-anniversary-timeline > li:nth-child(2)::after { rotate: -18deg; }
}
@media (prefers-reduced-motion: no-preference) {
  .yb-anniversary-timeline.yb-reveal > li { animation: yb-enter .68s both; }
  .yb-anniversary-timeline.yb-reveal > li:nth-child(2) { animation-delay: .18s; }
  .yb-anniversary-timeline.yb-reveal > li:nth-child(3) { animation-delay: .36s; }
  .yb-anniversary-timeline.yb-reveal::before { animation: yb-anniversary-line .6s .18s both; }
  .yb-anniversary-timeline.yb-reveal::after { animation: yb-anniversary-line .6s .36s both; }
}
@keyframes yb-anniversary-line {
  from { opacity: 0; scale: 0 1; }
  to { opacity: 1; scale: 1; }
}

.yb-share { background: #a4e3d9; }
.yb-share-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.45fr); gap: clamp(1.3rem, 4vw, 3.3rem); }
.yibao main .yb-share h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
.yb-share-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}
.yb-polaroid {
  grid-area: 1 / 1;
  width: min(46%, 310px);
  margin: .75rem 0 1rem 3%;
  justify-self: start;
  padding: .8rem .8rem 2.45rem;
  background: #fffcf2;
  box-shadow: .5rem 1rem 1.7rem #173f3838;
  rotate: 4deg;
  transform-origin: 53% 70%;
}
.yb-polaroid img { width: 100%; height: auto; }
.yb-share-box {
  grid-area: 1 / 1;
  z-index: 1;
  width: 71%;
  height: auto;
  align-self: end;
  justify-self: end;
  transform: translateY(5%);
  filter: drop-shadow(.35rem .7rem .6rem #173f3850);
}
.yb-details { margin-top: 1.8rem; border-top: 1px solid #35645e; padding-block: .7rem; }
.yb-details summary { cursor: pointer; font-weight: 700; }
.yb-details p { font-size: .94rem; }
.yb-wholesale {
  color: var(--yb-cream);
  background:
    radial-gradient(circle at 4% 14%, var(--yb-teal) 0 14px, transparent 15px),
    radial-gradient(circle at 100% 0, var(--yb-cream) 0 52px, transparent 54px),
    radial-gradient(circle at 98% 94%, var(--yb-teal) 0 25px, transparent 26px),
    var(--yb-pink);
}
.yb-wholesale-copy h2 { text-shadow: .035em .05em #84102d; }
.yb-wholesale-copy p { max-width: 43ch; margin-top: .8rem; }
.yb-wholesale-copy .yb-wholesale-lead { font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 900; }
.yb-wholesale-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.55rem; }
.yb-wholesale-actions .yb-button { margin-top: 0; }
.yb-wholesale-copy .yb-wholesale-note { margin-top: 1.35rem; font-size: .88rem; }
.yb-wholesale-photo {
  width: 100%;
  height: auto;
  border: 5px solid var(--yb-cream);
  border-radius: 1.4rem;
  box-shadow: .55rem .55rem #8c102f;
}
.yb-wholesale-fab {
  position: fixed;
  z-index: 9;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  place-content: center;
  width: clamp(4.25rem, 7vw, 5.25rem);
  aspect-ratio: 1;
  border: 2px solid #fff5df;
  border-radius: 50%;
  background: #a50b3a;
  color: #fff5df;
  box-shadow: 0 .3rem .9rem #501c144d;
  font-size: clamp(.875rem, 1.35vw, 1rem);
  font-weight: 900;
  line-height: 1;
}
.yb-wholesale-fab:hover { background: #80102f; }
.yb-wholesale-fab:focus-visible { outline: 3px solid #501c14; outline-offset: 3px; }

.yb-footer { background: #50201b; color: var(--yb-cream); }
.yb-footer .footer-about p, .yb-footer .footer-grid a:not(.brand), .yb-footer .footer-bottom { color: var(--yb-cream); }
.yb-footer .footer-bottom a { color: inherit; text-decoration: underline; }
.yb-footer .yb-footer-mark { padding: .48rem .65rem; border-radius: .55rem; background: #fff9e9; }
.yb-footer .yb-footer-mark img { width: 118px; height: auto; border-radius: 0; object-fit: contain; }

@media (max-width: 850px) {
  .yb-share-layout { grid-template-columns: 1fr; }
  .yb-hero { min-height: 580px; }
  .yb-jar-scene { width: 64%; }
  .yb-jar { right: -3%; }
}
@media (max-width: 620px) {
  .yb-wrap { width: calc(100% - 2.35rem); }
  .yb-hero { min-height: 0; align-items: start; }
  .yb-hero-copy { margin: 1.6rem 1.2rem 0; padding: 1.5rem 1.15rem 1.7rem; }
  .yb-hero-logo { width: min(72vw, 335px); }
  .yb-slogan { font-size: 1.52rem; }
  .yb-hero .yb-button { margin-top: .9rem; }
  .yb-jar-scene { position: relative; width: min(100%, 510px); height: clamp(260px, 77vw, 430px); justify-self: end; }
  .yb-jar { height: 114%; max-width: 90%; right: -2%; bottom: -23%; }
  .yb-grains img { margin-top: 4%; }
  .yb-grains img:nth-child(1) { --x: 35%; --y: 5%; }
  .yb-grains img:nth-child(2) { --x: 72%; --y: -21%; }
  .yb-grains img:nth-child(3) { --x: 23%; --y: 24%; }
  .yb-grains img:nth-child(4) { --x: 80%; --y: 3%; }
  .yb-grains img:nth-child(7) { --y: 25%; }
  .yb-grains img:nth-child(11) { --x: 92%; --y: 34%; }
  .yb-package-pattern { background-size: 104px 104px, 104px 104px, auto; background-position: 0 0, 52px 51px, 0 0; }
  .yb-story-layout, .yb-share-layout, .yb-wholesale-layout { grid-template-columns: 1fr; }
}


.yb-hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: auto -12% -1px;
  height: clamp(1.2rem, 4vw, 3.6rem);
  border-radius: 50% 52% 0 0 / 100% 100% 0 0;
  background: #fff7e5;
  pointer-events: none;
}
.yb-tea { background: #fff7e5; }
.yb-tea-banner, .yb-tea-night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.yb-tea-intro {
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
}
.yb-tea-intro { min-height: clamp(445px, 42vw, 620px); padding-block: clamp(4.2rem, 8vw, 7.4rem); }
.yb-tea-copy { width: min(100%, 40rem); }
.yb-tea-heading { position: relative; isolation: isolate; width: fit-content; margin-inline: auto; }
.yb-tea-title-prefix {
  margin-bottom: .65rem;
  color: #743b29;
  font-size: clamp(1rem, 1.72vw, 1.55rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.45;
}
.yibao main .yb-tea h2 {
  color: #a50b3a;
  font-size: clamp(2.6rem, 6.2vw, 6.15rem);
  line-height: 1.04;
}
.yb-tea-leaves {
  position: absolute;
  z-index: -1;
  top: -18%;
  left: calc(100% + .35rem);
  width: clamp(4.8rem, 14vw, 12rem);
  height: auto;
  max-width: none;
  filter: drop-shadow(0 .35rem .55rem #293a2240);
}
.yb-tea-copy > p {
  margin: 1.15rem auto 0;
  max-width: 34rem;
}
.yb-tea-copy > p { font-weight: 700; }
.yb-tea-copy .yb-tea-subtitle {
  margin-top: .95rem;
  color: #154b41;
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 900;
}
.yb-tea-link { margin-top: 1.5rem; }
.yb-tea-landscape, .yb-tea-night-photo { position: absolute; z-index: -2; margin: 0; overflow: hidden; }
.yb-tea-landscape > img, .yb-tea-night-photo > img { width: 100%; height: 100%; object-fit: cover; }
.yb-tea-landscape { inset: 0; }
.yb-tea-landscape img { object-position: center 47%; }
.yb-tea-landscape::after, .yb-tea-night-photo::after {
  position: absolute;
  content: "";
  inset: 0;
}
.yb-tea-landscape::after {
  background:
    linear-gradient(180deg, #fff7e5, #fff7e500 22%, #fff7e500 73%, #fff7e5),
    radial-gradient(ellipse at 50% 52%, #fff7e5 0%, #fff7e5ee 33%, #fff7e56e 66%, #fff7e510 100%);
}
.yb-tea-craft {
  background-color: #fff7e5;
  background-image:
    linear-gradient(180deg, #fff7e5 0%, #fff7e500 20% 82%, #fff0d8 100%),
    linear-gradient(100deg, #fff7e5eb 0%, #fff7e5cf 43%, #fff0d8b8 100%),
    url("/assets/yibao/taiwan-tea-mountains.webp");
  background-position: center, center, center 55%;
  background-size: cover;
  background-repeat: no-repeat;
}
.yb-tea-craft-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 5.6vw, 5.25rem);
}
.yibao main .yb-tea-craft h3,
.yibao main .yb-tea-night h3 {
  color: var(--yb-dark);
  font-size: clamp(1.85rem, 3.55vw, 3.5rem);
  line-height: 1.18;
}
.yb-tea-craft h3 span { color: var(--yb-pink); }
.yb-tea-craft-copy p, .yb-tea-night-copy p {
  max-width: 29rem;
  margin-top: 1rem;
  line-height: 1.8;
}
.yb-tea-trial-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 1.25rem;
}
.yb-tea-trial-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yb-tea-night { background: #fff0d8; }
.yb-tea-night-photo { inset: 0; }
.yb-tea-night-photo > img { width: 68%; object-position: center 62%; }
.yb-tea-night-photo::after {
  background:
    linear-gradient(0deg, #fff0d8, #fff0d800 18%),
    linear-gradient(90deg, #fff0d800 30%, #fff0d8c9 52%, #fff0d8 66%);
}
.yb-tea-night-inner {
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: clamp(365px, 40vw, 560px);
  padding-block: clamp(3.2rem, 7vw, 6rem);
}
.yb-tea-night-copy { width: min(44%, 30rem); }
.yb-tea-night-copy h3 { text-align: right; }
.yb-tea-night-copy p { margin-inline-start: auto; }
.yb-tea-night-copy strong { color: #154b41; font-weight: 900; }
@media (max-width: 720px) {
  .yb-tea-craft-inner { grid-template-columns: 1fr; }
  .yb-tea-night-photo { bottom: auto; height: clamp(245px, 72vw, 350px); }
  .yb-tea-night-photo > img { width: 100%; }
  .yb-tea-night-photo::after {
    background: linear-gradient(180deg, #fff0d800 52%, #fff0d8 100%);
  }
  .yb-tea-night-inner { padding-block: clamp(13rem, 60vw, 19rem) 3.2rem; }
  .yb-tea-night-copy { width: min(100%, 30rem); }
}

.yb-story { background: linear-gradient(180deg, #fff0d8 70%, #e9ebd2 100%); }
.yb-story-art { position: relative; isolation: isolate; padding: 0 0 2rem; }
.yb-story-breakfast { width: 100%; height: auto; border-radius: 42% 48% 37% 34% / 29% 28% 29% 35%; }
.yb-bowl {
  position: absolute;
  width: 40%;
  height: auto;
  bottom: -.6rem;
  right: -1.15rem;
  clip-path: polygon(1% 51%, 2% 44%, 5% 39%, 10% 34%, 16% 30%, 19% 25%, 23% 24%, 26% 26%, 26% 19%, 28% 15%, 31% 14%, 35% 16%, 37% 8%, 41% 6%, 44% 7%, 46% 3%, 50% 2%, 52% 4%, 53% 8%, 56% 7%, 59% 10%, 60% 16%, 63% 16%, 66% 18%, 68% 23%, 72% 22%, 75% 23%, 78% 28%, 83% 29%, 89% 33%, 94% 39%, 97% 44%, 98.5% 52%, 97% 61%, 94% 70%, 88% 80%, 81% 87%, 71% 93%, 58% 97%, 49% 98%, 37% 97%, 26% 93%, 17% 88%, 10% 81%, 6% 73%, 3% 66%, 1.4% 58%);
  filter: drop-shadow(.1rem .5rem .7rem #5228203b);
}
.yb-story-copy h2 span { color: #bc093c; }
.yb-story-copy p, .yb-share p { margin-top: 1rem; max-width: 30rem; }
.yb-story-copy .yb-story-lead {
  color: #9b0b39;
  font-weight: 800;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.55;
}
.yb-process { background: linear-gradient(180deg, #b4dfcf 78%, #f9e3a4); }

.yb-flavors { background: linear-gradient(180deg, #f9e3a4, #ffd66e 24%); }
.yb-flavors-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
}
.yibao main .yb-flavors-heading h2 { color: #9b0b39; font-size: clamp(2rem, 3.9vw, 3.45rem); }
.yb-flavor-tip {
  display: flex;
  align-items: center;
  gap: .92rem;
  width: fit-content;
  margin-block: 1.45rem 1.65rem;
  translate: 0 var(--yb-tip-shift, 0px);
}
.yb-flavor-tip img { width: clamp(3.5rem, 7vw, 6rem); height: auto; clip-path: ellipse(44% 50%); }
.yb-flavor-tip p {
  position: relative;
  max-width: 17em;
  padding: .68rem .95rem;
  background: #fff9e9;
  border-radius: 1.05rem;
  color: #752b25;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.6;
}
.yb-flavor-tip p::before {
  content: "";
  position: absolute;
  left: -.35rem;
  top: 45%;
  width: .72rem;
  aspect-ratio: 1;
  rotate: 45deg;
  background: inherit;
}
.yb-wheel {
  position: relative;
  width: min(100%, 625px);
  align-self: center;
  justify-self: center;
  aspect-ratio: 1;
}
.yb-wheel::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 2px dashed #b6194972;
  border-radius: 50%;
  background: radial-gradient(circle, #fff1c180 15%, #fff1c100 74%);
}
.yb-wheel-center {
  position: absolute;
  inset: 33%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #fff1c4;
  color: #9b0b39;
  font-weight: 900;
}
.yb-wheel-center strong { display: block; font-size: clamp(2.2rem, 7vw, 6rem); line-height: .98; }
.yb-wheel-center span { font-size: clamp(.95rem, 2.2vw, 1.45rem); }
.yb-wheel[data-preview] .yb-wheel-center { inset: 30%; }
.yb-wheel-preview { display: grid; justify-items: center; gap: .34rem; padding: .25rem .75rem; }
.yb-wheel-center .yb-wheel-name { font-size: clamp(.9rem, 2.45vw, 2rem); line-height: 1.15; }
.yb-tea-leaf-icon {
  display: inline-block;
  position: relative;
  flex: none;
  width: .85em;
  height: .62em;
  vertical-align: .05em;
  border-radius: .72em 0 .72em 0;
  background: currentColor;
  transform: rotate(-14deg);
}
.yb-tea-leaf-icon::after {
  position: absolute;
  content: "";
  inset: 53% 18% auto;
  border-top: 1px solid #fff9ec;
  transform: rotate(-21deg);
}
.yb-wheel-series {
  color: #365633;
  font-size: clamp(.73rem, 1.45vw, .92rem);
  line-height: 1.25;
  white-space: nowrap;
}
.yb-wheel-series .yb-tea-leaf-icon, .yb-tasting-series .yb-tea-leaf-icon { margin-inline-end: .3em; }
.yb-wheel-description { max-width: 12em; color: #68361c; font-size: clamp(.73rem, 1.42vw, 1rem); line-height: 1.35; font-weight: 700; }
.yb-wheel-detail { font-size: clamp(.68rem, 1.25vw, .89rem); line-height: 1.4; text-decoration: underline; text-underline-offset: .2em; }
@property --yb-idle-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
.yb-wheel-track { position: absolute; inset: 0; pointer-events: none; --yb-idle-angle: 0deg; }
.yb-wheel-item {
  pointer-events: auto;
  --position: calc(var(--angle) + var(--yb-wheel-angle, 0deg) + var(--yb-idle-angle));
  position: absolute;
  left: calc(50% + sin(var(--position)) * 40%);
  top: calc(50% - cos(var(--position)) * 40%);
  translate: -50% -50%;
  display: grid;
  justify-items: center;
  width: 20%;
  max-width: 106px;
  min-height: 44px;
  color: #75112f;
  font-size: clamp(.74rem, 1.48vw, 1rem);
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: .65rem;
}
.yb-wheel-item img { width: 77%; height: auto; filter: drop-shadow(.12rem .2rem .3rem #78421436); }
.yb-wheel-item span { padding: .18rem .36rem; border-radius: 1rem; background: #fff7e4; }
.yb-wheel-item .yb-tea-leaf-icon { color: #365633; margin-inline-end: .2em; }
.yb-wheel-item.is-selected .yb-tea-leaf-icon,
.yb-wheel-item:hover .yb-tea-leaf-icon,
.yb-wheel-item:focus-visible .yb-tea-leaf-icon { color: #fff1c4; }
.yb-wheel-item:hover span, .yb-wheel-item:focus-visible span, .yb-wheel-item.is-selected span { background: #a50b3a; color: white; }
.yb-flavor-note { margin-top: 1.25rem; font-size: .88rem; }
#tea-flavors:target, .yb-tasting:target:not(#tieguanyin) .yb-tasting-summary { outline: 3px solid #ad1240; outline-offset: 3px; }

.yb-catalog-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffe6a3;
}
.yb-catalog-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #ffe6a3 28%, #ffe6a3f5 35%, #ffe6a34d 49%, #ffe6a300 61%);
}
.yb-catalog-hero {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 43vw, 655px);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.yb-catalog-return {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: #fff5da;
  color: #881437;
}
.yb-catalog-return:hover { background: #881437; color: white; }
.yibao main .yb-catalog-intro h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05;
  margin-block: .65rem 1.2rem;
}
.yb-catalog-intro h1 span { color: #a50b3a; }
.yb-catalog-intro p { max-width: 26rem; }
.yb-catalog-hero-art {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  /* The rightmost 15% of the source is tabletop beyond the jars. */
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: translateX(15%);
  mask-image: linear-gradient(90deg, transparent, black 15%);
}
.yb-catalog-content { padding-block: clamp(2.3rem, 5vw, 4.2rem) clamp(4rem, 8vw, 7rem); }
.yb-catalog-tip { margin: 0 auto clamp(1.5rem, 4vw, 2.4rem); text-align: start; }
.yb-catalog-tip p { max-width: 35rem; border: 1px solid #e2b66d70; }
.yb-tasting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.yb-tasting { position: relative; }
.yb-tasting:has(details[open]) { z-index: 2; }
.yb-tasting-summary {
  display: grid;
  grid-template-columns: clamp(4.1rem, 10vw, 7.6rem) minmax(0, 1fr) 1.45rem;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.5rem);
  min-height: 100%;
  padding: clamp(.8rem, 2vw, 1.55rem);
  border-radius: 1.15rem;
  background: #fff9ec;
  cursor: pointer;
  list-style: none;
}
.yb-tasting-summary::-webkit-details-marker { display: none; }
.yb-tasting-summary:hover, .yb-tasting-details[open] .yb-tasting-summary { background: #fffdf6; }
.yb-tasting-art { border-radius: 50%; background: #f8e3b4; }
.yb-tasting:nth-child(even) .yb-tasting-art { background: #f8e9c8; }
.yb-tasting-art img { width: 100%; height: auto; }
.yb-tasting-copy > * { display: block; }
.yb-tasting-copy strong { color: #9b0b39; font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1.3; }
.yb-tasting-series {
  width: fit-content;
  margin-top: .32rem;
  padding: .18rem .55rem;
  border-radius: 1rem;
  background: #e5edda;
  color: #365633;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.4;
}
.yb-tasting-classic { background: #f6e6cf; color: #79421f; }
.yb-popular-badge {
  padding: .18rem .55rem;
  border-radius: 1rem;
  background: #ffd66e;
  color: #663216;
  font-weight: 900;
  white-space: nowrap;
}
.yb-wheel-popular { font-size: clamp(.73rem, 1.45vw, .92rem); line-height: 1.25; }
.yb-tasting-copy span { margin-top: .3rem; color: #703b2c; line-height: 1.5; }
.yb-tasting-indicator { position: relative; width: 1.4rem; aspect-ratio: 1; border-radius: 50%; background: #f5e4c8; color: #851437; }
.yb-tasting-indicator::before, .yb-tasting-indicator::after {
  position: absolute;
  content: "";
  inset: calc(50% - 1px) 28%;
  background: currentColor;
}
.yb-tasting-indicator::after { rotate: 90deg; }
.yb-tasting-details[open] .yb-tasting-indicator::after { rotate: 0deg; }
.yb-tasting-pop {
  position: absolute;
  inset: calc(100% - .25rem) .65rem auto;
  z-index: 1;
  background: #fffdf6;
  padding: 1rem 1.22rem 1.1rem;
  border: 1px solid #b1325638;
  border-radius: .9rem;
  box-shadow: 0 .7rem 1.7rem #5d2b2440;
  color: #501c14;
  line-height: 1.7;
}
.yb-tasting-weight { margin-top: .55rem; font-weight: 900; color: #9b0b39; }

@media (max-width: 810px) {
  .yb-flavors-layout { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .yb-flavors-heading { text-align: center; }
  .yibao main .yb-flavors-heading h2 { font-size: clamp(2rem, 5.5vw, 3.45rem); }
  .yb-flavor-tip { margin-inline: auto; text-align: start; }
  .yb-wheel { width: min(100%, 540px); }
  .yb-tasting-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .yb-tea-intro { min-height: 340px; }
  .yb-tea-leaves { top: -31%; left: calc(100% - .55rem); width: 4.1rem; }
  .yb-tea-landscape::after {
    background: linear-gradient(180deg, #fff7e5, #fff7e548 20%, #fff7e5ee 45%, #fff7e5ed 73%, #fff7e5);
  }
  .yb-story-art { padding: 0 .5rem 1.3rem; }
  .yb-bowl { right: 0; }
  .yb-polaroid { padding: .4rem .4rem 1.45rem; }
  .yb-package-mascot { width: clamp(5.2rem, 25vw, 8.5rem); right: .08rem; bottom: .12rem; }
  .yb-share-box { width: 73%; }
}
@media (max-width: 900px) {
  .yb-catalog-intro { --yb-catalog-photo-height: clamp(220px, 77vw, 640px); }
  .yb-catalog-hero { min-height: 0; align-items: start; padding-block: 2.6rem calc(var(--yb-catalog-photo-height) - 1.6rem); }
  .yb-catalog-hero-art { top: auto; bottom: 0; height: var(--yb-catalog-photo-height); width: calc(100% / .85); object-position: left 56%; mask-image: none; }
  .yb-catalog-intro::after {
    top: auto;
    height: var(--yb-catalog-photo-height);
    background: linear-gradient(180deg, #ffe6a3, #ffe6a300 32%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .yb-hero-copy, .yb-catalog-hero > div { animation: yb-enter .7s .08s both; }
  .yb-jar-scene, .yb-catalog-hero-art { animation: yb-enter .88s .18s both; }
  .yb-package-mascot { animation: yb-enter .65s .28s both; }
  .yb-reveal:not(.yb-tea-banner, .yb-share-photos),
  .yb-reveal .yb-tea-copy { animation: yb-enter .7s both; }
  .yb-reveal .yb-flavor-tip p, .yb-catalog-tip.yb-reveal p { animation: yb-pop .65s .18s both; }
  .yb-wheel-track { animation: yb-wheel-idle 170s linear infinite; }
  .yb-wheel[data-preview] .yb-wheel-track { animation-play-state: paused; }
  .yb-share-photos.yb-reveal .yb-polaroid { animation: yb-polaroid-in .92s .16s both; }
  .yb-share-photos.yb-reveal .yb-share-box { animation: yb-enter .7s .34s both; }
  .yb-tasting-details[open] .yb-tasting-pop { animation: yb-enter .22s both; }
}
@keyframes yb-enter {
  from { opacity: 0; translate: 0 1.2rem; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes yb-pop {
  from { opacity: 0; scale: .82; translate: -.5rem .35rem; }
  68% { opacity: 1; scale: 1.06; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes yb-wheel-idle { to { --yb-idle-angle: 360deg; } }
@keyframes yb-polaroid-in {
  from { opacity: 0; translate: 2rem 2rem; rotate: 13deg; scale: .92; }
  72% { opacity: 1; translate: -.25rem -.18rem; rotate: 2deg; }
  to { opacity: 1; translate: 0 0; rotate: 4deg; scale: 1; }
}

.yb-process-ingredients h3 span { color: #17554a; }
.yb-travel {
  --yb-map-overlap: clamp(2.1rem, 4.5vw, 4.8rem);
  position: relative;
  isolation: isolate;
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(180deg, #fff5df 0%, #fff3df 60%, #f4ead7 100%);
}
.yb-travel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -2;
  inset: calc(-1 * var(--yb-map-overlap)) 0 auto;
  height: calc(var(--yb-map-overlap) * 1.65);
  background: #fff5df;
  clip-path: ellipse(72% 100% at 50% 100%);
}
.yb-travel > .yb-wrap {
  width: min(100% - 2.5rem, 1440px);
}
.yb-travel::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  inset: calc(-1 * var(--yb-map-overlap) - 1.1rem) 0 0;
  /* World silhouette adapted from Blankmap.svg (Wikimedia Commons, CC0). */
  background: url("/assets/yibao/gallery/world-map.webp") 58% -4rem / max(138%, 1250px) auto no-repeat;
  mask-image: linear-gradient(180deg, transparent, #000 var(--yb-map-overlap), #000 72%, transparent 98%);
}
.yb-gallery-header p {
  margin-top: .65rem;
  font-size: clamp(1.05rem, 2vw, 1.27rem);
}
.yb-travel .yb-gallery-header h2 { color: var(--yb-pink); }
.yb-travel .yb-gallery-header {
  position: relative;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.45rem, 5vw, 4.25rem);
  text-align: center;
}
.yb-travel .yb-gallery-header h2, .yb-travel .yb-gallery-header p { position: relative; z-index: 1; }
.yb-travel-flight {
  position: absolute;
  inset: auto 0 -.9rem;
  width: 100%;
  height: clamp(100px, 12vw, 164px);
  overflow: hidden;
  pointer-events: none;
  color: var(--yb-pink);
}
.yb-travel-flight-route {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  opacity: .34;
  vector-effect: non-scaling-stroke;
}
.yb-travel-plane {
  visibility: hidden;
  fill: var(--yb-pink);
  stroke: var(--yb-cream);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.yb-travel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}
.yb-travel-layout article {
  display: grid;
  grid-template-rows: minmax(5.5rem, auto) auto;
  min-width: 0;
}
.yb-travel-caption {
  align-self: end;
  position: relative;
  z-index: 1;
}
.yb-travel-tasting .yb-travel-caption {
  grid-row: 3;
  align-self: start;
  margin-top: .85rem;
}
.yb-travel-tasting .yb-travel-photos { grid-row: 2; }
.yb-travel-store .yb-travel-caption { padding-inline-start: .65rem; }
.yibao main .yb-travel-layout h3 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .85rem;
  font-size: clamp(1.15rem, 2.05vw, 1.78rem);
  line-height: 1.35;
}
.yb-travel-flag {
  flex: 0 0 auto;
  width: clamp(3rem, 4.8vw, 4.35rem);
  height: auto;
  border: 1px solid #501c142e;
  border-radius: .2rem;
  box-shadow: 0 2px 5px #501c1438;
  rotate: -9deg;
}
.yb-travel-layout article:nth-child(2) .yb-travel-flag { rotate: 8deg; }
.yb-travel-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
}
.yb-travel-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: zoom-in;
}
.yb-travel-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (hover: hover) {
  .yb-travel-photo:hover img { filter: brightness(1.14) saturate(.92); }
}
.yb-travel-photo:focus-visible img { filter: brightness(1.14) saturate(.92); }
@media (prefers-reduced-motion: no-preference) {
  .yb-travel-photo img { transition: filter .18s ease-out; }
  .yb-travel-float:not([hidden]) { animation: yb-travel-preview-in .24s ease-out both; }
}
@keyframes yb-travel-preview-in {
  from { opacity: 0; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}
.yb-travel-photo + .yb-travel-photo {
  width: 112%;
  margin-top: 24%;
  margin-left: -12%;
}
.yb-travel-store .yb-travel-photo:first-child img { object-position: 50% 22%; }
.yb-travel-float {
  position: fixed;
  box-sizing: border-box;
  z-index: 1001;
  pointer-events: none;
  padding: .3rem;
  border-radius: .65rem;
  background: var(--yb-cream);
  box-shadow: 0 .6rem 2rem #501c1447;
}
.yb-travel-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .4rem;
}
.yb-travel-dialog {
  max-width: calc(100% - 2rem);
  padding: .45rem;
  border: 0;
  border-radius: .75rem;
  background: var(--yb-cream);
}
.yb-travel-dialog::backdrop { background: #32100cbd; }
.yb-travel-dialog img {
  display: block;
  width: auto;
  max-width: min(88vw, 68rem);
  max-height: 83vh;
  border-radius: .45rem;
}
.yb-travel-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--yb-dark);
  background: var(--yb-cream);
  font: inherit;
  font-size: 1.75rem;
  cursor: pointer;
}
.yb-sponsorship {
  padding-block: clamp(1.4rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, #f4ead7, #e6dfd1 100%);
}
.yb-sponsorship-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.9fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  max-width: 82rem;
}
.yibao main .yb-sponsorship h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.yb-sponsorship h2 span { color: #a7103e; white-space: nowrap; }
.yb-sponsorship .yb-gallery-header p { max-width: 24rem; }
.yb-sponsorship-controls:not([hidden]) {
  display: flex;
  gap: .25rem;
  justify-content: center;
  margin-top: .15rem;
}
.yb-sponsorship-controls button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #803046;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.yb-sponsorship-controls button:disabled { opacity: .35; cursor: default; }
.yb-sponsorship-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.yb-sponsorship-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.yb-sponsorship-scroll::-webkit-scrollbar { display: none; }
.yb-sponsorship-photos {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yb-sponsorship-photos > li { flex: 0 0 57%; scroll-snap-align: start; }
.yb-sponsorship-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 760px) {
  .yb-travel-layout, .yb-sponsorship-layout { grid-template-columns: 1fr; }
  .yb-travel-layout { gap: 1.85rem; }
  .yb-travel-layout article { grid-template-rows: auto; }
  .yb-travel-tasting .yb-travel-caption, .yb-travel-tasting .yb-travel-photos { grid-row: auto; }
  .yb-travel-tasting .yb-travel-caption { margin-top: 0; }
  .yb-travel-store .yb-travel-caption { padding-inline-start: 0; }
  .yb-travel::before { background-size: auto 70%; background-position: 45% 20%; }
  .yb-sponsorship-photos > li { flex-basis: 64%; }
}

@media (prefers-reduced-motion: no-preference) {
  .yb-gallery-awaiting { opacity: 0; }
  .yb-travel .yb-reveal, .yb-sponsorship .yb-reveal {
    animation: yb-gallery-enter .78s cubic-bezier(.22, .61, .36, 1) both;
  }
  .yb-travel-layout { --yb-gallery-offset-x: -1.15rem; }
  .yb-sponsorship-media { --yb-gallery-offset-x: 1.55rem; }
}
@keyframes yb-gallery-enter {
  from { opacity: 0; translate: var(--yb-gallery-offset-x, 0px) 1.25rem; }
  to { opacity: 1; translate: 0 0; }
}

.yb-kol {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.15rem, 6vw, 5.8rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse at 16% 37%, color-mix(in srgb, var(--yb-teal) 13%, transparent), transparent 42%),
    radial-gradient(ellipse at 87% 62%, color-mix(in srgb, var(--yb-pink) 9%, transparent), transparent 47%),
    linear-gradient(180deg, #e6dfd1, #fff2dd 25%);
}
.yb-kol::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url("/assets/yibao/kol-mascot.webp") right clamp(.25rem, 5vw, 5rem) top .85rem / clamp(142px, 28vw, 405px) auto no-repeat;
  opacity: .15;
}
.yb-kol .yb-gallery-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.7rem);
  text-align: center;
}
.yb-kol .yb-gallery-header h2 { color: var(--yb-pink); }
@supports (background-clip: text) {
  .yb-kol .yb-gallery-header h2 {
    display: inline-block;
    background-image: linear-gradient(90deg, var(--yb-pink), #8c164f, #17554a, var(--yb-pink));
    background-size: 200% 100%;
    background-clip: text;
    color: transparent;
  }
}
@keyframes yb-kol-gradient-flow {
  to { background-position: -200% 0; }
}
.yb-kol-masonry {
  --yb-kol-gap: clamp(.8rem, 2vw, 1.4rem);
  columns: 3;
  column-gap: var(--yb-kol-gap);
}
.yb-kol-masonry[data-columns] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  columns: auto;
}
.yb-kol-masonry[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yb-kol-masonry[data-columns="1"] { grid-template-columns: minmax(0, 1fr); }
.yb-kol-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  vertical-align: top;
  margin: 0 0 var(--yb-kol-gap);
  overflow: hidden;
  border: 1px solid #501c1422;
  border-radius: .9rem;
  background: #fff9ed;
}
.yb-kol-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 var(--yb-kol-height);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff9ed;
  cursor: zoom-in;
}
.yb-kol-frame:focus-visible { outline: 3px solid var(--yb-dark); outline-offset: -4px; }
.yb-kol-frame img {
  position: absolute;
  top: var(--yb-kol-top);
  left: var(--yb-kol-left);
  width: var(--yb-kol-width);
  max-width: none;
  height: auto;
  border-radius: 0;
}
.yb-kol-dialog {
  max-width: calc(100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: .4rem .5rem .55rem;
  border: 0;
  border-radius: .85rem;
  background: var(--yb-cream);
  box-shadow: 0 1.2rem 4rem #32100c65;
}
.yb-kol-dialog::backdrop { background: #32100cb8; }
.yb-kol-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 42rem);
  max-height: calc(100dvh - 5.4rem);
  object-fit: contain;
  border-radius: .35rem;
}
.yb-kol-close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 .28rem auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--yb-dark);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.yb-kol-card figcaption {
  padding: .65rem .85rem;
  font-size: .95rem;
  font-weight: 750;
}
@media (max-width: 760px) {
  .yb-kol-masonry { columns: 2; }
}
@media (max-width: 410px) {
  .yb-kol-masonry { columns: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .yb-kol .yb-gallery-header h2 { animation: yb-kol-gradient-flow 3s linear infinite; }
  .yb-kol-awaiting .yb-kol-card { opacity: 0; }
  .yb-kol-dialog[open] { animation: yb-kol-photo-in .23s ease-out both; }
}
@keyframes yb-kol-photo-in {
  from { opacity: 0; scale: .96; translate: 0 .6rem; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}
