:root {
    --tbp-accent: #d62828;
    --tbp-accent-bright: #f13b32;
    --tbp-amber: #e78a36;
    --tbp-black: #070707;
    --tbp-black-soft: #0d0d0e;
    --tbp-panel: #131315;
    --tbp-panel-light: #1a1a1d;
    --tbp-white: #f7f3ec;
    --tbp-muted: #aaa8a4;
    --tbp-line: rgba(255, 255, 255, 0.12);
    --tbp-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    --tbp-shell: min(1240px, calc(100vw - 48px));
    --tbp-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
    --tbp-body: "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--tbp-black);
    color: var(--tbp-white);
    font-family: var(--tbp-body);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.tbp-menu-open {
    overflow: hidden;
}

body.tbp-inner-page {
    padding-top: 104px;
}

body.admin-bar .tbp-header {
    top: 32px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

::selection {
    background: var(--tbp-accent);
    color: #fff;
}

.tbp-shell {
    width: var(--tbp-shell);
    margin-inline: auto;
}

.tbp-skip-link {
    position: fixed;
    z-index: 1000001;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    background: #fff;
    color: #000;
    transform: translateY(-150%);
}

.tbp-skip-link:focus {
    transform: translateY(0);
}

.tbp-header {
    position: fixed;
    z-index: 9000;
    top: 0;
    right: 0;
    left: 0;
    height: 104px;
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
    transition: height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.tbp-inner-page .tbp-header,
.tbp-header.is-scrolled,
.tbp-menu-open .tbp-header {
    height: 84px;
    border-color: var(--tbp-line);
    background: rgba(7, 7, 7, 0.94);
    backdrop-filter: blur(18px);
}

.tbp-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: var(--tbp-shell);
    height: 100%;
    margin-inline: auto;
}

.tbp-brand {
    position: relative;
    z-index: 2;
    align-self: start;
    width: 132px;
    height: 132px;
    transition: width 0.25s ease, height 0.25s ease;
}

.tbp-header.is-scrolled .tbp-brand,
.tbp-inner-page .tbp-brand,
.tbp-menu-open .tbp-brand {
    width: 104px;
    height: 104px;
}

.tbp-brand .custom-logo-link,
.tbp-brand__fallback,
.tbp-footer__brand .custom-logo-link,
.tbp-footer__brand .tbp-brand__fallback {
    display: block;
    width: 100%;
    height: 100%;
}

.tbp-brand img,
.tbp-footer__brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tbp-nav {
    justify-self: end;
    margin-right: 28px;
}

.tbp-nav__list,
.tbp-nav .menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tbp-nav li {
    position: relative;
}

.tbp-nav a {
    position: relative;
    display: inline-flex;
    padding: 8px 0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.tbp-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--tbp-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
}

.tbp-nav a:hover::after,
.tbp-nav .current-menu-item > a::after,
.tbp-nav .current_page_item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tbp-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid var(--tbp-line);
    background: #0d0d0e;
    box-shadow: var(--tbp-shadow);
    list-style: none;
}

.tbp-nav li:hover > .sub-menu,
.tbp-nav li:focus-within > .sub-menu {
    display: block;
}

.tbp-header-listen {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tbp-header-listen:hover {
    border-color: var(--tbp-accent);
    background: var(--tbp-accent);
    transform: translateY(-2px);
}

.tbp-live-dot {
    display: inline-block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tbp-accent-bright);
    box-shadow: 0 0 0 5px rgba(214, 40, 40, 0.18), 0 0 15px rgba(214, 40, 40, 0.9);
    animation: tbp-live-pulse 1.65s ease-in-out infinite;
}

.tbp-menu-toggle {
    display: none;
}

.tbp-site-main {
    min-height: 60vh;
}

.tbp-hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 150px 0 40px;
    background-color: #090909;
    isolation: isolate;
}

.tbp-hero__media {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tbp-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tbp-hero__media--custom {
    background-position: center;
    background-size: cover;
}

.tbp-hero__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.28) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}

.tbp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 470px);
    align-items: center;
    gap: clamp(48px, 7vw, 110px);
    margin-block: auto;
}

.tbp-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--tbp-accent-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.tbp-hero h1,
.tbp-section-heading h2,
.tbp-undercover__copy h2,
.tbp-engage-card h2,
.tbp-entry__header h1,
.tbp-error-page h1 {
    margin: 0;
    color: var(--tbp-white);
    font-family: var(--tbp-heading);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 0.9;
    text-transform: uppercase;
}

.tbp-hero h1 {
    max-width: 780px;
    font-size: clamp(64px, 7.4vw, 120px);
}

.tbp-hero__intro {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.55;
}

.tbp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.tbp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tbp-button:hover {
    transform: translateY(-3px);
}

.tbp-button--primary {
    background: var(--tbp-accent);
    color: #fff;
    box-shadow: 0 12px 35px rgba(214, 40, 40, 0.3);
}

.tbp-button--primary:hover {
    background: var(--tbp-accent-bright);
}

.tbp-button--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    backdrop-filter: blur(10px);
}

.tbp-button--ghost:hover,
.tbp-button--outline:hover {
    border-color: #fff;
    background: #fff;
    color: #080808;
}

.tbp-button--outline {
    border-color: var(--tbp-line);
    color: #fff;
}

.tbp-button svg,
.tbp-round-play svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.tbp-icon-pause,
.is-playing .tbp-icon-play {
    display: none;
}

.is-playing .tbp-icon-pause {
    display: block;
}

.tbp-live-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: rgba(11, 11, 12, 0.72);
    box-shadow: var(--tbp-shadow);
    backdrop-filter: blur(22px);
}

.tbp-live-card__artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
}

.tbp-live-card__artwork::after {
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
    content: "";
}

.tbp-live-card__artwork img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.25s ease;
}

.tbp-live-card:hover .tbp-live-card__artwork img {
    transform: none;
}

.tbp-equalizer {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 28px;
}

.tbp-equalizer i {
    display: block;
    width: 4px;
    height: 25%;
    border-radius: 4px;
    background: #fff;
}

.is-playing .tbp-equalizer i {
    animation: tbp-equalizer 0.85s ease-in-out infinite alternate;
}

.tbp-equalizer i:nth-child(2) { animation-delay: -0.65s; }
.tbp-equalizer i:nth-child(3) { animation-delay: -0.25s; }
.tbp-equalizer i:nth-child(4) { animation-delay: -0.75s; }
.tbp-equalizer i:nth-child(5) { animation-delay: -0.4s; }

.tbp-live-card__body {
    padding: 24px 26px 27px;
}

.tbp-live-card__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--tbp-accent-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tbp-live-card__title {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.tbp-live-card__artist {
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--tbp-muted);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-live-card__controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
}

.tbp-round-play {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--tbp-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(214, 40, 40, 0.34);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tbp-round-play:hover {
    background: var(--tbp-accent-bright);
    transform: scale(1.07);
}

.tbp-expand-player {
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tbp-expand-player:hover {
    border-color: var(--tbp-accent);
    color: #fff;
}

.tbp-hero__shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tbp-hero__shortcuts > * {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    min-height: 68px;
    padding: 0 22px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease;
}

.tbp-hero__shortcuts > *:last-child {
    border-right: 0;
}

.tbp-hero__shortcuts > *:hover {
    background: rgba(214, 40, 40, 0.75);
}

.tbp-hero__shortcuts span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 800;
}

.tbp-hero__shortcuts strong {
    font-family: var(--tbp-heading);
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tbp-hero__shortcuts i {
    font-style: normal;
    font-size: 20px;
}

.tbp-section {
    position: relative;
    padding: clamp(80px, 9vw, 132px) 0;
}

.tbp-recent {
    background: var(--tbp-black);
}

.tbp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
}

.tbp-section-heading h2,
.tbp-undercover__copy h2,
.tbp-engage-card h2,
.tbp-entry__header h1,
.tbp-error-page h1 {
    font-size: clamp(48px, 5.5vw, 84px);
}

.tbp-section-heading > p:not(.tbp-kicker),
.tbp-section-heading > div + p {
    color: var(--tbp-muted);
}

.tbp-section-heading--center {
    display: block;
    max-width: 690px;
    margin-right: auto;
    margin-bottom: 52px;
    margin-left: auto;
    text-align: center;
}

.tbp-section-heading--center .tbp-kicker {
    justify-content: center;
}

.tbp-section-heading--center > p:last-child {
    margin: 20px auto 0;
    color: var(--tbp-muted);
    font-size: 17px;
}

.tbp-text-link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--tbp-line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.tbp-text-link:hover {
    border-color: var(--tbp-accent);
}

.tbp-recent__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.tbp-song-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 14px;
    background: var(--tbp-panel);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbp-song-card:hover {
    border-color: rgba(214, 40, 40, 0.72);
    transform: translateY(-5px);
}

.tbp-song-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #1d1d1f;
    object-fit: contain;
    object-position: center;
}

.tbp-song-card__body {
    padding: 15px;
}

.tbp-song-card h3 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.tbp-song-card p {
    overflow: hidden;
    margin: 7px 0 0;
    color: var(--tbp-muted);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-song-card time {
    display: block;
    margin-top: 12px;
    color: var(--tbp-accent-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-skeleton {
    display: block;
    width: 100%;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1d1d1f 20%, #2b2b2f 45%, #1d1d1f 70%);
    background-size: 200% 100%;
    animation: tbp-skeleton 1.4s linear infinite;
}

.tbp-skeleton + .tbp-skeleton {
    margin-top: 9px;
}

.tbp-skeleton--short {
    width: 58%;
}

.tbp-hot5 {
    overflow: hidden;
    border-block: 1px solid var(--tbp-line);
    background:
        radial-gradient(circle at 50% 10%, rgba(214, 40, 40, 0.14), transparent 38%),
        var(--tbp-black-soft);
}

.tbp-hot5__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.tbp-ranking-card {
    position: relative;
    grid-column: auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbp-ranking-card:nth-child(1),
.tbp-ranking-card:nth-child(2) {
    grid-column: auto;
}

.tbp-ranking-card:hover {
    border-color: rgba(214, 40, 40, 0.7);
    transform: translateY(-5px);
}

.tbp-ranking-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #1d1d1f;
    object-fit: contain;
    object-position: center;
}

.tbp-ranking-card:nth-child(1) .tbp-ranking-card__image,
.tbp-ranking-card:nth-child(2) .tbp-ranking-card__image {
    aspect-ratio: 1;
}

.tbp-ranking-card__rank {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--tbp-accent);
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.tbp-ranking-card__body {
    padding: 18px 20px 20px;
}

.tbp-ranking-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: clamp(23px, 2.5vw, 34px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.tbp-ranking-card p {
    margin: 7px 0 0;
    color: var(--tbp-muted);
    font-size: 13px;
}

.tbp-undercover {
    overflow: hidden;
    background: #0a0a0a;
}

.tbp-undercover::before {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(214, 40, 40, 0.11);
    content: "";
    filter: blur(80px);
}

.tbp-undercover__grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.tbp-undercover__visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(214, 40, 40, 0.25), transparent 55%),
        #141416;
    box-shadow: var(--tbp-shadow);
}

.tbp-vinyl {
    position: absolute;
    top: -56px;
    right: -80px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, #0d0d0e 0 5px, #19191b 6px 8px);
    box-shadow: -30px 35px 70px rgba(0, 0, 0, 0.5);
    animation: tbp-record 12s linear infinite;
}

.tbp-vinyl::before,
.tbp-vinyl span {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.tbp-vinyl::before {
    width: 112px;
    height: 112px;
    background: var(--tbp-accent);
}

.tbp-vinyl span {
    width: 18px;
    height: 18px;
    background: #050505;
}

.tbp-undercover__wordmark {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 24px;
    left: 32px;
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: clamp(78px, 8vw, 118px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.69;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.65);
}

.tbp-undercover__copy > p:not(.tbp-kicker) {
    max-width: 640px;
    margin: 26px 0 0;
    color: var(--tbp-muted);
    font-size: clamp(17px, 1.6vw, 20px);
}

.tbp-schedule-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0;
    padding: 11px 15px;
    border: 1px solid var(--tbp-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tbp-schedule-chip span {
    color: var(--tbp-accent-bright);
    font-size: 18px;
}

.tbp-engage {
    padding-top: 0;
    background: var(--tbp-black);
}

.tbp-engage__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tbp-engage-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    padding: clamp(35px, 5vw, 64px);
    border: 1px solid var(--tbp-line);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(214, 40, 40, 0.21), transparent 60%),
        var(--tbp-panel);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbp-engage-card--warm {
    background:
        linear-gradient(145deg, rgba(231, 138, 54, 0.19), transparent 62%),
        var(--tbp-panel);
}

.tbp-engage-card:hover {
    border-color: var(--tbp-accent);
    transform: translateY(-5px);
}

.tbp-engage-card__number {
    position: absolute;
    top: 18px;
    right: 28px;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--tbp-heading);
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
}

.tbp-engage-card h2 {
    position: relative;
    max-width: 520px;
}

.tbp-engage-card > p:not(.tbp-kicker) {
    position: relative;
    max-width: 540px;
    margin: 24px 0 32px;
    color: var(--tbp-muted);
    font-size: 16px;
}

.tbp-engage-card > strong {
    position: relative;
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tbp-footer {
    border-top: 1px solid var(--tbp-line);
    background: #050505;
}

.tbp-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1fr;
    gap: 70px;
    padding-block: 72px 58px;
}

.tbp-footer__brand {
    width: 190px;
}

.tbp-footer__brand > a {
    width: 150px;
    height: 150px;
}

.tbp-footer__brand p {
    width: 280px;
    margin: 12px 0 0;
    color: var(--tbp-muted);
    font-family: var(--tbp-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tbp-footer h2 {
    margin: 0 0 18px;
    font-family: var(--tbp-heading);
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-footer__links,
.tbp-footer__nav .tbp-nav__list,
.tbp-footer__nav .menu {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tbp-footer__links a,
.tbp-footer__nav a,
.tbp-footer__contact a {
    color: var(--tbp-muted);
    font-size: 13px;
    text-decoration: none;
}

.tbp-footer a:hover {
    color: #fff;
}

.tbp-socials {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.tbp-socials a {
    padding-bottom: 2px;
    border-bottom: 1px solid var(--tbp-line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tbp-install-button {
    margin-top: 22px;
    padding: 10px 15px;
    border: 1px solid var(--tbp-line);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tbp-install-button:hover {
    border-color: var(--tbp-accent);
    background: var(--tbp-accent);
}

.tbp-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 22px 26px;
    border-top: 1px solid var(--tbp-line);
}

.tbp-footer__bottom p {
    margin: 0;
    color: #777;
    font-size: 11px;
}

.tbp-socan-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
}

.tbp-footer__bottom .tbp-socan-badge img {
    display: block;
    width: 132px;
    height: auto;
    opacity: 1;
}

.tbp-inner {
    min-height: 70vh;
    padding: 70px 0 110px;
    background:
        radial-gradient(circle at 15% 0, rgba(214, 40, 40, 0.11), transparent 26%),
        var(--tbp-black);
}

.tbp-content-shell {
    max-width: 1080px;
}

.tbp-entry__header {
    max-width: 900px;
    margin-bottom: 46px;
}

.tbp-entry__content {
    color: #d3d1ce;
}

.tbp-entry__content > *:first-child {
    margin-top: 0;
}

.tbp-entry__content h1,
.tbp-entry__content h2,
.tbp-entry__content h3,
.tbp-entry__content h4 {
    color: #fff;
    font-family: var(--tbp-heading);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.tbp-entry__content h1 { font-size: clamp(48px, 6vw, 84px); }
.tbp-entry__content h2 { margin-top: 55px; font-size: clamp(38px, 4vw, 60px); }
.tbp-entry__content h3 { margin-top: 42px; font-size: 34px; }
.tbp-entry__content h4 { margin-top: 34px; font-size: 26px; }

.tbp-entry__content a:not(.wp-block-button__link) {
    color: #fff;
    text-decoration-color: var(--tbp-accent);
    text-underline-offset: 3px;
}

.tbp-entry__content .wp-block-button__link,
.tbp-entry__content button:not(.tbpv2__play):not(.tbpv2__expand),
.tbp-entry__content input[type="submit"] {
    border-radius: 999px;
    background: var(--tbp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-entry__content blockquote {
    margin: 40px 0;
    padding: 4px 0 4px 28px;
    border-left: 3px solid var(--tbp-accent);
    color: #fff;
    font-size: 21px;
}

.tbp-entry__image {
    overflow: hidden;
    margin-bottom: 42px;
    border-radius: 18px;
}

.tbp-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tbp-post-card {
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 16px;
    background: var(--tbp-panel);
}

.tbp-post-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
}

.tbp-post-card__body {
    padding: 22px;
}

.tbp-post-card time {
    color: var(--tbp-accent-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tbp-post-card h2 {
    margin: 12px 0 14px;
    font-family: var(--tbp-heading);
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.tbp-post-card h2 a {
    text-decoration: none;
}

.tbp-post-card p {
    color: var(--tbp-muted);
    font-size: 14px;
}

.tbp-error-page {
    display: flex;
    align-items: center;
    text-align: center;
}

.tbp-error-page .tbp-kicker {
    justify-content: center;
}

.tbp-error-page p:not(.tbp-kicker) {
    margin: 25px 0 30px;
    color: var(--tbp-muted);
}

.tbp-empty {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px solid var(--tbp-line);
    border-radius: 14px;
    color: var(--tbp-muted);
    text-align: center;
}

.tbp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tbp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Existing song request and history pages. The IDs intentionally outrank their inline page CSS. */
.tbp-site-main #buffalo-request-page,
.tbp-site-main #buffalo-history {
    max-width: 1080px !important;
    padding: 10px 0 80px !important;
    color: #fff !important;
    font-family: var(--tbp-body) !important;
}

.tbp-site-main #buffalo-request-page h1,
.tbp-site-main #buffalo-history h1 {
    margin: 0 0 10px !important;
    font-family: var(--tbp-heading) !important;
    font-size: clamp(48px, 6vw, 84px) !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
}

.tbp-site-main #buffalo-search {
    min-height: 58px !important;
    border-color: var(--tbp-line) !important;
    border-radius: 999px !important;
    background: #121214 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
}

.tbp-site-main .buffalo-request-track,
.tbp-site-main .buffalo-track {
    border-color: var(--tbp-line) !important;
    border-radius: 16px !important;
    background: var(--tbp-panel) !important;
}

.tbp-site-main .buffalo-request-track:hover,
.tbp-site-main .buffalo-track:hover {
    border-color: rgba(214, 40, 40, 0.65) !important;
}

.tbp-site-main .buffalo-request-button {
    background: var(--tbp-accent) !important;
}

/* Player V2 skin. */
.tbpv2 {
    height: calc(98px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 10px 22px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(8, 8, 9, 0.96) !important;
    font-family: var(--tbp-body) !important;
    backdrop-filter: blur(20px);
}

body.tbpv2-active {
    padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px)) !important;
}

.tbpv2__cover {
    width: 74px !important;
    height: 74px !important;
    flex-basis: 74px !important;
    border-radius: 9px !important;
    background: #111 !important;
    object-fit: contain !important;
    object-position: center !important;
}

.tbpv2-modal__cover,
.tbpv2__cover img,
.tbpv2-modal__cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.tbpv2__now-playing,
.tbpv2-modal__now-playing {
    color: var(--tbp-accent-bright) !important;
    font-family: var(--tbp-body) !important;
}

.tbpv2__title,
.tbpv2-modal__title {
    font-family: var(--tbp-heading) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.tbpv2__play {
    background: var(--tbp-accent) !important;
}

.tbpv2-modal__content {
    border: 1px solid var(--tbp-line) !important;
    background: #0d0d0e !important;
    box-shadow: var(--tbp-shadow) !important;
}

@keyframes tbp-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.86); }
}

@keyframes tbp-equalizer {
    0% { height: 20%; }
    100% { height: 100%; }
}

@keyframes tbp-skeleton {
    to { background-position: -200% 0; }
}

@keyframes tbp-record {
    to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
    .tbp-nav__list,
    .tbp-nav .menu {
        gap: 18px;
    }

    .tbp-nav a {
        font-size: 10px;
    }

    .tbp-header-listen {
        padding-inline: 13px;
    }

    .tbp-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
        gap: 42px;
    }

    .tbp-recent__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tbp-hot5__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --tbp-shell: min(100% - 34px, 760px);
    }

    body.tbp-inner-page {
        padding-top: 78px;
    }

    .tbp-header,
    .tbp-inner-page .tbp-header,
    .tbp-header.is-scrolled,
    .tbp-menu-open .tbp-header {
        height: 78px;
    }

    .tbp-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .tbp-brand,
    .tbp-header.is-scrolled .tbp-brand,
    .tbp-inner-page .tbp-brand,
    .tbp-menu-open .tbp-brand {
        width: 88px;
        height: 88px;
    }

    .tbp-menu-toggle {
        display: inline-flex;
        grid-column: 3;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .tbp-menu-toggle__bars {
        display: grid;
        gap: 4px;
    }

    .tbp-menu-toggle__bars i {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .tbp-menu-open .tbp-menu-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .tbp-menu-open .tbp-menu-toggle__bars i:nth-child(2) { opacity: 0; }
    .tbp-menu-open .tbp-menu-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .tbp-nav {
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
        margin: 0;
        padding: 105px max(20px, calc((100vw - 720px) / 2)) 120px;
        background: rgba(7, 7, 7, 0.985);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-15px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .tbp-menu-open .tbp-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tbp-nav__list,
    .tbp-nav .menu {
        display: grid;
        width: 100%;
        gap: 0;
    }

    .tbp-nav li {
        border-bottom: 1px solid var(--tbp-line);
    }

    .tbp-nav a {
        display: flex;
        padding: 15px 0;
        font-family: var(--tbp-heading);
        font-size: clamp(32px, 8vw, 56px);
        letter-spacing: 0;
    }

    .tbp-nav a::after,
    .tbp-nav .sub-menu {
        display: none;
    }

    .tbp-header-listen {
        position: fixed;
        z-index: 2;
        right: 17px;
        bottom: 100px;
        display: none;
    }

    .tbp-menu-open .tbp-header-listen {
        display: inline-flex;
    }

    .tbp-hero {
        min-height: auto;
        padding: 150px 0 35px;
        background-position: 58% center;
    }

    .tbp-hero__shade {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2)),
            linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 32%, rgba(0, 0, 0, 0.94) 78%);
    }

    .tbp-hero__grid {
        grid-template-columns: 1fr;
    }

    .tbp-hot5__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbp-hero h1 {
        max-width: 680px;
    }

    .tbp-live-card {
        display: grid;
        grid-template-columns: 250px 1fr;
    }

    .tbp-live-card__artwork {
        aspect-ratio: 1;
    }

    .tbp-live-card__body {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
    }

    .tbp-hero__shortcuts {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .tbp-hero__shortcuts > * {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .tbp-hero__shortcuts > *:last-child {
        border-bottom: 0;
    }

    .tbp-undercover__grid,
    .tbp-engage__grid,
    .tbp-footer__grid {
        grid-template-columns: 1fr;
    }

    .tbp-undercover__visual {
        min-height: 420px;
    }

    .tbp-engage-card {
        min-height: 360px;
    }

    .tbp-footer__grid {
        gap: 38px;
    }

    .tbp-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    :root {
        --tbp-shell: calc(100vw - 28px);
    }

    body.admin-bar .tbp-header {
        top: 46px;
    }

    .tbp-menu-toggle__label {
        display: none;
    }

    .tbp-hero {
        padding-top: 132px;
        background-position: 60% center;
    }

    .tbp-hero h1 {
        font-size: clamp(54px, 16vw, 78px);
    }

    .tbp-hero__intro {
        font-size: 16px;
    }

    .tbp-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tbp-button {
        min-height: 50px;
        padding-inline: 16px;
        font-size: 10px;
    }

    .tbp-live-card {
        display: block;
    }

    .tbp-live-card__artwork {
        aspect-ratio: 1;
    }

    .tbp-live-card__body {
        padding: 20px;
    }

    .tbp-hero__shortcuts > * {
        padding-inline: 13px;
    }

    .tbp-section {
        padding-block: 78px;
    }

    .tbp-section-heading {
        display: block;
    }

    .tbp-section-heading h2,
    .tbp-undercover__copy h2,
    .tbp-engage-card h2,
    .tbp-entry__header h1,
    .tbp-error-page h1 {
        font-size: 52px;
    }

    .tbp-section-heading .tbp-text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .tbp-recent__grid {
        display: flex;
        width: calc(100vw - 14px);
        overflow-x: auto;
        padding: 0 14px 12px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tbp-recent__grid::-webkit-scrollbar {
        display: none;
    }

    .tbp-song-card {
        width: min(66vw, 260px);
        flex: 0 0 min(66vw, 260px);
        scroll-snap-align: start;
    }

    .tbp-hot5__grid {
        grid-template-columns: 1fr;
    }

    .tbp-ranking-card,
    .tbp-ranking-card:nth-child(1),
    .tbp-ranking-card:nth-child(2) {
        grid-column: auto;
    }

    .tbp-ranking-card__image,
    .tbp-ranking-card:nth-child(1) .tbp-ranking-card__image,
    .tbp-ranking-card:nth-child(2) .tbp-ranking-card__image {
        aspect-ratio: 1;
    }

    .tbp-undercover__visual {
        min-height: 350px;
    }

    .tbp-vinyl {
        top: -40px;
        right: -95px;
        width: 300px;
        height: 300px;
    }

    .tbp-undercover__wordmark {
        font-size: 76px;
    }

    .tbp-engage-card {
        min-height: 390px;
        padding: 36px 26px;
    }

    .tbp-footer__bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .tbp-inner {
        padding: 54px 0 80px;
    }

    .tbp-post-grid {
        grid-template-columns: 1fr;
    }

    .tbp-site-main #buffalo-request-page,
    .tbp-site-main #buffalo-history {
        padding-bottom: 30px !important;
    }

    .tbpv2 {
        gap: 8px !important;
        height: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.tbpv2-active {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .tbpv2__cover {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px !important;
    }

    .tbpv2__expand {
        width: 34px !important;
        height: 34px !important;
    }

    .tbpv2__play {
        width: 46px !important;
        height: 46px !important;
    }

    .tbpv2__title {
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .tbp-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Under Cover archive and episode pages. */
.tbp-subhero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    padding: 175px 0 90px;
    border-bottom: 1px solid var(--tbp-line);
    background:
        radial-gradient(circle at 78% 40%, rgba(214, 40, 40, 0.25), transparent 28%),
        linear-gradient(135deg, #080808 20%, #161618 100%);
}

.tbp-subhero__content {
    position: relative;
    z-index: 2;
    max-width: 730px;
    margin-left: max(24px, calc((100vw - 1240px) / 2));
}

.tbp-subhero h1,
.tbp-ad-hero h1,
.tbp-episode-single h1 {
    margin: 0;
    font-family: var(--tbp-heading);
    font-size: clamp(78px, 10vw, 150px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.82;
    text-transform: uppercase;
}

.tbp-subhero__content > p:not(.tbp-kicker) {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--tbp-muted);
    font-size: 19px;
}

.tbp-subhero__record {
    position: absolute;
    top: 50%;
    right: -100px;
    width: min(54vw, 660px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, #0b0b0c 0 7px, #1b1b1e 8px 11px);
    box-shadow: -35px 35px 90px rgba(0, 0, 0, 0.55);
    transform: translateY(-42%);
    animation: tbp-record 18s linear infinite;
}

.tbp-subhero__record::before,
.tbp-subhero__record span {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.tbp-subhero__record::before {
    width: 28%;
    height: 28%;
    background: var(--tbp-accent);
}

.tbp-subhero__record span {
    width: 4%;
    height: 4%;
    background: #030303;
}

.tbp-result-count {
    color: var(--tbp-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-result-count strong {
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: 28px;
}

.tbp-episode-search {
    max-width: 740px;
    margin: 0 auto 50px;
}

.tbp-episode-search > label {
    display: block;
    margin-bottom: 10px;
    color: var(--tbp-muted);
    font-size: 12px;
    font-weight: 700;
}

.tbp-search-field {
    position: relative;
}

.tbp-search-field svg {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--tbp-muted);
    stroke-linecap: round;
    stroke-width: 2;
    transform: translateY(-50%);
}

.tbp-search-field input {
    width: 100%;
    min-height: 60px;
    padding: 0 22px 0 55px;
    border: 1px solid var(--tbp-line);
    border-radius: 999px;
    background: var(--tbp-panel);
    color: #fff;
    font-size: 16px;
}

.tbp-search-field input:focus {
    border-color: var(--tbp-accent);
}

.tbp-episode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tbp-episode-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 18px;
    background: var(--tbp-panel);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbp-episode-card[hidden] {
    display: none;
}

.tbp-episode-card:hover {
    border-color: rgba(214, 40, 40, 0.65);
    transform: translateY(-5px);
}

.tbp-episode-card__art {
    position: relative;
    display: block;
    aspect-ratio: 1.45;
    overflow: hidden;
    background: linear-gradient(135deg, #111 20%, #381112);
    text-decoration: none;
}

.tbp-episode-card__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tbp-episode-card:hover .tbp-episode-card__art img {
    transform: scale(1.04);
}

.tbp-episode-card__fallback {
    position: absolute;
    right: -10px;
    bottom: -26px;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--tbp-heading);
    font-size: 170px;
    font-weight: 900;
    line-height: 0.8;
}

.tbp-episode-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--tbp-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.tbp-episode-card__body {
    padding: 25px;
}

.tbp-episode-card__body .tbp-kicker {
    margin-bottom: 10px;
}

.tbp-episode-card h3 {
    margin: 0;
    font-family: var(--tbp-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.tbp-episode-card h3 a {
    text-decoration: none;
}

.tbp-episode-card__original {
    margin: 10px 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tbp-episode-card__summary {
    margin: 18px 0;
    color: var(--tbp-muted);
    font-size: 14px;
}

.tbp-episode-audio,
.tbp-episode-player audio {
    display: block;
    width: 100%;
    margin: 18px 0;
    accent-color: var(--tbp-accent);
}

.tbp-episode-card__schedule {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0;
    color: var(--tbp-muted);
    font-size: 11px;
}

.tbp-episode-card__schedule span {
    color: var(--tbp-accent-bright);
}

.tbp-empty--feature {
    padding: clamp(50px, 8vw, 100px);
}

.tbp-empty--feature .tbp-kicker {
    justify-content: center;
}

.tbp-empty--feature h2 {
    margin: 0 auto 18px;
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.95;
    text-transform: uppercase;
}

.tbp-empty--feature .tbp-button {
    margin-top: 22px;
}

.tbp-episode-single__hero {
    min-height: auto;
}

.tbp-episode-single__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    align-items: center;
    gap: clamp(45px, 8vw, 110px);
}

.tbp-episode-single h1 {
    font-size: clamp(64px, 8vw, 118px);
}

.tbp-episode-single__artist {
    margin: 26px 0 5px;
    color: #fff !important;
    font-family: var(--tbp-heading);
    font-size: 32px !important;
    font-weight: 700;
    text-transform: uppercase;
}

.tbp-episode-single__art {
    overflow: hidden;
    border: 1px solid var(--tbp-line);
    border-radius: 20px;
    box-shadow: var(--tbp-shadow);
}

.tbp-episode-single__art img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.tbp-episode-single__content {
    max-width: 900px;
    padding-block: 80px 120px;
}

.tbp-episode-player {
    margin-bottom: 48px;
    padding: 28px;
    border: 1px solid var(--tbp-line);
    border-radius: 16px;
    background: var(--tbp-panel);
}

.tbp-music-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 42px 0;
}

/* Advertising landing page. */
.tbp-ad-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 185px 0 110px;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.54)),
        url("../images/montreal-sunset.webp") center/cover;
}

.tbp-ad-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    align-items: center;
    gap: 60px;
}

.tbp-ad-hero h1 {
    max-width: 800px;
    font-size: clamp(70px, 8vw, 122px);
}

.tbp-ad-hero__grid > div:first-child > p:not(.tbp-kicker) {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 19px;
}

.tbp-language-switch {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.tbp-language-switch:hover {
    border-color: var(--tbp-accent);
    background: var(--tbp-accent);
}

.tbp-ad-hero__signal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 430px;
    min-height: 430px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 26px;
    background: rgba(8, 8, 9, 0.64);
    box-shadow: var(--tbp-shadow);
    backdrop-filter: blur(15px);
}

.tbp-ad-hero__signal span {
    width: 10px;
    height: 18%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--tbp-amber), var(--tbp-accent));
    animation: tbp-ad-signal 0.8s ease-in-out infinite alternate;
}

.tbp-ad-hero__signal span:nth-child(2) { height: 46%; animation-delay: -0.5s; }
.tbp-ad-hero__signal span:nth-child(3) { height: 74%; animation-delay: -0.2s; }
.tbp-ad-hero__signal span:nth-child(4) { height: 100%; animation-delay: -0.7s; }
.tbp-ad-hero__signal span:nth-child(5) { height: 68%; animation-delay: -0.3s; }
.tbp-ad-hero__signal span:nth-child(6) { height: 42%; animation-delay: -0.65s; }
.tbp-ad-hero__signal span:nth-child(7) { height: 22%; animation-delay: -0.15s; }

.tbp-ad-formats {
    background: var(--tbp-black-soft);
}

.tbp-ad-formats .tbp-section-heading > p {
    max-width: 430px;
}

.tbp-ad-format-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tbp-ad-format {
    min-height: 310px;
    padding: 28px;
    border: 1px solid var(--tbp-line);
    border-radius: 16px;
    background: var(--tbp-panel);
}

.tbp-ad-format > span {
    color: var(--tbp-accent-bright);
    font-size: 11px;
    font-weight: 800;
}

.tbp-ad-format h3 {
    margin: 70px 0 18px;
    font-family: var(--tbp-heading);
    font-size: 34px;
    line-height: 0.95;
    text-transform: uppercase;
}

.tbp-ad-format p {
    color: var(--tbp-muted);
    font-size: 14px;
}

.tbp-audience {
    border-block: 1px solid var(--tbp-line);
    background: radial-gradient(circle at 18% 40%, rgba(214, 40, 40, 0.13), transparent 32%), #090909;
}

.tbp-audience__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.tbp-audience h2,
.tbp-ad-inquiry h2 {
    margin: 0;
    font-family: var(--tbp-heading);
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: uppercase;
}

.tbp-audience__grid > div:first-child > p:last-child,
.tbp-ad-inquiry__grid > div:first-child > p:not(.tbp-kicker) {
    margin-top: 26px;
    color: var(--tbp-muted);
    font-size: 17px;
}

.tbp-audience__cards {
    display: grid;
    gap: 12px;
}

.tbp-audience-card {
    display: grid;
    padding: 22px 24px;
    border: 1px solid var(--tbp-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.tbp-audience-card strong {
    font-family: var(--tbp-heading);
    font-size: 28px;
    text-transform: uppercase;
}

.tbp-audience-card span {
    color: var(--tbp-muted);
    font-size: 13px;
}

.tbp-campaign-process {
    background: var(--tbp-black);
}

.tbp-process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tbp-process-list li {
    padding: 30px;
    border-top: 2px solid var(--tbp-accent);
    background: var(--tbp-panel);
}

.tbp-process-list li > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--tbp-accent);
    font-family: var(--tbp-heading);
    font-size: 20px;
    font-weight: 800;
}

.tbp-process-list strong {
    display: block;
    margin-top: 55px;
    font-family: var(--tbp-heading);
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
}

.tbp-process-list p {
    color: var(--tbp-muted);
    font-size: 14px;
}

.tbp-ad-inquiry {
    border-top: 1px solid var(--tbp-line);
    background: var(--tbp-black-soft);
}

.tbp-ad-inquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(450px, 1.15fr);
    align-items: start;
    gap: clamp(50px, 8vw, 110px);
}

.tbp-ad-inquiry__grid .tbp-text-link {
    display: inline-block;
    margin-top: 25px;
}

.tbp-ad-form-wrap {
    padding: 34px;
    border: 1px solid var(--tbp-line);
    border-radius: 18px;
    background: var(--tbp-panel);
}

.tbp-ad-form {
    display: grid;
    gap: 18px;
}

.tbp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tbp-ad-form label {
    display: grid;
    gap: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tbp-ad-form input,
.tbp-ad-form select,
.tbp-ad-form textarea {
    width: 100%;
    border: 1px solid var(--tbp-line);
    border-radius: 10px;
    background: #0d0d0e;
    color: #fff;
}

.tbp-ad-form input,
.tbp-ad-form select {
    min-height: 49px;
    padding: 0 14px;
}

.tbp-ad-form textarea {
    padding: 13px 14px;
    resize: vertical;
}

.tbp-ad-form input:focus,
.tbp-ad-form select:focus,
.tbp-ad-form textarea:focus {
    border-color: var(--tbp-accent);
}

.tbp-ad-form .tbp-button {
    justify-self: start;
}

.tbp-form-privacy {
    margin: 0;
    color: #777;
    font-size: 10px;
}

.tbp-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

.tbp-form-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--tbp-line);
    border-radius: 10px;
    font-size: 13px;
}

.tbp-form-notice--success {
    border-color: #3f8f62;
    background: rgba(63, 143, 98, 0.13);
}

.tbp-form-notice--error {
    border-color: var(--tbp-accent);
    background: rgba(214, 40, 40, 0.12);
}

@keyframes tbp-ad-signal {
    from { transform: scaleY(0.35); opacity: 0.55; }
    to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1000px) {
    .tbp-episode-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tbp-ad-format-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tbp-subhero {
        min-height: 520px;
        padding-top: 145px;
    }

    .tbp-subhero__content {
        width: var(--tbp-shell);
        margin-inline: auto;
    }

    .tbp-subhero__record {
        right: -170px;
        width: 580px;
        opacity: 0.45;
    }

    .tbp-episode-single__header,
    .tbp-ad-hero__grid,
    .tbp-audience__grid,
    .tbp-ad-inquiry__grid {
        grid-template-columns: 1fr;
    }

    .tbp-ad-hero {
        min-height: auto;
        padding-top: 150px;
    }

    .tbp-ad-hero__signal {
        height: 270px;
        min-height: 270px;
    }

    .tbp-process-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .tbp-subhero h1,
    .tbp-ad-hero h1,
    .tbp-episode-single h1 {
        font-size: 64px;
    }

    .tbp-subhero__record {
        top: 61%;
        right: -210px;
        width: 500px;
    }

    .tbp-episode-grid,
    .tbp-ad-format-grid {
        grid-template-columns: 1fr;
    }

    .tbp-form-row {
        grid-template-columns: 1fr;
    }

    .tbp-ad-form-wrap {
        padding: 24px 18px;
    }

    .tbp-ad-hero__signal {
        height: 220px;
        min-height: 220px;
    }
}

/* Theme-native request and recently played tools. */
.tbp-subhero--radio-tool {
    min-height: 510px;
}

.tbp-radio-tool {
    min-height: 620px;
    background:
        radial-gradient(circle at 12% 0, rgba(214, 40, 40, 0.1), transparent 30%),
        var(--tbp-black);
}

.tbp-radio-tool__panel {
    max-width: 980px;
    margin: 0 auto;
}

.tbp-radio-toolbar {
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid var(--tbp-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.tbp-radio-toolbar > label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-radio-toolbar .tbp-search-field {
    max-width: none;
}

.tbp-history-filter-title {
    margin: 0 0 13px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tbp-history-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
    align-items: end;
    gap: 12px;
}

.tbp-history-filter-field > span {
    display: block;
    margin-bottom: 7px;
    color: var(--tbp-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tbp-history-filter-field select {
    width: 100%;
    min-height: 54px;
    padding: 0 42px 0 17px;
    border: 1px solid var(--tbp-line);
    border-radius: 12px;
    background: var(--tbp-panel);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.tbp-history-filter-field select:focus {
    border-color: var(--tbp-accent);
    outline: 2px solid rgba(214, 40, 40, 0.25);
    outline-offset: 2px;
}

.tbp-history-filter-submit {
    min-height: 54px;
}

.tbp-history-filter-clear {
    align-self: center;
    color: var(--tbp-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tbp-history-filter-note {
    margin: 12px 0 0;
    color: var(--tbp-muted);
    font-size: 11px;
}

.tbp-radio-toolbar input:disabled,
.tbp-radio-toolbar select:disabled {
    cursor: wait;
    opacity: 0.65;
}

.tbp-radio-status {
    min-height: 20px;
    margin: 13px 0 0;
    color: var(--tbp-muted);
    font-size: 12px;
}

.tbp-radio-status.is-success {
    color: #7ddd94;
}

.tbp-radio-status.is-error {
    color: #ff7d78;
}

.tbp-radio-list {
    display: grid;
    gap: 12px;
}

.tbp-radio-list > .tbp-empty {
    grid-column: 1 / -1;
}

.tbp-radio-track {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 12px 15px 12px 12px;
    border: 1px solid var(--tbp-line);
    border-radius: 14px;
    background: var(--tbp-panel);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbp-radio-track:hover {
    border-color: rgba(214, 40, 40, 0.65);
    transform: translateY(-2px);
}

.tbp-radio-track.is-current {
    border-color: rgba(214, 40, 40, 0.7);
    background: linear-gradient(90deg, rgba(214, 40, 40, 0.12), var(--tbp-panel) 34%);
}

.tbp-radio-track__art {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: #1b1b1d;
    object-fit: contain;
    object-position: center;
}

.tbp-radio-track__info {
    min-width: 0;
}

.tbp-radio-track__title,
.tbp-radio-track__artist {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-radio-track__title {
    color: #fff;
    font-family: var(--tbp-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.tbp-radio-track__artist {
    margin-top: 6px;
    color: var(--tbp-muted);
    font-size: 13px;
}

.tbp-radio-track__meta {
    min-width: 115px;
    text-align: right;
}

.tbp-radio-track__time {
    color: var(--tbp-accent-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tbp-request-button {
    min-width: 112px;
    padding: 12px 17px;
    border: 0;
    border-radius: 999px;
    background: var(--tbp-accent);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.tbp-request-button:hover {
    background: var(--tbp-accent-bright);
}

.tbp-request-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.tbp-request-button.is-requested {
    background: #26793e;
    cursor: default;
    opacity: 1;
}

@media (max-width: 700px) {
    .tbp-radio-toolbar {
        padding: 18px;
    }

    .tbp-history-filter-row {
        grid-template-columns: 1fr;
    }

    .tbp-history-filter-submit {
        width: 100%;
        min-height: 48px;
    }

    .tbp-history-filter-clear {
        justify-self: center;
    }

    .tbp-radio-track {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .tbp-radio-track__art {
        width: 58px;
        height: 58px;
    }

    .tbp-radio-track__title {
        font-size: 18px;
    }

    .tbp-radio-track__meta,
    .tbp-request-button {
        grid-column: 2;
        min-width: 0;
        justify-self: start;
        text-align: left;
    }

    .tbp-request-button {
        padding: 10px 14px;
    }
}
