/* 方可乐的 AI 宇宙 — 极简白纸 · 瑞士编辑风 + 宇宙微互动 */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-hover: #f3f4f6;
  --ink: #111827;
  --ink-body: #374151;
  --ink-muted: #6b7280;
  --ink-subtle: #9ca3af;
  --border: #eceef2;
  --border-strong: #d5d9e2;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --btn-bg: #111827;
  --btn-hover: #1f2937;

  /* 四组克制星球微色调 */
  --tone-amber-bg: #fef7e6;
  --tone-amber-ink: #b45309;
  --tone-amber-ring: #f3d79b;
  --tone-amber-glow: rgba(217, 119, 6, 0.085);

  --tone-blue-bg: #eef4ff;
  --tone-blue-ink: #2563eb;
  --tone-blue-ring: #bfdbfe;
  --tone-blue-glow: rgba(37, 99, 235, 0.08);

  --tone-teal-bg: #ecfdf5;
  --tone-teal-ink: #047857;
  --tone-teal-ring: #a7f3d0;
  --tone-teal-glow: rgba(5, 150, 105, 0.085);

  --tone-violet-bg: #f5f3ff;
  --tone-violet-ink: #6d28d9;
  --tone-violet-ring: #ddd6fe;
  --tone-violet-glow: rgba(109, 40, 217, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 4px 14px -4px rgba(17, 24, 39, 0.06), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 12px 30px -10px rgba(17, 24, 39, 0.1), 0 2px 6px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 24px 60px -16px rgba(17, 24, 39, 0.22);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font: 400 0.975rem/1.75 var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

button {
  cursor: pointer;
}

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

svg.ico {
  width: 1rem;
  height: 1rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: #dbeafe;
  color: var(--ink);
}

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

main:focus {
  outline: none;
}

.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.875rem;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}

.skip:focus {
  transform: none;
}

/* Shell & Header */
.shell {
  width: min(calc(100% - 2 * clamp(1.1rem, 4.5vw, 3.5rem)), 66rem);
  margin-inline: auto;
}

.mast-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.read-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  pointer-events: none;
  transition: width 0.08s linear;
}

.mast {
  width: min(calc(100% - 2 * clamp(1.1rem, 4.5vw, 3.5rem)), 66rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand-mark {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.brand:hover .brand-mark svg {
  transform: rotate(14deg) scale(1.06);
}

.mast nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mast nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 0.885rem;
  font-weight: 500;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.mast nav a:hover {
  color: var(--ink);
  background: var(--surface);
}

.mast nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
  font-weight: 550;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.885rem;
  font-weight: 520;
  letter-spacing: -0.005em;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.button.primary {
  background: var(--btn-bg);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.button.primary:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface);
  border-color: #c2c8d4;
}

/* Hero with subtle starlight dot field & orbital portrait */
.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -1rem -4rem 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(17, 24, 39, 0.085) 1px, transparent 1px),
    radial-gradient(600px circle at 80% 35%, rgba(37, 99, 235, 0.055), transparent 65%),
    radial-gradient(460px circle at 18% 20%, rgba(109, 40, 217, 0.04), transparent 60%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(13rem, 0.78fr);
  gap: clamp(2rem, 5.5vw, 4.75rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2.4rem, 4.5vw, 3.75rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.92);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.identity::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
  background: var(--tone-teal-bg);
  border: 1px solid var(--tone-teal-ring);
  color: var(--tone-teal-ink);
  font-size: 0.8rem;
  font-weight: 520;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.38);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.75); opacity: 0.9; }
  75%, 100% { transform: scale(1.85); opacity: 0; }
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -0.028em;
}

.hero h1 .en-name {
  display: inline-block;
  margin-left: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.36em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-subtle);
  vertical-align: middle;
}

.hero .lead {
  max-width: 37em;
  margin-top: 1rem;
  color: var(--ink-body);
  font-size: clamp(0.975rem, 1.15vw, 1.035rem);
  line-height: 1.82;
}

.hero .lead + .lead {
  margin-top: 0.65rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-channels {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.hero-channels strong {
  color: var(--ink-body);
  font-weight: 560;
}

/* Animated Round Planet Avatar with Daylight Nebula, 3D Orbiting Stars & Drifting Quotes */
.portrait-stage {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 21.5rem);
  padding: 1.5rem 0.75rem 0.6rem;
  perspective: 900px;
}

.nebula-cloud {
  position: absolute;
  inset: -4% -6% 4%;
  pointer-events: none;
  z-index: 0;
  filter: blur(22px);
  opacity: 0.9;
}

.nebula-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.nebula-blob.b1 {
  width: 11.5rem;
  height: 11.5rem;
  top: 6%;
  left: 6%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.55), rgba(147, 197, 253, 0) 70%);
  animation: nebula-drift-1 14s ease-in-out infinite;
}

.nebula-blob.b2 {
  width: 10.5rem;
  height: 10.5rem;
  right: 4%;
  top: 16%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.5), rgba(196, 181, 253, 0) 70%);
  animation: nebula-drift-2 17s ease-in-out infinite;
}

.nebula-blob.b3 {
  width: 9rem;
  height: 9rem;
  bottom: 8%;
  left: 24%;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.45), rgba(253, 230, 138, 0) 70%);
  animation: nebula-drift-3 19s ease-in-out infinite;
}

@keyframes nebula-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, 12px) scale(1.12); }
}

@keyframes nebula-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.1); }
}

@keyframes nebula-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -14px) scale(1.08); }
}

/* Graceful Daylight Shooting Stars (6 staggered trails across planet & hero sky) */
.shooting-star {
  position: absolute;
  z-index: 1;
  width: 78px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.85), rgba(124, 58, 237, 0.35) 45%, transparent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.shooting-star::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.75);
  transform: translateY(-50%);
}

.shooting-star.s1 {
  top: 6%;
  right: -8%;
  width: 92px;
  animation: shoot-a 4.4s ease-out -0.6s infinite;
}

.shooting-star.s2 {
  top: 22%;
  right: -14%;
  width: 72px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.88), rgba(245, 158, 11, 0.3) 48%, transparent);
  animation: shoot-b 5.2s ease-out -2.4s infinite;
}
.shooting-star.s2::before {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.75);
}

.shooting-star.s3 {
  top: 44%;
  right: -10%;
  width: 84px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.82), rgba(124, 58, 237, 0.28) 48%, transparent);
  animation: shoot-c 4.8s ease-out -1.5s infinite;
}
.shooting-star.s3::before {
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.7);
}

.shooting-star.s4 {
  top: 12%;
  left: 16%;
  width: 68px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.8), rgba(16, 185, 129, 0.25) 48%, transparent);
  animation: shoot-a 5.8s ease-out -3.8s infinite;
}
.shooting-star.s4::before {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.shooting-star.s5 {
  top: 62%;
  right: 4%;
  width: 64px;
  animation: shoot-b 4.6s ease-out -3.1s infinite;
}

.shooting-star.s6 {
  top: 4%;
  left: 48%;
  width: 82px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.75), rgba(56, 189, 248, 0.32) 48%, transparent);
  animation: shoot-c 6.1s ease-out -4.7s infinite;
}

@keyframes shoot-a {
  0%, 42%, 100% { transform: translate(36px, -22px) rotate(-26deg) scaleX(0.35); opacity: 0; }
  48% { opacity: 0.95; }
  66% { transform: translate(-180px, 86px) rotate(-26deg) scaleX(1.15); opacity: 0; }
}

@keyframes shoot-b {
  0%, 46%, 100% { transform: translate(28px, -18px) rotate(-22deg) scaleX(0.35); opacity: 0; }
  52% { opacity: 0.92; }
  70% { transform: translate(-165px, 68px) rotate(-22deg) scaleX(1.1); opacity: 0; }
}

@keyframes shoot-c {
  0%, 40%, 100% { transform: translate(32px, -26px) rotate(-30deg) scaleX(0.35); opacity: 0; }
  46% { opacity: 0.9; }
  64% { transform: translate(-175px, 98px) rotate(-30deg) scaleX(1.12); opacity: 0; }
}

.orbit-layer {
  position: absolute;
  inset: -16% -26% -8%;
  width: 152%;
  height: 126%;
  overflow: visible;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.orbit-back {
  z-index: 1;
}

.orbit-front {
  z-index: 3;
}

.orbit-star {
  animation: twinkle 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.orbit-star.delay {
  animation-delay: 1.5s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.22); }
}

.portrait-float {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  animation: gentle-float 5.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.portrait-trigger {
  position: relative;
  display: block;
  width: 13.75rem;
  height: 13.75rem;
  aspect-ratio: 1;
  flex: none;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f5f8ff 65%, #e8effd 100%);
  overflow: hidden;
  box-shadow:
    0 20px 44px -14px rgba(37, 99, 235, 0.24),
    0 6px 18px -6px rgba(17, 24, 39, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.12);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  will-change: transform;
}

/* Spherical daylight atmosphere & soft glass highlight */
.portrait-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 72% 82%, rgba(37, 99, 235, 0.14) 0%, transparent 56%);
  box-shadow:
    inset 0 8px 18px rgba(255, 255, 255, 0.72),
    inset 0 -12px 24px rgba(37, 99, 235, 0.14);
  pointer-events: none;
}

.portrait-trigger:hover {
  transform: scale(1.035);
  box-shadow:
    0 24px 50px -14px rgba(37, 99, 235, 0.3),
    0 8px 20px -6px rgba(17, 24, 39, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.2);
}

.portrait-trigger.pop {
  animation: pop-bounce 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pop-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(0.94, 0.96); }
  70% { transform: scale(1.05, 1.03); }
  100% { transform: scale(1); }
}

.portrait-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateY(var(--pose-y, 2%)) scale(var(--pose-scale, 0.96));
  mix-blend-mode: normal;
  width: 100%;
  height: 100%;
  min-width: 8rem;
  min-height: 8rem;
  object-fit: contain;
  filter: brightness(1.015) contrast(1.02);
  user-select: none;
  -webkit-user-drag: none;
  animation: char-breathe 5.6s ease-in-out infinite;
  transition: opacity 0.42s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-trigger img.pose-entering {
  opacity: 0;
  transform: translateY(calc(var(--pose-y, 2%) + 6px)) scale(calc(var(--pose-scale, 0.96) * 0.94));
}

.portrait-trigger img.pose-leaving {
  opacity: 0;
  transform: translateY(calc(var(--pose-y, 2%) - 4px)) scale(calc(var(--pose-scale, 0.96) * 1.03));
}

@keyframes char-breathe {
  0%, 100% { transform: translateY(var(--pose-y, 2%)) scale(var(--pose-scale, 0.96)); }
  50% { transform: translateY(calc(var(--pose-y, 2%) - 3px)) scale(calc(var(--pose-scale, 0.96) * 1.025)); }
}

.portrait-shadow {
  position: relative;
  z-index: 1;
  width: 8.2rem;
  height: 0.85rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.16) 0%, rgba(17, 24, 39, 0.06) 52%, transparent 74%);
  animation: shadow-breathe 5.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50% { transform: scaleX(0.84); opacity: 0.48; }
}

.portrait-hint {
  position: relative;
  z-index: 4;
  margin-top: 0.4rem;
  color: var(--ink-subtle);
  font-size: 0.76rem;
  text-align: center;
  transition: opacity 0.25s ease;
}

.sparkle-burst {
  position: absolute;
  z-index: 5;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-radius: 50%;
  background: var(--sp-color, var(--accent));
  animation: burst-out 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes burst-out {
  0% { transform: translate(0, 0) scale(1); opacity: 0.95; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.15); opacity: 0; }
}

.portrait-quote {
  position: absolute;
  left: 46%;
  bottom: calc(100% - 0.55rem);
  z-index: 12;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  width: max-content;
  max-width: min(19.5rem, 84vw);
  padding: 0.72rem 1.08rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 520;
  line-height: 1.55;
  box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.18), 0 4px 12px rgba(17, 24, 39, 0.06);
  transform: translate(-50%, 10px) scale(0.88) rotate(-2deg);
  transform-origin: 55% 100%;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portrait-quote .quote-star {
  flex: none;
  margin-top: 0.08rem;
  color: var(--accent);
  font-size: 0.82rem;
  line-height: 1.4;
}

.portrait-quote::before,
.portrait-quote::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 3px 8px rgba(17, 24, 39, 0.07);
}

.portrait-quote::before {
  left: 56%;
  top: calc(100% + 5px);
  width: 9px;
  height: 9px;
}

.portrait-quote::after {
  left: 60%;
  top: calc(100% + 16px);
  width: 5.5px;
  height: 5.5px;
}

.portrait-quote.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1) rotate(-0.8deg);
}

/* Sections */
.section {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  color: var(--ink);
  font-size: clamp(1.32rem, 2.2vw, 1.55rem);
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.16s ease;
}

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

.section-link svg.ico {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.16s ease;
}

.section-link:hover svg.ico {
  transform: translateX(2px);
}

/* Consultation 2x2 Grid with subtle planetary tones + spotlight */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.topic-group {
  --card-accent: var(--tone-blue-ink);
  --card-bg-tint: var(--tone-blue-bg);
  --card-ring: var(--tone-blue-ring);
  --card-glow: var(--tone-blue-glow);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-group[data-tone="amber"] {
  --card-accent: var(--tone-amber-ink);
  --card-bg-tint: var(--tone-amber-bg);
  --card-ring: var(--tone-amber-ring);
  --card-glow: var(--tone-amber-glow);
}

.topic-group[data-tone="blue"] {
  --card-accent: var(--tone-blue-ink);
  --card-bg-tint: var(--tone-blue-bg);
  --card-ring: var(--tone-blue-ring);
  --card-glow: var(--tone-blue-glow);
}

.topic-group[data-tone="teal"] {
  --card-accent: var(--tone-teal-ink);
  --card-bg-tint: var(--tone-teal-bg);
  --card-ring: var(--tone-teal-ring);
  --card-glow: var(--tone-teal-glow);
}

.topic-group[data-tone="violet"] {
  --card-accent: var(--tone-violet-ink);
  --card-bg-tint: var(--tone-violet-bg);
  --card-ring: var(--tone-violet-ring);
  --card-glow: var(--tone-violet-glow);
}

.topic-group::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), var(--card-glow, rgba(37, 99, 235, 0.06)), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.topic-group:hover::before,
.work-card:hover::before {
  opacity: 1;
}

.topic-group > *,
.work-card > * {
  position: relative;
  z-index: 1;
}

.topic-group:hover {
  background: #ffffff;
  border-color: var(--card-ring);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.topic-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.65rem;
}

.topic-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: var(--card-bg-tint);
  border: 1px solid var(--card-ring);
  color: var(--card-accent);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.topic-group:hover .topic-icon {
  transform: scale(1.06);
}

.topic-group h3 {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.consult-desc {
  color: var(--ink-muted);
  font-size: 0.89rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.topic-chip:hover {
  border-color: var(--card-ring, var(--border-strong));
  color: var(--card-accent, var(--ink));
  background: var(--card-bg-tint, var(--surface-hover));
}

/* Works 3-Column Gallery */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.work-card {
  --card-glow: rgba(37, 99, 235, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.work-card[data-tone="teal"] { --card-glow: var(--tone-teal-glow); }
.work-card[data-tone="blue"] { --card-glow: var(--tone-blue-glow); }
.work-card[data-tone="violet"] { --card-glow: var(--tone-violet-glow); }

.work-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.work-card a.work-main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem 0.85rem;
  border-top: 1px solid #f1f3f6;
  font-size: 0.8rem;
}

.work-foot-link {
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 0.16s ease;
}

.work-foot-link:hover {
  color: var(--ink);
}

.work-foot-live {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 560;
  transition: opacity 0.16s ease;
}

.work-foot-live:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.work-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.work-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-art > img {
  transform: scale(1.035);
}

/* Live 3D Product + Community Launch Stage for AI Growth Circle Card */
.work-art.growth-stage {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(147, 197, 253, 0.56), transparent 52%),
    radial-gradient(circle at 14% 88%, rgba(253, 224, 130, 0.48), transparent 52%),
    linear-gradient(135deg, #f8faff 0%, #e7f0ff 56%, #eef2ff 100%);
  user-select: none;
}

.growth-window {
  width: 72%;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 34px -12px rgba(37, 99, 235, 0.28),
    0 4px 12px -4px rgba(17, 24, 39, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.1);
  transform: perspective(760px) rotateY(-8deg) rotateX(4deg) rotateZ(-1.2deg) translate(2%, -2%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
}

.work-card:hover .growth-window {
  transform: perspective(760px) rotateY(-4deg) rotateX(2deg) rotateZ(-0.4deg) translate(2%, -4%) scale(1.03);
  box-shadow:
    0 22px 40px -12px rgba(37, 99, 235, 0.34),
    0 6px 16px -4px rgba(17, 24, 39, 0.12),
    0 0 0 1px rgba(37, 99, 235, 0.14);
}

.growth-winbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: linear-gradient(180deg, #fafcff 0%, #f1f5fb 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.growth-winbar span {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
}

.growth-winbar span:nth-child(1) { background: #ff5f57; }
.growth-winbar span:nth-child(2) { background: #febc2e; }
.growth-winbar span:nth-child(3) { background: #28c840; }

.growth-winbar em {
  margin-left: auto;
  margin-right: auto;
  padding-right: 14px;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}

.growth-window img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 528;
  object-fit: cover;
}

.g-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 22px -8px rgba(37, 99, 235, 0.24),
    0 2px 6px rgba(17, 24, 39, 0.06);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.g-community {
  top: 10%;
  left: 4.5%;
  z-index: 2;
}

.work-card:hover .g-community {
  transform: translate(-2px, -3px);
}

.g-avatars {
  display: flex;
  align-items: center;
}

.g-avatars img,
.g-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.g-avatars img {
  object-fit: cover;
  background: #eff6ff;
  z-index: 3;
}

.g-av {
  margin-left: -7px;
  display: inline-grid;
  place-items: center;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
}

.g-av svg {
  width: 13px;
  height: 13px;
}

.g-av.a1 {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  z-index: 2;
}

.g-av.a2 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  z-index: 1;
}

.g-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.g-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 640;
  color: #0f172a;
}

.g-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.22);
}

.g-copy small {
  font-size: 8.5px;
  color: #64748b;
  margin-top: 1px;
}

.g-path {
  bottom: 9%;
  left: 5%;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 6px 10px 7px;
  z-index: 2;
}

.work-card:hover .g-path {
  transform: translate(-2px, 2px);
}

.g-path-head {
  font-size: 9.5px;
  font-weight: 620;
  color: #1e3a8a;
  letter-spacing: 0.01em;
}

.g-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  width: 82px;
}

.g-bars i {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
}

.g-bars i.hi {
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.g-badges {
  position: absolute;
  right: 4.5%;
  top: 50%;
  transform: translateY(-48%);
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 2;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .g-badges {
  transform: translateY(-50%) translateX(2px);
}

.g-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 8px 18px -6px rgba(37, 99, 235, 0.22),
    0 2px 5px rgba(15, 23, 42, 0.06);
}

.g-badge svg {
  width: 15px;
  height: 15px;
}

.g-badge.b-blue { color: #2563eb; }
.g-badge.b-amber { color: #d97706; }
.g-badge.b-teal { color: #0d9488; }

.work-arrow {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  opacity: 0;
  transform: translate(-3px, 3px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.work-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.3rem;
}

.work-copy small {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  background: var(--tone-blue-bg);
  color: var(--tone-blue-ink);
  font-size: 0.74rem;
  font-weight: 560;
}

.work-card[data-tone="teal"] .work-copy small {
  background: var(--tone-teal-bg);
  color: var(--tone-teal-ink);
}

.work-card[data-tone="violet"] .work-copy small {
  background: var(--tone-violet-bg);
  color: var(--tone-violet-ink);
}

.work-copy h3 {
  margin-top: 0.52rem;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 610;
  line-height: 1.38;
  letter-spacing: -0.012em;
}

.work-copy p {
  margin-top: 0.48rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.66;
}

/* Articles Editorial List with matching subtle tone tags */
.reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.reading-list li {
  border-bottom: 1px solid var(--border);
}

.reading-list a {
  display: grid;
  grid-template-columns: 4.9rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.35rem 1rem;
  padding: 1.05rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: var(--radius-md);
  transition: background-color 0.16s ease;
}

.reading-list a:hover {
  background: var(--surface);
}

.article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.16rem;
  padding: 0.16rem 0.54rem;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 550;
  white-space: nowrap;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.article-tag[data-tone="amber"] {
  background: var(--tone-amber-bg);
  border-color: var(--tone-amber-ring);
  color: var(--tone-amber-ink);
}

.article-tag[data-tone="blue"] {
  background: var(--tone-blue-bg);
  border-color: var(--tone-blue-ring);
  color: var(--tone-blue-ink);
}

.article-tag[data-tone="teal"] {
  background: var(--tone-teal-bg);
  border-color: var(--tone-teal-ring);
  color: var(--tone-teal-ink);
}

.article-tag[data-tone="violet"] {
  background: var(--tone-violet-bg);
  border-color: var(--tone-violet-ring);
  color: var(--tone-violet-ink);
}

.reading-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.reading-body strong {
  color: var(--ink);
  font-size: 1.01rem;
  font-weight: 580;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.reading-body span {
  color: var(--ink-muted);
  font-size: 0.885rem;
  line-height: 1.62;
}

.reading-arrow {
  margin-top: 0.25rem;
  color: var(--ink-subtle);
  transition: color 0.16s ease, transform 0.16s ease;
}

.reading-list a:hover .reading-arrow {
  color: var(--ink);
  transform: translateX(3px);
}

/* Detail Pages (Work / Article / Consult) */
.detail {
  max-width: 46rem;
  margin: clamp(2rem, 4vw, 3.2rem) auto clamp(3rem, 5vw, 4.5rem);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.back:hover {
  color: var(--ink);
}

.back svg.ico {
  width: 0.92rem;
  height: 0.92rem;
  transition: transform 0.15s ease;
}

.back:hover svg.ico {
  transform: translateX(-2px);
}

.work-meta, .reading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.825rem;
  color: var(--ink-muted);
}

.work-meta strong, .reading-meta strong {
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 550;
}

.detail h1 {
  color: var(--ink);
  font-size: clamp(1.95rem, 3.6vw, 2.55rem);
  font-weight: 680;
  line-height: 1.24;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin-bottom: 1.05rem;
}

.article-head {
  padding-bottom: 1.65rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.885rem;
  font-weight: 560;
}

.author-chip img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
}

.author-chip small {
  color: var(--ink-muted);
  font-weight: 450;
  font-size: 0.82rem;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.source-pill:hover {
  border-color: var(--border-strong);
  background: #ffffff;
  color: var(--ink);
}

.detail .lead {
  color: var(--ink-body);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: -0.25rem 0 1.85rem;
}

.detail .byline, .detail .source {
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
}

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

.detail .source a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.detail h2 {
  position: relative;
  margin: 2.75rem 0 1.05rem;
  padding-bottom: 0.65rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.2vw, 1.52rem);
  font-weight: 650;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.detail h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

/* Glare-Free Comfortable Long-Form Article Reading + PC Two-Column Editorial Rail */
body:has(.reading) {
  background: #f6f7f9;
}

body:has(.reading) .mast-wrap {
  background: rgba(246, 247, 249, 0.88);
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16.5rem;
  gap: 1.85rem;
  align-items: start;
  margin-block: clamp(1.6rem, 3.2vw, 2.5rem) clamp(3rem, 5vw, 4.5rem);
}

.detail.reading {
  max-width: 48rem;
  margin-block: clamp(1.6rem, 3.5vw, 2.75rem) clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.8rem, 4.5vw, 3.25rem) clamp(1.4rem, 5vw, 3.4rem);
  border-radius: var(--radius-xl);
  background: #fcfcfd;
  border: 1px solid #eaedf2;
  box-shadow: 0 4px 20px -12px rgba(17, 24, 39, 0.06);
}

.reading-layout .detail.reading {
  max-width: none;
  margin-block: 0;
  scroll-margin-top: 5rem;
}

.detail.reading h2 {
  scroll-margin-top: 5.2rem;
}

.reading-rail {
  position: sticky;
  top: 5.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.rail-card {
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-lg);
  background: #fcfcfd;
  border: 1px solid #eaedf2;
  box-shadow: 0 2px 12px -8px rgba(17, 24, 39, 0.05);
}

.rail-card h3 {
  margin: 0 0 0.72rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.04em;
}

.rail-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1.5px solid #e6e9ef;
}

.rail-toc li + li {
  margin-top: 0.15rem;
}

.rail-toc a {
  display: block;
  padding: 0.34rem 0 0.34rem 0.82rem;
  margin-left: -1.5px;
  border-left: 2px solid transparent;
  color: var(--ink-muted);
  font-size: 0.83rem;
  line-height: 1.48;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.rail-toc a:hover {
  color: var(--ink);
}

.rail-toc a.active {
  color: var(--accent);
  font-weight: 560;
  border-left-color: var(--accent);
}

.rail-author-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.rail-author-head img {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  object-fit: cover;
  background: #eef4ff;
  border: 1px solid var(--border);
  flex: none;
}

.rail-author-head strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.3;
}

.rail-author-head span {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.rail-cta {
  width: 100%;
  height: 2.25rem;
  margin-top: 0.88rem;
  font-size: 0.82rem;
}

.rail-channels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.72rem;
  padding-top: 0.68rem;
  border-top: 1px solid #eef0f4;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.rail-channels a {
  color: var(--accent);
  font-weight: 540;
  white-space: nowrap;
}

.rail-channels a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rail-more ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.rail-more li a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--ink-body);
  font-size: 0.82rem;
  line-height: 1.46;
  transition: color 0.16s ease;
}

.rail-more li a:hover {
  color: var(--accent);
}

.rail-more li small {
  color: var(--ink-subtle);
  font-size: 0.7rem;
  font-weight: 540;
}

.rail-all {
  display: inline-block;
  margin-top: 0.82rem;
  padding-top: 0.72rem;
  width: 100%;
  border-top: 1px solid #eef0f4;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 520;
  transition: color 0.16s ease;
}

.rail-all:hover {
  color: var(--ink);
}

@media (max-width: 60rem) {
  .reading-layout {
    grid-template-columns: 1fr;
    margin-block: 0;
  }
  .reading-layout .detail.reading {
    max-width: 46rem;
    margin-block: clamp(1.6rem, 3.5vw, 2.5rem) clamp(3rem, 5vw, 4.5rem);
  }
  .reading-rail {
    display: none;
  }
}

.detail.reading h1 {
  font-size: clamp(1.65rem, 3.1vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.detail.reading p {
  color: #2f3542;
  font-size: 1.03rem;
  line-height: 1.94;
  letter-spacing: 0.015em;
}

.detail.reading p + p {
  margin-top: 1.15rem;
}

.detail.reading .timeline-notes li {
  color: #2f3542;
  font-size: 1.01rem;
  line-height: 1.9;
  letter-spacing: 0.012em;
}

.detail.reading h2 {
  margin: 2.85rem 0 1.1rem;
  font-size: clamp(1.24rem, 2vw, 1.42rem);
}

.cursor-orbit.reading-dim {
  opacity: 0 !important;
}

.reading-note {
  margin: 0 0 1.6rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.885rem;
  line-height: 1.7;
}

.page-title {
  margin: clamp(2rem, 4vw, 3rem) 0 2rem;
}

.page-title h1 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 660;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}

.page-title p {
  max-width: 40em;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.reading-group {
  margin: 2.25rem 0;
}

.reading-group h2 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.detail p {
  font-size: 1rem;
  line-height: 1.86;
  color: var(--ink-body);
}

.detail p + p {
  margin-top: 0.9rem;
}

.timeline-notes {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.timeline-notes li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.99rem;
  line-height: 1.84;
  color: var(--ink-body);
}

.timeline-notes li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-subtle);
}

.timeline-notes li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Evidence Figure */
.evidence {
  margin: 1.85rem 0;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.evidence img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.evidence figcaption {
  padding: 0.7rem 0.25rem 0.15rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

/* Consult Blocks */
.consult-block {
  margin-top: 2.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.consult-block h2 {
  margin: 0 0 0.75rem;
  padding-top: 0;
  border-top: 0;
}

.consult-block .topic-tags {
  margin: 0 0 0.95rem;
}

.related-reading {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 520;
}

.related-reading:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Next & Doorbell Callout */
.next-box {
  margin-top: 2.5rem;
}

.doorbell {
  margin-top: 2.75rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.doorbell h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.25rem;
}

.doorbell h2::after {
  display: none;
}

.doorbell p {
  margin-top: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.doorbell .closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding: 1.75rem 0 2.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

footer a {
  color: var(--ink);
  font-weight: 560;
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
}

.footer-link {
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 0.16s ease;
}

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

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-body);
  font-size: 0.825rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.footer-contact:hover {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--ink);
}

/* Dialog */
dialog {
  position: fixed;
  width: min(26rem, 100% - 2rem);
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

dialog h2 {
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.015em;
}

dialog p {
  margin: 0.55rem 0 1.15rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.close {
  display: grid;
  place-items: center;
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.close:hover {
  background: var(--surface);
  color: var(--ink);
}

.wechat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.wechat input {
  flex: 1 1 8rem;
  min-width: 0;
  height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
}

#notice {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

#notice:empty {
  display: none;
}

/* Subtle Orbital Cursor Follower & Click Ripple (fine pointer desktop only) */
.cursor-orbit {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05), transparent 70%);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), height 0.22s cubic-bezier(0.22, 1, 0.36, 1), margin 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background 0.22s ease, opacity 0.2s ease;
}

.cursor-orbit::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 50%;
  width: 4.5px;
  height: 4.5px;
  margin-left: -2.25px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.45);
}

.cursor-orbit.visible {
  opacity: 1;
}

.cursor-orbit.interactive {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-color: rgba(37, 99, 235, 0.46);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09), transparent 72%);
}

.cursor-orbit.tone-amber { border-color: rgba(180, 83, 9, 0.45); }
.cursor-orbit.tone-amber::after { background: var(--tone-amber-ink); box-shadow: 0 0 6px rgba(180, 83, 9, 0.4); }
.cursor-orbit.tone-teal { border-color: rgba(4, 120, 87, 0.45); }
.cursor-orbit.tone-teal::after { background: var(--tone-teal-ink); box-shadow: 0 0 6px rgba(4, 120, 87, 0.4); }
.cursor-orbit.tone-violet { border-color: rgba(109, 40, 217, 0.45); }
.cursor-orbit.tone-violet::after { background: var(--tone-violet-ink); box-shadow: 0 0 6px rgba(109, 40, 217, 0.4); }

.cursor-ripple {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 59;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1.25px solid rgba(37, 99, 235, 0.42);
  pointer-events: none;
  animation: orbit-ripple 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes orbit-ripple {
  from { transform: translate(var(--rx), var(--ry)) scale(0.8); opacity: 0.85; }
  to { transform: translate(var(--rx), var(--ry)) scale(3.4); opacity: 0; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-orbit, .cursor-ripple { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-orbit, .cursor-ripple { display: none !important; }
  .portrait-float, .portrait-shadow, .orbit-star, .nebula-blob, .shooting-star, .live-dot::after, .portrait-trigger img { animation: none !important; }
}

/* Responsive — Tablet */
@media (max-width: 54rem) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 2rem;
  }
}

/* Responsive — Mobile-First Native UX & WeChat-Style Pure Reading (phones only, <=576px) */
@media (max-width: 36rem) {
  .shell {
    width: calc(100% - 2rem);
  }

  /* Compact App-Like Top Bar */
  .mast {
    width: 100%;
    height: 3.25rem;
    padding-inline: 1rem;
    gap: 0.5rem;
  }
  .brand {
    gap: 0.45rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }
  .brand-mark {
    width: 1.72rem;
    height: 1.72rem;
    border-radius: 8px;
  }
  .brand-mark svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  .mast nav {
    gap: 0.08rem;
  }
  .mast nav a {
    padding: 0.34rem 0.54rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Mobile Homepage Hero — Unified Centered Profile Card */
  .hero-stage {
    overflow-x: clip;
  }
  .hero-stage::before {
    inset: -0.5rem -1.25rem 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 0.45rem 1.75rem;
    gap: 0.85rem;
  }
  .portrait-stage {
    order: -1;
    justify-self: center;
    width: min(100%, 17rem);
    padding: 3.15rem 1.15rem 0.2rem;
  }
  .orbit-layer {
    inset: 9% -10% -4%;
    width: 120%;
    height: 98%;
  }
  .portrait-trigger {
    width: 9rem;
    height: 9rem;
  }
  .portrait-shadow {
    width: 5.8rem;
    height: 0.65rem;
    margin-top: 0.4rem;
  }
  .portrait-hint {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    text-align: center;
  }
  .portrait-quote {
    left: 50%;
    top: 0.1rem;
    bottom: auto;
    max-width: min(18.5rem, calc(100vw - 2.4rem));
    padding: 0.48rem 0.84rem;
    border-radius: 18px;
    font-size: 0.79rem;
    line-height: 1.46;
    transform: translate(-50%, 6px) scale(0.92);
    transform-origin: 50% 100%;
  }
  .portrait-quote::before {
    left: 50%;
    top: calc(100% + 4px);
    width: 7px;
    height: 7px;
  }
  .portrait-quote::after {
    left: 52%;
    top: calc(100% + 13px);
    width: 4.5px;
    height: 4.5px;
  }
  .portrait-quote.show {
    transform: translate(-50%, 0) scale(1);
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    order: 1;
    font-size: 1.58rem;
    line-height: 1.24;
    letter-spacing: -0.022em;
  }
  .hero h1 .en-name {
    display: block;
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
  }
  .hero-badges {
    order: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.42rem 0 0;
  }
  .identity {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.8rem;
    font-weight: 480;
    line-height: 1.5;
  }
  .identity::before {
    display: none;
  }
  .live-status {
    padding: 0.24rem 0.72rem;
    font-size: 0.74rem;
    line-height: 1.38;
  }
  .hero-actions {
    order: 3;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
    width: 100%;
  }
  .hero-actions .button {
    width: auto;
    min-width: 7.8rem;
    height: 2.55rem;
    padding: 0 1.25rem;
    font-size: 0.88rem;
  }
  .hero-actions .button.primary {
    box-shadow: 0 10px 22px -10px rgba(17, 24, 39, 0.35);
  }
  .hero-channels {
    order: 3;
    margin-top: 0.65rem;
    font-size: 0.78rem;
  }
  .hero .lead {
    order: 4;
    width: 100%;
    text-align: left;
    margin-top: 0.55rem;
    font-size: 0.89rem;
    line-height: 1.74;
    color: #4b5563;
  }
  .hero h1 + .lead {
    margin-top: 1.3rem;
    padding-top: 1.1rem;
    border-top: 1px solid #f0f1f4;
  }
  .hero .lead + .lead {
    margin-top: 0.5rem;
  }

  /* Mobile Sections, Grouped Native Consultation List & Swipeable Works Carousel */
  .section {
    padding-block: 1.65rem;
  }
  .section-head {
    margin-bottom: 0.95rem;
  }
  .section-head h2 {
    font-size: 1.18rem;
  }
  .section-link {
    font-size: 0.8rem;
  }
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px -6px rgba(17, 24, 39, 0.05);
  }
  .topic-group {
    padding: 0.95rem 1rem;
    border: 0;
    border-bottom: 1px solid #f1f3f6;
    border-radius: 0;
    background: #ffffff;
    transform: none !important;
    box-shadow: none !important;
  }
  .topic-group:last-child {
    border-bottom: 0;
  }
  .topic-head {
    gap: 0.58rem;
    margin-bottom: 0.38rem;
  }
  .topic-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 8px;
  }
  .topic-icon svg.ico {
    width: 0.92rem;
    height: 0.92rem;
  }
  .topic-group h3 {
    font-size: 0.95rem;
  }
  .consult-desc {
    font-size: 0.82rem;
    line-height: 1.56;
    margin-bottom: 0.62rem;
  }
  .topic-tags {
    flex-wrap: wrap;
    gap: 0.36rem;
  }
  .topic-chip {
    padding: 0.22rem 0.56rem;
    font-size: 0.74rem;
    background: #f8f9fb;
    border-color: #eaedf2;
    white-space: nowrap;
  }
  #works .section-head::after {
    content: "左右滑动 →";
    font-size: 0.75rem;
    font-weight: 450;
    color: var(--ink-subtle);
  }
  .works-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    margin-inline: -1rem;
    padding: 0.1rem 1rem 0.5rem;
  }
  .works-grid::-webkit-scrollbar {
    display: none;
  }
  .work-card {
    flex: 0 0 71%;
    scroll-snap-align: start;
    border-radius: 14px;
    box-shadow: 0 6px 18px -10px rgba(17, 24, 39, 0.12);
  }
  .work-art {
    aspect-ratio: 16 / 9;
  }
  .work-copy {
    padding: 0.72rem 0.85rem 0.78rem;
  }
  .work-foot {
    padding: 0.56rem 0.85rem 0.65rem;
    font-size: 0.74rem;
  }
  .work-foot-live {
    font-size: 0.71rem;
  }
  .work-copy small {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
  }
  .work-copy h3 {
    font-size: 0.94rem;
    margin-top: 0.32rem;
    line-height: 1.35;
  }
  .work-copy p {
    font-size: 0.79rem;
    line-height: 1.52;
    margin-top: 0.28rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .growth-window {
    width: 68%;
    border-radius: 8px;
  }
  .growth-winbar {
    padding: 3px 6px;
    gap: 3px;
  }
  .growth-winbar span {
    width: 4.5px;
    height: 4.5px;
  }
  .growth-winbar em {
    font-size: 7.5px;
    padding-right: 10px;
  }
  .g-chip {
    padding: 3.5px 6px;
    gap: 4px;
    border-radius: 7px;
  }
  .g-avatars img, .g-av {
    width: 15px;
    height: 15px;
  }
  .g-av {
    margin-left: -5px;
  }
  .g-av svg {
    width: 9px;
    height: 9px;
  }
  .g-copy strong {
    font-size: 8px;
  }
  .g-dot {
    width: 4.5px;
    height: 4.5px;
  }
  .g-copy small {
    font-size: 6.8px;
  }
  .g-path {
    gap: 3px;
    padding: 4px 6px 5px;
  }
  .g-path-head {
    font-size: 7.2px;
  }
  .g-bars {
    width: 52px;
    height: 11px;
    gap: 3px;
  }
  .g-badges {
    gap: 5px;
  }
  .g-badge {
    width: 21px;
    height: 21px;
    border-radius: 6px;
  }
  .g-badge svg {
    width: 11px;
    height: 11px;
  }
  .reading-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.36rem;
    padding: 0.92rem 0;
    margin-inline: 0;
    border-radius: 0;
  }
  .reading-list a:hover {
    background: transparent;
  }
  .article-tag {
    justify-self: start;
    margin-top: 0;
    font-size: 0.71rem;
    padding: 0.12rem 0.46rem;
  }
  .reading-body strong {
    font-size: 0.96rem;
    line-height: 1.44;
  }
  .reading-body span {
    font-size: 0.83rem;
    line-height: 1.56;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .reading-arrow {
    display: none;
  }

  /* Pure WeChat Official Account Style Mobile Reading (.detail.reading) */
  body:has(.reading) {
    background: #ffffff;
  }
  body:has(.reading) .mast-wrap {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: #f0f1f4;
  }
  .shell:has(.reading) {
    width: 100%;
  }
  .detail.reading,
  .reading-layout .detail.reading {
    max-width: 100%;
    margin: 0;
    padding: 1.15rem 1.25rem 2.5rem;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .detail.reading .back {
    margin-bottom: 0.9rem;
    font-size: 0.81rem;
    color: #8c939d;
  }
  .detail.reading .article-head {
    padding-bottom: 1.05rem;
    margin-bottom: 1.45rem;
    border-bottom: 1px solid #f0f1f4;
  }
  .detail.reading .reading-meta {
    gap: 0.4rem 0.55rem;
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    color: #8c939d;
  }
  .detail.reading .reading-meta > span:not(.article-tag) {
    display: none;
  }
  .detail.reading h1 {
    font-size: 1.42rem;
    font-weight: 660;
    line-height: 1.42;
    letter-spacing: -0.012em;
    color: #191919;
    text-wrap: pretty;
    margin-bottom: 0.7rem;
  }
  .detail.reading .article-byline {
    margin-top: 0.65rem;
    gap: 0.45rem 0.75rem;
    align-items: center;
  }
  .detail.reading .author-chip {
    gap: 0.42rem;
    font-size: 0.84rem;
    color: #3f4652;
    font-weight: 540;
  }
  .detail.reading .author-chip img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .detail.reading .author-chip small {
    font-size: 0.78rem;
    color: #8c939d;
  }
  .detail.reading .source-pill {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #576b95;
    font-size: 0.81rem;
    font-weight: 500;
  }
  .detail.reading .source-pill:hover {
    background: transparent;
    color: #2563eb;
  }
  .detail.reading .reading-note {
    margin: 0 0 1.25rem;
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    background: #f7f8fa;
    border: 0;
    border-left: 3px solid #d5dbe6;
    font-size: 0.85rem;
    line-height: 1.68;
  }
  .detail.reading p {
    color: #2c313a;
    font-size: 1.03rem;
    line-height: 1.88;
    letter-spacing: 0.025em;
  }
  .detail.reading p + p {
    margin-top: 1.15rem;
  }
  .detail.reading h2 {
    margin: 2rem 0 0.85rem;
    padding-bottom: 0.4rem;
    font-size: 1.14rem;
    font-weight: 650;
    line-height: 1.42;
    color: #191919;
  }
  .detail.reading h2::after {
    width: 1.45rem;
    height: 2px;
  }
  .detail.reading .timeline-notes {
    gap: 0.7rem;
    margin-top: 0.8rem;
  }
  .detail.reading .timeline-notes li {
    padding-left: 1.05rem;
    font-size: 1rem;
    line-height: 1.84;
    letter-spacing: 0.02em;
    color: #2c313a;
  }
  .detail.reading .timeline-notes li::before {
    left: 0.1rem;
    top: 0.7rem;
  }
  body:has(.reading) footer {
    margin-top: 0;
    padding: 1.35rem 1.25rem 2.25rem;
    border-top-color: #f0f1f4;
  }

  /* Work Detail, Consult & Article Index Pages on Mobile */
  .detail {
    margin: 1.15rem auto 2.5rem;
  }
  .back {
    margin-bottom: 1rem;
    font-size: 0.84rem;
  }
  .detail h1 {
    font-size: 1.52rem;
    line-height: 1.32;
    margin-bottom: 0.85rem;
  }
  .detail .lead {
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
  }
  .detail h2 {
    margin: 2rem 0 0.85rem;
    font-size: 1.18rem;
  }
  .detail p {
    font-size: 0.96rem;
    line-height: 1.82;
  }
  .evidence {
    margin: 1.35rem 0;
    padding: 0.45rem;
    border-radius: 12px;
  }
  .evidence figcaption {
    font-size: 0.8rem;
    padding: 0.55rem 0.25rem 0.15rem;
  }
  .page-title {
    margin: 1.25rem 0 1.4rem;
  }
  .page-title h1 {
    font-size: 1.55rem;
  }
  .page-title p {
    font-size: 0.92rem;
  }
  .reading-group {
    margin: 1.65rem 0;
  }
  .consult-block {
    margin-top: 1.65rem;
    padding-top: 1.35rem;
  }
  .doorbell {
    margin-top: 2.15rem;
    padding: 1.2rem 1.1rem;
    border-radius: 14px;
    background: #f7f8fa;
    border-color: #eef0f4;
  }
  .doorbell h2 {
    font-size: 1.08rem;
  }
  .doorbell p {
    font-size: 0.9rem;
    line-height: 1.72;
  }
  .doorbell .closing {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .doorbell .closing .button {
    width: 100%;
    height: 2.75rem;
  }

  /* Mobile Footer & Native iOS Bottom-Sheet Contact Dialog */
  footer {
    justify-content: space-between;
    padding: 1.35rem 0 2.25rem;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
  }
  footer span {
    display: none;
  }
  .footer-meta {
    gap: 0.6rem;
  }
  dialog {
    inset: auto 0 0 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 1.65rem 1.35rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 24px 24px 0 0;
    background: #ffffff;
    box-shadow: 0 -16px 44px -10px rgba(17, 24, 39, 0.2);
  }
  dialog[open] {
    animation: sheet-up 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  dialog::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 50%;
    width: 2.35rem;
    height: 4px;
    border-radius: 999px;
    background: #dfe3eb;
    transform: translateX(-50%);
  }
  dialog::backdrop {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  dialog h2 {
    font-size: 1.18rem;
    font-weight: 660;
    text-align: center;
    color: var(--ink);
  }
  dialog p {
    margin: 0.45rem 0 1.2rem;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--ink-muted);
  }
  .close {
    right: 1rem;
    top: 1.1rem;
    width: 1.9rem;
    height: 1.9rem;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.85rem;
  }
  .wechat {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .wechat input {
    flex: none;
    width: 100%;
    height: 3.1rem;
    border-radius: 14px;
    border: 1px solid #e5eaf2;
    background: #f5f7fb;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 660;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .wechat .button {
    width: 100%;
    height: 3rem;
    border-radius: 14px;
    font-size: 0.94rem;
    font-weight: 560;
  }
  #notice {
    left: 50%;
    right: auto;
    bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
