.hb-main--home {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.hb-home-intro,
.hb-path-picker,
.hb-home-media article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hb-home-intro {
    grid-column: 1 / -1;
    padding: 2rem;
}

.hb-home-kicker {
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hb-home-intro h1 {
    margin: 0 0 0.85rem;
    max-width: 1000px;
    font-size: 2rem;
    line-height: 1.18;
}

.hb-home-intro .muted {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.hb-home-priority-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.hb-home-priority-link:hover,
.hb-home-priority-link:focus-visible {
    text-decoration: underline;
}

.hb-home-whitepaper {
    max-width: none;
    margin: 1rem 0 0;
    color: var(--text);
    font-size: 0.98rem;
}

.hb-home-whitepaper a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.hb-home-whitepaper a:hover,
.hb-home-whitepaper a:focus-visible {
    text-decoration: underline;
}

.hb-home-media {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
    gap: 0.85rem;
    margin: 0;
}

.hb-home-media article {
    display: flex;
    flex-direction: column;
    min-height: 145px;
    padding: 1.15rem 1.25rem;
}

.hb-home-media h2,
.hb-path-picker h2,
.hb-selected-path h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

.hb-home-media p,
.hb-path-picker p,
.hb-selected-path p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.hb-video-embed,
.hb-podcast-player {
    margin-top: 1rem;
}

.hb-podcast-player {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    container-type: inline-size;
}

.hb-video-embed {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.hb-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111827;
}

.hb-video-frame img,
.hb-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hb-video-frame img {
    object-fit: cover;
}

.hb-video-frame iframe {
    background: #000;
}

.hb-video-consent {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 1;
    max-width: min(24rem, calc(100% - 1.7rem));
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    background: rgba(17, 24, 39, 0.84);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hb-video-consent p {
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.4;
}

.hb-video-consent-button {
    justify-self: start;
    min-height: 2.55rem;
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: var(--accent);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.hb-video-consent-button:hover,
.hb-video-consent-button:focus-visible {
    background: var(--accent-soft);
    outline: 3px solid rgba(255, 255, 255, 0.32);
}

.hb-video-consent-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.hb-video-status {
    font-size: 0.86rem;
}

.hb-home-audio {
    display: block;
    width: 100%;
}

.hb-home-audio.is-enhanced {
    display: none;
}

.hb-audio-player {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
}

.hb-audio-top,
.hb-audio-seek-row,
.hb-audio-chapters {
    position: relative;
    z-index: 1;
}

.hb-audio-illustration {
    display: none;
}

.hb-audio-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) repeat(4, auto);
    gap: 0.75rem;
    align-items: center;
}

.hb-audio-toggle {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.hb-audio-toggle:hover,
.hb-audio-toggle:focus-visible {
    background: #174e75;
    outline: 3px solid var(--accent-soft);
}

.hb-audio-toggle-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    display: block;
}

.hb-audio-toggle-icon::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.1rem;
    border-top: 0.4rem solid transparent;
    border-bottom: 0.4rem solid transparent;
    border-left: 0.62rem solid #fff;
}

.hb-audio-toggle.is-playing .hb-audio-toggle-icon::before,
.hb-audio-toggle.is-playing .hb-audio-toggle-icon::after {
    content: "";
    position: absolute;
    top: 0.1rem;
    width: 0.26rem;
    height: 0.82rem;
    border: none;
    background: #fff;
}

.hb-audio-toggle.is-playing .hb-audio-toggle-icon::before {
    left: 0.22rem;
}

.hb-audio-toggle.is-playing .hb-audio-toggle-icon::after {
    right: 0.22rem;
}

.hb-audio-copy {
    min-width: 0;
}

.hb-audio-title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.25;
}

.hb-audio-state {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.hb-audio-chip {
    min-width: 2.6rem;
    min-height: 2.4rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.hb-audio-download {
    width: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hb-audio-fullscreen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    padding: 0 0.75rem;
}

.hb-audio-fullscreen:hover,
.hb-audio-fullscreen:focus-visible {
    background: #174e75;
    color: #fff;
}

.hb-audio-download svg {
    display: block;
}

.hb-audio-chip:hover,
.hb-audio-chip:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
}

.hb-audio-seek-row {
    display: grid;
    grid-template-columns: 4.3rem minmax(0, 1fr) 4.3rem;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.85rem;
}

.hb-audio-time {
    color: var(--muted);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.hb-audio-time:last-child {
    text-align: right;
}

.hb-audio-seek {
    --progress: 0%;
    appearance: none;
    width: 100%;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--progress), #d6dee9 var(--progress), #d6dee9 100%);
    cursor: pointer;
}

.hb-audio-seek:disabled {
    cursor: wait;
    opacity: 0.65;
}

.hb-audio-seek::-webkit-slider-thumb {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(26, 35, 50, 0.25);
}

.hb-audio-seek::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(26, 35, 50, 0.25);
}

.hb-audio-chapters,
.hb-video-chapters {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.hb-audio-chapters {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hb-video-chapters {
    margin-top: 0;
    padding: 0.75rem 0.95rem 0.95rem;
    background: linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
}

.hb-chapter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    min-height: 2.15rem;
    padding: 0.36rem 0.5rem;
    border: 1px solid rgba(31, 95, 139, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    user-select: none;
}

.hb-chapter-toggle::after {
    content: "›";
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 1.1rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.15s ease;
}

.hb-audio-chapters.is-open .hb-chapter-toggle::after,
.hb-video-chapters.is-open .hb-chapter-toggle::after {
    transform: rotate(90deg);
}

.hb-chapter-toggle:hover,
.hb-chapter-toggle:focus-visible {
    border-color: rgba(31, 95, 139, 0.38);
    background: var(--paper);
    outline: none;
}

.hb-chapter-toggle-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-chapter-toggle-count {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
}

.hb-audio-chapter-preview-list {
    display: none;
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.hb-audio-chapter-preview-list > li {
    margin: 0 0 0.18rem;
    break-inside: avoid;
}

.hb-audio-chapters.is-open .hb-audio-chapter-preview-list {
    display: none;
}

.hb-audio-chapter-list,
.hb-video-chapter-list {
    flex: 1;
    column-rule: 1px solid rgba(216, 222, 232, 0.85);
    column-gap: 0.35rem;
    column-width: 13.5rem;
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.hb-audio-chapter-list > li,
.hb-video-chapter-list > li {
    margin: 0 0 0.18rem;
    break-inside: avoid;
}

.hb-audio-chapter-button,
.hb-video-chapter-button {
    width: 100%;
    display: grid;
    grid-template-columns: 3.45rem minmax(0, 1fr);
    gap: 0.42rem;
    align-items: start;
    padding: 0.28rem 0.38rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.hb-audio-chapter-button:hover,
.hb-audio-chapter-button:focus-visible,
.hb-video-chapter-button:hover,
.hb-video-chapter-button:focus-visible {
    border-color: var(--accent);
    background: var(--paper);
    outline: none;
}

.hb-audio-chapter-button.is-active,
.hb-video-chapter-button.is-active {
    border-color: rgba(31, 95, 139, 0.4);
    background: var(--accent-soft);
}

.hb-video-chapter-button:disabled {
    cursor: default;
    opacity: 1;
}

.hb-video-chapter-button:disabled:hover {
    border-color: transparent;
    background: transparent;
}

.hb-audio-chapter-time,
.hb-video-chapter-time {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hb-audio-chapter-title,
.hb-video-chapter-title {
    min-width: 0;
}

body.hb-audio-fullscreen-open {
    overflow: hidden;
}

.hb-audio-fullscreen-panel[hidden] {
    display: none;
}

.hb-audio-fullscreen-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 18, 32, 0.98) 0%, rgba(25, 45, 60, 0.96) 52%, rgba(52, 43, 28, 0.96) 100%),
        #0f172a;
    color: #f8fafc;
}

.hb-audio-fullscreen-panel::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: min(52rem, 62vw);
    aspect-ratio: 1.35;
    background: url("../assets/images/podcast-discussion-shadow.png") right bottom / contain no-repeat;
    opacity: 0.16;
    pointer-events: none;
}

.hb-audio-fullscreen-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1600px);
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(0.85rem, 1.6vw, 1.35rem);
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 2rem);
}

.hb-audio-fullscreen-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.hb-audio-fullscreen-mobile-cover {
    display: none;
}

.hb-audio-fullscreen-heading {
    min-width: 0;
}

.hb-audio-fullscreen-kicker,
.hb-audio-fullscreen-meta,
.hb-audio-fullscreen-current-chapter,
.hb-audio-fullscreen-current-speaker {
    margin: 0;
}

.hb-audio-fullscreen-kicker {
    color: #f7c873;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hb-audio-fullscreen-title,
.hb-audio-fullscreen-header h2 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: clamp(1.55rem, 2.2vw, 2.35rem);
    line-height: 1.08;
}

.hb-audio-fullscreen-meta {
    margin-top: 0.35rem;
    color: rgba(248, 250, 252, 0.68);
    font-size: 0.95rem;
}

.hb-audio-fullscreen-close {
    min-height: 2.55rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(248, 250, 252, 0.24);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.58);
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.hb-audio-fullscreen-close:hover,
.hb-audio-fullscreen-close:focus-visible {
    border-color: #f7c873;
    outline: 3px solid rgba(247, 200, 115, 0.25);
}

.hb-audio-fullscreen-body {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(12rem, 0.26fr) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.65rem);
}

.hb-audio-fullscreen-rail {
    min-height: 0;
    padding-right: 1rem;
    border-right: 1px solid rgba(248, 250, 252, 0.16);
    overflow: auto;
}

.hb-audio-fullscreen-rail h3 {
    margin: 0 0 0.7rem;
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hb-audio-fullscreen-cover {
    display: block;
    width: min(100%, 14rem);
    aspect-ratio: 1;
    margin: 0 0 1rem;
    border: 1px solid rgba(248, 250, 252, 0.24);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
    object-fit: cover;
}

.hb-audio-fullscreen-chapters,
.hb-audio-fullscreen-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb-audio-fullscreen-chapters {
    display: grid;
    gap: 0.28rem;
}

.hb-audio-fullscreen-chapter-button {
    width: 100%;
    display: grid;
    grid-template-columns: 3.45rem minmax(0, 1fr);
    gap: 0.42rem;
    align-items: start;
    padding: 0.42rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: rgba(248, 250, 252, 0.76);
    font: inherit;
    font-size: 0.78rem;
    line-height: 1.22;
    text-align: left;
    cursor: pointer;
}

.hb-audio-fullscreen-chapter-button .hb-audio-chapter-time {
    color: #f7c873;
}

.hb-audio-fullscreen-chapter-button:hover,
.hb-audio-fullscreen-chapter-button:focus-visible,
.hb-audio-fullscreen-chapter-button.is-active {
    border-color: rgba(247, 200, 115, 0.45);
    background: rgba(248, 250, 252, 0.1);
    color: #fff;
    outline: none;
}

.hb-audio-fullscreen-transcript {
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0.85rem;
}

.hb-audio-fullscreen-now {
    padding: clamp(0.85rem, 1.4vw, 1.25rem) 0 clamp(0.9rem, 1.6vw, 1.4rem);
    border-bottom: 1px solid rgba(248, 250, 252, 0.18);
}

.hb-audio-fullscreen-current-chapter {
    color: #f7c873;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hb-audio-fullscreen-current-speaker {
    margin-top: 0.75rem;
    color: rgba(248, 250, 252, 0.75);
    font-size: 0.92rem;
    font-weight: 800;
}

.hb-audio-fullscreen-current-text {
    max-width: 78rem;
    margin: 0.35rem 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 3.1vw, 3.2rem);
    font-weight: 750;
    line-height: 1.13;
    overflow-wrap: anywhere;
}

.hb-audio-fullscreen-transcript-status {
    margin: 0;
    color: rgba(248, 250, 252, 0.72);
}

.hb-audio-fullscreen-lines {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 0.34rem;
    overflow: auto;
    padding: 0 0.35rem 2rem 0;
    scroll-padding-block: 40%;
}

.hb-audio-fullscreen-line {
    width: 100%;
    display: grid;
    grid-template-columns: 4.4rem 5.3rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.55rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.38);
    color: rgba(248, 250, 252, 0.72);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.hb-audio-fullscreen-line:hover,
.hb-audio-fullscreen-line:focus-visible {
    border-color: rgba(247, 200, 115, 0.45);
    color: #fff;
    outline: none;
}

.hb-audio-fullscreen-line.is-active {
    border-color: #f7c873;
    background: #fff;
    color: #111827;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hb-audio-fullscreen-line-time {
    color: #f7c873;
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hb-audio-fullscreen-line.is-active .hb-audio-fullscreen-line-time {
    color: #8c5a00;
}

.hb-audio-fullscreen-line-speaker {
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-speaker-jonas .hb-audio-fullscreen-line-speaker {
    color: #93c5fd;
}

.is-speaker-mara .hb-audio-fullscreen-line-speaker {
    color: #86efac;
}

.is-speaker-daniel .hb-audio-fullscreen-line-speaker {
    color: #f7c873;
}

.is-speaker-codex .hb-audio-fullscreen-line-speaker {
    color: #c4b5fd;
}

.hb-audio-fullscreen-line.is-active .hb-audio-fullscreen-line-speaker {
    color: #1f5f8b;
}

.hb-audio-fullscreen-line-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hb-audio-fullscreen-controls {
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(248, 250, 252, 0.18);
}

.hb-audio-fullscreen-panel .hb-audio-chip {
    border-color: rgba(248, 250, 252, 0.22);
    background: rgba(248, 250, 252, 0.96);
    color: #111827;
}

.hb-audio-fullscreen-panel .hb-audio-chip:hover,
.hb-audio-fullscreen-panel .hb-audio-chip:focus-visible {
    border-color: #f7c873;
    color: #111827;
    outline: 3px solid rgba(247, 200, 115, 0.24);
}

.hb-audio-fullscreen-panel .hb-audio-toggle {
    background: #f7c873;
    color: #111827;
}

.hb-audio-fullscreen-panel .hb-audio-toggle:hover,
.hb-audio-fullscreen-panel .hb-audio-toggle:focus-visible {
    background: #ffd98a;
    outline: 3px solid rgba(247, 200, 115, 0.24);
}

.hb-audio-fullscreen-panel .hb-audio-toggle-icon::before {
    border-left-color: #111827;
}

.hb-audio-fullscreen-panel .hb-audio-toggle.is-playing .hb-audio-toggle-icon::before,
.hb-audio-fullscreen-panel .hb-audio-toggle.is-playing .hb-audio-toggle-icon::after {
    background: #111827;
}

.hb-audio-fullscreen-seek-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 4.3rem minmax(0, 1fr) 4.3rem;
    gap: 0.65rem;
    align-items: center;
}

.hb-audio-fullscreen-panel .hb-audio-time {
    color: rgba(248, 250, 252, 0.76);
}

.hb-audio-fullscreen-panel .hb-audio-seek {
    background: linear-gradient(to right, #f7c873 0%, #f7c873 var(--progress), rgba(248, 250, 252, 0.28) var(--progress), rgba(248, 250, 252, 0.28) 100%);
}

.hb-audio-fullscreen-panel .hb-audio-seek::-webkit-slider-thumb {
    background: #f7c873;
}

.hb-audio-fullscreen-panel .hb-audio-seek::-moz-range-thumb {
    background: #f7c873;
}

.hb-path-picker {
    grid-column: 1 / -1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.hb-path-select-label {
    display: block;
    margin: 1.1rem 0 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hb-path-select-wrap {
    position: relative;
    width: 100%;
}

.hb-path-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}

.hb-path-select {
    appearance: none;
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 2.75rem 0.65rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hb-path-select:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.hb-path-select:focus {
    outline: none;
}

.hb-path-select-wrap:focus-within {
    border-radius: 10px;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.hb-path-select-wrap:focus-within .hb-path-select {
    border-color: var(--accent);
}

.hb-selected-path {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.hb-selected-path ol {
    margin: 0.85rem 0 0;
    padding-left: 1.3rem;
}

.hb-selected-path li + li {
    margin-top: 0.35rem;
}

.hb-selected-path a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.hb-selected-path a:hover {
    text-decoration: underline;
}

@media (min-width: 900px) {
    .hb-path-picker {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0;
        align-items: start;
    }

    .hb-path-picker > div:first-child,
    .hb-path-select-label,
    .hb-path-select-wrap {
        grid-column: 1;
    }

    .hb-path-picker > div:first-child {
        padding-right: 2rem;
    }

    .hb-path-select-label,
    .hb-path-select-wrap {
        width: auto;
        margin-right: 2rem;
    }

    #selected-path {
        grid-column: 2;
        grid-row: 1 / span 3;
        min-width: 0;
    }

    .hb-selected-path {
        margin-top: 0;
        padding-top: 0;
        min-height: 100%;
        padding-left: 2rem;
        border-top: none;
        border-left: 1px solid var(--line);
    }
}

@media (min-width: 761px) {
    .hb-podcast-player .hb-audio-chapter-list {
        column-count: 1;
    }
}

@media (min-width: 1101px) {
    .hb-audio-illustration {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: bottom center;
        opacity: 0.13;
        filter: saturate(0.75);
        pointer-events: none;
    }

    .hb-home-media.has-open-video-chapters .hb-audio-illustration {
        height: clamp(8rem, 15vw, 13rem);
        object-fit: cover;
        opacity: 0.78;
        filter: none;
    }

    .hb-podcast-player .hb-chapter-toggle {
        display: none;
    }

    .hb-podcast-player .hb-audio-chapter-list {
        display: none;
    }

    .hb-audio-chapter-preview-list {
        position: relative;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        grid-template-rows: repeat(var(--chapter-preview-rows, 8), minmax(0, auto));
        column-gap: 0.7rem;
    }

    .hb-audio-chapter-preview-list::before {
        content: "";
        position: absolute;
        top: 0.12rem;
        bottom: 0.12rem;
        left: 50%;
        width: 1px;
        pointer-events: none;
        background: rgba(216, 222, 232, 0.85);
    }

    .hb-audio-chapters.is-open .hb-audio-chapter-preview-list {
        display: grid;
    }

    .hb-audio-chapter-preview-button {
        grid-template-columns: 3.1rem minmax(0, 1fr);
        padding: 0.24rem 0.34rem;
    }

    .hb-audio-chapter-preview-button .hb-audio-chapter-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 1100px) {
    .hb-main--home {
        display: block;
    }

    .hb-home-intro,
    .hb-path-picker,
    .hb-home-media {
        margin-bottom: 1rem;
    }
}

@media (max-width: 760px) {
    .hb-main--home {
        display: block;
    }

    .hb-home-intro {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .hb-home-intro h1 {
        font-size: 1.65rem;
    }

    .hb-home-media {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }

    .hb-audio-top {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hb-audio-toggle {
        grid-column: 1;
        justify-self: start;
    }

    .hb-audio-copy {
        grid-column: 2 / 5;
    }

    .hb-audio-chip {
        grid-row: 2;
    }

    .hb-audio-skip-back,
    .hb-audio-skip-forward,
    .hb-audio-fullscreen {
        width: 100%;
    }

    .hb-audio-download {
        grid-column: 1;
        justify-self: start;
        width: 2.6rem;
    }

    .hb-audio-fullscreen {
        grid-column: 2;
    }

    .hb-audio-skip-back {
        grid-column: 3;
    }

    .hb-audio-skip-forward {
        grid-column: 4;
    }

    .hb-audio-seek-row {
        grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem;
    }

    .hb-audio-chapters {
        flex: 0 0 auto;
    }

    .hb-audio-chapter-preview-list {
        display: none;
    }

    .hb-video-consent-button {
        justify-self: stretch;
    }

    .hb-video-consent {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
        max-width: none;
    }

    .hb-audio-chapter-button,
    .hb-video-chapter-button {
        grid-template-columns: 3.35rem minmax(0, 1fr);
    }

    .hb-path-picker {
        padding: 1.15rem;
    }

    .hb-audio-fullscreen-shell {
        padding: 0.85rem;
    }

    .hb-audio-fullscreen-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .hb-audio-fullscreen-rail {
        display: none;
    }

    .hb-audio-fullscreen-header {
        grid-template-columns: 4rem minmax(0, 1fr) auto;
        align-items: center;
    }

    .hb-audio-fullscreen-mobile-cover {
        display: block;
        width: 4rem;
        aspect-ratio: 1;
        border: 1px solid rgba(248, 250, 252, 0.24);
        border-radius: 8px;
        object-fit: cover;
    }

    .hb-audio-fullscreen-meta {
        display: none;
    }

    .hb-audio-fullscreen-current-text {
        font-size: clamp(1.28rem, 7vw, 2rem);
    }

    .hb-audio-fullscreen-line {
        grid-template-columns: 3.7rem minmax(4.3rem, auto);
        gap: 0.35rem 0.55rem;
        font-size: 0.9rem;
    }

    .hb-audio-fullscreen-line-text {
        grid-column: 1 / -1;
    }

    .hb-audio-fullscreen-controls {
        grid-template-columns: repeat(3, auto);
        justify-content: space-between;
    }

    .hb-audio-fullscreen-controls .hb-audio-chip,
    .hb-audio-fullscreen-controls .hb-audio-toggle {
        grid-row: 1;
    }

    .hb-audio-fullscreen-controls .hb-audio-skip-back {
        grid-column: 1;
        width: auto;
    }

    .hb-audio-fullscreen-controls .hb-audio-fullscreen-toggle {
        grid-column: 2;
        justify-self: center;
    }

    .hb-audio-fullscreen-controls .hb-audio-skip-forward {
        grid-column: 3;
        width: auto;
    }

    .hb-audio-fullscreen-seek-row {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@container (max-width: 30rem) {
    .hb-audio-top {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        gap: 0.7rem;
    }

    .hb-audio-copy {
        grid-column: auto;
    }

    .hb-audio-download {
        grid-column: 3;
        grid-row: 1;
        display: inline-flex;
        width: 2.6rem;
    }

    .hb-audio-fullscreen {
        grid-column: 4;
        grid-row: 1;
        width: auto;
    }

    .hb-audio-skip-back,
    .hb-audio-skip-forward {
        display: none;
    }
}
