/* GradeView Max on the web (gradeview.app/study). Look from the approved design boards
   (Nov 10, 2026): Midnight colours, Inter text, Space Grotesk headings. Text colours pass
   WCAG AA on the backgrounds they sit on. */

:root {
  --bg: #0f0f14;
  --panel: #16161f;
  --panel-2: #1d1d29;
  --line: #23232f;
  --line-2: #2c2c3e;
  --line-3: #34344a;
  --text: #ececf3;
  --text-2: #d6d6e4;
  --muted: #a9a9bf;
  --muted-2: #9a9ab0;
  --accent: #6c8fff;
  --accent-ink: #0f0f14;
  --link: #8fa8ff;
  --chip-bg: #1b2140;
  --good-bg: #14201b; --good-line: #2f4a3f; --good: #8fe3b0;
  --bad-bg: #241519; --bad-line: #5a2f3a; --bad: #ff9aa9;
  --warn: #ffc27a;
  --radius: 18px;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--link); }
a:hover { color: #b6c6ff; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.2; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ── buttons and fields ── */
.btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-3); background: transparent;
  color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { border-color: #4a4a66; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #8aa6ff; color: var(--accent-ink); }
.btn.quiet { border-color: transparent; color: var(--link); font-weight: 500; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.danger { border-color: var(--bad-line); color: var(--bad); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn.block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.input, select.input, textarea.input { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-3); background: var(--bg);
  color: var(--text); padding: 0 14px; font-size: 16px; width: 100%; }
textarea.input { padding: 12px 14px; min-height: 160px; resize: vertical; line-height: 1.5; }
.chip { display: inline-block; font-size: 12px; color: var(--link); background: var(--chip-bg); padding: 2px 9px; border-radius: 999px;
  white-space: nowrap; vertical-align: 1px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill.blue { color: var(--link); background: var(--chip-bg); }
.pill.warm { color: var(--warn); background: #2a2116; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; color: var(--muted-2); }
.error { color: var(--bad); font-size: 14px; }
.ok { color: var(--good); }

/* ── layout ── */
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.logo { width: 32px; height: 32px; border-radius: 8px; display: block; object-fit: cover; flex: none; }
.brand .word { font-family: var(--display); font-weight: 600; font-size: 19px; }
.brand .tier { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-ink); background: var(--link); padding: 2px 6px; border-radius: 6px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-2);
  text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--panel); color: var(--text); }
.nav a[aria-current="page"] { background: var(--panel-2); color: var(--text); }
.side .spacer { flex: 1; }
.side .who { font-size: 13px; color: var(--muted-2); padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.main { min-width: 0; padding: 32px 40px 72px; max-width: 1180px; width: 100%; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; }
.card { background: var(--panel); border: 1px solid #26263a; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.blue { background: #161b33; border-color: #2c3560; }
.card.good { background: var(--good-bg); border-color: var(--good-line); }
.card.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.bar { height: 8px; background: #232332; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.loading { color: var(--muted); padding: 40px 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.back { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #17171f; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: none; }
.back:hover { color: var(--text); border-color: #4a4a66; }
.title-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.title-block .eyebrow { font-size: 13px; color: var(--muted); }

/* ── sign-in ── */
.signin { min-height: 100vh; display: flex; flex-direction: column; }
.signin header, .signin footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 20px 40px; border-bottom: 1px solid var(--line); }
.signin footer { border-bottom: 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted-2); }
.signin main { flex: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; padding: 56px 40px;
  max-width: 1120px; width: 100%; margin: 0 auto; }
.signin .pitch { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.signin .pitch h1 { font-size: 44px; line-height: 1.1; }
.signin .pitch p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 28px; }
.steps .n { flex: none; width: 28px; height: 28px; border-radius: 999px; background: #1f1f2b; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.signin .box { flex: 0 1 400px; min-width: 0; background: var(--panel); border: 1px solid #26263a; border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.qr { width: 264px; height: 264px; background: #fff; border-radius: 14px; padding: 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-gone { width: 264px; height: 264px; border-radius: 14px; background: #1f1f2b; border: 1px solid var(--line-3); display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); display: inline-block; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.code-input { font-family: var(--display); font-size: 26px; letter-spacing: 0.3em; text-align: center; min-height: 56px; }
.box form { width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: left; }

/* ── home ── */
.hello { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.meter { min-width: 260px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.plan { display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.plan .what { display: flex; flex-direction: column; gap: 6px; flex: 1 1 380px; min-width: 0; }
.plan strong.big { font-family: var(--display); font-size: 26px; }
.drop { border: 2px dashed var(--line-3); border-radius: 14px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center; transition: border-color 0.15s, background 0.15s; }
.drop.over { border-color: var(--accent); background: #161b33; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--panel); color: var(--text);
  font-weight: 600; cursor: pointer; font-size: 15px; }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.class-row { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.class-row:first-of-type { border-top: 0; padding-top: 4px; }
.sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.set-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2);
  color: var(--text); text-decoration: none; min-width: 0; }
.set-tile:hover { border-color: #4a4a66; color: var(--text); }
.set-tile .t { font-weight: 600; overflow-wrap: anywhere; }
.kind { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); }

/* ── flashcards ── */
.flash { min-height: 230px; width: 100%; border-radius: 16px; border: 1px solid var(--line-3); background: var(--panel-2); color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; cursor: pointer; }
.flash .side-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.flash .face { font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grades .btn { flex-direction: column; gap: 0; min-height: 58px; padding: 6px 4px; }
.grades .btn span { font-size: 12px; font-weight: 500; color: var(--muted); }
.grades.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kbd { font-size: 12px; color: var(--muted-2); }

/* ── study set ── */
.prose p, .prose li { color: var(--text-2); line-height: 1.6; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.terms { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 8px 18px; }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; color: var(--text-2); }
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 80%; border-radius: 16px; padding: 12px 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); }
.msg.ai { align-self: flex-start; background: var(--panel-2); }
.msg .srcs { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { min-height: 52px; text-align: left; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-3); background: var(--panel-2);
  color: var(--text); cursor: pointer; font-size: 15px; width: 100%; }
.choice.right { background: var(--good-bg); border-color: #3f8f63; }
.choice.wrong { background: var(--bad-bg); border-color: #a5485a; }
.choice[disabled] { cursor: default; }
.status-line { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }

/* ── class page ── */
.dates > div, .calc-row { display: grid; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dates > div { grid-template-columns: 1fr auto; }
.calc-row { grid-template-columns: 1fr 64px 88px; }
.calc-row .w { color: var(--muted-2); font-size: 13px; text-align: right; }
.calc-row .s { text-align: right; font-weight: 600; }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.goals button { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-3); background: transparent; color: var(--text);
  font-family: var(--display); font-size: 18px; font-weight: 700; cursor: pointer; }
.goals button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.score-form { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr auto; gap: 8px; align-items: end; }
.score-list { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.score-list > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
details summary { cursor: pointer; color: var(--link); font-size: 14px; min-height: 32px; display: flex; align-items: center; }

/* ── dialogs and toasts ── */
dialog { border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); color: var(--text); padding: 28px; max-width: 520px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(5, 5, 10, 0.7); }
dialog .stack { gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #24243a; border: 1px solid var(--line-3); color: var(--text);
  padding: 12px 18px; border-radius: 12px; font-size: 15px; z-index: 50; max-width: calc(100% - 32px); }

/* ── phone width ── */
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 10; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 10px 16px;
    background: var(--bg); border-right: 0; border-bottom: 1px solid var(--line); gap: 2px; }
  .brand { padding: 0 8px 0 0; }
  .brand .word { display: none; }
  .nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .nav a { padding: 0 10px; gap: 6px; font-size: 14px; }
  .nav a .lbl { display: none; }
  .side .spacer, .side .who span { display: none; }
  .side .who { padding: 0; margin-left: auto; }
  .main { padding: 20px 16px 56px; }
  .signin header, .signin footer { padding: 16px; }
  .signin main { padding: 32px 16px; gap: 32px; }
  .signin .pitch h1 { font-size: 32px; }
  .signin .box { padding: 24px 16px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 18px; }
  .terms { grid-template-columns: 1fr; }
  .terms dd { margin-bottom: 8px; }
  .score-form { grid-template-columns: 1fr 1fr; }
  .msg { max-width: 92%; }
}
@media (max-width: 420px) { .nav a { padding: 0 8px; } .grades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ── citations that open the source ── */
.chip-link { border: 0; cursor: pointer; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.chip-link:hover { filter: brightness(1.25); }
.chip-link:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.source-panel { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(560px, 46vw); background: var(--panel);
  border-left: 1px solid var(--line-2); display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45); }
.source-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.source-quote { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.source-body { flex: 1; overflow: auto; padding: 16px 18px 28px; display: flex; flex-direction: column; gap: 12px; }
.source-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; color: var(--text-2); }
.source-text mark, .pdf-mark { background: rgba(255, 214, 10, 0.45); color: inherit; border-radius: 3px; }
.source-img { max-width: 100%; height: auto; border-radius: 10px; }
.pdf-stage { width: 100%; }
.pdf-page { position: relative; background: #fff; border-radius: 6px; overflow: hidden; }
.pdf-canvas { display: block; }
.pdf-marks { position: absolute; inset: 0; pointer-events: none; }
.pdf-mark { position: absolute; mix-blend-mode: multiply; background: rgba(255, 214, 10, 0.55); }
.icon-btn { padding: 0 10px; }
@media (min-width: 1100px) { body.has-source .main { padding-right: calc(min(560px, 46vw) + 24px); } }
@media (max-width: 720px) {
  .source-panel { top: auto; left: 0; width: 100%; height: 78vh; height: 78dvh; border-left: 0; border-top: 1px solid var(--line-2);
    border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5); }
}

/* ── GPA ── */
.gpa-list { display: flex; flex-direction: column; }
.gpa-row { display: grid; grid-template-columns: 1fr 88px 84px 156px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gpa-row.head { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 6px; }
.gpa-now { font-weight: 600; text-align: right; }
.gpa-row.head span:nth-child(2) { text-align: right; }
@media (max-width: 560px) {
  .gpa-row { grid-template-columns: 96px 1fr auto; grid-template-areas: "name name now" "credits letter letter"; row-gap: 8px; }
  .gpa-row.head { display: none; }
  .gpa-name { grid-area: name; } .gpa-now { grid-area: now; }
  .gpa-row input { grid-area: credits; } .gpa-row select { grid-area: letter; }
}

/* ── flashcard modes ── */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-3); gap: 2px; }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--link); color: #0b0b12; }
.seg button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* Calendar */
.cal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cal-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 14px; background: var(--panel-2); }
.cal-item.done .cal-title { text-decoration: line-through; color: var(--muted); }
.cal-item.past { opacity: 0.7; }
.cal-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-title { overflow-wrap: anywhere; }
.cal-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.cal-kind { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; text-align: center; background: #22233a; color: var(--text-2); }
.cal-kind.k-exam, .cal-dots i.k-exam { background: #3a1f2a; color: var(--bad); }
.cal-kind.k-quiz, .cal-dots i.k-quiz { background: #2a2116; color: var(--warn); }
.cal-kind.k-homework, .cal-dots i.k-homework { background: #1b2340; color: var(--link); }
.cal-kind.k-project, .cal-dots i.k-project { background: #14201b; color: var(--good); }
.cal-kind.k-drop, .cal-dots i.k-drop { background: #2d1a3d; color: #d3a6ff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-cell { min-height: 64px; border: 1px solid var(--line-3); border-radius: 10px; background: transparent; color: var(--text); font: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px; cursor: pointer; }
.cal-cell.empty { border: 0; cursor: default; }
.cal-cell.today { border-color: var(--link); }
.cal-cell.picked { background: var(--panel-2); border-color: var(--text-2); }
.cal-num { font-size: 13px; font-weight: 600; }
.cal-dots { display: flex; gap: 3px; flex-wrap: wrap; }
.cal-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: var(--text-2); }
.cal-dots i.k-exam { background: var(--bad); } .cal-dots i.k-quiz { background: var(--warn); } .cal-dots i.k-homework { background: var(--link); }
.cal-dots i.k-project { background: var(--good); } .cal-dots i.k-drop { background: #d3a6ff; } .cal-dots i.done { opacity: 0.35; }
@media (max-width: 560px) {
  .cal-item { grid-template-columns: 1fr auto; grid-template-areas: "kind kind" "main main" "act act"; }
  .cal-item .cal-kind { grid-area: kind; justify-self: start; }
  .cal-item .cal-main { grid-area: main; }
  .cal-item .cal-actions { grid-area: act; justify-content: flex-start; }
  .cal-cell { min-height: 48px; padding: 4px; }
}

/* Listen: study audio episodes (js/listen.js) */
.seg-wrap { flex-wrap: wrap; border-radius: 18px; }
.player { gap: 14px; }
.play-btn { min-width: 96px; }
.scrub { width: 100%; accent-color: var(--accent); height: 28px; margin: 0; }
.transcript { list-style: none; margin: 0; padding: 4px; max-height: 340px; overflow-y: auto; position: relative;
  display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.tline { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.tline:hover { background: var(--panel-2); }
.tline:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.tline.on { background: var(--chip-bg); color: var(--text); }
.tline .speaker { font-size: 12px; font-weight: 600; color: var(--link); text-transform: uppercase; letter-spacing: 0.04em; }
.tline .chip { align-self: flex-start; margin-top: 2px; }
.ep-row { padding: 16px; gap: 8px; }
.audio-dock { position: fixed; z-index: 45; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px); width: 460px; padding: 8px 8px 8px 16px; background: #1f1f30; border: 1px solid var(--line-3);
  border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.dock-title { flex: 1 1 auto; min-width: 0; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-weight: 600;
  font-size: 14px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0; }
.dock-title:hover { color: var(--link); }
.player .eyebrow { font-size: 13px; color: var(--muted); }
body:has(.audio-dock) .main { padding-bottom: 104px; }
.tline.later { cursor: default; opacity: 0.6; }
.tline.later:hover { background: none; }
