:root { color-scheme: dark; --bg: #090611; --bg-2: #140d21; --panel: rgba(25, 18, 41, 0.82); --panel-strong: rgba(18, 13, 31, 0.92); --panel-2: rgba(157, 123, 255, 0.12); --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(157, 123, 255, 0.26); --text: #f6f2ff; --muted: #b8b0cf; --accent: #9d7bff; --accent-strong: #7b5cff; --accent-soft: rgba(157, 123, 255, 0.14); --good: #95e4ba; --bad: #ff90a4; --focus: #b296ff; --shadow: 0 24px 60px rgba(5, 2, 15, 0.42); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, rgba(157, 123, 255, 0.18), transparent 28%), radial-gradient(circle at top right, rgba(117, 201, 255, 0.12), transparent 24%), linear-gradient(180deg, #120c1d 0%, #0b0813 56%, #07050d 100%); color: var(--text); font: 15px/1.5 "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%); opacity: 0.5; } button, input, textarea { font: inherit; } button { min-height: 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); color: var(--text); padding: 0 14px; cursor: pointer; transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease; } button:hover { border-color: var(--line-strong); background: rgba(157, 123, 255, 0.18); transform: translateY(-1px); } button:disabled { cursor: wait; opacity: 0.72; transform: none; } button.ghost { background: transparent; } .hidden { display: none !important; } input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 7, 18, 0.82); color: var(--text); padding: 0.75rem 0.85rem; outline: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); } input { min-height: 42px; } textarea { resize: vertical; } input:focus, textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(178, 150, 255, 0.12); } h1, h2, h3, p { margin: 0; } h1 { font-size: 29px; line-height: 1.05; letter-spacing: 0; } h2 { font-size: 17px; letter-spacing: 0; } h3 { font-size: 15px; } .app { position: relative; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); min-height: 100vh; } .sidebar, .layout { padding: 22px; } .sidebar { position: sticky; top: 0; height: 100vh; overflow: auto; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(25, 18, 41, 0.94), rgba(14, 10, 24, 0.9)); display: grid; align-content: start; gap: 20px; backdrop-filter: blur(18px) saturate(170%); } .layout { display: grid; gap: 20px; min-width: 0; align-content: start; } .topline, .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .brand-wrap { display: grid; gap: 6px; } .shell-note, .muted, .title-card__meta, .episode span, .summary p, label span { color: var(--muted); font-size: 13px; } .badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); background: rgba(255, 255, 255, 0.04); font-size: 12px; line-height: 1; white-space: nowrap; } .page-links { display: grid; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); } .page-link, .page-action { display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 40px; border: 0; border-radius: 12px; padding: 0 14px; color: var(--muted); background: transparent; font-weight: 700; text-decoration: none; transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease; } .page-link.active, .page-action:hover { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px rgba(157, 123, 255, 0.22); } .page-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); } .search-label, label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; } .collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; min-width: 0; } .title-card { display: grid; gap: 12px; width: 100%; min-height: auto; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(32, 24, 54, 0.9) 0%, rgba(17, 13, 29, 0.96) 100%); box-shadow: 0 18px 38px rgba(5, 2, 15, 0.32); padding: 14px; text-align: left; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; } .title-card:hover { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(38, 28, 64, 0.94) 0%, rgba(19, 14, 32, 0.98) 100%); transform: translateY(-2px); } .title-card__poster { aspect-ratio: 3 / 4; position: relative; border: 1px solid rgba(157, 123, 255, 0.16); border-radius: 16px; background: radial-gradient(circle at top, rgba(157, 123, 255, 0.28), transparent 44%), linear-gradient(180deg, #221734 0%, #0c0915 100%); overflow: hidden; display: grid; place-items: center; } .title-card__poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.16s ease; } .title-card__poster.has-image img { opacity: 1; } .title-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #d8e5ef; font-size: 28px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; background: linear-gradient(180deg, rgba(157, 123, 255, 0.24), rgba(9, 7, 15, 0.18)); } .title-card__poster.has-image .title-card__fallback { display: none; } .title-card__name { font-weight: 800; overflow-wrap: anywhere; } .title-card__meta { color: var(--muted); font-size: 13px; } .toolbar, .details, .empty, .episode { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(29, 22, 47, 0.88), rgba(17, 13, 29, 0.94)); box-shadow: var(--shadow); backdrop-filter: blur(18px); } .toolbar { min-height: 76px; padding: 18px; } .details { padding: 18px; overflow: hidden; } .empty { min-height: 55vh; display: grid; place-content: center; text-align: center; gap: 0.6rem; color: var(--muted); box-shadow: none; } .empty h2 { color: var(--text); } .hero { display: grid; grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: 18px; align-items: start; } .poster { aspect-ratio: 3 / 4; position: relative; border: 1px solid rgba(157, 123, 255, 0.16); border-radius: 16px; background: radial-gradient(circle at top, rgba(157, 123, 255, 0.28), transparent 44%), linear-gradient(180deg, #221734 0%, #0c0915 100%); overflow: hidden; display: grid; place-items: center; } .poster img { width: 100%; height: 100%; object-fit: cover; } .poster span { position: absolute; inset: 0; display: grid; place-items: center; color: #d8e5ef; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 900; letter-spacing: 0; text-transform: uppercase; background: linear-gradient(180deg, rgba(157, 123, 255, 0.24), rgba(9, 7, 15, 0.18)); } .summary { min-width: 0; } .summary__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; } .summary__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .summary h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.02; overflow-wrap: anywhere; } .summary p { margin-top: 0.45rem; } .meta-view { display: grid; gap: 12px; max-width: 780px; } .meta-view section { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); padding: 14px; } .meta-view span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .meta-view p { margin: 0; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; } .meta-form { display: grid; gap: 0.85rem; max-width: 780px; } .meta-form__actions { display: flex; gap: 8px; flex-wrap: wrap; } .meta-form .primary { justify-self: start; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); border-color: transparent; color: #fcfaff; font-weight: 800; box-shadow: 0 16px 32px rgba(123, 92, 255, 0.26); } .seasons { display: grid; gap: 1rem; margin-top: 1.5rem; } .season { border-top: 1px solid var(--line); padding-top: 1rem; } .season h3 { color: #ddd0ff; font-size: 13px; font-weight: 800; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; } .episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } .episode { display: grid; gap: 10px; align-items: start; min-height: auto; padding: 12px; text-align: left; box-shadow: none; } .episode:hover { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(38, 28, 64, 0.94) 0%, rgba(19, 14, 32, 0.98) 100%); } .episode__thumb { position: relative; aspect-ratio: 16 / 9; border: 1px solid rgba(157, 123, 255, 0.16); border-radius: 14px; background: radial-gradient(circle at top, rgba(157, 123, 255, 0.22), transparent 44%), linear-gradient(180deg, #221734 0%, #0c0915 100%); overflow: hidden; } .episode__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .episode__play { position: absolute; right: 10px; bottom: 10px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 5px 9px; color: var(--text); background: rgba(9, 6, 17, 0.74); font-size: 12px; font-weight: 800; } .episode__name { color: var(--text); font-weight: 800; } .episode__meta { color: var(--muted); font-size: 13px; } .episode__name, .episode__meta { overflow-wrap: anywhere; } .player-overlay { position: fixed; inset: 0; z-index: 20; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 12px; padding: 24px; background: #050308; } .player-video { width: 100%; max-width: min(100%, 1600px); max-height: calc(100vh - 120px); border: 1px solid var(--line); border-radius: 16px; background: #050308; } .player-close { position: fixed; top: 18px; right: 18px; z-index: 21; } .player-now-playing { color: var(--muted); font-size: 13px; text-align: center; } @media (max-width: 980px) { .app, .hero { grid-template-columns: 1fr; } .sidebar { position: relative; height: auto; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); } .layout { padding-top: 18px; } .summary__header, .toolbar { align-items: flex-start; flex-direction: column; } } @media (max-width: 560px) { .sidebar, .layout { padding: 16px; } .topline { align-items: flex-start; } .details, .toolbar { border-radius: 18px; padding: 14px; } .summary h2 { font-size: 2rem; } .collection-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }