/* Playlist Pro: YouTube Playlist Manager & Duplicate Remover: site. Ash look, no external assets. */
:root {
  color-scheme: dark;
  --bg: #151413;
  --surface: #1c1b19;
  --card: #242220;
  --hover: #2d2b28;
  --line: #2f2d2a;
  --text: #e7e3dd;
  --sub: #aaa59e;
  --muted: #74706a;
  --accent: #c9c3ba;
  --accent-hover: #e2ddd5;
  --ink: #161513;
  --green: #7dbf7a;
  --blue: #3ea6ff;
  --purple: #b79cf2;
  --amber: #d9b26a;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-hover); text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
code { font-size: .92em; background: var(--card); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--accent); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Icons: round 2px stroke */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(21, 20, 19, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: var(--sub); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--card); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.btn-ghost { color: var(--text); background: var(--card); }
.btn-ghost:hover { background: var(--hover); color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 520px; z-index: -1;
  background: radial-gradient(600px 300px at 70% 30%, rgba(201,195,186,.08), transparent 70%),
              radial-gradient(500px 260px at 15% 10%, rgba(125,191,122,.06), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--card); color: var(--sub); font-size: 13.5px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(125,191,122,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(125,191,122,.5); } 70% { box-shadow: 0 0 0 8px rgba(125,191,122,0); } 100% { box-shadow: 0 0 0 0 rgba(125,191,122,0); } }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 18px 0 16px; font-weight: 700; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--sub); font-size: 1.12rem; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 18px; }

/* Mock Save window: drawn after the real one (content/content.css), demo names only */
.mock {
  background: #212121; border-radius: 16px; padding: 0; overflow: hidden; color: #f1f1f1;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
  max-width: 420px; justify-self: end; width: 100%; font-size: 14px;
}
.mock .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-head .ttl { display: flex; align-items: center; gap: 10px; }
.mock-head .x { color: #aaa; font-weight: 400; }
.search {
  display: flex; align-items: center; gap: 8px; background: #2a2a2a; margin: 14px 16px 0;
  border-radius: 12px; padding: 8px 10px 8px 12px; color: #aaa; font-size: 13.5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.search .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.search .ph { color: #8a8a8a; }
.search .ph.off { display: none; }
.search .count { font-size: 11.5px; font-weight: 600; color: #bbb; background: rgba(255,255,255,.08); padding: 2px 9px; border-radius: 999px; flex: none; }
.typed { color: #f1f1f1; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: #f1f1f1; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; gap: 6px; margin: 12px 16px 10px; align-items: center; }
.chip { font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: #f1f1f1; }
.chip.on { background: #f1f1f1; color: #0f0f0f; }
.chips .help { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.suggest {
  --sg: 125, 191, 122;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; margin: 0 16px 6px;
  background: rgba(var(--sg), .07); box-shadow: inset 0 0 0 1px rgba(var(--sg), .26);
}
.suggest[data-level="possible"] { --sg: 217, 178, 106; }
.suggest .sg-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: rgb(var(--sg)); stroke-width: 2; stroke-linecap: round; }
.suggest .name { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
.suggest small { display: block; color: rgb(var(--sg)); font-size: 12px; font-weight: 500; margin-top: 1px; }
.save-btn { font-size: 12.5px; font-weight: 600; background: #f1f1f1; color: #0f0f0f; padding: 5px 14px; border-radius: 999px; }
.rows { list-style: none; margin: 0; padding: 2px 8px 6px 16px; height: 252px; overflow: hidden; }
.rows li { display: flex; align-items: center; gap: 14px; padding: 8px 6px 8px 0; color: #f1f1f1; font-size: 14.5px; }
.rows li.hide { display: none; }
.rows .nm { flex: 1; min-width: 0; }
.rows .lk { width: 15px; height: 15px; fill: none; stroke: #9a9a9a; stroke-width: 2; margin-right: 34px; }
.box { width: 18px; height: 18px; border-radius: 2px; box-shadow: inset 0 0 0 2px #aaa; flex: none; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.mock-foot .newpl { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 999px; }
.mock-foot .openm { font-size: 13px; font-weight: 600; color: #ccc; }

/* Sections */
section { padding: 64px 0; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.section-lead { color: var(--sub); max-width: 40em; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 22px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 16px 40px rgba(0,0,0,.3); }
.card h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.icon-bubble {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--accent-hover);
}
.card:hover .icon-bubble { background: var(--hover); }
.icon-bubble.g { color: var(--green); }
.icon-bubble.b { color: var(--blue); }
.icon-bubble.p { color: var(--purple); }
.icon-bubble.a { color: var(--amber); }

/* Screens */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot {
  aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 16px; overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 4px); }
figure.shot { margin: 0; }
.shot.has-img { padding: 6px; position: relative; display: block; }
.shot.has-img figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(21,20,19,.82); color: var(--text); font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.shot.has-img img { transition: transform .4s ease; }
.shot.has-img:hover img { transform: scale(1.02); }
.shot span { display: block; font-size: 14px; }
.shot strong { display: block; color: var(--sub); font-weight: 600; margin-bottom: 2px; }

/* Privacy strip */
.trust { background: var(--surface); border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--sub); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks .ic { color: var(--green); margin-top: 2px; }

/* Pricing note */
.plan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan .card h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.plan ul { margin: 12px 0 0; padding-left: 18px; color: var(--sub); font-size: 15px; }
.plan li { margin: 4px 0; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: rgba(125,191,122,.14); color: var(--green); }
.badge.soon { background: var(--card); color: var(--sub); }

/* Final CTA */
.final { text-align: center; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--sub); text-decoration: none; }
footer a:hover { color: var(--text); }
.disclaimer { flex-basis: 100%; font-size: 13px; }

/* Text pages (privacy, support) */
.page { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 6px; }
.page .meta { color: var(--muted); margin: 0 0 28px; }
.page h2 { font-size: 1.2rem; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.page li { margin: 6px 0; color: var(--sub); }
.page li strong, .page p strong { color: var(--text); }
.page p { color: var(--sub); }
.short { padding: 16px 20px; border-radius: 14px; background: rgba(125,191,122,.07); box-shadow: inset 0 0 0 1px rgba(125,191,122,.22); color: var(--text) !important; }

.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 8px; }
.contact .card { display: block; text-decoration: none; color: var(--text); }
.contact .card p { margin-top: 4px; }

details.faq { background: var(--surface); border-radius: 14px; margin: 10px 0; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
details.faq[open] { background: var(--card); }
details.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; flex: none; }
details.faq[open] summary::after { transform: rotate(-135deg); }
details.faq > div { padding: 0 18px 14px; color: var(--sub); }
details.faq > div p { margin: 0 0 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .mock { justify-self: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a.hide-sm { display: none; }
  .nav a { padding: 6px 10px; }
  .grid, .shots, .plan, .contact { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  footer nav { margin-left: 0; }
  .page { padding: 40px 16px 56px; }
}

/* Free and Pro: two lanes of feature chips + spotlight card (site.js) */
.lanes { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.lane { border-radius: 20px; padding: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lane.pro { background: linear-gradient(160deg, rgba(217,178,106,.07), rgba(217,178,106,0) 55%), var(--surface); box-shadow: inset 0 0 0 1px rgba(217,178,106,.22); }
.lane h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.lane > p { margin: 0 0 18px; color: var(--sub); font-size: 14.5px; }
.badge.pro { background: rgba(217,178,106,.14); color: var(--amber); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fc { border: 0; font: inherit; font-size: 14px; color: var(--text); background: var(--card); padding: 8px 14px 8px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.fc .ic { width: 16px; height: 16px; color: var(--green); }
.lane.pro .fc .ic { color: var(--amber); }
.fc:hover { background: var(--hover); transform: translateY(-1px); }
.fc .lim { font-size: 11px; color: var(--muted); padding: 1px 7px; margin-left: -2px; border-radius: 999px; background: var(--surface); }
.fc[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--hover); }
.spot { margin-top: 16px; border-radius: 20px; padding: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr 440px; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.no-js .spot { display: none; }
.spot-info { display: flex; gap: 18px; align-items: center; min-width: 0; }
.spot .big { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--green); flex: none; transition: color .3s; }
.spot.pro .big { color: var(--amber); }
.spot .big .ic { width: 26px; height: 26px; }
.spot .txt { flex: 1; min-width: 0; transition: opacity .25s, transform .25s; }
.spot .txt.out, .stage.out { opacity: 0; transform: translateY(6px); }
.spot h4 { margin: 0 0 4px; font-size: 1.15rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spot p { margin: 0; color: var(--sub); }
.spot .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); opacity: .5; width: 0; }
.spot .bar.run { animation: fill var(--dur, 3.2s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* Feature demos (demos.js): small copies of the real UI, 440 x 260 */
.stage { position: relative; height: 260px; border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: #f1f1f1; transition: opacity .25s, transform .25s; }
.stage svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.stage .dm-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.stage .dm-empty svg { width: 64px; height: 64px; stroke-width: 1.4; opacity: .55; }
.spot.pro .stage .dm-empty { color: var(--amber); }
.dm-box { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.6px #9a9a9a; flex: none; position: relative; transition: background .2s, box-shadow .2s; }
.dm-box.dm-tick, .dm-box.dm-part { background: #3ea6ff; box-shadow: none; }
.dm-box.dm-tick::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 3.5px; height: 7px; border: solid #0f0f0f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dm-box.dm-part::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: #0f0f0f; }
.dm-toast { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 16px); opacity: 0; background: #f1f1f1; color: #0f0f0f; font-weight: 600; padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: opacity .3s, transform .3s; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.dm-toast u { text-decoration: none; color: #065fd4; margin-left: 8px; }
.dm-toast.dm-on { opacity: 1; transform: translate(-50%, 0); }
.dm-press { transform: scale(.92); filter: brightness(1.15); }
/* YouTube Save window */
.dm-yt { position: absolute; left: 50%; top: 10px; width: 300px; transform: translateX(-50%); background: #212121; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); padding-bottom: 8px; }
.dm-yt-head { font-weight: 700; font-size: 13.5px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dm-search { display: flex; align-items: center; gap: 6px; margin: 9px 10px 6px; padding: 6px 8px; background: #2a2a2a; border-radius: 9px; color: #aaa; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.dm-q { color: #f1f1f1; }
.dm-caret { width: 1.5px; height: 13px; background: #f1f1f1; animation: blink 1s steps(1) infinite; }
.dm-cnt { margin-left: auto; font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,.08); padding: 1px 7px; border-radius: 999px; color: #bbb; }
.dm-sugg { --sg: 125, 191, 122; display: flex; align-items: center; gap: 9px; margin: 0 10px; padding: 0 9px; max-height: 0; opacity: 0; overflow: hidden; border-radius: 8px; background: rgba(var(--sg), .07); box-shadow: inset 0 0 0 1px rgba(var(--sg), .26); transition: max-height .35s, opacity .35s, padding .35s, margin .35s; }
.dm-sugg.dm-on { max-height: 50px; opacity: 1; padding: 7px 9px; margin-bottom: 4px; }
.dm-sugg svg { stroke: rgb(var(--sg)); width: 17px; height: 17px; }
.dm-sugg span { flex: 1; } .dm-sugg b { font-weight: 500; display: block; } .dm-sugg small { color: rgb(var(--sg)); font-size: 10.5px; }
.dm-save { font-style: normal; font-weight: 600; font-size: 11px; background: #f1f1f1; color: #0f0f0f; padding: 3px 11px; border-radius: 999px; transition: transform .15s; }
.dm-sugg.dm-done .dm-save { background: rgba(125,191,122,.2); color: #7dbf7a; }
.dm-pl { list-style: none; margin: 0; padding: 0 10px 0 14px; max-height: 92px; overflow: hidden; }
.dm-pl li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.dm-pl li svg { margin-left: auto; color: #9a9a9a; width: 12px; height: 12px; }
.dm-pl li.dm-hide { display: none; }
/* Manager list (Ash) */
.dm-mgr { position: absolute; inset: 12px; background: #1c1b19; border-radius: 12px; box-shadow: inset 0 0 0 1px #2f2d2a; overflow: hidden; color: #e7e3dd; }
.dm-mgr-head { padding: 10px 14px 8px; border-bottom: 1px solid #2f2d2a; }
.dm-mgr-head b { display: block; font-size: 13.5px; } .dm-mgr-head small { color: #aaa59e; font-size: 11px; }
.dm-bar { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-bottom: 1px solid #2f2d2a; }
.dm-selc { color: #aaa59e; font-size: 11px; white-space: nowrap; }
.dm-sel { margin-left: auto; min-width: 0; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-btn { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: #c9c3ba; color: #161513; transition: transform .15s, filter .15s; }
.dm-btn.dm-ghost { background: #242220; color: #e7e3dd; }
.dm-btn.dm-red { background: rgba(229,115,115,.12); color: #e57373; box-shadow: inset 0 0 0 1px rgba(229,115,115,.35); }
.dm-list { list-style: none; margin: 0; padding: 4px 6px; }
.dm-row { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 8px; max-height: 44px; overflow: hidden; transition: background .2s, opacity .35s, max-height .4s, padding .4s, transform .35s; }
.dm-row.dm-picked { background: rgba(62,166,255,.1); }
.dm-row.dm-gone, .dm-grp.dm-gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; transform: translateX(30px); overflow: hidden; }
.dm-th { width: 46px; height: 26px; border-radius: 5px; flex: none; filter: saturate(.9); }
.dm-tt { flex: 1; min-width: 0; line-height: 1.25; } .dm-tt b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dm-tt small { color: #aaa59e; font-size: 10.5px; }
.dm-dur { color: #aaa59e; font-size: 11px; }
.dm-grp { font-weight: 600; font-size: 11.5px; padding: 6px 8px 2px; max-height: 30px; transition: opacity .35s, max-height .4s, padding .4s; } .dm-grp small { color: #74706a; font-weight: 500; margin-left: 4px; }
.dm-tgt { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; white-space: nowrap; }
.dm-tgt.dm-on { opacity: 1; transform: none; }
.dm-nolim { color: #d9b26a; font-weight: 600; }
.dm-flex { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dm-row2 { display: flex; align-items: center; gap: 8px; padding: 8px 14px; }
.dm-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(217,178,106,.14); color: #d9b26a; opacity: 0; transition: opacity .3s; margin-right: auto; }
.dm-tag.dm-on { opacity: 1; }
.dm-file { margin: 6px 14px; padding: 7px 10px; border-radius: 8px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; font-size: 11px; color: #aaa59e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.dm-file.dm-on { opacity: 1; transform: none; }
.dm-file::before { content: "↓ "; color: #7dbf7a; font-weight: 700; }
/* YouTube watch page (behind a Save window) */
.dm-watch { position: absolute; inset: 12px; color: #f1f1f1; }
.dm-player { height: 120px; border-radius: 10px; overflow: hidden; }
.dm-cover { display: block; width: 100%; height: 100%; }
.dm-watch > b { display: block; font-size: 13px; margin: 8px 0 6px; }
.dm-actions { display: flex; gap: 6px; } .dm-actions span { font-size: 11px; font-weight: 600; background: rgba(255,255,255,.1); padding: 4px 11px; border-radius: 999px; transition: transform .15s; }
.dm-pop { opacity: 0; transform: translate(-50%, 10px) scale(.97); transition: opacity .3s, transform .3s; top: 20px; }
.dm-pop.dm-on { opacity: 1; transform: translate(-50%, 0); }
.dm-chipline { padding: 4px 10px 6px; }
.dm-already, .dm-device { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: rgba(125,191,122,.14); color: #7dbf7a; opacity: 0; transition: opacity .3s; }
.dm-device { background: rgba(217,178,106,.14); color: #d9b26a; }
.dm-already.dm-on, .dm-device.dm-on { opacity: 1; }
.dm-gl { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; padding: 4px 14px 0; }
.dm-pinbar { max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; transition: max-height .3s, opacity .3s, padding .3s; }
.dm-pinbar.dm-on { max-height: 20px; opacity: 1; padding-top: 4px; }
.dm-pl.dm-pl-free { max-height: none; }
.dm-pl li { max-height: 26px; transition: max-height .3s, opacity .3s, padding .3s; overflow: hidden; }
.dm-pl li.dm-gone { max-height: 0; opacity: 0; padding: 0; }
.dm-pl li.dm-new { max-height: 0; opacity: 0; padding: 0; } .dm-pl li.dm-new.dm-on { max-height: 26px; opacity: 1; padding: 4px 0; }
.stage .dm-pin { margin-left: auto; width: 13px; height: 13px; color: #9a9a9a; opacity: 0; transition: opacity .3s, transform .15s, color .2s; }
.stage .dm-pin.dm-on { opacity: 1; color: #f1f1f1; }
.dm-think .dm-sg-name { color: #aaa; background: linear-gradient(90deg, #888 0%, #eee 50%, #888 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* Playlist cards */
.dm-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px 0; transition: gap .5s; }
.dm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 12px; }
.dm-card { position: relative; border-radius: 9px; overflow: hidden; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; transition: opacity .35s, transform .4s, box-shadow .3s, max-width .5s; }
.dm-card .dm-cover { height: 52px; }
.dm-grid .dm-card .dm-cover { height: 40px; }
.dm-card b { display: block; font-weight: 500; font-size: 11.5px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-cnt2 { position: absolute; right: 6px; top: 6px; font-size: 9.5px; font-weight: 700; background: rgba(0,0,0,.75); color: #fff; padding: 1px 6px; border-radius: 4px; }
.dm-card.dm-mark { box-shadow: inset 0 0 0 1.5px rgba(217,178,106,.6); }
.dm-card.dm-gone { opacity: 0; transform: scale(.85); }
.dm-card.dm-fade { opacity: .18; transform: scale(.96); }
.dm-card.dm-pulse { box-shadow: inset 0 0 0 1.5px #7dbf7a; }
.dm-mergeset.dm-fuse #dm-mb { transform: translateX(-108%) scale(.9); opacity: 0; }
.dm-x2 { font-size: 10.5px; font-weight: 700; color: #d9b26a; background: rgba(217,178,106,.14); padding: 2px 7px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.dm-x2.dm-on { opacity: 1; }
.dm-row.dm-warn { background: rgba(217,178,106,.08); }
.dm-row.dm-best { background: rgba(125,191,122,.1); }
.dm-row.dm-best .dm-tt small { color: #7dbf7a; }
.dm-keep { font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; opacity: 0; transition: opacity .3s; background: rgba(229,115,115,.12); color: #e57373; }
.dm-best .dm-keep { background: rgba(125,191,122,.14); color: #7dbf7a; }
.dm-keep.dm-on { opacity: 1; }
/* Progress */
.dm-scan { padding: 16px 14px; }
.dm-scanlbl { color: #aaa59e; font-size: 12px; margin-bottom: 8px; } .dm-scanlbl b { color: #e7e3dd; }
.dm-prog { height: 6px; border-radius: 999px; background: #242220; overflow: hidden; } .dm-prog i { display: block; height: 100%; width: 0; background: #c9c3ba; border-radius: 999px; transition: width .2s; }
.dm-res { display: flex; gap: 8px; margin-top: 16px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; } .dm-res.dm-on { opacity: 1; transform: none; }
.dm-pill { font-size: 11.5px; padding: 5px 12px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; }
.dm-music b { color: #b79cf2; } .dm-video b { color: #3ea6ff; }
/* Manager header bits */
.dm-srch { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #aaa59e; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; padding: 3px 10px; border-radius: 999px; min-width: 110px; }
.dm-srch svg { width: 12px; height: 12px; } .dm-srch .dm-q { color: #e7e3dd; }
.dm-filters { display: flex; gap: 5px; padding: 8px 12px 0; }
.dm-f { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; color: #aaa59e; transition: background .2s, color .2s; white-space: nowrap; }
.dm-f.dm-cur { background: #e7e3dd; color: #161513; box-shadow: none; }
.dm-pc.dm-chosen { box-shadow: inset 0 0 0 1.5px #3ea6ff; }
.dm-priv { position: absolute; left: 6px; top: 6px; font-size: 9.5px; font-weight: 700; background: rgba(0,0,0,.75); color: #fff; padding: 1px 6px; border-radius: 4px; transition: background .3s; }
.dm-priv.dm-on { background: #c9c3ba; color: #161513; }
/* Feed hover icons */
.dm-feed { position: absolute; inset: 0; background: #0f0f0f; padding: 16px 70px; color: #f1f1f1; }
.dm-vc { position: relative; height: 170px; border-radius: 12px; overflow: hidden; }
.dm-hb { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: center; gap: 10px; padding: 10px 0 26px; background: linear-gradient(rgba(0,0,0,.55), transparent); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.dm-hb.dm-on { opacity: 1; }
.dm-hb i { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .2s, transform .15s; }
.dm-hb i svg { width: 17px; height: 17px; }
.dm-hb i.dm-on { background: rgba(255,255,255,.22); }
.dm-tip { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); font-size: 11px; background: rgba(28,28,28,.95); padding: 3px 9px; border-radius: 6px; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.dm-tip.dm-on { opacity: 1; }
.dm-feed > b { display: block; margin-top: 8px; font-size: 13px; } .dm-feed > small { color: #aaa; font-size: 11px; }
.dm-cursor { position: absolute; left: 70%; top: 85%; width: 14px; height: 20px; background: #fff; clip-path: polygon(0 0, 0 78%, 28% 60%, 46% 100%, 60% 94%, 43% 56%, 80% 56%); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); opacity: 0; transition: left .6s ease, top .6s ease, opacity .3s; }
.dm-cursor.dm-on { opacity: 1; left: 60%; top: 45%; } .dm-cursor.dm-c2 { left: 52%; top: 17%; }
/* History */
.dm-hist { list-style: none; margin: 0; padding: 4px 14px; }
.dm-h { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #2f2d2a; transition: opacity .35s; }
.dm-h:last-child { border-bottom: 0; }
.dm-h > span { flex: 1; min-width: 0; } .dm-h b { display: block; font-weight: 600; font-size: 12px; } .dm-h small { color: #aaa59e; font-size: 10.5px; }
.dm-h.dm-undone { opacity: .45; } .dm-h.dm-undone .dm-btn { background: #242220; color: #aaa59e; }
.dm-imp .dm-h { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; } .dm-imp .dm-h.dm-on { opacity: 1; transform: none; }
.dm-st { font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: rgba(125,191,122,.14); color: #7dbf7a; }
.dm-st.dm-skip { background: #242220; color: #aaa59e; }
/* Backup cards */
.dm-bk { display: flex; gap: 12px; align-items: center; padding: 12px 14px 4px; }
.dm-bk b { display: block; font-size: 12.5px; } .dm-bk small { color: #aaa59e; font-size: 11px; }
.dm-ico { width: 36px; height: 36px; border-radius: 50%; background: #242220; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dm-ico.dm-g { background: rgba(125,191,122,.14); color: #7dbf7a; }
.dm-mail { font-style: normal; font-weight: 400; color: #74706a; }
.dm-last { transition: color .3s; } .dm-last.dm-ok { color: #7dbf7a !important; }
.dm-lbl { font-size: 11px; color: #aaa59e; }
.dm-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; }
.dm-seg i { font-style: normal; font-size: 10.5px; padding: 3px 9px; border-radius: 999px; color: #aaa59e; transition: background .25s, color .25s; }
.dm-seg i.dm-cur { background: #151413; color: #e7e3dd; font-weight: 600; }
/* Background job */
.dm-closeme { transition: opacity .45s, transform .45s; } .dm-closeme.dm-closed { opacity: 0; transform: scale(.9) translateY(10px); }
.dm-bgpill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: 0; font-size: 12px; padding: 8px 14px; border-radius: 999px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; color: #e7e3dd; white-space: nowrap; transition: opacity .35s, transform .35s; display: flex; align-items: center; gap: 8px; }
.dm-bgpill.dm-on { opacity: 1; transform: translate(-50%, -50%); } .dm-bgpill.dm-gone { opacity: 0; }
.dm-dot { width: 7px; height: 7px; border-radius: 50%; background: #7dbf7a; animation: pulse 1.6s infinite; }
/* Export */
.dm-time { padding: 12px 14px 4px; } .dm-tl { font-size: 11px; color: #aaa59e; margin-bottom: 6px; }
.dm-tv { display: flex; gap: 6px; flex-wrap: wrap; }
.dm-tv span { font-size: 10.5px; color: #aaa59e; padding: 4px 9px; border-radius: 8px; background: #242220; transition: background .25s, color .25s; } .dm-tv b { display: block; font-size: 12px; color: #e7e3dd; }
.dm-tv span.dm-cur { background: #e7e3dd; color: #161513; } .dm-tv span.dm-cur b { color: #161513; }
.dm-menu { display: inline-flex; gap: 4px; opacity: 0; transition: opacity .25s; } .dm-menu.dm-on { opacity: 1; }
.dm-menu i { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #242220; box-shadow: inset 0 0 0 1px #2f2d2a; transition: transform .15s; }
/* Light theme flip (Ash Stone tokens) */
.dm-themed { transition: background .4s, color .4s; }
.dm-themed.dm-light { background: #eae8e4; color: #1d1b18; box-shadow: inset 0 0 0 1px #d4d0ca; }
.dm-themed.dm-light .dm-mgr-head { border-color: #d4d0ca; }
.dm-themed.dm-light .dm-card { background: #f4f3f0; box-shadow: inset 0 0 0 1px #d4d0ca; }
.dm-themed.dm-light .dm-seg { background: #e2dfda; box-shadow: inset 0 0 0 1px #d4d0ca; } .dm-themed.dm-light .dm-seg i { color: #5c5852; } .dm-themed.dm-light .dm-seg i.dm-cur { background: #f4f3f0; color: #1d1b18; }
.dm-themed .dm-card, .dm-themed .dm-seg, .dm-themed .dm-seg i { transition: background .4s, color .4s, box-shadow .4s; }
/* Popup */
.dm-popup { position: absolute; left: 50%; top: 12px; width: 290px; transform: translateX(-50%); background: #151413; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px #2f2d2a; color: #e7e3dd; padding-bottom: 8px; }
.dm-pp-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid #2f2d2a; }
.dm-pp-head b { display: block; font-size: 13px; } .dm-pp-head small { color: #aaa59e; font-size: 10.5px; }
.dm-logo, .dm-biglogo { --c: #c9c3ba; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #161513; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .4s; }
.dm-logo svg { width: 16px; height: 16px; }
.dm-yt-tag { font-style: normal; margin-left: auto; font-size: 10px; font-weight: 700; color: #3ddc84; background: rgba(61,220,132,.12); padding: 3px 8px; border-radius: 999px; }
.dm-popup .dm-row2 .dm-btn { flex: 1; text-align: center; }
.dm-tg { display: flex; justify-content: space-between; align-items: center; margin: 0 12px; padding: 7px 10px; background: #1c1b19; font-size: 11.5px; }
.dm-tg:nth-of-type(3) { border-radius: 9px 9px 0 0; } .dm-tg:last-child { border-radius: 0 0 9px 9px; }
.dm-sw { width: 28px; height: 16px; border-radius: 999px; background: #3a3835; position: relative; transition: background .25s; }
.dm-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #d8d4ce; transition: left .25s; }
.dm-sw.dm-on { background: #7dbf7a; } .dm-sw.dm-on::after { left: 14px; }
/* Logo colour */
.dm-logos { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px 0; }
.dm-biglogo { width: 76px; height: 76px; box-shadow: 0 10px 30px rgba(0,0,0,.35); } .dm-biglogo svg { width: 38px; height: 38px; }
.dm-sw2 { display: flex; gap: 10px; }
.dm-sw2 i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); transition: box-shadow .2s, transform .2s; }
.dm-sw2 i.dm-cur { box-shadow: 0 0 0 2px #1c1b19, 0 0 0 4px var(--c); transform: scale(1.08); }
.fp-note { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 960px) { .spot { grid-template-columns: 1fr; } .stage { max-width: 440px; width: 100%; justify-self: center; } }
@media (max-width: 860px) { .lanes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lane { padding: 18px; } .spot { padding: 16px; gap: 16px; } .spot-info { align-items: flex-start; } .spot .big { width: 44px; height: 44px; } .stage { height: 250px; } .dm-yt { width: calc(100% - 24px); } .dm-copy, .dm-lbl { display: none; } .dm-sel { min-width: 70px; } .dm-feed { padding: 16px 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
