:root {
    --brand-primary:#f39800;
    --brand-primary-dark:#db3710;
    --brand-primary-soft:#fff4df;
    --brand-yellow:#fdd000;
    --brand-gold:#aa8534;
    --text:#1f1f1f;
    --muted:#7a6250;
    --line:#eee0cf;
    --surface:#fffaf2;
    --page:#fff;
    --page-gutter:32px;
    --page-max:1440px;
    --card-min:280px;
}
* { box-sizing:border-box; }
body {
    margin:0;
    background:var(--page);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;
}
a { color:inherit; text-decoration:none; }
.page { width:min(calc(100% - var(--page-gutter)), var(--page-max)); margin:0 auto; }
.topbar {
    display:flex; align-items:center; justify-content:space-between; gap:20px;
    min-height:108px; border-bottom:1px solid var(--line);
}
.brand { display:flex; align-items:center; }
.brand-mark { width:220px; max-width:45vw; display:block; }
.nav { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 12px; color:#5f4630; font-size:14px; }
.nav a:hover, .nav a.active { color:var(--brand-primary-dark); }
.nav-dk { white-space:nowrap; }
.nav-share {
    display:inline-flex; align-items:center; justify-content:center; height:34px; border:1px solid var(--line);
    border-radius:6px; padding:0 12px; background:#fff; color:#5f4630; font:inherit; font-weight:800; cursor:pointer;
}
.nav-share:hover { border-color:var(--brand-primary); color:var(--brand-primary-dark); background:var(--brand-primary-soft); }
.nav-mb { display:none; border:1px solid var(--line); border-radius:6px; padding:7px 24px 7px 10px; background:#fff; color:#5f4630; }
.hero {
    display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(260px, .9fr); gap:28px;
    padding:28px 0 22px; border-bottom:1px solid var(--line);
}
.kicker { margin:0 0 8px; color:var(--brand-gold); font-size:13px; font-weight:750; }
h1 { margin:0; font-size:34px; line-height:1.18; letter-spacing:0; }
.subtitle { margin:10px 0 0; color:var(--muted); line-height:1.7; font-size:14px; }
.search-block { margin-top:18px; }
.search-block-main { display:flex; gap:10px; }
.search-block-main input {
    flex:1; min-width:0; height:42px; border:1px solid var(--line); border-radius:7px; padding:0 12px;
    font-size:15px; outline:none; background:#fff;
}
.search-block-main input:focus { border-color:var(--brand-primary); box-shadow:0 0 0 3px rgba(243,152,0,.14); }
.search-block-filters { display:flex; gap:10px; margin-top:10px; }
.search-block-filters select {
    flex:1; height:40px; border:1px solid var(--line); border-radius:7px; padding:0 10px; background:#fff; font-size:14px; color:#5f4630;
}
.btn {
    display:inline-flex; align-items:center; justify-content:center; height:42px; border-radius:7px;
    border:1px solid var(--line); padding:0 14px; background:#fff; color:#5f4630; font-weight:800; cursor:pointer;
}
.btn-primary { background:var(--brand-primary); border-color:var(--brand-primary); color:#111; }
.btn-market { flex:0 0 auto; background:#1f1f1f; border-color:#1f1f1f; color:#fff; white-space:nowrap; }
.btn-market.active, .btn-market:hover { background:var(--brand-primary); border-color:var(--brand-primary); color:#111; }
.btn-auto { background:#1f1f1f; border-color:var(--brand-yellow); color:#fff; box-shadow:inset 0 0 0 1px rgba(253,208,0,.45); }
.btn-danger { background:#db3710; border-color:#db3710; color:#fff; }
.btn:hover { border-color:var(--brand-primary); color:var(--brand-primary-dark); }
.btn-auto:hover { background:#111; border-color:var(--brand-yellow); color:var(--brand-yellow); }
.btn-danger:hover { border-color:#b92c0b; background:#c8310e; color:#fff; }
.btn:disabled { opacity:.48; cursor:not-allowed; color:#8a7a6a; background:#f6f1ea; border-color:#eadfce; }
.btn:disabled:hover { color:#8a7a6a; border-color:#eadfce; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; align-self:end; }
.stats.single { grid-template-columns:1fr; }
.stat { background:var(--surface); border:1px solid var(--line); border-radius:7px; padding:16px; }
.stat-link { display:block; color:inherit; transition:border-color .16s ease, background-color .16s ease; }
.stat-link:hover { border-color:var(--brand-primary); background:var(--brand-primary-soft); color:inherit; }
.stat-link:hover strong { color:var(--brand-primary-dark); }
.stat strong { display:block; font-size:26px; line-height:1.2; white-space:nowrap; }
.stat span { display:block; margin-top:7px; color:var(--muted); font-size:13px; white-space:nowrap; }
.filter-summary-card { align-self:end; min-height:104px; border:1px solid var(--line); border-radius:7px; background:var(--surface); padding:17px 18px; }
.filter-summary-card span { display:block; color:var(--muted); font-size:15px; line-height:1.45; font-weight:850; }
.filter-summary-card strong { display:block; margin-top:8px; color:var(--text); font-size:36px; line-height:1.08; font-weight:950; letter-spacing:0; overflow-wrap:anywhere; }
.btn-stat { display:flex; align-items:center; justify-content:center; height:100%; box-sizing:border-box; min-height:82px; font-size:16px; border-radius:7px; gap:6px; }
.section { padding:24px 0; border-bottom:1px solid var(--line); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:14px; }
.section-head h2 { margin:0; font-size:21px; line-height:1.3; }
.section-head a, .section-head button { color:var(--brand-gold); background:none; border:0; padding:0; cursor:pointer; font-size:13px; }
.section-head .sep { color:var(--line); font-size:13px; user-select:none; }
.profile-section { padding-top:18px; }
.profile-card { border:1px solid var(--line); border-radius:7px; background:#fff; padding:18px; }
.profile-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:10px; }
.profile-head h2 { margin:0; font-size:21px; line-height:1.3; }
.profile-head a, .profile-head span { flex:0 0 auto; color:var(--brand-gold); font-size:13px; font-weight:800; }
.profile-text { color:#49392c; font-size:15px; line-height:1.82; overflow-wrap:anywhere; }
.profile-text p { margin:0 0 10px; }
.profile-text p:last-child { margin-bottom:0; }
.brand-intro-section { padding-top:18px; }
.brand-intro-card { border:1px solid var(--line); border-radius:7px; background:#fff; padding:18px; }
.brand-intro-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.brand-intro-head h2 { margin:0; font-size:21px; line-height:1.3; }
.brand-intro-summary { margin:0; color:#49392c; font-size:16px; line-height:1.75; overflow-wrap:anywhere; }
.brand-intro-more { flex:0 0 auto; border:0; background:none; color:var(--brand-gold); font-size:13px; font-weight:800; cursor:pointer; padding:4px 0; }
.series-intro-link { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:0 11px; border:1px solid var(--line); border-radius:7px; background:var(--brand-primary-soft); color:#6b4b20; font-size:13px; font-weight:850; }
.series-intro-link:hover { border-color:var(--brand-primary); color:var(--brand-primary-dark); }
.brand-intro-detail { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); color:#49392c; font-size:14px; line-height:1.78; overflow-wrap:anywhere; }
.brand-intro-detail[hidden] { display:none; }
.brand-intro-detail p { margin:0 0 10px; }
.brand-intro-detail p:last-child { margin-bottom:0; }
.brand-intro-scope { color:#6c5745; }
.brand-intro-meta, .brand-intro-sources { margin-top:12px; }
.brand-intro-meta strong, .brand-intro-sources strong { display:block; margin-bottom:4px; color:#2f251e; }
.brand-intro-meta ul, .brand-intro-sources ul { margin:0; padding-left:18px; }
.brand-intro-sources a { color:var(--brand-gold); font-weight:700; }
.brand-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.brand-chip, .filter-chip {
    display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px;
    border:1px solid var(--line); border-radius:7px; padding:9px 11px; background:#fff; color:#5f4630;
}
.brand-chip:hover, .filter-chip:hover, .filter-chip.active { background:var(--brand-primary-soft); border-color:var(--brand-primary); color:var(--brand-primary-dark); }
.brand-chip small, .filter-chip small { color:var(--brand-gold); font-size:11px; }
.filter-panel { display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:10px; margin-bottom:14px; }
.filter-panel input, .filter-panel select {
    height:40px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:0 10px; min-width:0;
}
.brand-filter-panel { grid-template-columns:200px 240px; justify-content:start; }
.brand-filter-panel label { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; font-weight:800; }
.brand-filter-panel select { width:100%; font-size:14px; color:#5f4630; }
.brand-filter-panel select:disabled { color:#9a8b7c; background:#f8f3ec; }
.model-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); gap:18px; }
.model-grid > .state { grid-column:1 / -1; }
.model-card {
    border:1px solid var(--line); border-radius:7px; background:#fff; overflow:hidden; min-width:0;
}
.model-img { display:block; width:100%; aspect-ratio:3/2; background:#fff center/contain no-repeat; }
.model-body { padding:13px; }
.model-meta { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; color:var(--brand-gold); font-size:12px; }
.badge { display:inline-flex; border:1px solid #ead8bd; border-radius:999px; padding:3px 8px; background:#fffaf2; }
.model-title { display:block; min-height:44px; color:var(--text); font-size:16px; line-height:1.38; font-weight:850; }
.model-card:hover .model-title { color:var(--brand-primary-dark); }
.model-aliases, .detail-aliases { display:flex; flex-wrap:wrap; align-items:center; gap:6px; color:#74532d; }
.model-aliases { margin-top:8px; min-height:22px; }
.detail-aliases { margin-top:8px; }
.model-aliases span, .detail-aliases span { color:var(--muted); font-size:12px; font-weight:800; }
.model-aliases em, .detail-aliases em { display:inline-flex; align-items:center; min-height:22px; border:1px solid #ead8bd; border-radius:999px; background:#fffaf2; padding:0 8px; font-size:12px; font-style:normal; font-weight:800; }
.model-specs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:11px; color:#5f4630; font-size:12px; }
.model-specs span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-actions { display:flex; gap:8px; margin-top:12px; }
.card-actions .btn { flex:1; height:36px; font-size:13px; }
.btn.is-selected { background:var(--brand-primary-soft); border-color:var(--brand-primary); color:var(--brand-primary-dark); }
.state { color:var(--muted); padding:18px 0; }
.choose-hero { grid-template-columns:minmax(0,1fr) minmax(320px,.72fr); }
.choose-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.choose-board { display:grid; grid-template-columns:310px minmax(0,1fr); gap:18px; align-items:start; padding:24px 0; border-bottom:1px solid var(--line); }
.choose-filters { position:sticky; top:12px; display:grid; gap:12px; align-self:start; }
.choose-group { border:1px solid var(--line); border-radius:7px; background:#fff; padding:12px; }
.choose-group h2 { margin:0 0 9px; color:#5f4630; font-size:15px; line-height:1.3; }
.choose-chip-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(78px,1fr)); gap:8px; }
.choose-chip { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:32px; border:1px solid #ead8bd; border-radius:7px; background:#fffaf2; color:#5f4630; padding:0 8px; font:inherit; font-size:12px; font-weight:850; white-space:nowrap; cursor:pointer; }
.choose-chip:hover, .choose-chip.active { border-color:var(--brand-primary); background:var(--brand-primary-soft); color:var(--brand-primary-dark); }
.choose-wide-chip { width:100%; margin-top:8px; }
.choose-results { min-width:0; }
.choose-result-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); }
.choose-model-card { position:relative; }
.choose-score { display:flex; align-items:flex-end; gap:5px; margin-top:9px; color:var(--brand-primary-dark); }
.choose-score strong { font-size:22px; line-height:1; }
.choose-score span { color:var(--muted); font-size:12px; font-weight:800; }
.choose-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; min-height:24px; }
.choose-tags span { display:inline-flex; align-items:center; min-height:22px; border-radius:999px; background:var(--brand-primary-soft); color:#6b4b20; padding:0 8px; font-size:11px; font-weight:800; }
.detail-hero { grid-template-columns:300px minmax(0,1fr); align-items:start; gap:12px 28px; }
.detail-photo { width:100%; border-radius:7px; border:1px solid var(--line); aspect-ratio:3/2; background:#fff center/contain no-repeat; }
.detail-info { grid-column:2; grid-row:1 / span 2; min-width:0; }
.detail-actions { grid-column:1; grid-row:2; margin-top:0; }
.detail-actions .btn { height:38px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:18px; }
.summary-item { border:1px solid var(--line); border-radius:7px; padding:12px; background:#fff; }
.summary-item span { display:block; color:var(--muted); font-size:12px; }
.summary-item strong { display:block; margin-top:6px; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tabs { display:flex; gap:8px; margin:18px 0 0; border-bottom:1px solid var(--line); }
.tab { padding:10px 4px; color:#5f4630; font-weight:800; }
.tab.active { color:var(--brand-primary-dark); border-bottom:2px solid var(--brand-primary); }
.spec-group { margin:18px 0 0; }
.spec-group h2 { margin:0 0 10px; font-size:19px; }
.spec-table { width:100%; border-collapse:collapse; border-top:1px solid var(--line); }
.spec-table th, .spec-table td { padding:11px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; font-size:14px; }
.spec-table th { width:32%; color:#5f4630; background:#fffaf2; font-weight:800; }
.compare-page .hero { grid-template-columns:1fr; }
.compare-selection { margin-top:18px; }
.compare-empty { display:flex; align-items:center; gap:12px; flex-wrap:wrap; border:1px solid var(--line); border-radius:7px; padding:14px; background:#fff; }
.compare-empty span { color:var(--muted); font-size:13px; flex:1; min-width:180px; }
.compare-selected-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.compare-selected-head span { color:var(--muted); font-size:13px; }
.compare-tools { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.compare-tools .btn { height:34px; font-size:12px; }
.compare-toggle { display:inline-flex; align-items:center; gap:7px; min-height:34px; border:1px solid var(--line); border-radius:7px; padding:0 10px; background:#fff; color:#5f4630; font-size:12px; font-weight:800; cursor:pointer; }
.compare-toggle input { margin:0; accent-color:var(--brand-primary); }
.compare-toggle.is-disabled { opacity:.55; cursor:not-allowed; }
.compare-selected-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:10px; max-width:980px; }
.compare-selected-card { display:grid; grid-template-columns:104px minmax(0,1fr) auto; gap:12px; align-items:center; border:1px solid var(--line); border-radius:7px; padding:10px; background:#fff; min-width:0; }
.compare-selected-img { display:block; width:104px; aspect-ratio:3/2; border-radius:6px; background:#f5efe5 center/cover no-repeat; }
.compare-selected-info { min-width:0; }
.compare-selected-title { display:block; font-weight:850; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.compare-selected-card p { margin:5px 0 8px; color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.compare-selected-card .btn { height:32px; padding:0 12px; font-size:12px; white-space:nowrap; }
.compare-table-wrap { overflow-x:auto; overflow-y:visible; border:1px solid var(--line); border-radius:7px; }
.compare-table { min-width:760px; width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; }
.compare-table col.compare-spec-col { width:150px; }
.compare-table col.compare-model-col { width:210px; }
.compare-table th, .compare-table td { border-bottom:1px solid var(--line); border-right:1px solid var(--line); padding:10px; text-align:left; vertical-align:top; font-size:13px; line-height:1.5; background:#fff; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.compare-table thead th { position:sticky; top:0; z-index:3; background:#fff4df; box-shadow:0 1px 0 var(--line); }
.compare-table th:first-child { position:sticky; left:0; z-index:2; width:150px; min-width:150px; background:#fffaf2; }
.compare-table thead th:first-child { z-index:4; background:#fff4df; }
.compare-group-row th { color:var(--brand-primary-dark); background:#fff4df !important; font-size:14px; }
.compare-group-row td { background:#fff4df; }
.compare-notice { position:fixed; left:50%; bottom:24px; transform:translate(-50%, 14px); z-index:30; opacity:0; pointer-events:none; border:1px solid var(--line); border-radius:7px; padding:10px 14px; background:#111; color:#fff; font-size:13px; transition:opacity .18s ease, transform .18s ease; }
.compare-notice.show { opacity:1; transform:translate(-50%, 0); }
.compare-dock { position:fixed; left:50%; bottom:14px; z-index:20; transform:translateX(-50%); display:grid; grid-template-columns:auto minmax(180px,1fr) auto; gap:12px; align-items:center; width:min(920px, calc(100% - 24px)); border:1px solid var(--line); border-radius:7px; padding:10px; background:rgba(255,255,255,.96); box-shadow:0 10px 30px rgba(31,31,31,.16); }
.has-compare-dock { padding-bottom:86px; }
.compare-dock-title strong, .compare-dock-title span { display:block; white-space:nowrap; }
.compare-dock-title span { color:var(--muted); font-size:12px; margin-top:2px; }
.compare-dock-list { display:flex; gap:7px; overflow:auto; }
.compare-pill { display:inline-flex; align-items:center; gap:7px; max-width:190px; border:1px solid #ead8bd; border-radius:999px; padding:6px 8px 6px 10px; color:#5f4630; background:#fffaf2; font-size:12px; white-space:nowrap; }
.compare-pill button { border:0; background:transparent; color:var(--brand-primary-dark); cursor:pointer; font-size:16px; line-height:1; padding:0; }
.compare-dock-actions { display:flex; gap:8px; }
.compare-dock-actions .btn { height:36px; font-size:13px; }
.admin-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.admin-card { border:1px solid var(--line); border-radius:7px; padding:14px; background:#fff; }
.admin-card strong { display:block; font-size:24px; }
.admin-card span { display:block; color:var(--muted); margin-top:4px; font-size:12px; }
.admin-message { color:var(--brand-primary-dark); font-size:13px; }
.admin-search-layout { display:grid; grid-template-columns:320px minmax(0,1fr); gap:16px; align-items:start; }
.admin-results, .admin-editor { border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px; min-width:0; }
.admin-results h3, .admin-editor h3 { margin:0 0 10px; font-size:16px; }
.admin-result-list { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.admin-result-item { width:100%; text-align:left; justify-content:flex-start; height:auto; min-height:40px; padding:9px 10px; }
.admin-result-item small { display:block; margin-top:3px; color:var(--muted); font-weight:500; }
.admin-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.admin-editor-grid label { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; min-width:0; }
.admin-editor-grid input, .admin-editor-grid select, .admin-editor-grid textarea {
    width:100%; border:1px solid var(--line); border-radius:7px; padding:9px 10px; font:inherit; color:var(--text);
}
.admin-editor-grid textarea { min-height:72px; resize:vertical; }
.admin-v2-head { display:grid; grid-template-columns:140px minmax(0,1fr); gap:14px; align-items:center; border:1px solid var(--line); border-radius:7px; padding:12px; margin-bottom:14px; background:#fffaf3; }
.admin-v2-head img { width:140px; height:98px; object-fit:contain; border:1px solid var(--line); border-radius:7px; background:#fff; }
.admin-v2-head h3 { margin:3px 0 5px; font-size:20px; }
.admin-v2-head p { margin:0 0 6px; color:var(--muted); }
.admin-image-editor { display:grid; grid-template-columns:320px minmax(0,1fr); gap:18px; align-items:center; border:1px solid var(--line); border-radius:7px; padding:14px; background:#fff; margin-bottom:12px; }
.admin-image-main { position:relative; width:100%; aspect-ratio:4/3; border:1px solid var(--line); border-radius:7px; background:#fff; display:flex; align-items:center; justify-content:center; overflow:hidden; cursor:pointer; }
.admin-image-main img { width:100%; height:100%; object-fit:contain; display:block; }
.admin-image-overlay { position:absolute; inset:auto 0 0; padding:9px; background:rgba(0,0,0,.58); color:#fff; text-align:center; font-size:13px; opacity:0; transition:opacity .16s ease; }
.admin-image-main:hover .admin-image-overlay, .admin-image-main:focus .admin-image-overlay { opacity:1; }
.admin-image-info h3 { margin:2px 0 8px; font-size:22px; }
.admin-image-info p { margin:0 0 7px; color:var(--muted); }
.admin-image-info code { word-break:break-all; color:var(--text); }
.admin-more-toggle { margin:4px 0 10px; }
.admin-v2-block { border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
.admin-v2-block > h3 { margin:0 0 10px; }
.admin-v2-block .btn { margin-top:10px; }
.admin-v2-image-row { display:grid; grid-template-columns:150px minmax(0,1fr); gap:12px; border:1px solid var(--line); border-radius:7px; padding:10px; margin:10px 0; background:#fff; }
.admin-v2-image-row > img { width:150px; height:110px; object-fit:contain; border:1px solid var(--line); border-radius:7px; background:#fff; }
.admin-v2-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; grid-column:1 / -1; color:var(--muted); font-size:12px; }
.admin-v2-actions .btn { margin-top:0; height:32px; padding:0 10px; font-size:12px; }
.admin-v2-spec-row { display:grid; grid-template-columns:130px 150px 130px minmax(180px,1fr) minmax(180px,1fr) 90px 80px 90px 70px; gap:8px; border:1px solid var(--line); border-radius:7px; padding:10px; margin:8px 0; background:#fff; }
.admin-v2-spec-row label { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; min-width:0; }
.admin-v2-spec-row input, .admin-v2-spec-row textarea, .admin-v2-image-row input, .admin-v2-image-row select, .admin-v2-image-row textarea {
    width:100%; border:1px solid var(--line); border-radius:6px; padding:7px 8px; background:#fff; font:inherit; min-width:0;
}
.admin-v2-spec-row textarea { min-height:46px; resize:vertical; }
.admin-full { grid-column:1 / -1; }
.admin-form { border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
.admin-form:first-child { border-top:0; padding-top:0; margin-top:0; }
.admin-form-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.admin-form-head h3 { margin:0; }
.admin-image-preview { width:160px; max-width:100%; aspect-ratio:3/2; border:1px solid var(--line); border-radius:7px; background:#f5efe5 center/cover no-repeat; }
.admin-browser-toggle { margin-bottom:12px; }
.admin-browser { border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px; margin-bottom:14px; }
.admin-browser-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.admin-browser-jump { display:flex; align-items:center; gap:8px; }
.admin-browser-jump input { width:86px; height:34px; border:1px solid var(--line); border-radius:6px; padding:0 8px; font:inherit; }
.admin-browser-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.admin-browser-card { display:block; width:100%; border:1px solid var(--line); border-radius:7px; background:#fff; padding:8px; text-align:left; cursor:pointer; overflow:hidden; }
.admin-browser-card:hover { border-color:var(--brand-primary); box-shadow:0 4px 14px rgba(101,70,33,.08); }
.admin-browser-img { display:block; width:100%; aspect-ratio:3/2; border-radius:6px; background:#f5efe5 center/contain no-repeat; border:1px solid #f0ddc6; }
.admin-browser-meta { display:block; padding-top:7px; min-width:0; }
.admin-browser-meta strong, .admin-browser-meta b, .admin-browser-meta small, .admin-browser-meta em { display:block; line-height:1.35; }
.admin-browser-meta strong { color:#5f4630; font-size:12px; }
.admin-browser-meta small { color:var(--muted); font-size:11px; }
.admin-browser-meta b { color:var(--text); font-size:13px; margin-top:2px; }
.admin-browser-meta em { color:var(--brand-primary-dark); font-size:12px; font-style:normal; margin-top:2px; }
.admin-browser-pages { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; }
.spec-group-editor { border:1px solid var(--line); border-radius:7px; margin-top:10px; overflow:hidden; }
.spec-group-head { display:flex; gap:8px; align-items:center; padding:10px; background:#fffaf2; border-bottom:1px solid var(--line); }
.spec-group-head input { height:36px; border:1px solid var(--line); border-radius:6px; padding:0 8px; min-width:0; }
.spec-group-name { flex:1; }
.spec-row { display:grid; grid-template-columns:140px minmax(0,1fr) 70px auto auto; gap:8px; padding:9px 10px; border-bottom:1px solid var(--line); align-items:start; }
.spec-row:last-child { border-bottom:0; }
.spec-row input, .spec-row textarea { width:100%; border:1px solid var(--line); border-radius:6px; padding:8px; font:inherit; min-width:0; }
.spec-row textarea { min-height:40px; resize:vertical; }
.import-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.import-actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 14px; }
.admin-tabs { display:flex; gap:8px; border-bottom:1px solid var(--line); margin-top:10px; }
.admin-tabs button { border:0; background:none; padding:10px 4px; color:#5f4630; font-weight:800; cursor:pointer; }
.admin-tabs button.active { color:var(--brand-primary-dark); border-bottom:2px solid var(--brand-primary); }
.admin-tab-body { display:none; padding-top:12px; }
.admin-tab-body.active { display:block; }
.admin-tab-body pre { margin:0; white-space:pre-wrap; word-break:break-word; background:#161616; color:#f6f6f6; border-radius:7px; padding:12px; max-height:420px; overflow:auto; font:12px/1.55 Consolas, Monaco, monospace; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th, .admin-table td { padding:8px 7px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; font-size:13px; }
.admin-table th { color:var(--muted); background:#fffaf2; }
.admin-candidates { border:1px solid var(--line); border-radius:7px; background:#fff; padding:10px; margin:12px 0; }
.candidate-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.candidate-actions-left { justify-content:flex-start; margin-top:10px; }
.candidate-filter { grid-template-columns:170px minmax(320px,1fr) auto minmax(160px,auto); align-items:center; }
.candidate-scan-controls { display:grid; grid-template-columns:120px 180px 120px minmax(480px,1fr); gap:10px; margin:8px 0 10px; }
.candidate-scan-controls-wide { grid-template-columns:120px 120px minmax(220px,1fr) 120px 120px; align-items:end; }
.candidate-scan-controls label { display:flex; flex-direction:column; gap:5px; color:var(--muted); font-size:12px; }
.candidate-scan-controls input { height:36px; border:1px solid var(--line); border-radius:7px; padding:0 10px; font:inherit; }
.candidate-local-only { margin:8px 0 10px; padding:9px 10px; border:1px solid #e9c46a; border-radius:7px; background:#fff8df; color:#6f5214; font-size:13px; font-weight:700; }
.candidate-local-only.is-remote { border-color:#e28b8b; background:#fff0f0; color:#8c2f2f; }
.candidate-summary { color:var(--muted); font-size:13px; margin:8px 0 10px; }
.candidate-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:7px; }
.candidate-table { width:100%; min-width:1420px; table-layout:fixed; }
.candidate-table th:nth-child(1), .candidate-table td:nth-child(1) { width:34px; }
.candidate-table th:nth-child(2), .candidate-table td:nth-child(2) { width:54px; }
.candidate-table th:nth-child(3), .candidate-table td:nth-child(3) { width:116px; }
.candidate-table th:nth-child(4), .candidate-table td:nth-child(4) { width:64px; }
.candidate-table th:nth-child(5), .candidate-table td:nth-child(5) { width:240px; }
.candidate-table th:nth-child(6), .candidate-table td:nth-child(6) { width:720px; }
.candidate-table th:nth-child(7), .candidate-table td:nth-child(7) { width:60px; }
.candidate-table th:nth-child(8), .candidate-table td:nth-child(8) { width:132px; }
.candidate-table small { display:block; margin-top:4px; color:var(--muted); line-height:1.35; word-break:break-all; }
.candidate-table strong { display:block; margin-bottom:2px; }
.candidate-model-cell { word-break:break-word; }
.candidate-data-cell { min-width:0; }
.candidate-source-cell { text-align:center; white-space:nowrap; }
.candidate-source-link { display:inline-flex; align-items:center; justify-content:center; width:38px; min-height:26px; padding:0; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--brand-primary); font-size:12px; font-weight:800; line-height:1; text-align:center; text-decoration:none; white-space:nowrap; }
.candidate-source-link:hover { border-color:var(--brand-primary); background:#fff8eb; }
.candidate-status { display:inline-flex; align-items:center; min-height:24px; padding:0 8px; border-radius:999px; background:#fff4df; color:#7a4b00; font-weight:800; font-size:12px; }
.candidate-status.is-ready { background:#eef9ec; color:#2f6f27; }
.candidate-status.is-attention { background:#fff0e8; color:#9b3d13; }
.candidate-row-progress { min-height:18px; margin-top:6px; color:var(--muted); font-size:12px; line-height:1.35; word-break:break-word; }
.candidate-row-progress.is-loading { color:#8a5600; font-weight:700; }
.candidate-row-progress.is-success { color:#2f6f27; font-weight:700; }
.candidate-row-progress.is-error { color:#9b3d13; font-weight:700; }
.candidate-row-actions { display:flex; flex-wrap:wrap; gap:4px; margin-top:8px; }
.candidate-row-actions .btn { min-height:24px; height:24px; padding:0 6px; font-size:11px; border-radius:5px; }
.candidate-row-actions .btn.is-loading { min-width:64px; background:#fff8eb; border-color:var(--brand-primary); color:#8a5600; }
.candidate-thumbs { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px; margin-bottom:7px; max-width:100%; }
.candidate-thumb-btn { position:relative; border:1px solid #f0ddc6; border-radius:6px; padding:2px; background:#fff; cursor:pointer; }
.candidate-thumb-btn.is-primary { border-color:var(--brand-primary); box-shadow:0 0 0 2px rgba(243,152,0,.18); }
.candidate-thumb-btn.is-official { border-style:solid; }
.candidate-thumb-btn em { position:absolute; left:5px; bottom:5px; padding:1px 5px; border-radius:4px; background:rgba(0,0,0,.66); color:#fff; font-size:11px; font-style:normal; line-height:1.4; pointer-events:none; }
.candidate-thumb { display:block; width:108px; aspect-ratio:3/2; border-radius:4px; background:#fff center/contain no-repeat; }
.candidate-open-model { margin-top:6px; height:28px; padding:0 9px; font-size:12px; }
.candidate-category-modal { position:fixed; inset:0; z-index:70; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(20,16,12,.42); }
.candidate-category-modal.show { display:flex; }
.candidate-category-panel { width:min(460px,100%); border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px; box-shadow:0 16px 38px rgba(64,42,22,.18); }
.candidate-category-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.candidate-category-head b, .candidate-category-panel strong { display:block; color:var(--text); line-height:1.35; }
.candidate-category-head small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.35; }
.candidate-category-panel select { width:100%; height:40px; margin-top:10px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:0 10px; font:inherit; }
.candidate-category-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.gallery-modal { position:fixed; inset:0; z-index:60; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,16,12,.62); }
.gallery-modal.show { display:flex; }
.gallery-panel { width:min(980px,100%); max-height:min(760px,90vh); overflow:auto; border-radius:7px; background:#fff; border:1px solid var(--line); padding:14px; }
.gallery-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px; }
.gallery-grid img { display:block; width:100%; aspect-ratio:3/2; object-fit:contain; border:1px solid var(--line); border-radius:7px; background:#fff; }
.filter-summary-action { margin-top:12px; height:34px; font-size:12px; }
.series-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:-6px 0 14px; color:var(--muted); font-size:13px; }
.series-breadcrumb a { color:var(--brand-gold); font-weight:800; }
.series-breadcrumb i { color:#d8c7b2; font-style:normal; }
.series-toolbar { display:grid; grid-template-columns:minmax(260px,420px) auto; justify-content:start; gap:10px; margin-bottom:14px; }
.series-toolbar input { height:40px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:0 10px; min-width:0; font:inherit; }
.series-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); gap:18px; }
.series-card { border:1px solid var(--line); border-radius:7px; background:#fff; overflow:hidden; min-width:0; }
.series-card:hover { border-color:var(--brand-primary); box-shadow:0 4px 14px rgba(101,70,33,.08); }
.series-cover { display:block; width:100%; aspect-ratio:3/2; background:#fff center/contain no-repeat; border-bottom:1px solid var(--line); }
.series-body { padding:13px; min-width:0; }
.series-title { display:block; min-height:42px; color:var(--text); font-size:17px; line-height:1.32; font-weight:900; overflow-wrap:anywhere; }
.series-card:hover .series-title { color:var(--brand-primary-dark); }
.series-body p { margin:9px 0 0; color:var(--muted); font-size:13px; }
.series-year-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(132px,1fr)); gap:10px; }
.series-year-card { display:block; min-height:92px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:16px; }
.series-year-card:hover { border-color:var(--brand-primary); background:var(--brand-primary-soft); }
.series-year-card strong { display:block; color:var(--text); font-size:28px; line-height:1.05; }
.series-year-card span { display:block; margin-top:9px; color:var(--muted); font-size:13px; }
.series-year-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); gap:18px; }
.series-year-model-card { display:block; border:1px solid var(--line); border-radius:7px; background:#fff; padding:16px 10px 10px; min-width:0; }
.series-year-model-card:hover { border-color:var(--brand-primary); box-shadow:0 4px 14px rgba(101,70,33,.08); }
.series-year-model-card:hover .series-year-body b { color:var(--brand-primary-dark); }
.series-year-photo { position:relative; display:block; width:100%; aspect-ratio:3/2; border:1px solid var(--line); border-radius:7px; background:#fff center/contain no-repeat; overflow:visible; }
.series-year-photo strong { position:absolute; left:8px; top:-10px; display:inline-flex; padding:0 7px 2px; border-radius:5px; background:rgba(255,255,255,.94); color:var(--text); font-size:24px; line-height:1.05; font-weight:900; }
.series-year-body { display:block; padding-top:9px; min-width:0; }
.series-year-body b { display:block; color:var(--text); font-size:15px; line-height:1.35; font-weight:900; min-height:40px; overflow-wrap:anywhere; }
.series-year-body em { display:block; margin-top:4px; color:var(--muted); font-size:12px; font-style:normal; font-weight:400; line-height:1.35; }
.series-load-more { text-align:center; margin-top:16px; }
.bikes-add-page { width:calc(100% - 16px); max-width:none; padding-top:14px; }
.add-shell { padding-top:0; }
.add-shell .section-head { align-items:flex-end; }
.add-current-status { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1.8fr); gap:14px; align-items:stretch; margin:12px 0 14px; padding:14px; border:1px solid #e7dccd; border-radius:7px; background:#fffdf8; }
.add-current-main span, .add-current-grid span { display:block; color:var(--muted); font-size:12px; font-weight:800; margin-bottom:6px; }
.add-current-main strong { display:block; color:var(--text); font-size:20px; line-height:1.25; margin-bottom:8px; }
.add-current-main small { display:block; color:var(--muted); font-size:13px; line-height:1.55; }
.add-current-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.add-current-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.add-current-grid div { min-height:76px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:11px; }
.add-current-grid strong { display:block; color:var(--text); font-size:15px; line-height:1.4; font-weight:800; word-break:break-word; }
.add-current-status.is-running { border-color:#d4b268; background:#fff8e7; }
.add-current-status.is-ready { border-color:#b8d7b0; background:#f5fff3; }
.add-current-status.is-attention { border-color:#e5b0a6; background:#fff6f3; }
.add-dashboard { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:14px 0; }
.add-stat { border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px; min-height:112px; }
.add-stat span, .queue-overview span { display:block; color:var(--muted); font-size:12px; font-weight:800; margin-bottom:6px; }
.add-stat strong { display:block; color:var(--text); font-size:28px; line-height:1.1; margin-bottom:8px; }
.add-stat small, .queue-overview small { display:block; color:var(--muted); font-size:12px; line-height:1.45; }
.add-stat-primary { border-color:#f0c36d; background:#fffaf0; }
.add-stat-primary strong { color:#7a4b00; }
.workflow-guide { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:12px 0 14px; }
.workflow-step { display:grid; grid-template-columns:34px minmax(0,1fr); grid-template-rows:auto auto; column-gap:10px; row-gap:3px; min-height:94px; padding:12px; border:1px solid var(--line); border-radius:7px; background:#fff; }
.workflow-step i { grid-row:1 / span 2; display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:#fff4df; color:#8a5600; font-style:normal; font-weight:900; }
.workflow-step b { display:block; color:var(--text); font-size:15px; line-height:1.25; }
.workflow-step span { display:block; color:var(--muted); font-size:12px; line-height:1.45; }
.workflow-step.is-main { border-color:#f0c36d; background:#fffaf0; }
.workflow-step.is-main i { background:var(--brand-primary); color:#fff; }
.add-workflow { display:grid; grid-template-columns:1fr; gap:12px; margin:12px 0 14px; }
.add-panel { border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px; }
.add-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:10px; }
.add-panel-head b { color:var(--text); font-size:15px; }
.add-panel-head span { color:var(--muted); font-size:12px; line-height:1.45; text-align:right; max-width:520px; }
.candidate-scan-controls-compact { grid-template-columns:180px; max-width:220px; }
.candidate-merge-controls { grid-template-columns:180px 180px max-content; align-items:end; max-width:none; }
.candidate-merge-controls .btn { justify-self:start; width:auto; min-width:88px; padding:0 12px; }
.queue-overview { border:1px solid #f0ddc6; border-radius:7px; background:#fffaf2; padding:12px; margin-bottom:10px; }
.queue-overview strong { display:block; color:var(--text); font-size:18px; margin-bottom:8px; }
.queue-track { height:8px; border-radius:999px; background:#f0e3d3; overflow:hidden; margin:8px 0; }
.queue-track i { display:block; width:0%; height:100%; border-radius:inherit; background:var(--brand-primary); transition:width .25s ease; }
.workflow-message { margin-top:10px; min-height:20px; color:#7a6250; font-size:13px; line-height:1.5; white-space:pre-wrap; word-break:break-word; }
.cover-admin-page { width:min(1680px, calc(100% - 24px)); }
.cover-toolbar { grid-template-columns:minmax(280px,1fr) auto auto auto minmax(220px,auto); align-items:center; }
.cover-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:7px; background:#fff; }
.cover-table { width:100%; min-width:1500px; border-collapse:collapse; table-layout:fixed; }
.cover-table th, .cover-table td { padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; font-size:14px; }
.cover-table th { background:#fffaf2; color:#5f4630; font-weight:850; }
.cover-table th:nth-child(1), .cover-table td:nth-child(1) { width:92px; }
.cover-table th:nth-child(2), .cover-table td:nth-child(2) { width:150px; }
.cover-table th:nth-child(3), .cover-table td:nth-child(3) { width:260px; }
.cover-table th:nth-child(5), .cover-table td:nth-child(5) { width:80px; }
.cover-table small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.35; word-break:break-word; }
.cover-table strong { display:block; line-height:1.35; }
.cover-table tr.is-active td { background:#fff7e6; }
.cover-table tr.is-active td:first-child { box-shadow:inset 4px 0 0 var(--brand-primary); }
.cover-table tr.is-active .cover-thumb-btn.is-primary { box-shadow:0 0 0 2px rgba(243,152,0,.32); }
.cover-delete-model-btn { display:inline-flex; align-items:center; justify-content:center; min-width:46px; height:24px; margin-top:8px; border:1px solid #e2b8ac; border-radius:6px; background:#fff5f2; color:#9b321f; font-size:12px; font-weight:850; line-height:1; cursor:pointer; }
.cover-delete-model-btn:hover { border-color:#c94b32; background:#ffe9e2; color:#7e2416; }
.cover-delete-model-btn:disabled { opacity:.55; cursor:wait; }
.cover-model-cell a { display:inline-flex; margin-top:8px; color:var(--brand-primary-dark); font-size:12px; font-weight:800; }
.cover-search-links { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.cover-search-links .cover-search-btn { display:inline-flex; align-items:center; min-height:24px; margin-top:0; border:1px solid var(--line); border-radius:6px; padding:0 10px; background:#fffaf2; color:#5f4630; font-size:12px; font-weight:800; line-height:24px; cursor:pointer; text-decoration:none; }
.cover-search-links .cover-search-btn:hover { border-color:var(--brand-primary); color:var(--brand-primary-dark); }
.cover-search-upload { position:relative; overflow:hidden; }
.cover-thumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start; }
.cover-thumb-btn { position:relative; display:block; width:120px; border:1px solid #f0ddc6; border-radius:7px; padding:3px; background:#fff; cursor:pointer; }
.cover-thumb-btn:hover { border-color:var(--brand-primary); box-shadow:0 0 0 2px rgba(243,152,0,.12); }
.cover-thumb-btn.is-primary { border-color:var(--brand-primary); box-shadow:0 0 0 2px rgba(243,152,0,.2); }
.cover-thumb { display:block; width:100%; aspect-ratio:3/2; border-radius:5px; background:#fff; overflow:hidden; }
.cover-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.cover-thumb-btn em { position:absolute; left:7px; top:7px; padding:2px 6px; border-radius:4px; background:rgba(0,0,0,.66); color:#fff; font-size:11px; font-style:normal; line-height:1.4; pointer-events:none; }
.cover-thumb-btn small { margin:4px 0 0; color:#9b3d13; text-align:center; }
.cover-thumb-btn .cover-score-badge { display:block; color:#9b3d13; font-weight:800; line-height:1.3; }
.cover-empty { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:13px; }
.cover-empty img { width:90px; aspect-ratio:3/2; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:#fff; }
.cover-upload-cell { text-align:center; }
.cover-upload-btn { position:relative; width:40px; height:34px; padding:0; font-size:12px; overflow:hidden; }
.cover-upload-input, .cover-extra-upload-input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.cover-pager { display:flex; flex-wrap:nowrap; align-items:center; gap:7px; margin-top:12px; overflow-x:auto; }
.cover-pager .btn { height:34px; padding:0 10px; font-size:12px; flex-shrink:0; }
.cover-page-btn { min-width:30px; padding:0 4px; text-align:center; flex-shrink:1; }
.cover-jump { display:flex; align-items:center; gap:6px; margin-left:4px; color:var(--muted); font-size:12px; flex-shrink:0; }
.cover-jump input { width:76px; height:34px; border:1px solid var(--line); border-radius:6px; padding:0 8px; font:inherit; }
.series-cover-toolbar { grid-template-columns:minmax(180px,280px) minmax(260px,420px) auto auto auto minmax(220px,1fr); align-items:center; }
.series-cover-toolbar select { height:40px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:0 10px; min-width:0; font:inherit; }
.series-admin-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:12px; }
.series-admin-card { display:grid; grid-template-columns:132px minmax(0,1fr); gap:12px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:10px; min-width:0; }
.series-admin-card:hover { border-color:var(--brand-primary); box-shadow:0 4px 14px rgba(101,70,33,.08); }
.series-admin-cover { display:block; width:100%; aspect-ratio:3/2; border:1px solid var(--line); border-radius:7px; background:#fff center/contain no-repeat; cursor:pointer; }
.series-admin-body { min-width:0; }
.series-admin-body strong { display:block; color:var(--text); font-size:16px; line-height:1.35; overflow-wrap:anywhere; }
.series-admin-body small { display:block; margin-top:5px; color:var(--muted); font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.series-admin-body .series-group-note,
.series-cover-year-body .series-source-name { color:var(--brand-primary-dark); font-weight:850; }
.series-admin-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.series-admin-actions .btn { height:30px; padding:0 10px; font-size:12px; line-height:30px; }
.series-admin-years { display:grid; gap:14px; }
.series-admin-year-group { border:1px solid var(--line); border-radius:7px; background:#fff; overflow:hidden; }
.series-admin-year-group h3 { margin:0; padding:10px 12px; border-bottom:1px solid var(--line); background:#fffaf2; color:#5f4630; font-size:22px; line-height:1.2; }
.series-admin-model-row { display:grid; grid-template-columns:260px minmax(0,1fr); gap:14px; padding:12px; border-bottom:1px solid var(--line); }
.series-admin-model-row:last-child { border-bottom:0; }
.series-admin-model-row.is-active { background:#fff7e6; box-shadow:inset 4px 0 0 var(--brand-primary); }
.series-admin-model-row.is-series-cover .series-admin-model-info em { display:inline-flex; margin-top:7px; padding:3px 7px; border-radius:999px; background:var(--brand-primary-soft); color:var(--brand-primary-dark); font-style:normal; font-size:12px; font-weight:900; }
.series-admin-model-info { min-width:0; }
.series-admin-model-info strong { display:block; color:var(--text); font-size:16px; line-height:1.35; overflow-wrap:anywhere; }
.series-admin-model-info small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.4; }
.series-admin-images { min-width:0; }
.series-upload-btn { position:relative; overflow:hidden; }
.series-upload-btn input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.series-cover-year-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:14px; }
.series-cover-year-card { border:1px solid var(--line); border-radius:7px; background:#fff; padding:10px; min-width:0; }
.series-cover-year-card:hover { border-color:var(--brand-primary); box-shadow:0 4px 14px rgba(101,70,33,.08); }
.series-cover-year-card.is-active { background:#fff7e6; box-shadow:inset 4px 0 0 var(--brand-primary); }
.series-cover-year-card.is-series-cover { border-color:var(--brand-primary); }
.series-cover-year-photo { position:relative; display:block; width:100%; aspect-ratio:3/2; border:1px solid var(--line); border-radius:7px; background:#fff center/contain no-repeat; cursor:pointer; overflow:hidden; }
.series-cover-year-photo:hover { border-color:var(--brand-primary); box-shadow:0 0 0 2px rgba(243,152,0,.12); }
.series-cover-year-photo strong { position:absolute; left:8px; top:8px; display:inline-flex; padding:3px 7px; border-radius:5px; background:rgba(255,255,255,.9); color:var(--text); font-size:18px; line-height:1.1; font-weight:900; }
.series-cover-year-photo em { position:absolute; left:8px; bottom:8px; padding:3px 7px; border-radius:999px; background:var(--brand-primary); color:#fff; font-style:normal; font-size:12px; font-weight:900; }
.series-cover-year-body { padding-top:9px; min-width:0; }
.series-cover-year-body > strong { display:block; color:var(--text); font-size:15px; line-height:1.35; min-height:40px; overflow-wrap:anywhere; }
.series-cover-year-body small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.35; }
.series-image-modal { position:fixed; inset:0; z-index:120; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.42); }
.series-image-modal-panel { width:min(920px, 100%); max-height:min(760px, calc(100vh - 36px)); overflow:auto; border-radius:8px; background:#fff; box-shadow:0 18px 45px rgba(0,0,0,.22); }
.series-image-modal-head { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border-bottom:1px solid var(--line); background:#fffaf2; }
.series-image-modal-head strong { font-size:17px; line-height:1.35; overflow-wrap:anywhere; }
.series-image-modal-body { padding:14px; }
.series-modal-thumbs .cover-thumb-btn { width:150px; }

@media (max-width:760px) {
    :root { --page-gutter:22px; }
    .topbar { min-height:86px; gap:8px; }
    .brand-mark { width:160px; max-width:42vw; }
    .nav { gap:6px; }
    .nav-dk { display:none; }
    .nav-share { height:34px; padding:0 9px; font-size:13px; }
    .nav-mb { display:block; max-width:90px; }
    .hero, .detail-hero { display:block; padding-top:18px; }
    h1 { font-size:27px; }
    .subtitle { font-size:13px; }
    .filter-summary-card { margin-top:14px; min-height:auto; padding:14px; }
    .filter-summary-card strong { font-size:30px; }
    .stats { grid-template-columns:repeat(3,1fr); margin-top:12px; gap:8px; }
    .choose-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .stat { padding:8px 8px; }
    .stat strong { font-size:20px; }
    .btn-stat { min-height:56px; font-size:14px; }
    .brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .filter-panel { grid-template-columns:1fr; }
    .brand-filter-panel { grid-template-columns:1fr; }
    .search-block-filters { flex-wrap:wrap; }
    .search-block-filters select { flex:1 1 calc(50% - 5px); }
    .search-block-filters .btn { flex:1 1 calc(50% - 5px); }
    .search-block-filters .btn-market, .search-block-filters #homeClearFilter { flex:1 1 100%; }
    .model-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); }
    .choose-hero { display:block; }
    .choose-board { grid-template-columns:1fr; gap:14px; padding-top:16px; }
    .choose-filters { position:static; gap:10px; }
    .choose-group { padding:10px; }
    .choose-chip-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .choose-chip { min-height:34px; }
    .choose-result-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); }
    .series-toolbar { grid-template-columns:1fr; }
    .series-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); }
    .series-year-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .series-year-gallery { grid-template-columns:repeat(auto-fit,minmax(min(100%, var(--card-min)),1fr)); gap:10px; }
    .series-year-model-card { padding:14px 8px 8px; }
    .series-year-photo strong { top:-8px; font-size:20px; }
    .series-year-body b { min-height:38px; font-size:13px; }
    .detail-photo { margin-bottom:14px; }
    .detail-info, .detail-actions { grid-column:auto; grid-row:auto; }
    .detail-actions { margin-top:12px; }
    .series-intro-card .brand-intro-head { flex-direction:column; align-items:stretch; gap:8px; }
    .series-intro-card .brand-intro-head h2 { width:100%; white-space:normal; }
    .series-intro-link { width:100%; min-height:38px; }
    .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .spec-table th, .spec-table td { display:block; width:100%; }
    .spec-table th { border-bottom:0; padding-bottom:4px; }
    .spec-table td { padding-top:4px; }
    .compare-selected-grid { grid-template-columns:1fr; max-width:none; }
    .compare-selected-head { align-items:flex-start; flex-direction:column; }
    .compare-tools { justify-content:flex-start; }
    .compare-selected-card { grid-template-columns:78px minmax(0,1fr) auto; gap:9px; }
    .compare-selected-img { width:78px; }
    .compare-selected-card .btn { width:44px; padding:0; }
    .compare-table { width:var(--compare-mobile-width, 680px); min-width:var(--compare-mobile-width, 680px); }
    .compare-table col.compare-spec-col { width:118px; }
    .compare-table col.compare-model-col { width:168px; }
    .compare-table th, .compare-table td { padding:9px 8px; }
    .compare-table th:first-child { width:118px; min-width:118px; max-width:118px; }
    .compare-dock { grid-template-columns:1fr; gap:8px; bottom:10px; }
    .compare-dock-list { max-width:100%; }
    .compare-dock-actions { display:grid; grid-template-columns:1fr 1fr; }
    .has-compare-dock { padding-bottom:170px; }
    .admin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .admin-search-layout { grid-template-columns:1fr; }
    .admin-editor-grid { grid-template-columns:1fr; }
    .admin-image-editor { grid-template-columns:1fr; }
    .admin-v2-head, .admin-v2-image-row { grid-template-columns:1fr; }
    .admin-v2-head img, .admin-v2-image-row > img { width:100%; height:160px; }
    .admin-v2-spec-row { grid-template-columns:1fr; }
    .spec-row { grid-template-columns:1fr; }
    .import-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .add-current-status { grid-template-columns:1fr; }
    .add-current-grid { grid-template-columns:1fr; }
    .add-dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .workflow-guide { grid-template-columns:1fr; }
    .workflow-step { min-height:auto; }
    .add-panel-head { display:block; }
    .add-panel-head span { display:block; text-align:left; max-width:none; margin-top:4px; }
    .candidate-scan-controls, .candidate-scan-controls-wide, .candidate-scan-controls-compact { grid-template-columns:1fr; max-width:none; }
    .cover-admin-page { width:min(100% - 18px, 1120px); }
    .cover-toolbar { grid-template-columns:1fr; }
    .cover-table { min-width:980px; }
    .cover-table th:nth-child(2), .cover-table td:nth-child(2) { width:120px; }
    .cover-table th:nth-child(3), .cover-table td:nth-child(3) { width:210px; }
    .cover-thumb-btn { width:104px; }
    .cover-jump { width:100%; margin-left:0; }
    .series-cover-toolbar { grid-template-columns:1fr; }
    .series-admin-grid { grid-template-columns:1fr; }
    .series-admin-card { grid-template-columns:112px minmax(0,1fr); }
    .series-admin-model-row { grid-template-columns:1fr; }
    .series-admin-actions .btn { flex:1 1 auto; justify-content:center; }
    .series-cover-year-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .series-cover-year-card { padding:8px; }
    .series-cover-year-body > strong { min-height:38px; font-size:13px; }
    .series-modal-thumbs .cover-thumb-btn { width:118px; }
}

@media (min-width:1280px) {
    :root {
        --page-gutter:96px;
        --page-max:1440px;
    }

    .model-grid {
        grid-template-columns:repeat(4, minmax(0, 1fr));
        gap:16px;
    }

    .choose-result-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .nav,
    .filter-panel input,
    .filter-panel select,
    .brand-filter-panel select,
    .btn,
    .tab,
    .model-meta,
    .model-specs,
    .model-aliases span,
    .detail-aliases span,
    .model-aliases em,
    .detail-aliases em,
    .brand-filter-panel label,
    .brand-chip small,
    .filter-chip small,
    .badge,
    .choose-chip,
    .choose-score span,
    .choose-tags span,
    .summary-item span,
    .compare-tools .btn,
    .compare-toggle,
    .compare-pill {
        font-size:13px;
    }

    .model-title {
        font-size:16px;
    }

    .nav {
        font-size:14px;
    }
}

@media (min-width:1680px) {
    .model-grid {
        grid-template-columns:repeat(6, minmax(0, 1fr));
    }

    .choose-result-grid {
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }
}

@media (min-width:2200px) {
    .model-grid {
        grid-template-columns:repeat(8, minmax(0, 1fr));
    }

    .choose-result-grid {
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }
}
