/* =========================================================
   剧猫 JUMAO — brand system
   Cat-like, sharp, selective. Paper + ink + persimmon.
   ========================================================= */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d8;
  --paper-3: #e7dcc8;
  --ink: #171613;
  --ink-2: #2b2823;
  --ink-soft: #514b40;
  --muted: #857b6b;
  --line: #ddd2bf;
  --line-dark: #c7b9a1;
  --accent: #e3562b;
  --accent-deep: #bc3d17;
  --accent-soft: #f8dfd4;
  --green: #1f6f5c;
  --green-soft: #dcebe5;
  --gold: #c8992f;
  --purple: #7b4bb7;
  --blue: #457b9d;
  --white: #fffdf8;
  --shadow-sm: 0 2px 0 rgba(23, 22, 19, 0.04), 0 10px 24px rgba(23, 22, 19, 0.05);
  --shadow-md: 0 18px 50px rgba(23, 22, 19, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 76px;
  --wrap: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(227, 86, 43, 0.07), transparent 34rem),
    radial-gradient(circle at 100% 8%, rgba(31, 111, 92, 0.055), transparent 30rem),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.dot {
  margin-inline: 7px;
  color: var(--line-dark);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.eyebrow a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.eyebrow a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tag-review {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.tag-avoid {
  background: #f6dfd5;
  color: #a33412;
}

.tag-platform {
  background: var(--green-soft);
  color: #155445;
}

.tag-guide {
  background: #f1e6c9;
  color: #7a5a0b;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.5);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pill--link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
}

.pill--accent {
  background: var(--accent-soft);
  border-color: rgba(227, 86, 43, 0.32);
  color: var(--accent-deep);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

.badge--score {
  background: var(--ink);
  color: var(--paper);
  padding: 5px 9px;
  font-size: 13px;
}

.badge--score.badge--high {
  background: var(--green);
  color: #fff;
}

.badge--score.badge--mid {
  background: var(--gold);
  color: var(--ink);
}

.badge--score.badge--low {
  background: var(--accent-deep);
  color: #fff;
}

.badge--new {
  background: var(--accent);
  color: #fff;
}

.badge--ai {
  background: var(--purple);
  color: #fff;
}

.badge--overseas {
  background: var(--green);
  color: #fff;
}

.badge--warn {
  background: #fff;
  color: var(--accent-deep);
  border: 1px solid rgba(227, 86, 43, 0.35);
}

.badge--dark {
  background: rgba(23, 22, 19, 0.86);
  color: var(--paper);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 86, 43, 0.24);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--ghost {
  border-color: var(--line-dark);
  color: var(--ink-soft);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.6);
}

.btn--danger {
  background: #f7ded6;
  color: #9d2f10;
  border-color: #e8b8a8;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  min-height: 52px;
  padding-inline: 28px;
  font-size: 15px;
}

.btn.is-favorited {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 22, 19, 0.08);
}

.header-main {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--ink);
}

.brand__text {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.brand__en {
  padding-left: 9px;
  border-left: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(23, 22, 19, 0.05);
}

.main-nav a.is-active {
  color: var(--accent-deep);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

.search-panel {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 22px 0 18px;
}

.search-panel__form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-panel__form input {
  flex: 1;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 16px;
}

.search-panel__form input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-panel__quick {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.search-panel__quick a {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

.search-panel__quick a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 16px 24px 24px;
}

.mobile-nav nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.mobile-nav nav a span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.mobile-nav__submit {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- flash ---------- */

.flash {
  position: relative;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.flash--success {
  border-color: #b7d7c8;
  background: #eef7f1;
}

.flash--error {
  border-color: #e6b8a6;
  background: #fdf0ea;
}

.flash--info {
  border-color: #c9d7dd;
  background: #f0f6f8;
}

.flash button {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}

.flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 56px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 76px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(227, 86, 43, 0.45);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 86, 43, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(227, 86, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 86, 43, 0); }
}

.hero h1 {
  margin: 22px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.1vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 4px;
  height: 10px;
  z-index: -1;
  background: rgba(227, 86, 43, 0.16);
  border-radius: 999px;
}

.hero__lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.hero-search {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  padding: 7px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(227, 86, 43, 0.1);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 12px 10px 18px;
  font-size: 15px;
  outline: none;
}

.hero-search .btn {
  flex: 0 0 auto;
  min-height: 46px;
}

.hero-search--wide {
  max-width: 720px;
  margin-top: 26px;
}

.hero__chips {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero__chips a {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-weight: 600;
}

.hero__chips a:hover {
  background: var(--accent);
  color: #fff;
}

.hero__stats {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero__stats > div {
  display: flex;
  flex-direction: column;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.hero__stats > div:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.hero__stats strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero__stats span {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 10%, rgba(227, 86, 43, 0.28), transparent 45%),
    linear-gradient(150deg, #23201b 0%, #171613 58%, #0f0e0c 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 231, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.7;
}

.hero__orb {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.16);
}

.hero__eye {
  position: absolute;
  width: 84%;
  left: -6%;
  top: 34px;
  color: rgba(246, 241, 231, 0.28);
  z-index: 0;
}

.hero__spotlight {
  position: absolute;
  right: 32px;
  bottom: 34px;
  width: min(62%, 300px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 18px;
  background: rgba(246, 241, 231, 0.96);
  color: var(--ink);
  transform: rotate(2.5deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero__spotlight:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero__spotlight img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.hero__spotlight-label {
  order: -1;
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero__spotlight strong {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.35;
  padding-inline: 4px;
}

.hero__spotlight-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 2px;
  font-size: 11px;
  color: var(--muted);
}

.hero__spotlight-score b {
  font-size: 18px;
  color: var(--accent);
}

.hero__stamp {
  position: absolute;
  left: 30px;
  bottom: 40px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: rgba(246, 241, 231, 0.56);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ---------- section scaffolding ---------- */

.section {
  padding-top: 38px;
  padding-bottom: 88px;
}

.section--tight {
  padding-top: 12px;
  padding-bottom: 58px;
}

.section--paper {
  margin-block: 10px 70px;
  padding: 56px 44px 62px;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head--mini {
  margin-bottom: 22px;
  margin-top: 26px;
}

.section-head--mini:first-child {
  margin-top: 0;
}

.section-no {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.section-desc {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.section-link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.section-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.section-link--inline {
  margin-left: auto;
}

.section-link--muted {
  color: var(--muted);
  border-bottom: 0;
}

.mt-lg {
  margin-top: 42px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.split__aside {
  display: grid;
  gap: 22px;
}

/* ---------- grids & cards ---------- */

.grid {
  display: grid;
  gap: 26px;
}

.grid--dramas {
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 28px 24px;
}

.grid--articles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.drama-card {
  min-width: 0;
}

.drama-card__poster {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.drama-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.drama-card:hover .drama-card__poster {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.drama-card:hover .drama-card__poster img {
  transform: scale(1.025);
}

.drama-card__poster > .badge--score {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.drama-card__badges {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.drama-card__rank {
  position: absolute;
  left: 12px;
  bottom: 6px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.drama-card__body {
  padding: 13px 2px 0;
}

.drama-card__title {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.drama-card__title a:hover {
  color: var(--accent);
}

.drama-card__body .meta {
  margin-top: 5px;
  font-size: 12px;
}

.drama-card__body .eyebrow {
  font-size: 11.5px;
}

.role-item .role-note {
  margin-top: 6px;
  padding-left: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* feature */

.feature {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 26px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 253, 248, 0.8), rgba(239, 231, 216, 0.65));
  box-shadow: var(--shadow-sm);
}

.feature__poster {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23, 22, 19, 0.18);
  transform: rotate(-1.6deg);
  transition: transform 0.3s ease;
}

.feature__poster:hover {
  transform: rotate(0deg);
}

.feature__poster img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
}

.feature__body {
  min-width: 0;
}

.feature__title {
  margin: 12px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.feature__title a:hover {
  color: var(--accent);
}

.feature__synopsis {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.feature__meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.feature__warning {
  margin-top: 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(227, 86, 43, 0.07);
  font-size: 13px;
  color: var(--ink-soft);
}

.warn-label {
  display: inline-block;
  margin-right: 9px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.feature__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* rating */

.cat-rating {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cat-rating__number {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-serif);
}

.cat-rating__number strong {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.cat-rating__number span {
  font-size: 11px;
  color: var(--muted);
}

.cat-rating--high .cat-rating__number strong { color: var(--green); }
.cat-rating--mid .cat-rating__number strong { color: var(--gold); }
.cat-rating--low .cat-rating__number strong { color: var(--accent-deep); }

.cat-rating__eyes,
.detail-score__eyes {
  display: flex;
  gap: 5px;
}

.cat-eye {
  display: inline-flex;
  width: 22px;
  height: 14px;
}

.cat-eye svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--line-dark);
  stroke-width: 2.2;
  opacity: 0.55;
}

.cat-eye svg circle {
  fill: transparent;
  stroke: none;
}

.cat-eye.is-on svg {
  stroke: var(--accent);
  opacity: 1;
}

.cat-eye.is-on svg circle {
  fill: var(--accent);
}

.cat-rating__label {
  font-size: 11.5px;
  color: var(--muted);
}

.cat-score {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-serif);
}

.cat-score b {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.cat-score small {
  font-size: 10px;
  color: var(--muted);
}

.cat-score--high b { color: var(--green); }
.cat-score--mid b { color: var(--gold); }
.cat-score--low b { color: var(--accent-deep); }

/* ---------- rank list ---------- */

.rank-list {
  border-top: 1px solid var(--line);
}

.rank-item {
  display: grid;
  grid-template-columns: 40px 62px minmax(0, 1fr) auto 18px;
  gap: 15px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease, padding 0.16s ease;
}

.rank-item:hover {
  background: rgba(255, 253, 248, 0.7);
  padding-inline: 10px;
}

.rank-item__num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--line-dark);
}

.rank-item__poster img {
  width: 62px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.rank-item__info {
  min-width: 0;
}

.rank-item__info strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item__info .meta {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
}

.rank-item__arrow {
  color: var(--line-dark);
  transition: color 0.16s ease, transform 0.16s ease;
}

.rank-item:hover .rank-item__arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.rank-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- warnings ---------- */

.warning-list {
  border-top: 1px solid var(--line);
}

.warning-item {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
}

.warning-item__level {
  width: 6px;
  height: 34px;
  border-radius: 99px;
  background: var(--line-dark);
  margin-top: 4px;
}

.warning-item__level--high { background: var(--accent); }
.warning-item__level--mid { background: var(--gold); }
.warning-item__level--low { background: var(--green); }
.warning-item__level--none { background: var(--green); }

.warning-item__body h3 {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.warning-item__body p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.warning-item__detail {
  padding-top: 2px;
}

.warning-item__label {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.warning-item__body h3 a:hover {
  color: var(--accent);
}

/* ---------- panels ---------- */

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-sm);
}

.panel--calendar {
  background: var(--white);
}

.panel--dict {
  background: var(--paper-2);
}

.panel--accent {
  --panel-accent: var(--accent);
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.panel--accent h3 {
  color: var(--paper);
}

.panel--accent p {
  color: rgba(246, 241, 231, 0.72);
}

.panel--accent .btn--ghost {
  border-color: rgba(246, 241, 231, 0.35);
  color: var(--paper);
}

.panel--accent .btn--ghost:hover {
  background: rgba(246, 241, 231, 0.12);
  border-color: var(--paper);
  color: var(--paper);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.panel__head h3,
.panel > h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.panel__head a {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.panel__head a:hover {
  color: var(--accent);
}

.panel > h3 + p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
}

.panel > .btn {
  margin-top: 16px;
}

.panel__empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.panel--accent .panel__empty {
  color: rgba(246, 241, 231, 0.6);
}

/* calendar mini */

.calendar-mini__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.calendar-mini__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.calendar-mini__date {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.calendar-mini__date strong {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 800;
}

.calendar-mini__date span {
  font-size: 10.5px;
  color: var(--muted);
}

.calendar-mini__items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.calendar-mini__items a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-soft);
}

.calendar-mini__items a:hover {
  color: var(--accent);
}

.calendar-mini__items small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.dict-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.dict-chips a {
  padding: 4px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.16s ease;
}

.dict-chips a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- genre tiles ---------- */

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

.genre-tile {
  position: relative;
  min-height: 196px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(145deg, var(--tile-color, var(--accent)) 0%, #171613 120%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.genre-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.genre-tile__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.58);
}

.genre-tile h3,
.genre-tile h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
}

.genre-tile p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.genre-tile__count {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}

.genre-tile__intro {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.genre-grid--large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.genre-tile--large {
  min-height: 280px;
  padding: 34px;
}

.genre-tile--large h2 {
  margin-top: 16px;
  font-size: 42px;
}

.genre-tile--large p {
  max-width: 420px;
  font-size: 14px;
}

.genre-tile--large .genre-tile__index {
  font-size: 12px;
}

/* ---------- platform strip ---------- */

.platform-strip {
  margin-top: 34px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.platform-strip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.platform-strip__head .section-no {
  color: rgba(246, 241, 231, 0.55);
  margin-bottom: 0;
}

.platform-strip__head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
}

.platform-strip__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.platform-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 15px;
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: 12px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.platform-chip:hover {
  border-color: rgba(246, 241, 231, 0.45);
  background: rgba(246, 241, 231, 0.06);
}

.platform-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 7px;
}

.platform-chip strong {
  font-size: 14px;
}

.platform-chip small {
  font-size: 10.5px;
  color: rgba(246, 241, 231, 0.55);
}

/* ---------- CTA ---------- */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 90px;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(227, 86, 43, 0.35), transparent 28%),
    var(--ink);
  color: var(--paper);
}

.cta--light {
  background: var(--paper-2);
  color: var(--ink);
}

.cta__copy .section-no {
  color: var(--accent);
}

.cta__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.28;
}

.cta__copy p {
  max-width: 620px;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(246, 241, 231, 0.66);
}

.cta--light .cta__copy p {
  color: var(--muted);
}

.cta__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}

.cta--light .btn--ghost {
  border-color: var(--line-dark);
  color: var(--ink-soft);
}

.cta--light .btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* =========================================================
   inner pages
   ========================================================= */

.page {
  padding-bottom: 20px;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 46px;
}

.page-hero__copy {
  max-width: 820px;
}

.page-hero h1 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.page-hero__stats {
  display: flex;
  gap: 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
}

.page-hero__stats > div {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid var(--line);
}

.page-hero__stats > div:last-child {
  border: 0;
  padding: 0;
  margin: 0;
}

.page-hero__stats strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.page-hero__stats span {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--muted);
}

.page-hero__stamp {
  flex: 0 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-soft);
  transform: rotate(2deg);
}

.page-hero__stamp span {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-hero--genre {
  --genre-color: var(--accent);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-hero--genre::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--genre-color), transparent 80%);
  opacity: 0.75;
}

.page-hero--genre h1 em {
  color: var(--genre-color);
}

/* filters */

.filter-block {
  padding-top: 10px;
  padding-bottom: 10px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.filter-row:first-child {
  border-top: 1px solid var(--line);
}

.filter-label {
  flex: 0 0 54px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(239, 231, 216, 0.6);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.16s ease;
}

.chip:hover {
  border-color: var(--line-dark);
  color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chips--large {
  gap: 9px;
}

.chips--large .chip {
  padding: 7px 15px;
  font-size: 13px;
}

.view-toggle {
  margin-left: auto;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.view-toggle a {
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.view-toggle a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.library-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.library-search__field {
  flex: 1 1 280px;
  min-width: 0;
}

.library-search input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--white);
  outline: none;
}

.library-search input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 86, 43, 0.1);
}

.select-wrap select {
  min-height: 44px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--white);
  font-size: 13px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23857b6b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.result-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  font-size: 13px;
  color: var(--muted);
}

.result-bar strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
}

.result-bar__hint {
  font-size: 11.5px;
}

/* calendar timeline */

.calendar-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.calendar-day {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.calendar-day__date {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-serif);
}

.calendar-day__month {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.calendar-day__date strong {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.calendar-day__date > span:last-child {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.calendar-day__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.55);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.calendar-item:hover {
  border-color: var(--line-dark);
  background: var(--white);
}

.calendar-item img {
  width: 48px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.calendar-item__body {
  min-width: 0;
  flex: 1;
}

.calendar-item__body strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.calendar-item__body .meta {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

/* pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 42px;
}

.pagination a,
.pagination__current,
.pagination__arrow,
.pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.6);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pagination__current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pagination__arrow.is-disabled {
  opacity: 0.35;
}

.pagination__gap {
  border: 0;
  background: transparent;
  color: var(--muted);
}

/* empty */

.empty-state {
  padding: 68px 24px;
  text-align: center;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.45);
}

.empty-state__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
}

.empty-state p {
  max-width: 480px;
  margin: 8px auto 20px;
  color: var(--muted);
  font-size: 13.5px;
}

/* =========================================================
   drama detail
   ========================================================= */

.detail-page {
  padding-top: 26px;
  padding-bottom: 30px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 22px;
  font-size: 11.5px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb > span:not(.breadcrumb__current) {
  color: var(--line-dark);
}

.breadcrumb__current {
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}

.detail-head {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 268px;
  gap: 36px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.detail-poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-poster__badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.detail-info h1 {
  margin-top: 9px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.detail-info__original {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.detail-info__meta {
  margin-top: 13px;
  font-size: 12.5px;
  color: var(--muted);
}

.detail-info__synopsis {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-warning {
  margin-top: 22px;
  padding: 13px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(227, 86, 43, 0.07);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.detail-warning.is-ok {
  border-left-color: var(--green);
  background: rgba(31, 111, 92, 0.07);
}

.detail-warning__label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.detail-warning.is-ok .detail-warning__label {
  background: var(--green);
}

.detail-warning p {
  display: inline;
}

.detail-score {
  padding: 26px 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(227, 86, 43, 0.25), transparent 55%),
    var(--ink);
  color: var(--paper);
  text-align: center;
}

.detail-score__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(246, 241, 231, 0.55);
}

.detail-score__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 9px;
  font-family: var(--font-serif);
}

.detail-score__number strong {
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.detail-score__number span {
  font-size: 12px;
  color: rgba(246, 241, 231, 0.5);
}

.detail-score__number.cat-score--high strong { color: #8fd3bd; }
.detail-score__number.cat-score--mid strong { color: #ecc96e; }
.detail-score__number.cat-score--low strong { color: #f08a68; }

.detail-score__eyes {
  justify-content: center;
  margin-top: 10px;
}

.detail-score__eyes .cat-eye svg {
  stroke: rgba(246, 241, 231, 0.28);
}

.detail-score__eyes .cat-eye.is-on svg {
  stroke: var(--accent);
}

.detail-score__eyes .cat-eye.is-on svg circle {
  fill: var(--accent);
}

.detail-score__count {
  margin-top: 7px;
  font-size: 10.5px;
  color: rgba(246, 241, 231, 0.48);
}

.detail-score__audience {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  font-size: 11.5px;
  color: rgba(246, 241, 231, 0.6);
}

.detail-score__audience strong {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--paper);
}

.detail-score__audience small {
  font-size: 10px;
}

.detail-score__verdict {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.78);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}

.content-block {
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.content-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.content-block__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.content-block__head .section-no {
  margin-bottom: 0;
}

.content-block__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.3;
}

.prose-lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(239, 231, 216, 0.55);
}

.highlight-list li > span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
}

.highlight-list li p {
  font-size: 14px;
  line-height: 1.75;
}

.tip-box {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
}

.tip-box__label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7a5a0b;
}

.tip-box p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.tip-box__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-dark);
  font-size: 11.5px !important;
  color: var(--muted) !important;
}

.warning-list--detail .warning-item {
  padding-top: 14px;
  padding-bottom: 14px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.cast-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.55);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.cast-card:hover {
  border-color: var(--line-dark);
  background: var(--white);
}

.cast-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.cast-card span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cast-card strong {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
}

.cast-card small {
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.mini-article-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}

.mini-article-list a:hover strong {
  color: var(--accent);
}

.mini-article-list strong {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.mini-article-list .meta {
  flex: 0 0 auto;
  font-size: 11px;
}

.detail-aside {
  display: grid;
  gap: 20px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related-list a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.related-list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-list img {
  width: 54px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.related-list span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.related-list strong {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.45;
}

.related-list a:hover strong {
  color: var(--accent);
}

.related-list small {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}

/* rating widget */

.rate-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.6);
}

.rate-box > p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.rate-stars {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.rate-stars button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: all 0.16s ease;
}

.rate-stars button:hover {
  border-color: var(--accent);
}

.rate-stars button em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

.rate-stars button.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.rate-stars button.is-on em {
  color: var(--accent-deep);
}

.rate-stars .cat-eye svg {
  width: 19px;
  height: 12px;
}

.rate-box__result {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-dark);
  font-size: 12px !important;
  color: var(--ink-soft) !important;
}

/* =========================================================
   actors
   ========================================================= */

.actor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.actor-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.6);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.actor-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}

.actor-card__avatar {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
}

.actor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.actor-card:hover .actor-card__avatar img {
  transform: scale(1.03);
}

.actor-card__avatar .badge {
  position: absolute;
  right: 10px;
  top: 10px;
}

.actor-card__body {
  padding: 16px 18px 18px;
}

.actor-card__body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
}

.actor-card__body .meta {
  margin-top: 2px;
  font-size: 11.5px;
}

.actor-card__rep {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actor-card__count {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}

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

.actor-grid--small .actor-card__body h3 {
  font-size: 17px;
}

.actor-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 280px;
  gap: 38px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.actor-hero__avatar {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.actor-hero__avatar img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.actor-hero__avatar .badge {
  position: absolute;
  right: 12px;
  top: 12px;
}

.actor-hero__body h1 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
}

.actor-hero__bio {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.actor-facts {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.actor-facts > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.actor-facts dt {
  color: var(--muted);
}

.actor-facts dd {
  color: var(--ink-soft);
  line-height: 1.65;
}

.actor-hero__side {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.actor-hero__side p {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.actor-hero__side .btn {
  margin-top: 18px;
}

/* =========================================================
   articles
   ========================================================= */

.article-page {
  padding-top: 26px;
  padding-bottom: 30px;
}

.article {
  padding-bottom: 20px;
}

.article-head {
  max-width: 940px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

.article-head h1 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.article-head__excerpt {
  max-width: 780px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.article-head__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding-top: 38px;
}

.article-cover {
  margin-bottom: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.article-disclaimer {
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px dashed var(--line-dark);
  background: rgba(239, 231, 216, 0.4);
}

.article-disclaimer strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-disclaimer p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.article-aside {
  display: grid;
  gap: 20px;
}

.article-drama {
  display: flex;
  gap: 12px;
  align-items: center;
}

.article-drama img {
  width: 78px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.article-drama span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.article-drama strong {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.article-drama small {
  font-size: 10.5px;
  color: var(--muted);
}

.article-drama .high { color: var(--green); }
.article-drama .mid { color: var(--gold); }
.article-drama .low { color: var(--accent); }

.side-article-list {
  display: flex;
  flex-direction: column;
}

.side-article-list a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.side-article-list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-article-list strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}

.side-article-list a:hover strong {
  color: var(--accent);
}

.side-article-list .tag {
  align-self: flex-start;
}

/* prose */

.prose {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 17px;
}

.prose h2 {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
}

.prose h3 {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.prose h4 {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.prose p {
  margin-top: 14px;
}

.prose strong {
  color: var(--ink);
  font-weight: 800;
}

.prose em {
  color: var(--accent-deep);
}

.prose a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(227, 86, 43, 0.35);
}

.prose a:hover {
  border-bottom-color: var(--accent);
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li {
  margin-top: 7px;
}

.prose li::marker {
  color: var(--accent);
}

.prose blockquote {
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(239, 231, 216, 0.5);
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
}

.prose blockquote p {
  margin: 0;
}

.prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.prose pre {
  padding: 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  overflow-x: auto;
}

.prose pre code {
  background: transparent;
  padding: 0;
}

.prose img {
  border-radius: 14px;
}

.prose hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.prose th,
.prose td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--paper-2);
}

.prose--article {
  font-size: 16.5px;
  line-height: 2.05;
}

.prose--article > p:first-child {
  font-size: 17.5px;
  color: var(--ink-soft);
}

/* =========================================================
   avoid / warnings
   ========================================================= */

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 10px;
}

.rule-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
}

.rule-card span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.rule-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.rule-card p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.boundary-box {
  margin-top: 20px;
  margin-bottom: 60px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-dark);
  background: rgba(239, 231, 216, 0.35);
}

.boundary-box strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.boundary-box p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.warning-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.warning-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.6);
}

.warning-card__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--paper-2);
  border-left: 4px solid var(--line-dark);
}

.warning-card--high .warning-card__rail {
  border-left-color: var(--accent);
  background: #f8e3da;
}

.warning-card--mid .warning-card__rail {
  border-left-color: var(--gold);
  background: #f3ead6;
}

.warning-card--low .warning-card__rail {
  border-left-color: var(--green);
  background: #e5efe9;
}

.warning-card__level {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}

.warning-card--low .warning-card__level { color: var(--green); }
.warning-card--mid .warning-card__level { color: #7a5a0b; }

.warning-card__type {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-soft);
}

.warning-card__body {
  padding: 22px 26px;
}

.warning-card__body h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.45;
}

.warning-card__summary {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.warning-card__detail {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.warning-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.warning-card__foot .meta {
  font-size: 10.5px;
}

/* =========================================================
   moments
   ========================================================= */

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

.moment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.moment-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--moment-color, var(--gold));
}

.moment-card::after {
  content: "“";
  position: absolute;
  right: 18px;
  top: -6px;
  font-family: var(--font-serif);
  font-size: 130px;
  line-height: 1;
  color: var(--moment-color, var(--gold));
  opacity: 0.1;
  pointer-events: none;
}

.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.moment-card__type {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.moment-card blockquote {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
}

.moment-card h2 {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.moment-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  color: var(--muted);
}

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

.moment-grid--small .moment-card {
  min-height: 200px;
}

.moment-grid--small blockquote {
  font-size: 18px;
}

.moment-detail {
  padding-top: 26px;
  padding-bottom: 30px;
}

.moment-hero {
  position: relative;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 6%, var(--moment-color), transparent 52%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.moment-hero::after {
  content: "“";
  position: absolute;
  right: 30px;
  top: -30px;
  font-family: var(--font-serif);
  font-size: 240px;
  line-height: 1;
  opacity: 0.14;
}

.moment-hero blockquote {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.45;
  white-space: pre-line;
}

.moment-hero h1 {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(246, 241, 231, 0.6);
}

.moment-hero .pill {
  margin-top: 20px;
  border-color: rgba(246, 241, 231, 0.3);
  background: transparent;
  color: rgba(246, 241, 231, 0.8);
}

.moment-body {
  padding-top: 36px;
}

.moment-body .prose-lead {
  max-width: 880px;
}

.moment-drama {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
}

.moment-drama img {
  width: 120px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.moment-drama h2 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 900;
}

.moment-drama p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.moment-drama .btn {
  margin-top: 14px;
}

/* =========================================================
   dictionary
   ========================================================= */

.dict-group {
  margin-bottom: 46px;
}

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

.term-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.term-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-sm);
}

.term-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.term-card__head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
}

.term-card__head span {
  color: var(--line-dark);
}

.term-card:hover .term-card__head span {
  color: var(--accent);
}

.term-card p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.term-card__cat {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.term-page {
  padding-top: 26px;
  padding-bottom: 30px;
}

.term-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.term-hero h1 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 900;
  line-height: 1.1;
}

.term-hero__definition {
  max-width: 840px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.term-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding-top: 38px;
}

.term-aside {
  display: grid;
  gap: 20px;
}

/* =========================================================
   topics
   ========================================================= */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  position: relative;
  display: flex;
  min-height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(145deg, var(--topic-color, var(--accent)) 0%, #171613 120%);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.topic-card__no {
  position: absolute;
  right: 24px;
  top: 16px;
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
}

.topic-card__body {
  display: flex;
  flex-direction: column;
  padding: 30px;
  max-width: 85%;
}

.topic-card__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

.topic-card h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}

.topic-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.topic-card__link {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}

.topic-aside {
  display: grid;
  gap: 20px;
}

/* =========================================================
   about
   ========================================================= */

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 46px;
}

.about-stats > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.5);
}

.about-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.about-stats span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding-bottom: 30px;
}

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

.about-grid > div {
  padding: 18px;
  border-radius: 12px;
  background: rgba(239, 231, 216, 0.5);
}

.about-grid strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
}

.about-grid p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
}

.boundary-list p {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.boundary-list p::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.about-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-dark);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.about-aside {
  display: grid;
  gap: 20px;
}

.principle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.principle-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
}

.principle-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.panel--accent .principle-list li {
  color: rgba(246, 241, 231, 0.76);
}

.about-links {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.about-links a {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.about-links a:last-child {
  border-bottom: 0;
}

.about-links a:hover {
  color: var(--accent);
}

/* =========================================================
   search
   ========================================================= */

.search-hero {
  padding-top: 66px;
  padding-bottom: 34px;
}

.search-hero h1 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 900;
  line-height: 1.12;
}

.search-hero__summary {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.search-hero__summary strong {
  color: var(--ink);
}

.search-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.search-hot a {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink-soft);
}

.search-hot a:hover {
  background: var(--accent);
  color: #fff;
}

.search-group {
  margin-bottom: 44px;
}

.search-group:last-child {
  margin-bottom: 0;
}

.search-suggest {
  display: grid;
  gap: 28px;
  padding: 14px 0 30px;
  border-top: 1px solid var(--line);
}

.search-suggest .section-no {
  margin-bottom: 12px;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 28px 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.55);
  overflow: hidden;
}

.faq-item summary {
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.seo-terms {
  padding-top: 14px;
  padding-bottom: 58px;
}

.seo-terms__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
}

.seo-terms__head .section-no {
  margin-bottom: 2px;
}

.seo-terms__head h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
}

.seo-terms__head p {
  font-size: 12px;
  color: var(--muted);
}

.favorites-loading {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   submit
   ========================================================= */

.submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 60px;
}

.submit-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.66);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.form-label em {
  font-style: normal;
  color: var(--accent);
}

.form-label__ro {
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
}

.form-row input[type="text"],
.form-row input[type="search"],
.form-row input[type="password"],
.form-row input[type="number"],
.form-row input[type="date"],
.form-row input[type="datetime-local"],
.form-row input[type="color"],
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-row input[type="color"] {
  padding: 5px;
  max-width: 100px;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.7;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 86, 43, 0.1);
}

.form-row input[readonly],
.form-row textarea[readonly],
.form-row select:disabled {
  background: var(--paper-2);
  color: var(--muted);
}

.form-help {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

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

.radio-cards label {
  position: relative;
  cursor: pointer;
}

.radio-cards input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-cards label > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.radio-cards input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(227, 86, 43, 0.09);
}

.radio-cards strong {
  font-size: 13px;
  font-weight: 700;
}

.radio-cards small {
  font-size: 10.5px;
  color: var(--muted);
}

.submit-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.success-box {
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid #b7d7c8;
  background: #eef7f1;
}

.success-box__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
}

.success-box h2 {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
}

.success-box p {
  max-width: 620px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.submit-aside {
  display: grid;
  gap: 20px;
}

/* =========================================================
   error
   ========================================================= */

.error-page {
  padding: 70px 0 90px;
}

.error-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.06em;
  opacity: 0.12;
}

.error-copy {
  max-width: 560px;
}

.error-copy h1 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.25;
}

.error-copy .lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.error-copy .detail-actions {
  margin-top: 24px;
}

/* =========================================================
   footer
   ========================================================= */

.site-footer {
  margin-top: 40px;
  background: var(--ink);
  color: var(--paper);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 70px;
  padding-bottom: 48px;
}

.brand--footer {
  color: var(--paper);
}

.brand--footer .brand__en {
  color: rgba(246, 241, 231, 0.5);
  border-left-color: rgba(246, 241, 231, 0.25);
}

.footer-brand > p {
  max-width: 380px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(246, 241, 231, 0.65);
}

.footer-note {
  padding-top: 14px;
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  font-size: 11px !important;
  color: rgba(246, 241, 231, 0.45) !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.42);
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: rgba(246, 241, 231, 0.72);
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 26px;
  font-size: 10.5px;
  color: rgba(246, 241, 231, 0.38);
}

.footer-bottom__links {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* =========================================================
   reveal
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* =========================================================
   admin
   ========================================================= */

.admin-body {
  background: #f2eee5;
  font-size: 14px;
}

.admin-body::before {
  display: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: var(--ink);
  color: var(--paper);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 22px;
  color: var(--paper);
}

.admin-brand svg {
  width: 38px;
  height: 38px;
  color: var(--paper);
}

.admin-brand__text {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.admin-brand strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.admin-brand__en {
  padding-left: 8px;
  border-left: 1px solid rgba(246, 241, 231, 0.25);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 231, 0.45);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-nav > a,
.admin-nav__group > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  color: rgba(246, 241, 231, 0.66);
  transition: background 0.16s ease, color 0.16s ease;
}

.admin-nav > a:hover,
.admin-nav__group > a:hover {
  background: rgba(246, 241, 231, 0.08);
  color: var(--paper);
}

.admin-nav > a.is-active,
.admin-nav__group > a.is-active {
  background: var(--accent);
  color: #fff;
}

.admin-nav em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(246, 241, 231, 0.35);
}

.admin-nav a.is-active em {
  color: rgba(255, 255, 255, 0.7);
}

.admin-nav__label {
  display: block;
  padding: 0 11px 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.3);
}

.admin-nav__group {
  display: flex;
  flex-direction: column;
}

.admin-sidebar__foot {
  margin-top: auto;
  padding: 18px 8px 4px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: rgba(246, 241, 231, 0.5);
}

.admin-sidebar__foot strong {
  color: rgba(246, 241, 231, 0.85);
}

.admin-sidebar__foot a:hover {
  color: var(--accent);
}

.admin-sidebar__foot form {
  margin-top: 6px;
}

.admin-sidebar__foot button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 231, 0.42);
  font-size: 11px;
}

.admin-sidebar__foot button:hover {
  color: var(--accent);
}

.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-topbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.admin-topbar__kicker {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.admin-topbar strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: var(--muted);
}

.admin-topbar__actions a:hover {
  color: var(--accent);
}

.admin-content {
  width: 100%;
  max-width: 1380px;
  padding: 34px;
}

.admin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 20px 34px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

.admin-foot a:hover {
  color: var(--accent);
}

.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-page-head h1 {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.admin-page-head p {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}

.admin-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-page-head__actions .btn {
  min-height: 40px;
  font-size: 12.5px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.admin-stats a {
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.admin-stats a:hover {
  border-color: var(--line-dark);
  transform: translateY(-2px);
}

.admin-stats span {
  font-size: 10.5px;
  color: var(--muted);
}

.admin-stats strong {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.admin-stats small {
  margin-top: 5px;
  font-size: 9.5px;
  color: var(--accent);
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  margin-bottom: 16px;
}

.admin-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel__head .kicker {
  font-size: 9px;
}

.admin-panel__head h2 {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
}

.admin-panel__head a {
  font-size: 11px;
  color: var(--muted);
}

.admin-panel__head a:hover {
  color: var(--accent);
}

.admin-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.admin-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.admin-list__item:hover {
  background: rgba(239, 231, 216, 0.35);
}

.admin-list__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-list__main strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-list__main small {
  font-size: 10.5px;
  color: var(--muted);
}

.admin-list__arrow {
  color: var(--line-dark);
}

.admin-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.admin-status {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--muted);
}

.admin-status--new { background: var(--accent-soft); color: var(--accent-deep); }
.admin-status--processing { background: #f1e6c9; color: #7a5a0b; }
.admin-status--done { background: var(--green-soft); color: #155445; }
.admin-status--spam { background: #e9e4dc; color: #8a8173; }

.admin-empty {
  padding: 22px 0;
  font-size: 12px;
  color: var(--muted);
}

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

.admin-help > div {
  padding: 16px 18px;
  border: 1px dashed var(--line-dark);
  border-radius: 12px;
}

.admin-help strong {
  font-size: 11.5px;
}

.admin-help p {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}

.admin-flash {
  margin-bottom: 18px;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
}

.admin-flash--success { border-color: #b7d7c8; background: #eef7f1; }
.admin-flash--error { border-color: #e6b8a6; background: #fdf0ea; }
.admin-flash--info { border-color: #c9d7dd; background: #f0f6f8; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.admin-search {
  display: flex;
  gap: 8px;
}

.admin-search input {
  min-width: 280px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--white);
  font-size: 12.5px;
  outline: none;
}

.admin-search input:focus {
  border-color: var(--accent);
}

.admin-search .btn {
  min-height: 40px;
  font-size: 12px;
}

.admin-toolbar__count {
  font-size: 11px;
  color: var(--muted);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(239, 231, 216, 0.6);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  max-width: 280px;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr:hover {
  background: rgba(239, 231, 216, 0.28);
}

.admin-table__title {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.admin-table__title:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-table__actions {
  white-space: nowrap;
  text-align: right;
}

.admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.admin-actions a,
.admin-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.admin-actions a:hover {
  color: var(--accent);
}

.admin-actions button:hover {
  color: #a33412;
}

.admin-actions form {
  display: inline;
}

.admin-bool {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.admin-bool--on { background: var(--green-soft); color: #155445; }
.admin-bool--off { background: var(--paper-2); color: var(--muted); }

.color-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -2px;
  border: 1px solid rgba(23, 22, 19, 0.15);
}

.admin-empty-cell {
  padding: 30px !important;
  text-align: center;
  color: var(--muted);
}

.admin-empty-cell a {
  color: var(--accent);
}

.admin-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.76);
}

.admin-form--narrow {
  max-width: 520px;
}

.admin-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.admin-form .form-row {
  margin-bottom: 18px;
}

.admin-form__grid .form-row--wide {
  grid-column: 1 / -1;
}

.admin-form .form-row textarea {
  min-height: 90px;
}

.admin-form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.admin-form__spacer {
  flex: 1;
}

.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  font-size: 12px;
  color: var(--muted);
}

.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.admin-delete-form {
  margin-top: 18px;
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 20% 10%, rgba(227, 86, 43, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 90%, rgba(31, 111, 92, 0.18), transparent 28rem),
    var(--ink);
}

.admin-login-body::before {
  display: none;
}

.admin-login {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.admin-login__brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 44px;
  background:
    radial-gradient(circle at 80% 15%, rgba(227, 86, 43, 0.4), transparent 52%),
    var(--ink);
  color: var(--paper);
}

.admin-login__brand .admin-brand {
  padding: 0;
  color: var(--paper);
}

.admin-login__brand .admin-brand svg {
  width: 46px;
  height: 46px;
  color: var(--paper);
}

.admin-login__brand .admin-brand strong {
  font-size: 24px;
}

.admin-login__brand p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(246, 241, 231, 0.62);
}

.admin-login__back {
  font-size: 11.5px;
  color: rgba(246, 241, 231, 0.55);
}

.admin-login__back:hover {
  color: var(--accent);
}

.admin-login__form {
  padding: 48px 44px;
}

.admin-login__form h1 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-login__form > p {
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--muted);
}

.admin-login__form .btn {
  margin-top: 8px;
}

.admin-login__note {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.7;
  color: var(--muted) !important;
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1180px) {
  .main-nav a {
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 38px;
  }

  .hero__visual {
    min-height: 510px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
  }

  .detail-head {
    grid-template-columns: 250px minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .actor-hero {
    grid-template-columns: 250px minmax(0, 1fr) 240px;
    gap: 28px;
  }

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

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

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

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .header-main {
    gap: 16px;
  }

  .brand {
    margin-right: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 46px;
  }

  .hero__visual {
    min-height: 500px;
    max-width: 640px;
    width: 100%;
  }

  .hero__eye {
    width: 70%;
    left: 0;
  }

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

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

  .section--paper {
    padding: 42px 30px 48px;
  }

  .detail-head {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .detail-score {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding: 20px 24px;
  }

  .detail-score__kicker {
    display: none;
  }

  .detail-score__number {
    justify-content: flex-start;
    margin: 0;
  }

  .detail-score__number strong {
    font-size: 48px;
  }

  .detail-score__eyes {
    justify-content: flex-start;
    margin: 0;
  }

  .detail-score__audience {
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .detail-score__verdict {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .detail-score__count {
    display: none;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-aside {
    grid-template-columns: 1fr 1fr;
  }

  .actor-hero {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .actor-hero__side {
    grid-column: 1 / -1;
  }

  .article-layout,
  .term-layout,
  .topic-layout,
  .about-layout,
  .submit-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-aside,
  .term-aside,
  .topic-aside,
  .about-aside,
  .submit-aside {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

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

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

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

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

  .admin-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding: 18px 12px;
  }

  .admin-content {
    padding: 24px;
  }

  .admin-topbar,
  .admin-foot {
    padding-inline: 24px;
  }
}

@media (max-width: 860px) {
  .container {
    padding-inline: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .page-hero__stamp {
    display: none;
  }

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

  .grid--dramas {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 22px 16px;
  }

  .feature {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 26px;
  }

  .feature__title {
    font-size: 27px;
  }

  .genre-tile--large {
    min-height: 240px;
    padding: 26px;
  }

  .genre-tile--large h2 {
    font-size: 34px;
  }

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

  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 30px;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .detail-head {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 300px;
  }

  .detail-score {
    grid-template-columns: auto 1fr;
  }

  .detail-score__verdict {
    grid-column: 1 / -1;
  }

  .detail-aside {
    grid-template-columns: 1fr;
  }

  .actor-hero {
    grid-template-columns: 1fr;
  }

  .actor-hero__avatar {
    max-width: 280px;
  }

  .actor-hero__side {
    grid-column: auto;
  }

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

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

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

  .warning-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .warning-card__rail {
    padding: 16px;
  }

  .search-suggest {
    gap: 24px;
  }

  .article-layout {
    padding-top: 28px;
  }

  .article-aside,
  .term-aside,
  .topic-aside,
  .about-aside,
  .submit-aside {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .boundary-list {
    grid-template-columns: 1fr;
  }

  .error-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .error-code {
    font-size: 120px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    padding: 14px 16px;
  }

  .admin-brand {
    padding-bottom: 12px;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }

  .admin-nav__group {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .admin-nav__label {
    display: none;
  }

  .admin-nav > a,
  .admin-nav__group > a {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 11px;
  }

  .admin-nav em {
    display: none;
  }

  .admin-sidebar__foot {
    display: none;
  }

  .admin-topbar {
    position: relative;
  }

  .admin-content {
    padding: 20px 16px;
  }

  .admin-topbar,
  .admin-foot {
    padding-inline: 16px;
  }

  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .admin-list--grid {
    grid-template-columns: 1fr;
  }

  .admin-form__grid {
    grid-template-columns: 1fr;
  }

  .admin-help {
    grid-template-columns: 1fr;
  }

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

  .admin-page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-search {
    width: 100%;
  }

  .admin-search input {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    padding-inline: 18px;
  }

  .header-main {
    height: 66px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__text strong {
    font-size: 23px;
  }

  .brand__en {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 14px;
  }

  .hero-search {
    padding: 5px;
  }

  .hero-search .btn {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .hero__stats > div {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hero__stats > div:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__eye {
    width: 92%;
    top: 18px;
  }

  .hero__spotlight {
    right: 20px;
    bottom: 22px;
    width: 58%;
  }

  .hero__stamp {
    left: 22px;
    bottom: 26px;
    font-size: 12px;
  }

  .section {
    padding-bottom: 58px;
  }

  .section--paper {
    padding: 32px 20px 38px;
    border-radius: 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }

  .section-title {
    font-size: 27px;
  }

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

  .grid--dramas,
  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .feature__poster {
    max-width: 190px;
    transform: none;
  }

  .feature__title {
    font-size: 25px;
  }

  .rank-item {
    grid-template-columns: 30px 52px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rank-item__arrow {
    display: none;
  }

  .rank-item__poster img {
    width: 52px;
  }

  .warning-item {
    grid-template-columns: 5px minmax(0, 1fr);
  }

  .warning-item__label {
    grid-column: 2;
    font-size: 9.5px;
  }

  .genre-grid,
  .genre-grid--large {
    grid-template-columns: 1fr;
  }

  .genre-tile {
    min-height: 170px;
  }

  .genre-tile--large {
    min-height: 220px;
  }

  .platform-strip {
    padding: 22px 18px;
  }

  .platform-strip__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .platform-strip__list {
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    padding: 30px 22px;
    border-radius: 20px;
    margin-bottom: 58px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero__stats {
    width: 100%;
    padding: 16px;
  }

  .page-hero__stats > div {
    padding-right: 16px;
    margin-right: 16px;
  }

  .page-hero__stats strong {
    font-size: 22px;
  }

  .filter-label {
    flex-basis: 100%;
  }

  .filter-row {
    gap: 9px;
  }

  .view-toggle {
    margin-left: 0;
  }

  .result-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .calendar-day {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .calendar-day__date strong {
    font-size: 30px;
  }

  .calendar-item {
    gap: 10px;
    padding: 6px 8px;
    flex-wrap: wrap;
  }

  .calendar-item img {
    width: 40px;
  }

  .calendar-item .cat-score {
    margin-left: auto;
  }

  .detail-info h1 {
    font-size: 32px;
  }

  .detail-score {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  .detail-score__number strong {
    font-size: 42px;
  }

  .detail-actions .btn {
    flex: 1 1 auto;
  }

  .detail-grid {
    padding-top: 28px;
  }

  .content-block {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

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

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

  .actor-card__body {
    padding: 12px 12px 14px;
  }

  .actor-card__body h3 {
    font-size: 17px;
  }

  .actor-card__rep {
    display: none;
  }

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

  .moment-grid,
  .moment-grid--small {
    grid-template-columns: 1fr;
  }

  .moment-card {
    min-height: 210px;
  }

  .moment-hero {
    padding: 32px 24px;
  }

  .moment-drama {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .warning-card {
    grid-template-columns: 1fr;
  }

  .warning-card__rail {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    border-left-width: 4px;
  }

  .warning-card__body {
    padding: 18px;
  }

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

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats strong {
    font-size: 32px;
  }

  .form-grid,
  .radio-cards {
    grid-template-columns: 1fr;
  }

  .submit-form {
    padding: 22px;
  }

  .success-box {
    padding: 30px 22px;
  }

  .article-head h1 {
    font-size: 32px;
  }

  .prose,
  .prose--article {
    font-size: 15.5px;
    line-height: 1.95;
  }

  .prose h2 {
    font-size: 23px;
  }

  .footer-links {
    gap: 24px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .admin-form {
    padding: 18px;
  }

  .admin-topbar__kicker {
    display: none;
  }

  .admin-topbar__actions {
    gap: 10px;
  }

  .admin-topbar__actions span {
    display: none;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-page-head h1 {
    font-size: 26px;
  }

  .admin-login {
    grid-template-columns: 1fr;
  }

  .admin-login__brand {
    padding: 30px 26px;
    gap: 26px;
  }

  .admin-login__brand p {
    display: none;
  }

  .admin-login__form {
    padding: 30px 26px;
  }

  .admin-login__form h1 {
    font-size: 26px;
  }

  .admin-list__main strong {
    white-space: normal;
  }
}

/* 台词梗 / QUOTES */
.chip__count {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
}

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

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--quote-color, var(--accent));
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quote-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-sm);
}

.quote-card__cat {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.quote-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 12px;
}

.quote-card__why {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.quote-card__more {
  margin-top: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.quote-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-top: 46px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.quote-hero blockquote {
  margin: 14px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.quote-hero__meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.quote-hero__meta span {
  margin: 0 6px;
  color: var(--line-dark);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.quote-main {
  min-width: 0;
}

.quote-origin {
  margin: 0;
  padding: 26px 28px;
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.5;
}

.quote-source {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quote-source__drama,
.quote-source__actor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.66);
  color: var(--ink);
  text-decoration: none;
}

.quote-source__drama img {
  width: 62px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.quote-source__actor img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-source__drama span,
.quote-source__actor span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quote-source__drama small,
.quote-source__actor small {
  color: var(--muted);
  font-size: 11px;
}

.quote-side {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-side__drama {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.quote-side__drama img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.quote-side__drama span {
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 1080px) {
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .quote-hero,
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-side {
    position: static;
  }
  .quote-hero {
    gap: 16px;
    padding-top: 30px;
  }
  .quote-grid,
  .quote-grid--detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-card blockquote {
    font-size: 20px;
  }
}
