:root {
  --bg: #07070d;
  --bg-soft: #0c0c16;
  --panel: #11111d;
  --panel-light: #171725;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f5ff;
  --muted: #9995aa;
  --purple: #8f56ff;
  --purple-bright: #b18aff;
  --pink: #ff4f8b;
  --blue: #36b9ff;
  --green: #55e3a6;
  --yellow: #ffd76a;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 10% 12%, rgba(121, 62, 255, 0.08), transparent 28%), radial-gradient(circle at 90% 70%, rgba(22, 145, 255, 0.06), transparent 25%); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.shell { width: min(1480px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.brand-icon { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 26px rgba(255, 42, 102, 0.35); }
.section-kicker { margin: 0 0 8px; color: var(--purple-bright); font-size: 11px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.primary-button, .ghost-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 0 23px; font-weight: 800; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s, background 0.22s; }
.primary-button { background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; box-shadow: 0 14px 36px rgba(133, 65, 255, 0.28); }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(133, 65, 255, 0.4); }
.ghost-button { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: white; backdrop-filter: blur(12px); }
.ghost-button:hover { border-color: var(--purple-bright); background: rgba(143, 86, 255, 0.13); }
.small-button { min-height: 40px; padding-inline: 18px; font-size: 13px; }
.play-icon { font-size: 11px; }
.text-link { color: var(--purple-bright); font-size: 13px; font-weight: 800; }
.search-mark { position: relative; display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid currentColor; border-radius: 50%; opacity: 0.65; }
.search-mark::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }

/* Landing */
.landing-page { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 70% 38%, rgba(116, 63, 255, 0.19), transparent 27%), radial-gradient(circle at 80% 65%, rgba(30, 134, 255, 0.12), transparent 23%), linear-gradient(135deg, #080811, #0a0813 52%, #090b15); }
.landing-header { position: relative; z-index: 5; min-height: 90px; display: flex; align-items: center; justify-content: space-between; }
.landing-hero { min-height: calc(100vh - 185px); display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(440px, 0.86fr); align-items: center; gap: clamp(40px, 7vw, 110px); padding-block: 50px 60px; }
.landing-copy { position: relative; z-index: 2; }
.landing-copy h1 { margin: 0; max-width: 780px; font-size: clamp(64px, 7.5vw, 124px); line-height: 0.86; letter-spacing: -0.072em; }
.landing-copy h1 span { background: linear-gradient(100deg, #fff 5%, #cbaeff 45%, #5ac8ff); color: transparent; background-clip: text; }
.landing-lead { max-width: 650px; margin: 28px 0 0; color: #b2aec0; font-size: 18px; line-height: 1.75; }
.landing-search { max-width: 720px; min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin-top: 34px; padding: 7px 7px 7px 24px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(16, 15, 29, 0.86); color: #b8b2ca; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); backdrop-filter: blur(20px); }
.landing-search:focus-within { border-color: rgba(177, 138, 255, 0.75); box-shadow: 0 0 0 4px rgba(143, 86, 255, 0.13), 0 24px 60px rgba(0, 0, 0, 0.42); }
.landing-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: white; font-size: 17px; }
.landing-search input::placeholder { color: #716c82; }
.landing-search button { align-self: stretch; min-width: 126px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; font-weight: 850; }
.landing-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.landing-actions > span, .popular-searches { color: #777287; font-size: 12px; }
.popular-searches { margin-top: 20px; }
.popular-searches strong { color: #b6b0c4; }
.landing-art { position: relative; min-height: 650px; perspective: 1200px; }
.landing-art::before { content: ""; position: absolute; width: 480px; height: 480px; left: 50%; top: 50%; border: 1px solid rgba(151, 111, 255, 0.16); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 100px rgba(105, 50, 255, 0.1) inset; }
.art-card { position: absolute; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 28px; box-shadow: var(--shadow); }
.art-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1)); }
.art-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 6, 14, 0.86) 0, transparent 48%); }
.art-card-back { width: 330px; height: 480px; left: 2%; top: 12%; background: url(./assets/images/tybw-season-1.jpg) center / cover no-repeat; transform: rotate(-11deg) translateZ(-80px); }
.art-card-back span { position: absolute; left: 24px; bottom: 26px; color: rgba(255, 255, 255, 0.5); font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.art-card-front { width: 390px; height: 570px; right: 4%; top: 4%; background: url(./assets/images/tybw-season-4.jpg) center / cover no-repeat; transform: rotate(5deg); animation: card-float 6s ease-in-out infinite; }
.art-number { position: absolute; top: 30px; right: 30px; font-size: 14px; font-weight: 900; letter-spacing: 0.15em; }
.art-character { position: absolute; width: 250px; height: 390px; left: 50%; top: 42%; border-radius: 50% 50% 25% 25%; background: linear-gradient(160deg, #170e1f 20%, #451831 60%, #0c0911); transform: translate(-50%, -50%); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.025), 0 30px 60px rgba(0, 0, 0, 0.35); }
.art-character::before { content: ""; position: absolute; width: 145px; height: 165px; left: 50%; top: 35px; border-radius: 50% 50% 44% 44%; background: linear-gradient(160deg, #ffcfb8, #b65c6d); transform: translateX(-50%); }
.art-character::after { content: ""; position: absolute; width: 210px; height: 185px; left: 50%; top: -5px; clip-path: polygon(6% 40%, 24% 8%, 39% 24%, 52% 0, 66% 24%, 91% 5%, 82% 52%, 94% 90%, 50% 70%, 6% 92%, 18% 51%); background: #1b1328; transform: translateX(-50%); }
.art-character i { position: absolute; z-index: 2; width: 62px; height: 7px; left: 50%; top: 117px; border-radius: 20px; background: linear-gradient(90deg, #ff5c6a, transparent 46%, transparent 54%, #ff5c6a); transform: translateX(-50%); box-shadow: 0 0 20px #ff334f; }
.art-character b { position: absolute; width: 300px; height: 15px; left: -30px; top: 245px; border-radius: 50%; background: #fce5d7; transform: rotate(-32deg); box-shadow: 0 0 30px rgba(255, 135, 104, 0.7); }
.art-caption { position: absolute; z-index: 2; left: 28px; bottom: 28px; }
.art-caption small, .art-caption strong { display: block; }
.art-caption small { margin-bottom: 5px; color: #ffc2d2; font-size: 10px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.art-caption strong { font-size: 27px; }
.art-orbit { position: absolute; border: 1px solid rgba(122, 188, 255, 0.24); border-radius: 50%; }
.orbit-one { width: 540px; height: 220px; left: 3%; top: 35%; transform: rotate(-25deg); }
.orbit-two { width: 500px; height: 180px; left: 9%; top: 39%; transform: rotate(33deg); }
.floating-label { position: absolute; z-index: 4; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(12, 10, 24, 0.78); color: #d7d1e3; font-size: 11px; font-weight: 800; backdrop-filter: blur(14px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.label-one { left: 0; bottom: 23%; }
.label-two { right: 0; top: 15%; }
.landing-stats { min-height: 95px; display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 50px; border-top: 1px solid var(--line); }
.landing-stats div { display: flex; align-items: baseline; gap: 10px; }
.landing-stats strong { font-size: 25px; }
.landing-stats span, .landing-stats p { color: #716d7e; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.landing-stats p { justify-self: end; text-align: right; }
@keyframes card-float { 50% { transform: rotate(3deg) translateY(-12px); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } }
.reveal { animation: reveal-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.delay-one { animation-delay: 0.16s; }
.delay-two { animation-delay: 0.28s; }

/* Header and footer */
.site-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(7, 7, 13, 0.82); backdrop-filter: blur(24px) saturate(130%); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: auto auto minmax(220px, 420px) auto; align-items: center; gap: clamp(22px, 3vw, 48px); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { position: relative; padding: 26px 11px 24px; color: #9b97a8; font-size: 13px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; height: 2px; left: 11px; right: 11px; bottom: 0; border-radius: 2px; background: var(--purple); transform: scaleX(0); transition: transform 0.2s; }
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-search { min-height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.045); color: var(--muted); }
.header-search:focus-within { border-color: rgba(143, 86, 255, 0.65); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.login-button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #bab5c5; font-size: 13px; font-weight: 800; }
.user-icon { width: 25px; height: 25px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: radial-gradient(circle at 50% 36%, #bbb 0 18%, transparent 19%), radial-gradient(circle at 50% 95%, #777 0 35%, transparent 36%); }
.user-icon.has-avatar { background-position: center top; background-size: cover; }
.mobile-menu-button { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.mobile-menu-button i { display: block; width: 17px; height: 2px; margin: 4px auto; background: white; }
.site-footer { margin-top: 100px; border-top: 1px solid var(--line); background: #090910; }
.footer-inner { min-height: 210px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 55px; }
.footer-inner > div p { max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-inner nav { display: flex; gap: 25px; }
.footer-inner nav a { color: var(--muted); font-size: 13px; }
.footer-inner nav a:hover { color: white; }
.footer-support { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; justify-self: end; padding: 0 20px; border: 1px solid rgba(143, 86, 255, 0.55); border-radius: 999px; background: linear-gradient(135deg, rgba(236, 63, 176, 0.16), rgba(143, 86, 255, 0.2)); color: white; font-size: 12px; font-weight: 800; box-shadow: 0 10px 30px rgba(100, 50, 190, 0.12); }
.footer-support:hover { border-color: var(--pink); transform: translateY(-2px); }
.copyright { color: #5e5a68; font-size: 12px; }

/* Home hero */
.spotlight { position: relative; min-height: min(760px, calc(100vh - 72px)); display: grid; align-items: center; overflow: hidden; background-size: cover; background-position: center; isolation: isolate; transition: background-image 0.5s; }
.spotlight::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 13, 0.98) 3%, rgba(7, 7, 13, 0.77) 45%, rgba(7, 7, 13, 0.15) 80%), linear-gradient(0deg, var(--bg), transparent 30%); }
.spotlight::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0.25; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, transparent 35%, black); }
.spotlight-inner { display: grid; grid-template-columns: minmax(0, 680px) 1fr; align-items: center; padding-block: 90px 120px; }
.spotlight-copy h1 { margin: 0; font-size: clamp(64px, 8vw, 122px); line-height: 0.88; letter-spacing: -0.065em; }
.spotlight-copy > p:not(.section-kicker) { max-width: 640px; margin: 22px 0; color: #b5b0c0; font-size: 16px; line-height: 1.75; }
.bleach-countdown { position: relative; z-index: 2; min-height: 150px; margin-top: -35px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 34px; border: 1px solid rgba(171, 112, 255, 0.28); border-radius: 22px; background: linear-gradient(135deg, rgba(22, 18, 38, 0.97), rgba(10, 10, 18, 0.98)); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36); }
.bleach-countdown-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; }
.bleach-countdown-time { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 12px; }
.bleach-countdown-time span { min-width: 110px; display: grid; justify-items: center; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px; background: rgba(255, 255, 255, 0.04); }
.bleach-countdown-time strong { font-size: clamp(26px, 3vw, 42px); line-height: 1; }
.bleach-countdown-time small { margin-top: 8px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.17em; text-transform: uppercase; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; color: #c5c0cf; font-size: 12px; font-weight: 700; }
.hero-meta > span { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.hero-meta .rating-pill { border-color: rgba(255, 215, 106, 0.25); background: rgba(255, 215, 106, 0.1); color: #ffe18b; }
.rating-pill b, .star { color: var(--yellow); font-style: normal; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-emblem { display: grid; justify-items: center; opacity: 0.78; }
.hero-emblem span { display: grid; width: clamp(260px, 28vw, 430px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 46% 54% 58% 42%; background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 45%, transparent 46%); font-size: clamp(80px, 12vw, 180px); font-weight: 1000; letter-spacing: -0.09em; text-shadow: 0 0 50px rgba(255, 255, 255, 0.28); transform: rotate(-7deg); }
.hero-controls { position: absolute; left: 50%; bottom: 55px; display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); }
.hero-controls > button, .slider-buttons button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: white; }
.hero-controls > div { display: flex; gap: 8px; }
.hero-dot { width: 22px; height: 3px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, 0.25); transition: width 0.2s, background 0.2s; }
.hero-dot.active { width: 50px; background: linear-gradient(90deg, var(--pink), var(--purple)); }

/* Sections and cards */
.section { padding-block: 72px 20px; }
.compact-section { padding-top: 34px; }
.continue-section { padding-bottom: 10px; }
.continue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.continue-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, 0.035); transition: border-color 0.2s, transform 0.2s; }
.continue-card:hover { transform: translateY(-3px); border-color: rgba(177, 138, 255, 0.5); }
.continue-link { min-width: 0; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 36px 10px 10px; color: white; }
.continue-remove { position: absolute; z-index: 2; width: 28px; height: 28px; right: 7px; top: 7px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: rgba(7, 7, 13, 0.8); color: #c7c2d1; font-size: 19px; line-height: 1; }
.continue-remove:hover { border-color: var(--pink); color: white; background: rgba(242, 75, 168, 0.25); }
.continue-poster { width: 82px; aspect-ratio: 3 / 4; border-radius: 10px; }
.continue-copy { min-width: 0; display: grid; gap: 6px; }
.continue-copy small { color: var(--purple-bright); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.continue-copy strong { overflow: hidden; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; }
.continue-copy em { color: var(--muted); font-size: 10px; font-style: normal; }
.continue-progress { overflow: hidden; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.continue-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--purple)); }
.not-found-page { min-height: calc(100vh - 200px); display: grid; place-items: center; padding-block: 90px; }
.not-found-card { max-width: 700px; text-align: center; }
.not-found-code { margin: 0; color: var(--purple-bright); font-size: clamp(100px, 22vw, 220px); font-weight: 900; line-height: 0.8; letter-spacing: -0.08em; }
.not-found-card h1 { margin: 28px 0 12px; font-size: clamp(38px, 7vw, 72px); letter-spacing: -0.05em; }
.not-found-card > p:not(.not-found-code) { margin: 0 auto 30px; color: var(--muted); line-height: 1.7; }
.account-page { min-height: 75vh; display: grid; place-items: center; padding-block: 90px; }
.account-card { width: min(100%, 520px); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.035); box-shadow: var(--shadow); }
.account-card h1 { margin: 5px 0 25px; font-size: clamp(48px, 9vw, 72px); letter-spacing: -0.06em; }
.auth-tabs { display: flex; gap: 7px; margin-bottom: 25px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.auth-tabs button { flex: 1; padding: 10px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; }
.auth-tabs button.active { background: rgba(143, 86, 255, 0.18); color: white; }
.auth-form { display: grid; gap: 17px; }
.auth-form label, .profile-name { display: grid; gap: 7px; color: #d9d5e2; font-size: 12px; font-weight: 800; }
.auth-form input, .profile-name input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #0b0b13; color: white; }
.auth-form > p { color: var(--muted); line-height: 1.6; }
.account-status { min-height: 20px; margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-status.success { color: #70e6a1; }
.account-status.error { color: #ff7c9f; }
.profile-page { min-height: 75vh; padding-block: 95px 80px; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 42px; }
.profile-heading h1 { margin: 5px 0 8px; font-size: clamp(50px, 8vw, 88px); letter-spacing: -0.06em; }
.profile-heading > div > p:last-child { color: var(--muted); }
.profile-form { display: grid; gap: 30px; }
.profile-name { max-width: 520px; }
.profile-form fieldset { margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: 18px; }
.profile-form legend { padding: 0 10px; font-size: 20px; font-weight: 900; }
.profile-form fieldset > p { margin-top: 0; color: var(--muted); font-size: 12px; }
.avatar-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.avatar-choice { position: relative; display: grid; gap: 8px; justify-items: center; padding: 9px; border: 2px solid transparent; border-radius: 14px; background: rgba(255, 255, 255, 0.035); cursor: pointer; }
.avatar-choice:has(input:checked) { border-color: var(--purple); background: rgba(143, 86, 255, 0.13); }
.avatar-choice input { position: absolute; opacity: 0; }
.avatar-picture { display: block; width: 100%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; background-repeat: no-repeat; background-size: 674.6% 404.6%; }
.avatar-choice span { font-size: 11px; font-weight: 800; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-heading h2, .sidebar-heading h2 { margin: 0; font-size: clamp(29px, 3vw, 42px); letter-spacing: -0.04em; }
.section-heading > a, .section-heading > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.slider-buttons { display: flex; gap: 8px; }
.slider-buttons button:hover { border-color: var(--purple); background: rgba(143, 86, 255, 0.18); }
.anime-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 17px; }
.trending-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 215px); gap: 17px; overflow-x: auto; padding: 2px 2px 20px 48px; scrollbar-width: none; scroll-snap-type: x proximity; }
.trending-row::-webkit-scrollbar { display: none; }
.trending-row .anime-card { scroll-snap-align: start; }
.anime-card { position: relative; min-width: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.45s, transform 0.45s; }
.anime-card.shown { opacity: 1; transform: translateY(0); }
.poster-art { --poster: linear-gradient(145deg, #333, #111); position: relative; display: block; aspect-ratio: 0.69; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: var(--poster); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28); isolation: isolate; }
.poster-art::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; left: 35%; top: 8%; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.025), 0 0 0 55px rgba(255, 255, 255, 0.018); }
.poster-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 30%, transparent 55%, rgba(5, 4, 10, 0.88)); }
.poster-grid { position: absolute; inset: 0; opacity: 0.2; background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 35px 35px; transform: perspective(500px) rotateX(60deg) scale(1.5) translateY(38%); }
.poster-symbol { position: absolute; z-index: 1; left: 50%; top: 42%; color: rgba(255, 255, 255, 0.88); font-size: clamp(52px, 6vw, 88px); font-weight: 1000; letter-spacing: -0.09em; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transform: translate(-50%, -50%); }
.poster-title { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; color: white; font-size: 12px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.poster-art[style*="url("]::before, .poster-art[style*="url("] .poster-grid, .poster-art[style*="url("] .poster-symbol, .poster-art[style*="url("] .poster-title { display: none; }
.poster-art[style*="url("]::after { background: linear-gradient(180deg, transparent 68%, rgba(5, 4, 10, 0.28)); }
.play-overlay { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; background: rgba(8, 6, 15, 0.5); opacity: 0; transition: opacity 0.25s; }
.play-overlay i { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; font-size: 16px; font-style: normal; box-shadow: 0 10px 30px rgba(89, 37, 183, 0.5); transform: scale(0.75); transition: transform 0.25s; }
.anime-card:hover .play-overlay { opacity: 1; }
.anime-card:hover .play-overlay i { transform: scale(1); }
.anime-card:hover .poster-art { border-color: rgba(177, 138, 255, 0.7); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42), 0 0 30px rgba(143, 86, 255, 0.13); }
.list-button { position: absolute; z-index: 6; width: 34px; height: 34px; right: 9px; top: 9px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; background: rgba(8, 7, 14, 0.78); color: white; font-size: 19px; backdrop-filter: blur(8px); }
.list-button.saved { border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--purple)); font-size: 13px; }
.card-copy { padding-top: 13px; }
.card-copy h3 { overflow: hidden; margin: 0 0 8px; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.card-copy h3 a:hover { color: var(--purple-bright); }
.card-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.card-badges span { min-height: 19px; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); color: #aaa5b4; font-size: 8px; font-weight: 900; }
.card-badges .sub-badge { background: rgba(85, 227, 166, 0.16); color: #7ff0bd; }
.card-badges .dub-badge { background: rgba(54, 185, 255, 0.16); color: #73cfff; }
.card-copy p { margin: 8px 0 0; color: #777282; font-size: 10px; font-weight: 700; }
.card-copy p i { display: inline-block; width: 3px; height: 3px; margin: 0 6px 2px; border-radius: 50%; background: #595563; }
.trend-rank { position: absolute; z-index: 6; left: -42px; bottom: 104px; color: transparent; font-size: 48px; font-weight: 1000; line-height: 1; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.32); transform: rotate(-90deg); }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
.home-main { min-width: 0; }
.genre-sidebar { position: sticky; top: 95px; margin-top: 72px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(22, 22, 38, 0.92), rgba(11, 11, 19, 0.94)); box-shadow: var(--shadow); }
.genre-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 15px; margin: 20px 0 24px; }
.genre-link-list a { padding: 7px 0; color: #a7a2b1; font-size: 12px; font-weight: 650; }
.genre-link-list a:hover { color: var(--purple-bright); }
.top-airing-panel { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.top-airing-panel h3 { margin: 0 0 13px; font-size: 24px; }
.airing-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.airing-item > b { color: #696473; font-size: 12px; }
.airing-item span strong, .airing-item span small { display: block; }
.airing-item span strong { overflow: hidden; max-width: 145px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.airing-item span small { margin-top: 4px; color: #716d7a; font-size: 9px; }
.airing-item em { color: var(--yellow); font-size: 10px; font-style: normal; font-weight: 800; }

/* Intro, search, genres */
.page-intro { padding: 100px 0 45px; text-align: center; }
.page-intro h1 { margin: 0; font-size: clamp(58px, 8vw, 100px); line-height: 0.95; letter-spacing: -0.06em; }
.page-intro > p:last-child { max-width: 650px; margin: 20px auto 0; color: var(--muted); line-height: 1.7; }
.legal-page { min-height: 760px; padding-bottom: 40px; }
.legal-intro { padding-bottom: 35px; }
.legal-intro h1 { font-size: clamp(52px, 7vw, 88px); }
.legal-card { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(24, 22, 38, 0.92), rgba(12, 12, 21, 0.96)); box-shadow: var(--shadow); }
.legal-card p { margin: 0; color: #bbb6c4; font-size: 16px; line-height: 1.9; }
.legal-card p + p { margin-top: 24px; }
.about-card { padding-block: 12px; }
.about-section { padding: clamp(30px, 5vw, 52px) 0; border-bottom: 1px solid var(--line); }
.about-section:last-child { border-bottom: 0; }
.about-section h2 { margin: 0 0 20px; color: white; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.04em; }
.about-section > p:not(.section-kicker) { max-width: 720px; }
.contact-layout { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-copy, .contact-form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(24, 22, 38, 0.92), rgba(12, 12, 21, 0.96)); box-shadow: var(--shadow); }
.contact-copy h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 43px); letter-spacing: -0.04em; }
.contact-copy > p:not(.section-kicker) { color: #aaa5b4; line-height: 1.8; }
.contact-email { display: inline-flex; margin: 20px 0; color: var(--purple-bright); font-size: clamp(16px, 2vw, 20px); font-weight: 900; word-break: break-word; }
.contact-copy .contact-note { padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: #d8d4df; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #0d0d16; color: white; padding: 13px 14px; font: inherit; line-height: 1.5; text-transform: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(143, 86, 255, 0.12); }
.contact-honey { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-status { min-height: 20px; margin: 0; font-size: 12px; line-height: 1.5; }
.contact-status.success { color: #70e6a1; }
.contact-status.error { color: #ff7c9f; }
.contact-form button:disabled { cursor: wait; opacity: 0.65; }
.contact-form .primary-button { justify-self: start; border: 0; }
.contact-form small { color: var(--muted); }
.privacy-card { padding-block: 20px; }
.privacy-intro { padding: clamp(22px, 4vw, 38px) 0; color: white !important; font-size: 18px !important; }
.privacy-section { padding: clamp(26px, 4vw, 42px) 0; border-top: 1px solid var(--line); }
.privacy-section h2 { margin: 0 0 16px; color: white; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; }
.privacy-section .contact-email { margin-bottom: 0; }
.search-panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(22, 22, 38, 0.85), rgba(11, 11, 19, 0.9)); box-shadow: var(--shadow); }
.main-search-field { min-height: 62px; display: flex; align-items: center; gap: 15px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 15px; background: #0b0b14; color: var(--muted); }
.main-search-field:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(143, 86, 255, 0.1); }
.main-search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 18px; }
.filter-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; margin-top: 16px; }
.filter-grid label { color: #716d7e; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.filter-grid select { width: 100%; min-height: 42px; display: block; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #11111b; color: #d8d4df; padding: 0 10px; font-size: 12px; text-transform: none; }
.reset-button { align-self: end; min-height: 42px; border-radius: 10px; padding-inline: 16px; font-size: 11px; }
.search-results-section { min-height: 500px; }
.search-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.empty-state { min-height: 360px; display: grid; place-content: center; justify-items: center; border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 20px; color: var(--muted); text-align: center; }
.empty-state > span { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: rgba(143, 86, 255, 0.12); color: var(--purple-bright); font-size: 25px; font-weight: 900; }
.empty-state h2 { margin-bottom: 0; color: white; }

.character-section { padding-top: 10px; }
.character-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 12px; padding-bottom: 70px; }
.character-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.035); }
.character-card { color: inherit; transition: transform 0.2s, border-color 0.2s; }
.character-card:hover { transform: translateY(-4px); border-color: rgba(177, 138, 255, 0.45); }
.character-cover { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 8px; background: radial-gradient(circle at 50% 30%, rgba(177, 138, 255, 0.25), transparent 45%), linear-gradient(145deg, #191627, #0b0a12); color: white; text-align: center; }
.character-cover span { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: rgba(0, 0, 0, 0.2); font-size: 19px; font-weight: 900; }
.character-cover small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.character-image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.character-copy { padding: 13px; }
.character-copy h3 { margin: 4px 0 8px; font-size: 15px; line-height: 1.2; }
.character-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.character-copy p:first-child { color: var(--purple-bright); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.character-detail-page { min-height: 70vh; padding-top: 115px; padding-bottom: 80px; }
.character-detail-card { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 55px; align-items: center; max-width: 980px; margin: 0 auto; }
.character-detail-cover { width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 24px; }
.character-detail-cover span { width: 105px; height: 105px; font-size: 34px; }
.character-detail-copy h1 { margin: 6px 0 28px; font-size: clamp(48px, 7vw, 82px); line-height: 0.95; letter-spacing: -0.055em; }
.character-detail-copy h2 { margin: 30px 0 10px; }
.character-detail-copy > p:not(.section-kicker) { max-width: 620px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.character-detail-fact { display: flex; gap: 16px; align-items: center; padding: 15px 0; border-block: 1px solid var(--line); }
.character-detail-fact span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.genre-intro { padding-bottom: 35px; }
.genre-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 20px 0 10px; }
.genre-chip { display: inline-flex; min-height: 45px; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.035); color: #aaa5b4; font-size: 12px; font-weight: 750; transition: 0.2s; }
.genre-chip span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: rgba(143, 86, 255, 0.13); color: var(--purple-bright); font-size: 10px; }
.genre-chip:hover, .genre-chip.active { border-color: var(--purple); background: rgba(143, 86, 255, 0.16); color: white; transform: translateY(-2px); }
.genre-results-section { min-height: 500px; }

/* Detail */
.detail-hero { --banner: linear-gradient(#222, #111); position: relative; min-height: 730px; display: grid; align-items: end; overflow: hidden; background: var(--banner); background-size: cover; isolation: isolate; }
.detail-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0.25; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 55px 55px; }
.detail-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--bg) 0, rgba(7, 7, 13, 0.72) 42%, rgba(7, 7, 13, 0.2)), linear-gradient(90deg, rgba(7, 7, 13, 0.92), transparent 70%); }
.detail-inner { display: grid; grid-template-columns: 275px minmax(0, 760px); align-items: end; gap: 45px; padding-block: 130px 65px; }
.detail-poster { width: 275px; border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.detail-copy h1 { margin: 0; font-size: clamp(58px, 7vw, 100px); line-height: 0.92; letter-spacing: -0.06em; }
.detail-synopsis { max-width: 720px; color: #b9b4c3; line-height: 1.75; }
.detail-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 30px; margin-top: 32px; }
.detail-facts span, .detail-facts strong { display: block; }
.detail-facts span { margin-bottom: 5px; color: #716d7e; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.detail-facts strong { font-size: 13px; }
.detail-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.detail-genres a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #bcb7c6; font-size: 11px; font-weight: 700; }
.detail-genres a:hover { border-color: var(--purple); color: white; }
.detail-body { display: grid; grid-template-columns: 1fr 360px; gap: 80px; padding-block: 70px 10px; }
.detail-body h2 { margin: 0; font-size: 38px; }
.detail-body > div > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.9; }
.detail-body aside { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.detail-body dl { margin: 0; }
.detail-body dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 12px; }
.detail-body dt { color: var(--muted); }
.detail-body dd { margin: 0; text-align: right; }

/* Watch */
.watch-page { min-height: 900px; padding-top: 30px; }
.watch-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding: 15px 0 25px; color: #716d7e; font-size: 11px; }
.watch-breadcrumb a:hover { color: var(--purple-bright); }
.watch-breadcrumb b { color: #bcb7c6; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 25px; align-items: start; }
.player-column { position: relative; min-width: 0; }
.demo-player { --player-bg: linear-gradient(#222, #111); position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: 18px 18px 0 0; background: var(--player-bg); background-size: cover; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55); }
.demo-player::before { content: ""; position: absolute; inset: 0; background: rgba(4, 4, 8, 0.72); backdrop-filter: blur(5px); }
.demo-player.has-video::before { display: none; }
.real-video-player { position: relative; z-index: 2; width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.player-unavailable { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; pointer-events: none; }
.player-unavailable span { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(7, 7, 13, 0.72); color: rgba(255, 255, 255, 0.78); font-size: 12px; font-weight: 800; backdrop-filter: blur(10px); }
.real-video-player::cue { color: #dedede; background: rgba(0, 0, 0, 0.58); font-family: "Arial Narrow", Arial, sans-serif; font-size: 125%; font-style: italic; font-weight: 400; line-height: 1.18; text-shadow: 1px 1px 1px #000, 0 0 2px #000; }
.custom-video-controls { --progress: 0%; position: absolute; z-index: 14; left: 0; right: 0; bottom: 0; padding: 0 20px 12px; background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 58%, transparent); color: #fff; opacity: 1; transition: opacity 0.24s ease; }
.demo-player.controls-hidden { cursor: none; }
.demo-player.controls-hidden .custom-video-controls { opacity: 0; pointer-events: none; }
.video-progress { width: 100%; height: 4px; margin: 0 0 7px; display: block; border: 0; border-radius: 999px; background: linear-gradient(to right, #df1f2d var(--progress), rgba(255, 255, 255, 0.42) var(--progress)); cursor: pointer; -webkit-appearance: none; appearance: none; }
.video-progress::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: transparent; }
.video-progress::-webkit-slider-thumb { width: 0; height: 0; border: 0; background: transparent; -webkit-appearance: none; appearance: none; }
.video-progress::-moz-range-track { height: 4px; border-radius: 999px; background: transparent; }
.video-progress::-moz-range-thumb { width: 0; height: 0; border: 0; background: transparent; }
.video-control-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 34px; }
.video-control-left, .video-control-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.video-control-button { position: relative; width: 28px; height: 28px; display: inline-grid; place-items: center; border: 0; background: transparent; color: #fff; padding: 0; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0.95; }
.video-control-button:hover { opacity: 1; transform: scale(1.08); }
.video-play-button { font-size: 16px; }
.volume-control { position: relative; width: 28px; height: 28px; display: grid; place-items: center; }
.volume-button { font-size: 18px; }
.volume-slider-pop { position: absolute; left: 50%; bottom: 30px; width: 34px; height: 98px; place-items: center; padding: 9px 0; border-radius: 4px; background: rgba(0, 0, 0, 0.72); opacity: 0; pointer-events: none; transform: translate(-50%, 6px); transition: opacity 0.14s ease, transform 0.14s ease; }
.volume-slider-pop[hidden] { display: none; }
.volume-control.volume-open .volume-slider-pop { display: grid; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.volume-slider { --volume: 100%; position: relative; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.volume-track, .volume-fill { position: absolute; left: 50%; bottom: 10px; width: 3px; border-radius: 999px; transform: translateX(-50%); }
.volume-track { top: 10px; background: rgba(255, 255, 255, 0.34); }
.volume-fill { height: var(--volume); max-height: calc(100% - 20px); background: #df1f2d; }
.volume-fill::after { content: ""; position: absolute; left: 50%; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #df1f2d; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(223, 31, 45, 0.15), 0 0 12px rgba(223, 31, 45, 0.35); }
.volume-thumb { display: none; }
.video-time { color: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); }
.video-skip-button { width: 32px; }
.video-skip-button::before { content: ""; position: absolute; left: 7px; top: 4px; width: 17px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.video-skip-button::after { content: ""; position: absolute; top: 4px; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.video-skip-back::after { left: 4px; border-right: 7px solid currentColor; }
.video-skip-forward::before { left: 6px; transform: scaleX(-1); }
.video-skip-forward::after { right: 4px; border-left: 7px solid currentColor; }
.video-skip-button span { position: absolute; left: 10px; top: 16px; font-size: 7px; font-weight: 900; line-height: 1; }
.cc-control-button { width: 25px; height: 20px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.8); font-size: 10px; font-weight: 1000; letter-spacing: -0.03em; }
.cc-control-button.active { background: #edf6ff; color: #12344b; border-color: #edf6ff; }
.settings-control-button { font-size: 22px; }
.mini-control-button::before { content: ""; width: 19px; height: 13px; border: 2px solid currentColor; border-radius: 1px; box-shadow: inset 8px 0 0 rgba(255, 255, 255, 0.25); }
.fullscreen-control-button::before { content: ""; width: 19px; height: 19px; background: linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat, linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat, linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat, linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat; }
.demo-player:fullscreen, .demo-player:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; background: #000; }
.demo-player:fullscreen .real-video-player, .demo-player:-webkit-full-screen .real-video-player { width: 100%; height: 100%; }
.demo-player:fullscreen .custom-video-controls, .demo-player:-webkit-full-screen .custom-video-controls { padding: 0 28px 18px; }
.soft-subtitle-overlay { position: absolute; z-index: 8; left: 7%; right: 7%; bottom: 92px; display: grid; justify-items: center; gap: 3px; pointer-events: none; text-align: center; }
.demo-player:fullscreen .soft-subtitle-overlay, .demo-player:-webkit-full-screen .soft-subtitle-overlay { bottom: 105px; }
.soft-subtitle-overlay[hidden] { display: none; }
.soft-subtitle-overlay span { display: inline-block; padding: 1px 8px 3px; border-radius: 0; background: rgba(0, 0, 0, 0.58); color: #dedede; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(19px, 2.6vw, 38px); font-style: italic; font-weight: 400; line-height: 1.18; letter-spacing: -0.02em; text-shadow: 1px 1px 1px #000, 0 0 2px #000; }
.player-content { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.player-logo { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px 7px; background: linear-gradient(135deg, var(--pink), var(--purple)); font-size: 25px; font-weight: 1000; transform: skew(-5deg); }
.player-content h1 { margin: 18px 0 5px; font-size: clamp(24px, 4vw, 42px); }
.player-content p { margin: 0; color: #aaa5b4; }
.player-content small { margin-top: 15px; color: #686473; }
.large-play { width: 68px; height: 68px; margin-top: 24px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; font-size: 18px; box-shadow: 0 0 45px rgba(143, 86, 255, 0.4); transition: transform 0.2s; }
.large-play:hover { transform: scale(1.08); }
.fake-player-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; min-height: 54px; display: grid; grid-template-columns: auto auto 1fr auto auto auto; align-items: center; gap: 12px; padding: 0 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.92)); color: #bbb6c4; font-size: 10px; }
.fake-player-bar button { border: 0; background: transparent; color: white; font-size: 11px; }
.fake-player-bar > i { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }
.fake-player-bar > i b { position: absolute; width: 8%; height: 100%; border-radius: inherit; background: var(--purple); }
.player-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; padding: 14px 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: #10101a; }
.player-settings > div { display: flex; align-items: center; gap: 6px; }
.player-settings span { margin-right: 3px; color: #716d7e; font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.player-settings button { min-height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #181824; color: #aaa5b4; padding: 0 10px; font-size: 9px; font-weight: 800; }
.player-settings button.active { border-color: rgba(143, 86, 255, 0.5); background: rgba(143, 86, 255, 0.2); color: white; }
.player-settings .lights-button { margin-left: auto; }
.skip-controls { display: flex; align-items: center; gap: 6px; }
.skip-controls .skip-icon { position: relative; width: 34px; min-width: 34px; height: 30px; padding: 0; border: 0; background: transparent; color: #f2eff8; }
.skip-controls .skip-icon::before { content: ""; position: absolute; left: 7px; top: 5px; width: 17px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.skip-controls .skip-icon::after { content: ""; position: absolute; top: 5px; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.skip-controls .skip-back::after { left: 4px; border-right: 7px solid currentColor; }
.skip-controls .skip-forward::before { left: 6px; transform: scaleX(-1); }
.skip-controls .skip-forward::after { right: 4px; border-left: 7px solid currentColor; }
.skip-controls .skip-icon span { position: absolute; left: 11px; top: 15px; font-size: 7px; font-weight: 900; line-height: 1; }
.skip-controls .skip-icon:hover { color: white; transform: scale(1.08); }
.watch-tools { margin-left: auto; display: flex; gap: 7px; }
.tool-button { min-width: 58px; min-height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #181824; color: #aaa5b4; padding: 0 10px; font-size: 9px; font-weight: 800; }
.tool-button:hover { border-color: rgba(255, 255, 255, 0.35); color: white; }
.watch-control-panel { position: absolute; z-index: 12; right: 18px; bottom: 70px; width: min(280px, calc(100% - 36px)); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 10px; background: #111216; box-shadow: 0 24px 65px rgba(0, 0, 0, 0.68); }
.watch-control-panel[hidden] { display: none; }
.control-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr auto; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: #0d0e12; }
.control-tabs button, .control-menu button { border: 0; background: transparent; color: #e7e4ee; text-align: left; font-size: 12px; font-weight: 800; }
.control-tabs button { min-height: 48px; padding: 0 15px; border-bottom: 2px solid transparent; text-align: center; }
.control-tabs button.active { border-color: white; color: white; }
.control-tabs .panel-close { width: 48px; color: white; }
.control-menu { display: none; padding: 12px 0 18px; }
.control-menu.active { display: grid; }
.control-menu button { position: relative; min-height: 28px; padding: 0 22px 0 36px; }
.control-menu button.active::before { content: "•"; position: absolute; left: 22px; color: white; }
.control-menu button:hover { background: rgba(255, 255, 255, 0.06); color: white; }
.watch-title-row { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding: 35px 0 25px; border-bottom: 1px solid var(--line); }
.watch-title-row h1 { margin: 0; font-size: clamp(31px, 4vw, 52px); letter-spacing: -0.045em; }
.watch-title-row p:last-child { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.episode-nav { display: flex; gap: 8px; }
.episode-nav a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; color: #b5b0bd; font-size: 10px; font-weight: 800; }
.episode-nav a:hover { border-color: var(--purple); color: white; }
.episode-nav a.disabled { pointer-events: none; opacity: 0.35; }
.episode-panel { padding: 30px 0; }
.episode-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.episode-panel-heading h2 { margin: 0; font-size: 30px; }
.episode-panel-heading input { width: 180px; min-height: 39px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--panel); color: white; padding: 0 12px; font-size: 11px; }
.episode-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; max-height: 320px; overflow: auto; padding-right: 5px; }
.episode-button { min-height: 51px; display: grid; place-content: center; justify-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: #b9b4c1; }
.episode-button span { font-size: 12px; font-weight: 850; }
.episode-button small { margin-top: 2px; color: #625e6b; font-size: 7px; }
.episode-button:hover, .episode-button.active { border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; }
.episode-button.active small { color: rgba(255, 255, 255, 0.65); }
.watch-coming-soon { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 80px 20px; text-align: center; background: linear-gradient(rgba(7, 7, 13, 0.72), rgba(7, 7, 13, 0.96)), var(--player-bg); background-size: cover; background-position: center; }
.watch-coming-soon > div { width: min(680px, 100%); padding: clamp(35px, 6vw, 70px); border: 1px solid var(--line); border-radius: 24px; background: rgba(9, 9, 16, 0.88); box-shadow: var(--shadow); }
.watch-coming-soon h1 { margin: 0 0 20px; font-size: clamp(54px, 9vw, 100px); letter-spacing: -0.06em; }
.watch-coming-soon > div > p:not(.section-kicker) { margin: 0 auto 30px; color: var(--muted); line-height: 1.8; }
.watch-info { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.mini-poster { width: 120px; border-radius: 10px; }
.mini-poster .poster-symbol { font-size: 36px; }
.watch-info h2 { margin: 0; font-size: 25px; }
.watch-info p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.recommend-sidebar { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #151522, #0c0c14); }
.recommend-sidebar h2 { margin: 0 0 17px; font-size: 28px; }
.recommend-item { display: grid; grid-template-columns: 65px 1fr; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.recommend-art { --poster: linear-gradient(#333, #111); position: relative; width: 65px; aspect-ratio: 0.72; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--poster); }
.recommend-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.recommend-art b { position: relative; z-index: 1; font-size: 20px; }
.recommend-item span:last-child strong, .recommend-item span:last-child small { display: block; }
.recommend-item span:last-child strong { font-size: 11px; line-height: 1.35; }
.recommend-item span:last-child small { margin-top: 6px; color: #777281; font-size: 8px; }
.theater-mode::after { content: ""; position: fixed; z-index: 75; inset: 0; background: rgba(0, 0, 0, 0.9); }
.theater-mode .site-header { z-index: 74; }
.theater-mode .demo-player, .theater-mode .player-settings { position: relative; z-index: 76; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 30px; padding: 13px 20px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 999px; background: rgba(20, 18, 32, 0.94); color: white; font-size: 12px; font-weight: 750; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); transition: 0.25s; backdrop-filter: blur(15px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.news-page { min-height: calc(100vh - 72px); }
.news-page .page-intro { padding-bottom: 20px; }
.news-page .page-intro > p:last-child { max-width: 620px; color: var(--muted); line-height: 1.7; }
.news-section { padding-top: 45px; }
.news-source-note { margin: -20px 0 25px; color: var(--muted); font-size: 12px; }
.news-refresh { min-height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: white; font-weight: 750; cursor: pointer; }
.news-refresh:hover { border-color: var(--purple); }
.news-refresh:disabled { cursor: wait; opacity: 0.55; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform 0.2s, border-color 0.2s; }
.sensitive-news { position: relative; }
.sensitive-news .news-image img { filter: blur(22px); transform: scale(1.12); }
.sensitive-news.sensitive-revealed .news-image img { filter: none; transform: none; }
.sensitive-reveal { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; border: 0; background: rgba(8, 8, 14, 0.48); color: white; font-size: 13px; font-weight: 800; cursor: pointer; backdrop-filter: blur(2px); }
.sensitive-reveal small { color: #c6a8ff; font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(143, 86, 255, 0.55); }
.news-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #151522; }
.news-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-image img { transform: scale(1.035); }
.news-copy { padding: 20px; }
.news-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.news-meta span { color: #bd8cff; }
.news-copy h3 { margin: 12px 0 10px; font-size: 19px; line-height: 1.3; }
.news-copy h3 a { color: white; }
.news-copy p { display: -webkit-box; min-height: 58px; margin: 0 0 16px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-loading, .news-error { grid-column: 1 / -1; padding: 45px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--muted); text-align: center; }
.news-error strong { color: white; }

@media (max-width: 1250px) {
  .header-inner { grid-template-columns: auto auto 1fr auto; gap: 18px; }
  .main-nav a { padding-inline: 7px; }
  .search-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .landing-hero { grid-template-columns: minmax(0, 1fr) 440px; }
  .art-card-back { width: 270px; height: 410px; }
  .art-card-front { width: 330px; height: 500px; }
  .watch-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .episode-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .shell { width: min(100% - 40px, 1480px); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .mobile-menu-button { display: block; justify-self: end; order: 2; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 82px; display: grid; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 13, 22, 0.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.2s; }
  .main-nav a { padding: 13px 14px; border-radius: 8px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(143, 86, 255, 0.13); }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .header-search { grid-column: 2; grid-row: 1; }
  .login-button { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .landing-copy h1, .landing-lead, .landing-search { margin-inline: auto; }
  .landing-actions { justify-content: center; }
  .landing-art { min-height: 600px; width: min(620px, 100%); margin-inline: auto; }
  .landing-stats { grid-template-columns: repeat(3, 1fr); }
  .landing-stats p { display: none; }
  .landing-stats div { justify-content: center; }
  .home-layout { grid-template-columns: 1fr; }
  .genre-sidebar { position: static; margin-top: 30px; }
  .genre-link-list { grid-template-columns: repeat(4, 1fr); }
  .anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .continue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .character-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-inner { grid-template-columns: 230px 1fr; }
  .detail-poster { width: 230px; }
  .detail-body { grid-template-columns: 1fr 300px; gap: 40px; }
  .watch-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .recommend-sidebar { margin-top: 15px; }
  .recommend-sidebar > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .copyright { grid-column: 1; margin: 0; }
  .footer-support { grid-column: 2; grid-row: 2; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1480px); }
  .landing-header { min-height: 75px; }
  .landing-header .ghost-button { display: none; }
  .landing-hero { min-height: auto; padding-top: 65px; }
  .landing-copy h1 { font-size: clamp(52px, 17vw, 82px); }
  .landing-lead { font-size: 15px; }
  .landing-search { min-height: 59px; grid-template-columns: auto 1fr; padding-right: 16px; }
  .landing-search button { grid-column: 1 / -1; min-height: 48px; margin: 0 -10px -67px; transform: translateY(70px); }
  .landing-actions { margin-top: 100px; flex-direction: column; }
  .popular-searches { line-height: 1.7; }
  .landing-art { min-height: 450px; margin-top: 15px; }
  .art-card-front { width: 250px; height: 380px; right: 6%; }
  .art-card-back { width: 210px; height: 310px; left: 5%; }
  .art-character { width: 180px; height: 270px; }
  .art-character::before { width: 105px; height: 120px; top: 23px; }
  .art-character::after { width: 150px; height: 135px; }
  .art-character i { top: 82px; }
  .art-character b { width: 210px; top: 180px; }
  .landing-art::before { width: 330px; height: 330px; }
  .art-caption strong { font-size: 20px; }
  .floating-label { display: none; }
  .landing-stats { min-height: 85px; gap: 5px; }
  .landing-stats div { display: grid; justify-items: center; gap: 3px; }
  .landing-stats strong { font-size: 19px; }
  .landing-stats span { font-size: 8px; }
  .header-inner { min-height: 64px; grid-template-columns: auto auto; }
  .header-search { display: none; }
  .mobile-menu-button { grid-column: 2; }
  .main-nav { top: 73px; }
  .spotlight { min-height: 680px; }
  .spotlight-inner { grid-template-columns: 1fr; padding-block: 90px 130px; }
  .spotlight-copy h1 { font-size: clamp(58px, 18vw, 88px); }
  .spotlight-copy > p:not(.section-kicker) { font-size: 14px; }
  .hero-emblem { display: none; }
  .hero-controls { bottom: 35px; }
  .section { padding-top: 55px; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 29px; }
  .anime-grid, .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; }
  .continue-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .account-card { padding: 25px 18px; }
  .auth-tabs { align-items: stretch; flex-direction: column; }
  .profile-heading { align-items: flex-start; flex-direction: column; }
  .bleach-countdown { margin-top: -24px; align-items: stretch; flex-direction: column; padding: 24px 20px; }
  .bleach-countdown-time { grid-template-columns: repeat(4, 1fr); }
  .bleach-countdown-time span { min-width: 0; padding: 13px 6px; }
  .avatar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .character-detail-page { padding-top: 80px; }
  .character-detail-card { grid-template-columns: 1fr; gap: 28px; }
  .character-detail-cover { max-width: 330px; margin: 0 auto; }
  .trending-row { grid-auto-columns: minmax(160px, 42vw); padding-left: 40px; }
  .genre-link-list { grid-template-columns: repeat(2, 1fr); }
  .page-intro { padding-top: 70px; }
  .page-intro h1 { font-size: clamp(50px, 16vw, 75px); }
  .search-panel { padding: 15px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .reset-button { grid-column: 1 / -1; }
  .genre-cloud { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
  .genre-chip { flex: 0 0 auto; }
  .detail-hero { min-height: auto; }
  .detail-inner { grid-template-columns: 1fr; align-items: center; justify-items: center; padding-block: 80px 50px; text-align: center; }
  .detail-poster { width: min(230px, 65vw); }
  .detail-copy h1 { font-size: clamp(52px, 16vw, 78px); }
  .detail-copy .hero-meta, .detail-copy .hero-buttons, .detail-genres { justify-content: center; }
  .detail-facts { grid-template-columns: repeat(2, 1fr); justify-content: stretch; gap: 18px; }
  .detail-body { grid-template-columns: 1fr; padding-top: 50px; }
  .watch-page { padding-top: 10px; }
  .demo-player { border-radius: 12px 12px 0 0; }
  .player-content h1 { font-size: 24px; }
  .player-content p { font-size: 11px; }
  .player-content small { display: none; }
  .large-play { width: 52px; height: 52px; margin-top: 16px; }
  .fake-player-bar { min-height: 42px; padding-inline: 10px; gap: 7px; }
  .player-settings { align-items: flex-start; }
  .player-settings > div { width: 100%; }
  .player-settings .lights-button { margin-left: 0; }
  .watch-title-row { align-items: flex-start; flex-direction: column; }
  .episode-panel-heading { align-items: flex-start; flex-direction: column; }
  .episode-panel-heading input { width: 100%; }
  .episode-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .watch-info { grid-template-columns: 80px 1fr; gap: 15px; padding: 16px; }
  .mini-poster { width: 80px; }
  .recommend-sidebar > div { grid-template-columns: 1fr; }
  .footer-inner { min-height: 260px; grid-template-columns: 1fr; align-content: center; gap: 25px; }
  .footer-inner nav { flex-wrap: wrap; }
  .copyright { grid-column: auto; margin: 0; }
  .footer-support { grid-column: auto; grid-row: auto; justify-self: start; }
}

@media (max-width: 430px) {
  .primary-button, .ghost-button { min-height: 45px; padding-inline: 17px; font-size: 12px; }
  .anime-grid, .search-grid { gap-inline: 9px; }
  .poster-title { left: 10px; right: 10px; bottom: 10px; font-size: 9px; }
  .poster-symbol { font-size: 45px; }
  .card-copy h3 { font-size: 12px; }
  .card-badges span { padding-inline: 4px; font-size: 7px; }
  .episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .episode-nav { width: 100%; }
  .episode-nav a { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
