/* Tangofy Live on the site: the two experiences (home, Features), the console and the Live page.
   The illustrations follow the real Live screen (client/src/components/live): same pieces, same
   words, same colours. They are drawn in HTML so they stay sharp and can move (live.js). */

:root { --cue: #38bdf8; --lv-ease: cubic-bezier(.32, .72, 0, 1); }

/* ---------- Shared bits ---------- */
.lv-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  background: rgb(255 143 45 / .08); box-shadow: inset 0 0 0 1px rgb(255 143 45 / .3);
}
.lv-eyebrow i { position: relative; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.lv-eyebrow i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--orange); animation: lv-ping 2.2s var(--ease) infinite; }
@keyframes lv-ping { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.8); } }
.lv-tag {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; vertical-align: middle;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange); background: rgb(255 143 45 / .12); box-shadow: inset 0 0 0 1px rgb(255 143 45 / .35);
}
.lv-panel {
  position: relative; container-type: inline-size; min-width: 0; border-radius: var(--radius); padding: clamp(12px, 1.8vw, 20px);
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01)), #0e0e10;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 80px -40px rgb(0 0 0 / .85);
}
.lv-glow { position: relative; isolation: isolate; }
.lv-glow::before { content: ''; position: absolute; z-index: -1; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 110 40 / .32), transparent 75%); filter: blur(50px); pointer-events: none; }
.ic { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Home and Features: the two experiences, each with a working illustration ---------- */
.exps .section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.fx-modes { padding-top: clamp(24px, 3vw, 40px); }
.exps-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.exp {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(18px, 2vw, 26px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01)), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / .06);
}
.exp-live { box-shadow: inset 0 0 0 1px rgb(255 143 45 / .35), inset 0 1px 0 rgb(255 255 255 / .06), 0 30px 70px -44px rgb(255 110 40 / .6); }
.exp-k { display: flex; align-items: center; gap: 8px; color: var(--orange); }
.exp-k .ic { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 12px; background: rgb(255 143 45 / .1); box-shadow: inset 0 0 0 1px rgb(255 143 45 / .25); }
.exp-k b { font-family: var(--display); font-size: 13px; letter-spacing: .1em; color: var(--text-3); }
.exp-k .lv-tag { margin-left: auto; }
.exp h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; letter-spacing: -.03em; margin-top: 4px; }
.exp > p { margin: 0; color: var(--text-2); min-height: 3.1em; }
.exp-viz { margin: 8px 0 4px; flex: 1; display: flex; flex-direction: column; }
.exp-viz > .lv-panel { flex: 1; }
.exp-live .exp-viz { justify-content: center; }
.exp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.exp-foot .step-link { margin: 0; padding: 0; font-size: 15px; }
.fx-modes { padding-top: clamp(24px, 3vw, 40px); }
@media (max-width: 1000px) { .exps-row { grid-template-columns: minmax(0, 1fr); } .exp > p { min-height: 0; } }
/* compact panels inside the side-by-side cards */
.exp .lv-panel { padding: 12px; border-radius: 22px; }
.exp .gen-bar { gap: 8px 10px; padding-bottom: 12px; }
.exp .gen-go { height: 36px; padding: 0 14px; font-size: 13px; }
.exp .gen-row .tt { font-size: 13px; }
.exp .gen-stats dd { font-size: 19px; }

/* The milonga generator, as on the Generate page of the app */
.gen { display: flex; flex-direction: column; gap: 12px; }
.gen-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.gen-field { display: grid; gap: 6px; }
.gen-field small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.gen-select { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.gen-select .ic { width: 11px; height: 11px; color: var(--text-3); }
.gen-size button { width: 32px; padding: 0; }
.gen-go {
  margin-left: auto; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #1a0b00; background: var(--orange); background-image: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 12px 28px -12px rgb(255 143 45 / .9); transition: transform .35s var(--lv-ease), box-shadow .35s var(--lv-ease);
}
.gen-go .ic { width: 16px; height: 16px; transition: transform .8s var(--lv-ease); }
.gen-go:hover { transform: translateY(-2px); }
.gen-go:active, .gen-go.press { transform: scale(.95); }
.gen-go.busy .ic { animation: spin 1.1s linear infinite; }
.gen-seq { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gen-seq small { font-size: 11px; color: var(--text-3); }
.gen-seq .dots { display: flex; gap: 5px; }
.gen-seq .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.gen-list { position: relative; display: grid; gap: 6px; min-height: 0; }
.gen-row { display: grid; grid-template-rows: auto 0fr; border-radius: 14px; background: #19191c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07);
  opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .55s var(--lv-ease), transform .6s var(--lv-ease), box-shadow .5s var(--lv-ease), grid-template-rows .55s var(--lv-ease); transition-delay: var(--d, 0s); }
.gen-row.in { opacity: 1; transform: none; }
.gen-row.out { opacity: 0; transform: translateY(-6px) scale(.99); transition-duration: .3s; }
.gen-row.open { grid-template-rows: auto 1fr; }
.gen-row.swapped { box-shadow: inset 0 0 0 1px rgb(255 143 45 / .7), 0 0 0 3px rgb(255 143 45 / .15); }
.gen-head { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 8px 7px 12px; }
.gen-row .n { width: 18px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.gen-row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.gen-row .tt { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gen-row .tt.swap { animation: lv-fade .5s var(--lv-ease); }
.gen-row .cnt { font-size: 12px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gen-row .chev { width: 10px; height: 10px; color: var(--text-3); transition: transform .4s var(--lv-ease); }
.gen-row.open .chev { transform: rotate(180deg); }
.gen-row .rep { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: rgb(255 143 45 / .1); transition: transform .3s var(--lv-ease), background-color .3s; }
.gen-row .rep .ic { width: 13px; height: 13px; }
.gen-row .rep.press { transform: scale(.85); background: rgb(255 143 45 / .3); }
.gen-row.cort { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05); }
.gen-row.cort .tt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.gen-tracks { overflow: hidden; min-height: 0; }
.gen-tracks ol { margin: 0; padding: 6px 0 8px; list-style: none; border-top: 1px solid rgb(255 255 255 / .06); background: rgb(0 0 0 / .12); }
.gen-tracks li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 14px 5px 50px; font-size: 13px; color: var(--text-2); }
.gen-tracks li span { color: var(--text-3); font-variant-numeric: tabular-nums; }
.gen-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2px 0 0; border-radius: 16px; background: #19191c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.gen-stats div { padding: 10px 8px; text-align: center; }
.gen-stats div + div { box-shadow: inset 1px 0 0 rgb(255 255 255 / .07); }
.gen-stats dd { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.gen-stats dt { margin-top: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
@container (max-width: 480px) {
  .gen-go { margin-left: 0; width: 100%; justify-content: center; }
  .gen-row .cnt { display: none; }
  .gen-tracks li { padding-left: 40px; }
}

/* ---------- The console: deck A, master, deck B (as on the Live screen) ---------- */
.lv-console { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .58fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.lv-deck {
  --c: var(--tango);
  position: relative; container-type: inline-size; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border-radius: 18px;
  background: #151517; border: 2px solid transparent; transition: border-color .5s var(--lv-ease), box-shadow .6s var(--lv-ease);
}
.lv-deck.is-air { border-color: var(--orange); box-shadow: 0 24px 60px -34px rgb(255 120 40 / .7); }
.lv-deck.is-cue { border: 2px dashed rgb(56 189 248 / .7); }
.lv-dh { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lv-letter { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--text-2); background: rgb(255 255 255 / .1); transition: background-color .5s, color .5s; }
.lv-deck.is-air .lv-letter { background: var(--orange); color: #1a0b00; }
.lv-deck.is-cue .lv-letter { background: var(--cue); color: #04131c; }
.lv-state { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; color: var(--text); background: rgb(255 255 255 / .1); transition: background-color .5s, color .5s; }
.lv-state .ic { width: 11px; height: 11px; }
.lv-deck.is-air .lv-state { background: var(--orange); color: #1a0b00; }
.lv-clock { flex: 1; display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-clock b { font-size: 17px; font-weight: 700; }
.lv-clock small { font-size: 11px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.lv-title { min-width: 0; min-height: 38px; }
.lv-title b { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-title span { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-title.swap { animation: lv-fade .6s var(--lv-ease); }
@keyframes lv-fade { from { opacity: 0; transform: translateY(5px); } }
.lv-body { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lv-vinyl { --s: clamp(64px, 34cqi, 118px); position: relative; flex-shrink: 0; width: var(--s); height: var(--s); border-radius: 50%; box-shadow: 4px 10px 24px -8px rgb(0 0 0 / .85); }
.lv-vinyl svg { display: block; width: 100%; height: 100%; border-radius: 50%; animation: spin 1.8s linear infinite; animation-play-state: paused; }
.lv-deck.is-air .lv-vinyl svg, .lv-deck.is-cue .lv-vinyl svg { animation-play-state: running; }
.lv-vinyl .lbl { fill: var(--c); transition: fill .6s; }
.lv-vinyl::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, transparent 0 40deg, rgb(255 255 255 / .12) 70deg, transparent 100deg 220deg, rgb(255 255 255 / .09) 250deg, transparent 280deg); -webkit-mask: radial-gradient(circle closest-side, transparent 50%, #000 52%, #000 97%, transparent 98%); mask: radial-gradient(circle closest-side, transparent 50%, #000 52%, #000 97%, transparent 98%); }
.lv-deck.is-air .lv-vinyl::before { content: ''; position: absolute; z-index: -1; inset: 6%; border-radius: 50%; background: var(--orange); filter: blur(20px); opacity: .45; }
.lv-vinyl.out-l { animation: lv-out-l .42s var(--lv-ease) forwards; }
.lv-vinyl.out-r { animation: lv-out-r .42s var(--lv-ease) forwards; }
.lv-vinyl.in-l { animation: lv-in-l .5s var(--lv-ease); }
.lv-vinyl.in-r { animation: lv-in-r .5s var(--lv-ease); }
@keyframes lv-out-l { to { opacity: 0; transform: translateX(-60%); } }
@keyframes lv-out-r { to { opacity: 0; transform: translateX(60%); } }
@keyframes lv-in-l { from { opacity: 0; transform: translateX(-60%); } }
@keyframes lv-in-r { from { opacity: 0; transform: translateX(60%); } }
.lv-wave { --p: 0; position: relative; flex: 1; min-width: 0; height: 64px; display: flex; align-items: center; justify-content: center; gap: 3px; overflow: hidden; }
/* as LiveWaveform: 5px bars, 3px apart, round ends, a dot at the quietest; on a new track they flatten, then rise in a sweep from the left */
.lv-wave i { flex: none; width: 5px; height: max(5px, var(--h)); border-radius: 2.5px; background: rgb(255 255 255 / .26); transition: height .62s var(--lv-ease) calc(var(--f, 0) * .4s), background-color .3s; }
.lv-wave.flat i { height: 5px; transition: height .26s var(--lv-ease), background-color .3s; }
.lv-wave i.on { background: var(--orange); }
.lv-deck.is-cue .lv-wave i.on { background: var(--cue); }
.lv-wave::after { content: ''; position: absolute; top: 2px; bottom: 2px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px rgb(255 255 255 / .7); opacity: 0; transition: opacity .4s; }
.lv-deck.is-air .lv-wave::after, .lv-deck.is-cue .lv-wave::after { opacity: 1; }
.lv-foot { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.lv-sliders { flex-shrink: 0; width: clamp(64px, 34cqi, 118px); display: grid; gap: 5px; }
.lv-sl { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--text-3); white-space: nowrap; }
.lv-sl > span { width: 48px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.lv-range, .lv-meter { position: relative; flex: 1; height: 5px; border-radius: 5px; background: rgb(255 255 255 / .1); }
.lv-range::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--orange); }
.lv-range::after { content: ''; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.lv-meter { overflow: hidden; }
.lv-meter b { position: absolute; inset: 0 auto 0 0; width: calc(var(--l, 0) * 100%); background: linear-gradient(90deg, var(--tango) 0 55%, var(--milonga) 78%, var(--orange-hot)); border-radius: inherit; transition: width .08s linear; }
.lv-transport { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; }
.lv-btn { height: 30px; min-width: 30px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: var(--text); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); white-space: nowrap; transition: background-color .4s, color .4s; }
.lv-btn .ic { width: 11px; height: 11px; }
.lv-btn.lv-ej { margin-left: auto; padding: 0; }
.lv-play { min-width: 74px; }
.lv-play .q { display: none; }
.lv-deck.is-air .lv-play { background: var(--orange); color: #1a0b00; box-shadow: none; }
.lv-deck.is-air .lv-play .p { display: none; }
.lv-deck.is-air .lv-play .q { display: inline; }
.lv-deck.is-cue .lv-cue { background: var(--cue); color: #04131c; box-shadow: none; }
/* deck B mirrors deck A: the record on the outer side */
.lv-deck[data-letter="B"] .lv-dh, .lv-deck[data-letter="B"] .lv-body, .lv-deck[data-letter="B"] .lv-foot, .lv-deck[data-letter="B"] .lv-transport { flex-direction: row-reverse; }
.lv-deck[data-letter="B"] .lv-clock { justify-content: flex-start; }
.lv-deck[data-letter="B"] .lv-title { text-align: right; }
.lv-deck[data-letter="B"] .lv-btn.lv-ej { margin-left: 0; margin-right: auto; }
@container (max-width: 330px) {
  .lv-btn:not(.lv-play) b { display: none; }
  .lv-btn:not(.lv-play) { padding: 0; }
  .lv-play { min-width: 64px; }
}
@container (max-width: 250px) { .lv-clock small { display: none; } .lv-sliders { display: none; } }

/* the master between the decks */
.lv-master { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 12px; border-radius: 18px; background: #151517; }
.lv-mh { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.lv-mh span { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--text-3); }
.lv-mh small { font-size: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-onair { min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-cueline { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11px; color: var(--text-3); }
.lv-cueline span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-next {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; height: 58px; padding: 0 10px; border-radius: 12px;
  color: #1a0b00; background: var(--orange); background-image: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 14px 34px -12px rgb(255 143 45 / .9);
  transition: transform .35s var(--lv-ease), box-shadow .35s var(--lv-ease);
}
.lv-next .t { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.lv-next .t .ic { width: 15px; height: 15px; }
.lv-next small { max-width: 100%; font-size: 11px; font-weight: 500; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-next::after { content: ''; position: absolute; inset: -4px; border-radius: 15px; border: 1.5px solid rgb(255 143 45 / .55); opacity: 0; animation: lv-halo 2.6s var(--lv-ease) infinite; pointer-events: none; }
@keyframes lv-halo { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.08); } }
.lv-next:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 18px 40px -12px rgb(255 143 45 / 1); }
.lv-next:active { transform: scale(.97); }
.lv-mbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lv-mbtns span { height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.lv-mbtns .ic { width: 11px; height: 11px; }
.lv-mstop { color: #fff; background: #b91c1c; }
.lv-mcort { color: var(--text); background: rgb(255 255 255 / .1); }

/* narrower panels: the master takes a row of its own, like the app in a narrower window */
@container (max-width: 820px) {
  .lv-console { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lv-master { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "mh next btn" "on next btn" "cue next btn"; align-items: center; gap: 2px 12px; }
  .lv-mh { grid-area: mh; } .lv-onair { grid-area: on; } .lv-cueline { grid-area: cue; } .lv-next { grid-area: next; } .lv-mbtns { grid-area: btn; grid-template-columns: 1fr; }
  .lv-mbtns span { height: 27px; }
}
@container (max-width: 520px) {
  .lv-console { grid-template-columns: minmax(0, 1fr); }
  .lv-master { grid-row: auto; order: 3; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "next next" "mh btn" "on btn" "cue btn"; row-gap: 4px; }
  .lv-mbtns { grid-template-columns: 1fr 1fr; }
  .lv-mbtns span { padding: 0 10px; }
  .lv-deck[data-letter="B"] { order: 2; }
  .lv-wave { height: 52px; }
}

/* ---------- Live page: hero ---------- */
.lv-hero { position: relative; isolation: isolate; padding: clamp(130px, 13vw, 176px) 0 clamp(40px, 5vw, 72px); overflow: clip; text-align: center; }
.lv-hero::before { content: ''; position: absolute; z-index: -1; inset: -10% -10% auto; height: 110%; background: radial-gradient(40% 45% at 50% 30%, rgb(255 90 31 / .26), transparent 70%), radial-gradient(25% 35% at 12% 70%, rgb(255 143 45 / .1), transparent 70%), radial-gradient(25% 35% at 88% 70%, rgb(255 143 45 / .1), transparent 70%); }
.lv-hero .lv-title-h { margin: 0 auto 28px; font-size: clamp(42px, 7.4vw, 112px); }
.lv-hero .lv-title-h .line { display: block; }
.lv-hero .lede { margin: 0 auto 32px; max-width: 58ch; }
.lv-hero .btn-row { justify-content: center; }
.lv-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.lv-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line); }
.lv-meta .ic { width: 14px; height: 14px; color: var(--orange); }
.lv-stage { position: relative; margin: 0; text-align: left; }
.lv-hero .lv-stage { max-width: 1120px; margin: clamp(48px, 6vw, 84px) auto 0; }
.lv-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  font-size: 13px; color: var(--text-2); background: rgb(20 20 23 / .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 40px -16px rgb(0 0 0 / .8);
  animation: lv-bob 7s ease-in-out infinite;
}
.lv-float b { color: var(--text); font-weight: 600; }
.lv-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.lv-float.f2 { left: -34px; top: -22px; }
.lv-float.f3 { right: -30px; bottom: -22px; animation-delay: -3.5s; }
@keyframes lv-bob { 50% { transform: translateY(-7px); } }
@media (max-width: 1240px) { .lv-float.f2 { left: 12px; } .lv-float.f3 { right: 12px; } }
@media (max-width: 760px) { .lv-float { display: none; } }

/* ---------- Live page: "with the soul of tango" ---------- */
.lv-soul { text-align: center; }
.lv-soul h2 { margin: 0 auto 26px; max-width: 18ch; }
.lv-soul .lede { margin: 0 auto; max-width: 62ch; }
.lv-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.lv-pillar { position: relative; overflow: hidden; padding: 22px; border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: translate .6s var(--lv-ease), box-shadow .5s var(--lv-ease); }
.lv-pillar:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgb(255 143 45 / .35); }
.lv-pillar b { display: block; margin: 18px 0 6px; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.lv-pillar p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.lv-pillar .glyph { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.lv-pillar .glyph i { display: block; border-radius: 6px; }
.g-tanda i { width: 14px; height: 100%; background: var(--tango); } .g-tanda i:nth-child(2) { height: 80%; } .g-tanda i:nth-child(3) { height: 90%; } .g-tanda i:nth-child(4) { height: 70%; }
.g-cortina i { width: 14px; height: 60%; background: rgb(255 255 255 / .14); } .g-cortina i.c { width: 44px; height: 30%; background: var(--cortina); align-self: center; }
.g-orch { gap: 0 !important; } .g-orch i { width: 30px; height: 30px; border-radius: 50% !important; margin-right: -9px; background: var(--c); box-shadow: 0 0 0 3px var(--bg-2); }
.g-hist i { width: 6px; height: 100%; border-radius: 3px !important; background: var(--orange); } .g-hist i:nth-child(odd) { height: 55%; opacity: .5; }
@media (max-width: 960px) { .lv-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lv-pillars { grid-template-columns: 1fr; } }

/* ---------- Common controls of the Live screen ---------- */
.lv-row-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.lv-row-h > .ic { width: 12px; height: 12px; }
.lv-row-h > span:first-of-type { margin-right: auto; }
.lv-pill { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.lv-pill button { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: rgb(246 243 238 / .8); white-space: nowrap; transition: background-color .35s var(--lv-ease), color .35s; }
.lv-pill button:hover { background: rgb(255 255 255 / .08); }
.lv-pill button[aria-pressed="true"] { color: #1a0b00; background: var(--orange); }
.lv-pill-wide { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.lv-pill-wide button { padding: 0 6px; overflow: hidden; text-overflow: ellipsis; }
.lv-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; margin: 10px 0; }
.lv-chip { height: 30px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--text-3); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); white-space: nowrap; transition: background-color .35s, color .35s, box-shadow .35s; }
.lv-chip[aria-pressed="true"] { color: var(--orange); background: rgb(255 143 45 / .18); box-shadow: inset 0 0 0 1px rgb(255 143 45 / .5); }
.lv-chip .ic { width: 12px; height: 12px; }

/* ---------- Live page: deck in the headphones, and the two outputs ---------- */
.lv-solo .lv-deck .lv-vinyl { --s: clamp(80px, 30cqi, 140px); }
.lv-solo .lv-wave { height: 80px; }
.lv-outs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.lv-out { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: #151517; }
.lv-out .ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.lv-out .ico .ic { width: 19px; height: 19px; }
.lv-out > div { min-width: 0; }
.lv-out b { display: block; font-size: 14.5px; } .lv-out span { display: block; font-size: 12.5px; color: var(--text-3); }
.lv-out .wv { display: flex; align-items: center; gap: 3px; height: 22px; margin-left: auto; flex-shrink: 0; }
.lv-out .wv i { width: 4px; height: 70%; border-radius: 2px; background: var(--c); animation: wave 1.3s ease-in-out infinite; }
.lv-out .wv i:nth-child(2) { animation-delay: -.35s; } .lv-out .wv i:nth-child(3) { animation-delay: -.7s; } .lv-out .wv i:nth-child(4) { animation-delay: -1.05s; }
@container (max-width: 480px) { .lv-outs { grid-template-columns: 1fr; } }

/* ---------- Live page: advance mode on a timeline ---------- */
.lv-line { position: relative; display: flex; gap: 4px; margin: 42px 0 10px; height: 46px; }
.lv-line > span:not(.lv-stop) { position: relative; flex: 1; display: grid; place-items: center; border-radius: 10px; font-size: 11.5px; font-weight: 700; color: rgb(0 0 0 / .62); background: var(--c); transition: opacity .6s var(--lv-ease), filter .6s var(--lv-ease); }
.lv-line > span.c { flex: .7; color: var(--text); background: repeating-linear-gradient(135deg, rgb(155 155 163 / .42) 0 6px, rgb(155 155 163 / .24) 6px 12px); }
.lv-line > span.off { opacity: .2; filter: saturate(.2); }
.lv-line > span.now { box-shadow: 0 0 0 2px #0e0e10, 0 0 0 4px var(--text); }
.lv-line > .lv-stop { position: absolute; top: -34px; bottom: -6px; left: var(--at, 20%); width: 2px; margin-left: -3px; border-radius: 2px; background: var(--orange); transition: left .8s var(--lv-ease), opacity .5s; }
.lv-stop .ic { position: absolute; top: -6px; left: 50%; width: 26px; height: 26px; margin-left: -13px; padding: 5px; border-radius: 50%; color: #1a0b00; background: var(--orange); box-shadow: 0 6px 16px -6px rgb(255 143 45 / .9); }
.lv-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.lv-mode-say { min-height: 3em; margin: 14px 0 0; color: var(--text-2); font-size: 15px; transition: opacity .3s; }
.lv-mode-say.fade { opacity: 0; }
.lv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.lv-field { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-3); }
.lv-field .ic { width: 12px; height: 12px; }
.lv-secs { display: inline-flex; align-items: center; height: 32px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.lv-secs button { width: 26px; height: 32px; border-radius: 999px; font-size: 15px; }
.lv-secs button:hover { background: rgb(255 255 255 / .08); }
.lv-secs b { width: 28px; text-align: center; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
@container (max-width: 440px) {
  .lv-pill-wide { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .lv-pill-wide button { border-radius: 16px; }
}
@container (max-width: 520px) {
  .lv-line { height: 38px; gap: 3px; }
  .lv-line > span:not(.lv-stop) { font-size: 0; }
}

/* ---------- Live page: the tanda guide (above the library in the app) ---------- */
.lv-dots34 { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.lv-dots34 button { width: 28px; height: 28px; border-radius: 50%; font-size: 11.5px; font-weight: 700; color: rgb(246 243 238 / .8); font-variant-numeric: tabular-nums; transition: background-color .35s, color .35s; }
.lv-dots34 button[aria-pressed="true"] { color: #1a0b00; background: var(--orange); }
.lv-guide { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; border-radius: 14px; background: rgb(255 143 45 / .1); box-shadow: inset 0 0 0 1px rgb(255 143 45 / .25); transition: background-color .6s var(--lv-ease), box-shadow .6s var(--lv-ease); }
.lv-guide > .ic { width: 16px; height: 16px; color: var(--orange); }
.lv-guide .mus, .lv-guide.done .cmp { display: none; }
.lv-guide.done .mus { display: block; }
.lv-guide.done { background: rgb(255 143 45 / .16); box-shadow: inset 0 0 0 1.5px rgb(255 143 45 / .6); }
.lv-guide .txt { flex: 1 1 200px; min-width: 0; line-height: 1.25; }
.lv-guide .txt b { display: block; font-size: 13px; font-weight: 700; }
.lv-guide .txt span { display: block; font-size: 12px; color: var(--text-3); }
.lv-guide .txt.swap { animation: lv-fade .5s var(--lv-ease); }
.lv-guide .pips { display: flex; gap: 4px; }
.lv-guide .pips i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .2); transition: background-color .5s var(--lv-ease), transform .5s var(--lv-ease); }
.lv-guide .pips i.on { background: var(--orange); transform: scale(1.15); }
.lv-gbtn { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.lv-gbtn .ic { width: 11px; height: 11px; }
.lv-gbtn.sug .ic { color: var(--orange); }
.lv-list { display: grid; gap: 2px; margin-top: 10px; }
.lv-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 10px; border-radius: 12px; transition: background-color .3s, opacity .5s var(--lv-ease), transform .5s var(--lv-ease); }
.lv-item:hover { background: rgb(255 255 255 / .04); }
.lv-item > div { flex: 1; min-width: 0; }
.lv-item b { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-item b .star { width: 10px; height: 10px; color: var(--orange); }
.lv-item b em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 500; color: rgb(255 143 45 / .9); }
.lv-item b em .ic { width: 10px; height: 10px; }
.lv-item > div > span { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-item .acts { display: flex; gap: 4px; flex-shrink: 0; }
.lv-item .acts i { height: 26px; min-width: 30px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--text-2); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.lv-item .acts .ic { width: 11px; height: 11px; }
.lv-lastorch { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.lv-lastorch span { color: var(--text-3); }
@container (max-width: 420px) { .lv-item .acts i:last-child { display: none; } .lv-gbtn.sug { display: none; } }

/* ---------- Live page: searching the library ---------- */
.lv-search { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 6px 0 14px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-size: 14px; }
.lv-search > .ic { width: 14px; height: 14px; color: var(--text-3); }
.lv-search .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.lv-search .q:empty::before { content: attr(data-ph); color: var(--text-3); }
.lv-search .q:not(:empty)::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--orange); animation: lv-blink 1s steps(2) infinite; }
@keyframes lv-blink { 50% { opacity: 0; } }
.lv-genre { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: var(--text-2); background: rgb(255 255 255 / .06); white-space: nowrap; }
.lv-results .lv-item { opacity: 0; transform: translateY(6px); }
.lv-results .lv-item.show { opacity: 1; transform: none; }
@container (max-width: 420px) { .lv-genre { display: none; } }

/* ---------- Live page: the evening queue ---------- */
.lv-qh { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lv-qh .ico { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: rgb(255 143 45 / .15); }
.lv-qh .ico .ic { width: 15px; height: 15px; }
.lv-qh b { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-qb { height: 30px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--text); background: rgb(255 255 255 / .1); white-space: nowrap; }
.lv-qb:first-of-type { color: #1a0b00; background: var(--orange); }
.lv-qb .ic { width: 12px; height: 12px; }
.lv-qview[hidden] { display: none; }
.lv-qviews { position: relative; }
.lv-queue { display: grid; gap: 8px; }
.lv-tanda { border-radius: 14px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); overflow: hidden; }
.lv-tanda.is-current { box-shadow: inset 0 0 0 1px rgb(255 143 45 / .45); }
.lv-tanda.lift { position: relative; z-index: 2; box-shadow: inset 0 0 0 1.5px var(--orange), 0 20px 34px -14px rgb(0 0 0 / .95); background: #1c1c20; }
.lv-th { display: flex; align-items: center; gap: 9px; padding: 9px 10px 9px 12px; }
.lv-th .sw { width: 4px; height: 16px; border-radius: 2px; background: var(--c); }
.lv-th b { font-size: 13px; font-weight: 700; }
.lv-th em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--orange); }
.lv-th .mv { margin-left: auto; display: flex; gap: 2px; color: var(--text-3); }
.lv-th .mv .ic { width: 22px; height: 22px; padding: 5px; border-radius: 50%; }
.lv-tanda.cort .lv-th b { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.lv-ti { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 6px 25px; font-size: 13px; color: var(--text-2); }
.lv-ti:last-child { padding-bottom: 10px; }
.lv-ti em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.lv-ti em .ic { width: 11px; height: 11px; }
.lv-ti.air { color: #1a0b00; background: var(--orange); font-weight: 600; }
.lv-ti.air:last-child { padding-bottom: 6px; }
.lv-ti.done { color: var(--text-3); }
.lv-ti .nx { color: rgb(255 143 45 / .9); }
.lv-hist { display: grid; gap: 2px; }
.lv-hist div { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; color: var(--text-2); }
.lv-hist time { color: var(--text-3); font-variant-numeric: tabular-nums; }
.lv-hist div:first-child { color: var(--text); background: rgb(255 255 255 / .04); }
@container (max-width: 420px) { .lv-qb span { display: none; } .lv-qb { width: 30px; padding: 0; justify-content: center; } }

/* ---------- Live page: closing line before the FAQ ---------- */
.lv-promise { margin-top: clamp(28px, 3vw, 40px); font-family: var(--display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.lv-promise em { font-style: normal; color: var(--orange); }

/* the panels come in a little softer than the text */
.spot > .lv-panel.reveal { transform: translateY(40px) scale(.985); transition: opacity 1.1s var(--lv-ease), transform 1.1s var(--lv-ease); transition-delay: var(--d, 0s); }
.spot > .lv-panel.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lv-vinyl svg, .lv-next::after, .lv-eyebrow i::after, .lv-float, .lv-out .wv i, .lv-search .q::after, .gen-go .ic { animation: none !important; }
}

/* ---------- Segmented choices: the orange capsule slides to the choice, as in the app ---------- */
.lv-pill, .lv-dots34 { position: relative; isolation: isolate; }
.lv-pill > button, .lv-dots34 > button { position: relative; z-index: 1; }
.lv-pill.has-thumb > button[aria-pressed="true"], .lv-dots34.has-thumb > button[aria-pressed="true"] { background: transparent; }
.lv-thumb {
  position: absolute; z-index: 0; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); border-radius: 999px; background: var(--orange);
  transform: translate(var(--x, 0), var(--y, 0)); box-shadow: 0 6px 16px -8px rgb(255 143 45 / .9);
  transition: transform .5s var(--lv-ease), width .5s var(--lv-ease), height .5s var(--lv-ease), border-radius .5s var(--lv-ease);
}
.lv-thumb.instant { transition: none; }
.lv-pill-wide .lv-thumb { border-radius: 16px; }
@container (min-width: 441px) { .lv-pill-wide .lv-thumb { border-radius: 999px; } }
.lv-pill > button, .lv-dots34 > button { transition: color .4s var(--lv-ease), background-color .35s; }

/* ---------- Features page: the two experiences, one section each ---------- */
.exp-sec { padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 7vw, 110px); }
.exp-sec + .exp-sec { padding-top: clamp(64px, 7vw, 110px); border-top: 1px solid var(--line); }
.exp-center { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.exp-center h2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; font-size: clamp(36px, 5vw, 68px); }
.exp-center h2 .lv-tag { font-size: 12px; }
.exp-center .lede { margin: 0 auto 14px; }
.exp-center .spot-detail { margin: 0 auto 22px; color: var(--text-3); font-size: 15px; max-width: 60ch; }
.exp-center .step-link { justify-content: center; }
.exp-wide { max-width: 860px; margin: 0 auto; }
.fx-modes .lv-stage { max-width: 1120px; margin: 0 auto; }
.gen-fixed .gen-list { height: 221px; overflow: hidden; }
.gen-fixed .gen-go .ic { transition: none; }
/* the 3 | 4 choice takes the width of its label, split in two equal halves */
.gen-size { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.gen-size button { width: auto; min-width: 32px; }
.gen-field > .lv-secs, .gen-field > .gen-select { justify-self: start; }
