/* core/venue/010_venues_on_pearl_pins (A1882, fork of vn007; one card per venue on pearl pins, master plan D6 vn010). From core/venue/007_venue_on_the_thread — comments: docs/inv06_css_notes.md (moved out for the before-tap budget, A1489) */
.vn010 {
  --vn010-cw: min(640px, 100cqw - 12px);
  --vn010-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;
}
.vn010__thread, .vn010__face { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.vn010__face { z-index: 3; }
.vn010__thread-x { position: absolute; top: 0; left: var(--k-thread-x); width: 0; height: 0; visibility: hidden; }
.vn010::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; }
.vn010.is-anim::before, .vn010:not(.is-anim) .vn010__thread, .vn010:not(.is-anim) .vn010__face { display: none; }
.vn010__eyelet { position: absolute; z-index: 2; display: none; width: 9px; height: 2.4px; border-radius: 1.2px; transform: translate(-50%, -50%);
  background: rgb(58 44 28 / .58); box-shadow: inset 0 .7px .8px rgb(0 0 0 / .35), 0 .7px 0 rgb(255 255 255 / .75); }
.vn010.has-eyelets .vn010__eyelet { display: block; }
/* Luxe (A1882): the knot and rider pearls, the pearl-headed pin each lead print hangs from, more cards, the extra-venue line */
.vn010__pearls { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.vn010 .vn010__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; }
.vn010 .vn010__knot.is-on { opacity: 1; translate: 0 0; }
.vn010 .vn010__rider { position: absolute; z-index: 0; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; opacity: 0; transition: opacity .2s; }
.vn010 .vn010__rider--face { z-index: 3; }
html:not(.kjy-fx) .vn010__rider { display: none; }
.vn010__hang { position: absolute; z-index: 3; left: 50%; top: -9px; width: 2px; height: 22px; margin-left: -1px; background: linear-gradient(var(--k-foil), color-mix(in srgb, var(--k-foil) 70%, #3a2c1c)); border-radius: 1px; box-shadow: .6px 1px 1px rgb(60 45 25 / .3); pointer-events: none; }
.vn010 .vn010__pinhead { position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; }
.vn010-card ~ .vn010-card .vn010__spray { display: none; } /* one rose spray, on the first card */
.vn010-card + .vn010-card { margin-top: 56px; }
.vn010__more { position: relative; z-index: 4; display: grid; gap: 6px; max-width: 46ch; margin: 32px auto 0; padding: 0 var(--k-gutter); list-style: none; font: 500 .98rem/1.5 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance; }
.vn010__more-name { font-weight: 600; color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vn010__inner { position: relative; }
.vn010__head { position: relative; z-index: 4; padding: 0 var(--k-gutter); }
.vn010 .k-kicker + .k-title { margin-top: var(--k-s-2); }
.vn010__rulewrap { position: relative; display: flow-root; width: 200px; margin: 0 auto; }
.vn010__rule { display: block; }
.vn010__rule--foil { position: absolute; left: 0; top: 0; color: color-mix(in srgb, var(--k-foil, #B08D4F) 40%, #FFF6E2); opacity: 0; }
html:not(.motion-reduce) .vn010.is-lit .vn010__rule--foil {
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; animation: vn010-rule 2.2s ease-in-out .2s 1 both;
}
@keyframes vn010-rule { 0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; } 92% { opacity: 1; } 100% { opacity: 0; -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
.vn010__count { margin-top: var(--k-s-4); font: 500 .78rem/1.5 var(--k-font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--c-primary); }
.vn010-card { position: relative; width: var(--vn010-cw); margin: 72px auto 0; }
.vn010-card--plain { width: min(640px, 100cqw - 12px); }
.vn010-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); }
.vn010-card__shade path { fill: rgb(47 42 36 / .16); }
.vn010-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)); }
.vn010-card__fill { fill: var(--k-card); }
.vn010-card__rim { fill: none; stroke: var(--k-foil); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.vn010-card__body { position: relative; padding: 52px 20px 56px; }
.vn010__prints { position: relative; z-index: 4; }
.vn010__lead {
  position: relative; display: block; padding: 8px; background: #FFFFFF;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-foil, #B08D4F) 70%, transparent);
  filter: drop-shadow(1px 1px 1px rgb(47 42 36 / .10)) drop-shadow(5px 9px 9px rgb(47 42 36 / .14));
  transform: rotate(-1.2deg);
}
.vn010__lead-frame { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--k-paper-deep); }
.vn010__lead-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--vn010-pos, 50% 50%); }
.vn010.is-par .vn010__lead-img { top: -8%; height: 116%; }
.vn010__rest { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: -9%; padding: 0 2%; }
.vn010__rest--one { justify-content: flex-end; }
.vn010__small { display: block; width: 34%; }
.vn010__small-img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 6px; background: #FFFFFF;
  object-fit: cover; object-position: var(--vn010-pos, 50% 50%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-foil, #B08D4F) 70%, transparent), 1px 1px 1px rgb(47 42 36 / .10), 5px 9px 9px rgb(47 42 36 / .14);
  transform: rotate(3deg);
}
.vn010__small + .vn010__small .vn010__small-img { transform: rotate(-2deg); }
.vn010__lead:focus-visible, .vn010__small:focus-visible { outline-offset: 4px; }
html.kjy-lite .vn010.is-par .vn010__lead-img { top: 0; height: 100%; transform: none !important; }
html.kjy-lite .vn010 .vn010__small { transform: none !important; }
.vn010__medal { position: relative; z-index: 4; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; background: var(--k-card); box-shadow: 0 0 0 1px var(--k-foil), inset 0 0 0 5px var(--k-card), inset 0 0 0 6px color-mix(in srgb, var(--k-foil) 70%, transparent), 2px 4px 8px rgb(47 42 36 / .10); }
.vn010__bud { position: relative; width: 72px; filter: none; }
.vn010__info { position: relative; z-index: 4; width: fit-content; max-width: 100%; margin: 34px auto 0; padding-left: 44px; text-align: left; }
.vn010__pin { position: absolute; left: 10px; top: 3px; width: 14px; height: 20px; overflow: visible; filter: drop-shadow(.5px 1px .6px rgb(47 42 36 / .35)); }
.vn010__pin-body { fill: var(--k-foil, #B08D4F); }
.vn010__pin-hole { fill: var(--k-card); }
.vn010__pin-hi { fill: none; stroke: rgb(255 246 226 / .7); stroke-width: 1; stroke-linecap: round; }
.vn010__name { font: 600 1.2rem/1.3 var(--k-font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--k-ink); overflow-wrap: anywhere; text-wrap: balance; }
.vn010__addr { max-width: 34ch; margin-top: 8px; font: 500 1rem/1.5 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance; }
.vn010__events { display: grid; gap: 10px; margin-top: 18px; font: 500 1rem/1.45 var(--k-font-body); }
.vn010__ev, .vn010__when { display: block; }
.vn010__ev { font-weight: 600; color: var(--k-ink); }
.vn010__when { color: var(--k-ink-soft); }
.vn010__go { margin-top: 22px; }
.vn010__btn { min-height: 44px; padding: 0 18px; font-size: .7rem; letter-spacing: .14em; background: var(--k-card); }
.vn010__note { position: relative; z-index: 4; max-width: 40ch; margin: 28px auto 0; padding: 0 var(--k-gutter); font: italic 500 1.0625rem/1.5 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance; }
.vn010__spray { z-index: 5; width: var(--vn010-sp); right: -2px; top: calc(var(--vn010-sp) * -.34); transform: rotate(-7deg); }
.vn010.is-near .vn010__spray .k-spray__tint--petal, .js.motion-reduce .vn010 .vn010__spray .k-spray__tint--petal { -webkit-mask-image: url("assets/vn-tr-day-petal.webp"), url("assets/vn-tr-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/vn-tr-day-petal.webp"), url("assets/vn-tr-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__spray :is(.k-spray__tint--boost, .k-spray__tint--deep), .js.motion-reduce .vn010 .vn010__spray :is(.k-spray__tint--boost, .k-spray__tint--deep) { -webkit-mask-image: url("assets/vn-tr-day-petal.webp"), url("assets/vn-tr-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/vn-tr-day-petal.webp"), url("assets/vn-tr-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__spray .k-spray__tint--leaf, .js.motion-reduce .vn010 .vn010__spray .k-spray__tint--leaf { -webkit-mask-image: url("assets/vn-tr-day-leaf.webp"), url("assets/vn-tr-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/vn-tr-day-leaf.webp"), url("assets/vn-tr-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__spray .k-spray__tint--gold, .js.motion-reduce .vn010 .vn010__spray .k-spray__tint--gold { -webkit-mask-image: url("assets/vn-tr-day-gold.webp"), url("assets/vn-tr-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/vn-tr-day-gold.webp"), url("assets/vn-tr-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__bud .k-spray__tint--petal, .js.motion-reduce .vn010 .vn010__bud .k-spray__tint--petal { -webkit-mask-image: url("assets/bud-b-day-petal.webp"), url("assets/bud-b-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/bud-b-day-petal.webp"), url("assets/bud-b-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__bud :is(.k-spray__tint--boost, .k-spray__tint--deep), .js.motion-reduce .vn010 .vn010__bud :is(.k-spray__tint--boost, .k-spray__tint--deep) { -webkit-mask-image: url("assets/bud-b-day-petal.webp"), url("assets/bud-b-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/bud-b-day-petal.webp"), url("assets/bud-b-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__bud .k-spray__tint--leaf, .js.motion-reduce .vn010 .vn010__bud .k-spray__tint--leaf { -webkit-mask-image: url("assets/bud-b-day-leaf.webp"), url("assets/bud-b-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/bud-b-day-leaf.webp"), url("assets/bud-b-day.webp"); mask-composite: intersect; }
.vn010.is-near .vn010__bud .k-spray__tint--gold, .js.motion-reduce .vn010 .vn010__bud .k-spray__tint--gold { -webkit-mask-image: url("assets/bud-b-day-gold.webp"), url("assets/bud-b-day.webp"); -webkit-mask-composite: source-in; mask-image: url("assets/bud-b-day-gold.webp"), url("assets/bud-b-day.webp"); mask-composite: intersect; }
.vn010 .k-spray__tint { display: none; }
.vn010.is-near .k-spray__tint, .js.motion-reduce .vn010 .k-spray__tint { display: block; }
.vn010 .k-spray__base { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (min-width: 768px) {
  .vn010 { --vn010-sp: 150px; }
  .vn010__spray { right: calc(var(--vn010-sp) * -.18); }
  .vn010-card { margin-top: 64px; }
  .vn010-card__body { padding: 60px 48px 64px; }
  .vn010__name { font-size: 1.35rem; }
  .vn010__eyelet { width: 11px; height: 2.6px; border-radius: 1.3px; }
  .vn010 .vn010__knot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
  .vn010 .vn010__rider { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .vn010-card + .vn010-card { margin-top: 64px; }
}
@media (min-width: 1200px) {
  .vn010 { --vn010-cw: min(980px, 100cqw - 12px); --vn010-sp: 170px; }
  .vn010-card { margin-top: 72px; }
  .vn010-card:not(.vn010-card--plain) .vn010-card__body { display: grid; grid-template-columns: 55fr 45fr; column-gap: 48px; align-items: center; padding: 64px 56px 68px; }
  .vn010-card:not(.vn010-card--plain) .vn010__info { margin: 0; }
  .vn010__spray { top: calc(var(--vn010-sp) * -.55); }
  .vn010__name { font-size: 1.45rem; }
  .vn010__eyelet { width: 12px; height: 2.8px; border-radius: 1.4px; }
  .vn010 .vn010__knot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .vn010 .vn010__rider { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
  .vn010-card + .vn010-card { margin-top: 72px; }
}
.vn010__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--k-paper, #FBF7F1); color: var(--k-ink);
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn010__view::backdrop { background: var(--k-paper, #FBF7F1); }
.vn010__view[open] { animation: vn010-in .22s ease-out; }
@keyframes vn010-in { from { opacity: 0; } }
.vn010__view-in {
  height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "fig fig" "prev next"; align-items: center; gap: var(--k-s-4);
  padding: calc(76px + env(safe-area-inset-top)) var(--k-s-4) calc(var(--k-s-5) + env(safe-area-inset-bottom));
}
.vn010__view-fig {
  grid-area: fig; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; height: 100%; margin: 0;
}
.vn010__view-img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(78vh, calc(100vh - 240px)); max-height: min(78svh, calc(100svh - 240px));
  object-fit: contain; padding: var(--k-s-2); background: #fff; border-radius: 2px; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 18px 40px -24px rgb(var(--c-primary-rgb) / .55), 0 1px 2px rgb(58 52 49 / .08);
}
.vn010__view-cap {
  max-width: 60ch; margin-top: var(--k-s-3); text-align: center;
  font: italic 500 1rem/1.45 var(--k-font-body); color: var(--k-ink-soft);
}
.vn010__view-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vn010__view-btn[hidden] { display: none; }
.vn010__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn010__view-close {
  position: absolute; z-index: 2; top: calc(var(--k-s-4) + env(safe-area-inset-top)); right: calc(var(--k-s-4) + env(safe-area-inset-right));
  background: var(--c-primary); color: #fff; border: 1px solid var(--c-primary);
  box-shadow: 0 8px 20px -10px rgb(var(--c-primary-rgb) / .7);
}
.vn010__view-close:active { background: var(--c-primary-dark); }
.vn010__view-prev, .vn010__view-next {
  background: var(--k-card); color: var(--c-primary); border: 1px solid rgb(var(--c-primary-rgb) / .3);
  box-shadow: 0 8px 20px -12px rgb(var(--c-primary-rgb) / .5);
}
.vn010__view-prev { grid-area: prev; justify-self: end; }
.vn010__view-next { grid-area: next; justify-self: start; }
@media (min-width: 768px) {
  .vn010__view-in {
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "prev fig next"; gap: var(--k-s-5);
    padding: calc(76px + env(safe-area-inset-top)) var(--k-s-5) var(--k-s-5);
  }
  .vn010__view-prev, .vn010__view-next { justify-self: center; }
  .vn010__view-img { padding: var(--k-s-3); max-height: min(78vh, calc(100vh - 180px)); max-height: min(78svh, calc(100svh - 180px)); }
}
@media (min-width: 1200px) {
  .vn010__view-in { padding: var(--k-s-5); }
  .vn010__view-img { max-height: min(84vh, calc(100vh - 130px)); max-height: min(84svh, calc(100svh - 130px)); }
}
