:root {
    --orb-bg: #07080b;
    --orb-ink: #f4f1e8;
    --orb-muted: #a9b1bd;
    --orb-soft: #6f7a8c;
    --orb-line: rgba(244, 241, 232, .13);
    --orb-panel: rgba(18, 20, 27, .86);
    --orb-panel-2: rgba(27, 31, 42, .88);
    --orb-mint: #8df0c9;
    --orb-gold: #f2c15f;
    --orb-rose: #ff6e8a;
    --orb-radius: 8px;
    --orb-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--orb-bg); }
body.orb-body {
    min-height: 100vh;
    color: var(--orb-ink);
    background:
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(180deg, #07080b 0%, #11141b 48%, #08090d 100%);
    background-size: 76px 100%, auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.orb-shell > :not(.orb-rail):not(.orb-stage),
.orb-stage > :not(.orb-topbar):not(.orb-channel-panel):not(.orb-main):not(.orb-search-cloud):not(.orb-footer),
.orb-rail > :not(.orb-brand):not(.orb-rail-nav):not(.orb-menu),
.orb-topbar > :not(.orb-mobile-menu):not(.orb-search):not(.orb-toplink),
.orb-main > :not(.orb-landing):not(.orb-section):not(.orb-page-head):not(.orb-index-filter):not(.orb-filter):not(.orb-list-grid):not(.orb-pagination):not(.orb-empty):not(.orb-detail):not(.orb-watch),
.orb-landing > :not(.orb-orbit):not(.orb-landing__copy):not(.orb-landing__poster):not(.orb-queue),
.orb-section > :not(.orb-section__head):not(.orb-strip):not(.orb-mosaic),
.orb-card > :not(.orb-card__poster):not(h3):not(p),
.orb-list-item > :not(.orb-list-item__poster):not(div),
.orb-detail-hero > :not(.orb-detail-poster):not(.orb-detail-card),
.orb-detail-layout > :not(.orb-detail-main):not(.orb-related),
.orb-panel > :not(.orb-panel__head):not(.orb-source):not(div),
.orb-source > :not(h3):not(.orb-episodes),
.orb-episodes > :not(a),
.orb-watch-grid > :not(.orb-player-zone):not(.orb-playlist),
.orb-playlist > :not(header):not(.orb-source),
.orb-search-cloud div > :not(a) { display: none !important; }

.orb-shell { min-height: 100vh; display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.orb-stage { min-width: 0; padding: 0 30px 42px; }
.orb-main, .orb-search-cloud, .orb-footer { width: min(1500px, 100%); margin: 0 auto; }

.orb-rail { position: sticky; top: 0; height: 100vh; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: 22px 16px; border-right: 1px solid var(--orb-line); background: rgba(7,8,11,.88); backdrop-filter: blur(18px); }
.orb-brand { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 950; }
.orb-brand__mark { width: 54px; height: 54px; border: 1px solid rgba(141,240,201,.45); border-radius: 50%; position: relative; background: radial-gradient(circle, rgba(141,240,201,.32), rgba(141,240,201,.04) 58%, transparent 59%); box-shadow: 0 0 34px rgba(141,240,201,.22); }
.orb-brand__mark::before, .orb-brand__mark::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(242,193,95,.55); border-radius: 50%; }
.orb-brand__mark::after { inset: 22px; background: var(--orb-mint); border: 0; }
.orb-rail-nav { display: grid; align-content: center; gap: 10px; }
.orb-rail-nav a { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 6px; border: 1px solid transparent; border-radius: 18px; color: var(--orb-muted); writing-mode: vertical-rl; letter-spacing: 0; font-size: 14px; }
.orb-rail-nav a:hover, .orb-rail-nav a.is-active { color: #07100d; border-color: transparent; background: var(--orb-mint); }
.orb-menu, .orb-mobile-menu { border: 1px solid var(--orb-line); background: rgba(255,255,255,.06); cursor: pointer; }
.orb-menu { width: 100%; height: 46px; border-radius: 18px; }
.orb-menu span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--orb-ink); }

.orb-topbar { position: sticky; top: 0; z-index: 900; min-height: 78px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: linear-gradient(180deg, rgba(7,8,11,.95), rgba(7,8,11,.64)); backdrop-filter: blur(18px); }
.orb-mobile-menu { display: none; width: 44px; height: 44px; border-radius: var(--orb-radius); }
.orb-mobile-menu span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--orb-ink); }
.orb-search { width: min(520px, 52vw); display: grid; grid-template-columns: minmax(0, 1fr) 86px; border: 1px solid var(--orb-line); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.orb-search input { min-width: 0; height: 44px; border: 0; outline: 0; padding: 0 18px; color: var(--orb-ink); background: transparent; }
.orb-search input::placeholder { color: var(--orb-soft); }
.orb-search button, .orb-toplink, .orb-btn, .orb-panel__head button, .orb-playlist header button { border: 0; border-radius: 999px; color: #07100d; background: var(--orb-mint); font-weight: 950; cursor: pointer; }
.orb-search button { height: 44px; }
.orb-toplink { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; }

.orb-channel-panel { position: fixed; z-index: 950; left: 132px; top: 20px; bottom: 20px; width: min(520px, calc(100vw - 160px)); padding: 16px; opacity: 0; visibility: hidden; transform: translateX(-24px) scale(.98); transition: .22s ease; }
body.is-orb-panel-open .orb-channel-panel { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }
.orb-channel-panel__inner { height: 100%; overflow: auto; padding: 20px; border: 1px solid var(--orb-line); border-radius: 28px; background: rgba(17,20,27,.96); box-shadow: var(--orb-shadow); }
.orb-channel-panel__inner > a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px; color: #07100d; background: var(--orb-mint); }
.orb-channel-panel section { margin-top: 22px; }
.orb-channel-panel h2 { margin-bottom: 10px; font-size: 18px; }
.orb-channel-panel section div { display: flex; flex-wrap: wrap; gap: 9px; }
.orb-channel-panel section a, .orb-filter a, .orb-pagination a, .orb-pagination span, .orb-search-cloud a, .orb-index-filter__chip { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 999px; color: var(--orb-muted); background: rgba(255,255,255,.07); }
.orb-channel-panel section a:hover, .orb-channel-panel section a.is-active, .orb-filter a:hover, .orb-filter a.is-active, .orb-pagination span, .orb-search-cloud a:hover, .orb-index-filter__chip:hover { color: #07100d; background: var(--orb-mint); }
.orb-index-filter__chip.is-active { color: #07100d !important; background: var(--orb-mint) !important; border-color: transparent !important; }

.orb-landing { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 330px) 320px; gap: 28px; align-items: center; position: relative; padding: 28px 0 44px; }
.orb-orbit { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb-orbit span { position: absolute; border: 1px solid rgba(141,240,201,.16); border-radius: 50%; transform: rotate(-20deg); }
.orb-orbit span:nth-child(1) { width: 62vw; height: 62vw; left: -20vw; top: 4vh; }
.orb-orbit span:nth-child(2) { width: 38vw; height: 38vw; right: 18vw; bottom: -16vw; border-color: rgba(242,193,95,.18); }
.orb-orbit span:nth-child(3) { width: 18vw; height: 18vw; right: 4vw; top: 16vh; border-color: rgba(255,110,138,.16); }
.orb-landing__copy, .orb-landing__poster, .orb-queue, .orb-panel, .orb-related, .orb-playlist, .orb-list-item { border: 1px solid var(--orb-line); background: var(--orb-panel); box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.orb-landing__copy { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 70px); border-radius: 36px; position: relative; z-index: 1; }
.orb-kicker { color: var(--orb-mint); font-size: 12px; font-weight: 950; margin-bottom: 8px; }
.orb-landing h1, .orb-page-head h1, .orb-detail-card h1, .orb-watch-head h1 { max-width: 980px; color: #fff; font-size: clamp(42px, 7vw, 92px); line-height: .98; letter-spacing: 0; }
.orb-landing p, .orb-page-head p, .orb-detail-card > p { max-width: 700px; margin-top: 16px; color: var(--orb-muted); font-size: 16px; }
.orb-tags, .orb-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.orb-tags span { min-height: 30px; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; color: var(--orb-muted); background: rgba(255,255,255,.08); }
.orb-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--orb-line); color: var(--orb-ink); background: rgba(255,255,255,.08); }
.orb-btn--main { color: #07100d; border-color: transparent; background: var(--orb-mint); }
.orb-landing__poster { align-self: stretch; min-height: 480px; position: relative; overflow: hidden; border-radius: 36px; transform: rotate(2deg); z-index: 1; }
.orb-landing__poster img { width: 100%; height: 100%; object-fit: cover; }
.orb-card__poster span, .orb-landing__poster span { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 3px 9px; border-radius: 999px; color: #07100d; background: var(--orb-gold); font-size: 12px; font-weight: 950; }
.orb-queue { align-self: stretch; display: grid; align-content: center; gap: 10px; padding: 20px; border-radius: 36px; z-index: 1; }
.orb-queue h2 { font-size: 22px; }
.orb-queue a { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); }
.orb-queue em { color: var(--orb-gold); font-style: normal; font-weight: 950; }
.orb-queue strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orb-queue span { grid-column: 2; color: var(--orb-soft); font-size: 12px; }

.orb-section, .orb-page-head, .orb-detail, .orb-watch { padding: 34px 0; }
.orb-section__head, .orb-panel__head, .orb-playlist header { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.orb-section__head h2, .orb-panel__head h2, .orb-related h2, .orb-playlist h2, .orb-watch-recs h2, .orb-search-cloud h2 { color: #fff; font-size: 27px; }
.orb-section__head > a { color: var(--orb-mint); font-weight: 950; }
.orb-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.orb-mosaic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.orb-card--wide { grid-column: span 2; }
.orb-card__poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 24px; background: var(--orb-panel-2); border: 1px solid var(--orb-line); }
.orb-card--wide .orb-card__poster { aspect-ratio: 4 / 3; }
.orb-card__poster img, .orb-list-item__poster img, .orb-detail-poster img, .orb-related img, .orb-watch-recs img { width: 100%; height: 100%; object-fit: cover; }
.orb-card h3 { margin-top: 10px; color: #fff; font-size: 15px; line-height: 1.34; }
.orb-card p { color: var(--orb-soft); font-size: 13px; }

.orb-page-head { max-width: 980px; }
.orb-list-subtitle { margin-top: 10px; color: var(--orb-soft); font-size: 14px; }
.orb-filter-cta { margin-top: 14px; }
.orb-index-filter { margin: 0 0 28px; padding: 20px 22px; border: 1px solid var(--orb-line); border-radius: 28px; background: var(--orb-panel); box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.orb-index-filter__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--orb-line); }
.orb-index-filter__title { font-size: 15px; font-weight: 950; color: #fff; }
.orb-index-filter__badge { font-size: 11px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; color: #07100d; background: var(--orb-gold); }
.orb-index-filter__hint { font-size: 14px; color: var(--orb-muted); margin: -6px 0 14px; line-height: 1.5; }
.orb-index-filter__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 18px; margin-bottom: 14px; }
.orb-index-filter__row:last-of-type { margin-bottom: 0; }
.orb-index-filter__label { flex: 0 0 auto; min-width: 3em; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--orb-mint); }
.orb-index-filter__chips { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.orb-index-filter__footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--orb-line); }
.orb-index-filter__back { font-size: 14px; font-weight: 700; color: var(--orb-mint); }
.orb-index-filter__back:hover { text-decoration: underline; }
.orb-filter, .orb-pagination, .orb-search-cloud div { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 24px; }
.orb-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.orb-list-item { min-width: 0; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 28px; }
.orb-list-item__poster { aspect-ratio: 2 / 3; overflow: hidden; border-radius: 18px; background: var(--orb-panel-2); }
.orb-list-item h2 { color: #fff; font-size: 20px; }
.orb-list-item p { margin-top: 6px; color: var(--orb-muted); }
.orb-empty { margin: 34px 0; padding: 34px; border: 1px solid var(--orb-line); border-radius: 28px; color: var(--orb-muted); background: var(--orb-panel); text-align: center; }

.orb-detail-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.orb-detail-poster { overflow: hidden; border-radius: 38px; aspect-ratio: 2 / 3; box-shadow: var(--orb-shadow); }
.orb-detail-card { padding: clamp(24px, 4vw, 52px); border: 1px solid var(--orb-line); border-radius: 38px; background: linear-gradient(135deg, rgba(28,32,43,.92), rgba(16,18,24,.9)); }
.orb-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--orb-soft); font-size: 13px; }
.orb-facts { display: grid; gap: 8px; margin-top: 18px; color: var(--orb-muted); }
.orb-facts div { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; }
.orb-facts dt { color: var(--orb-mint); font-weight: 950; }
.orb-adjacent, .orb-episode-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.orb-adjacent a, .orb-adjacent > span, .orb-episode-nav a, .orb-episode-nav > span { min-width: 0; padding: 13px 14px; border: 1px solid var(--orb-line); border-radius: 18px; background: rgba(255,255,255,.06); }
.orb-adjacent span span, .orb-adjacent a span, .orb-episode-nav span span, .orb-episode-nav a span { display: block; color: var(--orb-mint); font-size: 12px; font-weight: 950; }
.orb-adjacent strong, .orb-episode-nav strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orb-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 26px; }
.orb-panel, .orb-related, .orb-playlist { min-width: 0; padding: 22px; border-radius: 30px; }
.orb-panel { margin-bottom: 20px; }
.orb-panel__head button, .orb-playlist header button { min-height: 34px; padding: 0 12px; }
.orb-source + .orb-source { margin-top: 18px; }
.orb-source h3 { margin-bottom: 10px; color: var(--orb-muted); }
.orb-episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.orb-episodes a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 999px; color: var(--orb-muted); background: rgba(255,255,255,.08); font-size: 13px; text-align: center; }
.orb-episodes a:hover, .orb-episodes a.is-active { color: #07100d; background: var(--orb-mint); }
.orb-story-title { margin-top: 18px; color: #fff; font-size: 18px; font-weight: 950; }
.orb-story-title:first-child { margin-top: 0; }
.orb-story-text { margin-top: 8px; color: var(--orb-muted); }
.orb-related { position: sticky; top: 96px; align-self: start; }
.orb-related a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--orb-line); }
.orb-related img { aspect-ratio: 2 / 3; border-radius: 12px; }
.orb-related strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orb-related em { color: var(--orb-soft); font-style: normal; font-size: 12px; }

.orb-watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; align-items: start; }
.orb-watch-head { margin-bottom: 16px; }
.orb-watch-head h1 small { display: block; margin-top: 8px; color: var(--orb-muted); font-size: 18px; }
.orb-player { width: 100%; max-width: 100%; overflow: hidden; border-radius: 30px; background: #000; box-shadow: var(--orb-shadow); }
.orb-player-container { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; min-height: 390px; background: #000; }
.orb-player *, .orb-player-container * { max-width: 100%; }
.orb-playlist { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
.orb-episodes--side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.orb-watch-recs { margin-top: 24px; }
.orb-watch-recs div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.orb-watch-recs a { min-width: 0; color: var(--orb-muted); }
.orb-watch-recs img { aspect-ratio: 2 / 3; border-radius: 16px; }
.orb-watch-recs span { display: block; margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.orb-search-cloud, .orb-footer { padding: 28px 0; border-top: 1px solid var(--orb-line); }
.orb-footer { color: var(--orb-soft); text-align: center; }

@media (max-width: 1180px) {
    .orb-shell { grid-template-columns: 1fr; }
    .orb-rail { position: fixed; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--orb-line); }
    .orb-brand { display: flex; justify-items: start; }
    .orb-brand__mark { width: 38px; height: 38px; }
    .orb-brand__mark::before { inset: 8px; }
    .orb-brand__mark::after { inset: 17px; }
    .orb-rail-nav { display: none; }
    .orb-menu { width: 44px; height: 44px; margin-left: auto; }
    .orb-stage { padding: 64px 22px 34px; }
    .orb-topbar { top: 64px; min-height: 64px; justify-content: space-between; }
    .orb-mobile-menu { display: inline-block; }
    .orb-channel-panel { left: 16px; top: 82px; bottom: 16px; width: min(520px, calc(100vw - 32px)); }
    .orb-landing, .orb-detail-layout, .orb-watch-grid { grid-template-columns: 1fr; }
    .orb-landing__poster { min-height: 420px; transform: none; }
    .orb-queue, .orb-related, .orb-playlist { position: static; max-height: none; }
    .orb-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .orb-stage { padding-left: 14px; padding-right: 14px; }
    .orb-toplink { display: none; }
    .orb-search { width: 100%; }
    .orb-landing__copy { min-height: auto; }
    .orb-landing__poster { min-height: auto; aspect-ratio: 2 / 3; }
    .orb-mosaic, .orb-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .orb-card--wide { grid-column: span 2; }
    .orb-list-item { grid-template-columns: 92px minmax(0, 1fr); }
    .orb-detail-hero { grid-template-columns: 1fr; }
    .orb-detail-poster { width: min(250px, 74vw); }
    .orb-player-container { min-height: 0; height: auto; }
    .orb-watch-recs div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .orb-landing h1, .orb-page-head h1, .orb-detail-card h1, .orb-watch-head h1 { font-size: 36px; }
    .orb-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .orb-list-grid { grid-template-columns: 1fr; }
    .orb-adjacent, .orb-episode-nav { grid-template-columns: 1fr; }
    .orb-panel, .orb-related, .orb-playlist, .orb-detail-card { padding: 16px; border-radius: 22px; }
    .orb-episodes--side { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
    .orb-player, .orb-player > div, .orb-player-container, .orb-player-container > div { width: 100% !important; max-width: 100% !important; }
}
