:root {
  color-scheme: dark;
  --paper: #101412; --surface: #171d19; --surface-high: #1e2620;
  --ink: #edf1e9; --muted: #9ba89d; --line: #ffffff13;
  --accent: #d0eaa3; --accent-soft: #d0eaa312; --rose: #bda8d5;
  --orb-primary: 208,234,163; --orb-secondary: 189,168,213;
  --serif: "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f4f3ec; --surface: #eaece3; --surface-high: #ffffff;
  --ink: #24342b; --muted: #64756a; --line: #24342b1b;
  --accent: #3f6f4a; --accent-soft: #3f6f4a0c; --rose: #82668f;
  --orb-primary: 63,111,74; --orb-secondary: 130,102,143;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.8; transition: background-color .35s, color .35s; }
body::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 850px; pointer-events: none; background: radial-gradient(ellipse at 82% 20%, #76946a12, transparent 55%), radial-gradient(ellipse at 10% 45%, #a38eb10a, transparent 45%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, input, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }
[hidden] { display: none !important; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.reading-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--rose)); box-shadow: 0 0 12px var(--accent); }
.site-header { position: sticky; top: 16px; z-index: 30; margin-top: 20px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 23px; border: 1px solid var(--line); border-radius: 22px; gap: 24px; background: color-mix(in srgb, var(--paper) 77%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; font-weight: 650; letter-spacing: .1em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; color: var(--accent); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.brand:hover svg { transform: rotate(-16deg); }
.site-nav { display: flex; gap: 31px; align-items: center; margin-left: auto; margin-right: 27px; color: var(--muted); font-size: 13px; }
.site-nav a { position: relative; padding-block: 8px; }
.site-nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after, .site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-trigger, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 11px; height: 35px; padding: 0 10px; font-size: 11px; transition: color .2s, background .2s; }
.search-trigger:hover, .theme-toggle:hover { background: var(--accent-soft); color: var(--accent); }
.header-actions svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; }
.search-trigger kbd { font-family: inherit; font-size: 9px; color: var(--muted); padding-left: 5px; border-left: 1px solid var(--line); }
.theme-toggle { width: 35px; padding: 0; }
.moon-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: none; }
h1, h2, h3, p { margin-top: 0; }
.hero { min-height: 580px; padding: 72px 0 52px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; }
.eyebrow { font-size: 11px; letter-spacing: .13em; color: var(--accent); font-weight: 550; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font: 500 clamp(32px, 3.6vw, 46px)/1.65 var(--serif); margin: 25px 0 23px; letter-spacing: -.02em; }
.hero h1 span { color: var(--accent); position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 6px; bottom: -6px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.hero p { color: var(--muted); font-size: 14px; line-height: 2; margin-bottom: 0; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 29px; }
.primary-button, .quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; border-radius: 12px; padding: 11px 18px; font-size: 12px; min-height: 44px; border: 1px solid var(--line); transition: box-shadow .25s, background .25s; }
.primary-button { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.primary-button:hover { color: var(--paper); box-shadow: 0 8px 30px #b7d58e18; }
.quiet-button { color: var(--ink); background: transparent; }
.quiet-button:hover { background: var(--accent-soft); }
.hero-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; margin-top: 29px; letter-spacing: .02em; }
.hero-caption i { width: 2px; height: 2px; border-radius: 50%; background: var(--muted); }
.flower-panel { position: relative; min-width: 0; }
.orb-stage { height: 390px; position: relative; isolation: isolate; }
.orb-stage::before, .orb-stage::after { content: ""; position: absolute; z-index: -1; width: 80%; height: 80%; top: 10%; left: 10%; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-26deg) scaleY(.69); pointer-events: none; }
.orb-stage::after { transform: rotate(32deg) scaleY(.78); opacity: .5; }
.orb-halo { position: absolute; z-index: -1; inset: 12%; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #c0db8d12, #a98ab108 45%, transparent 73%); filter: blur(18px); transition: transform 1s, opacity 1s; }
.is-blooming .orb-halo { transform: scale(1.5); opacity: .9; }
#flower-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; border-radius: 50%; }
#flower-canvas:active { cursor: grabbing; }
.orb-label { position: absolute; color: var(--muted); font-size: 9px; letter-spacing: .15em; pointer-events: none; opacity: .7; }
.orb-label-top { top: 10px; right: 24px; }
.orb-label-bottom { bottom: 8px; left: 22px; }
.scene-controls { display: flex; justify-content: center; gap: 5px; width: fit-content; margin: 2px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); }
.scene-controls button { border: 0; border-radius: 25px; background: transparent; color: var(--muted); padding: 6px 17px; font-size: 10px; transition: color .2s, background .25s; }
.scene-controls button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.featured { display: flex; align-items: center; gap: 23px; padding: 23px 27px; border: 1px solid var(--line); background: linear-gradient(110deg, var(--accent-soft), transparent 70%); border-radius: 18px; }
.feature-mark { display: grid; place-items: center; font-size: 35px; color: var(--accent); width: 48px; height: 48px; flex-shrink: 0; font-weight: 300; }
.featured .eyebrow { font-size: 9px; opacity: .8; }
.featured h2 { font: 500 18px/1.7 var(--serif); margin: 6px 0 0; }
.read-link { display: inline-flex; align-items: center; gap: 20px; margin-left: auto; color: var(--accent); font-size: 11px; white-space: nowrap; padding: 10px 0 10px 14px; }
.read-link span { font-size: 18px; }
.notes-layout { margin-top: 76px; scroll-margin-top: 120px; }
.section-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-bar .eyebrow { font-size: 9px; color: var(--muted); margin-bottom: 11px; }
.section-bar h2 { font: 500 29px/1.5 var(--serif); margin: 0; }
.section-dot { color: var(--accent); }
.section-bar > span { color: var(--muted); font-size: 10px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 23px; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-button { display: inline-flex; align-items: center; gap: 10px; padding: 7px 11px; background: transparent; border: 1px solid transparent; border-radius: 9px; color: var(--muted); font-size: 10px; transition: background .2s, color .2s, border-color .2s; }
.topic-button:hover { color: var(--ink); background: var(--accent-soft); }
.topic-button[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); border-color: var(--line); }
.topic-button span { font-size: 8px; opacity: .65; }
.search { width: 225px; flex-shrink: 0; padding: 9px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; font-size: 10px; }
.search::placeholder { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.post-row { position: relative; overflow: hidden; padding: 28px 29px 21px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transform-style: preserve-3d; transition: border-color .3s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; will-change: auto; }
.post-row::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(440px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), var(--accent-soft), transparent 60%); opacity: 0; transition: opacity .4s; }
.post-row:hover { border-color: color-mix(in srgb, var(--accent) 23%, transparent); box-shadow: 0 20px 40px #0000000c; }
.post-row:hover::before { opacity: 1; }
.post-row > * { position: relative; }
.post-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-number { font-family: ui-monospace, monospace; color: var(--muted); opacity: .45; font-size: 10px; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 9px; }
.post-meta a { color: var(--accent); }
.post-row .post-meta time { display: none; }
.post-row h3 { font: 500 21px/1.7 var(--serif); margin: 28px 0 12px; letter-spacing: -.01em; }
.post-row p { color: var(--muted); font-size: 12px; line-height: 1.95; margin: 0; min-height: 47px; max-width: 430px; }
.post-card-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.card-arrow { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 14px; transition: background .25s, color .25s, transform .25s; }
.post-row:hover .card-arrow { background: var(--accent); color: var(--paper); transform: rotate(8deg); border-color: var(--accent); }
.empty { padding: 50px 0; color: var(--muted); font-size: 13px; }
.reset-filter { color: var(--accent); border: 0; border-bottom: 1px solid currentColor; padding: 0; background: none; font-size: 12px; }
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 26px 2px 36px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; font-size: 10px; }
.footer-links { display: flex; gap: 23px; }
.page-title { padding: 65px 0 40px; }
.page-title h1 { font: 500 38px/1.6 var(--serif); margin: 18px 0 14px; }
.page-title p { color: var(--muted); font-size: 14px; max-width: 640px; }
.archive-year { font: 400 25px/1.5 var(--serif); color: var(--accent); margin: 7px 0 23px; }
.archive-list { max-width: 850px; }
.archive-entry { display: grid; grid-template-columns: 74px 1fr 90px; gap: 20px; border-top: 1px solid var(--line); padding: 23px 10px; align-items: baseline; transition: background .25s, padding-left .25s; }
.archive-entry:hover { background: var(--accent-soft); padding-left: 18px; }
.archive-entry time, .archive-entry span { font-size: 11px; color: var(--muted); }
.archive-entry a { font-size: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 710px) 205px; gap: 80px; padding-top: 50px; }
.back-link { font-size: 11px; color: var(--muted); display: inline-block; margin-bottom: 32px; }
.article-head { padding: 0 0 32px; border-bottom: 1px solid var(--line); }
.article-head h1 { font: 500 clamp(28px, 3vw, 37px)/1.65 var(--serif); margin: 20px 0; }
.article-deck { color: var(--muted); font-size: 15px; margin: 0; }
.prose { padding-top: 8px; font-size: 15px; line-height: 2.15; overflow-wrap: anywhere; }
.prose h2 { font: 550 22px/1.7 var(--serif); margin: 39px 0 18px; scroll-margin-top: 120px; }
.prose p { margin-bottom: 21px; }
.prose ul { margin: 16px 0 26px; padding-left: 21px; }
.prose li { padding-left: 3px; margin-bottom: 7px; }
.prose code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 0 12px 12px 0; padding: 21px; font-size: 12px; line-height: 1.9; overflow-x: auto; margin: 25px 0; }
.toc { align-self: start; position: sticky; top: 125px; padding-top: 60px; }
.toc h2 { font-size: 10px; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li { padding-left: 16px; font-size: 11px; line-height: 1.9; }
.toc a { display: block; position: relative; color: var(--muted); padding: 7px 0; transition: color .25s; }
.toc a::before { content: ""; position: absolute; left: -17px; top: 10px; bottom: 10px; width: 2px; background: var(--accent); opacity: 0; transition: opacity .25s; }
.toc a[aria-current="location"] { color: var(--accent); }
.toc a[aria-current="location"]::before { opacity: 1; }
.article-end { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; }
.article-end a { color: var(--accent); }
.related { margin-top: 48px; }
.related h2 { font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.related a { display: block; font-family: var(--serif); font-size: 17px; padding: 18px 0; border-top: 1px solid var(--line); }
.about { max-width: 730px; padding-bottom: 15px; }
.about .prose { padding-top: 0; }
.about blockquote { margin: 28px 0; padding: 25px 28px; border-left: 2px solid var(--accent); background: var(--accent-soft); font-family: var(--serif); font-size: 20px; border-radius: 0 13px 13px 0; }
.back-to-top { position: fixed; z-index: 20; bottom: 26px; right: 28px; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); background: var(--surface); box-shadow: 0 8px 25px #0002; }
.command-dialog { width: min(580px, calc(100% - 32px)); max-height: min(680px, 85vh); margin: 14vh auto auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); padding: 0; box-shadow: 0 30px 120px #0006; }
.command-dialog::backdrop { background: #060a08b3; backdrop-filter: blur(10px); }
.command-dialog[open] { animation: dialog-in .22s ease-out; }
.command-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 22px 13px; font-size: 11px; color: var(--muted); }
.command-close { border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; font-size: 9px; color: var(--muted); background: transparent; }
#command-input { width: 100%; border: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 22px; padding: 8px 22px 21px; outline: none; }
#command-input::placeholder { color: var(--muted); opacity: .65; }
.command-results { padding: 6px 10px 12px; border-top: 1px solid var(--line); overflow-y: auto; max-height: 390px; }
.palette-item { display: block; padding: 14px 13px; border-radius: 10px; border: 1px solid transparent; }
.palette-item.is-active { background: var(--accent-soft); border-color: var(--line); }
.palette-item strong { font-size: 13px; font-weight: 500; display: block; }
.palette-item span { font-size: 10px; color: var(--muted); display: block; margin-top: 4px; }
.palette-empty { margin: 22px 12px; color: var(--muted); font-size: 12px; }
.command-foot { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 13px 22px; font-size: 9px; color: var(--muted); }
.reveal { animation: content-in .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes content-in { from { opacity: .3; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .15s; }
::view-transition-new(root) { animation-duration: .25s; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .site-nav { gap: 22px; margin-right: 8px; }
  .search-trigger kbd { display: none; }
  .hero { gap: 0; min-height: 540px; }
  .hero h1 { font-size: 35px; }
  .orb-stage { height: 335px; }
  .filter-bar { flex-wrap: wrap; }
  .search { width: 210px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 750px; }
  .toc { display: none; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 32px); }
  .site-header { top: 9px; min-height: 61px; padding: 0 14px; margin-top: 12px; border-radius: 16px; gap: 14px; }
  .brand { font-size: 17px; gap: 7px; letter-spacing: .06em; }
  .brand svg { width: 25px; height: 25px; }
  .site-nav { gap: 16px; font-size: 11px; margin: 0 0 0 auto; }
  .site-nav a:first-child { display: none; }
  .header-actions { gap: 5px; }
  .search-trigger, .theme-toggle { width: 29px; height: 29px; padding: 0; border-radius: 8px; }
  .search-trigger span { display: none; }
  .header-actions svg { width: 13px; height: 13px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 43px 7px 27px; gap: 8px; min-height: 0; }
  .hero h1 { font-size: 34px; line-height: 1.65; margin: 21px 0; }
  .hero .eyebrow { font-size: 9px; }
  .hero p { font-size: 12px; line-height: 1.95; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .primary-button, .quiet-button { font-size: 11px; padding: 10px 14px; gap: 18px; border-radius: 10px; min-height: 41px; }
  .hero-caption { margin-top: 24px; font-size: 9px; gap: 9px; }
  .flower-panel { margin: 14px -8px 0; }
  .orb-stage { height: 300px; }
  .orb-label { font-size: 8px; }
  .orb-label-top { top: 9px; right: 15px; }
  .orb-label-bottom { left: 14px; bottom: 8px; }
  .scene-controls { margin-top: 3px; }
  .scene-controls button { font-size: 9px; padding: 5px 17px; }
  .featured { padding: 18px; gap: 14px; border-radius: 13px; }
  .feature-mark { width: 29px; font-size: 27px; }
  .featured h2 { font-size: 15px; }
  .featured .eyebrow { font-size: 8px; }
  .featured .read-link { font-size: 0; padding-left: 0; gap: 0; }
  .featured .read-link span { font-size: 19px; }
  .notes-layout { margin-top: 46px; }
  .section-bar h2 { font-size: 25px; }
  .section-bar .eyebrow { font-size: 8px; }
  .filter-bar { margin-top: 21px; gap: 13px; }
  .topics { gap: 3px; }
  .topic-button { font-size: 9px; gap: 6px; padding: 6px 8px; }
  .search { width: 100%; font-size: 11px; padding: 10px 12px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .post-row { padding: 23px 22px 18px; border-radius: 14px; }
  .post-row h3 { font-size: 21px; margin-top: 24px; }
  .post-row p { font-size: 12px; min-height: 0; }
  .post-card-link { margin-top: 21px; }
  .page-title { padding: 39px 4px 28px; }
  .page-title h1 { font-size: 32px; }
  .page-title p { font-size: 13px; }
  .archive-entry { grid-template-columns: 45px 1fr; gap: 12px; padding: 20px 2px; }
  .archive-entry > span { display: none; }
  .archive-entry a { font-size: 13px; }
  .archive-entry time { font-size: 10px; }
  .article-layout { padding: 31px 5px 0; }
  .article-head h1 { font-size: 29px; }
  .article-deck { font-size: 14px; }
  .back-link { margin-bottom: 25px; }
  .prose { font-size: 14px; line-height: 2.08; }
  .prose h2 { font-size: 20px; }
  .prose pre { font-size: 11px; padding: 17px 13px; }
  .site-footer { margin-top: 53px; padding-bottom: 28px; font-size: 9px; }
  .footer-links { gap: 18px; }
  .command-dialog { margin-top: 8vh; border-radius: 15px; }
  .command-head { padding: 18px 18px 12px; font-size: 10px; }
  #command-input { font-size: 20px; padding-inline: 18px; }
  .command-foot { font-size: 8px; padding-inline: 18px; }
  .command-foot span:last-child { display: none; }
  .back-to-top { right: 17px; bottom: 18px; width: 35px; height: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.menu-toggle { display: none; }
.garden-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 18px; }
.garden-toolbar > button { border: 0; background: none; color: var(--muted); font-size: 9px; padding: 4px 0; }
.garden-toolbar > button:hover { color: var(--accent); }
.garden-palettes { display: flex; gap: 7px; padding-right: 12px; border-right: 1px solid var(--line); }
.palette-dot { width: 13px; height: 13px; border: 2px solid var(--paper); box-shadow: 0 0 0 1px transparent; border-radius: 50%; padding: 0; }
.palette-dot[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--muted); }
.palette-dot.moss { background: #d0eaa3; }.palette-dot.ocean { background: #8fd8e6; }.palette-dot.sunset { background: #f0b99c; }
.section-more { color: var(--muted); font-size: 10px; }
.reading-paths { margin-top: 75px; }
.path-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 27px; }
.path-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px 25px 20px; position: relative; overflow: hidden; background: linear-gradient(135deg,var(--path-glow),transparent 68%),var(--surface); }
.path-moss { --path-glow: #a8c78b13; --path-ink: #c6dea8; }.path-lilac { --path-glow: #c2a8db13; --path-ink: #c3acd8; }.path-blue { --path-glow: #8dbed613; --path-ink: #9bbfd5; }
[data-theme="light"] .path-card { --path-ink: var(--accent); }
.path-symbol { display: block; font-size: 31px; line-height: 1; color: var(--path-ink); margin-bottom: 27px; }
.path-index { font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.path-card h3 { font: 500 22px/1.7 var(--serif); margin: 11px 0; }
.path-card p { color: var(--muted); font-size: 11px; line-height: 2; min-height: 66px; }
.path-card ol { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: path; }
.path-card li { counter-increment: path; border-top: 1px solid var(--line); padding: 11px 0; font-size: 10px; }
.path-card li::before { content: "0" counter(path); color: var(--path-ink); font-size: 8px; margin-right: 13px; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.explore-card { min-height: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; position: relative; overflow: hidden; }
.explore-card .eyebrow { font-size: 9px; }
.explore-card h2 { font: 500 25px/1.6 var(--serif); max-width: 320px; margin: 20px 0 14px; }
.explore-card p { font-size: 11px; color: var(--muted); max-width: 270px; line-height: 2; }
.explore-cta { color: var(--accent); font-size: 10px; display: flex; gap: 28px; margin-top: 26px; }
.lab-teaser { background: radial-gradient(ellipse at 95% 100%,#9c87b41c,transparent 65%),var(--surface); }
.lab-teaser:hover { color: var(--ink); }
.teaser-orbit { position: absolute; right: -75px; bottom: -75px; width: 255px; height: 255px; pointer-events: none; color: var(--accent); opacity: .45; transition: transform 1.3s; }
.lab-teaser:hover .teaser-orbit { transform: rotate(45deg); }
.teaser-orbit i { position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 50%; transform: rotate(30deg) scaleY(.45); }
.teaser-orbit i:nth-child(2) { transform: rotate(90deg) scaleY(.45); }.teaser-orbit i:nth-child(3) { transform: rotate(150deg) scaleY(.45); }
.teaser-orbit span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 50px; }
.toolbox-teaser h2 { margin-top: 16px; font-size: 22px; }
.mini-tool-links a { display: grid; grid-template-columns: 20px 1fr 16px; column-gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; }
.mini-tool-links a > span { grid-row: span 2; font-size: 8px; color: var(--muted); }.mini-tool-links strong { font-size: 12px; font-weight: 500; }.mini-tool-links small { font-size: 9px; color: var(--muted); }.mini-tool-links b { grid-column: 3; grid-row: 1 / span 2; font-size: 16px; font-weight: 400; color: var(--accent); }
.bookmark-button { border: 0; background: transparent; color: var(--muted); padding: 3px; font-size: 15px; transition: color .2s, transform .2s; }
.bookmark-button[aria-pressed="true"] { color: var(--accent); }.bookmark-button:hover { transform: rotate(-12deg); }
.post-card-top .post-meta { margin-left: auto; }.post-card-top .bookmark-button { margin-left: 3px; }
.article-tools { display: flex; gap: 15px; align-items: center; margin-top: 23px; }.article-tools .quiet-button { min-height: 0; padding: 5px 10px; font-size: 10px; border-radius: 8px; }.article-tools .bookmark-button { font-size: 10px; }
.reading-mode .site-header { visibility: hidden; }.reading-mode .toc,.reading-mode .related,.reading-mode .site-footer { display: none; }.reading-mode .article-layout { display: block; max-width: 760px; margin-inline: auto; }.reading-mode .reading-mode-toggle { position: fixed; z-index: 50; top: 27px; right: 30px; background: var(--surface); visibility: visible; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 32px; translate: -50% 0; max-width: calc(100% - 36px); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; color: var(--ink); background: var(--surface-high); box-shadow: 0 12px 45px #0004; font-size: 11px; text-align: center; }
.playground-page .page-title { padding-bottom: 22px; }.playground-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 40px; align-items: center; }.playground-canvas { border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(ellipse at 50% 50%,var(--accent-soft),transparent 65%); padding: 24px 15px 28px; }.playground-page .orb-stage { height: 510px; }.playground-page .garden-toolbar { margin-top: 20px; }
.garden-settings h2 { font: 500 25px/1.7 var(--serif); margin: 19px 0 31px; }.garden-settings > label { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 23px 0 9px; }.garden-settings output { color: var(--accent); font-size: 10px; }.garden-settings input { width: 100%; accent-color: var(--accent); }.garden-settings .quiet-button { margin-top: 28px; font-size: 10px; }.setting-note { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 20px; }.setting-note p { color: var(--muted); font-size: 11px; line-height: 2; }.garden-settings .read-link { font-size: 10px; margin-top: 7px; margin-left: 0; padding-left: 0; }
.garden-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }.garden-notes > div { border-top: 1px solid var(--line); padding-top: 20px; }.garden-notes span { color: var(--accent); font-size: 9px; }.garden-notes h3 { font: 500 17px/1.7 var(--serif); margin: 13px 0 9px; }.garden-notes p { color: var(--muted); font-size: 11px; line-height: 2; }
.tools-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }.tool-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 27px; scroll-margin-top: 120px; }.tool-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }.tool-heading .eyebrow { font-size: 8px; color: var(--muted); }.tool-heading h2 { font: 500 23px/1.5 var(--serif); margin: 9px 0 0; }.tool-number { font-size: 10px; align-self: flex-start; padding-top: 5px; color: var(--accent); }.tool-heading > button { margin-left: auto; min-height: 34px; padding: 7px 12px; font-size: 10px; }
#workshop-text { width: 100%; min-height: 215px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 13px; line-height: 1.9; }#workshop-text::placeholder { color: var(--muted); opacity: .6; }.text-stats { display: grid; grid-template-columns: repeat(4,1fr); margin: 23px 0; }.text-stats > div { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line); }.text-stats > div:first-child { padding-left: 0; border-left: 0; }.text-stats strong { font-size: 23px; font-weight: 400; color: var(--accent); }.text-stats span { font-size: 9px; color: var(--muted); }.tool-actions { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding-top: 18px; }.tool-actions .quiet-button { font-size: 10px; min-height: 0; padding: 7px 11px; }.tool-actions .tool-hint { margin-right: auto; }.tool-hint { color: var(--muted); font-size: 9px; line-height: 1.8; }
.timer-face { width: 220px; height: 220px; margin: 22px auto 15px; position: relative; }.timer-face svg { width: 100%; height: 100%; transform: rotate(-90deg); }.timer-face circle { fill: none; stroke-width: 1; }.timer-track { stroke: var(--line); }.timer-progress { stroke: var(--accent); transition: stroke-dashoffset .6s linear; }.timer-face > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }.timer-face strong { font-family: ui-monospace,monospace; font-size: 37px; font-weight: 400; letter-spacing: -.05em; }.timer-face span { color: var(--muted); font-size: 9px; }.timer-presets { display: flex; justify-content: center; gap: 7px; }.timer-presets button { border: 1px solid var(--line); color: var(--muted); border-radius: 8px; background: transparent; padding: 6px 10px; font-size: 9px; }.timer-presets button[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }.timer-actions { display: flex; gap: 10px; justify-content: center; margin-top: 19px; }.timer-actions button { font-size: 10px; padding: 9px 14px; min-height: 0; }.focus-panel > .tool-hint { text-align: center; margin: 18px 0 0; }
.palette-panel { grid-column: 1 / -1; }.palette-name { font: 400 19px/1.5 var(--serif); margin: 2px 0 22px; }.color-swatches { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }.color-swatch { min-height: 175px; position: relative; background: var(--swatch); border: 0; border-radius: 12px; transition: translate .3s; }.color-swatch:hover { translate: 0 -5px; }.color-swatch span { position: absolute; bottom: 12px; left: 12px; border-radius: 6px; padding: 4px 7px; color: #f4f4ee; background: #151a17a6; font-family: ui-monospace,monospace; font-size: 10px; }.palette-panel > .tool-hint { margin: 19px 0 0; }
@media (max-width:1000px) { .site-nav { gap: 18px; margin-right: 0; }.header-actions { gap: 5px; }.search-trigger span { display: none; }.search-trigger { width: 35px; padding: 0; }.path-card { padding: 24px 20px 17px; }.path-card h3 { font-size: 20px; }.path-card p { min-height: 88px; }.playground-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 26px; }.playground-page .orb-stage { height: 430px; } }
@media (max-width:660px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-high); flex-direction: column; gap: 2px; align-items: stretch; }.site-nav.is-open { display: flex; }.site-nav a,.site-nav a:first-child { display: block; padding: 10px 12px; border-radius: 7px; }.site-nav a::after { display: none; }.site-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  .header-actions { margin-left: auto; }.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); }.menu-toggle span { width: 11px; height: 1px; background: currentColor; }.reading-paths { margin-top: 47px; }.path-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }.path-card { padding: 25px 23px 17px; }.path-symbol { position: absolute; top: 24px; right: 24px; font-size: 34px; opacity: .65; }.path-card h3 { margin-top: 17px; font-size: 23px; }.path-card p { min-height: 0; max-width: 270px; }.path-card ol { margin-top: 19px; }.path-card li { padding: 10px 0; }.explore-grid { grid-template-columns: 1fr; gap: 12px; }.explore-card { padding: 26px 23px; min-height: 0; }.explore-card h2 { font-size: 23px; }.lab-teaser { min-height: 275px; }.toolbox-teaser h2 { font-size: 21px; }.garden-toolbar { gap: 13px; margin-top: 16px; }.garden-toolbar > button { font-size: 8px; }.garden-palettes { gap: 6px; padding-right: 9px; }.palette-dot { width: 12px; height: 12px; }.scene-controls button { padding-inline: 12px; }.section-more { font-size: 9px; }.filter-bar .topics { row-gap: 7px; }.reading-mode .reading-mode-toggle { top: 22px; right: 22px; }
  .playground-layout { grid-template-columns: 1fr; gap: 32px; }.playground-canvas { padding: 14px 8px 22px; border-radius: 18px; }.playground-page .orb-stage { height: 345px; }.playground-page .flower-panel { margin: 0; }.garden-settings { padding-inline: 7px; }.garden-settings h2 { font-size: 24px; margin-bottom: 25px; }.garden-settings h2 br { display: none; }.garden-settings label { margin-top: 20px; }.garden-settings input { min-height: 30px; }.garden-settings .quiet-button { margin-top: 22px; }.garden-notes { grid-template-columns: 1fr; gap: 18px; margin-top: 35px; }.garden-notes > div { padding-top: 18px; }.garden-notes h3 { margin-top: 10px; }
  .tools-grid { grid-template-columns: 1fr; gap: 14px; }.tool-panel { padding: 23px 20px; border-radius: 16px; }.tool-heading { gap: 12px; }.tool-heading h2 { font-size: 22px; }.tool-heading .eyebrow { font-size: 7px; }#workshop-text { min-height: 190px; font-size: 12px; }.text-stats strong { font-size: 20px; }.text-stats > div { padding-left: 13px; }.text-stats span { font-size: 8px; }.tool-actions { flex-wrap: wrap; }.tool-actions .tool-hint { flex-basis: 100%; }.timer-face { width: 210px; height: 210px; }.palette-panel { grid-column: auto; }.palette-panel .tool-heading { flex-wrap: wrap; }.palette-panel .tool-heading > button { font-size: 9px; padding: 6px 8px; }.color-swatches { grid-template-columns: repeat(2,1fr); gap: 8px; }.color-swatch { min-height: 145px; }.color-swatch span { left: 9px; bottom: 9px; font-size: 9px; }
}
