:root {
  --accent: #c94a00;
  --accent-soft: #c94a0022;
  --on-accent: #fff;
  --bg: #fffbff;
  --surface: #ffffff;
  --surface-2: #f6eef0;
  --surface-3: #efe3e6;
  --text: #1d1a1b;
  --muted: #6c6366;
  --line: #e7dcdf;
  --danger: #c62828;
  --star: #c98a00;
  --shadow: 0 6px 24px #0000001f;
  --nav-h: 68px;
  --mini-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #ffa36b; --accent-soft: #ffa36b2a; --on-accent: #351000;
    --bg: #121012; --surface: #1b181a; --surface-2: #241f22; --surface-3: #2e282b;
    --text: #efe7ea; --muted: #a99ca1; --line: #352e31; --star: #f2c14e; --danger: #ff6b6b;
    --shadow: 0 6px 24px #00000080; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #ffa36b; --accent-soft: #ffa36b2a; --on-accent: #351000;
  --bg: #121012; --surface: #1b181a; --surface-2: #241f22; --surface-3: #2e282b;
  --text: #efe7ea; --muted: #a99ca1; --line: #352e31; --star: #f2c14e; --danger: #ff6b6b;
  --shadow: 0 6px 24px #00000080; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { opacity: .4; cursor: default; }
h1 { font-size: 30px; margin: 0; letter-spacing: -.02em; }
h2 { font-size: 20px; margin: 0 0 6px; line-height: 1.25; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.boot { display: grid; place-items: center; height: 100vh; font-weight: 800; letter-spacing: .2em; color: var(--accent); }
.icon { fill: currentColor; flex: none; display: block; }
.icon.flip, .flip .icon { transform: scaleX(-1); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.danger { color: var(--danger); }
.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.error { color: var(--danger); padding: 0 16px; }
.overline { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label { font-size: 13px; font-weight: 600; }

/* ---- Shell: bottom nav on phones, side rail on wide screens ---- */
.shell { min-height: 100vh; }
.content { max-width: 920px; margin: 0 auto; padding: 0 0 calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); }
.shell.has-mini .content { padding-bottom: calc(var(--nav-h) + var(--mini-h) + 40px + env(safe-area-inset-bottom)); }
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: flex; background: var(--surface-2); border-top: 1px solid var(--line);
}
.brand { display: none; }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; color: var(--muted); }
.nav-icon { padding: 3px 18px; border-radius: 16px; transition: background .2s; }
.nav-item.on { color: var(--text); font-weight: 600; }
.nav-item.on .nav-icon { background: var(--accent-soft); color: var(--accent); }
@media (min-width: 900px) {
  .nav { top: 0; right: auto; width: 220px; height: auto; flex-direction: column; border-top: 0; border-right: 1px solid var(--line); padding: 16px 12px; gap: 4px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; padding: 6px 10px 18px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-item { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; font-size: 15px; }
  .nav-item.on { background: var(--accent-soft); }
  .nav-item.on .nav-icon { background: none; }
  .nav-icon { padding: 0; }
  .content { margin-left: 220px; }
  .content { padding-bottom: 40px; }
  .shell.has-mini .content { padding-bottom: calc(var(--mini-h) + 40px); }
  .content { max-width: none; padding-left: max(24px, calc((100vw - 220px - 960px) / 2)); padding-right: max(24px, calc((100vw - 220px - 960px) / 2)); }
}

.bar { display: flex; align-items: center; gap: 4px; padding: 14px 12px 10px 16px; position: sticky; top: 0; z-index: 5; background: var(--bg); }
.bar h1 { flex: 1; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.icon-btn:hover:not(:disabled) { background: var(--surface-3); }
.icon-btn.small { width: 30px; height: 30px; }
.icon-btn.tonal { background: var(--accent-soft); color: var(--accent); }
.link-btn { color: var(--accent); font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.tonal { background: var(--accent-soft); color: var(--accent); }
.btn.text { color: var(--accent); padding: 10px 14px; }
.btn.text.danger { color: var(--danger); }
.btn.wide { width: 100%; height: 52px; font-size: 17px; margin: 16px 0; }
.empty { text-align: center; padding: 64px 32px; color: var(--muted); }
.empty h2 { color: var(--text); }
.empty .btn { margin-top: 12px; }
.section { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 20px 16px 6px; }

/* ---- Artwork ---- */
.art { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--surface-3); }
.art-fallback { display: grid; place-items: center; font-weight: 800; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--accent), #6b2a8f); }
.art.small { width: 56px; height: 56px; border-radius: 8px; font-size: 16px; flex: none; }
.art.medium { width: 72px; height: 72px; border-radius: 12px; flex: none; }
.art.large { width: 140px; height: 140px; border-radius: 16px; flex: none; box-shadow: var(--shadow); }
.art.mini-art { width: 48px; height: 48px; border-radius: 8px; font-size: 14px; flex: none; }
.art.hero { width: min(100%, 420px); margin: 0 auto; border-radius: 22px; box-shadow: var(--shadow); font-size: 64px; }

/* ---- Podcasts grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding: 4px 16px 16px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; } }
.book-tile { display: flex; flex-direction: column; gap: 6px; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
.book-title { font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.book-cover { background: linear-gradient(135deg, #3a2a5e, #b61e73); color: #fff; }
.book-player { padding: 8px 16px; }
.book-audio { width: 100%; }
.book-video { width: 100%; max-height: 60vh; background: #000; border-radius: 12px; }
.book-files { list-style: none; margin: 0; padding: 0 8px 24px; }
.tile { position: relative; transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.badge { position: absolute; top: 6px; right: 6px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px #0004; }

/* ---- Podcast page ---- */
.podcast-head { display: flex; gap: 20px; align-items: center; padding: 4px 16px 8px; }
.podcast-head h1 { font-size: 24px; line-height: 1.2; }
.podcast-head .btn { margin-top: 12px; }
.desc { padding: 0 16px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.desc p { margin: 0; }
.search { display: flex; align-items: center; gap: 10px; margin: 8px 16px; padding: 0 16px; height: 48px; border-radius: 24px; background: var(--surface-2); color: var(--muted); }
.search input { flex: 1; border: 0; background: none; font: inherit; color: var(--text); outline: none; height: 100%; }
.search.big { height: 54px; border-radius: 27px; }
.section-head { padding: 18px 16px 4px; color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.list-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 4px 16px; color: var(--muted); font-weight: 600; font-size: 14px; }

/* ---- Episode rows ---- */
.ep-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ep-row:hover { background: var(--surface-2); }
.ep-row.played .ep-text { opacity: .55; }
.ep-text { flex: 1; min-width: 0; }
.ep-title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-title.one { display: block; -webkit-line-clamp: unset; white-space: nowrap; text-overflow: ellipsis; }
.ep-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 3px; }
.ep-meta .star { fill: var(--star); }
.play-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 50%; }
.play-btn .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: var(--line); }
.ring .fill { stroke: var(--accent); stroke-linecap: round; }
.play-btn.current { color: var(--accent); }
.queue-row { display: flex; align-items: center; padding-right: 8px; }
.queue-row .ep-row { border-bottom: 0; }
.reorder { display: flex; flex-direction: column; padding-left: 6px; }

/* ---- Filters / chips ---- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 16px 10px; }
.chip { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); font-weight: 500; }
.chip.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 700; }

/* ---- Discover ---- */
.dir-row { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 16px; cursor: pointer; }
.dir-row:hover { background: var(--surface-2); }
.rank { width: 22px; color: var(--muted); font-weight: 700; text-align: right; flex: none; }
.loading-bar { height: 3px; margin: 0 16px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 50% 100%; animation: slide 1s linear infinite; }
@keyframes slide { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.spinner { width: 24px; height: 24px; margin: 10px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }

/* ---- Settings ---- */
.setting { padding: 10px 16px; }
.setting-label { font-weight: 600; margin-bottom: 8px; }
.row.gap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pad { padding: 4px 16px 12px; }
.sync-key, .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.04em; }
.list-btn .mono { display: block; margin-top: 2px; }
.sync-key { font-size: 20px; font-weight: 700; padding: 6px 0; user-select: all; }
.key-input { width: 100%; max-width: 420px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-family: ui-monospace, Consolas, monospace; margin-bottom: 10px; }
.speed-row { display: flex; align-items: center; gap: 10px; }
.speed-row .round { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-3); font-size: 24px; font-weight: 700; }
.speed-ends { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; padding: 4px 54px 0; }
.setting.row { display: flex; align-items: center; gap: 8px; }
.setting.row .setting-label { margin: 0; }
.num { width: 80px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2, transparent); color: inherit; font: inherit; text-align: right; }
.num:invalid { border-color: #e53965; }
.toast.handoff { display: flex; align-items: center; gap: 10px; bottom: calc(var(--nav-h) + var(--mini-h) + 84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .toast.handoff { bottom: calc(var(--mini-h) + 88px); } }
.segmented { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.segmented button { flex: 1; padding: 9px 4px; font-weight: 500; }
.segmented button + button { border-left: 1px solid var(--line); }
.segmented button.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.list-btn { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px; gap: 2px; }
.list-btn.row { flex-direction: row; align-items: center; gap: 14px; }
.list-btn span { color: var(--muted); font-size: 14px; }
.list-btn:hover:not(.static) { background: var(--surface-2); }

/* ---- Sheets & dialogs ---- */
.scrim { position: fixed; inset: 0; z-index: 50; background: #0008; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.scrim.center { align-items: center; padding: 24px; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; background: var(--surface); border-radius: 28px 28px 0 0; padding: 8px 24px calc(24px + env(safe-area-inset-bottom)); animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.handle { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 6px auto 16px; }
.sheet-head { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; }
.sheet-head h2 { margin-top: 2px; }
.progress { height: 4px; border-radius: 2px; background: var(--line); margin: 12px 0 4px; overflow: hidden; }
.progress > div { height: 100%; background: var(--accent); }
.actions { display: flex; justify-content: space-around; gap: 4px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; font-size: 12px; text-align: center; }
.action .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--surface-3); }
.notes { overflow-wrap: anywhere; }
.notes a { color: var(--accent); text-decoration: underline; }
.dialog { width: 100%; max-width: 420px; background: var(--surface); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.dialog p { color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 16px; }
.field { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; padding: 0 14px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--mini-h) + 28px + env(safe-area-inset-bottom)); z-index: 60; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
@media (min-width: 900px) { .toast { bottom: calc(var(--mini-h) + 32px); } }

/* ---- Mini player ---- */
.mini {
  position: fixed; left: 8px; right: 8px; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); z-index: 19;
  height: var(--mini-h); display: flex; align-items: center; gap: 12px; padding: 0 6px 0 10px; border-radius: 18px;
  background: var(--surface-3); box-shadow: var(--shadow); cursor: pointer; overflow: hidden;
}
@media (min-width: 900px) { .mini { bottom: 12px; left: 236px; right: 16px; } }
.mini-text { line-height: 1.3; }
.mini-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); }
.icon-btn.big { width: 52px; height: 52px; }

/* ---- Now playing ---- */
.now { position: fixed; inset: 0; z-index: 40; background: linear-gradient(180deg, var(--accent-soft), var(--bg) 70%), var(--bg); overflow-y: auto; animation: up .22s ease-out; }
.now-inner { min-height: 100%; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.now .bar { background: transparent; }
.now-body { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 20px; padding: 8px 24px 24px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .now-body { flex-direction: row; align-items: center; max-width: 1100px; gap: 48px; }
  .now-visual, .now-controls { flex: 1; }
}
.video-box { width: 100%; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; }
.video-box video { width: 100%; height: 100%; display: block; }
.now-title { font-size: 22px; font-weight: 800; margin: 0; }
.now-podcast { display: block; font-weight: 600; margin: 4px 0 8px; }
.chapter-bar { display: flex; align-items: center; margin: 8px 0; }
.chapter-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 4px 8px; border-radius: 10px; }
.chapter-title:hover { background: var(--surface-3); }
.seek { width: 100%; accent-color: var(--accent); margin: 12px 0 0; height: 28px; }
.times { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.transport { display: flex; align-items: center; justify-content: space-evenly; margin: 16px 0 20px; }
.transport .icon-btn { width: 64px; height: 64px; }
.skip { position: relative; display: grid; place-items: center; }
.skip b { position: absolute; font-size: 11px; padding-top: 4px; }
.big-play { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .1s; }
.big-play:active { transform: scale(.95); }
.big-play.buffering { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .6; } }
.effects { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pill { padding: 10px 16px; border-radius: 999px; background: var(--surface-3); font-weight: 700; font-size: 14px; }
.pill.on { background: var(--accent-soft); color: var(--accent); }
.speed-big { text-align: center; font-size: 40px; font-weight: 800; color: var(--accent); }

/* ---- Beta 6: player like the phone, YouTube, playlists ---- */
.skip-icon { display: block; }
.skip-icon text { font-family: "Segoe UI", system-ui, sans-serif; }
.mini { gap: 4px; }
.mini-art { margin-right: 8px; }
.mini-play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.mini-play.buffering { animation: pulse 1s ease-in-out infinite; }
.transport { gap: 4px; }
.transport .icon-btn { width: 56px; height: 56px; }
.transport .skip-btn { width: 64px; height: 64px; }
.chapter-now { width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 6px 10px; margin: 4px 0; border-radius: 12px; background: var(--surface-3); text-align: left; }
.chapter-now .one { max-width: 100%; }
.seek { -webkit-appearance: none; appearance: none; background: transparent; }
.seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--accent-soft) var(--fill, 0%)); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--accent); }
.seek::-moz-range-track { height: 6px; border-radius: 3px; background: var(--accent-soft); }
.seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.seek::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--accent); }
.effects { justify-content: space-evenly; align-items: center; gap: 6px; }
.effects .icon-btn.accent { color: var(--accent); }
.sleep-btn { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 10px; border-radius: 22px; font-weight: 600; font-size: 14px; }
.sleep-btn:hover, .badged:hover { background: var(--surface-3); }
.badged { position: relative; }
.badged .dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.hint.pad { margin: -6px 0 4px; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.switch-row b { display: block; }
.switch-row span span { display: block; color: var(--muted); font-size: 14px; }
.sheet .switch-row { padding: 12px 0; }
.switch { -webkit-appearance: none; appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--surface-3); border: 2px solid var(--muted); position: relative; flex: none; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s; }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::after { transform: translateX(20px); background: var(--on-accent); width: 18px; height: 18px; top: 3px; }

/* YouTube's player: always in the page, off screen until Now Playing lays it over the video box. */
.yt-host { position: fixed; left: -10000px; top: 0; width: 320px; height: 180px; z-index: 45; border-radius: 18px; overflow: hidden; background: #000; }
.yt-host.shown { z-index: 45; }
.yt-host iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Playlists */
.chips.rack { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips.rack .chip { white-space: nowrap; background: var(--surface-2); }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; padding: 8px 16px 16px; }
.pl-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-tile b { margin-top: 6px; }
.pl-cover { display: grid; place-items: center; color: #fff; font-weight: 800; border-radius: 16px; flex: none; text-shadow: 0 1px 3px #0003; }
.pl-cover.tile { width: 100%; aspect-ratio: 1; font-size: 34px; }
.pl-cover.small { width: 44px; height: 44px; border-radius: 10px; font-size: 15px; }
.pl-cover.large { width: 160px; height: 160px; font-size: 48px; border-radius: 20px; }
.pl-cover.add { background: var(--surface-3); color: var(--text); text-shadow: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; outline: 2px solid transparent; }
.swatch.on { outline-color: var(--text); }
.swatch.auto { background: var(--surface-3); font-weight: 700; font-size: 13px; }
.dialog .row.gap { flex-wrap: nowrap; }