/* 有限本地目录的初始设计系统实现，尚未通过原版页面视觉验收。 */
.market-page{padding:24px;max-width:1600px;margin:0 auto;min-height:100vh}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.market-heading h1{font-size:24px;line-height:32px;font-weight:600;margin:0 0 4px}.market-heading p{font-size:13px;line-height:21px;color:var(--muted);margin:0}.market-heading>.btn{white-space:nowrap;flex:none}.market-scope-note{display:flex;align-items:center;gap:14px;border:1px solid var(--border-soft);border-radius:10px;background:#fff;padding:13px 16px;margin-bottom:22px}.market-scope-note p{font-size:12px;line-height:20px;color:var(--secondary);margin:0;flex:1}.market-scope-note>a{font-size:12px;line-height:20px;color:#552c78;white-space:nowrap}.market-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.market-list-toolbar>span{font-size:12px;color:var(--muted)}.market-search{display:flex;align-items:center;gap:8px;max-width:620px;flex:1;margin:0}.market-search>label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;background:#fff;border:1px solid var(--border);border-radius:9px;padding:0 11px;color:var(--muted);height:36px}.market-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;padding:7px 0;font-size:13px;line-height:20px;color:var(--text)}.market-search .btn{height:36px;font-size:12px}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.market-entry{background:white;border:1px solid var(--border-soft);border-radius:12px;padding:20px;display:flex;flex-direction:column;min-width:0}.market-entry-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.market-entry-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#f0ecfa;color:#917aa8;font-size:14px;font-weight:600;flex:none}.market-source{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid #e2e3ed;border-radius:6px;font-size:10px;line-height:18px;color:#797382;max-width:100%;overflow-wrap:anywhere}.market-source.sample{background:#fff9ed;border-color:#f1e5c9;color:#9f7935}.market-source.imported{background:#f2f6fd;border-color:#d8e3f3;color:#647f9e}.market-entry-title{font-size:17px;line-height:25px;font-weight:600;color:var(--text);overflow-wrap:anywhere}.market-entry-title:hover{color:#5d3182}.market-entry-description{font-size:12px;line-height:20px;color:var(--muted);margin:8px 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:60px}.market-entry-counts{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;line-height:18px;color:var(--muted);margin-top:auto}.market-entry-counts b{font-weight:600;color:var(--text);font-size:13px}.market-entry footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border-soft);padding-top:14px;margin-top:16px;font-size:11px;line-height:18px}.market-open{display:inline-flex;align-items:center;gap:6px;color:#563375}.market-source-link{color:#867994}.market-source-link:hover{text-decoration:underline}.market-no-source{color:var(--muted)}.market-missing-inline{font-size:10px;line-height:17px;color:#a47830;margin:10px 0 0}.market-empty,.market-error{background:white;border:1px solid var(--border-soft);border-radius:12px;min-height:320px;padding:46px 28px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px;color:#988fa3}.market-empty h2,.market-error h2{font-size:20px;line-height:28px;font-weight:600;color:var(--text);margin:0}.market-empty p,.market-error p{max-width:500px;font-size:13px;line-height:22px;color:var(--muted);margin:0}.market-error>div{display:flex;gap:10px}.market-back{display:inline-block;font-size:12px;color:var(--muted);margin:0 0 12px}.market-detail-summary{background:white;border:1px solid var(--border-soft);border-radius:12px;padding:20px 24px;margin-bottom:24px}.market-detail-source{display:flex;align-items:center;gap:14px;font-size:12px;line-height:20px;margin-bottom:12px}.market-detail-summary>p{font-size:13px;line-height:22px;color:var(--secondary);white-space:pre-wrap;overflow-wrap:anywhere}.market-detail-summary>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0}.market-detail-summary dt{font-size:10px;line-height:18px;color:var(--muted);margin-bottom:3px}.market-detail-summary dd{font-size:12px;line-height:20px;margin:0;overflow-wrap:anywhere}.market-provenance,.market-missing details{font-size:11px;line-height:19px;color:var(--muted)}.market-provenance summary,.market-missing summary{cursor:pointer}.market-provenance pre,.market-missing pre,.market-import-help pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;background:#f7f6fa;border-radius:8px;padding:12px;font-size:11px;line-height:18px}.market-missing{padding:14px 16px;background:#fff9ec;border:1px solid #f3e5c7;border-radius:8px;margin:16px 0;font-size:12px;line-height:20px;color:#916c2f}.market-missing p{margin:5px 0 8px}.market-advertisers{margin-bottom:24px}.market-advertisers h2,.market-ads-heading h2{font-size:18px;line-height:26px;font-weight:600;margin:0}.market-advertisers h2>span,.market-ads-heading h2>span{font-size:13px;font-weight:400;color:var(--muted);margin-left:6px}.market-advertisers>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.market-advertisers a{display:flex;align-items:center;gap:16px;border:1px solid var(--border-soft);border-radius:9px;background:#fff;padding:11px 14px}.market-advertisers strong{font-size:12px;font-weight:500}.market-advertisers small,.market-advertisers>p{font-size:11px;color:var(--muted)}.market-ads-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:8px 0 10px}.market-ads-heading .market-search{max-width:460px}.market-ad-scope{font-size:11px;line-height:18px;color:var(--muted);margin:0 0 20px}.market-ad-wall{margin:0}.market-import-note{font-size:12px;line-height:20px;color:var(--secondary);background:#f7f6fa;border:1px solid var(--border-soft);border-radius:9px;padding:12px 14px;margin-bottom:18px}.market-import-help{font-size:12px;line-height:20px;color:var(--muted)}.market-import-help>summary{cursor:pointer;font-weight:500;color:var(--secondary)}.market-import-help p{margin:10px 0}.market-import-identifiers{margin-top:18px;padding:14px;border:1px solid var(--border-soft);border-radius:9px}.market-import-identifiers h3{font-size:14px;margin:0 0 12px}.market-import-identifiers dl{max-height:220px;overflow:auto;font-size:12px;line-height:20px;margin:0}.market-import-identifiers dl>div{padding:8px 0;border-bottom:1px solid var(--border-soft)}.market-import-identifiers dd{margin:3px 0 0;color:var(--muted);overflow-wrap:anywhere}.market-import-receipt{border:1px solid #d5e9d6;border-radius:10px;background:#f6fbf5;padding:14px 16px;margin-bottom:20px;font-size:12px;line-height:20px;color:#4a7650}.market-import-receipt>div{display:flex;align-items:center;justify-content:space-between}.market-import-receipt p{margin:6px 0}.market-import-receipt summary{cursor:pointer}.market-import-receipt ul{padding-left:18px;margin:8px 0 0}.market-import-receipt a{text-decoration:underline}.market-import-receipt small{font-size:10px;line-height:18px;margin-left:8px}.market-loading>p{color:var(--muted);font-size:13px}.market-loading-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.market-loading-grid>div{height:230px;border:1px solid var(--border-soft);background:linear-gradient(110deg,#fff,#f1eff7,#fff);border-radius:12px}

.market-brand-page{min-height:100vh;background:var(--layout)}.market-brand-top{height:72px;display:flex;align-items:center;gap:16px;padding:16px;background:#fff;border-bottom:1px solid #05056914;white-space:nowrap}.market-brand-top button{flex-shrink:0}.market-bfcm{height:36px;min-width:162px;padding:0 10px;border:2px solid transparent;border-radius:9px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#ff7960,#ff5ad0,#865cff) border-box;color:#000000e0;font-size:14px;font-weight:600;line-height:22px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 2px 5px #ff8bad18}.market-bfcm>span{font-size:22px;color:#f14fbb;font-weight:400}.market-view-tab{height:36px;padding:0 10px;border-radius:9px;border:0;background:transparent;font-weight:600;color:#000000a6;font-size:14px;max-width:170px;overflow:hidden;text-overflow:ellipsis}.market-view-tab.active{color:#fff;background:var(--foji-violet)}.market-new-view{height:32px;border:1px dashed #05056924;background:white;border-radius:9px;padding:0 15px;display:flex;align-items:center;gap:8px;font-size:14px}.market-manage-views{margin-left:-8px;flex-shrink:0}.market-top-search{margin:0 0 0 auto;max-width:480px;min-width:200px;flex:1;height:40px;border:1px solid #05056924;border-radius:12px;display:flex;align-items:center;gap:8px;padding:0 12px;color:#00000073}.market-top-search input{border:0;outline:none;width:100%;min-width:0;background:transparent;font-size:16px;line-height:24px;color:#000000e0}.market-top-search input::placeholder{color:#00000040}.market-search-submit{border:0;background:none;color:#00000073;padding:0;display:none}.market-find-brand{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:0;font-size:14px;line-height:22px;margin-left:auto}.market-brand-controls{background:#fff;padding:8px 16px 12px;border-bottom:1px solid #05056914}.market-brand-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:8px}.market-brand-toolbar>.btn{height:32px;font-size:14px;gap:6px;padding:0 10px;box-shadow:none}.market-brand-toolbar>.btn>b{font-weight:600}.market-brand-toolbar>.btn>span{font-size:12px;color:#000000a6;margin:0 6px}.market-brand-filters{background:#f5f5fa;border-radius:12px;padding:12px 16px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 24px}.market-brand-filters[hidden]{display:none}.market-filter-group{display:flex;align-items:center;gap:6px}.market-filter-group>span{font-size:12px;line-height:20px;color:#00000073;font-weight:500;margin-right:3px}.market-product-filter-row{flex-basis:100%}.market-filter,.market-sort{position:relative}.market-filter>summary{list-style:none;display:flex;align-items:center;gap:6px;height:28px;border:1px solid #05056914;border-radius:9px;background:white;padding:0 10px;font-size:12px;line-height:20px;cursor:pointer}.market-filter>summary::-webkit-details-marker,.market-sort>summary::-webkit-details-marker{display:none}.market-filter>summary.active{border-color:#8256aa;color:#4d1d71;background:var(--foji-lav-bg)}.market-filter-popup{position:absolute;left:0;top:34px;z-index:55;width:300px;max-width:calc(100vw - 32px);padding:16px;border:1px solid #05056914;background:#fff;border-radius:10px;box-shadow:0 8px 24px #0002;white-space:normal}.market-filter-popup>strong{font-size:14px;display:block;margin-bottom:12px}.market-filter-popup>p{font-size:11px;line-height:18px;color:var(--muted);margin-bottom:12px}.market-filter-popup .field{font-size:12px;margin-bottom:12px}.market-filter-popup .form-grid{gap:12px}.market-filter-actions{display:flex;justify-content:flex-end;gap:8px}.market-filter-no-data{text-align:center;padding:22px 8px;color:#00000073;font-size:14px;line-height:22px}.market-filter-no-data p{font-size:11px;line-height:18px;margin:8px 0 0}.market-sort>summary{list-style:none;cursor:pointer;height:32px;gap:4px;padding:0 10px;font-size:14px;line-height:22px;box-shadow:none}.market-sort>summary>b{font-weight:600}.market-sort>div{position:absolute;left:0;top:38px;width:225px;padding:6px;background:white;border:1px solid #05056914;border-radius:10px;box-shadow:0 8px 24px #0002;z-index:55}.market-sort button{display:block;width:100%;border:0;background:white;text-align:left;font-size:12px;padding:7px 10px;border-radius:6px}.market-sort button:hover,.market-sort button.selected{background:var(--foji-lav-bg);color:#55267b}.market-sort small{display:block;font-size:10px;line-height:16px;color:var(--muted);padding:6px 10px}.market-brand-results{padding:16px}.market-table-scroll{overflow:auto;background:white;border-radius:12px;box-shadow:0 1px 6px #00000004}.market-brand-table{border-collapse:collapse;table-layout:fixed;width:1548px;min-width:100%;font-size:14px;line-height:22px}.market-brand-table th{height:50px;background:#fafafa;padding:12px;text-align:left;font-weight:600;border-bottom:1px solid #05056914;position:relative;white-space:nowrap}.market-brand-table th:not(:last-child):after{content:'';position:absolute;right:0;top:14px;bottom:14px;width:1px;background:#05056914}.market-brand-table th>span{display:inline-flex;color:#00000073;vertical-align:middle}.market-brand-table td{height:93px;padding:14px 12px;border-bottom:1px solid #05056914;vertical-align:middle}.market-brand-table tr:last-child td{border-bottom:0}.market-brand-name{display:flex;align-items:center;gap:12px;min-width:0}.market-brand-logo{width:40px;height:40px;border:1px solid #05056914;border-radius:9px;background:#f3eef6;color:#9381a6;display:grid;place-items:center;flex:none;font-size:12px;font-weight:600;overflow:hidden}.market-brand-logo img{width:100%;height:100%;object-fit:contain}.market-brand-name>div{min-width:0}.market-brand-name>div>a{font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-brand-name small{display:block;font-size:12px;line-height:20px;color:#00000073;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-local-count{display:block;color:#00000073;font-size:10px;line-height:16px}.market-products{display:flex;gap:6px}.market-products>span{width:62px;height:62px;border:1px solid #05056914;border-radius:9px;overflow:hidden;position:relative;flex:none;background:#f5f5fa}.market-products img{width:100%;height:100%;object-fit:cover}.market-products b{position:absolute;inset:0;display:grid;place-items:center;background:#0009;color:white;font-size:12px;font-weight:600}.market-traffic{display:flex;align-items:center;gap:6px}.market-traffic>b{font-size:11px;line-height:18px;padding:2px 6px;border-radius:5px;font-weight:500}.market-traffic .up{color:#4e7827;background:#eaffd4}.market-traffic .down{color:#ab3541;background:#fff0f0}.market-traffic .flat{color:#666;background:#f1f1f4}.market-traffic-spark{flex-shrink:0}.market-brand-table .market-table-empty{height:300px;text-align:center;color:var(--muted)}.market-table-empty h2{font-size:18px;line-height:26px;color:var(--text);margin:0 0 10px}.market-table-empty p{font-size:13px;margin-bottom:20px}.market-table-scope{font-size:10px;line-height:17px;color:#00000073;margin:14px 0 0}.market-table-scope>a{color:#552f75;margin-left:8px}.market-view-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--border-soft);font-size:13px}.market-view-row>strong{flex:1;font-weight:500;overflow-wrap:anywhere}

.market-picks-page{min-height:100vh;background:#f5f5fa}.market-picks-header{background:white;border-bottom:1px solid #05056914;padding:16px 24px}.market-picks-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.market-picks-heading h1{font-size:24px;line-height:32px;font-weight:600;margin:0;white-space:nowrap}.market-picks-heading>div{display:flex;gap:8px;align-items:center;max-width:390px}.market-picks-heading .market-search{max-width:280px}.market-picks-heading .market-search>label{height:32px}.market-picks-heading .market-search>.btn{height:32px;font-size:11px;padding:0 8px}.market-picks-heading>div>.btn{height:32px;font-size:12px;padding:0 10px}.market-picks-header>p{font-size:16px;line-height:24px;color:#000000a6;margin:4px 0 16px}.market-pick-steps{height:34px;display:flex;align-items:center;gap:22px;font-size:14px;line-height:22px;color:#000000e0}.market-pick-steps>span{display:flex;align-items:center;gap:16px;white-space:nowrap}.market-pick-steps i{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--foji-lav-bg);color:#6d329b;font-style:normal}.market-pick-steps>b{font-size:26px;line-height:30px;font-weight:400;color:#a277cb}.market-picks-body{padding:16px 24px 24px}.market-picks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.market-pick{display:flex;gap:16px;height:186px;min-width:0;padding:16px;background:#fff;border:1px solid #05056914;border-radius:12px;box-sizing:border-box}.market-pick-cover{width:144px;height:144px;flex:none;border-radius:6px;overflow:hidden;background:#f2eef7;color:#998aa8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.market-pick-cover>span{font-size:11px;line-height:18px}.market-pick-cover>img{width:100%;height:100%;object-fit:cover}.market-pick-content{display:flex;flex-direction:column;min-width:0;flex:1}.market-pick-title{font-size:16px;line-height:24px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-pick-counts{font-size:12px;line-height:20px;color:#00000073;margin:0 0 4px}.market-pick-content>p{font-size:12px;line-height:20px;color:#000000a6;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.market-pick-content>small{font-size:9px;line-height:15px;color:#00000073;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-pick-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:auto}.market-pick-actions .btn{height:32px;padding:0 15px;border-radius:9px;font-size:14px;line-height:22px;font-weight:400;box-shadow:0 2px 0 #00000002;white-space:nowrap}.market-pick-actions .primary{background:var(--foji-violet);border-color:transparent;color:white;box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}.market-template-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;background:white;border:1px solid var(--border-soft);border-radius:12px;margin:0 0 24px}.market-template-panel h2{font-size:17px;line-height:25px;margin:0 0 8px;font-weight:600}.market-template-panel p{font-size:12px;line-height:20px;color:var(--secondary);margin:0 0 6px;max-width:650px}.market-template-panel small{font-size:11px;line-height:18px;color:var(--muted)}.market-template-panel>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:220px}.market-template-panel .btn{font-size:12px}
.market-brand-results .market-table-scroll{max-height:calc(100vh - 234px)}
