/* =====================================================================
   kulro16 — Noir-02 Rainy Rooftop Bento × Noir-00 Corner Audio
   Crafted with ui-ux-pro-max Dark Noir elevation & GitHub motion recipes
   ===================================================================== */

@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg-0: #09090d;
  --bg-1: rgba(17, 17, 23, 0.78);
  --bg-2: rgba(24, 24, 32, 0.86);
  --bg-3: rgba(16, 17, 23, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-hover: rgba(255, 255, 255, 0.17);
  --heading: #f2f2f5;
  --text: #d0d1d8;
  --muted: #8b8d98;
  --crimson: #e5484d;
  --crimson-soft: rgba(229, 72, 77, 0.16);
  --amber: #f0b429;
  --amber-warm: #e5b567;
  --amber-soft: rgba(240, 180, 41, 0.15);
  --green: #4ade80;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-prose: "Source Sans 3", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* Reading Progress Bar + Route Sweep + Cursor Follower + Click/Dblclick Lantern FX */
#readRule {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--crimson), var(--amber));
  z-index: 90;
  transition: width 0.08s linear;
}
#routeSweep {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  z-index: 96;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--crimson) 45%, var(--amber) 90%, #fff4cf);
  box-shadow: 0 0 14px rgba(240, 180, 41, 0.72);
}
#routeSweep.go { animation: routeSweepAnim 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes routeSweepAnim {
  0% { width: 0%; opacity: 1; }
  72% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

#noirCursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  border: 1.25px solid rgba(240, 180, 41, 0.38);
  background: radial-gradient(circle, rgba(240, 180, 41, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 94;
  opacity: 0;
  will-change: transform, width, height;
  transition: opacity 0.25s ease, width 0.2s cubic-bezier(0.22, 1, 0.36, 1), height 0.2s cubic-bezier(0.22, 1, 0.36, 1), margin 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}
#noirCursor.visible { opacity: 1; }
#noirCursor.hover {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-color: rgba(240, 180, 41, 0.72);
  background: radial-gradient(circle, rgba(229, 72, 77, 0.14), rgba(240, 180, 41, 0.04) 65%, transparent);
}
#noirCursor.down {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-color: var(--crimson);
}
@media (hover: none), (pointer: coarse) { #noirCursor { display: none; } }

#noirFxLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 93;
  overflow: hidden;
}
.noir-ripple {
  position: fixed;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.4px solid rgba(240, 180, 41, 0.74);
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.32);
  animation: noirRippleAnim 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes noirRippleAnim {
  0% { transform: scale(0.45); opacity: 0.92; }
  100% { transform: scale(4.4); opacity: 0; }
}
.noir-burst-ring {
  position: fixed;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 1.6px solid rgba(229, 72, 77, 0.85);
  box-shadow: 0 0 22px rgba(240, 180, 41, 0.45), inset 0 0 12px rgba(229, 72, 77, 0.32);
  animation: noirBurstAnim 0.68s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes noirBurstAnim {
  0% { transform: scale(0.35); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}
.noir-ember-spark {
  position: fixed;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber), 0 0 14px var(--crimson);
  animation: noirSparkAnim 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes noirSparkAnim {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) scale(0.15); opacity: 0; }
}

/* Smooth SPA Route Transitions & Staggered Reveal */
#appRoot {
  transition: opacity 0.16s ease, transform 0.18s ease, filter 0.18s ease;
}
#appRoot.route-exit {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
}
.reveal-item {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  animation: noirReveal 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--ri, 0) * 52ms);
}
@keyframes noirReveal {
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Atmospheric Rainy Rooftop Lantern Backdrop ---------- */
.rooftop-backdrop {
  position: fixed;
  inset: -24px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.25s ease-out;
}
.rooftop-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(104deg, rgba(9, 9, 13, 0.94) 0%, rgba(9, 9, 13, 0.78) 40%, rgba(11, 13, 20, 0.36) 76%, rgba(9, 9, 13, 0.66) 100%),
    linear-gradient(180deg, rgba(9, 9, 13, 0.28) 0%, rgba(9, 9, 13, 0.42) 52%, rgba(9, 9, 13, 0.97) 90%, #09090d 100%),
    var(--bg-scene, url("assets/bg-rooftop-04.jpg"));
  background-position: center 34%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.96) contrast(1.08) brightness(0.92);
  transition: opacity 0.35s ease;
}
.rooftop-lantern-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 22%, rgba(240, 152, 54, 0.22) 0%, rgba(229, 72, 77, 0.09) 24%, transparent 52%),
    radial-gradient(circle at 64% 31%, rgba(229, 72, 77, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 88% 16%, rgba(100, 145, 210, 0.10) 0%, transparent 34%),
    radial-gradient(circle at 22% 14%, rgba(240, 180, 41, 0.05) 0%, transparent 45%);
  animation: lanternBreathe 9s ease-in-out infinite alternate;
}
@keyframes lanternBreathe {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}
.rooftop-skyline {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(6px 6px at 73% 24%, rgba(255, 202, 118, 0.7), transparent 70%),
    radial-gradient(10px 10px at 78% 20%, rgba(240, 138, 64, 0.45), transparent 72%),
    radial-gradient(7px 7px at 84% 28%, rgba(229, 72, 77, 0.52), transparent 72%),
    radial-gradient(14px 14px at 67% 29%, rgba(240, 180, 41, 0.25), transparent 75%),
    radial-gradient(9px 9px at 91% 22%, rgba(229, 72, 77, 0.32), transparent 74%);
  filter: blur(2px);
  opacity: 0.85;
}
.rooftop-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 32% at 62% 28%, rgba(255, 255, 255, 0.03), transparent 70%),
    linear-gradient(180deg, transparent 58%, rgba(9, 9, 13, 0.96) 100%);
}

#rainCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
#phoenixCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.55s ease;
}
#phoenixCanvas.off { opacity: 0; }

.obsidian-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 255, 255, 0.65) 0.55px, transparent 0.55px);
  background-size: 4px 4px;
}

/* ---------- Main Shell ---------- */
.noir-shell {
  position: relative;
  z-index: 5;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px 110px;
}

/* ---------- Floating Glass Top Navigation Bar (Noir-02) ---------- */
.top-rail {
  position: sticky;
  top: 16px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 16, 22, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

.brand-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.seal-cube {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(145deg, #e5484d, #8d1d24);
  box-shadow: 0 0 12px rgba(229, 72, 77, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: inline-block;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--heading);
}

.rail-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-glide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border-bottom: 1.5px solid var(--amber);
  box-shadow: 0 6px 18px rgba(240, 180, 41, 0.1);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.nav-link {
  position: relative;
  z-index: 1;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease, transform 0.16s ease;
  cursor: pointer;
}
.nav-link:hover { color: var(--heading); }
.nav-link:active { transform: scale(0.96); }
.nav-link.active { color: var(--heading); }

.rail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.rail-pill:hover, .rail-pill.playing {
  border-color: rgba(240, 180, 41, 0.48);
  background: rgba(240, 180, 41, 0.09);
  color: var(--heading);
}
.pill-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}
.pill-wave i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0.65;
  transition: height 0.2s;
}
.pill-wave i:nth-child(2) { height: 10px; }
.pill-wave i:nth-child(3) { height: 7px; }
.pill-wave i:nth-child(4) { height: 4px; }
.rail-pill.playing .pill-wave i {
  opacity: 1;
  animation: miniWave 0.75s ease-in-out infinite alternate;
}
.rail-pill.playing .pill-wave i:nth-child(2) { animation-delay: 0.15s; }
.rail-pill.playing .pill-wave i:nth-child(3) { animation-delay: 0.3s; }
.rail-pill.playing .pill-wave i:nth-child(4) { animation-delay: 0.45s; }
@keyframes miniWave {
  0% { height: 3px; }
  100% { height: 12px; }
}

.rail-icon-btn, .rail-kbd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.rail-icon-btn { width: 32px; padding: 0; }
.rail-icon-btn svg { width: 16px; height: 16px; }
.rail-kbd-btn { font-family: var(--font-mono); font-size: 0.73rem; }
.rail-icon-btn:hover, .rail-kbd-btn:hover {
  border-color: var(--line-hover);
  color: var(--heading);
  background: rgba(255, 255, 255, 0.07);
}
.rail-icon-btn.active {
  color: var(--amber);
  border-color: rgba(240, 180, 41, 0.34);
  background: rgba(240, 180, 41, 0.08);
}
.mob-only { display: none; }

.mob-drawer {
  margin-top: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(15, 16, 22, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
}
.mob-link.active, .mob-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--heading);
}

/* ---------- Hero Section (Noir-02 Editorial + BlurText + ShinyText) ---------- */
.hero-stage {
  padding: 64px 4px 44px;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 8px var(--crimson);
}
.hero-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.55rem, 4.9vw, 3.85rem);
  line-height: 1.09;
  letter-spacing: -0.015em;
  color: var(--heading);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}
.blur-word {
  display: inline-block;
  margin-right: 0.24em;
  opacity: 0;
  filter: blur(9px);
  transform: translateY(12px);
  animation: blurReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 65ms);
}
.blur-word:last-child { margin-right: 0; }
@keyframes blurReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-motto {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.16rem, 2vw, 1.44rem);
  line-height: 1.44;
  color: var(--amber-warm);
  background: linear-gradient(
    115deg,
    #d6a354 0%,
    #f0be67 42%,
    #fff1cc 50%,
    #e5b567 58%,
    #c89242 100%
  );
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinySweep 6.5s ease-in-out infinite;
}
@keyframes shinySweep {
  0%, 62% { background-position: 100% 0; }
  100% { background-position: -120% 0; }
}

.hero-bio {
  margin: 0 0 26px;
  max-width: 56ch;
  font-family: var(--font-prose);
  font-size: 1.04rem;
  color: #b7b8c4;
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn-noir-primary, .btn-noir-ghost {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-noir-primary::after, .btn-noir-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(240, 180, 41, 0.18) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn-noir-primary:hover::after, .btn-noir-ghost:hover::after { transform: translateX(120%); }
.btn-noir-primary:active, .btn-noir-ghost:active, .lens-btn:active, .rail-pill:active, .rail-icon-btn:active, .rail-kbd-btn:active, .qr-copy-btn:active, .qr-save-btn:active {
  transform: scale(0.96);
}
.btn-noir-primary {
  background: rgba(26, 26, 35, 0.86);
  border: 1px solid rgba(240, 180, 41, 0.38);
  color: var(--heading);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.btn-noir-primary:hover {
  border-color: rgba(240, 180, 41, 0.72);
  background: rgba(34, 34, 46, 0.94);
  box-shadow: 0 10px 26px rgba(240, 180, 41, 0.12);
}
.btn-noir-ghost {
  background: rgba(17, 17, 23, 0.56);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-noir-ghost:hover {
  border-color: var(--line-hover);
  color: var(--heading);
  background: rgba(25, 25, 34, 0.78);
}

/* ---------- Noir-02 Asymmetric Bento Grid ---------- */
.bento-top {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 34px;
}
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.22s ease, box-shadow 0.24s ease;
}
.bento-card::after, .writeup-row::after, .radar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 180, 41, 0.1), rgba(229, 72, 77, 0.05) 45%, transparent 72%);
}
.bento-card:hover::after, .writeup-row:hover::after, .radar-card:hover::after { opacity: 1; }
.bento-card:hover {
  border-color: var(--line-hover);
  background: var(--bg-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

/* Travelling Warm-Amber Border Beam on Featured Bento Card */
.border-beam-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(240, 180, 41, 0.2);
}
.border-beam-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    transparent 285deg,
    rgba(229, 72, 77, 0.45) 318deg,
    rgba(240, 180, 41, 0.95) 346deg,
    rgba(255, 243, 209, 0.9) 354deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: beamOrbit 7.5s linear infinite;
}
@keyframes beamOrbit {
  to { --beam-angle: 360deg; }
}

.featured-media {
  position: relative;
  height: 204px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 38%, rgba(240, 180, 41, 0.22), transparent 55%),
    radial-gradient(circle at 28% 72%, rgba(229, 72, 77, 0.24), transparent 55%),
    linear-gradient(180deg, rgba(12, 13, 18, 0.26), rgba(14, 15, 21, 0.92)),
    url("assets/bg-lantern-05.jpg") center 48% / cover no-repeat;
}
.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 52% 64%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, transparent 40%, rgba(15, 16, 22, 0.96) 100%);
}
.featured-badge {
  position: absolute;
  left: 20px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(12, 12, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.featured-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-serif-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.82rem;
  line-height: 1.15;
  color: var(--heading);
}
.card-excerpt {
  margin: 0;
  font-family: var(--font-prose);
  font-size: 0.96rem;
  color: #a8aab6;
  line-height: 1.62;
}
.featured-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.meta-pill-crimson {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--crimson-soft);
  border: 1px solid rgba(229, 72, 77, 0.28);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ff9c9f;
}
.read-cue {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--amber);
}

/* Telemetry & Focus Card (Exact Noir-02 rows) */
.bento-pad { padding: 20px 22px; }
.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.bento-label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.bento-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.tel-list { display: flex; flex-direction: column; }
.tel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
}
.tel-row:first-child { border-top: 0; padding-top: 2px; }
.tel-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.tel-left svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}
.tel-right {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* 3-Lens Interactive Card */
.lens-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.lens-btn {
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}
.lens-btn:hover { color: var(--heading); border-color: var(--line-hover); }
.lens-btn.active {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: rgba(240, 180, 41, 0.42);
}
.lens-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--heading);
  margin-bottom: 6px;
}
.lens-desc {
  margin: 0;
  font-family: var(--font-prose);
  font-size: 0.9rem;
  color: #a8aab6;
  line-height: 1.56;
}

/* ---------- Section Heading + Tracing Beam Scroll Spine ---------- */
.sec-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 40px 0 18px;
}
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-all {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  transition: opacity 0.18s;
}
.sec-all:hover { opacity: 0.8; }

.tracing-wrap {
  position: relative;
  padding-left: 26px;
}
.tracing-rail {
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: visible;
}
.tracing-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--beam-h, 28%);
  background: linear-gradient(180deg, rgba(229, 72, 77, 0.25), var(--crimson) 55%, var(--amber) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.45);
  transition: height 0.12s linear;
}
.tracing-beam::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber), 0 0 22px rgba(229, 72, 77, 0.55);
}

.writeup-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.writeup-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
  cursor: pointer;
}
.writeup-row:active { transform: translateY(0) scale(0.99); }
.writeup-row:hover {
  border-color: rgba(240, 180, 41, 0.34);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.writeup-thumb {
  position: relative;
  height: 118px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 42%, rgba(229, 72, 77, 0.28), transparent 58%),
    linear-gradient(145deg, rgba(16, 17, 24, 0.52), rgba(9, 9, 13, 0.88)),
    url("assets/bg-lantern-02.jpg") center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.writeup-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber);
  background: rgba(9, 9, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 5px;
}
.writeup-body { min-width: 0; }
.writeup-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--muted);
}
.writeup-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.56rem;
  line-height: 1.18;
  color: var(--heading);
}
.writeup-desc {
  margin: 0;
  font-family: var(--font-prose);
  font-size: 0.93rem;
  color: #a5a7b4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Reading Radar Grid ---------- */
.radar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.radar-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.radar-card:active { transform: translateY(0) scale(0.985); }
.radar-card:hover {
  border-color: rgba(240, 180, 41, 0.35);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.radar-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--amber);
  margin-bottom: 8px;
}
.radar-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.24;
  color: var(--heading);
  margin: 0 0 8px;
}
.radar-note {
  margin: 0 0 14px;
  font-family: var(--font-prose);
  font-size: 0.89rem;
  color: #a4a6b3;
  flex: 1;
}

/* ---------- Community Support / VietQR NAPAS 247 Card ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 20px;
  align-items: center;
}
.qr-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(20, 20, 28, 0.9), rgba(12, 12, 17, 0.94));
  border: 1px solid var(--line);
  overflow: hidden;
}
.qr-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--amber));
}
.qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.qr-box {
  position: relative;
  width: 194px;
  height: 194px;
  padding: 12px;
  cursor: zoom-in;
}
.qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  object-fit: contain;
}
.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--crimson);
  border-style: solid;
  border-width: 0;
  transition: border-color 0.25s ease;
}
.qr-box:hover .qr-corner { border-color: var(--amber); }
.qr-c-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.qr-c-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.qr-c-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.qr-c-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.qr-scan-line {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--amber), var(--crimson), transparent);
  box-shadow: 0 0 10px rgba(229, 72, 77, 0.72);
  animation: qrLaser 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes qrLaser {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(156px); opacity: 1; }
}

.qr-napas {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.qr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.qr-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.qr-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}
.qr-k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.qr-v { color: var(--heading); font-weight: 500; word-break: break-word; }
.qr-v.acc { font-family: var(--font-mono); color: #ff8c8f; letter-spacing: 0.04em; }
.qr-copy-btn {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  cursor: pointer;
}
.qr-copy-btn:hover { color: var(--heading); border-color: var(--amber); }
.qr-save-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.qr-save-btn:hover {
  border-color: rgba(240, 180, 41, 0.45);
  background: rgba(240, 180, 41, 0.08);
  color: var(--heading);
}

/* ---------- Blog Index & Article Reader ---------- */
.reader-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 28px;
}
.reader-spine {
  position: sticky;
  top: 84px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}
.search-in {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 13, 0.72);
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.search-in:focus { outline: none; border-color: rgba(240, 180, 41, 0.5); }

.toc-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.toc-link.sub { padding-left: 18px; font-size: 0.78rem; }
.toc-link:hover, .toc-link.active {
  color: var(--amber);
  background: rgba(240, 180, 41, 0.07);
}

.article-paper {
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: rgba(15, 16, 22, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.article-h1 {
  margin: 8px 0 22px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: var(--heading);
}
.prose {
  font-family: var(--font-prose);
  font-size: 1.06rem;
  line-height: 1.82;
  color: #d6d7de;
}
.prose h1, .prose h2, .prose h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--heading);
  margin: 1.6em 0 0.55em;
  line-height: 1.22;
}
.prose h2 { font-size: 1.72rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.prose h3 { font-size: 1.36rem; }
.prose p { margin: 0 0 1.05em; }
.prose ul { padding-left: 1.35em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  border-left: 2px solid var(--amber);
  background: rgba(240, 180, 41, 0.06);
  border-radius: 0 8px 8px 0;
  color: #d7c7a2;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #f3c969;
}
.term-block {
  margin: 1.25em 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0c10;
  overflow: hidden;
}
.term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--muted);
}
.term-pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.65;
  color: #e4e4ec;
}
.term-pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; }

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text);
}

/* ---------- Noir-00 Persistent Bottom-Right Audio Bar ---------- */
.corner-audio {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 60;
  width: min(352px, calc(100vw - 28px));
}
.audio-bar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 10px;
  border-radius: 14px;
  background: rgba(16, 17, 23, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.52);
}
.audio-thumb {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101118;
  cursor: pointer;
  flex-shrink: 0;
}
.audio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) brightness(0.86);
}
.thumb-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 12px rgba(240, 180, 41, 0.25);
  opacity: 0;
  transition: opacity 0.25s;
}
.corner-audio.playing .thumb-glow { opacity: 1; }

.audio-meta {
  min-width: 0;
  flex: 1;
  cursor: pointer;
}
.audio-title-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.audio-title { color: var(--heading); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.audio-sep, .audio-artist { color: var(--muted); font-size: 0.72rem; flex-shrink: 0; }

.bar-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
}
.bar-wave span {
  display: block;
  width: 2px;
  height: var(--h, 4px);
  border-radius: 2px;
  background: rgba(240, 180, 41, 0.34);
  transition: height 0.18s ease, background 0.2s ease;
}
.corner-audio.playing .bar-wave span {
  background: linear-gradient(180deg, #f6d186, #e59f38);
  animation: eqPulse 0.9s ease-in-out infinite alternate;
  animation-delay: calc(var(--d, 0) * 55ms);
}
@keyframes eqPulse {
  0% { transform: scaleY(0.45); opacity: 0.55; }
  100% { transform: scaleY(1.25); opacity: 1; }
}

.audio-ctrls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.bar-skip {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.bar-skip:hover { color: var(--heading); background: rgba(255, 255, 255, 0.06); }
.bar-skip svg { width: 13px; height: 13px; }

.bar-play-gold {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(145deg, #f2ca78, #d99f45);
  color: #101116;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(240, 180, 41, 0.34);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.bar-play-gold:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(240, 180, 41, 0.48);
}
.bar-play-gold svg { width: 15px; height: 15px; }

.audio-popover {
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(14, 15, 21, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}
.pop-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.69rem;
  color: var(--amber);
  margin-bottom: 8px;
}
.pop-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.yt-public-wrap { margin-bottom: 10px; border-radius: 8px; overflow: hidden; height: 64px; border: 1px solid var(--line); background: #09090d; }
.pop-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  font-size: 0.78rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.pop-item:hover { background: rgba(255, 255, 255, 0.05); }
.pop-item.active {
  background: rgba(240, 180, 41, 0.1);
  border-color: rgba(240, 180, 41, 0.35);
  color: var(--heading);
}
.pop-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
}
.pop-vol input { flex: 1; accent-color: var(--amber); cursor: pointer; }

/* ---------- Footer ---------- */
.noir-footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--muted);
}
.footer-left { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.footer-utc { color: var(--amber); }
.footer-links { display: flex; align-items: center; gap: 14px; }
.link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--heading); }

/* ---------- Overlays (QR Zoom, Cmd+K, Toast) ---------- */
.qr-zoom, .cmdk-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(5, 5, 9, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-zoom-card {
  width: min(360px, 100%);
  padding: 20px;
  border-radius: 16px;
  background: #12131a;
  border: 1px solid rgba(240, 180, 41, 0.3);
}
.qr-zoom-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.76rem;
}
.qr-zoom-frame {
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
}
.qr-zoom-frame img { width: 100%; display: block; border-radius: 6px; }
.qr-zoom-meta { font-size: 0.75rem; color: var(--text); text-align: center; }

.cmdk-box {
  width: min(560px, 100%);
  border-radius: 14px;
  background: #12131a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.cmdk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.cmdk-head input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--heading);
  font-size: 0.92rem;
}
.cmdk-head input:focus { outline: none; }
.cmdk-list { max-height: 360px; overflow-y: auto; padding: 6px; }
.cmdk-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-size: 0.85rem;
}
.cmdk-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--heading); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 95;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(18, 19, 26, 0.96);
  border: 1px solid rgba(240, 180, 41, 0.45);
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* ---------- Responsive & Reduced Motion ---------- */
@media (max-width: 920px) {
  .bento-top, .donate-grid, .reader-layout { grid-template-columns: 1fr; }
  .reader-spine { position: static; }
  .radar-grid { grid-template-columns: 1fr; }
  .writeup-row { grid-template-columns: 1fr; }
  .writeup-thumb { height: 140px; }
}
@media (max-width: 720px) {
  .noir-shell { padding: 14px 16px 124px; }
  .rail-nav, #audioTopBtn { display: none; }
  .mob-only { display: inline-flex; }
  .hero-stage { padding: 38px 0 28px; }
  .article-paper { padding: 22px 18px; }
  .corner-audio { left: 14px; right: 14px; bottom: 14px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .blur-word { opacity: 1; filter: none; transform: none; }
}
