@font-face { font-family: "Dana"; src: url("../fonts/Dana-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../fonts/Dana-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../fonts/Dana-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #0d0e11;
  --surface: #16181c;
  --surface-2: #1e2025;
  --surface-3: #272a30;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f3f4f6;
  --muted: #a2a7b0;
  --dim: #6d727c;

  /* subtitle yellow: the one brand colour, kept for actions and highlights */
  --accent: #f5c542;
  --accent-ink: #1a1505;
  --accent-soft: rgba(245, 197, 66, 0.12);
  --accent-tint: rgba(245, 197, 66, 0.05);
  --danger: #f0705f;
  --danger-soft: rgba(240, 112, 95, 0.13);
  --ok: #4cc38a;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pad: 20px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fa: "Dana", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--fa);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
[dir="ltr"] { unicode-bidi: isolate; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shell { max-width: 600px; margin: 0 auto; padding: 0 var(--pad) calc(32px + env(safe-area-inset-bottom)); }
.shell:has(.cta) { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

/* ---------------------------------------------------------------- app bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: 60px; margin: 0 calc(var(--pad) * -1); padding: env(safe-area-inset-top) 10px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.is-scrolled .bar {
  background: rgba(13, 14, 17, 0.82); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.bar--home { display: flex; justify-content: space-between; padding-inline: var(--pad); }
.bar__title { grid-column: 2; margin: 0; text-align: center; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; color: var(--text);
  transition: background 0.15s;
}
.iconbtn:active { background: var(--surface-2); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand__name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.logo { width: 30px; height: 30px; flex: none; }
.pill { font-size: 11.5px; font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* ------------------------------------------------------------------- home */
.hero { padding: 20px 0 22px; }
.hero h1 { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.4; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.hero p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.85; text-wrap: pretty; }

.search { position: relative; }
.search__field { position: relative; }
.search input {
  width: 100%; height: 56px; padding: 0 48px 0 16px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search__icon { position: absolute; inset-inline-start: 16px; top: 18px; color: var(--muted); pointer-events: none; }
.results {
  margin-top: 8px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow);
  animation: drop 0.16s var(--ease);
}
.results:empty { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.results__msg { display: flex; align-items: center; gap: 10px; padding: 16px; color: var(--muted); font-size: 14.5px; }
.result {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 14px; background: none; border: 0; border-top: 1px solid var(--line); text-align: start;
}
.result:first-child { border-top: 0; }
.result.is-active { background: var(--surface-2); }
.result__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.result__text b { font-weight: 500; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.result__text small { color: var(--muted); font-size: 12.5px; }

.block { margin-top: 36px; }
.block__title { margin-bottom: 14px; font-size: 17px; font-weight: 700; }
.block__note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.rail {
  display: flex; gap: 12px; overflow-x: auto;
  margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 112px; padding: 0; background: none; border: 0; text-align: start; scroll-snap-align: start; }
.pick .poster { width: 100%; border-radius: var(--r); transition: transform 0.2s var(--ease); }
.pick:active .poster { transform: scale(0.97); }
.pick b { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.pick small { display: block; color: var(--dim); font-size: 12px; }

/* the sample player frame on the home page */
.frame {
  position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(70% 90% at 22% 18%, rgba(196, 150, 92, 0.38), transparent 62%),
    radial-gradient(60% 80% at 88% 74%, rgba(62, 92, 128, 0.45), transparent 64%),
    radial-gradient(40% 50% at 62% 30%, rgba(255, 220, 170, 0.1), transparent 70%),
    #121317;
  outline: 1px solid var(--line); outline-offset: -1px;
}
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 55%); }
.frame__chip {
  position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px;
  font-size: 11.5px; line-height: 1; padding: 6px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.frame__sub {
  position: absolute; z-index: 1; inset-inline: 16px; bottom: 30px;
  text-align: center; color: #fff; font-size: clamp(15px, 4.4vw, 19px); font-weight: 500; line-height: 1.45;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.frame__sub mark { background: none; color: var(--accent); font-weight: 700; }
.frame__bar { position: absolute; z-index: 1; inset-inline: 16px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.frame__bar::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 38%; border-radius: inherit; background: rgba(255, 255, 255, 0.85); }

.steps { list-style: none; display: grid; gap: 14px; margin: 22px 0 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.num {
  width: 28px; height: 28px; display: grid; place-items: center; flex: none;
  border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 13.5px; font-weight: 700;
}

.upload {
  display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 16px;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg); cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload:active { background: var(--surface); }
.upload__icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: var(--r); background: var(--surface-2); color: var(--accent); }
.upload__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.55; }
.upload__text b { font-size: 15px; font-weight: 500; }
.upload__text small { color: var(--muted); font-size: 13px; }
.upload > .i { color: var(--dim); }

/* --------------------------------------------------------------- posters */
.poster { width: 92px; aspect-ratio: 2 / 3; object-fit: cover; flex: none; background: var(--surface-2); border-radius: var(--r-sm); outline: 1px solid rgba(255, 255, 255, 0.06); outline-offset: -1px; }
.poster--lg { width: 104px; border-radius: var(--r); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8); }
.poster--sm { width: 48px; border-radius: 6px; }
.poster--xs { width: 36px; border-radius: 5px; }
.poster--empty { background: linear-gradient(160deg, var(--surface-3), var(--surface-2)); }

/* ------------------------------------------------------------ title page */
.show { position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 16px; padding: 8px 0 26px; }
.show__bg {
  position: absolute; z-index: -1; inset: -70px calc(var(--pad) * -1) 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.show__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(42px) saturate(1.3); opacity: 0.4; transform: scale(1.25); }
.show__text { flex: 1; min-width: 0; padding-bottom: 4px; }
.show__text h1 { font-size: 24px; font-weight: 700; line-height: 1.3; text-align: right; overflow-wrap: anywhere; }
.show__text p { margin-top: 6px; color: var(--muted); font-size: 14px; }

.seasons {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 2px;
}
.seasons::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.chip.is-on { background: var(--text); color: var(--bg); font-weight: 700; }

.list { list-style: none; margin: 16px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.list li + li { border-top: 1px solid var(--line); }
.row {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px;
  padding: 12px 16px; background: none; border: 0; text-align: start;
  transition: background 0.12s;
}
.row:active { background: var(--surface-2); }
.row__num { width: 22px; flex: none; color: var(--dim); font-size: 14px; font-weight: 500; text-align: center; }
.row__main { flex: 1; min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.row > .i { color: var(--dim); width: 18px; height: 18px; }

/* ----------------------------------------------------------- options page */
.context {
  display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.context div { display: flex; flex-direction: column; min-width: 0; line-height: 1.55; }
.context b { font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.context span { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.field { margin-top: 30px; }
.field h3 { font-size: 16.5px; font-weight: 700; }
.hint { margin: 4px 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; cursor: pointer; transition: background 0.15s;
}
.opt + .opt { border-top: 1px solid var(--line); }
.opt input, .card-opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt.is-on { background: var(--accent-tint); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.radio {
  width: 20px; height: 20px; flex: none; display: grid; place-items: center;
  border: 2px solid var(--dim); border-radius: 50%; transition: border-color 0.15s;
}
.radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.18s var(--ease); }
.is-on > .radio { border-color: var(--accent); }
.is-on > .radio::after { transform: scale(1); }
.opt__body { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.55; }
.opt__body b { font-size: 15px; font-weight: 500; }
.opt__body small { color: var(--muted); font-size: 13px; }
.badge {
  flex: none; min-width: 36px; padding: 4px 8px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--muted); font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center;
}
.is-on > .badge { background: var(--accent-soft); color: var(--accent); }

.version__name { display: block; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; text-align: left; }
.version__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.version__tags:empty { display: none; }
.tag { font-style: normal; font-size: 11.5px; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.tag--plain { background: none; padding-inline: 0; color: var(--dim); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.card-opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card-opt .i { width: 22px; height: 22px; color: var(--muted); }
.card-opt span { display: flex; flex-direction: column; line-height: 1.5; }
.card-opt b { font-size: 15px; font-weight: 500; }
.card-opt small { color: var(--muted); font-size: 12.5px; }
.card-opt.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-tint); }
.card-opt.is-on .i { color: var(--accent); }
.card-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.empty { margin: 0; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); font-size: 14px; line-height: 1.8; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 5;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 14, 17, 0.86); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.cta > * { max-width: 560px; margin-inline: auto; }
.cta__note { margin-top: 8px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px;
  padding: 12px 18px; border: 0; border-radius: 14px;
  background: var(--surface-2); color: var(--text); font-size: 16px; font-weight: 700;
  transition: transform 0.12s var(--ease), filter 0.15s, background 0.15s;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--muted); font-weight: 500; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ done */
.done { padding-top: 12px; }
.done__head { text-align: center; }
.done__mark { width: 64px; height: 64px; margin: 8px auto 0; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.done__mark .i { width: 30px; height: 30px; stroke-width: 2.2; }
.done h1 { margin-top: 16px; font-size: 26px; font-weight: 700; line-height: 1.4; }
.done__what { margin-top: 4px; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.stat { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; line-height: 1.5; }
.stat b { display: block; font-size: 26px; font-weight: 700; color: var(--accent); }
.stat span { color: var(--muted); font-size: 13px; }

.downloads { display: grid; gap: 10px; margin-top: 24px; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.dl-card .dl { border: 0; border-radius: 0; }
.ar { padding: 14px; border-top: 1px solid var(--line); }
.ar__title { font-size: 14px; font-weight: 500; }
.ar__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.ar__opt {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 2px 8px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; color: var(--muted);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ar__opt input { position: absolute; opacity: 0; pointer-events: none; }
.ar__box { height: 24px; display: grid; place-items: center; }
.ar__shape { display: block; width: 32px; height: calc(32px / var(--r)); border: 1.5px solid currentColor; border-radius: 3px; }
.ar__name { font-size: 12.5px; font-weight: 700; line-height: 1; }
.ar__opt.is-on { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.ar__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ar__hint { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.dl {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.dl:active { background: var(--surface-2); }
.dl__type {
  width: 44px; height: 52px; display: grid; place-items: center; flex: none;
  border-radius: 10px; background: var(--surface-2); color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.dl__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.55; }
.dl__text b { font-size: 15.5px; font-weight: 700; }
.dl__text small { color: var(--muted); font-size: 13px; }
.dl__go { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.dl__go .i { stroke-width: 2.2; }
.done .block { margin-top: 32px; }
.done__more { display: grid; gap: 4px; margin-top: 32px; }

/* --------------------------------------------------------------- loading */
.spinner {
  width: 18px; height: 18px; flex: none; display: inline-block;
  border: 2px solid var(--surface-3); border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton-list { display: grid; gap: 8px; margin-top: 16px; }
.skeleton-list--tight { margin-top: 0; }
.sk {
  height: 52px; border-radius: var(--r);
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.sk--short { height: 72px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ----------------------------------------------------------------- sheet */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); animation: fade 0.2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel {
  position: relative; width: 100%; max-width: 560px;
  padding: 10px var(--pad) calc(20px + env(safe-area-inset-bottom));
  background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0; border-radius: var(--r-xl) var(--r-xl) 0 0;
  animation: up 0.26s var(--ease);
}
.sheet__panel::before { content: ""; display: block; width: 36px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: var(--surface-3); }
@keyframes up { from { transform: translateY(32px); opacity: 0; } }
.sheet__center { text-align: center; }
.sheet__panel h2 { font-size: 20px; font-weight: 700; line-height: 1.5; }
.sheet__panel p { margin: 6px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.sheet__panel .btn + .btn { margin-top: 6px; }
.sheet__busy { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 0 18px; color: var(--muted); }
.sheet__icon {
  width: 52px; height: 52px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 50%; background: var(--danger-soft); color: var(--danger);
}
.sheet__icon .i { width: 26px; height: 26px; }
.sheet__icon--accent { background: var(--accent-soft); color: var(--accent); }
.progress { list-style: none; margin: 0; padding: 6px 0 10px; }
.progress li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--muted); }
.progress .i { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.progress .is-now { color: var(--text); }

@media (min-width: 620px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { border-bottom: 1px solid var(--line-2); border-radius: var(--r-xl); padding-top: 28px; padding-bottom: 24px; }
  .sheet__panel::before { display: none; }
}

/* simulated ad (dev provider) */
.fake-ad {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; align-content: center; gap: 10px;
  background: radial-gradient(80% 60% at 50% 40%, #1d2026, #0b0c0e);
}
.fake-ad__label { color: var(--muted); font-size: 14px; }
.fake-ad__count { font-size: 88px; font-weight: 700; line-height: 1; color: var(--text); }
.fake-ad__close {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 16px;
  padding: 8px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 14px;
}

.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; line-height: 1.9; }

@media (hover: hover) {
  .iconbtn:hover { background: var(--surface-2); }
  .result:hover, .row:hover { background: var(--surface-2); }
  .chip:not(.is-on):hover { color: var(--text); background: var(--surface-3); }
  .pick:hover .poster { transform: translateY(-2px); }
  .upload:hover { border-color: var(--dim); background: var(--surface); }
  .opt:not(.is-on):hover { background: var(--surface-2); }
  .card-opt:not(.is-on):hover { border-color: var(--line-2); }
  .dl:hover { border-color: var(--line-2); background: var(--surface-2); }
  .ar__opt:not(.is-on):hover { border-color: var(--line-2); color: var(--text); }
  .btn--primary:not(:disabled):hover { filter: brightness(1.06); }
  .btn:not(.btn--primary):not(:disabled):hover { background: var(--surface-3); }
  .btn--ghost:not(:disabled):hover { background: var(--surface-2); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
