
	    @font-face {
	      font-family: "OPPO Sans";
	      src: url("./assets/fonts/OPPOSans-Regular.woff2") format("woff2");
	      font-display: swap;
	      font-style: normal;
	      font-weight: 400 500;
	    }

	    @font-face {
	      font-family: "OPPO Sans";
	      src: url("./assets/fonts/OPPOSans-Medium.woff2") format("woff2");
	      font-display: swap;
	      font-style: normal;
	      font-weight: 600 800;
	    }

	    @font-face {
	      font-family: "OPPO Sans";
	      src: url("./assets/fonts/OPPOSans-Bold.ttf") format("truetype");
	      font-display: swap;
	      font-style: normal;
	      font-weight: 900 950;
	    }

	    :root {
	      color-scheme: dark;
	      --bg: #030303;
	      --ink: #f8f8f4;
	      --muted: rgba(248, 248, 244, 0.58);
	      --soft: rgba(248, 248, 244, 0.78);
	      --line: rgba(248, 248, 244, 0.16);
	      --panel: rgba(255, 255, 255, 0.045);
	      --panel-strong: rgba(255, 255, 255, 0.075);
	      --accent: #d6ff4d;
	      --warm: #ff6b4a;
	      --blue: #54d6ff;
	      --heat: var(--warm);
	      --cell: 18px;
	      --font-main: "OPPO Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	      --font-display: var(--font-main);
	      --font-body: var(--font-main);
	      --font-serif: var(--font-main);
	      --font-mono: var(--font-main);
        --topbar-height: 58px;
	    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--topbar-height);
    }

    html,
    body {
      margin: 0;
      min-height: 100%;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font-body);
      text-rendering: geometricPrecision;
    }

    body {
      overflow-x: hidden;
    }

    a {
      color: inherit;
    }

    .grain,
    .grid-field,
    .sprouts {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .grain {
      opacity: 0.3;
      mix-blend-mode: normal;
      background-image:
        radial-gradient(circle, rgba(248,248,244,0.08) 0 0.8px, transparent 1.15px),
        radial-gradient(circle, rgba(248,248,244,0.045) 0 0.7px, transparent 1.05px);
      background-size: 12px 12px, 28px 28px;
      background-position: 0 0, 7px 9px;
    }

    .grid-field {
      opacity: 0.34;
      background-image:
        radial-gradient(circle, rgba(248,248,244,0.07) 0 0.9px, transparent 1.2px);
      background-size: var(--cell) var(--cell);
      background-position: 2px 3px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.56) 62%, transparent 100%);
    }

    .sprouts {
      opacity: 0.14;
      background-image:
        radial-gradient(circle, rgba(214,255,77,0.36) 0 1px, transparent 1.45px),
        radial-gradient(circle, rgba(84,214,255,0.26) 0 1px, transparent 1.45px);
      background-size: 72px 72px, 120px 120px;
      background-position: 18px 22px, 44px 58px;
      mask-image: radial-gradient(circle at 50% 18%, black, transparent 76%);
    }

    .page {
      position: relative;
      z-index: 1;
      width: min(1540px, calc(100vw - 88px));
      margin: 0 auto;
      padding: 0 0 96px;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 12px 0;
      background: linear-gradient(180deg, rgba(3,3,3,0.96), rgba(3,3,3,0.72));
      backdrop-filter: blur(14px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font: 800 13px/1 var(--font-display);
      text-shadow: 1px 0 rgba(84,214,255,0.2), -1px 0 rgba(255,107,74,0.14);
    }

    .brand-mark {
      width: 18px;
      height: 18px;
      image-rendering: pixelated;
      background:
        linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px, var(--warm) 12px),
        linear-gradient(var(--warm) 0 6px, transparent 6px 12px, var(--accent) 12px);
      box-shadow: 0 0 22px rgba(214,255,77,0.22);
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .nav a,
    button {
      min-height: 31px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      color: rgba(248, 248, 244, 0.72);
      padding: 0 13px;
      font: 700 12px/31px var(--font-display);
      letter-spacing: 0;
      text-decoration: none;
      cursor: pointer;
    }

    .nav a:hover,
    button:hover {
      border-color: rgba(214, 255, 77, 0.54);
      color: var(--ink);
    }

    .nav a,
    .hero-links a,
    .plot,
    .book,
    .poster,
    .project,
    .contact-card,
    .tag {
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
    }

    button.is-active,
    .nav a.is-active {
      color: #050505;
      background: var(--accent);
      border-color: var(--accent);
    }

    /* 菜单栏：极简下划线风（只作用于顶部导航，不影响其它按钮/筛选） */
    .topbar {
      padding: 14px 0 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav {
      gap: 24px;
      align-items: center;
    }
    .nav a {
      min-height: auto;
      border: none;
      background: transparent;
      border-radius: 0;
      padding: 2px 0 6px;
      color: rgba(248, 248, 244, 0.5);
      font: 600 13px/1.2 var(--font-display);
      letter-spacing: 0.14em;
      position: relative;
    }
    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1.5px;
      background: currentColor;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
    }
    .nav a:hover {
      background: transparent;
      border-color: transparent;
      color: rgba(248, 248, 244, 0.92);
    }
    .nav a:hover::after {
      transform: scaleX(1);
    }
    .nav a.is-active {
      background: transparent;
      border-color: transparent;
      color: var(--accent);
    }
    .nav a.is-active::after {
      transform: scaleX(1);
      background: var(--accent);
    }

    .hero {
      min-height: calc(100dvh - var(--topbar-height));
      position: relative;
      display: grid;
      place-items: center;
      padding: 34px 0 30px;
      overflow: hidden;
    }

    .hero-copy {
      position: relative;
      z-index: 20;
      max-width: 860px;
      text-align: center;
      pointer-events: none;
    }

    .hero-copy .hero-links,
    .hero-copy a {
      pointer-events: auto;
    }

    .kicker {
      margin: 0 0 18px;
      font: 800 13px/1.2 var(--font-display);
      color: var(--accent);
      text-shadow: 1px 0 rgba(84,214,255,0.22), -1px 0 rgba(255,107,74,0.14);
    }

    h1 {
      margin: 0;
      font: 900 clamp(50px, 7.1vw, 114px)/0.94 var(--font-display);
      letter-spacing: 0;
      text-wrap: balance;
      text-shadow:
        1px 0 rgba(84,214,255,0.34),
        -1px 0 rgba(255,107,74,0.22),
        0 0 1px rgba(214,255,77,0.42),
        0 0 20px rgba(84,214,255,0.12);
    }

    .subtitle {
      max-width: 620px;
      margin: 20px auto 0;
      color: var(--soft);
      font: 600 16px/1.8 var(--font-body);
    }

    .quote {
      max-width: 620px;
      margin: 22px auto 0;
      color: rgba(248,248,244,0.66);
      font: 700 14px/1.8 var(--font-serif);
    }

    .hero-links {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      justify-content: center;
      margin-top: 28px;
    }

    .hero-links a {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: rgba(248,248,244,0.75);
      text-decoration: none;
      font: 700 12px/1 var(--font-display);
      background: rgba(255,255,255,0.04);
    }

    .hero-links a:first-child {
      background: var(--accent);
      color: #050505;
      border-color: var(--accent);
    }

    .hero-links a:hover {
      transform: translateY(-2px);
      border-color: rgba(214, 255, 77, 0.62);
      color: var(--ink);
      box-shadow: 0 8px 24px rgba(214, 255, 77, 0.12);
    }

    .hero-links a:first-child:hover {
      color: #050505;
      box-shadow: 0 12px 30px rgba(214, 255, 77, 0.2);
    }

    .hero-scatter {
      position: absolute;
      inset: 16px 0 20px;
      z-index: 2;
      pointer-events: none;
    }

    .hero-object {
      --hero-x: 50%;
      --hero-y: 50%;
      --hero-w: 96px;
      --hero-rotate: 0deg;
      position: absolute;
      left: var(--hero-x);
      top: var(--hero-y);
      width: var(--hero-w);
      transform: translate(-50%, -50%) rotate(var(--hero-rotate));
      display: grid;
      gap: 6px;
      color: inherit;
      text-decoration: none;
      pointer-events: auto;
      filter: drop-shadow(0 16px 22px rgba(0,0,0,0.35));
      transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
    }

    .hero-object:hover {
      transform: translate(-50%, -54%) rotate(calc(var(--hero-rotate) * 0.72)) scale(1.035);
      filter: drop-shadow(0 20px 30px rgba(0,0,0,0.46));
    }

    .hero-object img {
      display: block;
      width: 100%;
      aspect-ratio: var(--hero-ratio, 1 / 1.32);
      object-fit: cover;
      border: 1px solid rgba(248,248,244,0.16);
      border-radius: 3px;
      background: rgba(255,255,255,0.08);
    }

    .hero-object[data-kind="music"] img {
      aspect-ratio: 1;
    }

    .hero-object[data-kind="music"].is-disc img {
      border-radius: 999px;
      box-shadow: inset 0 0 0 18px rgba(0,0,0,0.26);
    }

    .hero-object-label {
      justify-self: center;
      max-width: min(150px, calc(var(--hero-w) + 28px));
      padding: 3px 6px;
      border: 1px solid rgba(248,248,244,0.08);
      border-radius: 999px;
      color: rgba(248,248,244,0.58);
      background: rgba(3,3,3,0.48);
      backdrop-filter: blur(8px);
      font: 760 9px/1.25 var(--font-body);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .hero-object:hover .hero-object-label {
      opacity: 1;
      transform: translateY(-1px);
    }

    .hero-floating-note {
      position: absolute;
      padding: 8px 9px;
      border: 1px solid rgba(248,248,244,0.1);
      border-radius: 3px;
      color: rgba(5,5,5,0.76);
      background: rgba(248,248,244,0.74);
      box-shadow: 0 14px 20px rgba(0,0,0,0.2);
      font: 850 9px/1 var(--font-body);
      letter-spacing: 0.04em;
      transform: rotate(var(--note-rotate, -2deg));
      pointer-events: none;
    }

    .hero-stories {
      display: grid;
      gap: 0;
      margin: 0;
    }

    .story-panel {
      --story-accent: var(--accent);
      position: relative;
      min-height: calc(100dvh - var(--topbar-height));
      display: grid;
      place-items: center;
      overflow: hidden;
      border-top: 1px solid rgba(248,248,244,0.11);
      border-bottom: 1px solid rgba(248,248,244,0.11);
      isolation: isolate;
      scroll-margin-top: var(--topbar-height);
    }

    .story-panel::before {
      content: "";
      position: absolute;
      inset: 8px 0;
      z-index: -2;
      background:
        linear-gradient(90deg, rgba(248,248,244,0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(248,248,244,0.028) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: radial-gradient(circle at 50% 50%, black 0 54%, transparent 78%);
      opacity: 0.64;
    }

    .story-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at var(--story-glow-x, 72%) var(--story-glow-y, 28%), color-mix(in srgb, var(--story-accent) 24%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.72));
      opacity: 0.7;
      pointer-events: none;
    }

    .story-copy {
      position: relative;
      z-index: 12;
      width: min(860px, 92vw);
      text-align: center;
      pointer-events: none;
    }

    .story-index {
      position: absolute;
      left: 0;
      top: 22px;
      z-index: 14;
      color: rgba(248,248,244,0.46);
      font: 850 10px/1 var(--font-display);
      letter-spacing: 0.04em;
      writing-mode: vertical-rl;
      text-orientation: mixed;
    }

    .story-copy .kicker {
      color: var(--story-accent);
    }

    .story-copy h2 {
      margin: 0;
      font-size: clamp(52px, 8.2vw, 132px);
      line-height: 0.86;
      text-shadow:
        1px 0 rgba(84,214,255,0.24),
        -1px 0 rgba(255,107,74,0.2),
        0 18px 48px rgba(0,0,0,0.34);
    }

    .story-copy p:not(.kicker) {
      max-width: 580px;
      margin: 22px auto 0;
      color: rgba(248,248,244,0.72);
      font: 650 15px/1.8 var(--font-body);
    }

    .story-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      margin-top: 28px;
      padding: 0 16px;
      border: 1px solid color-mix(in srgb, var(--story-accent) 62%, rgba(248,248,244,0.2));
      border-radius: 999px;
      color: #050505;
      background: var(--story-accent);
      text-decoration: none;
      font: 850 12px/1 var(--font-display);
      pointer-events: auto;
      box-shadow: 0 16px 36px color-mix(in srgb, var(--story-accent) 18%, transparent);
    }

    .story-field {
      position: absolute;
      inset: 0;
      z-index: 4;
      pointer-events: none;
    }

    .story-object {
      --story-x: 50%;
      --story-y: 50%;
      --story-w: 120px;
      --story-rotate: 0deg;
      position: absolute;
      left: var(--story-x);
      top: var(--story-y);
      width: var(--story-w);
      transform: translate(-50%, -50%) rotate(var(--story-rotate));
      display: grid;
      gap: 7px;
      color: inherit;
      text-decoration: none;
      pointer-events: auto;
      filter: drop-shadow(0 24px 28px rgba(0,0,0,0.42));
      transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
    }

    .story-object:hover {
      transform: translate(-50%, -55%) rotate(calc(var(--story-rotate) * 0.62)) scale(1.045);
      filter: drop-shadow(0 28px 40px rgba(0,0,0,0.55));
    }

    .story-object img {
      display: block;
      width: 100%;
      aspect-ratio: var(--story-ratio, 1 / 1.34);
      object-fit: cover;
      border: 1px solid rgba(248,248,244,0.18);
      border-radius: 4px;
      background: rgba(255,255,255,0.08);
    }

    .story-object[data-kind="music"] img {
      aspect-ratio: 1;
    }

    .story-label {
      justify-self: center;
      max-width: calc(var(--story-w) + 34px);
      padding: 4px 7px;
      border: 1px solid rgba(248,248,244,0.1);
      border-radius: 999px;
      color: rgba(248,248,244,0.68);
      background: rgba(3,3,3,0.52);
      backdrop-filter: blur(10px);
      font: 800 9px/1.2 var(--font-body);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0;
      transform: translateY(-2px);
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .story-object:hover .story-label {
      opacity: 1;
      transform: translateY(0);
    }

    .garden {
      display: grid;
      grid-template-columns: repeat(9, 1fr);
      grid-auto-rows: 44px;
      gap: 8px;
      padding: 10px;
      border: 1px solid rgba(248,248,244,0.15);
      background: rgba(255,255,255,0.035);
      box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    }

    .plot {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(248,248,244,0.13);
      background: rgba(255,255,255,0.04);
      image-rendering: pixelated;
    }

    .plot::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(90deg, rgba(0,0,0,0.28) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.24) 1px, transparent 1px);
      background-size: 8px 8px;
      mix-blend-mode: multiply;
      opacity: 0.58;
    }

    .plot::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(214,255,77,0.18), transparent 48%, rgba(255,107,74,0.16));
      opacity: 0;
      transition: opacity 180ms ease;
      z-index: 1;
      pointer-events: none;
    }

    .plot.cover {
      grid-column: span 3;
      grid-row: span 4;
    }

    .plot.cover img,
    .project-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .plot.metric {
      grid-column: span 3;
      grid-row: span 2;
      display: grid;
      align-content: center;
      padding: 14px;
    }

    .plot.metric b {
      display: block;
      font: 950 32px/1 var(--font-body);
      color: var(--ink);
    }

    .plot.metric span {
      margin-top: 6px;
      color: var(--muted);
      font: 800 12px/1.2 var(--font-body);
    }

    .plot.seed {
      min-height: 44px;
    }

    .plot.seed:nth-child(4n) {
      background: rgba(214,255,77,0.18);
    }

    .plot.seed:nth-child(5n) {
      background: rgba(255,107,74,0.18);
    }

    .plot.seed:nth-child(7n) {
      background: rgba(84,214,255,0.14);
    }

    .garden:hover .plot {
      opacity: 0.78;
    }

    .garden:hover .plot:hover {
      opacity: 1;
      transform: translateY(-2px) scale(1.02);
      border-color: rgba(214,255,77,0.36);
      box-shadow: 0 12px 26px rgba(0,0,0,0.24);
    }

    .garden:hover .plot:hover::before {
      opacity: 1;
    }

    .section {
      padding: 62px 0 16px;
      scroll-margin-top: 118px;
      content-visibility: auto;
      contain-intrinsic-size: 820px;
    }

    /* 想读/想看 tab + 松散自由流 */
    .wish-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 16px 0 2px;
    }
    .wish-tabs button {
      font: inherit;
      cursor: pointer;
      padding: 5px 15px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: transparent;
      color: inherit;
      opacity: 0.62;
      transition: opacity 0.18s ease, border-color 0.18s ease;
    }
    .wish-tabs button:hover { opacity: 0.85; }
    .wish-tabs button.is-active {
      opacity: 1;
      font-weight: 600;
      border-color: currentColor;
    }
    .wish-flow {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 26px 30px;
      padding: 26px 6px 44px;
    }
    .wish-flow > * {
      flex: 0 0 auto;
      width: 128px;
      transition: transform 0.2s ease;
    }
    .wish-flow > *:nth-child(3n+1) { transform: rotate(-2.2deg) translateY(10px); }
    .wish-flow > *:nth-child(3n+2) { transform: rotate(1.6deg) translateY(-6px); }
    .wish-flow > *:nth-child(4n) { transform: rotate(-1deg) translateY(16px); }
    .wish-flow > *:hover { transform: translateY(-4px) rotate(0deg); }
    .wish-flow .wish-empty {
      width: 100%;
      opacity: 0.6;
      padding: 24px 0;
    }
    @media (max-width: 600px) {
      .wish-flow > * { width: 96px; }
      .wish-flow { gap: 18px 20px; }
    }

    .snap-section {
      scroll-margin-top: var(--topbar-height);
    }

    .section.snap-section {
      min-height: calc(100dvh - var(--topbar-height));
      display: grid;
      align-content: center;
    }

    body:not(.is-detail-route) .library-section {
      display: none;
    }

    @media (prefers-reduced-motion: no-preference) {
      .snap-section {
        transition:
          opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
          transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
          filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, opacity, filter;
      }

      body.has-scroll-motion .snap-section:not(.is-inview) {
        opacity: 0.58;
        transform: translateY(34px) scale(0.985);
        filter: blur(1.4px);
      }

      body.has-scroll-motion .story-copy,
      body.has-scroll-motion .section.snap-section .section-head,
      body.has-scroll-motion .project,
      body.has-scroll-motion .contact-card {
        transition:
          opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
          transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      body.has-scroll-motion .snap-section:not(.is-inview) .story-copy,
      body.has-scroll-motion .section.snap-section:not(.is-inview) .section-head,
      body.has-scroll-motion .section.snap-section:not(.is-inview) .project,
      body.has-scroll-motion .section.snap-section:not(.is-inview) .contact-card {
        opacity: 0;
        transform: translateY(22px);
      }

      body.has-scroll-motion .story-object,
      body.has-scroll-motion .hero-object {
        transition:
          opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
          transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
          filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      body.has-scroll-motion .snap-section:not(.is-inview) .story-object,
      body.has-scroll-motion .snap-section:not(.is-inview) .hero-object {
        opacity: 0.38;
        transform: translate(-50%, -42%) rotate(var(--story-rotate, var(--hero-rotate, 0deg))) scale(0.92);
      }
    }

    body.is-detail-route .hero,
    body.is-detail-route .hero-stories,
    body.is-detail-route .section,
    body.is-detail-route .footer {
      display: none;
    }

    body[data-route="reading-detail"] #reading,
    body[data-route="movies-detail"] #movies,
    body[data-route="music-detail"] #music {
      display: block;
      content-visibility: visible;
      contain-intrinsic-size: auto;
      padding-top: 46px;
    }

    body.is-detail-route .topbar {
      position: sticky;
      top: 0;
      background: rgba(3,3,3,0.92);
      backdrop-filter: blur(14px);
      z-index: 20;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      align-items: end;
      gap: 28px;
      margin-bottom: 22px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    h2 {
      margin: 0;
      font: 800 clamp(28px, 3.6vw, 52px)/1 var(--font-display);
      letter-spacing: 0;
      text-shadow:
        1px 0 rgba(84,214,255,0.28),
        -1px 0 rgba(255,107,74,0.16),
        0 0 16px rgba(84,214,255,0.1);
    }

    .section-copy {
      margin: 12px 0 0;
      color: var(--muted);
      font: 600 14px/1.75 var(--font-body);
    }

    .controls {
      display: grid;
      gap: 10px;
      min-width: 0;
    }

    .section-head .controls {
      display: none;
    }

    .detail-route-actions {
      display: none;
      margin-top: 18px;
    }

    body.is-detail-route .detail-route-actions {
      display: flex;
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 13px;
      border: 1px solid rgba(248,248,244,0.16);
      border-radius: 0;
      background: rgba(255,255,255,0.03);
      color: rgba(248,248,244,0.76);
      text-decoration: none;
      font: 700 12px/1 var(--font-display);
    }

    .back-link:hover {
      color: var(--ink);
      border-color: rgba(248,248,244,0.28);
      background: rgba(255,255,255,0.055);
    }

    .search {
      position: relative;
      min-width: 0;
    }

    .search svg {
      position: absolute;
      top: 50%;
      left: 16px;
      width: 18px;
      height: 18px;
      transform: translateY(-50%);
      color: rgba(248, 248, 244, 0.68);
      pointer-events: none;
    }

    input {
      width: 100%;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: rgba(0, 0, 0, 0.36);
      color: var(--ink);
      padding: 0 16px 0 46px;
      font: 600 15px/1 var(--font-body);
      outline: none;
      letter-spacing: 0;
    }

    input::placeholder {
      color: rgba(248, 248, 244, 0.42);
    }

    input:focus {
      border-color: rgba(214, 255, 77, 0.54);
      box-shadow: 0 0 0 3px rgba(214, 255, 77, 0.09);
    }

    .pills,
    .filters,
    .subfilters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }

    .filter-stack {
      display: grid;
      gap: 8px;
    }

    .filter-row {
      display: flex;
      align-items: flex-start;
      justify-content: flex-end;
      gap: 10px;
    }

    .filter-label {
      min-height: 31px;
      padding-top: 8px;
      color: rgba(248,248,244,0.5);
      font: 800 11px/1 var(--font-body);
      white-space: nowrap;
    }

    .subfilters {
      flex: 1;
      max-height: 76px;
      overflow: auto;
      padding-bottom: 2px;
    }

    .subfilters button {
      border-radius: 6px;
      color: rgba(248,248,244,0.66);
      background: rgba(214,255,77,0.045);
    }

    .stats {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin: 0 0 16px;
      color: var(--muted);
      font: 700 12px/1.35 var(--font-body);
    }

    /* 隐藏书/影/音详情页的统计条 */
    .library-section .stats {
      display: none;
    }

    .stats b {
      color: var(--ink);
      font-weight: 950;
    }

    .wall,
    .poster-wall,
    .music-wall {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 9px;
      align-items: start;
    }

    .wall.is-grouped,
    .poster-wall.is-grouped,
    .music-wall.is-grouped {
      display: block;
    }

    .group-list {
      display: grid;
      gap: 22px;
    }

    .group {
      display: grid;
      gap: 11px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }

    .group-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .group-title {
      margin: 0;
      font: 800 16px/1.2 var(--font-display);
      color: var(--ink);
    }

    .group-count {
      color: var(--muted);
      font: 700 12px/1.2 var(--font-body);
      white-space: nowrap;
    }

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

    .wall.is-curated,
    .poster-wall.is-curated,
    .music-wall.is-curated {
      display: block;
    }

    .curated-group-list {
      display: grid;
      gap: 26px;
    }

    .curated-group {
      display: grid;
      gap: 11px;
      padding-top: 16px;
      border-top: 1px solid rgba(248, 248, 244, 0.1);
    }

    .curated-group:first-child {
      padding-top: 0;
      border-top: 0;
    }

    .curated-group-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 16px;
    }

    .curated-group-title {
      margin: 0;
      color: var(--ink);
      font: 800 17px/1.18 var(--font-display);
    }

    .curated-group-copy {
      max-width: 70ch;
      margin: 6px 0 0;
      color: rgba(248,248,244,0.58);
      font: 720 12px/1.7 var(--font-body);
    }

    .curated-group-count {
      color: rgba(248,248,244,0.4);
      font: 850 11px/1 var(--font-body);
      white-space: nowrap;
    }

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

    .curated-full-button {
      width: 100%;
      min-height: 46px;
      margin-top: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 0;
      border: 1px solid rgba(248,248,244,0.11);
      background: rgba(255,255,255,0.025);
      color: rgba(248,248,244,0.75);
      font: 900 12px/1 var(--font-body);
      text-decoration: none;
      cursor: pointer;
      transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
    }

    .curated-full-button:hover {
      border-color: rgba(248,248,244,0.22);
      background: rgba(255,255,255,0.045);
      color: rgba(248,248,244,0.92);
    }

    .subgroup-list {
      display: grid;
      gap: 16px;
    }

    .subgroup {
      display: grid;
      gap: 10px;
    }

    .subgroup + .subgroup {
      padding-top: 12px;
      border-top: 1px solid rgba(248,248,244,0.08);
    }

    .subgroup-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
    }

    .subgroup-title {
      margin: 0;
      color: rgba(248,248,244,0.82);
      font: 700 13px/1.2 var(--font-display);
    }

    .subgroup-count {
      color: rgba(248,248,244,0.45);
      font: 800 11px/1 var(--font-body);
      text-transform: uppercase;
    }

    .book,
    .poster {
      position: relative;
      display: block;
      min-width: 0;
      aspect-ratio: 0.675 / 1;
      background: #101010;
      border: 1px solid rgba(255, 255, 255, 0.11);
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      box-shadow: 0 12px 22px rgba(0,0,0,0.34);
      transform: translateZ(0);
      isolation: isolate;
    }

    .poster {
      aspect-ratio: 2 / 3;
    }

    .track {
      position: relative;
      display: grid;
      grid-template-rows: auto auto;
      min-width: 0;
      background: #0f0f0f;
      border: 1px solid rgba(255, 255, 255, 0.11);
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      box-shadow: 0 12px 22px rgba(0,0,0,0.34);
      transform: translateZ(0);
      isolation: isolate;
      cursor: pointer;
    }

    .fold-more-card {
      position: relative;
      display: grid;
      place-items: center;
      align-content: center;
      gap: 8px;
      min-width: 0;
      padding: 14px 10px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        #0d0d0d;
      color: rgba(248,248,244,0.88);
      text-align: center;
      cursor: pointer;
      box-shadow: 0 12px 22px rgba(0,0,0,0.32);
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .wall .fold-more-card {
      aspect-ratio: 0.675 / 1;
    }

    .poster-wall .fold-more-card {
      aspect-ratio: 2 / 3;
    }

    .music-wall .fold-more-card {
      aspect-ratio: 1 / 1;
    }

    .fold-more-card:hover {
      transform: translateY(-3px);
      border-color: rgba(255,255,255,0.18);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        #101010;
    }

    .fold-more-card span {
      position: relative;
      z-index: 1;
      display: block;
    }

    .fold-more-main {
      color: #fffef8;
      font: 800 14px/1.2 var(--font-display);
    }

    .fold-more-count {
      color: rgba(248,248,244,0.52);
      font: 850 11px/1.35 var(--font-body);
    }

    .fold-more-hint {
      color: rgba(248,248,244,0.34);
      font: 760 10px/1.3 var(--font-body);
    }

    .track::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.12), transparent 12%, transparent 84%, rgba(0,0,0,0.18));
      opacity: 0.42;
      pointer-events: none;
      z-index: 1;
    }

    .track:hover {
      border-color: rgba(84, 214, 255, 0.66);
      transform: translateY(-4px);
      z-index: 5;
      box-shadow:
        0 16px 30px rgba(0,0,0,0.42),
        0 0 0 1px rgba(84,214,255,0.12),
        0 0 26px rgba(84,214,255,0.14);
    }

    .track:hover .cover {
      transform: scale(1.03);
      filter: saturate(1.08) contrast(1.04);
    }

    .track .fallback {
      background:
        linear-gradient(135deg, rgba(84,214,255,0.74), rgba(214,255,77,0.85)),
        #222;
    }

    .track-art {
      position: relative;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      background: #151515;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .track-meta {
      display: grid;
      align-content: start;
      gap: 3px;
      padding: 8px 8px 9px;
      background: rgba(0, 0, 0, 0.42);
      min-height: 54px;
    }

    .track-title {
      font: 900 11px/1.25 var(--font-body);
      color: rgba(248,248,244,0.96);
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      overflow: hidden;
    }

    .track-artist,
    .track-album {
      font: 700 10px/1.25 var(--font-body);
      color: rgba(248,248,244,0.64);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .track-album {
      color: rgba(248,248,244,0.48);
    }

    .track-count {
      position: absolute;
      left: 6px;
      bottom: 6px;
      z-index: 3;
      min-width: 24px;
      min-height: 20px;
      padding: 0 7px;
      border-radius: 999px;
      background: rgba(5, 5, 5, 0.82);
      color: rgba(248,248,244,0.92);
      border: 1px solid rgba(84,214,255,0.26);
      font: 950 10px/20px var(--font-body);
      box-shadow: 0 0 18px rgba(84,214,255,0.12);
    }

    .book.is-link,
    .poster.is-link {
      cursor: pointer;
    }

    .book::after,
    .poster::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.18), transparent 11%, transparent 83%, rgba(0,0,0,0.22)),
        linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.2));
      opacity: 0.72;
      pointer-events: none;
      z-index: 2;
    }

    .book:hover,
    .poster:hover {
      border-color: rgba(214, 255, 77, 0.7);
      transform: translateY(-4px);
      z-index: 5;
      box-shadow:
        0 16px 30px rgba(0,0,0,0.42),
        0 0 0 1px rgba(214,255,77,0.1),
        0 0 26px rgba(214,255,77,0.12);
    }

    .cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #151515;
    }

    .track .cover,
    .detail-dialog[data-kind="music"] .detail-media img {
      image-rendering: auto;
    }

    .fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 12px;
      text-align: center;
      background:
        linear-gradient(135deg, rgba(214,255,77,0.82), rgba(255,107,74,0.85)),
        #222;
      color: #050505;
      font: 950 16px/1.2 var(--font-body);
      z-index: 1;
    }

    .poster .fallback {
      background:
        linear-gradient(135deg, rgba(84,214,255,0.75), rgba(255,107,74,0.84)),
        #222;
    }

    .badge,
    .source-chip {
      position: absolute;
      z-index: 3;
      max-width: calc(100% - 12px);
      padding: 4px 6px 5px;
      border-radius: 4px;
      background: rgba(0, 0, 0, 0.74);
      color: rgba(248, 248, 244, 0.8);
      font: 900 10px/1 var(--font-body);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .source-chip {
      left: 5px;
      top: 5px;
    }

    .badge {
      right: 6px;
      bottom: 6px;
      opacity: 0;
      transform: translateY(5px);
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .book:hover .badge,
    .poster:hover .badge {
      opacity: 1;
      transform: translateY(0);
    }

    .book:hover .cover,
    .poster:hover .cover {
      transform: scale(1.03);
      filter: saturate(1.06) contrast(1.04);
    }

    .source-chip[data-source="wish"],
    .source-chip[data-source="movie-wish"] {
      background: rgba(214, 255, 77, 0.88);
      color: #050505;
    }

    .source-chip[data-source="collect"],
    .source-chip[data-source="movie-collect"] {
      background: rgba(255, 107, 74, 0.9);
      color: #050505;
    }

    .source-chip[data-source="spotify"] {
      background: rgba(84, 214, 255, 0.9);
      color: #050505;
    }

    .track .source-chip[data-source="spotify"] {
      width: 18px;
      height: 18px;
      max-width: none;
      padding: 0;
      border-radius: 4px;
      color: transparent;
      overflow: hidden;
      box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
    }

    .track .source-chip[data-source="spotify"]::after {
      content: "S";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: #050505;
      font: 950 10px/1 var(--font-body);
    }

    .source-chip[data-source="music-year"] {
      background: rgba(255, 255, 255, 0.88);
      color: #050505;
    }

    .book-actions {
      position: absolute;
      top: 5px;
      right: 5px;
      z-index: 4;
      display: flex;
      gap: 6px;
      opacity: 0;
      transform: translateY(-4px);
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .book.is-manual .book-actions,
    .book:hover .book-actions {
      opacity: 1;
      transform: translateY(0);
    }

    .icon-btn {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(0, 0, 0, 0.74);
      color: rgba(248, 248, 244, 0.84);
      display: grid;
      place-items: center;
      padding: 0;
    }

    .icon-btn svg {
      width: 12px;
      height: 12px;
    }

    .empty {
      display: none;
      min-height: 210px;
      place-items: center;
      border: 1px solid var(--line);
      color: var(--muted);
      font: 800 15px/1.5 var(--font-body);
    }

    .empty.is-visible {
      display: grid;
    }

    .project-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      gap: 30px 26px;
      padding: 24px 6px 40px;
    }
    /* 散落风：旋转 + 错位 + 大小分散。用 #project-grid（含 ID）提高优先级，压过滚动入场的 transform，使旋转生效（入场仅保留淡入）。卡片本身样式不变。 */
    #project-grid .project { flex: 0 0 auto; }
    #project-grid .project:nth-child(4n+1) { width: clamp(208px, 17vw, 258px); transform: rotate(-2.4deg) translateY(14px); }
    #project-grid .project:nth-child(4n+2) { width: clamp(250px, 22vw, 312px); transform: rotate(1.6deg) translateY(-10px); }
    #project-grid .project:nth-child(4n+3) { width: clamp(196px, 16vw, 236px); transform: rotate(-1deg) translateY(28px); }
    #project-grid .project:nth-child(4n)   { width: clamp(238px, 20vw, 292px); transform: rotate(2deg) translateY(6px); }
    #project-grid .project:hover { transform: translateY(-6px) rotate(0deg); }

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

    .music-headline {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      align-items: center;
      margin: 0 0 16px;
      color: var(--muted);
      font: 700 12px/1.4 var(--font-body);
    }

    .music-section .section-head {
      grid-template-columns: minmax(0, 1.05fr) minmax(340px, 480px);
      align-items: start;
    }

    .music-section .controls {
      padding-top: 8px;
    }

    .music-section h2 {
      max-width: 900px;
    }

    .music-headline b {
      color: var(--ink);
      font-weight: 950;
    }

    .pixel-entry-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-top: 0;
      align-items: start;
    }

    .pixel-entry {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      min-width: 0;
      min-height: 92px;
      padding: 12px;
      border: 1px solid rgba(255,255,255,0.075);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.016)),
        rgba(5,5,5,0.66);
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      overflow: hidden;
      border-radius: 0;
      position: relative;
      box-shadow: 0 16px 34px rgba(0,0,0,0.22);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
    }

    .pixel-entry:hover,
    .pixel-entry.is-open {
      transform: translateY(-2px);
      border-color: rgba(255,255,255,0.16);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.022)),
        rgba(7,7,7,0.78);
      box-shadow: 0 22px 44px rgba(0,0,0,0.28);
    }

    .pixel-avatar {
      width: 58px;
      height: 58px;
      border: 1px solid rgba(255,255,255,0.09);
      background: rgba(255,255,255,0.035);
      image-rendering: pixelated;
      object-fit: cover;
      display: block;
      box-shadow: 0 10px 22px rgba(0,0,0,0.28);
    }

    .pixel-avatar.fallback {
      display: grid;
      place-items: center;
      color: rgba(248,248,244,0.72);
      font: 800 18px/1 var(--font-display);
      letter-spacing: 0;
    }

    .pixel-entry-title {
      color: rgba(248,248,244,0.95);
      font: 800 17px/1.08 var(--font-display);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-shadow: 1px 0 rgba(84,214,255,0.18), -1px 0 rgba(255,107,74,0.12);
    }

    .pixel-entry-meta {
      margin-top: 7px;
      color: rgba(248,248,244,0.52);
      font: 760 11px/1.45 var(--font-body);
      min-height: 16px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .pixel-entry-count {
      display: inline-flex;
      align-items: center;
      margin-top: 10px;
      padding: 0 8px;
      border: 1px solid rgba(255,255,255,0.08);
      color: rgba(248,248,244,0.76);
      font: 850 10px/22px var(--font-body);
    }

    .pixel-children {
      display: none;
      grid-column: 1 / -1;
      margin-top: 8px;
      padding-left: 70px;
    }

    .pixel-entry.is-open .pixel-children {
      display: grid;
      gap: 6px;
    }

    .pixel-track {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 8px 0;
      border-top: 1px solid rgba(255,255,255,0.06);
      color: rgba(248,248,244,0.84);
      font: 650 12px/1.35 var(--font-body);
    }

    .pixel-track.is-playing {
      background: rgba(255,255,255,0.025);
    }

    .pixel-track button {
      justify-self: end;
    }

    .section-archive {
      display: none;
      gap: 12px;
      margin: 18px 0 18px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,0.075);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        rgba(0,0,0,0.22);
    }

    body[data-route="reading-detail"] #reading .section-archive,
    body[data-route="movies-detail"] #movies .section-archive,
    body[data-route="music-detail"] #music .section-archive {
      display: grid;
    }

    .section-archive-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }

    .section-archive-head .detail-label {
      color: rgba(248,248,244,0.72);
    }

    .section-archive-hint {
      color: rgba(248,248,244,0.38);
      font: 760 11px/1.45 var(--font-body);
    }

    .section-archive .pixel-entry-grid {
      margin-top: 0;
    }

    .detail-dialog .pixel-entry {
      min-height: 84px;
      grid-template-columns: 50px minmax(0, 1fr);
      padding: 10px;
    }

    .detail-dialog .pixel-avatar {
      width: 50px;
      height: 50px;
    }

    .detail-dialog .pixel-entry-title {
      font-size: 15px;
    }

    .detail-dialog .pixel-children {
      padding-left: 62px;
    }

    .pixel-archive-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }

    .pixel-archive {
      display: grid;
      gap: 8px;
      min-height: 120px;
      padding: 12px;
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.03);
      color: inherit;
    }

    .pixel-archive:hover {
      border-color: rgba(84,214,255,0.26);
      background: rgba(255,255,255,0.045);
    }

    .pixel-archive-title {
      color: rgba(248,248,244,0.96);
      font: 900 13px/1.3 var(--font-body);
    }

    .pixel-archive-copy {
      color: rgba(248,248,244,0.54);
      font: 650 11px/1.55 var(--font-body);
    }

    .project {
      display: grid;
      grid-template-rows: auto minmax(180px, 1fr);
      min-height: 360px;
      border: 1px solid rgba(248,248,244,0.12);
      border-radius: 8px;
      background: rgba(255,255,255,0.025);
      color: inherit;
      text-decoration: none;
      overflow: hidden;
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .project:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--project) 42%, rgba(248,248,244,0.16));
      box-shadow:
        0 16px 32px rgba(0,0,0,0.28),
        0 0 0 1px color-mix(in srgb, var(--project) 18%, transparent);
      background: rgba(255,255,255,0.04);
    }

    .project-thumb {
      position: relative;
      min-height: 168px;
      overflow: hidden;
      border-bottom: 1px solid rgba(248,248,244,0.1);
      background:
        linear-gradient(90deg, rgba(248,248,244,0.035) 1px, transparent 1px),
        linear-gradient(rgba(248,248,244,0.035) 1px, transparent 1px),
        color-mix(in srgb, var(--project) 7%, rgba(255,255,255,0.035));
      background-size: 16px 16px;
    }

    .project-thumb::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,0.14));
      opacity: 0.38;
    }

    .project-thumb img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      min-height: 168px;
      object-fit: cover;
      display: block;
      filter: none;
      transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .project:hover .project-thumb img {
      transform: scale(1.02);
      opacity: 0.96;
    }

    .project:hover .project-thumb::after {
      opacity: 0.18;
    }

    .project-body {
      display: grid;
      align-content: start;
      gap: 10px;
      padding: 14px;
    }

    .project h3 {
      margin: 0;
      color: rgba(248,248,244,0.92);
      font: 920 18px/1.18 var(--font-body);
    }

    .project p {
      margin: 0;
      color: rgba(248,248,244,0.62);
      font: 620 12px/1.58 var(--font-body);
    }

    .project:hover h3 {
      color: color-mix(in srgb, var(--project) 68%, white);
    }

    .project:hover p {
      color: rgba(248,248,244,0.76);
    }

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

    .tag {
      min-height: 22px;
      padding: 0 7px;
      border: 1px solid rgba(248,248,244,0.12);
      border-radius: 4px;
      color: rgba(248,248,244,0.64);
      font: 850 10px/21px var(--font-body);
      background: rgba(0,0,0,0.16);
    }

    .project:hover .tag {
      border-color: color-mix(in srgb, var(--project) 30%, rgba(248,248,244,0.14));
      color: rgba(248,248,244,0.9);
      background: color-mix(in srgb, var(--project) 10%, rgba(0,0,0,0.28));
    }

    .contact-card {
      --contact: var(--accent);
      position: relative;
      min-height: 230px;
      display: grid;
      align-content: space-between;
      gap: 26px;
      padding: 20px;
      border: 1px solid rgba(248,248,244,0.16);
      background:
        linear-gradient(135deg, color-mix(in srgb, var(--contact) 12%, transparent), transparent 48%),
        rgba(255,255,255,0.04);
      color: inherit;
      text-decoration: none;
      overflow: hidden;
      box-shadow: 0 18px 44px rgba(0,0,0,0.32);
    }

    .contact-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(90deg, rgba(0,0,0,0.24) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.22) 1px, transparent 1px);
      background-size: 10px 10px;
      opacity: 0.48;
      pointer-events: none;
    }

    .contact-card::after {
      content: "";
      position: absolute;
      right: 18px;
      bottom: 18px;
      width: 30px;
      height: 30px;
      background:
        linear-gradient(90deg, var(--contact) 0 10px, transparent 10px 20px, var(--contact) 20px),
        linear-gradient(var(--contact) 0 10px, transparent 10px 20px, var(--contact) 20px);
      opacity: 0.82;
      image-rendering: pixelated;
      box-shadow: 0 0 28px color-mix(in srgb, var(--contact) 22%, transparent);
    }

    .contact-card[data-network="jike"] {
      --contact: var(--blue);
    }

    .contact-card[data-network="xiaohongshu"] {
      --contact: var(--warm);
    }

    .contact-card:hover {
      transform: translateY(-5px);
      border-color: color-mix(in srgb, var(--contact) 64%, rgba(248,248,244,0.16));
      background:
        linear-gradient(135deg, color-mix(in srgb, var(--contact) 18%, transparent), transparent 50%),
        rgba(255,255,255,0.06);
      box-shadow:
        0 22px 52px rgba(0,0,0,0.42),
        0 0 0 1px color-mix(in srgb, var(--contact) 18%, transparent),
        0 0 34px color-mix(in srgb, var(--contact) 12%, transparent);
    }

    .contact-top,
    .contact-bottom {
      position: relative;
      z-index: 1;
    }

    .contact-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .contact-label {
      margin: 0 0 12px;
      color: color-mix(in srgb, var(--contact) 72%, white);
      font: 900 12px/1 var(--font-body);
    }

    .contact-card h3 {
      margin: 0;
      font: 950 32px/1.05 var(--font-body);
    }

    .contact-mark {
      min-width: 44px;
      min-height: 44px;
      display: grid;
      place-items: center;
      border: 1px solid color-mix(in srgb, var(--contact) 42%, rgba(248,248,244,0.15));
      background: rgba(0,0,0,0.34);
      color: color-mix(in srgb, var(--contact) 82%, white);
      font: 950 18px/1 var(--font-body);
    }

    .contact-card p {
      max-width: 620px;
      margin: 0;
      color: rgba(248,248,244,0.68);
      font: 600 14px/1.75 var(--font-body);
    }

    .contact-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 18px;
    }

    .contact-meta span {
      min-height: 26px;
      padding: 0 9px;
      border: 1px solid rgba(248,248,244,0.13);
      border-radius: 4px;
      background: rgba(0,0,0,0.26);
      color: rgba(248,248,244,0.76);
      font: 900 11px/25px var(--font-body);
    }

    .footer {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding: 36px 0 6px;
      color: var(--muted);
      font: 700 12px/1.5 var(--font-body);
      border-top: 1px solid var(--line);
      margin-top: 50px;
    }

    dialog {
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      background: rgba(10, 10, 10, 0.96);
      color: var(--ink);
      width: min(520px, calc(100vw - 24px));
      padding: 18px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    }

    dialog::backdrop {
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(2px);
    }

    dialog h2 {
      margin: 0 0 14px;
      font: 950 18px/1.2 var(--font-body);
    }

    .detail-dialog {
      width: min(780px, calc(100vw - 32px));
      padding: 0;
      overflow: hidden;
      border-radius: 0;
      border-color: rgba(255, 255, 255, 0.065);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0) 20%),
        linear-gradient(145deg, rgba(13,13,13,0.985), rgba(5,5,5,0.988));
      box-shadow:
        0 40px 120px rgba(0,0,0,0.68),
        0 0 0 1px rgba(0,0,0,0.72);
      color: var(--ink);
    }

	    .detail-dialog::backdrop {
	      background: rgba(0, 0, 0, 0.76);
	      backdrop-filter: blur(12px);
	    }

	    .detail-dialog[open] {
	      animation: detailDialogEnter 240ms cubic-bezier(.2,.9,.2,1);
	    }

	    .detail-dialog[open]::backdrop {
	      animation: detailBackdropEnter 220ms ease;
	    }

	    @keyframes detailDialogEnter {
	      0% {
	        transform: translateY(10px) scale(0.985);
	        opacity: 0;
	        filter: saturate(0.9);
	      }
	      100% {
	        transform: translateY(0) scale(1);
	        opacity: 1;
	        filter: saturate(1);
	      }
	    }

	    @keyframes detailBackdropEnter {
	      0% { opacity: 0; }
	      100% { opacity: 1; }
	    }

    .detail-shell {
      display: grid;
      grid-template-columns: minmax(132px, 166px) minmax(0, 1fr);
      min-height: 0;
      align-items: start;
      gap: 18px;
      padding: 18px;
    }

    .detail-media {
      position: sticky;
      top: 28px;
      background: transparent;
      border-right: 0;
      padding: 0;
      display: grid;
      align-items: start;
      align-content: start;
      gap: 18px;
    }

    .detail-orbit,
    .detail-media-overlay {
      display: none;
    }

    .detail-cover {
      position: relative;
      width: 100%;
      aspect-ratio: 0.72 / 1;
      overflow: hidden;
      border-radius: 0;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.07);
      box-shadow:
        0 30px 70px rgba(0,0,0,0.42);
    }

    .detail-media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #101010;
      filter: saturate(1.04) contrast(1.03) brightness(0.98);
    }

    .detail-dialog[data-kind="music"] .detail-cover {
      aspect-ratio: 1 / 1;
    }

    .detail-fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 20px 16px;
      background:
        radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 44%),
        linear-gradient(135deg, rgba(214,255,77,0.14), rgba(84,214,255,0.1)),
        rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.92);
      font: 900 18px/1.35 var(--font-body);
    }

    .detail-body {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
      padding: 0;
      align-content: start;
      max-height: none;
      overflow: visible;
	    }

    .detail-console {
      order: 9;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      margin-top: 2px;
      padding: 10px 0 0;
      border-top: 1px solid rgba(255,255,255,0.055);
      background: transparent;
      box-shadow: none;
    }

    .detail-nav-button {
      display: inline-grid;
      grid-template-columns: auto auto;
      gap: 6px;
      align-items: center;
      justify-content: center;
      min-width: 0;
      min-height: 38px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.022);
      color: rgba(248,248,244,0.74);
      font: 820 10px/1 var(--font-body);
      box-shadow: none;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease, opacity 0.16s ease;
    }

	    .detail-nav-button span {
	      color: rgba(248,248,244,0.5);
	      font: 850 9px/1 var(--font-body);
	      letter-spacing: 0.08em;
	    }

    .detail-nav-button:hover {
      transform: translateY(-1px);
      border-color: rgba(255,255,255,0.13);
      background: rgba(255,255,255,0.042);
      color: #fffef8;
    }

	    .detail-nav-button[disabled] {
	      opacity: 0.36;
	      cursor: not-allowed;
	      transform: none;
	    }

    .detail-nav-button:focus-visible,
    .detail-close:focus-visible,
    .music-player-button:focus-visible,
    .preview-button:focus-visible,
    .detail-link:focus-visible {
      outline: none;
      box-shadow: none;
    }

    .detail-nav-button svg {
      width: 17px;
      height: 17px;
    }

    .detail-hud {
      min-width: 0;
      display: grid;
      gap: 7px;
      align-content: center;
    }

    .detail-hud-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-width: 0;
    }

    .detail-hud-label,
    .detail-hud-hint {
      color: rgba(248,248,244,0.38);
      font: 780 10px/1 var(--font-body);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      white-space: nowrap;
      transition: color 0.16s ease, transform 0.16s ease;
    }

    .detail-hud-count {
      color: rgba(248,248,244,0.82);
      font: 850 12px/1 var(--font-mono);
      white-space: nowrap;
    }

    .detail-hud-bar {
      position: relative;
      height: 3px;
      overflow: hidden;
      border-radius: 0;
      background: rgba(255,255,255,0.055);
    }

    .detail-hud-progress {
      position: absolute;
      inset: 0 auto 0 0;
      width: 0%;
      border-radius: 0;
      background: rgba(248,248,244,0.42);
      box-shadow: none;
      transition: width 0.22s ease;
    }

    .detail-dialog.is-switching .detail-cover {
      animation: detailCoverShift 240ms ease;
    }

    .detail-dialog.is-switching .detail-head,
    .detail-dialog.is-switching .detail-grid,
    .detail-dialog.is-switching .detail-section,
    .detail-dialog.is-switching .music-player {
      animation: detailPanelShift 240ms ease;
    }

    .detail-nav-button.is-edge {
      animation: detailEdgeButton 220ms ease;
    }

    .detail-console.is-edge {
      animation: detailEdgeConsole 220ms ease;
    }

    .detail-console.is-edge .detail-hud-hint {
      color: rgba(248,248,244,0.62);
      transform: translateY(-1px);
    }

    @keyframes detailCoverShift {
      0% {
        transform: translateX(var(--detail-shift, 16px)) scale(0.985);
        opacity: 0.38;
        filter: saturate(0.72) blur(5px);
      }
      100% {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: saturate(1.04) blur(0);
      }
    }

    @keyframes detailPanelShift {
      0% {
        transform: translateX(calc(var(--detail-shift, 16px) * -0.5));
        opacity: 0.24;
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes detailEdgeButton {
      0% {
        transform: translateX(0) scale(1);
      }
      38% {
        transform: translateX(var(--edge-nudge, 8px)) scale(1.03);
        border-color: rgba(255,255,255,0.16);
        background: rgba(255,255,255,0.055);
      }
      100% {
        transform: translateX(0) scale(1);
      }
    }

    @keyframes detailEdgeConsole {
      0% {
        border-top-color: rgba(255,255,255,0.055);
      }
      45% {
        border-top-color: rgba(255,255,255,0.12);
      }
      100% {
        border-top-color: rgba(255,255,255,0.055);
      }
    }

    .detail-head {
      display: grid;
      gap: 13px;
      padding-bottom: 0;
      border-bottom: 0;
    }

    .detail-kicker-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .detail-kicker {
      margin: 0;
      color: var(--accent);
      font: 800 11px/1 var(--font-display);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .detail-index {
      color: rgba(248,248,244,0.3);
      font: 800 11px/1 var(--font-mono);
    }

    .detail-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .detail-title {
      margin: 0;
      color: #fffef8;
      font: 800 clamp(28px, 2.45vw, 38px)/1.04 var(--font-display);
      letter-spacing: 0;
      text-wrap: balance;
      text-shadow:
        1px 0 rgba(84,214,255,0.26),
        -1px 0 rgba(255,107,74,0.16),
        0 0 1px rgba(248,248,244,0.32),
        0 0 18px rgba(84,214,255,0.1);
    }

    .detail-standfirst {
      margin: 0;
      max-width: 60ch;
      color: rgba(248,248,244,0.6);
      font: 560 13px/1.62 var(--font-body);
    }

    .detail-close {
      width: 38px;
      height: 38px;
      min-width: 38px;
      padding: 0;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.022);
      color: rgba(255,255,255,0.72);
      line-height: 1;
      box-shadow: none;
    }

    .detail-close:hover {
      border-color: rgba(255,255,255,0.13);
      background: rgba(255,255,255,0.045);
      color: #fffef8;
    }

    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .detail-submeta:empty,
    .detail-meta:empty,
    .detail-grid:empty,
    .detail-comments:empty {
      display: none;
    }

    .detail-submeta {
      display: block;
      color: rgba(248,248,244,0.44);
      font: 700 12px/1.55 var(--font-body);
    }

    .detail-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 14px;
      padding: 7px 0 2px;
      border-top: 1px solid rgba(255,255,255,0.06);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .detail-metric {
      display: inline;
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    .detail-metric:not(:last-child)::after {
      content: "/";
      margin-left: 14px;
      color: rgba(248,248,244,0.2);
    }

    .detail-metric-label {
      color: rgba(248,248,244,0.36);
      font: 800 10px/1.7 var(--font-body);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .detail-metric-label::after {
      content: " ";
    }

    .detail-metric-value {
      color: rgba(248,248,244,0.8);
      font: 680 12px/1.7 var(--font-body);
      word-break: break-word;
    }

    .detail-metric.tone-accent,
    .detail-metric.tone-blue,
    .detail-metric.tone-dark {
      border-color: transparent;
      background: transparent;
    }

    .detail-pill {
      min-height: 30px;
      padding: 0 10px;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 999px;
      color: rgba(248,248,244,0.72);
      background: rgba(255,255,255,0.035);
      font: 800 11px/28px var(--font-body);
    }

    .detail-pill.score {
      color: rgba(248,248,244,0.82);
      border-color: rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.045);
    }

    .detail-pill.user {
      color: rgba(248,248,244,0.7);
      border-color: rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.032);
    }

    .detail-summary {
      color: rgba(248,248,244,0.82);
      font: 520 13px/1.58 var(--font-body);
      white-space: pre-wrap;
    }

    .detail-facts {
      display: block;
      color: rgba(248,248,244,0.62);
      font: 560 11px/1.55 var(--font-body);
      white-space: pre-wrap;
      word-break: break-word;
    }

    .detail-fact {
      display: inline;
    }

    .detail-fact span {
      color: rgba(248,248,244,0.38);
      font: inherit;
    }

    .detail-fact strong {
      color: rgba(248,248,244,0.72);
      font: inherit;
      word-break: break-word;
    }

    .detail-section {
      display: grid;
      gap: 5px;
      padding-top: 7px;
      border-top: 1px solid rgba(255,255,255,0.042);
    }

    .detail-label {
      margin: 0;
      color: rgba(248,248,244,0.45);
      font: 800 11px/1 var(--font-display);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .detail-comments {
      display: grid;
      gap: 10px;
    }

    .detail-comment {
      display: grid;
      gap: 8px;
      padding: 0 0 0 14px;
      border: 0;
      border-left: 1px solid rgba(255,255,255,0.1);
      border-radius: 0;
      background: transparent;
    }

    .detail-comment-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      color: rgba(248,248,244,0.56);
      font: 800 11px/1.3 var(--font-body);
    }

	    .detail-comment p {
	      margin: 0;
	      color: rgba(248,248,244,0.9);
	      font: 600 12px/1.45 var(--font-body);
	    }

    .detail-comment:hover {
      border-left-color: rgba(255,255,255,0.18);
      background: transparent;
    }

    .music-track-list {
      display: grid;
      gap: 8px;
    }

    .music-player {
      position: relative;
      display: none;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px 14px;
      align-items: center;
      margin: 2px 0 2px;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      overflow: hidden;
      isolation: isolate;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        rgba(255,255,255,0.018);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
    }

    .music-player::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(circle at 8% 50%, rgba(84,214,255,0.1), transparent 34%),
        radial-gradient(circle at 86% 0%, rgba(214,255,77,0.08), transparent 32%);
      opacity: 0.28;
      transition: opacity 0.18s ease;
    }

    .music-player[data-state="playing"] {
      border-color: rgba(84,214,255,0.22);
      background:
        linear-gradient(180deg, rgba(84,214,255,0.055), rgba(214,255,77,0.018)),
        rgba(255,255,255,0.02);
    }

    .music-player-wave {
      position: absolute;
      inset: auto 76px 17px 64px;
      z-index: -1;
      display: flex;
      align-items: center;
      gap: 7px;
      height: 18px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease;
    }

    .music-player[data-state="playing"] .music-player-wave {
      opacity: 0.38;
    }

    .music-player-wave span {
      width: 2px;
      height: 20%;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(214,255,77,0.62), rgba(84,214,255,0.24));
      transform-origin: center;
      animation: musicWave 880ms ease-in-out infinite;
    }

    .music-player-wave span:nth-child(2) { animation-delay: 120ms; }
    .music-player-wave span:nth-child(3) { animation-delay: 240ms; }
    .music-player-wave span:nth-child(4) { animation-delay: 80ms; }
    .music-player-wave span:nth-child(5) { animation-delay: 180ms; }
    .music-player-wave span:nth-child(6) { animation-delay: 300ms; }
    .music-player-wave span:nth-child(7) { animation-delay: 140ms; }
    .music-player-wave span:nth-child(8) { animation-delay: 260ms; }

    @keyframes musicWave {
      0%, 100% { height: 18%; opacity: 0.45; }
      50% { height: 72%; opacity: 1; }
    }

    .detail-dialog[data-kind="music"] .music-player {
      display: grid;
    }

    .detail-dialog[data-kind="music"] .music-player[hidden] {
      display: none;
    }

    .music-player-button {
      display: inline-grid;
      place-items: center;
      width: 38px;
      height: 38px;
      min-width: 38px;
      padding: 0;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.04);
      color: rgba(248,248,244,0.92);
      box-shadow: none;
      transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }

    .music-player-button[data-state="ready"] {
      border-color: rgba(214,255,77,0.2);
      color: rgba(214,255,77,0.9);
      background: rgba(214,255,77,0.055);
    }

    .music-player-button[data-state="playing"] {
      border-color: rgba(84,214,255,0.32);
      color: rgba(84,214,255,0.96);
      background: rgba(84,214,255,0.08);
    }

    .music-player-button:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,0.075);
      border-color: rgba(255,255,255,0.2);
      color: rgba(248,248,244,0.98);
    }

    .music-player-button[data-state="playing"]:hover {
      border-color: rgba(84,214,255,0.42);
      background: rgba(84,214,255,0.12);
      color: #c9f4ff;
    }

    .music-player-button svg {
      width: 17px;
      height: 17px;
    }

    .music-player-icon {
      display: grid;
      place-items: center;
      width: 18px;
      height: 18px;
    }

    .music-player-icon[hidden] {
      display: none !important;
    }

    .music-player-main {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .music-player-title {
      color: rgba(248,248,244,0.96);
      font: 880 14px/1.22 var(--font-body);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .music-player-meta {
      color: rgba(248,248,244,0.56);
      font: 720 11px/1.25 var(--font-body);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .music-player-bar {
      position: relative;
      height: 3px;
      margin-top: 4px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255,255,255,0.085);
    }

    .music-player-progress {
      position: absolute;
      inset: 0 auto 0 0;
      width: 0%;
      border-radius: inherit;
      background: rgba(248,248,244,0.58);
      box-shadow: none;
      transition: width 0.12s linear;
    }

    .music-player[data-state="playing"] .music-player-progress {
      background: linear-gradient(90deg, rgba(84,214,255,0.8), rgba(214,255,77,0.66));
    }

    .music-player-time {
      align-self: start;
      padding-top: 3px;
      color: rgba(248,248,244,0.58);
      font: 820 11px/1 var(--font-mono);
      white-space: nowrap;
    }

    .music-track-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 12px;
      align-items: center;
      padding: 10px 0;
      border: 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      border-radius: 0;
      background: transparent;
    }

    .music-track-row.is-playing {
      border-bottom-color: rgba(255,255,255,0.14);
      background: transparent;
      box-shadow: none;
    }

    .music-track-row strong,
    .music-track-row span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .music-track-row strong {
      color: rgba(248,248,244,0.92);
      font: 850 13px/1.35 var(--font-body);
    }

    .music-track-row span {
      color: rgba(248,248,244,0.5);
      font: 750 11px/1.2 var(--font-body);
    }

    .preview-button {
      min-width: 54px;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      border-color: rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.035);
      color: rgba(248,248,244,0.72);
      font: 850 11px/26px var(--font-body);
      box-shadow: none;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
    }

    .preview-button:hover,
    .preview-button.is-playing {
      transform: translateY(-1px);
      color: rgba(248,248,244,0.95);
      border-color: rgba(255,255,255,0.15);
      background: rgba(255,255,255,0.06);
      box-shadow: none;
    }

    .preview-button[disabled] {
      cursor: not-allowed;
      color: rgba(248,248,244,0.34);
      border-color: rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.035);
    }

    .detail-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
    }

    .detail-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      width: fit-content;
      padding: 0;
      border: 0;
      border-bottom: 1px solid rgba(255,255,255,0.18);
      border-radius: 0;
      background: transparent;
      color: rgba(248,248,244,0.68);
      font: 800 12px/1 var(--font-body);
      text-decoration: none;
      transition: color 0.16s ease, border-color 0.16s ease;
    }

    .detail-link:hover {
      color: #fffef8;
      border-color: rgba(255,255,255,0.34);
      box-shadow: none;
    }

    .detail-fallback[hidden],
    .detail-media img[hidden],
    .detail-section[hidden],
    .detail-actions[hidden],
    .detail-link[hidden] {
      display: none !important;
    }

    .dialog-grid {
      display: grid;
      gap: 10px;
    }

    .dialog-grid label {
      display: grid;
      gap: 6px;
      font: 800 12px/1.3 var(--font-body);
      color: rgba(248, 248, 244, 0.74);
    }

    .dialog-grid input {
      height: 42px;
      padding: 0 12px;
    }

    .dialog-actions {
      margin-top: 14px;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }

    .dialog-actions .primary {
      background: var(--accent);
      color: #050505;
      border-color: var(--accent);
    }

    @media (hover: none) {
      .book.is-manual .book-actions {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 1100px) {
      .page {
        width: min(100vw - 34px, 900px);
        padding-top: 0;
      }

      .hero,
      .section-head {
        grid-template-columns: 1fr;
      }

      body.is-detail-route .section-head {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: calc(100dvh - var(--topbar-height));
        padding-top: 28px;
      }

      .story-panel {
        min-height: calc(100dvh - var(--topbar-height));
      }

      .hero-object {
        width: calc(var(--hero-w) * 0.88);
      }

      .pills,
      .filters,
      .subfilters {
        justify-content: flex-start;
      }

      .wall,
      .poster-wall,
      .music-wall,
      .group-grid,
      .curated-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 8px;
      }

      .section-archive .pixel-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

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

      .detail-dialog {
        width: min(740px, calc(100vw - 28px));
      }

      .detail-shell {
        grid-template-columns: minmax(128px, 156px) minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
      }
    }

    @media (max-width: 760px) {
      .page {
        width: calc(100vw - 28px);
        padding: 0 0 36px;
      }

      .topbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0 12px;
      }

      .brand {
        min-height: 32px;
      }

      .nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 7px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }

      .nav::-webkit-scrollbar {
        display: none;
      }

      .nav a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 12px;
        line-height: 34px;
      }

      .hero {
        gap: 28px;
        min-height: 640px;
        padding: 28px 0 18px;
      }

      .hero-scatter {
        inset: 44px 0 24px;
      }

      .hero-object {
        width: calc(var(--hero-w) * 0.72);
      }

      .hero-object:nth-of-type(n+10) {
        display: none;
      }

      .hero-floating-note {
        display: none;
      }

      h1 {
        font-size: 52px;
        line-height: 0.96;
      }

      h2 {
        font-size: 33px;
        line-height: 1.05;
      }

      .subtitle {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.72;
      }

      .quote {
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.72;
      }

      .hero-links {
        gap: 8px;
        margin-top: 20px;
      }

      .hero-links a {
        min-height: 32px;
        padding: 0 12px;
        font-size: 11px;
      }

      .hero-stories {
        gap: 14px;
        margin: 10px 0 26px;
      }

      .story-panel {
        min-height: 640px;
      }

      .story-panel::before {
        background-size: 28px 28px;
      }

      .story-index {
        left: 2px;
        top: 18px;
      }

      .story-copy {
        width: min(330px, 88vw);
      }

      .story-copy h2 {
        font-size: 50px;
        line-height: 0.92;
      }

      .story-copy p:not(.kicker) {
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.72;
      }

      .story-link {
        min-height: 34px;
        margin-top: 20px;
        padding: 0 14px;
        font-size: 11px;
      }

      .story-object {
        width: calc(var(--story-w) * 0.76);
        opacity: 0.82;
      }

      .story-object:nth-of-type(n+8) {
        display: none;
      }

      .section {
        padding: 44px 0 10px;
        scroll-margin-top: 126px;
      }

      .section-head {
        gap: 16px;
        margin-bottom: 16px;
        padding-top: 16px;
      }

      .section-copy {
        font-size: 13px;
        line-height: 1.7;
      }

      .controls {
        gap: 8px;
      }

      .pills,
      .filters,
      .subfilters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }

      .pills::-webkit-scrollbar,
      .filters::-webkit-scrollbar,
      .subfilters::-webkit-scrollbar {
        display: none;
      }

      .pills button,
      .filters button,
      .subfilters button {
        flex: 0 0 auto;
        min-height: 34px;
        line-height: 34px;
      }

      .filter-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        justify-content: stretch;
      }

      .subfilters {
        max-height: none;
      }

      .stats,
      .music-headline {
        gap: 8px 12px;
        font-size: 11px;
      }

      .section-archive {
        padding: 12px;
      }

      .wall,
      .poster-wall,
      .music-wall,
      .group-grid,
      .curated-grid {
        gap: 7px;
      }

      .curated-group-list {
        gap: 22px;
      }

      .curated-group-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 8px;
      }

      .curated-group-copy {
        max-width: none;
      }

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

      .project {
        min-height: 0;
        grid-template-rows: minmax(164px, auto) auto;
      }

      .project-thumb {
        min-height: 176px;
      }

      .project-body {
        padding: 14px;
      }

      .contact-card {
        min-height: 0;
        gap: 22px;
        padding: 18px;
      }

      .contact-card h3 {
        font-size: 28px;
      }

      .contact-card p {
        font-size: 13px;
        line-height: 1.72;
      }

      .contact-mark {
        min-width: 40px;
        min-height: 40px;
      }

      .footer {
        margin-top: 36px;
        padding-top: 24px;
      }
    }

    @media (max-width: 560px) {
      .page {
        width: calc(100vw - 24px);
      }

      .project-grid {
        gap: 16px;
        padding: 14px 0 24px;
      }
      #project-grid .project:nth-child(4n+1),
      #project-grid .project:nth-child(4n+2),
      #project-grid .project:nth-child(4n+3),
      #project-grid .project:nth-child(4n) {
        width: 100%;
        transform: none;
      }

      h1 {
        font-size: 44px;
      }

      h2 {
        font-size: 29px;
      }

      .subtitle {
        font-size: 13px;
      }

      .garden {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 34px;
        gap: 6px;
      }

      .plot.cover {
        grid-column: span 3;
        grid-row: span 3;
      }

      .plot.metric {
        grid-column: span 3;
        grid-row: span 2;
      }

      .wall,
      .poster-wall,
      .music-wall,
      .group-grid,
      .curated-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

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

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

      .track-meta {
        min-height: 50px;
        padding: 7px;
      }

      .track-title {
        font-size: 10px;
      }

      .track-artist,
      .track-album {
        font-size: 9px;
      }

      .source-chip {
        max-width: calc(100% - 10px);
        font-size: 9px;
      }

      .badge {
        display: none;
      }

      .empty {
        min-height: 150px;
        padding: 18px;
        text-align: center;
      }

      .detail-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
      }

      .detail-media {
        position: static;
        min-height: 0;
        border-right: 0;
        border-bottom: 0;
        padding: 0;
      }

      .detail-cover {
        width: min(42vw, 156px);
        justify-self: start;
      }

      .detail-body {
        max-height: none;
        overflow: visible;
        gap: 12px;
      }

      .detail-console {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
      }

      .detail-nav-button {
        min-width: 0;
        min-height: 34px;
        padding: 0 9px;
      }

      .detail-nav-button span {
        display: none;
      }

      .detail-hud-row {
        flex-wrap: wrap;
      }

      .detail-title {
        font-size: 25px;
      }

      .detail-topline {
        gap: 10px;
      }

      .detail-close {
        width: 34px;
        height: 34px;
        min-width: 34px;
      }

      .detail-grid {
        gap: 6px 10px;
      }

      .detail-facts {
        font-size: 11px;
      }

      .music-player {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 12px;
        padding: 11px 12px;
      }

      .music-player-time {
        grid-column: 2;
        justify-self: start;
        padding-top: 0;
      }

      .music-track-row {
        grid-template-columns: minmax(0, 1fr) auto;
      }

      .music-track-row .preview-button:first-of-type {
        display: none;
      }

      .detail-actions {
        gap: 8px 18px;
      }

      .detail-link {
        width: 100%;
        justify-content: flex-start;
      }

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

      .section-archive .pixel-entry {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 78px;
        padding: 9px;
      }

      .section-archive .pixel-avatar {
        width: 48px;
        height: 48px;
      }

      .section-archive .pixel-entry-title {
        font-size: 14px;
      }

      .section-archive .pixel-children {
        padding-left: 58px;
      }
    }

    @media (max-width: 420px) {
      .page {
        width: calc(100vw - 18px);
      }

      .nav a,
      button {
        font-size: 11px;
      }

      h1 {
        font-size: 39px;
      }

      .hero {
        min-height: 560px;
      }

      .story-panel {
        min-height: 590px;
      }

      .story-object {
        opacity: 0.7;
      }

      .story-object:nth-of-type(1) {
        --story-x: 18% !important;
        --story-y: 18% !important;
        --story-w: 94px !important;
        --story-rotate: -8deg !important;
      }

      .story-object:nth-of-type(2) {
        --story-x: 82% !important;
        --story-y: 18% !important;
        --story-w: 88px !important;
        --story-rotate: 7deg !important;
      }

      .story-object:nth-of-type(3) {
        --story-x: 15% !important;
        --story-y: 72% !important;
        --story-w: 86px !important;
        --story-rotate: 5deg !important;
      }

      .story-object:nth-of-type(4) {
        --story-x: 86% !important;
        --story-y: 72% !important;
        --story-w: 88px !important;
        --story-rotate: -6deg !important;
      }

      .story-object:nth-of-type(n+5) {
        display: none;
      }

      .hero-object {
        opacity: 0.72;
      }

      .hero-object:nth-of-type(1) {
        --hero-x: 18% !important;
        --hero-y: 18% !important;
        --hero-w: 82px !important;
        --hero-rotate: -7deg !important;
      }

      .hero-object:nth-of-type(2) {
        --hero-x: 82% !important;
        --hero-y: 18% !important;
        --hero-w: 78px !important;
        --hero-rotate: 5deg !important;
      }

      .hero-object:nth-of-type(3) {
        --hero-x: 12% !important;
        --hero-y: 54% !important;
        --hero-w: 72px !important;
        --hero-rotate: 6deg !important;
      }

      .hero-object:nth-of-type(4) {
        --hero-x: 88% !important;
        --hero-y: 56% !important;
        --hero-w: 76px !important;
        --hero-rotate: -5deg !important;
      }

      .hero-object:nth-of-type(n+5) {
        display: none;
      }

      h2 {
        font-size: 28px;
      }

      .garden {
        grid-auto-rows: 30px;
      }

      .wall,
      .poster-wall,
      .group-grid,
      .curated-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
      }

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

      .detail-dialog {
        width: calc(100vw - 16px);
      }

      .detail-grid {
        gap: 5px 8px;
      }

      .contact-card {
        padding: 16px;
      }

      .contact-meta span {
        font-size: 10px;
      }

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