/* Huang Jun · personal platform. Identity first, notes second. */
:root {
  color-scheme: light;
  --bg: #f3f4fc;
  --paper: #ffffff;
  --ink: #24263e;
  --muted: #74788e;
  --line: #e4e6f1;
  --accent: #7060df;
  --accent-soft: #efecff;
  --platform-shadow: 0 10px 35px #37306006;
  --platform-glass: #ffffffd9;
  --serif: "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { background: var(--bg); color: var(--ink); font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.platform-header { position: sticky; z-index: 40; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; min-height: 78px; padding: 12px max(32px, calc((100vw - 1296px) / 2)); background: var(--platform-glass); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.personal-brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.personal-brand > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: white; font: italic 26px/1 Georgia, serif; }
.personal-brand small { display: block; color: var(--muted); font: 9px/1.5 Consolas, monospace; letter-spacing: 2px; font-weight: 400; }
.platform-header .site-links { display: flex; align-items: center; flex-direction: row; gap: 5px; overflow: visible; padding: 0; }
.platform-header .site-links a { display: block; padding: 9px 13px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.platform-header .site-links a:hover, .platform-header .site-links a.active { background: var(--accent-soft); color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 13px; }
.local-pill { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 20px; color: var(--muted); background: var(--bg); font-size: 10px; white-space: nowrap; }
.local-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7c9a8e; }
#themeToggle, .menu-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font-size: 18px; flex-shrink: 0; }
.menu-toggle { display: none; }
.platform-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: 32px; max-width: 1296px; min-height: 490px; margin: 30px auto 28px; padding: 62px 64px 76px; overflow: hidden; border: 1px solid #e0dff7; border-radius: 28px; background: radial-gradient(ellipse at 80% 5%, #d5e9ff 0, transparent 55%), radial-gradient(ellipse at 50% 90%, #e3d9ff 0, transparent 65%), #eeedff; }
.hero-content { position: relative; z-index: 2; min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #7770a8; font: 10px/1.5 Consolas, monospace; letter-spacing: 2.4px; text-transform: uppercase; }
.hero-kicker::before { content: ""; display: inline-block; width: 24px; height: 1px; background: currentColor; }
.hero-name { font-size: clamp(56px, 6.6vw, 88px); line-height: 1.15; letter-spacing: 6px; font-weight: 800; }
.hero-name small, .hero-name span { display: block; margin: 14px 0 0 3px; font-size: 13px; letter-spacing: 5px; font-weight: 500; color: #7b79a5; }
.hero-description { max-width: 490px; margin-top: 23px; color: #626582; font-size: 16px; line-height: 1.95; text-wrap: pretty; }
.hero-description strong { font-weight: 600; color: #454263; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.hero-tags span { padding: 4px 11px; border: 1px solid #fff9; border-radius: 7px; color: #716b9c; background: #ffffff73; font-size: 11px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.platform-hero .btn, .platform-hero .outline { padding: 12px 23px; border-radius: 12px; font-size: 13px; gap: 20px; }
.btn { background: var(--accent); color: #fff; border-radius: 10px; }
.btn:hover { background: #5d4bc9; }
.outline { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
.outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 365px; justify-self: center; }
.hero-art::before { content: ""; position: absolute; width: 68%; height: 68%; border-radius: 33%; transform: rotate(-16deg); background: linear-gradient(145deg, #ffffffdc, #d2ccf38c); border: 1px solid #ffffffc9; box-shadow: inset 0 0 45px #fff7, 15px 25px 75px #7b67bf12; }
.hero-art::after { content: ""; position: absolute; width: 14px; height: 14px; top: 18%; right: 10%; border-radius: 4px; transform: rotate(22deg); background: #8d7de4; box-shadow: -264px 209px 0 -3px #a5c0e3; }
.orbit-ring { position: absolute; inset: 4%; border: 1px solid #bcb1e665; border-radius: 50%; transform: rotate(-28deg) scaleY(.68); }
.orbit-ring:nth-child(2) { inset: 10%; transform: rotate(43deg) scaleY(.78); border-color: #ffffffbd; }
.orbit-ring:nth-child(3) { inset: 0; transform: rotate(83deg) scaleY(.72); border-style: dashed; opacity: .65; }
.initial { position: relative; color: #7360cd; font: italic 190px/1 Georgia, serif; text-shadow: 3px 7px 0 #fff6; transform: translate(-8px, -3px); }
.coordinate { position: absolute; bottom: 9%; right: 1%; color: #8a85ae; font: 9px/1.7 Consolas, monospace; letter-spacing: 1px; text-align: right; }
.hero-bottom { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 12px; bottom: 0; left: 0; width: 100%; padding: 16px 32px; border-top: 1px solid #ffffff7d; background: #ffffff27; color: #8680a9; font: 10px/1.6 Consolas, monospace; letter-spacing: 1px; }
.platform-grid { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 28px; max-width: 1296px; margin: 0 auto; align-items: start; }
.identity-rail { position: sticky; top: 106px; min-width: 0; }
.identity-card { padding: 30px 24px 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 22px; text-align: center; box-shadow: var(--platform-shadow); }
.identity-avatar { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 17px; border-radius: 24px; color: var(--accent); background: linear-gradient(145deg, #f0edff, #e5edff); border: 5px solid var(--bg); font: italic 43px/1 Georgia, serif; }
.identity-name { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.identity-bio { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.identity-tags { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.identity-tags span { padding: 3px 9px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 10px; }
.identity-links { display: grid; gap: 4px; padding-top: 22px; margin-top: 23px; border-top: 1px solid var(--line); text-align: left; }
.identity-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-size: 12px; }
.identity-links a:hover { background: var(--accent-soft); color: var(--accent); }
.rail-quote { margin: 20px 14px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.rail-quote small { display: block; margin-top: 10px; color: var(--accent); font: 9px/1.5 Consolas, monospace; letter-spacing: 1px; }
.rail-local { display: flex; align-items: center; gap: 8px; margin: 24px 14px; color: var(--muted); font-size: 10px; }
.rail-local::before { content: ""; width: 5px; height: 5px; background: #85a99b; border-radius: 50%; }
.platform-main { min-width: 0; }
.platform-section { margin-bottom: 52px; scroll-margin-top: 105px; }
.section-label { margin-bottom: 9px; color: var(--accent); font: 10px/1.6 Consolas, monospace; letter-spacing: 2px; text-transform: uppercase; }
.section-title { font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: .3px; }
.section-intro { max-width: 680px; margin-top: 10px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.intro-card { padding: 32px 35px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--platform-shadow); margin-top: 22px; }
.intro-text { max-width: 760px; font-size: 15px; line-height: 2.1; color: #62677e; }
.intro-text p + p { margin-top: 16px; }
.intro-text strong { color: var(--ink); font-weight: 600; }
.signature { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.signature strong { color: var(--accent); font-size: 23px; letter-spacing: 3px; }
.milestone-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 26px 12px; margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.milestone-strip > * { display: grid; align-content: start; gap: 6px; padding: 0 20px; border-right: 1px solid var(--line); }
.milestone-strip > :last-child { border: 0; }
.milestone-strip strong, .milestone-strip b { color: var(--accent); font-size: 26px; line-height: 1.3; font-weight: 700; }
.milestone-strip span, .milestone-strip small { color: var(--muted); font-size: 10px; line-height: 1.7; }
.timeline { position: relative; padding: 10px 0 0; margin-top: 24px; }
.timeline::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 25px; width: 1px; background: var(--line); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 18px; margin-bottom: 15px; }
.timeline-year { position: relative; z-index: 1; align-self: start; display: grid; place-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--accent); font: 13px/1.5 Consolas, monospace; letter-spacing: .7px; }
.timeline-copy { padding: 21px 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.timeline-copy h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.timeline-copy p { font-size: 13px; line-height: 1.95; color: var(--muted); }
.timeline-copy small { display: block; margin-top: 12px; color: var(--accent); font-size: 10px; letter-spacing: .5px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 23px; }
.photo-slot { display: flex; flex-direction: column; min-width: 0; padding: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.photo-preview { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--bg); }
.photo-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; width: 100%; aspect-ratio: 4 / 5; padding: 16px 8px; border: 1px dashed #cfcce6; border-radius: 10px; background: linear-gradient(140deg, #f5f3ff, #edf3fc); color: #9b99b6; text-align: center; }
.photo-placeholder > span:first-child, .photo-placeholder > b { font-size: 23px; font-weight: 400; color: #a8a2cc; }
.photo-placeholder p, .photo-placeholder strong { color: #77738d; font-size: 12px; font-weight: 500; }
.photo-placeholder small { font-size: 9px; color: #a09bb4; }
.photo-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; padding: 10px 3px 2px; font-size: 10px; }
.photo-tools button, .photo-tools label { display: inline-flex; align-items: center; padding: 3px 5px; margin: 0; background: transparent; color: var(--accent); font-size: 10px; cursor: pointer; }
.photo-input { display: none; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 23px; }
.pillar { position: relative; overflow: hidden; padding: 26px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.pillar-number { color: var(--muted); font: 10px/1.5 Consolas, monospace; letter-spacing: 1px; }
.pillar-symbol { display: grid; place-items: center; width: 45px; height: 45px; margin: 23px 0 18px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 23px; }
.pillar:nth-child(2) .pillar-symbol { background: #eaf2fc; color: #668dc5; }
.pillar:nth-child(3) .pillar-symbol { background: #f8eeed; color: #bd8e9b; }
.pillar-body h3 { font-size: 21px; font-weight: 600; margin-bottom: 11px; }
.pillar-body p { color: var(--muted); font-size: 12px; line-height: 1.95; }
.pillar-body small { display: block; padding-top: 21px; color: var(--accent); font: 9px/1.7 Consolas, monospace; letter-spacing: 1px; }
.daily-board { padding: 30px; border: 1px solid #dfdcf5; border-radius: 22px; margin-top: 20px; background: linear-gradient(125deg, #f0edff, #eef3ff); }
.daily-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; }
.daily-top h3 { font-size: 20px; font-weight: 600; }
.daily-top p { color: var(--muted); font-size: 11px; margin-top: 6px; }
.daily-top > span, .daily-top time { color: var(--accent); font: 10px/1.8 Consolas, monospace; white-space: nowrap; }
.daily-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.daily-check { position: relative; display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 22px 20px 18px; text-align: left; border: 1px solid #fff; border-radius: 16px; background: #ffffffc7; color: var(--ink); transition: border-color .2s, transform .2s, background .2s; }
.daily-check:hover { border-color: #b8abea; transform: translateY(-2px); }
.daily-number { color: var(--accent); font: 700 46px/1.15 Arial, sans-serif; letter-spacing: -2px; }
.daily-number small { color: var(--muted); font-size: 10px; line-height: 1; margin-left: 5px; letter-spacing: 0; }
.daily-label { font-size: 14px; font-weight: 600; margin-top: 13px; }
.daily-sub { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 5px; }
.daily-status { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); color: #9d98b1; font-size: 10px; }
.daily-status::before { content: ""; width: 13px; height: 13px; border: 1px solid #cfcae5; border-radius: 50%; }
.daily-check[aria-pressed="true"] { border-color: #ac9ee7; background: #fff; }
.daily-check[aria-pressed="true"] .daily-status { color: var(--accent); }
.daily-check[aria-pressed="true"] .daily-status::before { content: "✓"; display: grid; place-items: center; background: var(--accent); color: white; border-color: var(--accent); font-size: 9px; }
.routine-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; color: #817b9c; font-size: 11px; }
.routine-extra span { padding: 4px 11px; border-radius: 20px; border: 1px solid #dcd7ed; }
.practice-note { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 15px; }
.community-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 35px; align-items: center; padding: 36px; margin-top: 22px; border: 1px solid var(--line); border-radius: 23px; background: var(--paper); box-shadow: var(--platform-shadow); }
.community-word { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 180px; border-radius: 21px; color: #6a5ab8; background: radial-gradient(circle at 15% 15%, #ebf1ff, transparent), #efebfd; font-size: 46px; letter-spacing: 6px; font-weight: 700; }
.community-word small { display: block; color: #a49bc7; font: 9px/2 Consolas, monospace; letter-spacing: 2px; margin-top: 9px; }
.community-copy h3 { font-size: 22px; font-weight: 600; margin-bottom: 13px; }
.community-copy p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.community-copy .btn { margin-top: 22px; padding: 10px 18px; font-size: 12px; }
.community-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; padding-top: 15px; margin-top: 17px; border-top: 1px solid var(--line); color: var(--accent); font-size: 10px; }
.journal-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.journal-tools { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 12px; }
.journal-tools button { white-space: nowrap; }
#notes .post { border-radius: 20px; padding: 28px 30px; border-color: var(--line); background: var(--paper); box-shadow: var(--platform-shadow); }
#notes .post:hover { border-color: #bdb2e6; }
#notes .post h3 { font-family: inherit; font-size: 23px; font-weight: 600; }
#notes .post p { color: var(--muted); font-size: 14px; line-height: 2; }
#notes .avatar { color: var(--accent); background: var(--accent-soft); border-color: var(--line); font-family: inherit; }
#notes .post-tag { color: var(--accent); background: var(--accent-soft); font-size: 10px; border-radius: 5px; }
#notes .post-top strong { font-size: 13px; }
#notes .post-top time { color: var(--muted); }
#notes .pullquote { border-color: #ae9ee5; color: var(--ink); font-family: inherit; }
#notes .post-foot { border-color: var(--line); }
#notes .post-foot button, #notes .post-foot .export-btn { color: var(--accent); }
#notes .sample { color: var(--muted); }
.filters { border-color: var(--line); flex-wrap: wrap; margin-top: 22px; }
.filters button { color: var(--muted); font-size: 11px; }
.filters button.selected { background: var(--accent-soft); color: var(--accent); }
#searchBox { padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
#searchBox input { border-color: var(--line); background: var(--bg); }
.platform-footer { max-width: 1296px; margin: 10px auto 0; padding: 28px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.platform-footer span + span { color: var(--muted); font: 9px/1.6 Consolas, monospace; letter-spacing: 1px; }
.contact-dialog { width: min(470px, 94vw); border-radius: 22px; background: var(--paper); }
.contact-body { padding: 30px; }
.contact-body h3 { font-size: 22px; margin-bottom: 15px; }
.contact-body p { font-size: 14px; line-height: 1.95; color: var(--muted); }
.contact-note { margin-top: 20px; padding: 15px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 12px; line-height: 1.9; }
.contact-body .btn { margin-top: 22px; }
input, textarea, select { background: var(--paper); border-color: var(--line); }
label, legend { color: var(--muted); }
.dialog-head { border-color: var(--line); }
.dialog-head h2 { font-family: inherit; }
#toast { background: #33304d; border-radius: 12px; box-shadow: 0 8px 25px #23203c20; }
html[data-color="dark"] { color-scheme: dark; --bg: #171923; --paper: #222532; --ink: #ececf5; --muted: #a4a7bd; --line: #343749; --accent: #ad9dff; --accent-soft: #35304e; --platform-glass: #1b1d29e8; --platform-shadow: 0 10px 35px #0000000d; }
html[data-color="dark"] .platform-hero { background: radial-gradient(ellipse at 90% 0, #263f62 0, transparent 60%), radial-gradient(ellipse at 40% 100%, #3c315e 0, transparent 65%), #292740; border-color: #45405d; }
html[data-color="dark"] .hero-name small, html[data-color="dark"] .hero-kicker, html[data-color="dark"] .coordinate { color: #aaa3d0; }
html[data-color="dark"] .hero-description { color: #b7b6d0; }
html[data-color="dark"] .hero-description strong { color: #edebfc; }
html[data-color="dark"] .hero-tags span { color: #c2b8ea; background: #ffffff09; border-color: #ffffff1a; }
html[data-color="dark"] .hero-art::before { background: linear-gradient(145deg, #7770a540, #4d456880); border-color: #ffffff22; }
html[data-color="dark"] .initial { color: #c1b0ff; text-shadow: 3px 7px 0 #ffffff0a; }
html[data-color="dark"] .hero-bottom { background: #ffffff03; border-color: #ffffff12; color: #a49bc8; }
html[data-color="dark"] .identity-avatar, html[data-color="dark"] .community-word, html[data-color="dark"] .photo-placeholder { background: linear-gradient(135deg, #332e49, #2b354c); border-color: #504966; color: #beb2e5; }
html[data-color="dark"] .intro-text { color: var(--muted); }
html[data-color="dark"] .daily-board { background: linear-gradient(125deg, #2d2941, #273044); border-color: #46405e; }
html[data-color="dark"] .daily-check { background: #222532bb; border-color: #434257; }
html[data-color="dark"] .daily-check[aria-pressed="true"] { background: #36304d; border-color: #9481d7; }
html[data-color="dark"] .pillar:nth-child(2) .pillar-symbol { background: #2d3b50; color: #a1c1ef; }
html[data-color="dark"] .pillar:nth-child(3) .pillar-symbol { background: #46333f; color: #e0aabb; }
html[data-color="dark"] .routine-extra span { border-color: #4b435f; }
html[data-color="dark"] .preview { background: #2d303f; }
html[data-color="dark"] .btn { background: #8d78df; color: white; }
html[data-color="dark"] .btn:hover { background: #a18cef; }
@media (max-width: 1360px) { .platform-hero, .platform-grid, .platform-footer { margin-left: 30px; margin-right: 30px; } .platform-header { padding-left: 30px; padding-right: 30px; gap: 18px; } .platform-hero { padding-left: 45px; padding-right: 45px; } }
@media (max-width: 1100px) { .local-pill { display: none; } .platform-header .site-links a { padding: 9px 10px; } .platform-grid { grid-template-columns: 235px minmax(0, 1fr); gap: 22px; } .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-placeholder, .photo-preview { aspect-ratio: 5 / 4; } .community-card { grid-template-columns: 140px minmax(0, 1fr); gap: 25px; padding: 27px; } .community-word { min-height: 160px; font-size: 37px; } .milestone-strip > * { padding: 0 12px; } .milestone-strip strong, .milestone-strip b { font-size: 23px; } }
@media (max-width: 999px) { .identity-rail { display: none; } .platform-grid { display: block; max-width: 860px; margin-left: auto; margin-right: auto; padding: 0 26px; } .platform-hero { min-height: 430px; padding: 46px 36px 73px; grid-template-columns: 1.2fr .8fr; gap: 12px; } .hero-name { font-size: 65px; } .hero-description { font-size: 14px; } .initial { font-size: 155px; } .hero-art::after { box-shadow: none; } .platform-section { margin-bottom: 43px; } .platform-footer { margin-top: 0; } }
@media (max-width: 700px) {
  html { scroll-padding-top: 87px; }
  .platform-header { min-height: 66px; padding: 10px 18px; gap: 12px; flex-wrap: wrap; }
  .personal-brand { font-size: 18px; gap: 10px; }
  .personal-brand > span:first-child { width: 32px; height: 32px; border-radius: 10px; }
  .personal-brand small { font-size: 8px; letter-spacing: 1.5px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .menu-toggle { display: grid; }
  .platform-header .site-links { display: none; order: 3; width: 100%; gap: 5px; padding: 8px 0 5px; flex-wrap: wrap; }
  .platform-header.menu-open .site-links { display: flex; }
  .platform-header .site-links a { font-size: 12px; padding: 9px 12px; }
  .platform-hero { display: grid; grid-template-columns: 1fr; min-height: 0; margin: 16px 15px 27px; padding: 33px 27px 62px; border-radius: 22px; gap: 0; }
  .hero-kicker { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 14px; }
  .hero-name { font-size: 63px; letter-spacing: 4px; }
  .hero-name small, .hero-name span { font-size: 11px; letter-spacing: 4px; margin-top: 10px; }
  .hero-description { max-width: 420px; font-size: 14px; margin-top: 22px; line-height: 1.9; }
  .hero-tags { gap: 6px; margin-top: 16px; }
  .hero-tags span { font-size: 10px; padding: 4px 8px; }
  .hero-actions { gap: 9px; margin-top: 23px; }
  .platform-hero .btn, .platform-hero .outline { padding: 11px 18px; font-size: 12px; gap: 14px; }
  .hero-art { width: 210px; margin: 12px auto -1px; aspect-ratio: 1.15; }
  .hero-art::before { width: 64%; height: 74%; }
  .initial { font-size: 115px; }
  .hero-art::after { width: 9px; height: 9px; }
  .coordinate { right: -18px; bottom: 7%; font-size: 7px; }
  .hero-bottom { padding: 12px 18px; font-size: 8px; letter-spacing: .2px; }
  .platform-grid { padding: 0 16px; }
  .platform-section { margin-bottom: 37px; scroll-margin-top: 85px; }
  .section-label { font-size: 9px; letter-spacing: 1.7px; }
  .section-title { font-size: 25px; }
  .section-intro { font-size: 12px; margin-bottom: 19px; }
  .intro-card { padding: 24px; border-radius: 19px; margin-top: 18px; }
  .intro-text { font-size: 14px; line-height: 2; }
  .signature { padding-top: 18px; margin-top: 20px; font-size: 9px; }
  .signature strong { font-size: 21px; }
  .milestone-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 6px; row-gap: 24px; border-radius: 17px; }
  .milestone-strip > * { padding: 0 18px; }
  .milestone-strip > :nth-child(2) { border: 0; }
  .milestone-strip strong, .milestone-strip b { font-size: 26px; }
  .milestone-strip span, .milestone-strip small { font-size: 10px; }
  .timeline-entry { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; margin-bottom: 13px; }
  .timeline::before { left: 28px; }
  .timeline-year { font-size: 10px; border-radius: 10px; min-height: 36px; }
  .timeline-copy { padding: 19px; border-radius: 16px; }
  .timeline-copy h3 { font-size: 15px; }
  .timeline-copy p { font-size: 12px; }
  .photo-grid { gap: 10px; }
  .photo-slot { border-radius: 14px; padding: 7px; }
  .photo-placeholder, .photo-preview { aspect-ratio: 4 / 5; }
  .photo-placeholder { padding: 10px 6px; gap: 7px; }
  .photo-placeholder p, .photo-placeholder strong { font-size: 11px; }
  .photo-tools { padding: 7px 0 0; font-size: 9px; }
  .photo-tools button, .photo-tools label { padding: 3px 2px; font-size: 9px; }
  .pillars { grid-template-columns: 1fr; gap: 11px; margin-top: 19px; }
  .pillar { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 17px; }
  .pillar-number { position: absolute; top: 20px; right: 20px; font-size: 9px; }
  .pillar-symbol { margin: 5px 0 0; }
  .pillar-body h3 { font-size: 19px; padding-right: 25px; margin-bottom: 8px; }
  .pillar-body p { font-size: 12px; line-height: 1.85; }
  .pillar-body small { padding-top: 12px; font-size: 8px; }
  .daily-board { padding: 21px; border-radius: 19px; }
  .daily-top { gap: 8px; margin-bottom: 18px; }
  .daily-top h3 { font-size: 18px; }
  .daily-top p { font-size: 10px; }
  .daily-top > span, .daily-top time { font-size: 9px; }
  .daily-grid { grid-template-columns: 1fr; gap: 10px; }
  .daily-check { display: grid; grid-template-columns: 69px minmax(0, 1fr); column-gap: 14px; padding: 17px; border-radius: 13px; }
  .daily-number { grid-column: 1; grid-row: 1 / 4; align-self: center; font-size: 37px; }
  .daily-label { grid-column: 2; grid-row: 1; margin-top: 0; font-size: 13px; }
  .daily-sub { grid-column: 2; grid-row: 2; margin-top: 3px; font-size: 10px; }
  .daily-status { grid-column: 2; grid-row: 3; margin-top: 9px; padding-top: 8px; font-size: 9px; }
  .routine-extra { font-size: 10px; gap: 6px; }
  .practice-note { font-size: 9px; }
  .community-card { grid-template-columns: 1fr; padding: 23px; gap: 22px; border-radius: 19px; }
  .community-word { min-height: 135px; border-radius: 14px; font-size: 41px; }
  .community-copy h3 { font-size: 20px; margin-bottom: 11px; }
  .community-copy p { font-size: 12px; }
  .community-meta { font-size: 9px; gap: 7px 13px; }
  .journal-heading { align-items: start; gap: 12px; }
  .journal-tools { flex-direction: column; align-items: end; gap: 4px; }
  .journal-tools .btn.small { padding: 8px 12px; font-size: 10px; }
  #notes .post { padding: 22px; border-radius: 17px; }
  #notes .post h3 { font-size: 21px; }
  #notes .post p { font-size: 13px; line-height: 1.95; }
  #notes .post-top { flex-wrap: wrap; }
  #notes .post-top strong { font-size: 11px; }
  #notes .post-tag { font-size: 8px; }
  #notes .post-foot { flex-wrap: wrap; gap: 10px 14px; }
  .filters { gap: 3px; margin-top: 18px; }
  .filters button { padding: 5px 10px; font-size: 10px; }
  .filters > span { font-size: 8px; }
  #searchBox { padding: 12px; }
  .platform-footer { margin: 0 18px; padding: 22px 0 28px; align-items: start; flex-direction: column; gap: 8px; font-size: 10px; }
  .platform-footer span + span { font-size: 8px; }
  .contact-body { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
/* Bound markup refinements. */
.personal-brand > span:first-child { position: relative; font-family: inherit; font-size: 17px; font-style: normal; letter-spacing: 0; }
.personal-brand .brand-dot { display: none; }
.hero-name { font-size: 23px; letter-spacing: 1px; font-weight: 500; color: #686280; }
.hero-name > span { display: block; font: 800 88px/1.17 "Microsoft YaHei UI", "PingFang SC", sans-serif; letter-spacing: 5px; margin: 11px 0 0 -3px; color: #29273f; }
.hero-name .name-dot { display: inline; margin: 0; font: inherit; color: #8a77d8; letter-spacing: -10px; }
.hero-kicker > i { display: none; }
.ing { display: inline; color: var(--accent); font: italic 17px/1 Georgia, serif; }
.initial > span { position: absolute; top: 19px; right: -31px; font: 36px/1 Arial, sans-serif; color: #a191df; }
.art-note { position: absolute; left: 3%; top: 11%; font-size: 9px; color: #9690b5; writing-mode: vertical-rl; letter-spacing: 2px; }
.identity-name small { display: block; margin-top: 4px; color: var(--muted); font: 8px/1.5 Consolas, monospace; letter-spacing: 1.6px; }
.identity-card > .btn { width: 100%; margin-top: 18px; padding: 11px 8px; font-size: 10px; }
.rail-local { justify-content: center; margin: 18px 0 0; font: 9px/1.5 Consolas, monospace; letter-spacing: .5px; }
.intro-text .section-title { margin-bottom: 21px; color: var(--ink); }
.signature { color: var(--accent); font-size: 24px; letter-spacing: 3px; font-weight: 600; }
.signature > span { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.timeline-year { padding: 10px 5px; gap: 5px; }
.timeline-year > span { color: var(--muted); font-size: 8px; line-height: 1.5; letter-spacing: 0; }
.timeline-tag { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 10px; }
.section-footnote { margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.85; }
.pillar-number { position: absolute; right: 20px; top: 21px; font-size: 9px; }
.pillar-symbol { margin-top: 0; }
.pillar-body > span { display: block; padding-top: 19px; color: var(--accent); font-size: 10px; }
.daily-number > span { font: 11px/1.5 "Microsoft YaHei UI", sans-serif; letter-spacing: 0; margin-left: 5px; }
.check-action { display: block; width: 100%; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 13px; color: var(--muted); font-size: 10px; }
.daily-check[aria-pressed="true"] .check-action { color: var(--accent); }
.daily-board > .daily-status { justify-content: space-between; flex-wrap: wrap; margin-top: 16px; padding-top: 0; border: 0; color: var(--accent); }
.daily-board > .daily-status::before { display: none; }
.daily-status small { color: var(--muted); font-size: 9px; }
.routine-extra b { font-size: 11px; font-weight: 500; }
.routine-extra i { font-style: normal; color: #aaa1c0; }
.community-word { flex-direction: row; flex-wrap: wrap; align-content: center; gap: 0; }
.community-word > small { width: 100%; text-align: center; }
.community-copy .community-meta { border: 0; margin: 0 0 12px; padding: 0; font-size: 10px; }
.community-copy h2 { font-size: 23px; line-height: 1.6; font-weight: 600; margin-bottom: 15px; }
.community-copy p + p { margin-top: 10px; }
.community-copy .contact-note { display: block; padding: 0; margin: 10px 0 0; background: transparent; font-size: 9px; color: var(--muted); }
.photo-placeholder > span:first-child { font: 8px/1.5 Consolas, monospace; letter-spacing: 1px; color: #aaa3bc; }
.photo-placeholder h3 { color: #77738d; font-size: 13px; font-weight: 500; }
.photo-placeholder p { font-size: 9px; }
.photo-preview { overflow: hidden; }
.photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
#resultCount { font-size: 10px; color: var(--muted); display: block; margin-top: 5px; }
.platform-footer .personal-brand { font-size: 16px; }
.platform-footer .personal-brand > span:first-child { width: 31px; height: 31px; font-size: 14px; }
.platform-footer > p { color: var(--muted); font-size: 11px; }
.platform-footer > a:last-child { font-size: 10px; color: var(--muted); }
html[data-color="dark"] .hero-name { color: #b8b2cf; }
html[data-color="dark"] .hero-name > span { color: #f1ecff; }
html[data-color="dark"] .photo-placeholder h3, html[data-color="dark"] .photo-placeholder p { color: var(--muted); }
@media (max-width: 999px) { .hero-name > span { font-size: 73px; } .hero-name { font-size: 21px; } }
@media (max-width: 700px) {
  .platform-header .header-tools > .btn { display: none; }
  .hero-name { font-size: 20px; }
  .hero-name > span { font-size: 68px; letter-spacing: 4px; margin-top: 9px; }
  .hero-name .name-dot { letter-spacing: -10px; }
  .hero-art { margin-top: 20px; }
  .initial > span { font-size: 25px; top: 9px; right: -23px; }
  .art-note { font-size: 7px; left: -3%; top: 9%; letter-spacing: 1px; }
  .signature { font-size: 21px; }
  .signature > span { font-size: 9px; }
  .timeline-year > span { font-size: 7px; }
  .pillar-symbol { margin-top: 5px; }
  .pillar-body > span { padding-top: 12px; font-size: 9px; }
  .daily-check .check-action { grid-column: 2; grid-row: 3; margin-top: 9px; padding-top: 8px; font-size: 9px; }
  .daily-board > .daily-status { gap: 4px; font-size: 10px; }
  .daily-status small { font-size: 8px; }
  .routine-extra b { font-size: 10px; }
  .community-copy h2 { font-size: 21px; }
  .section-footnote { font-size: 9px; }
  .photo-placeholder h3 { font-size: 11px; }
  .photo-placeholder p { font-size: 8px; }
}

.photo-upload { cursor: pointer; border-radius: 5px; }
.photo-upload:hover { background: var(--accent-soft); }

