:root {
    --fr-orange: #f45b22;
    --fr-orange-hot: #ff743d;
    --fr-ink: #111116;
    --fr-panel: #1a1a22;
    --fr-muted: #777784;
    --fr-line: #e8e8ed;
    --fr-paper: #ffffff;
}

.fr-hub,
.fr-hub * { box-sizing: border-box; }

.fr-hub {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px clamp(18px, 4vw, 54px) 72px;
    color: var(--fr-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fr-live {
    position: sticky;
    z-index: 20;
    top: 12px;
    display: grid;
    grid-template-columns: minmax(240px, .75fr) minmax(360px, 1.25fr);
    gap: clamp(20px, 4vw, 52px);
    align-items: center;
    min-height: 236px;
    padding: clamp(24px, 4vw, 48px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 8% 0%, rgba(244,91,34,.42), transparent 32%),
        linear-gradient(135deg, #101014 0%, #20202a 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(17,17,22,.24);
}

.fr-live::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 64px solid rgba(244,91,34,.12);
    border-radius: 50%;
    pointer-events: none;
}

.fr-live__copy,
.fr-live__player { position: relative; z-index: 1; }

.fr-live__badge {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 7px 12px;
    color: #fff;
    background: rgba(244,91,34,.18);
    border: 1px solid rgba(255,128,77,.35);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.fr-live__badge span {
    width: 9px;
    height: 9px;
    background: var(--fr-orange-hot);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(244,91,34,.15);
    animation: fr-pulse 1.8s infinite;
}

.fr-live h1 {
    margin: 16px 0 4px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.fr-live p {
    max-width: 32rem;
    margin: 12px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 1.5;
}

.fr-live__player {
    min-width: 0;
    overflow: hidden;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
}

.fr-live__player iframe { display: block; }

.fr-library { padding-top: clamp(52px, 7vw, 88px); }

.fr-library__heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--fr-line);
}

.fr-eyebrow {
    margin: 0 0 8px;
    color: var(--fr-orange);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.fr-library h2 {
    margin: 0;
    color: var(--fr-ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.fr-count {
    flex: 0 0 auto;
    padding: 8px 13px;
    color: #555560;
    background: #f5f5f7;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 700;
}

.fr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px) clamp(16px, 2.4vw, 28px);
}

.fr-card { min-width: 0; margin: 0; }
.fr-card a { display: block; color: inherit; text-decoration: none; }

.fr-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #ededf1;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17,17,22,.08);
    transition: transform .24s ease, box-shadow .24s ease;
}

.fr-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }

.fr-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--fr-orange), #8d2817);
    font-size: 2.2rem;
    font-weight: 900;
}

.fr-card__play {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: grid;
    width: 44px;
    height: 44px;
    padding-left: 3px;
    place-items: center;
    color: #fff;
    background: var(--fr-orange);
    border-radius: 50%;
    box-shadow: 0 9px 24px rgba(0,0,0,.26);
    font-size: 15px;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.fr-card h3 {
    margin: 13px 2px 0;
    overflow: hidden;
    color: var(--fr-ink);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fr-card a:hover .fr-card__image,
.fr-card a:focus-visible .fr-card__image { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(17,17,22,.16); }
.fr-card a:hover img,
.fr-card a:focus-visible img { transform: scale(1.035); }
.fr-card a:hover .fr-card__play,
.fr-card a:focus-visible .fr-card__play { opacity: 1; transform: translateY(0); }
.fr-card a:focus-visible { outline: 3px solid var(--fr-orange); outline-offset: 5px; border-radius: 18px; }
.fr-empty { padding: 30px; color: var(--fr-muted); background: #f7f7f9; border-radius: 16px; }

@keyframes fr-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(244,91,34,.13); }
    50% { box-shadow: 0 0 0 9px rgba(244,91,34,0); }
}

@media (max-width: 960px) {
    .fr-live { position: relative; top: 0; grid-template-columns: 1fr; }
    .fr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .fr-hub { padding-inline: 14px; }
    .fr-live { min-height: 0; padding: 24px 18px; border-radius: 20px; }
    .fr-live h1 { font-size: 2.7rem; }
    .fr-live__player { margin-inline: -4px; }
    .fr-library__heading { align-items: center; }
    .fr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
    .fr-card__image { border-radius: 14px; }
    .fr-card__play { width: 38px; height: 38px; opacity: 1; transform: none; }
    .fr-card h3 { font-size: .94rem; }
}

@media (prefers-reduced-motion: reduce) {
    .fr-live__badge span { animation: none; }
    .fr-card__image,
    .fr-card__image img,
    .fr-card__play { transition: none; }
}

