/* Bluff - the Trainer design language (black canvas, poster artwork, translucent materials,
   squircles, heavy tight display type, white pill actions) with a colour poster per category.
   The background poster is the same on every phone, Bluffer or not: nothing on screen that
   can be seen across a room gives the Bluffer away. */

@property --c1 { syntax: "<color>"; inherits: true; initial-value: #FF375F; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #5E5CE6; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #0B0A24; }

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.64);
  --dim: rgba(235, 235, 245, 0.32);
  --hair: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(28, 28, 30, 0.62);
  --danger: #ff453a;
  --r-card: 18px;
  --r-big: 28px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  font: 100%/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100svh; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.9); outline-offset: 3px; }
b, strong { font-weight: 700; }
.noscript { padding: 40px; text-align: center; }

/* Squircles where the browser can draw them; a rounded rectangle elsewhere. */
.sq { border-radius: var(--r-card); }
@supports (corner-shape: squircle) {
  .sq { corner-shape: squircle; border-radius: calc(var(--r-card) * 1.8); }
  .btn, .pill { corner-shape: squircle; }
}

/* ---------- the stage: one poster behind everything ---------- */
.stage { position: fixed; inset: 0; z-index: 0; transition: --c1 900ms var(--ease), --c2 900ms var(--ease), --c3 900ms var(--ease); }
.poster {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 5%, var(--c1) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 60%, var(--c2) 0%, transparent 65%),
    linear-gradient(165deg, var(--c2), var(--c3) 70%);
}
.poster-light { position: absolute; inset: -20%; background: radial-gradient(40% 35% at 70% 30%, rgba(255, 255, 255, 0.18), transparent 70%); animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-8%, 6%); } }
.poster-word {
  position: absolute; left: -0.04em; top: 10svh; z-index: 1; width: 200%;
  font-size: clamp(120px, 34vw, 340px); font-weight: 900; line-height: 0.9; letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.06); white-space: nowrap; user-select: none;
}
.poster-grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.82) 75%, #000 100%); }

#app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; min-height: 100svh; }
.screen { display: flex; flex-direction: column; gap: 22px; padding: 4px var(--gutter) calc(140px + env(safe-area-inset-bottom)); }
.home { padding-bottom: max(40px, env(safe-area-inset-bottom)); }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-title { margin: 0 0 10px; font-size: clamp(64px, 19vw, 120px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 900; text-shadow: 0 8px 40px rgba(0, 0, 0, 0.3); overflow-wrap: anywhere; }
.title-xl { margin: 0; font-size: clamp(38px, 11vw, 60px); line-height: 1; letter-spacing: -0.045em; font-weight: 900; }
.lede { margin: 0 0 18px; font-size: 19px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); max-width: 32ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hint { margin: 10px 4px 0; font-size: 14px; color: var(--muted); }
.waiting { margin: 0; text-align: center; color: var(--muted); font-size: 15px; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.5; } }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top) + 14px) var(--gutter) 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; --r-card: 9px; background: linear-gradient(135deg, #FF375F, #7A3FE0 55%, #2B1FA8); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.mark .face { width: 24px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: transform 140ms var(--ease), background 200ms;
}
.pill:active { transform: scale(0.94); }
.pill-code { font-weight: 800; letter-spacing: 0.16em; padding-right: 11px; }
.pill-quiet { color: rgba(255, 255, 255, 0.92); background: rgba(0, 0, 0, 0.22); }
.offline { position: fixed; top: calc(env(safe-area-inset-top) + 60px); left: 50%; transform: translateX(-50%); z-index: 30; background: rgba(255, 69, 58, 0.9); color: #fff; }

/* ---------- materials ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.glass-card {
  --r-card: var(--r-big);
  display: grid; gap: 12px; padding: 22px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.note { margin: 0; padding: 14px 16px; font-size: 15px; }
.note p { margin: 4px 0 0; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 200ms, box-shadow 200ms, opacity 200ms;
}
.btn:active:not(:disabled) { transform: scale(0.96); transition-duration: 80ms; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-primary { background: #fff; color: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.btn-wide { width: 100%; }
.hero-block .btn { align-self: flex-start; }
.link-quiet { display: block; margin: 4px auto 0; background: none; border: 0; padding: 8px; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--muted); font-size: 13px; transition: transform 140ms var(--ease); }
.icon-btn:active { transform: scale(0.88); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: #fff; color: #000; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; font-size: 17px;
  background: rgba(118, 118, 128, 0.26); color: #fff; outline: none; transition: box-shadow 160ms;
}
input::placeholder { color: var(--dim); }
input:focus { box-shadow: 0 0 0 2px #fff; }
.code-input { text-transform: uppercase; letter-spacing: 0.35em; font-weight: 800; text-align: center; font-size: 20px; }
.code-input::placeholder { letter-spacing: 0.25em; font-weight: 700; }
.join-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 4px 0; }
.or::before, .or::after { content: ""; height: 1px; background: var(--hair); flex: 1; }

/* ---------- home ---------- */
.hero-block { display: flex; flex-direction: column; align-items: flex-start; padding-top: 6svh; }
.hero-block.center { align-items: center; text-align: center; padding-top: 2svh; }
.home .hero-block { padding-top: 10svh; }
.app-icon {
  --r-card: 26px; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 22px;
  background: linear-gradient(135deg, #FF375F, #7A3FE0 55%, #2B1FA8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: float 5s ease-in-out infinite;
}
.app-icon .face { width: 74px; }
@keyframes float { 50% { transform: translateY(-6px) rotate(-2deg); } }

.how { padding: 16px 18px; --r-card: 20px; }
.how summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 240ms var(--ease); }
.how[open] summary::after { transform: rotate(45deg); }
.how ol { margin: 12px 0 2px; padding-left: 20px; display: grid; gap: 8px; color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* ---------- lobby ---------- */
.code-title { margin: 0 0 12px; font-size: clamp(84px, 27vw, 150px); line-height: 0.9; letter-spacing: 0.04em; font-weight: 900; font-variant-numeric: tabular-nums; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.3); }
.group-title { margin: 0 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.group-title .muted { font-weight: 600; }
.list { list-style: none; margin: 0; padding: 6px 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; min-height: 56px; }
.list li + li { box-shadow: inset 0 1px 0 var(--hair); }
.list li.away { opacity: 0.45; }
.list .who { flex: 1; font-size: 17px; font-weight: 600; }
.avatar {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-size: 16px; font-weight: 800; color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--a) 55%, #fff), var(--a) 55%, color-mix(in srgb, var(--a) 70%, #000));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.avatar.lg { width: 52px; height: 52px; font-size: 22px; }

/* category shelf, Apple TV style */
.shelf-row {
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shelf-row::-webkit-scrollbar { display: none; }
.cat {
  position: relative; flex: 0 0 auto; width: 168px; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; isolation: isolate;
  scroll-snap-align: start; text-align: left; color: #fff; background: #1c1c1e;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease);
}
.cat:active { transform: scale(0.96); transition-duration: 120ms; }
.cat .poster { position: absolute; inset: 0; }
.cat-info { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 3px; padding: 14px; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent); }
.cat-info strong { font-size: 19px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.cat-info span { font-size: 12px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat.on { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 0 3px #fff, 0 22px 44px rgba(0, 0, 0, 0.55); }
.cat-check { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; font-size: 14px; font-weight: 800; animation: pop 320ms var(--spring) both; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- the dock (host actions) ---------- */
.dock {
  position: fixed; inset: auto 0 0; z-index: 20; padding: 30px var(--gutter) max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88) 32%, rgba(0, 0, 0, 0.97) 60%);
}
.dock-inner { max-width: 520px; margin: 0 auto; }

/* ---------- a round ---------- */
.round-head { padding-top: 3svh; }
.flip { display: grid; padding: 0; border: 0; background: none; color: inherit; text-align: center; perspective: 1400px; -webkit-user-select: none; user-select: none; }
.flip-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 230px; padding: 26px 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 640ms var(--spring);
}
.flip-face.back { transform: rotateY(-180deg); }
.flip.on .front { transform: rotateY(180deg); }
.flip.on .back { transform: rotateY(0deg); }
.flip:active .flip-face { scale: 0.98; }
.eye { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.eye svg { width: 32px; }
.front strong { font-size: 22px; letter-spacing: -0.02em; }
.secret { margin: 0 0 4px; font-size: clamp(44px, 13vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.role { margin: 0 0 4px; font-size: clamp(32px, 9vw, 44px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.back .muted { margin: 4px 0 0; font-size: 15px; max-width: 30ch; }
.back .eyebrow { margin: 0; }
.tap-hide { margin-top: 12px; font-size: 13px; color: var(--dim); }
.face-wrap .face { width: 92px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4)); }
.flip.on .face-wrap .face { animation: shifty 2.6s ease-in-out 600ms infinite; }
@keyframes shifty { 0%, 40%, 100% { transform: translateX(0) rotate(0); } 50%, 85% { transform: translateX(-3px) rotate(-4deg); } }
.face-wrap.big .face { width: 128px; animation: arrive 700ms var(--spring) both; }
@keyframes arrive { from { transform: scale(0.3) rotate(-25deg); opacity: 0; } }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile {
  --r-card: 14px; display: grid; place-items: center; min-height: 68px; padding: 8px 5px; text-align: center;
  container-type: inline-size;
  font-weight: 650; line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: break-word;
  background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 300ms var(--ease), color 300ms, transform 420ms var(--spring), box-shadow 300ms;
  animation: deal 520ms var(--ease) both; animation-delay: calc(var(--i) * 22ms);
}
/* Shrinks to fit the longest word in the tile on one line (about 0.6em a letter). */
.tile span { font-size: min(15px, calc(160cqi / var(--len, 8))); }
@supports not (font-size: 1cqi) { .tile span { font-size: 13px; } }
@keyframes deal { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
/* The highlight only shows while the card is turned over, so a covered phone gives nothing away. */
.is-revealed .tile.hit { background: #fff; color: #000; transform: scale(1.06); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); font-weight: 800; }
@media (min-width: 420px) { .tile { min-height: 76px; } }

.starter { --r-card: 22px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.starter .eyebrow { margin: 0; }
.starter-name { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.starter .small { margin: 2px 0 0; }

/* ---------- reveal ---------- */
.reveal .hero-title { animation: rise 700ms var(--ease) 120ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.word-was { margin: 0; font-size: 18px; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.word-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- rules page ---------- */
.rules { gap: 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.rules a.pill, .rules a.btn, .topbar a.pill { color: inherit; text-decoration: none; }
.rules a.btn-primary { color: #000; }
.rules .hero-block { padding-top: 8svh; }
.rules .hint { margin-top: 14px; font-size: 15px; line-height: 1.5; }
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.need { display: grid; gap: 4px; align-content: start; padding: 16px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.need-big { font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -0.045em; color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.steps strong { font-size: 18px; letter-spacing: -0.02em; }
.steps p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.5; }
.step-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #000; font-weight: 800; font-size: 15px; }
.cards-explain { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-card { --r-card: 22px; align-content: start; justify-items: center; text-align: center; gap: 6px; padding: 18px 14px; }
.mini-card p { margin: 0; }
.mini-card .muted { font-size: 13px; line-height: 1.4; }
.mini-card .eyebrow { font-size: 11px; }
.mini-secret { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.mini-role { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.mini-face { width: 52px; }
.win-grid, .tips { display: grid; gap: 10px; }
.win, .tip { padding: 16px 18px; }
.win ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 16px; }
.win .eyebrow, .tip .eyebrow { margin-bottom: 6px; }
.bluffer-wins { box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.45); }
.bluffer-wins .eyebrow { color: #FFD60A; }
.room-wins { box-shadow: inset 0 0 0 1px rgba(100, 210, 255, 0.45); }
.room-wins .eyebrow { color: #64D2FF; }
.tip p:last-child { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.faq { padding: 4px 18px; }
.faq details + details { box-shadow: inset 0 1px 0 var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 14px; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.5; }
.cta { justify-items: start; }
.cta .title-xl { margin: 0; }
.cta p { margin: 0; }
.foot { margin: 0; text-align: center; font-size: 13px; color: var(--dim); }
.foot a { color: var(--muted); }
.rules-link { display: inline-block; margin-top: 12px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.rules-link::after { content: " ›"; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 100; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(60, 60, 64, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); max-width: calc(100vw - 32px); text-align: center;
}
.toast.in { animation: toastIn 300ms var(--ease) both; }
.toast.bad { background: rgba(255, 69, 58, 0.92); }
@keyframes toastIn { to { transform: translate(-50%, 0); opacity: 1; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.2, 0.9, 0.25, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-card, .pill, .btn-glass, .tile { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-card { background: #1c1c1e; }
  .glass, .tile { background: #2c2c2e; }
}
