/* ============================================================
   ZY. — design system
   light / dark · ink green accent · 1200 shell
   ============================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  --bg: #F4F4F0;
  --bg-2: #EAEBE4;
  --panel: #FFFFFF;
  --line: #D3D5CB;
  --line-soft: #E1E2D9;
  --glass: rgba(255, 255, 255, .78);

  --ink: #191C1A;
  --ink-2: #3B413C;
  --muted: #555C55;
  --faint: #626963;

  --accent: #344A40;
  --accent-2: #5C7268;
  --btn: #344A40;
  --btn-hover: #293B32;
  --accent-tint: #E1E3DC;
  --accent-soft: rgba(52, 74, 64, .08);

  --shell: 1200px;
  --gutter: 40px;
  --nav-h: 64px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text",
          "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --ease: cubic-bezier(.22, .68, .18, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0F1110;
  --bg-2: #151816;
  --panel: #171A18;
  --line: #2A2E2A;
  --line-soft: rgba(242, 241, 236, .07);
  --glass: rgba(15, 17, 16, .74);

  --ink: #F1F2ED;
  --ink-2: #CDD2C9;
  --muted: #A3ACA2;
  --faint: #818B81;

  --accent: #7E9585;
  --accent-2: #9AAC9E;
  --btn: #2E4639;
  --btn-hover: #38523F;
  --accent-tint: #1C241E;
  --accent-soft: rgba(126, 149, 133, .1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  animation: pagein .28s var(--ease) both;
}

@keyframes pagein { from { opacity: 0 } to { opacity: 1 } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* 无障碍：键盘跳转链接 */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--btn);
  color: #F3F2EC;
  font-size: 13px;
  transition: top .2s var(--ease);
}

.skip:focus-visible { top: 12px; }

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

/* ---------- primitives ---------- */

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0;
}

.h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.032em;
  font-weight: 600;
  margin: 0;
}

.h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.022em;
  font-weight: 560;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 48ch;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.accent { color: var(--accent); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity .35s var(--ease), border-color .35s var(--ease);
}

.nav.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: opacity .2s var(--ease);
}

.brand:hover { opacity: .72; }

.brand svg {
  height: 18px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .22s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 26px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.icon-btn:hover { color: var(--ink); background: var(--accent-soft); }
.icon-btn svg { width: 15px; height: 15px; }

.lang-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.lang-btn:hover { color: var(--ink); border-color: var(--accent); }

.studio-link {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}

.studio-link:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav__toggle { display: none; }

.nav__sheet {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  z-index: 59;
  padding: 4px var(--gutter) 10px;
  background: var(--bg-2);
  box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  animation: sheetIn .24s var(--ease);
}

.nav__sheet.is-open { display: block; }

.nav__sheet a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.nav__sheet a:last-child { border-bottom: 0; }
.nav__sheet a.is-active { color: var(--accent); }

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--btn);
  color: #F3F2EC;
}

.btn--solid:hover { background: var(--btn-hover); color: #FFFFFF; }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 40px;
  padding: clamp(56px, 8vh, 84px) 0 clamp(44px, 6vh, 64px);
}

.hero__copy { position: relative; z-index: 2; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.hero__eyebrow .label { font-size: 12.5px; letter-spacing: .16em; }

.hero__eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.display .line { display: block; }
.display .line--dim { color: var(--muted); }
.display .dot-end { color: var(--accent); }

.hero__sub {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 30ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.hero__art {
  position: relative;
  aspect-ratio: 1 / .96;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: radial-gradient(58% 55% at 58% 42%, var(--accent-tint), transparent 72%);
  opacity: .9;
  filter: blur(6px);
}

.hero__art canvas {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 76%, rgba(0,0,0,.62) 90%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 76%, rgba(0,0,0,.62) 90%, transparent 100%);
}

.hero__art .art-cap {
  position: absolute;
  right: 2px;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--faint);
  display: flex;
  gap: 8px;
  align-items: center;
}

.art-toggle {
  font: inherit;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 6px 0 6px 10px;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.art-toggle:hover { color: var(--ink); }
.art-toggle[aria-pressed="true"] { color: var(--accent); }

.hero__art .art-cap::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line);
}

/* ---------- section ---------- */

.section { padding: clamp(44px, 6vh, 64px) 0; }
.section--follow { padding-top: clamp(18px, 2.6vh, 28px); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 28px;
}

.section__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}

.section__more {
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .22s var(--ease);
}

.section__more:hover { color: var(--accent); }
.section__more span[aria-hidden] { font-size: 11px; }

/* ---------- works ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.work { display: block; }

.pv {
  position: relative;
  aspect-ratio: 1.3 / 1;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--bg-2);
  isolation: isolate;
}

.pv__cap {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--faint);
  pointer-events: none;
}

.pv__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  transition: transform .55s var(--ease);
  transform-origin: center;
}

.work:hover .pv__inner { transform: scale(1.022); }

.work__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
}

.work__name { font-size: 18px; font-weight: 560; letter-spacing: -.01em; }

.work__tag {
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

.work__year {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.work__desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.work__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--muted);
  transition: color .22s var(--ease);
}

.work__go span[aria-hidden] { font-size: 11px; }
.work:hover .work__go { color: var(--accent); }

/* ---------- preview: 方匣 ---------- */

.pv--case {
  background: radial-gradient(110% 90% at 50% 8%, #1D2326 0%, #13171A 52%, #0B0E10 100%);
}

html[data-theme="light"] .pv--case {
  background: radial-gradient(110% 90% at 50% 6%, #FAFBF6 0%, #E7E9DF 54%, #D6D9CB 100%);
}

html[data-theme="light"] .phone {
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(226, 228, 219, .6) 48%, rgba(196, 199, 189, .55));
  border-color: rgba(30, 36, 32, .12);
  box-shadow: 0 26px 54px -24px rgba(40, 48, 42, .38), 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.pv--case::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(44% 42% at 50% 34%, var(--accent-tint), transparent 78%);
  z-index: 0;
}

.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 90%;
  aspect-ratio: 9 / 19.4;
  border-radius: 26px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(238, 237, 228, .26), rgba(30, 32, 29, .42) 48%, rgba(14, 16, 14, .56));
  border: 1px solid rgba(240, 238, 230, .22);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .72), 0 2px 0 rgba(255, 255, 255, .06) inset;
  backdrop-filter: blur(12px);
}

.phone__screen {
  height: 100%;
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 9px 0;
}

.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .14em;
  color: var(--faint);
  margin-bottom: 7px;
}

.fx {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 1px 8px;
  min-height: 0;
}

.fx__head { display: flex; align-items: baseline; justify-content: space-between; }

.fx__hello { font-size: 9px; font-weight: 620; letter-spacing: -.01em; color: var(--ink); }

.fx__slogan { font-size: 6px; letter-spacing: .06em; color: var(--faint); }

.fx__grp {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .16em;
  color: var(--faint);
}

.fx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

.fx__cell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3px;
  height: 31px;
  padding: 5px 6px 5px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  font-size: 6.5px;
  line-height: 1.3;
  color: var(--ink);
}

.fx__cell span { max-width: 78%; }

.fx__ic {
  align-self: flex-end;
  width: 9px;
  height: 9px;
  opacity: .5;
  flex: none;
}

.fx__cell i {
  align-self: flex-end;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .3;
}

.fx__foot {
  margin-top: auto;
  padding-top: 6px;
  font-size: 5.5px;
  letter-spacing: .04em;
  color: var(--faint);
}

/* ---------- preview: Daymark ---------- */

.pv--daymark {
  background: radial-gradient(110% 90% at 50% 10%, #1B2620 0%, #101713 48%, #0A0D0B 100%);
  display: grid;
  place-items: center;
}

html[data-theme="light"] .pv--daymark {
  background: radial-gradient(110% 90% at 50% 6%, #FFFFFF 0%, #F0F0EA 54%, #E1E2DA 100%);
}

html[data-theme="light"] .pv--daymark::before {
  background: radial-gradient(46% 44% at 52% 40%, rgba(96, 112, 98, .05), transparent 76%);
}

html[data-theme="light"] .login__card {
  border-color: rgba(25, 28, 26, .08);
  box-shadow: 0 40px 80px -40px rgba(25, 28, 26, .28), 0 1px 0 rgba(255, 255, 255, .8) inset;
}

html[data-theme="light"] .dm {
  background: rgba(255, 255, 255, .74);
  border-color: rgba(25, 28, 26, .1);
  box-shadow: 0 28px 56px -30px rgba(25, 28, 26, .3), 0 1px 0 rgba(255, 255, 255, .7) inset;
}

html[data-theme="light"] .dm__bar {
  color: rgba(25, 28, 26, .5);
  border-bottom-color: rgba(25, 28, 26, .08);
}

html[data-theme="light"] .dm__row { border-bottom-color: rgba(25, 28, 26, .06); }
html[data-theme="light"] .dm__num { color: #191C1A; }
html[data-theme="light"] .dm__num small { color: rgba(25, 28, 26, .38); }
html[data-theme="light"] .dm__name { color: rgba(25, 28, 26, .72); }
html[data-theme="light"] .dm__date { color: rgba(25, 28, 26, .46); }
html[data-theme="light"] .dm__row.on .dm__num { color: #344A40; }
html[data-theme="light"] .dm__row.on .dm__name { color: #191C1A; }
html[data-theme="light"] .dm__foot { color: rgba(25, 28, 26, .3); }

html[data-theme="light"] .pv--case::before {
  background: radial-gradient(42% 40% at 50% 34%, rgba(96, 112, 98, .07), transparent 78%);
}

.pv--daymark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 44% at 52% 40%, rgba(122, 148, 128, .2), transparent 76%);
  z-index: 0;
}

.dm {
  width: 82%;
  border-radius: 12px;
  padding: 16px 18px 18px;
  background: rgba(30, 34, 29, .66);
  border: 1px solid rgba(242, 241, 236, .16);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(16px) saturate(1.2);
}

.dm__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(242, 241, 236, .1);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .18em;
  color: rgba(242, 241, 236, .55);
}

.dm__row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 241, 236, .07);
}

.dm__num {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: #F2F1EC;
}

.dm__num small {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .16em;
  color: rgba(242, 241, 236, .42);
  margin-left: 4px;
}

.dm__name { font-size: 12px; color: rgba(242, 241, 236, .82); }

.dm__date {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: rgba(242, 241, 236, .46);
}

.dm__row.on .dm__num { color: #B7C7B9; }
.dm__row.on .dm__name { color: #F2F1EC; }

.dm__foot {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .16em;
  color: rgba(242, 241, 236, .3);
  padding-top: 11px;
}

/* ---------- notes（札记） ---------- */

.notes__sub {
  margin: -6px 0 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.notes { display: grid; }

.note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 21px 0 19px;
  border-bottom: 1px solid var(--line-soft);
}

.note__t {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
  transition: color .22s var(--ease);
}

.note__c {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--faint);
}

.note__d {
  display: block;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 64ch;
}

.note__s {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}

.note--static:hover .note__t { color: var(--ink); }

.note__a {
  font-size: 13px;
  color: var(--faint);
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.note:hover .note__t, .note:hover .note__a { color: var(--accent); }
.note:hover .note__a { transform: translate(2px, -2px); }

/* ---------- tools ---------- */

.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.tool {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .22s var(--ease);
}

.tool__name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
}

.tool__name svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color .22s var(--ease); }
.tool:hover .tool__name svg { color: var(--accent); }
.tool__desc { font-size: 13.5px; color: var(--muted); }
.tool__arrow { font-size: 13px; color: var(--faint); transition: color .22s var(--ease), transform .22s var(--ease); }

.tool:hover .tool__name { color: var(--accent); }
.tool:hover .tool__arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ---------- footer ---------- */

main { flex: 1 0 auto; }

.foot {
  border-top: 1px solid var(--line-soft);
  padding: 32px 0 44px;
  margin-top: 24px;
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.foot__left { display: flex; align-items: center; gap: 14px; }
.foot__left svg { width: 16px; height: 16px; opacity: .8; }

.foot__right { display: flex; align-items: center; gap: 20px; }
.foot__right a { transition: color .2s var(--ease); }
.foot__right a:hover { color: var(--ink); }

.foot__ver { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; }

/* ---------- inner page head ---------- */

.pagehead { padding: clamp(56px, 8vh, 88px) 0 clamp(28px, 4vh, 44px); }

.pagehead .label { display: block; margin-bottom: 22px; }

.pagehead__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.pagehead__aside {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--faint);
  text-align: right;
  padding-bottom: 6px;
}

/* ---------- projects page ---------- */

.projects { padding-bottom: 40px; }

.proj {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}

.proj:first-child { padding-top: 8px; }
.proj:nth-child(even) .proj__copy { order: 2; }

.proj__copy .label { display: block; margin-bottom: 14px; }
.proj__name { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; font-weight: 560; margin: 0; }
.proj__desc { color: var(--muted); margin: 10px 0 0; font-size: 15px; max-width: 40ch; }

.proj__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
}

.proj__facts span::before {
  content: "·";
  margin-right: 8px;
  color: var(--faint);
}

.proj__facts span:first-child::before { content: none; margin: 0; }

.proj__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .22s var(--ease);
}

.proj__link:hover { border-bottom-color: var(--accent); }

.proj__preview { border-radius: 14px; overflow: hidden; }

/* ---------- tool spec ---------- */

.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 22px;
}

.spec__item { display: grid; gap: 7px; }

.spec__k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

.spec__v { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  padding: 24px 0 40px;
  align-items: start;
}

.about__body p { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin: 0 0 20px; max-width: 52ch; }
.about__body p strong { color: var(--ink); font-weight: 500; }

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

.index-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.index-row span:first-child { color: var(--faint); }
.index-row span:last-child { color: var(--ink-2); text-align: right; }

/* ---------- journal ---------- */

.journal-empty { padding: 72px 0 96px; color: var(--muted); font-size: 15px; max-width: 40ch; }

/* ---------- login ---------- */

body.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.login__art {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}

.login__art canvas { width: 100%; height: 100%; display: block; }

.login__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.login__card {
  width: min(400px, 100%);
  padding: 34px 34px 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .5);
}

.login__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 26px;
}

.login__brand svg { width: 32px; height: 32px; }
.login__brand .label { color: var(--faint); }

.login__title { font-size: 26px; letter-spacing: -.02em; font-weight: 560; margin: 0; }
.login__hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }

.login__field { margin-top: 26px; }

.login__field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.login__field input {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  transition: border-color .25s var(--ease);
}

.login__field input::placeholder { color: var(--faint); opacity: .7; }
.login__field input:focus { border-color: var(--accent); }

.login__submit {
  width: 100%;
  height: 44px;
  margin-top: 26px;
  border-radius: 8px;
  border: 0;
  background: var(--btn);
  color: #F3F2EC;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .22s var(--ease);
}

.login__submit:hover { background: var(--btn-hover); color: #FFF; }

.login__err { margin-top: 16px; font-size: 12.5px; color: #C98A72; }
html[data-theme="light"] .login__err { color: #A2503A; }

.login__back {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

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

/* ---------- studio (private) ---------- */

.studio__main { padding: 20px 0 60px; }

.studio__block { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.studio__block:last-child { border-bottom: 0; }

.studio__block-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.studio__block-head .label { color: var(--accent); }
.studio__block-head h2 { font-size: 19px; font-weight: 560; margin: 0; letter-spacing: -.01em; }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }

.kv__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.kv__row dt { color: var(--muted); }
.kv__row dd { color: var(--ink-2); margin: 0; text-align: right; }

.note { margin-top: 16px; font-size: 12.5px; color: var(--faint); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.chip--on { border-color: var(--accent); color: var(--accent); }

.studio__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- tool pages ---------- */

.tool-main { padding: 8px 0 88px; }

.add-row {
  display: grid;
  grid-template-columns: 1fr 190px auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

.field input {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  padding: 8px 0;
  outline: none;
  transition: border-color .2s var(--ease);
  width: 100%;
}

.field input:focus { border-color: var(--accent); }
.field input::placeholder { color: var(--faint); }

.cd-list { margin-top: 6px; }

.cd-row {
  display: grid;
  grid-template-columns: 160px 1fr 32px;
  align-items: center;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cd-num {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.cd-num small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--faint);
  margin-left: 5px;
}

.cd-info b { display: block; font-size: 15.5px; font-weight: 500; margin-bottom: 3px; }
.cd-info span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--faint); }

.cd-del {
  background: none;
  border: 0;
  color: var(--faint);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  justify-self: end;
  transition: color .2s var(--ease);
}

.cd-del:hover { color: var(--ink); }
.past .cd-num { color: var(--faint); }
.empty { padding: 56px 0; color: var(--faint); font-size: 14px; }

/* focus timer */
.focus-wrap { display: grid; place-items: center; padding: 40px 0 16px; }

.ring { position: relative; width: 274px; height: 274px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.ring__time {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.ring__state {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--faint);
  margin-top: 8px;
  text-align: center;
}

.focus-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

.focus-count {
  text-align: center;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--faint);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; }
  .hero__art { order: -1; aspect-ratio: 2.2 / 1; max-height: 268px; }
  .hero__art .art-cap { display: none; }
  .hero__sub { max-width: 40ch; }
  .proj { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .proj:nth-child(even) .proj__copy { order: 0; }
  .about { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; --nav-h: 58px; }
  .works { gap: 24px; }
  .tools { column-gap: 30px; }
  .tool { padding: 16px 0; }
  .kv { grid-template-columns: 1fr; }
  .add-row { grid-template-columns: 1fr; gap: 18px; }
  .cd-row { grid-template-columns: 112px 1fr 28px; gap: 16px; }
  .cd-num { font-size: 30px; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pagehead__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pagehead__aside { text-align: left; padding-bottom: 0; }
}

@media (max-width: 620px) {
  .display { font-size: clamp(40px, 12vw, 54px); }
  .hero {
    padding-top: 26px;
    padding-bottom: 26px;
    gap: 18px;
  }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero__sub { margin-top: 20px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .hero__art {
    order: 2;
    aspect-ratio: 1.9 / 1;
    max-height: 192px;
    margin-top: -4px;
  }
  .hero__art .art-cap { display: none; }

  .nav__links { display: none; }
  .nav__tools { margin-left: auto; gap: 4px; }
  .nav__toggle {
    display: inline-grid;
    gap: 5px;
    align-content: center;
    width: 30px;
    height: 30px;
    padding: 0 7px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block;
    height: 1px;
    background: var(--muted);
    transition: transform .25s var(--ease), background-color .25s var(--ease);
  }
  .nav__toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); background: var(--ink); }
  .nav__toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); background: var(--ink); }
  .lang-btn { padding: 5px 7px; font-size: 10px; }
  .icon-btn { width: 30px; height: 30px; }
  .studio-link { padding: 5px 10px; font-size: 11px; }


  /* 手机端触控目标：底部导航类链接与按钮不小于 40px */
  .nav__toggle { width: 40px; height: 40px; margin-right: -4px; }
  .lang-btn { min-height: 38px; padding: 9px 11px; font-size: 11px; }
  .icon-btn { width: 38px; height: 38px; }
  .studio-link { min-height: 38px; display: inline-flex; align-items: center; padding: 9px 14px; font-size: 11.5px; }
  .work__go { padding: 10px 0 4px; }
  .foot__right a { padding: 10px 0; }
  .post-link { padding: 22px 0; }
  .section { padding: 38px 0; }
  .tools { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr auto; row-gap: 2px; }
  .tool__desc { grid-column: 1 / 2; }
  .tool__arrow { grid-row: 1 / span 2; grid-column: 2; }
  .pagehead { padding-top: 34px; padding-bottom: 10px !important; }
  .pagehead__aside { display: none; }
  .pagehead__row { gap: 10px; }
  .lede { font-size: 15.5px; margin-top: 14px; }
  .section__head { margin-bottom: 22px; }

  .works { grid-template-columns: 1fr; gap: 30px; }
  .pv { aspect-ratio: 1.05 / 1; }
  /* 手机单栏时按内容定比例，减少上下留白 */
  .pv--case { aspect-ratio: 1 / 1.06; }
  .pv--daymark { aspect-ratio: 1.34 / 1; }
  .proj { padding: 32px 0; gap: 20px; }
  .proj__preview { border-radius: 12px; }
  .dm { width: 90%; padding: 13px 14px 15px; }
  .dm__row { grid-template-columns: 52px 1fr auto; gap: 10px; padding: 10px 0; }
  .dm__num { font-size: 21px; }
  .dm__num small { display: none; }
  .dm__name { font-size: 11.5px; }
  .dm__date { font-size: 7.5px; }
  .dm__date { font-size: 8px; }

  .spec { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .spec__item { grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; }
  .login__card { padding: 26px 22px 24px; }
  .foot__inner { gap: 10px; padding: 26px 0; }
  .foot__right { flex-wrap: wrap; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  body { animation: none; }
  /* 动效关闭时画面本就静止，暂停按钮没有意义 */
  .art-toggle { display: none; }
}

/* ---------- 项目详情页 ---------- */
/* Daymark 详情页的即算演示 */
.try {
  margin-top: 14px;
  padding: 18px 20px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-2);
}
.try__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.try__row label { font-size: 12.5px; color: var(--muted); }
.try__row input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}
.try__row input:focus { outline: none; border-color: var(--accent); }
.try__out { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 0; }
.try__out b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.try__out span { font-size: 12.5px; color: var(--muted); }
.try__note { margin: 12px 0 0; font-size: 11.5px; color: var(--faint); }


.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 26px;
  transition: color .2s var(--ease);
}

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

.detail { padding-bottom: clamp(48px, 7vh, 80px); }

.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}

.detail__h {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.detail__h:not(:first-child) { margin-top: 38px; }

.detail__p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

.feat { list-style: none; padding: 0; margin: 0; }

.feat li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.7;
}

.feat li:last-child { border-bottom: 0; }
.feat b { font-weight: 500; color: var(--ink); }
.feat span { color: var(--muted); }

.log { display: grid; gap: 16px; }

.log__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.log__date { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .02em; }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
}

.card__row:first-child { padding-top: 0; }
.card__row span:first-child { color: var(--faint); }
.card__row span:last-child { color: var(--ink-2); text-align: right; }

.card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.card__note { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 16px 0 0; }

@media (max-width: 980px) {
  .detail__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .card { position: static; }
}

@media (max-width: 620px) {
  .feat li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .log__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- 文本页（隐私 / 404） ---------- */

.textpage { padding-bottom: clamp(56px, 8vh, 96px); }
.textpage__body { max-width: 66ch; }
.textpage__body h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 38px 0 12px; }
.textpage__body p { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); margin: 0 0 14px; }
.textpage__body li { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); margin-bottom: 6px; }
.textpage__body ul { padding-left: 18px; margin: 0 0 14px; }

/* NARROW_CASE_PREVIEW: 窄屏卡片变矮，手机跟着放大并裁掉底部，保持文字不成两行 */
@media (max-width: 620px) {
  .pv--case .phone { height: 96%; }
  .pv--case .fx__cell { height: 27px; font-size: 6px; padding: 4px 5px; }
  .pv--case .fx { gap: 4px; }
  .pv--case .fx__foot { font-size: 5px; }
  .pv--case .fx__cell i { display: none; }
  .pv--case .fx__cell span { max-width: 100%; white-space: nowrap; }
  .pv--case .pv__cap { display: none; }
}

/* ---------- 札记正文（post） ---------- */

.post { padding-bottom: clamp(64px, 10vh, 120px); }

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(40px, 6vh, 64px);
  font-size: 12.5px;
  color: var(--muted);
  transition: color .22s var(--ease);
}

.post__back span[aria-hidden] { font-size: 11px; }
.post__back:hover { color: var(--accent); }

.post__head {
  margin-top: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
}

.post__head .label { display: block; margin-bottom: 18px; }

.post__head .h1 {
  max-width: 26em;
  font-size: clamp(26px, 2.45vw, 34px);
  line-height: 1.36;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.post__body {
  max-width: 33em;
  margin-top: 34px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}

.post__body p { margin: 0; }
.post__body p + p { margin-top: 1.08em; }

.post__end {
  margin-top: 52px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--faint);
}

/* 正文右侧的像素海（宽屏才出现，随滚动保持在视口内） */
@media (min-width: 1081px) {
  .post {
    display: grid;
    grid-template-columns: minmax(0, 33em) 1fr;
    column-gap: clamp(48px, 6vw, 110px);
    align-content: start;
  }

  .post__main { grid-column: 1; }

  .post__art {
    grid-column: 2;
    position: sticky;
    top: calc(var(--nav-h) + 34px);
    align-self: start;
    margin-top: clamp(20px, 6vh, 90px);
    height: min(62vh, 560px);
    opacity: .92;
    -webkit-mask-image: radial-gradient(72% 68% at 52% 48%, #000 58%, rgba(0,0,0,.66) 82%, transparent 100%);
    mask-image: radial-gradient(72% 68% at 52% 48%, #000 58%, rgba(0,0,0,.66) 82%, transparent 100%);
  }

  .post__art canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1080px) {
  .post__art { display: none; }
}

@media (max-width: 620px) {
  .post__head .h1 { font-size: 25px; line-height: 1.32; }
  .post__body { font-size: 16px; line-height: 1.92; margin-top: 26px; }
  .post__end { margin-top: 40px; }
}

/* 上一篇 / 下一篇 + 右侧像素海暂停 */
.post-nav { margin-top: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line-soft); }
.post-link {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .22s var(--ease);
}
.post-link__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.post-link__t { font-size: 15.5px; color: var(--ink); transition: color .22s var(--ease); }
.post-link--next { text-align: right; }
.post-link:hover .post-link__t { color: var(--accent); }

.post__art-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

/* 小说排版：首行缩进，段间收紧 */
.post__body--fiction p { text-indent: 2em; }
.post__body--fiction p + p { margin-top: .62em; }

/* 404 页的去处 */
.n404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.n404__links a { color: var(--muted); }
.n404__links a:hover { color: var(--ink); }
