:root {
  color-scheme: light;
  --white: #fff;
  --ink: #131e2d;
  --navy: #111b2b;
  --navy-deep: #0d1625;
  --muted: #505f70;
  --line: #dce3ed;
  --light: #f1f4f8;
  --blue: #354f7c;
  --lime: #d4f370;
  --lime-hover: #e3fa9c;
  --radius: 14px;
  --max: 1216px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #547ae8; outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - 88px)); margin-inline: auto; }
.sr-only, .icon-library { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 1.3em; height: 1.3em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-160%); z-index: 10; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--white); }
.header-inner { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 38px; align-items: center; }
.brand { display: inline-flex; gap: 11px; align-items: center; justify-self: start; flex: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: var(--lime); background: var(--navy); }
.brand-mark::before, .brand-mark::after, .brand-mark span { position: absolute; content: ""; display: block; background: currentColor; border-radius: 8px; }
.brand-mark::before { width: 15px; height: 3px; top: 15px; left: 10px; transform: rotate(38deg); }
.brand-mark::after { width: 18px; height: 3px; top: 21px; left: 13px; transform: rotate(-47deg); }
.brand-mark span { width: 3px; height: 3px; left: 25px; top: 11px; }
.brand-name { font-size: 1.4rem; font-weight: 850; letter-spacing: .025em; white-space: nowrap; }
.brand-name > span { font-weight: 600; font-size: .84rem; color: var(--muted); margin-left: 7px; }
#site-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); font-weight: 650; font-size: .95rem; color: #26364b; }
#site-nav a { padding-block: 8px; white-space: nowrap; }
#site-nav a:hover, .section-jump:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; min-height: 42px; color: var(--ink); padding: 9px 18px; font-size: .92rem; font-weight: 750; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.contact-header { justify-self: end; color: var(--ink); background: var(--lime); }
.contact-header:hover, .search-submit:hover { background: var(--lime-hover); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: clip; color: var(--white); background: var(--navy); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 27% 43%, #1b2b43 0%, transparent 63%), repeating-linear-gradient(90deg, #93acce0b 0 1px, transparent 1px 72px), repeating-linear-gradient(0deg, #93acce0b 0 1px, transparent 1px 72px); }
.hero-layout { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 4.1vw, 63px); align-items: center; min-height: 520px; padding-block: 51px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 650; letter-spacing: .095em; color: #d5dfed; }
.hero-kicker span { width: 15px; height: 2px; background: var(--lime); border-radius: 3px; }
.hero h1 { font-size: clamp(2.6rem, 4.35vw, 4.2rem); letter-spacing: -.055em; line-height: 1.2; font-weight: 900; margin-top: 17px; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-intro { max-width: 37rem; color: #d3dfef; font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 17px; }
.hero-image { align-self: stretch; position: relative; min-width: 0; min-height: 0; max-height: 438px; overflow: hidden; border-radius: var(--radius); background: #243247; box-shadow: 0 16px 42px #050b1570; border: 1px solid #93acce40; isolation: isolate; }
.hero-image img { height: 100%; min-height: 365px; object-fit: cover; object-position: center 52%; }
.hero-image::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none; z-index: 0; background: linear-gradient(0deg, #0c1426be, transparent); }
.hero-image figcaption { z-index: 1; position: absolute; right: 16px; bottom: 13px; font-size: .76rem; color: #eef2f8; letter-spacing: .05em; }
.device-search { margin-top: 28px; max-width: 585px; }
.search-field { display: flex; align-items: center; min-width: 0; gap: 11px; border-radius: 11px; color: #4c5e74; background: var(--white); padding: 6px; padding-left: 16px; box-shadow: 0 12px 26px #070e1b40; }
.search-field:focus-within { outline: 2px solid var(--lime); outline-offset: 4px; }
.search-icon { width: 22px; height: 22px; }
.search-field input { min-width: 0; flex: 1; height: 44px; border: 0; background: transparent; color: var(--ink); padding: 0 3px; outline: none; font-size: 1rem; }
.search-field input::placeholder { color: #526277; opacity: 1; }
.search-submit { min-height: 44px; padding-inline: 19px; color: var(--ink); background: var(--lime); }
.search-keywords { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 15px; color: #c4d0e0; font-size: .85rem; }
.search-keywords > span { margin-right: 3px; }
.search-keywords button { color: #dbe5f1; border: 1px solid #536784; border-radius: 6px; background: #27364b66; padding: 3px 9px; font-size: .83rem; }
.search-keywords button:hover { border-color: var(--lime); color: var(--lime); }
#search-message:not(:empty) { color: #e0e9f5; margin-top: 13px; font-size: .9rem; }
#search-results { margin-top: 8px; color: var(--ink); border-radius: 10px; padding: 4px 11px; background: var(--white); }
.search-result-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.search-result { display: flex; align-items: baseline; flex-wrap: wrap; text-align: left; width: 100%; gap: 1px 10px; padding: 9px 5px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; }
.search-result-list > .search-result:last-child { border-bottom: 0; }
.search-result:hover { color: var(--blue); background: var(--light); }
.search-result-title { font-weight: 740; }
.search-result-meta { color: var(--muted); font-size: .86rem; }

.section { padding-block: 60px; scroll-margin-top: 16px; }
.device-section { background: var(--light); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
.section h2 { font-size: clamp(1.65rem, 3vw, 2.38rem); line-height: 1.25; letter-spacing: -.04em; font-weight: 850; }
.section-head p { color: var(--muted); font-size: .98rem; margin-top: 8px; }
.section-jump { align-self: end; font-size: .9rem; color: var(--blue); font-weight: 720; white-space: nowrap; margin-bottom: 3px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); min-height: 95px; min-width: 0; padding: 13px 15px; border-radius: 12px; color: var(--ink); background: var(--white); text-align: left; transition: border-color .15s ease, box-shadow .15s ease; }
.category-card:hover, .knowledge-card:hover { border-color: #8199bf; box-shadow: 0 7px 20px #223b6a15; }
.category-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #e9eff8; color: #3b5485; }
.category-icon .icon { width: 31px; height: 31px; stroke-width: 1.45; }
.category-card strong, .category-card small { display: block; }
.category-card strong { font-size: 1.04rem; font-weight: 780; }
.category-card small { color: var(--muted); margin-top: 2px; font-size: .86rem; }
.all-devices { margin-top: 17px; scroll-margin-top: 16px; }
.all-devices summary { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-height: 38px; margin-inline: auto; cursor: pointer; color: var(--blue); font-size: .92rem; font-weight: 720; list-style: none; }
.all-devices summary::-webkit-details-marker { display: none; }
.all-devices summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.all-devices .collapse-icon, .all-devices[open] .expand-icon { display: none; }
.all-devices[open] .collapse-icon { display: inline-block; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.more-grid button { border: 1px solid var(--line); padding: 9px 12px; border-radius: 7px; color: var(--ink); background: var(--white); font-size: .91rem; }
.more-grid button:hover { border-color: #8199bf; color: var(--blue); }

.knowledge-section { background: var(--white); }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.knowledge-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; color: var(--ink); background: #f9fbfe; transition: border-color .15s ease, box-shadow .15s ease; }
.knowledge-kind { display: inline-flex; align-items: center; gap: 7px; font-weight: 740; font-size: .9rem; color: var(--blue); }
.knowledge-kind .icon { width: 18px; height: 18px; }
.knowledge-card strong { font-size: clamp(1rem, 1.65vw, 1.27rem); font-weight: 800; line-height: 1.45; margin-top: 10px; }
.knowledge-copy { margin-top: 9px; margin-bottom: 17px; color: var(--muted); font-size: .95rem; }
.knowledge-link { margin-top: auto; font-size: .88rem; color: var(--blue); font-weight: 750; }
.knowledge-card:hover .knowledge-link { text-decoration: underline; text-underline-offset: 4px; }

.service-section { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.service-card { display: flex; align-items: flex-start; gap: 16px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); }
.service-repair { background: #e9f2d5; border-color: #d6e4ba; }
.service-maker { background: #eef2f8; }
.service-card .service-icon { width: 32px; height: 32px; color: #304b75; margin-top: 1px; }
.service-repair .service-icon { color: #3b5425; }
.service-card h3 { font-size: 1.23rem; font-weight: 810; line-height: 1.45; }
.service-card p { color: #3e4d61; margin: 6px 0 15px; font-size: .95rem; }
.service-card .button { padding: 7px 12px; color: var(--white); background: var(--navy); }
.service-card .button:hover { background: #314968; }
.service-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; }
.service-maker .button { color: var(--ink); background: var(--white); border: 1px solid #a9b8d0; }
.service-maker .button:hover { background: #dce7f6; }
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px; }
.footer-brand { display: flex; flex-wrap: wrap; gap: 12px 17px; align-items: center; }
.footer-brand .brand-mark { color: var(--navy); background: var(--lime); }
.footer-brand .brand-name > span, .footer-brand p, .footer-meta { color: #c3d0e1; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .86rem; }
.footer-meta button { color: inherit; background: none; border: 0; padding: 0; }
.footer-meta a:hover, .footer-meta button:hover { text-decoration: underline; text-underline-offset: 4px; }

dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: 0 16px 60px #02091650; }
dialog::backdrop { background: #0b1426b3; }
.dialog-shell { padding: 23px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 11px; }
.dialog-head h2 { font-size: clamp(1.25rem, 4vw, 1.65rem); line-height: 1.38; padding-top: 4px; }
.dialog-close { border: 0; width: 37px; height: 37px; flex: none; border-radius: 7px; color: var(--ink); background: var(--light); }
.dialog-close:hover { background: #dce7f6; }
[data-dialog-body] > * + * { margin-top: 10px; }
.dialog-description { color: var(--ink); }
.dialog-note { color: var(--muted); font-size: .9rem; }
.dialog-brands, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin-bottom: 0; }
.dialog-brand { display: inline-flex; padding: 3px 9px; color: #31496f; background: #edf2fa; border-radius: 5px; font-size: .87rem; }
.dialog-action { border: 1px solid var(--line); border-radius: 7px; background: #f2f5fa; color: var(--ink); padding: 7px 10px; font-size: .9rem; }
.dialog-action:hover { border-color: #8199bf; background: #e5edf8; }
.dialog-template { display: block; width: 100%; padding: 10px; resize: vertical; white-space: pre-wrap; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--light); font: inherit; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .hero-layout { gap: 25px; min-height: 482px; }
  .category-card { gap: 10px; padding-inline: 11px; }
  .category-icon { width: 40px; height: 40px; }
  .category-icon .icon { width: 27px; height: 27px; }
}

@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .hero-layout { padding-block: 40px; min-height: 420px; }
  .hero h1 { font-size: clamp(2.3rem, 5.65vw, 3.45rem); }
  .hero-image img { min-height: 328px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: 46px; }
  .service-section { padding-top: 0; }
  .knowledge-card { padding: 15px; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; display: flex; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.18rem; }
  .brand-name > span { margin-left: 5px; }
  .brand { gap: 8px; }
  .contact-header { min-height: 37px; padding: 6px 10px; font-size: .85rem; order: 1; margin-left: auto; }
  .contact-header .icon { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 38px; height: 37px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); order: 2; }
  #site-nav { position: absolute; z-index: 2; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 12px 18px #0b14261c; }
  #site-nav.is-open { display: flex; }
  #site-nav a { padding: 11px 16px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 31px 21px; }
  .hero h1 { margin-top: 13px; }
  .hero-intro { margin-top: 13px; }
  .device-search { margin-top: 19px; }
  .search-field { padding-left: 10px; gap: 6px; }
  .search-submit { padding-inline: 10px; font-size: .88rem; }
  .search-icon { width: 19px; height: 19px; }
  .search-keywords { margin-top: 11px; }
  .hero-image { height: clamp(165px, 46vw, 255px); }
  .hero-image img { min-height: 0; }
  .section { padding-block: 35px; }
  .service-section { padding-top: 0; }
  .section-head { margin-bottom: 18px; }
  .section-head p { margin-top: 5px; }
  .section-jump { display: none; }
  .category-grid { gap: 8px; }
  .category-card { min-height: 79px; gap: 8px; padding: 8px; }
  .category-card strong { font-size: .94rem; }
  .category-card small { font-size: .76rem; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-grid, .service-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .knowledge-card { padding: 15px; }
  .knowledge-copy { margin-bottom: 10px; }
  .service-card { padding: 17px; gap: 11px; }
  .footer-inner { align-items: flex-start; gap: 12px; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 22px); }
  .hero h1 { font-size: 2.04rem; }
  .category-icon { width: 34px; height: 34px; }
  .category-icon .icon { width: 23px; height: 23px; }
  .category-card { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.sub-header { border-bottom: 1px solid var(--line); }
.sub-header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px 27px; padding-block: 14px; }
.sub-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .93rem; font-weight: 700; }
.sub-nav a { padding-block: 4px; }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.sub-hotline { flex: none; }
.sub-main { min-height: 64vh; background: linear-gradient(180deg, #f2f6fb, #fff 440px); }
.sub-container, .reading-page { padding-block: clamp(32px, 6vw, 72px); }
.reading-page { max-width: 790px; }
.sub-intro { max-width: 850px; margin-bottom: 26px; }
.sub-intro h1 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.45rem); font-weight: 875; line-height: 1.22; letter-spacing: -.04em; }
.sub-intro p { margin-top: 12px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.16rem); }
.sub-intro .sub-meta { margin: 0 0 8px; font-size: .9rem; color: var(--blue); font-weight: 720; }
.breadcrumbs, .sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--blue); }
.breadcrumbs { font-size: .9rem; font-weight: 690; margin-bottom: 22px; }
.sub-section { margin: 27px 0; }
.sub-section h2, .directory-card h2 { font-size: clamp(1.2rem, 2vw, 1.52rem); line-height: 1.35; margin-bottom: 8px; }
.sub-section p, .sub-section li { color: #35465a; }
.source-links { margin: 8px 0 0; padding-left: 1.3em; color: var(--blue); }
.source-links li + li { margin-top: 3px; }
.source-links a, .text-link, .reading-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.reading-note { margin-block: 16px; background: #edf3fa; border-left: 4px solid #8aa2c8; padding: 11px 14px; color: #344760; }
.sub-actions { margin-top: 32px; }
.outline-link, .directory-nav a { display: inline-block; border: 1px solid var(--line); border-radius: 7px; padding: 6px 11px; color: var(--blue); background: var(--white); font-weight: 700; }
.outline-link:hover, .directory-nav a:hover { border-color: #8199bf; }
.directory-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.directory-nav a { font-size: .9rem; }
.directory-grid { display: grid; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.directory-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 16px; scroll-margin-top: 16px; }
.directory-card:target { border-color: #728ebc; outline: 2px solid #c8d9f5; }
.directory-card ul, .directory-card p { margin-top: 7px; }
.channel-number { color: #203b67; font-size: 1.45rem; font-weight: 790; font-variant-numeric: tabular-nums; }
.channel-number:hover { text-decoration: underline; }
.channel-grid .text-link { display: inline-block; font-size: .87rem; margin-top: 6px; }
.service-steps { padding-left: 1.52em; }
.service-steps li { padding-left: 6px; margin-block: 12px; }
.service-steps strong { color: var(--ink); }
.service-qa { border-bottom: 1px solid var(--line); padding: 10px 0; }
.service-qa summary { color: var(--ink); cursor: pointer; font-weight: 710; }
.service-qa p { margin-top: 5px; }

@media (max-width: 800px) {
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 575px) {
  .sub-header-inner { flex-wrap: wrap; gap: 7px; }
  .sub-nav { order: 1; width: 100%; gap: 2px 11px; font-size: .87rem; }
  .directory-grid { grid-template-columns: minmax(0,1fr); }
}
