:root {
  /* Backgrounds */
  --bg-base: #0f172a;
  --bg-card: #1e293b;
  --bg-elevated: #334155;

  /* Text */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-muted: #475569;
  --text-bright: #f1f5f9;
  --text-light: #cbd5e1;

  /* Accent */
  --accent: #6366f1;
  --accent-light: #a5b4fc;
  --accent-pale: #c7d2fe;
  --accent-bg: rgba(99, 102, 241, 0.12);

  /* Borders */
  --border: #334155;

  /* Gradients */
  --gradient-header: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e293b 100%);

  /* Layout */
  --header-height: 74px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 20px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }

/* Global header */
.gh {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  background: linear-gradient(180deg, #161b2e 0%, var(--bg-base) 100%);
  display: flex;
  align-items: center;
}
.gh-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 24px;
}
.gh-inner > :is(.gh-divider, .gh-nav, .gh-rss) { margin-top: 10px; }

.gh-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.gh-logo:hover { opacity: 0.8; }
.gh-logo-icon { font-size: 20px; }
.gh-logo-text { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }

.gh-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}

.gh-nav { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.gh-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.gh-nav a:hover { color: var(--text-primary); }

.gh-rss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-secondary);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.gh-rss:hover { background: rgba(100, 116, 139, 0.24); color: #fff; }

/* Header player */
.hp :where(button) { border: none; background: none; font: inherit; color: inherit; padding: 0; cursor: pointer; }
.hp { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.hp > :is(.hp-time, .hp-speed-wrap, .hp-popover-wrap, .hp-close) { margin-top: 10px; }

.hp-controls { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

.hp-play {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
  transition: transform 0.1s, background 0.15s;
}
.hp-play:hover { transform: scale(1.08); background: #818cf8; }

.hp-skip {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
  color: var(--text-tertiary); border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.hp-skip:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.hp-center { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

.hp-chapter {
  font-size: 13px; color: var(--text-primary);
  margin-bottom: 5px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 5px;
}
.hp-chapter-num { color: var(--text-secondary); font-weight: 600; }
.hp-chapter-sep { color: var(--text-muted); }

.hp-track-wrap { padding: 4px 0; cursor: pointer; position: relative; }
.hp-track {
  height: 5px; background: var(--bg-elevated);
  border-radius: 3px; position: relative;
  transition: height 0.1s;
}
.hp-track-wrap:hover .hp-track { height: 7px; }

.hp-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%; background: var(--accent);
  border-radius: 3px; pointer-events: none;
  transition: background 0.15s;
}
.hp-track-wrap:hover .hp-fill { background: #818cf8; }

.hp-marker {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: var(--bg-base);
  pointer-events: none;
}

.hp-thumb {
  position: absolute; top: 50%; left: 0%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px; height: 12px; background: #fff;
  border-radius: 50%; pointer-events: none;
  transition: transform 0.1s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hp-track-wrap:hover .hp-thumb { transform: translate(-50%, -50%) scale(1); }

.hp-tooltip {
  position: absolute; bottom: 100%; margin-bottom: 6px;
  transform: translateX(-50%);
  padding: 3px 8px; border-radius: 4px;
  background: var(--bg-elevated); color: var(--text-primary);
  font-size: 11px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.1s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex; align-items: center; gap: 6px;
  max-width: 320px;
}
.hp-tooltip-time {
  font-variant-numeric: tabular-nums; font-weight: 600; flex-shrink: 0;
}
.hp-tooltip-topic {
  color: var(--text-light);
  overflow: hidden; text-overflow: ellipsis;
}
.hp-tooltip-topic:empty { display: none; }

.hp-time {
  font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; font-variant-numeric: tabular-nums;
  flex-shrink: 0; letter-spacing: 0.3px;
  min-width: 7ch; text-align: right;
}

.hp-speed-wrap {
  position: relative; flex-shrink: 0;
  width: 52px; display: flex; justify-content: center;
}
.hp-speed {
  font-size: 12px; font-weight: 600; color: var(--text-light);
  background: var(--bg-elevated); padding: 4px 10px;
  border-radius: 10px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.hp-speed:hover, .hp-speed.active { background: var(--border); color: #fff; }

.hp-speed-menu {
  position: absolute;
  top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; padding: 4px; gap: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 210;
  display: flex; flex-direction: column;
}
.hp-speed-opt {
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  padding: 5px 14px; border-radius: 7px; cursor: pointer;
  white-space: nowrap; text-align: center;
  transition: background 0.12s, color 0.12s;
}
.hp-speed-opt:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hp-speed-opt.active {
  color: var(--accent-light); font-weight: 700;
  background: rgba(99, 102, 241, 0.12);
}

.hp-chapters-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; color: var(--text-secondary);
  cursor: pointer; flex-shrink: 0; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.hp-chapters-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }

.hp-close {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; color: var(--text-secondary);
  cursor: pointer; flex-shrink: 0; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.hp-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }

/* Equalizer animation */
.eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq-bar { width: 3px; border-radius: 1px; background: var(--accent); }
@keyframes eq1 { 0%, 100% { height: 4px; } 50% { height: 13px; } }
@keyframes eq2 { 0%, 100% { height: 10px; } 50% { height: 5px; } }
@keyframes eq3 { 0%, 100% { height: 6px; } 50% { height: 12px; } }

/* Chapter panel popover */
.hp-popover-wrap { position: relative; }
.hp-chapters-btn.active { color: var(--accent-light); background: rgba(99, 102, 241, 0.15); }

.cp {
  position: absolute;
  top: calc(100% + 24px);
  right: -12px;
  width: min(380px, calc(100vw - 32px));
  max-height: 50vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  animation: cp-slide-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cp-slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cp-list {
  flex: 1; overflow-y: auto;
  padding: 8px 0; position: relative;
  overscroll-behavior: contain;
  border-radius: 16px;
}
.cp-list::-webkit-scrollbar { display: none; }
.cp-list { scrollbar-width: none; }

.cp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s;
}
.cp-item:hover { background: rgba(255, 255, 255, 0.05); }

.cp-left {
  width: 52px; flex-shrink: 0;
  display: flex; justify-content: center; align-items: center; height: 24px;
}
.cp-time {
  font-size: 12px; color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 6px; border-radius: 4px;
}
.cp-play {
  display: none; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: var(--text-primary);
}
.cp-play svg { margin-left: 1px; }
.cp-eq { display: none; color: #818cf8; }

.cp-item:not(.is-current):hover .cp-time { display: none; }
.cp-item:not(.is-current):hover .cp-play { display: flex; }
.cp-item.is-current .cp-time { display: none; }
.cp-item.is-current .cp-eq { display: flex; align-items: center; justify-content: center; }

.cp-name {
  flex: 1; min-width: 0; font-size: 13px;
  color: var(--text-primary); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cp-item:hover .cp-name { color: #fff; }
.cp-dur { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

.cp-item.is-current { background: var(--accent-bg); border-left-color: var(--accent); }
.cp-item.is-current .cp-name { color: #818cf8; font-weight: 600; }
.cp-item.is-past .cp-name { color: var(--text-secondary); }
.cp-item.is-past .cp-time { color: var(--text-muted); }

.cp-jump {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px; border-radius: 20px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--accent-light); font-size: 12px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.cp-jump:hover { background: rgba(51, 65, 85, 0.95); }

/* Hero */
.ep-hero-wrap {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.ep-hero-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, rgba(15,23,42,0) 70%);
  pointer-events: none;
}
.ep-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  position: relative;
}
.ep-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: rgba(51, 65, 85, 0.4);
}

.ep-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.ep-badge { background: var(--accent-bg); color: var(--accent-light); padding: 4px 10px; border-radius: var(--radius-sm); }
.ep-date { color: var(--text-tertiary); }
.ep-title { font-size: clamp(26px, 3vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 12px; color: var(--text-bright); max-width: 800px; }
.ep-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.5; max-width: 700px; margin-bottom: 32px; }

.ep-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }

.btn-play-main {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0 24px;
  height: 48px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.btn-play-main:hover { background: #818cf8; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35); }
.btn-play-main:active { transform: scale(0.98); }
.btn-play-main { min-width: 210px; justify-content: center; }
.btn-play-main:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-play-main svg { width: 18px; height: 18px; fill: white; }

/* Stat cards */
.ep-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.ep-stat-card {
  flex: 1;
  min-width: 140px;
  background: linear-gradient(145deg, var(--bg-card) 0%, #151e2e 100%);
  border: 1px solid #2a3548;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}
.ep-stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--st-color, var(--border));
  opacity: 0.5;
}
.ep-stat-icon { color: var(--st-color, var(--text-secondary)); margin-bottom: 12px; }
.ep-stat-val { font-size: 22px; font-weight: 800; color: var(--text-bright); margin-bottom: 4px; letter-spacing: -0.5px; }
.ep-stat-lbl { font-size: 12px; font-weight: 500; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }

/* About tab */
.abt-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
.abt-main { display: flex; flex-direction: column; gap: 28px; }

/* Description card */
.abt-desc {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.abt-desc-accent {
  width: 4px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent) 0%, #818cf8 50%, var(--accent-light) 100%);
}
.abt-desc-body { padding: 28px 32px; flex: 1; min-width: 0; }
.abt-p {
  font-size: 15px; line-height: 1.75;
  color: var(--text-secondary); margin: 0 0 16px;
}
.abt-p:last-child { margin-bottom: 0; }
.abt-p a {
  color: var(--accent-light);
  text-decoration: underline; text-underline-offset: 2px;
}
.abt-p a:hover { color: #fff; }

/* Section headers */
.abt-section { margin-bottom: 28px; }
.abt-section:last-child { margin-bottom: 0; }
.abt-heading {
  font-size: 14px; font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}

/* Speakers sidebar */
.abt-speakers { display: flex; flex-direction: column; gap: 10px; }
.abt-speaker {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.abt-speaker:hover { border-color: var(--sp-c, var(--accent)); }
.abt-photo {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: var(--sp-c, var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
}
.abt-photo img { width: 100%; height: 100%; object-fit: cover; }
.abt-speaker-info { flex: 1; min-width: 0; }
.abt-speaker-name {
  font-size: 14px; font-weight: 700; color: var(--text-bright);
  margin-bottom: 2px;
}
.abt-speaker-role { font-size: 12px; color: var(--text-tertiary); }

/* Topic tags */
.abt-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.abt-tag {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 12px;
  transition: border-color 0.15s, background 0.15s;
}
.abt-tag:hover {
  border-color: var(--tp-c, var(--accent));
  background: rgba(30, 41, 59, 0.8);
}
.abt-tag-dur {
  font-size: 11px; font-weight: 700;
  color: var(--tp-c, var(--accent-light));
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px; border-radius: 10px;
  white-space: nowrap;
}
.abt-tag-name {
  font-size: 13px; font-weight: 500;
  color: var(--text-primary); line-height: 1.3;
}

/* Topic list */
.tl-list { display: flex; flex-direction: column; }
.tl-row {
  display: flex; align-items: center;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; transition: background 0.15s;
}
.tl-row:hover { background: rgba(255, 255, 255, 0.04); }
.tl-icon {
  width: 16px; flex-shrink: 0; margin-right: 4px;
  color: var(--accent); opacity: 0;
  transition: opacity 0.15s;
}
.tl-row:hover .tl-icon { opacity: 1; }
.tl-time {
  font-size: 14px; color: var(--text-tertiary);
  font-variant-numeric: tabular-nums; font-family: monospace;
  flex-shrink: 0; margin-right: 16px;
}
.tl-row:hover .tl-time { color: var(--accent-light); }
.tl-name {
  font-size: 14px; color: var(--text-primary);
  line-height: 1.4; min-width: 0;
}

/* Sticky tabs */
.ep-tabs-wrapper {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: var(--header-height);
  z-index: 5;
}
.ep-tabs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
}
.ep-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: rgba(51, 65, 85, 0.4);
}
.ep-tabs::-webkit-scrollbar { display: none; }

.ep-tab {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s;
}
.ep-tab:hover { color: var(--text-primary); }
.ep-tab.active { color: var(--text-bright); border-bottom-color: var(--accent); }

/* Interactive cards */
.ep-card { transition: transform 0.15s, box-shadow 0.15s; }
.ep-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.res-card { transition: background 0.15s; }
.res-card:hover { background: var(--bg-card) !important; }
.res-search { transition: border-color 0.15s; }
.res-search::placeholder { color: var(--text-muted); }
.res-search:focus { border-color: var(--accent) !important; }

/* Responsive */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-row { flex-wrap: wrap !important; }
  .res-grid { grid-template-columns: 1fr !important; }
  .ep-grid { grid-template-columns: 1fr !important; }

  .ep-hero { padding: 32px 20px; }
  .ep-hero::before { display: none; }
  .ep-actions { flex-direction: column; align-items: stretch; }
  .btn-play-main { width: 100%; justify-content: center; }
  .ep-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ep-tabs-wrapper { padding: 0 20px; }
  .ep-stats { gap: 10px; }
  .ep-stat-card { min-width: 120px; }

  .hp-skip { display: none; }
  .hp-chapter { display: none; }
  .hp-speed-wrap { display: none; }
  .hp-chapters-btn { display: none; }
  .hp-time { font-size: 11px; }
  .hp-tooltip { display: none; }
  .btn-play-main { min-width: 0; }

  .cp {
    position: fixed; top: var(--header-height); left: 0; right: 0;
    width: 100%; max-height: calc(100dvh - var(--header-height));
    border-radius: 0 0 14px 14px;
  }
  .cp::before { display: none; }
  .cp-item { padding: 14px 20px; }
  .cp-name { font-size: 15px; }

  .abt-grid { grid-template-columns: 1fr; }
  .abt-desc-body { padding: 20px; }

  .ab-hero { padding: 48px 20px 40px; }
  .ab-hero-wrap::before { display: none; }
  .ab-container { padding: 32px 20px; }
  .ab-features { grid-template-columns: 1fr; }
  .ab-people-grid { grid-template-columns: 1fr; }
  .ab-person-card { max-width: none; }
}

/* About page */
.ab-page { min-height: 100vh; }

.ab-hero-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}
.ab-hero-wrap::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, rgba(15,23,42,0) 70%);
  pointer-events: none;
}
.ab-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  text-align: center;
}
.ab-hero-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.ab-hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto;
}

.ab-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* About text */
.ab-text {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: left;
}
.ab-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.ab-text p:first-child {
  font-size: 18px;
  color: var(--text-primary);
}
.ab-text p:last-child { margin-bottom: 0; }

/* People sections */
.ab-people { margin-bottom: 48px; }
.ab-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 24px;
  text-align: center;
}
.ab-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}

/* Unified person card */
.ab-person-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, #151e2e 100%);
  border: 1px solid #2a3548;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  max-width: 480px;
}
.ab-person-wrap { position: relative; }
.ab-people-grid .ab-person-card { max-width: none; }
.ab-people:first-of-type .ab-person-wrap { max-width: 480px; margin: 0 auto; }
.ab-people:first-of-type .ab-person-card { max-width: none; }
.ab-person-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--sp-c, var(--accent));
  opacity: 0.6;
}
.ab-person-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sp-c, #4b5563);
  border: 2px solid var(--sp-c, rgba(99, 102, 241, 0.3));
  overflow: hidden;
  flex-shrink: 0;
}
.ab-person-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ab-person-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 3px;
}
.ab-person-desc {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary);
  min-height: 4.2em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ab-person-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.ab-socials {
  display: flex;
  gap: 12px;
}
.ab-social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.ab-social:hover { color: var(--text-primary); }
.ab-social svg { width: 24px; height: 24px; }
.ab-social-mask {
  display: block;
  width: 24px; height: 24px;
  background: currentColor;
  -webkit-mask: url(assets/icons/habr.svg) no-repeat center / contain;
  mask: url(assets/icons/habr.svg) no-repeat center / contain;
}

/* Episode dropdown */
.ab-ep-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ab-ep-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
.ab-ep-chevron {
  display: flex;
  transition: transform 0.2s;
}
.ab-ep-chevron--open { transform: rotate(180deg); }
.ab-ep-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  max-width: 340px;
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 50;
  animation: ab-ep-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ab-ep-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ab-ep-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.12s;
}
.ab-ep-item:hover { background: rgba(255, 255, 255, 0.06); }
.ab-ep-num {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--accent-bg);
  padding: 2px 7px;
  border-radius: 4px;
}
.ab-ep-title {
  font-size: 13px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab-ep-item:hover .ab-ep-title { color: #fff; }
