/*
 * Cupfox warm editorial interface
 * Pure CSS, no external fonts or frameworks.
 */
:root {
    --ink: #25211E;
    --text: #292724;
    --muted: #746E67;
    --brand: #6B5C4D;
    --brand-soft: #A78B6D;
    --accent: #D97732;
    --paper: #F7F4EF;
    --soft: #EEE8E0;
    --white: #FFFCF8;
    --line: rgba(37,33,30,.14);
    --shadow: 0 18px 50px rgba(55, 45, 36, .10);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shell: min(1220px, calc(100vw - 40px));
    --reading: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; 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: 12px; z-index: 999; transform: translateY(-180%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(217,119,50,.55); outline-offset: 3px; border-radius: 6px; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(247,244,239,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 18px; letter-spacing: .06em; }
.brand__text small { margin-top: 3px; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.desktop-nav a { padding: 10px 12px; border-radius: 999px; color: #4d4741; font-size: 14px; transition: background .2s ease, color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-launch, .menu-toggle { min-height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; cursor: pointer; }
.menu-toggle { display: none; }
.mobile-menu { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu nav { display: grid; padding-block: 12px 22px; }
.mobile-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }

.kicker { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.kicker--light { color: #d9c5ae; }
.hero { padding: 64px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(380px,.94fr); gap: 54px; align-items: center; }
.hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.06; letter-spacing: -.045em; color: var(--ink); }
.hero-lead { max-width: 700px; margin: 24px 0 26px; font-size: 19px; color: #5f5851; }
.hero-search { display: flex; max-width: 680px; padding: 6px; background: var(--white); border: 1px solid rgba(107,92,77,.22); border-radius: 18px; box-shadow: 0 14px 40px rgba(72,59,48,.08); }
.hero-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 14px; outline: none; color: var(--ink); }
.hero-search button, .search-page-form button { border: 0; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 13px; cursor: pointer; font-weight: 800; white-space: nowrap; }
.suggestion-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suggestion-row a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.5); font-size: 13px; color: var(--muted); }
.suggestion-row a:hover { color: var(--ink); border-color: rgba(107,92,77,.35); }
.hero-visual { position: relative; min-height: 500px; }
.hero-visual > img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.hero-note { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; display: grid; gap: 3px; background: rgba(37,33,30,.86); color: #fff; border-radius: 16px; backdrop-filter: blur(10px); }
.hero-note span { font-size: 13px; color: rgba(255,255,255,.72); }

.content-ribbon { padding: 8px 0 48px; }
.ribbon-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); }
.ribbon-grid a { min-height: 130px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.ribbon-grid a:last-child { border-right: 0; }
.ribbon-grid a:hover { background: #fff7ed; }
.ribbon-grid span { color: var(--muted); font-size: 13px; }
.ribbon-grid strong { max-width: 230px; font-size: 17px; line-height: 1.45; }

.section { padding-block: 74px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #f5eee7; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2, .two-column-feature h2, .dark-grid h2, .watch-callout h2, .about-grid h2, .genre-matrix h2 { margin: 0 0 12px; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.12; letter-spacing: -.035em; color: var(--ink); }
.section--dark h2, .split-heading--dark h2 { color: #fff; }
.section-heading p:not(.kicker) { margin: 0; color: var(--muted); font-size: 17px; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.split-heading > div { max-width: 760px; }
.split-heading > p { max-width: 520px; }
.split-heading img { width: 240px; aspect-ratio: 3/2; object-fit: cover; border-radius: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(217,119,50,.2); }
.button--ghost { background: transparent; border-color: rgba(107,92,77,.28); color: var(--ink); }
.button--light { background: #fff; border-color: #fff; color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { font-weight: 700; color: var(--brand); }
.text-link:hover { color: var(--accent); }
.text-link--strong { font-size: 15px; }
.section-action { margin-top: 24px; text-align: right; }

.card-grid { display: grid; gap: 18px; }
.card-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.collection-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg); }
.collection-card__media { display: block; overflow: hidden; }
.collection-card__media img { width: 100%; aspect-ratio: 1.55/1; object-fit: cover; transition: transform .35s ease; }
.collection-card:hover .collection-card__media img { transform: scale(1.025); }
.collection-card__body { padding: 18px; }
.collection-card h3 { margin: 9px 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.018em; }
.collection-card p { margin: 0; color: var(--muted); font-size: 14px; }
.collection-card__footer { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eyebrow-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .03em; }
.muted { color: var(--muted); font-size: 12px; }
.focus-chip { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.collection-card--feature { display: grid; grid-template-columns: 44% 1fr; min-height: 300px; }
.collection-card--feature .collection-card__media img { height: 100%; aspect-ratio: auto; }
.collection-card--feature .collection-card__body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.collection-card--feature h3 { font-size: 25px; }
.collection-card--horizontal { min-width: min(420px,85vw); display: grid; grid-template-columns: 150px 1fr; }
.collection-card--horizontal .collection-card__media img { height: 100%; aspect-ratio: auto; }
.collection-card--horizontal .collection-card__footer { display: none; }

.two-column-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.two-column-feature__visual img { width: 100%; aspect-ratio: 1.15/1; object-fit: cover; border-radius: var(--radius-xl); }
.two-column-feature__content > p:not(.kicker) { color: var(--muted); font-size: 17px; }
.compact-list { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.compact-item > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.compact-item strong, .compact-item small { display: block; }
.compact-item strong { line-height: 1.35; }
.compact-item small { margin-top: 4px; color: var(--muted); }
.compact-item__arrow { color: var(--accent); }
.dark-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.dark-grid p:not(.kicker) { color: rgba(255,255,255,.68); max-width: 620px; }
.dark-card-stack { display: grid; gap: 10px; }
.dark-card-stack a { padding: 18px 20px; display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.dark-card-stack a:hover { background: rgba(255,255,255,.08); }
.dark-card-stack span { color: #d7b694; font-size: 12px; }
.horizontal-cards { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.horizontal-cards > * { scroll-snap-align: start; }
.watch-callout__grid { display: grid; grid-template-columns: 1fr minmax(360px,.85fr); gap: 56px; align-items: center; }
.watch-callout p:not(.kicker) { color: var(--muted); font-size: 17px; }
.watch-callout img { width: 100%; aspect-ratio: 1.35/1; object-fit: cover; border-radius: var(--radius-xl); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; }
.prose-columns { columns: 2; column-gap: 36px; color: var(--muted); }
.prose-columns p { margin-top: 0; break-inside: avoid; }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 800; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-size: 22px; color: var(--brand); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0; padding: 0 0 22px; max-width: 760px; color: var(--muted); }

/* Shared channel headers */
.channel-hero, .series-hero, .anime-hero, .variety-hero, .watch-hero, .search-hero, .detail-hero { padding: 60px 0; border-bottom: 1px solid var(--line); }
.channel-hero__grid, .watch-hero__grid, .variety-hero__grid, .anime-hero__grid, .detail-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
.channel-hero h1, .series-hero h1, .anime-hero h1, .variety-hero h1, .watch-hero h1, .search-hero h1, .detail-hero h1 { margin: 0; font-size: clamp(40px,4.8vw,68px); line-height: 1.06; letter-spacing: -.04em; color: var(--ink); }
.channel-hero p:not(.kicker), .series-hero p:not(.kicker), .anime-hero p:not(.kicker), .variety-hero p:not(.kicker), .watch-hero p:not(.kicker), .detail-hero p:not(.kicker) { color: var(--muted); font-size: 18px; }
.channel-hero img, .watch-hero img, .variety-hero img, .anime-hero img, .detail-hero img { width: 100%; aspect-ratio: 1.4/1; object-fit: cover; border-radius: var(--radius-xl); }

/* Movies */
.channel-hero--movies { background: linear-gradient(180deg, #f2ede6 0%, var(--paper) 100%); }
.movie-index { display: grid; grid-template-columns: 210px 1fr; gap: 44px; align-items: start; }
.movie-index__rail { position: sticky; top: 98px; display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.6); }
.movie-index__rail strong { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.movie-index__rail a { padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.movie-index__rail a:hover { background: var(--soft); }
.movie-index__content { border-top: 1px solid var(--line); }
.movie-row { display: grid; grid-template-columns: 54px 240px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.movie-row__number { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.movie-row img { width: 100%; aspect-ratio: 1.5/1; object-fit: cover; border-radius: 14px; }
.movie-row h2 { margin: 6px 0 8px; font-size: 27px; line-height: 1.18; }
.movie-row p { margin: 0 0 8px; color: var(--muted); }
.movie-row__note { font-size: 14px; }
.genre-matrix { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.genre-matrix__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.genre-matrix__grid a { padding: 20px; min-height: 135px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border-radius: 16px; border: 1px solid rgba(107,92,77,.12); }
.genre-matrix__grid span { color: var(--muted); font-size: 13px; }

/* Series */
.series-hero { padding-block: 80px 44px; background: var(--soft); }
.series-hero__copy { max-width: 900px; }
.series-hero__bands { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 42px; }
.series-hero__bands span { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.series-stack { display: grid; gap: 70px; }
.series-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.series-panel--reverse { grid-template-columns: 1.1fr .9fr; }
.series-panel--reverse .series-panel__media { order: 2; }
.series-panel__media { position: relative; }
.series-panel__media img { width: 100%; aspect-ratio: 1.38/1; object-fit: cover; border-radius: 22px; }
.series-panel__media span { position: absolute; left: 16px; bottom: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(37,33,30,.84); color: #fff; font-size: 12px; }
.series-panel__body h2 { margin: 8px 0 14px; font-size: 38px; line-height: 1.12; letter-spacing: -.03em; }
.series-panel__body p { color: var(--muted); }
.lead-small { font-size: 18px; color: var(--text)!important; }
.series-panel__action { margin-top: 22px; }
.series-ending { padding-block: 64px; }
.time-choices { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; min-width: 55%; }
.time-choices a { padding: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 14px; }
.time-choices strong, .time-choices span { display: block; }
.time-choices span { margin-top: 4px; color: rgba(255,255,255,.62); font-size: 13px; }

/* Anime */
.anime-hero { background: #efe8df; }
.anime-hero__grid { grid-template-columns: .9fr 1.1fr; }
.anime-hero__art img { aspect-ratio: 1/1; border-radius: 50% 50% 24px 24px; }
.anime-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.anime-jump a { padding: 8px 11px; background: var(--white); border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
.anime-mosaic { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.anime-tile { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); scroll-margin-top: 110px; }
.anime-tile--1 { grid-column: span 7; }
.anime-tile--2 { grid-column: span 5; }
.anime-tile--3 { grid-column: span 6; }
.anime-tile img { width: 100%; aspect-ratio: 1.65/1; object-fit: cover; }
.anime-tile__body { padding: 22px; }
.anime-tile h2 { margin: 10px 0; font-size: 27px; line-height: 1.2; }
.anime-tile p { color: var(--muted); }
.anime-chooser__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; }
.anime-chooser ol { margin: 0; padding: 0; list-style: none; counter-reset: q; }
.anime-chooser li { counter-increment: q; position: relative; padding: 18px 18px 18px 58px; border-bottom: 1px solid var(--line); }
.anime-chooser li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 8px; top: 20px; color: var(--accent); font-weight: 800; }
.anime-chooser li strong, .anime-chooser li span { display: block; }
.anime-chooser li span { margin-top: 4px; color: var(--muted); }

/* Variety */
.variety-hero { background: linear-gradient(135deg,#f7f4ef 0%,#eadfd2 100%); }
.variety-board { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.variety-board__intro { position: sticky; top: 110px; }
.variety-board__intro h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.15; }
.variety-board__intro p:not(.kicker) { color: var(--muted); }
.variety-board__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.variety-ticket { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.variety-ticket__top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.variety-ticket__top em { font-style: normal; color: var(--brand); font-weight: 800; }
.variety-ticket h2 { margin: 18px 0 10px; font-size: 25px; line-height: 1.2; }
.variety-ticket > p { color: var(--muted); }
.variety-ticket dl { margin: 18px 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.variety-ticket dl div { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 4px 0; }
.variety-ticket dt { color: var(--muted); font-size: 12px; }
.variety-ticket dd { margin: 0; font-size: 13px; }
.variety-ticket > a { color: var(--brand); font-weight: 800; }
.variety-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; }
.variety-shortcuts a { padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.variety-shortcuts a:hover { background: rgba(255,255,255,.08); }

/* Watch */
.watch-hero { background: #f2ece4; }
.watch-paths__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.watch-paths article { min-height: 270px; padding: 26px; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.watch-paths article > span { color: var(--accent); font-size: 12px; font-weight: 800; }
.watch-paths h3 { margin: 18px 0 8px; font-size: 26px; }
.watch-paths p { color: var(--muted); }
.watch-paths a { margin-top: auto; color: var(--brand); font-weight: 800; }
.watch-paths article a + a { margin-top: 6px; }
.mood-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mood-grid a { min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 18px; background: var(--white); border: 1px solid rgba(107,92,77,.13); }
.mood-grid strong { font-size: 18px; }
.mood-grid span { color: var(--muted); font-size: 13px; }
.watch-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 50px; }
.watch-column h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.online-note__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.online-note p { color: rgba(255,255,255,.7); }

/* Search */
.search-hero { background: var(--soft); }
.search-hero__inner { max-width: 900px; }
.search-page-form { margin-top: 28px; }
.search-page-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.search-page-form > div { display: flex; padding: 6px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.search-page-form input { width: 100%; min-width: 0; padding: 12px 14px; border: 0; background: transparent; outline: none; }
.search-empty { max-width: 760px; padding: 40px 0; }
.search-empty h2 { margin: 0 0 12px; font-size: 34px; }
.search-empty p { color: var(--muted); }
.suggestion-row--large a { padding: 9px 13px; background: var(--white); }
.result-summary { margin-bottom: 26px; }
.result-summary h2 { margin: 0; font-size: 30px; }
.result-summary p { margin: 5px 0 0; color: var(--muted); }
.search-result-list { border-top: 1px solid var(--line); }
.search-result-item { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.search-result-item img { width: 100%; aspect-ratio: 1.45/1; object-fit: cover; border-radius: 14px; }
.search-result-item h2 { margin: 8px 0; font-size: 26px; }
.search-result-item p { margin: 0 0 8px; color: var(--muted); }

/* Detail */
.detail-hero { background: linear-gradient(180deg,#f0e9e1 0%,var(--paper) 100%); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--ink); }
.detail-lead { max-width: 720px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.detail-tags span { padding: 6px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; }
.detail-body-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 70px; align-items: start; }
.detail-prose { max-width: var(--reading); }
.detail-prose h2 { margin: 0 0 14px; padding-top: 26px; font-size: 31px; line-height: 1.2; }
.detail-prose h2:first-child { padding-top: 0; }
.detail-prose p { color: #57514c; font-size: 17px; }
.detail-aside { position: sticky; top: 104px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.detail-aside > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-aside span, .detail-aside strong { display: block; }
.detail-aside span { color: var(--muted); font-size: 12px; }
.detail-aside strong { margin-top: 3px; }
.detail-aside .button { width: 100%; margin-top: 18px; }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; padding: 70px 0; }
.not-found__inner { max-width: 780px; text-align: center; }
.not-found h1 { margin: 0; font-size: clamp(46px,7vw,82px); line-height: 1; letter-spacing: -.05em; }
.not-found p:not(.kicker) { color: var(--muted); font-size: 18px; }
.not-found .button-row { justify-content: center; margin-top: 26px; }
.not-found__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 34px; }
.not-found__links a { color: var(--brand); font-weight: 700; }

.site-footer { padding: 54px 0 20px; background: #1d1a18; color: #efe6dc; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 60px; }
.brand--footer .brand__text small { color: rgba(255,255,255,.5); }
.footer-brand p { max-width: 540px; color: rgba(255,255,255,.58); }
.footer-heading { margin: 0 0 12px; font-size: 14px; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: 12px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1080px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-actions { margin-left: auto; }
    .hero-grid, .channel-hero__grid, .watch-hero__grid, .variety-hero__grid, .anime-hero__grid, .detail-hero__grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 420px; }
    .hero-visual > img { height: 420px; }
    .ribbon-grid { grid-template-columns: repeat(2,1fr); }
    .ribbon-grid a:nth-child(2) { border-right: 0; }
    .ribbon-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .card-grid--four { grid-template-columns: repeat(2,1fr); }
    .collection-card--feature { grid-template-columns: 40% 1fr; }
    .movie-index { grid-template-columns: 1fr; }
    .movie-index__rail { position: static; display: flex; flex-wrap: wrap; }
    .movie-index__rail strong { width: 100%; }
    .variety-board { grid-template-columns: 1fr; }
    .variety-board__intro { position: static; max-width: 760px; }
    .detail-body-grid { grid-template-columns: 1fr; }
    .detail-aside { position: static; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
    .detail-aside .button { grid-column: 1/-1; }
}

@media (max-width: 820px) {
    :root { --shell: min(100% - 28px, 1220px); }
    .section { padding-block: 54px; }
    .hero { padding-top: 42px; }
    .hero-copy h1 { font-size: clamp(38px,10vw,58px); }
    .feature-grid, .two-column-feature, .dark-grid, .watch-callout__grid, .about-grid, .genre-matrix, .anime-chooser__grid, .online-note__grid, .watch-columns, .footer-grid { grid-template-columns: 1fr; }
    .collection-card--feature { grid-template-columns: 1fr; }
    .collection-card--feature .collection-card__media img { aspect-ratio: 1.55/1; }
    .prose-columns { columns: 1; }
    .series-hero__bands { grid-template-columns: repeat(2,1fr); }
    .series-panel, .series-panel--reverse { grid-template-columns: 1fr; }
    .series-panel--reverse .series-panel__media { order: 0; }
    .time-choices { grid-template-columns: 1fr; min-width: 0; width: 100%; }
    .anime-tile--1, .anime-tile--2, .anime-tile--3 { grid-column: span 12; }
    .variety-board__grid { grid-template-columns: 1fr; }
    .watch-paths__grid, .mood-grid { grid-template-columns: 1fr 1fr; }
    .movie-row { grid-template-columns: 40px 170px 1fr; }
    .footer-grid { gap: 34px; }
}

@media (max-width: 600px) {
    .site-header__inner { min-height: 66px; }
    .brand img { width: 38px; height: 38px; }
    .search-launch { display: none; }
    .hero-visual { min-height: 310px; }
    .hero-visual > img { height: 310px; }
    .hero-search { display: grid; gap: 4px; padding: 5px; }
    .hero-search button { width: 100%; }
    .ribbon-grid { grid-template-columns: 1fr; }
    .ribbon-grid a { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }
    .ribbon-grid a:last-child { border-bottom: 0; }
    .split-heading { align-items: start; flex-direction: column; }
    .split-heading img { width: 100%; }
    .card-grid--four { grid-template-columns: 1fr; }
    .collection-card--horizontal { grid-template-columns: 120px 1fr; }
    .horizontal-cards { margin-right: -14px; }
    .movie-row { grid-template-columns: 1fr; }
    .movie-row__number { display: none; }
    .movie-row img { max-width: 100%; }
    .genre-matrix__grid { grid-template-columns: 1fr; }
    .series-hero__bands { grid-template-columns: 1fr; }
    .anime-hero__art img { aspect-ratio: 1.2/1; border-radius: 22px; }
    .watch-paths__grid, .mood-grid { grid-template-columns: 1fr; }
    .search-page-form > div { display: grid; }
    .search-result-item { grid-template-columns: 1fr; }
    .detail-aside { grid-template-columns: 1fr; }
    .footer-bottom { display: block; }
}

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