/* Torpas Match — dark, poster-first, Apple-like. Colour rule (Andre is colour-blind): only two signal colours,
   blue = YES (filled, heart) and orange = NO (outlined, cross); every state also has an icon and a word. */
:root {
  --yes: #3ea6ff; --yes-ink: #00172e; --no: #ff9f0a;
  --fg: #fff; --dim: rgba(235, 235, 245, .64); --faint: rgba(235, 235, 245, .34);
  --glass: rgba(120, 120, 128, .26); --line: rgba(255, 255, 255, .13);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, 1.45, .5, 1);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; background: #000; color: var(--fg); overscroll-behavior: none; }
body {
  position: fixed; inset: 0; overflow: hidden;
  font: 17px/1.38 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; -webkit-user-select: text; user-select: text; }
svg.i { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }

/* ── background: the current poster, blurred ── */
#bg { position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(70% 55% at 12% 0%, #12365c 0%, transparent 70%), radial-gradient(60% 45% at 100% 100%, #50300a 0%, transparent 70%), #050506; }
.bgimg { position: absolute; inset: -14%; background-size: cover; background-position: center;
  filter: blur(46px) saturate(1.5) brightness(.44); opacity: 0; transition: opacity .7s ease; }
.bgimg.on { opacity: 1; }
#bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .5)); }

#app { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
  padding: calc(var(--sat) + 12px) 20px calc(var(--sab) + 14px); }
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; animation: viewin .5s var(--ease) both; }
@keyframes viewin { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes pulse { 40% { transform: scale(1.18); } }

/* ── shared bits ── */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
h1 { font: 700 54px/1 var(--display); letter-spacing: -.035em; margin: 8px 0 12px; }
h1.mid { font-size: 38px; letter-spacing: -.03em; }
.lead { color: var(--dim); font-size: 19px; line-height: 1.3; margin: 0; text-wrap: balance; }
.note { color: var(--dim); font-size: 14px; line-height: 1.35; text-wrap: balance; }
.warn { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--no); font-size: 15px; font-weight: 600; }
.warn:empty { display: none; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; padding: 0 18px;
  border: 0; border-radius: 18px; font-weight: 600; font-size: 17px; color: #000; background: #fff; text-decoration: none;
  transition: transform .18s var(--ease), opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.glass { background: var(--glass); color: #fff; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn.small { height: 46px; border-radius: 15px; font-size: 16px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.link { border: 0; background: none; color: var(--dim); font-size: 15px; font-weight: 500; padding: 10px; }
.field { width: 100%; height: 56px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .32); color: #fff;
  text-align: center; font-size: 20px; font-weight: 600; outline: none; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: border-color .2s; }
.field:focus { border-color: rgba(255, 255, 255, .5); }
.field::placeholder { color: var(--faint); font-weight: 500; letter-spacing: 0; }
.field.code { font: 600 24px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; }
.field.code::placeholder { font: 500 17px/1 -apple-system, system-ui, sans-serif; text-indent: 0; text-transform: none; }
.av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.av.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); color: var(--dim); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 15px; font-weight: 600;
  transition: transform .18s var(--ease); }
.pill:active { transform: scale(.94); }
.pill.round { width: 40px; padding: 0; justify-content: center; }
.pill.bump { animation: pulse .5s var(--spring); }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: #fff; animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ── home ── */
.home { max-width: 420px; margin: 0 auto; overflow-y: auto; scrollbar-width: none; }
.home::-webkit-scrollbar { display: none; }
.home .wrap { margin: auto 0; width: 100%; padding: 2px 0; }      /* centred when it fits, scrolls when it doesn't */
.home .lead { margin-bottom: 26px; }
.home .warn { margin-top: 10px; }
.load { justify-content: center; }
/* choices under Movies / Series / Both: a grouped list, like Settings */
.opts { border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); margin-bottom: 12px; overflow: hidden; }
.opts.in { background: rgba(255, 255, 255, .07); margin: 16px 0 0; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 9px 14px; border: 0; background: none; text-align: left; }
.opt + .opt { box-shadow: inset 0 1px 0 var(--line); }
.opt .grow { flex: 1; min-width: 0; }
.opt b { display: block; font-weight: 600; font-size: 16px; }
.opt small { display: block; margin-top: 1px; color: var(--dim); font-size: 13px; line-height: 1.25; }
.opt > svg { color: var(--faint); }
/* a switch: on = knob to the right with a tick in it (and blue) */
.sw { flex: none; width: 51px; height: 31px; padding: 2px; border-radius: 999px; background: rgba(120, 120, 128, .45); transition: background .25s; }
.sw i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #fff; color: transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s var(--spring), color .2s; }
.opt[aria-checked="true"] .sw { background: var(--yes); }
.opt[aria-checked="true"] .sw i { transform: translateX(20px); color: var(--yes-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gchip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: 15px; font-weight: 600; transition: transform .18s var(--ease); }
.gchip:active { transform: scale(.94); }
.gchip small { color: var(--dim); font-size: 12px; font-weight: 500; }
.gchip[aria-pressed="true"] { background: #fff; color: #000; }
.gchip[aria-pressed="true"] small { color: rgba(0, 0, 0, .55); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--glass); border-radius: 16px; padding: 3px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); margin-bottom: 12px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 4px 10px; border-radius: 13px; font-size: 16px; font-weight: 600; }
.seg small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--dim); }
.seg .knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 13px;
  background: rgba(255, 255, 255, .22); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: transform .4s var(--spring); }
.or { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 26px 0 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.recent { margin-top: 22px; display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; border-radius: 16px; padding: 12px 14px; background: var(--glass);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.row b { display: block; font-weight: 600; font-size: 16px; }
.row span { display: block; color: var(--dim); font-size: 13px; }
.row .grow { flex: 1; min-width: 0; }
.row .mono { font: 600 15px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; color: var(--dim); }

/* ── lobby (QR / big screen) ── */
.lobby { align-items: center; text-align: center; overflow-y: auto; }
.lobby .back { align-self: flex-start; margin-bottom: 4px; }
.lobby .cols { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: 100%; padding: 6px 0 10px; }
.lobby .col { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 460px; }
.qr { width: min(64vw, 38vh, 300px); aspect-ratio: 1; padding: 14px; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.qr svg { display: block; width: 100%; height: 100%; }
.codebig { font: 700 30px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .32em; text-indent: .32em; }
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 44px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--glass);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-weight: 600; font-size: 16px; animation: pop .5s var(--spring) both; }
.chip small { color: var(--dim); font-weight: 500; font-size: 13px; }
.strip { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thumb { width: 74px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: #1c1c1e; border: 0; padding: 0; position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: pop .5s var(--spring) both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; font-size: 11px; font-weight: 600; line-height: 1.15; text-align: center; }
.lobby .foot { width: 100%; max-width: 420px; padding-top: 8px; }
@media (min-width: 900px) and (min-height: 520px) {
  .lobby .cols { flex-direction: row; gap: 8vw; align-items: center; }
  .lobby .col { max-width: 520px; }
  .lobby .col.left { max-width: 420px; }
  .qr { width: min(34vw, 56vh, 440px); border-radius: 36px; padding: 22px; }
  .lobby h1.mid { font-size: 56px; }
  .codebig { font-size: 44px; }
  .chip { height: 52px; font-size: 19px; padding-right: 20px; } .chip .av { width: 40px; height: 40px; font-size: 15px; }
  .thumb { width: 110px; border-radius: 16px; }
}

/* ── join ── */
.join { justify-content: center; max-width: 420px; margin: 0 auto; text-align: center; gap: 14px; }
.join .people { margin-top: 6px; }

/* ── swipe ── */
.swipe { max-width: 480px; margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; margin-bottom: 12px; flex: none; }
.top .right { display: flex; gap: 8px; }
.avs { display: flex; padding-left: 6px; }
.avs .av { width: 28px; height: 28px; font-size: 11px; margin-left: -8px; background: #55555c; box-shadow: 0 0 0 2px rgba(40, 40, 44, .9); }
.avs .av.off { background: #2a2a2e; color: var(--faint); box-shadow: 0 0 0 2px rgba(40, 40, 44, .9), inset 0 0 0 1.5px var(--faint); }
.pill.people-btn { padding-left: 10px; }
.stack { position: relative; flex: 1; min-height: 0; }
.stack .card.out { z-index: 9; }
.card { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: #1c1c1e; touch-action: none; will-change: transform;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); transform-origin: 50% 120%; cursor: grab; }
.card.settle { transition: transform .5s var(--spring); }
.card.under { transform-origin: 50% 100%; transform: scale(.94) translateY(14px); filter: brightness(.6); box-shadow: none; transition: transform .45s var(--spring), filter .3s; }
.card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px 26px 45%; text-align: center;
  font: 700 34px/1.05 var(--display); letter-spacing: -.02em; color: rgba(255, 255, 255, .5);
  background: linear-gradient(160deg, #2c3e55, #17171a 60%); }
.card .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5) 38%, rgba(0, 0, 0, .93)); }
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 18px; pointer-events: none; }
.card .kind { display: inline-block; margin-bottom: 8px; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .2);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.card h2 { font: 700 30px/1.08 var(--display); letter-spacing: -.022em; margin: 0 0 8px; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 500; }
.facts > span { display: inline-flex; align-items: center; gap: 4px; }
.facts > span + span::before { content: "·"; margin: 0 7px; color: var(--faint); }
.card .genres { color: var(--dim); font-size: 14px; margin-top: 3px; }
.card .hint { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--faint); font-size: 13px; font-weight: 500; }
.stamp { position: absolute; top: 28px; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px;
  font: 800 26px/1 var(--display); letter-spacing: .06em; opacity: 0; pointer-events: none; }
.stamp.yes { left: 22px; background: var(--yes); color: var(--yes-ink); transform: rotate(-9deg); }
.stamp.no { right: 22px; border: 4px solid var(--no); color: var(--no); background: rgba(0, 0, 0, .55); transform: rotate(9deg); }
.blank { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px;
  animation: viewin .5s var(--ease) both; }
.blank h2 { font: 700 30px/1.1 var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.blank .big { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); margin-bottom: 6px; }
.acts { position: relative; z-index: 6; display: flex; align-items: flex-start; justify-content: center; gap: 26px; padding-top: 26px; flex: none; transition: opacity .3s; }
.acts.off { opacity: .25; pointer-events: none; }
.act { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 13px; font-weight: 600; }
.act .ring { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; transition: transform .25s var(--spring); }
.act:active .ring { transform: scale(.88); }
.act.yes .ring { background: var(--yes); color: var(--yes-ink); box-shadow: 0 10px 30px rgba(62, 166, 255, .3); }
.act.no .ring { border: 3.5px solid var(--no); color: var(--no); background: rgba(0, 0, 0, .3); }
.act.undo { color: var(--dim); font-weight: 500; font-size: 12px; margin-top: 12px; }
.act.undo .ring { width: 44px; height: 44px; background: var(--glass); color: #fff; }
@media (max-height: 620px) { .act .ring { width: 58px; height: 58px; } .card h2 { font-size: 24px; } .card .hint { display: none; } }

/* ── sheets ── */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .35s; }
.scrim.on { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 560px; margin: 0 auto; max-height: calc(100dvh - var(--sat) - 28px);
  display: flex; flex-direction: column; border-radius: 30px 30px 0 0; background: rgba(30, 30, 32, .97);
  -webkit-backdrop-filter: blur(40px) saturate(1.8); backdrop-filter: blur(40px) saturate(1.8); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(104%); transition: transform .5s var(--ease); padding-bottom: var(--sab); }
.sheet.on { transform: none; }
.sheet.drag { transition: none; }
.grab { flex: none; padding: 8px 0 6px; touch-action: none; }
.grab i { display: block; width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: 0 auto; }
.sheet .body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 6px 20px 22px; }
.sheet h3 { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; margin: 6px 0 4px; }
.sheet .sub { color: var(--dim); font-size: 15px; margin: 0 0 16px; }
.list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; border-radius: 16px; padding: 10px 12px; background: rgba(255, 255, 255, .07); }
.item .grow { flex: 1; min-width: 0; }
.item b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .st { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 13px; }
.item .mini { width: 46px; aspect-ratio: 2 / 3; border-radius: 8px; object-fit: cover; background: #1c1c1e; flex: none; }
.item .rm { border: 0; background: none; color: var(--dim); font-size: 14px; font-weight: 600; padding: 10px 4px; }
.item .rm.sure { color: var(--no); }
.sheet .foot { display: grid; gap: 8px; margin-top: 16px; }
.detail .hero { width: calc(100% + 40px); margin: -6px -20px 14px; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.detail .tag { font-style: italic; color: var(--dim); margin: 10px 0 0; }
.detail p.ov { color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.45; margin: 12px 0 0; -webkit-user-select: text; user-select: text; }
.detail .gs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.detail .gs span { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 500; }
.status { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.status svg { margin-top: 2px; }
.status:empty { display: none; }
.lobby .status { justify-content: center; margin: 0; font-size: 17px; }
.votebtn { margin-bottom: 12px; }
/* final vote: the matches as a grid; my pick = blue ring + a "Your pick" badge with a tick */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.vopt { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; background: none; padding: 0; text-align: center; }
.vopt .pic { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: #1c1c1e;
  transition: box-shadow .2s, transform .25s var(--spring); }
.vopt .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vopt .nopic { position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; font-size: 12px; font-weight: 600; line-height: 1.15; }
.vopt b { font-size: 13px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vopt.on .pic { box-shadow: 0 0 0 4px var(--yes); transform: scale(.94); }
.vopt .badge { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 4px; height: 26px;
  border-radius: 999px; background: var(--yes); color: var(--yes-ink); font-size: 12px; font-weight: 700; }
.votestate { margin: 14px 0 0; text-align: center; }
.backrow { display: flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--dim); font-size: 15px; font-weight: 600; padding: 6px 0 2px; margin-left: -6px; }
.invite { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.invite .qr { width: min(62vw, 260px); box-shadow: none; }

/* ── match moment ── */
.ov { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: calc(var(--sat) + 20px) 24px calc(var(--sab) + 20px); background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(34px) saturate(1.6); backdrop-filter: blur(34px) saturate(1.6); opacity: 0; transition: opacity .4s; }
.ov.on { opacity: 1; }
.ov .tagline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ov h2 { font: 700 44px/1 var(--display); letter-spacing: -.03em; margin: 0; }
.ov .pic { width: min(52vw, 30vh, 250px); aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; background: #1c1c1e; position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); animation: matchin .8s var(--spring) both; }
.ov .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov .pic span { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; font: 700 20px/1.1 var(--display); }
@keyframes matchin { from { opacity: 0; transform: scale(.5) rotate(-8deg); } }
.ov .name { font-size: 20px; font-weight: 600; text-wrap: balance; }
.ov .strip { margin: 4px 0; }
.ov .strip .thumb { width: min(17vw, 84px); }
.dots { display: flex; gap: 9px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.dots i.on { background: #fff; box-shadow: none; }
.dots em { font-style: normal; color: var(--dim); font-size: 14px; font-weight: 600; margin-left: 6px; }
.ov .foot { display: grid; gap: 8px; width: 100%; max-width: 360px; margin-top: 10px; }

@media (min-width: 900px) and (min-height: 520px) {
  .ov h2 { font-size: 64px; } .ov .pic { width: min(24vw, 44vh, 380px); } .ov .name { font-size: 26px; } .ov .tagline { font-size: 15px; }
}
#toast { position: fixed; z-index: 60; left: 50%; top: calc(var(--sat) + 14px); transform: translate(-50%, -160%); max-width: 86vw; padding: 12px 18px;
  border-radius: 999px; background: rgba(60, 60, 64, .88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: 15px; font-weight: 600; text-align: center; transition: transform .5s var(--spring); pointer-events: none; }
#toast.on { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; } }
