:root {
  --bg: #0b0d13;
  --card-hi: #1b1e2b;
  --card-lo: #12141d;
  --ink: #f2f2fb;
  --soft: #9596ad;
  --accent: #9a86ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background:
    radial-gradient(65% 50% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 12px 14px;
}

.quote {
  position: relative;
  width: min(340px, 100%);
  padding: 14px 12px 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-hi), var(--card-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 60px -28px rgba(0, 0, 0, 0.9),
    0 0 100px -40px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: box-shadow 0.8s ease;
}
.quote.is-full {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, rgba(255, 255, 255, 0.06)),
    0 30px 60px -28px rgba(0, 0, 0, 0.9),
    0 0 110px -26px color-mix(in srgb, var(--accent) 85%, transparent);
}
.quote__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px; font-size: 11.5px; line-height: 18px; font-weight: 640; letter-spacing: 0.05em; text-transform: uppercase; color: var(--soft); }
.quote__level { height: 22px; overflow: hidden; padding: 0 9px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); line-height: 22px; letter-spacing: 0.02em; text-transform: none; font-size: 11.5px; }
.quote__level span { display: block; white-space: nowrap; }

/* ---- the arc: one piece per cover ---- */
.dial { position: relative; margin: 2px auto 0; width: min(230px, 100%, 50vh); }
.dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.dial path { fill: none; stroke-linecap: round; }
.dial__trk { stroke: rgba(255, 255, 255, 0.09); stroke-width: 11; }
.dial__seg { stroke: var(--accent); stroke-width: 11; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.dial__lit { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 70%, transparent)); }
.dial__price { position: absolute; left: 0; right: 0; bottom: 4%; display: grid; justify-items: center; gap: 0; }
.dial__price strong { font-size: clamp(27px, 9.4vw, 34px); line-height: 1.08; font-weight: 720; font-stretch: 108%; letter-spacing: -0.03em; }
.dial__price small { font-size: 11.5px; line-height: 15px; font-weight: 500; color: var(--soft); }

/* ---- the covers ---- */
.covers { display: grid; gap: 2px; margin-top: 8px; }
.cover {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: min(40px, 9.4vh);
  padding: 0 8px 0 10px;
  border: 0;
  border-radius: 13px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease;
}
.cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cover.is-peek { background: rgba(255, 255, 255, 0.05); }
.cover[disabled] { cursor: default; color: inherit; }
.cover__ico { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.35s ease; }
.cover.is-on .cover__ico { stroke: var(--accent); }
.cover__name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--soft); transition: color 0.35s ease; }
.cover.is-on .cover__name { color: var(--ink); }
.cover__add { flex: none; font-size: 12px; font-weight: 620; color: var(--soft); }
.cover__inc { flex: none; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); font-size: 10.5px; line-height: 15px; font-weight: 640; color: var(--soft); }
.sw { flex: none; position: relative; width: 36px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: background-color 0.3s ease; }
.cover.is-on .sw { background: var(--accent); }
.sw__knob { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 99px; background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: #ffffff;
  stroke: #14151a;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

@media (hover: hover) {
  .cover:not([disabled]):hover { background: rgba(255, 255, 255, 0.05); }
}
/* big in the poster and on a desk, unchanged in the phone's box */
@media (min-width: 700px) and (min-height: 500px) {
  .quote { zoom: 1.2; }
}
@media (min-width: 1100px) and (min-height: 760px) {
  .quote { zoom: 1.65; }
}
