/* ==========================================================================
   悠悠漫画 · YOYO COMIC INDEX
   Static website template · tech / editorial / responsive
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-soft: #080c17;
  --bg-elevated: #0b1120;
  --panel: rgba(12, 19, 35, 0.72);
  --panel-solid: #0c1323;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e8eefc;
  --text-soft: #c4d0e6;
  --muted: #8fa2c2;
  --faint: #71829f;
  --cyan: #67e8f9;
  --violet: #a78bfa;
  --pink: #f472b6;
  --mint: #5eead4;
  --amber: #fbbf24;
  --sky: #38bdf8;
  --danger: #fb7185;
  --accent: var(--cyan);
  --accent-2: var(--violet);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1220px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -6%, rgba(34, 211, 238, 0.09), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(167, 139, 250, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.search-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(103, 232, 249, 0.28);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #05070f;
}

::-webkit-scrollbar-thumb {
  background: #1e2a44;
  border: 2px solid #05070f;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2b3b5e;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #041017;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Shared type / controls
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
  flex: 0 0 auto;
}

.eyebrow > span {
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 52%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--primary {
  background: linear-gradient(110deg, #67e8f9 0%, #a78bfa 58%, #f472b6 120%);
  color: #060912;
  box-shadow: 0 12px 38px -14px rgba(103, 232, 249, 0.55);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -14px rgba(167, 139, 250, 0.62);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  border-color: rgba(103, 232, 249, 0.48);
  background: rgba(103, 232, 249, 0.07);
  transform: translateY(-2px);
}

.button.is-copied {
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(94, 234, 212, 0.08);
  color: var(--mint);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.section {
  padding: clamp(68px, 8vw, 108px) 0;
  position: relative;
}

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

.section-head h2,
.category-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-aside {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-lead {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  line-height: 1.4;
}

.tag-list--large li {
  padding: 6px 12px;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: #05070f;
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 78px;
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 20%, rgba(103, 232, 249, 0.2), transparent 65%),
    rgba(255, 255, 255, 0.025);
  color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(103, 232, 249, 0.08), 0 0 28px rgba(103, 232, 249, 0.09);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

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

.main-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

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

.main-nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

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

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.search-trigger:hover {
  border-color: rgba(103, 232, 249, 0.4);
  color: var(--text);
  background: rgba(103, 232, 249, 0.05);
}

.search-trigger svg {
  width: 16px;
  height: 16px;
}

.search-trigger-label {
  font-size: 12px;
  font-weight: 600;
}

.search-trigger kbd {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: auto;
}

.nav-toggle-icon i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 680px;
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 78px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 82%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 82%);
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.8;
}

.hero-ambient i:nth-child(1) {
  top: -18%;
  left: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 68%);
}

.hero-ambient i:nth-child(2) {
  right: 4%;
  top: 2%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
}

.hero-ambient i:nth-child(3) {
  left: 44%;
  bottom: -34%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.1), transparent 68%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.8);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

.hero-eyebrow .slash {
  color: var(--faint);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero h1 .gradient-text {
  display: inline-block;
  padding-right: 0.04em;
}

.hero-desc {
  max-width: 590px;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 52px;
}

.hero-stats > div {
  min-width: 116px;
  padding: 0 27px;
  border-left: 1px solid var(--line);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stats dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 5px;
}

.hero-stats strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-stats span {
  color: var(--faint);
  font-size: 10px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.18), rgba(139, 92, 246, 0.1) 38%, transparent 70%);
  filter: blur(20px);
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(148, 163, 184, 0.19);
  border-radius: 50%;
}

.hero-orbit--one {
  width: 540px;
  height: 540px;
  animation: spin 42s linear infinite;
}

.hero-orbit--two {
  width: 400px;
  height: 400px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.1);
}

.hero-orbit--one::before,
.hero-orbit--one::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero-orbit--one::before {
  top: 13%;
  left: 18%;
}

.hero-orbit--one::after {
  right: 9%;
  bottom: 22%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.poster-frame {
  position: relative;
  width: min(355px, 66%);
  aspect-ratio: 3 / 4;
  padding: 9px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 18%, rgba(103, 232, 249, 0.2), transparent 58%),
    linear-gradient(155deg, #12203a, #070c17 72%);
  box-shadow:
    0 36px 90px -28px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 42px rgba(103, 232, 249, 0.06);
  transform: rotate(-4.5deg);
  z-index: 2;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, transparent 35%, rgba(4, 7, 15, 0.15) 55%, rgba(4, 7, 15, 0.95) 100%),
    linear-gradient(100deg, rgba(5, 7, 15, 0.3), transparent 45%);
  pointer-events: none;
}

.poster-scan {
  position: absolute;
  inset: 9px;
  z-index: 2;
  border-radius: 22px;
  pointer-events: none;
  opacity: 0.36;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, 0.055) 3px 4px);
  mix-blend-mode: overlay;
}

.poster-overlay {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poster-label {
  padding: 4px 8px;
  border: 1px solid rgba(103, 232, 249, 0.4);
  border-radius: 4px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.poster-title {
  margin-top: 13px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.poster-meta {
  margin-top: 13px;
  color: rgba(232, 238, 252, 0.66);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.poster-corner {
  position: absolute;
  z-index: 4;
  width: 18px;
  height: 18px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0.9;
}

.poster-corner--tl {
  top: 19px;
  left: 19px;
  border-width: 1px 0 0 1px;
}

.poster-corner--tr {
  top: 19px;
  right: 19px;
  border-width: 1px 1px 0 0;
}

.poster-corner--bl {
  bottom: 19px;
  left: 19px;
  border-width: 0 0 1px 1px;
}

.poster-corner--br {
  right: 19px;
  bottom: 19px;
  border-width: 0 1px 1px 0;
}

.floating-cover {
  position: absolute;
  z-index: 3;
  width: 138px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: var(--panel-solid);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.9);
}

.floating-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.floating-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(3, 6, 14, 0.9));
}

.floating-cover figcaption {
  position: absolute;
  z-index: 2;
  left: 11px;
  right: 11px;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.floating-cover figcaption span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 7px;
}

.floating-cover--one {
  top: 10%;
  right: 1%;
  transform: rotate(7deg);
  animation: float 7s ease-in-out infinite;
}

.floating-cover--two {
  top: 48%;
  bottom: auto;
  left: -4%;
  transform: rotate(-6deg);
  animation: float 8s ease-in-out -2.4s infinite reverse;
}

.hud {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 11px;
  border: 1px solid rgba(103, 232, 249, 0.23);
  border-radius: 8px;
  background: rgba(6, 10, 20, 0.8);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hud span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.18em;
}

.hud strong {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hud--one {
  top: 20%;
  left: 1%;
}

.hud--two {
  right: 0;
  bottom: 21%;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(7, 11, 21, 0.64);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 15px 0;
  animation: marquee 36s linear infinite;
}

.ticker-track span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.ticker-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Category map
   -------------------------------------------------------------------------- */

.category-map {
  padding-top: clamp(72px, 8vw, 102px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

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

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 25px 22px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 46%),
    linear-gradient(170deg, rgba(16, 25, 44, 0.82), rgba(8, 13, 24, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}

.category-tile:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  background:
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 50%),
    linear-gradient(170deg, rgba(18, 28, 50, 0.9), rgba(8, 13, 24, 0.92));
}

.category-tile:hover::after {
  transform: scale(1.35);
}

.tile-index {
  position: absolute;
  top: 15px;
  right: 18px;
  color: color-mix(in srgb, var(--accent) 46%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.category-tile h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-tile p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 19px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.tile-foot svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.category-tile:hover .tile-foot svg {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Method
   -------------------------------------------------------------------------- */

.method-section {
  padding-top: clamp(60px, 7vw, 86px);
  border-top: 1px solid var(--line);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(44px, 7vw, 105px);
  align-items: start;
}

.method-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.method-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.method-copy .text-link {
  margin-top: 27px;
}

.method-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.method-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-list > li > span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.method-list h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.method-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Collection / cards
   -------------------------------------------------------------------------- */

.collection-wrap {
  position: relative;
}

.category-block {
  padding-block: clamp(62px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.category-block:first-child {
  border-top: 0;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 38px;
}

.category-heading-copy {
  max-width: 760px;
}

.category-heading .text-link {
  margin-bottom: 8px;
}

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

.manga-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 88% -5%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 36%),
    linear-gradient(175deg, rgba(15, 23, 41, 0.9), rgba(8, 13, 24, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.manga-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.manga-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  box-shadow: var(--shadow-card), 0 0 46px -22px var(--accent);
}

.manga-card:hover::before {
  opacity: 0.8;
}

.card-cover-link {
  display: block;
  padding: 9px 9px 0;
}

.card-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 16%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%),
    linear-gradient(160deg, #14213a, #080d18 72%);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.75s var(--ease), filter 0.45s ease, opacity 0.25s ease;
}

img.is-fallback {
  opacity: 0 !important;
}

.card-cover:has(img.is-fallback)::before,
.detail-cover:has(img.is-fallback)::before {
  content: "YOYO\A COMIC";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  color: color-mix(in srgb, var(--accent) 42%, transparent);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  white-space: pre;
}

.manga-card:hover .card-cover img {
  transform: scale(1.055);
  filter: saturate(1.03) contrast(1.07);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 14, 0.12) 0%, transparent 30%, transparent 44%, rgba(3, 6, 14, 0.9) 100%),
    linear-gradient(100deg, rgba(3, 6, 14, 0.2), transparent 45%);
}

.cover-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  pointer-events: none;
}

.cover-badge,
.cover-score {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 9, 18, 0.66);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cover-badge {
  left: 12px;
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
}

.cover-score {
  right: 12px;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.cover-score i {
  color: var(--amber);
  font-style: normal;
  font-size: 9px;
}

.cover-quote {
  position: absolute;
  z-index: 2;
  left: 15px;
  right: 15px;
  bottom: 14px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 17px;
}

.card-kicker {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.card-kicker span {
  color: var(--accent);
  opacity: 0.65;
}

.manga-card h3 {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.manga-card h3 a {
  transition: color 0.2s ease;
}

.manga-card:hover h3 a {
  color: var(--accent);
}

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

.card-body .tag-list {
  margin-top: 14px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.card-mood {
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.card-foot > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.card-foot > a svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.card-foot > a:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 24%, rgba(103, 232, 249, 0.055), transparent 32rem),
    linear-gradient(180deg, rgba(8, 13, 26, 0.35), transparent);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(44px, 8vw, 112px);
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 118px;
}

.faq-copy h2 {
  margin-top: 17px;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.faq-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.faq-copy .button {
  margin-top: 27px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.faq-item[open] {
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.035), transparent);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 17px 8px;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-number {
  flex: 0 0 38px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.faq-question {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.faq-toggle {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, transform 0.3s var(--ease);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle {
  border-color: rgba(103, 232, 249, 0.4);
  transform: rotate(180deg);
}

.faq-item[open] .faq-toggle::before {
  background: var(--cyan);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 52px 24px 62px;
}

.faq-answer p {
  max-width: 700px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

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

.cta-section {
  padding: 20px 0 clamp(72px, 8vw, 100px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px) clamp(26px, 6vw, 76px);
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 8%, rgba(167, 139, 250, 0.2), transparent 42%),
    radial-gradient(circle at 10% 100%, rgba(103, 232, 249, 0.12), transparent 44%),
    linear-gradient(135deg, rgba(14, 23, 42, 0.94), rgba(6, 10, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 38px 100px -50px rgba(103, 232, 249, 0.28);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.cta-panel > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.7), #04060d 78%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 0.9fr;
  gap: 48px;
  padding: 62px 0 48px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.brand--footer .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-brand > p {
  max-width: 330px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.footer-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.footer-signal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.footer-col h2 {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-right: 64px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
}

.footer-bottom p:first-child {
  color: var(--muted);
}

.footer-bottom p {
  margin-right: auto;
}

.footer-bottom p + p {
  margin-right: 0;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.back-top svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Search dialog
   -------------------------------------------------------------------------- */

.search-dialog {
  width: min(calc(100% - 32px), 690px);
  max-width: none;
  max-height: min(84vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.search-dialog::backdrop {
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.search-dialog[open] {
  animation: dialogIn 0.3s var(--ease);
}

.search-shell {
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(167, 139, 250, 0.16), transparent 42%),
    linear-gradient(160deg, #0c1426, #060a14);
  box-shadow: 0 42px 120px -28px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.search-head h2 {
  margin-top: 9px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
  color: var(--text);
  border-color: rgba(103, 232, 249, 0.4);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field:focus-within {
  border-color: rgba(103, 232, 249, 0.55);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.07);
}

.search-field > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-field input::placeholder {
  color: var(--faint);
}

.search-field kbd {
  flex: 0 0 auto;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.search-tip {
  margin-top: 11px;
  color: var(--faint);
  font-size: 10px;
}

.search-results {
  display: grid;
  gap: 7px;
  max-height: min(46vh, 420px);
  margin-top: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.search-result {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.search-result img {
  width: 44px;
  height: 59px;
  object-fit: cover;
  border-radius: 6px;
  background: #111a2c;
}

.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #263650;
  border: 2px solid #0a1120;
  border-radius: 999px;
}

.search-result-copy {
  min-width: 0;
}

.search-result-cat {
  display: block;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.search-result strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy > span:last-child {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--faint);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result > svg {
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.search-empty {
  padding: 34px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}

.search-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.search-count {
  padding: 2px 0 7px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(8, 13, 25, 0.84);
  color: var(--text-soft);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(103, 232, 249, 0.5);
  color: var(--cyan);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.inner-page {
  padding-bottom: clamp(60px, 8vw, 90px);
}

.breadcrumb {
  padding: 24px 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 10px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(100, 116, 139, 0.5);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.breadcrumb a svg {
  width: 12px;
  height: 12px;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-soft);
}

/* Category page hero */

.category-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 35rem),
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 30rem);
  pointer-events: none;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  min-height: 540px;
  padding-block: 46px 58px;
}

.category-hero-copy {
  position: relative;
  z-index: 1;
}

.category-hero h1 {
  margin-top: 19px;
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
}

.category-hero-quote {
  margin-top: 17px;
  color: var(--accent);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.category-hero-desc {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.category-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.category-hero-meta span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.category-hero-meta strong {
  margin-right: 4px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
}

.category-tagline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.category-tagline-list span {
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  color: var(--text-soft);
  font-size: 10px;
}

.category-art {
  position: relative;
  min-height: 450px;
}

.category-art-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  border: 1px dashed color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin-center 50s linear infinite;
}

.category-art-ring::after {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 12%, transparent);
  border-radius: 50%;
}

.category-art-label {
  position: absolute;
  top: 3%;
  right: 5%;
  color: color-mix(in srgb, var(--accent) 55%, transparent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.stack-card {
  position: absolute;
  width: min(205px, 46%);
  aspect-ratio: 3 / 4;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%),
    #080d19;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.88);
}

.stack-card img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.stack-card--1 {
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(230px, 50%);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.stack-card--2 {
  z-index: 1;
  top: 10%;
  left: 6%;
  transform: rotate(-13deg) scale(0.88);
  opacity: 0.72;
}

.stack-card--3 {
  z-index: 2;
  right: 3%;
  bottom: 8%;
  transform: rotate(10deg);
  opacity: 0.88;
}

.category-list-section {
  padding-top: clamp(62px, 7vw, 88px);
}

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

.category-guide-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 34rem);
}

.category-guide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
}

.category-guide-grid h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.guide-steps {
  display: grid;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 19px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.guide-steps li:first-child {
  border-top: 1px solid var(--line);
}

.guide-steps > li > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.guide-steps h3 {
  font-size: 17px;
  font-weight: 800;
}

.guide-steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.faq-section--category {
  border-top: 0;
  background: transparent;
}

.other-categories {
  border-top: 1px solid var(--line);
}

.category-tiles--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   Detail page
   -------------------------------------------------------------------------- */

.detail-page {
  padding-bottom: 100px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  padding: 34px 0 64px;
}

.detail-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%),
    linear-gradient(155deg, #121f36, #070c17 72%);
  box-shadow: 0 36px 90px -30px rgba(0, 0, 0, 0.95), 0 0 50px -30px var(--accent);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.detail-cover::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 62%, rgba(4, 7, 15, 0.78));
  pointer-events: none;
}

.detail-cover .cover-grid {
  border-radius: 16px;
}

.detail-cover-badge,
.detail-cover-score {
  position: absolute;
  z-index: 3;
  top: 21px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 9, 18, 0.72);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
}

.detail-cover-badge {
  left: 21px;
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
}

.detail-cover-score {
  right: 21px;
  gap: 4px;
  color: #fff;
  font-family: var(--font-mono);
}

.detail-cover-score i {
  color: var(--amber);
  font-style: normal;
  font-size: 9px;
}

.detail-intro h1 {
  margin-top: 17px;
  font-size: clamp(3rem, 5.6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.detail-quote {
  margin-top: 15px;
  color: var(--accent);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.6;
}

.detail-summary {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.detail-intro .tag-list {
  margin-top: 20px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  max-width: 610px;
  margin-top: 29px;
  border-top: 1px solid var(--line);
}

.detail-facts > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-facts dd {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
}

.detail-facts dd strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}

.detail-facts dd a {
  color: var(--accent);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.detail-content {
  min-width: 0;
}

.prose-section {
  padding-bottom: 56px;
}

.prose-section + .prose-section {
  padding-top: 2px;
}

.prose-section h2 {
  margin-top: 12px;
  margin-bottom: 21px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.prose-section > p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 2.05;
}

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

.prose-section p a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

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

.highlight-card {
  padding: 22px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%),
    rgba(255, 255, 255, 0.018);
}

.highlight-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.highlight-card h3 {
  margin-top: 17px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.highlight-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.editor-quote {
  position: relative;
  margin: 6px 0 56px;
  padding: 34px 34px 30px 53px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 20px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 8%, transparent), rgba(255, 255, 255, 0.015));
}

.quote-mark {
  position: absolute;
  top: 15px;
  left: 18px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1;
  opacity: 0.28;
}

.editor-quote p {
  color: var(--text);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.65;
}

.editor-quote cite {
  display: block;
  margin-top: 14px;
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.detail-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
}

.aside-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(11, 17, 32, 0.62);
}

.aside-card--accent {
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
    rgba(11, 17, 32, 0.72);
}

.aside-card h2 {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.aside-card > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.aside-card .text-link {
  margin-top: 15px;
  font-size: 11px;
}

.aside-card .button {
  margin-top: 18px;
  width: 100%;
}

.aside-nav {
  display: grid;
  gap: 0;
  margin-top: 13px;
}

.aside-nav li {
  border-top: 1px solid var(--line);
}

.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.aside-nav a::after {
  content: "↗";
  color: var(--faint);
  font-size: 10px;
}

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

.aside-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.aside-tags span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 9px;
}

.detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-pager a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.detail-pager a:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background: rgba(255, 255, 255, 0.025);
}

.detail-pager span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.detail-pager strong {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.detail-pager-next {
  text-align: right;
}

.related-section {
  padding-top: 64px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

.related-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.related-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: rgba(255, 255, 255, 0.03);
}

.related-item img {
  width: 78px;
  height: 104px;
  border-radius: 8px;
  object-fit: cover;
}

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

.related-cat {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.related-copy strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-copy > span:last-child {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-arrow {
  color: var(--faint);
}

.related-arrow svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  max-width: 910px;
  padding: clamp(56px, 8vw, 94px) 0 clamp(50px, 6vw, 76px);
}

.about-hero h1 {
  margin-top: 19px;
  font-size: clamp(3rem, 6.3vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.068em;
  line-height: 1.02;
}

.about-hero > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 46px;
}

.about-content {
  min-width: 0;
}

.about-block {
  padding-bottom: 42px;
}

.about-block + .about-block {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.about-block h2 {
  margin-top: 12px;
  margin-bottom: 17px;
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.about-block p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 2.05;
}

.about-block p + p {
  margin-top: 14px;
}

.about-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
}

.fact-list {
  display: grid;
  margin-top: 13px;
}

.fact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  color: var(--faint);
  font-size: 10px;
}

.fact-list dd {
  color: var(--text-soft);
  font-size: 11px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  display: grid;
  min-height: calc(100vh - 78px - 340px);
  place-items: center;
  padding: 60px 0 100px;
}

.error-inner {
  max-width: 760px;
  text-align: center;
}

.error-code {
  color: transparent;
  font-family: var(--font-mono);
  font-size: clamp(8rem, 23vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.85;
  -webkit-text-stroke: 1px rgba(103, 232, 249, 0.23);
  text-stroke: 1px rgba(103, 232, 249, 0.23);
  user-select: none;
}

.error-inner .eyebrow {
  justify-content: center;
  margin-top: 27px;
}

.error-inner h1 {
  margin-top: 15px;
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.error-inner > p:not(.eyebrow) {
  max-width: 500px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-center {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -13px;
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .main-nav a {
    padding-inline: 10px;
  }

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

  .category-tile {
    min-height: 250px;
  }

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

  .hero-visual {
    min-height: 550px;
  }

  .floating-cover {
    width: 124px;
  }

  .hero-orbit--one {
    width: 480px;
    height: 480px;
  }

  .hero-orbit--two {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 18px;
  }

  .search-trigger kbd {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 8vw, 6rem);
  }

  .hero-visual {
    width: min(560px, 100%);
    min-height: 560px;
    margin: -10px auto 0;
  }

  .hero {
    padding-bottom: 56px;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .method-copy > p:not(.eyebrow) {
    max-width: 600px;
  }

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

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

  .faq-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
  }

  .category-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 38px;
  }

  .category-art {
    min-height: 420px;
    max-width: 470px;
    margin: 0 auto;
    width: 100%;
  }

  .category-guide-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-hero {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 40px;
  }

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

  .detail-aside {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .about-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px 24px 36px;
    border-top: 1px solid var(--line);
    background: #05070f;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav::after {
    content: "YOYO COMIC · FIVE UNIVERSES";
    display: block;
    margin-top: auto;
    padding-top: 34px;
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text-soft);
    font-size: 20px;
    font-weight: 700;
  }

  .main-nav a:hover {
    background: transparent;
    color: var(--cyan);
  }

  .main-nav a::after {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 5px;
    height: 5px;
    transform: none;
    opacity: 0;
  }

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

  .main-nav a.is-active::after {
    transform: none;
    opacity: 1;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-stats {
    margin-top: 38px;
  }

  .section-head {
    display: block;
  }

  .section-aside {
    margin-top: 14px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-copy {
    position: static;
  }

  .faq-copy > p:not(.eyebrow) {
    max-width: 600px;
  }

  .category-heading {
    display: block;
  }

  .category-heading .text-link {
    margin-top: 18px;
    margin-bottom: 0;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 26px;
  }

  .detail-cover {
    width: min(360px, 80vw);
    margin-inline: auto;
  }

  .detail-intro h1 {
    font-size: clamp(2.7rem, 8vw, 4.6rem);
  }

  .detail-aside {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 500px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 20px 0;
  }

  .footer-bottom p {
    margin-right: 0;
  }

  .back-top {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .main-nav {
    top: 68px;
    padding: 18px 16px 30px;
  }

  .header-inner {
    height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .search-trigger {
    width: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }

  .search-trigger-label {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero::before {
    opacity: 0.3;
    background-size: 54px 54px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11.2vw, 4.7rem);
    letter-spacing: -0.07em;
  }

  .hero-desc {
    margin-top: 22px;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
  }

  .hero-stats > div {
    min-width: 0;
    padding: 0 17px;
  }

  .hero-stats > div:first-child {
    padding-left: 0;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .poster-frame {
    width: min(300px, 70%);
  }

  .floating-cover {
    width: 105px;
  }

  .floating-cover--one {
    top: 7%;
    right: 0;
  }

  .floating-cover--two {
    top: 52%;
    bottom: auto;
    left: 0;
  }

  .hero-orbit--one {
    width: 410px;
    height: 410px;
  }

  .hero-orbit--two {
    width: 310px;
    height: 310px;
  }

  .hud--one {
    top: 17%;
    left: 0;
  }

  .hud--two {
    right: 0;
    bottom: 18%;
  }

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

  .category-tile {
    min-height: 240px;
    padding: 21px 18px 18px;
  }

  .tile-icon {
    margin-bottom: 21px;
  }

  .manga-grid,
  .manga-grid--category {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .manga-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 236px;
  }

  .card-cover-link {
    padding: 8px 0 8px 8px;
  }

  .card-cover {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 11px;
  }

  .card-cover::after {
    background: linear-gradient(180deg, rgba(3, 6, 14, 0.08), transparent 35%, rgba(3, 6, 14, 0.86));
  }

  .cover-grid {
    background-size: 34px 34px;
  }

  .cover-badge,
  .cover-score {
    top: 8px;
    height: 23px;
    padding-inline: 7px;
    font-size: 9px;
  }

  .cover-badge {
    left: 8px;
  }

  .cover-score {
    right: 8px;
  }

  .cover-quote {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    -webkit-line-clamp: 3;
  }

  .card-body {
    padding: 16px 16px 15px;
  }

  .manga-card h3 {
    font-size: 18px;
  }

  .card-desc {
    -webkit-line-clamp: 3;
  }

  .card-body .tag-list {
    margin-top: 10px;
  }

  .tag-list li {
    padding: 3px 7px;
    font-size: 9px;
  }

  .card-foot {
    padding-top: 11px;
  }

  .card-mood {
    display: none;
  }

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

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-facts > div {
    padding: 12px 0;
  }

  .detail-layout {
    padding-top: 40px;
  }

  .prose-section {
    padding-bottom: 43px;
  }

  .editor-quote {
    padding: 30px 23px 25px 44px;
  }

  .detail-pager {
    grid-template-columns: 1fr;
  }

  .detail-pager-next {
    text-align: left;
  }

  .related-section {
    padding-top: 46px;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    padding-top: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding-right: 0;
  }

  .footer-bottom .back-top {
    display: none;
  }

  .footer-bottom p {
    grid-column: 1;
  }

  .footer-bottom .back-top {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .search-dialog {
    width: calc(100% - 20px);
  }

  .search-shell {
    padding: 20px;
    border-radius: 20px;
  }

  .search-head h2 {
    font-size: 21px;
  }

  .search-results {
    max-height: 50vh;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .hero-stats dt {
    font-size: 8px;
  }

  .hero-stats span {
    display: none;
  }

  .hero-visual {
    min-height: 420px;
  }

  .poster-frame {
    width: min(260px, 68%);
  }

  .poster-overlay {
    left: 22px;
    right: 22px;
    bottom: 21px;
  }

  .poster-title {
    font-size: 1.7rem;
  }

  .poster-meta {
    font-size: 8px;
  }

  .floating-cover {
    width: 84px;
    border-radius: 10px;
  }

  .floating-cover figcaption {
    left: 7px;
    right: 7px;
    bottom: 6px;
    font-size: 7px;
  }

  .floating-cover figcaption span {
    display: none;
  }

  .hero-orbit--one {
    width: 330px;
    height: 330px;
  }

  .hero-orbit--two {
    width: 250px;
    height: 250px;
  }

  .hud {
    padding: 6px 8px;
  }

  .hud span {
    font-size: 5px;
  }

  .hud strong {
    font-size: 9px;
  }

  .category-tiles,
  .category-tiles--four {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 220px;
  }

  .manga-card {
    grid-template-columns: 1fr;
  }

  .card-cover-link {
    padding: 8px 8px 0;
  }

  .card-cover {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .card-body {
    padding: 16px 18px 17px;
  }

  .card-mood {
    display: inline;
  }

  .section-head h2,
  .category-heading h2 {
    font-size: 2rem;
  }

  .method-list li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .faq-item summary {
    gap: 10px;
    min-height: 68px;
  }

  .faq-number {
    flex-basis: 30px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 15px 20px 40px;
  }

  .cta-panel {
    padding: 36px 22px;
    border-radius: 22px;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom .back-top {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .category-hero-grid {
    min-height: 0;
    padding-bottom: 42px;
  }

  .category-hero h1 {
    font-size: 2.8rem;
  }

  .category-art {
    min-height: 330px;
  }

  .category-art-ring {
    width: 290px;
    height: 290px;
  }

  .stack-card {
    width: 43%;
    border-radius: 13px;
  }

  .stack-card--1 {
    width: 47%;
  }

  .detail-cover {
    width: 100%;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-actions .button {
    width: 100%;
  }

  .related-item {
    grid-template-columns: 68px 1fr;
  }

  .related-item img {
    width: 68px;
    height: 91px;
  }

  .related-arrow {
    display: none;
  }

  .about-hero h1 {
    font-size: 2.8rem;
  }

  .search-result {
    grid-template-columns: 38px 1fr;
  }

  .search-result img {
    width: 38px;
    height: 51px;
  }

  .search-result > svg {
    display: none;
  }
}
