/* addon/story/006_story_on_the_thread — comments: docs/inv06_css_notes.md (moved out for the before-tap budget, A1489) */
.st008 {
  --st008-cw: min(640px, 100cqw - 12px);
  --st008-sp: 120px;
  position: relative; isolation: isolate; container-type: inline-size; overflow-x: hidden; overflow-x: clip;
  padding: var(--k-section-pad) 0; background: var(--k-light-ground); color: var(--k-ink); text-align: center;
}
.st008__thread { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.st008__thread-x { position: absolute; top: 0; left: var(--k-thread-x); width: 0; height: 0; visibility: hidden; }
.st008::before { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--k-thread-x); width: var(--k-thread-w); margin-left: calc(var(--k-thread-w) / -2); background: var(--k-foil); pointer-events: none; }
.st008.is-anim::before, .st008:not(.is-anim) .st008__thread { display: none; }
.st008-card { position: relative; width: var(--st008-cw); margin: 0 auto; }
.st008-card__shade { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; transform: translate(4px, 8px); filter: blur(7px); }
.st008-card__shade path { fill: rgb(47 42 36 / .16); }
.st008-card__paper { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 1px rgb(47 42 36 / .07)); }
.st008-card__fill { fill: var(--k-card); }
.st008-card__rim { fill: none; stroke: var(--k-foil); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.st008-card__body { position: relative; z-index: 2; padding: 64px 28px 76px; }
.st008__rule { width: 170px; margin: 10px auto 0; }
.st008__text { max-width: 58ch; margin: 24px auto 0; }
.st008__p { font: 400 1.12rem/1.65 var(--k-font-body); color: var(--k-ink); text-wrap: pretty; }
.st008__p + .st008__p { margin-top: 1em; }
.st008__heart { display: block; width: 16px; height: 14px; margin: 24px auto 0; fill: var(--k-foil, #B08D4F); filter: drop-shadow(.5px 1px .6px rgb(47 42 36 / .3)); }
.st008__spray { z-index: 3; width: var(--st008-sp); right: -2px; bottom: calc(var(--st008-sp) * -.78); transform: rotate(6deg); }
.st008.is-near .st008__spray .k-spray__tint--petal, .js.motion-reduce .st008 .st008__spray .k-spray__tint--petal { -webkit-mask-image: url("assets/st-br-day-petal.webp"), url("assets/st-br-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/st-br-day-petal.webp"), url("assets/st-br-day.webp"); mask-composite: intersect; }
.st008.is-near .st008__spray :is(.k-spray__tint--boost, .k-spray__tint--deep), .js.motion-reduce .st008 .st008__spray :is(.k-spray__tint--boost, .k-spray__tint--deep) { -webkit-mask-image: url("assets/st-br-day-petal.webp"), url("assets/st-br-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/st-br-day-petal.webp"), url("assets/st-br-day.webp"); mask-composite: intersect; }
.st008.is-near .st008__spray .k-spray__tint--leaf, .js.motion-reduce .st008 .st008__spray .k-spray__tint--leaf { -webkit-mask-image: url("assets/st-br-day-leaf.webp"), url("assets/st-br-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/st-br-day-leaf.webp"), url("assets/st-br-day.webp"); mask-composite: intersect; }
.st008.is-near .st008__spray .k-spray__tint--gold, .js.motion-reduce .st008 .st008__spray .k-spray__tint--gold { -webkit-mask-image: url("assets/st-br-day-gold.webp"), url("assets/st-br-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/st-br-day-gold.webp"), url("assets/st-br-day.webp"); mask-composite: intersect; }
.st008 .k-spray__tint { display: none; }
.st008.is-near .k-spray__tint, .js.motion-reduce .st008 .k-spray__tint { display: block; }
.st008 .k-spray__base { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (min-width: 768px) {
  .st008 { --st008-sp: 150px; }
  .st008__spray { right: calc(var(--st008-sp) * -.22); }
  .st008-card__body { padding: 76px 64px 92px; }
}
@media (min-width: 1200px) {
  .st008 { --st008-cw: min(720px, 100cqw - 12px); --st008-sp: 170px; }
  .st008-card__body { padding: 84px 80px 104px; }
}
/* Luxe (A1882): the knot and rider pearls, and the pressed photo petal at the card's lower right */
.st008__pearls { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.st008 .st008__knot { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; opacity: 0; translate: 0 -2px; transition: opacity .22s, translate .22s; }
.st008 .st008__knot.is-on { opacity: 1; translate: 0 0; }
.st008 .st008__rider { position: absolute; z-index: 0; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; opacity: 0; transition: opacity .2s; }
html:not(.kjy-fx) .st008__rider { display: none; }
.st008__petal { position: absolute; z-index: 3; right: 21%; bottom: 30px; width: 44px; height: 44px; transform: rotate(-24deg); pointer-events: none; -webkit-user-select: none; user-select: none;
  filter: drop-shadow(.6px 1.2px 1px rgb(60 45 25 / .28)) drop-shadow(1.5px 3px 4px rgb(60 45 25 / .14)); }
@media (min-width: 768px) {
  .st008 .st008__knot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
  .st008 .st008__rider { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .st008__petal { width: 52px; height: 52px; bottom: 36px; }
}
@media (min-width: 1200px) {
  .st008 .st008__knot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .st008 .st008__rider { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
  .st008__petal { width: 60px; height: 60px; }
}
