/* Current front-end refinements. */
.preview-label { background: #fff2f5; border-color: #efd5dc; color: #a92040; }
.price { font-size: 17px; }
.nav-inner { gap: 24px; }
[data-main-nav] { flex: 1; min-width: 0; overflow-x: auto; }
[data-main-nav] a { flex-shrink: 0; }
.nav-note { flex-shrink: 0; }
[data-home-tabs] { min-width: 0; overflow-x: auto; }
[data-home-tabs] button { flex-shrink: 0; }
.category-count { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.category-title>svg:last-child { width: 12px; height: 12px; color: var(--muted); }
.profile-facts [data-detail-category] { display: block; font-size: 14px; line-height: 1.7; }
.category-tab-label { color: var(--muted); font-size: 13px; margin-right: 5px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #f1ced7; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; }
.filter-chip>span { font-size: 15px; line-height: 1; }
.filter-chip:hover { border-color: var(--red); }
.profile-copy .card-tags>span:last-child { display: inline-block; }
.list-context-note { display: flex; align-items: center; gap: 7px; padding: 10px 23px; background: #fcfcfd; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.list-context-note svg { width: 13px; height: 13px; }
.list-context-note a { margin-left: auto; color: var(--red); white-space: nowrap; }
.source-details { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 13px; color: var(--muted); font-size: 12px; }
.source-details summary { cursor: pointer; display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 5px 0; list-style: none; }
.source-details summary::-webkit-details-marker { display: none; }
.source-details summary>span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.source-details summary>span:last-child { color: var(--text); font-size: 12px; }
.source-details summary>span:last-child:after { content: '＋'; margin-left: 8px; }
.source-details[open] summary>span:last-child:after { content: '−'; }
.source-details svg { width: 13px; height: 13px; }
.source-body { margin-top: 11px; background: #f6f7f9; border-radius: 4px; padding: 12px 15px; font-size: 12px; line-height: 1.9; }
.source-body dl { display: flex; flex-wrap: wrap; gap: 10px 35px; margin: 0 0 7px; }
.source-body dl>div { display: flex; gap: 10px; }
.source-body dd { color: var(--text); margin: 0; }
.source-body p+p { margin-top: 5px; }
.source-body ul { padding-left: 17px; }
.demo-pill { font-size: 11px; border: 1px solid #ead8bb; background: #fff9ee; border-radius: 3px; padding: 1px 6px; color: #866127; }
.promotion-badge { color: #a35322; background: #fff2e8; font-size: 11px; border-radius: 3px; padding: 2px 5px; }
.shop-demo-label { font-size: 12px; color: var(--muted); margin-left: 6px; }
.shop-state-switch { border-top: 1px dashed #dfe3e8; margin-top: 18px; padding-top: 14px; }
.shop-state-switch label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.shop-state-switch select { width: 100%; padding: 7px 9px; font: inherit; font-size: 12px; color: var(--text); border: 1px solid var(--border); border-radius: 4px; background: #fafbfc; }
.shop-card[data-state="normal"] .shop-state { background: #f4f8f6; border-color: #dbe7df; }
.shop-card[data-state="normal"] [data-shop-status] { color: #3e6750; background: #edf5f0; }
.shop-card[data-state="review"] .shop-state { background: #fffbf3; border-color: #eddec0; }
.shop-card[data-state="review"] [data-shop-status] { color: #7c612a; background: #fff5e0; }
.shop-card[data-state="invalid"] .shop-state { background: #fff6f7; border-color: #efced6; }
.shop-card[data-state="invalid"] [data-shop-status] { color: #a42a43; background: #fff0f3; }
.shop-preview-dialog { max-width: 560px; }
.shop-preview-dialog>p { font-size: 14px; color: var(--text); line-height: 1.9; }
.shop-preview-dialog>.muted { font-size: 12px; color: var(--muted); }
.shop-preview-summary { border: 1px solid var(--border); border-radius: 5px; background: #fafbfc; padding: 18px; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.shop-preview-summary strong { display: block; width: 100%; font-size: 16px; font-weight: 500; }
.shop-preview-summary>span { color: #6c655a; background: #f2efea; font-size: 12px; padding: 3px 7px; border-radius: 3px; }
.shop-preview-dialog>.btn { margin-top: 23px; }
/* Independent editorial page; matches the directory rather than introducing a new style. */
.guide-main { min-width: 0; }
.guide-article { overflow: hidden; }
.article-heading { padding: 31px 32px 24px; border-bottom: 1px solid var(--line); }
.article-heading>.eyebrow { color: var(--red); font-size: 12px; }
.article-heading h1 { font-size: 27px; line-height: 1.5; margin: 13px 0 10px; font-weight: 600; }
.article-heading>p { font-size: 14px; color: var(--text); line-height: 1.9; }
.article-meta { display: flex; gap: 19px; color: var(--muted); font-size: 12px; margin-top: 18px; }
.article-meta>span+span { border-left: 1px solid #dfe3e8; padding-left: 19px; }
.article-content { padding: 28px 32px 22px; font-size: 15px; line-height: 2; color: var(--text); }
.article-content .article-lead { color: #363c47; font-size: 16px; line-height: 1.9; }
.article-content h2 { margin: 27px 0 10px; font-size: 18px; color: var(--ink); font-weight: 550; }
.article-content ul { padding-left: 20px; margin: 12px 0; }
.article-content li { margin: 7px 0; }
.article-content blockquote { padding: 15px 20px; margin: 23px 0 6px; background: #f7f8fa; border-left: 3px solid #e7a1b1; font-size: 15px; color: #5b616e; }
.article-source { display: flex; gap: 8px; font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0 32px 24px; border-top: 1px solid var(--line); padding-top: 15px; }
.article-source svg { width: 14px; height: 14px; margin-top: 2px; }
.article-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fbfcfd; border-top: 1px solid var(--line); padding: 20px 32px; }
.article-next>span { color: var(--muted); font-size: 13px; }
.article-next .btn { flex-shrink: 0; }
.article-related { margin-top: 22px; overflow: hidden; }
.selection-method { padding: 16px 25px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; background: #fcfcfd; }
.selection-method>strong { font-weight: 500; color: var(--text); font-size: 13px; }
.selection-method p { margin: 4px 0; }
.selection-method>span { font-size: 12px; }
.guide-links { padding: 0 20px 13px; }
.guide-links>a { position: relative; display: block; padding: 13px 19px 13px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.guide-links>a:last-child { border-bottom: none; }
.guide-links small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.guide-links svg { position: absolute; right: 0; top: 50%; width: 12px; height: 12px; color: #69717f; }
.guide-links>a[aria-current="page"] { color: var(--red); }
/* 侧边栏通用样式：文章详情页与文章列表页共用 */
.related-list{list-style:none;padding:0;margin:0;}
.related-list li{padding:9px 0;border-bottom:1px dashed #f0f0f0;}
.related-list li:last-child{border-bottom:none;}
.related-list a{display:block;font-size:13px;color:#444;text-decoration:none;line-height:1.5;}
.related-list a:hover{color:#9a3b2e;}
.related-list .sub{font-size:11px;color:#aaa;margin-top:2px;}
.side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;border-bottom:1px solid #eee;padding-bottom:8px;}
.side-head h3{font-size:14px;color:#1f2530;margin:0;}
.side-head .side-more{font-size:12px;color:#9a3b2e;text-decoration:none;}
.side-panel{padding:14px 16px;}
@media(max-width:760px) {
  .category-tab-label { font-size: 12px; }
  .filter-chip { font-size: 12px; gap: 6px; }
  .list-context-note { padding: 9px 15px; align-items: flex-start; gap: 6px; font-size: 11px; flex-wrap: wrap; }
  .list-context-note svg { width: 12px; height: 12px; margin-top: 2px; }
  .list-context-note a { margin-left: 18px; }
  .source-details { font-size: 12px; margin-top: 18px; }
  .source-details summary { flex-wrap: wrap; gap: 6px; }
  .source-details summary>span:last-child { font-size: 11px; }
  .source-body { padding: 11px; font-size: 12px; }
  .source-body dl { gap: 7px 20px; }
  .article-heading { padding: 22px 19px 20px; }
  .article-heading h1 { font-size: 23px; margin: 11px 0 9px; }
  .article-heading>p { font-size: 13px; }
  .article-meta { font-size: 11px; gap: 12px; margin-top: 15px; }
  .article-meta>span+span { padding-left: 12px; }
  .article-content { padding: 23px 19px 18px; font-size: 14px; }
  .article-content .article-lead { font-size: 16px; }
  .article-content h2 { font-size: 17px; margin: 24px 0 8px; }
  .article-content blockquote { font-size: 14px; padding: 13px 16px; }
  .article-source { margin: 0 19px 20px; font-size: 11px; }
  .article-next { padding: 17px 19px; flex-wrap: wrap; gap: 12px; }
  .article-next>span { font-size: 12px; }
  .article-next .btn { font-size: 12px; }
  .selection-method { padding: 14px 17px; font-size: 12px; }
  .guide-layout>.directory-sidebar { margin-top: 18px; }
}
.outfit-panel { padding-bottom: 8px; }
.outfit-panel .guide-row { line-height: 1.85; }
.outfit-empty { font-size: 12px; line-height: 1.9; color: #606a79; padding: 3px 20px 17px; }
.rich-prose { white-space: normal; overflow-wrap: anywhere; }
.rich-prose p { margin: 0 0 1em; }
.rich-prose p:last-child { margin-bottom: 0; }
.rich-prose h2 { font-size: 21px; line-height: 1.6; margin: 1.2em 0 .6em; }
.rich-prose h3 { font-size: 18px; line-height: 1.6; margin: 1em 0 .5em; }
.rich-prose ul,.rich-prose ol { padding-left: 1.5em; margin: .6em 0 1em; }
.rich-prose li { margin: .3em 0; }
.rich-prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid #e8a2b2; background: #f7f8fa; }
.rich-prose a { color: var(--red); text-decoration: underline; }
@media(min-width:761px) {
  .header-inner { justify-content: flex-start; }
  .search-block { flex: 1 1 760px; width: auto; min-width: 0; max-width: 760px; margin-left: 0; }
  .header-tools { margin-left: auto; flex-shrink: 0; }
}
