:root {
  --ink: #171922;
  --muted: #6f7280;
  --paper: #f6f7fb;
  --white: #ffffff;
  --line: #e4e6ed;
  --lavender: #7867e8;
  --pink: #ee6f9c;
  --yellow: #ffd65a;
  --blue: #3d8bff;
  --radius: 22px;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px)/2)); background: rgba(255,255,255,.84); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); position: sticky; top: 0; z-index: 30; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 13px; font: 800 21px 'Manrope'; transform: rotate(-4deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand b { font: 800 18px 'Manrope'; letter-spacing: -.6px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; }
nav a:hover { color: var(--lavender); }
.watchlist-nav { border: 0; background: #f0effb; color: #4f43b4; border-radius: 99px; padding: 9px 12px 9px 15px; cursor: pointer; font-weight: 700; }
.watchlist-nav span { background: var(--lavender); color: white; border-radius: 99px; padding: 2px 7px; margin-left: 5px; }
.watchlist-nav.active { background: var(--lavender); color: white; }
main { overflow: hidden; }
.hero { min-height: 650px; max-width: 1240px; margin: auto; padding: 82px 24px 70px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 13px; color: var(--lavender); font-weight: 800; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }
h1 { margin: 0; font-size: clamp(54px, 6.4vw, 91px); line-height: .96; letter-spacing: -5px; }
h1 em { color: var(--pink); font-style: normal; position: relative; }
h1 em::after { content: ''; position: absolute; height: 9px; left: 2px; right: 0; bottom: 2px; background: var(--yellow); z-index: -1; transform: rotate(-2deg); }
.hero-lead { max-width: 610px; font-size: 19px; line-height: 1.65; color: var(--muted); margin: 28px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.primary-button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--ink); color: white; border-radius: 14px; padding: 15px 20px; font-weight: 700; cursor: pointer; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(23,25,34,.18); }
.update-note { color: var(--muted); font-size: 13px; }
.update-note i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #43bf77; margin-right: 7px; box-shadow: 0 0 0 4px #dcf6e6; }
.hero-art { height: 490px; position: relative; }
.poster-stack { position: absolute; inset: 0; }
.hero-poster { position: absolute; width: 250px; height: 360px; border: 8px solid white; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 25px 60px rgba(39,38,71,.24); overflow: hidden; }
.hero-poster span { font: 800 25px/1.02 'Manrope'; color: white; position: absolute; inset: auto 18px 20px; text-shadow: 0 2px 15px rgba(0,0,0,.25); }
.fallback-cover::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.5), transparent 32%), linear-gradient(150deg, transparent, rgba(28,20,85,.45)); }
.fallback-cover span { z-index: 2; }
.p1 { left: 5%; top: 50px; transform: rotate(-9deg); background: linear-gradient(145deg,#1e1b48,#de4f55); z-index: 2; }
.p2 { left: 31%; top: 8px; transform: rotate(4deg); background: linear-gradient(145deg,#e8c791,#6d8aa8); z-index: 3; }
.p3 { right: 1%; top: 78px; transform: rotate(10deg); background: linear-gradient(145deg,#9ed5e2,#404f84); z-index: 1; }
.sticker { position: absolute; right: 3%; top: 4px; z-index: 5; width: 98px; height: 98px; display: grid; place-content: center; text-align: center; background: var(--yellow); border-radius: 50%; font-size: 11px; line-height: 1.2; transform: rotate(9deg); box-shadow: 0 9px 25px rgba(65,55,10,.18); }
.sticker b { font-size: 22px; }
.stats-strip { max-width: 1240px; margin: 0 auto 100px; padding: 25px 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; box-shadow: 0 15px 50px rgba(32,36,70,.06); }
.stats-strip div { min-width: 145px; display: flex; flex-direction: column; border-right: 1px solid var(--line); margin-right: 24px; }
.stats-strip strong { font: 800 28px 'Manrope'; }
.stats-strip span { font-size: 12px; color: var(--muted); }
.stats-strip p { color: var(--muted); margin-left: auto; max-width: 410px; line-height: 1.55; }
.calendar-section, .catalog { max-width: 1240px; margin: auto; padding: 0 24px 105px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -2.2px; }
.section-heading > p { color: var(--muted); max-width: 390px; line-height: 1.6; }
.weekday-rail { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.day-card { padding: 18px 12px; min-height: 135px; border: 1px solid var(--line); border-radius: 17px; background: white; display: flex; flex-direction: column; text-align: left; cursor: pointer; transition: .2s ease; }
.day-card:hover, .day-card.active { transform: translateY(-4px); border-color: var(--lavender); box-shadow: 0 12px 30px rgba(77,65,173,.12); }
.day-card.active { background: var(--lavender); color: white; }
.day-card > span { font-size: 11px; font-weight: 800; color: var(--lavender); }
.day-card.active > span, .day-card.active small { color: #e4e0ff; }
.day-card strong { margin-top: auto; font-size: 14px; }
.day-card small { color: var(--muted); margin-top: 4px; }
.catalog { max-width: 1320px; background: white; padding-top: 85px; padding-left: 40px; padding-right: 40px; border-radius: 38px; box-shadow: 0 28px 90px rgba(32,36,70,.08); }
.catalog-heading { max-width: 1240px; margin-left: auto; margin-right: auto; }
.result-count { color: var(--muted); font-size: 14px; }
.filter-panel { max-width: 1240px; margin: 0 auto 24px; padding: 12px; display: flex; gap: 9px; align-items: center; background: #f5f5f9; border-radius: 17px; }
.search-box { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.search-box span { font-size: 22px; color: var(--muted); transform: rotate(-15deg); }
.search-box input { width: 100%; height: 42px; border: 0; outline: 0; background: transparent; }
.platform-filters { display: flex; gap: 5px; }
.filter-chip { border: 0; padding: 10px 12px; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-chip:hover, .filter-chip.active { background: white; color: var(--ink); box-shadow: 0 3px 10px rgba(30,34,60,.08); }
select { height: 42px; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 0 28px 0 10px; font-size: 12px; color: var(--ink); }
.active-filter { max-width: 1240px; margin: 0 auto 24px; font-size: 13px; color: var(--muted); }
.active-filter button { border: 0; background: none; color: var(--lavender); font-weight: 700; cursor: pointer; }
.anime-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 18px; }
.anime-card { min-width: 0; }
.cover-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 17px; background: none; cursor: pointer; }
.cover { aspect-ratio: 2/3; width: 100%; position: relative; overflow: hidden; border-radius: 17px; background-size: cover !important; background-position: center !important; box-shadow: 0 13px 30px rgba(31,34,58,.14); transition: transform .25s ease, box-shadow .25s ease; }
.cover::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg,rgba(0,0,0,.03),transparent 55%,rgba(0,0,0,.38)); }
.anime-card:hover .cover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(31,34,58,.22); }
.fallback-title { position: absolute; inset: auto 16px 20px; color: white; font: 800 clamp(18px,2vw,27px)/1.03 'Manrope'; text-align: left; z-index: 2; text-shadow: 0 3px 15px rgba(0,0,0,.25); }
.type-label { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 8px; background: rgba(255,255,255,.9); border-radius: 7px; color: var(--ink); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; backdrop-filter: blur(5px); }
.platform-badge { display: inline-flex; width: fit-content; padding: 6px 8px; border-radius: 7px; color: white; font-size: 9px; font-weight: 800; letter-spacing: .3px; }
.cover > .platform-badge { position: absolute; left: 12px; bottom: 12px; z-index: 3; }
.crunchyroll { background: #f47521; }.adn { background: #5762d5;}.aniverse { background: #e40079;}.prime-video { background: #1677a5;}.netflix { background: #d81f26;}
.card-body { padding: 14px 4px 0; }
.schedule-line { display: flex; justify-content: space-between; color: var(--lavender); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.schedule-line b { color: var(--muted); }
.card-body h3 { margin: 8px 0 7px; font-size: 16px; line-height: 1.25; letter-spacing: -.4px; }
.card-body h3 button { padding: 0; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
.card-body h3 button:hover { color: var(--lavender); }
.studio { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-footer { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.save-button { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); background: white; border-radius: 50%; cursor: pointer; color: var(--pink); font-size: 17px; }
.save-button:hover, .save-button.saved { color: white; background: var(--pink); border-color: var(--pink); }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state span { font-size: 55px; color: var(--lavender); }.empty-state h3 { margin-bottom: 5px; }.empty-state p { color: var(--muted); }
.editorial-note { max-width: 1192px; margin: 100px auto; padding: 55px 60px; border-radius: 28px; background: #20222b; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.editorial-note h2 { margin: 0; font-size: 38px; line-height: 1.1; letter-spacing: -1.8px; }
.editorial-note > p { color: #b9bbc4; line-height: 1.75; }
footer { min-height: 180px; max-width: 1240px; margin: auto; padding: 45px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 45px; color: var(--muted); font-size: 13px; }
footer p { margin-right: auto; }.footer-brand { color: var(--ink); }
.detail-dialog { width: min(960px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 25px; overflow: hidden; box-shadow: 0 30px 100px rgba(17,19,29,.35); }
.detail-dialog::backdrop { background: rgba(16,18,27,.68); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 15px; top: 15px; z-index: 5; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 25px; cursor: pointer; }
#dialogContent { display: grid; grid-template-columns: 340px 1fr; min-height: 510px; }
.dialog-cover { background-size: cover !important; background-position: center !important; min-height: 510px; display: flex; align-items: end; padding: 30px; color: white; font: 800 34px/1.03 'Manrope'; }
.dialog-copy { padding: 55px 45px; }
.dialog-copy .eyebrow { margin-top: 22px; }.dialog-copy h2 { font-size: 37px; line-height: 1.08; letter-spacing: -1.5px; margin: 0 0 25px; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); }
.detail-facts div { display: flex; flex-direction: column; }.detail-facts small { color: var(--muted); margin-bottom: 4px; }.detail-facts b { font-size: 13px; }
.synopsis { color: var(--muted); line-height: 1.65; font-size: 14px; max-height: 145px; overflow: auto; }
.dialog-actions { margin-top: 25px; display: flex; align-items: center; gap: 20px; }.dialog-actions > a { color: var(--lavender); font-size: 13px; font-weight: 700; }
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }.hero-art { width: min(620px,100%); margin: auto; }.stats-strip { margin-inline: 24px; }.weekday-rail { grid-template-columns: repeat(4,1fr); }.filter-panel { flex-wrap: wrap; }.search-box { flex-basis: 100%; }.platform-filters { flex: 1; flex-wrap: wrap; }.anime-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 760px) {
  .topbar { height: 66px; padding-inline: 16px; }.topbar nav a { display:none; }.topbar nav { gap: 8px; }.brand-mark { width: 37px; height: 37px; }.hero { padding: 55px 18px 35px; }.hero h1 { letter-spacing: -3px; }.hero-art { height: 360px; }.hero-poster { width: 175px; height: 270px; border-width: 5px; }.p1 { left: 0 }.p2 { left: 28% }.p3 { right: 0 }.sticker { width: 75px; height: 75px; right: 0 }.sticker b { font-size:17px }.stats-strip { display:grid; grid-template-columns:repeat(3,1fr); margin: 0 18px 75px; padding: 20px 15px; }.stats-strip div { min-width:0; margin:0; padding-left:12px }.stats-strip p { grid-column:1/-1; margin:18px 10px 0; padding-top:15px; border-top:1px solid var(--line) }.calendar-section { padding-inline:18px }.weekday-rail { grid-template-columns: repeat(2,1fr); }.day-card { min-height:100px }.section-heading { align-items:start; flex-direction:column; gap:8px }.section-heading > p { margin:0 }.catalog { border-radius:28px; padding:60px 15px 70px }.filter-panel { padding:9px }.platform-filters { overflow:auto; flex-wrap:nowrap }.filter-chip { white-space:nowrap }.anime-grid { grid-template-columns: repeat(2,1fr); gap:28px 12px }.card-body h3 { font-size:14px }.editorial-note { margin:70px 18px; padding:35px 28px; grid-template-columns:1fr; gap:20px }.editorial-note h2 { font-size:30px } footer { align-items:flex-start; flex-direction:column; gap:18px } #dialogContent { grid-template-columns:1fr }.dialog-cover { min-height:360px }.dialog-copy { padding:35px 25px }.dialog-copy h2 { font-size:29px }.detail-facts { grid-template-columns:1fr 1fr }.detail-facts div:last-child { grid-column:1/-1 }.dialog-close { position:fixed }
}
@media (max-width: 390px) { .hero-poster { width:155px; height:240px }.hero-art { height:330px }.stats-strip strong { font-size:22px }.anime-grid { grid-template-columns:1fr 1fr } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
