:root {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  color: #29453f; background: #f5f8f6; font-synthesis: none;
  --bg: #f5f8f6; --paper: #fff; --ink: #29453f; --text: #45615a; --muted: #7c8d88; --line: #e6eeea;
  --mint: #78b19e; --deep: #397f6c; --pale: #eaf4ef; --shadow: 0 7px 28px #2e574008;
}
:root[data-theme='dark'] { --bg: #14211f; --paper: #1d2c28; --ink: #e1efe8; --text: #bfcec6; --muted: #94aaa0; --line: #30443b; --mint: #87c1ad; --deep: #9bd8bc; --pale: #293e34; --shadow: none; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.65; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button:disabled { cursor: wait; opacity: .6; }
a { color: inherit; text-decoration: none; }
input, textarea { color: var(--ink); border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; outline: none; min-width: 0; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .85; }
input:focus, textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px #7fb39d15; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--deep); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.5; font-weight: 650; }
h1 { font-size: 28px; letter-spacing: -.7px; } h2 { font-size: 20px; } h3 { font-size: 16px; }
small { font-size: 12px; } .ico { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.app-layout { max-width: 1332px; margin: auto; display: grid; grid-template-columns: 214px minmax(0, 718px) 246px; gap: 32px; padding: 0 24px; }
.sidebar { position: sticky; top: 0; height: 100dvh; padding: 42px 14px 28px 0; display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; font-size: 43px; font-weight: 760; letter-spacing: 3px; line-height: 1.1; color: var(--deep); }
.brand .ico { width: 28px; height: 28px; color: var(--mint); margin: -20px 0 0 0; }
.brand-caption { color: var(--muted); margin: 12px 0 32px 3px; font-size: 12px; letter-spacing: 3px; }
.sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.side-nav { display: flex; align-items: center; gap: 16px; border-radius: 13px; padding: 13px 16px; color: var(--text); }
.side-nav .ico { width: 22px; height: 22px; }
.side-nav.active { background: #e2efe7; color: #347760; font-weight: 650; }
[data-theme='dark'] .side-nav.active { background: var(--pale); color: var(--deep); }
.side-nav:hover { background: var(--pale); }
.side-nav small { color: var(--muted); margin-left: auto; font-size: 10px; }
.sidebar-publish { margin-top: 25px; }
.sidebar-bottom { margin-top: auto; padding-top: 25px; }
.sidebar-note { position: relative; font-family: 'KaiTi', 'STKaiti', serif; font-size: 18px; color: var(--muted); line-height: 1.9; padding: 16px 10px; margin-bottom: 18px; }
.sidebar-note .ico { position: absolute; right: 20px; bottom: 25px; width: 36px; height: 36px; opacity: .5; }
.sidebar-user { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 8px; }
.sidebar-user small { display: block; color: var(--muted); font-size: 10px; }
.version-link { margin-top: 16px; font-size: 10px; color: var(--muted); }
.main-content { min-width: 0; padding: 34px 0 64px; }
.rightbar { padding-top: 42px; }
.welcome-card { border: 1px solid #dce9df; background: linear-gradient(145deg, #edf4ea, #f4f6ef); padding: 25px 22px 38px; border-radius: 18px; position: relative; overflow: hidden; }
[data-theme='dark'] .welcome-card { background: var(--pale); border-color: var(--line); }
.welcome-card h2 { font-size: 25px; line-height: 1.6; margin: 15px 0; font-family: 'Noto Serif CJK SC', 'Songti SC', serif; font-weight: 500; }
.welcome-card p { font-size: 12px; line-height: 2; color: var(--text); }
.welcome-leaf { display: block; text-align: right; color: var(--mint); margin-top: 8px; } .welcome-leaf .ico { width: 40px; height: 40px; }
.sidebar-topics { padding: 28px 3px; } .sidebar-topics h3 { margin-bottom: 15px; font-size: 14px; }
.aside-visit { width: 100%; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-align: left; position: relative; }
.aside-visit strong { display: block; margin-top: 12px; } .aside-visit p { font-size: 12px; color: var(--muted); }
.aside-visit > .ico { position: absolute; right: 18px; top: 48%; }
.avatar-stack { display: flex; padding-left: 7px; } .avatar-stack .avatar { margin-left: -7px; border: 2px solid var(--paper); }
.right-footer { font-size: 11px; line-height: 2.2; color: var(--muted); padding: 23px 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 17px; border-radius: 12px; font-size: 14px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--pale); }
.btn.primary { background: linear-gradient(110deg, #82b6a2, #589984); color: #fff; box-shadow: 0 6px 16px #5b9b8020; }
.btn.primary:hover { background: #508f7c; transform: translateY(-1px); }
.btn.outline { border: 1px solid var(--mint); color: var(--deep); }
.btn.soft { background: var(--pale); color: var(--deep); }
.btn.quiet { color: var(--muted); }
.btn.small { min-height: 33px; padding: 6px 14px; font-size: 12px; border-radius: 20px; }
.btn.wide-button { width: 100%; margin-top: 14px; min-height: 48px; border-radius: 24px; }
.text-button { padding: 3px 0; color: var(--deep); font-size: 12px; min-height: 30px; display: inline-flex; gap: 6px; align-items: center; }
.text-button .ico { width: 15px; height: 15px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; }
.icon-button:hover { background: var(--pale); } .active { color: var(--deep); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; margin-bottom: 24px; }
.page-heading p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.heading-actions { display: flex; gap: 6px; } .mobile-brand { display: none; }
.page-home .page-heading { margin-bottom: 0; height: 0; min-height: 0; position: relative; }
.page-home .heading-actions { position: absolute; right: 0; top: 0; z-index: 1; }
.eyebrow { display: block; font-size: 10px; color: var(--muted); letter-spacing: 2px; margin-bottom: 7px; }
.home-intro { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 26px; }
.home-intro h1 { font-family: 'Noto Serif CJK SC', 'Songti SC', serif; font-size: 29px; font-weight: 500; line-height: 1.65; letter-spacing: 1px; }
.home-intro p { color: var(--muted); font-size: 12px; margin-top: 10px; }
.intro-leaf { color: var(--mint); text-align: center; padding: 40px 27px 0 0; transform: rotate(-7deg); }
.intro-leaf .ico { width: 68px; height: 68px; stroke-width: 1; } .intro-leaf span { display: block; font-family: 'KaiTi', serif; font-size: 12px; }
.search-box { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 26px; padding: 0 16px; min-height: 47px; box-shadow: var(--shadow); color: var(--muted); }
.search-box input { border: none; box-shadow: none; padding: 10px 0; flex: 1; width: 100%; font-size: 13px; background: transparent; }
.search-hint { font-size: 10px; flex-shrink: 0; opacity: .7; }
.category-tabs { display: flex; align-items: center; gap: 21px; margin: 24px 0 10px; overflow: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs button { position: relative; flex-shrink: 0; padding: 0 1px 12px; color: var(--muted); font-size: 13px; }
.category-tabs button.selected { color: var(--deep); font-weight: 650; }
.category-tabs button.selected::after { content: ''; position: absolute; bottom: 0; left: 2px; right: 2px; height: 3px; background: var(--mint); border-radius: 4px; }
.feed-caption { display: flex; align-items: center; justify-content: space-between; margin: 9px 0 13px; color: var(--muted); font-size: 11px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-items: start; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #4562510c; }
.media { position: relative; overflow: hidden; background: #e3eee4; }
.media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.media-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 13px; color: #719182; padding: 20px; text-align: center; }
.media-fallback .ico { width: 44px; height: 44px; }
.media.image-failed .media-fallback { display: flex; }
.post-card > a > .media { aspect-ratio: 1.23; }
.post-copy { padding: 11px 13px 6px; }
.card-kicker { font-size: 10px; color: var(--deep); display: flex; justify-content: space-between; margin-bottom: 5px; }
.demo-dot { color: var(--muted); font-size: 9px; padding: 0 4px; border-radius: 4px; background: var(--bg); }
.post-copy h3 { font-size: 14px; font-weight: 600; line-height: 1.65; }
.post-copy p { font-size: 11px; line-height: 1.75; color: var(--muted); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; gap: 6px; align-items: center; padding: 8px 11px 11px; }
.author-link { display: inline-flex; align-items: center; gap: 7px; min-width: 0; text-align: left; padding: 0; }
.author-link > span:not(.avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--muted); }
.avatar { display: inline-flex; position: relative; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; flex-shrink: 0; background: #e4ebdc; color: #63745f; font-size: 10px; font-family: serif; }
.avatar i { position: absolute; width: 6px; height: 9px; border-radius: 7px 1px 7px 1px; right: 0; bottom: 1px; background: #89b29a; border: 1px solid var(--paper); transform: rotate(25deg); }
.tint-0 { background: #e6eee2; color: #64775c; } .tint-1 { background: #e1edef; color: #678189; } .tint-2 { background: #f0e7db; color: #968267; } .tint-3 { background: #e9e7ef; color: #80728c; }
.avatar.medium { width: 42px; height: 42px; font-size: 17px; } .avatar.large { width: 82px; height: 82px; font-size: 31px; } .avatar.large i { width: 16px; height: 23px; }
.mini-like { padding: 5px; display: flex; color: var(--muted); flex-shrink: 0; }
.mini-like .ico { width: 16px; height: 16px; } .mini-like.active { color: #d6817d; } .mini-like.active .ico { fill: #e8b5a840; }
.text-art { aspect-ratio: 1.23; background: linear-gradient(135deg, #ebf1e8, #f4f0e6); padding: 27px 23px; color: #5c7668; display: flex; justify-content: center; flex-direction: column; gap: 12px; }
.text-art p { font-family: 'Noto Serif CJK SC', 'Songti SC', serif; font-size: 18px; line-height: 1.8; }
.text-art span { font-size: 10px; opacity: .7; } .text-art > .ico { width: 27px; height: 27px; opacity: .6; }
.end-note { display: flex; align-items: center; flex-direction: column; gap: 8px; text-align: center; margin-top: 38px; color: var(--muted); font-size: 12px; } .end-note small { font-size: 10px; opacity: .8; }
.quote-banner { border-radius: 15px; background: #e6f0e9; color: #4d7460; padding: 24px 27px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.quote-banner span { font-family: 'KaiTi', 'Noto Serif CJK SC', serif; font-size: 19px; line-height: 1.8; letter-spacing: 1px; }
.quote-banner .ico { width: 68px; height: 68px; opacity: .5; stroke-width: 1; }
.quote-banner.compact { padding: 20px 25px; } .quote-banner.compact .ico { width: 44px; height: 44px; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topic-card { position: relative; border-radius: 16px; overflow: hidden; padding: 0; text-align: left; height: 250px; background: #e7eee5; }
.topic-card .media { position: absolute; inset: 0; }
.topic-card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #f9fcf8f2 0%, #f6faf4c9 25%, #f6faf410 65%); }
.topic-copy { position: relative; padding: 20px 21px; z-index: 1; color: #285345; } .topic-copy h2 { font-family: 'Songti SC', serif; font-size: 32px; font-weight: 500; } .topic-copy p { font-size: 12px; margin-top: 2px; }
.topic-arrow { position: absolute; top: 24px; right: 18px; width: 26px; height: 26px; background: #ffffff8a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4c7e6d; }
.topic-arrow .ico { width: 17px; height: 17px; }
.topic-card.wide { grid-column: 1 / -1; height: 139px; } .topic-card.wide .media::after { background: linear-gradient(90deg, #e5efe9ff 30%, #e5efe9a6 60%, #e5efe922); } .topic-card.wide .media img { object-position: center 40%; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 27px 0 16px; }
.section-heading h2 { font-size: 18px; } .section-heading h2 span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.visit-entry { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 21px; width: 100%; text-align: left; }
.entry-icon { display: inline-flex; padding: 12px; color: var(--deep); background: var(--pale); border-radius: 12px; }.visit-entry small { display: block; color: var(--muted); margin-top: 4px; }.visit-entry > .ico { margin-left: auto; }
.page-post { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; margin: 30px 0 50px; padding: 0 0 18px; overflow: hidden; }
.detail-header { display: flex; gap: 12px; padding: 17px 12px; align-items: center; }
.detail-header .author-link { flex: 1; } .author-link.large .avatar { width: 37px; height: 37px; font-size: 14px; }
.author-link.large strong { display: block; font-size: 13px; color: var(--ink); } .author-link.large small { display: block; font-size: 10px; color: var(--muted); }
.detail-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.detail-photos > .media { min-width: 100%; aspect-ratio: 1.32; scroll-snap-align: start; }
.photo-hint { text-align: center; font-size: 10px; color: var(--muted); padding-top: 8px; }
.detail-article { padding: 24px 26px 0; }.detail-article h1 { font-size: 25px; margin: 12px 0 18px; line-height: 1.6; }
.demo-badge { display: inline-flex; background: var(--pale); border-radius: 5px; padding: 2px 7px; font-size: 10px; color: var(--muted); }
.post-body p { line-height: 1.95; margin-bottom: 15px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }.tag { display: inline-flex; align-items: center; border-radius: 6px; padding: 3px 8px; background: var(--pale); color: var(--deep); font-size: 10px; }
.metadata { color: var(--muted); font-size: 10px; margin-top: 14px; }
.post-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 9px; }
.post-actions .btn { padding: 6px 10px; font-size: 12px; gap: 6px; color: var(--muted); } .post-actions .btn.active { color: var(--deep); }
.post-actions .ico { width: 19px; height: 19px; }
.comments { padding: 0 26px; } .comment { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.comment > div { min-width: 0; } .comment strong { font-size: 12px; } .comment p { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); font-size: 13px; margin: 5px 0; }.comment small { font-size: 10px; color: var(--muted); }
.tried-badge { font-size: 9px; margin-left: 9px; color: var(--deep); background: var(--pale); border-radius: 5px; padding: 2px 5px; }
.quiet-empty { color: var(--muted); font-size: 12px; line-height: 1.8; padding: 23px 0; }
.comment-prompt { display: flex; align-items: center; width: 100%; gap: 10px; background: var(--bg); color: var(--muted); border-radius: 25px; padding: 10px 12px; font-size: 12px; margin-top: 22px; text-align: left; } .comment-prompt > span:not(.avatar) { flex: 1; }
.compose-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 21px; border-bottom: 1px solid var(--line); }.compose-top > span { font-size: 13px; }.compose-heading { margin: 28px 0 24px; }.compose-heading h1 { font-size: 24px; }.compose-heading p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.intent-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 23px; }
.intent-tabs > button { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 17px 8px; text-align: center; }.intent-tabs .ico { display: block; margin: 0 auto 8px; color: var(--muted); }.intent-tabs strong { font-size: 13px; display: block; }.intent-tabs small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; }.intent-tabs .selected { border-color: var(--mint); background: var(--pale); }.intent-tabs .selected .ico { color: var(--deep); }
.compose-editor { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.title-input { width: 100%; border: 0; padding: 7px 0 15px; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-weight: 600; font-size: 18px; }
.compose-editor textarea { border: 0; padding: 16px 0 0; width: 100%; min-height: 215px; resize: vertical; background: transparent; font-size: 14px; line-height: 1.9; box-shadow: none; }
.title-input:focus { box-shadow: none; }.draft-note { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; margin-top: 12px; }
.upload-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }.upload-tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }.upload-tile img { width: 100%; height: 100%; object-fit: cover; }.upload-tile .icon-button { position: absolute; right: 4px; top: 4px; width: 25px; height: 25px; background: #294039b8; color: #fff; }.upload-tile .ico { width: 16px; height: 16px; }
.upload-add { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; aspect-ratio: 1; border: 1px dashed #a5b8ac; border-radius: 12px; color: var(--muted); cursor: pointer; }.upload-add input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }.upload-add span { font-size: 12px; }.upload-add small { font-size: 9px; }
.writing-help { background: var(--pale); border-radius: 12px; padding: 11px 15px; font-size: 12px; color: var(--text); }.writing-help summary { cursor: pointer; display: flex; justify-content: space-between; }.writing-help p { padding-top: 12px; }.writing-help .ico { width: 15px; height: 15px; }
.form-section { margin-top: 24px; }.form-section h3 { margin-bottom: 13px; font-size: 14px; }.form-section h3 span { font-size: 10px; color: var(--muted); margin-left: 7px; font-weight: normal; }
.topic-pills { display: flex; gap: 9px; flex-wrap: wrap; }.topic-pills button { padding: 7px 17px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 13px; }.topic-pills button.selected { border-color: var(--mint); background: var(--pale); color: var(--deep); }
.field { display: flex; flex-direction: column; gap: 9px; margin: 20px 0 12px; }.field > span { font-size: 13px; }.field small { color: var(--muted); font-size: 10px; margin-left: 6px; }.field textarea { min-height: 100px; resize: vertical; line-height: 1.9; }.field input { width: 100%; font-size: 14px; }
.publish-disclosure { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0 6px; color: var(--muted); font-size: 11px; }.publish-disclosure .ico { width: 17px; height: 17px; margin-top: 3px; }.publish-disclosure span { font-size: 10px; opacity: .8; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.person-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }.person-meta { display: flex; gap: 10px; align-items: center; }.person-meta h3 { font-size: 15px; }.person-meta small { color: var(--muted); font-size: 10px; }.person-bio { color: var(--text); font-size: 12px; line-height: 1.85; margin: 13px 0; min-height: 46px; }.person-card > .media { aspect-ratio: 1.35; border-radius: 10px; margin-bottom: 12px; }.person-card .tags { gap: 5px; }.person-card .tag { font-size: 9px; padding: 2px 6px; }.person-card .btn { min-height: 36px; font-size: 12px; }
.person-art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; aspect-ratio: 1.35; background: var(--pale); border-radius: 10px; font-size: 13px; color: var(--deep); margin-bottom: 12px; }.person-art .ico { width: 44px; height: 44px; }
.profile-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }.profile-toolbar span { font-size: 13px; }
.profile-intro { display: flex; align-items: center; gap: 17px; margin-bottom: 26px; }.profile-intro > div { flex: 1; min-width: 0; }.profile-intro h1 { font-size: 22px; display: flex; gap: 9px; align-items: center; }.profile-intro h1 .ico { color: var(--mint); }.profile-intro p { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.8; }.profile-intro .demo-badge { margin-top: 8px; }
.profile-banner { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(115deg, #e9eee3, #e0eee3); color: #537a60; padding: 30px; border-radius: 16px; }.profile-banner h2 { font-family: 'KaiTi', 'Songti SC', serif; font-weight: 400; font-size: 23px; margin-top: 10px; letter-spacing: 1px; }.profile-banner span { font-size: 14px; }.profile-banner > .ico { width: 73px; height: 73px; stroke-width: 1; opacity: .5; }
.profile-tabs { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); margin: 20px 0; }.profile-tabs button { padding: 12px 0; color: var(--muted); font-size: 13px; }.profile-tabs button.selected { color: var(--deep); border-bottom: 3px solid var(--mint); }.profile-tabs > span { margin-left: auto; font-size: 10px; color: var(--muted); }.profile-tabs .ico { width: 12px; height: 12px; margin-left: 5px; }
.home-shelves { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.shelf-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: left; }.shelf-card h3 { font-size: 14px; }.shelf-card p { color: var(--muted); font-size: 11px; margin-top: 4px; }.shelf-card .media { margin-top: 14px; border-radius: 8px; aspect-ratio: 1.9; }.shelf-card footer { display: flex; gap: 6px; align-items: center; font-size: 10px; color: var(--muted); padding-top: 12px; }.shelf-card footer .ico { width: 16px; height: 16px; color: var(--mint); }.shelf-card footer .ico:last-child { margin-left: auto; }.shelf-art { margin-top: 14px; aspect-ratio: 1.9; background: var(--pale); color: var(--mint); display: flex; align-items: center; justify-content: center; border-radius: 8px; }.shelf-art .ico { width: 33px; height: 33px; }
.saved-top { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 16px; }.saved-top > span { font-size: 12px; color: var(--muted); }.saved-top .ico { width: 13px; height: 13px; }
.folder-list { display: flex; flex-direction: column; gap: 16px; }.folder-card { padding: 13px; display: flex; gap: 20px; align-items: center; text-align: left; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }.folder-card > .media, .folder-cover { width: 108px; height: 105px; border-radius: 11px; flex-shrink: 0; }.folder-cover { display: flex; justify-content: center; align-items: center; }.folder-cover .ico { width: 34px; height: 34px; stroke-width: 1.2; }.folder-card > div:nth-child(2) { flex: 1; min-width: 0; }.folder-card h2 { font-size: 19px; }.folder-card p { font-size: 12px; color: var(--muted); margin: 5px 0; }.folder-card small { font-size: 11px; color: var(--muted); }.folder-card > .ico { color: var(--muted); width: 17px; height: 17px; }
.notice { display: flex; align-items: flex-start; gap: 12px; text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 18px; border-radius: 14px; width: 100%; margin-bottom: 12px; }.notice > .ico { color: var(--mint); margin-top: 4px; }.notice > div { flex: 1; min-width: 0; }.notice strong { font-size: 13px; }.notice p { color: var(--text); font-size: 13px; overflow-wrap: anywhere; margin: 6px 0; }.notice small { color: var(--muted); font-size: 10px; }.notice i { background: var(--mint); width: 6px; height: 6px; border-radius: 50%; }.notice.read { opacity: .8; }
.empty-state { text-align: center; padding: 65px 28px; border: 1px dashed var(--line); border-radius: 20px; background: var(--paper); }.empty-state > .ico { width: 58px; height: 58px; color: var(--mint); stroke-width: 1.2; margin-bottom: 23px; }.empty-state h2 { font-size: 20px; }.empty-state p { font-size: 13px; color: var(--muted); margin: 12px auto 21px; line-height: 1.9; max-width: 340px; }.center-button { display: flex; margin: 20px auto; }
.loading-view { padding: 70px; text-align: center; color: var(--muted); font-size: 13px; }.spinner { display: inline-block; width: 25px; height: 25px; border: 2px solid var(--line); border-top-color: var(--mint); border-radius: 50%; animation: spin .8s linear infinite; margin: 10px; }@keyframes spin { to { transform: rotate(360deg); } }
.inline-warning { background: #fff3e2; border: 1px solid #eeddbf; border-radius: 12px; color: #8a6949; font-size: 12px; line-height: 1.8; padding: 13px 16px; margin: 14px 0; }
.load-more { text-align: center; padding: 24px; }.fine-print { font-size: 10px; color: var(--muted); line-height: 1.9; margin-top: 18px; }.fine-print .ico { width: 13px; height: 13px; }.center { text-align: center; }.bottom-nav { display: none; }
.modal-open { overflow: hidden; }.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: #172c244d; backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.dialog { background: var(--paper); border: 1px solid var(--line); width: 480px; max-width: 100%; max-height: 88dvh; overflow-y: auto; border-radius: 24px; padding: 24px; box-shadow: 0 25px 100px #0a261630; }
.dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }.dialog h2 { font-size: 20px; padding-top: 4px; }.dialog p { color: var(--text); font-size: 13px; line-height: 1.9; }.dialog .fine-print { font-size: 10px; color: var(--muted); }.dialog > footer { margin-top: 17px; }
.dialog-textarea { min-height: 155px; width: 100%; margin-top: 18px; resize: vertical; font-size: 14px; line-height: 1.8; }.edit-textarea { min-height: 260px !important; }.login-sprout { text-align: center; padding: 5px 0 25px; color: var(--mint); }.login-sprout .ico { width: 62px; height: 62px; stroke-width: 1.1; }.login-note { background: var(--pale); color: var(--text); border-radius: 12px; padding: 14px; font-size: 11px; margin-top: 20px; }.login-note .ico { width: 15px; height: 15px; margin-right: 5px; }
.choose-folders { display: flex; flex-direction: column; gap: 8px; }.choose-folders > button { padding: 14px; display: flex; align-items: center; gap: 12px; background: var(--pale); border-radius: 11px; font-size: 14px; }.choose-folders > button > span { flex: 1; text-align: left; }.choose-folders > button > .ico:last-child { width: 17px; height: 17px; }
.menu-list { display: flex; flex-direction: column; gap: 6px; }.menu-list .btn { justify-content: flex-start; padding: 13px 12px; }.danger-text { color: #b46962; }.danger-button { color: white; background: #b56961; }.danger-button:hover { background: #a35a53; }
.form-error { color: #ac544b !important; background: #fff0eb; padding: 11px; border-radius: 10px; margin: 15px 0; }.about-note { background: var(--pale); border-radius: 12px; padding: 16px; margin-top: 20px; }.about-note p { margin-top: 12px; font-size: 12px; }
.toast { position: fixed; bottom: 27px; left: 50%; transform: translate(-50%, 15px); z-index: 200; color: #fff; background: #345e4fee; border: 1px solid #ffffff20; border-radius: 14px; box-shadow: 0 8px 25px #23433220; padding: 13px 20px; max-width: min(560px, calc(100% - 32px)); font-size: 13px; line-height: 1.7; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }.toast.visible { opacity: 1; transform: translate(-50%, 0); }.toast.danger { background: #865c4cee; }
[data-theme='dark'] .quote-banner, [data-theme='dark'] .profile-banner { background: var(--pale); color: var(--ink); }
[data-theme='dark'] .text-art { background: #29372e; color: #c1d6c7; }
@media (min-width: 1480px) { .app-layout { gap: 40px; } }
@media (max-width: 1160px) { .app-layout { grid-template-columns: 190px minmax(0, 700px); max-width: 980px; gap: 26px; }.rightbar { display: none; } }
@media (max-width: 760px) {
  body { background: var(--paper); font-size: 14px; }.app-layout { display: block; padding: 0; }.sidebar, .rightbar { display: none; }.main-content { padding: 20px 16px calc(106px + env(safe-area-inset-bottom)); }.page-heading { margin-bottom: 21px; min-height: 60px; align-items: flex-start; }.page-heading h1 { font-size: 29px; }.page-heading p { font-size: 12px; }.page-heading .eyebrow { font-size: 9px; }.heading-actions { gap: 0; }.heading-actions .icon-button { width: 35px; height: 35px; }
  .page-home .page-heading { position: static; min-height: 41px; height: auto; margin-bottom: 17px; }.page-home .heading-actions { position: static; }.mobile-brand { display: inline-flex; font-size: 32px; }.mobile-brand .ico { width: 23px; height: 23px; margin-top: -14px; }
  .home-intro { padding: 1px 0 18px; }.home-intro .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 4px; }.home-intro h1 { font-size: 19px; letter-spacing: .3px; line-height: 1.8; }.desktop-only { display: none; }.home-intro p { font-size: 10px; margin-top: 2px; }.intro-leaf { display: none; }.search-box { min-height: 42px; padding: 0 13px; background: var(--bg); border-color: transparent; box-shadow: none; }.search-box input { font-size: 12px; }.search-box .ico { width: 18px; height: 18px; }.search-hint { display: none; }
  .category-tabs { margin-top: 22px; gap: 25px; margin-right: -16px; padding-right: 18px; }.category-tabs button { font-size: 13px; }.feed-caption { font-size: 10px; margin: 9px 0 12px; }.feed-caption .text-button { font-size: 10px; }.post-grid { gap: 14px 11px; }.post-card { border-radius: 12px; }.post-card > a > .media { aspect-ratio: .94; }.post-copy { padding: 9px 9px 4px; }.post-copy h3 { font-size: 12px; line-height: 1.65; }.post-copy p { font-size: 10px; margin-top: 4px; }.card-kicker { font-size: 9px; margin-bottom: 4px; }.demo-dot { font-size: 8px; }.card-meta { padding: 6px 8px 9px; gap: 1px; }.author-link { gap: 5px; }.author-link > span:not(.avatar) { font-size: 9px; }.avatar { width: 21px; height: 21px; font-size: 9px; }.mini-like { padding: 5px 1px 5px 5px; }.mini-like .ico { width: 15px; height: 15px; }.text-art { aspect-ratio: .94; padding: 19px 15px; gap: 9px; }.text-art p { font-size: 15px; line-height: 1.8; }.text-art span { font-size: 8px; }
  .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-around; gap: 5px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(15px); padding: 9px 8px calc(9px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 15px #38503e04; }.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 48px; min-height: 44px; color: var(--muted); }.bottom-nav span { font-size: 10px; }.bottom-nav .ico { width: 22px; height: 22px; }.bottom-nav a.active { color: var(--deep); font-weight: 600; }.bottom-nav a.nav-publish { color: white; background: linear-gradient(125deg, #82b9a3, #53947f); width: 49px; height: 44px; min-height: 44px; border-radius: 14px; margin-top: -5px; }.nav-publish span { display: none; }.bottom-nav .nav-publish .ico { width: 27px; height: 27px; }
  .topic-grid { gap: 12px; }.topic-card { height: 216px; border-radius: 13px; }.topic-copy { padding: 17px 15px; }.topic-copy h2 { font-size: 29px; }.topic-copy p { font-size: 10px; }.topic-arrow { top: 22px; right: 13px; width: 22px; height: 22px; }.topic-arrow .ico { width: 14px; height: 14px; }.topic-card.wide { height: 122px; }.quote-banner { padding: 17px 20px; margin-bottom: 18px; border-radius: 13px; }.quote-banner span { font-size: 16px; }.quote-banner .ico { width: 49px; height: 49px; }.section-heading h2 { font-size: 17px; }
  .page-post { margin: 0; border: 0; border-radius: 0; padding: 0 0 calc(105px + env(safe-area-inset-bottom)); }.detail-header { gap: 6px; padding: 13px 8px; }.detail-header .author-link.large { gap: 7px; }.author-link.large .avatar { width: 33px; height: 33px; }.author-link.large strong { font-size: 12px; }.author-link.large small { font-size: 9px; }.detail-header .icon-button { width: 30px; height: 34px; }.detail-photos > .media { aspect-ratio: 1.05; }.detail-article { padding: 19px 18px 0; }.detail-article h1 { font-size: 22px; margin: 12px 0 18px; }.post-body p { font-size: 14px; line-height: 2; }.post-actions .btn { font-size: 11px; padding: 5px 7px; gap: 5px; }.post-actions .ico { width: 18px; height: 18px; }.comments { padding: 0 18px; }.comment-prompt { font-size: 11px; }
  .compose-top { padding-bottom: 17px; }.compose-heading { margin: 24px 0 20px; }.compose-heading h1 { font-size: 23px; }.compose-heading p { font-size: 11px; }.intent-tabs { gap: 8px; margin-bottom: 18px; }.intent-tabs > button { padding: 14px 3px; border-radius: 12px; }.intent-tabs strong { font-size: 12px; }.intent-tabs small { font-size: 8px; }.compose-editor { padding: 15px; }.title-input { font-size: 16px; }.compose-editor textarea { min-height: 190px; font-size: 13px; }.draft-note { font-size: 8px; gap: 5px; }.upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.upload-add small { font-size: 8px; }.upload-add span { font-size: 10px; }.topic-pills { gap: 8px; }.topic-pills button { padding: 6px 16px; font-size: 12px; }
  .people-grid { gap: 12px; }.person-card { padding: 11px; border-radius: 14px; }.person-meta { gap: 7px; }.avatar.medium { width: 34px; height: 34px; font-size: 14px; }.person-meta h3 { font-size: 12px; }.person-meta small { font-size: 9px; }.person-bio { font-size: 10px; line-height: 1.85; min-height: 55px; margin: 11px 0; }.person-card > .media { aspect-ratio: 1.04; }.person-card .tag { font-size: 8px; padding: 2px 4px; }.person-card .tags { min-height: 20px; }.person-card .btn { font-size: 11px; min-height: 35px; margin-top: 10px; }.person-card .btn .ico { width: 15px; height: 15px; }.person-art { aspect-ratio: 1.04; font-size: 11px; }
  .profile-toolbar { margin-bottom: 22px; }.profile-intro { gap: 12px; flex-wrap: wrap; }.avatar.large { width: 65px; height: 65px; font-size: 27px; }.profile-intro h1 { font-size: 19px; }.profile-intro p { font-size: 11px; }.profile-intro > .btn { margin-left: auto; }.profile-banner { padding: 22px 18px; }.profile-banner h2 { font-size: 19px; margin-top: 6px; }.profile-banner span { font-size: 12px; }.profile-banner > .ico { width: 48px; height: 48px; }.profile-tabs { gap: 20px; }.profile-tabs button { font-size: 12px; }.profile-tabs > span { font-size: 8px; }.home-shelves { gap: 11px; }.shelf-card { padding: 12px; border-radius: 12px; }.shelf-card h3 { font-size: 12px; }.shelf-card p { font-size: 9px; }.shelf-card footer { font-size: 8px; }.shelf-card footer .ico { width: 13px; height: 13px; }.shelf-card .media, .shelf-art { aspect-ratio: 1.45; }
  .folder-list { gap: 13px; }.folder-card { gap: 14px; padding: 10px; border-radius: 14px; }.folder-card > .media, .folder-cover { width: 83px; height: 91px; border-radius: 10px; }.folder-card h2 { font-size: 17px; }.folder-card p { font-size: 10px; line-height: 1.7; margin: 4px 0; }.folder-card small { font-size: 10px; }.saved-top { margin-top: 23px; }.saved-top > span { font-size: 10px; }
  .modal-backdrop { padding: 0; align-items: flex-end; }.dialog { width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; padding: 23px 21px calc(26px + env(safe-area-inset-bottom)); }.dialog h2 { font-size: 19px; }.dialog .field input, .dialog .field textarea, .dialog-textarea { font-size: 16px; }.toast { bottom: calc(90px + env(safe-area-inset-bottom)); font-size: 12px; padding: 11px 16px; width: max-content; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
