/* Podnebu Show Nebula Observatory */

.nebu-wrap {
  width: min(1260px, calc(100vw - 48px));
  margin: 12px 0 36px;
  margin-inline: calc(50% - min(630px, 50vw - 24px));
}

.nebu-stage {
  position: relative;
  width: 100%;
  height: clamp(540px, 74vh, 760px);
  border-radius: 24px;
  overflow: hidden;
  background: #040714;
  border: 1px solid rgba(180, 198, 255, 0.14);
  box-shadow: 0 24px 72px rgba(4, 7, 20, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #F2F4FA;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.nebu-stage.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 45;
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
body.nebu-fs-open { overflow: hidden; }

.nebu-gl, .nebu-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.nebu-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Nebula topic titles */
.nebu-neb-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: #F7F8FC;
  cursor: pointer;
  transition: opacity 0.25s ease;
  text-shadow: 0 2px 14px rgba(3, 5, 16, 0.92), 0 0 22px color-mix(in oklab, var(--nc, #FFD27A) 45%, transparent);
}
.nebu-neb-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nebu-neb-name::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin: 4px auto 0;
  background: color-mix(in oklab, var(--nc, #FFD27A) 75%, white);
  opacity: 0.65;
  transition: width 0.2s ease, opacity 0.2s ease;
}
.nebu-neb-label:hover .nebu-neb-name::after,
.nebu-neb-label.is-active .nebu-neb-name::after {
  width: 44px;
  opacity: 1;
}
.nebu-neb-sub {
  font-size: 10.5px;
  color: rgba(232, 238, 252, 0.62);
  white-space: nowrap;
}

/* Individual star labels */
.nebu-star-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(236, 241, 255, 0.78);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 1px 8px rgba(3, 5, 16, 0.96), 0 0 12px rgba(3, 5, 16, 0.9);
  transition: opacity 0.2s ease, color 0.18s ease, font-size 0.18s ease;
}
.nebu-star-label.kind-book,
.nebu-star-label.kind-screen {
  color: rgba(248, 236, 210, 0.88);
}
.nebu-star-label.kind-person {
  color: rgba(226, 236, 255, 0.88);
}
.nebu-star-label:hover,
.nebu-star-label.is-focus {
  color: #FFFFFF;
}
.nebu-star-label.is-primary {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 0 18px color-mix(in oklab, var(--sc, #FFD27A) 75%, white), 0 1px 8px rgba(0, 0, 0, 0.95);
}

/* Top cosmic HUD */
.nebu-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(to bottom, rgba(4, 7, 20, 0.72), rgba(4, 7, 20, 0));
  pointer-events: none;
}
.nebu-brand, .nebu-top-actions { pointer-events: auto; }
.nebu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nebu-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 20px rgba(0, 0, 0, 0.45);
}
.nebu-brand-text { min-width: 0; }
.nebu-brand-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.nebu-brand-row h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.nebu-artist {
  font-size: 12px;
  color: rgba(226, 232, 248, 0.58);
}
.nebu-stats {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(226, 232, 248, 0.62);
}
.nebu-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.nebu-ext, .nebu-ctrl-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 12, 28, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(240, 244, 255, 0.84);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.nebu-ext:hover, .nebu-ctrl-pill:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  background: rgba(20, 28, 56, 0.72);
}
.nebu-ctrl-pill[aria-pressed="true"] {
  border-color: rgba(255, 210, 122, 0.55);
  color: #FFD27A;
}

/* Bottom HUD & Camera Controls */
.nebu-hud-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(4, 7, 20, 0.65), rgba(4, 7, 20, 0));
  pointer-events: none;
}
.nebu-hint {
  font-size: 11.5px;
  color: rgba(226, 232, 248, 0.48);
}
.nebu-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
  margin-right: 30px;
}
.nebu-ctrl-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 28, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(240, 244, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.nebu-ctrl-btn:hover {
  background: rgba(24, 34, 68, 0.8);
  border-color: rgba(255, 255, 255, 0.34);
  color: #FFFFFF;
}
.nebu-ctrl-btn[aria-pressed="true"] {
  border-color: rgba(255, 210, 122, 0.65);
  color: #FFD27A;
  background: rgba(255, 210, 122, 0.14);
}

/* Right-edge Episode Timeline Rail */
.nebu-rail {
  position: absolute;
  top: 74px;
  right: 10px;
  bottom: 196px;
  z-index: 4;
  width: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: auto;
}
.nebu-tick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  flex: 1;
  min-height: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  --mag: 0;
}
.nebu-tick-ym {
  font-size: 9.5px;
  color: rgba(220, 228, 248, 0.46);
  pointer-events: none;
  white-space: nowrap;
}
.nebu-tick-bar {
  display: block;
  height: calc(1.2px + var(--mag) * 1.4px);
  width: calc(7px + var(--mag) * 13px);
  border-radius: 999px;
  background: rgba(220, 230, 255, 0.24);
  transition: width 0.12s ease, background 0.15s ease;
}
.nebu-tick.has-stars .nebu-tick-bar {
  background: rgba(220, 230, 255, 0.42);
}
.nebu-tick.is-lit .nebu-tick-bar {
  width: calc(13px + var(--mag) * 10px);
  background: var(--tc, #FFD27A);
  box-shadow: 0 0 8px var(--tc, #FFD27A);
}
.nebu-tick.is-selected .nebu-tick-bar,
.nebu-tick:hover .nebu-tick-bar {
  background: #FFD27A;
  box-shadow: 0 0 10px rgba(255, 210, 122, 0.8);
}

.nebu-rail-tip {
  position: absolute;
  right: 72px;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 280px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F4F6FC;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}
.nebu-rail-tip[hidden] { display: none; }
.nebu-rail-tip span { font-size: 10.5px; color: #FFD27A; }
.nebu-rail-tip strong { font-size: 12.5px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nebu-rail-tip small { font-size: 11px; color: rgba(226, 232, 248, 0.56); }

/* Floating Glass Inspector Card */
.nebu-card {
  position: absolute;
  top: 72px;
  right: 74px;
  bottom: 20px;
  z-index: 6;
  width: min(370px, calc(100% - 104px));
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 24, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
}
.nebu-card[hidden] { display: none; }
.nebu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nebu-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(232, 238, 252, 0.68);
}
.nebu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cc, #FFD27A);
  box-shadow: 0 0 10px var(--cc, #FFD27A);
}
.nebu-card-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 244, 255, 0.78);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nebu-card-close:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }

.nebu-card-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.nebu-card-art {
  width: 58px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}
.nebu-card-art.is-round {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.nebu-card-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
}
.nebu-card-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: rgba(232, 238, 252, 0.72);
  line-height: 1.45;
}
.nebu-card-stat {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--cc, #FFD27A);
}
.nebu-card-summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(232, 238, 252, 0.78);
}

.nebu-wormhole {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--cc, #FFD27A) 45%, rgba(255, 255, 255, 0.15));
  background: color-mix(in oklab, var(--cc, #FFD27A) 14%, rgba(255, 255, 255, 0.04));
  color: #FFE4A8;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nebu-wormhole:hover {
  background: color-mix(in oklab, var(--cc, #FFD27A) 24%, rgba(255, 255, 255, 0.08));
  color: #FFFFFF;
}

.nebu-card-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nebu-card-sec h3 {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(226, 232, 248, 0.52);
  letter-spacing: 0.04em;
}
.nebu-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nebu-partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 244, 255, 0.88);
  font-size: 12px;
  cursor: pointer;
}
.nebu-partner-chip:hover {
  border-color: var(--pc, #FFD27A);
  background: rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
}
.nebu-partner-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc, #FFD27A);
}
.nebu-partner-chip small { color: rgba(226, 232, 248, 0.48); font-size: 10.5px; }

.nebu-seg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nebu-seg-btn {
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #F2F4FA;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nebu-seg-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: color-mix(in oklab, var(--cc, #FFD27A) 50%, rgba(255, 255, 255, 0.15));
}
.nebu-seg-t {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.nebu-seg-m {
  font-size: 11px;
  color: rgba(226, 232, 248, 0.56);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nebu-seg-m .mono { color: var(--cc, #FFD27A); }

/* Mobile layout */
@media (max-width: 720px) {
  .nebu-wrap {
    width: 100%;
    margin: 6px 0 24px;
    margin-inline: 0;
  }
  .nebu-stage {
    height: clamp(500px, 70vh, 620px);
    border-radius: 18px;
  }
  .nebu-neb-name { font-size: 13.5px; }
  .nebu-neb-sub { font-size: 9.5px; }
  .nebu-star-label { font-size: 11px; }
  .nebu-hud-top { padding: 12px 14px; }
  .nebu-brand-row h1 { font-size: 15.5px; }
  .nebu-artist, .nebu-hint, .nebu-ext { display: none; }
  .nebu-rail { width: 32px; right: 6px; bottom: 168px; }
  .nebu-tick-ym { display: none; }
  .nebu-controls { margin-right: 14px; }
  .nebu-card {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 58%;
    border-radius: 18px;
  }
}

/* ---------- Show Archive Hub (节目档案室) ---------- */
.arch-hub {
  margin-top: 8px;
}
.arch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.arch-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--hover);
  border: 1px solid var(--line);
  gap: 2px;
}
.arch-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.arch-tabs button:hover { color: var(--text); }
.arch-tabs button[aria-selected="true"] {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}
.arch-tabs small {
  font-size: 11px;
  color: var(--text-3);
}

.arch-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}
.arch-search svg {
  position: absolute;
  left: 12px;
  color: var(--text-3);
  pointer-events: none;
}
.arch-search input {
  width: 100%;
  height: 38px;
  padding: 0 32px 0 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.arch-search input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-line) 16%, transparent);
}
.arch-search input::placeholder { color: var(--text-3); }
.arch-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.arch-q-clear {
  position: absolute;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.arch-q-clear:hover { background: var(--hover); color: var(--text); }
.arch-q-clear[hidden] { display: none; }

.arch-body { margin-top: 18px; }

.arch-ep-bar, .arch-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.arch-count {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
}
.arch-count a {
  color: var(--accent-ink);
  text-decoration: none;
}
.arch-count a:hover { text-decoration: underline; }

.arch-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.arch-topic-pills button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.arch-topic-pills button:hover {
  background: var(--hover);
  color: var(--text);
}
.arch-topic-pills button[aria-pressed="true"] {
  border-color: color-mix(in oklab, var(--tc, var(--accent-line)) 65%, var(--line-strong));
  background: color-mix(in oklab, var(--tc, var(--accent-line)) 13%, transparent);
  color: var(--text);
}
.arch-topic-pills button i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tc, var(--accent-line));
}
.arch-topic-pills small { font-size: 11px; color: var(--text-3); }

/* Episode Accordion Cards */
.ep-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ep-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ep-card:hover { border-color: var(--line-strong); }
.ep-card.is-open {
  border-color: color-mix(in oklab, var(--accent-line) 42%, var(--line-strong));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}
.ep-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px 15px 18px;
}
.ep-toggle {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-3);
}
.ep-meta .sep { color: var(--text-4); }
.ep-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}
.ep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.ep-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--tc, var(--accent-line)) 12%, transparent);
  color: var(--text-2);
  font-size: 11px;
}
.ep-topic-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tc, var(--accent-line));
}
.ep-ent-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
  font-size: 11px;
}

.ep-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.ep-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.ep-play-btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.ep-chev-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-3);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}
.ep-chev-btn:hover { background: var(--hover); color: var(--text); }
.ep-card.is-open .ep-chev-btn { transform: rotate(180deg); color: var(--text); }

/* Expanded Episode Chapters */
.ep-ch-list {
  margin: 0;
  padding: 6px 12px 12px;
  list-style: none;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ep-ch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.14s ease;
}
.ep-ch-row:hover { background: var(--hover); }
.ep-ch-row.is-current { background: color-mix(in oklab, var(--accent-line) 12%, transparent); }
.ep-ch-row.is-topic-hit .ep-ch-ts { color: var(--accent-ink); font-weight: 600; }
.ep-ch-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}
.ep-ch-ts { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ep-ch-title { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ep-ch-len { font-size: 11px; color: var(--text-4); white-space: nowrap; }
.ep-ch-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ep-ch-actions .icon-btn { width: 30px; height: 30px; }

/* Entities Tab */
.arch-ent-sec { margin-top: 26px; }
.arch-ent-sec:first-child { margin-top: 4px; }
.arch-ent-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.arch-ent-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.arch-ent-head span { font-size: 12px; color: var(--text-3); }

/* Starters Tab */
.arch-starter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.arch-play-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.arch-play-all:hover { opacity: 0.9; }
.arch-starter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.arch-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-2);
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
}
.arch-empty p { margin: 0 0 14px; font-size: 14.5px; }
.arch-empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .arch-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .arch-tabs { width: 100%; }
  .arch-tabs button { flex: 1; justify-content: center; padding: 0 8px; font-size: 12.5px; }
  .arch-search { max-width: none; }
  .ep-head { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .ep-actions { justify-content: flex-end; }
  .ep-ch-row { grid-template-columns: 1fr; gap: 6px; }
  .ep-ch-main { grid-template-columns: 48px minmax(0, 1fr); }
  .ep-ch-len { display: none; }
  .ep-ch-actions { justify-content: flex-end; }
}
