:root {
	--ink: #f6f0ed;
	--ink-muted: #b8b0b4;
	--ink-dark: #181319;
	--night: #0c0a0e;
	--night-soft: #151117;
	--night-raised: #1d171e;
	--line: rgba(255, 255, 255, 0.11);
	--line-dark: rgba(24, 19, 25, 0.14);
	--accent: #ff4f70;
	--accent-deep: #bc2447;
	--accent-soft: #ff9aab;
	--wine: #4d1127;
	--cream: #f4eadf;
	--gold: #f3c978;
	--success: #74d3a1;
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shell: 1240px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--night);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 4px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: var(--ink-dark); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.shell--narrow { max-width: 840px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-soft); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 28px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	border-bottom: 1px solid transparent;
	background: rgba(12, 10, 14, 0.68);
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { background: rgba(12, 10, 14, 0.94); border-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
@supports (backdrop-filter: blur(16px)) { .site-header { backdrop-filter: blur(16px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { display: flex; align-items: center; height: 40px; overflow: hidden; border-radius: 10px; background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 79, 112, 0.24); font-size: 0.82rem; font-weight: 900; letter-spacing: -0.04em; }
.brand__mark span:first-child { display: grid; place-items: center; align-self: stretch; width: 31px; background: #fff; color: var(--wine); font-family: var(--serif); font-size: 1.35rem; }
.brand__mark span:last-child { padding: 0 8px 0 6px; }
.brand__copy { display: grid; line-height: 1; }
.brand__copy strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.brand__copy small { margin-top: 5px; color: var(--ink-muted); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.brand__image { width: auto; max-width: 220px; height: 52px; object-fit: contain; }
.site-nav__list, .site-nav .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; color: #ddd5d9; font-size: 0.9rem; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; inset: auto 50% -8px; height: 2px; background: var(--accent); transition: inset 180ms ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: #fff; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { inset-inline: 0; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-search { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; color: #fff; font-size: 0.86rem; font-weight: 700; transition: border-color 180ms ease, background-color 180ms ease; }
.header-search:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.header-search svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle > span:not(.screen-reader-text) { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; transition: transform 180ms ease; }

.home-hero { position: relative; min-height: 760px; overflow: hidden; background: var(--night-soft); }
.home-hero.has-image { background-image: var(--hero-image); background-position: center 22%; background-size: cover; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(8, 6, 9, 0.58); }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,7,10,.98) 0%, rgba(9,7,10,.78) 42%, rgba(9,7,10,.22) 72%, rgba(9,7,10,.64) 100%); }
.home-hero__texture { position: absolute; z-index: 1; inset: 0; opacity: 0.18; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); pointer-events: none; }
.home-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: end; gap: 80px; min-height: 760px; padding-top: 160px; padding-bottom: 82px; }
.home-hero__content { max-width: 760px; }
.home-hero h1 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 7.3rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.88; text-wrap: balance; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 28px 0 18px; color: #e5dde0; font-size: 0.85rem; font-weight: 700; }
.hero-facts span:not(:last-child)::after { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 0 3px 20px; border-radius: 50%; background: rgba(255,255,255,.42); }
.hero-facts .hero-rating { color: var(--gold); }
.home-hero__summary { max-width: 620px; margin: 0; color: #d2c9ce; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 0.9rem; font-weight: 800; line-height: 1.2; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button--primary { background: var(--accent); color: #fff; box-shadow: 0 13px 30px rgba(255,79,112,.22); }
.button--primary:hover { background: #ff6682; }
.button--ghost { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.button--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); }
.hero-poster { position: relative; align-self: end; transform: rotate(2.2deg); border: 9px solid rgba(255,255,255,.12); border-radius: 8px; background: var(--night-raised); box-shadow: var(--shadow); }
.hero-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.hero-poster span { position: absolute; right: -16px; bottom: 18px; padding: 9px 13px; background: var(--cream); color: var(--ink-dark); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.discovery { position: relative; z-index: 5; margin-top: -1px; background: var(--cream); color: var(--ink-dark); }
.discovery__shell { padding-block: 68px 74px; }
.discovery__heading { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 50px; margin-bottom: 30px; }
.discovery .eyebrow { color: var(--accent-deep); }
.discovery h2, .section-heading h2, .genre-section h2, .promise h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4.1vw, 4.1rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.discovery__heading > p { margin: 0 0 4px; color: #71656b; }
.live-search { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; min-height: 76px; padding: 8px 9px 8px 24px; border: 1px solid var(--line-dark); border-radius: 18px; background: #fff; box-shadow: 0 16px 45px rgba(77,17,39,.09); }
.live-search > svg { width: 23px; fill: none; stroke: #807278; stroke-width: 1.8; }
.live-search input { min-width: 0; height: 58px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink-dark); font-size: 1.08rem; }
.live-search input::placeholder { color: #968a8f; }
.live-search button { height: 58px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--ink-dark); color: #fff; cursor: pointer; font-weight: 800; }
.search-status { min-height: 25px; margin: 10px 4px 0; color: #786d72; font-size: .82rem; }
.live-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.live-result { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 13px; min-height: 98px; padding: 10px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255,255,255,.62); transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.live-result:hover { transform: translateY(-2px); border-color: rgba(188,36,71,.35); background: #fff; }
.live-result img, .live-result__placeholder { width: 66px; height: 88px; border-radius: 8px; object-fit: cover; background: var(--wine); }
.live-result__placeholder { display: grid; place-items: center; color: var(--accent-soft); font-family: var(--serif); font-weight: 700; }
.live-result__copy { align-self: center; min-width: 0; }
.live-result__copy strong { display: block; overflow: hidden; font-family: var(--serif); font-size: 1rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.live-result__copy span { display: block; margin-top: 6px; color: #796e73; font-size: .74rem; }

.section { padding: 96px 0 108px; background: var(--night); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading h2 { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.25); color: #ddd5d9; font-size: .84rem; font-weight: 800; }
.text-link span { color: var(--accent); font-size: 1.15rem; transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }
.dorama-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 18px; }
.dorama-card { min-width: 0; }
.dorama-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); background: var(--night-raised); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.dorama-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.2,.7,.2,1); }
.dorama-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--wine); color: rgba(255,255,255,.7); }
.dorama-card__placeholder span { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; letter-spacing: -.08em; }
.dorama-card__veil { position: absolute; inset: 0; background: rgba(10,7,10,.18); transition: background-color 240ms ease; }
.dorama-card__action { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%,-42%) scale(.72); border-radius: 50%; background: var(--accent); color: #fff; opacity: 0; transition: opacity 220ms ease, transform 220ms ease; }
.dorama-card__action svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.rating-badge { position: absolute; top: 10px; right: 10px; padding: 5px 8px; border-radius: 999px; background: rgba(12,10,14,.84); color: #fff; font-size: .7rem; font-weight: 850; }
.rating-badge span { color: var(--gold); }
.dorama-card__media:hover .dorama-card__image { transform: scale(1.055); }
.dorama-card__media:hover .dorama-card__veil { background: rgba(10,7,10,.46); }
.dorama-card__media:hover .dorama-card__action { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.dorama-card__body { padding-top: 14px; }
.dorama-card__meta { display: flex; align-items: center; gap: 8px; overflow: hidden; color: #948b90; font-size: .69rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.dorama-card__meta > * + *::before { content: "·"; margin-right: 8px; color: var(--accent); }
.dorama-card__meta a:hover { color: var(--accent-soft); }
.dorama-card__title { margin: 6px 0 0; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.dorama-card__title a:hover { color: var(--accent-soft); }

.genre-section { padding: 92px 0 100px; background: var(--wine); }
.section-heading--light .eyebrow { color: var(--accent-soft); }
.genre-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.genre-tile { position: relative; min-height: 164px; padding: 24px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transition: background-color 180ms ease; }
.genre-tile:hover { background: rgba(255,255,255,.07); }
.genre-tile__number { display: block; margin-bottom: 30px; color: rgba(255,255,255,.45); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.genre-tile strong { display: block; max-width: calc(100% - 38px); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.genre-tile small { color: rgba(255,255,255,.6); }
.genre-tile__arrow { position: absolute; right: 24px; bottom: 24px; color: var(--accent-soft); font-size: 1.35rem; }

.promise { padding: 92px 0 108px; background: var(--cream); color: var(--ink-dark); }
.promise__grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 38px; }
.promise__lead .eyebrow { color: var(--accent-deep); }
.promise__item { padding-top: 10px; border-top: 2px solid var(--ink-dark); }
.promise__item > span { color: var(--accent-deep); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.promise__item h3 { margin: 28px 0 10px; font-family: var(--serif); font-size: 1.32rem; line-height: 1.15; }
.promise__item p { margin: 0; color: #6b6065; font-size: .9rem; }

.site-footer { padding: 74px 0 22px; border-top: 1px solid var(--line); background: #080609; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 80px; padding-bottom: 56px; }
.brand--footer { margin-bottom: 22px; }
.site-footer p { max-width: 390px; margin: 0; color: #8f878b; font-size: .87rem; }
.footer-nav { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #cfc7cb; font-size: .88rem; }
.footer-nav a:hover { color: var(--accent-soft); }
.site-footer__note .eyebrow { color: var(--accent-soft); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.site-footer__bottom p { font-size: .72rem; }

.archive-page { min-height: 70vh; background: var(--night); }
.archive-hero { padding: 180px 0 68px; border-bottom: 1px solid var(--line); background: var(--night-soft); }
.archive-hero__inner { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 60px; }
.archive-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.3rem, 7vw, 6.5rem); font-weight: 600; letter-spacing: -.06em; line-height: .92; }
.archive-hero__inner > p, .term-description { margin: 0; color: var(--ink-muted); }
.archive-content { padding-block: 52px 110px; }
.catalog-filters { display: flex; align-items: end; gap: 14px; margin-bottom: 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-soft); }
.catalog-filters > div { min-width: 190px; }
.catalog-filters label { display: block; margin: 0 0 6px 4px; color: var(--ink-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.catalog-filters select { width: 100%; height: 50px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--night-raised); color: var(--ink); }
.filter-clear { align-self: center; margin-left: 4px; color: var(--accent-soft); font-size: .82rem; font-weight: 750; }
.results-count { margin: 0 0 26px; color: #8f878b; font-size: .8rem; }
.pagination { margin-top: 54px; }
.pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-muted); font-size: .8rem; }
.pagination .current, .pagination a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.empty-state { padding: 90px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--wine); color: var(--accent-soft); font-family: var(--serif); font-size: 1.5rem; }
.empty-state h2 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.empty-state p { color: var(--ink-muted); }
.page-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 38px; }
.page-search input { min-width: 0; height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--night-soft); color: var(--ink); }

.detail-hero { position: relative; min-height: 720px; overflow: hidden; padding: 164px 0 74px; background: var(--night-soft); }
.detail-hero.has-image { background-image: var(--detail-image); background-position: center 20%; background-size: cover; }
.detail-hero::before { content: ""; position: absolute; inset: 0; background: rgba(8,6,9,.64); }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,9,.98), rgba(8,6,9,.82) 55%, rgba(8,6,9,.46)); }
.detail-hero__wash { position: absolute; z-index: 1; inset: auto 0 0; height: 180px; background: linear-gradient(0deg, var(--night), transparent); }
.detail-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: end; gap: 56px; }
.detail-poster { overflow: hidden; aspect-ratio: 2 / 3; border: 8px solid rgba(255,255,255,.1); border-radius: 8px; background: var(--wine); box-shadow: var(--shadow); }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #aaa1a6; font-size: .74rem; }
.breadcrumbs a:hover { color: #fff; }
.genre-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.genre-pills a { padding: 5px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #eee7ea; font-size: .67rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.detail-copy h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 6.8rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; text-wrap: balance; }
.original-title { margin: 14px 0 0; color: #a9a0a5; font-size: 1rem; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 22px; }
.detail-facts > span { display: grid; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.18); }
.detail-facts > span:first-child { padding-left: 0; border-left: 0; }
.detail-facts small { color: #9b9297; font-size: .65rem; font-weight: 750; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.detail-facts strong { color: #fff; font-size: .92rem; }
.detail-rating strong { color: var(--gold); }
.detail-rating { display: flex !important; grid-auto-flow: column; align-items: end; gap: 4px; }
.detail-rating small { padding-bottom: 3px; }
.detail-lead { max-width: 700px; margin: 0 0 24px; color: #d1c8cd; line-height: 1.75; }
.button--download { min-height: 64px; padding: 8px 28px 8px 22px; border-radius: 14px; background: var(--accent); color: #fff; }
.button--download svg { width: 25px; }
.button--download span { display: grid; text-align: left; }
.button--download small { color: rgba(255,255,255,.72); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.download-unavailable { display: inline-block; margin: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-muted); font-size: .85rem; }
.detail-body { padding: 90px 0; background: var(--cream); color: var(--ink-dark); }
.detail-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 100px; }
.prose .eyebrow { color: var(--accent-deep); }
.prose h2 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(2.5rem, 4.2vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.entry-content { color: #51474c; font-size: 1.04rem; line-height: 1.85; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.detail-aside { align-self: start; padding: 26px; border-top: 4px solid var(--accent-deep); background: #fff; }
.detail-aside h2 { margin: 0 0 22px; font-family: var(--serif); font-size: 1.4rem; }
.detail-aside dl { margin: 0; }
.detail-aside dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.detail-aside dt { color: #8a7d83; font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.detail-aside dd { margin: 0; font-size: .86rem; font-weight: 700; }
.related { background: var(--night-soft); }

.standard-page { min-height: 70vh; padding: 170px 0 100px; background: var(--cream); color: var(--ink-dark); }
.prose--page h1 { margin: 0 0 40px; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -.05em; }
.not-found { display: grid; place-items: center; min-height: 100vh; padding: 140px 0 80px; overflow: hidden; text-align: center; }
.not-found .shell { position: relative; }
.not-found__code { position: absolute; z-index: 0; inset: 50% auto auto 50%; transform: translate(-50%,-52%); color: rgba(255,255,255,.035); font-family: var(--serif); font-size: clamp(16rem, 38vw, 38rem); font-weight: 800; line-height: .7; pointer-events: none; }
.not-found h1, .not-found p, .not-found .eyebrow, .not-found .hero-actions { position: relative; z-index: 1; }
.not-found h1 { max-width: 800px; margin: 0 auto; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); line-height: .95; letter-spacing: -.05em; }
.not-found > .shell > p:not(.eyebrow) { max-width: 520px; margin: 24px auto 0; color: var(--ink-muted); }
.not-found .hero-actions { justify-content: center; }

@media (max-width: 1160px) {
	.dorama-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.live-results { grid-template-columns: repeat(3, 1fr); }
	.promise__grid { grid-template-columns: repeat(3, 1fr); }
	.promise__lead { grid-column: 1 / -1; max-width: 680px; margin-bottom: 20px; }
}

@media (max-width: 960px) {
	.shell { width: min(calc(100% - 36px), var(--shell)); }
	.site-header__inner { min-height: 74px; }
	.site-nav { position: fixed; inset: 74px 0 auto; visibility: hidden; padding: 22px 18px 34px; border-top: 1px solid var(--line); background: #0c0a0e; opacity: 0; transform: translateY(-12px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
	.site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
	.site-nav__list, .site-nav .menu { display: grid; gap: 0; }
	.site-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; }
	.site-nav a::after { display: none; }
	.nav-toggle { display: block; }
	.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
	.home-hero, .home-hero__inner { min-height: 680px; }
	.home-hero__inner { grid-template-columns: minmax(0,1fr) 210px; gap: 42px; padding-bottom: 60px; }
	.home-hero h1 { font-size: clamp(3.5rem, 8vw, 5.4rem); }
	.discovery__heading { grid-template-columns: 1fr; gap: 16px; }
	.live-results { grid-template-columns: repeat(2, 1fr); }
	.dorama-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.genre-list { grid-template-columns: repeat(2, 1fr); }
	.archive-hero__inner { grid-template-columns: 1fr 300px; }
	.detail-hero__inner { grid-template-columns: 240px 1fr; gap: 38px; }
	.detail-body__grid { gap: 50px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 50px; }
	.site-footer__note { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	.shell { width: min(calc(100% - 28px), var(--shell)); }
	.header-search span { display: none; }
	.header-search { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.brand__copy { display: none; }
	.home-hero { min-height: 730px; }
	.home-hero.has-image { background-position: 62% center; }
	.home-hero::after { background: linear-gradient(0deg, rgba(9,7,10,.98) 0%, rgba(9,7,10,.78) 62%, rgba(9,7,10,.42) 100%); }
	.home-hero__inner { display: flex; align-items: end; min-height: 730px; padding-top: 128px; padding-bottom: 52px; }
	.home-hero__content { width: 100%; }
	.home-hero h1 { max-width: 620px; font-size: clamp(3.2rem, 15vw, 5.2rem); }
	.home-hero__summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
	.hero-poster { display: none; }
	.discovery__shell { padding-block: 52px 58px; }
	.discovery h2, .section-heading h2, .genre-section h2, .promise h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
	.live-search { grid-template-columns: 23px 1fr; min-height: 64px; padding: 6px 16px; }
	.live-search input { height: 50px; padding: 0 12px; font-size: 1rem; }
	.live-search button { display: none; }
	.live-results { grid-template-columns: 1fr; }
	.section { padding-block: 68px 76px; }
	.section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
	.dorama-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
	.genre-section, .promise { padding-block: 68px 76px; }
	.promise__grid { grid-template-columns: 1fr; gap: 28px; }
	.promise__lead { margin: 0 0 10px; }
	.promise__item h3 { margin-top: 16px; }
	.archive-hero { padding: 135px 0 50px; }
	.archive-hero__inner { grid-template-columns: 1fr; gap: 20px; }
	.archive-content { padding-block: 36px 78px; }
	.catalog-filters { display: grid; grid-template-columns: 1fr 1fr; }
	.catalog-filters > div { min-width: 0; }
	.catalog-filters .button { grid-column: 1 / -1; }
	.detail-hero { min-height: 0; padding: 126px 0 56px; }
	.detail-hero::after { background: linear-gradient(0deg, rgba(8,6,9,.99), rgba(8,6,9,.82)); }
	.detail-hero__inner { grid-template-columns: 140px minmax(0,1fr); align-items: start; gap: 24px; }
	.detail-poster { grid-row: span 2; border-width: 4px; }
	.detail-copy h1 { font-size: clamp(2.5rem, 11vw, 4.3rem); }
	.detail-facts > span { padding-inline: 12px; }
	.detail-lead { grid-column: 1 / -1; }
	.detail-body { padding: 64px 0; }
	.detail-body__grid { grid-template-columns: 1fr; gap: 44px; }
	.dorama-grid--related { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
	.site-footer__note { grid-column: auto; }
}

@media (max-width: 500px) {
	.home-hero h1 { font-size: clamp(2.9rem, 16vw, 4.4rem); }
	.hero-facts { gap: 7px 12px; }
	.hero-facts span:not(:last-child)::after { margin-left: 12px; }
	.hero-actions .button { width: 100%; }
	.live-result { grid-template-columns: 54px 1fr; min-height: 82px; }
	.live-result img, .live-result__placeholder { width: 54px; height: 72px; }
	.dorama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.genre-tile { min-height: 146px; padding: 18px; }
	.genre-tile strong { font-size: 1.18rem; }
	.genre-tile__arrow { right: 18px; bottom: 18px; }
	.catalog-filters { grid-template-columns: 1fr; }
	.catalog-filters .button { grid-column: auto; }
	.detail-hero__inner { display: block; }
	.detail-poster { float: left; width: 118px; margin: 0 20px 10px 0; }
	.breadcrumbs { padding-top: 4px; }
	.genre-pills { display: none; }
	.detail-copy h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
	.original-title { font-size: .84rem; }
	.detail-facts { clear: both; padding-top: 20px; }
	.detail-lead { clear: both; }
	.button--download { width: 100%; }
	.site-footer__bottom { display: grid; }
}

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

/* Refined navigation and expanded search. */
.site-header__inner { gap: 20px; }
.site-nav { margin-left: auto; }
.site-nav__list, .site-nav .menu { gap: 19px; }
.site-nav a { white-space: nowrap; }
.header-search {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) 30px;
	align-items: center;
	width: 270px;
	min-height: 46px;
	padding: 0 8px 0 15px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 999px;
	background: rgba(255,255,255,.06);
	transition: width 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.header-search:focus-within { border-color: rgba(255,154,171,.7); background: rgba(12,10,14,.9); }
.header-search > svg { width: 18px; fill: none; stroke: var(--ink-muted); stroke-width: 2; }
.header-search input { min-width: 0; height: 42px; padding: 0 8px; border: 0; outline: 0; background: transparent; color: #fff; font-size: .84rem; }
.header-search input::placeholder { color: #9e969a; }
.header-search button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.header-search button svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

/* Hero carousel. */
.hero-slider, .hero-slider__slides { position: relative; min-height: 760px; overflow: hidden; background: var(--night-soft); }
.hero-slider .hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 650ms ease, visibility 650ms ease; }
.hero-slider .hero-slide.is-active { z-index: 1; visibility: visible; opacity: 1; }
.hero-slider__controls { position: absolute; z-index: 4; right: 0; bottom: 26px; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; pointer-events: none; }
.hero-slider__controls > button, .hero-slider__dots button { pointer-events: auto; cursor: pointer; }
.hero-slider__controls > button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(12,10,14,.56); color: #fff; }
.hero-slider__dots { display: flex; align-items: center; gap: 7px; padding: 0 3px; }
.hero-slider__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); transition: width 180ms ease, background-color 180ms ease; }
.hero-slider__dots button.is-active { width: 25px; background: var(--accent); }
.home-ranking + .home-ranking { border-top: 1px solid var(--line); }
#melhores-notas { background: var(--night-soft); }

/* Catalog filtering. */
.catalog-filters { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)) auto auto; }
.catalog-filters > div { min-width: 0; }
.archive-hero__inner:has(> div:only-child) { grid-template-columns: 1fr; }

/* Dedicated search page. */
.search-page { min-height: 75vh; background: var(--cream); color: var(--ink-dark); }
.search-page__hero { padding: 178px 0 54px; background: var(--night-soft); color: var(--ink); text-align: center; }
.search-page__hero .eyebrow { color: var(--accent-soft); }
.search-page__hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 600; letter-spacing: -.055em; line-height: .92; text-wrap: balance; }
.search-page__hero p:last-child { margin: 22px auto 0; color: var(--ink-muted); }
.search-page__body { padding: 0 0 100px; }
.search-page .live-search--page { position: relative; z-index: 3; max-width: 940px; margin: -28px auto 0; }
.search-page .search-status { max-width: 940px; margin: 12px auto 0; }
.live-results--page { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.search-page__hint { padding: 90px 20px 30px; text-align: center; }
.search-page__hint[hidden] { display: none; }
.search-page__hint > span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: #ead8dc; color: var(--accent-deep); font-size: 2rem; }
.search-page__hint h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); }
.search-page__hint p { margin: 10px 0 0; color: #76696f; }

/* Complete title details and video dialog. */
.detail-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 11px; }
.button--video { min-height: 64px; border-radius: 14px; }
.button--tutorial { border-color: transparent; background: var(--accent); color: #fff; }
.button--tutorial:hover { border-color: transparent; background: #ff6682; }
.detail-aside { width: 100%; }
.detail-aside dl > div { grid-template-columns: 110px minmax(0, 1fr); }
.detail-aside dd { overflow-wrap: anywhere; }
.detail-tags { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.detail-tags h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.45rem; }
.detail-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tags a { padding: 6px 10px; border-radius: 99px; background: #eadde0; color: var(--wine); font-size: .72rem; font-weight: 750; text-decoration: none; }
.video-modal { width: min(100% - 28px, 980px); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: var(--night-soft); color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.video-modal::backdrop { background: rgba(5,4,6,.82); backdrop-filter: blur(7px); }
.video-modal__panel { padding: 18px; }
.video-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2px 14px; }
.video-modal__header h2 { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.video-modal__header button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.video-modal__stage { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 11px; background: #000; }
.video-modal__stage iframe, .video-modal__stage video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }

@media (max-width: 1240px) {
	.header-search { width: 210px; }
	.site-nav__list, .site-nav .menu { gap: 14px; }
	.site-nav a { font-size: .82rem; }
	.catalog-filters { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
	.catalog-filters .button, .catalog-filters .filter-clear { justify-self: start; }
}

@media (max-width: 960px) {
	.hero-slider, .hero-slider__slides { min-height: 680px; }
	.header-search { width: min(31vw, 220px); margin-left: auto; }
	.catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.catalog-filters .button { grid-column: auto; }
	.live-results--page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.brand__image { max-width: 128px; height: 44px; }
	.header-search { width: clamp(128px, 36vw, 190px); height: 42px; min-height: 42px; padding-left: 12px; }
	.header-search input { height: 38px; font-size: .78rem; }
	.hero-slider, .hero-slider__slides { min-height: 730px; }
	.hero-slider__controls { bottom: 12px; justify-content: center; }
	.hero-slider__controls > button { width: 38px; height: 38px; }
	.search-page__hero { padding: 138px 0 48px; }
	.search-page__body { padding-bottom: 72px; }
	.search-page .live-search--page { margin-top: -20px; }
	.live-results--page { grid-template-columns: 1fr; }
	.detail-actions { clear: both; }
	.detail-actions .button, .detail-actions .download-unavailable { flex: 1 1 calc(50% - 6px); }
	.detail-aside dl > div { grid-template-columns: 104px minmax(0, 1fr); }
}

@media (max-width: 500px) {
	.site-header__inner { gap: 8px; }
	.header-search { width: clamp(118px, 39vw, 160px); grid-template-columns: 17px minmax(0,1fr) 27px; }
	.header-search > svg { width: 16px; }
	.header-search input { padding-inline: 5px; }
	.header-search button { width: 27px; height: 27px; }
	.catalog-filters { grid-template-columns: 1fr; }
	.detail-actions .button, .detail-actions .download-unavailable { flex-basis: 100%; width: 100%; }
	.video-modal__panel { padding: 12px; }
}
