:root {
  color-scheme: dark;
  --page: #09090d;
  --surface: #15151b;
  --surface-raised: #1c1b23;
  --line: rgba(255,255,255,.1);
  --text: #f7f4f1;
  --muted: #a4a0a6;
  --accent: #ed725e;
  --accent-light: #ffb28a;
  --gold: #e8bd9f;
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); color: var(--text); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 18% 0%, #36232a 0, transparent 28%), radial-gradient(circle at 100% 40%, #1b1a2a 0, transparent 40%); pointer-events: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }
.app-shell { min-height: 100vh; overflow: clip; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(10,10,14,.86); border-bottom: 1px solid rgba(255,255,255,.075); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.topbar-inner { max-width: 1600px; min-height: 77px; margin: auto; padding: 0 clamp(24px,4.2vw,68px); display: flex; align-items: center; gap: clamp(28px,4vw,70px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 900; letter-spacing: .18em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #190e12; background: linear-gradient(145deg,#ffd9b6,#ed806c 60%,#bd4a53); box-shadow: 0 0 24px #e7766966; font-family: Georgia,serif; font-size: 23px; font-style: italic; letter-spacing: -.1em; padding-right: 3px; transform: rotate(-8deg); }
.brand-dot { color: var(--accent); }
.main-nav { display: flex; align-items: stretch; gap: 27px; height: 77px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 7px; border: 0; padding: 0 1px; background: none; color: #a5a0a7; font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .18s ease; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after { content: ""; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; border-radius: 2px; background: linear-gradient(90deg,var(--accent),var(--gold)); box-shadow: 0 0 16px var(--accent); }
.nav-count { display: inline-grid; place-items: center; min-width: 21px; height: 20px; padding: 0 5px; border-radius: 6px; background: #ffffff16; color: var(--gold); font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-box { display: flex; align-items: center; gap: 9px; width: clamp(165px,16vw,240px); height: 40px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: #ffffff09; transition: border-color .2s,background .2s; }
.search-box:focus-within { border-color: #ed9c84; background: #ffffff11; }
.search-box svg, .tracker-input-wrap svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; color: #aaa3aa; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; color: white; background: none; font-size: 12px; }
.search-box input::placeholder { color: #8c8790; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; border: 1px solid transparent; border-radius: 9px; padding: 0 18px; font-size: 12px; font-weight: 800; white-space: nowrap; transition: transform .2s ease,background .2s ease,box-shadow .2s ease,border-color .2s ease; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg,#f28a70,#e3655b); color: #200d10; box-shadow: 0 8px 24px #db5d5550; }
.button-primary:not(:disabled):hover { background: linear-gradient(135deg,#ffae89,#f27865); box-shadow: 0 11px 30px #db5d5573; }
.button-ghost { background: #ffffff16; color: #fff; border-color: #ffffff33; backdrop-filter: blur(10px); }
.button-ghost:hover { background: #ffffff25; border-color: #ffffff60; }
.button-secondary { background: #302c35; color: #efe6e6; border-color: #ffffff13; }
.plus { font-size: 21px; font-weight: 400; line-height: 15px; }
.button-large { min-height: 50px; padding: 0 22px; font-size: 13px; }
.play-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; font-size: 13px; }
.hero { position: relative; display: flex; align-items: center; isolation: isolate; width: min(calc(100% - 48px),1552px); min-height: clamp(490px,45vw,690px); margin: 23px auto 0; overflow: hidden; border: 1px solid #ffffff17; border-radius: 22px; background: radial-gradient(circle at 74% 43%,#70454c 0,#34252e 32%,#15141d 67%,#101016 100%); box-shadow: 0 30px 80px #0008,inset 0 0 0 1px #ffffff08; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#111117 0%,#111117f5 28%,#11111785 58%,#11111718 100%),linear-gradient(0deg,#0d0d12be 0,transparent 42%),linear-gradient(180deg,#09090d36,transparent 30%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; opacity: .24; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); mix-blend-mode: screen; pointer-events: none; }
.hero-image-wrap { position: absolute; inset: 0; z-index: -2; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.9) contrast(1.07); }
.hero-art { position: absolute; right: 2%; top: 50%; z-index: -2; width: min(55vw,730px); height: min(55vw,730px); transform: translateY(-50%) rotate(-18deg); opacity: .82; transition: opacity .4s; }
.hero.has-poster .hero-art { opacity: 0; }
.art-ring { position: absolute; inset: 0; border: 1px solid #f5b99440; border-radius: 50%; box-shadow: 0 0 0 55px #e6a27d08,0 0 0 112px #e6a27d05; }
.ring-two { inset: 12%; border-color: #f5b99435; }
.art-disc { position: absolute; inset: 24%; border-radius: 50%; background: repeating-radial-gradient(circle at center,#1e1b24 0,#2d242d 2px,#1b1a23 5px,#483039 6px,#1b1a23 9px); box-shadow: 0 0 100px #f2937660,0 20px 90px #000b; }
.art-disc::before { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: radial-gradient(circle,#1f1a23 0 12%,#e89073 14% 58%,#9a514f 60% 64%,#ffc49b 66%); }
.art-light { position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 130px 45px #e4866650; }
.hero-content { position: relative; z-index: 4; max-width: min(750px,66%); padding: clamp(70px,8vw,120px) 0 clamp(92px,9vw,125px) clamp(35px,7vw,108px); }
.hero-kicker, .section-kicker, .modal-kicker, .player-overline { color: var(--accent-light); font-size: 10px; font-weight: 900; letter-spacing: .24em; }
.hero-kicker { display: flex; align-items: center; gap: 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fb9575; box-shadow: 0 0 0 5px #fb957525,0 0 13px #fb9575; }
.hero h1 { margin: 22px 0 19px; max-width: 710px; font-size: clamp(51px,6.25vw,98px); font-weight: 800; letter-spacing: -.073em; line-height: 1.02; text-wrap: balance; text-shadow: 0 3px 40px #0008; }
.hero h1 em, .discovery-section h2 em { color: #ffc9a6; font-family: Georgia,serif; font-weight: 400; letter-spacing: -.065em; }
.hero p { max-width: 440px; margin: 0; color: #d2c9c9; font-size: 15px; line-height: 1.8; text-shadow: 0 2px 12px #0008; }
.hero-feature-meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: #ebc1a7; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.feature-rule { width: 25px; height: 1px; background: currentColor; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero.featured #add-hero { background: #ffffff17; color: white; border-color: #ffffff40; box-shadow: none; }
.hero.featured #add-hero:hover { background: #ffffff29; }
.hero-corner { position: absolute; right: 35px; bottom: 30px; z-index: 4; color: #e8d1c7a8; font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.hero-corner span { color: var(--accent); padding: 0 6px; }
.overview-strip { width: min(calc(100% - 100px),1450px); margin: 0 auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); color: #a4a0a8; font-size: 12px; }
.overview-copy, .overview-stats { display: flex; align-items: center; gap: 12px; }
.overview-symbol { color: var(--accent); font-size: 21px; }
.overview-stats { gap: 16px; }
.overview-stats strong { color: #f7e2d3; font-size: 15px; }
.overview-divider { width: 1px; height: 17px; background: #ffffff30; }
.library-section { max-width: 1550px; margin: auto; padding: 68px clamp(24px,4.2vw,68px) 92px; scroll-margin-top: 105px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading h2 { margin: 8px 0 8px; font-size: clamp(27px,3vw,40px); letter-spacing: -.055em; line-height: 1.12; }
.section-heading h2 span { margin-left: 5px; color: #88818c; font-size: .48em; font-weight: 500; letter-spacing: 0; vertical-align: middle; }
.section-heading p { margin: 0; color: #908a95; font-size: 13px; }
.filter-group { display: flex; gap: 4px; padding: 5px; border: 1px solid #ffffff16; border-radius: 11px; background: #ffffff08; }
.filter { border: 0; border-radius: 7px; padding: 9px 15px; background: none; color: #aaa4ad; font-size: 12px; font-weight: 800; }
.filter:hover { color: white; }
.filter.active { color: #fff; background: #ffffff18; box-shadow: inset 0 0 0 1px #ffffff13; }
.feedback { margin-top: 20px; padding: 13px 16px; border: 1px solid #a75c55; border-radius: 9px; background: #472b2c; color: #ffcfba; font-size: 13px; }
.empty-state { display: grid; place-items: center; min-height: 280px; margin-top: 27px; padding: 35px; border: 1px dashed #ffffff2e; border-radius: 17px; background: radial-gradient(circle at 50% 0,#472b3047,transparent 60%),#15151b; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 17px; border-radius: 19px; background: linear-gradient(145deg,#5d383c,#2e2631); color: #ffd1ac; font-size: 31px; box-shadow: 0 0 0 7px #ffffff07; }
.empty-state h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.03em; }
.empty-state p { max-width: 390px; margin: 0 auto 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(15px,2vw,26px); margin-top: 29px; }
.movie-card { min-width: 0; position: relative; }
.poster { position: relative; display: block; width: 100%; aspect-ratio: 16/10.5; overflow: hidden; padding: 0; border: 1px solid #ffffff1c; border-radius: 13px; background: linear-gradient(145deg,var(--color-a),var(--color-b)); color: #fff; text-align: left; box-shadow: 0 15px 34px #0006; transition: transform .28s,box-shadow .28s,border-color .28s; }
.movie-card:hover .poster { transform: translateY(-5px); box-shadow: 0 22px 45px #0009; border-color: #ffd0ad72; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg,#09090def 0,#09090d60 47%,transparent 90%); pointer-events: none; }
.poster::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .35; background: radial-gradient(circle at 70% 25%,transparent 10%,#08080d 100%); pointer-events: none; }
.poster-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.movie-card:hover .poster-image { transform: scale(1.06); }
.poster-letter { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); color: #ffffff50; font-family: Georgia,serif; font-size: clamp(80px,9vw,150px); font-style: italic; line-height: 1; text-shadow: 0 15px 40px #0007; }
.poster-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px; }
.poster-type { color: #ffc29a; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.poster-title { overflow: hidden; margin-top: 7px; font-size: clamp(18px,1.7vw,26px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.poster-play { position: absolute; right: 15px; top: 15px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff88; border-radius: 50%; background: #111117bb; color: white; font-size: 15px; opacity: 0; transform: translateY(7px); transition: opacity .2s,transform .2s,background .2s; }
.movie-card:hover .poster-play, .poster:focus-visible .poster-play, .movie-card.has-watch .poster-play { opacity: 1; transform: none; }
.poster-play:hover { background: var(--accent); color: #1a1012; }
.poster-status { position: absolute; top: 15px; left: 15px; z-index: 3; padding: 7px 9px; border: 1px solid #ffffff24; border-radius: 6px; background: #111117c9; color: #fff; font-size: 10px; font-weight: 800; }
.poster-watch-label { position: absolute; top: 15px; left: 15px; z-index: 3; padding: 7px 9px; border: 1px solid #ffbc9280; border-radius: 6px; background: #171115cf; color: #ffd0ac; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.poster-watch-track { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; height: 5px; background: #ffffff5c; }
.poster-watch-track span { display: block; height: 100%; background: linear-gradient(90deg,#ed725e,#ffd0a5); }
.card-info { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding: 14px 2px 0; }
.card-name { overflow: hidden; color: #f3eef0; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { margin-top: 6px; color: #8f8994; font-size: 11px; }
.card-resume { margin-top: 6px; color: #ffc09b; font-size: 11px; font-weight: 800; }
.card-menu { position: relative; }
.menu-button { border: 0; padding: 0 5px; background: none; color: #a59da8; font-size: 23px; line-height: 17px; }
.menu-button:hover { color: white; }
.card-delete { position: absolute; top: 25px; right: 0; z-index: 8; padding: 10px 13px; border: 1px solid #8a6061; border-radius: 7px; background: #2d242b; color: #ffe4d8; box-shadow: 0 12px 30px #0009; font-size: 12px; white-space: nowrap; }
.download-details { margin-top: 13px; padding: 12px; border: 1px solid #ffffff16; border-radius: 9px; background: #ffffff09; }
.download-heading { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.download-heading strong { font-weight: 800; }
.download-heading span { color: var(--accent-light); font-weight: 800; }
.download-track { height: 6px; margin: 10px 0 8px; overflow: hidden; border-radius: 99px; background: #ffffff21; }
.download-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#e36a60,#ffd1a5); transition: width .4s; }
.download-details small { display: block; color: #b6aeb7; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.download-track.is-processing span { width: 40%; animation: conversion-progress 1.4s ease-in-out infinite; }
@keyframes conversion-progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.recommendations-section { width: min(calc(100% - 100px),1450px); margin: 0 auto 72px; scroll-margin-top: 110px; }
.recommendations-heading { margin-bottom: 24px; }
.recommendations-heading h2 em { color: #ffc9a6; font-family: Georgia,serif; font-weight: 400; }
.recommendations-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,1.6vw,22px); }
.recommendation-empty { grid-column: 1 / -1; padding: 20px; color: #c1b9c1; }
.recommendation-card { display: flex; min-width: 0; min-height: 244px; overflow: hidden; border: 1px solid #ffffff20; border-radius: 15px; background: #191820; transition: border-color .2s,transform .2s,box-shadow .2s; }
.recommendation-card:hover { transform: translateY(-3px); border-color: #ffbd9877; box-shadow: 0 17px 36px #0006; }
.recommendation-art { position: relative; width: 34%; min-width: 105px; overflow: hidden; background: radial-gradient(circle at 75% 30%,#ffffff42,transparent 28%),linear-gradient(150deg,var(--rec-a),var(--rec-b)); }
.recommendation-art::before { content: ""; position: absolute; width: 200%; aspect-ratio: 1; top: -25%; left: -114%; border: 1px solid #ffffff3b; border-radius: 50%; box-shadow: 0 0 0 26px #ffffff0c,0 0 0 52px #ffffff09; }
.recommendation-art::after { content: ""; position: absolute; width: 120%; aspect-ratio: 1; right: -76%; bottom: -18%; border: 1px solid #ffffff50; border-radius: 50%; }
.recommendation-numeral { position: absolute; right: 12px; bottom: 10px; color: #ffffffbd; font-family: Georgia,serif; font-size: clamp(46px,5vw,78px); font-style: italic; line-height: 1; }
.recommendation-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 22px 20px 18px; }
.recommendation-meta { color: #f5b995; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.recommendation-body h3 { margin: 10px 0 6px; font-size: clamp(18px,1.6vw,24px); letter-spacing: -.04em; line-height: 1.15; }
.recommendation-body p { margin: 0; color: #c1b9c1; font-size: 12px; line-height: 1.5; }
.recommendation-body small { margin: 10px 0 17px; color: #b2999f; font-size: 10px; line-height: 1.4; }
.recommendation-action { align-self: start; margin-top: auto; min-height: 35px; padding: 0 11px; font-size: 10px; }
.discovery-section { position: relative; isolation: isolate; width: min(calc(100% - 48px),1552px); min-height: 370px; margin: 0 auto 72px; overflow: hidden; border: 1px solid #ffffff17; border-radius: 20px; background: radial-gradient(circle at 92% 46%,#6c3d40 0,#34212d 34%,#1c1822 66%,#17151c 100%); scroll-margin-top: 103px; }
.discovery-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#17151cf5 0,transparent 90%); }
.discovery-ornament { position: absolute; right: 8%; top: -95px; color: #f3b18a35; font-size: clamp(300px,36vw,540px); line-height: 1; transform: rotate(-18deg); pointer-events: none; }
.discovery-content { position: relative; z-index: 1; max-width: 770px; padding: clamp(42px,5vw,70px) clamp(30px,6vw,90px); }
.discovery-section h2 { margin: 13px 0 13px; font-size: clamp(32px,4vw,56px); letter-spacing: -.06em; line-height: 1.08; }
.discovery-section p { color: #c3b7bc; font-size: 14px; line-height: 1.65; }
.tracker-form { display: flex; align-items: stretch; gap: 9px; max-width: 650px; margin-top: 27px; }
.tracker-input-wrap { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 49px; padding: 0 15px; border: 1px solid #ffffff38; border-radius: 9px; background: #0d0d13a8; }
.tracker-input-wrap:focus-within { border-color: var(--accent-light); }
.tracker-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: white; font-size: 13px; }
.tracker-input-wrap input::placeholder { color: #a69ba4; }
.tracker-help { margin: 13px 0 0; color: #bba8af !important; font-size: 11px !important; }
.tracker-results { display: grid; gap: 9px; margin-top: 20px; }
.tracker-result { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 13px; border: 1px solid #ffffff20; border-radius: 9px; background: #111117cf; }
.tracker-result-info { display: grid; gap: 5px; min-width: 0; }
.tracker-result-info strong { overflow-wrap: anywhere; font-size: 13px; }
.tracker-result-info span { color: #b8a9af; font-size: 11px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 83px; padding: 24px clamp(24px,4.2vw,68px); border-top: 1px solid var(--line); color: #8d8791; font-size: 11px; }
.footer-brand { color: #f7f0ec; font-size: 15px; font-weight: 900; letter-spacing: .15em; }
.footer-brand small { margin-left: 15px; color: #8d8791; font-size: 11px; font-weight: 400; letter-spacing: 0; }
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: #040406d9; backdrop-filter: blur(9px); }
.modal { width: min(550px,calc(100vw - 26px)); max-height: calc(100vh - 26px); overflow: auto; border: 1px solid #ffffff23; border-radius: 19px; background: #1b1a22; box-shadow: 0 25px 100px #000d; }
.modal-panel { position: relative; padding: clamp(25px,4vw,40px); }
.close-button { display: grid; place-items: center; position: absolute; top: 22px; right: 22px; width: 31px; height: 31px; border: 1px solid #ffffff1b; border-radius: 50%; background: #ffffff12; color: #e8dfe2; font-size: 22px; line-height: 1; }
.close-button:hover { background: #ffffff25; }
.modal h2 { margin: 11px 0 8px; font-size: 34px; letter-spacing: -.055em; }
.modal-intro { margin: 0 0 24px; color: #aaa2ae; font-size: 13px; line-height: 1.65; }
.source-tabs { display: flex; gap: 4px; margin-bottom: 20px; padding: 4px; border: 1px solid #ffffff17; border-radius: 10px; background: #0e0e13; }
.source-tab { flex: 1; border: 0; border-radius: 7px; padding: 11px 8px; background: none; color: #aaa3ac; font-size: 12px; font-weight: 800; }
.source-tab.active { background: #443039; color: white; }
.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 165px; padding: 24px; border: 1px dashed #8c6060; border-radius: 11px; background: radial-gradient(circle at 50% 0,#5a39374d,transparent 60%),#252027; text-align: center; cursor: pointer; }
.drop-zone.dragging, .drop-zone:hover { border-color: var(--accent-light); background-color: #342731; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 11px; background: #aa69506b; color: #ffd1aa; font-size: 25px; }
.drop-zone strong { font-size: 13px; }
.drop-zone > span:not(.drop-icon) { margin-top: 5px; color: #aaa0aa; font-size: 11px; }
.drop-zone .file-hint { color: #e2a98a !important; }
.field-label { display: block; margin: 20px 0 8px; font-size: 12px; font-weight: 800; }
.field-label span { color: #918893; font-weight: 400; }
.text-input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #ffffff20; border-radius: 8px; outline: none; background: #101015; color: white; font-size: 13px; }
.text-input:focus { border-color: var(--accent-light); }
.modal-note { display: flex; gap: 10px; margin: 19px 0 24px; color: #b5a8b1; font-size: 11px; line-height: 1.6; }
.modal-note span { color: var(--accent-light); font-size: 15px; }
.modal-note p { margin: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.player-modal { width: min(1080px,calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; border: 1px solid #ffffff24; border-radius: 17px; background: #15151b; box-shadow: 0 25px 100px #000e; }
.player-shell { padding: clamp(14px,2.6vw,27px); }
.player-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 50px; }
.player-header > div:first-child { min-width: 0; }
.player-header h2 { margin: 5px 0 17px; font-size: 22px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.player-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.player-restart { min-height: 32px; padding: 0 10px; border: 1px solid #ffffff36; border-radius: 7px; background: #ffffff12; color: #f5e5dd; font-size: 11px; font-weight: 800; }
.player-restart:hover { background: #ffffff24; }
.player-close { position: static; }
.video-frame { position: relative; overflow: hidden; border-radius: 10px; background: black; }
.video-frame video { display: block; width: 100%; max-height: calc(100vh - 170px); aspect-ratio: 16/9; background: black; }
.player-error { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 8px; background: #302024e8; color: #ffdfcf; font-size: 12px; }
.player-help { margin: 12px 0 0; color: #aaa1aa; font-size: 11px; }
@media (max-width: 1150px) {
  .topbar-inner { gap: 28px; }
  .main-nav { gap: 18px; }
  .top-add { padding: 0 12px; }
  .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .recommendations-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .topbar-inner { min-height: 68px; flex-wrap: wrap; column-gap: 18px; padding-top: 12px; }
  .main-nav { order: 3; width: 100%; height: 42px; gap: 24px; overflow-x: auto; }
  .topbar-actions { margin-left: auto; }
  .nav-link { font-size: 12px; }
  .hero { min-height: 560px; }
  .hero-content { max-width: 78%; }
  .hero h1 { font-size: clamp(49px,8vw,70px); }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .recommendations-section { width: calc(100% - 48px); }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 10px 17px 0; }
  .brand { font-size: 16px; }
  .brand-mark { width: 29px; height: 29px; font-size: 19px; }
  .topbar-actions { gap: 8px; }
  .search-box { width: 38px; padding: 0 10px; overflow: hidden; transition: width .2s; }
  .search-box:focus-within { width: min(42vw,180px); }
  .search-box input { min-width: 145px; }
  .top-add { width: 38px; padding: 0; }
  .top-add span:last-child { display: none; }
  .main-nav { gap: 20px; }
  .hero { width: calc(100% - 24px); min-height: 540px; margin-top: 12px; border-radius: 16px; align-items: end; }
  .hero::before { background: linear-gradient(0deg,#111117 0%,#111117ea 29%,#11111761 82%),linear-gradient(90deg,#11111750,transparent); }
  .hero-image-wrap img { object-position: 60% center; }
  .hero-art { width: 450px; height: 450px; top: 29%; right: -48%; }
  .hero-content { max-width: 100%; padding: 45px 25px 72px; }
  .hero h1 { margin: 18px 0; font-size: clamp(45px,12vw,63px); }
  .hero p { font-size: 13px; line-height: 1.6; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .button-large { min-height: 44px; padding: 0 14px; font-size: 11px; }
  .hero-corner { right: 22px; bottom: 21px; font-size: 8px; }
  .overview-strip { width: calc(100% - 42px); min-height: 75px; }
  .overview-copy { display: none; }
  .overview-stats { width: 100%; justify-content: space-between; font-size: 10px; }
  .library-section { padding: 43px 18px 65px; scroll-margin-top: 130px; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; }
  .section-heading h2 { font-size: 29px; }
  .filter-group { width: 100%; }
  .filter { flex: 1; padding: 9px 10px; }
  .card-grid { gap: 17px 12px; }
  .poster { aspect-ratio: 3/3.4; }
  .poster-content { padding: 12px; }
  .poster-title { font-size: 17px; }
  .poster-play { opacity: 1; transform: none; width: 34px; height: 34px; top: 10px; right: 10px; font-size: 12px; }
  .poster-status { top: 10px; left: 10px; font-size: 9px; padding: 5px 6px; }
  .card-name { font-size: 12px; }
  .card-meta { font-size: 10px; }
  .recommendations-section { width: calc(100% - 24px); margin-bottom: 40px; scroll-margin-top: 130px; }
  .recommendations-heading { gap: 17px; }
  .recommendations-grid { grid-template-columns: 1fr; gap: 12px; }
  .recommendation-card { min-height: 205px; }
  .recommendation-art { min-width: 100px; }
  .recommendation-body { padding: 17px 14px 15px; }
  .recommendation-body h3 { font-size: 19px; }
  .discovery-section { width: calc(100% - 24px); margin-bottom: 40px; scroll-margin-top: 130px; }
  .discovery-content { padding: 36px 22px; }
  .discovery-section h2 { font-size: 36px; }
  .tracker-form { flex-direction: column; }
  .tracker-input-wrap { flex: auto; }
  .tracker-form .button { min-height: 46px; }
  .tracker-result { align-items: start; flex-direction: column; }
  footer { padding: 24px 18px; flex-direction: column; align-items: start; }
  .modal-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.series-modal { width: min(760px,calc(100vw - 26px)); }
.series-modal h2 { overflow-wrap: anywhere; }
.episodes-list { display: grid; gap: 10px; max-height: min(58vh,650px); overflow-y: auto; padding-right: 4px; }
.episodes-list > p { color: #b8adb7; }
.episode-row { width: 100%; min-height: 74px; display: flex; align-items: center; gap: 15px; text-align: left; padding: 12px 15px; border: 1px solid #ffffff1d; border-radius: 11px; color: #f6f2f3; background: #ffffff0a; transition: background .2s,border-color .2s; }
.episode-row:not(:disabled):hover { background: #ffffff19; border-color: #ee96785c; }
.episode-number { display: grid; place-items: center; min-width: 72px; min-height: 42px; border-radius: 8px; background: #e9776230; color: #ffc3a1; font-size: 12px; font-weight: 900; }
.episode-info { min-width: 0; display: grid; gap: 5px; }
.episode-info strong { font-size: 13px; overflow-wrap: anywhere; }
.episode-info small { color: #b4a9b1; font-size: 11px; }
.episode-track { width: 70px; height: 5px; margin-left: auto; flex: none; overflow: hidden; border-radius: 9px; background: #ffffff22; }
.episode-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
@media(max-width:600px) { .episode-row { flex-wrap: wrap; } .episode-number { min-width: 60px; } .episode-track { width: 100%; } }
