/* White & champagne — shared visual language for the community. */
:root {
 --gold:#8b692f; --gold-soft:#b59760; --ink:#292722; --muted:#817a70;
 --green:var(--gold); --bg:#faf9f6; --paper:#faf9f6; --border:#e9e4da; --line:#e9e4da; --lime:#f2ead9;
 --font-body:"Noto Sans SC","Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif;
 --font-display:"Noto Serif SC","Source Han Serif SC","Songti SC",SimSun,serif;
}
body {font-family:var(--font-body);font-size:14px;line-height:1.8;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection {background:#e8dbc0;color:#28251f}
:focus-visible {outline:2px solid #aa864b;outline-offset:4px}
input,select,textarea {border-color:#e2dbce;border-radius:5px;background:#fff;color:#34312b;accent-color:var(--gold)}
input::placeholder,textarea::placeholder {color:#a39a8b}
input:focus,select:focus,textarea:focus {border-color:#b69a65}
button,a {transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}
.button {background:#8b692f;border-color:#8b692f;border-radius:5px;padding:11px 22px;font-size:12px;font-weight:550;letter-spacing:.06em;color:white;box-shadow:0 3px 9px #755a2110}
.button:hover {background:#725423;border-color:#725423;color:white;transform:none;box-shadow:0 4px 12px #755a2120}
.button.secondary {background:#fff;border-color:#ded5c5;color:#74603d;box-shadow:none}
.button.secondary:hover {background:#f6f1e7;border-color:#bfa575}
.button.compact,.button.small {padding:8px 16px;font-size:12px}
.text-link,.text-button {color:var(--gold)}
.eyebrow {color:#9a7a43;font-size:10px;font-weight:500;letter-spacing:.24em}
.site-header,.topbar {height:88px;background:#ffffffed;border-bottom:1px solid #e6dcc7;padding:0 max(40px,calc((100vw - 1440px)/2));gap:60px}
.brand {font-family:var(--font-display);font-size:23px;font-weight:650;letter-spacing:.04em;gap:13px;color:#322d25}
.brand small {font-family:var(--font-body);font-size:8px;font-weight:450;letter-spacing:.23em;color:#9b8967;margin-top:7px}
.brand-mark,.brand-icon {background:#fbf8ef;color:#91703a;border:1px solid #bfaa7b;width:42px;height:46px;border-radius:4px;font-family:var(--font-display);font-size:25px;position:relative}
.brand-mark:after,.brand-icon:after {content:"";position:absolute;inset:3px;border:1px solid #ded0b0;border-radius:1px;pointer-events:none}
.site-header nav,.topbar nav {gap:31px;font-size:13px;letter-spacing:.025em}
.site-header nav a,.topbar nav a {color:#81786b;border-bottom-width:2px}
.site-header nav a.active,.topbar nav a.active {color:#84652e;font-weight:600;border-color:#ad8c50}
.account,#account {font-size:12px;gap:19px}
.user-chip,.avatar,.mini-avatar,.avatar-dot {background:#f2ecdf;color:#8a7148}
.user-chip {border:1px solid #e9dfcb;border-radius:5px;padding:4px 11px}
#editorial-app {max-width:1440px;padding:0 40px}
main {max-width:1440px;padding:0 40px}
.community-layout {grid-template-columns:180px minmax(0,1fr);gap:46px;padding:43px 0 55px;max-width:1280px;margin:auto}
.right-rail {display:none}
.left-rail {padding-top:7px;top:30px}
.rail-title {color:#9b8968;font-size:10px;letter-spacing:.16em;margin-bottom:22px}
.rail-link {font-size:12px;color:#716b60;padding:12px 14px;border-radius:4px;margin-bottom:6px;line-height:1.7}
.rail-link.selected {background:#eee6d5;color:#80632f;border-left:2px solid #ac8b4d;padding-left:12px;font-weight:600}
.rail-link:hover {background:#f3eddf;color:#80632f}
.rail-divider {background:#e8e0d1;margin:26px 12px}
.rail-note {color:#a19683;font-family:var(--font-display);font-size:13px;line-height:2.2;padding-top:13px}
.category-dot {width:5px;height:5px;border-radius:50%;opacity:.65}
.feed-intro {padding:0 0 27px;border-bottom:1px solid #e9e1d3}
.feed-intro .eyebrow {display:flex;align-items:center;gap:12px}
.feed-intro .eyebrow:before {content:"";width:28px;height:1px;background:#b19867}
.feed-intro h1 {font-family:var(--font-display);font-weight:600;font-size:38px;letter-spacing:.055em;line-height:1.6;margin:12px 0 13px;color:#302b23}
.feed-intro h1 span {color:#b59a61}
.feed-intro p {color:#837b6e;font-size:13px;line-height:1.9;max-width:100%}
.home-carousel {margin:28px 0 12px;border:1px solid #e5dac5;border-radius:8px;box-shadow:0 12px 35px #6c542808;background:#fff}
.ad-viewport {aspect-ratio:2.45;background:#f2ecdf}
.ad-caption {background:linear-gradient(transparent,rgba(39,31,19,.76));padding:50px 31px 24px}
.ad-caption h2 {font-family:var(--font-display);font-weight:550;font-size:27px;letter-spacing:.04em;color:#fffaf0}
.ad-caption p {color:#f2e9d8;font-size:12px;letter-spacing:.02em;margin-top:8px}
.ad-badge {background:#fffdf5ed;border:1px solid #e6d7b7;color:#8b6c32;font-weight:500;letter-spacing:.12em;top:22px;left:25px}
.ad-controls {min-height:54px;padding:10px 25px;border-top:1px solid #e9dfcb}
.ad-counter {color:#9b875f;font-family:Georgia,serif;font-size:13px;letter-spacing:.1em}
.ad-dots button:before {background:#d9ccb1}.ad-dots button[aria-pressed=true]:before {background:#9d7e40}
.ad-buttons button {border-color:#ebe2d3;color:#96763d;background:#fffdf9;border-radius:3px}
.ad-single {color:#947f58}
.home-carousel button:focus-visible,.home-carousel a:focus-visible {outline-color:#a18550}
.feed-toolbar {padding:23px 0;gap:20px}.feed-toolbar>div {gap:27px;color:#8e8370;font-size:13px}
.feed-toolbar .active {color:#80612e;position:relative;font-weight:550}
.feed-toolbar .active:after {content:"";height:2px;position:absolute;left:0;right:0;bottom:-9px;background:#b6985d}
.feed-toolbar input {width:210px;font-size:12px;border-color:#e9e1d5;padding:9px 32px 9px 13px;background:#fff}
.feed-toolbar button {color:#9b8a69;top:3px}
.story-list {border:1px solid #e9e3d8;border-radius:8px;padding:0 30px;background:#fff;box-shadow:0 8px 30px #4b351603}
.story {padding:29px 0;gap:29px;border-bottom-color:#eee9df;align-items:flex-start}
.story-label {color:#9b7b42;font-size:10px;letter-spacing:.055em;margin-bottom:11px}
.story-label b {background:#f2e9d5;color:#89682c;font-size:9px;font-weight:500;padding:2px 7px;border-radius:2px}
.story h2 {font-family:var(--font-display);font-size:22px;font-weight:600;line-height:1.7;color:#332d24;margin-bottom:12px;letter-spacing:.02em}
.story-copy:hover h2 {color:#947138}
.story p {font-size:13px;color:#7d7568;line-height:1.95}
.story-meta {color:#948978;font-size:11px;margin-top:20px;gap:9px}
.story-stats {color:#9e9381;font-size:10px;margin-top:9px}
.story-cover {width:168px;flex-basis:168px;height:126px;border-radius:5px;margin-top:5px;background:#f4eee1}
.story-cover img {transition:transform .4s}.story-cover:hover img {transform:scale(1.025)}
.avatar-dot {width:21px;height:21px;font-size:10px}
.pagination a,#pagination a {border-color:#e6dccb;border-radius:3px;color:#846c41}.pagination a.active,#pagination a.selected {background:#8b692f;color:white}
.welcome-card,.admin-welcome {background:#f3eddf;border-color:#e8dcc5}
.welcome-card h3,.admin-welcome h2,.side-section h3 {font-family:var(--font-display);font-weight:600}
.welcome-card p,.side-section p,.admin-welcome p {color:#8c806c}
.outline-symbol,.admin-art {color:#c6af7d}
/* Reading and writing */
.reading-breadcrumb {color:#9b8c72;margin:32px auto;max-width:960px;font-size:12px}
.reading-article {max-width:960px;border-radius:5px;padding:65px 86px;border-color:#e9e0d1;box-shadow:0 8px 40px #57401a04}
.reading-article h1 {font-family:var(--font-display);font-weight:650;font-size:36px;letter-spacing:.03em;line-height:1.65;margin-top:17px}
.article-byline {color:#9c8e78;font-size:12px;gap:22px}.article-byline>a {color:#987640}
.article-summary {background:#f8f4eb;border-left:2px solid #bea36c;color:#87785e;font-size:14px;padding:17px 24px;margin:34px 0;line-height:2}
.prose {color:#4b453b;font-size:16px;line-height:2.1}.prose h1,.prose h2,.prose h3 {font-family:var(--font-display);color:#392f21;font-weight:600}
.prose h2 {border-color:#eae1d2;font-size:24px;padding-bottom:15px}.prose strong {color:#5e4a29}
.prose a {color:#946e2c}.prose blockquote {background:#f8f4eb;border-color:#b99d65;color:#8a795b}
.prose pre {background:#302b24;color:#eee2ca}.prose hr {background:#e7ddc9}.prose th {background:#f4eedf}.prose th,.prose td {border-color:#e5dac7}
.article-ending>span,.article-ending p {color:#a18f6f}
.studio-top {padding:35px 0}.studio-top h1,.editor-head h1 {font-family:var(--font-display);font-size:32px;font-weight:600}
.studio-actions>span,.editor-meta,.draft-foot {color:#9b8b71}
.writing-sheet,.settings-card,.settings-form,.form-panel {border-color:#e9e1d3;border-radius:7px;box-shadow:0 7px 25px #5b401605}
.writing-sheet {padding:35px}.title-input {font-family:var(--font-display);font-size:30px;font-weight:600}
.title-input::placeholder,.body-input::placeholder {color:#b6ab96}.body-input {color:#554a38;font-size:16px;line-height:2.15}
.format-bar {border-color:#e9e1d3}.format-bar button {color:#8a7450}.format-bar button:hover {background:#f5eedf}
.settings-card label,.settings-form>label {color:#837155}.card-heading h3 {font-weight:550;color:#4b3e28}.card-heading>span {color:#a5926c}
.no-cover {background:#faf7ef;border-color:#d5c6a7;color:#a68f5d}.file-button {background:#f4ecdb;border-color:#e5d5b3;color:#8a6c36}
.preview-device {border-color:#e5dac5}.preview-bar {background:#f7f2e8;color:#a68d5b}.preview-author {color:#9b8764}
.help,.license-note {color:#95856b;line-height:1.9}
/* Management */
.management-layout {grid-template-columns:195px minmax(0,1fr);gap:43px;margin:43px 0 60px}
.manage-nav h2,.manage-heading h1 {font-family:var(--font-display);font-weight:600}.manage-nav h2 {font-size:26px}.manage-heading h1 {font-size:32px;margin-top:8px}
.manage-nav>p {color:#a08e70}.manage-nav>a {color:#8f7c5c;border-radius:4px;padding:12px 13px}.manage-nav>a>span {font-size:12px}
.manage-nav a.active {background:#eee5d2;color:#87662b;border-left:2px solid #b4965a;padding-left:11px;font-weight:550}
.manage-nav a:hover {background:#f4eddf}.manage-heading {margin-bottom:34px}
.metric {border-color:#e9e1d2;border-radius:7px;padding:24px;background:white}.metric>span {color:#8e7b5b}.metric strong {font-family:Georgia,serif;font-size:40px;font-weight:400;color:#82612c;margin:12px 0}.metric small {color:#a29172}
.action-card {border-color:#e9e1d2;border-radius:6px;padding:26px}.action-card>span {color:#a58c5e}.action-card h3 {color:#4d3c22;font-weight:550}.action-card p {color:#948162;font-size:12px;line-height:1.9}.action-card:hover {border-color:#cdbb98;background:#fffdf8}
.manage-filter label,.manage-filter>span {color:#8c7a59}.manage-filter input,.manage-filter select {font-size:12px}.manage-table th {background:#f7f3eb;color:#968260;border-bottom:1px solid #e9dfce}
.manage-table td {border-color:#eee7da;color:#514533;padding-top:21px;padding-bottom:21px}.manage-table td small {color:#a18d69}.table-wrap {border-color:#e8dfce;border-radius:6px}
.table-actions button,.table-actions a,.category-table .table-actions button,.category-table .table-actions a {color:#96702f}.table-actions .danger,.category-table .table-actions .danger {color:#a2634b}
.status-pill {background:#f4ecd9;color:#957239;border-radius:3px;padding:3px 7px}.status-pill.off {background:#f1eeea;color:#978b79}
.category-intro h2,.tool-section>h2,.category-bottom h2 {font-family:var(--font-display);font-weight:600}.category-intro p,.category-bottom p {color:#8b7c63}
.category-stats,.banner-settings {background:#f4eedf;border-color:#e6d9bf;color:#8c7650;border-radius:6px}.category-stats b {color:#98733a;font-family:Georgia,serif;font-weight:400}.category-stats a {color:#94733a}
.category-table td small {color:#a08d6c}.tool-grid .action-card:hover {background:#fcf8ee;border-color:#c7af7b}.tool-grid h3 span {color:#b49b69}
.management-dialog {border-color:#d8c8a9;border-radius:8px;box-shadow:0 25px 100px #392a1230;color:#4a3b24}.management-dialog::backdrop {background:#2e261b66}
.dialog-heading h2,.category-editor>h2 {font-family:var(--font-display);font-weight:600}.dialog-heading button,.category-editor label,.category-editor .help {color:#8c7752}
.banner-admin-card {border-color:#e7ddcc;border-radius:7px;padding:24px;gap:26px}.banner-admin-copy h3 {font-family:var(--font-display);font-weight:600;font-size:21px}.banner-admin-copy p {color:#8e7c5d}.banner-admin-copy small {color:#aa9371}.banner-order-number {color:#c7b48e;font-family:Georgia,serif;font-size:25px}.banner-off {background:#fbf8f1}
.banner-image-preview {background:#f5eddc;color:#ad925d}.banner-empty {border-color:#d1bf9b}.notice {background:#73592f}.notice.error {background:#945b43}
/* Resource square */
.hero {min-height:390px;padding:55px 0 45px;gap:65px}.hero h1 {font-family:var(--font-display);font-size:45px;font-weight:600;line-height:1.5;letter-spacing:.04em}.hero h1 span {color:#aa8747}.hero p {color:#8a7d67;font-size:14px}
.hero-visual {background:radial-gradient(ellipse,#f0e4c8 0%,#faf6ec 50%,transparent 72%)}
.orbit {border-color:#d9c7a1}.cube {background:linear-gradient(135deg,#faf5e8,#e6d6ae);border-color:#c6ad74;box-shadow:18px 16px 0 #d6bf86,19px 17px 0 #baa06a;border-radius:7px}.cube span {color:#93743e}
.chip {border-color:#e4d6ba;color:#978052;border-radius:4px;background:#fffefb;box-shadow:0 8px 20px #80602508}.visual-caption {color:#b39b6e}
.section-head h2,.detail-content h2,.detail-sidebar h1 {font-family:var(--font-display);font-weight:600}.section-head h2 {font-size:27px}.section-head h2 span {background:#f0e8d5;color:#9a7b44;font-family:var(--font-body);font-weight:400}
.tabs a {color:#938267;border-radius:4px}.tabs a.selected {background:#8b692f}.filter-row,.filter-row select {color:#978468}
.cards {gap:24px}.card {border-color:#e8dfcf;border-radius:7px;box-shadow:0 5px 18px #75582003}.card:hover {box-shadow:0 12px 28px #7558200d;transform:translateY(-3px)}
.art.model {background:#eee6d2;color:#a18a53}.art.project {background:#e9e4d8;color:#89764e}.art.code {background:#eae7e2;color:#7f796b}.art.document {background:#f3ead6;color:#a38a52}
.card-body {padding:21px}.card h3 {font-family:var(--font-display);font-weight:600;font-size:17px;line-height:1.8}.card p {color:#92816a;line-height:1.9;font-size:12px}.card-tags {color:#a18c68}.card-tags>span:not(.version) {border-color:#e9dfcb}.card-bottom {border-color:#eee6d8;color:#a08b67}.type-badge {color:#927440;border:1px solid #e6d7b9;background:#fffcf3ed}
.contribute {background:#f5efdf;border-color:#e7d9be;border-radius:7px;padding:30px}.contribute h3 {font-family:var(--font-display);font-size:18px;font-weight:600}.contribute p {color:#9a8561}.contribute-icon {color:#af9156}
.detail-sidebar {border-color:#e5dac5;background:#fff;border-radius:7px}.summary,.description {color:#827358}.files a {border-color:#e7ddc9}.pill,.tag-list span {background:#f4ecd9;color:#92753d}.file-icon {color:#a2844c}.editor label>span {color:#a3854b}.editor input:not([type=file]),.editor textarea,.editor select {border-color:#e3d9c5}.editor .upload-box {background:#faf6ec;border-color:#cdbb93;color:#a58b52}.editor label small {color:#a18c68}
footer {max-width:1360px;margin-top:30px;padding:30px 40px 38px;border-color:#e8dfcf;color:#a1947d;font-size:10px;letter-spacing:.04em}
@media(min-width:1600px){.community-layout {max-width:none;grid-template-columns:190px minmax(0,1fr) 220px;gap:40px}.right-rail {display:block}.feed-intro h1 {font-size:39px}}
@media(max-width:1100px){.site-header,.topbar {gap:30px;padding-left:25px;padding-right:25px}.site-header nav,.topbar nav {gap:22px}#editorial-app,main {padding:0 25px}.community-layout {grid-template-columns:165px minmax(0,1fr);gap:28px}.feed-intro h1 {font-size:31px}.management-layout {grid-template-columns:175px minmax(0,1fr);gap:25px}.story h2 {font-size:20px}.story-cover {flex-basis:130px;width:130px;height:110px}.reading-article {padding:50px 60px}.hero h1 {font-size:37px}.hero {gap:25px}.banner-admin-card {gap:17px}}
@media(max-width:800px){.site-header,.topbar {height:auto;padding:20px 22px 0;gap:18px}.brand {font-size:21px}.brand-mark,.brand-icon {width:36px;height:40px;font-size:22px}.site-header nav,.topbar nav {height:46px;font-size:12px;order:3;width:100%;justify-content:center}.account,#account {gap:13px;font-size:11px}.community-layout {grid-template-columns:1fr;padding-top:24px;gap:27px}.left-rail {position:static;display:flex;overflow-x:auto;padding:0;gap:7px}.rail-link {padding:9px 13px;font-size:11px;margin:0}.rail-link.selected {border-left:0;padding-left:13px}.rail-note {display:none}.feed-intro h1 {font-size:34px}.ad-viewport {aspect-ratio:2.1}.ad-caption h2 {font-size:23px}.management-layout {grid-template-columns:minmax(0,1fr);margin-top:25px;gap:25px}.manage-nav {position:static}.manage-nav>a {padding:9px 12px}.manage-nav a.active {border-left:0;padding-left:12px}.manage-heading h1 {font-size:28px}.reading-article {padding:40px 35px}.reading-article h1 {font-size:30px}.hero {min-height:0;padding:40px 0}.writing-sheet {padding:27px}.banner-admin-copy h3 {font-size:19px}.metric {padding:19px}}
@media(max-width:540px){#editorial-app,main {padding:0 18px}.site-header,.topbar {padding:17px 18px 0;gap:15px}.brand {font-size:19px;gap:9px}.brand small {font-size:7px;letter-spacing:.18em}.account .button {padding:7px 10px;font-size:10px}.brand-mark,.brand-icon {width:32px;height:36px;font-size:20px}.site-header nav,.topbar nav {gap:27px;height:43px}.account {gap:10px}.feed-intro {padding-bottom:23px}.feed-intro h1 {font-size:28px;letter-spacing:.035em;line-height:1.6;margin:11px 0 13px}.feed-intro p {font-size:12px;line-height:2}.eyebrow,.feed-intro .eyebrow {font-size:8px}.feed-intro .eyebrow:before {width:20px}.home-carousel {margin:22px 0 8px;border-radius:6px}.ad-viewport {aspect-ratio:1.9}.ad-caption {padding:30px 17px 16px}.ad-caption h2 {font-size:19px}.ad-caption p {font-size:10px;margin-top:7px}.ad-badge {top:13px;left:14px;font-size:9px}.ad-controls {padding:9px 13px;min-height:48px}.ad-counter {font-size:11px}.feed-toolbar {padding:19px 0;gap:18px}.feed-toolbar input {width:100%;font-size:12px}.feed-toolbar>div {gap:25px;font-size:12px}.story-list {padding:0 18px;border-radius:6px}.story {padding:25px 0;gap:15px}.story h2 {font-size:18px;line-height:1.8}.story p {font-size:12px;line-height:1.9}.story-meta {font-size:10px;margin-top:15px;gap:7px}.story-label {font-size:9px}.story-cover {flex-basis:91px;width:91px;height:100px;margin-top:6px}.story-stats {font-size:9px}.reading-article {padding:30px 22px}.reading-article h1 {font-size:27px;line-height:1.7}.prose {font-size:15px}.prose h2 {font-size:23px}.article-summary {font-size:13px;padding:15px 17px}.studio-top h1 {font-size:25px}.writing-sheet {padding:22px}.title-input {font-size:25px}.body-input {font-size:15px}.manage-heading h1 {font-size:26px}.metric strong {font-size:35px}.banner-admin-card {padding:18px}.hero h1 {font-size:34px}.hero p {font-size:12px}.cards {gap:15px}.card-body {padding:15px}.card h3 {font-size:15px}.card p {font-size:11px}.section-head h2 {font-size:24px}footer {padding:25px 20px;font-size:10px}.studio-actions .button {font-size:11px}.category-intro h2 {font-size:19px}.category-intro p {font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
