/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --accent: #2563eb;
  --accent-soft: #eef4ff;
  --ink: #0b1220;
  --body: #3b4a5f;
  --muted: #6b7a90;
  --line: #e6ebf2;
  --bg: #f7f9fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 8px 28px rgba(16, 24, 40, .09);
}
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--body); background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 10px; padding: 10px 18px;
  font-size: 14px; font-weight: 600; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .22); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c9d5e6; background: #fbfdff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-danger { background: #fff; border-color: #fecaca; color: #dc2626; }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.link-arrow { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ============ header ============ */
.hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #0b1220); color: #fff; font-size: 15px; font-weight: 800;
}
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: 9px; font-size: 14.5px; color: #3b4a5f; transition: .18s; }
.nav a:hover { background: #f2f6fc; color: var(--ink); }
.nav a.on { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 6px 11px; font-size: 16px; color: var(--ink); }

/* language switcher */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 11px; font-size: 13.5px; color: #3b4a5f; }
.lang-btn:hover { border-color: #c9d5e6; }
.lcode {
  font-size: 10px; letter-spacing: .07em; font-weight: 700; background: #f1f5f9;
  color: #64748b; border-radius: 4px; padding: 1.5px 5px; line-height: 1.4;
}
.lang-menu button.on .lcode { background: #fff; color: var(--accent); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 158px; display: none; max-height: 320px; overflow: auto;
}
.lang-menu.on { display: block; }
.lang-menu button {
  display: flex; width: 100%; gap: 9px; align-items: center; padding: 8px 10px; border: 0;
  background: none; border-radius: 8px; font-size: 13.5px; color: #3b4a5f; text-align: left;
}
.lang-menu button:hover { background: #f4f7fc; }
.lang-menu button.on { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

/* ============ hero ============ */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #0b1220 0%, #132a52 55%, #1e3a8a 100%); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .55) 55%, rgba(11, 18, 32, .25) 100%); }
.hero-in { position: relative; z-index: 2; padding: 92px 22px 96px; color: #fff; max-width: 1180px; margin: 0 auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9ec1ff; border: 1px solid rgba(158, 193, 255, .35); border-radius: 999px; padding: 5px 12px; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.18; max-width: 660px; letter-spacing: -.02em; }
.hero p { margin-top: 16px; max-width: 560px; color: #c8d6ea; font-size: 15.5px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); }

/* ============ notices ============ */
.notice { background: #fff8e6; border-bottom: 1px solid #f6e3b4; color: #8a5a00; font-size: 13px; padding: 9px 0; }
.notice .wrap { display: flex; gap: 8px; align-items: center; }

/* ============ sections ============ */
.sec { padding: 58px 0; }
.sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-hd h2 { font-size: 25px; }
.sec-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.page-hd { padding: 40px 0 22px; }
.page-hd h1 { font-size: 30px; }
.page-hd p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 7px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }

/* ============ category chips ============ */
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px;
  font-size: 13.5px; color: #3b4a5f; transition: .18s; display: inline-flex; gap: 7px; align-items: center;
}
.chip:hover { border-color: #c9d5e6; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.chip .cnt { font-size: 11.5px; opacity: .7; }

/* category cards on home */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: .22s;
  display: flex; flex-direction: column; gap: 6px;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8e3f2; }
.cat-card .n { font-size: 16px; font-weight: 650; color: var(--ink); }
.cat-card .c { font-size: 12.5px; color: var(--muted); }

/* ============ product grid ============ */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 20px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .26s; box-shadow: var(--shadow-sm);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dbe6f5; }
.pcard-img { position: relative; aspect-ratio: 4 / 3; background: #eef3fa; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-img img { transform: scale(1.045); }
.badge { position: absolute; top: 11px; left: 11px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.pcard-body { padding: 15px 17px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pcard-model { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard-name { font-size: 16px; font-weight: 650; color: var(--ink); }
.pcard-tag { font-size: 13px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 19px; font-weight: 750; color: var(--accent); letter-spacing: -.01em; }
.price-lg { font-size: 30px; font-weight: 750; color: var(--accent); }

/* ============ toolbar ============ */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0 24px; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search-box input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; background: #fff; color: var(--ink); }
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.search-box::before { content: '⌕'; position: absolute; left: 13px; top: 50%; transform: translateY(-52%); font-size: 18px; color: var(--muted); }
.sort-sel { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; color: #3b4a5f; width: auto; flex: none; }
.count { font-size: 13px; color: var(--muted); margin-left: auto; }

/* ============ product detail ============ */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 26px 0 10px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs-row button { border: 1px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; width: 82px; height: 64px; background: #fff; }
.thumbs-row button.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, .16); }
.thumbs-row img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .model { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-info h1 { font-size: 29px; margin: 8px 0 10px; }
.pd-tag { color: var(--muted); font-size: 14.5px; }
.pd-price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.pd-actions { display: flex; gap: 11px; margin-top: 22px; flex-wrap: wrap; }
.pd-meta { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pd-meta b { color: var(--ink); font-weight: 600; }
.pd-block { margin-top: 40px; }
.pd-block h3 { font-size: 17px; margin-bottom: 14px; }
.pd-block .prose { max-width: 760px; }
.pd-block .spec { max-width: 760px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec th { text-align: left; font-weight: 500; color: var(--muted); background: #f8fafd; padding: 11px 15px; border-bottom: 1px solid var(--line); width: 38%; }
.spec td { padding: 11px 15px; border-bottom: 1px solid var(--line); color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.prose { color: var(--body); font-size: 14.8px; line-height: 1.85; }
.prose p { margin-bottom: 12px; }
.untranslated { display: inline-block; font-size: 11px; color: #a16207; background: #fef3c7; border-radius: 5px; padding: 1px 7px; margin-left: 8px; vertical-align: middle; }

/* ============ brand page ============ */
.brand-hero { background: linear-gradient(115deg, #0b1220, #1e3a8a); color: #fff; padding: 70px 0; }
.brand-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); max-width: 720px; }
.brand-hero p { color: #c8d6ea; margin-top: 14px; max-width: 620px; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.adv-list { display: grid; gap: 16px; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
}
.adv .t { font-weight: 650; color: var(--ink); font-size: 16px; margin-bottom: 5px; display: flex; gap: 10px; align-items: center; }
.adv .num { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.adv .d { font-size: 13.8px; color: var(--muted); line-height: 1.65; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.img-grid img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }

/* ============ news ============ */
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: .22s; }
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #dbe6f5; }
.news-item img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-item .d { font-size: 12.5px; color: var(--muted); }
.news-item h3 { font-size: 17px; margin: 5px 0 7px; }
.news-item p { font-size: 13.8px; color: var(--muted); }

/* ============ contact ============ */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; font-size: 15px; flex: none; }
.info-row .k { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.info-row .v { color: var(--ink); font-size: 14.5px; word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-card h3 { font-size: 18px; margin-bottom: 18px; }

/* ============ forms (shared) ============ */
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 13px; font-weight: 500; color: #47566b; margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=submit]), select, textarea {
  width: 100%; border: 1px solid #dbe3ee; border-radius: 9px; padding: 9px 11px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; transition: .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .11); }
textarea { resize: vertical; line-height: 1.65; }
input[type=color] { width: 52px; height: 36px; padding: 2px; border: 1px solid #dbe3ee; border-radius: 8px; background: #fff; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); vertical-align: -2px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.form-inline > .field { flex: 1; min-width: 140px; margin-bottom: 0; }

/* ============ footer ============ */
.ftr { background: #0b1220; color: #9fb0c6; margin-top: 20px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 52px 0 34px; }
.ftr h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; }
.ftr a:hover { color: #fff; }
.ftr .brand { color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.ftr .about { font-size: 13.5px; line-height: 1.75; max-width: 330px; }
.ftr .links { display: grid; gap: 9px; font-size: 13.5px; }
.ftr .bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; flex-wrap: wrap; }
.ftr .bottom a { color: #7d90a8; }
.ftr .bottom a:hover { color: #fff; }

/* ============ modal ============ */
.modal-mask { position: fixed; inset: 0; background: rgba(11, 18, 32, .5); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 200; backdrop-filter: blur(2px); }
.modal { background: #fff; border-radius: 16px; max-width: 540px; width: 100%; max-height: 88vh; overflow: auto; padding: 26px; position: relative; box-shadow: 0 30px 70px rgba(11, 18, 32, .3); }
.modal h3 { font-size: 19px; margin-bottom: 16px; }
.modal-x { position: absolute; top: 14px; right: 14px; border: 0; background: #f1f5f9; width: 30px; height: 30px; border-radius: 8px; font-size: 17px; color: #64748b; line-height: 1; }
.modal-x:hover { background: #e6ecf5; }
.modal-foot { margin-top: 18px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.success-box { text-align: center; padding: 8px 0 4px; }
.success-box .big { font-size: 34px; margin-bottom: 10px; }
.success-box p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ============ toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); background: #0b1220; color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 13.5px; opacity: 0; pointer-events: none;
  transition: .28s; z-index: 300; box-shadow: 0 12px 30px rgba(11, 18, 32, .3); max-width: 90vw;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============ empty ============ */
.empty { text-align: center; padding: 72px 20px; color: var(--muted); }
.empty .big { font-size: 40px; margin-bottom: 10px; opacity: .5; }

/* ============ admin ============ */
.admin { display: flex; min-height: 100vh; background: #f4f6fa; }
.side { width: 228px; flex: none; background: #0b1220; color: #b4c2d6; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-brand { padding: 20px 20px 16px; color: #fff; font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.side-brand .logo-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.side-nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.side-nav button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: 0; background: none;
  color: #b4c2d6; padding: 9px 12px; border-radius: 8px; font-size: 13.5px;
}
.side-nav button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav button.on { background: var(--accent); color: #fff; font-weight: 600; }
.side-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; font-size: 13px; }
.side-foot a, .side-foot button { border: 0; background: none; color: #93a4bb; text-align: left; padding: 7px 12px; border-radius: 8px; font-size: 13px; }
.side-foot a:hover, .side-foot button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.main { flex: 1; min-width: 0; padding: 22px 26px 70px; }
.main-hd { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.main-hd h2 { font-size: 19px; }
.main-hd .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.tbl th { text-align: left; font-weight: 600; color: #51617a; background: #f8fafd; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12.5px; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fbfdff; }
.tbl .thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.tbl .ops { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #51617a; }
.tag.on { background: #e8f7ee; color: #15803d; }
.tag.off { background: #f1f5f9; color: #8494a8; }
.tag.rec { background: var(--accent-soft); color: var(--accent); }
.ltabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); align-items: center; }
.ltab { padding: 6px 13px; border-radius: 8px; border: 1px solid transparent; background: #f1f5f9; font-size: 13px; color: #51617a; }
.ltab.on { background: var(--accent); color: #fff; font-weight: 600; }
.ltabs .tip { font-size: 12px; color: var(--muted); margin-left: auto; }
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.spec-row { display: grid; grid-template-columns: 1fr 1.2fr 30px; gap: 8px; margin-bottom: 8px; align-items: center; }
.spec-row button { border: 1px solid #f0e0e0; background: #fff; color: #dc2626; border-radius: 7px; height: 32px; font-size: 15px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb-item { width: 96px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.thumb-item.is-main { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, .14); }
.thumb-item img { width: 100%; height: 74px; object-fit: cover; }
.thumb-item .ops { display: flex; border-top: 1px solid var(--line); }
.thumb-item .ops button { flex: 1; border: 0; background: #fbfdff; font-size: 11px; padding: 4px 0; color: #51617a; border-right: 1px solid var(--line); }
.thumb-item .ops button:last-child { border-right: 0; }
.thumb-item .ops button:hover { background: #eef4ff; color: var(--accent); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #0b1220, #14264a 60%, #1e3a8a); padding: 20px; }
.login-card { background: #fff; border-radius: 16px; padding: 30px; width: 100%; max-width: 380px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.login-card h2 { font-size: 20px; margin-bottom: 5px; }
.login-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.kv { display: grid; gap: 8px; font-size: 13px; }
.hint-box { background: #f8fafd; border: 1px dashed #d8e3f2; border-radius: 10px; padding: 11px 13px; font-size: 12.5px; color: #51617a; line-height: 1.65; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .pd { grid-template-columns: 1fr; gap: 26px; }
  .brand-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ed-grid { grid-template-columns: 1fr; }
  .side { width: 200px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 2px;
  }
  .menu-btn { display: block; }
  .hero-in { padding: 64px 22px 68px; }
  .admin { flex-direction: column; }
  .side { width: 100%; height: auto; position: static; flex-direction: column; }
  .side-nav { flex-direction: row; overflow-x: auto; padding: 8px; }
  .side-nav button { white-space: nowrap; width: auto; }
  .side-foot { display: flex; justify-content: space-between; }
  .main { padding: 16px 14px 60px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .ftr-in { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 26px; }
  .sec { padding: 42px 0; }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pcard-body { padding: 12px 13px 15px; }
  .pcard-name { font-size: 14.5px; }
  .price { font-size: 16px; }
  .page-hd h1 { font-size: 24px; }
  .pd-info h1 { font-size: 23px; }
  .spec-row { grid-template-columns: 1fr 1fr 30px; }
  .thumb-item { width: 84px; }
}

/* ---------- 云同步提示 / 加载态 ---------- */
.sync-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 999; max-width: 92vw; padding: 11px 18px; border-radius: 12px;
  background: #7f1d1d; color: #fff; font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .28);
}
.sync-banner b { font-weight: 600; }
.boot-screen {
  min-height: 62vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; color: var(--muted); font-size: 14px;
}
.boot-screen .spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--line); border-top-color: var(--accent);
  animation: bootspin .8s linear infinite;
}
@keyframes bootspin { to { transform: rotate(360deg); } }
.boot-error { max-width: 520px; text-align: center; line-height: 1.7; }
.boot-error h2 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.boot-error code { font-size: 12px; color: #8494a8; word-break: break-all; }

/* ---------- 商品视频展示 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.video-item { min-width: 0; }
.video-box {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0b1220;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
}
.video-box iframe, .video-box video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.video-title { margin-top: 8px; font-size: 13.5px; color: #3b4a5f; line-height: 1.5; }
.video-err {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: #f4f7fb; border: 1px dashed var(--line); border-radius: 12px;
  color: var(--muted); font-size: 13px;
}
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }

/* 后台视频编辑行 */
.video-row {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fbfcfe;
}
.video-row .vr-top { display: flex; gap: 8px; align-items: center; }
.video-row .vr-top select { width: 148px; flex: none; }
.video-row .vr-ops { display: flex; gap: 6px; justify-content: flex-end; }
.video-row .vr-ops button { flex: none; }

/* 商品卡片上的视频角标 */
.vbadge {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(11, 18, 32, .78); color: #fff; font-size: 11.5px;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .02em;
  backdrop-filter: blur(3px);
}

/* ============================================================
   Theme v2 — 参考 gaming 硬件品牌的重排版(黑白高对比 / 大字号 / 产品大图)
   仅覆盖前台样式,后台保持原有浅色工作台
   ============================================================ */
:root {
  --ink: #0a0d12;
  --body: #3a4250;
  --muted: #7b8595;
  --line: #e6e8ec;
  --line-2: #d5d9e0;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(10, 13, 18, .10);
}
body { background: #fff; color: var(--body); font-size: 15px; }
.wrap { max-width: 1240px; }
h1, h2, h3, h4 { letter-spacing: -.022em; font-weight: 700; }
h2 { font-size: clamp(24px, 2.4vw, 32px); }

.eyebrow {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); font-weight: 600; margin-bottom: 10px;
}
.eyebrow.dark { color: var(--muted); }

/* ---------- header ---------- */
.hdr { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.hdr { backdrop-filter: blur(16px) saturate(1.4); }
.hdr-in { height: 76px; gap: 34px; }
.logo { font-size: 18px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; }
.nav { gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 0; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #5a6474;
}
.nav a:hover { background: none; color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { background: none; color: var(--ink); }
.lang-btn { border-radius: 6px; padding: 7px 10px; font-size: 12.5px; }

/* ---------- buttons ---------- */
.btn { border-radius: 6px; font-weight: 650; letter-spacing: .01em; }
.btn-primary { box-shadow: none; }
.btn-lg { padding: 14px 26px; font-size: 14.5px; }
.btn-dark { background: var(--ink); }
.btn-ghost { border-color: var(--line-2); }
.link-arrow { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.link-arrow.light { color: #fff; }

/* ---------- hero v2 ---------- */
.hero2 { position: relative; background: #0a0d12; color: #fff; overflow: hidden; }
.hero2-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 78%);
}
.hero2::after {
  content: ''; position: absolute; width: 640px; height: 640px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(37,99,235,.42), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero2-in {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px; align-items: center; padding: 84px 22px 78px;
}
.hero2-copy h1 { color: #fff; font-size: clamp(32px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -.03em; max-width: 620px; }
.hero2-copy p { margin-top: 20px; color: #a9b3c2; font-size: 15.5px; line-height: 1.75; max-width: 520px; }
.hero2-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f3f6; transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.hero2-stats { margin-top: 46px; display: flex; gap: 44px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero2-stats b { display: block; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.hero2-stats span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8b96a7; }
.hero2-visual { position: relative; }
.hero2-visual img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,.55); position: relative; z-index: 1;
  border: 1px solid rgba(255,255,255,.08);
}
.hero2-ph { aspect-ratio: 4 / 3.4; border-radius: 10px; background: #14181f; border: 1px solid rgba(255,255,255,.08); }
.hero2-tag {
  position: absolute; z-index: 3; left: -22px; bottom: 30px; min-width: 230px;
  background: #fff; color: var(--ink); padding: 14px 16px; border-radius: 8px;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35); transition: .2s;
}
.hero2-tag:hover { transform: translateY(-3px); }
.hero2-tag .k { grid-column: 1; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero2-tag .v { grid-column: 1; font-size: 14.5px; font-weight: 700; }
.hero2-tag .arw { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 18px; color: var(--accent); }

/* ---------- sections ---------- */
.sec { padding: 76px 0; }
.sec.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-hd h2 { margin-top: 0; }
.sec-sub { margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 560px; }
.sec-hd.light h2 { color: #fff; }
.sec-hd.light .sec-sub { color: #97a2b3; }
.page-hd h1 { font-size: clamp(28px, 3vw, 38px); }

/* ---------- 分类 rail ---------- */
.cat-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.cat-tile {
  padding: 26px 22px 24px; border-right: 1px solid var(--line); position: relative;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 4px 10px;
  transition: background .2s;
}
.cat-tile:last-child { border-right: 0; }
.cat-tile:hover { background: #fafbfc; }
.cat-tile .idx { grid-row: 1; font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.cat-tile .n { grid-row: 1; font-size: 17px; font-weight: 700; color: var(--ink); }
.cat-tile .c { grid-row: 2; grid-column: 1 / span 2; font-size: 12.5px; color: var(--muted); }
.cat-tile .arw { grid-row: 1 / span 2; grid-column: 3; align-self: center; color: var(--muted); transition: .2s; }
.cat-tile:hover .arw { color: var(--accent); transform: translateX(3px); }

/* ---------- 产品卡 v2 ---------- */
.pgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: .22s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(10,13,18,.10); border-color: var(--line-2); }
.pcard-img { aspect-ratio: 4 / 3; background: var(--soft); }
.pcard-flags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pcard-flags .badge, .pcard-flags .vbadge, .pcard-flags .dbadge {
  position: static; background: rgba(10,13,18,.82); color: #fff; font-size: 10.5px;
  font-weight: 600; padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; backdrop-filter: blur(4px);
}
.pcard-flags .badge { background: var(--accent); }
.pcard-body { padding: 18px 18px 16px; gap: 6px; }
.pcard-model { font-size: 10.5px; letter-spacing: .14em; }
.pcard-name { font-size: 16.5px; line-height: 1.35; }
.pcard-tag { font-size: 13px; min-height: 38px; }
.pcb-specs { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 5px; }
.pcb-specs li { font-size: 12.5px; color: var(--ink); display: flex; gap: 7px; align-items: baseline; }
.pcb-specs li::before { content: '●'; font-size: 6px; color: var(--accent); transform: translateY(-2px); }
.pcb-specs li span { color: var(--muted); }
.pcard-foot { padding-top: 14px; }
.pcard-foot .price { font-size: 19px; color: var(--ink); }

/* ---------- 下载区(深色) ---------- */
.dl-band { background: #0a0d12; padding: 68px 0; color: #fff; }
.dl-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; }
.dl-mini {
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 18px;
  background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 8px; transition: .2s;
}
.dl-mini:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.dl-mini-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dl-mini .ver { font-size: 11.5px; color: #8b96a7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dl-mini-name { font-size: 14.5px; font-weight: 650; color: #fff; line-height: 1.45; min-height: 42px; }
.dl-mini-meta { font-size: 12px; color: #8b96a7; }
.dl-mini .btn { margin-top: 6px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.dl-mini .btn:hover { background: #fff; color: var(--ink); }

/* 类型徽标 */
.type-badge {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase; white-space: nowrap;
}
.type-badge.t-driver { background: #e8effd; color: #1d4ed8; }
.type-badge.t-firmware { background: #ede9fe; color: #6d28d9; }
.type-badge.t-software { background: #e6f5ee; color: #067a4a; }
.type-badge.t-manual { background: #fdf0e2; color: #a45a06; }
.dl-band .type-badge.t-driver { background: rgba(96,165,250,.18); color: #93c5fd; }
.dl-band .type-badge.t-firmware { background: rgba(167,139,250,.18); color: #c4b5fd; }
.dl-band .type-badge.t-software { background: rgba(52,211,153,.18); color: #6ee7b7; }
.dl-band .type-badge.t-manual { background: rgba(251,191,36,.18); color: #fcd34d; }

/* ---------- 优势 4 栏 ---------- */
.adv-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.adv-item { border-top: 2px solid var(--ink); padding-top: 18px; }
.adv-item .num { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 10px; }
.adv-item h4 { font-size: 17px; margin-bottom: 8px; }
.adv-item p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 新闻卡 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.news-card:hover { border-color: var(--line-2); box-shadow: 0 18px 36px rgba(10,13,18,.08); transform: translateY(-2px); }
.nc-img { aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nc-date { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nc-body h3 { font-size: 16px; line-height: 1.45; }
.nc-body p { font-size: 13px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-body .link-arrow { margin-top: auto; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(100deg, #0a0d12 0%, #14203a 60%, #1b2a4a 100%); color: #fff; padding: 62px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); max-width: 620px; line-height: 1.35; }

/* ---------- footer v2 ---------- */
.ftr { background: #0a0d12; color: #9aa5b5; margin-top: 0; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 40px; }
.ftr-brand .brand { color: #fff; font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ftr-brand .brand .logo-mark { width: 30px; height: 30px; border-radius: 6px; background: #fff; color: #0a0d12; font-size: 14px; }
.ftr .about { font-size: 13px; line-height: 1.8; max-width: 330px; color: #8d97a7; }
.ftr-langs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.ftr-langs button {
  border: 1px solid rgba(255,255,255,.16); background: none; color: #9aa5b5;
  font-size: 11.5px; padding: 4px 9px; border-radius: 4px;
}
.ftr-langs button:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.ftr-langs button.on { background: #fff; color: #0a0d12; border-color: #fff; font-weight: 600; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.ftr-col h4 { color: #fff; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
.ftr-col a:hover, .ftr-col span:hover { color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; flex-wrap: wrap; color: #78839a; }
.ftr-bottom a:hover { color: #fff; }

/* ---------- 下载中心页 ---------- */
.page-hero { background: #0a0d12; color: #fff; padding: 66px 0 58px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -100px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%);
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: #a9b3c2; max-width: 560px; font-size: 14.5px; line-height: 1.7; }
.dl-page { padding-top: 34px; }
.dl-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dl-page .chips { margin-bottom: 22px; }
.dl-page .chip { border-radius: 4px; padding: 8px 14px; font-size: 13px; }
.dl-page .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dl-page .chip.on .cnt { background: rgba(255,255,255,.22); color: #fff; }
.dl-list { border-top: 1px solid var(--line-2); }
.dl-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 210px 118px; gap: 18px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .18s;
}
.dl-row:hover { background: #fafbfc; }
.dl-main { min-width: 0; }
.dl-name { font-size: 15px; font-weight: 650; color: var(--ink); display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; }
.dl-name .ver { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dl-note { font-size: 12.8px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.dl-prods { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dl-prods a { color: var(--accent); }
.dl-meta { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.dl-btn { justify-content: center; }
.pd-dl { max-width: 760px; }
.dl-row.compact { grid-template-columns: 76px minmax(0, 1fr) 118px; padding: 14px 0; }
.dl-row.compact:first-child { border-top: 1px solid var(--line); }

/* ---------- 详情页 v2 ---------- */
.pd { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; padding: 34px 0 10px; }
.gallery-main { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.thumbs-row button { border-radius: 6px; width: 88px; height: 68px; }
.pd-info h1 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; }
.pd-price .price-lg { font-size: 30px; font-weight: 700; color: var(--ink); }
.pd-meta { border-top: 1px solid var(--line); gap: 22px; }
.pd-block { margin-top: 52px; }
.pd-block h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.spec { border-radius: 8px; font-size: 13.5px; }
.spec th { padding: 13px 16px; }
.spec td { padding: 13px 16px; }
.prose { font-size: 14.5px; line-height: 1.9; }

/* ---------- 后台: 下载中心表单 ---------- */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; max-height: 260px; overflow: auto; padding: 4px; }
.chk { display: flex; align-items: center; gap: 7px; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.chk input { flex: none; }
.file-chip { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f5f8fc; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero2-in { grid-template-columns: 1fr; gap: 40px; padding: 56px 22px 60px; }
  .hero2-visual img, .hero2-ph { aspect-ratio: 16 / 10; }
  .hero2-tag { left: 12px; bottom: 12px; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dl-row { grid-template-columns: 74px minmax(0, 1fr) 110px; }
  .dl-meta { display: none; }
  .pd { grid-template-columns: 1fr; gap: 30px; }
  .hero2-stats { gap: 30px; }
}
@media (max-width: 720px) {
  .hdr-in { height: 64px; }
  .sec { padding: 52px 0; }
  .cat-rail { grid-template-columns: 1fr; }
  .cat-tile { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .cat-tile:last-child { border-bottom: 0; }
  .ftr-top { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .dl-row .dl-btn { justify-self: start; }
  .hero2-stats b { font-size: 24px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10,13,18,.1); }
  .menu-btn { display: block; }
  .dl-row.compact { grid-template-columns: 1fr; }
}

/* ============================================================
   Theme v2 — 内页统一(品牌 / 新闻 / 联系 / 新闻详情)
   ============================================================ */

/* 深色页头扩展 */
.page-hero-in { position: relative; z-index: 2; }
.page-hero .crumb { color: #6f7a8b; margin-bottom: 18px; }
.page-hero .crumb a { color: #9aa5b5; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .eyebrow { color: rgba(255,255,255,.46); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero-split h1 { max-width: 640px; }
.hero-meta { border-left: 1px solid rgba(255,255,255,.14); padding-left: 34px; display: grid; }
.hero-meta > div { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.hero-meta > div:last-child { border-bottom: 0; }
.hero-meta span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8b96a7; }
.hero-meta b { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.hero-meta b em { font-style: normal; font-size: 11.5px; color: #8b96a7; margin-left: 5px; font-weight: 500; }

/* 品牌页 */
.brand-sec { padding: 74px 0 0; }
.brand-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.sec-label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 14px; }
.sec-label.line::after { content: ''; display: block; width: 40px; height: 2px; background: var(--accent); margin-top: 12px; }
.brand-cols h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 18px; }
.brand-cols .prose { max-width: 620px; }
.brand-adv { border-top: 1px solid var(--line-2); display: grid; }
.brand-adv .adv { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 0; }
.brand-adv .adv .t { font-size: 15.5px; gap: 14px; margin-bottom: 6px; }
.brand-adv .adv .num
  { width: auto; height: auto; border-radius: 0; background: none; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; flex: none; }
.brand-adv .adv .d { font-size: 13.5px; line-height: 1.7; }
.img-grid { margin-top: 10px; }
.img-grid img { border-radius: 10px; border: 1px solid var(--line); }
.img-strip { padding: 56px 0 0; }
.img-strip .img-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* 新闻列表 */
.news-page { padding-top: 40px; }
.news-page .news-grid { gap: 26px; }
.news-card { border-radius: 10px; }
.nc-img { position: relative; }
.nc-img .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; }
.nc-body h3 { letter-spacing: -.012em; }
.nc-body .news-tag
  { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* 新闻详情 */
.news-hero { padding: 58px 0 46px; }
.news-hero h1 { font-size: clamp(24px, 3vw, 38px); line-height: 1.28; max-width: 860px; color: #fff; }
.news-hero .meta { margin-top: 20px; display: flex; gap: 22px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8b96a7; }
.news-body { max-width: 860px; padding: 44px 0 76px; }
.news-body .cover { width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 34px; border: 1px solid var(--line); }
.news-body .prose { font-size: 15px; line-height: 1.95; }

/* 联系页 */
.ct-wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 26px; padding: 40px 0 76px; align-items: start; }
.ct-info { background: #0a0d12; color: #fff; border-radius: 10px; padding: 34px 32px; position: relative; overflow: hidden; }
.ct-info::after {
  content: ''; position: absolute; right: -110px; bottom: -140px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 66%);
}
.ct-info h3 { color: #fff; font-size: 19px; margin-bottom: 6px; position: relative; z-index: 1; }
.ct-info .sub { color: #8b96a7; font-size: 13px; line-height: 1.7; margin-bottom: 20px; position: relative; z-index: 1; }
.ct-rows { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); }
.ct-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ct-row .ic { font-size: 13px; color: #93c5fd; line-height: 1.6; }
.ct-row .k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8b96a7; margin-bottom: 3px; }
.ct-row .v { color: #fff; font-size: 14.5px; line-height: 1.55; word-break: break-word; }
.ct-note { position: relative; z-index: 1; margin-top: 20px; font-size: 12px; color: #98a3b3; line-height: 1.7; }
.ct-form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.ct-form h3 { font-size: 18px; margin-bottom: 18px; }
.ct-form .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.ct-form .field > label { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.ct-form input:not([type=checkbox]), .ct-form select, .ct-form textarea { border-radius: 6px; border-color: var(--line-2); }
.ct-form .btn-block { margin-top: 6px; border-radius: 6px; }
.contact-head { padding: 62px 0 0; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 34px; }
  .hero-meta { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .brand-cols { grid-template-columns: 1fr; gap: 38px; }
  .ct-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand-sec { padding: 50px 0 0; }
  .ct-info, .ct-form { padding: 26px 22px; }
  .news-hero { padding: 40px 0 34px; }
  .news-body { padding: 30px 0 56px; }
}

/* 产品列表页头(与下载中心统一) */
.list-page { padding-top: 30px; padding-bottom: 56px; }
.list-page .toolbar { margin: 0 0 18px; }
.list-page .search-box input { border-radius: 6px; border-color: var(--line-2); }
.list-page .sort-sel { border-radius: 6px; border-color: var(--line-2); }

/* 内页细节校正 */
.img-grid img { width: 100%; height: 300px; object-fit: cover; }
.prose.lead p { font-size: 15px; line-height: 1.95; color: var(--body); }
.prose.lead p:first-child { color: var(--ink); }
.news-page .news-grid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.ct-form .sub { margin-bottom: 20px; }
@media (max-width: 720px) {
  .img-grid img { height: 200px; }
  .news-page .news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   后台登录(用户名 + 密码 + 图形验证码)
   ============================================================ */
.login-card { max-width: 400px; }
.lg-brand { margin-bottom: 16px; }
.lg-brand .logo-mark { width: 42px; height: 42px; font-size: 20px; border-radius: 10px; }
.cap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.cap-row input { letter-spacing: .18em; text-transform: uppercase; font-weight: 650; }
#capCanvas {
  width: 112px; height: 42px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-2); background: #f2f5fa; user-select: none;
  transition: border-color .18s, box-shadow .18s;
}
#capCanvas:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.login-card .btn-block { margin-top: 6px; height: 42px; }
