/* book-player.css — paper / ink / bronze book aesthetic, audiobook UX */

:root {
    --paper:        #f6f2ea;
    --paper-deep:   #ece7dc;
    --paper-card:   #fbf8f1;
    --ink:          #1f2933;
    --ink-soft:     #4b5564;
    --bronze:       #8b6f47;
    --bronze-deep:  #6e5638;
    --listened:     #5a7a4f;
    --rule:         rgba(31, 41, 51, 0.12);
    --shadow-sm:    0 1px 3px rgba(31, 41, 51, 0.08);
    --shadow-md:    0 6px 22px rgba(31, 41, 51, 0.12);
    --shadow-lg:    0 18px 42px rgba(31, 41, 51, 0.16);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ui, .ui * {
    font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: var(--bronze-deep); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

/* ========== Topbar + menu ========== */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 12px 20px;
    position: sticky; top: 0; z-index: 90;
}
.topbar .row {
    max-width: 760px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.topbar .brand {
    font-weight: 700; font-size: 1rem; color: var(--ink);
    letter-spacing: -.01em;
}
.topbar .brand a:hover { color: var(--bronze-deep); }

.menu-btn {
    background: transparent; border: none; cursor: pointer;
    width: 36px; height: 36px;
    display: flex; flex-direction: column; justify-content: center;
    gap: 4px; padding: 6px;
    border-radius: 6px;
}
.menu-btn:hover { background: var(--paper-deep); }
.menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 1px;
}

/* Drawer */
.menu-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 320px; max-width: 90vw;
    background: #fff;
    box-shadow: -8px 0 28px rgba(0,0,0,.18);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .24s ease-out;
    display: flex; flex-direction: column;
    padding: 18px 16px 24px;
}
.menu-drawer.is-open { transform: translateX(0); }
.menu-drawer[hidden] { display: flex; }
.menu-close {
    position: absolute; top: 10px; right: 12px;
    background: transparent; border: none; cursor: pointer;
    font-size: 1.6rem; color: var(--ink-soft);
    width: 36px; height: 36px; border-radius: 6px;
    line-height: 1;
}
.menu-close:hover { background: var(--paper-deep); color: var(--ink); }

.menu-header {
    display: flex; gap: 12px; align-items: center;
    padding: 8px 4px 16px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 8px;
}
.menu-header img {
    width: 56px; height: 56px;
    object-fit: cover; border-radius: 6px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.menu-title { font-weight: 700; color: var(--ink); font-size: 1rem; }
.menu-sub { color: var(--ink-soft); font-size: .85rem; font-style: italic; }

.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { margin: 0; }
.menu-list a, .menu-list button {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    background: transparent; border: none; cursor: pointer;
    padding: 12px 10px;
    border-radius: 6px;
    text-align: left;
    color: var(--ink) !important;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .95rem; font-weight: 500;
    text-decoration: none !important;
}
.menu-list a:hover, .menu-list button:hover {
    background: var(--paper-deep);
    color: var(--ink) !important;
}
.menu-list i {
    color: var(--bronze-deep); width: 20px; text-align: center;
}
.menu-list .menu-divider {
    border-top: 1px solid var(--rule);
    margin: 8px 6px;
    height: 0;
}
.menu-list .menu-divider:hover { background: transparent; }

.menu-version {
    margin-top: auto;
    padding-top: 14px;
    color: var(--ink-soft);
    font-size: .75rem;
    text-align: center;
}

.menu-backdrop {
    position: fixed; inset: 0;
    background: rgba(31, 41, 51, 0.45);
    z-index: 150;
    opacity: 0;
    transition: opacity .2s;
}
.menu-backdrop.is-open { opacity: 1; }
.menu-backdrop[hidden] { display: block; pointer-events: none; }
.menu-backdrop:not(.is-open) { pointer-events: none; }

/* ========== Modals ========== */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(31, 41, 51, 0.55);
    z-index: 300;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .2s;
}
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.is-open { opacity: 1; }
.modal-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 28px 26px 22px;
    max-width: 480px; width: 100%;
    max-height: 86vh; overflow-y: auto;
    position: relative;
}
.modal-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem; font-weight: 700;
    margin: 0 0 14px;
}
.modal-card p { font-size: .95rem; line-height: 1.55; margin: 0 0 12px; color: var(--ink); }
.modal-card ol { padding-left: 20px; line-height: 1.9; color: var(--ink); }
.modal-card a { color: var(--bronze-deep); }
.modal-close {
    position: absolute; top: 10px; right: 12px;
    background: transparent; border: none; cursor: pointer;
    font-size: 1.6rem; color: var(--ink-soft); line-height: 1;
    width: 36px; height: 36px; border-radius: 6px;
}
.modal-close:hover { background: var(--paper-deep); color: var(--ink); }
.modal-action {
    display: block; width: 100%;
    background: var(--paper-deep); color: var(--ink);
    border: 1px solid var(--rule); border-radius: 8px;
    padding: 11px; margin-top: 16px; cursor: pointer;
    font-family: inherit; font-weight: 600;
}
.modal-action:hover { background: #e5dfd0; }

/* ========== Landing ========== */
.landing-header {
    text-align: center;
    margin-bottom: 36px;
}
.landing-header h1 {
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.landing-header .author {
    color: var(--ink-soft);
    font-style: italic;
    font-size: 1.05rem;
}
.book-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 22px;
    margin-bottom: 18px;
    transition: box-shadow .15s, transform .15s;
}
.book-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.book-card .cover {
    flex: 0 0 130px;
    width: 130px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.book-card .meta { flex: 1; }
.book-card .meta h2 { margin: 0 0 4px; font-size: 1.4rem; font-weight: 700; }
.book-card .meta .author { color: var(--ink-soft); font-style: italic; margin: 0 0 8px; }
.book-card .desc { color: var(--ink-soft); font-size: .98rem; }

.resume-hero {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--paper-deep) 100%);
    border: 1px solid var(--bronze);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.resume-hero .icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bronze); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.resume-hero .resume-text { flex: 1; }
.resume-hero .resume-text .label {
    text-transform: uppercase; letter-spacing: .08em;
    font-size: .72rem; color: var(--ink-soft);
}
.resume-hero .resume-text .target { font-weight: 700; font-size: 1.1rem; }
.resume-hero .resume-text .position { color: var(--ink-soft); font-size: .92rem; }
.btn-resume {
    background: var(--bronze); color: #fff !important;
    padding: 10px 18px; border-radius: 6px; border: none;
    font-family: 'Source Sans 3', sans-serif; font-weight: 600;
    text-decoration: none !important; cursor: pointer;
}
.btn-resume:hover { background: var(--bronze-deep); }

/* ========== Unified book + player card ========== */
.book-card-unified {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-areas:
        "header header"
        "cover  info";
    column-gap: 28px;
    row-gap: 20px;
    background: var(--paper-card);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 24px 28px 24px 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    align-items: start;
}
.book-card-unified .book-header {
    grid-area: header;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
}
.book-card-unified .cover-wrap {
    grid-area: cover;
    display: flex; justify-content: center;
    position: sticky; top: 16px;
}
.book-card-unified .info { grid-area: info; }
.book-card-unified .cover {
    width: 200px; aspect-ratio: 2 / 3;
    object-fit: cover; border-radius: 4px;
    box-shadow: var(--shadow-lg);
}
.book-card-unified h1 {
    font-family: 'Lora', serif;
    font-size: 2.2rem; font-weight: 700;
    margin: 0 0 4px; letter-spacing: -0.015em;
}
.book-card-unified .subtitle {
    font-size: 1.05rem; color: var(--ink-soft); font-style: italic;
    margin: 0 0 6px;
    font-family: 'Lora', serif;
}
.book-card-unified .author {
    margin: 0; color: var(--ink-soft);
    font-size: 1.02rem;
}
.book-card-unified .duration-summary {
    color: var(--ink-soft); font-size: .9rem;
    margin: 0 0 14px;
    letter-spacing: .02em;
}

/* Book-wide progress bar (Audible-style) */
.book-progress { margin: 12px 0; }
.book-progress .bar {
    height: 6px;
    background: var(--paper-deep);
    border-radius: 3px;
    overflow: hidden;
}
.book-progress .bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bronze) 0%, var(--bronze-deep) 100%);
    border-radius: 3px;
    transition: width .3s ease-out;
}
.book-progress .meta-row {
    display: flex; justify-content: space-between;
    margin-top: 6px;
    font-size: .82rem; color: var(--ink-soft);
}

/* Now-playing line — sits below book-progress, above the controls */
.now-playing-line {
    display: flex; align-items: baseline; flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 10px;
}
.now-playing-line .now-eyebrow {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: .68rem; color: var(--ink-soft);
    font-weight: 600;
}
.now-playing-line .now-label {
    font-family: 'Lora', serif;
    font-size: 1.15rem; font-weight: 700;
    color: var(--ink);
    letter-spacing: -.005em;
    flex: 1; min-width: 0;
}
.restart-link {
    color: var(--ink-soft) !important;
    font-size: .82rem;
    text-decoration: underline !important;
    text-decoration-color: var(--rule) !important;
}
.restart-link:hover { color: var(--ink) !important; }

@media (max-width: 600px) {
    .book-card-unified {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "cover"
            "info";
        column-gap: 0; row-gap: 18px;
        padding: 20px 18px;
        text-align: center;
    }
    .book-card-unified .cover-wrap { position: static; }
    .book-card-unified .cover { width: 48vw; max-width: 180px; }
    .book-card-unified h1 { font-size: 1.6rem; }
    .now-playing-line { justify-content: center; text-align: center; }
}

/* ========== Player controls block (inside unified card) ========== */
.player-controls-block {
    margin-top: 4px;
}

.player-scrubber-wrap {
    display: flex; flex-direction: column; gap: 4px;
    margin: 0 0 14px;
}
.scrubber {
    appearance: none; -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--paper-deep);
    border-radius: 3px; outline: none;
    cursor: pointer;
}
.scrubber::-webkit-slider-thumb {
    appearance: none; -webkit-appearance: none;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bronze);
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    cursor: pointer;
}
.scrubber::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bronze); cursor: pointer; border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.scrubber-time {
    display: flex; justify-content: space-between;
    color: var(--ink-soft); font-size: .82rem;
    font-variant-numeric: tabular-nums;
}
.scrubber-time .time-sep { opacity: .5; }
.scrubber-time #now-position { font-weight: 600; color: var(--ink); }

/* ----- Big circular buttons ----- */
.player-buttons {
    display: flex; align-items: center; justify-content: center;
    gap: 22px;
    margin: 0 0 16px;
}
.circle-btn {
    background: var(--paper-deep);
    border: none; cursor: pointer; color: var(--ink);
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    font-family: 'Source Sans 3', sans-serif;
    transition: transform .12s, background .12s, box-shadow .12s;
    flex-shrink: 0;
}
.circle-btn:hover {
    background: #e5dfd0;
    transform: scale(1.05);
}
.circle-btn:active { transform: scale(.96); }

.circle-btn.skip-btn .skip-num {
    font-size: .8rem; font-weight: 700;
    line-height: 1; color: var(--ink);
    position: relative; z-index: 1;
}
.circle-btn.skip-btn .skip-back-arrow,
.circle-btn.skip-btn .skip-fwd-arrow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.7rem;
    color: var(--ink-soft);
    line-height: 1;
    opacity: .55;
    pointer-events: none;
}

.circle-btn.play-pause {
    width: 72px; height: 72px;
    background: var(--bronze);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.45);
}
.circle-btn.play-pause:hover {
    background: var(--bronze-deep);
    box-shadow: 0 8px 24px rgba(139, 111, 71, 0.55);
}

/* ----- Chips (speed, sleep, chapters) ----- */
.player-chips {
    display: flex; justify-content: center;
    gap: 10px; flex-wrap: wrap;
    position: relative;
}
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink); cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .88rem; font-weight: 600;
    text-decoration: none !important;
    transition: background .12s, border-color .12s, color .12s;
}
.chip i { color: var(--bronze-deep); font-size: .92em; }
.chip:hover {
    background: var(--paper-deep);
    border-color: var(--bronze);
    color: var(--ink) !important;
}

.chip-menu {
    position: absolute;
    top: calc(100% + 6px); left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 50;
    min-width: 180px;
    display: flex; flex-direction: column;
}
.chip-menu[hidden] { display: none; }
.chip-menu button {
    background: transparent; border: none; cursor: pointer;
    text-align: left; padding: 9px 12px;
    border-radius: 6px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .92rem; color: var(--ink);
}
.chip-menu button:hover { background: var(--paper-deep); }
.chip-menu button.is-current {
    background: rgba(139, 111, 71, 0.12);
    color: var(--bronze-deep);
    font-weight: 700;
}

/* ========== Description ========== */
.description {
    margin: 24px 0 36px;
    font-size: 1rem;
    color: var(--ink);
}
.description p { margin: 0 0 14px; }

/* ========== Chapter list ========== */
.chapter-section { margin-top: 28px; }
.chapter-section h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    color: var(--bronze-deep);
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule);
}
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 6px;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    user-select: none;
    transition: background .12s;
}
.chapter-row:hover { background: rgba(139, 111, 71, 0.06); }
.chapter-row.is-current {
    background: rgba(139, 111, 71, 0.12);
    border-left: 3px solid var(--bronze);
    padding-left: 9px;
}
.chapter-row .play-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--paper-deep);
    display: flex; align-items: center; justify-content: center;
    color: var(--bronze-deep);
    flex-shrink: 0;
    font-size: 11px;
}
.chapter-row.is-current .play-icon {
    background: var(--bronze); color: #fff;
}
.chapter-row .label-block { flex: 1; min-width: 0; }
.chapter-row .label {
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink);
}
.chapter-row .subtitle {
    color: var(--ink-soft); font-size: .9rem; font-style: italic;
}
.chapter-row .duration {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink-soft); font-size: .9rem;
    flex-shrink: 0;
    min-width: 64px; text-align: right;
}
.chapter-row .status-badge {
    margin-left: 10px; flex-shrink: 0;
    font-size: .9rem;
}
.chapter-row .check { color: var(--listened); font-size: 16px; }
.chapter-row.is-optional .label,
.chapter-row.is-optional .duration { opacity: .65; }
.chapter-row.is-optional .label::after {
    content: 'optional';
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-size: .7rem;
    text-transform: uppercase; letter-spacing: .08em;
    border-radius: 3px;
    font-style: normal; font-weight: 600;
    vertical-align: middle;
}

.progress-bar {
    margin-top: 4px;
    height: 3px; width: 100%;
    background: var(--paper-deep); border-radius: 2px; overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: var(--listened);
    width: 0%;
    transition: width .25s;
}

/* ========== Sticky mini player ========== */
.player-mini {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--paper-card);
    border-top: 1px solid var(--bronze);
    box-shadow: 0 -8px 24px rgba(31, 41, 51, 0.14);
    z-index: 110;
    transform: translateY(100%);
    transition: transform .22s ease-out;
}
.player-mini.is-visible { transform: translateY(0); }
.player-mini[hidden] { display: block; }
.player-mini:not(.is-visible) { pointer-events: none; }

.player-mini .mini-progress {
    height: 3px; background: var(--paper-deep); width: 100%; overflow: hidden;
}
.player-mini .mini-progress-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--bronze) 0%, var(--bronze-deep) 100%);
    transition: width .15s linear;
}
.player-mini .mini-row {
    max-width: 760px; margin: 0 auto;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 8px 16px;
}
.player-mini .mini-cover {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.player-mini .mini-info { min-width: 0; }
.player-mini .mini-label {
    font-family: 'Lora', serif;
    font-weight: 700; font-size: .98rem;
    color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2;
}
.player-mini .mini-time {
    color: var(--ink-soft); font-size: .78rem;
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.player-mini .mini-buttons {
    display: flex; align-items: center; gap: 6px;
}
.mini-circle {
    background: transparent; border: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
    position: relative;
    transition: background .12s, transform .12s;
    flex-shrink: 0;
}
.mini-circle:hover { background: var(--paper-deep); }
.mini-circle:active { transform: scale(.95); }
.mini-circle .mini-num {
    font-size: .72rem; font-weight: 700;
    color: var(--ink); line-height: 1; position: relative; z-index: 1;
    font-family: 'Source Sans 3', sans-serif;
}
.mini-circle .skip-back-arrow,
.mini-circle .skip-fwd-arrow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem; color: var(--ink-soft);
    line-height: 1; opacity: .55; pointer-events: none;
}
.mini-circle.mini-play {
    background: var(--bronze); color: #fff;
    width: 44px; height: 44px; font-size: .95rem;
    box-shadow: 0 3px 10px rgba(139, 111, 71, 0.4);
}
.mini-circle.mini-play:hover { background: var(--bronze-deep); }

@media (max-width: 480px) {
    .player-mini .mini-row {
        grid-template-columns: 38px 1fr auto;
        gap: 10px; padding: 6px 12px;
    }
    .player-mini .mini-cover { width: 38px; height: 38px; }
    .player-mini .mini-label { font-size: .9rem; }
    .mini-circle { width: 36px; height: 36px; }
    .mini-circle.mini-play { width: 40px; height: 40px; }
    /* Pad the page so content isn't hidden behind the mini bar */
    body { padding-bottom: 70px; }
}
body { padding-bottom: 78px; }

/* ========== Podcast section ========== */
.podcast-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.podcast-section h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem; font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -.01em;
    color: var(--ink);
    text-transform: none;
    border-bottom: none;
    padding-bottom: 0;
}
.podcast-blurb {
    color: var(--ink-soft);
    font-size: .95rem;
    margin: 0 0 18px;
}
.episode-list { list-style: none; padding: 0; margin: 0; }
.episode-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}
.episode-card:last-child { border-bottom: none; }
.ep-num {
    text-transform: uppercase; letter-spacing: .08em;
    font-size: .72rem; font-weight: 700;
    color: var(--bronze-deep);
    background: var(--paper-deep);
    border-radius: 6px;
    padding: 6px 8px;
    text-align: center;
    align-self: start;
    line-height: 1.3;
}
.ep-title {
    margin: 0 0 4px;
    font-family: 'Lora', serif;
    font-size: 1.05rem; font-weight: 700;
    color: var(--ink);
}
.ep-meta {
    color: var(--ink-soft);
    font-size: .82rem;
    margin-bottom: 6px;
}
.ep-desc {
    color: var(--ink); font-size: .92rem;
    margin-bottom: 10px;
}
.ep-player {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 6px;
}
.ep-play-btn {
    background: var(--bronze);
    border: none; cursor: pointer;
    width: 38px; height: 38px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .85rem;
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.35);
    transition: background .12s, transform .12s, box-shadow .12s;
    flex-shrink: 0;
}
.ep-play-btn:hover {
    background: var(--bronze-deep);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.45);
}
.ep-play-btn:active { transform: scale(.96); }
.ep-play-btn.is-playing { background: var(--bronze-deep); }
.ep-time {
    color: var(--ink-soft);
    font-family: 'Source Sans 3', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: .85rem;
}
.ep-audio { display: none; }

/* ========== Footer ========== */
.site-footer {
    margin-top: 48px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--rule);
    text-align: center;
    color: var(--ink-soft);
    font-size: .85rem;
}
.site-footer a { color: var(--bronze-deep); }

/* ========== Mobile ========== */
@media (max-width: 480px) {
    .container { padding: 20px 16px 48px; }
    .player-module { padding: 18px 16px 20px; }
    .player-buttons { gap: 18px; }
    .circle-btn { width: 48px; height: 48px; }
    .circle-btn.play-pause { width: 70px; height: 70px; font-size: 1.5rem; }
    .player-now .now-label { font-size: 1.2rem; }
}
