/* Vilo Moments: the "Up next" timeline. Always the next three months from today, drawn as an S on scroll.
   Built by js/moments-snake.js from js/moments-data.js. */
.sn { position: relative; margin-top: 26px; }
.sn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sn-track { fill: none; stroke: rgba(23,23,26,.08); stroke-width: 3; stroke-linecap: round; }
.sn-line { fill: none; stroke: url(#sn-grad); stroke-width: 3; stroke-linecap: round; }
.sn-head { fill: #FFFFFF; stroke: #7C6CF0; stroke-width: 4; filter: drop-shadow(0 0 6px rgba(124,108,240,.45)); }
.sn-row { position: relative; height: 286px; }
.sn-items { position: relative; height: 240px; }
.sn-i { position: absolute; top: 0; left: 0; width: 260px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.sn-gap { height: 116px; flex: none; }
/* the real-world card */
.sn-c { position: relative; height: 84px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 20px; background: #FFFFFF; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 rgba(23,23,26,.03), 0 22px 44px -30px rgba(60,40,100,.5), inset 0 0 0 1px rgba(23,23,26,.05); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity 480ms cubic-bezier(.22,1,.36,1), transform 560ms cubic-bezier(.22,1,.36,1), box-shadow 300ms; }
.sn-i.on .sn-c { opacity: 1; transform: none; }
.sn-i.on .sn-c:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(60,40,100,.6), inset 0 0 0 1px rgba(23,23,26,.06); }
.sn-c:focus-visible, .sn-g:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; }
.sn-art { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 80% at 30% 20%, rgba(255,255,255,.75), transparent 60%), var(--tint); }
.sn-art img { width: 44px; height: 44px; object-fit: contain; }
.sn-cal { position: absolute; top: -10px; inset-inline-start: -8px; display: flex; flex-direction: column; align-items: center; overflow: hidden; border-radius: 9px; background: #FFFFFF; box-shadow: 0 6px 14px -8px rgba(40,30,70,.5); min-width: 34px; }
.sn-cal small { align-self: stretch; text-align: center; padding: 3px 4px 2px; font: 700 8.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; background: var(--ink); }
.sn-cal b { direction: ltr; unicode-bidi: isolate; padding: 2px 5px 4px; font: 700 14px/1 var(--disp); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sn-tx { min-width: 0; }
.sn-tx b { display: block; font: 700 15px/1.2 var(--disp); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sn-tx small { display: block; margin-top: 4px; font: 500 12px/1.3 var(--sans); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-c .sn-more { position: absolute; top: 8px; inset-inline-end: 8px; width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: var(--paper, #F4F2FB); font: 600 14px/1 var(--sans); color: var(--ink-2); }
/* the game pill */
.sn-g { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; background: linear-gradient(180deg, #3B1D45, #2A1233); color: #FFFFFF; text-decoration: none; box-shadow: 0 14px 28px -16px rgba(42,18,51,.8); opacity: 0; transform: translateY(-10px); transition: opacity 420ms cubic-bezier(.22,1,.36,1) 220ms, transform 520ms cubic-bezier(.22,1,.36,1) 220ms, box-shadow 300ms; }
:root[dir="rtl"] .sn-g { padding: 6px 6px 6px 12px; }
.sn-i.on .sn-g { opacity: 1; transform: none; }
.sn-g:hover { box-shadow: 0 18px 32px -14px rgba(42,18,51,.9), 0 0 0 2px rgba(124,108,240,.6); }
.sn-gi { width: 28px; height: 28px; border-radius: 9px; background: #FFFFFF; display: grid; place-items: center; flex: none; } .sn-gi .slk { width: 15px; height: 15px; }
.sn-gt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sn-gt small { font: 600 9.5px/1 var(--sans); letter-spacing: .04em; color: rgba(255,255,255,.6); }
.sn-gt b { font: 700 13px/1.15 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-go { margin-inline-start: auto; padding-inline-start: 8px; font: 700 12px/1 var(--sans); color: #CFC6FF; white-space: nowrap; }
/* wires, dots, month marks, today */
.sn-wires { position: absolute; top: 84px; left: 0; width: 100%; height: 50px; overflow: visible; pointer-events: none; }
.sn-w { fill: none; stroke: rgba(91,71,245,.35); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; transition: opacity 500ms 150ms; }
.sn-w.on { opacity: 1; }
.sn-dot { position: absolute; top: 134px; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 99px; background: var(--tint); box-shadow: 0 0 0 3px #FFFFFF, 0 4px 10px -4px rgba(40,30,70,.5); transform: scale(0); transition: transform 400ms cubic-bezier(.34,1.56,.64,1); z-index: 1; }
.sn-dot.on { transform: none; }
.sn-mk { position: absolute; top: 142px; margin-top: 10px; padding: 6px 11px; border-radius: 99px; background: var(--ink); color: #FFFFFF; font: 700 12px/1 var(--sans); letter-spacing: .04em; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 8px 18px -10px rgba(23,23,26,.6); z-index: 1; }
.sn-mk::before { content: ""; position: absolute; top: -12px; left: 50%; height: 12px; border-inline-start: 2px solid var(--ink); }
.sn-mk.st { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 18px -12px rgba(23,23,26,.5); }
.sn-today { position: absolute; top: 146px; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--sans); color: var(--iris); white-space: nowrap; transform: translateX(-50%); }
.sn-today i { width: 7px; height: 7px; border-radius: 99px; background: var(--iris); }
.sn-foot { margin-top: 6px; font-size: 12.5px; color: var(--mute); }
.sn-empty { padding: 20px 0; color: var(--mute); }
/* phones: one line down the side */
@media (max-width: 760px) {
  .sn-svg, .sn-wires, .sn-dot, .sn-mk, .sn-today { display: none; }
  .sn::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 7px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #7C6CF0, #D9577F); }
  .sn-row { height: auto; }
  .sn-items { height: auto; display: flex; flex-direction: column; gap: 22px; padding-inline-start: 28px; }
  .sn-row + .sn-row { margin-top: 22px; }
  .sn-i { position: relative; width: auto !important; left: auto !important; }
  .sn-i::before { content: ""; position: absolute; top: 36px; inset-inline-start: -26px; width: 11px; height: 11px; border-radius: 99px; background: var(--tint); box-shadow: 0 0 0 3px #FFFFFF; }
  .sn-gap { height: 8px; }
  .sn-g { align-self: flex-start; max-width: 100%; }
  .sn-m-month { display: block; margin: 0 0 12px; padding-inline-start: 28px; font: 700 11px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--iris); }
}
@media (min-width: 761px) { .sn-m-month { display: none; } }
@media (prefers-reduced-motion: reduce) { .sn-c, .sn-g, .sn-dot, .sn-w { transition: none !important; } }
