/* Noir's native components, rebuilt for the web.
   Inside a phone, everything is laid out in iOS points on a 393 × 852 screen
   and scaled to fit (see js/lib/phone.js). Sizes reference the SwiftUI source. */

/* ---------- iPhone frame ---------- */
.phone { position: relative; width: var(--pw, 340px); container-type: inline-size; }
.phone__body {
  position: relative; aspect-ratio: 413 / 872; border-radius: 16.5cqw;
  background: linear-gradient(150deg, #3a3a3c, #131314 38%, #1d1d1f 70%, #3b3b3d);
  box-shadow: 0 0 0 .3cqw #000, inset 0 0 0 .5cqw rgba(255, 255, 255, .14), 0 60px 120px -40px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.phone__screen { position: absolute; inset: 2.42cqw; border-radius: 14cqw; overflow: hidden; background: #000; isolation: isolate; }
.phone__island { position: absolute; z-index: 30; top: 3.4cqw; left: 50%; width: 30.5cqw; height: 9cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.app { position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform: scale(var(--k, 1)); transform-origin: 0 0; overflow: hidden; background: #000; font-family: var(--display); color: #fff; -webkit-user-select: none; user-select: none; }
.app * { line-height: 1.2; }
:where(.app) button { background: none; border: 0; padding: 0; cursor: pointer; }
.app img { max-width: none; }

.a-status { position: absolute; z-index: 25; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 50px; font: 600 17px/1 var(--display); letter-spacing: -.01em; pointer-events: none; }
.a-status__icons { display: flex; align-items: center; gap: 6px; }
.a-status__icons svg { height: 12px; width: auto; }

/* Floating tab bar (CustomFloatingTabBar): 286 × 62 capsule */
.a-tabbar { position: absolute; z-index: 20; left: 50%; bottom: 22px; width: 286px; height: 62px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 99px; background: rgba(0, 0, 0, .58); -webkit-backdrop-filter: blur(14px) saturate(1.8) brightness(1.15); backdrop-filter: blur(14px) saturate(1.8) brightness(1.15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 10px 36px rgba(0, 0, 0, .38); }
.a-tabbar__item { position: relative; display: grid; place-items: center; height: 50px; border-radius: 99px; }
.a-tabbar__item.is-on { background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .01)); }
.a-tabbar__item img { width: 28px; height: 28px; }
.a-homebar { position: absolute; z-index: 21; bottom: 8px; left: 50%; width: 134px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .85); transform: translateX(-50%); }

/* Rail header (RailContainer) */
.a-railhead { padding: 0 16px; }
.a-railhead__eyebrow { display: block; color: rgba(255, 255, 255, .4); font: 600 16px/1.25 var(--display); }
.a-railhead__title { display: block; margin-top: 2px; font: 700 18px/1.25 var(--display); }

/* Metadata lines (RankedMovieMetadata / title detail) */
.a-meta { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--display); white-space: nowrap; }
.a-meta i { width: 1px; height: 10px; background: rgba(255, 255, 255, .3); }
.a-meta svg { width: 16px; height: 16px; }
.a-meta__kind { display: inline-flex; align-items: center; gap: 4px; }
.a-genres { margin-top: 7px; color: rgba(255, 255, 255, .5); font: 400 11px/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-genres b { font-weight: 400; margin: 0 6px; }

/* Rating badge (HeroRatingBadge) */
.a-rating { position: absolute; z-index: 2; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 8px; background: rgba(0, 0, 0, .56); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .12), 0 2px 5px rgba(0, 0, 0, .24); font: 600 12px/1 var(--body); }
.a-rating svg { width: 10px; height: 10px; }
.a-rating span { color: rgba(255, 255, 255, .4); font-weight: 600; }

.a-poster { position: relative; display: block; overflow: hidden; background: #111; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08); }
.a-poster img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home ---------- */
.a-home { position: absolute; inset: 0; }
.a-home__backdrop { position: absolute; inset: 0 0 auto; height: 762px; overflow: hidden; }
.a-home__backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.38); filter: blur(40px) saturate(.62); opacity: 0; transition: opacity .42s var(--ease-in-out); }
.a-home__backdrop img.is-on { opacity: .58; }
.a-home__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, .92) 78%, #000); }
.a-wordmark { position: absolute; z-index: 3; top: 71px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); color: #fff; }
.a-seg { position: absolute; z-index: 3; top: 120px; left: 16px; right: 16px; height: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.a-seg span { display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03)); color: rgba(255, 255, 255, .7); font: 600 16px/1 var(--display); }
.a-seg span:first-child { border-radius: 100px 0 0 100px; }
.a-seg span:last-child { border-radius: 0 100px 100px 0; }
.a-seg span.is-on { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .05)); box-shadow: inset 5px 5px 10px -6px rgba(255, 255, 255, .4), inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.a-spot { position: absolute; z-index: 2; top: 174px; left: 0; right: 0; }
.a-spot__eyebrow { padding-top: 20px; text-align: center; color: rgba(255, 255, 255, .4); font: 500 12px/1 var(--display); letter-spacing: 6px; text-indent: 6px; }
.a-cover { position: relative; height: 389px; margin-top: 22px; perspective: 700px; }
.a-cover__card { position: absolute; top: 2px; left: 50%; width: 258px; height: 385px; margin-left: -129px; transition: transform .8s var(--ease-app), opacity .8s var(--ease-app), filter .8s var(--ease-app), box-shadow .8s; will-change: transform; }
.a-cover__card .a-poster { width: 100%; height: 100%; }
.a-cover__caption { height: 67px; margin-top: 16px; text-align: center; }
.a-cover__caption .a-meta { justify-content: center; }
.a-cover__caption .a-genres { text-align: center; }
.a-cover__caption > div { transition: opacity .18s ease-out, transform .18s ease-out, filter .18s ease-out; }
.a-cover__caption.is-swapping > div { opacity: 0; transform: translateY(7px); filter: blur(2px); }
.a-digital { position: absolute; z-index: 2; top: 12px; right: 12px; height: 24px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(#fff, rgba(255, 255, 255, .65)); color: #000; font: 800 11px/1 var(--display); }
.a-home__next { position: absolute; z-index: 2; top: 700px; left: 0; right: 0; }

/* ---------- Genre cards (GenreMarqueeRow) ---------- */
.genre-rows { display: grid; gap: 14px; }
.marquee { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: min(12vw, 120px); pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #000, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.genre-card { flex: none; width: calc(118.47px * var(--g, 1.35)); height: calc(148px * var(--g, 1.35)); margin-right: 12px; display: block; background: rgba(255, 255, 255, .025); overflow: hidden; }
.genre-card img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

/* ---------- Collection card (CollectionCard / CollectionPosterCover / CollectionTitlePocket) ---------- */
.collection-card { --c-top: #e9dff3; --c-bottom: #b3a0c9; --c-pocket: #5b5166; position: relative; flex: none; width: calc(246px * var(--cs, 1.22)); height: calc(200px * var(--cs, 1.22)); margin-right: 20px; overflow: hidden; text-align: left; background: linear-gradient(var(--c-top), var(--c-bottom)); }
.collection-card__inner { position: absolute; left: 0; top: 0; width: 246px; height: 200px; transform: scale(var(--cs, 1.22)); transform-origin: 0 0; }
.collection-card__deck { position: absolute; top: 16px; left: 0; width: 246px; height: 150px; }
.collection-card__deck .a-poster { position: absolute; left: 50%; top: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 4px 9px rgba(0, 0, 0, .45); }
.collection-card__deck .a-poster:nth-child(1) { z-index: 1; width: 81px; height: 128px; transform: translate(calc(-50% - 78px), calc(-50% - 3px)) rotate(-3.4deg); }
.collection-card__deck .a-poster:nth-child(2) { z-index: 3; width: 87px; height: 138px; transform: translate(calc(-50% - 34px), calc(-50% - 5px)); }
.collection-card__deck .a-poster:nth-child(3) { z-index: 4; width: 87px; height: 137px; transform: translate(calc(-50% + 6px), calc(-50% - 6px)) rotate(10deg); }
.collection-card__deck .a-poster:nth-child(4) { z-index: 2; width: 81px; height: 128px; transform: translate(calc(-50% + 70px), calc(-50% - 3px)) rotate(5.7deg); }
.collection-card__pocket { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; height: 80px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 12px 12px 0 0; background: color-mix(in srgb, var(--c-pocket) 62%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 -4px 35px rgba(0, 0, 0, .65), inset 0 .6px 0 rgba(255, 255, 255, .22); color: #fff; }
.collection-card__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.collection-card__text strong { font: 700 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collection-card__text span { color: rgba(255, 255, 255, .7); font: 500 12px/1.2 var(--display); }
.collection-card__go { display: grid; place-items: center; width: 30px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .25); }
.collection-card__go svg { width: 13px; height: 13px; }

/* ---------- Onboarding ---------- */
.a-ob { position: absolute; inset: 0; }
.a-ob__screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility 0s .5s; }
.a-ob__screen.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out); }
.a-ob__back { position: absolute; z-index: 4; top: 58px; left: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.a-ob__back svg { width: 16px; height: 16px; }
.a-ob__title { position: absolute; top: 108px; left: 0; right: 0; text-align: center; font: 600 15px/1 var(--display); }
.a-langs { position: absolute; top: 140px; left: 16px; right: 16px; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 92px; gap: 11px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent 88%); mask-image: linear-gradient(#000 70%, transparent 88%); }
.a-lang { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 12px 12px; overflow: hidden; background: #1a1a1a; text-align: left; color: #fff; transition: box-shadow .3s; }
.a-lang img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .45s var(--ease-out), transform .9s var(--ease-out); }
.a-lang::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .45s; }
.a-lang strong { position: relative; z-index: 1; font: 600 18px/1.1 var(--display); }
.a-lang small { position: relative; z-index: 1; margin-top: 4px; color: rgba(255, 255, 255, .5); font: 600 9px/1 var(--display); letter-spacing: 1.6px; text-transform: uppercase; }
.a-lang__check { position: absolute; z-index: 2; top: 9px; right: 9px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .4s var(--ease-out); }
.a-lang__check svg { width: 12px; height: 12px; }
.a-lang.is-on img { opacity: 1; transform: none; }
.a-lang.is-on::after { opacity: 1; }
.a-lang.is-on .a-lang__check { opacity: 1; transform: none; }
.a-lang.is-on:not(.has-art) { background: linear-gradient(140deg, #3a3a3a, #1c1c1c); }
.a-ob__foot { position: absolute; left: 16px; right: 16px; bottom: 34px; display: grid; gap: 12px; justify-items: center; }
.a-ob__count { color: rgba(255, 255, 255, .7); font: 500 12px/1 var(--display); }
.a-cta { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; background: #fff; color: #000; font: 600 14px/1 var(--display); transition: opacity .3s, transform .3s var(--ease-out); }
.a-cta.is-disabled { opacity: .35; }
.a-cta svg { width: 15px; height: 15px; }
.a-deck { position: absolute; top: 190px; left: 50%; width: 226px; height: 340px; margin-left: -113px; }
.a-deck__card { position: absolute; inset: 0; transition: transform .55s var(--ease-out), opacity .55s, filter .55s; }
.a-deck__card .a-poster { width: 100%; height: 100%; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); }
.a-deck__card[data-depth="1"] { transform: translateX(14px) rotate(4deg) scale(.96); filter: brightness(.55) saturate(.4); }
.a-deck__card[data-depth="2"] { transform: translateX(24px) rotate(7deg) scale(.92); filter: brightness(.35) saturate(.2); }
.a-deck__card[data-depth="3"] { opacity: 0; }
.a-deck__stamp { position: absolute; z-index: 3; top: 18px; padding: 6px 10px; border: 2px solid #fff; border-radius: 8px; font: 800 14px/1 var(--display); letter-spacing: 2px; opacity: 0; transition: opacity .2s; }
.a-deck__stamp--yes { left: 14px; transform: rotate(-12deg); background: #fff; color: #000; }
.a-deck__stamp--no { right: 14px; transform: rotate(12deg); background: rgba(0, 0, 0, .5); }
.a-chips { position: absolute; top: 556px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; transition: opacity .25s; }
.a-chips span { padding: 6px 10px; border-radius: 99px; background: #1e1e1e; color: rgba(255, 255, 255, .85); font: 600 10px/1 var(--display); letter-spacing: 1.2px; text-transform: uppercase; }
.a-swipe { position: absolute; top: 612px; left: 0; right: 0; display: flex; justify-content: center; gap: 28px; }
.a-swipe span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; transition: transform .3s var(--ease-out), background-color .25s; }
.a-swipe svg { width: 22px; height: 22px; }
.a-curating { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.a-curating__line { font: 600 19px/1.3 var(--display); }
.a-curating__line::after { content: "|"; margin-left: 2px; color: rgba(255, 255, 255, .7); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.a-curating__note { position: absolute; bottom: 96px; left: 46px; right: 46px; color: rgba(255, 255, 255, .45); font: 500 11px/1.5 var(--display); }

/* ---------- Time dial (Discover by time) ---------- */
.timedial { width: min(100%, 460px); margin-inline: auto; }
.timedial__ruler { position: relative; height: 112px; overflow: hidden; background: linear-gradient(rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.timedial__pointer { position: absolute; z-index: 2; top: 10px; left: 50%; width: 0; height: 0; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid #fff; }
.timedial__track { position: absolute; top: 26px; left: 50%; height: 80px; will-change: transform; }
.timedial__ticks { position: absolute; top: 0; height: 26px; background-image: linear-gradient(90deg, rgba(255, 255, 255, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px); background-size: 78px 26px, 13px 14px; background-repeat: repeat-x; background-position: 0 0, 0 6px; }
.timedial__stop { position: absolute; top: 38px; width: 156px; margin-left: -78px; padding: 4px 0; text-align: center; color: rgba(255, 255, 255, .42); transition: color .3s; font-family: var(--display); }
.timedial__stop strong { display: block; font: 600 15px/1.2 var(--display); }
.timedial__stop small { display: block; margin-top: 2px; font: 500 13px/1.2 var(--display); }
.timedial__stop.is-on { color: #fff; }
.timedial__stop.is-on small { color: rgba(255, 255, 255, .7); }
.timedial__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.timedial__grid .a-poster { aspect-ratio: 2 / 3; border-radius: 6px; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), filter .45s; }
.timedial__grid.is-swapping .a-poster { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(3px); }
.timedial__grid .a-poster:nth-child(2) { transition-delay: .04s; } .timedial__grid .a-poster:nth-child(3) { transition-delay: .08s; }
.timedial__grid .a-poster:nth-child(4) { transition-delay: .12s; } .timedial__grid .a-poster:nth-child(5) { transition-delay: .16s; } .timedial__grid .a-poster:nth-child(6) { transition-delay: .2s; }
.timedial__caption { display: flex; justify-content: space-between; margin-top: 14px; color: var(--faint); font: 500 12px/1.3 var(--display); }

/* ---------- Title detail (TitleDetailView) ---------- */
.a-detail { --tint: 40, 48, 64; position: absolute; inset: 0; background: #0c0c0f; }
.a-detail__scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.a-detail__scroll::-webkit-scrollbar { display: none; }
.a-detail__hero { position: relative; height: 575px; overflow: hidden; }
.a-detail__hero img { width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(#000 50%, rgba(0, 0, 0, .92) 60%, rgba(0, 0, 0, .7) 70%, rgba(0, 0, 0, .46) 78%, rgba(0, 0, 0, .24) 86%, rgba(0, 0, 0, .08) 93%, transparent); mask-image: linear-gradient(#000 50%, rgba(0, 0, 0, .92) 60%, rgba(0, 0, 0, .7) 70%, rgba(0, 0, 0, .46) 78%, rgba(0, 0, 0, .24) 86%, rgba(0, 0, 0, .08) 93%, transparent); transition: opacity .5s; }
.a-detail__tintbg { position: absolute; inset: 380px 0 0; background: linear-gradient(rgba(var(--tint), .34), rgba(var(--tint), .22) 40%, rgba(var(--tint), .18)); pointer-events: none; }
.a-detail__tools { position: absolute; z-index: 6; top: 55px; left: 16px; right: 16px; display: flex; justify-content: space-between; pointer-events: none; }
.a-glass { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(var(--tint), .44); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .18), 0 3px 8px rgba(0, 0, 0, .24); color: rgba(255, 255, 255, .96); }
.a-glass svg { width: 19px; height: 19px; }
.a-detail__body { position: relative; z-index: 2; margin-top: -153px; padding: 0 16px 140px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.a-detail__score { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(0, 0, 0, .42); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .1); font: 600 12px/1 var(--display); }
.a-detail__score svg { width: 11px; height: 11px; color: #F5C74D; }
.a-detail__score span { color: rgba(255, 255, 255, .48); }
.a-detail__score i { width: 1px; height: 12px; background: rgba(255, 255, 255, .2); }
.a-detail__score em { font-style: normal; color: rgba(255, 255, 255, .64); }
.a-detail__logo { margin-top: 12px; height: 86px; display: grid; place-items: center; }
.a-detail__logo img { max-width: 248px; max-height: 86px; width: auto; height: auto; }
.a-detail__logo h4 { font: 600 32px/1.05 var(--display); }
.a-detail__meta { margin-top: 20px; justify-content: center; font-size: 14px; }
.a-detail__meta i { height: 12px; }
.a-detail__genres { margin-top: 7px; color: rgba(255, 255, 255, .68); font: 500 12px/1 var(--display); }
.a-actions { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.a-trailer-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 132px; height: 40px; border-radius: 99px; background: rgba(255, 255, 255, .98); color: #000; font: 700 14px/1 var(--display); }
.a-trailer-btn svg { width: 11px; height: 11px; }
.a-circle { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(var(--tint), .44); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .96); }
.a-circle svg { width: 18px; height: 18px; }
.a-circle .swap { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .18s ease-in-out, transform .18s ease-in-out, filter .18s; }
.a-circle .swap--b { opacity: 0; transform: scale(.6); filter: blur(2px); }
.a-circle.is-on .swap--a { opacity: 0; transform: scale(.6); filter: blur(2px); }
.a-circle.is-on .swap--b { opacity: 1; transform: none; filter: none; }
.a-circle.is-pop { animation: pop .42s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 40% { transform: scale(1.12); } }
.a-burst { position: absolute; inset: -10px; pointer-events: none; }
.a-burst i { position: absolute; left: 50%; top: 50%; width: 1.5px; height: 7px; margin: -3.5px 0 0 -.75px; border-radius: 2px; background: #fff; opacity: 0; transform: rotate(var(--r)) translateY(-16px); }
.a-burst.is-on i { animation: ray .6s var(--ease-out) forwards; }
@keyframes ray { 0% { opacity: 1; transform: rotate(var(--r)) translateY(-14px) scaleY(.4); } 60% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-27px) scaleY(1); } }
.a-synopsis { position: relative; margin-top: 16px; max-width: 344px; color: rgba(255, 255, 255, .7); font: 400 14px/1.45 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-synopsis__more { position: absolute; right: 0; bottom: 0; height: 23px; padding: 0 10px 0 28px; display: grid; place-items: center; background: linear-gradient(90deg, transparent, #13151b 30%); }
.a-synopsis__more span { display: grid; place-items: center; height: 23px; padding: 0 9px; border-radius: 99px; background: rgba(255, 255, 255, .3); color: #fff; font: 600 12px/1 var(--display); letter-spacing: 1.4px; }
.a-section { align-self: stretch; margin-top: 30px; text-align: left; }
.a-section__title { color: rgba(255, 255, 255, .4); font: 700 14px/1 var(--display); text-transform: uppercase; }
.a-cast { display: flex; gap: 10px; margin: 14px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.a-cast::-webkit-scrollbar { display: none; }
.a-cast figure { flex: none; position: relative; width: 116px; height: 148px; margin: 0; overflow: hidden; border-radius: 12px; background: #1b1b1f; }
.a-cast img { width: 100%; height: 100%; object-fit: cover; }
.a-cast figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font: 600 12px/1.15 var(--display); text-align: center; }
.a-bento { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 224px; margin-top: 14px; }
.a-bento img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.a-bento img:first-child { grid-row: span 2; }
.a-story { margin-top: 14px; color: rgba(255, 255, 255, .78); font: 400 15px/1.55 var(--display); }

/* Watch dock + sheets */
.a-dock-fade { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); pointer-events: none; }
.a-dock { position: absolute; z-index: 8; left: 16px; right: 16px; bottom: 16px; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 14px; border-radius: 38px; background: rgba(var(--tint), .5); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 2px 0 rgba(var(--tint), .82), inset 0 0 0 .6px rgba(255, 255, 255, .14), 0 20px 40px -10px rgba(0, 0, 0, .7); transition: opacity .3s; }
.a-providers { display: flex; align-items: center; gap: 6px; height: 46px; padding-right: 6px; border-radius: 12px; color: #fff; }
.a-providers__stack { display: flex; }
.a-providers__stack img { width: 38px; height: 38px; border-radius: 9.5px; box-shadow: 0 0 0 1.2px rgba(255, 255, 255, .2), 0 8px 14px rgba(0, 0, 0, .42); }
.a-providers__stack img + img { margin-left: -8.3px; }
.a-providers svg { width: 12px; height: 12px; }
.a-watched { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 .6px rgba(0, 0, 0, .18); color: #fff; font: 600 14px/1 var(--display); position: relative; overflow: hidden; transition: transform .46s var(--ease-app); }
.a-watched svg { width: 17px; height: 17px; }
.a-watched__check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.a-watched.is-on { color: #B5FEEE; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .12); }
.a-watched.is-on .a-watched__check { background: #B5FEEE; color: #0c0c0f; }
.a-watched.is-on .a-watched__check svg { width: 12px; height: 12px; }
.a-watched.is-shimmer::after { content: ""; position: absolute; top: -10px; bottom: -10px; width: 88px; left: -100px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: rotate(-18deg); animation: shimmer 1.85s var(--ease-in-out); }
@keyframes shimmer { to { left: 120%; } }
.a-watched span { transition: opacity .46s var(--ease-app), filter .46s; }

.a-scrim { position: absolute; z-index: 9; inset: 0; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .48s var(--ease-app); }
.a-scrim.is-on { opacity: 1; pointer-events: auto; }
.a-sheet { position: absolute; z-index: 10; left: 12px; right: 12px; bottom: 12px; padding: 16px 16px 20px; border-radius: 38px; background: rgba(var(--tint), .86); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .14), 0 30px 60px rgba(0, 0, 0, .6); transform: translateY(calc(100% + 20px)); visibility: hidden; transition: transform .48s var(--ease-app), visibility 0s .48s; }
.a-sheet.is-on { transform: none; visibility: visible; transition: transform .48s var(--ease-app); }
.a-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; font: 700 16px/1 var(--display); }
.a-sheet__close { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .2); color: #fff; }
.a-sheet__close svg { width: 14px; height: 14px; }
.a-sheet hr { height: 1px; margin: 16px 0; border: 0; background: rgba(255, 255, 255, .1); }
.a-prow { display: flex; align-items: center; gap: 12px; height: 38px; margin-bottom: 20px; padding: 0 4px; text-align: left; }
.a-prow img { width: 38px; height: 38px; border-radius: 9.5px; }
.a-prow div { flex: 1; display: grid; gap: 3px; }
.a-prow strong { font: 500 14px/1.1 var(--display); }
.a-prow span { color: rgba(255, 255, 255, .7); font: 500 12px/1.1 var(--display); }
.a-prow svg { width: 14px; height: 14px; }
.a-sheet__credit { padding: 0 4px; color: rgba(255, 255, 255, .6); font: 400 11px/1.3 var(--body); }
.a-sheet__ask { text-align: center; color: rgba(255, 255, 255, .8); font: 600 16px/1.2 var(--display); }
.a-sheet__center { display: flex; justify-content: center; margin-top: 14px; }
/* The control a callout names on the landing page */
.a-detail .a-circle, .a-detail .a-providers { transition: box-shadow .4s var(--ease-out); }
.a-detail .a-watched { transition: transform .46s var(--ease-app), box-shadow .4s var(--ease-out); }
.a-detail .is-pointed { box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 0 22px 2px rgba(255, 255, 255, .35); }
/* SaveToCollectionsSheet */
.a-sheet--save { padding: 0 20px 14px; overflow: visible; }
.a-save__poster { display: block; width: 92px; height: 138px; margin: -78px auto 0; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 30px rgba(0, 0, 0, .55); opacity: 0; transform: rotate(-14deg) scale(.82); transition: opacity .3s, transform .55s var(--ease-app) .08s; }
.a-sheet--save.is-on .a-save__poster { opacity: 1; transform: none; }
.a-save__head { position: absolute; top: 18px; right: 18px; }
.a-save__close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.a-save__close svg { width: 15px; height: 15px; }
.a-save__new { display: flex; align-items: center; gap: 4px; height: 64px; margin-top: 28px; padding: 0 14px 0 4px; border-radius: 18px; background: rgba(255, 255, 255, .10); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #fff; font: 600 17px/1 var(--display); }
.a-save__new svg { width: 42px; height: 19px; }
.a-save__label { margin: 22px 0 2px; color: rgba(255, 255, 255, .5); font: 600 13px/1 var(--display); letter-spacing: 2px; text-transform: uppercase; }
.a-save__list { display: grid; }
.a-save__row { display: flex; align-items: center; justify-content: space-between; height: 70px; color: #fff; }
.a-save__row + .a-save__row { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10); }
.a-save__row strong { display: block; font: 600 17px/1.2 var(--display); }
.a-save__row small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .55); font: 400 13px/1 var(--display); }
.a-save__tick { position: relative; width: 25px; height: 25px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, .8); transition: background-color .22s, box-shadow .22s; }
.a-save__tick .swap { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .18s ease-in-out, transform .18s ease-in-out; }
.a-save__tick svg { width: 13px; height: 13px; }
.a-save__tick .swap--b { opacity: 0; transform: scale(.6); color: #000; }
.a-save__row.is-on .a-save__tick { background: #fff; box-shadow: none; }
.a-save__row.is-on .a-save__tick .swap--a { opacity: 0; transform: scale(.6); }
.a-save__row.is-on .a-save__tick .swap--b { opacity: 1; transform: none; }
.a-save__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; margin-top: 10px; border-radius: 99px; background: #fff; color: #000; font: 600 18px/1 var(--display); transition: background-color .2s; }
.a-save__btn.is-saving { background: rgba(255, 255, 255, .82); }
.a-save__spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .2); border-top-color: #000; animation: spin .8s linear infinite; }
.a-save__btn.is-saving .a-save__spin { display: block; }
@keyframes spin { to { transform: rotate(1turn); } }
/* CollectionSaveToast */
.a-toast { position: absolute; z-index: 12; top: 64px; left: 50%; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 99px; background: rgba(40, 40, 44, .72); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 20px rgba(0, 0, 0, .35); color: #fff; font: 600 14px/1 var(--display); white-space: nowrap; transform: translate(-50%, -24px); opacity: 0; transition: opacity .22s ease-out, transform .38s cubic-bezier(.3, 1.25, .5, 1); pointer-events: none; }
.a-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.a-toast__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #B5FEEE; color: #0c0c0f; }
.a-toast__check svg { width: 12px; height: 12px; }


