/* Order of the day (core/events/180, fork of core/events/130), INV-19 After Dark · Luxe (A2695, D-400; board screen A3): ORDER of the DAY over a mood photo of
   the couple's (gallery.0) that fades to night as the programme runs on; one hairline thread with a candle-coloured dot at each stop; the start time big in
   Bodoni with a script "pm"; the event in spaced capitals, the venue in italic, quiet Map and Add to calendar links, the wait to the next stop. On two or more
   days a strip of dates is pinned. A day stays one whole line at every size; on a laptop the title stands on one side and the programme on the other. */
.ev260 { position: relative; isolation: isolate; padding: 0 var(--k-gutter) clamp(24px, 4svh, 48px); text-align: center; color: var(--k-ink); --ev260-gap: 56px; }
.ev260__mood { bottom: auto; height: min(100%, max(120svh, 760px)); }
.ev260__mood::after { background: linear-gradient(var(--k-night), rgb(10 9 8 / .66) 16%, rgb(10 9 8 / .8) 46%, rgb(10 9 8 / .93) 74%, var(--k-night)); }
.ev260__date { margin: 22px 0 40px; }
.ev260__deck { max-width: 460px; margin: 0 auto; }

/* The strip of dates, pinned at the top of the screen */
.ev260-strip { position: sticky; top: 0; z-index: 3; display: flex; justify-content: center; gap: 4px; margin: 18px calc(var(--k-gutter) * -1) 26px; padding: 8px var(--k-gutter); background: rgb(10 9 8 / .94); box-shadow: 0 1px 0 var(--k-hair); }
.ev260-tab { flex: 0 1 58px; min-width: 0; min-height: 56px; display: grid; align-content: center; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; border-radius: 0; background: none; color: var(--k-ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 500 .7rem/1 var(--k-font-body); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s ease, color .3s ease; }
.ev260-tab b { font: 400 1.5rem/1 var(--k-font-display); letter-spacing: 0; font-variant-numeric: lining-nums; }
.ev260-tab.is-on { background: var(--k-mr-fill); color: var(--k-mr-on-fill); }

/* A day opens with its date */
.ev260-day__kick { margin-bottom: 6px; }
.ev260-day__big { margin-bottom: 34px; font: 400 calc(clamp(28px, 8vw, 40px) * var(--k-mr-z))/1.15 var(--k-font-display); letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
.ev260-rip { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 64px 0 10px; }
.ev260-rip::before, .ev260-rip::after { content: ""; height: 1px; width: clamp(60px, 20vw, 130px); background: var(--k-hair); }
.ev260-rip .k-mr-ic { width: 36px; height: 36px; }
.ev260-rip__w { display: block; margin-bottom: 18px; font: italic 500 1em/1.4 var(--k-font-body); color: var(--k-ink-soft); }

/* The thread and its stops: time and words on the left of the stop's icon */
.ev260-ev { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 46px; column-gap: 14px; padding-left: 30px; text-align: left; --ev260-top: 0px; }
.ev260-ev + .ev260-ev { padding-top: var(--ev260-gap); --ev260-top: var(--ev260-gap); }
.ev260-ev::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: var(--k-hair); }
.ev260-ev:first-child::before { top: 22px; }
.ev260-ev:last-child::before { bottom: auto; height: calc(var(--ev260-top) + 22px); }
.ev260-ev:only-child::before { display: none; }
.ev260-ev__dot { position: absolute; left: 2px; top: calc(var(--ev260-top) + 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--k-champ); box-shadow: 0 0 10px 2px rgb(216 180 122 / .35); }
.ev260-ev__ic { width: 40px; height: 40px; margin-top: 8px; opacity: .85; }
.ev260-ev__b { min-width: 0; }
.ev260-gap { position: absolute; left: 30px; top: calc(var(--ev260-gap) * .5 - .62em); font: italic 500 .86em/1 var(--k-font-body); color: var(--k-ink-soft); white-space: nowrap; }
.ev260-ev__day { font: 500 .75rem/1.6 var(--k-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--k-ink-soft); }
.ev260.is-dealt .ev260-ev__day { display: none; }
.ev260-ev__time { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; font: 400 calc(30px * (var(--k-mr-z) + .08))/1.1 var(--k-font-display); font-variant-numeric: lining-nums; }
.ev260-ev__time b { font: 400 calc(40px * (var(--k-mr-z) + .08))/1 var(--k-font-display); }
.ev260-ev__time em { font: 400 calc(30px * (var(--k-mr-z) + .08))/.7 var(--k-font-script); font-style: normal; color: var(--k-champ); padding: 0 .2em 0 .05em; }
.ev260-ev__until { flex-basis: 100%; margin-top: 2px; font: italic 500 calc(14px * (var(--k-mr-z) + .08))/1.3 var(--k-font-body); color: var(--k-ink-soft); }
.ev260-ev__name { margin-top: 8px; font: 500 calc(15px * (var(--k-mr-z) + .08))/1.35 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; text-wrap: balance; }
.ev260-nb { white-space: nowrap; }
.ev260-ev__where { margin-top: 4px; font-style: italic; font-size: .98em; line-height: 1.4; color: var(--k-ink); }
.ev260-ev__fact { font-size: .9em; line-height: 1.4; color: var(--k-ink-soft); text-wrap: pretty; }
.ev260-ev__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; font-size: .92em; }
.ev260 .kjy-cal__toggle { color: var(--k-mr-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* A3086 (owner, D-545: "the word directions ... instead of saying map ... slightly more prominent ... underlined ... like shine going in through from one
   side"): the pin, the word in champagne letter-spaced capitals over a fine champagne rule, apart from the calendar's italic. As the row arrives (is-in)
   one light crosses the word, left to right, once (the text's own gradient slides; it ends on the plain champagne, so the still look is the same).
   Under kjy-fx, not lite, not Reduce motion and not live=off|freeze (is-still); without script the word and rule are there, still. */
.ev260-ev__map { display: inline-flex; align-items: center; gap: .55em; min-height: 32px; color: var(--k-champ); font: 500 .84em/1.2 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.ev260-ev__pin { flex: none; width: 1.4em; height: 1.4em; }
.ev260-ev__dir { --ev260-rule: color-mix(in srgb, var(--k-champ) 72%, transparent); position: relative; padding-bottom: 4px; }
.ev260-ev__dir::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 1px; background: var(--ev260-rule); } /* right: the capitals' tracking past the last letter */
@keyframes ev260-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  html.kjy-fx:not(.kjy-lite) .ev260.is-armed:not(.is-still) .ev260-ev.is-in .ev260-ev__dir { background: linear-gradient(100deg, var(--k-champ) 0 34%, #F7E9CC 43%, #FFFFFF 50%, #F7E9CC 57%, var(--k-champ) 66% 100%) 100% 0 / 280% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: ev260-shine 1.5s cubic-bezier(.45, 0, .25, 1) 1.1s 1 both; }
  html.kjy-fx:not(.kjy-lite) .ev260.is-armed:not(.is-still) .ev260-ev.is-in .ev260-ev__dir::after { background: linear-gradient(90deg, var(--ev260-rule) 0 36%, #FFFFFF 50%, var(--ev260-rule) 64% 100%) 100% 0 / 280% 100% no-repeat; animation: ev260-shine 1.5s cubic-bezier(.45, 0, .25, 1) 1.1s 1 both; } /* the same light runs along the rule */
}
.ev260 .kjy-cal__toggle { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font: italic 500 1em/1.6 var(--k-font-body); letter-spacing: 0; text-transform: none; cursor: pointer; }
.ev260 .kjy-cal__menu { left: 0; translate: 0 0; }

@media (min-width: 1024px) {
  .ev260 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 0 5vw; max-width: 1240px; margin: 0 auto; }
  .ev260 > .k-mr-gap { grid-column: 1 / -1; }
  .ev260__head { position: sticky; top: 22svh; }
  .ev260__deck { max-width: 540px; margin: 0; }
  .ev260:has(.ev260-strip) .ev260__head { position: static; grid-column: 1 / -1; }
  .ev260-strip { grid-column: 1 / -1; }
  .ev260:has(.ev260-strip) .ev260__deck { grid-column: 1 / -1; margin: 0 auto; }
  .ev260__mood { left: calc(50% - 50vw); right: calc(50% - 50vw); }
}

/* W2 (A2707): the programme lights up. The thread fills stop by stop with the scroll and only grows; each dot lights as the thread reaches it and
   stays lit (section.js). Under kjy-fx and is-armed only: lite, Reduce motion and no script show the whole thread and every dot lit. */
html.kjy-fx:not(.kjy-lite) .ev260.is-armed:not(.is-done) .ev260-ev::before { transform-origin: 50% 0; transform: scaleY(var(--ev260-f, 0)); }
html.kjy-fx:not(.kjy-lite) .ev260.is-armed .ev260-ev__dot { transition: opacity .4s ease, box-shadow .4s ease; }
html.kjy-fx:not(.kjy-lite) .ev260.is-armed .ev260-ev:not(.is-lit) .ev260-ev__dot { opacity: .25; box-shadow: none; }

/* W1.3 (A3042; owner: "make the Ink like as White rose rotating and moving just like we have done in INV 12"): the white rose that rides the
   thread (section.js makes it and moves it: --ev260-ry its centre from the list's top, --ev260-rr its turn). The shadow sits on the outer box
   and the turn on the inner one, so the shadow always falls down-right. Each stop's words come in from the thread as the rose arrives (is-in),
   once; under kjy-fx and is-armed only, so lite, Reduce motion and no script show every word and no rose. */
.ev260-card__list { position: relative; }
.ev260-rider { --ev260-rs: 26px; position: absolute; left: calc(6.5px - var(--ev260-rs) / 2); top: 0; z-index: 2; width: var(--ev260-rs); aspect-ratio: 800 / 722;
  translate: 0 calc(var(--ev260-ry, 0px) - 50%); filter: drop-shadow(2px 4px 4px rgb(0 0 0 / .8)); pointer-events: none; }
.ev260-rider b { position: absolute; inset: 0; background: url("/skins/midnight_rose_luxe/assets/art/mr-bloom-400.webp") center / contain no-repeat; rotate: var(--ev260-rr, 0deg); }
html.kjy-fx:not(.kjy-lite) .ev260.is-armed .ev260-ev :is(.ev260-ev__b, .ev260-ev__ic, .ev260-gap) { transition: opacity .9s ease, translate 1.1s var(--k-ease); }
html.kjy-fx:not(.kjy-lite) .ev260.is-armed .ev260-ev:not(.is-in) :is(.ev260-ev__b, .ev260-ev__ic, .ev260-gap) { opacity: 0; translate: 14px 0; }
@media (min-width: 700px) { .ev260-rider { --ev260-rs: 30px; } }

