:root {
    color-scheme: dark;
    --black: #050505;
    --surface: #0d0d0d;
    --white: #f5f5f2;
    --muted: #8a8a86;
    --line: #292927;
    --card-bg: #171716;
    --card-bg-hover: #20201e;
    --card-text: #ecece7;
    --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 76px),
        radial-gradient(circle at 50% 16%, rgba(255,255,255,.09), transparent 32%),
        #020202;
    color: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .9;
    background:
        linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.24) 18%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.24) 82%, rgba(0,0,0,.96)),
        linear-gradient(180deg, transparent 0 56%, rgba(0,0,0,.82) 92%),
        radial-gradient(ellipse at 50% 18%, rgba(255,255,255,.14), rgba(255,255,255,.035) 28%, transparent 54%);
    pointer-events: none;
}

.ambient::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.ambient::before {
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 76px 76px;
}

.page-shell {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    position: relative;
    display: flex;
    min-height: 72vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 0 72px;
    text-align: center;
    transition:
        min-height .72s cubic-bezier(.22, 1, .36, 1),
        padding .72s cubic-bezier(.22, 1, .36, 1);
}

.brand-orbit {
    position: absolute;
    top: calc(50% - 210px);
    left: 50%;
    z-index: -1;
    width: min(430px, 64vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 58%, #080808 0 58%, transparent 59%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.92) 0 1px, rgba(255,255,255,.28) 2px, transparent 58%);
    box-shadow:
        0 -18px 58px rgba(255,255,255,.26),
        0 0 140px rgba(255,255,255,.14),
        inset 0 25px 80px rgba(255,255,255,.04);
    transform: translateX(-50%);
    filter: blur(.15px);
}

.eyebrow {
    max-height: 24px;
    margin: 0 0 34px;
    color: #c9c9c3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .52em;
    overflow: hidden;
    transition: opacity .35s, max-height .55s, margin .55s, transform .55s;
}

h1 {
    margin: 0;
    font-size: clamp(46px, 8vw, 104px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: .9;
    transform-origin: center top;
    transition: font-size .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
}

h1 span { font-weight: 850; }

.main-logo {
    display: grid;
    gap: 16px;
    justify-items: center;
    text-transform: uppercase;
}

.main-logo span {
    color: #f8f8f5;
    font-size: clamp(48px, 7.2vw, 82px);
    font-weight: 850;
    letter-spacing: .32em;
    line-height: .86;
    padding-left: .32em;
    text-shadow: 0 0 24px rgba(255,255,255,.28);
}

.main-logo small {
    color: #c8c8c2;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 260;
    letter-spacing: .62em;
    line-height: 1;
    padding-left: .62em;
}

.hero-copy {
    max-height: 40px;
    margin: 26px 0 48px;
    color: #b8b8b2;
    font-size: clamp(14px, 2vw, 18px);
    overflow: hidden;
    transition: opacity .35s, max-height .55s, margin .55s, transform .55s;
}

.search-form {
    width: min(930px, 100%);
    transition: width .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
}

.search-control {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 10px 12px 10px 26px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
        rgba(13, 13, 13, .78);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .62),
        inset 0 1px 0 rgba(255,255,255,.06);
    transition: border-color .25s, transform .25s, box-shadow .25s;
    backdrop-filter: blur(22px);
}

.search-control:focus-within {
    border-color: rgba(255,255,255,.42);
    transform: translateY(-2px);
    box-shadow:
        0 38px 110px rgba(0, 0, 0, .78),
        0 0 60px rgba(255,255,255,.06),
        inset 0 1px 0 rgba(255,255,255,.1);
}

.search-control svg {
    width: 30px;
    fill: none;
    stroke: #f2f2ee;
    stroke-linecap: round;
    stroke-width: 1.55;
}

.search-control input {
    width: 100%;
    min-width: 0;
    padding: 13px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--white);
    font-size: 18px;
}

.search-control input::placeholder { color: #85857f; }

.search-control button,
.details-link {
    border: 0;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, background .2s, color .2s;
}

.search-control button {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding: 0;
    background:
        radial-gradient(circle at 32% 24%, white, #d8d8d4 78%);
    color: #090909;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.75),
        0 14px 30px rgba(0,0,0,.36);
}

.search-control button:hover { transform: scale(1.035); }
.search-control button:disabled { cursor: wait; opacity: .55; }

.button-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,.22);
    border-top-color: #070707;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.results-section {
    display: none;
    min-height: 40vh;
    padding: 36px 0 80px;
    transition: padding .72s cubic-bezier(.22, 1, .36, 1);
}

body.search-mode .results-section { display: block; }

body.search-mode .hero {
    min-height: 210px;
    padding: 24px 0 16px;
}

body.search-mode .brand-orbit {
    opacity: 0;
    transform: translateX(-50%) translateY(-28px) scale(.84);
    transition: opacity .45s, transform .72s cubic-bezier(.22, 1, .36, 1);
}

body.search-mode .eyebrow {
    max-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-12px);
}

body.search-mode .hero h1 {
    font-size: clamp(34px, 4.2vw, 56px);
    transform: translateY(-2px);
}

body.search-mode .main-logo {
    gap: 8px;
}

body.search-mode .main-logo span {
    font-size: clamp(32px, 4.2vw, 48px);
    letter-spacing: .22em;
    padding-left: .22em;
}

body.search-mode .main-logo small {
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: .42em;
    padding-left: .42em;
}

body.search-mode .hero-copy {
    max-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
}

body.search-mode .search-form {
    width: min(680px, 100%);
    margin-top: 16px;
}

body.search-mode .search-control {
    min-height: 58px;
    padding-top: 5px;
    padding-bottom: 5px;
}

body.search-mode .search-control input { padding: 10px 0; }
body.search-mode .search-control button {
    width: 46px;
    height: 46px;
    font-size: 27px;
}

body.search-mode .results-section {
    padding-top: 12px;
    animation: results-rise .72s .08s cubic-bezier(.22, 1, .36, 1) both;
}

.results-head {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    min-height: 20px;
    margin-bottom: 18px;
}

.results-head p { margin: 0; color: var(--muted); font-size: 12px; }

.status {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--muted);
    text-align: center;
}

.status-mark {
    padding: 5px 7px;
    border: 1px solid #3b3b38;
    border-radius: 6px;
    color: #d0d0ca;
    font-size: 10px;
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), transparent 42%),
        var(--card-bg);
    color: var(--card-text);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
    animation: card-in .5s both;
    transition: transform .3s, box-shadow .3s, background .3s, border-color .3s;
}

.movie-card:hover {
    border-color: rgba(255,255,255,.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), transparent 42%),
        var(--card-bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .62);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.movie-card:hover img { transform: scale(1.035); }

.poster-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #676763;
    font-size: 34px;
    font-weight: 900;
}

.movie-body { padding: 13px 13px 15px; }

.movie-title {
    min-height: 42px;
    margin: 0;
    font-size: 15px;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.movie-year { margin: 6px 0 13px; color: #92928d; font-size: 11px; }

.ratings { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }

.rating {
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: #d8d8d2;
    background: rgba(255,255,255,.035);
    font-size: 9px;
    font-weight: 800;
}

.details-link {
    display: block;
    padding: 10px 12px;
    background: #e6e6df;
    color: #090909;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
}

.details-link:hover { background: white; }

.skeleton {
    min-height: 360px;
    background: linear-gradient(100deg, #111 25%, #1e1e1e 42%, #111 58%);
    background-size: 220% 100%;
    animation: shimmer 1.2s infinite linear;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@keyframes card-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer { to { background-position-x: -220%; } }

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes results-rise {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
    .movies-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .page-shell { width: min(100% - 24px, 1180px); }
    .hero { min-height: 62vh; padding-top: 68px; }
    .brand-orbit { top: calc(50% - 170px); width: min(340px, 78vw); }
    .main-logo span { font-size: clamp(36px, 12vw, 56px); letter-spacing: .18em; padding-left: .18em; }
    .main-logo small { font-size: clamp(19px, 7vw, 30px); letter-spacing: .42em; padding-left: .42em; }
    .eyebrow { letter-spacing: .34em; }
    .movies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .movie-body { padding: 12px; }
    .movie-title { min-height: 38px; font-size: 14px; }
    .search-control { grid-template-columns: 24px minmax(0, 1fr) auto; min-height: 62px; padding: 7px 8px 7px 18px; border-radius: 100px; }
    .search-control svg { width: 24px; }
    .search-control input { font-size: 15px; }
    .search-control button { width: 46px; height: 46px; font-size: 27px; }
    body.search-mode .hero { min-height: 200px; padding-top: 20px; }
    body.search-mode .hero h1 { font-size: clamp(32px, 10vw, 46px); }
    body.search-mode .main-logo span { font-size: clamp(28px, 8vw, 38px); }
    body.search-mode .main-logo small { font-size: clamp(14px, 4vw, 18px); }
    body.search-mode .search-form { margin-top: 12px; }
    body.search-mode .search-control { padding: 7px 13px; }
    body.search-mode .search-control button { width: 42px; height: 42px; }
}

@media (max-width: 390px) {
    .movies-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Movie detail */
.detail-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 40px;
}

.detail-nav {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.detail-nav a { color: var(--white); text-decoration: none; }
.back-link { color: #aaa !important; font-size: 13px; }
.back-link:hover { color: white !important; }
.mini-logo { font-size: 15px; letter-spacing: -.03em; }

.detail-loading {
    display: flex;
    min-height: calc(100vh - 66px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.loader-line {
    width: min(320px, 70vw);
    height: 2px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #222;
}

.loader-line::after {
    content: "";
    display: block;
    width: 40%;
    height: 100%;
    background: white;
    animation: loader 1s infinite ease-in-out;
}

.movie-detail { animation: card-in .5s both; }

.detail-hero {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: clamp(30px, 4vw, 52px);
    align-items: start;
    min-height: 0;
    padding: 32px 0 28px;
}

.detail-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #171715;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .7);
}

.detail-poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-poster-placeholder { display: grid; height: 100%; place-items: center; color: #555; font-size: 90px; font-weight: 900; }
.detail-kicker { margin: 2px 0 12px; color: #888; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

.detail-copy h1 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 760;
    line-height: 1;
}

.original-title { margin: 10px 0 0; color: #777; font-size: 14px; }
.description-box { margin: 22px 0 18px; }
.detail-description {
    max-width: 790px;
    margin: 0;
    overflow: hidden;
    color: #b8b8b3;
    font-size: 16px;
    line-height: 1.68;
    transition: max-height .55s cubic-bezier(.22, 1, .36, 1);
}

.detail-description.is-collapsible {
    mask-image: linear-gradient(180deg, #000 68%, transparent);
}

.detail-description.expanded { mask-image: none; }

.description-toggle {
    width: 100%;
    margin-top: 14px;
    padding: 12px 18px;
    border: 1px solid #2c2c2a;
    border-radius: 100px;
    background: #141413;
    color: #cfcfca;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color .25s,
        color .25s,
        background .25s,
        transform .55s cubic-bezier(.22, 1, .36, 1),
        margin .55s cubic-bezier(.22, 1, .36, 1);
}

.description-toggle:hover {
    border-color: #5b5b56;
    background: #191918;
    color: white;
    transform: translateY(2px);
}

.detail-description.expanded + .description-toggle {
    margin-top: 18px;
    transform: translateY(4px);
}

.detail-description.expanded + .description-toggle:hover {
    transform: translateY(2px);
}

.detail-ratings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.detail-rating {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 11px;
    border: 1px solid #343432;
    border-radius: 10px;
}

.detail-rating span { color: #777; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.detail-rating strong { font-size: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.detail-tag { padding: 8px 12px; border-radius: 100px; background: #1c1c1a; color: #d0d0ca; font-size: 13px; }

.compact-meta {
    margin-top: 18px;
    border-top: 1px solid #242422;
}

.compact-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.compact-facts .meta-row:nth-child(odd) { border-right: 1px solid #242422; }
.people-block { display: grid; gap: 0; }

.meta-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    padding: 14px 14px;
    border-bottom: 1px solid #242422;
}

.meta-row dt, .meta-row dd { margin: 0; }
.meta-label { color: #7d7d78; font-size: 13px; }
.meta-value { color: #edede8; font-size: 14px; line-height: 1.52; }
.wide-row { grid-template-columns: 150px minmax(0, 1fr); }

.detail-section {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 70px 0;
    border-top: 1px solid var(--line);
}

.section-number { color: #666; font: 700 11px/1 monospace; }
.detail-section h2 { margin: -8px 0 36px; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.055em; }
.facts-grid { max-width: 850px; margin: 0; }

.fact-row {
    display: grid;
    grid-template-columns: minmax(150px, 240px) 1fr;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid #20201f;
}

.fact-row dt { color: #777; font-size: 13px; }
.fact-row dd { margin: 0; color: #deded8; line-height: 1.55; }
.people-block { display: grid; gap: 38px; }
.people-group h3 { margin: 0 0 15px; color: #777; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.people-list { display: flex; flex-wrap: wrap; gap: 9px; }
.person { padding: 11px 14px; border: 1px solid #292927; border-radius: 10px; color: #d3d3cd; font-size: 13px; }
.muted-copy { color: #777; }
.detail-error {
    min-height: 75vh;
    padding-top: 20vh;
    text-align: center;
}

.detail-error > span { display: inline-grid; width: 45px; height: 45px; place-items: center; border: 1px solid #444; border-radius: 50%; }
.detail-error h1 { margin: 25px 0 15px; font-size: clamp(38px, 7vw, 78px); }
.detail-error p { color: #888; }
.detail-error a { display: inline-block; margin-top: 15px; color: white; }

@keyframes loader {
    from { transform: translateX(-120%); }
    to { transform: translateX(350%); }
}

@media (max-width: 760px) {
    .detail-shell { width: min(100% - 24px, 1180px); }
    .detail-hero { grid-template-columns: 1fr; gap: 25px; padding: 24px 0; }
    .detail-poster { width: min(62vw, 260px); margin: 0 auto; }
    .detail-copy h1 { font-size: clamp(36px, 12vw, 54px); }
    .compact-facts { grid-template-columns: 1fr; }
    .compact-facts .meta-row:nth-child(odd) { border-right: 0; }
    .meta-row, .wide-row { grid-template-columns: 120px minmax(0, 1fr); }
    .detail-section { grid-template-columns: 1fr; padding: 55px 0; }
    .section-number { margin-bottom: 10px; }
    .fact-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Player Pipeline */
.player-action {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.player-action button {
    min-width: 150px;
    padding: 12px 24px;
    border: 1px solid #f1f1ec;
    border-radius: 10px;
    background: #f1f1ec;
    color: #090909;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s, background .25s, opacity .25s;
}

.player-action button:not(:disabled):hover {
    transform: translateY(-2px);
    background: white;
}

.player-action button:disabled {
    border-color: #292927;
    background: #131312;
    color: #555;
    cursor: not-allowed;
}

.player-action p { margin: 0; color: #666; font-size: 11px; }
.player-action p.preparing { color: #858580; }
.player-action p.ready { color: #c8c8c2; }
.player-action p.error { color: #8b7777; }

.player-shell {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 56px;
}

.player-back {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.player-secondary-button {
    margin-top: 16px;
    padding: 11px 18px;
    border: 1px solid #3a3a38;
    border-radius: 9px;
    background: #111;
    color: white;
    cursor: pointer;
}

.player-screen { padding-top: 34px; animation: card-in .5s both; }
.player-titlebar { margin-bottom: 28px; }
.player-titlebar p {
    margin: 0 0 10px;
    color: #666;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}

.player-titlebar h1 {
    max-width: 960px;
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -.055em;
    line-height: 1;
}

.player-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
}

.player-poster {
    position: sticky;
    top: 24px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #151514;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .65);
}

.player-poster img { width: 100%; height: 100%; object-fit: cover; }
.player-poster-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    color: #494946;
    font-size: 86px;
    font-weight: 900;
}

.player-content { display: grid; gap: 16px; min-width: 0; }

.player-stage {
    position: relative;
    display: grid;
    min-height: 285px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #2b2b29;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.025), transparent 50%),
        #0b0b0a;
    text-align: center;
}

.player-stage.playback-active {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-color: #383835;
    background: #000;
}

.shyeyes-video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: min(72vh, 720px);
    background: #000;
    object-fit: contain;
}

.player-playback-message {
    display: grid;
    max-width: 540px;
    justify-items: center;
    padding: 42px 26px;
}

.player-playback-message-mark {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid #3c3c39;
    border-radius: 50%;
    color: #888;
    font: 700 12px/1 monospace;
}

.player-playback-message h2 {
    margin: 0;
    color: #e4e4df;
    font-size: clamp(20px, 3vw, 30px);
}

.player-playback-message p {
    margin: 12px 0 0;
    color: #6d6d68;
    font-size: 12px;
    line-height: 1.65;
}

.player-stage.playback-error { border-color: #3d2f2f; }
.player-stage.playback-missing { border-color: #333330; }

.player-info-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #292927;
    border-radius: 16px;
    background: #0b0b0a;
}

.player-info-group { min-width: 0; padding: 20px; border-bottom: 1px solid #252523; }
.player-info-group:nth-child(odd) { border-right: 1px solid #252523; }
.player-info-group h2 {
    margin: 0 0 14px;
    color: #777;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.player-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.player-chip {
    padding: 7px 10px;
    border: 1px solid #383835;
    border-radius: 100px;
    color: #ddd;
    font-size: 11px;
}

.player-option-list { display: grid; gap: 6px; }
.player-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    color: #d5d5cf;
    font-size: 12px;
    line-height: 1.45;
}

.player-option-index { color: #555; font: 700 9px/1 monospace; }
.player-empty { margin: 0; color: #5f5f5b; font-size: 11px; }

.player-technical {
    margin: 18px 0 0 334px;
    border: 1px solid #292927;
    border-radius: 12px;
    background: #0b0b0a;
}

.player-technical summary {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    color: #888;
    font-size: 11px;
    list-style: none;
    cursor: pointer;
}

.player-technical summary::-webkit-details-marker { display: none; }
.player-technical[open] summary span { transform: rotate(45deg); }
.player-technical dl { margin: 0; padding: 0 18px 14px; }
.player-tech-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 10px 0;
    border-top: 1px solid #222220;
}

.player-tech-row dt { color: #666; font-size: 10px; }
.player-tech-row dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #ccc; font-size: 11px; }

@media (max-width: 800px) {
    .player-shell { width: min(100% - 24px, 1220px); }
    .player-layout { grid-template-columns: 1fr; }
    .player-poster { position: static; width: min(60vw, 260px); margin: 0 auto; }
    .player-technical { margin-left: 0; }
}

@media (max-width: 560px) {
    .player-action { align-items: flex-start; flex-direction: column; }
    .player-action button { width: 100%; }
    .player-info-card { grid-template-columns: 1fr; }
    .player-info-group:nth-child(odd) { border-right: 0; }
    .player-stage { min-height: 245px; }
    .player-stage.playback-active { min-height: 0; }
    .player-tech-row { grid-template-columns: 1fr; gap: 5px; }
}
