/* ============================================================
   MAL · Muscial Anime List — original space/archive theme
   ============================================================ */
:root {
  --bg: #04050c;
  --bg-soft: #080a16;
  --panel: rgba(13, 17, 34, 0.72);
  --panel-solid: #0b0e1f;
  --line: rgba(148, 163, 255, 0.14);
  --line-strong: rgba(148, 163, 255, 0.32);
  --text: #dfe5ff;
  --text-dim: #8d96c0;
  --text-faint: #565e88;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --accent-3: #f472b6;
  --glow: rgba(110, 231, 255, 0.35);
  --danger: #f87171;
  --ok: #4ade80;
  --radius: 14px;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --nav-h: 64px;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: rgba(110, 231, 255, 0.25); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #bdf4ff; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2340; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2a3360; }

/* ---------- cosmic background ---------- */
.cosmos-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.cosmos-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cosmos-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, transparent 40%, rgba(2, 3, 10, 0.75) 100%);
}
.cosmos-grain {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.site-shell { position: relative; z-index: 1; }

/* ---------- boot screen ---------- */
.boot-screen {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.boot-screen.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-corner {
  position: absolute; top: 26px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; color: var(--text-faint);
}
.boot-corner-a { left: 28px; }
.boot-corner-b { right: 28px; }
.boot-center { text-align: center; }
.boot-center .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.35em;
  color: var(--accent); margin-bottom: 18px; opacity: 0; animation: fadein 0.8s 0.3s forwards;
}
.boot-center h1 {
  font-size: clamp(20px, 4vw, 34px); font-weight: 500; letter-spacing: 0.06em;
  margin-bottom: 26px; opacity: 0; animation: fadein 0.8s 0.5s forwards;
}
.boot-progress {
  width: 260px; height: 2px; background: rgba(148, 163, 255, 0.15);
  margin: 0 auto 16px; overflow: hidden;
}
.boot-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--glow);
  animation: bootbar 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.boot-log { display: flex; gap: 26px; justify-content: center; }
.boot-log span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint);
  opacity: 0; animation: fadein 0.6s 0.9s forwards;
}
.boot-log span:nth-child(2) { animation-delay: 1.3s; }
.boot-constellation { display: flex; gap: 14px; justify-content: center; margin-bottom: 30px; height: 16px; }
.boot-constellation i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  opacity: 0.25; animation: pulse 1.6s ease-in-out infinite;
}
.boot-constellation i:nth-child(2n) { background: var(--accent-2); animation-delay: 0.2s; }
.boot-constellation i:nth-child(3n) { animation-delay: 0.4s; }
.boot-skip {
  position: absolute; bottom: 30px; right: 30px;
  background: none; border: 1px solid var(--line); color: var(--text-faint);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  padding: 8px 18px; border-radius: 999px; transition: all 0.25s;
}
.boot-skip:hover { color: var(--text); border-color: var(--line-strong); }
@keyframes bootbar { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 1; transform: scale(1.7); } }
@keyframes fadein { to { opacity: 1; } }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 46px);
  background: rgba(4, 5, 12, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  box-shadow: 0 0 14px rgba(110, 231, 255, 0.25), inset 0 0 10px rgba(110, 231, 255, 0.12);
}
.brand strong { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; display: block; line-height: 1.15; }
.brand small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--text-faint); display: block; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--text-dim); padding: 8px 13px; border-radius: 8px; transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: rgba(110, 231, 255, 0.08); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.live-status {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--text-faint);
  display: flex; align-items: center; gap: 7px;
}
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.admin-entry {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--text-dim); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.25s;
}
.admin-entry:hover { color: var(--accent); border-color: var(--line-strong); box-shadow: 0 0 16px rgba(110, 231, 255, 0.15); }

/* ---------- sections & headings ---------- */
.section-frame { max-width: var(--maxw); margin: 0 auto; padding: 84px clamp(18px, 4vw, 40px) 0; scroll-margin-top: 70px; }
.section-heading { margin-bottom: 40px; }
.section-heading .section-index {
  font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.3em;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 18px;
}
.section-heading .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint); margin: 6px 0 12px;
}
.section-heading h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 600; letter-spacing: 0.04em; }
.section-heading p.desc { color: var(--text-dim); margin-top: 12px; max-width: 640px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 30px) clamp(18px, 4vw, 40px) 60px;
  gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
}
.hero-kana {
  position: absolute; top: calc(var(--nav-h) + 20px); right: clamp(18px, 5vw, 60px);
  text-align: right; pointer-events: none;
}
.hero-kana span { font-family: var(--serif); font-size: 15px; color: var(--text-faint); letter-spacing: 0.4em; display: block; }
.hero-kana b { font-family: var(--mono); font-size: 9px; letter-spacing: 0.35em; color: var(--text-faint); font-weight: 400; }
.hero-route {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; color: var(--accent);
  border: 1px solid var(--line); display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint); margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(38px, 7vw, 76px); line-height: 1.08; font-weight: 700; letter-spacing: 0.02em;
}
.hero h1 span { color: var(--text-dim); font-weight: 500; }
.hero h1 b {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h2 { font-size: clamp(16px, 2.4vw, 22px); font-weight: 500; color: var(--text); margin: 14px 0 10px; letter-spacing: 0.06em; }
.hero-description { color: var(--text-dim); max-width: 460px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--line-strong);
  transition: all 0.25s;
}
.button-primary {
  background: linear-gradient(120deg, rgba(110, 231, 255, 0.16), rgba(167, 139, 250, 0.16));
  color: var(--accent); border-color: rgba(110, 231, 255, 0.4);
}
.button-primary:hover { box-shadow: 0 0 28px var(--glow); transform: translateY(-2px); color: #bdf4ff; }
.button-ghost { color: var(--text-dim); background: none; }
.button-ghost:hover { color: var(--text); border-color: var(--text-dim); }
.hero-footnotes {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-faint);
}
/* astral avatar */
.astral-frame { position: relative; width: min(340px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
.astral-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.ring-a { inset: 0; }
.ring-b { inset: 9%; border-style: dashed; opacity: 0.7; animation: spin 60s linear infinite; }
.ring-c { inset: 18%; border-color: var(--line-strong); opacity: 0.5; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.astral-axis { position: absolute; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); height: 1px; }
.axis-a { width: 118%; left: -9%; top: 50%; }
.axis-b { width: 118%; left: -9%; top: 50%; transform: rotate(90deg); }
.astral-avatar { position: relative; text-align: center; }
.avatar-orbit { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(110, 231, 255, 0.35); animation: spin 14s linear infinite; }
.orbit-inner { inset: -4px; animation-duration: 9s; animation-direction: reverse; border-color: rgba(167, 139, 250, 0.3); }
.avatar-crop {
  width: 128px; height: 128px; margin: 0 auto 12px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line-strong);
  position: relative;
  box-shadow: 0 0 40px rgba(110, 231, 255, 0.15);
}
.avatar-crop img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.avatar-crop .avatar-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 44px; color: var(--accent);
  background: radial-gradient(circle at 30% 25%, #101b45, #070a18 70%);
}
.avatar-scan { position: absolute; left: 0; right: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(110, 231, 255, 0.18), transparent); animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -40%; } 100% { top: 110%; } }
.astral-avatar span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint); display: block; }
.astral-avatar b { font-family: var(--mono); font-size: 18px; letter-spacing: 0.3em; color: var(--text); font-weight: 600; }
.astral-coordinate { position: absolute; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-faint); }
.coordinate-a { top: 4%; left: -8%; }
.coordinate-b { bottom: 6%; right: -6%; }
.astral-star { position: absolute; inset: 0; pointer-events: none; }
.astral-star i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); animation: pulse 3s infinite; }
.astral-star i:nth-child(2) { right: 12%; top: 22%; background: var(--accent-2); animation-delay: 1s; }
.pointer-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.4em; color: var(--text-faint);
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -7px); } }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.stat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.stat-index { font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; color: var(--text-faint); display: block; margin-bottom: 10px; }
.stat-icon { position: absolute; top: 20px; right: 20px; color: var(--text-faint); opacity: 0.7; }
.stat-value { font-family: var(--mono); font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: 0.02em; }
.stat-value small { font-size: 13px; font-weight: 400; color: var(--text-dim); margin-left: 6px; letter-spacing: 0.1em; }
.stat-card p { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.overview-note {
  margin-top: 22px; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--text-faint);
}
.overview-note i { flex: 1; height: 1px; background: var(--line); }
.overview-note svg { color: var(--accent); }

/* ---------- top10 priority ---------- */
.priority-orbit {
  position: relative; max-width: 1050px; margin: 0 auto;
  min-height: 620px;
}
.orbit-slot {
  position: absolute; transform: translate(-50%, -50%);
  width: 92px; text-align: center; background: none; border: none; color: var(--text);
  opacity: 0.55; transition: all 0.3s; padding: 0;
}
.orbit-slot:hover, .orbit-slot.is-selected { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
.orbit-slot.is-selected { filter: drop-shadow(0 0 12px var(--glow)); }
.orbit-cover {
  width: 92px; height: 92px; border-radius: 12px; overflow: hidden; display: block;
  border: 1px solid var(--line); position: relative;
}
.orbit-slot.is-selected .orbit-cover { border-color: var(--accent); }
.orbit-cover img { width: 100%; height: 100%; object-fit: cover; }
.orbit-cover .cover-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #101b45, #0a0d22); color: var(--text-faint);
  font-family: var(--mono); font-size: 18px;
}
.orbit-rank { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); margin-top: 7px; }
.orbit-name {
  display: block; font-size: 10.5px; color: var(--text-dim); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.priority-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(380px, 88%); background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 20px; 
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.priority-core .transition-fade { animation: cardfade 0.35s ease; }
@keyframes cardfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.priority-visual { position: relative; height: 210px; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.priority-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.priority-visual .cover-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #101b45, #0a0d22); color: var(--text-faint); font-family: var(--mono); font-size: 30px;
}
.priority-rank {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: #031018;
  background: var(--accent); border-radius: 8px; padding: 3px 10px; font-weight: 700;
}
.priority-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--accent); }
.priority-copy h3 { font-size: 21px; font-weight: 600; margin: 6px 0 2px; }
.priority-original { font-family: var(--serif); font-size: 12.5px; color: var(--text-faint); margin-bottom: 10px; }
.priority-desc { color: var(--text-dim); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.priority-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
}
.priority-meta .score { color: var(--accent); font-size: 16px; font-weight: 700; }
.priority-link { margin-top: 12px; display: inline-flex; font-size: 11px; letter-spacing: 0.2em; font-family: var(--mono); gap: 6px; align-items: center; }

/* ---------- records ---------- */
.records-tabs { display: flex; gap: 10px; margin: 26px 0 22px; flex-wrap: wrap; }
.records-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  padding: 10px 20px; border-radius: 999px; transition: all 0.25s;
}
.records-tab:hover { color: var(--text); }
.records-tab.active {
  color: var(--bg); background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent; font-weight: 700;
  box-shadow: 0 0 20px rgba(110, 231, 255, 0.25);
}
.records-panel { display: block; padding-top: 10px; }
.sub-heading { margin: 46px 0 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sub-heading .sub-index { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 11px; display: inline-block; margin-bottom: 12px; }
.sub-heading h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 600; letter-spacing: 0.03em; }
.sub-heading p { color: var(--text-dim); font-size: 13px; margin-top: 6px; }
.records-panel + .records-panel { margin-top: 34px; border-top: 1px dashed var(--line); padding-top: 40px; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 18px; margin-bottom: 18px; max-width: 420px;
}
.search-box input {
  flex: 1; background: none; border: none; outline: none; color: var(--text);
  font-size: 13px; padding: 12px 0; font-family: inherit;
}
.search-box input::placeholder { color: var(--text-faint); }
.year-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.year-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  padding: 6px 13px; border-radius: 8px; transition: all 0.2s;
}
.year-chip:hover { color: var(--text); border-color: var(--line-strong); }
.year-chip.active { background: var(--accent); color: var(--bg); border-color: transparent; font-weight: 700; }
.timeline-year { margin-bottom: 34px; }
.timeline-year-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.timeline-year-head h3 {
  font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: 0.06em; color: var(--text);
}
.timeline-year-head small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; color: var(--text-faint); }
.record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.record-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; transition: all 0.25s;
}
.record-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.record-cover {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex-shrink: 0; position: relative;
}
.record-cover img { width: 100%; height: 100%; object-fit: cover; }
.record-cover .cover-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #101b45, #0a0d22); color: var(--text-faint); font-family: var(--mono); font-size: 13px;
}
.record-info { min-width: 0; }
.record-serial { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--accent); }
.record-meta { font-family: var(--mono); font-size: 10px; color: var(--text-faint); margin: 2px 0 3px; letter-spacing: 0.1em; }
.record-meta .score { color: var(--accent); font-weight: 700; }
.record-title {
  font-size: 13.5px; color: var(--text); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.record-title:hover { color: var(--accent); }
.no-results { text-align: center; padding: 70px 20px; color: var(--text-faint); }
.no-results h4 { font-family: var(--mono); letter-spacing: 0.3em; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.no-results button {
  margin-top: 16px; background: none; border: 1px solid var(--line-strong); color: var(--text-dim);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; padding: 8px 18px; border-radius: 999px;
}
.no-results button:hover { color: var(--accent); }

/* watchlist */
.season-group { margin-bottom: 30px; }
.season-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.season-head h3 { font-family: var(--mono); font-size: 16px; letter-spacing: 0.14em; }
.season-head small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--text-faint); }
.watch-card { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.watch-card .record-cover { width: 74px; height: 88px; border-radius: 10px; }
.watch-info { flex: 1; min-width: 0; }
.watch-title { font-size: 13.5px; font-weight: 600; }
.watch-original { font-family: var(--serif); font-size: 11px; color: var(--text-faint); }
.watch-expect { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.watch-expect .exp-value { font-family: var(--mono); font-weight: 700; color: var(--accent-2); font-size: 15px; }
.watch-expect .exp-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(148, 163, 255, 0.12); overflow: hidden; max-width: 120px; }
.watch-expect .exp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px; }
.watch-expect small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-faint); }
.watch-note { font-size: 11.5px; color: var(--text-dim); margin-top: 7px; }
.watch-note b { color: var(--text-faint); font-weight: 400; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; }
.watch-extra { font-family: var(--mono); font-size: 9.5px; color: var(--text-faint); margin-top: 5px; letter-spacing: 0.08em; }
.watch-extra .bgm-score { color: var(--ok); }
.watch-extra .bgm-rank { color: var(--text-faint); }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.blog-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: all 0.25s; text-align: left; color: var(--text);
  position: relative; overflow: hidden;
}
.blog-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
.blog-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); opacity: 0; transition: opacity 0.3s; }
.blog-card:hover::before { opacity: 1; }
.blog-card .blog-cat { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--accent-2); }
.blog-card .blog-date { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-faint); margin: 6px 0 10px; display: block; }
.blog-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.blog-card p { color: var(--text-dim); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .blog-more { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--accent); }
.blog-draft-tag {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em;
  color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.4); border-radius: 999px;
  padding: 2px 9px; margin-left: 8px; vertical-align: 1px;
}

/* ---------- note detail ---------- */
.note-view { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) clamp(18px, 4vw, 40px) 80px; min-height: 100vh; }
.note-back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--text-dim); display: inline-flex; gap: 8px; align-items: center; margin-bottom: 34px; }
.note-back:hover { color: var(--accent); }
.note-view .note-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 34px; }
.note-view .note-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--accent-2); }
.note-view h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 700; margin: 10px 0 12px; line-height: 1.25; }
.note-view .note-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--text-faint); }
.note-body { color: #c6cdec; font-size: 15.5px; }
.note-body h1, .note-body h2, .note-body h3, .note-body h4 { color: var(--text); margin: 1.6em 0 0.6em; line-height: 1.4; }
.note-body h2 { font-size: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.note-body h3 { font-size: 19px; }
.note-body p { margin: 0.9em 0; }
.note-body a { border-bottom: 1px dashed rgba(110, 231, 255, 0.4); }
.note-body strong { color: var(--text); }
.note-body ul, .note-body ol { margin: 0.9em 0; padding-left: 1.6em; }
.note-body li { margin: 0.35em 0; }
.note-body blockquote {
  border-left: 3px solid var(--accent-2); background: rgba(167, 139, 250, 0.07);
  padding: 12px 18px; margin: 1.1em 0; border-radius: 0 10px 10px 0; color: var(--text-dim);
}
.note-body code {
  font-family: var(--mono); font-size: 0.88em;
  background: rgba(110, 231, 255, 0.1); color: var(--accent);
  padding: 2px 6px; border-radius: 6px;
}
.note-body pre {
  background: #0a0d1e; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; overflow-x: auto; margin: 1.2em 0;
}
.note-body pre code { background: none; padding: 0; color: #c9d4ff; font-size: 13px; line-height: 1.65; }
.note-body pre code .tok-k { color: #ff79c6; }
.note-body pre code .tok-s { color: #f1fa8c; }
.note-body pre code .tok-c { color: #6272a4; font-style: italic; }
.note-body img { border-radius: 12px; border: 1px solid var(--line); margin: 1.2em auto; }
.note-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.note-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; }
.note-body th, .note-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.note-body th { background: rgba(148, 163, 255, 0.08); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.note-body del { color: var(--text-faint); }
.note-related { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 28px; }
.note-related h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint); margin-bottom: 16px; }

/* ---------- friends ---------- */
.friends-page { padding: calc(var(--nav-h) + 30px) clamp(18px, 4vw, 40px) 60px; max-width: var(--maxw); margin: 0 auto; }
.friends-hero { margin-bottom: 60px; }
.friends-hero .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint); margin-bottom: 10px; }
.friends-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; margin-bottom: 12px; }
.friends-hero p { color: var(--text-dim); max-width: 560px; }
.friends-profile {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 56px;
}
.friends-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); flex-shrink: 0; position: relative; box-shadow: 0 0 26px rgba(110, 231, 255, 0.14); }
.friends-avatar img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.friends-avatar .cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #101b45, #070a18); font-family: var(--mono); font-size: 30px; color: var(--accent); }
.friends-profile-info { flex: 1; min-width: 240px; }
.friends-profile-info h2 { font-size: 24px; }
.friends-profile-info .fp-handle { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--accent); margin: 2px 0 8px; }
.friends-profile-info .fp-intro { color: var(--text-dim); margin-bottom: 10px; }
.friends-profile-info .fp-meta { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-faint); }
.friends-profile-info .fp-meta b { color: var(--text-dim); font-weight: 400; margin-right: 4px; }
.friends-signal { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ok); display: inline-flex; gap: 7px; align-items: center; margin-left: auto; }
.friends-signal i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.friends-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.friend-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: all 0.25s; color: var(--text);
}
.friend-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
.friend-card .fc-index { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-faint); align-self: flex-start; }
.friend-card .fc-avatar { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); flex-shrink: 0; position: relative; }
.friend-card .fc-avatar img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.friend-card .fc-avatar .cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #101b45, #0a0d22); font-family: var(--mono); color: var(--accent-2); font-size: 18px; }
.friend-card .fc-info { flex: 1; min-width: 0; }
.friend-card .fc-id { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.24em; color: var(--accent); }
.friend-card .fc-name { font-size: 15.5px; font-weight: 600; margin: 2px 0; }
.friend-card .fc-desc { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend-card .fc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--accent); }
.friends-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--text-dim); margin-bottom: 34px; }
.friends-back:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 100px; border-top: 1px solid var(--line);
  padding: 46px clamp(18px, 4vw, 40px) 40px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 17px; letter-spacing: 0.24em; }
.footer-brand small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--text-faint); display: block; }
.footer-chips { display: flex; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--text-faint); }
.footer-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.footer-bottom { max-width: var(--maxw); margin: 26px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); margin-left: 14px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-views { display: inline-flex; gap: 6px; align-items: center; }
.footer-views i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .priority-orbit { min-height: 0; }
  .orbit-slot { position: static !important; transform: none !important; display: block; min-width: 0; }
  .orbit-slots-mobile { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
  .orbit-slots-mobile .orbit-slot { width: 100%; opacity: 1; }
  .orbit-slots-mobile .orbit-cover { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
  .orbit-slots-mobile .orbit-name { font-size: 9px; }
  .orbit-slots-mobile .orbit-rank { margin-top: 4px; }
  .orbit-slot.is-selected { filter: none; }
  .priority-core { position: static; transform: none; width: 100%; margin-top: 18px; }
  .astral-coordinate { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .hero-kana { display: none; }
  .astral-frame { width: min(300px, 72vw); }
  .avatar-crop { width: 100px; height: 100px; }
}

/* ============================================================
   MAL · records section — anime timeline / backlog / blog
   (layout 结构仿照 AAL 档案时间线, 实现均为原创)
   ============================================================ */
.records-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; margin-bottom: 30px; }
.module-switch {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 5px; background: var(--panel);
}
.module-switch button {
  background: none; border: none; color: var(--text-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  padding: 10px 16px; border-radius: 8px; display: flex; align-items: center; gap: 8px; transition: all 0.22s;
}
.module-switch button span { font-size: 9px; opacity: 0.65; }
.module-switch button:hover { color: var(--text); }
.module-switch button.is-active { background: linear-gradient(120deg, rgba(110, 231, 255, 0.16), rgba(167, 139, 250, 0.16)); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(110, 231, 255, 0.35); }
.module-arrows { display: flex; gap: 4px; border-left: 1px solid var(--line); margin-left: 6px; padding-left: 6px; }
.module-arrows button {
  width: 34px; padding: 10px 0; justify-content: center; border-radius: 8px;
}
.module-arrows button:hover { background: rgba(148, 163, 255, 0.08); }
.archive-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 8px; flex-wrap: wrap; }
.search-field {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-strong); background: var(--panel);
  height: 46px; padding: 0 16px; border-radius: 999px; min-width: 260px; flex: 0 1 340px;
}
.search-field svg { color: var(--text-faint); flex-shrink: 0; }
.search-field input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 13px; font-family: inherit; min-width: 0; }
.search-field input::placeholder { color: var(--text-faint); }
.year-filter { display: flex; gap: 5px; overflow-x: auto; align-items: center; scrollbar-width: thin; }
.year-filter button {
  background: none; border: 1px solid transparent; color: var(--text-faint);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 7px 12px; border-radius: 8px; transition: all 0.18s; white-space: nowrap;
}
.year-filter button:hover { color: var(--text); }
.year-filter button.is-active { background: var(--accent); color: var(--bg); border-color: transparent; font-weight: 700; }
.timeline { margin-top: 56px; }
.year-group { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 48px; margin-bottom: 76px; position: relative; }
.year-rail { text-align: right; align-self: start; min-height: 150px; padding: 13px 24px 0 0; position: sticky; top: 100px; }
.year-rail span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--text-faint); display: block; }
.year-rail h3 { font-family: var(--mono); font-weight: 900; font-size: clamp(42px, 5vw, 74px); line-height: 0.85; letter-spacing: -0.04em; margin: 14px 0 10px; }
.year-rail p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--text-faint); }
.year-rail i { background: linear-gradient(90deg, transparent, var(--line-strong)); width: 54px; height: 1px; position: absolute; top: 21px; right: -1px; }
.anime-grid { display: grid; grid-template-columns: repeat(auto-fill, 112px); justify-content: start; align-items: start; gap: 18px; }
.anime-card {
  position: relative; overflow: hidden; width: 112px; height: 160px;
  border: 1px solid var(--line); background: rgba(13, 17, 34, 0.94);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.19s ease, border-color 0.19s ease, box-shadow 0.19s ease;
}
.anime-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.anime-cover { position: absolute; inset: 0; display: block; background: var(--bg-soft); overflow: hidden; }
.anime-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.anime-cover .cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 26px; color: var(--text-faint); background: linear-gradient(135deg, #101b45, #0a0d22); }
.anime-serial, .anime-score {
  position: absolute; top: 7px; z-index: 2;
  display: flex; align-items: center; gap: 3px; min-height: 20px; padding: 0 6px;
  background: rgba(8, 11, 24, 0.92); border-radius: 6px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; color: var(--text);
}
.anime-serial { left: 7px; }
.anime-score { right: 7px; }
.anime-score svg { color: var(--accent); }
.anime-card-copy {
  position: absolute; left: 8px; right: 8px; bottom: 9px; z-index: 2;
  display: grid; gap: 3px;
}
.anime-card-copy small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; color: var(--accent); }
.anime-card-copy strong { font-size: 11.5px; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anime-card-copy i { position: absolute; inset: -8px; background: linear-gradient(180deg, transparent, rgba(4, 5, 12, 0.55)); z-index: -1; }

/* watchlist */
.watchlist-timeline { margin-top: 56px; }
.watchlist-season { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 42px; margin-bottom: 72px; }
.watchlist-rail { text-align: right; align-self: start; min-height: 116px; padding: 18px 28px 18px 0; position: sticky; top: 96px; }
.watchlist-rail span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--text-faint); display: block; }
.watchlist-rail h3 { font-family: var(--mono); font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 6px; letter-spacing: -0.02em; }
.watchlist-rail p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--text-faint); }
.watchlist-rail i { background: linear-gradient(90deg, transparent, var(--line-strong)); width: 44px; height: 1px; position: absolute; top: 22px; right: -1px; }
.watchlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 188px)); align-items: start; gap: 28px 22px; }
.watchlist-card {
  position: relative; overflow: hidden; min-width: 0;
  border: 1px solid var(--line); background: rgba(13, 17, 34, 0.96);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform 0.19s ease, border-color 0.19s ease, box-shadow 0.19s ease;
}
.watchlist-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.watchlist-cover { position: relative; display: block; aspect-ratio: 7 / 10; overflow: hidden; background: var(--bg-soft); }
.watchlist-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.watchlist-cover .cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 22px; color: var(--text-faint); background: linear-gradient(135deg, #101b45, #0a0d22); }
.watchlist-serial, .expectation-score {
  position: absolute; top: 8px; z-index: 2;
  border: 1px solid var(--line); background: rgba(8, 11, 24, 0.72); 
  padding: 5px 8px; border-radius: 6px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--text);
}
.watchlist-serial { left: 8px; }
.expectation-score { right: 8px; color: var(--accent-2); }
.watchlist-card-copy { border-top: 1px solid var(--line); min-height: 190px; padding: 15px 14px 17px; display: grid; gap: 8px; align-content: start; }
.watchlist-expectation-core { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.watchlist-expectation-core b { font-family: var(--mono); font-size: 15px; color: var(--accent-2); }
.watchlist-expectation-core .exp-track { height: 4px; border-radius: 2px; background: rgba(148, 163, 255, 0.12); overflow: hidden; }
.watchlist-expectation-core .exp-track i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.watchlist-expectation-core small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; color: var(--text-faint); grid-column: 1 / -1; }
.watch-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.watch-original { font-family: var(--serif); font-size: 11px; color: var(--text-faint); line-height: 1.4; }
.watch-note { font-size: 11px; color: var(--text-dim); line-height: 1.6; }
.watch-note b { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.22em; color: var(--text-faint); font-weight: 400; margin-bottom: 2px; }
.watch-meta { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--text-faint); margin-top: 2px; }
.watch-meta .bgm-score { color: var(--ok); }

/* blog index */
.blog-index { margin-top: 56px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.blog-index-head {
  display: flex; align-items: center; gap: 18px;
  border-bottom: 1px solid var(--line); min-height: 74px;
  padding: 0 20px; color: var(--text); transition: background 0.15s;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
}
.blog-index-head:last-child { border-bottom: none; }
.blog-index-head:hover { background: var(--panel); }
.blog-index-num { font-size: 9px; color: var(--accent); width: 30px; flex-shrink: 0; }
.blog-index-title { flex: 1; min-width: 0; font-size: 15px; letter-spacing: 0.04em; font-family: var(--sans); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blog-index-title .blog-draft-tag { margin-left: 8px; }
.blog-index-date { color: var(--text-faint); font-size: 9px; white-space: nowrap; }
.blog-index-cat { border: 1px solid var(--line-strong); color: var(--text-dim); border-radius: 999px; padding: 4px 12px; font-size: 8.5px; letter-spacing: 0.18em; white-space: nowrap; }
.blog-index-head .blog-arrow { color: var(--text-faint); transition: transform 0.2s, color 0.2s; }
.blog-index-head:hover .blog-arrow { color: var(--accent); transform: translateX(3px); }

@media (max-width: 900px) {
  .records-heading { grid-template-columns: 1fr; align-items: start; }
  .module-switch { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .year-group, .watchlist-season { grid-template-columns: 1fr; gap: 20px; }
  .year-rail, .watchlist-rail { text-align: left; padding: 0 0 14px; position: static; min-height: 0; display: flex; align-items: baseline; gap: 14px; }
  .year-rail h3 { font-size: 30px; margin: 0; }
  .year-rail span, .year-rail p { font-size: 9px; }
  .year-rail i { display: none; }
  .watchlist-rail h3 { font-size: 22px; margin: 0; }
  .anime-grid { grid-template-columns: repeat(auto-fill, 104px); gap: 14px; }
  .anime-card { width: 104px; height: 149px; }
  .archive-controls { align-items: stretch; flex-direction: column; flex-wrap: nowrap; }
  .search-field { flex: none; width: 100%; min-width: 0; }
  .year-filter { justify-content: flex-start; max-width: 100%; }
  .blog-index-head { flex-wrap: wrap; padding: 14px 16px; min-height: 0; row-gap: 8px; }
  .blog-index-title { flex-basis: 100%; order: -1; }
}
