@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 900;
  font-display: optional;
  src: url("../fonts/noto-serif-jp-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 900;
  font-display: optional;
  src: url("../fonts/noto-serif-jp-japanese-900-normal.woff2") format("woff2");
  unicode-range: U+3000-30FF, U+4E00-9FFF, U+FF00-FFEF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}

:root {
  --brand-red: #AF282A;
  --brand-red-hot: #C8262C;
  --brand-red-deep: #7A1A1C;
  --brand-red-ink: #2A0808;
  --brand-cream: #F4EFE6;
  --paper-000: #FBF7F0;
  --paper-050: #F4EFE6;
  --paper-100: #FFFFFF;
  --paper-200: #EFE7DA;
  --paper-300: #E6DCCC;
  --ink-050: #948683;
  --ink-100: #6B5F5D;
  --ink-200: #3D3331;
  --ink-300: #14100F;
  --ink-400: #0B0809;
  --bg-page: var(--paper-000);
  --bg-surface: var(--paper-050);
  --bg-card: var(--paper-100);
  --bg-raised: var(--paper-100);
  --bg-inverse: var(--ink-400);
  --fg-strong: var(--ink-300);
  --fg-primary: var(--ink-200);
  --fg-secondary: var(--ink-100);
  --fg-tertiary: var(--ink-050);
  --fg-on-brand: #FFFFFF;
  --border-subtle: #EAE1D8;
  --border: #D8CCC0;
  --border-strong: #B8A89A;
  --accent-amber: #C58A0E;
  --accent-mint: #2E8A60;
  --accent-sky: #2A78B8;
  --accent-pink: #C8447A;
  --font-display: "Zen Kaku Gothic New", "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-kanji: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 0 rgba(20, 16, 15, 0.06);
  --shadow-md: 0 4px 14px rgba(20, 16, 15, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 16, 15, 0.14);
  --shadow-red: 0 10px 28px rgba(175, 40, 42, 0.22);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --container: 1240px;
  --gutter: 24px;
  --nav-h: 72px;
}

[data-theme="dark"] {
  --paper-000: #0B0809;
  --paper-050: #131011;
  --paper-100: #1B1718;
  --paper-200: #25201F;
  --paper-300: #332C2B;
  --ink-050: #6B5F5D;
  --ink-100: #948683;
  --ink-200: #C7BBB7;
  --ink-300: #E8DFDB;
  --ink-400: #FBF6F2;
  --bg-page: #0B0809;
  --bg-surface: #131011;
  --bg-card: #1B1718;
  --bg-raised: #25201F;
  --bg-inverse: #F4EFE6;
  --fg-strong: #FBF6F2;
  --fg-primary: #E8DFDB;
  --fg-secondary: #948683;
  --fg-tertiary: #6B5F5D;
  --border-subtle: #25201F;
  --border: #332C2B;
  --border-strong: #4A4140;
  --brand-red-hot: #E83A3F;
  --accent-amber: #F4B83A;
  --accent-mint: #5FD9A6;
  --accent-sky: #5FB6F2;
  --accent-pink: #F26FA3;
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-red: 0 12px 36px rgba(175, 40, 42, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scrollbar-color: color-mix(in srgb, var(--paper-300) 72%, var(--border-strong)) color-mix(in srgb, var(--bg-page) 90%, var(--paper-200));
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--bg-page) 90%, var(--paper-200));
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  border: 3px solid color-mix(in srgb, var(--bg-page) 90%, var(--paper-200));
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper-300) 72%, var(--border-strong));
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--border-strong) 58%, var(--paper-300));
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
}

.wp-site-blocks {
  min-height: 100vh;
}

body:not(.wp-admin) .wp-site-blocks,
body:not(.wp-admin) .anime-nav,
body:not(.wp-admin) main,
body:not(.wp-admin) .anime-foot {
  opacity: 1 !important;
  visibility: visible !important;
}

.anime-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.anime-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-page) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.08);
}

.anime-nav__inner {
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
  gap: 28px;
}

.anime-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-kanji);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-red);
}

.anime-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.anime-nav__links a,
.anime-nav__links .wp-block-navigation-item__content {
  border-radius: var(--r-md);
  color: var(--fg-secondary);
  font-size: 14.5px;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.anime-nav__links a:hover,
.anime-nav__links .wp-block-navigation-item__content:hover {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.anime-icon-button,
.anime-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--fg-secondary);
  cursor: pointer;
  font: inherit;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.anime-search-toggle {
  gap: 8px;
  padding-inline: 12px;
  font-size: 13px;
  font-weight: 700;
}

.anime-icon-button:hover,
.anime-search-toggle:hover {
  border-color: var(--border-strong);
  color: var(--fg-strong);
}

.anime-search-panel {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(var(--nav-h) + 8px);
  z-index: 60;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.anime-search-panel.is-open {
  display: block;
}

.anime-search-panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.anime-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.anime-search-clear:hover {
  background: var(--brand-red);
  color: #fff;
}

.anime-search-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font: 600 15px var(--font-sans);
}

.anime-search-results {
  max-height: 58vh;
  overflow: auto;
  padding: 8px;
}

.anime-search-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  color: var(--fg-primary);
  text-decoration: none;
}

.anime-search-result:hover {
  background: var(--paper-050);
}

.anime-search-result strong {
  display: block;
  color: var(--fg-strong);
  font-size: 14px;
}

.anime-search-result span {
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-hero {
  padding-block: clamp(56px, 8vw, 112px);
}

.anime-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.anime-eyebrow {
  color: var(--brand-red);
  font: 800 12px var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-title {
  max-width: 900px;
  margin: 14px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.anime-lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--fg-primary);
  font-size: 17px;
  line-height: 1.65;
}

.anime-panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  padding: 22px;
}

.anime-panel h2,
.anime-panel h3 {
  margin-top: 0;
}

.anime-pulse-panel h2 {
  margin-bottom: 16px;
}

.anime-signal-list {
  display: grid;
  gap: 10px;
}

.anime-signal-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--fg-secondary);
  padding: 12px;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.anime-signal-item:hover {
  border-color: var(--brand-red);
  background: var(--paper-050);
}

.anime-signal-item span {
  grid-row: span 2;
  color: var(--brand-red);
  font: 900 13px var(--font-mono);
}

.anime-signal-item strong {
  color: var(--fg-strong);
  line-height: 1.2;
}

.anime-signal-item em {
  color: var(--fg-tertiary);
  font-size: 12px;
  font-style: normal;
}

.anime-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.anime-score-blocks {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  padding: 18px;
}

.anime-score-blocks__head {
  margin-bottom: 14px;
}

.anime-score-blocks__head .anime-eyebrow {
  margin: 0 0 6px;
}

.anime-score-blocks__head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.2;
}

.anime-score-blocks__grid {
  display: grid;
  gap: 10px;
}

.anime-score-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: end;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  background: var(--paper-100);
  padding: 12px;
}

.anime-score-card__label {
  color: var(--fg-secondary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-score-card__value {
  grid-row: span 2;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-align: right;
}

.anime-score-card__meta {
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-score-card--red {
  border-color: color-mix(in srgb, var(--brand-red) 38%, var(--border-subtle));
}

.anime-score-card--red .anime-score-card__value {
  color: var(--brand-red);
}

.anime-score-card--amber .anime-score-card__value {
  color: var(--accent-amber);
}

.anime-score-card--mint .anime-score-card__value {
  color: var(--accent-mint);
}

.anime-score-card--sky .anime-score-card__value {
  color: var(--accent-sky);
}

.anime-score-card--pink .anime-score-card__value {
  color: var(--accent-pink);
}

.anime-score-blocks__note {
  margin: 12px 0 0;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-watchlist {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  margin-bottom: 14px;
  padding: 18px;
}

.anime-watchlist__head {
  margin-bottom: 12px;
}

.anime-watchlist__head .anime-eyebrow {
  margin: 0 0 6px;
}

.anime-watchlist__head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.2;
}

.anime-watchlist__actions {
  display: grid;
  gap: 8px;
}

.anime-watchlist__button {
  min-height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: var(--paper-100);
  color: var(--fg-primary);
  cursor: pointer;
  font: 800 13px var(--font-sans);
  padding: 9px 12px;
  text-align: left;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.anime-watchlist__button:hover,
.anime-watchlist__button.is-active {
  border-color: var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 10%, var(--paper-100));
  color: var(--brand-red);
}

.anime-watchlist.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.anime-watchlist__message {
  margin: 12px 0 0;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-watchlist__message[data-tone="success"] {
  color: var(--accent-mint);
}

.anime-watchlist__message[data-tone="error"] {
  color: var(--brand-red);
}

.anime-block-section {
  margin-block: 32px;
}

.anime-section-head {
  margin-bottom: 16px;
}

.anime-section-head .anime-eyebrow {
  margin: 0 0 6px;
}

.anime-section-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
}

.anime-anime-grid {
  display: grid;
  grid-template-columns: repeat(var(--anime-grid-columns, 3), minmax(0, 1fr));
  gap: 16px;
}

.anime-anime-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.anime-anime-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  overflow: hidden;
  position: relative;
}

.anime-anime-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-anime-card__badge,
.anime-anime-card__score {
  position: absolute;
  top: 10px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font: 800 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.anime-anime-card__badge {
  left: 10px;
}

.anime-anime-card__score {
  right: 10px;
  color: #fff;
}

.anime-anime-card__body {
  padding: 14px;
}

.anime-anime-card__body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.anime-anime-card__body h3 a {
  color: var(--fg-strong);
  text-decoration: none;
}

.anime-anime-card__body p {
  margin: 8px 0 0;
  color: var(--fg-secondary);
  font-size: 13px;
}

.anime-anime-card__body span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-amber);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.06em;
}

.anime-episode-list__items {
  display: grid;
  gap: 8px;
}

.anime-episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: var(--bg-card);
  color: var(--fg-primary);
  padding: 12px;
  text-decoration: none;
}

.anime-episode-row__code,
.anime-episode-row span,
.anime-episode-row em {
  color: var(--fg-tertiary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-episode-row strong {
  color: var(--fg-strong);
}

.anime-episode-row em {
  color: var(--brand-red);
  font-style: normal;
}

.anime-character-carousel__track {
  display: grid;
  grid-auto-columns: minmax(168px, 0.22fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.anime-character-card {
  min-width: 168px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
  scroll-snap-align: start;
}

.anime-character-card__media {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  background: var(--paper-200);
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 48px;
  text-decoration: none;
}

.anime-character-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-character-card__body {
  padding: 12px;
}

.anime-character-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.2;
}

.anime-character-card h3 a {
  color: var(--fg-strong);
  text-decoration: none;
}

.anime-character-card p,
.anime-character-card em {
  display: block;
  margin: 7px 0 0;
  color: var(--fg-tertiary);
  font-size: 12px;
  font-style: normal;
}

.anime-countdown {
  border: 1px solid color-mix(in srgb, var(--brand-red) 35%, var(--border-subtle));
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--brand-red) 7%, var(--bg-card));
  margin-bottom: 24px;
  padding: 18px;
}

.anime-countdown .anime-eyebrow,
.anime-countdown h2 {
  margin: 0;
}

.anime-countdown h2 {
  color: var(--fg-strong);
  font-size: 22px;
}

.anime-countdown strong {
  display: block;
  margin-top: 10px;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1;
}

.anime-countdown a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--fg-secondary);
  font-weight: 800;
  text-decoration: none;
}

.anime-empty {
  color: var(--fg-tertiary);
}

.anime-faq__item,
.anime-spoiler {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  background: var(--bg-card);
  margin-bottom: 10px;
  padding: 12px 14px;
}

.anime-faq__item summary,
.anime-spoiler summary {
  color: var(--fg-strong);
  cursor: pointer;
  font-weight: 800;
}

.anime-faq__item div,
.anime-spoiler__content {
  color: var(--fg-primary);
  margin-top: 10px;
}

.anime-rating-dist__rows {
  display: grid;
  gap: 7px;
}

.anime-rating-dist__row {
  display: grid;
  grid-template-columns: 24px 1fr 32px;
  gap: 10px;
  align-items: center;
  color: var(--fg-secondary);
  font: 800 12px var(--font-mono);
}

.anime-rating-dist__row i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--paper-200);
  overflow: hidden;
}

.anime-rating-dist__row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-amber);
}

.anime-review {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  padding: 18px;
}

.anime-review__form {
  display: grid;
  gap: 12px;
}

.anime-review__form label {
  display: grid;
  gap: 6px;
  color: var(--fg-secondary);
  font-weight: 800;
}

.anime-review__form select,
.anime-review__form textarea {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: var(--paper-100);
  color: var(--fg-strong);
  font: 500 14px var(--font-sans);
  padding: 10px;
}

.anime-review__check {
  align-items: center;
  display: flex !important;
  gap: 8px !important;
}

.anime-review__form button {
  min-height: 42px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  font: 800 14px var(--font-sans);
  padding-inline: 14px;
}

.anime-review__form.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.anime-review__form p {
  margin: 0;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-review__form p[data-tone="success"] {
  color: var(--accent-mint);
}

.anime-review__form p[data-tone="error"] {
  color: var(--brand-red);
}

.anime-hp {
  left: -9999px;
  position: absolute;
}

.anime-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-secondary);
  font: 700 12px var(--font-sans);
  padding-inline: 10px;
}

.anime-content-band {
  padding-block: clamp(40px, 6vw, 72px);
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.anime-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.anime-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.anime-card__body {
  padding: 18px;
}

.anime-card h2,
.anime-card h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.2;
}

.anime-card p {
  margin: 10px 0 0;
  color: var(--fg-secondary);
}

.anime-breadcrumb {
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.06em;
  padding-top: 24px;
  text-transform: uppercase;
}

.anime-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 28px;
}

.anime-share a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--fg-secondary);
  font: 700 12px var(--font-sans);
  padding: 8px 12px;
  text-decoration: none;
}

.anime-foot {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.anime-foot__kanji {
  position: absolute;
  right: -24px;
  bottom: -54px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.06;
  pointer-events: none;
}

.anime-foot__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-block: 48px;
}

.anime-foot h2,
.anime-foot h3 {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font: 800 12px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-foot p,
.anime-foot a {
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.anime-foot a {
  text-decoration: none;
}

.anime-foot a:hover {
  color: var(--brand-red);
}

.anime-foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.08em;
  padding-block: 18px;
}

.wp-block-post-title,
.wp-block-query-title,
.wp-block-heading {
  letter-spacing: 0;
}

.wp-block-post-content {
  color: var(--fg-primary);
}

.wp-block-post-content p {
  line-height: 1.75;
}

.wp-block-post-content > * {
  margin-block-start: 0;
  margin-block-end: 1.25em;
}

.wp-block-comments {
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
  padding-top: 32px;
}

@media (max-width: 920px) {
  .anime-nav__inner {
    gap: 14px;
  }

  .anime-nav__links {
    display: none;
  }

  .anime-hero__grid,
  .anime-foot__inner,
  .anime-feature-grid {
    grid-template-columns: 1fr;
  }

  .anime-grid {
    grid-template-columns: 1fr;
  }

  .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-foot__bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
    --nav-h: 64px;
  }

  .anime-title {
    font-size: 42px;
  }

  .anime-search-toggle span {
    display: none;
  }

  .anime-anime-grid {
    grid-template-columns: 1fr;
  }
}

/* Site shell parity: ported from /site with blocker-safe selectors. */
.anime-nav {
  z-index: 100;
  background: color-mix(in srgb, var(--bg-page) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.anime-nav__inner {
  height: var(--nav-h);
  min-height: 0;
  padding-inline: 0;
}

.anime-brand {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.anime-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.anime-nav__links a,
.anime-nav__links .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  border-radius: 10px;
  color: var(--fg-secondary);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
}

.anime-link svg {
  opacity: 0.55;
  transition: transform 160ms var(--ease-out);
}

.anime-link:hover svg {
  transform: rotate(180deg);
}

.anime-search-toggle {
  justify-content: flex-start;
  min-width: 230px;
  height: 38px;
  border-color: var(--border-subtle);
  background: var(--bg-surface);
  color: var(--fg-tertiary);
}

.anime-search-toggle kbd {
  margin-left: auto;
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
}

.anime-nav-inner,
.anime-nav__inner {
  max-width: var(--container);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

.anime-links,
.anime-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.anime-nav-right,
.anime-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.anime-search-wrap {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin-left: auto;
}

.anime-search-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  border: 1.5px solid var(--brand-red);
  border-radius: 10px;
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(175, 40, 42, 0.08);
  padding: 0 12px;
}

.anime-search-input-bar > svg:first-child {
  flex-shrink: 0;
  color: var(--brand-red);
}

.anime-search-input {
  width: auto;
  height: 100%;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font: 500 14.5px var(--font-sans);
}

.anime-search-input::placeholder {
  color: var(--fg-tertiary);
  font-weight: 400;
}

.anime-search-kbd {
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.06em;
  padding: 3px 7px;
}

.anime-search-wrap .anime-search-panel {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 80;
  width: auto;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  transform: none;
  animation: anime-search-pop-v2 200ms var(--ease-out);
}

.anime-search-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0 8px;
}

.anime-search-result.is-author img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.anime-nav.is-searching .anime-mega {
  max-height: 0;
}

@keyframes anime-search-pop-v2 {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anime-icon-button,
.anime-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-icon-button:hover {
  background: var(--bg-surface);
  color: var(--fg-strong);
}

.anime-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.anime-avatar:hover {
  box-shadow: 0 6px 18px rgba(175, 40, 42, 0.25);
  transform: translateY(-1px);
}

.anime-login-link,
.anime-avatar.is-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  box-shadow: none;
  font-size: 0;
  font-weight: inherit;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.anime-login-link:hover,
.anime-avatar.is-login:hover {
  background: var(--bg-surface);
  color: var(--fg-strong);
  box-shadow: none;
  transform: none;
}

.anime-theme-toggle-icon,
.anime-login-avatar-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.anime-login-avatar-icon {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.anime-avatar-media,
.anime-avatar .anime-author-mark {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.anime-avatar-media {
  display: block;
  object-fit: cover;
}

.anime-avatar .anime-author-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.anime-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-red-hot);
  box-shadow: 0 0 0 2px var(--bg-page);
}

.anime-search-panel {
  top: calc(100% + 8px);
  z-index: 80;
  width: min(720px, calc(100vw - 48px));
  border-radius: 14px;
  max-height: 70vh;
  overflow-y: auto;
  animation: anime-search-pop 200ms var(--ease-out);
}

.anime-search-scrim {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 65;
  background: rgba(11, 8, 9, 0.42);
  animation: anime-scrim-in 180ms var(--ease-out) both;
}

@keyframes anime-search-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.anime-search-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
}

.anime-search-section + .anime-search-section {
  border-top: 1px solid var(--border-subtle);
}

.anime-search-heading {
  color: var(--brand-red);
  font: 800 10.5px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anime-search-pills button {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-primary);
  cursor: pointer;
  font: 700 12.5px var(--font-sans);
  padding: 6px 12px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.anime-search-pills button:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-search-results-list {
  display: flex;
  flex-direction: column;
}

.anime-search-result {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 8px;
  padding: 8px;
}

.anime-search-result img,
.anime-search-result__mark {
  width: 38px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
}

.anime-search-result__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--brand-red) 10%, var(--paper-100));
  color: var(--brand-red);
  font: 900 18px var(--font-display);
}

.anime-search-result > div {
  min-width: 0;
}

.anime-search-result small {
  display: block;
  overflow: hidden;
  color: var(--fg-tertiary);
  font: 700 10.5px var(--font-mono);
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-search-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  color: var(--fg-secondary);
  text-align: center;
}

.anime-search-empty-kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.5;
}

.anime-search-empty p {
  margin: 0;
  color: var(--fg-primary);
  font-size: 14px;
}

.anime-search-empty span:not(.anime-search-empty-kanji) {
  color: var(--fg-tertiary);
  font-size: 12.5px;
}

.anime-search-foot {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--fg-tertiary);
  font: 700 10.5px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 10px 18px;
}

.anime-search-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.anime-search-foot kbd {
  min-width: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font: 800 10px var(--font-mono);
  padding: 2px 6px;
  text-align: center;
}

.anime-bell-wrap,
.anime-avatar-wrap {
  position: relative;
}

.anime-icon-button.is-on,
.anime-avatar.is-on {
  background: var(--paper-200);
  color: var(--brand-red);
}

.anime-avatar.is-on {
  color: #fff;
  box-shadow: 0 0 0 3px rgba(175, 40, 42, 0.2);
}

.anime-notifs[hidden],
.anime-profile[hidden],
.anime-notifs-empty[hidden],
.anime-notif[hidden] {
  display: none !important;
}

.anime-notifs {
  position: absolute;
  top: calc(100% + 12px);
  right: -8px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 420px;
  max-width: calc(100vw - 24px);
  max-height: 76vh;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  animation: anime-popover-pop 200ms var(--ease-out);
}

.anime-notifs::before,
.anime-profile::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transform: rotate(45deg);
}

@keyframes anime-popover-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anime-notifs-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px 18px 12px;
}

.anime-notifs-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.anime-notifs-title h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-notifs-title .ja {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 16px;
  font-weight: 900;
}

.anime-notifs-count {
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font: 800 10px var(--font-mono);
  letter-spacing: 0.04em;
  margin-left: 4px;
  padding: 3px 8px;
}

.anime-notifs-mark {
  border: 0;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: 700 12px var(--font-sans);
}

.anime-notifs-mark:hover {
  color: var(--brand-red);
}

.anime-notifs-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 18px 12px;
  scrollbar-width: none;
}

.anime-notifs-filters::-webkit-scrollbar {
  display: none;
}

.anime-notifs-chip {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: 700 12px var(--font-sans);
  padding: 5px 11px;
  white-space: nowrap;
}

.anime-notifs-chip:hover {
  border-color: var(--border-strong);
  color: var(--fg-strong);
}

.anime-notifs-chip.is-on {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-notifs-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.anime-notifs-group {
  padding-top: 10px;
}

.anime-notifs-eye {
  color: var(--brand-red);
  font: 800 10px var(--font-mono);
  letter-spacing: 0.12em;
  padding: 0 18px 8px;
}

.anime-notif {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  color: inherit;
  padding: 10px 18px;
  text-decoration: none;
}

.anime-notif:hover {
  background: var(--paper-050);
}

.anime-notif.is-unread::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--brand-red);
}

.anime-notif-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-200);
}

.anime-notif-media .kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.anime-notif-pin {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--bg-card);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font: 900 9px var(--font-kanji);
}

.anime-notif-pin.is-episode::after {
  content: "話";
}

.anime-notif-pin.is-reply::after {
  content: "返";
}

.anime-notif-pin.is-like::after {
  content: "♥";
  font-family: var(--font-sans);
}

.anime-notif-pin.is-news::after {
  content: "新";
}

.anime-notif-pin.is-event::after {
  content: "祭";
}

.anime-notif-pin.is-community::after {
  content: "祭";
}

.anime-notif-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-notif-body .kicker {
  color: var(--brand-red);
  font: 800 9.5px var(--font-mono);
  letter-spacing: 0.12em;
}

.anime-notif-body p {
  margin: 0;
  color: var(--fg-primary);
  font-size: 13.5px;
  line-height: 1.35;
}

.anime-notif-body p strong {
  color: var(--fg-strong);
}

.anime-notif-body .sub {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-tertiary);
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-notif-aside {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.anime-notif-aside .time {
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
  white-space: nowrap;
}

.anime-notif-aside .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(175, 40, 42, 0.18);
}

.anime-notifs-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 36px 24px;
  text-align: center;
}

.anime-notifs-empty .kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.45;
}

.anime-notifs-empty p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 13px;
}

.anime-notifs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper-050);
  padding: 12px 18px;
}

.anime-notifs-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-red);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}

.anime-notifs-foot .anime-notifs-settings {
  color: var(--fg-tertiary);
  font-weight: 700;
}

.anime-profile {
  position: absolute;
  top: calc(100% + 12px);
  right: -4px;
  z-index: 70;
  width: 260px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  animation: anime-popover-pop 200ms var(--ease-out);
}

.anime-profile::before {
  right: 14px;
}

.anime-profile-head {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  padding: 16px 18px 14px;
  text-decoration: none;
}

.anime-profile-head,
.anime-profile-head:hover,
.anime-profile-head *,
.anime-profile-head *:hover {
  text-decoration: none !important;
}

.anime-profile-head .av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.anime-profile-head img.av {
  display: block;
  object-fit: cover;
  padding: 0;
}

.anime-profile-head .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-profile-head .info strong {
  color: var(--fg-strong);
  font-size: 14px;
  font-weight: 800;
}

.anime-profile-head .info span {
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
}

.anime-profile-links,
.anime-profile-foot {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  padding: 6px 0;
}

.anime-profile-links a,
.anime-profile-foot a {
  color: var(--fg-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
}

.anime-profile-links a:hover,
.anime-profile-foot a:hover {
  background: var(--paper-050);
  color: var(--brand-red);
}

.anime-mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 40;
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: max-height 220ms var(--ease-out);
}

.anime-nav.is-mega-open .anime-mega {
  max-height: 620px;
}

.anime-link.is-open,
.anime-link[aria-expanded="true"] {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-link.is-open svg,
.anime-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.anime-mega-v2 {
  display: none;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 28px var(--gutter) 32px;
}

.anime-mega-v2.is-active {
  display: grid;
}

.anime-mega-v2-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.anime-mega-v2-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 2px;
}

.anime-mega-v2-title-kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-mega-v2-title h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-mega-v2-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.anime-mega-v2-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--tile-color, var(--brand-red));
  color: #fff;
  padding: 14px 16px;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.anime-mega-v2-tile:hover {
  transform: translateY(-2px);
}

.anime-mega-v2-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%);
  pointer-events: none;
}

.anime-mega-v2-tile-kanji {
  position: absolute;
  top: -16px;
  right: -8px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-kanji);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.anime-mega-v2-tile-label,
.anime-mega-v2-tile-sub {
  position: relative;
  z-index: 1;
}

.anime-mega-v2-tile-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-mega-v2-tile-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font: 700 10.5px var(--font-mono);
}

.anime-mega-v2-groups,
.anime-mega-v2-group {
  display: flex;
  flex-direction: column;
}

.anime-mega-v2-groups {
  gap: 16px;
}

.anime-mega-v2-group {
  gap: 10px;
}

.anime-mega-v2-heading {
  color: var(--brand-red);
  font: 800 10.5px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-mega-v2-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anime-mega-v2-pills a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.anime-mega-v2-pills a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-mega-v2-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border-left: 1px solid var(--border-subtle);
  padding-left: 32px;
}

.anime-mega-v2-aside-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.anime-mega-v2-aside-sub {
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-mega-v2-discussed,
.anime-mega-v2-upcoming-list,
.anime-mega-v2-headlines {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-mega-v2-discussed li,
.anime-mega-v2-upcoming-list li,
.anime-mega-v2-headlines li {
  border-bottom: 1px solid var(--border-subtle);
}

.anime-mega-v2-discussed li:last-child,
.anime-mega-v2-upcoming-list li:last-child,
.anime-mega-v2-headlines li:last-child {
  border-bottom: 0;
}

.anime-mega-v2-discussed a {
  display: grid;
  grid-template-columns: 20px 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
}

.anime-mega-v2-discussed .r {
  color: var(--fg-tertiary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-mega-v2-discussed li:first-child .r {
  color: var(--brand-red);
}

.anime-mega-v2-discussed img {
  width: 36px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.anime-mega-v2-discussed .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-mega-v2-discussed .info strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.anime-mega-v2-discussed a:hover .info strong {
  color: var(--brand-red);
}

.anime-mega-v2-discussed .meta {
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.04em;
}

.anime-mega-v2-discussed .count {
  color: var(--brand-red);
  font: 800 11px var(--font-mono);
}

.anime-mega-v2-discussed .chip {
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font: 800 10px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 3px 6px;
}

.anime-mega-v2-upcoming-list a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
}

.anime-mega-v2-upcoming-list img {
  width: 40px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
}

.anime-mega-v2-upcoming-list a > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-mega-v2-upcoming-list .time,
.anime-mega-v2-upcoming-list .ep,
.anime-mega-v2-headlines .cat,
.anime-mega-v2-headlines .time {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.anime-mega-v2-upcoming-list .time,
.anime-mega-v2-headlines .cat {
  color: var(--brand-red);
  font-size: 10px;
  font-weight: 800;
}

.anime-mega-v2-upcoming-list strong,
.anime-mega-v2-headlines strong {
  color: var(--fg-strong);
  font-size: 12.5px;
  font-weight: 700;
  transition: color var(--dur-fast) var(--ease-out);
}

.anime-mega-v2-upcoming-list a:hover strong,
.anime-mega-v2-headlines a:hover strong {
  color: var(--brand-red);
}

.anime-mega-v2-upcoming-list .ep,
.anime-mega-v2-headlines .time {
  color: var(--fg-tertiary);
  font-size: 10px;
}

.anime-mega-v2-headlines a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  text-decoration: none;
}

.anime-mega-v2-headlines .cat {
  text-transform: uppercase;
}

.anime-mega-v2-headlines strong {
  font-size: 13px;
  line-height: 1.3;
}

.anime-mega-scrim {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 30;
  background: rgba(20, 16, 15, 0.35);
  animation: anime-scrim-in 180ms var(--ease-out) both;
}

@keyframes anime-scrim-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.anime-foot {
  margin-top: 120px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.anime-foot__top,
.anime-foot__legal {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.anime-foot__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 40px 28px;
}

.anime-foot__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.anime-foot__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.anime-foot__brand > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-foot__copy {
  color: var(--fg-tertiary);
  font: 700 11.5px var(--font-mono);
  letter-spacing: 0.04em;
}

.anime-foot__social {
  display: flex;
  gap: 16px;
}

.anime-foot__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}

.anime-foot__social a:hover {
  color: var(--brand-red);
}

.anime-foot__inner {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding-block: 36px 48px;
}

.anime-foot__kanji {
  right: -40px;
  bottom: -120px;
  font-size: 380px;
  opacity: 0.06;
}

.anime-foot h2,
.anime-foot h3 {
  margin: 0 0 14px;
  color: var(--fg-strong);
  font: 800 12px var(--font-sans);
  letter-spacing: 0.12em;
}

.anime-foot ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-foot li a {
  color: var(--fg-secondary);
  font-size: 14px;
  text-decoration: none;
}

.anime-foot__legal {
  border-top: 1px solid var(--border-subtle);
  padding-block: 22px;
}

.anime-foot__legal p {
  margin: 0;
  color: var(--fg-tertiary);
  font-size: 12px;
  line-height: 1.7;
}

.anime-foot__bottom {
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font: 700 11.5px var(--font-mono);
  padding-block: 24px;
  position: relative;
  z-index: 1;
}

.anime-foot__bottom p {
  margin: 0;
}

@media (max-width: 1000px) {
  .anime-foot__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-mega-v2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .anime-mega-v2-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-mega-v2-aside {
    border-top: 1px solid var(--border-subtle);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .anime-nav__links {
    display: none !important;
  }

  .anime-mega,
  .anime-mega-scrim {
    display: none !important;
  }

  .anime-search-toggle {
    min-width: 38px;
    padding-inline: 0;
  }

  .anime-search-toggle span,
  .anime-search-toggle kbd {
    display: none;
  }

  .anime-notifs {
    right: -48px;
    width: min(360px, calc(100vw - 20px));
  }

  .anime-profile {
    right: 0;
  }
}

@media (max-width: 640px) {
  .anime-foot__top {
    flex-direction: column;
  }

  .anime-foot__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Home page: SSR port of /site/index.html, kept JS-free for fast cacheable paint. */
.anime-page {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.anime-content-page {
  padding-bottom: 96px;
}

.anime-home {
  padding-top: 20px;
}

.anime-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  min-height: 520px;
}

.anime-feat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.anime-feat-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 18px;
  background: var(--paper-200);
}

.anime-feat-slider::-webkit-scrollbar {
  display: none;
}

.anime-feat-slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: flex-end;
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  color: #fbf6f2;
  scroll-snap-align: start;
  text-decoration: none;
}

.anime-feat-img,
.anime-feat-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.anime-feat-img {
  object-fit: cover;
  z-index: 0;
}

.anime-feat-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 8, 9, 0) 28%, rgba(11, 8, 9, 0.94) 100%);
}

.anime-feat-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  padding: 26px 30px;
}

.anime-feat-kicker {
  align-self: flex-start;
  border-radius: 4px;
  background: rgba(175, 40, 42, 0.42);
  color: #ffb0b3;
  font: 800 11px var(--font-sans);
  letter-spacing: 0.16em;
  padding: 4px 10px;
}

.anime-feat-title {
  color: #fbf6f2;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-feat-excerpt {
  color: #e8dfdb;
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.55;
  max-width: 580px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-feat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7bbb7;
  font: 700 11.5px var(--font-mono);
}

.anime-feat-meta img {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.anime-feat-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  padding-inline: 4px;
}

.anime-feat-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--paper-300);
}

.anime-feat-dot.is-on {
  background: var(--brand-red);
}

.anime-feat-count {
  margin-left: auto;
  color: var(--fg-tertiary);
  font: 700 11.5px var(--font-mono);
  letter-spacing: 0.06em;
}

.anime-latest {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 22px 22px 12px;
}

.anime-latest-head,
.anime-section-headline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.anime-latest-head {
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.anime-section-eye {
  margin: 0;
  color: var(--brand-red);
  font: 800 10.5px var(--font-mono);
  letter-spacing: 0.14em;
}

.anime-section-more {
  display: inline-flex;
  align-items: center;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.anime-latest-list {
  max-height: 460px;
  margin: 0;
  overflow-y: auto;
  padding: 0 8px;
}

.anime-latest-list li {
  position: relative;
  list-style: none;
  padding-left: 28px;
}

.anime-latest-list li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background: var(--border-subtle);
}

.anime-latest-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 1px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid var(--bg-card);
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-red) 16%, transparent);
}

.anime-latest-list a {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 0;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.anime-latest-list a:hover {
  transform: translateX(3px);
}

.anime-latest-list span {
  color: var(--fg-tertiary);
  font: 700 9.5px var(--font-mono);
  letter-spacing: 0.08em;
}

.anime-latest-list strong {
  color: var(--fg-strong);
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-home-section {
  margin-top: clamp(48px, 7vw, 84px);
}

.anime-section-headline {
  margin-bottom: 20px;
}

.anime-section-headline h2 {
  margin: 4px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.anime-section-headline h2 span {
  color: var(--brand-red);
  font-family: var(--font-kanji);
}

.anime-cards-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.anime-poster-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.anime-poster-card .media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-200);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-poster-card:hover .media {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

.anime-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-poster-card em,
.anime-poster-card b {
  position: absolute;
  top: 10px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font: 800 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.anime-poster-card em {
  left: 10px;
  font-style: normal;
}

.anime-poster-card b {
  right: 10px;
}

.anime-poster-card strong {
  color: var(--fg-strong);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-poster-card small {
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
}

.anime-list-cards,
.anime-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.anime-list-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 20px 18px 18px;
  text-align: center;
  text-decoration: none;
}

.anime-list-card .stack {
  display: flex;
  height: 112px;
}

.anime-list-card .stack img {
  width: 84px;
  height: 112px;
  border: 3px solid var(--bg-card);
  border-radius: 9px;
  margin-left: -36px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-list-card .stack img:first-child {
  margin-left: 0;
}

.anime-list-card:hover .stack img:nth-child(1) {
  transform: rotate(-6deg) translate(-8px, -2px);
}

.anime-list-card:hover .stack img:nth-child(4) {
  transform: rotate(6deg) translate(8px, -2px);
}

.anime-list-card strong,
.anime-news-card strong {
  color: var(--fg-strong);
  font-size: 17px;
  line-height: 1.3;
}

.anime-list-card small,
.anime-news-card small {
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.anime-week-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.anime-week-col.is-past {
  opacity: 0.56;
}

.anime-week-col .head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--paper-050);
  padding: 6px 4px;
}

.anime-week-col.is-today .head {
  border-color: transparent;
  background: var(--brand-red);
}

.anime-week-col b,
.anime-week-col strong {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.anime-week-col strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 14px;
}

.anime-week-col.is-today b,
.anime-week-col.is-today strong {
  color: #fff;
}

.anime-week-col a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px;
  align-items: baseline;
  border-radius: 6px;
  padding: 6px 8px;
  text-decoration: none;
}

.anime-week-col a:hover {
  background: var(--paper-100);
}

.anime-week-col em {
  color: var(--brand-red);
  font: 800 11px var(--font-mono);
  font-style: normal;
}

.anime-week-col span:not(.head) {
  color: var(--fg-strong);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-week-col small,
.anime-week-col .empty {
  color: var(--fg-tertiary);
  font: 700 10px var(--font-mono);
}

.anime-news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.anime-news-card .cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-200);
}

.anime-news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-news-card:hover img {
  transform: scale(1.04);
}

.anime-news-card .cover b {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 5px;
  background: var(--brand-red);
  color: #fff;
  font: 800 10px var(--font-mono);
  letter-spacing: 0.1em;
  padding: 5px 8px;
}

.anime-news-card h3 {
  display: -webkit-box;
  min-height: 2.56em;
  margin: 0;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  transition: color var(--dur-fast);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-news-card:hover h3 {
  color: var(--brand-red);
}

.anime-news-card .anime-meta-row {
  margin-top: auto;
  align-items: center;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.anime-news-card .anime-meta-avatar,
.anime-meta-row .anime-meta-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .anime-home-hero {
    grid-template-columns: 1fr;
  }

  .anime-cards-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anime-list-cards,
  .anime-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .anime-home {
    padding-top: 12px;
  }

  .anime-feat-slide {
    min-height: 420px;
  }

  .anime-latest-list {
    max-height: none;
  }

  .anime-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-week {
    grid-auto-columns: 42%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .anime-week::-webkit-scrollbar {
    display: none;
  }

  .anime-week-col {
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .anime-list-cards,
  .anime-news-grid {
    grid-template-columns: 1fr;
  }

  .anime-section-headline {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Anime hub: SSR/FSE port of /site/anime-hub.html. */
.anime-subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 45;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-page) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
}

.anime-subnav__inner {
  min-height: 54px;
  gap: 20px;
}

.anime-subnav__title {
  max-width: 260px;
  margin: 0;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-subnav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.anime-subnav__links::-webkit-scrollbar {
  display: none;
}

.anime-subnav__links a {
  color: var(--fg-secondary);
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.anime-subnav__links a:hover {
  color: var(--brand-red);
}

.anime-subnav__progress {
  display: block;
  width: 18%;
  height: 2px;
  background: var(--brand-red);
}

.anime-hub {
  overflow: hidden;
  padding-bottom: 0;
  background: var(--bg-page);
}

.anime-hub-banner {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, color-mix(in srgb, var(--brand-red) 18%, transparent), transparent 32%),
    linear-gradient(180deg, var(--paper-200), var(--bg-page));
}

.anime-hub-banner__image {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
}

.anime-hub-banner__image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 24%;
  opacity: 0.52;
  filter: saturate(0.82);
}

.anime-hub-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 247, 240, 0) 0%, rgba(251, 247, 240, 0.64) 58%, var(--bg-page) 100%);
}

[data-theme="dark"] .anime-hub-banner::after {
  background: linear-gradient(180deg, rgba(11, 8, 9, 0.22) 0%, rgba(11, 8, 9, 0.72) 58%, var(--bg-page) 100%);
}

.anime-hub-banner__kanji {
  position: absolute;
  right: 4%;
  top: -70px;
  z-index: 1;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(220px, 30vw, 520px);
  font-weight: 900;
  line-height: 1;
  opacity: 0.07;
  pointer-events: none;
}

.anime-hub-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  margin-top: -170px;
  align-items: start;
}

.anime-hub-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.anime-hub-poster {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper-200);
  box-shadow: var(--shadow-lg);
}

.anime-hub-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-hub-side .anime-score-blocks,
.anime-platforms,
.anime-info-block,
.anime-guide-teasers,
.anime-hub-side .anime-watchlist {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
}

.anime-hub-side .anime-score-blocks,
.anime-hub-side .anime-watchlist,
.anime-platforms,
.anime-info-block {
  padding: 16px;
}

.anime-hub-side .anime-score-blocks__head,
.anime-hub-side .anime-watchlist__head {
  margin-bottom: 12px;
}

.anime-hub-side .anime-score-blocks__head h2,
.anime-hub-side .anime-watchlist__head h2 {
  font-family: var(--font-sans);
  font-size: 16px;
}

.anime-hub-side .anime-score-blocks__grid {
  grid-template-columns: 1fr;
}

.anime-platforms h3,
.anime-info-block h3 {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font: 900 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-platforms {
  display: grid;
  gap: 8px;
}

.anime-platforms a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--fg-primary);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}

.anime-platforms span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--platform-color);
  color: #fff;
  font-weight: 900;
}

.anime-info-block {
  display: grid;
  gap: 10px;
}

.anime-info-block div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: baseline;
}

.anime-info-block span {
  color: var(--fg-tertiary);
  font: 800 10px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-info-block strong,
.anime-info-block a {
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.anime-guide-teasers {
  display: grid;
  gap: 8px;
}

.anime-guide-teasers a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 12px;
  text-decoration: none;
}

.anime-guide-teasers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-weight: 900;
}

.anime-guide-teasers strong {
  display: block;
  color: var(--fg-strong);
  font-size: 13.5px;
}

.anime-guide-teasers em {
  display: block;
  margin-top: 2px;
  color: var(--fg-tertiary);
  font-size: 12px;
  font-style: normal;
}

.anime-hub-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 126px;
}

.anime-hub-title {
  max-width: 860px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.anime-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anime-hub-tags a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  text-decoration: none;
}

.anime-hub-syn {
  max-width: 720px;
  margin: 0;
  color: var(--fg-primary);
  font-size: 16px;
  line-height: 1.6;
}

.anime-hub-actions {
  gap: 10px;
  margin-top: 10px;
}

.anime-hub-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 900;
  padding-inline: 14px;
  text-decoration: none;
}

.anime-hub-action--primary {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-hub-section {
  margin-top: 22px;
}

.anime-hub-section h2,
.anime-hub-row-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-hub-section .ja,
.anime-hub-row-title .ja {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 22px;
  font-weight: 900;
}

.anime-hub-row {
  margin-top: 64px;
  padding-block: 56px;
}

.anime-hub-row--tinted {
  background: var(--paper-050);
}

.anime-hub-row__inner {
  max-width: var(--container);
}

.anime-hub-row .anime-block-section {
  margin: 0;
}

.anime-hub-row .anime-section-head h2,
.anime-hub-row .anime-section-headline h2 {
  font-size: 36px;
}

.anime-hub-row .anime-anime-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.anime-hub-row .anime-anime-card {
  background: transparent;
  border: 0;
}

.anime-hub-row .anime-anime-card__body {
  padding: 10px 0 0;
}

.anime-comments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.anime-comments-side {
  min-width: 0;
}

.anime-comments-side .anime-rating-dist {
  position: sticky;
  top: calc(var(--nav-h) + 72px);
}

@media (max-width: 1100px) {
  .anime-hub-body {
    grid-template-columns: 1fr;
    margin-top: -84px;
  }

  .anime-hub-side {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
  }

  .anime-hub-poster {
    grid-row: span 4;
  }

  .anime-hub-main {
    padding-top: 24px;
  }

  .anime-comments-layout {
    grid-template-columns: 1fr;
  }

  .anime-hub-row .anime-anime-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .anime-subnav {
    display: none;
  }

  .anime-hub-banner {
    min-height: 280px;
  }

  .anime-hub-body {
    gap: 24px;
    margin-top: -60px;
  }

  .anime-hub-side {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .anime-hub-side .anime-score-blocks,
  .anime-hub-side .anime-watchlist,
  .anime-platforms,
  .anime-info-block,
  .anime-guide-teasers {
    grid-column: 1 / -1;
  }

  .anime-hub-title {
    font-size: 40px;
  }

  .anime-hub-row {
    margin-top: 40px;
    padding-block: 38px;
  }

  .anime-hub-row .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Anime archive: port of /site/anime-listesi.html. */
.anime-archive {
  padding-top: 40px;
  padding-inline: var(--gutter);
  padding-bottom: 0;
}

.anime-archive + .anime-foot {
  margin-top: 0;
}

.anime-archive-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.anime-archive-head__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-archive-head__text .anime-section-eye {
  margin: 0;
}

.anime-archive-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-archive-title span {
  color: var(--brand-red);
  font-family: var(--font-kanji);
}

.anime-archive-count {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.anime-archive-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  margin-bottom: 24px;
  padding: 14px 16px 14px 18px;
}

.anime-archive-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--fg-tertiary);
  min-height: 38px;
  padding-inline: 14px;
}

.anime-archive-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font: 500 13px/1 var(--font-sans);
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0;
}

.anime-archive-search input::placeholder {
  color: var(--fg-tertiary);
  font-weight: 500;
}

.anime-archive-sort {
  position: relative;
  flex: 0 0 auto;
}

.anime-archive-sort-trigger,
.anime-archive-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  cursor: pointer;
  font: 700 12px/1 var(--font-sans);
  padding: 0 16px;
  text-decoration: none;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.anime-archive-sort-trigger .lbl {
  color: var(--fg-secondary);
  font-weight: 700;
}

.anime-archive-sort-trigger .val {
  color: var(--fg-strong);
  font-weight: 800;
}

.anime-archive-sort-trigger .chev {
  color: var(--brand-red);
  margin-left: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-archive-sort.is-open .anime-archive-sort-trigger,
.anime-archive-sort-trigger:hover,
.anime-archive-sort-trigger:focus-visible {
  border-color: var(--brand-red);
  color: var(--brand-red);
  outline: 0;
}

.anime-archive-sort.is-open .anime-archive-sort-trigger .chev {
  transform: rotate(180deg);
}

.anime-archive-sort .anime-dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  display: flex;
  min-width: 128px;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 16px 34px rgba(20, 16, 15, 0.12);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.anime-archive-sort.is-open .anime-dd-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.anime-archive-sort .anime-dd-item {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: 650 13px/1 var(--font-sans);
  padding: 0 8px;
  text-align: left;
}

.anime-archive-sort .anime-dd-item:hover,
.anime-archive-sort .anime-dd-item.is-on {
  background: var(--paper-100);
  color: var(--brand-red);
}

.anime-archive-reset:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-archive-filter-toggle,
.anime-filter-panel-head {
  display: none;
}

.anime-archive-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.anime-archive-results {
  min-width: 0;
}

.anime-archive-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.anime-archive-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-strong);
  cursor: pointer;
  font: 700 14px/1 var(--font-sans);
  padding: 0 24px;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.anime-archive-more-btn .count {
  border-left: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  padding-left: 14px;
}

.anime-archive-more-btn:hover,
.anime-archive-more-btn:focus-visible {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.anime-archive-more-btn:hover .count,
.anime-archive-more-btn:focus-visible .count {
  border-left-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.78);
}

.anime-archive-more-btn[hidden] {
  display: none;
}

.anime-filter-panel {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 20px;
}

.anime-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anime-filter-group h2 {
  margin: 0;
  color: var(--brand-red);
  font: 700 11px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  padding: 5px 0;
}

.anime-filter-group input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--brand-red);
}

.anime-filter-group em {
  margin-left: auto;
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  font-style: normal;
}

.anime-filter-search {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  margin-top: 2px;
  padding: 6px 10px;
}

.anime-filter-search:focus {
  border-color: var(--brand-red);
  outline: none;
}

.anime-filter-scroll {
  display: flex;
  max-height: 184px;
  flex-direction: column;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: var(--border-subtle) transparent;
  scrollbar-width: thin;
}

.anime-archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.anime-archive .anime-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  line-height: normal;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.anime-archive .anime-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-archive .anime-card:hover .anime-poster {
  transform: translateY(-6px);
}

.anime-archive .anime-card:hover {
  box-shadow: none;
}

.anime-archive .anime-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-archive .anime-badge,
.anime-archive .anime-rate {
  position: absolute;
  top: 9px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
  max-width: calc(100% - 18px);
  white-space: nowrap;
}

.anime-archive .anime-badge {
  left: 9px;
  max-width: calc(100% - 82px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-archive .anime-rate {
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  padding: 4px 7px;
}

.anime-archive .anime-rate svg {
  color: #f4b83a;
}

.anime-archive .anime-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.anime-archive .anime-card-meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.anime-archive-grid-wrap .anime-block-section {
  margin: 0;
}

.anime-archive-grid-wrap .anime-section-head {
  display: none;
}

.anime-archive-grid-wrap .anime-anime-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.anime-archive-grid-wrap .anime-anime-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.anime-archive-grid-wrap .anime-anime-card__media {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-archive-grid-wrap .anime-anime-card:hover .anime-anime-card__media {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

.anime-archive-grid-wrap .anime-anime-card__body {
  padding: 10px 0 0;
}

.anime-archive-grid-wrap .anime-anime-card__body h3 {
  font-size: 14px;
}

.anime-archive-grid-wrap .anime-anime-card__body span {
  color: var(--fg-tertiary);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .anime-archive-body {
    grid-template-columns: 1fr;
  }

  .anime-filter-panel {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-archive-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .anime-archive-toolbar {
    align-items: center;
    flex-direction: row;
  }

  .anime-archive-search {
    flex: 1 0 100%;
  }

  .anime-archive-sort-trigger,
  .anime-archive-reset {
    flex: 0 0 auto;
    width: auto;
  }

  .anime-filter-panel {
    grid-template-columns: 1fr;
  }

  .anime-archive-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html.anime-archive-filter-open,
  html.anime-archive-filter-open body {
    overflow: hidden;
  }

  .anime-archive {
    overflow: hidden;
    padding: 30px 16px 56px !important;
  }

  .anime-archive-head {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 22px;
  }

  .anime-archive-head__text {
    min-width: 0;
  }

  .anime-archive-title {
    position: relative;
    isolation: isolate;
    display: block;
    overflow: visible;
    font-size: 42px;
    line-height: 0.98;
    white-space: nowrap;
  }

  .anime-archive-title span {
    position: absolute;
    right: -118px;
    top: 50%;
    z-index: -1;
    font-size: 0.95em;
    opacity: 0.24;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .anime-archive-count {
    flex: 0 0 auto;
    margin-bottom: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .anime-archive-toolbar {
    align-items: stretch;
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 14px 16px;
  }

  .anime-archive-search {
    flex-basis: 100%;
    min-height: 48px;
    border-radius: 999px;
    padding-inline: 14px;
  }

  .anime-archive-search input {
    font-size: 15px !important;
  }

  .anime-archive-sort-trigger,
  .anime-archive-reset,
  .anime-archive-filter-toggle {
    min-height: 42px;
    border-radius: 999px;
    background: var(--bg-card);
    font-size: 13px;
  }

  .anime-archive-sort {
    flex: 1 1 auto;
    min-width: 0;
  }

  .anime-archive-sort-trigger {
    width: 100%;
  }

  .anime-archive-reset {
    flex: 0 0 auto;
  }

  .anime-archive-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 100%;
    gap: 8px;
    border: 1px solid var(--border-subtle);
    color: var(--fg-strong);
    font: 850 13px var(--font-sans);
    padding: 0 14px;
  }

  .anime-archive-body {
    display: block;
    margin-top: 24px;
  }

  .anime-archive.is-filter-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(20, 16, 15, 0.34);
  }

  .anime-filter-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99991;
    display: flex;
    max-height: min(78vh, 680px);
    overflow-y: auto;
    gap: 20px;
    border: 1px solid var(--border-subtle);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--bg-card);
    box-shadow: 0 -22px 70px rgba(20, 16, 15, 0.18);
    padding: 16px 18px 26px;
    transform: translateY(110%);
    transition: transform 220ms var(--ease-out);
  }

  .anime-archive.is-filter-open .anime-filter-panel {
    transform: translateY(0);
  }

  .anime-filter-panel-head {
    position: sticky;
    top: -16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -16px -18px 2px;
    border-bottom: 1px solid var(--border-subtle);
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 18px;
  }

  .anime-filter-panel-head span {
    color: var(--fg-strong);
    font-size: 15px;
    font-weight: 900;
  }

  .anime-filter-panel-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--bg-surface);
    color: var(--fg-secondary);
    padding: 0;
  }

  .anime-filter-group {
    gap: 8px;
  }

  .anime-filter-search {
    min-height: 42px;
    border-radius: 10px;
    font-size: 15px;
  }

  .anime-filter-scroll {
    max-height: 220px;
  }

  .anime-filter-group label {
    min-height: 38px;
    font-size: 15px;
  }

  .anime-filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .anime-archive-grid {
    gap: 16px;
  }

  .anime-archive .anime-card-title {
    font-size: 13.5px;
  }

  .anime-archive .anime-card-meta {
    font-size: 10px;
  }
}

/* Category archive: SSR port of /site/kategori.html. */
.anime-category-page {
  padding-top: 32px;
  padding-bottom: 96px;
}

.anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-tertiary);
  font: 700 12px var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-breadcrumb .sep {
  color: var(--border-strong);
}

.anime-category-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--bg-card);
  padding: 36px 40px;
}

.anime-category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-red) 9%, transparent), transparent 42%),
    radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--accent-blue) 12%, transparent), transparent 28%);
  pointer-events: none;
}

.anime-category-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

.anime-category-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-category-title::after {
  content: none;
}

.anime-category-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 6px;
  color: var(--fg-tertiary);
  font: 700 12px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-category-pulse strong {
  color: var(--brand-red);
}

.anime-category-pulse .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand-red);
}

.anime-category-decor {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 0;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.075;
  pointer-events: none;
  transform: translateY(-50%);
}

.anime-category-desc,
.anime-category-long {
  max-width: 640px;
}

.anime-category-desc {
  margin: 4px 0;
  color: var(--fg-primary);
  font-size: 17px;
  line-height: 1.55;
}

.anime-category-desc:empty {
  display: none;
}

.anime-category-long {
  margin: 12px 0 0;
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.anime-category-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 24px;
}

.anime-cat-tags {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
}

.anime-cat-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.anime-cat-tag:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-category-search {
  flex: 0 1 260px;
  margin: 0;
}

.anime-category-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font: 800 12px var(--font-sans);
  padding: 0 12px;
}

.anime-category-select span {
  color: var(--fg-tertiary);
}

.anime-category-select select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font: inherit;
}

.anime-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.anime-category-grid > li {
  margin: 0;
}

.anime-category-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.anime-category-card:hover {
  border-color: var(--brand-red);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand-red) 10%, transparent);
  transform: translateY(-2px);
}

.anime-category-card__cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--paper-200);
}

.anime-category-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.anime-category-card:hover .anime-category-card__cover img {
  transform: scale(1.04);
}

.anime-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.anime-category-card h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.anime-category-card h2 a {
  text-decoration: none;
}

.anime-category-card h2 a:hover {
  color: var(--brand-red);
}

.anime-category-card .wp-block-post-excerpt {
  margin: 0;
}

.anime-category-card .wp-block-post-excerpt__excerpt {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.anime-meta-row {
  gap: 7px;
  margin: 2px 0 0;
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.anime-meta-row p,
.anime-meta-row time {
  margin: 0;
}

.anime-category-page .anime-breadcrumb {
  letter-spacing: 0;
  text-transform: none;
}

.anime-cat-empty {
  border: 1px dashed var(--border-subtle);
  border-radius: 16px;
  color: var(--fg-secondary);
  padding: 60px 20px;
  text-align: center;
}

.anime-cat-empty h2 {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.anime-cat-more {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 0;
}

.anime-cat-more a,
.anime-cat-more button,
.anime-cat-more .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  cursor: pointer;
  font-weight: 800;
  padding: 0 14px;
  text-decoration: none;
}

.anime-cat-more .count {
  border-left: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-left: 12px;
  text-transform: uppercase;
}

.anime-cat-more a:hover,
.anime-cat-more button:hover,
.anime-cat-more .page-numbers.current {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.anime-category-results.is-loading .anime-news-grid {
  opacity: 0.62;
  pointer-events: none;
}

.anime-cat-cross {
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.anime-cat-cross-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.anime-cat-cross-head h2 {
  margin: 6px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-cat-cross-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.anime-cat-cross-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px 16px 16px 14px;
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.anime-cat-cross-card:hover {
  border-color: var(--brand-red);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-red) 12%, transparent);
  transform: translateY(-2px);
}

.anime-cat-cross-card .cc-ja {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-red) 10%, var(--bg-card));
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 24px;
  font-weight: 900;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.anime-cat-cross-card:hover .cc-ja {
  background: color-mix(in srgb, var(--brand-red) 16%, var(--bg-card));
  color: var(--brand-red);
}

.anime-cat-cross-card .cc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-cat-cross-card strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-cat-cross-card em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-secondary);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-cat-cross-card .cc-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-cat-cross-card:hover .cc-go {
  background: transparent;
  color: var(--brand-red);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .anime-category-grid,
  .anime-cat-cross-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .anime-category-hero {
    padding: 28px 24px;
  }

  .anime-category-decor {
    right: -10px;
    font-size: 180px;
    opacity: 0.05;
  }

  .anime-category-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .anime-category-search,
  .anime-category-select {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .anime-category-grid,
  .anime-cat-cross-grid {
    grid-template-columns: 1fr;
  }
}

/* Category visual parity: /site-v2/kategori.html shell, hero, controls. */
.anime-category-page {
  padding-top: 0;
  padding-bottom: 96px;
}

.anime-category-page .anime-breadcrumb {
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font: 400 12px/1.35 var(--font-mono);
  letter-spacing: 0;
  text-transform: none;
}

.anime-category-page .anime-breadcrumb a {
  color: var(--fg-secondary);
}

.anime-category-page .anime-breadcrumb [aria-current] {
  color: var(--fg-primary);
  font-weight: 600;
}

.anime-category-page .anime-category-hero {
  margin: 32px 0 0;
  padding: 36px 40px;
  border-radius: 18px;
}

.anime-category-page .anime-category-hero::after {
  content: none;
}

.anime-category-page .anime-category-hero__inner,
.anime-category-page .anime-category-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  min-width: 0;
  margin-block-start: 0;
}

.anime-category-page .anime-category-title,
.anime-category-page .anime-category-hero h1 {
  margin: 6px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.anime-category-page .anime-category-pulse {
  align-items: center;
  gap: 10px;
  margin: 8px 0 6px;
  color: var(--fg-tertiary);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-category-page .anime-category-pulse strong {
  color: var(--brand-red);
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.04em;
}

.anime-category-page .anime-category-pulse .dot {
  background: var(--border-subtle);
}

.anime-category-page .anime-category-decor {
  right: 24px;
  font-size: 280px;
  line-height: 0.82;
  letter-spacing: -0.04em;
  opacity: 0.07;
}

.anime-category-page .anime-category-desc {
  max-width: 640px;
  margin: 4px 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
}

.anime-category-page .anime-category-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 24px;
}

.anime-category-page .anime-category-toolbar .anime-cat-tags {
  flex: 1 1 auto;
  gap: 6px;
  margin: 0;
}

.anime-category-page .anime-cat-tag {
  min-height: 38px;
  border-radius: 10px;
  font-weight: 600;
}

.anime-category-page .anime-category-toolbar .anime-archive-search {
  flex: 0 1 260px;
  min-width: 200px;
  min-height: 38px;
  margin: 0;
  border-radius: 10px;
  background: var(--bg-card);
}

.anime-category-page .anime-category-toolbar .anime-archive-search input {
  height: 36px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.anime-category-page .anime-category-toolbar .anime-archive-search input::placeholder {
  color: var(--fg-tertiary);
  font-weight: 500;
}

.anime-category-page .anime-dd {
  position: relative;
  font-family: var(--font-sans);
}

.anime-category-page .anime-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-strong);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 0 14px;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.anime-category-page .anime-dd-trigger:hover,
.anime-category-page .anime-dd.is-open .anime-dd-trigger {
  border-color: var(--brand-red);
}

.anime-category-page .anime-dd-trigger .lbl {
  color: var(--fg-tertiary);
  font-weight: 500;
}

.anime-category-page .anime-dd-trigger .val {
  color: var(--fg-strong);
  font-weight: 700;
}

.anime-category-page .anime-dd-trigger .chev {
  margin-left: 4px;
  color: var(--fg-tertiary);
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-fast);
}

.anime-category-page .anime-dd.is-open .anime-dd-trigger .chev {
  color: var(--brand-red);
  transform: rotate(180deg);
}

.anime-category-page .anime-dd-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(20, 16, 15, 0.10), 0 2px 8px rgba(20, 16, 15, 0.06);
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.anime-category-page .anime-dd.is-open .anime-dd-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.anime-category-page .anime-dd-item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: 600 13px var(--font-sans);
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}

.anime-category-page .anime-dd-item:hover,
.anime-category-page .anime-dd-item.is-on {
  background: var(--paper-100);
  color: var(--brand-red);
}

.anime-category-page .anime-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 24px;
}

.anime-category-page .anime-news-card {
  min-width: 0;
  padding-bottom: 4px;
}

.anime-category-page .anime-cat-more-btn {
  gap: 14px;
  min-height: 46px;
  border-radius: 999px;
  padding: 13px 26px;
  color: var(--fg-strong);
  font: 700 14px var(--font-sans);
}

.anime-category-page .anime-cat-more-btn[hidden] {
  display: none;
}

.anime-category-page .anime-cat-more-btn .count {
  font-size: 10.5px;
}

@media (max-width: 960px) {
  .anime-category-page .anime-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .anime-category-page {
    padding-inline: 24px;
  }

  .anime-category-page .anime-category-hero {
    padding: 28px 24px;
  }

  .anime-category-page .anime-category-decor {
    right: -10px;
    font-size: 180px;
    opacity: 0.05;
  }

  .anime-category-page .anime-category-toolbar {
    align-items: center;
    flex-direction: row;
  }

  .anime-category-page .anime-category-toolbar .anime-cat-tags {
    width: 100%;
  }

  .anime-category-page .anime-category-toolbar .anime-archive-search {
    flex: 1 1 100%;
    width: 100%;
  }

  .anime-category-page .anime-news-grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }
}

/* Genre / season taxonomy pages: port of /site/tur.html and /site/sezon.html. */
.anime-tax-page {
  padding-top: 32px;
  padding-bottom: 96px;
}

.anime-tax-hero .anime-section-eye {
  margin: 0 0 10px;
}

.anime-tax-title::after {
  content: "種";
}

.anime-tax-page--donem .anime-tax-title::after {
  content: "季";
}

.anime-tax-tags {
  margin: 24px 0 0;
}

.anime-tax-grid-wrap {
  margin-top: 24px;
}

.anime-tax-grid-wrap .anime-block-section {
  margin: 0;
}

.anime-tax-grid-wrap .anime-section-head {
  display: none;
}

.anime-tax-grid-wrap .anime-anime-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.anime-tax-grid-wrap .anime-anime-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.anime-tax-grid-wrap .anime-anime-card__media {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-tax-grid-wrap .anime-anime-card:hover .anime-anime-card__media {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

.anime-tax-grid-wrap .anime-anime-card__body {
  padding: 10px 0 0;
}

.anime-tax-grid-wrap .anime-anime-card__body h3 {
  font-size: 14px;
}

.anime-tax-grid-wrap .anime-anime-card__body span {
  color: var(--fg-tertiary);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .anime-tax-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-tax-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-tax-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* site-v2 studio taxonomy parity. */
.anime-studio-page {
  max-width: none;
  padding: 0 0 96px;
}

.anime-studio-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 28px auto 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: normal;
}

.anime-studio-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-studio-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-studio-page .anime-breadcrumb .sep {
  opacity: 0.55;
}

.anime-studio-hero,
.anime-studio-section {
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin-right: auto;
  margin-left: auto;
}

.anime-studio-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 24px;
}

.anime-studio-hero-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: var(--brand-red);
  color: #fff;
}

.anime-studio-hero-logo::after {
  position: absolute;
  inset: auto -26px -42px auto;
  color: rgba(255, 255, 255, 0.13);
  content: "社";
  font-family: var(--font-kanji);
  font-size: 210px;
  font-weight: 900;
  line-height: 0.85;
}

.anime-studio-hero-logo span {
  position: relative;
  z-index: 1;
  max-width: 210px;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.anime-studio-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
  padding: 42px 44px;
}

.anime-studio-hero-body h1 {
  margin: 8px 0 10px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-studio-hero-body .wp-block-term-description,
.anime-studio-hero-body .wp-block-term-description p,
.anime-studio-fallback {
  max-width: 760px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.anime-studio-hero-body .wp-block-term-description:empty {
  display: none;
}

.anime-studio-hero-body .wp-block-term-description:not(:empty) + .anime-studio-fallback {
  display: none;
}

.anime-studio-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.anime-studio-stats div {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-050);
  padding: 14px;
}

.anime-studio-stats strong {
  display: block;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-studio-stats span {
  display: block;
  margin-top: 5px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.anime-studio-section {
  margin-top: 64px;
}

.anime-studio-section .anime-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 18px;
  margin-bottom: 24px;
}

.anime-studio-section .anime-section-head .anime-section-eye {
  grid-column: 1 / -1;
}

.anime-studio-section .anime-section-head h2,
.anime-studio-section .anime-section-title,
.anime-studio-section .anime-block-section h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.anime-studio-section .anime-eyebrow {
  margin: 0 0 4px;
}

.anime-studio-section .anime-block-section {
  margin: 0;
}

.anime-studio-section .anime-anime-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-studio-section .anime-list-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-studio-section .anime-poster-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.anime-studio-section .anime-poster-card .poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform 360ms var(--ease-out);
}

.anime-studio-section .anime-poster-card:hover .poster {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-studio-section .anime-poster-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-studio-section .anime-poster-card .score {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 7px;
}

.anime-studio-section .anime-poster-card h3 {
  margin: 10px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.anime-studio-section .anime-poster-card:hover h3 {
  color: var(--brand-red);
}

.anime-studio-section .anime-poster-card .meta {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.anime-studio-tagline {
  margin: -2px 0 10px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.anime-studio-timeline {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-studio-timeline-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 20px;
}

.anime-studio-timeline-row:last-child {
  border-bottom: 0;
}

.anime-studio-timeline-row .when,
.anime-studio-timeline-row .state {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-studio-timeline-row .when {
  color: var(--brand-red);
}

.anime-studio-timeline-row .what {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-studio-timeline-row .what strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.anime-studio-timeline-row .what span {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-studio-timeline-row .state {
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  padding: 6px 10px;
}

.anime-studio-timeline-row .state.is-airing {
  background: color-mix(in srgb, var(--brand-red) 13%, var(--paper-100));
  color: var(--brand-red);
}

.anime-studio-timeline-row .state.is-soon {
  background: color-mix(in srgb, var(--accent-sky) 13%, var(--paper-100));
  color: var(--accent-sky);
}

.anime-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.anime-staff-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 14px;
}

.anime-staff-card img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.anime-staff-card h3 {
  margin: 0 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.anime-staff-card span {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .anime-studio-hero {
    grid-template-columns: 1fr;
  }

  .anime-studio-hero-logo {
    min-height: 190px;
  }

  .anime-studio-section .anime-anime-grid,
  .anime-studio-section .anime-list-grid,
  .anime-staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .anime-studio-page {
    padding-bottom: 72px;
  }

  .anime-studio-page .anime-breadcrumb,
  .anime-studio-hero,
  .anime-studio-section {
    width: calc(100% - 48px);
  }

  .anime-studio-hero-body {
    padding: 30px 24px;
  }

  .anime-studio-stats,
  .anime-studio-section .anime-anime-grid,
  .anime-studio-section .anime-list-grid,
  .anime-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-studio-timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .anime-studio-timeline-row .state {
    justify-self: start;
  }
}

/* site-v2 season taxonomy parity. */
.anime-season-page {
  max-width: none;
  padding: 0 0 96px;
}

.anime-season-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 28px auto 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.anime-season-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-season-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-season-page .anime-breadcrumb .sep {
  opacity: 0.55;
}

.anime-season-hero,
.anime-season-filters,
.anime-season-grid-wrap {
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.anime-season-hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  margin-bottom: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
  line-height: normal;
  padding: 44px 36px 40px;
}

.anime-season-hero-deco {
  position: absolute;
  top: 50%;
  right: -16px;
  display: block;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 240px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.85;
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(-50%);
}

.anime-season-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  line-height: normal;
  margin-block-start: 0 !important;
}

.anime-season-hero .anime-section-eye {
  font-size: 11.5px;
  font-weight: 700;
}

.anime-season-hero h1 {
  margin: 10px 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-season-hero p {
  max-width: 560px;
  margin: 0 0 22px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

.anime-season-hero .wp-block-term-description {
  margin: 0 0 15px;
}

.anime-season-hero .wp-block-term-description p {
  margin: 0;
}

.anime-season-hero .wp-block-term-description:empty {
  display: none;
}

.anime-season-hero .wp-block-term-description:not(:empty) + .anime-season-fallback {
  display: none;
}

.anime-season-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.anime-season-nav .anime-btn-sm {
  min-height: 0;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: normal;
  padding: 7px 12px;
}

.anime-season-cur {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.anime-season-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
}

.anime-season-grid-wrap {
  margin-top: 40px;
}

.anime-season-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.anime-season-grid-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
}

.anime-season-counter {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.anime-season-grid-wrap .anime-block-section {
  margin: 0;
}

.anime-season-grid-wrap .anime-section-head {
  display: none;
}

.anime-season-grid-wrap .anime-anime-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.anime-season-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  transition: border-color var(--dur-fast), transform 360ms var(--ease-out);
}

.anime-season-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-season-card .poster {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  background: var(--paper-200);
}

.anime-season-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-season-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 5px 7px;
}

.anime-season-card .badge.is-new {
  background: var(--brand-red);
}

.anime-season-card .body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.anime-season-card h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-season-meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
}

.anime-season-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
}

.anime-season-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-red);
  font-weight: 800;
}

.anime-season-card p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
}

.anime-season-card .anime-btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 900px) {
  .anime-season-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-season-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .anime-season-page {
    padding-bottom: 72px;
  }

  .anime-season-page .anime-breadcrumb,
  .anime-season-hero,
  .anime-season-filters,
  .anime-season-grid-wrap {
    width: calc(100% - 48px);
    padding-right: 0;
    padding-left: 0;
  }

  .anime-season-hero h1 {
    font-size: 34px;
  }

  .anime-season-hero {
    border-radius: 18px;
    padding: 32px 24px 28px;
  }

  .anime-season-hero-deco {
    right: -20px;
    font-size: 140px;
    opacity: 0.04;
  }

  .anime-season-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .anime-season-grid-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .anime-season-grid-head h2 {
    font-size: 28px;
  }

  .anime-season-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .anime-season-grid {
    gap: 14px;
  }

  .anime-season-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .anime-season-card .poster {
    min-height: 168px;
  }

  .anime-season-card .body {
    padding: 13px;
  }

  .anime-season-card h3 {
    font-size: 15px;
  }

  .anime-season-card p {
    display: none;
  }
}

/* Article detail: port of /site/haber-makale.html. */
.anime-art-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 56px var(--gutter) 96px;
}

.wp-site-blocks > .anime-art-layout {
  margin-block-start: 0;
}

.anime-art-main {
  min-width: 0;
}

.anime-article {
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-article-kicker {
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anime-article-kicker a {
  color: inherit;
  text-decoration: none;
}

.anime-article h1 {
  margin: 14px 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-article-lead,
.anime-article-lead .wp-block-post-excerpt__excerpt {
  margin: 0 0 24px;
  color: var(--fg-secondary);
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.55;
}

.anime-article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 24px 0 32px;
  padding: 16px 0;
}

.anime-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.anime-article-meta p,
.anime-article-meta a,
.anime-article-meta time {
  color: var(--fg-strong);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  text-decoration: none;
}

.anime-article-meta .anime-article-meta-label {
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.anime-article-meta .wp-block-post-date,
.anime-article-meta .wp-block-post-date time {
  color: var(--fg-tertiary);
}

.anime-article-actions {
  margin-left: auto;
}

.anime-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
}

.anime-btn-ghost {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--fg-secondary);
}

.anime-btn-ghost:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-article-cover {
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-200);
  margin: 0 0 40px;
}

.anime-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-article p {
  color: var(--fg-primary);
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.7;
}

.anime-article > p {
  margin: 0 0 22px;
}

.anime-article h2 {
  margin: 40px 0 12px;
  color: var(--fg-strong);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-article blockquote {
  margin: 32px 0;
  border-left: 3px solid var(--brand-red);
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  padding: 4px 0 4px 28px;
}

.anime-article-source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 13px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-soft) 78%, var(--bg-card));
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.anime-article-source-label {
  flex: 0 0 auto;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.anime-article-source-links {
  min-width: 0;
}

.anime-article-source a {
  color: var(--fg-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.anime-article-source a:hover,
.anime-article-source a:focus-visible {
  color: var(--brand-red);
}

.anime-summary {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  margin: 0 0 34px;
  overflow: hidden;
}

.anime-summary summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
}

.anime-summary summary::-webkit-details-marker {
  display: none;
}

.anime-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-weight: 900;
}

.anime-summary-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anime-summary-label strong {
  color: var(--fg-strong);
  font-size: 15px;
  font-weight: 900;
}

.anime-summary-label small {
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
}

.anime-summary ul {
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  padding: 16px 22px 18px 58px;
}

.anime-summary li {
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 7px 0;
}

.anime-inline-promo {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  margin: 40px 0;
  padding: 22px;
}

.anime-inline-promo-tag {
  margin: 0 0 8px !important;
  color: var(--brand-red) !important;
  font: 800 11px var(--font-mono) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.anime-inline-promo h3 {
  margin: 0 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-inline-promo p:last-child {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 14px;
}

.anime-art-side {
  position: sticky;
  top: var(--nav-h);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.anime-side-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-red);
  color: #fff;
  padding: 24px;
}

.anime-side-cta .kanji {
  position: absolute;
  right: -10px;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-kanji);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.anime-side-cta .anime-section-eye {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.anime-side-cta h3 {
  margin: 4px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.anime-side-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
}

.anime-side-cta a {
  align-self: flex-start;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
  padding: 10px 16px;
  text-decoration: none;
}

.anime-side-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-side-block h3 {
  margin: 0;
  color: var(--brand-red);
  font: 800 11px var(--font-sans);
  letter-spacing: 0.14em;
}

.anime-side-popular {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-side-popular li {
  border-bottom: 1px solid var(--border-subtle);
}

.anime-side-popular li:last-child {
  border-bottom: 0;
}

.anime-side-popular a {
  display: block;
  color: var(--fg-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px 0;
  text-decoration: none;
}

.anime-side-popular a:hover {
  color: var(--brand-red);
}

.anime-side-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anime-side-pills a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--fg-secondary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  text-decoration: none;
}

.anime-side-pills a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding-top: 28px;
}

.anime-share a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--fg-secondary);
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.anime-share a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-share-feedback {
  align-self: center;
  color: var(--accent-mint);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.anime-share-feedback[data-tone="error"] {
  color: var(--brand-red);
}

.anime-art-main .anime-container {
  max-width: none;
  padding-inline: 0;
}

.anime-art-main .wp-block-comments {
  margin-top: 56px;
}

.anime-art-main .wp-block-comments-title {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-art-main .wp-block-post-comments-form,
.anime-art-main .wp-block-comment-template {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px;
}

.anime-similar-wide {
  padding-bottom: 24px;
}

.anime-similar-wide .anime-section-title {
  margin: 6px 0 22px;
}

.anime-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .anime-art-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .anime-art-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .anime-art-layout {
    padding-top: 36px;
  }

  .anime-article h1 {
    font-size: 38px;
  }

  .anime-article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-article-actions {
    margin-left: 0;
  }

  .anime-related-grid {
    grid-template-columns: 1fr;
  }
}

/* List article: port of /site/liste-makale.html. */
.anime-list-layout .anime-art-main {
  min-width: 0;
}

.anime-list-art {
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-list-art-hero {
  display: block;
  margin-bottom: 8px;
  max-width: 820px;
}

.anime-list-art-hero .anime-article-kicker {
  margin: 0;
}

.anime-list-art-hero h1 {
  margin: 8px 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-list-art-dek,
.anime-list-art-dek .wp-block-post-excerpt__excerpt {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.5;
}

.anime-list-art-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 24px 0;
  padding: 14px 0;
}

.anime-list-art-byline > .anime-btn {
  margin-left: auto;
}

.anime-vote-callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--paper-300);
  border-radius: 14px;
  background: var(--paper-050);
  margin: 24px 0 28px;
  padding: 18px 22px;
}

.anime-vote-callout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-red);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 !important;
}

.anime-vote-callout p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.anime-vote-callout strong {
  display: block;
  color: var(--fg-strong);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.anime-list-art .wp-block-post-content {
  margin-top: 0;
}

.anime-list-art-intro,
.anime-list-art .wp-block-post-content > p:not([class]) {
  color: var(--fg-primary);
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 0 0 26px;
}

.anime-list-art-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.anime-list-art-item {
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 28px 0;
}

.anime-list-art-item:last-child {
  border-bottom: 0;
}

.anime-list-art-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.anime-list-art-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.anime-list-art-rank {
  flex: 0 0 auto;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.anime-list-art-item.is-one .anime-list-art-rank {
  color: var(--brand-red);
}

.anime-list-art-title h3 {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-list-art-vote {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.anime-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 42px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-100);
  color: var(--fg-tertiary);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.anime-vote-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-vote-btn.is-on[data-anime-vote="up"] {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-vote-btn.is-on[data-anime-vote="down"] {
  border-color: transparent;
  background: var(--accent-sky);
  color: #fff;
}

.anime-vote-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 42px;
  border-radius: 10px;
  background: var(--paper-200);
  color: var(--fg-strong);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  padding: 0 12px;
}

.anime-list-art-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--paper-100) 0%, var(--paper-300) 100%);
  aspect-ratio: 16 / 9;
  margin-top: 16px;
}

.anime-list-art-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-list-art-kanji {
  position: absolute;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
}

.anime-list-art-initial {
  position: relative;
  z-index: 1;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-list-art-item p {
  color: var(--fg-primary);
  font-size: 16.5px;
  letter-spacing: 0;
  line-height: 1.7;
  margin: 18px 0 0;
}

.anime-list-art-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
  margin-top: 14px;
  text-decoration: none;
}

.anime-list-art-more:hover {
  gap: 9px;
}

.anime-article-related {
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding-top: 28px;
}

.anime-related-anime {
  display: block;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: inherit;
  padding: 18px 20px;
  text-decoration: none;
}

.anime-related-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anime-related-body strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-related-body em {
  color: var(--fg-secondary);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.anime-related-genres,
.anime-related-cta {
  color: var(--brand-red);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .anime-list-art-hero h1 {
    font-size: 38px;
  }

  .anime-list-art-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-list-art-byline > .anime-btn {
    margin-left: 0;
  }

  .anime-vote-callout {
    grid-template-columns: 1fr;
  }

  .anime-list-art-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-list-art-title h3 {
    font-size: 24px;
    white-space: normal;
  }

  .anime-list-art-rank {
    font-size: 22px;
  }

  .anime-list-art-vote {
    width: 100%;
  }

  .anime-vote-score {
    flex: 1;
  }
}

/* Top 100 page: port of /site/top100.html. */
.anime-top100-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px 96px;
}

.anime-top100-page .anime-breadcrumb {
  margin: 28px 0 0;
  padding-top: 0;
}

.anime-category-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  margin: 20px 0 22px;
}

.anime-category-hero::after {
  content: "百";
  position: absolute;
  right: -22px;
  bottom: -86px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 240px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.06;
  pointer-events: none;
}

.anime-category-hero-inner {
  position: relative;
  z-index: 1;
  padding: 38px 40px;
}

.anime-category-hero h1 {
  margin: 8px 0 10px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.anime-category-hero h1 .ja {
  color: var(--brand-red);
  font-family: var(--font-kanji);
}

.anime-category-desc {
  max-width: 680px;
  margin: 0;
  color: var(--fg-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.anime-category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-category-meta span {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-secondary);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}

.anime-category-meta strong {
  color: var(--brand-red);
}

.anime-tax-site {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px 96px;
}

.anime-tax-site .anime-breadcrumb {
  margin: 28px 0 0;
  padding-top: 0;
}

.anime-tax-site .anime-category-hero::after {
  content: none;
}

.anime-tax-site .anime-cat-tags {
  margin: 24px 0;
}

.anime-tax-site-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.anime-tax-site .anime-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: normal;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.anime-tax-site .anime-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast);
}

.anime-tax-site .anime-card:hover .anime-poster {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

.anime-tax-site .anime-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-tax-site .anime-badge,
.anime-tax-site .anime-rate {
  position: absolute;
  top: 10px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.anime-tax-site .anime-badge {
  left: 10px;
}

.anime-tax-site .anime-rate {
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  padding: 4px 7px;
}

.anime-tax-site .anime-rate svg {
  color: #f4b83a;
}

.anime-tax-site .anime-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-tax-site .anime-card-meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.anime-tax-site .anime-cat-empty {
  margin-top: 24px;
}

.anime-top-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 20px;
}

.anime-top-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anime-top-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.anime-dd {
  position: relative;
}

.anime-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  font: 700 13px var(--font-sans);
  padding: 8px 12px;
  white-space: nowrap;
}

.anime-dd-btn:hover,
.anime-dd.is-open .anime-dd-btn {
  border-color: var(--brand-red);
}

.anime-dd-btn svg {
  color: var(--fg-tertiary);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.anime-dd.is-open .anime-dd-btn svg {
  color: var(--brand-red);
  transform: rotate(180deg);
}

.anime-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100%;
  width: max-content;
  max-width: 240px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top;
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.anime-dd.is-open .anime-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.anime-dd-opt {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-size: 13px;
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
}

.anime-dd-opt:hover {
  background: var(--paper-100);
  color: var(--fg-strong);
}

.anime-dd-opt.is-sel {
  color: var(--brand-red);
  font-weight: 800;
}

.anime-view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  flex: 0 0 auto;
}

.anime-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--fg-tertiary);
  cursor: pointer;
  padding: 8px 10px;
}

.anime-view-toggle button:last-child {
  border-right: 0;
}

.anime-view-toggle button:hover {
  color: var(--fg-strong);
}

.anime-view-toggle button.is-on {
  background: var(--brand-red);
  color: #fff;
}

.anime-rank-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  margin-top: 8px;
}

.anime-rank-row {
  display: grid;
  grid-template-columns: 48px 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
  color: inherit;
  padding: 12px 18px;
  text-align: left;
  text-decoration: none;
  transition: background var(--dur-fast);
}

.anime-rank-row:last-child {
  border-bottom: 0;
}

.anime-rank-row:hover {
  background: var(--paper-050);
}

.anime-rank-no {
  color: var(--fg-tertiary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.anime-rank-row.is-top .anime-rank-no {
  color: var(--brand-red);
}

.anime-rank-poster {
  display: block;
  width: 48px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-200);
}

.anime-rank-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-rank-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-rank-info strong {
  color: var(--fg-strong);
  font-size: 15px;
  font-weight: 800;
  transition: color var(--dur-fast);
}

.anime-rank-row:hover .anime-rank-info strong {
  color: var(--brand-red);
}

.anime-rank-info em {
  overflow: hidden;
  color: var(--fg-tertiary);
  font: 700 11px var(--font-mono);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-rank-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-strong);
  font: 800 15px var(--font-mono);
}

.anime-rank-list.is-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.anime-rank-list.is-grid .anime-rank-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 0;
}

.anime-rank-list.is-grid .anime-rank-no {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
}

.anime-rank-list.is-grid .anime-rank-poster {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 0;
  aspect-ratio: 3 / 4;
}

.anime-rank-list.is-grid .anime-rank-info {
  padding: 0 14px;
}

.anime-rank-list.is-grid .anime-rank-score {
  padding: 0 14px 14px;
}

.anime-rank-list.is-compact .anime-rank-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 9px 16px;
}

.anime-rank-list.is-compact .anime-rank-poster {
  display: none;
}

.anime-rank-list.is-compact .anime-rank-info em {
  display: none;
}

.anime-cat-empty {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  padding: 28px;
  text-align: center;
}

.anime-cat-empty[hidden],
.anime-rank-row[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .anime-rank-list.is-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-rank-list.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anime-top-controls {
    width: 100%;
    margin-left: 0;
  }

  .anime-rank-row {
    grid-template-columns: 30px 40px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 14px;
  }

  .anime-rank-list.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-rank-score {
    font-size: 13px;
  }
}

/* Site v2 Top 100 ranking page. */
.anime-top100-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px 96px;
}

.anime-top100-page .anime-breadcrumb {
  margin: 28px 0 0;
  padding-top: 0;
}

.anime-top100-hero {
  position: relative;
  overflow: hidden;
  min-height: 253px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(175, 40, 42, 0.1), transparent 42%),
    linear-gradient(180deg, var(--paper-100), var(--bg-card));
  margin: 0;
}

.anime-top100-hero-deco {
  position: absolute;
  right: -20px;
  bottom: -86px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(180px, 24vw, 310px);
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.08;
  pointer-events: none;
}

.anime-top100-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block-start: 0;
  max-width: 720px;
  min-height: 253px;
  padding: 22px 40px;
}

.anime-top100-hero h1 {
  margin: 10px 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.anime-top100-hero p:not(.anime-section-eye) {
  max-width: 620px;
  margin: 0;
  color: var(--fg-secondary);
  font-size: 17px;
  line-height: 1.62;
}

.anime-top100-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--fg-tertiary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-top100-filters {
  margin: 0 0 30px;
  padding-top: 0;
}

.anime-top100-podium {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: 18px;
  margin: 0 0 36px;
}

.anime-top100-podium-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  color: inherit;
  padding: 18px 18px 20px;
  text-align: center;
  text-decoration: none;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.anime-top100-podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(175, 40, 42, 0.14), transparent 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.anime-top100-podium-card:hover {
  border-color: color-mix(in srgb, var(--brand-red) 44%, var(--border-subtle));
  box-shadow: 0 20px 54px rgba(58, 45, 39, 0.14);
  transform: translateY(-4px);
}

.anime-top100-podium-card:hover::before {
  opacity: 1;
}

.anime-top100-podium-card.is-1 {
  padding-top: 22px;
  transform: translateY(-16px);
}

.anime-top100-podium-card.is-1:hover {
  transform: translateY(-20px);
}

.anime-top100-podium-card .rank {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font: 900 18px var(--font-display);
}

.anime-top100-podium-card img {
  position: relative;
  z-index: 1;
  width: min(100%, 190px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--paper-200);
  box-shadow: 0 18px 36px rgba(20, 16, 15, 0.18);
  object-fit: cover;
}

.anime-top100-podium-card.is-1 img {
  width: min(100%, 230px);
}

.anime-top100-podium-card h3 {
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
  margin: 16px 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-top100-podium-card .score {
  position: relative;
  z-index: 1;
  color: var(--brand-red);
  font: 900 24px var(--font-mono);
}

.anime-top100-podium-card .meta {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-top: 7px;
  color: var(--fg-tertiary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.anime-top100-table {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
}

.anime-top100-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 22px;
}

.anime-top100-table-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-top100-table-head span {
  color: var(--fg-tertiary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-top100-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-top100-row {
  border-bottom: 1px solid var(--border-subtle);
}

.anime-top100-row:last-child {
  border-bottom: 0;
}

.anime-top100-row-link {
  display: grid;
  grid-template-columns: 54px 54px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  color: inherit;
  padding: 12px 20px;
  text-decoration: none;
  transition: background var(--dur-fast);
}

.anime-top100-row-link:hover {
  background: var(--paper-050);
}

.anime-top100-row .rk {
  color: var(--fg-tertiary);
  font: 900 22px var(--font-display);
  letter-spacing: 0;
  text-align: center;
}

.anime-top100-row img {
  width: 54px;
  height: 72px;
  border-radius: 9px;
  background: var(--paper-200);
  object-fit: cover;
}

.anime-top100-row .body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.anime-top100-row .title {
  overflow: hidden;
  color: var(--fg-strong);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-top100-row-link:hover .title {
  color: var(--brand-red);
}

.anime-top100-row .body span:not(.title) {
  overflow: hidden;
  color: var(--fg-tertiary);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.anime-top100-row .sc {
  color: var(--fg-strong);
  font: 900 16px var(--font-mono);
}

.anime-top100-row .trend {
  min-width: 42px;
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-tertiary);
  font: 900 11px var(--font-mono);
  padding: 6px 10px;
  text-align: center;
}

@media (max-width: 900px) {
  .anime-top100-podium {
    grid-template-columns: 1fr;
  }

  .anime-top100-podium-card,
  .anime-top100-podium-card.is-1 {
    transform: none;
  }

  .anime-top100-podium-card:hover,
  .anime-top100-podium-card.is-1:hover {
    transform: translateY(-3px);
  }

  .anime-top100-podium-card img,
  .anime-top100-podium-card.is-1 img {
    width: min(100%, 210px);
  }
}

@media (max-width: 640px) {
  .anime-top100-page {
    padding-inline: 24px;
  }

  .anime-top100-hero {
    min-height: 0;
    border-radius: 18px;
  }

  .anime-top100-hero-inner {
    margin-block-start: 24px;
    min-height: 0;
    padding: 18px 24px;
  }

  .anime-top100-hero h1 {
    font-size: 56px;
  }

  .anime-top100-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-top100-meta .anime-meta-dot {
    display: none;
  }

  .anime-top100-table-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .anime-top100-row-link {
    grid-template-columns: 34px 46px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 11px 14px;
  }

  .anime-top100-row img {
    width: 46px;
    height: 61px;
  }

  .anime-top100-row .rk {
    font-size: 17px;
  }

  .anime-top100-row .trend {
    display: none;
  }
}

/* Character archive: port of /site/karakterler.html. */
.anime-characters-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 30px var(--gutter) 96px;
}

.anime-characters-page .anime-breadcrumb {
  padding-top: 0;
}

.anime-characters-hero::after {
  content: "登";
  right: -18px;
  bottom: -92px;
}

.anime-meta-dot {
  border: 0 !important;
  background: transparent !important;
  color: var(--fg-tertiary) !important;
  padding-inline: 0 !important;
}

.anime-character-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
}

.anime-character-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px;
  min-height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-tertiary);
  padding: 0 12px;
}

.anime-character-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font: 600 14px var(--font-sans);
}

.anime-chars-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.anime-char-v2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  color: inherit;
  padding: 20px 14px 18px;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-char-v2:hover {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-char-v2-img {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--paper-100) 0%, var(--paper-300) 100%);
  margin-bottom: 14px;
}

.anime-char-v2-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 60%);
  pointer-events: none;
}

.anime-char-v2-kanji {
  position: absolute;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 140px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.13;
  pointer-events: none;
}

.anime-char-v2-initial {
  position: relative;
  z-index: 1;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-char-v2-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.anime-char-v2-body strong {
  color: var(--fg-strong);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.anime-char-v2-role {
  display: inline-block;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand-red) 8%, transparent);
  color: var(--brand-red);
  font: 800 9.5px var(--font-mono);
  font-style: normal;
  letter-spacing: 0.12em;
  padding: 3px 9px;
}

.anime-char-v2-va {
  color: var(--fg-secondary);
  font-size: 12px;
}

.anime-char-v2[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .anime-chars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-chars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-chars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-character-search {
    flex-basis: 100%;
  }
}

/* site-v2 character directory parity. */
.anime-characters-page {
  max-width: none;
  padding: 0 0 96px;
}

.anime-characters-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  max-width: var(--container);
  gap: 8px;
  margin: 20px auto 0;
  padding: 0 24px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.anime-characters-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-characters-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-char-hero {
  position: static;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 10px auto 0;
  overflow: visible;
  padding: 0;
  line-height: normal;
}

.anime-char-hero-deco {
  position: static;
  transform: none;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.anime-char-hero-inner {
  position: static;
  z-index: auto;
  max-width: none;
  line-height: normal;
}

.anime-char-hero .anime-section-eye {
  display: inline;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}

.anime-char-hero h1 {
  margin: 42.88px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.anime-char-hero p {
  max-width: none;
  margin: 15px 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.anime-characters-page .anime-list-toolbar,
.anime-characters-page .anime-list-grid-wrap {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px;
}

.anime-characters-page .anime-list-toolbar {
  margin-top: 8px;
}

.anime-characters-page .anime-list-chips .anime-chip {
  cursor: pointer;
}

.anime-characters-page .anime-dd .anime-dropdown {
  right: auto;
  left: 0;
}

.anime-characters-page .anime-list-actions .anime-dd:last-child .anime-dropdown {
  right: 0;
  left: auto;
}

.anime-character-grid-wrap {
  margin-top: 36px;
}

.anime-character-grid-wrap .anime-char-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.anime-character-grid-wrap .anime-char-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.anime-character-grid-wrap .anime-char-card .portrait {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-character-grid-wrap .anime-char-card:hover .portrait {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-character-grid-wrap .anime-char-card .portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-character-grid-wrap .anime-char-card h3 {
  overflow: hidden;
  margin: 10px 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-character-grid-wrap .anime-char-card:hover h3 {
  color: var(--brand-red);
}

.anime-character-grid-wrap .anime-char-card > span:not(.portrait) {
  display: block;
  overflow: hidden;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-character-grid-wrap .anime-char-card-fallback {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.anime-character-grid-wrap .anime-char-card-kanji {
  position: absolute;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(96px, 10vw, 142px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.12;
}

.anime-character-grid-wrap .anime-char-card-initial {
  position: relative;
  z-index: 1;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.anime-character-grid-wrap .anime-char-card[hidden] {
  display: none !important;
}

.anime-character-grid-wrap .anime-cat-empty {
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .anime-character-grid-wrap .anime-char-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-character-grid-wrap .anime-char-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-characters-page .anime-breadcrumb,
  .anime-characters-page .anime-list-toolbar,
  .anime-characters-page .anime-list-grid-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .anime-char-hero {
    padding: 42px 16px 30px;
  }

  .anime-char-hero-deco {
    right: 10px;
    font-size: 170px;
  }

  .anime-char-hero h1 {
    font-size: 42px;
  }

  .anime-character-grid-wrap .anime-char-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }
}

/* Single character profile. */
.anime-character-single {
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px var(--gutter) 96px;
}

.anime-character-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
  min-height: 420px;
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 42px 0;
}

.anime-character-profile__deco {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(160px, 20vw, 280px);
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

.anime-character-profile__visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
}

.anime-character-profile__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-character-profile__fallback {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.anime-character-profile__kanji {
  position: absolute;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(128px, 16vw, 220px);
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
}

.anime-character-profile__initial {
  position: relative;
  z-index: 1;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.anime-character-profile__body {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.anime-character-profile h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.anime-character-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-character-profile__meta span,
.anime-character-profile__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 0 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.anime-character-profile__meta a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-character-profile__desc {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
}

.anime-character-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.anime-character-notes {
  max-width: 820px;
  margin: 52px 0 0;
}

.anime-character-notes h2 {
  margin: 0 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-character-notes .wp-block-post-content,
.anime-character-notes .wp-block-post-content p {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .anime-character-profile {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 30px;
  }

  .anime-character-profile__visual {
    width: min(260px, 74vw);
  }
}

/* Fan club page: port of /site-v2/fankulubu.html. */
.anime-fanclub-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-fanclub-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-fanclub-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-fanclub-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-fanclub-page > :where(* + *) {
  margin-top: 0;
}

.anime-fc-hero {
  position: relative;
  overflow: hidden;
  margin: 18px 0 36px;
  padding: 56px 40px 48px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
}

.anime-fc-hero-deco {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 280px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.anime-fc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.anime-fc-hero-eye,
.anime-fc-eye {
  display: inline-block;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.anime-fc-hero-eye {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: normal;
}

.anime-fc-hero-title {
  margin: 0 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-fc-hero-sub {
  max-width: 580px;
  margin: 0 0 22px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

.anime-fc-hero-meta {
  margin: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-fc-hero-meta strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-fc-sec {
  position: relative;
  margin-bottom: 64px;
}

.anime-fc-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.anime-fc-sec-head > div:first-child {
  max-width: 580px;
}

.anime-fc-eye {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: normal;
}

.anime-fc-sec-head h2 {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-fc-sec-head p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

.anime-fc-link {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--dur-fast);
}

.anime-fc-link:hover {
  opacity: 0.78;
}

.anime-fc-cosplay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.anime-fc-figures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.anime-fc-c,
.anime-fc-f {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.anime-fc-c {
  gap: 10px;
}

.anime-fc-f {
  gap: 8px;
}

.anime-fc-c .img,
.anime-fc-f .img {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 5;
  background: var(--paper-200);
}

.anime-fc-c .img img,
.anime-fc-f .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.anime-fc-c:hover .img img,
.anime-fc-f:hover .img img {
  transform: scale(1.03);
}

.anime-fc-c .body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anime-fc-c .char,
.anime-fc-f .name {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color var(--dur-fast);
}

.anime-fc-c .char,
.anime-fc-f .name {
  line-height: 1.3;
}

.anime-fc-c:hover .char,
.anime-fc-f:hover .name {
  color: var(--brand-red);
}

.anime-fc-c .meta {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
}

.anime-fc-events-grid {
  display: flex;
  flex-direction: column;
}

.anime-fc-e {
  display: grid;
  align-items: center;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 8px;
  color: inherit;
  text-decoration: none;
  transition: padding-left var(--dur-fast);
}

.anime-fc-e:first-child {
  border-top: 1px solid var(--border-subtle);
}

.anime-fc-e:hover {
  padding-left: 18px;
}

.anime-fc-e .d {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: var(--brand-red);
  line-height: 1;
}

.anime-fc-e .d strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.anime-fc-e .d span {
  margin-top: 6px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-fc-e .body {
  min-width: 0;
}

.anime-fc-e h3 {
  margin: 0 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  transition: color var(--dur-fast);
}

.anime-fc-e:hover h3 {
  color: var(--brand-red);
}

.anime-fc-e .body p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
}

.anime-fc-e .go {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.anime-fc-e:hover .go {
  color: var(--brand-red);
  transform: translateX(3px);
}

.anime-fc-f .brand {
  margin-top: 4px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: normal;
  text-transform: uppercase;
}

.anime-fc-f .scale {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
}

.anime-fc-fansubs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.anime-fc-s {
  --accent: var(--brand-red);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: inherit;
  padding: 22px 22px 18px;
  text-decoration: none;
  transition: border-color var(--dur-base), transform var(--dur-base);
}

.anime-fc-s:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.anime-fc-s .kanji {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-kanji);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.anime-fc-s h3 {
  margin: 0 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-fc-s .focus {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: normal;
  text-transform: uppercase;
}

.anime-fc-s .stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 14px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: normal;
}

.anime-fc-s .stats strong {
  margin-right: 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-fc-s .follow {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  padding-top: 14px;
}

.anime-fc-join {
  margin: 24px 0 12px;
}

.anime-fanclub-page .anime-fc-join:last-child {
  margin-bottom: 12px;
}

.anime-fc-join-inner {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 32px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #8a1f21 100%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--brand-red) 22%, transparent);
  color: #fff;
  padding: 40px 44px;
}

.anime-fc-join-deco {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: #fff;
  font-family: var(--font-kanji);
  font-size: 220px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.anime-fc-join-inner > div:nth-child(2),
.anime-fc-join-actions {
  position: relative;
  z-index: 1;
}

.anime-fc-join-inner h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-fc-join-inner p {
  max-width: 520px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.88;
}

.anime-fc-join-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

.anime-fc-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  transition: transform var(--dur-base);
}

.anime-fc-join-btn:hover {
  transform: translateY(-2px);
}

.anime-fc-join-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
}

.anime-fc-join-link:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .anime-fc-cosplay-grid,
  .anime-fc-figures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-fc-fansubs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .anime-fanclub-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-fc-hero {
    padding: 36px 22px 30px;
  }

  .anime-fc-hero-deco {
    right: -10px;
    font-size: 180px;
  }

  .anime-fc-cosplay-grid {
    grid-template-columns: 1fr;
  }

  .anime-fc-figures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-fc-fansubs-grid {
    grid-template-columns: 1fr;
  }

  .anime-fc-e {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
  }

  .anime-fc-e .d strong {
    font-size: 24px;
  }

  .anime-fc-join-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .anime-fc-join-actions {
    align-items: flex-start;
  }

  .anime-fc-join-inner h2 {
    font-size: clamp(22px, 5.9vw, 24px);
  }
}

/* /site/fankulubu.html parity: WordPress block spacing resets the first hero margin. */
.anime-fanclub-page .anime-fc-hero {
  margin: 18px 0 36px;
}

/* Events hub: keeps the Fan Kulubu event language available as a dedicated route. */
.anime-events-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-events-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-events-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-events-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-events-hero {
  position: relative;
  overflow: hidden;
  margin: 18px 0 36px;
  padding: 56px 40px 48px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
}

.anime-events-hero-deco {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 280px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.anime-events-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.anime-events-index {
  margin-bottom: 56px;
}

.anime-events-index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.anime-events-index-head h2 {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.anime-events-index-head p {
  max-width: 600px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

.anime-fc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast);
}

.anime-fc-more:hover {
  color: var(--brand-red);
}

.anime-fc-more svg {
  transition: transform var(--dur-base);
}

.anime-fc-more:hover svg {
  transform: translateX(2px);
}

.anime-fc-events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-fc-event {
  display: grid;
  align-items: center;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px 18px 14px 14px;
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.anime-fc-event:hover {
  border-color: var(--brand-red);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-red) 12%, transparent);
  transform: translateY(-2px);
}

.anime-fc-event-date {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--brand-red) 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 8%, var(--bg-card));
  padding: 11px 6px 9px;
  text-align: center;
}

.anime-fc-event-date .d {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}

.anime-fc-event-date .m {
  margin-top: 3px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.anime-fc-event-date .len {
  width: 100%;
  margin-top: 6px;
  border-top: 1px solid color-mix(in srgb, var(--brand-red) 18%, transparent);
  color: color-mix(in srgb, var(--brand-red) 78%, transparent);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  padding-top: 5px;
  text-transform: uppercase;
}

.anime-fc-event-body {
  min-width: 0;
}

.anime-fc-event-body h3 {
  margin: 0 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.anime-fc-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.35;
}

.anime-fc-event-meta span {
  display: inline-flex;
  align-items: center;
}

.anime-fc-event-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base);
}

.anime-fc-event:hover .anime-fc-event-go {
  background: var(--brand-red);
  color: #fff;
  transform: translateX(2px);
}

.anime-fc-empty {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  margin: 0;
  padding: 24px;
  text-align: center;
}

@media (max-width: 720px) {
  .anime-events-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-events-hero {
    padding: 36px 22px 30px;
  }

  .anime-events-hero-deco {
    right: -10px;
    font-size: 180px;
  }

  .anime-events-index-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-fc-event {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }

  .anime-fc-event-go {
    display: none;
  }
}

/* Watch order hub: port of /site-v2/izleme-sirasi.html. */
.anime-watchorder-page,
.anime-filler-page,
.anime-guide-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-watchorder-page .anime-breadcrumb,
.anime-filler-page .anime-breadcrumb,
.anime-guide-page .anime-breadcrumb,
.anime-content-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-watchorder-page .anime-breadcrumb a,
.anime-filler-page .anime-breadcrumb a,
.anime-guide-page .anime-breadcrumb a,
.anime-content-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-watchorder-page .anime-breadcrumb a:hover,
.anime-filler-page .anime-breadcrumb a:hover,
.anime-guide-page .anime-breadcrumb a:hover,
.anime-content-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-wo-hero,
.anime-fl-hero {
  position: relative;
  overflow: hidden;
  margin: 18px 0 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
  padding: 56px 40px 44px;
}

.anime-wo-hero-deco,
.anime-fl-hero-deco {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 260px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.anime-wo-hero-inner,
.anime-fl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.anime-wo-hero h1,
.anime-fl-hero h1 {
  margin: 12px 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-wo-hero p,
.anime-fl-hero p {
  max-width: 580px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

.anime-wo-hub {
  margin: 0 0 48px;
  margin-block: 0 48px;
}

.anime-watchorder-page .anime-wo-hub:last-child {
  margin-block-end: 48px;
}

.anime-wo-hub-head {
  margin-bottom: 22px;
}

.anime-wo-hub-head h2 {
  margin: 0 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-wo-hub-head p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-wo-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.anime-wo-hub-card {
  display: grid;
  align-items: center;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: inherit;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}

.anime-wo-hub-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-red) 12%, transparent);
}

.anime-wo-hub-card .poster {
  overflow: hidden;
  width: 84px;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
}

.anime-wo-hub-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-wo-hub-card .body {
  min-width: 0;
}

.anime-wo-hub-card h3 {
  margin: 0 0 5px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  transition: color var(--dur-fast);
}

.anime-wo-hub-card:hover h3 {
  color: var(--brand-red);
}

.anime-wo-hub-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
}

.anime-wo-hub-card .stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-wo-hub-card .stats strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-right: 3px;
}

.anime-wo-hub-card .stats .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.anime-wo-hub-card .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--fg-secondary);
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base);
}

.anime-wo-hub-card:hover .go {
  background: var(--brand-red);
  color: #fff;
  transform: translateX(3px);
}

.anime-fl-hub {
  margin: 0 0 48px;
  margin-block: 0 48px;
}

.anime-filler-page .anime-fl-hub:last-child {
  margin-block-end: 48px;
}

.anime-fl-hub-head {
  margin-bottom: 22px;
}

.anime-fl-hub-head h2 {
  margin: 0 0 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-fl-hub-head p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-fl-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.anime-fl-hub-card {
  display: grid;
  align-items: center;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: inherit;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}

.anime-fl-hub-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-red) 12%, transparent);
}

.anime-fl-hub-card .poster {
  overflow: hidden;
  width: 96px;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
}

.anime-fl-hub-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-fl-hub-card .body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.anime-fl-hub-card h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  transition: color var(--dur-fast);
}

.anime-fl-hub-card:hover h3 {
  color: var(--brand-red);
}

.anime-fl-hub-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
}

.anime-fl-hub-card .meter {
  display: flex;
  max-width: 460px;
  flex-direction: column;
  gap: 6px;
}

.anime-fl-hub-card .meter .bar {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-200);
}

.anime-fl-hub-card .meter .bar .canon {
  background: #2E8A60;
}

.anime-fl-hub-card .meter .bar .filler {
  background: var(--brand-red);
}

.anime-fl-hub-card .meter .leg {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-fl-hub-card .meter .leg strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-fl-hub-card .meter .leg .t-canon {
  color: #2E8A60;
}

.anime-fl-hub-card .meter .leg .t-filler {
  color: var(--brand-red);
}

.anime-fl-hub-card .meter .leg .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.anime-fl-hub-card .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--fg-secondary);
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base);
}

.anime-fl-hub-card:hover .go {
  background: var(--brand-red);
  color: #fff;
  transform: translateX(3px);
}

@media (max-width: 1100px) {
  .anime-wo-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .anime-watchorder-page,
  .anime-filler-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-wo-hero,
  .anime-fl-hero {
    padding: 36px 24px 28px;
  }

  .anime-wo-hero-deco,
  .anime-fl-hero-deco {
    right: -10px;
    font-size: 180px;
  }

  .anime-wo-hub-card,
  .anime-fl-hub-card {
    grid-template-columns: 68px 1fr;
  }

  .anime-wo-hub-card {
    gap: 18px;
  }

  .anime-wo-hub-card .poster {
    width: 68px;
  }

  .anime-fl-hub-card {
    grid-template-columns: 72px 1fr;
    gap: 22px;
  }

  .anime-fl-hub-card .poster {
    width: 72px;
  }

  .anime-wo-hub-card .go,
  .anime-fl-hub-card .go {
    display: none;
  }
}

/* Watch order and filler detail blocks. */
.anime-wo-detail,
.anime-fl-detail {
  margin: 32px 0 56px;
}

.anime-wo-detail-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  padding-bottom: 28px;
}

.anime-fl-detail-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  padding-bottom: 28px;
}

.anime-wo-detail-poster,
.anime-fl-detail-poster {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
}

.anime-wo-detail-poster img,
.anime-fl-detail-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-wo-detail-body h1,
.anime-fl-detail-body h1 {
  max-width: none;
  margin: 10px 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-wo-detail-body p,
.anime-fl-detail-body p {
  max-width: 640px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
}

.anime-wo-detail-stats,
.anime-fl-detail-stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-wo-detail-stats strong,
.anime-fl-detail-stats strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.anime-wo-detail-stats .dot,
.anime-fl-detail-stats .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.anime-wo-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anime-wo-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 16px 20px;
}

.anime-wo-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-wo-step .body {
  min-width: 0;
}

.anime-wo-step .row1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.anime-wo-type {
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  text-transform: uppercase;
}

.anime-wo-type.is-tv {
  background: color-mix(in srgb, #2E5C8E 12%, transparent);
  color: #2E5C8E;
}

.anime-wo-type.is-film {
  background: color-mix(in srgb, var(--brand-red) 12%, transparent);
  color: var(--brand-red);
}

.anime-wo-type.is-ova {
  background: color-mix(in srgb, #C58A0E 14%, transparent);
  color: #8E6E10;
}

.anime-wo-step h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-wo-step .year {
  margin-left: auto;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.anime-wo-step .row2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-wo-step .eps {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.anime-wo-related,
.anime-fl-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.anime-wo-related-head,
.anime-fl-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.anime-wo-related-head h2,
.anime-fl-related-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-wo-related-more,
.anime-fl-related-more {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.anime-wo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.anime-fl-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.anime-wo-related-card,
.anime-fl-related-card {
  display: grid;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-wo-related-card {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px 10px 10px;
}

.anime-fl-related-card {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 16px 12px 12px;
}

.anime-wo-related-card:hover,
.anime-fl-related-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-wo-related-card img,
.anime-fl-related-card img {
  display: block;
  object-fit: cover;
  background: var(--paper-200);
  border-radius: 6px;
}

.anime-wo-related-card img {
  width: 56px;
  height: 72px;
}

.anime-fl-related-card img {
  width: 64px;
  height: 82px;
}

.anime-wo-related-card h3,
.anime-fl-related-card h3 {
  margin: 0 0 3px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-wo-related-card h3 {
  font-size: 14px;
}

.anime-fl-related-card h3 {
  font-size: 15px;
}

.anime-wo-related-card span,
.anime-fl-related-card span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-fl-detail-meter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-fl-detail-meter .bar {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: var(--paper-200);
}

.anime-fl-detail-meter .bar .canon,
.anime-fl-detail-meter .leg .canon i {
  background: #2E8A60;
}

.anime-fl-detail-meter .bar .filler,
.anime-fl-detail-meter .leg .filler i {
  background: var(--brand-red);
}

.anime-fl-detail-meter .leg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-fl-detail-meter .leg span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.anime-fl-detail-meter .leg i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.anime-fl-detail-meter .leg .canon {
  color: #2E8A60;
}

.anime-fl-detail-meter .leg .filler {
  color: var(--brand-red);
}

.anime-fl-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-collapse: collapse;
  border-radius: 14px;
  background: var(--bg-card);
  font-family: var(--font-sans);
}

.anime-fl-table thead th {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--paper-100);
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 14px 20px;
  text-align: left;
  text-transform: uppercase;
}

.anime-fl-table tbody td {
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  vertical-align: middle;
}

.anime-fl-table tbody tr:last-child td {
  border-bottom: 0;
}

.anime-fl-table .range {
  width: 160px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-fl-table .arc {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

.anime-fl-table .badge {
  width: 130px;
  text-align: right;
}

.anime-fl-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  text-transform: uppercase;
}

.anime-fl-badge.is-canon {
  background: color-mix(in srgb, #2E8A60 14%, transparent);
  color: #2A5C2E;
}

.anime-fl-badge.is-filler {
  background: color-mix(in srgb, var(--brand-red) 14%, transparent);
  color: #8B1F22;
}

.anime-fl-badge.is-mixed {
  background: color-mix(in srgb, #C58A0E 16%, transparent);
  color: #8E6E10;
}

@media (max-width: 1100px) {
  .anime-wo-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-wo-detail-head,
  .anime-fl-detail-head {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 22px;
  }

  .anime-fl-detail-meter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .anime-content-page,
  .anime-guide-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-wo-related-grid,
  .anime-fl-related-grid {
    grid-template-columns: 1fr;
  }

  .anime-wo-detail-head,
  .anime-fl-detail-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .anime-wo-detail-poster,
  .anime-fl-detail-poster {
    width: auto;
  }

  .anime-wo-step {
    grid-template-columns: 1fr;
  }

  .anime-wo-step .n {
    display: none;
  }

  .anime-fl-table .range {
    width: auto;
  }

  .anime-fl-table thead {
    display: none;
  }

  .anime-fl-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 18px;
  }

  .anime-fl-table tbody td {
    border: 0;
    padding: 0;
  }

  .anime-fl-table .badge {
    grid-row: 1;
    width: auto;
  }

  .anime-fl-table .arc {
    grid-column: 1 / -1;
  }
}

/* Quiz article: port of /site/test-makale.html. */
.anime-quiz {
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-quiz-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--brand-red);
  color: #fff;
  padding: 36px 32px;
}

.anime-quiz-head .anime-section-eye {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.anime-quiz-head h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
  max-width: 680px;
}

.anime-quiz-subtitle,
.anime-quiz-subtitle .wp-block-post-excerpt__excerpt {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.anime-quiz-head .kanji-bg {
  position: absolute;
  right: -20px;
  bottom: -120px;
  color: rgba(255, 255, 255, 0.1);
  font-family: var(--font-kanji);
  font-size: 320px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.anime-quiz-head .meta-row {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-quiz-head .meta-row p,
.anime-quiz-head .meta-row a {
  color: inherit;
  margin: 0;
  text-decoration: none;
}

.anime-quiz-intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
  text-align: center;
}

.anime-quiz-intro p {
  max-width: 540px;
  color: var(--fg-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.anime-quiz-intro[hidden] {
  display: none;
}

.anime-btn-primary,
.anime-btn-secondary {
  border: 0;
  cursor: pointer;
}

.anime-btn-primary {
  background: var(--brand-red);
  color: #fff;
}

.anime-btn-primary:hover {
  background: var(--brand-red-hot);
}

.anime-btn-secondary {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-quiz-running[hidden],
.anime-quiz-result[hidden] {
  display: none;
}

.anime-quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.anime-quiz-progress .track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-300);
}

.anime-quiz-progress .track > div {
  height: 100%;
  background: var(--brand-red);
  transition: width var(--dur-slow) var(--ease-out);
}

.anime-quiz-progress .count {
  color: var(--fg-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.anime-quiz-body {
  margin-top: 36px;
}

.anime-quiz-question h2 {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 24px;
}

.anime-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  font-size: 15px;
  padding: 16px 18px;
  text-align: left;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.anime-quiz-option:hover {
  border-color: var(--brand-red);
  color: var(--fg-strong);
}

.anime-quiz-option.is-on {
  border-color: var(--brand-red);
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-quiz-option .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--paper-300);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.anime-quiz-option.is-on .letter {
  background: var(--brand-red);
  color: #fff;
}

.anime-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.anime-quiz-nav .anime-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.anime-quiz-result {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  margin-top: 36px;
  padding: 40px;
  text-align: center;
}

.anime-quiz-result .anime-section-eye {
  margin: 0;
}

.anime-quiz-result .face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-kanji);
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 8px;
}

.anime-quiz-result h2 {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.anime-quiz-result p {
  max-width: 460px;
  color: var(--fg-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.anime-quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.anime-quiz-source {
  display: none;
}

@media (max-width: 720px) {
  .anime-quiz-head {
    padding: 28px 24px;
  }

  .anime-quiz-head .kanji-bg {
    bottom: -86px;
    font-size: 240px;
  }

  .anime-quiz-nav,
  .anime-quiz-result-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* site-v2 canonical shell parity. Keep this last so older block-theme rules cannot win. */
.anime-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-page) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  padding: 0 !important;
  line-height: normal;
}

.anime-nav-inner,
.anime-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--container);
  height: var(--nav-h);
  min-height: 0;
  margin: 0 auto;
  padding: 0 24px;
}

.anime-brand {
  display: flex;
  align-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: normal;
  padding: 0;
}

.anime-brand img {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  max-width: none;
  border-radius: 8px;
}

.anime-links,
.anime-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.anime-link,
.anime-nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.anime-link:hover,
.anime-nav__links a:hover {
  background: rgba(239, 231, 218, 0.5);
  color: var(--fg-strong);
}

.anime-link.is-open,
.anime-link.is-active,
.anime-nav__links a.is-open,
.anime-nav__links a.is-active {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-link svg {
  opacity: 0.55;
  transition: transform 160ms var(--ease-out);
}

.anime-link.is-open svg {
  transform: rotate(180deg);
}

.anime-nav-right,
.anime-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto !important;
}

.anime-search-btn,
.anime-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 230px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--fg-tertiary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  padding: 0 12px 0 14px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.anime-search-btn:hover,
.anime-search-toggle:hover {
  border-color: var(--border-strong);
  color: var(--fg-secondary);
}

.anime-search-btn kbd,
.anime-search-toggle kbd {
  margin-left: auto;
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
}

.anime-search-wrap {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin-left: auto;
}

.anime-search-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  border: 1.5px solid var(--brand-red);
  border-radius: 10px;
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(175, 40, 42, 0.08);
  padding: 0 12px;
  transition: box-shadow var(--dur-fast);
}

.anime-search-input-bar > svg:first-child {
  flex-shrink: 0;
  color: var(--brand-red);
}

.anime-search-input {
  height: 100%;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
}

.anime-search-input::placeholder {
  color: var(--fg-tertiary);
  font-weight: 400;
}

.anime-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.anime-search-clear:hover {
  background: var(--brand-red);
  color: #fff;
}

.anime-search-kbd {
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
}

.anime-search-scrim {
  position: fixed;
  inset: 56px 0 0 0;
  z-index: 30;
  background: rgba(11, 8, 9, 0.42);
  animation: anime-scrim-in var(--dur-base) var(--ease-out);
}

.anime-search-wrap .anime-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 50;
  display: block;
  width: auto;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  transform: none;
  animation: anime-search-pop-v2 200ms var(--ease-out);
}

.anime-search-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0 8px;
}

.anime-search-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 18px 12px;
}

.anime-search-section + .anime-search-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.anime-search-heading {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-search-results,
.anime-search-results-list {
  display: flex;
  flex-direction: column;
}

.anime-search-result {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 8px;
  text-decoration: none;
  transition: background var(--dur-fast);
}

.anime-search-result:hover {
  background: var(--paper-050);
}

.anime-search-result img,
.anime-search-result__mark {
  width: 38px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
}

.anime-search-result.is-author img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.anime-search-result > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-search-result strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-search-result small,
.anime-search-result span:not(.kind) {
  overflow: hidden;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-search-result .kind {
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  white-space: nowrap;
}

.anime-nav.is-searching .anime-mega {
  max-height: 0;
}

.anime-nav > .anime-mega {
  right: auto !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  transform: translateX(-50%);
}

/* site-v2 homepage parity. Keep after older homepage rules. */
.anime-home.anime-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-home .anime-section {
  margin-top: 80px;
}

.anime-home .anime-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.anime-home .anime-section-head .lhs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-home .anime-section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-home .anime-section-title .ja {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-home .anime-section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.anime-home .anime-section-more:hover {
  color: var(--brand-red);
}

.anime-home .anime-cards-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.anime-home .anime-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  line-height: normal;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transform: none;
}

.anime-home .anime-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-home .anime-card:hover {
  box-shadow: none;
  transform: none;
}

.anime-home .anime-card:hover .anime-poster {
  border-color: var(--border-subtle);
  transform: translateY(-6px);
}

.anime-home .anime-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-home .anime-badge,
.anime-home .anime-rate {
  position: absolute;
  top: 9px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
  max-width: calc(100% - 18px);
  white-space: nowrap;
}

.anime-home .anime-badge {
  left: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-home .anime-rate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  right: 9px;
  font-size: 11.5px;
  padding: 4px 7px;
}

.anime-home .anime-rate svg {
  color: #F4B83A;
}

.anime-home .anime-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.anime-home .anime-card-meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.anime-home .anime-lists,
.anime-home .anime-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.anime-home .anime-lists {
  gap: 20px;
}

.anime-home .anime-list-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  color: inherit;
  padding: 20px 18px 18px;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-home .anime-list-card:hover {
  border-color: var(--brand-red);
}

.anime-home .anime-list-card:hover .anime-list-title {
  color: var(--brand-red);
}

.anime-home .anime-list-stack {
  display: flex;
  width: fit-content;
  height: 112px;
  margin: 0 auto;
}

.anime-home .anime-list-stack img {
  width: 84px;
  height: 112px;
  border: 3px solid var(--bg-card);
  border-radius: 9px;
  margin-left: -36px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(20, 16, 15, 0.08);
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-home .anime-list-stack img:first-child {
  margin-left: 0;
}

.anime-home .anime-list-card:hover .anime-list-stack img:nth-child(1) {
  transform: rotate(-6deg) translate(-8px, -2px);
}

.anime-home .anime-list-card:hover .anime-list-stack img:nth-child(2) {
  transform: rotate(-2deg) translateY(-4px);
}

.anime-home .anime-list-card:hover .anime-list-stack img:nth-child(3) {
  transform: rotate(2deg) translateY(-4px);
}

.anime-home .anime-list-card:hover .anime-list-stack img:nth-child(4) {
  transform: rotate(6deg) translate(8px, -2px);
}

.anime-home .anime-list-title {
  max-width: 100%;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  transition: color var(--dur-fast);
}

.anime-home .anime-list-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.anime-home .anime-list-meta img,
.anime-home .anime-meta-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
}

.anime-home .anime-author-mark,
.anime-feat-avatar.anime-author-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.anime-feat-avatar.anime-author-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.anime-home .anime-list-meta-name {
  color: var(--fg-primary);
  font-weight: 600;
}

.anime-home .anime-news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: normal;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.anime-home .anime-news-card .cover {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-200);
  aspect-ratio: 16 / 10;
}

.anime-home .anime-news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.anime-home .anime-news-card:hover .cover img {
  transform: scale(1.04);
}

.anime-home .anime-news-card .tag-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  background: rgba(11, 8, 9, 0.7);
  color: #fbf6f2;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.anime-home .anime-news-card .kicker {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-home .anime-news-card h3 {
  display: -webkit-box;
  min-height: 2.56em;
  overflow: hidden;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  transition: color var(--dur-fast);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-home .anime-news-card:hover h3 {
  color: var(--brand-red);
}

.anime-home .anime-news-card .anime-meta-avatar {
  width: 20px;
  height: 20px;
}

.anime-home .anime-news-card .anime-meta-row {
  margin-top: 2px;
}

.anime-home .anime-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: auto;
}

.anime-home .anime-meta-row > span {
  color: var(--fg-secondary);
}

.anime-home .anime-meta-row > span:first-of-type {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.anime-home .anime-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  line-height: normal;
  margin-top: 4px;
}

.anime-home .anime-week-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  line-height: normal;
}

.anime-home .anime-week-col.is-past {
  opacity: 0.55;
}

.anime-home .anime-week-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  line-height: normal;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--paper-050);
  padding: 6px 4px;
}

.anime-home .anime-week-col.is-today .anime-week-head {
  border-color: transparent;
  background: var(--brand-red);
}

.anime-home .anime-week-head .dn {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-home .anime-week-head .dd {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-home .anime-week-col.is-today .dn,
.anime-home .anime-week-col.is-today .dd {
  color: #fff;
}

.anime-home .anime-week-shows {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.anime-home .anime-week-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 7px;
  border-radius: 6px;
  line-height: normal;
  padding: 6px 8px;
  text-decoration: none;
  transition: background var(--dur-fast);
}

.anime-home .anime-week-row:hover {
  background: var(--paper-100);
}

.anime-home .anime-week-row .time {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.anime-home .anime-week-row .name {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-home .anime-week-row:hover .name {
  color: var(--brand-red);
}

.anime-home .anime-week-row .ep,
.anime-home .anime-week-empty {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.anime-home .anime-week-empty {
  display: block;
  line-height: normal;
  padding: 10px 0;
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
}

@media (max-width: 1100px) {
  .anime-home .anime-home-hero {
    grid-template-columns: 1fr;
  }

  .anime-home .anime-cards-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anime-home .anime-lists,
  .anime-home .anime-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .anime-home.anime-page {
    padding-inline: 16px;
  }

  .anime-home .anime-section {
    margin-top: 58px;
  }

  .anime-home .anime-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-home .anime-section-title {
    font-size: 32px;
  }

  .anime-home .anime-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-home .anime-lists,
  .anime-home .anime-news-grid {
    grid-template-columns: 1fr;
  }

  .anime-home .anime-week {
    grid-auto-flow: column;
    grid-auto-columns: 33%;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .anime-home .anime-week::-webkit-scrollbar {
    display: none;
  }

  .anime-home .anime-week-col {
    scroll-snap-align: start;
  }
}

.anime-foot {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  line-height: normal;
}

.anime-foot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--container);
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 24px 28px;
}

.anime-foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.anime-foot-logo-img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
}

.anime-foot-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-foot-copy {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.anime-foot-social {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

.anime-foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  transition: color var(--dur-fast);
}

.anime-foot-social a:hover {
  color: var(--brand-red);
}

.anime-foot-social svg {
  width: 21px;
  height: 21px;
}

.anime-foot-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: var(--container);
  gap: 28px;
  margin: 0 auto;
  padding: 36px 24px 48px;
}

.anime-foot-kanji {
  position: absolute;
  right: -40px;
  bottom: -120px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 380px;
  font-weight: 900;
  line-height: 0.85;
  opacity: 0.06;
  pointer-events: none;
}

.anime-foot h4 {
  margin: 0 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.22;
  text-transform: uppercase;
}

.anime-foot ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-foot li a {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: normal;
  text-decoration: none;
}

.anime-foot li a:hover {
  color: var(--brand-red);
}

.anime-foot-legal {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding: 22px 24px;
}

.anime-foot-legal p {
  margin: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.7;
}

.anime-foot__bottom {
  display: none !important;
}

@media (max-width: 720px) {
  .anime-links,
  .anime-nav__links,
  .anime-mega,
  .anime-mega-scrim {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  .anime-foot-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .anime-nav-inner,
  .anime-nav__inner {
    padding: 0 16px;
  }

  .anime-links,
  .anime-nav__links {
    display: none !important;
  }

  .anime-search-btn,
  .anime-search-toggle {
    min-width: 38px;
    padding-inline: 0;
    justify-content: center;
  }

  .anime-search-btn span,
  .anime-search-btn kbd,
  .anime-search-toggle span,
  .anime-search-toggle kbd {
    display: none;
  }
}

@media (max-width: 640px) {
  .anime-foot-top {
    flex-direction: column;
  }

  .anime-foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Final site-v2 shell guard: mobile header keeps the same rhythm as the static reference. */
@media (max-width: 720px) {
  :root {
    --nav-h: 72px;
  }

  .anime-nav-inner,
  .anime-nav__inner {
    height: var(--nav-h);
    padding: 0 24px;
  }

  .anime-search-btn,
  .anime-search-toggle {
    display: none;
  }

  .anime-nav-right,
  .anime-nav__actions {
    gap: 8px;
  }

  .anime-nav.is-searching .anime-search-wrap {
    margin-left: auto;
  }

  .anime-avatar {
    width: 36px;
    height: 36px;
  }
}

/* site-v2 home parity: neutralize WordPress block spacing and use source slider sizing. */
.wp-site-blocks > .anime-page,
.wp-site-blocks > .anime-home {
  margin-block-start: 0;
}

.anime-home {
  padding-top: 0;
}

.anime-home .anime-home-hero {
  margin-block-start: 20px;
  margin-top: 20px;
  min-height: 520px;
}

.anime-feat-slider {
  flex: 1;
  -ms-overflow-style: none;
}

.anime-feat-slide {
  min-height: 360px;
  isolation: isolate;
}

.anime-feat-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.anime-feat-dots {
  display: flex;
  gap: 6px;
}

.anime-feat-dot-btn {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--paper-300);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast);
}

.anime-feat-dot-btn.is-on {
  background: var(--brand-red);
}

.anime-feat-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.anime-feat-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.anime-feat-arrow:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-feat-count {
  margin-left: 0;
}

/* site-v2 home exactness: WordPress heading/paragraph defaults must not leak into the source shell. */
.anime-home .anime-feat-title,
.anime-home .anime-feat-excerpt,
.anime-home .anime-latest-list h4,
.anime-home .anime-list-title,
.anime-home .anime-news-card h3 {
  margin: 0;
}

.anime-home .anime-feat-meta {
  margin-top: 4px;
}

.anime-home .anime-latest-list {
  list-style: none;
  position: relative;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.anime-home .anime-latest-list:hover {
  scrollbar-color: var(--border-subtle) transparent;
}

.anime-home .anime-latest-list::-webkit-scrollbar {
  width: 6px;
}

.anime-home .anime-latest-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
  transition: background var(--dur-fast);
}

.anime-home .anime-latest-list:hover::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
}

.anime-home .anime-latest-list:hover::-webkit-scrollbar-thumb:hover {
  background: var(--fg-tertiary);
}

.anime-home .anime-latest-list li {
  padding-left: 28px;
}

.anime-home .anime-latest-list li::after {
  left: 5.25px;
  width: 1.5px;
  z-index: 0;
}

.anime-home .anime-latest-list li:first-child::after {
  top: 21px;
}

.anime-home .anime-latest-list li:last-child::after {
  top: 0;
  bottom: auto;
  height: 21px;
}

.anime-home .anime-latest-list li:only-child::after {
  display: none;
}

.anime-home .anime-latest-list li::before {
  box-sizing: border-box;
  left: 1px;
  top: 17px;
  z-index: 1;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-red) 22%, transparent);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-home .anime-latest-list li:nth-child(-n+2)::before {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-red) 18%, transparent);
}

.anime-home .anime-latest-list li:nth-child(n+5)::before {
  background: color-mix(in srgb, var(--brand-red) 60%, var(--paper-200));
}

.anime-home .anime-latest-list li:hover::before {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-red) 18%, transparent);
}

.anime-home .anime-latest-list a {
  z-index: 1;
}

.anime-home .anime-latest-list a:hover h4 {
  color: var(--brand-red);
}

.anime-home .anime-latest-time {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-home .anime-latest-list h4 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: color var(--dur-fast);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-home .anime-section-eye {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}

.anime-home .anime-section-more {
  line-height: normal;
  white-space: normal;
}

@media (max-width: 720px) {
  .anime-home.anime-page {
    padding-inline: 24px;
  }

  .anime-home .anime-section {
    margin-top: 80px;
  }

  .anime-home .anime-section-head {
    align-items: end;
    flex-direction: row;
  }

  .anime-home .anime-section-title {
    font-size: 44px;
    gap: 10px;
  }

  .anime-home .anime-latest-list {
    max-height: 460px;
  }
}

/* site-v2 anime hub parity for single anime pages. */
.anime-hub-v2.anime-page {
  max-width: none;
  padding-inline: 0;
}

.anime-hub-v2 .anime-breadcrumb {
  display: flex;
  align-items: center;
  max-width: var(--container);
  gap: 8px;
  margin: 20px auto 0;
  padding: 0 24px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-hub-v2 .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-breadcrumb .sep {
  opacity: 0.55;
}

.anime-hub-v2 .anime-hub-banner-v2 {
  position: relative;
  width: 100%;
  max-width: 2400px;
  height: 540px;
  margin: 20px auto 0;
  overflow: hidden;
  isolation: isolate;
}

.anime-hub-v2 .anime-hub-banner-v2 .blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  margin: 0;
}

.anime-hub-v2 .anime-hub-banner-v2 .blur img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 32%;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.42) 16%, rgba(0, 0, 0, 0.78) 25%, #000 35%, #000 65%, rgba(0, 0, 0, 0.78) 75%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 17%, #000 40%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.16) 76%, transparent 90%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.42) 16%, rgba(0, 0, 0, 0.78) 25%, #000 35%, #000 65%, rgba(0, 0, 0, 0.78) 75%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 17%, #000 40%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.16) 76%, transparent 90%);
  mask-composite: intersect;
}

.anime-hub-v2 .anime-hub-banner-kanji {
  position: absolute;
  top: -60px;
  right: 6%;
  z-index: 2;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 460px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.85;
  mix-blend-mode: multiply;
  opacity: 0.14;
  pointer-events: none;
}

[data-theme="dark"] .anime-hub-v2 .anime-hub-banner-kanji {
  color: #e8dfdb;
  mix-blend-mode: screen;
  opacity: 0.07;
}

.anime-hub-v2 .anime-hub-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  max-width: var(--container);
  gap: 40px;
  margin: -180px auto 0;
  padding: 0 24px 56px;
}

.anime-hub-v2 .anime-hub-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.anime-hub-v2 .anime-hub-side .poster {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper-200);
  box-shadow: var(--shadow-lg);
}

.anime-hub-v2 .anime-hub-side .poster .wp-block-post-featured-image,
.anime-hub-v2 .anime-hub-side .poster img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.anime-hub-v2 .anime-hub-side .poster .wp-block-post-featured-image {
  aspect-ratio: 3 / 4;
}

.anime-hub-v2 .anime-hub-side .poster img {
  object-fit: cover;
}

.anime-hub-v2 .anime-score-blocks,
.anime-hub-v2 .anime-watchlist,
.anime-hub-v2 .anime-platforms,
.anime-hub-v2 .anime-info-block {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 14px;
}

.anime-hub-v2 .anime-score-blocks__head,
.anime-hub-v2 .anime-score-blocks__note,
.anime-hub-v2 .anime-watchlist__head {
  display: none;
}

.anime-hub-v2 .anime-score-blocks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.anime-hub-v2 .anime-score-card {
  display: grid;
  align-items: end;
  min-height: 96px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px 14px;
  text-align: left;
}

.anime-hub-v2 .anime-score-card__label {
  align-self: start;
  width: fit-content;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: currentColor;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 4px 7px;
}

.anime-hub-v2 .anime-score-card__value {
  color: currentColor;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-hub-v2 .anime-score-card__meta {
  display: none;
}

.anime-hub-v2 .anime-score-card--sky {
  background: #2e51a2;
  color: #fff;
}

.anime-hub-v2 .anime-score-card--red {
  background: var(--brand-red);
  color: #fff;
}

.anime-hub-v2 .anime-score-card--mint {
  border: 1px solid var(--paper-300);
  background: var(--paper-050);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-score-card--amber {
  background: #f5c518;
  color: #14100f;
}

.anime-hub-v2 .anime-watchlist__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.anime-hub-v2 .anime-watchlist__button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
  padding: 0 8px;
}

.anime-hub-v2 .anime-watchlist__message {
  margin-top: 10px;
  font-size: 12px;
}

.anime-hub-v2 .anime-platforms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-hub-v2 .anime-platforms h5,
.anime-hub-v2 .anime-info-block h5 {
  margin: 0 0 2px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-page);
  color: var(--fg-primary);
  padding: 10px 12px;
  text-decoration: none;
}

.anime-hub-v2 .anime-platform:hover {
  border-color: var(--brand-red);
}

.anime-hub-v2 .anime-platform:hover .anime-platform-name {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-platform .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
}

.anime-hub-v2 .anime-platform-empty {
  color: var(--fg-muted);
}

.anime-hub-v2 .anime-platform-name {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  justify-content: normal;
  letter-spacing: -0.003em;
  padding: 0;
}

.anime-hub-v2 .anime-platform .open {
  margin-left: auto;
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-hub-v2 .anime-info-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.anime-hub-v2 .anime-info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.anime-hub-v2 .anime-info-row .lbl {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-info-row .v {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
}

.anime-hub-v2 .anime-hub-side-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anime-hub-v2 .anime-guide-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-hub-v2 .anime-guide-teaser:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-hub-v2 .anime-guide-teaser .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(175, 40, 42, 0.08);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.anime-hub-v2 .anime-guide-teaser .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-hub-v2 .anime-guide-teaser .body strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.anime-hub-v2 .anime-guide-teaser .body span {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
}

.anime-hub-v2 .anime-guide-teaser > svg {
  flex-shrink: 0;
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-hub-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 60px;
}

.anime-hub-v2 .anime-hub-title {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.anime-hub-v2 .anime-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anime-hub-v2 .anime-hub-tags a {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  text-decoration: none;
}

.anime-hub-v2 .anime-hub-syn,
.anime-hub-v2 .anime-hub-syn p {
  max-width: 720px;
  margin: 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.anime-hub-v2 .anime-hub-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.anime-hub-v2 .anime-hub-byline .sep {
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-hub-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.anime-hub-v2 .anime-btn {
  min-height: 40px;
  padding: 0 16px;
}

.anime-hub-v2 .anime-hub-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 12px;
  scrollbar-width: none;
}

.anime-hub-v2 .anime-hub-tabs::-webkit-scrollbar {
  display: none;
}

.anime-hub-v2 .anime-hub-tab {
  border-bottom: 2px solid transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: -1px;
  padding: 14px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-tab.is-active,
.anime-hub-v2 .anime-hub-tab:hover {
  color: var(--fg-strong);
}

.anime-hub-v2 .anime-hub-tab.is-active {
  border-bottom-color: var(--brand-red);
}

.anime-hub-v2 .anime-hub-section {
  margin-top: 24px;
}

.anime-hub-v2 .anime-hub-h2,
.anime-hub-v2 .anime-hub-section h2 {
  margin: 0 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-hub-v2 .anime-about-wrap {
  max-width: 760px;
}

.anime-hub-v2 .anime-about-wrap p {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

.anime-hub-v2 .anime-hub-seasons {
  display: grid;
  gap: 10px;
}

.anime-hub-v2 .anime-hub-season {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.anime-hub-v2 .anime-hub-season-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-hub-v2 .anime-hub-season-head strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
}

.anime-hub-v2 .anime-hub-season p {
  margin: 8px 0 0;
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.anime-hub-v2 .anime-hub-next {
  display: inline;
  margin-top: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
}

.anime-hub-v2 .anime-hub-next .anime-section-eye {
  margin: 0;
}

.anime-hub-v2 .anime-hub-next span:not(.anime-section-eye):not(.anime-hub-next-cd) {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
}

.anime-hub-v2 .anime-hub-next-cd {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-chars {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 16px;
}

.anime-hub-v2 .anime-char {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  width: 100px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px;
  text-decoration: none;
}

.anime-hub-v2 .anime-char img,
.anime-hub-v2 .anime-char .face {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--paper-200);
  object-fit: cover;
}

.anime-hub-v2 .anime-char img {
  width: 70px;
  height: 105px;
  border-radius: 4px;
}

.anime-hub-v2 .anime-char .face {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 40px;
  font-weight: 900;
}

.anime-hub-v2 .anime-char .nm {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.anime-hub-v2 .anime-char .va {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
}

.anime-hub-v2 .anime-hub-row {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0;
  padding: 52px 0;
}

.anime-hub-v2 .anime-hub-row.is-tinted {
  background: var(--paper-050);
}

.anime-hub-v2 .anime-hub-row-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.anime-hub-v2 .anime-hub-row .anime-block-section {
  margin: 0;
}

.anime-hub-v2 .anime-hub-row .anime-section-head {
  margin-bottom: 24px;
}

.anime-hub-v2 .anime-hub-row .anime-section-title {
  font-size: 36px;
}

.anime-hub-v2 .anime-hub-row .anime-cards-row {
  display: grid;
  grid-template-columns: repeat(var(--anime-grid-columns, 6), minmax(0, 1fr));
  gap: 20px;
}

.anime-hub-v2 .anime-hub-row .anime-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.anime-hub-v2 .anime-hub-row .anime-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast);
}

.anime-hub-v2 .anime-hub-row .anime-card:hover .anime-poster {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

/* Final status controls: messages must not create a new action row. */
.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  position: relative;
}

.anime-hub-v2 .anime-status-wrap {
  width: auto;
  min-width: 0;
}

.anime-hub-v2 [data-status-toggle],
.anime-hub-v2 .anime-hub-head .anime-hub-actions [data-status-toggle].anime-btn {
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 35;
  flex-basis: auto;
  max-width: min(320px, calc(100vw - 48px));
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 10px;
  pointer-events: none;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message:empty {
  display: none;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="success"] {
  border-color: rgba(46, 138, 96, 0.26);
  color: var(--accent-mint);
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="error"] {
  border-color: rgba(175, 40, 42, 0.28);
  color: var(--brand-red);
}

/* OnionBuzz legacy tests: match the site-v2 editorial quiz rhythm. */
.anime-article-body .shortcode-quiz,
.anime-article .shortcode-quiz {
  --ob-quiz-accent: var(--brand-red);
  --ob-quiz-border: rgba(61, 51, 49, 0.14);
  --ob-quiz-answer-bg: rgba(255, 255, 255, 0.82);
  --ob-quiz-answer-hover-bg: rgba(255, 255, 255, 0.94);
  --ob-quiz-answer-active-bg: rgba(175, 40, 42, 0.055);
  width: 100%;
  max-width: none;
  margin: 34px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
}

[data-theme="dark"] .anime-article-body .shortcode-quiz,
[data-theme="dark"] .anime-article .shortcode-quiz {
  --ob-quiz-border: rgba(251, 246, 242, 0.13);
  --ob-quiz-answer-bg: color-mix(in srgb, var(--bg-card) 88%, #fff 3%);
  --ob-quiz-answer-hover-bg: color-mix(in srgb, var(--bg-raised) 88%, var(--brand-red) 8%);
  --ob-quiz-answer-active-bg: rgba(232, 58, 63, 0.14);
  --ob-quiz-accent: var(--brand-red-hot);
}

.anime-article-body .shortcode-quiz *,
.anime-article .shortcode-quiz * {
  box-sizing: border-box;
}

.anime-article-body .shortcode-quiz .la-quiz-text,
.anime-article .shortcode-quiz .la-quiz-text {
  display: none;
}

.anime-article-body .shortcode-quiz .la-quiz-questions-list,
.anime-article .shortcode-quiz .la-quiz-questions-list {
  counter-reset: onionbuzz-question;
  display: grid;
  gap: 34px;
}

.anime-article-body .shortcode-quiz .la-quiz-question-item,
.anime-article .shortcode-quiz .la-quiz-question-item {
  counter-increment: onionbuzz-question;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 38px 0 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.anime-article-body .shortcode-quiz .la-quiz-question-item::before,
.anime-article .shortcode-quiz .la-quiz-question-item::before {
  content: "SORU " counter(onionbuzz-question, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ob-quiz-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
}

.anime-article-body .shortcode-quiz .la-quiz-question-item::before,
.anime-article .shortcode-quiz .la-quiz-question-item::before {
  background: linear-gradient(var(--border-subtle), var(--border-subtle)) right center / calc(100% - 72px) 1px no-repeat;
}

.anime-article-body .shortcode-quiz .la-quiz-question-item.is-answered::before,
.anime-article .shortcode-quiz .la-quiz-question-item.is-answered::before,
.anime-article-body .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::before,
.anime-article .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::before {
  right: 138px;
}

.anime-article-body .shortcode-quiz .la-quiz-question-item.is-answered::after,
.anime-article .shortcode-quiz .la-quiz-question-item.is-answered::after,
.anime-article-body .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::after,
.anime-article .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::after {
  content: "✓ YANITLANDI";
  position: absolute;
  top: -1px;
  right: 0;
  color: var(--ob-quiz-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
}

.anime-article-body .shortcode-quiz .la-quiz-question-image,
.anime-article .shortcode-quiz .la-quiz-question-image {
  order: 1;
  display: block;
  width: 100%;
  max-height: 360px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-surface);
}

.anime-article-body .shortcode-quiz .la-quiz-question-image img,
.anime-article .shortcode-quiz .la-quiz-question-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

.anime-article-body .shortcode-quiz .la-quiz-question-image-caption,
.anime-article .shortcode-quiz .la-quiz-question-image-caption {
  order: 2;
  margin: -8px 0 18px;
  color: var(--fg-tertiary);
  font-size: 12px;
  line-height: 1.4;
}

.anime-article-body .shortcode-quiz .la-quiz-question-image-caption:empty,
.anime-article .shortcode-quiz .la-quiz-question-image-caption:empty,
.anime-article-body .shortcode-quiz .la-quiz-question-description:empty,
.anime-article .shortcode-quiz .la-quiz-question-description:empty {
  display: none;
}

.anime-article-body .shortcode-quiz .la-quiz-question-title,
.anime-article .shortcode-quiz .la-quiz-question-title {
  order: 3;
  margin: 0;
  padding: 0;
}

.anime-article-body .shortcode-quiz .la-quiz-question-title h3,
.anime-article .shortcode-quiz .la-quiz-question-title h3 {
  margin: 0 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.anime-article-body .shortcode-quiz .la-quiz-question-description,
.anime-article .shortcode-quiz .la-quiz-question-description {
  order: 4;
  margin: -4px 0 18px;
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.anime-article-body .shortcode-quiz .la-quiz-question-description p,
.anime-article .shortcode-quiz .la-quiz-question-description p {
  margin: 0;
}

.anime-article-body .shortcode-quiz p:empty,
.anime-article .shortcode-quiz p:empty {
  display: none;
  margin: 0;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answers,
.anime-article .shortcode-quiz .la-quiz-question-answers {
  order: 5;
  width: 100%;
  margin: 0;
  padding: 0;
}

.anime-article-body .shortcode-quiz .la-quiz-answers-list,
.anime-article .shortcode-quiz .la-quiz-answers-list,
.anime-article-body .shortcode-quiz .la-quiz-answers-grid,
.anime-article .shortcode-quiz .la-quiz-answers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.anime-article-body .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
.anime-article .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
.anime-article-body .shortcode-quiz .la-quiz-answers-list.is-visual-options,
.anime-article .shortcode-quiz .la-quiz-answers-list.is-visual-options {
  grid-template-columns: repeat(var(--ob-answer-grid-columns, 2), minmax(0, 1fr));
  gap: 14px;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item,
.anime-article .shortcode-quiz .la-quiz-question-answer-item,
.anime-article-body .shortcode-quiz .la-quiz-answers-grid .la-quiz-question-answer-item,
.anime-article .shortcode-quiz .la-quiz-answers-grid .la-quiz-question-answer-item,
.anime-article-body .shortcode-quiz .la-quiz-answers-list .la-quiz-question-answer-item,
.anime-article .shortcode-quiz .la-quiz-answers-list .la-quiz-question-answer-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid var(--ob-quiz-border);
  border-radius: 12px;
  background: var(--ob-quiz-answer-bg);
  box-shadow: none;
  color: var(--fg-primary);
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item::before,
.anime-article .shortcode-quiz .la-quiz-question-answer-item::before {
  content: attr(data-answer-label);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-actions,
.anime-article .shortcode-quiz .la-quiz-question-answer-actions {
  min-width: 0;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-title,
.anime-article .shortcode-quiz .la-quiz-question-answer-title {
  color: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-image,
.anime-article .shortcode-quiz .la-quiz-question-answer-image {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 220px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 10px;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-image img,
.anime-article .shortcode-quiz .la-quiz-question-answer-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: var(--paper-100);
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item::before,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item::before {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  width: 28px;
  height: 28px;
  background: var(--paper-200);
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active::after,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active::after,
.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.correct::after,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.correct::after,
.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.incorrect::after,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.incorrect::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ob-quiz-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-image,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-image {
  grid-column: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  background: var(--paper-200);
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-image img,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-actions,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-actions {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 16px 13px 50px;
  background: var(--paper-100);
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-title,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-title {
  display: block;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item:hover,
.anime-article .shortcode-quiz .la-quiz-question-answer-item:hover {
  border-color: rgba(175, 40, 42, 0.42);
  background: var(--ob-quiz-answer-hover-bg);
  box-shadow: none;
  transform: translateY(-1px);
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active,
.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active.correct,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active.correct,
.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active.incorrect,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active.incorrect {
  border-color: var(--ob-quiz-accent);
  background: var(--ob-quiz-answer-active-bg);
  box-shadow: none;
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item:hover,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item:hover {
  background: var(--paper-100);
  transform: translateY(-2px);
}

.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active,
.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.correct,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.correct,
.anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.incorrect,
.anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item.active.incorrect {
  background: var(--paper-100);
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active::before,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active::before,
.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active.correct::before,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active.correct::before,
.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.active.incorrect::before,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.active.incorrect::before {
  background: var(--ob-quiz-accent);
  color: #fff;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item.notselected,
.anime-article .shortcode-quiz .la-quiz-question-answer-item.notselected {
  opacity: 1;
}

.anime-article-body .shortcode-quiz .la-quiz-question-answer-item .icon-ico-correct,
.anime-article .shortcode-quiz .la-quiz-question-answer-item .icon-ico-correct,
.anime-article-body .shortcode-quiz .la-quiz-question-answer-item .icon-ico-incorrect,
.anime-article .shortcode-quiz .la-quiz-question-answer-item .icon-ico-incorrect {
  display: none !important;
}

@media (max-width: 640px) {
  .anime-article-body .shortcode-quiz .la-quiz-question-item,
  .anime-article .shortcode-quiz .la-quiz-question-item {
    padding-top: 34px;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-title h3,
  .anime-article .shortcode-quiz .la-quiz-question-title h3 {
    font-size: 23px;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .la-quiz-question-answer-item,
  .anime-article-body .shortcode-quiz .la-quiz-answers-grid .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .la-quiz-answers-grid .la-quiz-question-answer-item,
  .anime-article-body .shortcode-quiz .la-quiz-answers-list .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .la-quiz-answers-list .la-quiz-question-answer-item {
    min-height: 58px;
    padding: 12px 14px;
  }

  .anime-article-body .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
  .anime-article .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
  .anime-article-body .shortcode-quiz .la-quiz-answers-list.is-visual-options,
  .anime-article .shortcode-quiz .la-quiz-answers-list.is-visual-options {
    grid-template-columns: 1fr;
  }

  .anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item {
    padding: 0;
  }
}

body.is-partial-loading {
  cursor: progress;
}

body.is-partial-loading::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 42vw;
  height: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--brand-red), rgba(175, 40, 42, 0.42));
  box-shadow: 0 0 18px rgba(175, 40, 42, 0.28);
  content: "";
  pointer-events: none;
  transform-origin: left center;
  animation: anime-partial-progress 1.05s ease-in-out infinite;
}

html.is-partial-loading .wp-site-blocks > :not(.anime-nav):not(.anime-foot) {
  opacity: 0.58;
  pointer-events: none;
  transition: opacity 0.14s ease;
}

@keyframes anime-partial-progress {
  0% {
    transform: translateX(-42vw) scaleX(0.38);
  }

  52% {
    transform: translateX(46vw) scaleX(1);
  }

  100% {
    transform: translateX(104vw) scaleX(0.46);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-partial-loading::before {
    width: 100vw;
    animation: none;
  }
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  position: relative;
}

.anime-hub-v2 .anime-status-wrap {
  width: auto;
  min-width: 0;
}

.anime-hub-v2 [data-status-toggle],
.anime-hub-v2 .anime-hub-head .anime-hub-actions [data-status-toggle].anime-btn {
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 35;
  flex-basis: auto;
  max-width: min(320px, calc(100vw - 48px));
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 1;
  padding: 7px 10px;
  pointer-events: none;
  transform: translateY(0);
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message:empty {
  display: none;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="success"] {
  border-color: rgba(46, 138, 96, 0.26);
  color: var(--accent-mint);
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="error"] {
  border-color: rgba(175, 40, 42, 0.28);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-platform-name {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  justify-content: normal;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg {
  align-items: stretch;
  gap: 10px;
  min-width: 270px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg [data-countdown-output] {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Final hub overrides must stay after the legacy hub rules. */
.anime-hub-v2 .anime-platform-name {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  justify-content: normal;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg {
  align-items: stretch;
  gap: 10px;
  min-width: 270px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg [data-countdown-output] {
  display: flex;
  gap: 10px;
  width: 100%;
}

.anime-hub-v2 .anime-platforms {
  padding: 14px;
}

.anime-hub-v2 .anime-platforms h5,
.anime-hub-v2 .anime-info-block h5 {
  margin: 0 0 2px;
  line-height: 1.2;
}

.anime-hub-v2 .anime-platform {
  min-height: 54px;
  padding: 10px 12px;
}

.anime-hub-v2 .anime-platform .open {
  opacity: 0.7;
  transition: opacity var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.anime-hub-v2 .anime-platform:hover .open {
  color: var(--brand-red);
  opacity: 1;
  transform: translate(2px, -2px);
}

.anime-hub-v2 .anime-epgrid-empty {
  margin: 0;
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
}

.anime-hub-v2 .anime-info-block {
  padding: 14px 16px;
}

.anime-hub-v2 .anime-info-row-tags {
  align-items: start;
}

.anime-hub-v2 .anime-info-row .v {
  letter-spacing: -0.003em;
  line-height: normal;
  text-transform: none;
}

.anime-hub-v2 .anime-info-row .anime-info-tags {
  display: block;
  color: var(--fg-tertiary);
  letter-spacing: -0.003em;
  line-height: 1.55;
}

.anime-hub-v2 .anime-epgrid-select {
  min-height: 0;
  border-color: var(--border);
  color: var(--fg-strong);
  font-weight: 600;
  line-height: 1.25;
  padding: 7px 12px;
  white-space: nowrap;
}

.anime-hub-v2 .anime-epgrid-menu {
  right: auto;
  left: 0;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anime-hub-v2 .anime-epgrid-menu[hidden] {
  display: none;
}

.anime-hub-v2 .anime-epgrid-menu button {
  align-items: center;
  gap: 10px;
  color: var(--fg-primary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
}

.anime-hub-v2 .anime-epgrid-menu button:hover {
  background: var(--paper-050);
}

.anime-hub-v2 .anime-epgrid-menu button .tick {
  margin-left: auto;
  opacity: 0;
}

.anime-hub-v2 .anime-epgrid-menu button.is-on .tick {
  opacity: 1;
}

.anime-hub-v2 .anime-epgrid-cells.is-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.anime-hub-v2 .anime-epgrid-user-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  margin: 0 0 18px;
  padding: 10px;
}

.anime-hub-v2 .anime-epgrid-user-tools span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-epgrid-user-tools select,
.anime-hub-v2 .anime-epgrid-user-tools button {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
}

.anime-hub-v2 .anime-epgrid-user-tools button:hover:not(:disabled) {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-epgrid-user-tools button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.anime-hub-v2 .anime-epgrid-user-tools em {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-style: normal;
}

.anime-hub-v2 .anime-epcell.tier-awesome {
  color: #EAFBF0;
}

.anime-hub-v2 .anime-epcell.tier-great {
  color: #07260F;
}

.anime-hub-v2 .anime-epcell.tier-good {
  color: #2A1F02;
}

.anime-hub-v2 .anime-epcell.tier-mid {
  color: #2A1402;
}

.anime-hub-v2 .anime-epcell.tier-unknown {
  border: 1px dashed var(--border);
  background: var(--paper-200);
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-epcell.tier-unknown .score {
  font-size: 18px;
}

.anime-hub-v2 .anime-epcell.is-ratable.tier-unknown:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-epgrid-timeline {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  margin-bottom: 26px;
  padding: 18px;
}

.anime-hub-v2 .anime-epgrid-timeline p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
}

.anime-hub-v2 .anime-epgrid-timeline svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.anime-hub-v2 .anime-epgrid-timeline .tl-line {
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 2;
}

.anime-hub-v2 .anime-epgrid-timeline .tl-area {
  fill: rgba(175, 40, 42, 0.08);
  stroke: none;
}

.anime-hub-v2 .anime-epgrid-timeline .tl-dot {
  fill: var(--bg-card);
  stroke: var(--brand-red);
  stroke-width: 2;
}

.anime-hub-v2 .anime-epgrid-timeline .tl-grid {
  stroke: var(--border-subtle);
  stroke-width: 1;
}

.anime-hub-v2 .anime-epgrid-timeline .tl-label {
  fill: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9px;
}

.anime-ep-rate-pop {
  position: absolute;
  z-index: 90;
  min-width: 184px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  padding: 10px;
}

.anime-ep-rate-pop h5 {
  margin: 0 0 8px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.anime-ep-rate-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.anime-ep-rate-note {
  max-width: 180px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
}

.anime-user-rate-btn {
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.anime-user-rate-btn:hover {
  border-color: var(--border-strong);
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-user-rate-clear {
  grid-column: 1 / -1;
  color: var(--brand-red);
}

.anime-hub-v2 .anime-countdown-lg {
  align-items: stretch;
  gap: 10px;
  min-width: 270px;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg [data-countdown-output] {
  display: flex;
  gap: 10px;
  width: 100%;
}

.anime-hub-v2 .anime-countdown-lg .unit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 60px;
  border-radius: 10px;
  background: var(--paper-200);
  padding: 12px 4px 9px;
}

.anime-hub-v2 .anime-countdown-lg .unit strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  line-height: 1;
}

.anime-hub-v2 .anime-countdown-lg .unit span {
  margin-top: 5px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-mint);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.anime-hub-v2 .anime-countdown-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-mint);
  box-shadow: 0 0 0 3px rgba(46, 138, 96, 0.22);
}

.anime-hub-v2 .anime-hub-row .anime-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-hub-v2 .anime-hub-row .anime-badge,
.anime-hub-v2 .anime-hub-row .anime-rate {
  position: absolute;
  top: 10px;
  border-radius: 5px;
  background: rgba(11, 8, 9, 0.78);
  color: #fbf6f2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.anime-hub-v2 .anime-hub-row .anime-badge {
  left: 10px;
}

.anime-hub-v2 .anime-hub-row .anime-rate {
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
}

.anime-hub-v2 .anime-hub-row .anime-rate svg {
  color: #f4b83a;
}

.anime-hub-v2 .anime-hub-row .anime-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-hub-v2 .anime-hub-row .anime-card-meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.anime-hub-v2 .anime-comments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.anime-hub-v2 .anime-comments-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.anime-hub-v2 .anime-comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.anime-hub-v2 .anime-comments-count-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 0 10px;
}

.anime-hub-v2 .anime-comments-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.anime-hub-v2 .anime-comments-sort button,
.anime-hub-v2 .anime-comment .acts button,
.anime-hub-v2 .anime-comments-more {
  border: 0;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0;
}

.anime-hub-v2 .anime-comments-sort button.is-on,
.anime-hub-v2 .anime-comments-sort button:hover,
.anime-hub-v2 .anime-comment .acts button:hover,
.anime-hub-v2 .anime-comments-more:hover {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-composer,
.anime-hub-v2 .anime-comment {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-hub-v2 .anime-composer .av,
.anime-hub-v2 .anime-comment .av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
}

.anime-hub-v2 .anime-comment .av.sky {
  background: var(--accent-sky);
}

.anime-hub-v2 .anime-comment .av.pink {
  background: var(--accent-pink);
}

.anime-hub-v2 .anime-comment .av.amber {
  background: var(--accent-amber);
}

.anime-hub-v2 .composer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.anime-hub-v2 .composer-body textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-page);
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 12px;
}

.anime-hub-v2 .composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.anime-hub-v2 .anime-composer-message {
  min-height: 17px;
  margin: -2px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
}

.anime-hub-v2 .anime-composer-message[data-tone="success"] {
  color: var(--accent-green);
}

.anime-hub-v2 .anime-composer-message[data-tone="error"] {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-composer.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.anime-hub-v2 .anime-comment-thread {
  display: flex;
  flex-direction: column;
}

.anime-hub-v2 .anime-comment .body {
  min-width: 0;
}

.anime-hub-v2 .anime-comment .head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.anime-hub-v2 .anime-comment .name {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
}

.anime-hub-v2 .anime-comment .ref {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-comment .text {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}

.anime-hub-v2 .anime-comment .text p {
  margin: 0;
}

.anime-hub-v2 .anime-comment .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.anime-hub-v2 .anime-comment .acts button[data-review-like].is-liked,
.anime-hub-v2 .anime-comment .acts button[data-review-like][data-tone="success"] {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-comment .acts button[data-review-like].is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.anime-hub-v2 .anime-comment .acts button[data-review-like][data-tone="error"] {
  color: var(--accent-amber);
}

.anime-hub-v2 .anime-spoiler {
  border-radius: 5px;
  background: var(--paper-200);
  color: var(--fg-tertiary);
  padding: 1px 5px;
}

.anime-hub-v2 .anime-comments-more {
  align-self: flex-start;
}

.anime-hub-v2 .anime-comments-empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 1px dashed var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  padding: 26px;
  text-align: center;
}

.anime-hub-v2 .anime-comments-empty-kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.anime-hub-v2 .anime-comments-empty p {
  margin: 6px 0 2px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.anime-hub-v2 .anime-comments-empty span:last-child {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.5;
}

.anime-hub-v2 .anime-comments-side {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anime-hub-v2 .anime-comments-side-block,
.anime-hub-v2 .anime-review-summary {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 20px;
}

.anime-hub-v2 .anime-comments-side-block h3 {
  margin: 0 0 10px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
}

.anime-hub-v2 .anime-comments-side-block p {
  margin: 4px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-hub-v2 .anime-comments-side-block a {
  display: block;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  margin-top: 9px;
  text-decoration: none;
}

.anime-hub-v2 .anime-rate-big,
.anime-hub-v2 .anime-review-summary-score {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-hub-v2 .anime-rate-big span,
.anime-hub-v2 .anime-review-summary-score span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin-left: 8px;
}

.anime-hub-v2 .anime-comment.is-review {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.anime-hub-v2 .anime-review-title {
  margin: 0 0 7px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.anime-hub-v2 .anime-review-score {
  align-self: start;
  border-radius: 8px;
  background: #1f7a44;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.anime-hub-v2 .anime-review-score.is-mid {
  background: #3da35d;
}

.anime-hub-v2 .anime-review-summary-sub {
  margin: 6px 0 16px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-hub-v2 .anime-review-dist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anime-hub-v2 .anime-review-dist .row {
  display: grid;
  grid-template-columns: 52px 1fr 18px;
  align-items: center;
  gap: 10px;
}

.anime-hub-v2 .anime-review-dist .lbl,
.anime-hub-v2 .anime-review-dist .val {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-review-dist .val {
  text-align: right;
}

.anime-hub-v2 .anime-review-dist .bar {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: var(--paper-200);
}

.anime-hub-v2 .anime-review-dist .bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.anime-hub-v2 .anime-review-dist .hi {
  background: #3da35d;
}

.anime-hub-v2 .anime-review-dist .mid {
  background: #7fb069;
}

.anime-hub-v2 .anime-review-dist .low {
  background: #e0b21c;
}

.anime-hub-v2 .anime-review-dist .neg {
  background: #cc3b34;
}

.anime-hub-v2 .anime-faq {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  gap: 10px;
}

.anime-hub-v2 .anime-faq-item {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
}

.anime-hub-v2 .anime-faq-item[open] {
  border-color: var(--brand-red);
}

.anime-hub-v2 .anime-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--fg-strong);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  list-style: none;
}

.anime-hub-v2 .anime-faq-item summary::-webkit-details-marker {
  display: none;
}

.anime-hub-v2 .anime-faq-item summary::after {
  content: "+";
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-weight: 900;
}

.anime-hub-v2 .anime-faq-item[open] summary {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-faq-item[open] summary::after {
  content: "-";
  color: var(--brand-red);
}

.anime-hub-v2 .anime-faq-body {
  max-width: 680px;
  padding: 0 20px 18px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
}

.anime-hub-v2 .anime-hub-season {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-hub-season-head {
  gap: 8px;
}

.anime-hub-v2 .anime-faq-item {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.anime-hub-v2 .anime-faq-item summary {
  min-height: 23px;
  padding: 0;
}

.anime-hub-v2 .anime-faq-body {
  padding: 8px 0 0;
}

@media (min-width: 1101px) {
  .anime-hub-v2 #anime-seasons .anime-hub-seasons {
    min-height: 296px;
  }

  .anime-hub-v2 #anime-characters .anime-hub-chars .anime-char:nth-child(1) {
    height: 196px;
  }

  .anime-hub-v2 #anime-characters .anime-hub-chars .anime-char:nth-child(n+2):nth-child(-n+5) {
    height: 184px;
  }

  .anime-hub-v2 #anime-characters .anime-hub-chars .anime-char:nth-child(6) {
    height: 170px;
  }

  .anime-hub-v2 #hub-comments-section {
    min-height: 919px;
  }

  .anime-hub-v2 #sec-reviews {
    min-height: 820px;
  }
}

@media (max-width: 1100px) {
  .anime-hub-v2 .anime-hub-chars {
    display: flex;
  }

  .anime-hub-v2 .anime-hub-row .anime-cards-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anime-hub-v2 .anime-comments-layout {
    grid-template-columns: 1fr;
  }

  .anime-hub-v2 .anime-comments-side {
    position: static;
  }

  .anime-hub-v2 .anime-hub-body {
    grid-template-columns: 1fr;
    margin-top: -60px;
  }

  .anime-hub-v2 .anime-hub-side {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
  }

  .anime-hub-v2 .anime-hub-side .poster {
    grid-row: 1 / 5;
  }

  .anime-hub-v2 .anime-hub-main {
    padding-top: 24px;
  }

  .anime-hub-v2 .anime-comments-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-breadcrumb {
    margin-top: 12px;
    padding: 0 16px;
  }

  .anime-hub-v2 .anime-hub-banner-v2 {
    height: 320px;
    margin-top: 12px;
  }

  .anime-hub-v2 .anime-hub-banner-kanji {
    top: -34px;
    right: -8%;
    font-size: 260px;
  }

  .anime-hub-v2 .anime-hub-body {
    gap: 24px;
    margin-top: -58px;
    padding: 0 16px 38px;
  }

  .anime-hub-v2 .anime-hub-side {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .anime-hub-v2 .anime-score-blocks,
  .anime-hub-v2 .anime-watchlist,
  .anime-hub-v2 .anime-platforms,
  .anime-hub-v2 .anime-info-block,
  .anime-hub-v2 .anime-hub-side-links {
    grid-column: 1 / -1;
  }

  .anime-hub-v2 .anime-hub-title {
    font-size: 40px;
  }

  .anime-hub-v2 .anime-hub-row {
    padding: 38px 0;
  }

  .anime-hub-v2 .anime-hub-row-inner {
    padding: 0 16px;
  }
}

/* site-v2 canonical anime hub layout. */
.anime-hub-v2 .anime-hub-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px 0;
}

.anime-hub-v2 .anime-hub-cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-200);
}

.anime-hub-v2 .anime-hub-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.anime-hub-v2 .anime-hub-cover-overlay {
  display: none;
}

.anime-hub-v2 .anime-hub-hero-inner {
  display: block;
}

.anime-hub-v2 .anime-hub-hero .anime-hub-poster {
  width: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  box-shadow: var(--shadow-lg);
}

.anime-hub-v2 .anime-hub-hero .anime-hub-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-hub-v2 .anime-hub-head {
  max-width: 100%;
  margin-top: 16px;
}

.anime-hub-v2 .anime-hub-title .ja {
  font-family: var(--font-kanji);
}

.anime-hub-v2 .anime-hub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
}

.anime-hub-v2 .anime-hub-status {
  color: var(--fg-secondary);
}

.anime-hub-v2 .anime-score-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-score-block {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 96px;
  overflow: hidden;
  border-radius: 12px;
  gap: 8px 6px;
  padding: 12px 14px 14px;
  text-align: left;
  text-decoration: none;
  transition: transform var(--dur-fast);
}

.anime-hub-v2 .anime-score-block:hover {
  transform: translateY(-2px);
}

.anime-hub-v2 .anime-score-block.is-disabled {
  cursor: default;
}

.anime-hub-v2 .anime-score-block.is-disabled:hover {
  transform: none;
}

.anime-hub-v2 .anime-score-mal {
  background: #2E51A2;
  color: #fff;
}

.anime-hub-v2 .anime-score-imdb {
  background: #F5C518;
  color: #14100F;
}

.anime-hub-v2 .anime-score-editor {
  background: var(--brand-red);
  color: #fff;
}

.anime-hub-v2 .anime-score-comm {
  border: 1px solid var(--paper-300);
  background: var(--paper-050);
  color: var(--fg-strong);
}

.anime-hub-v2 .anime-score-logo {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  display: inline-block;
  width: fit-content;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: currentColor;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-score-logo-img {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  width: auto;
  height: 22px;
}

.anime-hub-v2 .anime-score-mal .anime-score-logo {
  color: #2E51A2;
}

.anime-hub-v2 .anime-score-imdb .anime-score-logo {
  background: #14100F;
  color: #F5C518;
}

.anime-hub-v2 .anime-score-comm .anime-score-logo {
  border: 1px solid rgba(175, 40, 42, 0.25);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-score-num {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-hub-v2 .anime-score-comm .anime-score-num {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-score-ext {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  opacity: 0.7;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.anime-hub-v2 .anime-score-block:hover .anime-score-ext {
  opacity: 1;
  transform: translate(2px, -2px);
}

.anime-hub-v2 .anime-score-block.is-disabled .anime-score-ext {
  display: none;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  margin-top: 18px;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message {
  flex-basis: 100%;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 > .anime-hub-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: var(--container);
  gap: 40px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
  padding-top: 60px;
}

.anime-hub-v2 .anime-hub-info-box {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px;
}

.anime-hub-v2 .anime-hub-info-box h3 {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-hub-info-box dl {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.anime-hub-v2 .anime-hub-info-box dt {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-hub-info-box dd {
  margin: 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.anime-hub-v2 .anime-hub-synopsis,
.anime-hub-v2 .anime-hub-synopsis p {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.anime-hub-v2 .anime-eps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.anime-hub-v2 .anime-ep-row {
  display: grid;
  grid-template-columns: 46px 110px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: inherit;
  padding: 10px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-hub-v2 .anime-ep-row:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.anime-hub-v2 .anime-ep-row .num {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.anime-hub-v2 .anime-ep-row img {
  width: 110px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.anime-hub-v2 .anime-ep-row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-hub-v2 .anime-ep-row .t {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-hub-v2 .anime-ep-row .m {
  overflow: hidden;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-hub-v2 .anime-ep-row .score {
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.anime-hub-v2 .anime-ep-row .checkbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
}

.anime-hub-v2 .anime-ep-row.is-filler .checkbtn {
  border-color: rgba(197, 138, 14, 0.28);
  background: rgba(197, 138, 14, 0.1);
  color: var(--accent-amber);
}

.anime-episode-single.anime-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.anime-episode-single .anime-breadcrumb {
  margin: 28px 0 0;
  padding: 0;
}

.anime-episode-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  overflow: hidden;
  overflow: clip;
  margin-top: 22px;
  isolation: isolate;
}

.anime-episode-profile__deco {
  position: absolute;
  right: 0;
  bottom: -88px;
  z-index: -1;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 320px;
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.055;
  pointer-events: none;
}

.anime-episode-profile__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: var(--bg-inverse);
}

.anime-episode-profile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(11, 8, 9, 0.72));
  pointer-events: none;
}

.anime-episode-profile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-episode-profile__code {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  border-radius: 6px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 10px;
}

.anime-episode-profile__body {
  align-self: center;
  min-width: 0;
}

.anime-episode-profile__body h1 {
  max-width: 620px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.anime-episode-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-episode-profile__meta a,
.anime-episode-profile__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  text-decoration: none;
}

.anime-episode-profile__meta a {
  border-color: rgba(175, 40, 42, 0.22);
  color: var(--brand-red);
}

.anime-episode-profile__summary {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

.anime-episode-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.anime-episode-profile__side {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.64fr);
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.anime-episode-profile__side dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.anime-episode-profile__side dl > div,
.anime-episode-profile__nav a {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  padding: 14px;
}

.anime-episode-profile__side dt,
.anime-episode-profile__nav span {
  margin: 0 0 6px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.anime-episode-profile__side dd,
.anime-episode-profile__nav strong {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.anime-episode-profile__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.anime-episode-profile__nav a {
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-episode-profile__nav a:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.anime-episode-profile__nav a:only-child {
  grid-column: 1 / -1;
}

.anime-episode-copy {
  max-width: 760px;
  margin-top: 42px;
}

.anime-episode-copy__body,
.anime-episode-copy__body p {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

.anime-episode-copy__body > :first-child {
  margin-top: 0;
}

.anime-episode-copy__body > :last-child {
  margin-bottom: 0;
}

.anime-glossary-single.anime-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.anime-glossary-single .anime-breadcrumb {
  margin: 28px 0 0;
  padding: 0;
}

.anime-glossary-hub-page.anime-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.anime-glossary-hub-page .anime-breadcrumb {
  margin: 28px 0 0;
  padding: 0;
}

.anime-glossary-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  overflow: clip;
  margin-top: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 40px;
  isolation: isolate;
}

.anime-glossary-hub-deco {
  position: absolute;
  right: 22px;
  bottom: -104px;
  z-index: -1;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 360px;
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.055;
  pointer-events: none;
}

.anime-glossary-hub-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  border: 1px solid rgba(175, 40, 42, 0.18);
  border-radius: 14px;
  background: rgba(175, 40, 42, 0.045);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(108px, 15vw, 188px);
  font-weight: 900;
  line-height: 0.9;
}

.anime-glossary-hub-body h1 {
  margin: 8px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.anime-glossary-hub-body p {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}

.anime-glossary-hub-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 680px;
  margin-top: 28px;
}

.anime-glossary-hub-search input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 18px;
  outline: none;
}

.anime-glossary-hub-search input[type="search"]:focus {
  border-color: rgba(175, 40, 42, 0.48);
  box-shadow: 0 0 0 3px rgba(175, 40, 42, 0.1);
}

.anime-glossary-hub-search button {
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0 24px;
}

.anime-glossary-index {
  margin-top: 30px;
}

.anime-glossary-index-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
}

.anime-glossary-index-head h2 {
  margin: 6px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.anime-glossary-index-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 13px;
  white-space: nowrap;
}

.anime-glossary-index-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-glossary-index-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(175, 40, 42, 0.18);
  border-radius: 999px;
  background: rgba(175, 40, 42, 0.045);
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 11px;
}

.anime-glossary-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.anime-glossary-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 250px;
  overflow: hidden;
  overflow: clip;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.anime-glossary-card:hover,
.anime-glossary-card:focus-visible {
  border-color: rgba(175, 40, 42, 0.36);
  transform: translateY(-2px);
}

.anime-glossary-card-symbol {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.9;
}

.anime-glossary-card-kicker {
  margin-top: 18px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.anime-glossary-card strong {
  margin-top: 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.anime-glossary-card p {
  margin: 14px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.anime-glossary-card-examples {
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  padding-top: 12px;
}

.anime-glossary-index-empty {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 0;
  padding: 18px;
}

.anime-glossary-term {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  overflow: hidden;
  overflow: clip;
  margin-top: 22px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 34px;
  isolation: isolate;
}

.anime-glossary-term__deco {
  position: absolute;
  right: 0;
  bottom: -96px;
  z-index: -1;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 360px;
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.055;
  pointer-events: none;
}

.anime-glossary-term__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
}

.anime-glossary-term__kanji {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(96px, 14vw, 176px);
  font-weight: 900;
  line-height: 0.9;
}

.anime-glossary-term__label {
  margin-top: 16px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-glossary-term__body {
  align-self: center;
}

.anime-glossary-term__body h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.anime-glossary-term__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.anime-glossary-term__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
}

.anime-glossary-term__summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
}

.anime-glossary-term__desc,
.anime-glossary-term__desc p {
  max-width: 720px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

.anime-glossary-follow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.anime-glossary-follow__panel {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 18px;
}

.anime-glossary-follow__panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.anime-glossary-follow__panel li {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
}

.anime-glossary-follow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.anime-glossary-follow__links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(175, 40, 42, 0.22);
  border-radius: 999px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  text-decoration: none;
}

.anime-lost-page.anime-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 96px;
}

.anime-lost-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
  overflow: clip;
  min-height: 440px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--bg-card);
  padding: 44px;
  isolation: isolate;
}

.anime-lost-deco {
  position: absolute;
  right: 24px;
  bottom: -120px;
  z-index: -1;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 360px;
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.055;
  pointer-events: none;
}

.anime-lost-code {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: clamp(84px, 14vw, 172px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.85;
}

.anime-lost-body h1 {
  max-width: 720px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.anime-lost-body p:not(.anime-section-eye) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
}

.anime-lost-search {
  width: min(520px, 100%);
  margin-top: 28px;
}

.anime-lost-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.anime-lost-routes a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "ja title"
    "ja meta";
  align-items: center;
  column-gap: 12px;
  min-height: 86px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-lost-routes a:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.anime-lost-routes .ja {
  grid-area: ja;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.anime-lost-routes strong {
  grid-area: title;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.anime-lost-routes em {
  grid-area: meta;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .anime-nav-inner,
  .anime-nav__inner {
    gap: 14px;
  }

  .anime-link,
  .anime-nav__links a {
    padding-inline: 9px;
  }

  .anime-search-btn,
  .anime-search-toggle {
    min-width: 190px;
  }

  .anime-nav.is-searching .anime-nav-inner,
  .anime-nav.is-searching .anime-nav__inner {
    gap: 28px;
  }

  .anime-hub-v2 > .anime-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-hub-hero {
    padding: 12px 16px 0;
  }

  .anime-hub-v2 .anime-hub-hero .anime-hub-poster {
    width: 44vw;
    min-width: 132px;
    max-width: 220px;
  }

  .anime-hub-v2 .anime-score-blocks {
    grid-template-columns: 1fr;
  }

  .anime-hub-v2 > .anime-hub-grid {
    margin-top: 28px;
    padding: 0 16px;
  }

  .anime-hub-v2 .anime-hub-chars,
  .anime-hub-v2 .anime-hub-row .anime-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-hub-v2 .anime-hub-row .anime-section-title {
    font-size: 30px;
  }

  .anime-hub-v2 .anime-ep-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .anime-hub-v2 .anime-ep-row img,
  .anime-hub-v2 .anime-ep-row .score {
    display: none;
  }

  .anime-episode-single.anime-page {
    padding: 0 16px 72px;
  }

  .anime-episode-profile {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .anime-episode-profile__side {
    grid-template-columns: 1fr;
  }

  .anime-episode-profile__side dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-episode-profile__nav {
    grid-template-columns: 1fr;
  }

  .anime-glossary-single.anime-page {
    padding: 0 16px 72px;
  }

  .anime-glossary-hub-page.anime-page {
    padding: 0 16px 72px;
  }

  .anime-glossary-hub-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .anime-glossary-hub-symbol {
    min-height: 190px;
  }

  .anime-glossary-hub-body h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .anime-glossary-hub-body p {
    font-size: 17px;
  }

  .anime-glossary-hub-search {
    grid-template-columns: 1fr;
  }

  .anime-glossary-hub-search button {
    min-height: 46px;
  }

  .anime-glossary-index-head {
    align-items: start;
    flex-direction: column;
  }

  .anime-glossary-index-grid {
    grid-template-columns: 1fr;
  }

  .anime-glossary-term,
  .anime-glossary-follow {
    grid-template-columns: 1fr;
  }

  .anime-glossary-term__symbol {
    min-height: 220px;
  }

  .anime-lost-page.anime-page {
    padding: 24px 16px 72px;
  }

  .anime-lost-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 30px 24px;
  }

  .anime-lost-routes {
    grid-template-columns: 1fr;
  }
}

/* Final site-v2 anime hub flow: the whole single page lives in one page container. */
.anime-hub-v2.anime-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
  line-height: normal;
}

.anime-hub-v2 .anime-breadcrumb {
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  text-transform: none;
}

.anime-hub-v2 .anime-hub-hero {
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-hub-v2 .anime-hub-cover-wrap {
  width: 100%;
}

.anime-hub-v2 .anime-hub-head {
  margin-top: 0;
}

.anime-hub-v2 .anime-section-eye {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: normal;
}

.anime-hub-v2 .anime-hub-meta {
  display: block;
  gap: normal;
  line-height: normal;
}

.anime-hub-v2 .anime-hub-section .anime-hub-h2,
.anime-hub-v2 .anime-block-section .anime-hub-h2 {
  display: block;
  margin: 39.84px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 56.64px;
}

.anime-hub-v2 .anime-hub-synopsis,
.anime-hub-v2 .anime-hub-synopsis p {
  margin: 15px 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.anime-hub-v2 .anime-hub-tags {
  gap: 6px;
  margin: 0;
}

.anime-hub-v2 .anime-hub-tags a,
.anime-hub-v2 .anime-hub-tag {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  padding: 0;
}

.anime-hub-v2 .anime-hub-info-box {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-hub-info-box h3 {
  margin: 36px 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.18;
  text-transform: none;
}

.anime-hub-v2 .anime-hub-info-box dl {
  display: block;
  margin: 16px 0;
}

.anime-hub-v2 .anime-hub-info-box dt {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  text-transform: none;
}

.anime-hub-v2 .anime-hub-info-box dd {
  margin: 0 0 0 40px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.anime-hub-v2 .anime-hub-hero .anime-hub-poster {
  width: 260px;
  min-width: 0;
  max-width: 100%;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message:empty {
  display: none;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  margin-top: 0;
}

.anime-hub-v2 .anime-btn {
  min-height: auto;
  padding: 11px 18px;
}

.anime-hub-v2 > .anime-hub-grid {
  max-width: none;
  margin: 0;
  padding: 0 24px;
}

.anime-hub-v2 > .anime-hub-grid > * {
  margin-block-start: 0;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
  padding-top: 60px;
}

@media (max-width: 1100px) {
  .anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
    padding-top: 24px;
  }
}

@media (max-width: 720px) {
  .anime-hub-v2.anime-page {
    padding: 0 24px 96px;
  }

  .anime-hub-v2 .anime-breadcrumb {
    margin-top: 28px;
    padding: 0;
  }

  .anime-hub-v2 .anime-hub-hero {
    padding: 0;
  }

  .anime-hub-v2 .anime-score-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-hub-v2 > .anime-hub-grid {
    margin: 0;
    padding: 0 24px;
  }

  .anime-hub-v2 .anime-hub-synopsis,
  .anime-hub-v2 .anime-hub-synopsis p {
    max-width: none;
  }

  .anime-hub-v2 .anime-hub-side {
    grid-template-columns: 200px 1fr;
    gap: 16px;
  }

  .anime-hub-v2 .anime-hub-side-links {
    grid-column: auto;
  }

  .anime-hub-v2 .anime-guide-teaser {
    padding: 18px 20px;
  }

  .anime-hub-v2 #anime-seasons .anime-hub-seasons {
    min-height: 295.5px;
  }

  .anime-hub-v2 #anime-characters .anime-char:nth-child(1) {
    height: 196px;
  }

  .anime-hub-v2 #anime-characters .anime-char:nth-child(n+2):nth-child(-n+5) {
    height: 184.33px;
  }

  .anime-hub-v2 #anime-characters .anime-char:nth-child(6) {
    height: 170.33px;
  }

  .anime-hub-v2 #anime-characters .anime-char:nth-child(n+2) img {
    height: 93.33px;
  }
}

.anime-hub-v2 .anime-comments-block {
  gap: 20px;
}

.anime-hub-v2 .anime-comments-head {
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.anime-hub-v2 .anime-comments-count-tag {
  min-height: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-red);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 0;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-comments-sort {
  gap: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-comments-sort > span {
  margin-right: 6px;
}

.anime-hub-v2 .anime-comments-sort button {
  border-radius: 6px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
}

.anime-hub-v2 .anime-comments-sort button.is-on {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-hub-v2 .anime-composer {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 16px;
}

.anime-hub-v2 .anime-composer .av {
  display: block;
  width: 44px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--fg-primary);
  font-size: 16px;
  font-weight: 400;
}

.anime-hub-v2 .composer-body,
.anime-hub-v2 .composer-actions {
  display: block;
}

.anime-hub-v2 .anime-composer .anime-btn {
  padding: 7px 12px;
}

.anime-hub-v2 .anime-review-composer {
  margin-bottom: 14px;
}

.anime-hub-v2 .anime-review-composer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.anime-hub-v2 .anime-review-composer-top label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
}

.anime-hub-v2 .anime-review-composer-top select {
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-page);
  color: var(--fg-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 0 28px 0 10px;
}

.anime-hub-v2 .anime-review-spoiler input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-red);
}

@media (max-width: 520px) {
  .anime-hub-v2 .anime-review-composer {
    grid-template-columns: minmax(0, 1fr);
  }

  .anime-hub-v2 .anime-review-composer > .av {
    display: none;
  }
}

.anime-hub-v2 .composer-body textarea {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14.5px;
  line-height: 1.55;
  padding: 6px 0;
}

.anime-hub-v2 .anime-composer-message:empty {
  display: none;
}

.anime-hub-v2 .anime-comments-side-block {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-comments-side-block h3 {
  margin: 36px 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.18;
}

.anime-hub-v2 .anime-comments-side-block p {
  margin: 15px 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.anime-hub-v2 .anime-comments-side-block a {
  display: inline;
  margin: 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
}

.anime-hub-v2 .anime-rate-big {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.anime-hub-v2 .anime-rate-big span {
  color: inherit;
  font: inherit;
  margin-left: 0;
}

.anime-hub-v2 .anime-review-summary {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.anime-hub-v2 .anime-review-summary-score {
  color: #1f7a44;
}

.anime-hub-v2 .anime-review-dist {
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-hub-row .anime-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
  }

  .anime-hub-v2 .anime-hub-row .anime-section-head .lhs {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .anime-hub-v2 .anime-hub-row .anime-section-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 36px;
    line-height: 1.02;
  }

  .anime-hub-v2 .anime-breadcrumb {
    min-height: 40px;
  }

  .anime-hub-v2 .anime-hub-row {
    padding: 52px 0;
  }

  .anime-hub-v2 .anime-hub-row-inner {
    padding: 0 24px;
  }

  .anime-hub-v2 .anime-comments-layout {
    gap: 32px;
  }
}

/* site-v2 anime directory parity. */
.anime-list-page {
  max-width: none;
  padding: 0 0 96px;
}

.anime-list-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  gap: 8px;
  margin: 28px auto 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.anime-list-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-list-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-list-page .anime-breadcrumb .sep {
  color: var(--border-strong);
}

.anime-list-hero {
  position: static;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 0 auto;
  overflow: visible;
  padding: 0;
  line-height: normal;
}

.anime-list-hero-deco {
  position: static;
  transform: none;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.anime-list-hero-inner {
  position: static;
  z-index: auto;
  max-width: none;
  line-height: normal;
}

.anime-list-hero .anime-section-eye {
  display: inline;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}

.anime-list-hero h1 {
  margin: 42.88px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.anime-list-hero p {
  max-width: none;
  margin: 15px 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.anime-list-toolbar,
.anime-list-grid-wrap {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px;
}

.anime-list-toolbar {
  margin-top: 8px;
}

.anime-list-toolbar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.anime-list-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--fg-tertiary);
  padding: 0 14px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.anime-list-search:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(175, 40, 42, 0.08);
}

.anime-list-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
}

.anime-list-search input::placeholder {
  color: var(--fg-tertiary);
  font-weight: 500;
}

.anime-list-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.anime-btn-sm {
  min-height: 38px;
  border-radius: 9px;
  font-size: 13px;
  padding: 0 12px;
}

.anime-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 48px;
  z-index: 20;
  display: flex;
  min-width: 210px;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  padding: 6px;
}

.anime-dropdown a {
  border-radius: 8px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
  text-decoration: none;
}

.anime-dropdown a:hover {
  background: var(--paper-050);
  color: var(--brand-red);
}

.anime-list-layout {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
}

.anime-list-layout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
}

.anime-list-layout-btn:hover,
.anime-list-layout-btn.is-active {
  color: var(--brand-red);
}

.anime-list-layout-btn.is-active {
  background: rgba(175, 40, 42, 0.08);
}

/* User profile, library, settings and recommendation pages from site-v2. */
.anime-user-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-user-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.anime-user-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-user-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-prof-hero,
.anime-settings-head,
.anime-create-head,
.anime-rec-hero,
.anime-listim-head {
  margin: 18px 0 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
}

.anime-prof-cover {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: var(--paper-200);
}

.anime-prof-cover img,
.anime-prof-avatar img,
.anime-prof-fav-grid img,
.anime-user-list-card img,
.anime-create-list img,
.anime-rec-card img,
.anime-prof-watching img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-prof-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.anime-prof-id {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding: 0 28px 18px;
}

.anime-prof-avatar {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid var(--bg-card);
  border-radius: 50%;
  margin-top: -38px;
  background: var(--paper-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.anime-prof-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
}

.anime-prof-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
}

.anime-prof-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.anime-prof-name-row h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-prof-user {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.anime-prof-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-prof-hero-body {
  padding: 0 28px 22px;
}

.anime-prof-bio {
  max-width: 640px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
}

.anime-prof-tabs {
  display: flex;
  overflow-x: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 0 18px;
  scrollbar-width: none;
}

.anime-prof-tabs::-webkit-scrollbar {
  display: none;
}

.anime-prof-tabs button,
.anime-settings-nav button {
  border: 0;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
}

.anime-prof-tabs button {
  position: relative;
  padding: 16px 12px;
  white-space: nowrap;
}

.anime-prof-tabs button.is-active,
.anime-prof-tabs button.is-on,
.anime-settings-nav button.is-active {
  color: var(--brand-red);
}

.anime-prof-tabs button.is-active::after,
.anime-prof-tabs button.is-on::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background: var(--brand-red);
}

.anime-prof-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.anime-prof-side {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anime-prof-block,
.anime-prof-sec,
.anime-settings-body,
.anime-create-form,
.anime-create-preview {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 20px;
}

.anime-prof-block h3,
.anime-prof-sec-head h2,
.anime-settings-body h2,
.anime-create-section-title {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-prof-block h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.anime-prof-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.anime-prof-stat,
.anime-prof-fav-card,
.anime-prof-watching a {
  display: grid;
  align-items: center;
  gap: 10px;
}

.anime-prof-stat {
  grid-template-columns: 36px minmax(0, 1fr);
}

.anime-prof-stat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-weight: 900;
}

.anime-prof-stat-ic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.anime-prof-stat strong {
  display: block;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.anime-prof-stat span:last-child,
.anime-prof-fav-card span,
.anime-prof-watching span,
.anime-user-list-card span,
.anime-rec-card span {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.anime-prof-fav-card,
.anime-prof-watching a {
  color: inherit;
  text-decoration: none;
}

.anime-prof-fav-card {
  grid-template-columns: 72px minmax(0, 1fr);
}

.anime-prof-fav-pick {
  display: block;
}

.anime-prof-fav-pick > .anime-prof-fav-card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

a.anime-prof-fav-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.anime-prof-fav-pick > .anime-prof-fav-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
}

.anime-prof-fav-title {
  margin-top: 9px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.anime-prof-fav-card.anime-prof-fav-char {
  grid-template-columns: 56px minmax(0, 1fr);
}

.anime-prof-fav-char .anime-prof-fav-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
}

.anime-prof-fav-char .anime-prof-fav-card:hover {
  transform: none;
}

.anime-prof-fav-char .anime-prof-fav-card img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.anime-prof-fav-card img {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--paper-200);
}

.anime-prof-fav-char img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.anime-prof-fav-card strong,
.anime-prof-watching strong,
.anime-user-list-card h2,
.anime-rec-card h3 {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-weight: 800;
}

.anime-prof-watching {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-prof-watching a {
  grid-template-columns: 42px minmax(0, 1fr);
}

.anime-prof-watching img {
  aspect-ratio: 3 / 4;
  border-radius: 7px;
}

.anime-prof-chips,
.anime-create-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.anime-prof-chips a,
.anime-prof-chips span,
.anime-create-tags button {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 10px;
  text-decoration: none;
}

.anime-prof-block-more {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.anime-prof-hist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anime-prof-hist-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-prof-hist-row div {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: var(--paper-200);
}

.anime-prof-hist-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-red);
}

.anime-prof-hist-row b {
  color: var(--fg-secondary);
  font-weight: 800;
  text-align: right;
}

.anime-prof-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.anime-prof-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 8%, var(--bg-card));
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 15px;
  font-weight: 900;
}

.anime-prof-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.anime-prof-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.anime-prof-sec-head h2 {
  font-size: 22px;
}

.anime-prof-sec-head a {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.anime-prof-fav-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.anime-prof-fav-grid a {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
}

.anime-prof-2col,
.anime-settings-layout,
.anime-create-layout {
  display: grid;
  gap: 24px;
}

.anime-prof-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anime-prof-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-prof-activity li {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.anime-prof-activity span {
  display: block;
  margin-top: 3px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-prof-reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-prof-reviews li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-page);
  padding: 12px;
}

.anime-review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: color-mix(in srgb, #1f9d57 16%, transparent);
  color: #1a8f4e;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.anime-review-score.is-mid {
  background: color-mix(in srgb, var(--accent-amber) 24%, transparent);
  color: #a9760a;
}

.anime-prof-reviews a {
  color: var(--fg-strong);
  text-decoration: none;
}

.anime-prof-reviews a:hover {
  color: var(--brand-red);
}

.anime-prof-reviews span:not(.anime-review-score) {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-prof-heatmap p {
  margin: 0 0 12px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-prof-heat-grid {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 5px;
}

.anime-prof-heat-grid span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--paper-200);
}

.anime-prof-heat-grid .is-l1 {
  background: color-mix(in srgb, var(--brand-red) 26%, var(--paper-100));
}

.anime-prof-heat-grid .is-l2 {
  background: color-mix(in srgb, var(--brand-red) 50%, var(--paper-100));
}

.anime-prof-heat-grid .is-l3 {
  background: color-mix(in srgb, var(--brand-red) 74%, var(--paper-100));
}

.anime-prof-heat-grid .is-l4 {
  background: var(--brand-red);
}

.anime-user-empty {
  margin: 0;
  border: 1px dashed var(--border-subtle);
  border-radius: 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  padding: 24px;
}

.anime-listim-head,
.anime-settings-head,
.anime-create-head {
  padding: 28px 32px;
}

.anime-listim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.anime-listim-head h1,
.anime-settings-head h1,
.anime-create-head h1,
.anime-rec-hero h1 {
  margin: 10px 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-listim-head p,
.anime-settings-head p,
.anime-create-head p,
.anime-rec-hero p,
.anime-user-list-card p,
.anime-rec-card p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
}

.anime-user-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.anime-user-list-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-user-list-card img {
  aspect-ratio: 16 / 9;
}

.anime-user-list-card div {
  padding: 18px;
}

.anime-user-list-card h2 {
  margin: 5px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.anime-create-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.anime-user-page .anime-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

.anime-user-page .anime-form-row > label,
.anime-user-page .anime-form-row > span:first-child {
  color: var(--fg-strong);
}

.anime-user-page .anime-form-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.anime-user-page .anime-form-hint {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.anime-user-page .anime-form-row input,
.anime-user-page .anime-form-row textarea,
.anime-user-page .anime-form-row select,
.anime-user-page .anime-list-search input {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-page);
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 13px 14px;
}

.anime-create-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anime-user-page .anime-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-page);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.anime-user-page .anime-chip.is-active {
  border-color: color-mix(in srgb, var(--brand-red) 34%, var(--border-subtle));
  background: color-mix(in srgb, var(--brand-red) 8%, var(--bg-card));
  color: var(--brand-red);
}

.anime-user-page .anime-chip.is-add {
  cursor: pointer;
}

.anime-user-page .anime-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.anime-user-page .anime-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-red);
}

.anime-user-page .anime-form-actions,
.anime-user-page .anime-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anime-form-message {
  margin: 18px 0 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  padding: 11px 13px;
}

.anime-form-message[data-tone="success"] {
  border-color: rgba(46, 138, 96, 0.28);
  background: var(--status-watching-bg);
  color: var(--status-watching-fg);
}

.anime-form-message[data-tone="error"] {
  border-color: rgba(175, 40, 42, 0.28);
  background: var(--status-dropped-bg);
  color: var(--status-dropped-fg);
}

.anime-form-message[data-tone="neutral"] {
  margin-bottom: 18px;
}

.anime-settings-site .anime-listim-head {
  margin: 10px 0 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 0 24px;
}

.anime-settings-site .anime-listim-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.anime-settings-site .anime-settings-title p {
  max-width: 520px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
}

.anime-settings-flow {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.anime-settings-flow-nav {
  position: sticky;
  top: calc(var(--nav-h, 72px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anime-settings-flow-nav a {
  border-left: 2px solid transparent;
  border-radius: 9px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.anime-settings-flow-nav a:hover {
  background: var(--paper-100);
  color: var(--fg-strong);
}

.anime-settings-flow-nav a.is-active {
  border-left-color: var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 7%, transparent);
  color: var(--brand-red);
  font-weight: 600;
}

.anime-settings-flow-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}

.anime-setting-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 26px 28px;
  scroll-margin-top: 90px;
}

.anime-setting-card h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}

.anime-setting-avatar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.anime-setting-avatar img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper-200);
  object-fit: cover;
}

.anime-setting-avatar p {
  margin: 8px 0 0;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-settings-site .anime-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.anime-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.anime-field > span {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.anime-field input,
.anime-field textarea,
.anime-field select {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 11px 13px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.anime-field textarea {
  min-height: 120px;
  resize: vertical;
}

.anime-field input:focus,
.anime-field textarea:focus,
.anime-field select:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-red) 14%, transparent);
  outline: none;
}

.anime-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.anime-setting-row > div:first-child {
  flex: 1;
  min-width: 200px;
}

.anime-setting-row strong {
  display: block;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
}

.anime-setting-row p {
  margin: 3px 0 0;
  color: var(--fg-tertiary);
  font-size: 13px;
}

.anime-setting-danger {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.anime-settings-site .anime-btn-danger {
  border: 1px solid color-mix(in srgb, var(--brand-red) 30%, transparent);
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
}

.anime-settings-site .anime-btn-danger:hover {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.anime-seg {
  display: inline-flex;
  gap: 3px;
  border-radius: 10px;
  background: var(--paper-100);
  padding: 3px;
}

.anime-seg button {
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.anime-seg button:hover {
  color: var(--fg-strong);
}

.anime-seg button.is-on {
  background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: var(--brand-red);
}

.anime-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.anime-switch-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.anime-switch-text strong {
  display: block;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

.anime-switch-text span {
  color: var(--fg-tertiary);
  font-size: 12.5px;
}

.anime-switch {
  position: relative;
  flex: 0 0 auto;
}

.anime-switch input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.anime-switch-track {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--paper-200);
  transition: background var(--dur-fast);
}

.anime-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur-fast);
}

.anime-switch input:checked + .anime-switch-track {
  background: var(--brand-red);
}

.anime-switch input:checked + .anime-switch-track::after {
  transform: translateX(18px);
}

.anime-settings-save {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.anime-settings-saved {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .anime-settings-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .anime-settings-flow-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .anime-settings-site .anime-form-grid {
    grid-template-columns: 1fr;
  }
}

.anime-create-layout.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.anime-user-empty {
  align-items: flex-start;
  max-width: 620px;
  margin-top: 28px;
  text-align: left;
}

a.anime-user-list-card {
  color: inherit;
  text-decoration: none;
}

a.anime-user-list-card:hover h2 {
  color: var(--brand-red);
}

.anime-user-list-card h2,
.anime-user-list-card p,
.anime-user-list-card span {
  text-decoration: none;
}

.anime-create-section-title {
  margin: 26px 0 14px;
  font-size: 22px;
}

.anime-create-page .anime-list-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-page);
  padding: 0 13px;
}

.anime-create-page .anime-list-search svg {
  flex: 0 0 auto;
  color: var(--fg-tertiary);
}

.anime-create-page .anime-list-search input {
  border: 0;
  background: transparent;
  padding-right: 0;
  padding-left: 0;
}

.anime-create-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.anime-create-list li {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-page);
  padding: 12px;
}

.anime-create-list .rk {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-weight: 900;
}

.anime-create-list img {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
}

.anime-create-list h3 {
  margin: 0 0 3px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
}

.anime-create-list .body > span,
.anime-create-list p {
  margin: 0 0 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.anime-create-list .actions {
  display: flex;
  gap: 4px;
}

.anime-create-list .actions .anime-icon-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

.anime-create-list .actions .is-danger {
  color: var(--brand-red);
}

.anime-create-note {
  display: block;
  width: min(100%, 520px);
  margin-top: 7px;
}

.anime-card-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-page);
}

.anime-card-list .cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.anime-card-list .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-card-list .tag-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
}

.anime-card-list .body {
  padding: 16px;
}

.anime-card-list h3 {
  margin: 0 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
}

.anime-card-list p {
  margin: 0 0 12px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.anime-create-tip {
  margin: 14px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.55;
}

.anime-settings-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}

.anime-settings-nav {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-settings-nav button {
  border-left: 2px solid transparent;
  border-radius: 9px;
  padding: 11px 14px;
  text-align: left;
}

.anime-settings-nav button:hover,
.anime-settings-nav button.is-active {
  background: color-mix(in srgb, var(--brand-red) 7%, transparent);
  border-left-color: var(--brand-red);
}

.anime-settings-body {
  max-width: 760px;
}

.anime-settings-body h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.anime-user-page .anime-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
}

.anime-rec-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 40px 48px;
}

.anime-rec-hero-deco {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 260px;
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.06;
  pointer-events: none;
}

.anime-rec-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.anime-rec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 20px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-rec-section {
  margin-top: 48px;
}

.anime-rec-section .anime-section-head {
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.anime-rec-section .anime-section-head h2 {
  margin: 0;
  font-size: 30px;
}

.anime-rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.anime-rec-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-rec-card .poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-200);
}

.anime-rec-card .poster img {
  aspect-ratio: 3 / 4;
}

.anime-rec-card .score,
.anime-rec-page .anime-poster-card .score {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 7px;
}

.anime-rec-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.anime-rec-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.anime-rec-card .meta,
.anime-rec-card .reason {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
}

.anime-rec-card .reason {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.anime-rec-card .reason strong {
  color: var(--brand-red);
  font-weight: 800;
}

.anime-rec-card .actions,
.anime-rec-meta-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.anime-rec-page .anime-list-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-rec-page .anime-poster-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.anime-rec-page .anime-poster-card .poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform 360ms var(--ease-out);
}

.anime-rec-page .anime-poster-card:hover .poster {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-rec-page .anime-poster-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-rec-page .anime-poster-card h3 {
  margin: 10px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.anime-rec-page .anime-poster-card:hover h3 {
  color: var(--brand-red);
}

.anime-rec-page .anime-poster-card .meta {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.anime-rec-meta .anime-link {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--brand-red);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  padding: 0;
}

.anime-rec-meta-foot {
  margin-top: 56px;
}

.anime-rec-meta-foot-inner {
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 26px 30px;
}

.anime-rec-meta-foot p {
  max-width: 880px;
  margin: 8px 0 18px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .anime-prof-layout,
  .anime-settings-layout,
  .anime-create-layout {
    grid-template-columns: 1fr;
  }

  .anime-prof-side,
  .anime-settings-nav,
  .anime-create-preview {
    position: static;
  }

  .anime-user-card-grid,
  .anime-rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-rec-page .anime-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .anime-user-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-prof-id,
  .anime-listim-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-prof-actions {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .anime-prof-cover {
    height: 140px;
  }

  .anime-prof-avatar {
    width: 92px;
    height: 92px;
  }

  .anime-prof-2col,
  .anime-user-card-grid,
  .anime-rec-grid {
    grid-template-columns: 1fr;
  }

  .anime-rec-page .anime-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .anime-create-list li {
    grid-template-columns: 34px 52px minmax(0, 1fr);
  }

  .anime-create-list .actions {
    grid-column: 2 / -1;
    justify-content: flex-end;
  }

  .anime-create-actions .anime-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .anime-prof-fav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anime-settings-nav {
    flex-flow: row wrap;
  }

  .anime-rec-hero {
    padding: 36px 22px 30px;
  }
}

.anime-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.anime-list-chips .anime-chip {
  min-height: 32px;
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}

.anime-list-chips .anime-chip:hover,
.anime-list-chips .anime-chip.is-active {
  border-color: var(--brand-red);
  background: var(--bg-card);
  color: var(--brand-red);
}

.anime-list-grid-wrap {
  margin-top: 36px;
}

.anime-list-grid-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.anime-list-grid-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-list-grid-page {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.anime-list-grid-wrap .anime-block-section {
  margin: 0;
}

.anime-list-grid-wrap .anime-section-head {
  display: none;
}

.anime-list-grid-wrap .anime-list-grid,
.anime-list-grid-wrap .anime-anime-grid {
  display: grid;
  grid-template-columns: repeat(var(--anime-grid-columns, 6), minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-list-grid-wrap .anime-poster-card,
.anime-list-grid-wrap .anime-anime-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.anime-list-grid-wrap .anime-poster-card .poster,
.anime-list-grid-wrap .anime-anime-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform 360ms var(--ease-out);
}

.anime-list-grid-wrap .anime-poster-card:hover .poster,
.anime-list-grid-wrap .anime-anime-card:hover .anime-anime-card__media {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-list-grid-wrap .anime-poster-card .poster img,
.anime-list-grid-wrap .anime-anime-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-list-grid-wrap .anime-anime-card__badge {
  top: 8px;
  left: 8px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
}

.anime-list-grid-wrap .anime-anime-card__score {
  top: 8px;
  right: 8px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
}

.anime-list-grid-wrap .anime-poster-card .score {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 7px;
}

.anime-list-grid-wrap .anime-anime-card__body {
  padding: 10px 0 0;
}

.anime-list-grid-wrap .anime-poster-card h3,
.anime-list-grid-wrap .anime-anime-card__body h3 {
  margin: 10px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.anime-list-grid-wrap .anime-anime-card__body h3 a {
  text-decoration: none;
}

.anime-list-grid-wrap .anime-anime-card__body h3 a:hover {
  color: var(--brand-red);
}

.anime-list-grid-wrap .anime-poster-card:hover h3 {
  color: var(--brand-red);
}

.anime-list-grid-wrap .anime-poster-card .meta,
.anime-list-grid-wrap .anime-anime-card__body span {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-list-grid-wrap .anime-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.anime-list-grid-wrap .anime-pagination a,
.anime-list-grid-wrap .anime-pagination span,
.anime-list-grid-wrap .anime-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.anime-list-grid-wrap .anime-pagination a:hover,
.anime-list-grid-wrap .anime-pagination .current {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* site-v2 genre taxonomy parity. */
.anime-genre-page {
  max-width: none;
  padding: 0 0 96px;
}

.anime-genre-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 28px auto 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.anime-genre-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-genre-page .anime-breadcrumb a:hover {
  color: var(--brand-red);
}

.anime-genre-page .anime-breadcrumb .sep {
  color: var(--border-strong);
}

.anime-genre-hero,
.anime-genre-section {
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.anime-genre-hero {
  position: static;
  overflow: visible;
  margin-top: 0;
  line-height: normal;
}

.anime-genre-hero-deco {
  position: static;
  display: inline;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  opacity: 1;
  pointer-events: none;
  transform: none;
  user-select: none;
}

.anime-genre-hero-inner {
  position: static;
  z-index: 1;
  max-width: none;
  line-height: normal;
  margin-block-start: 0 !important;
}

.anime-genre-hero .anime-section-eye {
  font-size: 11.5px;
  font-weight: 700;
}

.anime-genre-hero h1 {
  margin: 0.67em 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.anime-genre-hero p {
  max-width: none;
  margin: 1em 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
}

.anime-genre-hero .wp-block-term-description {
  margin: 0 0 15px;
}

.anime-genre-hero .wp-block-term-description p {
  margin: 0;
}

.anime-genre-hero .term-description:empty,
.anime-genre-hero .wp-block-term-description:empty {
  display: none;
}

.anime-genre-hero .term-description:not(:empty) + .anime-genre-fallback,
.anime-genre-hero .wp-block-term-description:not(:empty) + .anime-genre-fallback {
  display: none;
}

.anime-genre-stats {
  display: block;
  margin: 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: normal;
}

.anime-genre-stats strong {
  color: var(--fg-strong);
}

.anime-genre-section {
  margin-top: 0;
}

.anime-genre-section .anime-block-section {
  margin: 0;
}

.anime-genre-section .anime-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.anime-genre-section .anime-section-head h2,
.anime-genre-section .anime-block-section .anime-section-head h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.anime-genre-section .anime-list-grid,
.anime-genre-section .anime-anime-grid {
  display: grid;
  grid-template-columns: repeat(var(--anime-grid-columns, 6), minmax(0, 1fr));
  gap: 22px 20px;
}

.anime-genre-section .anime-poster-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.anime-genre-section .anime-poster-card .poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  background: var(--paper-200);
  transition: border-color var(--dur-fast), transform 360ms var(--ease-out);
}

.anime-genre-section .anime-poster-card:hover .poster {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.anime-genre-section .anime-poster-card .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-genre-section .anime-poster-card .score {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 5px;
  background: rgba(20, 16, 15, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 7px;
}

.anime-genre-section .anime-poster-card h3 {
  margin: 10px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.anime-genre-section .anime-poster-card:hover h3 {
  color: var(--brand-red);
}

.anime-genre-section .anime-poster-card .meta {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-genre-starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.anime-genre-starter-card {
  display: grid;
  grid-template-columns: 44px 86px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.anime-genre-starter-card .rank {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.anime-genre-starter-card img {
  width: 86px;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.anime-genre-starter-card .body {
  min-width: 0;
}

.anime-genre-starter-card h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
}

.anime-genre-starter-card p {
  margin: 8px 0 12px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
}

.anime-genre-starter-card .anime-link {
  height: auto;
  padding: 0;
  color: var(--brand-red);
  font-size: 13px;
}

.anime-genre-cross-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.anime-genre-cross-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px;
  text-decoration: none;
}

.anime-genre-cross-card .anime-kanji {
  position: absolute;
  right: 10px;
  bottom: -28px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.08;
}

.anime-genre-cross-card h3 {
  position: relative;
  margin: 0 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.anime-genre-cross-card span:not(.anime-kanji) {
  position: relative;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-genre-cross-card:hover {
  border-color: var(--brand-red);
}

@media (max-width: 1100px) {
  .anime-genre-section .anime-list-grid,
  .anime-genre-section .anime-anime-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .anime-genre-starter-grid {
    grid-template-columns: 1fr;
  }

  .anime-genre-cross-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anime-genre-page {
    padding-bottom: 72px;
  }

  .anime-genre-page .anime-breadcrumb,
  .anime-genre-section {
    width: calc(100% - 48px);
    padding-right: 0;
    padding-left: 0;
  }

  .anime-genre-page .anime-breadcrumb {
    width: calc(100% - 48px);
    padding-right: 0;
    padding-left: 0;
  }

  .anime-genre-hero {
    width: calc(100% - 48px);
    padding: 0;
  }

  .anime-genre-hero h1 {
    font-size: 64px;
  }

  .anime-genre-hero p {
    font-size: 15px;
  }

  .anime-genre-section {
    margin-top: 0;
  }

  .anime-genre-section .anime-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }

  .anime-genre-section .anime-section-head h2,
  .anime-genre-section .anime-block-section .anime-section-head h2 {
    font-size: 28px;
  }

  .anime-genre-section .anime-list-grid,
  .anime-genre-section .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .anime-genre-starter-card {
    grid-template-columns: 38px 74px minmax(0, 1fr);
    gap: 12px;
    border-radius: 12px;
    padding: 12px;
  }

  .anime-genre-starter-card img {
    width: 74px;
  }

  .anime-genre-starter-card h3 {
    font-size: 17px;
  }

  .anime-genre-starter-card p {
    font-size: 12.5px;
  }

  .anime-genre-cross-grid {
    grid-template-columns: 1fr;
  }
}

/* /site/tur.html parity for the server-rendered taxonomy block. */
.anime-tax-site.anime-genre-page {
  width: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px 96px;
}

.anime-tax-site.anime-genre-page .anime-breadcrumb {
  width: auto;
  max-width: none;
  margin: 28px 0 0;
  padding-right: 0;
  padding-left: 0;
}

.anime-tax-site.anime-genre-page .anime-category-hero {
  margin: 32px 0 0;
  padding: 36px 40px;
  border-radius: 18px;
}

.anime-tax-site.anime-genre-page .anime-category-hero::before {
  content: none;
}

.anime-tax-site.anime-genre-page .anime-category-hero-inner {
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  min-width: 0;
  padding: 0;
}

.anime-tax-site.anime-genre-page .anime-category-hero h1 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-tax-site.anime-genre-page .anime-category-desc {
  max-width: 640px;
  margin: 4px 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
}

.anime-tax-site.anime-genre-page .anime-category-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-tax-site.anime-genre-page .anime-category-meta span {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  padding: 0;
}

.anime-tax-site.anime-genre-page .anime-category-meta strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
}

.anime-season-index.anime-genre-page .anime-category-hero h1 {
  font-size: clamp(40px, 4.6vw, 60px);
}

.anime-character-index.anime-genre-page .anime-category-hero h1 {
  font-size: clamp(40px, 4.7vw, 64px);
}

.anime-character-index.anime-genre-page .anime-character-toolbar {
  margin: 32px 0 24px;
}

.anime-character-index.anime-genre-page .anime-archive-search {
  flex: 0 1 260px;
  min-width: 200px;
}

.anime-character-index.anime-genre-page .anime-chars-grid {
  width: auto;
  max-width: none;
  margin: 0;
}

.anime-character-index .anime-char-v2-body h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.anime-character-index .anime-char-v2:hover .anime-char-v2-body h2 {
  color: var(--brand-red);
}

.anime-character-index .anime-char-v2-body h2,
.anime-character-index .anime-char-v2-va {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-tax-site.anime-genre-page .anime-category-hero,
.anime-tax-site.anime-genre-page .anime-cat-tags,
.anime-tax-site.anime-genre-page .anime-tax-site-grid,
.anime-tax-site.anime-genre-page .anime-cat-empty {
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.anime-tax-site.anime-genre-page .anime-cat-tags {
  margin-block: 24px;
}

@media (max-width: 720px) {
  .anime-tax-site.anime-genre-page {
    padding-inline: 24px;
  }

  .anime-tax-site.anime-genre-page .anime-category-hero {
    padding: 28px 24px;
  }
}

@media (max-width: 1100px) {
  .anime-tax-site-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-tax-site-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-tax-site.anime-genre-page .anime-category-hero h1 {
    font-size: 36px;
  }

  .anime-season-index.anime-genre-page .anime-category-hero h1 {
    font-size: 40px;
  }

  .anime-tax-site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .anime-list-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-list-toolbar-row {
    align-items: stretch;
    flex-direction: column;
  }

  .anime-list-actions {
    justify-content: space-between;
    width: 100%;
  }

  .anime-dropdown {
    right: auto;
    left: 0;
  }

  .anime-list-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-list-page .anime-breadcrumb {
    width: calc(100% - 48px);
    padding-right: 0;
    padding-left: 0;
  }

  .anime-list-toolbar,
  .anime-list-grid-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .anime-list-hero {
    width: calc(100% - 48px);
    padding: 0;
  }

  .anime-list-hero h1 {
    font-size: 64px;
  }

  .anime-list-grid-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .anime-list-grid-wrap .anime-anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
}

/* Final directory alignment: static site-v2 keeps directory sections inside the 1192px content rail. */
.anime-list-page .anime-list-toolbar,
.anime-list-page .anime-list-grid-wrap,
.anime-characters-page .anime-list-toolbar,
.anime-characters-page .anime-list-grid-wrap {
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 560px) {
  .anime-list-page .anime-list-toolbar,
  .anime-list-page .anime-list-grid-wrap,
  .anime-characters-page .anime-list-toolbar,
  .anime-characters-page .anime-list-grid-wrap {
    width: calc(100% - 32px);
    padding-right: 0;
    padding-left: 0;
  }
}

/* site-v2 anime calendar parity. */
.anime-calendar-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.anime-cal-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  line-height: normal;
  padding: 50px 0 24px;
}

.anime-cal-hero-lhs {
  flex: 1 1 460px;
  min-width: 0;
}

.anime-cal-hero-title {
  margin: 10px 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-cal-hero-title .ja {
  margin-left: 8px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0;
}

.anime-cal-hero-sub {
  max-width: 540px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
}

.anime-cal-hero-sub strong {
  color: var(--brand-red);
}

.anime-cal-nextup {
  display: inline-flex;
  align-items: center;
  max-width: 390px;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 10px 14px 10px 16px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-cal-nextup:hover {
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.anime-cal-nextup .dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-red);
  animation: anime-cal-pulse 1.8s ease-out infinite;
}

@keyframes anime-cal-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(175, 40, 42, 0.38);
  }

  100% {
    box-shadow: 0 0 0 9px rgba(175, 40, 42, 0);
  }
}

.anime-cal-nextup .info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.anime-cal-nextup .lbl {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-cal-nextup .t {
  overflow: hidden;
  margin-top: 4px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-cal-nextup .cd {
  margin-top: 4px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.anime-cal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.anime-cal-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.anime-cal-season-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}

.anime-cal-season-tabs a:hover,
.anime-cal-season-tabs a.is-on {
  border-color: var(--brand-red);
  background: rgba(175, 40, 42, 0.08);
  color: var(--brand-red);
}

.anime-calendar-page .anime-cal-season-tabs {
  display: none;
}

.anime-cal-views {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  padding: 3px;
}

.anime-cal-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.anime-cal-view.is-on {
  background: var(--brand-red);
  color: #fff;
}

.anime-cal-view:hover:not(.is-on) {
  color: var(--fg-strong);
}

.anime-cal-controls-rhs,
.anime-cal-layout,
.anime-cal-nav-group {
  display: inline-flex;
  align-items: center;
}

.anime-cal-controls-rhs {
  gap: 10px;
}

.anime-cal-layout,
.anime-cal-nav-group {
  gap: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 3px;
}

.anime-cal-layout button,
.anime-cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  padding: 0;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.anime-cal-layout button:hover,
.anime-cal-nav-btn:hover {
  background: var(--paper-100);
  color: var(--brand-red);
}

.anime-cal-layout button.is-on {
  background: var(--brand-red);
  color: #fff;
}

.anime-cal-full {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.anime-cal-full .anime-cal-col {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.anime-cal-full .anime-cal-col:hover {
  border-color: color-mix(in srgb, var(--brand-red) 38%, var(--border-subtle));
}

.anime-cal-full .anime-cal-col.is-today {
  border-color: var(--brand-red);
  box-shadow: 0 4px 18px rgba(175, 40, 42, 0.12);
}

.anime-cal-full .anime-cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.anime-cal-full .anime-cal-date {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.anime-cal-full .anime-cal-date-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.anime-cal-full .anime-cal-month {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-cal-full .anime-cal-day {
  margin-top: 1px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.anime-cal-full .anime-cal-col.is-today .anime-cal-month,
.anime-cal-full .anime-cal-col.is-today .anime-cal-date,
.anime-cal-full .anime-cal-col.is-today .anime-cal-day {
  color: var(--brand-red);
}

.anime-cal-empty {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px dashed var(--border-subtle);
  border-radius: 10px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.anime-cal-ep {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-050);
  color: inherit;
  padding: 8px 6px;
  text-decoration: none;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.anime-cal-ep:hover {
  border-color: var(--brand-red);
  background: var(--bg-surface);
}

.anime-cal-thumb {
  width: 40px;
  height: 54px;
  border-radius: 6px;
  background: var(--paper-200);
  object-fit: cover;
}

.anime-cal-ep .meta {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.anime-cal-ep-t {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-cal-ep-m {
  overflow: hidden;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-cal-full .anime-cal-col.is-today .anime-cal-ep-m {
  color: var(--brand-red);
}

.anime-cal-cd-mini {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  margin-top: 4px;
  border-radius: 5px;
  background: rgba(175, 40, 42, 0.1);
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: 3px 5px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.anime-calendar-page > .anime-cal-controls,
.anime-calendar-page > .anime-cal-full {
  margin-top: 0 !important;
}

.anime-cal-full .anime-cal-ep {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 0;
  line-height: normal;
  margin: 0 -4px;
  min-width: 0;
  max-width: calc(100% + 8px);
  overflow: hidden;
  padding: 8px;
}

.anime-cal-full .anime-cal-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

.anime-cal-full .anime-cal-ep-t {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.2;
}

.anime-cal-full .anime-cal-ep-m {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 10px;
  font-weight: 600;
  line-height: normal;
}

.anime-cal-full .anime-cal-ep .meta {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.anime-cal-full .anime-cal-cd-mini {
  padding: 3px 7px;
  font-size: 9.5px;
}

.anime-cal-list-view {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.anime-cal-day-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-cal-day-head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 4px 0 14px;
}

.anime-cal-day-head .d {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.anime-cal-day-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.anime-cal-day-head .month {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-cal-day-head .lbl {
  margin-top: 2px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.anime-cal-day-head .lbl.today {
  color: var(--brand-red);
}

.anime-cal-list-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 100px 120px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color var(--dur-fast);
}

.anime-cal-list-item:hover {
  border-color: var(--brand-red);
}

.anime-cal-list-item img {
  width: 100px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

.anime-cal-list-item .info {
  min-width: 0;
}

.anime-cal-list-item .info h4 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.anime-cal-list-item .info .m {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.anime-cal-list-item .time {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anime-cal-list-item .countdown {
  border-radius: 8px;
  background: var(--paper-200);
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  text-align: center;
}

.anime-cal-list-item .countdown small {
  display: block;
  margin-bottom: 2px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-cal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.anime-cal-month-dow {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.anime-cal-month-cell {
  display: flex;
  aspect-ratio: 1.1 / 1;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  padding: 8px;
}

.anime-cal-month-cell.is-blank {
  border-color: transparent;
  background: transparent;
}

.anime-cal-month-cell.is-today {
  border-color: var(--brand-red);
}

.anime-cal-month-cell.is-today .anime-cal-month-d {
  color: var(--brand-red);
}

.anime-cal-month-d {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.anime-cal-month-chip {
  overflow: hidden;
  border-radius: 4px;
  background: rgba(175, 40, 42, 0.09);
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-cal-month-more {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.anime-cal-empty-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: var(--fg-secondary);
  padding: 64px 24px;
  text-align: center;
}

.anime-cal-empty-state svg {
  color: var(--fg-tertiary);
}

.anime-cal-empty-state h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.anime-cal-empty-state p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .anime-cal-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .anime-calendar-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .anime-cal-hero {
    align-items: stretch;
    flex-direction: column;
    padding-top: 38px;
  }

  .anime-cal-hero-lhs {
    flex-basis: auto;
  }

  .anime-cal-nextup {
    max-width: none;
  }

  .anime-cal-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .anime-cal-controls-rhs {
    justify-content: space-between;
  }

  .anime-cal-list-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .anime-cal-list-item img {
    width: 80px;
    height: 48px;
  }

  .anime-cal-list-item .time,
  .anime-cal-list-item .countdown {
    grid-column: 2;
  }

  .anime-cal-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .anime-cal-hero-title {
    font-size: 38px;
  }

  .anime-cal-views {
    width: 100%;
  }

  .anime-cal-view {
    flex: 1;
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
  }

  .anime-cal-full {
    grid-template-columns: 1fr;
  }

  .anime-cal-full .anime-cal-col {
    min-height: 0;
  }

  .anime-cal-list-item {
    grid-template-columns: 1fr;
  }

  .anime-cal-list-item img {
    width: 100px;
    height: 56px;
  }

  .anime-cal-month-grid {
    gap: 4px;
  }

  .anime-cal-month-cell {
    padding: 5px;
  }
}

/* Production overflow guard: keeps the site-v2 shell from creating tablet horizontal scroll. */
/* Anime hub page parity: mirror site-v2's compact left column and wide facts rail. */
.anime-hub-v2 > .anime-hub-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
  min-width: 0;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-side {
  min-width: 0;
}

@media (max-width: 1100px) {
  .anime-hub-v2 > .anime-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .anime-links,
  .anime-nav__links,
  .anime-mega,
  .anime-mega-scrim {
    display: none !important;
  }

  .anime-nav-right,
  .anime-nav__actions {
    margin-left: auto !important;
  }

  .anime-home .anime-feat {
    overflow: hidden;
  }

  .anime-foot {
    overflow: clip;
  }
}

/* site-v2 shell lock: keep the live shell from drifting under older responsive rules. */
.anime-brand,
.anime-brand img {
  flex: 0 0 38px;
}

.anime-brand {
  font-weight: 400;
}

.anime-icon-btn,
.anime-icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--fg-secondary);
  font-size: 13.3333px;
}

.anime-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  vertical-align: middle;
}

.anime-login-link,
.anime-avatar.is-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  box-shadow: none;
  font-size: 0;
  font-weight: inherit;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.anime-login-link:hover,
.anime-avatar.is-login:hover {
  background: var(--bg-surface);
  color: var(--fg-strong);
  box-shadow: none;
  transform: none;
}

.anime-theme-toggle-icon,
.anime-login-avatar-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.anime-login-avatar-icon {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.anime-search-results {
  max-height: none;
  overflow: visible;
  padding: 0;
}

.anime-search-result span {
  text-transform: none;
}

@media (min-width: 1001px) {
  .anime-nav-inner,
  .anime-nav__inner {
    gap: 28px;
  }

  .anime-search-btn,
  .anime-search-toggle {
    min-width: 230px;
  }

  .anime-links:not([hidden]),
  .anime-nav__links:not([hidden]) {
    display: flex !important;
  }

  .anime-mega,
  .anime-mega-scrim {
    display: block !important;
  }
}

@media (max-width: 720px) {
  .anime-nav-inner,
  .anime-nav__inner {
    gap: 28px;
  }
}

/* site-v2 article detail parity. Keep after the canonical shell lock. */
.anime-article .lead {
  margin: 0 0 24px;
  color: var(--fg-secondary);
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.55;
}

.anime-article-byline > img,
.anime-article-byline > .anime-article-author-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.anime-article-byline .who {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.anime-article-byline .who strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.anime-article-byline .who strong a {
  color: inherit;
  text-decoration: none;
}

.anime-article-byline .who span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: none;
}

.anime-article-byline .actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.anime-article-byline .anime-btn {
  gap: 7px;
}

img.anime-article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.anime-side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.anime-side-head h5 {
  margin: 0;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.anime-side-most {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-side-most li {
  border-bottom: 1px solid var(--border-subtle);
}

.anime-side-most li:last-child {
  border-bottom: 0;
}

.anime-side-most a {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  text-decoration: none;
}

.anime-side-most .anime-side-thumb {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  background: var(--paper-200);
}

.anime-side-most h6 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  transition: color var(--dur-fast);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-side-most a:hover h6 {
  color: var(--brand-red);
}

.anime-side-thumb {
  flex: 0 0 auto;
  overflow: hidden;
}

.anime-side-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease-out);
}

.anime-side-most a:hover .anime-side-thumb img,
.anime-side-anime-row:hover .anime-side-thumb img,
.anime-side-next-row:hover .anime-side-thumb img {
  transform: scale(1.08);
}

.anime-side-poll .anime-poll-q {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.anime-poll-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anime-poll-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--paper-050);
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  transition: border-color var(--dur-fast);
}

.anime-poll-opt:hover {
  border-color: var(--brand-red);
}

.anime-poll-bar {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 0;
  background: rgba(175, 40, 42, 0.12);
  transition: width 550ms var(--ease-out);
}

.anime-poll-label {
  position: relative;
  z-index: 1;
  flex: 1;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.anime-poll-pct {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.anime-poll-total {
  display: block;
  margin-top: 10px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-side-anime,
.anime-side-next {
  display: flex;
  flex-direction: column;
}

.anime-side-anime-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 0;
  text-decoration: none;
}

.anime-side-anime-row:last-child,
.anime-side-next-row:last-child {
  border-bottom: 0;
}

.anime-side-anime-row .anime-side-thumb {
  width: 46px;
  height: 62px;
  border-radius: 8px;
}

.anime-side-anime-row > div,
.anime-side-next-row > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-side-anime-row strong,
.anime-side-next-row strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--dur-fast);
}

.anime-side-anime-row:hover strong,
.anime-side-next-row:hover strong {
  color: var(--brand-red);
}

.anime-side-anime-row .meta,
.anime-side-next-row .meta {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.anime-side-anime-score {
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(175, 40, 42, 0.08);
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 10px;
}

.anime-side-next-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 0;
  text-decoration: none;
}

.anime-side-next-row .anime-side-thumb {
  width: 40px;
  height: 54px;
  border-radius: 6px;
}

.anime-side-next-when {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  border-radius: 8px;
  background: var(--paper-050);
  padding: 5px 9px;
}

.anime-side-next-when .d {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.anime-side-next-when .t {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.anime-side-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-side-social-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anime-side-social-list a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: transparent;
  padding: 8px 10px;
  text-decoration: none;
  transition: background var(--dur-fast);
}

.anime-side-social-list a:hover {
  background: var(--paper-200);
}

.anime-side-social-list a > svg {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-primary);
  padding: 8px;
}

.anime-side-social-list a.x:hover > svg {
  background: #000;
  color: #fff;
}

.anime-side-social-list a.ig:hover > svg {
  background: #e4405f;
  color: #fff;
}

.anime-side-social-list a.yt:hover > svg {
  background: #f00;
  color: #fff;
}

.anime-side-social-list a.dc:hover > svg {
  background: #5865f2;
  color: #fff;
}

.anime-side-social-list a > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.anime-side-social-list a strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
}

.anime-side-social-list a > div span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.anime-side-social-list a .follow {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .anime-article-byline {
    align-items: flex-start;
  }

  .anime-article-byline .actions {
    margin-left: 0;
  }
}

/* Article single visual parity with site-v2/haber-makale.html. */
.anime-art-side {
  margin-block-start: 0;
}

.anime-article > .anime-article-body {
  margin: 0;
}

.anime-summary {
  margin: 8px 0 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-050);
  overflow: hidden;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.anime-summary:hover {
  border-color: var(--border-strong);
}

.anime-summary.is-open {
  border-color: var(--brand-red);
  background: var(--paper-100);
}

.anime-summary-toggle {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 14px 18px;
  text-align: left;
}

.anime-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff;
}

.anime-summary-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-summary-label strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0;
}

.anime-summary-label small {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.anime-summary-chevron {
  color: var(--fg-secondary);
  transition: transform 200ms var(--ease-out);
}

.anime-summary.is-open .anime-summary-chevron {
  transform: rotate(180deg);
}

.anime-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
  padding: 14px 18px 18px;
}

.anime-summary-list[hidden] {
  display: none !important;
}

.anime-summary-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

.anime-summary-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-red);
}

.anime-summary-list .anime-summary-source {
  border-top: 1px dashed var(--border);
  margin-top: 8px;
  padding-top: 12px;
  padding-left: 0;
}

.anime-summary-list .anime-summary-source::before {
  display: none;
}

.anime-summary-list .anime-summary-source small {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-list-ranked {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 34px 0 36px;
  padding: 0;
}

.anime-list-item {
  display: grid;
  grid-template-columns: 58px 120px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 16px;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.anime-list-item:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.anime-list-item .rank {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.anime-list-item .poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--paper-200);
}

.anime-list-item .poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.anime-list-item:hover .poster img {
  transform: scale(1.045);
}

.anime-list-item .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.anime-list-item h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  transition: color var(--dur-fast);
}

.anime-list-item:hover h3 {
  color: var(--brand-red);
}

.anime-list-item .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.anime-list-item .score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fg-strong);
  font-weight: 700;
}

.anime-list-item .score svg {
  color: var(--accent-amber);
}

.anime-list-item p {
  margin: 2px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.58;
}

.anime-list-go {
  align-self: flex-start;
  margin-top: 4px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.anime-list-go:hover {
  color: var(--brand-red-hot);
}

.anime-article-list-note {
  margin-top: 34px !important;
}

.anime-inline-promo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-red);
  border-radius: 12px;
  background: var(--paper-050);
  margin: 32px 0;
  padding: 14px;
}

.anime-inline-promo > img {
  flex: 0 0 auto;
  width: 88px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.anime-inline-promo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.anime-inline-promo-tag {
  margin: 0;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-inline-promo-text strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.anime-inline-promo-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.anime-inline-promo-link {
  position: absolute;
  inset: 0;
}

.anime-related-anime {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  margin-top: 14px;
  padding: 18px;
  text-decoration: none;
  transition: border-color var(--dur-fast);
}

.anime-related-anime:hover {
  border-color: var(--brand-red);
}

.anime-related-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--paper-200);
}

.anime-related-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-related-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.anime-related-body h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-related-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fg-strong);
  font-weight: 700;
}

.anime-related-score svg {
  color: var(--accent-amber);
}

.anime-related-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.anime-related-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.anime-author-card {
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  margin-top: 56px;
  padding: 32px;
}

.anime-author-grid {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.anime-author-avatar {
  width: 96px;
  height: 96px;
  border: 3px solid var(--paper-200);
  border-radius: 999px;
  object-fit: cover;
}

.anime-author-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.anime-author-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.anime-author-eye {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anime-author-body h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-author-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-author-meta > span:first-child {
  color: var(--fg-secondary);
  font-weight: 700;
}

.anime-author-body p {
  margin: 8px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

.anime-author-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
  padding-top: 16px;
}

.anime-author-actions {
  display: flex;
  gap: 8px;
}

.anime-author-social {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.anime-author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--paper-100);
  color: var(--fg-secondary);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.anime-author-social a:hover {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-comments-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}

.anime-comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.anime-comment-form-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-comment-form-wrap-native {
  padding: 0;
  border: 0;
  background: transparent;
}

.anime-comment-form-wrap .comment-reply-title,
.anime-comment-form-title {
  margin: 0 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-comment-form-wrap label {
  display: block;
  margin-bottom: 6px;
  color: var(--fg-secondary);
  font-size: 12px;
  font-weight: 800;
}

.anime-comment-form-wrap textarea,
.anime-comment-form-wrap input[type="text"],
.anime-comment-form-wrap input[type="email"],
.anime-comment-form-wrap input[type="url"] {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-050);
  color: var(--fg-primary);
  font: 500 14px var(--font-sans);
  padding: 12px 14px;
}

.anime-comment-form-wrap .form-submit {
  margin-bottom: 0;
}

.anime-comment-form-wrap .anime-comment-composer-native {
  margin: 0;
}

.anime-comment-form-wrap .anime-comment-composer-native .logged-in-as,
.anime-comment-form-wrap .anime-comment-composer-native .comment-notes,
.anime-comment-form-wrap .anime-comment-composer-native .required-field-message {
  display: none;
}

.anime-comment-form-wrap .anime-comment-composer-native .comment-form-comment,
.anime-comment-form-wrap .anime-comment-composer-native .form-submit {
  margin: 0;
}

.anime-comment-form-wrap .anime-comment-composer-native .anime-comment-composer-body {
  grid-column: 2;
}

.anime-comment-form-wrap .anime-comment-composer-native .anime-comment-composer-foot {
  grid-column: 2;
}

.anime-comment-form-wrap .anime-comment-composer-native textarea {
  min-height: 76px;
  border: 0;
  background: transparent;
  padding: 5px 0;
  resize: vertical;
}

.anime-comments-head h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-comments-count {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.anime-comment-composer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  align-items: start;
  padding: 18px 20px;
}

.anime-comment-composer.is-collapsed {
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-comment-composer.is-collapsed .anime-comment-composer-body {
  justify-content: center;
}

.anime-comment-composer > img,
.anime-comment-composer > .av {
  width: 40px;
  height: 40px;
  border: 2px solid var(--paper-200);
  border-radius: 999px;
  object-fit: cover;
}

.anime-comment-composer > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.anime-comment-composer textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  outline: none;
  padding: 6px 0;
  resize: vertical;
}

.anime-comment-composer.is-collapsed textarea {
  height: 40px;
  min-height: 40px;
  overflow: hidden;
  border: 0;
  background: transparent;
  font-size: 14.5px;
  line-height: 1.45;
  padding: 9px 0;
  resize: none;
}

.anime-comment-composer.is-collapsed:focus-within {
  border-color: var(--border-strong);
}

.anime-comment-composer textarea::placeholder {
  color: var(--fg-tertiary);
}

.anime-comment-login-prompt {
  color: var(--fg-tertiary);
  text-decoration: none;
}

.anime-comment-login-prompt:hover {
  border-color: var(--border-strong);
  color: var(--fg-primary);
}

.anime-comment-login-prompt span {
  align-self: center;
  font-size: 14.5px;
  line-height: 1.45;
}

.anime-comment-composer.is-collapsed .anime-comment-composer-body {
  gap: 0;
}

.anime-comment-composer.is-collapsed .anime-comment-composer-foot {
  display: none;
}

.anime-comment-composer-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.anime-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anime-comment-thread {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
}

.anime-comment-thread > .anime-comment {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.anime-comment {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px 20px;
}

.anime-comment .av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.anime-comment img.av,
.anime-composer img.av,
.anime-comment-reply-composer img.av {
  display: block;
  object-fit: cover;
}

.anime-comment .av.red {
  background: var(--brand-red);
  color: #fff;
}

.anime-comment .av.mint {
  background: #5fd9a6;
  color: #04211b;
}

.anime-comment .av.sky {
  background: #5fb6f2;
  color: #031827;
}

.anime-comment .body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.anime-comment .head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.anime-comment .name {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.anime-comment .ref {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anime-comment .text {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.anime-comment .acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.anime-comment .acts button,
.anime-comment .acts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  padding: 2px 0;
  text-decoration: none;
}

.anime-comment .acts button[data-review-like] {
  min-width: 42px;
}

.anime-comment .acts button[data-reply-open] {
  color: var(--brand-red);
}

.anime-comment .acts button:hover,
.anime-comment .acts a:hover {
  color: var(--brand-red);
}

/* Article detail fixes: align the WordPress theme with site/haber-makale.html. */
.anime-article-byline .actions .anime-btn {
  min-height: 0;
  border: 1px solid var(--border);
  background: transparent;
  gap: 8px;
  padding: 7px 10px;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
}

.anime-article-byline .actions .anime-btn:hover {
  border-color: var(--border-strong);
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-summary .anime-summary-list {
  padding: 16px 18px 18px 31px;
}

.anime-summary-list li {
  padding-left: 20px;
}

.anime-summary-list .anime-summary-source {
  margin-left: -20px;
}

.anime-inline-promo > img {
  width: 88px;
  height: 56px;
  aspect-ratio: 16 / 10;
  flex: 0 0 88px;
  object-fit: cover;
  object-position: center;
}

.anime-related-body {
  min-height: 172px;
}

.anime-related-cta {
  margin-top: auto;
}

.anime-author-actions .anime-btn {
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}

.anime-author-actions .anime-btn-primary {
  min-height: 30px;
  border-radius: 8px;
  padding: 7px 12px;
}

.anime-author-actions .anime-btn-secondary {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--fg-strong);
  padding: 7px 12px;
}

.anime-author-actions .anime-btn-secondary:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-comments-head {
  align-items: center;
}

.anime-comments-count-tag {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-comments-sort {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-comments-sort > span {
  margin-right: 6px;
}

.anime-comments-sort button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
}

.anime-comments-sort button:hover,
.anime-comments-sort button.is-on {
  background: var(--paper-200);
  color: var(--fg-strong);
}

.anime-comment-composer > .av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.anime-comment-composer.is-collapsed > .av {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.anime-comment-composer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.anime-comment-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.anime-comment-composer-tools,
.anime-comment-composer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 0;
  padding-top: 0;
}

.anime-comment-composer-tools button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
}

.anime-comment-composer-tools button[data-insert-bold] {
  font-weight: 800;
}

.anime-comment-composer-tools button:hover {
  background: var(--paper-200);
  color: var(--fg-primary);
}

.anime-comment-rule {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

.anime-comment-rule:hover {
  color: var(--brand-red);
  text-decoration-color: currentColor;
}

.anime-comment-composer-actions .anime-btn {
  min-height: 34px;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 13px;
}

.anime-comment-composer-actions .anime-btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-secondary);
}

.anime-comment-composer-actions .anime-btn-ghost:hover:not(:disabled) {
  border-color: var(--border-strong);
  background: var(--paper-100);
  color: var(--fg-strong);
}

.anime-comment-composer-actions .anime-btn-primary {
  border: 1px solid transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-comment-composer-actions .anime-btn-primary:hover:not(:disabled) {
  background: var(--brand-red-hot);
}

.anime-btn:disabled,
.anime-comment-composer-actions .anime-btn[disabled],
.anime-comment-reply-actions button[disabled] {
  cursor: not-allowed;
  opacity: 0.4;
}

.anime-comment .av.ink {
  background: var(--ink-300);
  color: #fff;
}

.anime-comment .av.pink {
  background: #f26fa3;
  color: #2a0808;
}

.anime-comment .score-chip {
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-amber) 22%, transparent);
  color: #8a6100;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
}

.anime-spoiler {
  display: inline;
  border: 1px solid rgba(175, 40, 42, 0.18);
  border-radius: 4px;
  background: rgba(175, 40, 42, 0.06);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
  padding: 1px 6px 2px;
}

.anime-spoiler:hover {
  background: rgba(175, 40, 42, 0.12);
}

.anime-spoiler-tag {
  display: inline-block;
  margin-right: 6px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}

.anime-spoiler-text {
  border-radius: 3px;
  background: var(--paper-200);
  color: transparent;
  padding: 0 2px;
  text-shadow: 0 0 7px var(--ink-200);
  user-select: none;
}

.anime-spoiler.is-open {
  border: 0;
  border-left: 2px solid var(--brand-red);
  border-radius: 0;
  background: transparent;
  cursor: text;
  padding: 0 0 0 8px;
}

.anime-spoiler.is-open .anime-spoiler-tag {
  display: none;
}

.anime-spoiler.is-open .anime-spoiler-text {
  background: transparent;
  color: var(--fg-primary);
  padding: 0;
  text-shadow: none;
  user-select: text;
}

.anime-comment-thread {
  position: relative;
}

.anime-comment-replies {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper-050);
  padding: 4px 20px 4px 56px;
}

.anime-comment.reply {
  position: relative;
  align-items: start;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
}

.anime-comment.reply .av {
  position: relative;
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.anime-comment.reply .av::before {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 50%;
  width: 13px;
  height: 11px;
  border-bottom: 2px solid var(--paper-300);
  border-left: 2px solid var(--paper-300);
  border-bottom-left-radius: 10px;
  margin-right: 4px;
}

.anime-thread-spine {
  position: absolute;
  width: 2px;
  background: var(--paper-300);
  pointer-events: none;
}

.anime-comment.reply .body {
  gap: 4px;
}

.anime-comment.reply .body .name {
  font-size: 13px;
}

.anime-comment.reply .text {
  font-size: 13.5px;
}

.anime-comment.reply .acts {
  gap: 14px;
  margin-top: 2px;
}

.anime-replies-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 10px;
  border: 0;
  background: transparent;
  color: var(--brand-red);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.anime-comment-reply-composer {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper-050);
  padding: 16px 20px 16px 56px;
}

.anime-comment-reply-composer .av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.anime-comment-reply-composer .anime-comment-composer-body {
  gap: 10px;
}

.anime-comment-composer > .av.ink,
.anime-comment-reply-composer .av.ink {
  background: var(--ink-300);
  color: #fff;
}

.anime-comment-reply-composer textarea {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  outline: 0;
  padding: 12px 14px;
  resize: vertical;
}

.anime-comment-reply-composer textarea:focus {
  border-color: var(--brand-red);
}

.anime-comment-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}

.anime-comment-reply-actions button {
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
}

.anime-comment-reply-actions button.primary {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-comments-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 14px;
}

.anime-comments-more:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.anime-similar-wide .anime-news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.anime-similar-wide .anime-news-card .cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--paper-200);
}

.anime-similar-wide .anime-news-card .cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.anime-similar-wide .anime-news-card:hover .cover img {
  transform: scale(1.045);
}

.anime-similar-wide .tag-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 4px;
  background: rgba(11, 8, 9, 0.82);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.anime-similar-wide .anime-news-card h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
  transition: color var(--dur-fast);
}

.anime-similar-wide .anime-news-card:hover h3 {
  color: var(--brand-red);
}

.anime-similar-wide .anime-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
}

.anime-meta-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .anime-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anime-summary-list {
    padding-left: 28px;
  }

  .anime-comments-sort,
  .anime-comment-composer-foot,
  .anime-comment-composer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-comment-replies,
  .anime-comment-reply-composer {
    padding-left: 42px;
  }

  .anime-related-grid {
    grid-template-columns: 1fr;
  }
}

.anime-similar-wide {
  margin: 8px auto 48px;
  padding-bottom: 96px;
}

.anime-similar-wide .anime-section-title {
  margin: 4px 0 18px;
  font-size: 26px;
}

@media (max-width: 1100px) {
  .anime-art-layout {
    gap: 32px;
  }

  .anime-art-side {
    position: static;
  }

  .anime-author-card {
    padding: 24px;
  }

  .anime-author-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .anime-author-avatar {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 760px) {
  .anime-art-layout {
    padding: 56px 24px 96px;
  }

  .anime-article h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  .anime-article .lead {
    font-size: 19px;
  }

  .anime-article-byline {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 74px;
  }

  .anime-article-byline > img,
  .anime-article-byline > .anime-article-author-avatar {
    flex-basis: 40px;
  }

  .anime-article-byline .actions {
    margin-left: auto;
  }

  .anime-list-item {
    grid-template-columns: 42px 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .anime-list-item .rank {
    font-size: 25px;
  }

  .anime-list-item h3 {
    font-size: 18px;
  }

  .anime-list-item .meta {
    gap: 6px 10px;
    font-size: 10.5px;
  }

  .anime-list-item p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .anime-related-anime {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .anime-related-body h3 {
    font-size: 20px;
  }

  .anime-inline-promo {
    align-items: flex-start;
  }

  .anime-comments-head {
    flex-wrap: wrap;
  }

  .anime-similar-wide {
    padding: 0 24px 96px;
  }
}

/* Character directory final alignment to site-v2 core page rail. */
.anime-characters-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.anime-characters-page .anime-breadcrumb {
  max-width: none;
  width: auto;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-characters-page .anime-breadcrumb [aria-current] {
  color: var(--fg-primary);
  font-weight: 600;
}

.anime-char-hero {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-characters-page .anime-list-toolbar,
.anime-characters-page .anime-list-grid-wrap {
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

.anime-characters-page .anime-list-toolbar {
  margin-top: 0;
}

.anime-characters-page .anime-list-search {
  flex: 1 1 auto;
}

.anime-characters-page .anime-list-actions {
  position: relative;
}

.anime-characters-page .anime-dd .anime-dropdown,
.anime-characters-page .anime-dd-menu {
  right: 0;
  left: auto;
}

.anime-character-grid-wrap {
  margin-top: 40px;
}

@media (max-width: 560px) {
  .anime-characters-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-characters-page .anime-breadcrumb,
  .anime-characters-page .anime-list-toolbar,
  .anime-characters-page .anime-list-grid-wrap {
    width: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .anime-char-hero {
    width: auto;
    padding: 0;
  }

  .anime-char-hero-deco {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    transform: none;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: normal;
    opacity: 1;
  }

  .anime-characters-page .anime-dd .anime-dropdown,
  .anime-characters-page .anime-list-actions .anime-dd:last-child .anime-dropdown,
  .anime-characters-page .anime-dd-menu {
    right: auto;
    left: 0;
  }
}

/* Character index final site/karakterler.html toolbar parity. */
.anime-character-index.anime-characters-page .anime-character-toolbar {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 10px;
}

.anime-character-index.anime-characters-page .anime-character-search {
  flex: 0 1 260px;
  min-width: 200px;
  height: 40px;
}

.anime-character-index.anime-characters-page .anime-character-search input {
  height: auto;
}

.anime-character-index.anime-characters-page .anime-dd {
  flex: 0 0 auto;
}

.anime-character-index.anime-characters-page .anime-dd-btn {
  min-height: 38px;
}

@media (max-width: 560px) {
  .anime-character-index.anime-characters-page .anime-character-search {
    flex: 0 1 260px;
    width: 260px;
    max-width: 100%;
    height: 40px;
  }
}

.anime-va-index.anime-character-index .anime-character-toolbar {
  margin: 32px 0 24px;
}

.anime-va-index.anime-genre-page .anime-category-hero h1 {
  font-size: clamp(40px, 4.1vw, 56px);
}

.anime-va-index .anime-va-roles-lite {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
}

.anime-va-index .anime-va-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-va-index .anime-va-role-row:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-va-index .anime-va-role-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.anime-va-index .anime-va-role-text strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
}

.anime-va-index .anime-va-role-text span,
.anime-va-index .anime-va-role-go {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.anime-va-index .anime-va-role-go {
  flex: 0 0 auto;
  color: var(--brand-red);
}

.anime-profile-rec-index .anime-category-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.anime-profile-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 0;
}

.anime-profile-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 12px 14px;
}

.anime-profile-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.anime-profile-info {
  display: grid;
  gap: 2px;
}

.anime-profile-info strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
}

.anime-profile-info span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.anime-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anime-profile-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.anime-profile-tag:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-profile-rec-title {
  margin: 32px 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-profile-rec-grid {
  margin-top: 0;
}

.anime-profile-rec-grid .anime-rec-reason {
  color: var(--brand-red);
  font-weight: 700;
}

.anime-create-site {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

.anime-create-main-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.anime-create-site .anime-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.anime-create-site .anime-field > span {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.anime-create-site input,
.anime-create-site textarea {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  padding: 11px 13px;
}

.anime-create-site textarea {
  resize: vertical;
}

.anime-create-site input:focus,
.anime-create-site textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-red) 12%, transparent);
}

.anime-list-builder-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  padding: 0 13px;
}

.anime-list-builder-search svg {
  flex: 0 0 auto;
  color: var(--fg-tertiary);
}

.anime-list-builder-search input {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-right: 0;
  padding-left: 0;
}

.anime-list-builder-search input:focus {
  box-shadow: none;
}

.anime-list-builder-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.anime-list-builder-hit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(86px, auto);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 9px 11px;
  text-align: left;
  cursor: pointer;
}

.anime-list-builder-hit:hover {
  background: var(--paper-100);
}

.anime-list-builder-hit img {
  width: 34px;
  height: 45px;
  border-radius: 6px;
  object-fit: cover;
}

.anime-list-builder-hit-title {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-list-builder-hit-year {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.anime-chosen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-chosen-empty {
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  padding: 26px;
  text-align: center;
}

.anime-chosen-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 12px 14px;
}

.anime-chosen-row.is-dragging {
  opacity: 0.55;
}

.anime-chosen-row.is-over {
  border-color: var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 5%, var(--bg-card));
}

.anime-chosen-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.anime-chosen-rank {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.anime-chosen-move,
.anime-chosen-grip,
.anime-chosen-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.anime-chosen-grip {
  width: 18px;
  height: 28px;
  border-radius: 6px;
  cursor: grab;
}

.anime-chosen-grip:active {
  cursor: grabbing;
}

.anime-chosen-move {
  width: 24px;
  height: 18px;
  border-radius: 5px;
}

.anime-chosen-move:hover:not(:disabled),
.anime-chosen-grip:hover,
.anime-chosen-remove:hover {
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
}

.anime-chosen-move:disabled {
  cursor: default;
  opacity: 0.28;
}

.anime-chosen-number {
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.anime-chosen-top > img {
  flex: 0 0 auto;
  width: 42px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

.anime-chosen-row-title {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.anime-chosen-row-title strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-chosen-row-title span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.anime-chosen-row-title svg {
  color: var(--accent-amber);
}

.anime-chosen-remove {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.anime-chosen-note {
  min-height: 36px;
  overflow: hidden;
  resize: vertical;
  background: var(--bg-page) !important;
  font-size: 13px !important;
  padding: 8px 10px !important;
}

.anime-prof-list-head {
  margin-bottom: 16px;
}

.anime-prof-list-head .anime-btn {
  text-decoration: none;
}

.anime-create-side {
  position: sticky;
  top: calc(var(--nav-h, 72px) + 16px);
}

.anime-create-card,
.anime-create-guide {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-create-card {
  padding: 22px;
}

.anime-create-card-title,
.anime-create-guide-title {
  display: block;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-create-card-title {
  margin-bottom: 14px;
}

.anime-create-set {
  margin-bottom: 16px;
}

.anime-create-set-label {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.anime-seg-vertical {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0;
}

.anime-seg-vertical button {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--bg-page);
  box-shadow: none;
  padding: 9px 13px;
  text-align: left;
}

.anime-seg-vertical button.is-on {
  border-color: var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 8%, transparent);
  box-shadow: none;
  color: var(--brand-red);
}

.anime-field-hint {
  margin: 8px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.55;
}

.anime-create-divider {
  height: 1px;
  margin: 4px 0 16px;
  background: var(--border-subtle);
}

.anime-create-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.anime-create-stat strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}

.anime-create-stat span {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.anime-create-site .anime-form-message {
  margin: 0 0 12px;
  font-size: 12.5px;
}

.anime-create-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 8px;
}

.anime-create-save,
.anime-create-submit {
  justify-content: center;
  width: 100%;
  min-height: 38px;
}

.anime-create-cancel {
  display: block;
  margin-top: 10px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.anime-create-cancel:hover {
  color: var(--brand-red);
}

.anime-create-guide {
  margin-top: 16px;
  padding: 20px 22px;
}

.anime-create-guide-title {
  margin-bottom: 14px;
}

.anime-create-guide ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anime-create-guide li {
  display: flex;
  gap: 10px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.anime-create-guide li svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand-red);
}

@media (max-width: 900px) {
  .anime-create-site {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .anime-create-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .anime-chosen-top {
    align-items: flex-start;
  }

  .anime-chosen-rank {
    flex-direction: column;
  }
}

/* Calendar mobile parity with site-v2/takvim.html. */
@media (max-width: 820px) {
  .anime-calendar-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-cal-hero {
    padding-top: 48px;
  }

  .anime-cal-nextup {
    align-self: flex-start;
    width: auto;
    max-width: 280px;
  }
}

@media (max-width: 560px) {
  .anime-cal-full .anime-cal-col {
    min-height: 280px;
  }
}

/* Generic document pages aligned with site-v2/belge.html. */
.anime-content-page.anime-doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  align-items: start;
  width: 100%;
  max-width: var(--container);
  gap: 48px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.anime-content-page .anime-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: auto;
  max-width: none;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

.anime-content-page .anime-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.anime-content-page .anime-breadcrumb a:hover,
.anime-content-page .anime-breadcrumb [aria-current] {
  color: var(--fg-primary);
}

.anime-content-page .anime-doc-body {
  grid-column: 1;
  max-width: 760px;
  min-width: 0;
  font-family: var(--font-sans);
}

.anime-content-page .anime-doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  grid-column: 2;
  grid-row: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 22px;
}

.anime-content-page .anime-doc-toc-h {
  display: block;
  margin-bottom: 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-content-page .anime-doc-toc ol {
  counter-reset: toc;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-content-page .anime-doc-toc li {
  counter-increment: toc;
}

.anime-content-page .anime-doc-toc a {
  display: flex;
  gap: 11px;
  padding: 7px 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.anime-content-page .anime-doc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex-shrink: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  transition: color var(--dur-fast);
}

.anime-content-page .anime-doc-toc a:hover,
.anime-content-page .anime-doc-toc a:hover::before {
  color: var(--brand-red);
}

.anime-content-page .anime-doc-hero {
  position: relative;
  overflow: hidden;
  margin: 28px 0 36px;
  padding: 34px 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-red) 8%, var(--bg-card)), var(--bg-card) 62%);
}

.anime-content-page .anime-doc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--brand-red);
}

.anime-content-page .anime-doc-hero-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.anime-content-page .anime-doc-hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.anime-content-page .anime-doc-hero h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-content-page .anime-doc-meta {
  margin: 20px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-content-page .anime-doc-hero-kanji {
  position: absolute;
  top: 50%;
  right: 26px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: clamp(96px, 15vw, 150px);
  line-height: 0.8;
  opacity: 0.1;
  pointer-events: none;
  transform: translateY(-50%);
  user-select: none;
}

.anime-content-page .anime-doc-body > :first-child {
  margin-top: 0;
}

.anime-content-page .anime-doc-body > p:first-of-type {
  margin: 0 0 24px;
  color: var(--fg-secondary);
  font-size: 18.5px;
  line-height: 1.65;
}

.anime-content-page .anime-doc-body h2 {
  margin: 40px 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  scroll-margin-top: 88px;
}

.anime-content-page .anime-doc-body h3 {
  margin: 28px 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 700;
}

.anime-content-page .anime-doc-body p {
  margin: 0 0 18px;
  color: var(--fg-primary);
  font-size: 16px;
  line-height: 1.8;
}

.anime-content-page .anime-doc-body ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.anime-content-page .anime-doc-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: var(--fg-primary);
  font-size: 16px;
  line-height: 1.75;
}

.anime-content-page .anime-doc-body li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-red);
}

.anime-content-page .anime-doc-body a {
  color: var(--brand-red);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-red) 35%, transparent);
  transition: border-color var(--dur-fast);
}

.anime-content-page .anime-doc-body a:hover {
  border-bottom-color: var(--brand-red);
}

.anime-content-page .anime-doc-note,
.anime-content-page .anime-doc-related {
  margin-top: 34px;
}

.anime-doc-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-doc-page .anime-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-doc-page .anime-breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.anime-doc-page .anime-breadcrumb a:hover,
.anime-doc-page .anime-breadcrumb [aria-current] {
  color: var(--fg-primary);
}

.anime-doc-page .anime-doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  align-items: start;
  gap: 48px;
  margin-top: 28px;
}

.anime-doc-main {
  min-width: 0;
}

.anime-doc-page .anime-doc-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 42px 44px;
}

.anime-doc-page .anime-doc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--brand-red);
}

.anime-doc-page .anime-doc-hero-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.anime-doc-page .anime-doc-hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.anime-doc-cat {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-doc-page .anime-doc-hero h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.anime-doc-desc {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.anime-doc-updated {
  display: block;
  margin: 20px 0 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.anime-doc-page .anime-doc-hero-kanji {
  position: absolute;
  right: 24px;
  bottom: -22px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 132px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
}

.anime-doc-page .anime-doc-body {
  font-family: var(--font-sans);
}

.anime-doc-page .anime-doc-body > :first-child {
  margin-top: 0;
}

.anime-doc-page .anime-doc-body > p:first-of-type {
  color: var(--fg-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.anime-doc-page .anime-doc-body h2 {
  margin: 42px 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-doc-page .anime-doc-body h3 {
  margin: 28px 0 8px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 700;
}

.anime-doc-page .anime-doc-body p {
  margin: 0 0 18px;
  color: var(--fg-primary);
  font-size: 16px;
  line-height: 1.8;
}

.anime-doc-page .anime-doc-body ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.anime-doc-page .anime-doc-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: var(--fg-primary);
  font-size: 16px;
  line-height: 1.75;
}

.anime-doc-page .anime-doc-body li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-red);
}

.anime-doc-page .anime-doc-body a {
  border-bottom: 1px solid color-mix(in srgb, var(--brand-red) 28%, transparent);
  color: var(--brand-red);
  text-decoration: none;
}

.anime-doc-page .anime-doc-body a:hover {
  border-bottom-color: var(--brand-red);
}

.anime-doc-side {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anime-doc-nav {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 18px 16px;
}

.anime-doc-nav-group + .anime-doc-nav-group {
  margin-top: 18px;
}

.anime-doc-nav h4 {
  margin: 0 0 8px;
  padding-left: 12px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-doc-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.anime-doc-nav a {
  display: block;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.35;
  padding: 8px 10px;
  text-decoration: none;
}

.anime-doc-nav a:hover {
  background: var(--paper-100);
  color: var(--fg-strong);
}

.anime-doc-nav a.is-active {
  border-left-color: var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 7%, transparent);
  color: var(--brand-red);
  font-weight: 600;
}

@media (max-width: 900px) {
  .anime-doc-page .anime-doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .anime-doc-side {
    position: static;
  }

  .anime-doc-page .anime-doc-hero-kanji {
    right: 14px;
    font-size: 96px;
  }
}

@media (max-width: 600px) {
  .anime-doc-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-doc-page .anime-doc-hero {
    padding: 32px 28px;
  }
}

@media (max-width: 980px) {
  .anime-content-page.anime-doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .anime-content-page .anime-doc-toc,
  .anime-content-page .anime-doc-body {
    grid-column: 1;
  }

  .anime-content-page .anime-doc-toc {
    position: static;
    grid-row: auto;
  }

  .anime-content-page .anime-doc-hero-kanji {
    right: 14px;
    font-size: 96px;
  }
}

@media (max-width: 600px) {
  .anime-content-page.anime-doc-layout {
    padding-right: 24px;
    padding-bottom: 72px;
    padding-left: 24px;
  }

  .anime-content-page .anime-doc-hero {
    padding: 30px 24px;
  }
}

/* Mood recommendation page aligned with site-v2/mod.html. */
.anime-mood-page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.anime-mood-page .anime-breadcrumb {
  width: auto;
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-mood-hero {
  position: relative;
  overflow: hidden;
  margin: 14px 0 32px;
  padding: 44px 36px 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
}

.anime-mood-hero-deco {
  position: absolute;
  top: 50%;
  right: -18px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 240px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.85;
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(-50%);
}

.anime-mood-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.anime-mood-hero h1 {
  margin: 10px 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-mood-hero-desc {
  max-width: 560px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.anime-mood-section {
  margin-bottom: 36px;
}

.anime-mood-section-head {
  margin-bottom: 22px;
}

.anime-mood-section-head h2 {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.anime-mood-section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.anime-mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.anime-mood-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 210px;
  overflow: hidden;
  padding: 22px 22px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  animation: anime-mood-card-in 520ms var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes anime-mood-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.anime-mood-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mood, var(--brand-red)) 6%, transparent) 0%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.anime-mood-card:hover,
.anime-mood-card.is-on {
  border-color: var(--mood, var(--brand-red));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--mood, var(--brand-red)) 14%, transparent);
  transform: translateY(-3px);
}

.anime-mood-card:hover::before,
.anime-mood-card.is-on::before {
  opacity: 1;
}

.anime-mood-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.anime-mood-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--mood, var(--brand-red)) 12%, var(--bg-card));
  color: var(--mood, var(--brand-red));
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-mood-card:hover .anime-mood-icon {
  background: var(--mood, var(--brand-red));
  color: #fff;
  transform: scale(1.04);
}

.anime-mood-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.anime-mood-kanji {
  color: var(--mood, var(--brand-red));
  font-family: var(--font-kanji);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.9;
  opacity: 0.12;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-mood-card:hover .anime-mood-kanji {
  opacity: 0.36;
  transform: translateY(-2px);
}

.anime-mood-card-body {
  position: relative;
  z-index: 1;
}

.anime-mood-label {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.anime-mood-desc {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

.anime-mood-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.anime-mood-tags {
  overflow: hidden;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.anime-mood-go {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--fg-tertiary);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.anime-mood-card:hover .anime-mood-go {
  background: var(--mood, var(--brand-red));
  color: #fff;
  transform: translateX(3px);
}

.anime-mood-go svg {
  display: block;
  width: 14px;
  height: 14px;
}

.anime-mood-how {
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.anime-mood-how .anime-section-eye {
  display: block;
  margin-bottom: 22px;
  color: var(--fg-tertiary);
  text-align: center;
}

.anime-mood-how ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-mood-how li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.anime-mood-how-ic {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--brand-red) 18%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-red) 10%, var(--bg-card));
  color: var(--brand-red);
}

.anime-mood-how-ic svg {
  display: block;
  width: 18px;
  height: 18px;
}

.anime-mood-how li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.anime-mood-how li strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.anime-mood-how li p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .anime-mood-grid,
  .anime-mood-how ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-mood-hero-deco {
    right: -10px;
    font-size: 180px;
  }
}

@media (max-width: 640px) {
  .anime-mood-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-mood-hero {
    padding: 32px 24px 28px;
    border-radius: 18px;
  }

  .anime-mood-hero-deco {
    font-size: 140px;
    opacity: 0.04;
  }

  .anime-mood-grid,
  .anime-mood-how ol {
    grid-template-columns: 1fr;
  }

  .anime-mood-grid {
    gap: 12px;
  }

  .anime-mood-card {
    min-height: 180px;
    padding: 20px 18px 16px;
  }

  .anime-mood-how {
    padding: 24px 22px 22px;
  }

  .anime-mood-how ol {
    gap: 18px;
  }
}

/* Random recommendation page: daily rotation without expensive random SQL. */
.anime-random-page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.anime-random-page .anime-breadcrumb {
  width: auto;
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-random-hero {
  position: relative;
  overflow: hidden;
  margin: 14px 0 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
  padding: 44px 36px 40px;
}

.anime-random-hero-deco {
  position: absolute;
  top: 50%;
  right: -24px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 220px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.85;
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(-50%);
}

.anime-random-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.anime-random-hero h1 {
  margin: 10px 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.anime-random-hero-desc {
  max-width: 560px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

.anime-random-index {
  margin-top: 34px;
}

.anime-random-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.anime-random-head h2 {
  margin: 6px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-random-head p {
  max-width: 680px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

.anime-random-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(175, 40, 42, 0.22);
  border-radius: 999px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.anime-random-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.anime-random-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  color: inherit;
  padding: 14px;
  text-decoration: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
  animation: anime-random-card-in 520ms var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes anime-random-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.anime-random-card:hover,
.anime-random-card:focus-visible {
  border-color: rgba(175, 40, 42, 0.36);
  box-shadow: 0 10px 28px rgba(175, 40, 42, 0.12);
  transform: translateY(-2px);
}

.anime-random-rank {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(175, 40, 42, 0.14);
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-random-poster {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-200);
  aspect-ratio: 3 / 4;
}

.anime-random-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-random-poster span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  border-radius: 999px;
  background: rgba(11, 8, 9, 0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 7px;
}

.anime-random-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 22px 4px 0;
}

.anime-random-body strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-random-body em {
  margin-top: 7px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.anime-random-body span {
  margin-top: 12px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
}

.anime-random-empty {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  padding: 24px;
  text-align: center;
}

@media (max-width: 1100px) {
  .anime-random-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anime-random-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-random-hero {
    padding: 32px 24px 28px;
    border-radius: 18px;
  }

  .anime-random-hero-deco {
    font-size: 140px;
    opacity: 0.04;
  }

  .anime-random-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-random-grid {
    grid-template-columns: 1fr;
  }

  .anime-random-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .anime-random-body strong {
    font-size: 20px;
  }
}

/* Community hub: visible route for the shared recommendation surface. */
.anime-community-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.anime-community-page .anime-breadcrumb {
  width: auto;
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

.anime-comm-hero {
  position: relative;
  overflow: hidden;
  margin: 14px 0 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
  padding: 46px 38px 42px;
}

.anime-comm-hero-deco {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 260px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.85;
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(-50%);
}

.anime-comm-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.anime-comm-hero h1 {
  margin: 10px 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-comm-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

.anime-comm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.anime-comm-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(175, 40, 42, 0.2);
  border-radius: 999px;
  background: rgba(175, 40, 42, 0.045);
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 8px 11px;
  text-transform: uppercase;
}

.anime-comm-index {
  margin-top: 30px;
}

.anime-comm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 18px;
}

.anime-comm-stack {
  display: grid;
  gap: 18px;
}

.anime-comm-panel {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 18px;
}

.anime-comm-panel-main {
  padding: 20px;
}

.anime-comm-panel-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.anime-comm-panel-top h2 {
  margin: 6px 0 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
}

.anime-comm-panel-top a {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.anime-comm-list {
  display: grid;
  gap: 10px;
}

.anime-comm-pick {
  display: grid;
  align-items: center;
  grid-template-columns: 44px 56px minmax(0, 1fr) auto;
  gap: 13px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--paper-100);
  color: inherit;
  padding: 10px 12px;
  text-decoration: none;
  transition: border-color var(--dur-base), transform var(--dur-base);
}

.anime-comm-pick:hover,
.anime-comm-pick:focus-visible {
  border-color: rgba(175, 40, 42, 0.36);
  transform: translateX(2px);
}

.anime-comm-rank {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-comm-cover {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-200);
  aspect-ratio: 3 / 4;
}

.anime-comm-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-comm-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.anime-comm-info strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-comm-info em {
  margin-top: 5px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.anime-comm-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(175, 40, 42, 0.08);
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.anime-comm-mini-list {
  display: grid;
  gap: 8px;
}

.anime-comm-mini-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  color: inherit;
  padding-top: 10px;
  text-decoration: none;
}

.anime-comm-mini-list a:first-child {
  border-top: 0;
  padding-top: 0;
}

.anime-comm-mini-list strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
}

.anime-comm-mini-list span {
  color: var(--fg-tertiary);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .anime-comm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .anime-community-page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .anime-comm-hero {
    border-radius: 18px;
    padding: 32px 24px 28px;
  }

  .anime-comm-hero-deco {
    right: -14px;
    font-size: 150px;
  }

  .anime-comm-panel-main,
  .anime-comm-panel {
    padding: 14px;
  }

  .anime-comm-panel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-comm-pick {
    grid-template-columns: 34px 52px minmax(0, 1fr);
  }

  .anime-comm-count {
    display: none;
  }

  .anime-comm-info strong {
    white-space: normal;
  }
}

/* site-v2 voice actor profile parity. */
.anime-va-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 96px;
}

.anime-va-page .anime-breadcrumb {
  margin: 0 0 18px;
}

.anime-va-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  margin: 14px 0 44px;
  padding: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--bg-card) 100%);
}

.anime-va-hero-portrait {
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--paper-200);
}

.anime-va-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-va-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.anime-va-hero-body h1 {
  margin: 14px 0 10px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-va-tagline {
  margin: 0 0 18px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anime-va-hero-body > p:not(.anime-va-tagline) {
  max-width: 720px;
  margin: 0;
  color: var(--fg-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.anime-va-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.anime-va-stats div {
  padding: 16px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-050);
}

.anime-va-stats strong,
.anime-va-stats span {
  display: block;
}

.anime-va-stats strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.anime-va-stats span {
  margin-top: 8px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anime-va-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.anime-va-section {
  margin-top: 46px;
}

.anime-va-section .anime-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.anime-va-section .anime-section-head .anime-section-eye {
  grid-column: 1 / -1;
}

.anime-va-section .anime-section-head h2 {
  grid-column: 1;
  margin-top: 6px;
}

.anime-va-section .anime-section-head .anime-section-more {
  grid-column: 2;
}

.anime-va-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.anime-va-role-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 34px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.anime-va-role-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-va-role-card .char,
.anime-va-role-card .show {
  display: block;
  overflow: hidden;
  height: 100px;
  border-radius: 12px;
  background: var(--paper-200);
}

.anime-va-role-card .char img,
.anime-va-role-card .show img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-va-role-card .vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.anime-va-role-card .body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.anime-va-role-card strong,
.anime-va-role-card h3 {
  overflow: hidden;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-va-role-card:hover strong,
.anime-va-role-card:hover h3 {
  color: var(--brand-red);
}

.anime-va-role-card em,
.anime-va-role-card .body > span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.anime-va-timeline {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-va-timeline-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.anime-va-timeline-row:last-child {
  border-bottom: 0;
}

.anime-va-timeline-row .year {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.anime-va-timeline-row .body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.anime-va-timeline-row strong {
  color: var(--fg-strong);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}

.anime-va-timeline-row .body span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anime-va-awards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.anime-va-award-card {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
}

.anime-va-award-card .year {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.anime-va-award-card strong,
.anime-va-award-card span:not(.year) {
  display: block;
}

.anime-va-award-card strong {
  color: var(--fg-strong);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.anime-va-award-card span:not(.year) {
  margin-top: 12px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .anime-va-hero {
    grid-template-columns: 1fr;
  }

  .anime-va-hero-portrait {
    min-height: 320px;
  }

  .anime-va-roles,
  .anime-va-awards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .anime-va-page {
    padding-inline: 24px;
  }

  .anime-va-hero {
    gap: 22px;
    padding: 24px;
    border-radius: 18px;
  }

  .anime-va-hero-portrait {
    min-height: 280px;
  }

  .anime-va-hero-body h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  .anime-va-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-va-section .anime-section-head {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .anime-va-section .anime-section-head .anime-section-more {
    grid-column: 1;
  }

  .anime-va-role-card {
    grid-template-columns: 76px 28px 76px;
  }

  .anime-va-role-card .body {
    grid-column: 1 / -1;
  }

  .anime-va-role-card .char,
  .anime-va-role-card .show {
    height: 86px;
  }

  .anime-va-timeline-row {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 16px;
  }
}

.anime-platform-page,
.anime-platform-single {
  padding: 34px 24px 0;
}

.anime-platform-hub,
.anime-platform-profile {
  max-width: var(--container);
  margin: 0 auto;
}

.anime-platform-hub__hero,
.anime-platform-profile__hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--platform-accent, var(--brand-red)) 16%, transparent), transparent 34%),
    linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  padding: 42px;
}

.anime-platform-hub__deco,
.anime-platform-profile__deco {
  position: absolute;
  right: 30px;
  bottom: -70px;
  color: var(--platform-accent, var(--brand-red));
  font-family: var(--font-kanji);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
}

.anime-platform-hub h1,
.anime-platform-profile__hero h1 {
  position: relative;
  max-width: 760px;
  margin: 10px 0 14px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 900;
  line-height: 1.02;
}

.anime-platform-hub__summary,
.anime-platform-profile__hero p {
  position: relative;
  max-width: 680px;
  margin: 0;
  color: var(--fg-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.anime-platform-hub__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
}

.anime-platform-hub__stats span,
.anime-platform-profile__facts dl > div {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-card) 78%, transparent);
  padding: 14px 16px;
}

.anime-platform-hub__stats strong {
  display: block;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.anime-platform-hub__stats span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.anime-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.anime-platform-card {
  min-width: 0;
}

.anime-platform-card__link {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 22px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}

.anime-platform-card__link:hover {
  border-color: var(--platform-accent);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--platform-accent) 18%, transparent);
  transform: translateY(-2px);
}

.anime-platform-card__mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--platform-accent) 12%, var(--paper-050));
  color: var(--platform-accent);
  font-family: var(--font-kanji);
  font-size: 26px;
  font-weight: 900;
}

.anime-platform-card__type {
  color: var(--platform-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.anime-platform-card h2 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.anime-platform-card p {
  margin: 0;
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.anime-platform-card dl,
.anime-platform-profile__facts dl {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
}

.anime-platform-card dl > div,
.anime-platform-profile__facts dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
}

.anime-platform-card dt,
.anime-platform-profile__facts dt {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-platform-card dd,
.anime-platform-profile__facts dd {
  margin: 0;
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 700;
}

.anime-platform-profile > .anime-breadcrumb {
  max-width: none;
  margin: 0 0 18px;
}

.anime-platform-profile__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.anime-platform-profile__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.anime-platform-profile__facts,
.anime-platform-profile__catalog {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 22px;
}

.anime-platform-profile__facts h2,
.anime-platform-profile__section h2 {
  margin: 0 0 16px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
}

.anime-platform-profile__section h2 {
  max-width: 620px;
  margin-top: 4px;
}

.anime-platform-profile__anime {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.anime-platform-profile__anime a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-050);
  padding: 9px;
  text-decoration: none;
}

.anime-platform-profile__anime img {
  width: 58px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
}

.anime-platform-profile__anime span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.anime-platform-profile__anime strong {
  overflow: hidden;
  color: var(--fg-strong);
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.anime-platform-profile__anime small {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .anime-platform-grid,
  .anime-platform-profile__anime {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-platform-profile__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .anime-platform-page,
  .anime-platform-single {
    padding-inline: 18px;
  }

  .anime-platform-hub__hero,
  .anime-platform-profile__hero {
    border-radius: 18px;
    padding: 26px;
  }

  .anime-platform-hub__stats,
  .anime-platform-grid,
  .anime-platform-profile__anime {
    grid-template-columns: 1fr;
  }

  .anime-platform-card dl > div,
  .anime-platform-profile__facts dl > div {
    grid-template-columns: 1fr;
  }
}

/* Final site-v2 anime detail shell. */
.anime-hub-v2.anime-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 96px;
}

.anime-hub-v2 > .anime-breadcrumb {
  width: min(var(--container), calc(100% - 48px));
  max-width: none;
  margin: 28px auto 0;
  padding: 0;
}

.anime-hub-v2 .anime-hub-hero-v2 {
  max-width: none;
  margin: 0;
  padding: 0;
}

.anime-hub-v2 .anime-hub-cover-v2 {
  position: relative;
  height: 540px;
  overflow: hidden;
  margin-top: 0;
  isolation: isolate;
}

.anime-hub-v2 .anime-hub-cover-v2 .blur {
  position: absolute;
  inset: 0;
  background: var(--paper-200);
}

.anime-hub-v2 .anime-hub-cover-v2 .blur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(0.76) brightness(0.86);
  opacity: 0.56;
  transform: scale(1.08);
}

.anime-hub-v2 .anime-hub-cover-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 247, 240, 0.38) 0%, rgba(251, 247, 240, 0.72) 68%, var(--bg-page) 100%),
    radial-gradient(circle at 50% 10%, rgba(175, 40, 42, 0.12), transparent 42%);
  z-index: 1;
}

.anime-hub-v2 .anime-hub-cover-kanji {
  position: absolute;
  top: -72px;
  right: 7%;
  z-index: 2;
  color: rgba(175, 40, 42, 0.13);
  font-family: var(--font-kanji);
  font-size: 430px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.anime-hub-v2 .anime-hub-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  width: min(var(--container), calc(100% - 48px));
  max-width: none;
  gap: 40px;
  margin: -180px auto 0;
  padding: 0 24px 56px;
  position: relative;
  z-index: 4;
}

.anime-hub-v2 .anime-hub-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anime-hub-v2 .anime-hub-side .poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper-200);
  box-shadow: 0 24px 64px rgba(20, 16, 15, 0.14);
}

.anime-hub-v2 .anime-hub-side .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-hub-v2 .anime-hub-head {
  align-self: start;
  max-width: 860px;
  margin-top: 64px;
}

.anime-hub-v2 .anime-hub-body > .anime-hub-main {
  padding-top: 0;
}

.anime-hub-v2 .anime-hub-title {
  max-width: 760px;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.anime-hub-v2 .anime-hub-jp {
  margin-top: 4px;
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.anime-hub-v2 .anime-hub-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 18px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.anime-hub-v2 .anime-hub-byline .sep {
  color: var(--fg-secondary);
}

.anime-hub-v2 .anime-hub-syn {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message {
  flex-basis: 100%;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-platform-badge-cr {
  background: #F47521;
}

.anime-hub-v2 .anime-platform .badge {
  flex: 0 0 32px;
  line-height: 1;
}

.anime-hub-v2 .anime-platform-name {
  min-width: 0;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  justify-content: normal;
  letter-spacing: -0.003em;
  padding-left: 2px;
}

.anime-hub-v2 .anime-platform-badge-hi {
  background: #00BBFF;
}

.anime-hub-v2 .anime-platform-badge-nf {
  background: #E50914;
}

.anime-hub-v2 > .anime-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  width: min(var(--container), calc(100% - 48px));
  max-width: none;
  gap: 40px;
  margin: 0 auto;
  padding: 0;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
  padding-top: 0;
}

@media (max-width: 1100px) {
  .anime-hub-v2 .anime-hub-body,
  .anime-hub-v2 > .anime-hub-grid {
    grid-template-columns: 1fr;
  }

  .anime-hub-v2 .anime-hub-side {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }

  .anime-hub-v2 .anime-score-blocks,
  .anime-hub-v2 .anime-platforms,
  .anime-hub-v2 .anime-info-block,
  .anime-hub-v2 .anime-hub-side-links {
    grid-column: 2;
  }

  .anime-hub-v2 .anime-hub-head {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .anime-hub-v2 > .anime-breadcrumb,
  .anime-hub-v2 .anime-hub-body,
  .anime-hub-v2 > .anime-hub-grid {
    width: calc(100% - 32px);
  }

  .anime-hub-v2 .anime-hub-cover-v2 {
    height: 540px;
  }

  .anime-hub-v2 .anime-hub-cover-kanji {
    top: -34px;
    right: -8%;
    font-size: 260px;
  }

  .anime-hub-v2 .anime-hub-body {
    width: 100%;
    box-sizing: border-box;
    gap: 24px;
    margin-top: -58px;
    padding: 0 24px 38px;
  }

  .anime-hub-v2 .anime-hub-side {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .anime-hub-v2 .anime-score-blocks,
  .anime-hub-v2 .anime-platforms,
  .anime-hub-v2 .anime-info-block,
  .anime-hub-v2 .anime-hub-side-links {
    grid-column: 1 / -1;
  }

  .anime-hub-v2 .anime-hub-title {
    font-size: 40px;
  }
}

/* Final anime hub detail lock; kept after legacy hub rules. */
.anime-hub-v2 .anime-subnav {
  position: fixed;
  right: 0;
  left: 0;
  top: var(--nav-h);
  z-index: 90;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-page) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.anime-hub-v2 .anime-subnav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.anime-hub-v2 .anime-subnav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--container), calc(100% - 48px));
  height: 52px;
  margin: 0 auto;
}

.anime-hub-v2 .anime-subnav-title {
  flex: 0 0 auto;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.anime-hub-v2 .anime-subnav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}

.anime-hub-v2 .anime-subnav-links::-webkit-scrollbar {
  display: none;
}

.anime-hub-v2 .anime-subnav-links a {
  flex: 0 0 auto;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.anime-hub-v2 .anime-subnav-links a:hover,
.anime-hub-v2 .anime-subnav-links a.is-active {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-subnav-progress {
  height: 2px;
  background: transparent;
}

.anime-hub-v2 .anime-subnav-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand-red);
}

.anime-hub-v2 .anime-epgrid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.anime-hub-v2 .anime-epgrid-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px;
}

.anime-hub-v2 .anime-epgrid-header h3,
.anime-hub-v2 .anime-hub-section > h3 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.anime-hub-v2 .anime-epgrid-header h3 .ja,
.anime-hub-v2 .anime-hub-section > h3 .ja {
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-size: 20px;
  font-weight: 900;
}

.anime-hub-v2 .anime-epgrid-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 11px;
}

.anime-hub-v2 .anime-epgrid-legend .leg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
}

.anime-hub-v2 .anime-epgrid-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.anime-hub-v2 .anime-tier-awesome {
  background: #1F7A44;
}

.anime-hub-v2 .anime-tier-great {
  background: #3DA35D;
}

.anime-hub-v2 .anime-tier-good {
  background: #E0B21C;
}

.anime-hub-v2 .anime-tier-mid {
  background: #E07B1A;
}

.anime-hub-v2 .anime-tier-low {
  background: #CC3B34;
}

.anime-hub-v2 .anime-tier-awful {
  background: #7A4BA0;
}

.anime-hub-v2 .anime-epgrid-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.anime-hub-v2 .anime-epgrid-pick {
  position: relative;
}

.anime-hub-v2 .anime-epgrid-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 12px;
}

.anime-hub-v2 .anime-epgrid-select:hover,
.anime-hub-v2 .anime-epgrid-pick.is-open .anime-epgrid-select {
  border-color: var(--brand-red);
  color: var(--fg-strong);
}

.anime-hub-v2 .anime-epgrid-select .chev {
  opacity: 0.7;
  transition: transform var(--dur-fast);
}

.anime-hub-v2 .anime-epgrid-pick.is-open .anime-epgrid-select .chev {
  transform: rotate(180deg);
}

.anime-hub-v2 .anime-epgrid-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 190px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  padding: 6px;
}

.anime-hub-v2 .anime-epgrid-menu button {
  display: flex;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  text-align: left;
}

.anime-hub-v2 .anime-epgrid-menu button:hover,
.anime-hub-v2 .anime-epgrid-menu button.is-on {
  background: var(--paper-200);
  color: var(--brand-red);
}

.anime-hub-v2 .anime-epgrid-season {
  margin-bottom: 26px;
}

.anime-hub-v2 .anime-epgrid-season:last-child {
  margin-bottom: 0;
}

.anime-hub-v2 .anime-epgrid-season h4 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
}

.anime-hub-v2 .anime-epgrid-season h4 .avg {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.anime-hub-v2 .anime-epgrid-cells {
  display: grid;
  gap: 6px;
}

.anime-hub-v2 .anime-epgrid-cells.is-wrapped {
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
}

.anime-hub-v2 .anime-epcell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  padding: 7px 10px 8px;
  align-items: flex-start;
  box-shadow: inset 0 -18px 32px rgba(11, 8, 9, 0.14);
  text-align: left;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}

.anime-hub-v2 .anime-epcell:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.03);
}

.anime-hub-v2 .anime-epcell.tier-awesome {
  background: #1F7A44;
}

.anime-hub-v2 .anime-epcell.tier-great {
  background: #3DA35D;
}

.anime-hub-v2 .anime-epcell.tier-good {
  background: #E0B21C;
}

.anime-hub-v2 .anime-epcell.tier-mid {
  background: #E07B1A;
}

.anime-hub-v2 .anime-epcell.tier-low {
  background: #CC3B34;
}

.anime-hub-v2 .anime-epcell.tier-awful {
  background: #7A4BA0;
}

.anime-hub-v2 .anime-epcell.tier-unknown {
  background: var(--paper-300);
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-epcell .ep {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.anime-hub-v2 .anime-epcell .score {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.anime-hub-v2 .anime-next-ep {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--paper-300);
  border-radius: 14px;
  background: var(--paper-050);
  margin-top: 12px;
  padding: 16px;
}

.anime-hub-v2 .anime-next-ep img {
  width: 80px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
}

.anime-hub-v2 .anime-next-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.anime-hub-v2 .anime-next-eye {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.anime-hub-v2 .anime-next-ep h4 {
  margin: 4px 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.012em;
}

.anime-hub-v2 .anime-countdown-lg {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  min-width: 270px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.anime-hub-v2 .anime-countdown-lg strong {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.anime-hub-v2 .anime-countdown-lg [data-countdown-output] {
  display: flex;
  gap: 10px;
  width: 100%;
}

.anime-hub-v2 .anime-countdown-lg .unit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 60px;
  border-radius: 10px;
  background: var(--paper-200);
  padding: 12px 4px 9px;
}

.anime-hub-v2 .anime-countdown-lg .unit strong {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  line-height: 1;
}

.anime-hub-v2 .anime-countdown-lg .unit span {
  margin-top: 5px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-hub-about {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
}

.anime-hub-v2 .anime-about-wrap {
  position: relative;
  max-width: none;
}

.anime-hub-v2 .anime-about-wrap.is-collapsed {
  max-height: 170px;
  overflow: hidden;
}

.anime-hub-v2 .anime-about-wrap.is-collapsed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--bg-page));
  pointer-events: none;
}

.anime-hub-v2 .anime-about-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border: 0;
  background: none;
  color: var(--brand-red);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.anime-hub-v2 .anime-about-more:hover {
  opacity: 0.78;
}

.anime-hub-v2 .anime-about-more svg {
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-hub-v2 .anime-about-more.is-open svg {
  transform: rotate(180deg);
}

.anime-hub-v2 .anime-character-carousel {
  margin-top: 0;
}

.anime-hub-v2 .anime-character-carousel .anime-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.anime-hub-v2 .anime-character-carousel .anime-section-head .lhs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-hub-v2 .anime-chars-strip-wrap {
  position: relative;
}

.anime-hub-v2 .anime-chars-v2.is-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 8px 2px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.anime-hub-v2 .anime-chars-v2.is-strip::-webkit-scrollbar {
  display: none;
}

.anime-hub-v2 .anime-chars-v2.is-strip .anime-char-v2 {
  flex: 0 0 162px;
  scroll-snap-align: start;
}

.anime-hub-v2 .anime-char-v2-body h5 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.anime-hub-v2 .anime-anchor-compat {
  position: relative;
  top: calc((var(--nav-h) + 64px) * -1);
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.anime-hub-v2 .anime-lists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.anime-hub-v2 .anime-list-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 18px;
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}

.anime-hub-v2 .anime-list-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-hub-v2 .anime-list-stack {
  display: flex;
  align-items: stretch;
  height: 96px;
  min-width: 0;
}

.anime-hub-v2 .anime-list-stack img {
  width: 72px;
  height: 96px;
  border: 2px solid var(--bg-card);
  border-radius: 8px;
  margin-left: -16px;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}

.anime-hub-v2 .anime-list-stack img:first-child {
  margin-left: 0;
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:first-child {
  transform: rotate(-3deg) translateX(-4px);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(2) {
  transform: translateY(-4px);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(3) {
  transform: rotate(3deg) translateX(4px);
}

.anime-hub-v2 .anime-list-title {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  transition: color var(--dur-fast);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-title {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-list-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-hub-v2 .anime-list-meta img,
.anime-hub-v2 .anime-news-card .anime-meta-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
}

.anime-hub-v2 .anime-news-strip-wrap {
  position: relative;
}

.anime-hub-v2 .anime-news-strip {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.anime-hub-v2 .anime-news-strip::-webkit-scrollbar {
  display: none;
}

.anime-hub-v2 .anime-news-strip .anime-news-card {
  scroll-snap-align: start;
}

.anime-hub-v2 .anime-news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.anime-hub-v2 .anime-news-card .cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-200);
}

.anime-hub-v2 .anime-news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.anime-hub-v2 .anime-news-card:hover .cover img {
  transform: scale(1.04);
}

.anime-hub-v2 .anime-news-card .tag-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  background: rgba(11, 8, 9, 0.7);
  color: #FBF6F2;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 5px 8px;
}

.anime-hub-v2 .anime-news-card h3 {
  display: -webkit-box;
  min-height: 2.56em;
  overflow: hidden;
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  transition: color var(--dur-fast);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-hub-v2 .anime-news-card:hover h3 {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-news-card .anime-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.anime-hub-v2 .anime-strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.anime-hub-v2 .anime-strip-arrow:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-50%) scale(1.04);
}

.anime-hub-v2 .anime-strip-arrow.is-prev {
  left: -21px;
}

.anime-hub-v2 .anime-strip-arrow.is-next {
  right: -21px;
}

@media (max-width: 1100px) {
  .anime-hub-v2 .anime-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .anime-hub-v2 .anime-next-ep {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .anime-hub-v2 .anime-countdown-lg {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-subnav {
    display: block;
  }

  .anime-hub-v2 .anime-subnav-inner {
    width: calc(100% - 32px);
  }

  .anime-hub-v2 .anime-subnav-title {
    display: none;
  }

  .anime-hub-v2 .anime-epgrid-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-hub-v2 .anime-epgrid-toolbar {
    margin-left: 0;
  }

  .anime-hub-v2 .anime-epgrid-cells.is-wrapped {
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  }

  .anime-hub-v2 .anime-epcell {
    min-height: 52px;
  }

  .anime-hub-v2 .anime-next-ep {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .anime-hub-v2 .anime-lists {
    grid-template-columns: 1fr;
  }

  .anime-hub-v2 .anime-news-strip {
    grid-auto-columns: 82vw;
    gap: 16px;
  }

  .anime-hub-v2 .anime-strip-arrow {
    display: none;
  }
}

.anime-hub-v2 .anime-comments-block {
  margin-top: 0;
}

.anime-hub-v2 .anime-comment-composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.anime-hub-v2 .anime-comment-composer > img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--paper-200);
  border-radius: 999px;
  object-fit: cover;
}

.anime-hub-v2 .anime-comment-composer > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.anime-hub-v2 .anime-comment-composer textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  outline: none;
  padding: 6px 0;
  resize: vertical;
}

.anime-hub-v2 .anime-comment-composer textarea::placeholder {
  color: var(--fg-tertiary);
}

.anime-hub-v2 .anime-comment-composer-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.anime-hub-v2 .anime-comment-composer.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.anime-hub-v2 .anime-side-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 20px;
}

.anime-hub-v2 .anime-side-block h5 {
  margin: 0;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.anime-hub-v2 .anime-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-hub-v2 .anime-rules li {
  position: relative;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  padding-left: 18px;
}

.anime-hub-v2 .anime-rules li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-red);
}

.anime-hub-v2 .anime-rules code {
  border-radius: 4px;
  background: var(--paper-200);
  color: var(--fg-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 1px 5px;
}

.anime-hub-v2 .anime-side-cta-discord {
  background: #5865F2;
}

.anime-hub-v2 .anime-side-cta h4 {
  margin: 4px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.anime-hub-v2 .anime-side-cta > :is(a, button) {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #5865F2;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 16px;
  text-decoration: none;
}

.anime-hub-v2 .anime-discord-mark {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 118px;
  height: 118px;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.anime-hub-v2 .anime-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 28px;
}

.anime-hub-v2 .anime-faq-layout .anime-faq {
  max-width: none;
}

.anime-hub-v2 .anime-faq-side {
  position: sticky;
  top: calc(var(--nav-h) + 18px);
}

.anime-hub-v2 .anime-faq-help {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 22px 20px;
}

.anime-hub-v2 .anime-faq-help h4 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.anime-hub-v2 .anime-faq-help p {
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.6;
}

.anime-hub-v2 .anime-faq-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.anime-hub-v2 .anime-faq-links a {
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.anime-hub-v2 .anime-faq-item {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color var(--dur-fast);
}

.anime-hub-v2 .anime-faq-item.is-open {
  border-color: var(--brand-red);
}

.anime-hub-v2 .anime-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--fg-strong);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 17px 20px;
  text-align: left;
  transition: color var(--dur-fast);
}

.anime-hub-v2 .anime-faq-q:hover,
.anime-hub-v2 .anime-faq-item.is-open .anime-faq-q {
  color: var(--brand-red);
}

.anime-hub-v2 .anime-faq-q svg {
  flex-shrink: 0;
  color: var(--fg-tertiary);
  transition: transform 200ms var(--ease-out), color var(--dur-fast);
}

.anime-hub-v2 .anime-faq-item.is-open .anime-faq-q svg {
  color: var(--brand-red);
  transform: rotate(180deg);
}

.anime-hub-v2 .anime-faq-a {
  max-width: 680px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 0 20px 18px;
}

@media (max-width: 880px) {
  .anime-hub-v2 .anime-faq-layout {
    grid-template-columns: 1fr;
  }

  .anime-hub-v2 .anime-faq-side {
    position: static;
  }
}

.anime-hub-v2 #sec-reviews .anime-comments-block {
  gap: 12px;
}

.anime-hub-v2 #sec-reviews .anime-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review {
  grid-template-columns: 40px minmax(0, 1fr);
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review .head {
  gap: 8px;
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review .anime-review-score {
  align-self: center;
  margin-left: auto;
  border-radius: 8px;
  background: #B5DDB0;
  color: #2A5C2E;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 5px 11px;
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review .anime-review-score.is-mid {
  background: #D8EAD3;
  color: #406B40;
}

.anime-hub-v2 #sec-reviews .anime-review-summary {
  display: flex;
  flex-direction: column;
}

.anime-hub-v2 #sec-reviews .anime-review-dist {
  margin-bottom: 18px;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-toggle {
  align-self: stretch;
  justify-content: center;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-toggle.is-open {
  background: var(--brand-red-deep);
}

.anime-hub-v2 #sec-reviews .anime-review-compose-panel {
  grid-template-columns: 1fr;
  margin: 16px 0 0;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-page);
  padding: 14px;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-panel > .av {
  display: none;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-panel .composer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-panel .composer-actions {
  display: flex;
  justify-content: flex-end;
}

/* site-v2 anime detail hero controls. Keep these at the end to beat legacy blocks. */
.anime-nav .anime-brand,
.anime-nav .anime-brand img {
  width: 38px !important;
  height: 38px !important;
}

.anime-nav .anime-brand img {
  border-radius: 8px !important;
}

.anime-nav.is-searching .anime-search-wrap {
  position: relative;
  flex: 1 1 auto;
  margin-left: 0;
}

.anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
  padding-top: 0;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head {
  margin-top: 0 !important;
  padding-top: 60px !important;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.anime-hub-v2 .anime-btn-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 4px 7px;
}

.anime-hub-v2 .anime-status-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.anime-hub-v2 [data-status-toggle] {
  gap: 8px;
  min-width: 148px;
}

.anime-hub-v2 [data-status-toggle].is-mint {
  background: #2E8A60;
}

/* Final site-v2 shell parity: older responsive blocks must not hide desktop/tablet nav early. */
@media (min-width: 721px) {
  .anime-nav .anime-nav-inner,
  .anime-nav .anime-nav__inner {
    gap: 28px !important;
    height: var(--nav-h) !important;
    padding: 0 24px !important;
  }

  .anime-nav .anime-brand,
  .anime-nav .anime-brand img {
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .anime-nav .anime-links:not([hidden]),
  .anime-nav .anime-nav__links:not([hidden]) {
    display: flex !important;
    gap: 2px !important;
  }

  .anime-nav .anime-link,
  .anime-nav .anime-nav__links a {
    height: 36px !important;
    padding: 8px 14px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
  }

  .anime-nav .anime-search-btn,
  .anime-nav .anime-search-toggle {
    display: inline-flex !important;
    min-width: 230px !important;
    height: 38px !important;
    padding: 0 12px 0 14px !important;
  }
}

.anime-hub-v2 [data-status-toggle].is-sky {
  background: #2A78B8;
}

/* Final anime directory parity: anime-listesi.html keeps this page in a raw poster flow. */
.anime-list-page .anime-breadcrumb,
.anime-list-page .anime-list-hero,
.anime-list-page .anime-list-toolbar,
.anime-list-page .anime-list-grid-wrap {
  width: calc(100% - 48px) !important;
  max-width: calc(var(--container) - 48px) !important;
  line-height: normal !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.anime-list-page .anime-list-toolbar {
  margin-top: 0 !important;
}

.anime-list-page .anime-list-toolbar-row,
.anime-list-page .anime-list-search,
.anime-list-page .anime-list-actions,
.anime-list-page .anime-list-chips,
.anime-list-page .anime-list-grid-head,
.anime-list-page .anime-list-grid-wrap .anime-list-grid,
.anime-list-page .anime-list-grid-wrap .anime-anime-grid {
  display: block !important;
}

.anime-list-page .anime-list-toolbar-row,
.anime-list-page .anime-list-search,
.anime-list-page .anime-list-actions,
.anime-list-page .anime-list-chips,
.anime-list-page .anime-list-grid-head {
  gap: normal !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.anime-list-page .anime-list-actions {
  min-height: 56px !important;
}

.anime-list-page .anime-list-chips {
  min-height: 23px !important;
}

.anime-list-page .anime-list-layout {
  display: block !important;
}

.anime-list-page .anime-list-search input {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  border: revert !important;
  outline: revert !important;
  background: revert !important;
  color: revert !important;
  font: revert !important;
}

.anime-list-page .anime-list-actions .anime-btn,
.anime-list-page .anime-list-layout-btn,
.anime-list-page .anime-list-chips .anime-chip {
  all: revert;
}

.anime-list-page .anime-dropdown {
  position: static !important;
  display: block;
  width: auto !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.anime-list-page .anime-dropdown[hidden] {
  display: none !important;
}

.anime-list-page .anime-list-grid-wrap {
  margin-top: 40px !important;
}

.anime-list-page .anime-list-grid-head h2 {
  margin: 0.83em 0 !important;
  color: var(--fg-strong) !important;
  font-family: var(--font-display) !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.18 !important;
}

.anime-list-page .anime-list-grid-page {
  color: inherit !important;
  font: inherit !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card,
.anime-list-page .anime-list-grid-wrap .anime-anime-card {
  display: inline !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card .poster,
.anime-list-page .anime-list-grid-wrap .anime-anime-card__media {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card:hover .poster,
.anime-list-page .anime-list-grid-wrap .anime-anime-card:hover .anime-anime-card__media {
  border-color: transparent !important;
  transform: none !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card .poster img,
.anime-list-page .anime-list-grid-wrap .anime-anime-card__media img {
  display: block !important;
  width: min(600px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card .score,
.anime-list-page .anime-list-grid-wrap .anime-anime-card__score {
  position: static !important;
  display: inline !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: 0 !important;
  line-height: normal !important;
  padding: 0 !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card h3,
.anime-list-page .anime-list-grid-wrap .anime-anime-card__body h3 {
  display: block !important;
  width: auto !important;
  margin: 36px 0 !important;
  color: var(--fg-strong) !important;
  font-family: var(--font-sans) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.18 !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card:hover h3 {
  color: var(--fg-strong) !important;
}

.anime-list-page .anime-list-grid-wrap .anime-poster-card .meta,
.anime-list-page .anime-list-grid-wrap .anime-anime-card__body span {
  display: inline !important;
  margin-top: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

.anime-list-page .anime-list-grid-wrap .anime-pagination {
  margin-top: 40px !important;
}

.anime-list-page .anime-list-grid-wrap .anime-pagination a,
.anime-list-page .anime-list-grid-wrap .anime-pagination span,
.anime-list-page .anime-list-grid-wrap .anime-pagination .page-numbers {
  all: revert;
}

@media (max-width: 560px) {
  .anime-list-page .anime-list-chips {
    min-height: 69px !important;
  }
}

.anime-hub-v2 [data-status-toggle].is-amber {
  background: #C58A0E;
}

.anime-hub-v2 [data-status-toggle].is-completed {
  background: #4E5D78;
}

.anime-hub-v2 [data-status-toggle].is-dropped {
  background: #7A1A1C;
}

.anime-hub-v2 [data-status-toggle].is-favorite {
  background: #C8447A;
}

.anime-hub-v2 .anime-status-chev {
  margin-left: auto;
  opacity: 0.82;
  transition: transform 160ms var(--ease-out);
}

.anime-hub-v2 .anime-status-wrap.is-open .anime-status-chev {
  transform: rotate(180deg);
}

.anime-hub-v2 .anime-status-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: 330px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  animation: anime-notifs-pop 180ms var(--ease-out);
}

.anime-hub-v2 .anime-status-pop::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transform: rotate(45deg);
}

.anime-hub-v2 .anime-status-pop h5 {
  margin: 0 0 10px;
  color: var(--brand-red);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-hub-v2 .anime-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.anime-hub-v2 .anime-status-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--paper-050);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.15;
  padding: 7px 8px;
  text-align: center;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.anime-hub-v2 .anime-status-btn:hover {
  border-color: var(--brand-red);
}

.anime-hub-v2 .anime-status-btn.is-active {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-hub-v2 .anime-status-btn.mint.is-active {
  background: #2E8A60;
}

.anime-hub-v2 .anime-status-btn.sky.is-active {
  background: #2A78B8;
}

.anime-hub-v2 .anime-status-btn.amber.is-active {
  background: #C58A0E;
}

@media (max-width: 1100px) {
  .anime-hub-v2 > .anime-hub-grid > .anime-hub-main {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .anime-hub-v2 .anime-hub-head .anime-hub-actions {
    align-items: stretch;
  }

  .anime-hub-v2 .anime-status-wrap,
  .anime-hub-v2 [data-status-toggle],
  .anime-hub-v2 .anime-hub-head .anime-btn {
    width: 100%;
  }

  .anime-hub-v2 .anime-status-pop {
    width: 100%;
  }
}

.anime-hub-v2 .anime-hub-cover-v2 .blur {
  background: transparent;
}

.anime-hub-v2 .anime-hub-cover-v2 .blur img {
  width: 100%;
  height: 100%;
  filter: none;
  opacity: 1;
  object-fit: cover;
  object-position: center 32%;
  transform: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.42) 16%, rgba(0, 0, 0, 0.78) 25%, #000 35%, #000 65%, rgba(0, 0, 0, 0.78) 75%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 17%, #000 40%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.16) 76%, transparent 90%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.42) 16%, rgba(0, 0, 0, 0.78) 25%, #000 35%, #000 65%, rgba(0, 0, 0, 0.78) 75%, rgba(0, 0, 0, 0.42) 84%, rgba(0, 0, 0, 0.12) 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 17%, #000 40%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.16) 76%, transparent 90%);
  mask-composite: intersect;
}

.anime-hub-v2 .anime-hub-cover-v2::after {
  display: none;
}

.anime-hub-v2 .anime-hub-cover-kanji {
  top: -60px;
  right: 6%;
  color: var(--brand-red);
  font-size: 460px;
  letter-spacing: 0;
  line-height: 0.85;
  mix-blend-mode: multiply;
  opacity: 0.14;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head {
  gap: 14px;
  padding-top: 60px !important;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-title {
  margin: 4px 0 0;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-jp {
  margin-top: -6px;
  font-weight: 700;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-byline,
.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-syn {
  margin-top: 0;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-syn {
  max-width: 720px;
}

.anime-hub-v2 .anime-hub-main.anime-hub-head .anime-hub-actions {
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .anime-hub-v2 .anime-hub-head .anime-hub-actions {
    align-items: center;
  }

  .anime-hub-v2 .anime-status-wrap,
  .anime-hub-v2 [data-status-toggle],
  .anime-hub-v2 .anime-hub-head .anime-btn {
    width: auto;
  }

  .anime-hub-v2 .anime-status-wrap {
    margin-right: calc(100% - 172px);
  }
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-hub-body {
    overflow: hidden;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: -60px;
    padding-bottom: 56px;
  }

  .anime-hub-v2 .anime-hub-side {
    width: 422px;
    min-width: 0;
    grid-template-columns: 200px 206px;
    gap: 16px;
    justify-self: start;
  }

  .anime-hub-v2 .anime-hub-side .poster {
    grid-row: 1 / 5;
  }

  .anime-hub-v2 .anime-score-blocks,
  .anime-hub-v2 .anime-platforms,
  .anime-hub-v2 .anime-info-block,
  .anime-hub-v2 .anime-hub-side-links {
    grid-column: 2;
  }

  .anime-hub-v2 .anime-hub-main.anime-hub-head {
    padding-top: 24px !important;
  }
}

/* site-v2 anime hub strip locks. Keep after older hub rules. */
.anime-hub-v2 .anime-hub-row .anime-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.anime-hub-v2 .anime-hub-row .anime-section-head .lhs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-hub-v2 .anime-hub-row .anime-section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 0;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.anime-hub-v2 .anime-list-card {
  align-items: center;
  gap: 16px;
  padding: 20px 18px 18px;
  text-align: center;
}

.anime-hub-v2 .anime-list-stack {
  width: fit-content;
  height: 112px;
  margin: 0 auto;
}

.anime-hub-v2 .anime-list-stack img {
  width: 84px;
  height: 112px;
  border-width: 3px;
  border-radius: 9px;
  margin-left: -36px;
  box-shadow: 0 4px 14px rgba(20, 16, 15, 0.08);
}

.anime-hub-v2 .anime-list-stack img:first-child {
  margin-left: 0;
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(1) {
  transform: rotate(-6deg) translate(-8px, -2px);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(2) {
  transform: rotate(-2deg) translateY(-4px);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(3) {
  transform: rotate(2deg) translateY(-4px);
}

.anime-hub-v2 .anime-list-card:hover .anime-list-stack img:nth-child(4) {
  transform: rotate(6deg) translate(8px, -2px);
}

.anime-hub-v2 .anime-list-title {
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.3;
}

.anime-hub-v2 .anime-comment-replies {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper-050);
  padding: 4px 20px 4px 56px;
}

.anime-hub-v2 .anime-comment.reply {
  position: relative;
  align-items: start;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
}

.anime-hub-v2 .anime-comment.reply .av {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review .anime-review-score {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-left: 14px;
  border-radius: 10px;
  background: #1F7A44;
  padding: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: normal;
}

.anime-hub-v2 #sec-reviews .anime-comment.is-review .anime-review-score.is-mid {
  background: #3DA35D;
  color: #fff;
}

.anime-hub-v2 #sec-reviews .anime-review-title {
  margin: 7px 0 5px;
  font-size: 16px;
  line-height: 1.3;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > img {
  display: block;
  width: 44px;
  height: 44px;
  border: 2px solid var(--paper-200);
  border-radius: 999px;
  object-fit: cover;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > div {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  gap: 12px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer textarea {
  display: block;
  width: 100%;
  min-height: 70px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  outline: none;
  padding: 6px 0;
  resize: vertical;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer-actions .anime-btn {
  min-height: 34px;
  height: auto;
  padding: 8px 13px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-list,
.anime-hub-v2 #sec-reviews .anime-comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.anime-hub-v2 #sec-reviews .anime-comments-block {
  gap: 20px;
}

.anime-hub-v2 .anime-news-strip {
  display: flex;
  gap: 24px;
  padding-bottom: 4px;
}

.anime-hub-v2 .anime-news-strip .anime-news-card {
  flex: 0 0 300px;
}

@media (max-width: 640px) {
  .anime-hub-v2 .anime-news-strip .anime-news-card {
    flex-basis: 80vw;
  }
}

/* Final anime hub metric parity: match site-v2 first-viewport score and text rhythm. */
.anime-hub-v2 .anime-subnav {
  z-index: 80 !important;
  background: color-mix(in srgb, var(--bg-page) 90%, transparent) !important;
  backdrop-filter: blur(18px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.1) !important;
  transform: translateY(-14px) !important;
}

.anime-hub-v2 .anime-subnav.is-visible {
  transform: translateY(0) !important;
}

.anime-hub-v2 .anime-subnav-inner {
  gap: 22px !important;
  width: auto !important;
  max-width: var(--container) !important;
  height: 54px !important;
  padding: 0 24px !important;
}

.anime-hub-v2 .anime-subnav-title {
  border-right: 1px solid var(--border-subtle) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  padding-right: 22px !important;
}

.anime-hub-v2 .anime-subnav-links {
  gap: 26px !important;
}

.anime-hub-v2 .anime-subnav-links a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.anime-hub-v2 .anime-subnav-progress {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 2px !important;
}

.anime-hub-v2 .anime-hub-side {
  gap: 14px !important;
}

.anime-hub-v2 .anime-hub-byline {
  gap: 14px !important;
  font-size: 12.5px !important;
}

.anime-hub-v2 .anime-hub-syn,
.anime-hub-v2 .anime-hub-syn p {
  line-height: 1.6 !important;
}

.anime-hub-v2 .anime-score-logo {
  font-family: "Arial Black", "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
}

.anime-hub-v2 .anime-score-comm .anime-score-logo {
  background: #fff !important;
  color: var(--brand-red) !important;
  font-family: var(--font-sans) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.1 !important;
  padding: 3px 7px !important;
}

.anime-hub-v2 .anime-score-imdb .anime-score-logo {
  background: #14100F !important;
  color: #F5C518 !important;
}

.anime-hub-v2 .anime-score-num {
  letter-spacing: -0.03em !important;
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-hub-side {
    width: 100% !important;
    gap: 16px !important;
  }

  .anime-hub-v2 .anime-subnav-title {
    display: none !important;
  }
}

/* Final anime hub lower-section parity: match site-v2 threaded comment rhythm. */
.anime-hub-v2 .anime-comment .head {
  align-items: baseline !important;
  gap: 10px !important;
  margin-bottom: 0 !important;
}

.anime-hub-v2 .anime-comment .name {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.anime-hub-v2 .anime-comment .text {
  line-height: 1.5 !important;
}

.anime-hub-v2 .anime-comment .acts {
  margin-top: 6px !important;
}

.anime-hub-v2 .anime-comment.reply .av {
  font-size: 12px !important;
}

.anime-hub-v2 .anime-comment.reply .body {
  gap: 4px !important;
}

.anime-hub-v2 .anime-comment.reply .body .name {
  font-size: 13px !important;
}

.anime-hub-v2 .anime-comment.reply .text {
  font-size: 13.5px !important;
}

.anime-hub-v2 .anime-comment.reply .acts {
  gap: 14px !important;
  margin-top: 2px !important;
}

.anime-hub-v2 .anime-comments-more {
  align-self: stretch !important;
  margin-top: 8px !important;
  border: 1px dashed var(--border) !important;
  border-radius: 10px !important;
  background: var(--bg-card) !important;
  padding: 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Final site-v2 shell lock: keep global logo, nav, search and footer immune to older block styles. */
.anime-nav {
  z-index: 100 !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  background: color-mix(in srgb, var(--bg-page) 86%, transparent) !important;
  backdrop-filter: blur(18px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.1) !important;
}

.anime-nav .anime-nav-inner,
.anime-nav .anime-nav__inner {
  max-width: var(--container) !important;
  height: var(--nav-h) !important;
  min-height: var(--nav-h) !important;
  margin-inline: auto !important;
  padding: 0 24px !important;
  gap: 28px !important;
}

.anime-nav .anime-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.anime-nav .anime-brand img {
  display: block !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

.anime-nav .anime-links,
.anime-nav .anime-nav__links {
  align-items: center !important;
  gap: 2px !important;
}

.anime-nav .anime-link,
.anime-nav .anime-nav__links a {
  height: 36px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--fg-secondary) !important;
  font-family: var(--font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
}

.anime-nav .anime-link:hover,
.anime-nav .anime-link.is-open,
.anime-nav .anime-nav__links a:hover {
  background: var(--paper-200) !important;
  color: var(--fg-strong) !important;
}

.anime-nav .anime-search-btn,
.anime-nav .anime-search-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 230px !important;
  height: 38px !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 999px !important;
  background: var(--bg-surface) !important;
  color: var(--fg-tertiary) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  gap: 8px !important;
  padding: 0 12px 0 14px !important;
}

.anime-nav.is-searching .anime-search-wrap {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  margin-left: 0 !important;
}

.anime-nav.is-searching .anime-search-input-bar {
  height: 42px !important;
  border: 1.5px solid var(--brand-red) !important;
  border-radius: 10px !important;
  background: var(--bg-card) !important;
  box-shadow: 0 0 0 4px rgba(175, 40, 42, 0.08) !important;
  padding: 0 12px !important;
}

.anime-nav.is-searching .anime-search-wrap .anime-search-panel {
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: 0 !important;
  width: auto !important;
  max-height: 70vh !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 14px !important;
  background: var(--bg-card) !important;
  box-shadow: var(--shadow-lg) !important;
  transform: none !important;
}

.anime-search-scrim {
  top: 56px !important;
  background: rgba(11, 8, 9, 0.42) !important;
}

.anime-foot {
  position: relative !important;
  overflow: hidden !important;
  border-top: 1px solid var(--border-subtle) !important;
  background: var(--paper-050) !important;
}

.anime-foot-logo-img {
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
}

.anime-foot h4,
.anime-foot li a,
.anime-foot-copy,
.anime-foot-legal p {
  font-family: var(--font-sans) !important;
}

.anime-foot-copy {
  font-family: var(--font-mono) !important;
}

/* site-v2 settings page lock. */
.anime-settings-page .anime-settings-head {
  margin: 0 0 15px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.anime-settings-page .anime-settings-head h1 {
  margin: 0.67em 0 !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1.04 !important;
}

.anime-settings-page .anime-settings-head p {
  margin: 15px 0 !important;
}

.anime-settings-page .anime-settings-layout {
  margin-top: 11px !important;
}

.anime-create-page .anime-create-head {
  margin: 0 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.anime-create-page .anime-create-head h1 {
  margin: 8px 0 8px !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  line-height: 1.02 !important;
}

.anime-create-page .anime-create-head p {
  max-width: 620px;
  margin: 0 !important;
  font-size: 14.5px !important;
}

.anime-create-page .anime-breadcrumb {
  margin-top: 20px !important;
}

.anime-create-page .anime-section-eye {
  display: block;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .anime-nav .anime-links,
  .anime-nav .anime-nav__links,
  .anime-nav .anime-search-btn,
  .anime-nav .anime-search-toggle {
    display: none !important;
  }

  .anime-nav .anime-nav-inner,
  .anime-nav .anime-nav__inner {
    padding: 0 24px !important;
    gap: 12px !important;
  }

  .anime-nav .anime-nav-right,
  .anime-nav .anime-nav__actions {
    margin-left: auto !important;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .anime-nav .anime-links,
  .anime-nav .anime-nav__links,
  .anime-nav .anime-links:not([hidden]),
  .anime-nav .anime-nav__links:not([hidden]) {
    display: none !important;
  }

  .anime-nav .anime-nav-inner,
  .anime-nav .anime-nav__inner {
    max-width: 100% !important;
    padding-inline: 24px !important;
    gap: 12px !important;
  }

  .anime-nav .anime-nav-right,
  .anime-nav .anime-nav__actions {
    flex: 0 1 auto !important;
    margin-left: auto !important;
    min-width: 0 !important;
  }
}

/* site-v2 test article module. */
.anime-art-layout .anime-quiz {
  max-width: none;
  margin: 34px 0 0;
  padding: 0;
}

.anime-art-layout .anime-quiz-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--brand-red);
  color: #fff;
  padding: 30px 32px;
}

.anime-art-layout .anime-quiz-head .anime-section-eye {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* site/top100.html parity: keep the ranking hero on the static page rhythm. */
.anime-top100-page .anime-category-hero {
  margin: 32px 0 0 !important;
  padding: 36px 40px !important;
  border-radius: 18px !important;
}

.anime-top100-page .anime-category-hero::after {
  content: none !important;
}

.anime-top100-page .anime-category-hero-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-width: 800px !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.anime-top100-page .anime-category-hero h1 {
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
  margin: 6px 0 !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.anime-top100-page .anime-category-hero h1 .ja {
  font-size: 40px !important;
  font-weight: 900 !important;
}

.anime-top100-page .anime-category-desc {
  max-width: 640px !important;
  margin: 4px 0 !important;
  color: var(--fg-primary) !important;
  line-height: 1.55 !important;
}

.anime-top100-page .anime-category-meta {
  margin: 14px 0 0 !important;
}

.anime-art-layout .anime-quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.anime-art-layout .anime-quiz-progress .bar {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.anime-art-layout .anime-quiz-progress span {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.anime-art-layout .anime-quiz-card {
  margin-top: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 28px 30px 24px;
}

.anime-art-layout .anime-quiz-q {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  margin: 0;
}

.anime-art-layout .anime-quiz-q .num {
  color: var(--brand-red);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.anime-art-layout .anime-quiz-q h2 {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.anime-art-layout .anime-quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.anime-art-layout .anime-quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.42;
  padding: 16px 18px;
  text-align: left;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
}

.anime-art-layout .anime-quiz-opt:hover,
.anime-art-layout .anime-quiz-opt:focus-visible {
  border-color: var(--brand-red);
  color: var(--fg-strong);
  outline: 0;
}

.anime-art-layout .anime-quiz-opt .dot {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  background: var(--paper-100);
}

.anime-art-layout .anime-quiz-opt:hover .dot,
.anime-art-layout .anime-quiz-opt:focus-visible .dot {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-red) 12%, transparent);
}

.anime-art-layout .anime-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.anime-art-layout .anime-quiz-nav .anime-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.52;
}

.anime-art-layout .anime-quiz-all {
  margin-top: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px 18px;
}

.anime-art-layout .anime-quiz-all summary {
  color: var(--fg-strong);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

.anime-art-layout .anime-quiz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.anime-art-layout .anime-quiz-list li {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.anime-art-layout .anime-quiz-promo {
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--brand-red) 28%, var(--border-subtle));
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-red) 7%, var(--bg-card));
  padding: 18px 20px;
}

.anime-art-layout .anime-quiz-promo-eye {
  color: var(--brand-red);
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.anime-art-layout .anime-quiz-promo p {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.anime-article-quiz-note {
  margin-top: 34px;
}

@media (max-width: 720px) {
  .anime-art-layout .anime-quiz {
    margin-top: 28px;
  }

  .anime-art-layout .anime-quiz-head,
  .anime-art-layout .anime-quiz-card {
    border-radius: 14px;
    padding: 22px 18px;
  }

  .anime-art-layout .anime-quiz-q {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .anime-art-layout .anime-quiz-q .num {
    font-size: 34px;
  }

  .anime-art-layout .anime-quiz-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-art-layout .anime-quiz-progress .bar {
    width: 100%;
  }

  .anime-art-layout .anime-quiz-nav {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Sitewide typography consistency. Keep page-specific sizing, normalize families. */
body:not(.wp-admin) {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body:not(.wp-admin) :where(button, input, textarea, select) {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.wp-admin) :where(
  h1,
  h2,
  .anime-title,
  .anime-hub-h2,
  .anime-article-title,
  .anime-list-art-title,
  .anime-card h2,
  .anime-panel h2,
  .anime-foot h2
) {
  font-family: var(--font-display);
}

body:not(.wp-admin) :where(
  .anime-section-eye,
  .anime-eyebrow,
  .anime-article-kicker,
  .anime-feat-kicker,
  .anime-glossary-card-kicker,
  .anime-quiz-promo-eye,
  .kicker
) {
  font-family: var(--font-sans) !important;
  font-size: 11.5px;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2;
  text-transform: uppercase;
}

body:not(.wp-admin) :where(
  .anime-meta-row,
  .anime-card-meta,
  .anime-article-meta,
  .anime-article-byline,
  .anime-hub-byline,
  .anime-hub-meta,
  .anime-related-meta,
  .anime-author-meta,
  .anime-list-meta,
  .anime-feat-meta,
  .anime-category-meta,
  .anime-top100-meta,
  .anime-season-meta,
  .anime-character-profile__meta,
  .anime-episode-profile__meta,
  .anime-comm-hero-meta
) {
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
  line-height: 1.35;
}

body:not(.wp-admin) :where(
  .anime-comments-count,
  .anime-comments-sort > span,
  .anime-summary-note,
  .anime-foot small,
  code,
  kbd,
  samp
) {
  font-family: var(--font-mono);
}

.anime-hub-v2 .anime-score-logo {
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > div {
  display: flex;
  flex-direction: column;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer textarea {
  display: block;
  width: 100%;
  min-height: 70px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  padding: 6px 0;
  resize: vertical;
}

.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) {
  overflow-x: clip;
}

.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comments-layout {
  width: 100%;
  min-width: 0;
}

.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .main,
.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comments-block,
.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comment-list,
.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comment-thread,
.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comment .body,
.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .composer-body {
  min-width: 0;
}

.anime-hub-v2 #sec-reviews .anime-review-inline-composer,
.anime-hub-v2 #sec-reviews .anime-review-compose-panel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 16px;
}

.anime-hub-v2 #sec-reviews .anime-review-compose-panel[hidden] {
  display: none;
}

.anime-hub-v2 #sec-reviews .anime-composer .av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.anime-hub-v2 #sec-reviews .composer-body,
.anime-hub-v2 #sec-reviews .composer-actions {
  display: flex;
}

.anime-hub-v2 #sec-reviews .composer-body {
  flex-direction: column;
  gap: 10px;
}

.anime-hub-v2 #sec-reviews .composer-actions {
  justify-content: flex-end;
}

.anime-hub-v2 #sec-reviews .composer-body textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  outline: none;
  padding: 6px 0;
  resize: vertical;
}

.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comment {
  max-width: 100%;
}

.anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comment .text {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comments-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .anime-hub-v2 :where(#hub-comments-section, #sec-reviews) .anime-comments-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .anime-hub-v2 #hub-comments-section .anime-comment-composer,
  .anime-hub-v2 #sec-reviews .anime-review-inline-composer,
  .anime-hub-v2 #sec-reviews .anime-review-compose-panel {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .anime-hub-v2 #hub-comments-section .anime-comment-composer > img,
  .anime-hub-v2 #sec-reviews .anime-composer .av {
    width: 38px;
    height: 38px;
  }
}

/* Anime hub visual parity with site/anime-hub.html. */
.anime-hub-v2 .anime-hub-cover-kanji {
  color: var(--brand-red);
  opacity: 0.14;
  letter-spacing: -0.04em;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .anime-hub-v2 .anime-hub-cover-kanji {
  color: #E8DFDB;
  opacity: 0.07;
  mix-blend-mode: screen;
}

.anime-hub-v2 .anime-char-v2-kanji {
  color: var(--brand-red);
  letter-spacing: -0.04em;
  opacity: 0.13;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  border-radius: 10px;
  border-width: 1px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  padding: 11px 18px;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn svg {
  display: block;
  flex: 0 0 auto;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-primary {
  border-color: transparent;
  background: var(--brand-red);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-primary:hover {
  background: var(--brand-red-hot);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-primary:active {
  background: var(--brand-red-deep);
  transform: scale(0.98);
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--fg-primary);
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
  color: var(--fg-primary);
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-count {
  display: block;
  min-width: 0;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--paper-200);
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: normal;
  padding: 2px 7px;
}

.anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn-ghost:hover .anime-btn-count {
  background: var(--paper-300);
}

.anime-hub-v2 .anime-hub-head .anime-status-chev {
  margin-left: 2px;
  opacity: 0.85;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-mint {
  background: var(--accent-mint);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-mint:hover {
  background: #1f7250;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-sky {
  background: var(--accent-sky);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-sky:hover {
  background: #20649c;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-amber {
  background: var(--accent-amber);
  color: #2A0808;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-amber:hover {
  background: #a5750a;
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-completed {
  background: var(--brand-red-deep);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-dropped {
  background: var(--ink-100);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-favorite {
  background: var(--accent-pink);
  color: #fff;
}

.anime-hub-v2 .anime-hub-head .anime-btn-primary.is-favorite:hover {
  background: #a5365f;
}

.anime-hub-v2 .anime-hub-row .anime-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.anime-hub-v2 .anime-hub-row .anime-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.anime-hub-v2 .anime-hub-row .anime-card:hover .anime-poster {
  border-color: var(--brand-red);
  transform: scale(1.03);
}

/* Final status controls: messages must not create a new action row. */
.anime-hub-v2 .anime-hub-head .anime-hub-actions {
  position: relative;
}

.anime-hub-v2 .anime-status-wrap {
  width: auto;
  min-width: 0;
}

.anime-hub-v2 [data-status-toggle],
.anime-hub-v2 .anime-hub-head .anime-hub-actions [data-status-toggle].anime-btn {
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 35;
  flex-basis: auto;
  max-width: min(320px, calc(100vw - 48px));
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 10px;
  pointer-events: none;
  white-space: nowrap;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message:empty {
  display: none;
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="success"] {
  border-color: rgba(46, 138, 96, 0.26);
  color: var(--accent-mint);
}

.anime-hub-v2 .anime-hub-head .anime-watchlist__message[data-tone="error"] {
  border-color: rgba(175, 40, 42, 0.28);
  color: var(--brand-red);
}

/* Avatar normalization: keep every profile image as one clean circle. */
.anime-avatar-profile {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  line-height: 0;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms var(--ease-out);
}

.anime-avatar-profile:hover,
.anime-avatar-profile:focus-visible,
.anime-avatar-profile.is-on {
  background: color-mix(in srgb, var(--brand-red) 8%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-red) 14%, transparent), 0 8px 22px rgba(175, 40, 42, 0.2);
  transform: translateY(-1px) scale(1.04);
}

.anime-avatar-profile:focus-visible {
  outline: none;
}

.anime-avatar-profile .anime-avatar-media,
.anime-avatar-profile .anime-author-mark {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  transition: transform 160ms var(--ease-out), filter 160ms var(--ease-out);
}

.anime-avatar-profile:hover .anime-avatar-media,
.anime-avatar-profile:focus-visible .anime-avatar-media,
.anime-avatar-profile.is-on .anime-avatar-media,
.anime-avatar-profile:hover .anime-author-mark,
.anime-avatar-profile:focus-visible .anime-author-mark,
.anime-avatar-profile.is-on .anime-author-mark {
  filter: saturate(1.08);
  transform: scale(1.03);
}

.anime-avatar-profile img.anime-avatar-media {
  object-fit: cover;
}

.anime-avatar-profile .anime-author-mark {
  display: grid;
  place-items: center;
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.anime-comment img.av,
.anime-comment-composer img.av,
.anime-comment-reply-composer img.av,
.anime-profile-head img.av,
.anime-article-author-avatar,
.anime-meta-avatar,
.anime-feat-avatar,
.anime-editor-choice-avatar,
.anime-author-avatar {
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}

.anime-meta-row .anime-meta-avatar,
.anime-news-card .anime-meta-avatar,
.anime-home .anime-news-card .anime-meta-avatar,
.anime-hub-v2 .anime-news-card .anime-meta-avatar {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  aspect-ratio: 1 / 1;
  line-height: 1;
}

.anime-comment img.av,
.anime-comment-composer img.av,
.anime-comment-reply-composer img.av,
.anime-profile-head img.av {
  border: 0;
}

.anime-comment .av.ink,
.anime-comment-composer > .av.ink,
.anime-comment-reply-composer .av.ink {
  border: 0;
  background-color: transparent;
}

.anime-comment .av.ink.anime-author-mark,
.anime-comment-composer > .av.ink.anime-author-mark,
.anime-comment-reply-composer .av.ink.anime-author-mark {
  background: var(--brand-red);
  color: #fff;
}

.anime-article-author-avatar.anime-author-mark,
.anime-meta-avatar.anime-author-mark,
.anime-feat-avatar.anime-author-mark,
.anime-editor-choice-avatar.anime-author-mark,
.anime-author-avatar.anime-author-mark,
.anime-comment .av.anime-author-mark {
  display: inline-grid;
  place-items: center;
  object-fit: initial;
}

.anime-admin-edit-link {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(175, 40, 42, 0.24);
  border-radius: 999px;
  background: rgba(251, 246, 242, 0.94);
  box-shadow: 0 14px 34px rgba(25, 18, 18, 0.14);
  color: var(--brand-red);
  font: 800 12px var(--font-sans);
  padding: 0 14px;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.anime-admin-edit-link:hover,
.anime-admin-edit-link:focus-visible {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-1px);
}

.anime-admin-edit-link svg {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .anime-admin-edit-link {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 36px;
    padding-inline: 12px;
  }
}

/* Home editor choices slider. */
.anime-editor-choice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.anime-editor-choice-slider {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 18px;
  background: var(--paper-200);
}

.anime-editor-choice-slider::-webkit-scrollbar {
  display: none;
}

.anime-editor-choice-slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  color: #fbf6f2;
  scroll-snap-align: start;
  text-decoration: none;
}

.anime-editor-choice-img,
.anime-editor-choice-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.anime-editor-choice-img {
  z-index: 0;
  object-fit: cover;
}

.anime-editor-choice-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 8, 9, 0) 28%, rgba(11, 8, 9, 0.94) 100%);
}

.anime-editor-choice-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  padding: 26px 30px;
}

.anime-editor-choice-kicker {
  align-self: flex-start;
  border-radius: 4px;
  background: rgba(175, 40, 42, 0.42);
  color: #ffb0b3;
  font: 800 11px var(--font-sans);
  letter-spacing: 0.16em;
  padding: 4px 10px;
}

.anime-editor-choice-title {
  margin: 0;
  color: #fbf6f2;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-editor-choice-excerpt {
  display: -webkit-box;
  max-width: 580px;
  margin: 0;
  overflow: hidden;
  color: #e8dfdb;
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anime-editor-choice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #c7bbb7;
  font: 700 11.5px var(--font-mono);
}

.anime-editor-choice-avatar {
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  object-fit: cover;
  line-height: 1;
}

.anime-editor-choice-meta-separator {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: none;
  color: rgba(251, 246, 242, 0.54);
  line-height: 1;
}

.anime-editor-choice-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 4px;
}

.anime-editor-choice-indicators,
.anime-editor-choice-arrows {
  display: flex;
  align-items: center;
}

.anime-editor-choice-indicators {
  gap: 6px;
}

.anime-editor-choice-indicator {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--paper-300);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast), width var(--dur-fast);
}

.anime-editor-choice-indicator.is-on {
  width: 32px;
  background: var(--brand-red);
}

.anime-editor-choice-arrows {
  gap: 10px;
}

.anime-editor-choice-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-primary);
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.anime-editor-choice-arrow:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.anime-editor-choice-count {
  color: var(--fg-tertiary);
  font: 700 11.5px var(--font-mono);
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .anime-home .anime-editor-choice {
    min-height: 420px;
  }

  .anime-editor-choice-slide {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .anime-editor-choice-body {
    padding: 22px;
  }

  .anime-editor-choice-slide {
    min-height: 390px;
  }

  .anime-editor-choice-title {
    font-size: 26px;
  }
}

/* Mobile critical polish: drawer header, quiz taps and horizontal anime rails. */
.anime-mobile-menu-toggle,
.anime-mobile-drawer,
.anime-popular-nav {
  display: none;
}

html.anime-mobile-drawer-open,
html.anime-mobile-drawer-open body {
  overflow: hidden;
}

html.anime-mobile-drawer-open body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  touch-action: none;
}

.anime-popular-carousel {
  position: relative;
}

@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
  }

  .anime-nav .anime-nav-inner,
  .anime-nav .anime-nav__inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    align-items: center !important;
    height: var(--nav-h) !important;
    min-height: var(--nav-h) !important;
    gap: 0 !important;
    padding: 0 16px !important;
  }

  html.anime-mobile-drawer-open .anime-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html.anime-mobile-drawer-open .wp-site-blocks {
    padding-top: var(--nav-h);
  }

  .anime-mobile-menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fg-secondary);
    padding: 0;
  }

  .anime-mobile-menu-toggle:hover,
  .anime-mobile-menu-toggle:focus-visible {
    background: var(--bg-surface);
    color: var(--fg-strong);
    outline: 0;
  }

  .anime-nav .anime-brand {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }

  .anime-nav .anime-nav-right,
  .anime-nav .anime-nav__actions {
    grid-column: 3 !important;
    justify-self: end !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  .anime-nav .anime-links,
  .anime-nav .anime-nav__links,
  .anime-nav .anime-search-btn,
  .anime-nav .anime-search-toggle,
  .anime-nav [data-anime-theme-toggle],
  .anime-nav .anime-bell-wrap,
  .anime-nav .anime-mega,
  .anime-nav .anime-mega-scrim {
    display: none !important;
  }

  .anime-nav .anime-icon-btn,
  .anime-nav .anime-icon-button,
  .anime-nav .anime-avatar,
  .anime-nav .anime-login-link,
  .anime-nav .anime-avatar.is-login {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .anime-nav .anime-avatar-wrap {
    position: relative !important;
  }

  .anime-nav .anime-avatar-wrap.has-mobile-notifs::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--bg-page);
    border-radius: 999px;
    background: var(--brand-red);
    pointer-events: none;
  }

  .anime-mobile-drawer[hidden] {
    display: none !important;
  }

  .anime-mobile-drawer {
    position: fixed;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 100001;
    display: block !important;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(18, 14, 13, 0.34);
  }

  .anime-mobile-drawer-panel {
    display: flex;
    flex-direction: column;
    width: min(86vw, 344px);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    border-right: 1px solid var(--border-subtle);
    background: var(--bg-card);
    box-shadow: 24px 0 70px rgba(24, 16, 14, 0.18);
    transform: translateX(0);
  }

  .anime-mobile-drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 16px;
  }

  .anime-mobile-drawer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: var(--fg-strong);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
  }

  .anime-mobile-drawer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .anime-mobile-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fg-secondary);
    padding: 0;
  }

  .anime-mobile-drawer-close:hover,
  .anime-mobile-drawer-close:focus-visible {
    background: var(--paper-200);
    color: var(--fg-strong);
    outline: 0;
  }

  .anime-mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 8px 16px 28px;
  }

  .anime-mobile-menu details {
    border-bottom: 1px solid var(--border-subtle);
    padding: 4px 0;
  }

  .anime-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: var(--fg-strong);
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    list-style: none;
  }

  .anime-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .anime-mobile-menu summary::after {
    content: "+";
    color: var(--fg-tertiary);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 800;
  }

  .anime-mobile-menu details[open] summary::after {
    content: "-";
  }

  .anime-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 10px;
    color: var(--fg-secondary);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    padding: 0 10px;
  }

  .anime-mobile-menu a:hover,
  .anime-mobile-menu a:focus-visible {
    background: var(--paper-200);
    color: var(--brand-red);
    outline: 0;
  }
}

@media (max-width: 640px) {
  .anime-home.anime-page {
    padding-bottom: 46px !important;
  }

  .anime-home .anime-section {
    margin-top: 46px !important;
  }

  .anime-home .anime-section-head {
    position: relative;
    align-items: flex-start !important;
    flex-direction: row !important;
    min-width: 0;
    gap: 12px !important;
  }

  .anime-home .anime-section-head .lhs {
    position: relative;
    min-width: 0;
  }

  .anime-home .anime-section-title {
    position: relative;
    display: block !important;
    overflow: hidden;
    max-width: 100%;
    font-size: 29px !important;
    isolation: isolate;
    line-height: 1.08 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .anime-home .anime-section-title .ja,
  .anime-category-hero h1 .ja,
  .anime-cal-hero-title .ja,
  .anime-hub-v2 .anime-hub-title .ja,
  .anime-hub-v2 .anime-hub-row .anime-section-title .ja,
  .anime-hub-v2 .anime-epgrid-header h3 .ja,
  .anime-hub-v2 .anime-hub-section > h3 .ja,
  .anime-top100-page .anime-category-hero h1 .ja {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    z-index: -1;
    color: var(--brand-red) !important;
    font-size: 1.45em !important;
    line-height: 1 !important;
    opacity: 0.12 !important;
    pointer-events: none;
    transform: translateY(-50%) !important;
  }

  .anime-category-hero,
  .anime-hub-v2 .anime-hub-title,
  .anime-cal-hero-title {
    position: relative;
    isolation: isolate;
  }

  .anime-home .anime-section-more {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .anime-home .anime-section:has(.anime-popular-carousel) .anime-section-more {
    display: none !important;
  }

  .anime-home .anime-section-head + .anime-popular-carousel {
    margin-top: 8px;
  }

  .anime-home .anime-popular-carousel {
    margin-right: -16px;
  }

  .anime-home .anime-popular-carousel .anime-cards-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 16px 8px 0;
  }

  .anime-home .anime-popular-carousel .anime-cards-row::-webkit-scrollbar {
    display: none;
  }

  .anime-home .anime-popular-carousel .anime-card {
    flex: 0 0 42vw;
    max-width: 168px;
    scroll-snap-align: start;
  }

  .anime-home .anime-popular-carousel .anime-poster {
    border-radius: 10px !important;
  }

  .anime-popular-nav {
    position: absolute;
    top: -54px;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--fg-secondary);
    box-shadow: 0 8px 24px rgba(36, 28, 24, 0.08);
    padding: 0;
  }

  .anime-popular-prev {
    right: 56px;
  }

  .anime-popular-next {
    right: 16px;
  }

  .anime-popular-nav:hover,
  .anime-popular-nav:focus-visible {
    border-color: rgba(175, 40, 42, 0.35);
    color: var(--brand-red);
    outline: 0;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-item,
  .anime-article .shortcode-quiz .la-quiz-question-item {
    padding-top: 32px !important;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-item::before,
  .anime-article .shortcode-quiz .la-quiz-question-item::before {
    background-size: calc(100% - 86px) 1px !important;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-item.is-answered::before,
  .anime-article .shortcode-quiz .la-quiz-question-item.is-answered::before,
  .anime-article-body .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::before,
  .anime-article .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::before {
    right: 126px !important;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-item.is-answered::after,
  .anime-article .shortcode-quiz .la-quiz-question-item.is-answered::after,
  .anime-article-body .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::after,
  .anime-article .shortcode-quiz .la-quiz-question-item:has(.quiz-answer.active)::after {
    padding-left: 12px;
    background: var(--bg-page);
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .la-quiz-question-answer-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .anime-article-body .shortcode-quiz .la-quiz-question-answer-item *,
  .anime-article .shortcode-quiz .la-quiz-question-answer-item * {
    pointer-events: none;
  }

  .anime-article-body .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
  .anime-article .shortcode-quiz .la-quiz-answers-grid.is-visual-options,
  .anime-article-body .shortcode-quiz .la-quiz-answers-list.is-visual-options,
  .anime-article .shortcode-quiz .la-quiz-answers-list.is-visual-options {
    grid-template-columns: repeat(var(--ob-answer-grid-columns, 2), minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-item,
  .anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-item {
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
  }

  .anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-image,
  .anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-image {
    aspect-ratio: 1 / 0.82;
  }

  .anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-actions,
  .anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-actions {
    min-height: 48px;
    padding: 11px 12px 11px 46px !important;
  }

  .anime-article-body .shortcode-quiz .is-visual-options .la-quiz-question-answer-title,
  .anime-article .shortcode-quiz .is-visual-options .la-quiz-question-answer-title {
    white-space: normal;
  }

  .anime-foot {
    margin-top: 24px !important;
  }

  .anime-foot-top {
    padding-top: 26px !important;
    padding-bottom: 22px !important;
  }

  .anime-foot-inner {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
}

@media (max-width: 420px) {
  .anime-home .anime-popular-carousel .anime-card {
    flex-basis: 44vw;
  }
}

/* OnionBuzz personality result card: soft story-share hero. */
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result {
  margin: 40px 0 0 !important;
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl),
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl) {
  --anime-quiz-result-bg: none;
  position: relative;
  isolation: isolate;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 452px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px;
  background: linear-gradient(135deg, #b3262a 0%, #9d1e24 48%, #451318 100%);
  box-shadow: 0 24px 64px rgba(92, 24, 26, 0.2);
  color: #fff;
  padding: 38px 40px;
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.has-result-image:not(.repl),
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.has-result-image:not(.repl) {
  min-height: 484px;
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.has-no-result-image:not(.repl)::before,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.has-no-result-image:not(.repl)::before {
  background-image:
    radial-gradient(circle at 58% 0%, rgba(255, 255, 255, 0.15), transparent 27%),
    radial-gradient(circle at 84% 28%, rgba(80, 13, 18, 0.32), transparent 34%);
  opacity: 1;
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::before,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--anime-quiz-result-bg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 116%;
  filter: saturate(1.05) contrast(1.02);
  opacity: 0.88;
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::after,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 58% 6%, rgba(255, 225, 210, 0.2), transparent 22%),
    linear-gradient(90deg, rgba(165, 31, 36, 0.98) 0%, rgba(165, 31, 36, 0.92) 39%, rgba(165, 31, 36, 0.55) 58%, rgba(165, 31, 36, 0.18) 78%, rgba(165, 31, 36, 0.08) 100%),
    linear-gradient(0deg, rgba(56, 12, 16, 0.22), transparent 46%);
}

.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-score,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-score,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .laqm-slide-title,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .laqm-slide-title,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-progress,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-progress,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-image,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-image,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-caption,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-caption,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-share,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-share,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.repl,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block.repl,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-sharelock,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-sharelock,
.anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result #la_ask_before_result_form,
.anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result #la_ask_before_result_form {
  display: none !important;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-replay,
.anime-article .shortcode-quiz .anime-quiz-result-replay {
  position: absolute;
  top: 34px;
  left: 40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(78, 11, 15, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  padding: 0 14px;
  text-decoration: none;
  transition: background 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-replay:hover,
.anime-article .shortcode-quiz .anime-quiz-result-replay:hover,
.anime-article-body .shortcode-quiz .anime-quiz-result-replay:focus-visible,
.anime-article .shortcode-quiz .anime-quiz-result-replay:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-body,
.anime-article .shortcode-quiz .anime-quiz-result-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 500px);
  align-items: center;
  gap: 20px;
  width: min(100%, 640px);
  margin-top: 64px;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-symbol,
.anime-article .shortcode-quiz .anime-quiz-result-symbol {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-kanji);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-copy,
.anime-article .shortcode-quiz .anime-quiz-result-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-kicker,
.anime-article .shortcode-quiz .anime-quiz-result-kicker {
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.anime-article-body .shortcode-quiz .la-quiz-result-title,
.anime-article .shortcode-quiz .la-quiz-result-title {
  width: auto !important;
  margin: 8px 0 0 !important;
}

.anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-title h1,
.anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-title h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 50px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-description,
.anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-description {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 248, 240, 0.94) !important;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}

.anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-description :where(p, span, em, b),
.anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-description :where(p, span, em, b) {
  color: inherit !important;
}

.anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-description strong,
.anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-description strong {
  color: #fff !important;
  font-weight: 850;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-actions,
.anime-article .shortcode-quiz .anime-quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  max-width: 620px;
  gap: 10px;
  margin-top: 24px;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 18px;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn span,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn span {
  font-size: 14px !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-instagram,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-instagram {
  border-color: #fff;
  background: #fff;
  color: var(--brand-red) !important;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required {
  position: relative;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.56) !important;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required::after,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(25, 20, 20, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  padding: 9px 11px;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 6px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:hover::after,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:hover::after,
.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:focus-visible::after,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn:hover,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn:hover,
.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn:focus-visible,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  outline: 0;
  transform: translateY(-1px);
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:hover,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:hover,
.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:focus-visible,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-login-required:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68) !important;
  transform: none;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-instagram:hover,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-instagram:hover,
.anime-article-body .shortcode-quiz .anime-quiz-result-share-btn.is-instagram:focus-visible,
.anime-article .shortcode-quiz .anime-quiz-result-share-btn.is-instagram:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-red) !important;
}

.anime-article-body .shortcode-quiz .anime-quiz-result-share-feedback,
.anime-article .shortcode-quiz .anime-quiz-result-share-feedback {
  flex-basis: 100%;
  min-height: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 720px) {
  .anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl),
  .anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl) {
    min-height: 560px;
    border-radius: 18px;
    padding: 30px 22px;
  }

  .anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::before,
  .anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::before {
    background-position: center top;
    background-size: cover;
    opacity: 0.72;
  }

  .anime-article-body .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::after,
  .anime-article .shortcode-quiz .la-quiz-result.is-anime-personality-result .la-quiz-result-block:not(.repl)::after {
    background:
      linear-gradient(180deg, rgba(122, 22, 26, 0.18) 0%, rgba(163, 31, 36, 0.82) 48%, rgba(151, 27, 33, 0.98) 100%),
      linear-gradient(90deg, rgba(163, 31, 36, 0.82), rgba(163, 31, 36, 0.2));
  }

  .anime-article-body .shortcode-quiz .anime-quiz-result-replay,
  .anime-article .shortcode-quiz .anime-quiz-result-replay {
    top: 22px;
    left: 22px;
  }

  .anime-article-body .shortcode-quiz .anime-quiz-result-body,
  .anime-article .shortcode-quiz .anime-quiz-result-body {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    margin-top: 230px;
  }

  .anime-article-body .shortcode-quiz .anime-quiz-result-symbol,
  .anime-article .shortcode-quiz .anime-quiz-result-symbol {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    font-size: 44px;
  }

  .anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-title h1,
  .anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-title h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .anime-article-body .shortcode-quiz .is-anime-personality-result .la-quiz-result-description,
  .anime-article .shortcode-quiz .is-anime-personality-result .la-quiz-result-description {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .anime-article-body .shortcode-quiz .anime-quiz-result-actions,
  .anime-article .shortcode-quiz .anime-quiz-result-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 22px;
  }

  .anime-article-body .shortcode-quiz .anime-quiz-result-share-btn,
  .anime-article .shortcode-quiz .anime-quiz-result-share-btn {
    width: 100%;
  }
}

/* Public profile activity timeline and final mobile anime hub corrections. */
.anime-prof-activity-head {
  margin: 0 0 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 13px;
}

.anime-prof-activity-head h2 {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anime-prof-activity-head a {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-prof-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
}

.anime-prof-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 16px;
  width: 1px;
  background: var(--border-subtle);
}

.anime-prof-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 0 0 22px;
}

.anime-prof-timeline li:last-child {
  padding-bottom: 0;
}

.anime-prof-timeline-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--brand-red) 18%, var(--border-subtle));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-red) 5%, var(--bg-card));
  color: var(--brand-red);
}

.anime-prof-timeline-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anime-prof-timeline .is-rating .anime-prof-timeline-icon svg {
  fill: currentColor;
  stroke: currentColor;
}

.anime-prof-timeline a {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.38;
  text-decoration: none;
}

.anime-prof-timeline a:hover strong {
  color: var(--brand-red);
}

.anime-prof-timeline strong {
  color: var(--fg-strong);
  font-weight: 900;
}

.anime-prof-timeline span:not(.anime-prof-timeline-icon) {
  display: block;
  margin-top: 4px;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .anime-hub-v2 .anime-hub-cover-v2 {
    height: clamp(210px, 58vw, 240px) !important;
  }

  .anime-hub-v2 .anime-hub-cover-v2 .blur img {
    object-position: center 28%;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 10%, #000 24%, #000 76%, rgba(0, 0, 0, 0.24) 90%, transparent 100%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 14%, #000 36%, rgba(0, 0, 0, 0.58) 72%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 10%, #000 24%, #000 76%, rgba(0, 0, 0, 0.24) 90%, transparent 100%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 14%, #000 36%, rgba(0, 0, 0, 0.58) 72%, transparent 100%);
  }

  .anime-hub-v2 .anime-hub-cover-kanji {
    top: -20px !important;
    right: -12% !important;
    font-size: 210px !important;
  }

  .anime-hub-v2 .anime-hub-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: -78px;
    padding: 0 16px 34px;
  }

  .anime-hub-v2 .anime-hub-side,
  .anime-hub-v2 .anime-hub-main.anime-hub-head {
    display: contents;
  }

  .anime-hub-v2 .anime-hub-side .poster {
    order: 1;
    width: clamp(210px, 58vw, 236px);
    margin: 0 auto 0;
    grid-row: auto;
    border-radius: 14px;
  }

  .anime-hub-v2 .anime-hub-title {
    order: 2;
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 38px;
    line-height: 0.98;
  }

  .anime-hub-v2 .anime-hub-jp {
    order: 3;
    display: block;
    width: 100%;
    margin: -8px 0 0;
    text-align: center;
  }

  .anime-hub-v2 .anime-hub-byline {
    order: 4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 6px;
    margin: -2px 0 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
  }

  .anime-hub-v2 .anime-hub-byline .sep {
    margin: 0 1px;
  }

  .anime-hub-v2 .anime-hub-syn {
    order: 5;
    display: block;
    width: 100%;
    max-width: 34em;
    margin: -2px auto 2px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
  }

  .anime-hub-v2 .anime-hub-actions {
    order: 6;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    margin: 0;
  }

  .anime-hub-v2 .anime-hub-actions .anime-status-wrap,
  .anime-hub-v2 .anime-hub-actions .anime-btn,
  .anime-hub-v2 .anime-hub-head .anime-hub-actions .anime-btn,
  .anime-hub-v2 .anime-hub-head .anime-hub-actions [data-status-toggle].anime-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px;
    justify-content: center;
    margin: 0 !important;
  }

  .anime-hub-v2 .anime-hub-actions .anime-status-pop {
    width: min(100%, 358px);
  }

  .anime-hub-v2 .anime-hub-actions .anime-watchlist__message {
    grid-column: 1 / -1;
  }

  .anime-hub-v2 #sec-episodes {
    order: 8;
    width: 100%;
    margin-top: 4px;
  }

  .anime-hub-v2 .anime-score-blocks {
    order: 7;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
    padding: 0;
  }

  .anime-hub-v2 .anime-score-block {
    min-width: 0;
    width: 100%;
  }

  .anime-hub-v2 .anime-platforms {
    order: 9;
    width: 100%;
  }

  .anime-hub-v2 .anime-hub-section-summary {
    order: 10;
    width: 100%;
  }

  .anime-hub-v2 .anime-hub-section-next {
    order: 11;
    width: 100%;
  }

  .anime-hub-v2 .anime-info-block {
    order: 12;
    width: 100%;
  }

  .anime-hub-v2 .anime-hub-side-links {
    order: 13;
    width: 100%;
  }

  .anime-hub-v2 .anime-info-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .anime-hub-v2 .anime-hub-section {
    margin-top: 0;
  }
}

/* Final anime single mobile polish: related rail, composers, FAQ and footer rhythm. */
.anime-hub-v2 #sec-similar .anime-section-head {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.anime-hub-v2 #sec-similar .anime-section-title {
  margin-top: 0;
}

.anime-hub-v2.anime-page {
  padding-bottom: 44px;
}

.anime-hub-v2 .anime-hub-row:last-child {
  padding-bottom: 34px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer,
.anime-hub-v2 #sec-reviews .anime-review-inline-composer,
.anime-hub-v2 #sec-reviews .anime-review-compose-panel {
  align-items: start;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > :where(img, .av),
.anime-hub-v2 #sec-reviews .anime-composer > .av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 2px solid var(--paper-200);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  object-fit: cover;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > img,
.anime-hub-v2 #hub-comments-section .anime-comment-composer > img.av,
.anime-hub-v2 #sec-reviews .anime-composer > img.av {
  display: block;
  background: transparent;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer > div,
.anime-hub-v2 #sec-reviews .composer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer-actions,
.anime-hub-v2 #sec-reviews .composer-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.anime-hub-v2 #hub-comments-section .anime-comment-composer-actions .anime-btn,
.anime-hub-v2 #sec-reviews .composer-actions .anime-btn {
  width: auto;
  min-height: 34px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .anime-hub-v2.anime-page {
    padding-bottom: 28px;
  }

  .anime-hub-v2 .anime-hub-row:last-child {
    padding-bottom: 24px;
  }

  .anime-hub-v2 #sec-similar {
    overflow: hidden;
  }

  .anime-hub-v2 #sec-similar .anime-cards-row {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .anime-hub-v2 #sec-similar .anime-cards-row::-webkit-scrollbar {
    display: none;
  }

  .anime-hub-v2 #sec-similar .anime-card {
    flex: 0 0 clamp(148px, 42vw, 178px);
    scroll-snap-align: start;
  }

  .anime-hub-v2 #hub-comments-section .anime-comment-composer,
  .anime-hub-v2 #sec-reviews .anime-review-inline-composer,
  .anime-hub-v2 #sec-reviews .anime-review-compose-panel {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .anime-hub-v2 #hub-comments-section .anime-comment-composer > :where(img, .av),
  .anime-hub-v2 #sec-reviews .anime-composer > .av {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .anime-hub-v2 #hub-comments-section .anime-comment-composer textarea,
  .anime-hub-v2 #sec-reviews .composer-body textarea {
    min-height: 86px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .anime-hub-v2 #sec-reviews .anime-review-composer-top {
    align-items: center;
    flex-direction: row;
  }
}

@media (max-width: 420px) {
  .anime-hub-v2 #hub-comments-section .anime-comment-composer,
  .anime-hub-v2 #sec-reviews .anime-review-inline-composer,
  .anime-hub-v2 #sec-reviews .anime-review-compose-panel {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .anime-hub-v2 #hub-comments-section .anime-comment-composer > :where(img, .av),
  .anime-hub-v2 #sec-reviews .anime-composer > .av {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

/* Final anime platform empty state alignment. */
.anime-hub-v2 .anime-platform.anime-platform-empty {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
}

.anime-hub-v2 .anime-platform.anime-platform-empty .badge {
  display: flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9px;
  align-self: center;
}

.anime-hub-v2 .anime-platform.anime-platform-empty .anime-platform-name {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  align-self: center;
  padding-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg-strong);
  font-size: 14px;
  line-height: 1.22;
  text-align: left;
}

/* Final anime archive footer rhythm. */
.anime-archive.anime-page {
  padding-bottom: 96px;
}

@media (max-width: 720px) {
  .anime-archive.anime-page {
    padding-bottom: 72px !important;
  }
}

/* Profile page v3, ported from the static reference with WP data hooks. */
.anime-profile-shell {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 96px;
}

.anime-profile-shell .ad-prof-hero {
  margin: 18px 0 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
}

.anime-profile-shell .ad-prof-cover {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-cover img,
.anime-profile-shell .ad-prof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anime-profile-shell .ad-prof-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
}

.anime-profile-shell .ad-prof-id {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding: 0 28px 18px;
  position: relative;
  z-index: 1;
}

.anime-profile-shell .ad-prof-avatar {
  position: relative;
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  margin-top: -38px;
  border: 4px solid var(--bg-card);
  border-radius: 50%;
  overflow: visible;
  background: var(--paper-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.anime-profile-shell .ad-prof-avatar img {
  border-radius: 50%;
}

.anime-profile-shell .ad-prof-info {
  min-width: 0;
  flex: 1;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anime-profile-shell .ad-prof-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.anime-profile-shell .ad-prof-name-row h1 {
  margin: 0;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.anime-profile-shell .ad-prof-user {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.anime-profile-shell .ad-prof-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.anime-profile-shell .ad-prof-meta strong {
  color: var(--fg-strong);
}

.anime-profile-shell .ad-prof-actions {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
}

.anime-profile-shell .ad-prof-more-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  cursor: pointer;
}

.anime-profile-shell .ad-prof-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.anime-profile-shell .ad-prof-more-menu a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-more-menu a:hover {
  background: var(--paper-100);
  color: var(--fg-strong);
}

.anime-profile-shell .ad-prof-more-menu a.is-danger {
  color: var(--brand-red);
}

.anime-profile-shell .ad-prof-hero-body {
  padding: 0 28px 22px;
}

.anime-profile-shell .ad-prof-bio {
  max-width: 640px;
  margin: 0;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
}

.anime-profile-shell .ad-prof-tabs {
  position: sticky;
  top: var(--nav-h, 72px);
  z-index: 30;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 12px;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 17px 17px;
  background: var(--bg-card);
  scrollbar-width: none;
}

.anime-profile-shell .ad-prof-tabs::-webkit-scrollbar {
  display: none;
}

.anime-profile-shell .ad-prof-tabs button {
  position: relative;
  flex: 1;
  min-width: max-content;
  height: 52px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--fg-tertiary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.anime-profile-shell .ad-prof-tabs button.is-active,
.anime-profile-shell .ad-prof-tabs button.is-on {
  color: var(--brand-red);
}

.anime-profile-shell .ad-prof-tabs button.is-active::after,
.anime-profile-shell .ad-prof-tabs button.is-on::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 52px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-red);
  transform: translateX(-50%);
}

.anime-profile-shell .ad-prof-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.anime-profile-shell .ad-prof-side {
  position: sticky;
  top: 88px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anime-profile-shell .ad-prof-main,
.anime-profile-shell .ad-prof-panel,
.anime-profile-shell .ad-prof-block,
.anime-profile-shell .ad-prof-ov-sec {
  min-width: 0;
}

.anime-profile-shell .ad-prof-block {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 18px;
}

.anime-profile-shell .ad-prof-block h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.anime-profile-shell .ad-prof-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.anime-profile-shell .ad-prof-stat:hover .ad-prof-stat-ic {
  background: color-mix(in srgb, var(--brand-red) 16%, transparent);
  transform: translateY(-1px);
}

.anime-profile-shell .ad-prof-stat-ic {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  color: var(--brand-red);
  font-family: var(--font-kanji);
  font-weight: 900;
}

.anime-profile-shell .ad-prof-stat-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.anime-profile-shell .ad-prof-stat strong {
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.anime-profile-shell .ad-prof-stat-lbl,
.anime-profile-shell .ad-prof-fav-card span,
.anime-profile-shell .ad-prof-watch-ep {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 11.5px;
}

.anime-profile-shell .ad-prof-fav-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-100);
  color: inherit;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-fav-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.anime-profile-shell .ad-prof-fav-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
}

.anime-profile-shell .ad-prof-fav-card strong,
.anime-profile-shell .ad-prof-watch-meta strong,
.anime-profile-shell .ad-card-title,
.anime-profile-shell .ad-list-title {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-weight: 800;
}

.anime-profile-shell .ad-prof-fav-char .ad-prof-fav-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
}

.anime-profile-shell .ad-prof-fav-char .ad-prof-fav-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.anime-profile-shell .ad-prof-fav-char .ad-prof-fav-card > div {
  padding: 0;
}

.anime-profile-shell .ad-prof-watching {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anime-profile-shell .ad-prof-watch-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-watch-row:hover {
  background: var(--paper-100);
}

.anime-profile-shell .ad-prof-watch-row img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.anime-profile-shell .ad-prof-watch-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anime-profile-shell .ad-prof-watch-bar,
.anime-profile-shell .ad-prof-achv-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-watch-bar i,
.anime-profile-shell .ad-prof-achv-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-red);
}

.anime-profile-shell .ad-prof-chips,
.anime-profile-shell .ad-prof-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.anime-profile-shell .ad-prof-chip,
.anime-profile-shell .ad-prof-filter button {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-chip {
  padding: 5px 11px;
}

.anime-profile-shell .ad-prof-filter {
  margin-bottom: 18px;
}

.anime-profile-shell .ad-prof-filter button {
  padding: 7px 14px;
  cursor: pointer;
}

.anime-profile-shell .ad-prof-filter button.is-on,
.anime-profile-shell .ad-prof-filter button:hover {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.anime-profile-shell .ad-prof-block-more,
.anime-profile-shell .ad-prof-sec-more {
  border: 0;
  background: none;
  color: var(--brand-red);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.anime-profile-shell .ad-prof-badge {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.anime-profile-shell .ad-prof-badge-kanji,
.anime-profile-shell .ad-prof-achv-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-red) 9%, transparent);
  color: var(--brand-red);
  font-family: var(--font-kanji);
}

.anime-profile-shell .ad-prof-badge-kanji {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  font-size: 18px;
}

.anime-profile-shell .ad-prof-badge div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.anime-profile-shell .ad-prof-badge strong {
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 12.5px;
}

.anime-profile-shell .ad-prof-badge span {
  color: var(--fg-tertiary);
  font-size: 10.5px;
}

.anime-profile-shell .ad-prof-hist-bars {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.anime-profile-shell .ad-prof-hist-col {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.anime-profile-shell .ad-prof-hist-bar {
  width: 100%;
  min-height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--brand-red);
}

.anime-profile-shell .ad-prof-hist-axis,
.anime-profile-shell .ad-prof-hist-mean {
  display: flex;
  justify-content: space-between;
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  margin-top: 6px;
}

.anime-profile-shell .ad-prof-hist-mean {
  justify-content: flex-start;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  font-size: 11.5px;
}

.anime-profile-shell .ad-prof-ov-sec {
  margin-bottom: 30px;
}

.anime-profile-shell .ad-prof-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.anime-profile-shell .ad-section-eye {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-fav-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.anime-profile-shell .ad-prof-fav,
.anime-profile-shell .ad-prof-recent-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-fav-poster,
.anime-profile-shell .ad-prof-recent-poster,
.anime-profile-shell .ad-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-fav-poster img,
.anime-profile-shell .ad-prof-recent-poster img,
.anime-profile-shell .ad-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.anime-profile-shell .ad-prof-fav-poster {
  transition: border-color var(--dur-fast);
}

.anime-profile-shell .ad-prof-fav:hover .ad-prof-fav-poster {
  border-color: var(--brand-red);
}

.anime-profile-shell .ad-prof-fav-poster img {
  transition: transform var(--dur-base);
}

.anime-profile-shell .ad-prof-fav:hover .ad-prof-fav-poster img {
  transform: scale(1.04);
}

.anime-profile-shell .ad-prof-fav-title {
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.anime-profile-shell .ad-prof-recent {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.anime-profile-shell .ad-prof-ov-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 30px;
}

.anime-profile-shell .ad-prof-ov-cols-even {
  grid-template-columns: 1fr 1fr;
}

.anime-profile-shell .ad-prof-comments,
.anime-profile-shell .ad-prof-reviews,
.anime-profile-shell .ad-prof-anime-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.anime-profile-shell .ad-prof-comment,
.anime-profile-shell .ad-prof-review,
.anime-profile-shell .ad-prof-anime-row,
.anime-profile-shell .ad-list-card,
.anime-profile-shell .ad-prof-achv-card {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--bg-card);
}

.anime-profile-shell .ad-prof-comment {
  padding: 14px 16px;
}

.anime-profile-shell .ad-prof-comment-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.anime-profile-shell .ad-prof-comment-top a {
  color: var(--fg-strong);
  font-weight: 800;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-comment-top span,
.anime-profile-shell .ad-prof-comment-likes,
.anime-profile-shell .ad-prof-feed-time,
.anime-profile-shell .ad-prof-anime-row-updated {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.anime-profile-shell .ad-prof-comment p {
  margin: 0 0 8px;
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.anime-profile-shell .ad-prof-feed {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.anime-profile-shell .ad-prof-feed::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 17px;
  width: 2px;
  background: var(--border-subtle);
}

.anime-profile-shell .ad-prof-feed li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 11px 0;
}

.anime-profile-shell .ad-prof-feed-ic {
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--brand-red);
  font-weight: 900;
}

.anime-profile-shell .ad-prof-feed-body {
  min-width: 0;
  padding-top: 7px;
}

.anime-profile-shell .ad-prof-feed-body p {
  margin: 0;
  color: var(--fg-primary);
  font-size: 14px;
  line-height: 1.45;
}

.anime-profile-shell .ad-prof-anime-toolbar,
.anime-profile-shell .ad-prof-reviews-head,
.anime-profile-shell .ad-prof-lists-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.anime-profile-shell .ad-prof-anime-search {
  min-width: 180px;
  flex: 1;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
}

.anime-profile-shell .ad-prof-anime-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: none;
  color: var(--fg-strong);
  font: inherit;
}

.anime-profile-shell .ad-prof-anime-sort {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--fg-primary);
  font-weight: 700;
}

.anime-profile-shell .ad-prof-anime-view {
  display: inline-flex;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.anime-profile-shell .ad-prof-anime-view button {
  width: 38px;
  border: 0;
  background: transparent;
  color: var(--fg-tertiary);
}

.anime-profile-shell .ad-prof-anime-view button.is-on {
  background: color-mix(in srgb, var(--brand-red) 12%, transparent);
  color: var(--brand-red);
}

.anime-profile-shell .ad-prof-anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}

.anime-profile-shell .ad-card {
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.anime-profile-shell .ad-card:hover .ad-poster {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.anime-profile-shell .ad-poster {
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.anime-profile-shell .ad-prof-watch,
.anime-profile-shell .ad-rate {
  position: absolute;
  z-index: 2;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
}

.anime-profile-shell .ad-prof-watch {
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  color: #fff;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-watch.is-watching { background: var(--accent-sky); }
.anime-profile-shell .ad-prof-watch.is-done { background: rgba(47, 158, 87, 0.95); }
.anime-profile-shell .ad-prof-watch.is-plan { background: var(--accent-amber); color: #3a2a00; }
.anime-profile-shell .ad-prof-watch.is-hold { background: rgba(120, 120, 120, 0.85); }
.anime-profile-shell .ad-prof-watch.is-drop { background: var(--brand-red); }

.anime-profile-shell .ad-rate {
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
}

.anime-profile-shell .ad-card-title {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.3;
}

.anime-profile-shell .ad-card-meta {
  margin-top: 3px;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-profile-shell .ad-prof-anime-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
}

.anime-profile-shell .ad-prof-anime-row img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.anime-profile-shell .ad-prof-anime-row .ad-rate {
  position: static;
  background: none;
  color: var(--brand-red);
}

.anime-profile-shell .ad-prof-review {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.anime-profile-shell .ad-prof-review-poster {
  width: 64px;
  aspect-ratio: 3 / 4;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-review-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-profile-shell .ad-prof-review-body h4 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 17px;
}

.anime-profile-shell .ad-prof-review-body h4 a {
  color: var(--fg-strong);
  text-decoration: none;
}

.anime-profile-shell .ad-prof-review-body p {
  margin: 0 0 10px;
  color: var(--fg-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.anime-profile-shell .ad-prof-review-foot {
  display: flex;
  align-items: center;
  gap: 14px;
}

.anime-profile-shell .ad-prof-review-spoiler {
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-red) 14%, transparent);
  color: var(--brand-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-review-rating strong {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
}

.anime-profile-shell .ad-prof-review-rating.is-high strong { background: color-mix(in srgb, #1f9d57 16%, transparent); color: #1a8f4e; }
.anime-profile-shell .ad-prof-review-rating.is-mid strong { background: color-mix(in srgb, var(--accent-amber) 24%, transparent); color: #a9760a; }
.anime-profile-shell .ad-prof-review-rating.is-low strong { background: color-mix(in srgb, var(--brand-red) 14%, transparent); color: var(--brand-red); }

.anime-profile-shell .ad-lists,
.anime-profile-shell .ad-prof-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.anime-profile-shell .ad-list-card {
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.anime-profile-shell .ad-list-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.anime-profile-shell .ad-list-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.anime-profile-shell .ad-list-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.anime-profile-shell .ad-list-meta {
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-profile-shell .ad-prof-cal {
  overflow-x: auto;
  padding-bottom: 4px;
}

.anime-profile-shell .ad-prof-cal-months,
.anime-profile-shell .ad-prof-cal-grid {
  min-width: 620px;
  display: grid;
  gap: 3px;
}

.anime-profile-shell .ad-prof-cal-months {
  grid-template-columns: repeat(53, 1fr);
  height: 13px;
  margin-bottom: 5px;
}

.anime-profile-shell .ad-prof-cal-months span {
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.anime-profile-shell .ad-prof-cal-grid {
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.anime-profile-shell .ad-prof-cal-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-cal-cell[data-lvl="1"] { background: color-mix(in srgb, var(--brand-red) 26%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-cell[data-lvl="2"] { background: color-mix(in srgb, var(--brand-red) 50%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-cell[data-lvl="3"] { background: color-mix(in srgb, var(--brand-red) 74%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-cell[data-lvl="4"] { background: var(--brand-red); }

.anime-profile-shell .ad-prof-cal-legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--fg-tertiary);
  font-size: 12px;
}

.anime-profile-shell .ad-prof-cal-scale {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.anime-profile-shell .ad-prof-cal-scale i {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--paper-200);
}

.anime-profile-shell .ad-prof-cal-scale i[data-lvl="1"] { background: color-mix(in srgb, var(--brand-red) 26%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-scale i[data-lvl="2"] { background: color-mix(in srgb, var(--brand-red) 50%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-scale i[data-lvl="3"] { background: color-mix(in srgb, var(--brand-red) 74%, var(--paper-100)); }
.anime-profile-shell .ad-prof-cal-scale i[data-lvl="4"] { background: var(--brand-red); }

.anime-profile-shell .ad-prof-achv-head {
  margin-bottom: 16px;
  color: var(--fg-secondary);
}

.anime-profile-shell .ad-prof-achv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.anime-profile-shell .ad-prof-achv-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.anime-profile-shell .ad-prof-achv-card:not(.is-earned) {
  opacity: 0.6;
}

.anime-profile-shell .ad-prof-achv-card.is-earned .ad-prof-achv-ic {
  background: var(--brand-red);
  color: #fff;
}

.anime-profile-shell .ad-prof-achv-ic {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  font-size: 26px;
}

.anime-profile-shell .ad-prof-achv-body {
  min-width: 0;
  flex: 1;
}

.anime-profile-shell .ad-prof-achv-body strong {
  color: var(--fg-strong);
}

.anime-profile-shell .ad-prof-achv-body p {
  margin: 4px 0 8px;
  color: var(--fg-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

.anime-profile-shell .ad-prof-achv-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.anime-profile-shell .ad-prof-achv-status {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-editable {
  position: relative;
}

.anime-profile-shell .ad-prof-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.anime-profile-shell.is-edit-mode .ad-prof-edit-btn {
  display: inline-flex;
}

.anime-profile-shell.is-edit-mode .ad-prof-editable {
  outline: 2px dashed color-mix(in srgb, var(--brand-red) 48%, transparent);
  outline-offset: 3px;
}

.anime-profile-shell .ad-prof-avatar .ad-prof-edit-btn {
  top: auto;
  right: -4px;
  bottom: 6px;
  border-color: var(--bg-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.anime-profile-shell .ad-prof-fav-grid > .ad-prof-edit-btn {
  top: 8px;
  right: 8px;
}

.anime-profile-shell .ad-prof-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--fg-strong);
  color: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.anime-profile-shell .ad-prof-editor[hidden] {
  display: none;
}

.anime-profile-shell .ad-prof-editor {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.anime-profile-shell .ad-prof-editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 15, 0.46);
  backdrop-filter: blur(3px);
}

.anime-profile-shell .ad-prof-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.anime-profile-shell .ad-prof-editor-head,
.anime-profile-shell .ad-prof-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.anime-profile-shell .ad-prof-editor-foot {
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 0;
}

.anime-profile-shell .ad-prof-editor-head span {
  display: block;
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anime-profile-shell .ad-prof-editor-head strong {
  display: block;
  margin-top: 4px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
}

.anime-profile-shell .ad-prof-editor-head > button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--fg-secondary);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.anime-profile-shell .ad-prof-editor-body {
  overflow: auto;
  padding: 18px;
}

.anime-profile-shell .ad-prof-editor-field,
.anime-profile-shell .ad-prof-editor-fieldset label {
  display: grid;
  gap: 10px;
}

.anime-profile-shell .ad-prof-editor-field span,
.anime-profile-shell .ad-prof-editor-fieldset label span,
.anime-profile-shell .ad-prof-editor-fieldset legend {
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.anime-profile-shell .ad-prof-editor-field input,
.anime-profile-shell .ad-prof-editor-field select,
.anime-profile-shell .ad-prof-editor-fieldset input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-50);
  color: var(--fg-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 0 12px;
}

.anime-profile-shell .ad-prof-editor-field small {
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.45;
}

.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="cover"],
.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="avatar"] {
  justify-items: center;
}

.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="cover"] > span,
.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="cover"] > small,
.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="avatar"] > span,
.anime-profile-shell .ad-prof-editor-field[data-profile-editor-row="avatar"] > small {
  justify-self: stretch;
}

.anime-profile-shell [data-profile-media-select].anime-btn {
  width: auto;
  min-width: 168px;
  justify-self: center;
  padding-inline: 20px;
}

.anime-profile-shell .ad-prof-empty,
.anime-profile-shell .ad-prof-editor-note {
  margin: 0;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.anime-profile-shell .ad-prof-editor-note {
  padding: 12px;
  border: 1px dashed var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-50);
}

.anime-profile-shell .ad-prof-editor-media {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--paper-100);
}

.anime-profile-shell .ad-prof-editor-media.is-avatar {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.anime-profile-shell .ad-prof-editor-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-profile-shell .ad-prof-editor-file {
  display: none;
}

.anime-profile-shell .ad-prof-editor-fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.anime-profile-shell .ad-prof-editor-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.anime-profile-shell .ad-prof-editor-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--paper-50);
}

.anime-profile-shell .ad-prof-editor-checks input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
}

.anime-profile-shell .ad-prof-editor-checks span {
  overflow: hidden;
  color: var(--fg-strong);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anime-profile-shell .ad-prof-editor [data-profile-editor-row][hidden] {
  display: none;
}

.anime-profile-shell .ad-prof-editor-save[disabled],
.anime-profile-shell [data-profile-editor-save][disabled] {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 900px) {
  .anime-profile-shell .ad-prof-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .anime-profile-shell .ad-prof-side {
    position: static;
  }

  .anime-profile-shell .ad-prof-mini-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .anime-profile-shell .ad-prof-recent {
    grid-template-columns: repeat(4, 1fr);
  }

  .anime-profile-shell .ad-lists,
  .anime-profile-shell .ad-prof-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .anime-profile-shell .ad-prof-cover {
    height: 140px;
  }

  .anime-profile-shell .ad-prof-id {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 18px 16px;
  }

  .anime-profile-shell .ad-prof-avatar {
    width: 92px;
    height: 92px;
    margin-top: -30px;
  }

  .anime-profile-shell .ad-prof-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .anime-profile-shell .ad-prof-hero-body {
    padding: 0 18px 22px;
  }

  .anime-profile-shell .ad-prof-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-profile-shell .ad-prof-achv,
  .anime-profile-shell .ad-prof-ov-cols,
  .anime-profile-shell .ad-prof-ov-cols-even,
  .anime-profile-shell .ad-lists,
  .anime-profile-shell .ad-prof-list-grid {
    grid-template-columns: 1fr;
  }

  .anime-profile-shell .ad-prof-fav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anime-profile-shell .ad-prof-recent {
    grid-template-columns: repeat(3, 1fr);
  }

  .anime-profile-shell .ad-prof-review {
    grid-template-columns: 54px 1fr;
  }

  .anime-profile-shell .ad-prof-review-rating {
    grid-column: 1 / -1;
  }
}

/* Keep newly inserted and server-rendered community comments from collapsing to min-content width. */
.anime-comments-block .anime-comment-thread,
.anime-comments-block .anime-comment {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.anime-comments-block .anime-comment {
  align-items: start;
  grid-template-columns: 40px minmax(0, 1fr);
}

.anime-comments-block .anime-comment .body,
.anime-comments-block .anime-comment .head,
.anime-comments-block .anime-comment .text,
.anime-comments-block .anime-comment .acts {
  min-width: 0;
  max-width: none;
}

.anime-comments-block .anime-comment .body {
  width: 100%;
  align-self: stretch;
}

.anime-comments-block .anime-comment .head,
.anime-comments-block .anime-comment .text,
.anime-comments-block .anime-comment .acts {
  width: 100%;
}

.anime-comments-block .anime-comment .text {
  overflow-wrap: break-word;
  word-break: normal;
}

.anime-comments-block .anime-comment .text p {
  margin: 0;
}

/* Native WordPress/Profile comment layout guard for live FSE overrides. */
.wp-block-comments,
.wp-block-comments :where(.wp-block-comment-template, .comment-list),
.anime-profile-shell :where(.ad-prof-ov-sec, .ad-prof-ov-cols, .ad-prof-ov-cols-even, .ad-prof-comments) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.wp-block-comment-template,
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-comment-template :where(li, .comment, .wp-block-comment, .comment-body),
.comment-list :where(li, .comment, .comment-body),
.anime-profile-shell .ad-prof-comment {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

.wp-block-comment-template :where(.wp-block-columns, .comment-body),
.comment-list .comment-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px 14px;
}

.wp-block-comment-template .wp-block-columns:has(.wp-block-avatar),
.wp-block-comment-template .wp-block-columns:has(.avatar),
.comment-list .comment-body:has(.avatar) {
  grid-template-columns: 40px minmax(0, 1fr);
}

.wp-block-comment-template :where(.wp-block-column, .wp-block-group, .wp-block-comment-content, .wp-block-comment-content p, .wp-block-comment-author-name, .wp-block-comment-date, .wp-block-comment-reply-link),
.comment-list :where(.comment-author, .comment-metadata, .comment-content, .comment-content p, .reply),
.anime-profile-shell .ad-prof-comment :where(.ad-prof-comment-top, p, .ad-prof-comment-likes) {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

.wp-block-comment-template :where(.wp-block-comment-content, .wp-block-comment-content p),
.comment-list :where(.comment-content, .comment-content p),
.anime-profile-shell .ad-prof-comment p {
  overflow-wrap: break-word;
  word-break: normal;
}

.anime-profile-shell .ad-prof-comments {
  align-self: stretch;
}

.anime-profile-shell .ad-prof-comment-top {
  min-width: 0;
}

.anime-profile-shell .ad-prof-comment-top a {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Force live/core comment columns to ignore narrow inline flex-basis values. */
.wp-block-comments .wp-block-comment-template :where(.wp-block-columns, .is-layout-flex),
.wp-block-comments .comment-list :where(.comment-body, .comment) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.wp-block-comments .wp-block-comment-template :where(.wp-block-column, .wp-block-group, .wp-block-comment-author-name, .wp-block-comment-date, .wp-block-comment-content, .wp-block-comment-reply-link),
.wp-block-comments .comment-list :where(.comment-author, .comment-metadata, .comment-content, .reply),
.wp-block-comments .comment-list .comment-body > * {
  display: block !important;
  flex: 1 1 auto !important;
  flex-basis: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.wp-block-comments :where(.wp-block-comment-content, .comment-content) :where(p, div),
.wp-block-comments :where(.wp-block-comment-author-name, .wp-block-comment-date, .wp-block-comment-reply-link, .comment-author, .comment-metadata, .reply) :where(a, span, time) {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
