
/* Inter – variable font (weight 100-900), latin + latin-ext, self-hosted */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono – variable font (weight 100-800), latin + latin-ext, self-hosted */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #ffffff;
    --bg-card: #f8f8fa;
    --bg-hover: #f0f0f4;
    --text: #111111;
    --text-dim: #717179;
    --text-muted: #a0a0a8;
    --border: #e4e4e8;
    --accent: #7d45b4;
    --accent-light: #eee3f9;
    --accent-dim: rgba(125,69,180,0.08);
    --radius: 12px;
    --max-w: 1120px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --timeline-h: 44px;
    --player-h: 72px;
    --ease: cubic-bezier(.23,1,.32,1);
}
[data-theme="dark"] {
    --bg: #0e0e12;
    --bg-card: #18181f;
    --bg-hover: #222230;
    --text: #eaeaef;
    --text-dim: #8888a0;
    --text-muted: #555568;
    --border: #2a2a36;
    --accent: #9d6fd4;
    --accent-light: #2a1f3d;
    --accent-dim: rgba(157,111,212,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg); color: var(--text);
    line-height: 1.6; min-height: 100vh;
    padding-bottom: calc(var(--timeline-h) + var(--player-h) + 20px);
    -webkit-font-smoothing: antialiased;
    transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: #fff; }

/* Hero */
.hero {
    max-width: var(--max-w); margin: 0 auto;
    padding: 60px 32px 40px;
}
.hero-top {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
}
.hero-label {
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--accent);
}
.hero-spacer { flex: 1; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-action {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-dim); cursor: pointer; transition: color .3s;
    background: none; border: none; padding: 0;
    line-height: 36px; height: 36px;
    display: inline-flex; align-items: center;
}
.hero-action:hover { color: var(--text); text-decoration: none; }
.settings-wrap { position: relative; display: inline-flex; align-items: center; }
.settings-wrap .btn-share { font-size: 16px; }
.settings-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 6px 0; min-width: 170px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 300;
}
.settings-wrap.open .settings-menu { display: flex; flex-direction: column; }
.settings-menu button {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 8px 16px; border: none; background: none;
    font-family: var(--mono); font-size: 12px; color: var(--text);
    cursor: pointer; white-space: nowrap;
}
.settings-menu button:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.hero-title-row {
    display: flex; align-items: center; gap: 0.3em;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900; line-height: 1.08;
    letter-spacing: -0.03em;
}
.rss-title-icon {
    background: none; border: none; cursor: pointer; padding: 0;
    color: var(--show-color, var(--text-dim)); transition: color .2s var(--ease);
    display: inline-flex; align-items: center;
}
.rss-title-icon svg {
    width: clamp(2.2rem, 5vw, 3.6rem);
    height: clamp(2.2rem, 5vw, 3.6rem);
}
.rss-title-icon:hover { color: var(--show-color, var(--accent)); filter: brightness(1.15); }
.rss-title-dropdown .rss-dropdown-menu { left: 0; right: auto; }
.hero-logo {
    height: 6em;
    width: auto;
    display: block;
}
.hero-sub {
    font-size: 16px; color: var(--text-dim);
    margin-top: 16px; max-width: 520px; line-height: 1.7;
}

/* Show Filter */
.show-filters {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 32px 32px;
    display: flex; gap: 8px; flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}
.show-filter {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-dim); cursor: pointer;
    transition: all .3s var(--ease);
}
.show-filter:hover { border-color: var(--text); color: var(--text); }
.show-filter.active {
    background: var(--text); color: var(--bg);
    border-color: var(--text);
}
.show-filter .filter-dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-right: 6px; vertical-align: middle;
}

/* Main */
.main-content {
    max-width: var(--max-w); margin: 0 auto; padding: 40px 32px;
}

/* Episode Grid */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.episode-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: all .4s var(--ease);
    cursor: default;
}
.episode-card:hover {
    border-color: var(--show-color, var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
[data-theme="dark"] .episode-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.episode-cover-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9; background: var(--bg-hover);
    cursor: pointer;
}
.episode-cover-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.episode-card:hover .episode-cover-wrap img {
    transform: scale(1.04);
}
.episode-cover-badge {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 4px 10px; border-radius: 100px;
    color: #fff; backdrop-filter: blur(8px);
}
.episode-cover-label {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 3px 8px; border-radius: 100px;
    background: rgba(0,0,0,0.6); color: #fff;
    backdrop-filter: blur(8px);
}
.show-label {
    font-size: 9px; font-weight: 700;
    margin-left: 6px; padding: 2px 6px; border-radius: 100px;
    background: rgba(255,255,255,0.15); border: 1px solid var(--border);
    vertical-align: middle;
}
.episode-body { padding: 20px; }
.episode-meta {
    font-family: var(--mono); font-size: 11px;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.episode-meta .meta-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--text-muted);
}
.episode-title {
    font-size: 18px; font-weight: 700; line-height: 1.3;
    letter-spacing: -0.01em; margin-bottom: 10px;
}
.episode-summary {
    font-size: 14px; color: var(--text-dim); line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.episode-tags {
    display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px;
}
.episode-tag {
    font-family: var(--mono); font-size: 10px; font-weight: 500;
    padding: 3px 10px; border-radius: 100px;
    background: color-mix(in srgb, var(--show-color, var(--accent)) 12%, transparent);
    color: var(--text);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.episode-tag-click {
    cursor: pointer; transition: background 0.2s, color 0.2s;
}
.episode-tag-click:hover {
    background: var(--show-color, var(--accent)); color: #fff;
}
.episode-player-row {
    padding: 0 20px 16px;
    display: flex; align-items: center; gap: 10px;
}
.play-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--show-color, var(--accent)); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease); flex-shrink: 0;
}
.play-btn:hover { transform: scale(1.08); background: var(--show-color, var(--accent)); filter: brightness(1.15); }
.play-btn svg { width: 16px; height: 16px; fill: #fff; }
.audio-progress {
    flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.progress-bar-bg {
    width: 100%; height: 4px; background: var(--border);
    border-radius: 2px; cursor: pointer; position: relative;
}
.progress-bar-fill {
    height: 100%; background: var(--show-color, var(--accent)); border-radius: 2px;
    width: 0%; transition: width .1s linear;
}
.audio-times {
    display: flex; justify-content: space-between;
    font-family: var(--mono); font-size: 10px; color: var(--text-muted);
}
.episode-actions-row {
    padding: 0 20px 16px;
    display: flex; gap: 8px; align-items: center;
}
.btn-notes {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-dim); cursor: pointer;
    transition: all .3s var(--ease);
}
.btn-notes:hover { border-color: var(--show-color, var(--accent)); color: var(--show-color, var(--accent)); }
.btn-notes.open { background: color-mix(in srgb, var(--show-color, var(--accent)) 10%, transparent); border-color: var(--show-color, var(--accent)); color: var(--show-color, var(--accent)); }
.share-wrap { position: relative; margin-left: auto; }
.btn-share {
    font-size: 14px; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-dim); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease);
}
.btn-share:hover { border-color: var(--accent); color: var(--accent); }
.share-menu {
    display: none; position: absolute; right: 0; bottom: 42px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 6px 0; min-width: 170px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 20;
}
.share-wrap.open .share-menu { display: block; }
.share-menu button {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 8px 16px; border: none; background: none;
    font-family: var(--mono); font-size: 12px; color: var(--text);
    cursor: pointer; white-space: nowrap;
}
.share-menu button:hover { background: color-mix(in srgb, var(--show-color, var(--accent)) 12%, transparent); color: var(--show-color, var(--accent)); }
.share-menu button svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

/* Show Notes */
.shownotes {
    display: none; padding: 0 20px 20px;
    border-top: 1px solid var(--border); margin-top: 4px;
}
.shownotes.open { display: block; padding-top: 20px; }
.shownotes h3 {
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    color: var(--show-color, var(--accent)); text-transform: uppercase;
    letter-spacing: 0.1em; margin: 16px 0 8px;
}
.shownotes h3:first-child { margin-top: 0; }
.shownotes p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.shownotes ul { padding-left: 0; list-style: none; }
.shownotes li {
    font-size: 13px; color: var(--text-dim); padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.shownotes li:last-child { border: none; }
.shownotes li a { color: var(--show-color, var(--accent)); }
.ai-disclosure { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.ai-disclosure a { color: var(--text-dim); text-decoration: underline; }
.chapter-item {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.chapter-item:hover { color: var(--show-color, var(--accent)); }
.chapter-num {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    color: var(--text-muted); min-width: 20px;
}
.chapter-time {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    color: var(--show-color, var(--accent)); min-width: 40px; flex-shrink: 0;
}
.gp-chapter-marker {
    position: absolute; top: -2px; width: 2px; height: 8px;
    background: var(--text); border-radius: 1px;
    opacity: 0.6; pointer-events: none; z-index: 1;
}

/* Timeline */
.timeline-bar {
    position: fixed; bottom: var(--player-h); left: 0; right: 0;
    height: var(--timeline-h); z-index: 200;
    background: none; border-top: none;
    user-select: none;
}
.timeline-bar::before {
    content: ''; position: absolute; inset: 0;
    background: color-mix(in srgb, var(--bg) 75%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    pointer-events: none;
    transition: background .4s var(--ease);
}
.timeline-inner {
    max-width: 100%; height: 100%;
    display: flex; flex-direction: row; align-items: center;
    padding: 0; position: relative; z-index: 1;
}
.timeline-header {
    display: flex; align-items: center;
    padding: 0 16px 0 32px;
    flex-shrink: 0;
}
.timeline-label {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--text-muted);
}
.timeline-date-display {
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    color: var(--text); margin-left: auto;
}
.timeline-scroll-area {
    flex: 1; overflow-x: auto; overflow-y: hidden;
    cursor: grab; padding: 0 32px 0 0;
    scrollbar-width: none; -ms-overflow-style: none;
}
.timeline-scroll-area::-webkit-scrollbar { display: none; }
.timeline-scroll-area:active { cursor: grabbing; }
.timeline-track {
    display: flex; align-items: center;
    height: 100%; gap: 0; min-width: max-content;
    padding-bottom: 0;
}
.tl-month-group {
    display: flex; flex-direction: row;
    align-items: center; gap: 0;
    margin-right: 0; height: 100%;
    border-left: 1px solid var(--border);
}
.tl-month-label {
    font-family: var(--mono); font-size: 9px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-muted); padding: 0 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.tl-month-items {
    display: flex; align-items: center; gap: 3px;
    padding: 0 6px;
    min-height: 28px;
}
.tl-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; cursor: pointer; padding: 2px 3px;
    border-radius: 6px; transition: all .25s var(--ease);
    position: relative;
}
.tl-item:hover { background: var(--bg-hover); }
.tl-item.active { background: var(--accent-dim); }
.tl-item.in-view { background: var(--accent-dim); }
.tl-item.in-view .tl-bar { filter: brightness(1.2); }
.tl-bar {
    width: 5px; height: 7px; border-radius: 2px;
    transition: all .25s var(--ease);
}
.tl-item:hover .tl-bar { filter: brightness(1.2); }
.tl-day {
    font-family: var(--mono); font-size: 8px; font-weight: 600;
    color: var(--text-muted);
}
.tl-float-tip {
    display: none; position: fixed; z-index: 999;
    background: var(--text); color: var(--bg);
    padding: 8px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 500;
    white-space: nowrap; pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateX(-50%);
}
.tl-float-tip.visible { display: block; }
.tl-float-tip::after {
    content: ''; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text);
}
.tl-now-arrow {
    display: none; position: absolute; top: -6px;
    left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--accent);
}
.tl-item.now-playing .tl-now-arrow { display: block; }
.tl-item.now-playing .tl-bar {
    box-shadow: 0 0 8px currentColor;
    transform: scaleY(1.25);
}

/* RSS Dropdown */
.rss-dropdown { position: relative; display: inline-flex; align-items: center; }
.rss-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 8px;
    min-width: 200px; z-index: 300;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="dark"] .rss-dropdown-menu { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.rss-dropdown.open .rss-dropdown-menu { display: block; }
.rss-link {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 8px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    color: var(--text-dim); transition: all .2s var(--ease);
    text-decoration: none;
}
.rss-link:hover { background: var(--bg-hover); color: var(--text); text-decoration: none; }
.rss-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Load More */
.load-more-area {
    text-align: center; padding: 40px 0 20px;
}
.btn-load-more {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 12px 32px; border-radius: 100px;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-dim); cursor: pointer;
    transition: all .3s var(--ease);
}
.btn-load-more:hover { border-color: var(--accent); color: var(--accent); }

/* Overlays */
.imprint-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.75); z-index: 999;
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.imprint-overlay.open { display: flex; }
.imprint-box {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px; max-width: 520px;
    width: 92vw; font-size: 14px; line-height: 1.7;
    position: relative; max-height: 80vh; overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}
.imprint-box h3 {
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); margin: 20px 0 8px;
}
.imprint-box h3:first-child { margin-top: 0; }
.imprint-box p, .imprint-box ul { margin: 0 0 10px; color: var(--text-dim); }
.imprint-box ul { padding-left: 20px; }
.imprint-box li { margin-bottom: 4px; }
.imprint-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; color: var(--text-muted);
    font-size: 22px; cursor: pointer; transition: color .3s;
}
.imprint-close:hover { color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
    background: var(--card-bg); color: var(--text); font-family: inherit; font-size: 14px;
    resize: vertical; box-sizing: border-box;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contact-status { font-size: 13px; color: var(--text-dim); }
.contact-status.ok { color: #4caf50; }
.contact-status.err { color: #e53935; }
.contact-submit {
    padding: 8px 24px; border: none; border-radius: 8px; cursor: pointer;
    background: var(--accent, #3b82f6); color: #fff; font-size: 14px; font-family: inherit;
    transition: opacity .2s;
}
.contact-submit:hover { opacity: .85; }
.contact-submit:disabled { opacity: .5; cursor: not-allowed; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-label { font-size: 14px; color: var(--text-dim); white-space: nowrap; }
.captcha-input { width: 70px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card-bg); color: var(--text); font-family: inherit; font-size: 14px; text-align: center; }
.model-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 13px; }
.model-table th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-dim); font-weight: 400; }
.model-table td { padding: 7px 10px; border-bottom: 1px solid var(--border); color: var(--text-dim); vertical-align: top; }
.model-table tr:last-child td { border-bottom: none; }
.model-table td:first-child { white-space: nowrap; color: var(--text-dim); }
.model-table td:last-child { white-space: nowrap; font-size: 12px; }

/* Global Player */
.global-player {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--player-h); z-index: 250;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: none; align-items: center; gap: 12px;
    padding: 0 24px;
    transition: background .4s var(--ease), border-color .4s var(--ease);
}
.global-player.active { display: flex; }
.global-player.inactive {
    display: flex;
}
.gp-cover {
    width: 48px; height: 48px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0; background: var(--bg-card);
}
.gp-link {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit; min-width: 0;
}
.gp-info {
    flex: 0 0 180px; min-width: 0; overflow: hidden;
}
.gp-show {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-muted); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.gp-title {
    font-size: 13px; font-weight: 600; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-controls {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.gp-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease); background: transparent;
    color: var(--text-dim);
}
.gp-btn svg { width: 14px; height: 14px; fill: currentColor; }
.gp-btn:hover { color: var(--text); }
.gp-btn-play {
    width: 42px; height: 42px; background: var(--show-color, var(--accent)); color: #fff;
}
.gp-btn-play svg { width: 16px; height: 16px; fill: #fff; }
.gp-btn-play:hover { background: var(--show-color, var(--accent)); filter: brightness(1.15); color: #fff; }
.gp-progress-area {
    flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.gp-progress-bar {
    width: 100%; height: 4px; background: var(--border);
    border-radius: 2px; cursor: pointer; position: relative;
    overflow: visible;
}
.gp-progress-fill {
    height: 100%; background: var(--show-color, var(--accent)); border-radius: 2px;
    width: 0%; transition: width .1s linear;
    position: relative; z-index: 0;
}
.gp-times {
    display: flex; justify-content: space-between;
    font-family: var(--mono); font-size: 10px; color: var(--text-muted);
}
.gp-speed {
    flex-shrink: 0; border: 1px solid var(--border); background: transparent;
    color: var(--text-dim); font-family: var(--mono); font-size: 10px; font-weight: 600;
    padding: 4px 8px; border-radius: 100px; cursor: pointer;
    letter-spacing: 0.04em; transition: all .2s var(--ease); min-width: 38px; text-align: center;
}
.gp-speed:hover { color: var(--text); border-color: var(--text); }
.gp-autoplay {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
    cursor: pointer; user-select: none;
}
.gp-autoplay input { cursor: pointer; accent-color: var(--show-color, var(--accent)); }
.gp-autoplay-label {
    font-family: var(--mono); font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-dim);
}

/* Empty state */
.empty-state {
    text-align: center; padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p {
    font-family: var(--mono); font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* Responsive */
@media (max-width: 768px) {
    :root { --tl-side-w: 44px; }
    body { padding-bottom: calc(var(--player-h) + 10px); padding-left: var(--tl-side-w); }
    .hero { padding: 40px 20px 30px; }
    .hero h1 { font-size: 2rem; }
    .rss-title-icon svg { width: 2rem; height: 2rem; }
    .show-filters { padding: 0 20px 24px; }
    .main-content { padding: 24px 20px; }
    .episode-grid { grid-template-columns: 1fr; gap: 16px; }
    .gp-info { flex: 0 0 120px; }
    .gp-autoplay-label { display: none; }

    /* Timeline → linke Seite vertikal */
    .timeline-bar {
        position: fixed; top: 0; left: 0; bottom: var(--player-h);
        right: auto; width: var(--tl-side-w); height: auto;
        border-top: none; border-right: 1px solid var(--border);
        z-index: 200;
    }
    .timeline-inner {
        height: 100%; flex-direction: column;
    }
    .timeline-header {
        padding: 10px 4px; justify-content: center;
    }
    .timeline-label {
        writing-mode: vertical-lr; transform: rotate(180deg);
        font-size: 9px; letter-spacing: 0.15em;
    }
    .timeline-scroll-area {
        flex: 1; overflow-x: hidden; overflow-y: auto;
        padding: 4px 0 12px; cursor: default;
    }
    .timeline-track {
        flex-direction: column; align-items: center;
        height: auto; min-width: 0; min-height: max-content;
        padding-bottom: 0; gap: 0;
    }
    .tl-month-group {
        flex-direction: column; align-items: center;
        margin-right: 0; width: 100%; border-left: none;
    }
    .tl-month-label {
        writing-mode: vertical-lr; transform: rotate(180deg);
        padding: 8px 0 4px; font-size: 9px;
        border-left: none; border-top: 1px solid var(--border);
        text-align: center;
    }
    .tl-month-items {
        flex-direction: column; align-items: center;
        gap: 2px; padding: 4px 0;
        border-left: none; border-top: 1px solid var(--border);
        min-height: 0;
    }
    .tl-item {
        padding: 3px 4px; flex-direction: row; gap: 3px;
    }
    .tl-bar {
        width: 100%; min-height: 0; height: 5px !important;
        max-height: none; min-width: 14px; max-width: 28px;
        border-radius: 3px;
    }
    .tl-day { font-size: 8px; }
    .tl-now-arrow {
        top: 50%; left: auto; right: -6px;
        transform: translateY(-50%) rotate(-90deg);
    }
    .tl-float-tip { display: none !important; }

    /* Player volle Breite, kein Timeline-Offset */
    .global-player { left: 0; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .rss-title-icon svg { width: 1.6rem; height: 1.6rem; }
    .episode-cover-wrap { aspect-ratio: 3/2; }
    .hero-actions { gap: 8px; }
    .hero-action { font-size: 10px !important; letter-spacing: 0.04em !important; }
    .gp-cover { width: 40px; height: 40px; }
    .gp-info { flex: 0 0 90px; }
    .gp-btn { width: 28px; height: 28px; }
    .gp-btn svg { width: 12px; height: 12px; }
    .gp-btn-play { width: 36px; height: 36px; }
    .gp-btn-play svg { width: 14px; height: 14px; }
    .global-player { gap: 8px; padding: 0 12px; }
    .gp-chapter-marker { top: -2px; width: 2px; height: 8px; }
    :root { --tl-side-w: 36px; }
}
