/* SPDX-License-Identifier: GPL-3.0-or-later */
/* features.leyr.stream: what this page adds to /site.css, on the same tokens.
   The Quickplay menu and the display are illustrations with example data;
   nothing here talks to a server or plays audio. */

.steps { margin: 0 0 22px; padding-left: 1.4em; display: grid; gap: 8px; color: var(--fg-2); }
.steps b { color: var(--fg); }
.console-note { text-align: center; margin-top: 14px; }

/* "Not on iPhone", "Beta" beside a heading or in a sentence. */
.card .tag { display: inline-block; margin: 0 4px 0 0; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--fg-2); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: 1px; }
.card h3 .tag { margin-left: 6px; vertical-align: 3px; }
.card p a { color: var(--accent-ink); }
.feat { margin-top: 40px; }
.feat.two { margin-top: 0; }
@media (min-width: 640px) { .feat.two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat.two { grid-template-columns: repeat(2, 1fr); } }
.hero h1 { max-width: 12ch; }

/* ---------- Quickplay illustration ---------- */
.qp {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 330px;
  border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow);
}
.qp-app { display: grid; grid-template-columns: 56px 1fr; min-height: 330px; filter: saturate(.8); }
.qp-side { display: grid; align-content: start; gap: 12px; padding: 18px 16px; background: var(--bg-2); border-right: 1px solid var(--line); }
.qp-side i { display: block; height: 22px; border-radius: 6px; background: var(--line-2); }
.qp-main { padding: 20px 18px; min-width: 0; }
.qp-shelf { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.qp-covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qp-covers span { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(70% 70% at 30% 25%, var(--a), var(--b)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.qp-covers .held { transform: scale(.97); box-shadow: 0 0 0 2px var(--accent); }
/* The scrim over the app, as in the player. */
.qp::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); pointer-events: none; }
.qp-menu {
  position: absolute; z-index: 2; left: 42%; top: 62px; width: min(300px, 56%);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 520px) { .qp-menu { left: 22%; width: 74%; } .qp-app { grid-template-columns: 36px 1fr; } .qp-side { padding: 18px 8px; } }
.qp-head { display: flex; align-items: center; gap: 10px; height: 57px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.qp-head b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-art { flex: none; width: 32px; height: 32px; border-radius: 6px; background: radial-gradient(70% 70% at 30% 25%, var(--a), var(--b)); }
.qp-menu ol { list-style: none; margin: 0; padding: 0; }
.qp-menu li {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; cursor: pointer;
  font-size: 14px; color: var(--fg-2); transition: color .12s, background-color .12s;
}
.qp-menu li .n { flex: none; width: 20px; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--fg-3); }
.qp-menu li .n svg { width: 14px; height: 14px; margin-left: auto; }
.qp-menu li .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-menu li .d { flex: none; font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--fg-3); }
.qp-menu li[aria-selected="true"] { color: var(--fg); font-weight: 600; background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.qp-menu li[aria-selected="true"] .n { color: var(--accent-ink); }
.qp-menu li:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 0; }
.qp-say { margin: 16px 0 0; text-align: center; font-weight: 600; color: var(--fg); min-height: 1.6em; }

/* ---------- Display illustration ---------- */
.vfd {
  max-width: 760px; margin: 0 auto; padding: 22px 24px 20px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  /* Black glass in both themes; the segments take the page's accent. */
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 10%, #050706), #020303 70%);
  color: color-mix(in srgb, var(--accent) 85%, white); font-family: var(--mono);
}
.vfd-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.vfd-title { font-size: clamp(18px, 3.6vw, 30px); font-weight: 700; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent); }
.vfd-time { font-size: clamp(18px, 3.6vw, 30px); font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent); }
.vfd-sub { margin-top: 6px; font-size: 12px; letter-spacing: .1em; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vfd-seek { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: 3px; margin: 18px 0; height: 22px; }
.vfd-seek i { border-radius: 2px; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.vfd-seek i:nth-child(-n+20) { background: var(--accent); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent); }
.vfd-seek i:nth-child(21) { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.vfd-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.vfd-keys span { padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 6px; font-size: 11.5px; letter-spacing: .12em; opacity: .8; }
.vfd-keys .on { background: color-mix(in srgb, var(--accent) 22%, transparent); opacity: 1; }
@media (max-width: 480px) { .vfd { padding: 16px 14px; } .vfd-seek { gap: 2px; } .vfd-keys span { padding: 5px 9px; } }
