








.as-top { --dwell: 6s; container-type: inline-size; }
.as-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.as-track {
  --w: min(max(87.5cqi, 280px), 1120px); --gap: 20px;
  display: flex; gap: var(--gap); margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  padding-inline: calc((100cqi - var(--w)) / 2); scroll-padding-inline: calc((100cqi - var(--w)) / 2);
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.as-track::-webkit-scrollbar { display: none; }



@media (hover: hover) and (pointer: fine) { .as-top[data-ring] .as-track { overflow-x: hidden; } }
.as-slide {
  flex: 0 0 var(--w); scroll-snap-align: center; position: relative; isolation: isolate;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; block-size: 612px; overflow: hidden;
  border-radius: 28px; color: var(--light-white); --as-hue: var(--light-blue);
  

  background: var(--light-ground);
  --as-ring: var(--night-rule);
}


.as-slide::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--as-ring); }
.as-slide[data-clone] { scroll-snap-align: none; }


.as-top[data-ring] .as-slide[data-clone] { scroll-snap-align: center; }
 
.as-slide:not([aria-current]) { cursor: pointer; }
.as-slide-art { position: relative; min-block-size: 0; }
 
.as-slide-art img, .as-slide-art canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; mix-blend-mode: lighten; }


.as-slide-foot { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-7) var(--space-6);
  transition: opacity 0.4s; }
.as-slide:not([aria-current]) .as-slide-foot { opacity: 0.4; }
.as-slide-foot p { margin: 0; min-inline-size: 0; font-size: var(--type-intro-size); line-height: 1.35; text-wrap: pretty;
  color: color-mix(in srgb, var(--light-white) 86%, var(--light-ground)); }
.as-slide-foot b { font-weight: 600; color: var(--light-white); }
.as-slide-foot b::after { content: '•'; margin-inline: 0.45em; font-weight: 400; }
.as-go { display: inline-flex; flex: none; align-items: center; block-size: 40px; padding: 0 20px; border-radius: var(--radius-pill);
  background: var(--light-white); color: var(--light-ground); text-decoration: none;
  font: 500 var(--type-post-size) / 1 var(--font-body); white-space: nowrap; transition: background 0.2s; }
.as-go:hover { background: var(--light-silver); }
.as-go:focus-visible { outline: 2px solid var(--light-white); outline-offset: 3px; }

 
.as-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-start: var(--space-5); }
html:not([data-js]) .as-ctl { display: none; }
.as-dots { display: flex; align-items: center; block-size: 36px; margin: 0; padding: 0 10px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--night-ink) 7%, var(--night-raised)); }
.as-dot { all: unset; display: grid; place-items: center; block-size: 36px; padding: 0 5px; cursor: pointer; }
.as-dot i { position: relative; display: block; inline-size: 8px; block-size: 8px; overflow: hidden; border-radius: 4px;
  background: color-mix(in srgb, var(--night-ink) 34%, transparent); transition: inline-size 0.35s; }
.as-dot[aria-current] i { inline-size: 36px; background: color-mix(in srgb, var(--night-ink) 22%, transparent); }
.as-dot[aria-current] i::after { content: ''; position: absolute; inset: 0 auto 0 0; inline-size: 100%; border-radius: inherit; background: var(--night-ink-muted); }
.as-top[data-playing] .as-dot[aria-current] i::after { inline-size: 0; animation: as-fill var(--dwell) linear forwards; }
@keyframes as-fill { to { inline-size: 100%; } }
.as-top[data-held] .as-dot[aria-current] i::after { animation-play-state: paused; }
.as-dot:focus-visible i { outline: 2px solid var(--night-accent); outline-offset: 3px; }


.as-dot:is(:hover, :active), .as-pause:is(:hover, :active) { transform: none; box-shadow: none; border-color: transparent; }
.as-dot:is(:hover, :active) { background: none; }
.as-dot:hover i { background: color-mix(in srgb, var(--night-ink) 62%, transparent); }
.as-dot[aria-current]:hover i { background: color-mix(in srgb, var(--night-ink) 30%, transparent); }
.as-pause { all: unset; position: relative; display: grid; place-items: center; inline-size: 36px; block-size: 36px; flex: none;
  border-radius: 50%; background: color-mix(in srgb, var(--night-ink) 7%, var(--night-raised)); color: var(--night-ink); cursor: pointer; transition: background 0.2s; }
.as-pause:hover { background: color-mix(in srgb, var(--night-ink) 13%, var(--night-raised)); }
.as-pause:focus-visible { outline: 2px solid var(--night-accent); outline-offset: 2px; }
 
.as-pause::before { content: ''; inline-size: 10px; block-size: 12px; border-inline: 3px solid currentColor; }
.as-pause[aria-pressed='true']::before { inline-size: 0; block-size: 0; margin-inline-start: 3px; border-block: 6.5px solid transparent; border-inline: 11px solid currentColor; border-inline-end: 0; }
@container (max-width: 1068px) { .as-slide { block-size: 557px; } }
 
@container (max-width: 734px) {
  .as-track { --w: calc(87.5cqi - 20px); --gap: 12px; }
  .as-slide { block-size: min(612px, max(550px, 100svh - 130px)); }
  .as-slide-foot { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-5) var(--space-5); }
  .as-slide-foot p { font-size: var(--type-post-size); }
   
  .as-slide-foot .as-go { order: 1; }
}




.as-slide[data-room] .as-slide-art :is(img, canvas) { filter: contrast(1.12) grayscale(1); }




.as-slide[data-room][aria-current] .as-slide-art :is(img, canvas) { animation: as-tint 1.2s var(--ease) 0.7s both; }
@keyframes as-tint { from { filter: contrast(1.12) grayscale(1); } to { filter: contrast(1.12) grayscale(0); } }
@media (prefers-reduced-motion: reduce) { .as-slide[data-room][aria-current] .as-slide-art :is(img, canvas) { animation: none; filter: contrast(1.12); } }





:root[data-theme='light'] .as-slide { background: color-mix(in srgb, var(--light-white) 5%, var(--light-ground)); }  
:root[data-theme='light'] .as-slide-art :is(img, canvas) { mix-blend-mode: multiply; }
:root[data-theme='light'] .as-slide[data-room] .as-slide-art :is(img, canvas) { filter: invert(1) hue-rotate(180deg) brightness(1.15) grayscale(1); }
:root[data-theme='light'] .as-slide[data-room][aria-current] .as-slide-art :is(img, canvas) { animation-name: as-tint-day; }
@keyframes as-tint-day { from { filter: invert(1) hue-rotate(180deg) brightness(1.15) grayscale(1); } to { filter: invert(1) hue-rotate(180deg) brightness(1.15) grayscale(0); } }
@media (prefers-reduced-motion: reduce) { :root[data-theme='light'] .as-slide[data-room][aria-current] .as-slide-art :is(img, canvas) { animation: none; filter: invert(1) hue-rotate(180deg) brightness(1.15); } }
