:root {
    --netflix-red: #e50914;
    --netflix-red-soft: rgba(229, 9, 20, 0.18);
    --netflix-bg: #141414;
    --netflix-black: #000000;
    --panel: #1a1a1a;
    --line: #2f2f2f;
    --text-main: #ffffff;
    --text-sub: #b3b3b3;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --font-ui: "Segoe UI", Arial, sans-serif;
    --font-serif: "Nanum Myeongjo", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--netflix-black);
    color: var(--text-main);
    font-family: var(--font-ui);
    display: flex;
    justify-content: center;
}

button,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

.main-container {
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    background-color: var(--netflix-bg);
    position: relative;
    padding-bottom: 100px;
    box-shadow: var(--shadow);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--netflix-bg);
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 999px;
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-mark {
    margin: 0;
    color: var(--netflix-red);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: inline-flex;
    align-items: baseline;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(229, 9, 20, 0.18);
}

.brand-mark-m {
    display: inline-block;
    margin-right: -2px;
    transform: scaleX(0.88);
}

.brand-mark-rest {
    display: inline-block;
    letter-spacing: -0.08em;
    transform: scaleX(0.92);
}

.brand-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topnav a,
.topnav button {
    background: none;
    border: none;
    color: #d0d0d0;
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.topnav a:hover,
.topnav button:hover {
    color: #ffffff;
}

#shuffle-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #3a3a3a;
    background: rgba(255, 255, 255, 0.04);
}

.content-section {
    margin-bottom: 34px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 4%;
    margin-bottom: 12px;
}

.section-title {
    margin: 0;
    color: #e5e5e5;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-subcopy {
    margin-left: 8px;
    color: #737373;
    font-size: 0.76rem;
    font-weight: 400;
}

.section-link {
    background: none;
    border: none;
    color: #8f8f8f;
    padding: 0;
    font-size: 0.82rem;
}

.section-link:hover {
    color: #ffffff;
}

.season-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4%;
    margin: 0 0 10px;
}

.season-select {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #666666;
    background: transparent;
    color: #ffffff;
    border-radius: 2px;
    font-weight: 600;
}

.season-count {
    color: #8b8b8b;
    font-size: 0.82rem;
}

.billboard-container {
    position: relative;
    width: 100%;
    height: clamp(430px, 52vw, 620px);
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 24%;
    margin-bottom: 30px;
    overflow: hidden;
}

.billboard-container.is-empty {
    background:
        radial-gradient(circle at top right, rgba(229, 9, 20, 0.18), transparent 26%),
        linear-gradient(135deg, #191919 0%, #101010 58%, #080808 100%);
}

.billboard-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0.38) 50%, rgba(20, 20, 20, 0.1) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.billboard-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(229, 9, 20, 0.22), transparent 28%),
        linear-gradient(to top, transparent, rgba(0, 0, 0, 0.12));
}

.billboard-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 4% 20px 4%;
}

.billboard-lockup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.billboard-n {
    color: var(--netflix-red);
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.1em;
    transform: scaleX(0.88);
}

.billboard-label {
    display: inline-flex;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.billboard-title {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.billboard-title-main {
    display: block;
    line-height: 0.9;
    transform: scaleY(1.05);
}

.billboard-title-sub {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.28em;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 700;
}

.billboard-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 0;
    color: #d8d8d8;
    font-size: 0.82rem;
    font-weight: 500;
}

.meta-strong {
    color: var(--netflix-red);
    font-weight: 700;
}

.billboard-description {
    max-width: 66%;
    margin: 18px 0 0;
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 0.95rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.billboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.primary-action,
.secondary-action {
    min-height: 36px;
    padding: 0 14px;
    border: none;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
    gap: 6px;
}

.primary-action {
    background: #ffffff;
    color: #000000;
}

.secondary-action {
    background: rgba(109, 109, 110, 0.58);
    color: #ffffff;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1;
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-1px);
}

.billboard-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 0;
}

.billboard-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e5e5;
    font-size: 0.76rem;
}

.afterimage-section {
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.thumbnail-scroll {
    display: flex;
    gap: 10px;
    padding: 0 4% 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-scroll::-webkit-scrollbar {
    display: none;
}

.thumbnail-card {
    position: relative;
    flex: 0 0 45%;
    aspect-ratio: 16 / 9;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    background: #202020;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
}

.thumbnail-card:hover {
    transform: scale(1.1) translateY(-8px);
    border-color: rgba(229, 9, 20, 0.6);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.thumbnail-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-card:hover img {
    transform: scale(1.05);
}

.thumbnail-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.thumbnail-kicker {
    color: var(--netflix-red);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.thumbnail-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.thumbnail-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.thumbnail-card:hover .thumbnail-hover {
    opacity: 1;
}

.thumbnail-hover span {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;
    padding: 0 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.thumbnail-hover small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.thumbnail-card.is-placeholder {
    cursor: default;
    background:
        linear-gradient(135deg, rgba(229, 9, 20, 0.32), rgba(0, 0, 0, 0.96)),
        linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent 40%);
}

.thumbnail-card.is-placeholder:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
}

.thumbnail-placeholder-fill {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
        linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 30%);
}

.thumbnail-empty-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e8e8e8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.record-list {
    display: flex;
    flex-direction: column;
}

.record-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 4%;
    border: none;
    background: transparent;
    color: var(--text-main);
    text-align: left;
    transition: background 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.record-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.record-row.is-placeholder {
    cursor: default;
}

.record-row.is-placeholder:hover {
    background: rgba(255, 255, 255, 0.06);
}

.record-number {
    width: 22px;
    flex-shrink: 0;
    color: #707070;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.record-thumb {
    flex: 0 0 124px;
    width: 124px;
    height: 70px;
    border-radius: 4px;
    background-image: var(--thumb-bg);
    background-size: cover;
    background-position: center;
    border: 1px solid #2a2a2a;
}

.record-info {
    min-width: 0;
    flex: 1;
}

.record-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.record-title {
    margin: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.record-summary {
    margin: 8px 0 0;
    color: var(--text-sub);
    font-size: 0.84rem;
    line-height: 1.55;
}

.record-duration {
    color: #8f8f8f;
    font-size: 0.82rem;
    white-space: nowrap;
}

.record-meta {
    color: #7d7d7d;
    font-size: 0.76rem;
    white-space: nowrap;
}

.playlist-section {
    padding-top: 8px;
}

.playlist-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
    padding: 0 4%;
}

.playlist-player-card,
.playlist-queue-card {
    border: 1px solid #262626;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        #111111;
    overflow: hidden;
}

.playlist-player-card {
    padding: 20px;
}

.playlist-now {
    display: flex;
    align-items: center;
    gap: 16px;
}

.playlist-cover {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b0000, #1a1a1a 70%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.playlist-cover span {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.playlist-kicker {
    margin: 0 0 8px;
    color: var(--netflix-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.playlist-now-copy h3 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.playlist-artist,
.playlist-album {
    margin: 6px 0 0;
    color: #b0b0b0;
    font-size: 0.84rem;
}

.playlist-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.playlist-control-btn,
.playlist-main-btn {
    border: 1px solid #3a3a3a;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.playlist-control-btn:hover,
.playlist-main-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.playlist-control-btn:disabled,
.playlist-main-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.playlist-control-btn {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
}

.playlist-main-btn {
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    font-size: 1rem;
}

.playlist-progress-wrap {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.playlist-time {
    color: #989898;
    font-size: 0.74rem;
    text-align: center;
}

.playlist-progress {
    width: 100%;
    accent-color: var(--netflix-red);
}

.playlist-queue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #242424;
}

.playlist-queue-head strong {
    font-size: 1rem;
}

.playlist-count {
    color: #8b8b8b;
    font-size: 0.8rem;
}

.playlist-queue-list {
    display: flex;
    flex-direction: column;
}

.playlist-row {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-bottom: 1px solid #1d1d1d;
    background: transparent;
    color: #ffffff;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.playlist-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.playlist-row.is-active {
    background: rgba(229, 9, 20, 0.08);
}

.playlist-row.is-active .playlist-row-index,
.playlist-row.is-active .playlist-row-copy strong {
    color: var(--netflix-red);
}

.playlist-row.is-placeholder {
    cursor: default;
}

.playlist-row.is-placeholder:hover {
    background: transparent;
}

.playlist-row-index {
    color: #7f7f7f;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.playlist-row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.playlist-row-copy strong {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
}

.playlist-row-copy span,
.playlist-row-meta {
    color: #9d9d9d;
    font-size: 0.78rem;
}

.quote-section {
    padding: 28px 4% 0;
    border-top: 1px solid #242424;
    text-align: center;
}

.quote-bubble {
    color: #f1f1f1;
    font-family: "Courier New", monospace;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.quote-bubble::after {
    content: "▼";
    display: block;
    margin-top: 8px;
    color: var(--netflix-red);
    font-size: 12px;
}

.quote-mark {
    margin-top: 14px;
    color: #5b5b5b;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
}

.hidden {
    display: none !important;
}

.overlay.is-visible {
    display: flex !important;
}

.overlay-fade-in {
    animation: fadeIn 0.3s forwards;
}

.overlay-fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.overlay-shell,
.viewer-shell {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.afterimage-shell {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.overlay-header,
.viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #2a2a2a;
}

.overlay-header h2 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.overlay-close,
.viewer-back {
    border: none;
    background: none;
    color: #d0d0d0;
    font-size: 1.4rem;
}

.viewer-back {
    font-size: 1rem;
}

.overlay-list {
    width: min(760px, 100%);
    margin: 0 auto;
    overflow-y: auto;
    padding-bottom: 32px;
}

.overlay-record-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #1f1f1f;
    cursor: pointer;
    transition: background 0.2s ease;
}

.overlay-record-item:hover {
    background: #222222;
}

.overlay-record-item.is-placeholder {
    cursor: default;
}

.overlay-record-item.is-placeholder:hover {
    background: #1c1c1c;
}

.overlay-record-num {
    width: 26px;
    color: #7a7a7a;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}

.overlay-record-thumb {
    width: 104px;
    height: 60px;
    border-radius: 4px;
    background-image: var(--thumb-bg);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.overlay-record-copy {
    min-width: 0;
    flex: 1;
}

.overlay-record-copy h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.overlay-record-copy p {
    margin: 0;
    color: #a8a8a8;
    font-size: 0.78rem;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.overlay-record-meta {
    color: #7c7c7c;
    font-size: 0.76rem;
}

.viewer-content {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 34px 22px 80px;
    overflow-y: auto;
    color: #e7e7e7;
}

.afterimage-close-wrap {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.afterimage-close {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
}

.afterimage-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 18px 60px;
}

.afterimage-block-title {
    margin: 42px 0 18px;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.afterimage-block-subtitle {
    width: min(640px, 100%);
    margin: 18px 0;
    padding-left: 16px;
    border-left: 4px solid var(--netflix-red);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
}

.afterimage-block-text {
    width: min(760px, 100%);
    margin: 0 0 26px;
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.9;
    white-space: pre-line;
}

.afterimage-block-divider {
    width: min(760px, 100%);
    height: 1px;
    margin: 10px 0 28px;
    background: #333333;
}

.afterimage-block-image {
    width: min(760px, 100%);
    max-height: 70vh;
    margin: 0 0 28px;
    border: 1px solid #333333;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.afterimage-block-video {
    width: min(760px, 100%);
    margin: 0 0 28px;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.afterimage-block-video video,
.afterimage-block-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.viewer-label {
    margin: 0;
    color: var(--netflix-red);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.viewer-content h1 {
    margin: 10px 0 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.04em;
}

.viewer-meta {
    margin: 14px 0 0;
    color: #8f8f8f;
    font-size: 0.84rem;
}

.viewer-description {
    margin: 22px 0 0;
    color: #d5d5d5;
    font-family: var(--font-serif);
    line-height: 1.95;
}

.viewer-body {
    margin-top: 26px;
    color: #d0d0d0;
    line-height: 1.95;
}

.viewer-body p {
    margin: 0 0 18px;
}

.timeline-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-close {
    position: absolute;
    top: 24px;
    right: 24px;
}

.timeline-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.timeline-label {
    color: var(--netflix-red);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.timeline-line {
    width: 2px;
    height: 96px;
    background: linear-gradient(to bottom, transparent, var(--netflix-red), transparent);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--netflix-red);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.85);
}

.timeline-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.timeline-copy p {
    margin: 8px 0 0;
    color: #b3b3b3;
}

body.overlay-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .main-container {
        max-width: 100%;
    }

    .topbar {
        padding: 18px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .billboard-container {
        height: 500px;
        background-position: center 18%;
    }

    .billboard-content {
        padding: 0 5% 24px 5%;
    }

    .billboard-description {
        max-width: 92%;
    }

    .primary-action,
    .secondary-action {
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.94rem;
    }

    .thumbnail-card {
        flex-basis: 78%;
    }

    .record-row {
        gap: 12px;
    }

    .record-thumb {
        flex-basis: 96px;
        width: 96px;
        height: 56px;
    }

    .playlist-shell {
        grid-template-columns: 1fr;
    }

    .overlay-record-item {
        align-items: flex-start;
    }

    .overlay-record-thumb {
        width: 86px;
        height: 54px;
    }
}
