:root{--accent:#946121;--background:#f7f5f0;--ink:#302a23;--muted:#777168;--border:#e9e4dc;--sidebar:280px;--surface:#fff;--soft:#f5ecdc}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;color:var(--ink);background:var(--background) url("../assets/london-background.png") center bottom / cover no-repeat fixed;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d6ad6b;outline-offset:3px}button:disabled{cursor:default;opacity:.45}.skip{position:fixed;top:-60px;left:300px;background:white;padding:12px;z-index:50}.skip:focus{top:10px}
/* 品牌与分类栏 */
#sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-right:1px solid var(--border);z-index:20;transition:transform .2s;scrollbar-width:thin;scrollbar-color:#d9d2c7 transparent}.brand{display:flex;align-items:center;gap:12px;padding:26px 20px 24px;text-decoration:none;min-height:112px}.brand-logo{position:relative;width:58px;height:58px;flex:0 0 58px;overflow:hidden;border-radius:14px;border:1px solid #eee5d9;background:#faf3ed}.brand-logo img{position:absolute;width:135%;height:135%;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:cover}.brand-copy{min-width:0}.brand strong{display:block;font-size:18px;font-weight:750;letter-spacing:-.5px;line-height:1.5;overflow-wrap:anywhere}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1.5px;margin-top:4px}.nav-caption{margin:5px 28px 12px;font-size:10px;letter-spacing:2px;color:#a19a8e}nav{padding:0 16px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;min-height:44px;border:0;border-radius:8px;padding:10px 13px;margin:3px 0;background:none;color:#615b52;text-align:left;text-decoration:none;font-size:13px;transition:background .15s,color .15s}.nav-item svg{width:18px;height:18px}.nav-item span:not(.badge){min-width:0;overflow-wrap:anywhere}.nav-item:hover{background:#f6f2eb;color:var(--ink)}.nav-item.active,.nav-group>.nav-item.active{background:var(--accent);color:#fff;font-weight:650}.nav-item .arrow{margin-left:auto;width:13px;opacity:.7;transition:transform .15s}.arrow.rotated{transform:rotate(90deg)}.nav-item>.badge{margin-left:auto;background:#ffffff28;color:inherit;font-size:9px;letter-spacing:.4px}.submenu{margin:4px 0 8px 22px;padding-left:9px;border-left:1px solid #e5dbcb}.submenu .sub-item{min-height:37px;font-size:12px;padding:8px 12px}.submenu .sub-item.active{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,white);box-shadow:none}.sidebar-foot{margin:26px 28px;padding:20px 0;border-top:1px solid var(--border);color:#9b9285;font-size:11px;line-height:1.8}.sidebar-foot strong{display:block;color:#857458;font-size:11px;font-weight:500;letter-spacing:.7px}.sidebar-foot p{margin:7px 0 0}.close-menu{display:none}
/* 页面主区 */
.workspace{margin-left:var(--sidebar);min-width:0;transition:margin .2s}header{min-height:80px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;padding:18px 34px}h1{font-family:inherit;font-size:21px;line-height:1.35;letter-spacing:.2px;font-weight:700;margin:0;min-width:0;overflow-wrap:anywhere}.icon-button{display:grid;place-items:center;width:30px;height:32px;background:none;color:#8c8478;flex-shrink:0}.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.search{display:flex;align-items:center;gap:10px;width:270px;padding:10px 14px;border:1px solid var(--border);background:#f8f7f4;border-radius:9px;color:#948c7e}.search:focus-within{border-color:var(--accent)}.search input[type=search]{width:100%;min-width:0;border:0;padding:0;background:transparent;outline:none;font-size:12px}.search svg{width:17px;height:17px}.outline,.primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;text-decoration:none}.outline{background:#fff;border:1px solid #d8c6aa;color:var(--accent)}.outline:hover{background:#fbf5eb}.primary{background:var(--accent);color:white}.primary:hover{filter:brightness(.94)}#edit-site svg{width:16px;height:16px}main{padding:32px 34px;min-height:calc(100vh - 80px)}.welcome{padding:5px 0 34px;max-width:900px}.welcome h2{font-size:36px;line-height:1.45;font-weight:750;letter-spacing:-1px;margin:0 0 9px}.welcome p{font-size:14px;color:#8a8174;margin:0;letter-spacing:.4px}.resource-section{margin-bottom:38px;scroll-margin-top:24px}.resource-heading,.section-heading{display:flex;align-items:center;gap:12px;min-height:32px;margin-bottom:18px}.resource-heading h2,.section-heading h2{font-size:18px;font-weight:700;display:flex;align-items:center;gap:10px;line-height:1.5;margin:0}.resource-heading h2 svg{width:18px;color:var(--accent)}.resource-heading>span,#count{font-size:11px;color:#9a9185;background:#ece8e0;border-radius:5px;padding:2px 7px;white-space:nowrap}.resource-heading .outline{margin-left:auto}.resource-heading h2:focus{outline:none}.resource-sections{min-width:0}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{position:relative;min-width:0;background:#fff;border:1px solid var(--border);border-radius:12px;transition:border-color .18s,transform .18s,box-shadow .18s}.card:hover,.card:focus-within{border-color:#cfb78e;box-shadow:0 6px 20px #6950280a;transform:translateY(-2px)}.card-link{display:flex;align-items:center;gap:13px;width:100%;min-height:112px;padding:23px 22px 23px 17px;text-decoration:none;color:inherit;background:none;text-align:left;border-radius:12px}.resource-icon{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;overflow:hidden;border-radius:50%;background:var(--icon-color);color:white;font-size:12px;font-weight:600;font-family:Arial,sans-serif;letter-spacing:-.4px}.resource-icon.long{font-size:9px}.resource-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white;border-radius:50%}.card-copy{min-width:0}.card-title{font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;margin:0 0 5px}.card-description{color:var(--muted);font-size:11px;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.badge{display:inline-block;background:#edf4e7;color:#638743;font-size:9px;line-height:15px;font-weight:600;border-radius:3px;padding:0 5px}.badge.hot{background:#faedda;color:#a56a1c}.card>.badge{position:absolute;right:10px;top:6px}.star{position:absolute;right:7px;bottom:5px;color:#c7bfb1;background:none;padding:4px;opacity:0;display:grid;place-items:center}.star svg{width:14px;height:14px}.card:hover .star,.star:focus-visible,.star.saved{opacity:1}.star.saved{color:#b7832e}.star.saved svg{fill:#f8dfaa}.edit-card{position:absolute;right:6px;bottom:5px;color:var(--accent);background:var(--soft);font-size:10px;padding:3px 8px;border-radius:5px}.editing .star{display:none}footer{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:#9b9387;border-top:1px solid var(--border);padding:22px 0 5px;margin-top:40px}footer>span:last-child{margin-left:auto}#back-top{position:fixed;right:22px;bottom:22px;width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--accent);color:white;box-shadow:0 4px 12px #4e34141a;z-index:8}#empty{text-align:center;padding:65px 15px;color:var(--muted)}#empty h3{font-size:20px;color:var(--ink)}#about{background:white;border:1px solid var(--border);border-radius:12px;padding:30px;max-width:900px;line-height:2;color:#70695e}#about h2{color:var(--ink)}#edit-notice{background:var(--soft);border:1px solid #e9d7b8;color:#845a28;padding:13px 16px;border-radius:9px;margin-bottom:22px;font-size:12px}
/* 编辑器与资源详情 */
dialog{border:1px solid var(--border);background:#fff;border-radius:16px;max-width:calc(100vw - 32px);width:500px;max-height:90vh;overflow:auto;padding:28px;color:var(--ink);box-shadow:0 24px 90px #2c21192e}dialog::backdrop{background:#30281e55;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-head h2{font-size:20px;margin:0;font-weight:650}.close{font-size:27px;color:#958a7b;background:none;padding:0 5px}.muted,.hint{font-size:12px;color:var(--muted);line-height:1.8}form>label,.form-row>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;margin:16px 0}input:not([type=checkbox],[type=color],[type=file]),select,textarea{border:1px solid #ded8ce;background:#fff;color:var(--ink);border-radius:7px;padding:10px 11px;width:100%}input[type=color]{width:100%;height:38px;padding:3px;background:#fff;border:1px solid var(--border);border-radius:7px}input[type=checkbox]{accent-color:var(--accent)}textarea{resize:vertical}.form-row{display:flex;gap:14px}.form-row>label{flex:1;min-width:0}.check{flex-direction:row!important;align-items:center;font-weight:400}.actions{display:flex;gap:10px;margin-top:20px}.danger{margin-left:auto;background:#fdf0ec;color:#a85041;padding:8px 12px;border-radius:7px}.import-row{display:flex;gap:12px;align-items:center;border-top:1px solid var(--border);margin-top:24px;padding-top:16px;font-size:12px}.file-label{color:var(--accent);cursor:pointer}.file-label input{display:block;max-width:190px;font-size:11px;margin-top:7px}.text-button{font-size:12px;color:var(--accent);background:none}.hint{font-size:11px}.advanced-fields{font-size:12px;margin-top:16px}.advanced-fields summary{cursor:pointer;color:var(--accent)}.advanced-fields label{display:block;margin-top:14px}.advanced-fields textarea{margin-top:6px}#detail-dialog{width:760px}#detail-description{white-space:pre-line;font-size:14px;color:#6f675c;line-height:1.9}#detail-image{display:block;width:100%;height:350px;object-fit:contain;background:#f8f6f2;border-radius:10px}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:14px 0 20px}#detail-position{font-size:12px;color:var(--muted)}.resource-visit{margin-top:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);width:max-content;padding:12px 19px;border-radius:9px;background:#34291d;color:white;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:opacity .18s}#toast.show{opacity:1}.sidebar-closed #sidebar{transform:translateX(-100%)}.sidebar-closed .workspace{margin-left:0}
@media(min-width:1750px){.grid{gap:18px 22px}.card-link{min-height:112px;padding:24px 24px 24px 20px}.card-title{font-size:14px}.card-description{font-size:12px}.resource-icon{width:46px;height:46px}main{padding:36px 40px}header{padding-left:40px;padding-right:40px}}
@media(max-width:1250px){:root{--sidebar:250px}.brand{padding:24px 16px;gap:10px}.brand-logo{width:48px;height:48px;flex-basis:48px}.brand strong{font-size:17px}.brand small{font-size:10px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}main{padding:28px 24px}header{padding:18px 24px}.search{width:210px}.welcome h2{font-size:31px}}
@media(max-width:980px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search{width:170px}.header-tools{gap:8px}header{gap:10px;padding:16px 20px}h1{font-size:18px}.welcome h2{font-size:29px}.card-link{min-height:110px}.welcome p{font-size:13px}}
@media(max-width:760px){:root{--sidebar:270px}#sidebar{transform:translateX(-100%)}body.mobile-open{overflow:hidden}body.mobile-open #sidebar{transform:translateX(0)}.workspace,.sidebar-closed .workspace{margin-left:0}.close-menu{display:block;margin:14px 16px 0 auto;padding:7px 10px;border:1px solid var(--border);border-radius:7px;font-size:12px;color:var(--accent);background:#fff}.brand{min-height:90px;padding:15px 20px}.brand strong{font-size:18px}.brand-logo{width:52px;height:52px;flex-basis:52px}#shade{position:fixed;inset:0;background:#30281e55;z-index:19}header{padding:16px 18px;flex-wrap:wrap;min-height:116px;gap:10px}h1{font-size:20px;flex:1}.header-tools{width:100%;margin:0;gap:10px}.search{width:auto;flex:1;padding:9px 12px}main{padding:25px 18px}.welcome{padding:0 0 26px}.welcome h2{font-size:28px;letter-spacing:-.6px}.welcome p{font-size:12px}.resource-heading h2{font-size:17px}.resource-heading{margin-bottom:14px}.resource-section{margin-bottom:30px;scroll-margin-top:18px}.grid{gap:12px}.card-link{padding:21px 20px 21px 14px;gap:10px}.card-title{font-size:13px}.resource-icon{width:38px;height:38px}.star{opacity:1}.star svg{width:14px;height:14px}.resource-heading>span{font-size:10px}.sidebar-foot{margin-top:25px}#back-top{width:36px;height:36px;right:12px;bottom:12px}footer>span:last-child{width:100%;margin-left:0}.skip{left:20px}#detail-image{height:230px}}
@media(max-width:480px){.grid{grid-template-columns:1fr}.card-link{min-height:100px;padding:20px 30px 20px 17px;gap:14px}.resource-icon{width:42px;height:42px}.card-title{font-size:14px}.card-description{font-size:12px}.welcome h2{font-size:25px}.welcome p{max-width:270px;line-height:1.8}.resource-heading .outline{font-size:11px;padding:7px 9px}.form-row{gap:8px}dialog{padding:22px}.import-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* 侧栏采用独立背景，设置预览与实际导航共享同一效果。 */
#sidebar{background:var(--sidebar-background,linear-gradient(155deg,#eee7f7 0%,#f7f0ee 55%,#ecdfc9 100%));background-size:cover;background-position:center;box-shadow:4px 0 24px #57456308}
#sidebar .nav-caption{color:#7a707d}#sidebar .sidebar-foot{border-color:#a58b6933;color:#766a61}#sidebar .nav-item:hover{background:#ffffff70}#sidebar .nav-item.active{background:var(--accent)}
.sidebar-settings{margin:22px 0;padding:16px;border:1px solid var(--border);border-radius:12px}.sidebar-settings legend{font-weight:650;padding:0 6px}.sidebar-settings label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:14px}.sidebar-settings input[type=file]{max-width:100%;font-size:12px}.sidebar-preview{margin-top:14px;min-height:190px;padding:20px;border-radius:10px;border:1px solid #a58b6926;background-size:cover;background-position:center;display:flex;flex-direction:column;gap:14px;color:#302a23}.sidebar-preview span{font-size:11px;color:#6c626f}.sidebar-preview b{background:var(--accent);color:white;border-radius:7px;padding:9px 12px;font-size:12px}

/* 顶部工具栏：淡紫与香槟色呼应页面背景。 */
.workspace>header{position:relative;min-height:90px;gap:18px;background:linear-gradient(110deg,#f2ecf8eb 0%,#fffaf5ed 58%,#f2e6d5eb 100%);border-bottom:1px solid #bfa78538;box-shadow:0 4px 20px #57456306;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.workspace>header::after{content:"";position:absolute;bottom:0;left:34px;right:34px;height:1px;background:linear-gradient(90deg,transparent,#c6a26966,transparent);pointer-events:none}
.header-title{min-width:0;flex:1}.header-eyebrow{display:block;margin-bottom:3px;font-size:9px;line-height:1.4;letter-spacing:2.4px;color:#89765e;font-weight:650}.header-title h1{font-size:21px;letter-spacing:.8px;font-weight:700;color:#3c3340}
.workspace>header .icon-button{width:38px;height:38px;border-radius:11px;border:1px solid #fff9;background:#ffffff75;color:#82705d;box-shadow:0 2px 6px #654f3b05;transition:background .18s,box-shadow .18s}.workspace>header .icon-button:hover{background:#fff;box-shadow:0 3px 10px #654f3b0d}
.workspace>header .header-tools{gap:14px;min-width:0}.workspace>header .search{width:clamp(220px,23vw,360px);min-height:44px;border-radius:13px;padding:10px 15px;background:#ffffffb8;border:1px solid #d6c9d57a;box-shadow:inset 0 1px 2px #ffffffb3,0 2px 8px #69546b04;transition:border-color .18s,box-shadow .18s}.workspace>header .search:focus-within{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.workspace>header .search input[type=search]{background:transparent;border:0;padding:0;font-size:12px;color:var(--ink)}.workspace>header .search input::placeholder{color:#938993}.workspace>header #edit-site{min-height:44px;border-radius:12px;padding:10px 17px;background:#ffffff9c;border-color:#baa07870;box-shadow:0 2px 8px #73512406;transition:background .18s,box-shadow .18s}.workspace>header #edit-site:hover{background:#fff9ed;box-shadow:0 3px 12px #73512412}
@media(max-width:980px){.workspace>header{gap:12px}.workspace>header .header-tools{gap:9px}.workspace>header .search{width:210px}.header-title h1{font-size:19px}}
@media(max-width:760px){.workspace>header{padding:16px 18px;gap:12px;min-height:132px}.workspace>header::after{left:18px;right:18px}.header-title{flex:1}.header-eyebrow{font-size:8px;letter-spacing:1.8px}.header-title h1{font-size:20px}.workspace>header .header-tools{width:100%;gap:10px}.workspace>header .search{width:auto;flex:1;min-width:0}.workspace>header #edit-site{padding:10px 13px}.workspace>header .icon-button{width:36px;height:36px}}

/* 资源管理与分类内新增入口 */
.project-entry{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#f1eafa,#f8f0df);border:1px solid #e5d9d0;border-radius:12px;padding:16px;margin:18px 0}.project-entry>div{flex:1}.project-entry strong{font-size:14px}.project-entry p{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.7}
#project-manager{width:820px}.project-filters{display:flex;gap:12px;align-items:end;margin-top:20px}.project-filters label{flex:1;min-width:0;font-size:12px}.project-filters select,.project-filters input{margin-top:6px}.project-filters .primary{min-height:42px}.project-row{display:flex;align-items:center;gap:10px;padding:16px 0;border-top:1px solid var(--border)}.project-row-copy{flex:1;min-width:0}.project-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.project-row small{display:block;color:#887864;margin:5px 0;font-size:11px}.project-row p{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}.project-delete{color:#a34e43;background:#fcf0ed;border:1px solid #efdcd6;border-radius:8px;padding:10px 12px;font-size:12px}.project-empty{text-align:center;padding:40px 12px;color:var(--muted)}.project-add-tile{display:flex;min-height:112px;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:1px dashed #b8a18b;border-radius:12px;background:#fffc;color:var(--accent);font-size:13px}.project-add-tile>span{font-size:25px;line-height:1.2}.project-add-tile small{font-size:11px;color:var(--muted)}.project-add-tile:hover{background:#fff8ed;border-color:var(--accent)}
@media(max-width:600px){.project-filters{flex-wrap:wrap}.project-filters label{flex-basis:40%}.project-filters .primary{width:100%}.project-row{flex-wrap:wrap}.project-row-copy{flex-basis:100%}.project-entry{align-items:start;flex-direction:column}}

.card-upload-panel{padding:14px 16px;background:#f8f4fa;border:1px dashed #d5c7da;border-radius:10px;margin:16px 0}.card-upload-panel>label{display:block;font-size:12px;font-weight:500;margin-bottom:9px}.card-upload-panel input[type=file]{display:block;width:100%;min-width:0;font-size:12px}.card-upload-panel input::file-selector-button{padding:7px 12px;border:1px solid #d8c6aa;border-radius:7px;background:#fff;color:var(--accent);cursor:pointer;margin-right:10px}#card-upload-preview{display:flex;align-items:center;gap:14px;margin-top:12px}#card-upload-image{width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:50%}.card-upload-panel .hint{margin-bottom:0}
/* 关于本站内容编辑与媒体展示 */
#about-editor,#about-preview-dialog{width:820px}#about-editor-status{font-size:12px;color:var(--accent);white-space:pre-wrap}.about-upload-actions{display:flex;gap:16px;margin-top:20px}.about-upload-actions>label{flex:1;min-width:0}.about-upload-actions input,#about-text-upload,#about-import{display:block;max-width:100%;font-size:12px;margin-top:8px}.about-media-row{display:flex;gap:18px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#faf7fc;margin:12px 0}.about-media-row>img,.about-media-row>video{width:160px;height:110px;object-fit:contain;background:#eee8f2;border-radius:8px}.about-media-fields{flex:1;min-width:0}.about-media-fields strong{display:block;overflow-wrap:anywhere;font-size:12px}.about-media-fields label{display:block;font-size:12px;margin:8px 0}.about-media-actions{display:flex;gap:8px}.about-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;margin:20px 0;color:#70695e}#about figure,.about-content figure{margin:24px 0}#about figure img,#about figure video,.about-content figure img,.about-content figure video{display:block;max-width:100%;max-height:600px;height:auto;margin:auto;border-radius:12px}#about figure video,.about-content figure video{width:100%;background:#241e29}#about figcaption,.about-content figcaption{text-align:center;font-size:12px;color:var(--muted);margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.about-upload-actions{flex-direction:column}.about-media-row{flex-direction:column}.about-media-row>img,.about-media-row>video{width:100%;height:160px}}

/* 顶部寄语与后台可编辑配色 */
.workspace>header{background:linear-gradient(110deg,var(--header-start,#f2ecf8) 0%,#fffaf5 58%,var(--header-end,#f2e6d5) 100%);min-height:108px}
.workspace>header .header-title{flex:0 1 180px}.workspace>header .welcome{flex:1;min-width:0;max-width:none;margin:0;padding:0 12px;text-align:center}.workspace>header .welcome h2{font-size:clamp(18px,1.45vw,27px);line-height:1.5;letter-spacing:.3px;margin:0 0 5px;overflow-wrap:anywhere;color:#433849}.workspace>header .welcome p{font-size:12px;line-height:1.7;letter-spacing:.3px;max-width:none;margin:0;color:#8a796d;overflow-wrap:anywhere}.workspace>header .search{width:clamp(210px,18vw,300px)}
.topbar-settings{margin:22px 0;padding:16px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(135deg,#f8f4fc,#fffaf2)}.topbar-settings legend{font-weight:650;padding:0 6px}.topbar-settings>label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px}.topbar-settings .hint{margin-bottom:0}
@media(max-width:1250px){.workspace>header{flex-wrap:wrap}.workspace>header .header-title{flex:1}.workspace>header .welcome{order:3;flex:1 0 100%;padding:12px 0 0;border-top:1px solid #bfa78526;text-align:left}.workspace>header .welcome h2{font-size:23px}.workspace>header .search{width:210px}}
@media(max-width:760px){.workspace>header .header-title{flex:1}.workspace>header .header-tools{order:3}.workspace>header .welcome{order:2;padding:10px 0;border-top:1px solid #bfa78526}.workspace>header .welcome h2{font-size:22px}.workspace>header .welcome p{font-size:12px}.workspace>header .search{width:auto}.workspace>header{gap:10px}}

/* 可配置页脚 */
#site-footer{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 24px;margin-top:40px;text-align:center;background:linear-gradient(110deg,#f8f2fbd9,#fff8edd9);border:1px solid #e5d9dc;border-radius:14px;color:#82746c;line-height:1.9;font-size:12px}#footer-menu{padding:0;display:flex;justify-content:center;flex-wrap:wrap;gap:12px 26px;font-size:13px;font-weight:600;color:var(--accent)}#site-footer a{text-decoration:none;overflow-wrap:anywhere}#site-footer a:hover{text-decoration:underline}#footer-description{margin:0;max-width:1000px;white-space:pre-wrap;overflow-wrap:anywhere}.footer-meta{display:flex;justify-content:center;gap:8px 20px;flex-wrap:wrap;width:100%;overflow-wrap:anywhere}.footer-settings{margin:22px 0;padding:16px;border:1px solid var(--border);border-radius:12px}.footer-settings legend{font-weight:650;padding:0 6px}.footer-settings>label,.footer-link-row>label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:14px 0}.footer-link-row{background:#f8f4fa;border:1px solid #e8dfe9;padding:0 12px 12px;border-radius:9px;margin-bottom:12px}.footer-link-actions{display:flex;gap:14px;flex-wrap:wrap}.footer-link-actions button{padding:4px 0}.footer-settings .check{display:flex}@media(max-width:600px){#site-footer{padding:22px 16px}.footer-meta{flex-direction:column;gap:5px}#footer-menu{gap:10px 18px}}
