/* Slip — Night game. One stadium under floodlights. */
/* Self-hosted variable fonts (latin). */
@font-face { font-family: "Big Shoulders Display"; src: url(fonts/big-shoulders-display-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --field: #0C1828;
  --field-2: #0A1422;
  --raised: #13233A;
  --raised-2: #1A2D47;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --chalk: #F1F3EE;
  --mist: #C3CCD9;
  --muted: #93A1B5;
  --flood: #FFB341;
  --flood-2: #FFC973;
  --flood-ink: #0C1828;
  --turf: #57D39A;
  --turf-deep: #0F2E24;
  --scrim: #5BA8FF;
  --scrim-text: #8EC3FF;
  --red: #FF7A6B;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", -apple-system, system-ui, sans-serif;
  --r-card: 24px;
  --r-tile: 20px;
  --r-pill: 999px;
  --pad: 16px;
  --top: max(env(safe-area-inset-top), 16px);
  --bottom: max(env(safe-area-inset-bottom), 12px);
  --nav-h: calc(64px + var(--bottom));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.2%, 1);
  --spring-pop: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--field); }
body {
  font-family: var(--body);
  color: var(--chalk);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--flood); }
:focus-visible { outline: 2px solid var(--flood); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- floodlights ---------- */
.lights {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 34% at 50% -8%, rgba(255, 239, 206, 0.26), rgba(255, 239, 206, 0.05) 55%, transparent 75%);
  transition: opacity 0.6s var(--ease-out);
}
.lights.on { animation: lights-on 1.5s steps(1) both; }
@keyframes lights-on { 0% { opacity: 0 } 16% { opacity: .5 } 28% { opacity: .15 } 44% { opacity: .85 } 56% { opacity: .55 } 64%, 100% { opacity: 1 } }
.lights.dim { opacity: 0.55; }

/* ---------- app frame ---------- */
#app { position: relative; z-index: 1; height: 100%; }
.view {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--top) + 8px) var(--pad) calc(var(--nav-h) + 24px);
  scrollbar-width: none;
}
.view::-webkit-scrollbar { display: none; }
.view.no-nav { padding-bottom: calc(var(--bottom) + 24px); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 900; line-height: 0.92; letter-spacing: 0.005em; }
.h1 { font-family: var(--display); font-size: 46px; font-weight: 900; line-height: 0.95; margin: 0; }
.h2 { font-size: 17px; font-weight: 700; margin: 0; }
.sub { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.muted { color: var(--muted); }
.mist { color: var(--mist); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.good { color: var(--turf); }
.bad { color: var(--red); }
.amber { color: var(--flood); }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: -6px -8px 6px; }
.back {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 8px;
  border: 0; background: none; color: var(--chalk); font-size: 15px;
}
.iconbtn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--raised); border: 1px solid var(--line); color: var(--chalk);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.iconbtn:active { transform: scale(0.92); background: var(--raised-2); }

/* ---------- surfaces ---------- */
.tile { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 14px 16px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.hair { border-top: 1px solid var(--line); }

/* ---------- controls ---------- */
.seg {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: var(--r-pill); background: var(--raised); border: 1px solid var(--line);
}
.seg button {
  position: relative; z-index: 1; height: 40px; border: 0; background: none; border-radius: var(--r-pill);
  color: var(--mist); font-size: 15px; font-weight: 500; transition: color 0.3s var(--ease-out);
}
.seg button[aria-checked="true"] { color: var(--flood-ink); font-weight: 700; }
.seg .thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: var(--r-pill); background: var(--chalk);
  transition: transform 0.45s var(--spring), width 0.45s var(--spring);
}
.seg.square { border-radius: 16px; }
.seg.square button, .seg.square .thumb { border-radius: 12px; }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--mist); font-size: 14px;
  transition: background 0.25s var(--ease-out), border-color 0.25s, color 0.25s, transform 0.2s var(--ease-out);
}
.chip[aria-pressed="true"] { border: 1.5px solid var(--flood); background: rgba(255, 179, 65, 0.14); color: var(--chalk); font-weight: 600; }
.chip:active { transform: scale(0.95); }

.btn {
  height: 56px; border: 0; border-radius: var(--r-pill); width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn-primary { background: var(--flood); color: var(--flood-ink); box-shadow: 0 8px 28px rgba(255, 179, 65, 0.32); }
.btn-ghost { background: transparent; color: var(--chalk); border: 1px solid var(--line-2); }
.btn-small { height: 44px; font-size: 15px; }

.stepper { display: flex; flex-direction: column; gap: 6px; }
.round {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--chalk);
  display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease-out), background 0.2s;
}
.round:active { transform: scale(0.9); background: var(--raised-2); }

.field { display: block; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); padding: 12px 16px; transition: border-color .2s; }
.field:focus-within { border-color: var(--line-2); }
.field label, .field .label { display: block; font-size: 12px; color: var(--muted); }
.field textarea, .field input {
  display: block; width: 100%; margin-top: 4px; border: 0; padding: 0; background: transparent; color: var(--chalk);
  font: inherit; font-size: 16px; line-height: 1.45; resize: none; outline: none;
}
.field textarea::placeholder, .field input::placeholder { color: #6F7E94; }

.big-num { font-family: var(--display); font-weight: 900; font-size: 68px; line-height: 0.9; font-variant-numeric: tabular-nums; }

/* yard-line payout range */
.yard { position: relative; height: 40px; margin-top: 10px; border-radius: 8px; overflow: hidden; touch-action: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 1px, transparent 1px calc(100% / 10)), var(--turf-deep); }
.yard .band { position: absolute; top: 0; bottom: 0; background: rgba(255, 179, 65, 0.28); border-left: 3px solid var(--flood); border-right: 3px solid var(--flood); transition: left .15s, width .15s; }
.yard-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- legs ---------- */
.legs { border-top: 1px solid var(--line); }
.leg { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.leg:last-child { border-bottom: 0; }
.dots { position: relative; width: 26px; height: 16px; flex: none; }
.dots span { position: absolute; top: 0; width: 16px; height: 16px; border-radius: 50%; }
.dots span:nth-child(2) { left: 10px; box-shadow: 0 0 0 2px var(--raised); }
.leg .name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.leg .name small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.leg .px { text-align: right; line-height: 1.15; }
.leg .px b { font-family: var(--display); font-size: 22px; font-weight: 800; }
.leg .px small { display: block; font-size: 12px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.turf { background: var(--turf); color: var(--flood-ink); }
.pill.dim { background: var(--raised-2); color: var(--mist); font-weight: 600; }
.pill.warn { background: rgba(255, 122, 107, 0.16); color: var(--red); }

/* ---------- parlay cards ---------- */
.parlay .mult { font-family: var(--display); font-weight: 900; font-size: 84px; line-height: 0.82; color: var(--flood); font-variant-numeric: tabular-nums; }
.parlay p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mist); }
.parlay details summary { list-style: none; cursor: pointer; color: var(--muted); font-size: 13px; }
.parlay details summary::-webkit-details-marker { display: none; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sources a { font-size: 12px; color: var(--mist); text-decoration: none; padding: 4px 9px; border-radius: var(--r-pill); background: var(--raised-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- research progress ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 2px; }
.tl-item { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.tl-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.tl-item.done .tl-dot { background: var(--turf); border-color: var(--turf); color: var(--flood-ink); }
.tl-item.live .tl-dot { border-color: var(--flood); box-shadow: 0 0 0 0 rgba(255,179,65,.6); animation: pulse 1.6s ease-out infinite; }
.tl-item.live .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flood); }
.tl-text { font-size: 15px; }
.tl-text small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(255, 179, 65, 0); } }
.sweep { position: relative; height: 3px; border-radius: 2px; overflow: hidden; background: var(--raised-2); }
.sweep::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--flood), transparent); animation: sweep 1.6s var(--ease-in-out) infinite; }
@keyframes sweep { from { left: -40%; } to { left: 100%; } }

/* ---------- shop ---------- */
.price-hero { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 33vw, 140px); line-height: 0.8; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--turf); animation: live 1.6s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(87, 211, 154, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(87, 211, 154, 0); } }
.meter { position: relative; height: 92px; }
.meter .strip { position: absolute; left: 0; right: 0; top: 24px; height: 44px; border-radius: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 1px, transparent 1px var(--tick, 12.5%)), var(--turf-deep); }
.meter .scrim { position: absolute; top: 18px; bottom: 18px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--scrim); transition: left .6s var(--spring); }
.meter .scrim-label { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--scrim-text); white-space: nowrap; transition: left .6s var(--spring); }
.meter .mk { position: absolute; top: 39px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--chalk); transition: left .6s var(--spring), opacity .3s; }
.meter .mk.best { top: 36px; width: 20px; height: 20px; margin-left: -10px; background: var(--flood); box-shadow: 0 0 0 4px rgba(255,179,65,.25), 0 0 18px rgba(255,179,65,.6); }
.meter .mk-label { position: absolute; bottom: 0; transform: translateX(-50%); font-family: var(--display); font-size: 17px; font-weight: 700; transition: left .6s var(--spring); }
.meter .mk-label.best { color: var(--flood); font-weight: 800; }
.note { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.note.turf { background: rgba(87, 211, 154, 0.10); border: 1px solid rgba(87, 211, 154, 0.35); }
.note.warn { background: rgba(255, 122, 107, 0.10); border: 1px solid rgba(255, 122, 107, 0.35); }
.note.info { background: var(--raised); border: 1px solid var(--line); }
.lines { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--mist); }
.lines > div { display: flex; justify-content: space-between; gap: 12px; }
.lines b { color: var(--chalk); font-weight: 700; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 16px 20px calc(var(--bottom) + 14px);
  background: linear-gradient(transparent, var(--field) 28%); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ring {
  --p: 0; position: relative; flex: none; width: 96px; height: 96px; border-radius: 50%; border: 0; padding: 5px;
  background: conic-gradient(var(--flood) calc(var(--p) * 1%), rgba(255, 255, 255, 0.12) 0);
  box-shadow: 0 0 calc(10px + var(--p) * 0.4px) rgba(255, 179, 65, calc(0.2 + var(--p) * 0.005));
  touch-action: none; transition: transform 0.25s var(--ease-out);
}
.ring:active { transform: scale(0.96); }
.ring .core { width: 100%; height: 100%; border-radius: 50%; background: var(--field); display: flex; align-items: center; justify-content: center; color: var(--chalk); transition: background .3s; }
.ring.armed .core { background: var(--flood); color: var(--flood-ink); }
.ring[disabled] { opacity: .4; }

/* ---------- bets ---------- */
.bal { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.bet-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bet-row:last-child { border-bottom: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; height: var(--nav-h); padding: 8px 36px var(--bottom);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(12, 24, 40, 0.82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out);
}
.nav.hidden { transform: translateY(110%); }
.nav.hidden .glow { opacity: 0; }
.nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; height: 52px; justify-content: center; border: 0; background: none; color: var(--muted); font-size: 11.5px; }
.nav button[aria-current="page"] { color: var(--chalk); font-weight: 700; }
.nav .glow { position: absolute; top: -9px; width: 26px; height: 3px; border-radius: 2px; background: var(--flood); box-shadow: 0 0 12px var(--flood); transition: left 0.5s var(--spring); }

/* ---------- sheet + toast ---------- */
.scrim-bg { position: fixed; inset: 0; z-index: 20; background: rgba(4, 9, 16, 0.6); opacity: 0; transition: opacity 0.3s; }
.scrim-bg.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 86%; overflow-y: auto; background: var(--raised); border-radius: 28px 28px 0 0; border-top: 1px solid var(--line-2);
  padding: 10px 20px calc(var(--bottom) + 20px); transform: translateY(100%); transition: transform 0.5s var(--spring); }
.sheet.open { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto 14px; }
.toast { position: fixed; left: 50%; top: calc(var(--top) + 6px); z-index: 30; transform: translate(-50%, -140%); max-width: calc(100% - 32px);
  background: var(--chalk); color: var(--flood-ink); padding: 12px 18px; border-radius: 18px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); transition: transform 0.5s var(--spring); }
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--red); }

/* ---------- lock screen ---------- */
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 40px 28px; text-align: center; }
.lock .mark { width: 92px; height: 92px; }
.lock .h1 { font-size: 64px; }

/* ---------- entrances (one orchestrated reveal per screen) ---------- */
.rise > * { animation: rise 0.7s var(--ease-out) both; }
.rise > *:nth-child(2) { animation-delay: 0.05s; } .rise > *:nth-child(3) { animation-delay: 0.1s; }
.rise > *:nth-child(4) { animation-delay: 0.15s; } .rise > *:nth-child(5) { animation-delay: 0.2s; }
.rise > *:nth-child(6) { animation-delay: 0.25s; } .rise > *:nth-child(7) { animation-delay: 0.3s; }
.rise > *:nth-child(n+8) { animation-delay: 0.35s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.flash { animation: flash 0.9s var(--ease-out); }
@keyframes flash { 0% { color: var(--flood); text-shadow: 0 0 24px rgba(255,179,65,.8); } 100% { text-shadow: none; } }

/* View Transitions: screens push in with depth. */
::view-transition-old(root) { animation: vt-out 0.38s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease-out) both; }
.vt-back::view-transition-old(root) { animation: vt-out-back 0.38s var(--ease-in-out) both; }
.vt-back::view-transition-new(root) { animation: vt-in-back 0.5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.94); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(32px) scale(1.02); filter: blur(8px); } }
@keyframes vt-out-back { to { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(6px); } }
@keyframes vt-in-back { from { opacity: 0; transform: scale(0.94); filter: blur(6px); } }
::view-transition-group(nav) { animation: none; }
::view-transition-group(hero) { animation-duration: 0.55s; animation-timing-function: var(--spring); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* larger phones / iPad: keep a phone-width column */
@media (min-width: 560px) {
  .view { padding-left: calc(50% - 250px); padding-right: calc(50% - 250px); }
  .nav { padding-left: calc(50% - 200px); padding-right: calc(50% - 200px); }
  .buybar { padding-left: calc(50% - 230px); padding-right: calc(50% - 230px); }
}

/* ---------- buying + success ---------- */
.ring.busy { background: conic-gradient(var(--flood) 0 28%, rgba(255, 255, 255, 0.12) 0); animation: ringspin 0.9s linear infinite; }
.ring.busy .core { animation: ringspin 0.9s linear infinite reverse; }
@keyframes ringspin { to { transform: rotate(1turn); } }
.burst { position: relative; width: 128px; height: 128px; margin-bottom: 6px; }
.burst .core { position: absolute; inset: 0; border-radius: 50%; background: var(--flood); color: var(--flood-ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(255, 179, 65, 0.55); animation: pop 0.8s var(--spring-pop) both; }
.burst::before, .burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--flood); animation: ripple 1.4s var(--ease-out) 0.15s both; }
.burst::after { animation-delay: 0.4s; }
@keyframes pop { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ripple { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }
.switch { position: relative; width: 52px; height: 32px; border-radius: 999px; background: var(--raised-2); border: 1px solid var(--line-2); transition: background .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--chalk); transition: transform .35s var(--spring); }
.switch[aria-checked="true"] { background: var(--turf); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
select.select { appearance: none; -webkit-appearance: none; background: var(--raised-2); color: var(--chalk); border: 1px solid var(--line-2); border-radius: 12px; height: 40px; padding: 0 14px; font: inherit; font-size: 15px; }
