:root {
  --paper: #f3eee6;
  --paper-2: #e8e1d4;
  --ink: #171814;
  --muted: #5f645c;
  --line: rgba(23, 24, 20, 0.14);
  --rail: #10120e;
  --rail-ink: #f4efe6;
  --rail-dim: #9aa193;
  --accent: #c8f24a;
  --mark: #d7ff63;
  --wip: #c4842a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Noto Serif SC", "Source Serif 4", "Songti SC", serif;
  --latin: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --side: clamp(340px, 30vw, 460px);
  /* Type scale, sized toward yuzong.ai: smaller display, quieter chrome, long-read body. */
  --fs-body: 16px;
  --lh-body: 1.75;
  --fs-kicker: 10.5px;
  --fs-meta-k: 10px;
  --fs-nav: 13px;
  --fs-nav-no: 10px;
  --fs-meta: 12.5px;
  --fs-signal: 13.5px;
  --fs-tag: 13px;
  --fs-quiet: 13.5px;
  --fs-support: 14px;
  --fs-lede: 16.5px;
  --fs-read: 16.5px;
  --lh-read: 1.95;
  --fs-byline: 15px;
  --fs-name: clamp(56px, 5.4vw, 84px);
  --fs-name-sm: 40px;
  --fs-avatar: 40px;
  --fs-avatar-sm: 32px;
  --fs-hero: clamp(40px, 4.6vw, 68px);
  --fs-hero-sm: 36px;
  --fs-article: clamp(30px, 3.6vw, 46px);
  --fs-article-sm: clamp(28px, 7vw, 36px);
  --fs-section: clamp(22px, 2vw, 28px);
  --fs-subhead: 18px;
  --fs-card: 18px;
  --fs-post: 21px;
  --fs-feature: clamp(22px, 2.2vw, 26px);
  --fs-h2: clamp(21px, 2.2vw, 26px);
  --fs-h3: 18px;
  --fs-contact: 18px;
  --fs-pill: 14px;
  --fs-mark: 16px;
  --fs-search: 22px;
  --fs-code: 13px;
  --fs-table: 14px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #131512;
  --paper-2: #1c1f19;
  --ink: #f3eee6;
  --muted: #a39e92;
  --line: rgba(243, 238, 230, 0.14);
  --rail: #090b08;
  --mark: rgba(200, 242, 74, 0.48);
  --wip: #e2b15a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: #142000; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
html[data-theme="dark"] .grain { opacity: 0.22; mix-blend-mode: overlay; }

.mono {
  font-family: var(--mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shell { display: flex; align-items: flex-start; min-height: 100vh; }

.side {
  position: sticky;
  top: 0;
  flex: 0 0 var(--side);
  width: var(--side);
  height: 100vh;
  background: var(--rail);
  color: var(--rail-ink);
  z-index: 5;
}
.ruler {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(200, 242, 74, 0.72);
  pointer-events: none;
}
.side::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  right: 0;
  width: 10px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 16px,
    rgba(200, 242, 74, 0.45) 16px 17px
  );
  pointer-events: none;
}
.side-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 42px 24px 32px;
  overflow: auto;
}
.who { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.avatar {
  position: relative;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(200, 242, 74, 0.45);
  background: #000;
  line-height: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.badge {
  position: absolute;
  right: -10px;
  bottom: -8px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #142000;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.side-kicker { margin: 0 0 6px; color: var(--rail-dim); text-align: right; }
.side-name {
  margin: 0;
  font-family: var(--latin);
  font-weight: 600;
  font-size: var(--fs-name);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.tag {
  margin: 0;
  align-self: flex-start;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(200, 242, 74, 0.5);
  border-radius: 18px;
  font-size: var(--fs-tag);
  line-height: 1.45;
}
.motif { width: min(100%, 280px); height: auto; display: block; }
.motif .grid { color: rgba(244, 239, 230, 0.28); }
.motif .dn { stroke: rgba(244, 239, 230, 0.72); fill: transparent; }
.motif .up { stroke: var(--accent); fill: var(--accent); }
.motif .up path, .motif .dn path { fill: none; }
.motif .factor { stroke: var(--accent); stroke-width: 1.6; }

.signal { display: grid; gap: 8px; }
.signal-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--accent);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 242, 74, 0.7);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 7px rgba(200, 242, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 242, 74, 0); }
}
.signal-line {
  margin: 0;
  min-height: 1.5em;
  font-size: var(--fs-signal);
  transition: opacity 0.35s var(--ease);
}
.signal-line.is-out { opacity: 0; }
.signal-dots { display: flex; gap: 6px; }
.signal-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.28);
}
.signal-dots button[aria-current="true"] { background: var(--accent); }

.meta { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.meta li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: var(--fs-meta);
}
.meta .mono { color: var(--rail-dim); font-size: var(--fs-meta-k); }
.meta a { text-decoration: none; border-bottom: 1px solid rgba(200, 242, 74, 0.7); }
a.side-name, a.who { color: inherit; text-decoration: none; }
.side .home-back {
  color: var(--rail-ink);
  border-bottom: 1px solid rgba(200, 242, 74, 0.7);
  text-decoration: none;
  font-family: var(--mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.12em;
}
.todo-mark {
  margin-left: 8px;
  color: #142000;
  background: var(--accent);
  padding: 1px 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.side-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}
.side-status { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--rail-dim); }
.icons { display: flex; gap: 6px; }
.icons a, .icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: transparent;
  color: var(--rail-ink);
  text-decoration: none;
}
.icons svg, .icon-btn svg { width: 16px; height: 16px; }
.icons a:hover, .icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.sheet {
  flex: 1;
  min-width: 0;
  padding: 0 clamp(22px, 4vw, 72px) 88px;
}
.tabs-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 calc(clamp(22px, 4vw, 72px) * -1) 8px;
  padding: 0 clamp(22px, 4vw, 72px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 13px 10px 11px;
  text-decoration: none;
  font-size: var(--fs-nav);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.tab-no { font-family: var(--mono); font-size: var(--fs-nav-no); letter-spacing: 0.08em; opacity: 0.72; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}
.tab-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sheet .icon-btn {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
html[data-theme="dark"] .sun { display: none; }
html:not([data-theme="dark"]) .moon { display: none; }

.page[hidden] { display: none !important; }
.hero { padding: clamp(36px, 6vw, 72px) 0 12px; max-width: 920px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); }
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  background-image: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 90%, transparent 90%);
}
.caret {
  display: inline-block;
  width: 0.55ch;
  height: 0.72em;
  margin-left: 4px;
  background: var(--accent);
  transform: translateY(0.08em);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lede { max-width: 40em; margin: 22px 0 0; font-size: var(--fs-lede); line-height: 1.75; color: var(--ink); }
.funline { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-quiet); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  font-size: var(--fs-pill);
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.pill.ghost { background: transparent; color: var(--ink); }
.pill:hover { background: var(--accent); color: #142000; border-color: var(--accent); }

.block { margin-top: 44px; }
.product-band-title { white-space: nowrap; }
.product-band + .product-band {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.product-band + .product-band > .hero { padding-top: 32px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 18px; }
.sec-head h2, .subhead {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.sec-head h2 { margin: 0; font-size: var(--fs-section); }
.dek { margin: 0; color: var(--muted); font-size: var(--fs-support); }
.subhead { margin: 28px 0 14px; font-size: var(--fs-subhead); }
.text-link {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: var(--fs-support);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.goal-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.goal { display: block; color: inherit; text-decoration: none; }
.goal, .card {
  text-align: left;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 70%, var(--paper-2));
  padding: 18px 18px 16px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.goal { width: 100%; appearance: none; }
.goal { min-height: 152px; }
.goal .mono, .card .tagline { color: var(--muted); }
.goal h3, .card h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: var(--fs-card);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.goal p, .card p { margin: 0; color: var(--muted); font-size: var(--fs-quiet); line-height: 1.65; }
.goal p a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--mark);
}
.goal:hover, .card:hover, .card.is-focus {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--ink));
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 176px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-id { min-width: 0; flex: 1; }
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card h3 { margin: 2px 0 0; }
.card-url {
  display: inline-block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: none;
}
.card-url:hover { color: var(--ink); }
.card-logo, .card .mark {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #111216;
}
/* 自带底色的图标不要再叠一层黑底。INF 会员省是橙色圆角底，InfTrader 是白底。 */
.card-logo.card-logo-bare {
  background: transparent;
  border-color: transparent;
}
.card .mark {
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-family: var(--latin);
  font-size: var(--fs-mark);
}
.card-open {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: none;
}
.card-open span:last-child { color: var(--ink); }
.card-open:hover { border-top-color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-family: var(--latin);
  font-size: var(--fs-mark);
}
.status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
}
.status-live { background: #e5f7a8; color: #1c2800; }
.status-wip { background: rgba(196, 132, 42, 0.16); color: var(--wip); }
.status-building { background: transparent; color: var(--muted); border: 1px solid var(--line); }
html[data-theme="dark"] .status-live { background: rgba(200, 242, 74, 0.18); color: var(--accent); }
.pending { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.card a.jump, .posts a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.card .muted-link { color: var(--muted); }

.log { list-style: none; margin: 0; padding: 0; }
.log li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.log h3 { margin: 0 0 4px; font-family: var(--serif); font-size: var(--fs-post); font-weight: 650; }
.log p { margin: 0; color: var(--muted); font-size: var(--fs-support); }
.log .mono { color: var(--muted); padding-top: 6px; }

.posts { list-style: none; margin: 0; padding: 0; }
.posts li {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.posts h3 { margin: 0; font-family: var(--serif); font-size: var(--fs-post); font-weight: 650; line-height: 1.4; }
.posts h3 a, .lede a, .prose a, .now-item a, .dek a { text-decoration: none; border-bottom: 1px solid var(--mark); }
.posts p, .by { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-quiet); }
.feature {
  display: block;
  max-width: 760px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  background: color-mix(in srgb, var(--paper) 70%, var(--paper-2));
  text-decoration: none;
}
.feature h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: var(--fs-feature);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.feature p { margin: 0; color: var(--muted); max-width: 40em; font-size: var(--fs-support); line-height: 1.7; }
.feature .by { margin-top: 10px; font-size: var(--fs-quiet); }
.feature .jump {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid var(--ink);
}
.feature:hover { border-color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.contact-row { list-style: none; margin: 18px 0 0; padding: 0; max-width: 720px; }
.contact-row li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-row a {
  font-family: var(--serif);
  font-size: var(--fs-contact);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.contact-row .mono { color: var(--muted); }
.essay {
  width: 100%;
  max-width: 72rem;
  font-size: var(--fs-read);
  line-height: var(--lh-read);
}
.essay .hero { max-width: none; padding-bottom: 8px; }
.essay .lede { max-width: none; font-size: var(--fs-byline); color: var(--muted); }
.essay .hero-title { font-size: var(--fs-article); max-width: none; line-height: 1.32; }
.essay h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 1.5em 0 0.55em;
}
.essay h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 650;
  line-height: 1.45;
  margin: 1.3em 0 0.4em;
}
.essay p { margin: 0 0 1em; }
.essay a { text-decoration: none; border-bottom: 1px solid var(--mark); }
.essay blockquote {
  margin: 0 0 1.3em;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--accent);
}
.essay blockquote p { margin: 0 0 0.35em; }
.essay ul, .essay ol { margin: 0 0 1em; padding-left: 1.3em; }
.essay li { margin: 0.28em 0; }
.essay hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.essay pre {
  overflow: auto;
  margin: 0 0 1.2em;
  padding: 14px 16px;
  background: var(--rail);
  color: var(--rail-ink);
  font-family: var(--mono);
  font-size: var(--fs-code);
  line-height: 1.65;
}
.essay .table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.essay table { width: 100%; border-collapse: collapse; font-size: var(--fs-table); }
.essay th, .essay td {
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 8px 12px 8px 0;
  vertical-align: top;
}
.essay .checks { list-style: none; padding-left: 0; }
.essay .checks li { position: relative; padding-left: 1.6em; }
.essay .checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85em;
  height: 0.85em;
  border: 1px solid var(--ink);
}
.roomy { margin-top: 12px; }

.prose { max-width: 40em; font-size: var(--fs-read); line-height: var(--lh-read); }
.prose p { margin: 0 0 16px; }
.fact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact .mono { color: var(--muted); }
.now {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.now-item { padding: 16px; border-top: 2px solid var(--accent); background: color-mix(in srgb, var(--paper) 70%, var(--paper-2)); }
.now-item p { margin: 0; font-size: var(--fs-support); line-height: 1.7; }
.now-item .mono { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-kicker); }

.contact-list { list-style: none; margin: 12px 0 0; padding: 0; max-width: 760px; }
.contact-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-list .mono { color: var(--muted); }
.contact-list strong { font-family: var(--serif); font-size: var(--fs-contact); font-weight: 650; letter-spacing: -0.02em; }
.contact-list em { font-style: normal; font-family: var(--mono); font-size: var(--fs-kicker); letter-spacing: 0.14em; color: var(--muted); }
.contact-list a { text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.finder[hidden] { display: none; }
.finder { position: fixed; inset: 0; z-index: 40; }
.finder-back { position: absolute; inset: 0; border: 0; background: rgba(10, 12, 8, 0.46); }
.finder-panel {
  position: relative;
  width: min(640px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 18px 18px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}
.finder-panel .mono { margin: 0 0 8px; color: var(--muted); }
#q {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0 12px;
  font-family: var(--serif);
  font-size: var(--fs-search);
  outline: none;
}
#q-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 46vh; overflow: auto; }
#q-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  text-align: left;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
#q-list .mono { color: var(--muted); }
.finder-hint { margin: 10px 0 0; }

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

@media (max-width: 960px) {
  .shell { display: block; }
  .side {
    position: relative;
    width: 100%;
    height: auto;
    flex-basis: auto;
  }
  .ruler, .side::after, .motif, .side-kicker { display: none; }
  .side-inner { height: auto; padding: 22px 20px 18px; gap: 14px; }
  .who { align-items: center; }
  .tabs-bar { margin-left: -20px; margin-right: -20px; padding-left: 12px; padding-right: 12px; }
  .side-inner { gap: 10px; padding: 18px 18px 14px; }
  .avatar { width: 64px; height: 64px; font-size: var(--fs-avatar-sm); }
  .side-name { font-size: var(--fs-name-sm); }
  .meta li { padding: 6px 0; }
  .goal-grid, .now { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts li, .log li, .contact-list li, .contact-row li { grid-template-columns: 1fr; gap: 4px; flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: var(--fs-hero-sm); }
  .essay .hero-title { font-size: var(--fs-article-sm); }
  .sheet { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

html.shot .reveal { opacity: 1; transform: none; transition: none; }
html.shot .caret, html.shot .pulse { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
