:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5f6f7b;
  --line: #dbe5e7;
  --panel: #ffffff;
  --soft: #f4f8f9;
  --cyan: #0891b2;
  --cyan-bright: #22d3ee;
  --green: #159947;
  --green-bright: #22c55e;
  --amber: #d97706;
  --amber-bright: #f59e0b;
  --red: #dc2626;
  --shadow: 0 20px 55px rgba(16, 24, 32, .12);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(225, 245, 248, .45), rgba(248, 251, 251, 0) 420px),
    #f8fbfb;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(219, 229, 231, .86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  color: transparent;
  background: url("assets/logo-mark.svg") center / contain no-repeat;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-search::after,
.quick-strip a::after,
.download-link::after {
  position: absolute;
  inset: -40%;
  content: "";
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .78) 50%, transparent 70%);
  transform: translateX(-130%) rotate(8deg);
  animation: sheen 5.8s ease-in-out infinite;
  pointer-events: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #31424c;
  font-size: 14px;
}

.top-nav a {
  padding: 8px 0;
}

.top-nav a:hover {
  color: var(--cyan);
}

.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.account-id {
  max-width: 160px;
  overflow: hidden;
  color: #0f172a;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-id::after {
  content: " ▾";
  color: var(--muted);
  font-weight: 800;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 132px;
  padding: 8px;
  border: 1px solid rgba(219, 229, 231, .9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.account-dropdown a,
.account-dropdown button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #334155;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  color: #0e7490;
  background: #ecfeff;
}

.header-action,
.hero-search button,
.download-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101820;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.header-action {
  padding: 0 18px;
  font-size: 14px;
}

.header-action:hover,
.hero-search button:hover,
.download-link:hover {
  transform: translateY(-1px);
  background: #0e7490;
  box-shadow: 0 12px 24px rgba(8, 145, 178, .2);
}

.header-search-trigger {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-left: auto;
  border: 1px solid rgba(14, 116, 144, .24);
  border-radius: 8px;
  color: #0f5f73;
  background: #fff;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.header-search-trigger svg,
.header-search-form button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.header-search-trigger:hover,
.header-search-trigger:focus-visible {
  border-color: #0e7490;
  color: #fff;
  background: #0e7490;
  box-shadow: 0 10px 20px rgba(8, 145, 178, .2);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 600px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 96px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(96px, 10vw, 136px);
  background:
    radial-gradient(circle at 68% 42%, rgba(34, 211, 238, .26), transparent 32%),
    radial-gradient(circle at 94% 62%, rgba(245, 158, 11, .18), transparent 24%),
    linear-gradient(120deg, #f7fbff 0%, #edf8f9 54%, #f8faf6 100%);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 82px;
  content: "";
  background: linear-gradient(180deg, rgba(248, 251, 251, 0), #f8fbfb 76%);
  z-index: 1;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 251, 255, .99) 0%, rgba(247, 251, 255, .97) 34%, rgba(247, 251, 255, .68) 49%, rgba(247, 251, 255, .12) 67%, rgba(247, 251, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 34%);
  z-index: 2;
}

.tech-canvas,
.scan-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-canvas {
  z-index: 1;
  opacity: .88;
  mix-blend-mode: multiply;
}

.scan-grid {
  z-index: 3;
  background:
    linear-gradient(rgba(8, 145, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 42%, rgba(34, 211, 238, .22) 50%, transparent 58%);
  background-size: 48px 48px, 48px 48px, 260% 100%;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .92), rgba(0, 0, 0, .64));
  animation: grid-drift 16s linear infinite, scan-pass 5.6s ease-in-out infinite;
  opacity: .65;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 38%;
  width: 62%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  opacity: .72;
  filter: saturate(1.08) contrast(1.02);
  z-index: 0;
  transform: scale(.98);
  animation: visual-float 9s ease-in-out infinite;
}

/* The picture wrapper must not occupy a grid column. */
.hero > picture {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 5;
  grid-column: 1;
  width: min(560px, 100%);
  animation: rise-in .85s cubic-bezier(.2, .8, .2, 1) both;
}

.hero h1 {
  max-width: 10.5em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 7.5em;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75), 0 16px 38px rgba(8, 145, 178, .12);
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 34px;
  color: #344854;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
}

.hero-search {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  width: min(560px, 100%);
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(203, 217, 220, .9);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .64);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-search:focus-within {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .82);
  box-shadow: 0 24px 70px rgba(8, 145, 178, .2), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.hero-search input {
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.hero-search button {
  min-height: 48px;
  z-index: 1;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: #3f5059;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(203, 217, 220, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(10px);
  animation: rise-in .85s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-stats span:nth-child(2) {
  animation-delay: .08s;
}

.hero-stats span:nth-child(3) {
  animation-delay: .16s;
}

.hero-stats strong {
  color: var(--ink);
}

.hero-deck {
  position: absolute;
  right: clamp(18px, 5vw, 96px);
  top: 24%;
  z-index: 4;
  width: min(360px, 27vw);
  height: 420px;
  pointer-events: none;
}

.floating-module {
  position: absolute;
  overflow: hidden;
  display: grid;
  align-content: center;
  width: 230px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 217, 220, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 44px rgba(16, 24, 32, .14), inset 0 0 0 1px rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px);
  animation: module-float 5.8s ease-in-out infinite;
}

.floating-module::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(34, 211, 238, .16), transparent 42%, rgba(245, 158, 11, .12));
  opacity: .86;
}

.floating-module span,
.floating-module strong,
.floating-module i {
  position: relative;
  z-index: 1;
}

.floating-module span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-module strong {
  margin-top: 8px;
  font-size: 20px;
}

.floating-module i {
  display: block;
  width: 78%;
  height: 7px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-bright), #dff9ff);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.module-original {
  left: 0;
  top: 14px;
}

.module-lite {
  right: 0;
  bottom: 96px;
  animation-delay: -2.2s;
}

.module-lite i {
  background: linear-gradient(90deg, var(--amber-bright), #fff2d6);
}

.signal-stack {
  position: absolute;
  left: 84px;
  bottom: 10px;
  display: grid;
  gap: 12px;
  width: 248px;
}

.signal-stack b {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .78), rgba(34, 197, 94, .52), transparent);
  animation: signal-run 2.8s ease-in-out infinite;
}

.signal-stack b:nth-child(2) {
  width: 82%;
  animation-delay: .22s;
}

.signal-stack b:nth-child(3) {
  width: 64%;
  animation-delay: .44s;
}

.signal-stack b:nth-child(4) {
  width: 92%;
  animation-delay: .66s;
}

.quick-strip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -54px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-strip a {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}

.quick-strip a:hover {
  background: linear-gradient(135deg, #ffffff, #ecfeff);
  transform: translateY(-2px);
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip span,
.quick-strip strong {
  display: block;
}

.quick-strip span {
  margin-bottom: 9px;
  color: var(--cyan);
  font-weight: 800;
}

.quick-strip strong {
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.35;
}

.section,
.firmware-zone,
.split-section {
  width: min(1180px, calc(100% - 36px));
  margin: 86px auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.section-heading p:last-child {
  margin-bottom: 3px;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading.compact {
  display: block;
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  font-size: 28px;
}

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

.brand-card,
.firmware-card,
.rank-panel,
.safety-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(16, 24, 32, .05);
}

.brand-card::before,
.firmware-card::before,
.rank-panel::before,
.safety-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 34%, rgba(34, 211, 238, .16) 48%, transparent 62%);
  transform: translateX(-140%);
  transition: transform .72s ease;
  pointer-events: none;
}

.brand-card {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow: 0 18px 36px rgba(8, 145, 178, .12);
}

.brand-card:hover::before,
.firmware-card:hover::before,
.rank-panel:hover::before,
.safety-panel:hover::before {
  transform: translateX(140%);
}

.brand-card span {
  font-size: 24px;
  font-weight: 850;
}

.brand-card small {
  margin-top: 8px;
  color: var(--muted);
}

.brand-landing-hero .page-hero-copy {
  max-width: 820px;
}

.brand-firmware-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(620px, 100%);
  margin: 24px 0 18px;
  padding: 7px;
  border: 1px solid rgba(14, 116, 144, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.brand-search-slot {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
}

.brand-search-slot .brand-firmware-search {
  width: 100%;
  margin: 0;
}

.brand-firmware-search input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.brand-firmware-search input::placeholder {
  color: #71808b;
}

.brand-firmware-search button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #0f1c27;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.brand-firmware-search button:hover,
.brand-firmware-search button:focus-visible {
  background: #0e7490;
}

.brand-seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.brand-seo-keywords a,
.brand-seo-keywords a,
.brand-seo-keywords span,
.brand-link-cloud a,
.brand-link-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(14, 116, 144, .18);
  border-radius: 999px;
  color: #0f5f73;
  background: rgba(236, 254, 255, .72);
  font-weight: 800;
  text-decoration: none;
}

.brand-seo-keywords small,
.brand-link-cloud small {
  color: var(--muted);
  font-weight: 700;
}

.brand-landing-actions,
.brand-seo-section,
.brand-taxonomy-grid,
.brand-firmware-section,
.brand-directory {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.brand-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.secondary-link {
  color: #0e7490;
  border: 1px solid rgba(14, 116, 144, .24);
  background: #ecfeff;
}

.brand-seo-section,
.brand-taxonomy-grid article,
.brand-firmware-section,
.brand-directory-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 32px rgba(16, 24, 32, .06);
}

.brand-seo-section {
  padding: 28px;
  margin-bottom: 24px;
}

.brand-seo-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.brand-seo-copy p,
.brand-faq p {
  margin: 0;
  color: #394b55;
  line-height: 1.85;
}

.brand-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.brand-taxonomy-grid article,
.brand-firmware-section {
  padding: 24px;
}

.brand-taxonomy-grid h2,
.brand-firmware-section h2,
.brand-seo-section h2 {
  margin-top: 0;
}

.brand-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-firmware-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.brand-firmware-item {
  display: grid;
  min-width: 0;
  gap: 8px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 231, .88);
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.brand-firmware-main-link {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand-firmware-main-link > strong {
  display: -webkit-box;
  min-height: calc(1.45em * 3);
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
  line-height: 1.45;
}

.brand-firmware-main-link > span {
  display: -webkit-box;
  min-height: calc(1.6em * 3);
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.6;
}

.detail-taxonomy {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(219, 229, 231, .9);
}

.detail-taxonomy > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.detail-taxonomy .firmware-seo-tags {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.firmware-seo-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(219, 229, 231, .72);
}

.firmware-seo-tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  max-width: 100%;
  padding: 3px 8px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(14, 116, 144, .16);
  border-radius: 4px;
  color: #155e75;
  background: #ecfeff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

a.firmware-seo-tag:hover {
  border-color: #0891b2;
  color: #0e7490;
  background: #cffafe;
}

.firmware-seo-tag.tag-brand {
  color: #9f1239;
  border-color: rgba(244, 63, 94, .18);
  background: #fff1f2;
}

.firmware-seo-tag.tag-chassis {
  color: #166534;
  border-color: rgba(34, 197, 94, .2);
  background: #f0fdf4;
}

.firmware-seo-tag.tag-panel {
  color: #075985;
  border-color: rgba(14, 165, 233, .2);
  background: #f0f9ff;
}

.firmware-seo-tag.tag-type {
  color: #475569;
  border-color: rgba(100, 116, 139, .18);
  background: #f8fafc;
}

.tag-breadcrumb,
.tag-index-section {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.tag-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.tag-breadcrumb a {
  color: #0e7490;
  text-decoration: none;
}

.tag-related-grid {
  margin-top: 0;
}

.tag-index-section {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tag-index-section:last-child {
  margin-bottom: 32px;
}

.tag-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tag-index-grid a {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(219, 229, 231, .9);
  border-radius: 6px;
  color: var(--ink);
  background: #f8fafc;
  text-decoration: none;
}

.tag-index-grid a:hover {
  border-color: rgba(8, 145, 178, .5);
  background: #ecfeff;
}

.tag-index-grid strong {
  overflow-wrap: anywhere;
}

.tag-index-grid span {
  color: var(--muted);
  font-size: 13px;
}

.brand-firmware-item:hover,
.brand-directory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 18px 34px rgba(8, 145, 178, .1);
}

.brand-firmware-item strong,
.brand-directory-card strong {
  color: var(--ink);
  line-height: 1.45;
}

.brand-firmware-item span,
.brand-firmware-item small,
.brand-directory-card span,
.brand-directory-card small {
  color: var(--muted);
  line-height: 1.6;
}

.brand-faq details {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.brand-faq summary {
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.brand-static-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.brand-static-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(14, 116, 144, .22);
  border-radius: 8px;
  color: #0f5f73;
  background: #ecfeff;
  font-weight: 800;
}

.brand-static-pagination a.active {
  color: #fff;
  background: #0e7490;
}

.brand-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  margin-bottom: 76px;
}

.brand-directory-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(82px, auto));
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #eef3f4;
}

.segmented button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #41535d;
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.segmented button:hover {
  transform: translateY(-1px);
}

.segmented button.active {
  color: #fff;
  background: #0e7490;
}

.filters label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.filters select {
  min-width: 142px;
  height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.firmware-resultbar {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.firmware-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed rgba(14, 116, 144, .3);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(236, 254, 255, .62);
  text-align: center;
}

.firmware-more {
  display: block;
  width: min(360px, 100%);
  min-height: 48px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.firmware-more:hover,
.firmware-more:focus-visible {
  transform: translateY(-1px);
  background: #0e7490;
  box-shadow: 0 14px 28px rgba(8, 145, 178, .16);
  outline: 0;
}

.firmware-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.firmware-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 22px 44px rgba(8, 145, 178, .13);
}

.firmware-card.is-hidden {
  display: none;
}

.firmware-card.is-entering {
  animation: card-pop .36s cubic-bezier(.2, .8, .2, 1) both;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tag,
.version {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tag {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

.tag.original {
  color: #075985;
  background: #e0f2fe;
}

.tag.lite {
  color: #9a3412;
  background: #ffedd5;
}

.version {
  color: #475569;
  background: #f1f5f9;
}

.firmware-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.38;
}

.firmware-card p {
  color: var(--muted);
  line-height: 1.7;
}

.firmware-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 18px;
}

.firmware-card dl div {
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
}

.firmware-card dt {
  color: var(--muted);
  font-size: 12px;
}

.firmware-card dd {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.price-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(14, 116, 144, .24);
  border-radius: 8px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.guide-link:hover,
.guide-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 116, 144, .48);
  box-shadow: 0 10px 20px rgba(8, 145, 178, .1);
  outline: 0;
}

.firmware-guide-link {
  width: 100%;
  margin: 0 0 10px;
}

.price-strip span {
  position: relative;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.price-strip small,
.custom-firmware-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.price-strip strong {
  display: block;
  margin-top: 4px;
  color: #0e7490;
  font-size: 18px;
}

.price-strip span:hover,
.price-strip span:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 116, 144, .42);
  box-shadow: 0 12px 24px rgba(8, 145, 178, .1);
  outline: 0;
}

.recommended-service {
  position: relative;
  border-color: rgba(14, 116, 144, .46) !important;
  background: linear-gradient(135deg, #ecfeff, #fff) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .2), 0 12px 24px rgba(8, 145, 178, .1);
}

.recommended-service em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #0e7490;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.price-strip .recommended-service em {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.price-strip .recommended-service small,
.price-strip .recommended-service strong {
  padding-right: 54px;
}

.price-strip .recommended-service strong {
  min-height: 24px;
}

.paid-service-list {
  display: grid;
  gap: 10px;
}

.paid-service-option {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.paid-service-option:hover,
.paid-service-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 116, 144, .42);
  box-shadow: 0 12px 24px rgba(8, 145, 178, .1);
  outline: 0;
}

.paid-service-list .recommended-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.paid-service-list span {
  color: var(--muted);
  font-weight: 800;
}

.paid-service-list strong {
  color: #0e7490;
  font-size: 20px;
}

.download-link {
  width: 100%;
}

.brand-landing-actions .download-link {
  width: auto;
  min-width: 176px;
  padding: 0 18px;
  text-align: center;
}

.brand-landing-actions .secondary-link {
  color: #0e7490;
  border: 1px solid rgba(14, 116, 144, .24);
  background: #ecfeff;
}

.brand-landing-actions .secondary-link:hover {
  color: #fff;
  background: #0e7490;
}

.brand-seo-keywords span,
.brand-link-cloud a,
.brand-link-cloud span {
  width: auto;
  max-width: 100%;
  text-decoration: none;
  white-space: normal;
}

.brand-link-cloud a {
  flex: 0 1 auto;
}

.brand-firmware-item,
.brand-directory-card {
  text-decoration: none;
}

.custom-request-button,
.custom-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0e7490;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.custom-request-button {
  margin-top: 10px;
}

.custom-request-button:hover,
.custom-submit:hover {
  transform: translateY(-1px);
  background: #155e75;
  box-shadow: 0 12px 24px rgba(8, 145, 178, .2);
}

.custom-request-link {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  background: #0e7490;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 76px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  min-height: 540px;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 96px);
  background:
    radial-gradient(circle at 72% 28%, rgba(34, 211, 238, .24), transparent 30%),
    radial-gradient(circle at 92% 74%, rgba(245, 158, 11, .16), transparent 24%),
    linear-gradient(125deg, #f7fbff 0%, #edf8f9 58%, #f8faf6 100%);
  isolation: isolate;
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(90deg, rgba(247, 251, 255, .96), rgba(247, 251, 255, .72) 45%, rgba(247, 251, 255, .18));
}

.detail-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 72px;
  content: "";
  background: linear-gradient(180deg, rgba(248, 251, 251, 0), #f8fbfb 78%);
}

.detail-hero-copy,
.detail-console {
  position: relative;
  z-index: 5;
}

.detail-hero-copy {
  min-width: 0;
  max-width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 800;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #115e59;
  background: #ccfbf1;
  font-size: 12px;
  font-weight: 800;
}

.detail-hero h1 {
  max-width: min(100%, 820px);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.14;
}

.detail-hero p {
  max-width: 720px;
  color: #344854;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.detail-console,
.detail-panel,
.side-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
  backdrop-filter: blur(18px);
}

.detail-console {
  padding: 22px;
  animation: module-float 6.4s ease-in-out infinite;
}

.console-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(219, 229, 231, .9);
}

.console-line span {
  color: var(--muted);
}

.console-line strong {
  color: var(--ink);
}

.console-meter {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2edf0;
}

.console-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-bright), var(--green-bright));
  animation: status-pulse 2.4s ease-in-out infinite;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 76px;
}

.detail-main,
.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.detail-panel,
.side-panel {
  padding: 26px;
}

.detail-panel::before,
.side-panel::before,
.detail-console::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 34%, rgba(34, 211, 238, .14) 48%, transparent 62%);
  transform: translateX(-140%);
  transition: transform .72s ease;
  pointer-events: none;
}

.detail-panel:hover::before,
.side-panel:hover::before,
.detail-console:hover::before {
  transform: translateX(140%);
}

.panel-heading h2,
.side-panel h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.spec-grid div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: var(--soft);
}

.spec-grid span,
.compat-list span,
.mirror-item span,
.related-list span {
  color: var(--muted);
}

.spec-grid strong,
.compat-list strong,
.mirror-item strong {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}

.compat-list,
.mirror-list,
.related-list {
  display: grid;
  gap: 10px;
}

.compat-list div,
.mirror-item,
.related-list a {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mirror-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.brand-guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(14, 116, 144, .26);
  border-radius: 8px;
  background: linear-gradient(135deg, #ecfeff, #fff);
}

.brand-guide-card strong,
.brand-guide-card span {
  display: block;
}

.brand-guide-card span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
}

.mirror-item:hover,
.related-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 16px 30px rgba(8, 145, 178, .11);
}

.mirror-item em {
  align-self: center;
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.timeline-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
}

.timeline-list li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #0e7490;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .42);
  animation: node-pulse 2.8s ease-in-out infinite;
}

.timeline-list p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.checksum-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.checksum-list div {
  padding: 14px;
  border-radius: 8px;
  background: #f1f5f9;
}

.checksum-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.checksum-list dd {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.7;
}

.copy-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101820;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.copy-button:hover {
  transform: translateY(-1px);
  background: #0e7490;
  box-shadow: 0 12px 24px rgba(8, 145, 178, .2);
}

.custom-modal[hidden] {
  display: none;
}

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(6px);
}

.custom-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(219, 229, 231, .92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .24);
}

.custom-modal-panel h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.header-search-modal {
  z-index: 110;
}

.header-search-panel {
  width: min(640px, 100%);
  padding: 30px;
  border-top: 4px solid #0e7490;
}

.header-search-panel h2 {
  margin: 0;
}

.header-search-description {
  margin: 10px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.header-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 0;
  overflow: hidden;
  border: 1px solid #b6e6ee;
  border-radius: 8px;
  background: #fff;
}

.header-search-form input {
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  font: 500 16px/1.2 inherit;
}

.header-search-form button {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: #0e7490;
  cursor: pointer;
  transition: background .18s ease;
}

.header-search-form button:hover,
.header-search-form button:focus-visible {
  background: #075f74;
}

.success-notice-modal {
  z-index: 120;
}

.success-notice-panel {
  width: min(520px, 100%);
  padding: 30px;
  border-top: 4px solid #0e7490;
}

.success-notice-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 38px;
}

.success-notice-heading .eyebrow {
  margin-bottom: 4px;
}

.success-notice-heading h2 {
  margin: 0;
  font-size: 28px;
}

.success-notice-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #166534;
  background: #dcfce7;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.success-notice-message {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid #b6e6ee;
  border-left: 4px solid #0e7490;
  border-radius: 8px;
  color: #24424c;
  background: #f0fdff;
  font-size: 16px;
  line-height: 1.75;
}

.success-notice-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.success-notice-button {
  min-width: 128px;
}

.custom-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.custom-firmware-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: var(--soft);
}

.custom-firmware-summary strong {
  line-height: 1.45;
}

.custom-firmware-summary em {
  color: #0e7490;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.custom-request-form {
  display: grid;
  gap: 12px;
}

.custom-request-form label {
  display: grid;
  gap: 7px;
}

.custom-request-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.custom-request-form input,
.custom-request-form select,
.custom-request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.custom-request-form input,
.custom-request-form select {
  height: 44px;
  padding: 0 12px;
}

.custom-request-form textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.custom-request-result {
  min-height: 20px;
  color: #0e7490;
  font-size: 13px;
  font-weight: 800;
}

.payment-box,
.success-panel {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.payment-box {
  padding: 16px;
  border: 1px solid rgba(14, 116, 144, .3);
  border-radius: 8px;
  background: #ecfeff;
}

.payment-box span,
.success-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-box strong {
  color: #0e7490;
  font-size: 32px;
}

.success-panel div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: #fff;
}

.success-panel strong {
  overflow-wrap: anywhere;
}

.payment-success h2 {
  color: #166534;
}

.warning-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 247, 237, .88));
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  min-height: 460px;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(56px, 8vw, 92px);
  background:
    radial-gradient(circle at 68% 32%, rgba(34, 211, 238, .24), transparent 30%),
    radial-gradient(circle at 92% 72%, rgba(245, 158, 11, .16), transparent 24%),
    linear-gradient(125deg, #f7fbff 0%, #edf8f9 58%, #f8faf6 100%);
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(90deg, rgba(247, 251, 255, .96), rgba(247, 251, 255, .74) 44%, rgba(247, 251, 255, .2));
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 72px;
  content: "";
  background: linear-gradient(180deg, rgba(248, 251, 251, 0), #f8fbfb 78%);
}

.page-hero-copy,
.page-hero-panel {
  position: relative;
  z-index: 5;
}

.page-hero-copy {
  animation: rise-in .85s cubic-bezier(.2, .8, .2, 1) both;
}

.page-hero-copy p {
  max-width: 720px;
  color: #344854;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.guide-hero {
  min-height: 420px;
  align-items: center;
}

.guide-hero .page-hero-copy {
  max-width: 780px;
}

.guide-hero .page-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.guide-hero .page-hero-copy p {
  max-width: 820px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.78;
}

.page-hero-panel {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: module-float 6.4s ease-in-out infinite;
}

.page-hero-panel span,
.page-hero-panel small {
  display: block;
  color: var(--muted);
}

.page-hero-panel strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 44px);
}

.resource-shell,
.match-lab,
.safety-workbench,
.submit-layout {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 76px;
}

.resource-shell {
  grid-template-columns: 300px minmax(0, 1fr);
}

.filter-panel,
.resource-board,
.match-console,
.match-result,
.submit-form {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
  backdrop-filter: blur(18px);
}

.filter-panel {
  align-self: start;
  display: grid;
  gap: 14px;
}

.filter-panel label,
.match-form label,
.submit-form label,
.safety-workbench label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.filter-panel select,
.match-form select,
.match-form input,
.submit-form select,
.submit-form input,
.submit-form textarea,
.resource-input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.submit-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.filter-panel select:focus,
.match-form select:focus,
.match-form input:focus,
.submit-form select:focus,
.submit-form input:focus,
.submit-form textarea:focus,
.resource-input:focus {
  border-color: rgba(34, 211, 238, .82);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .14);
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.filter-submit,
.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 850;
}

.filter-submit {
  border: 0;
  color: #fff;
  background: #101820;
  cursor: pointer;
}

.filter-reset {
  padding: 0 14px;
  border: 1px solid rgba(14, 116, 144, .22);
  color: #0e7490;
  background: #ecfeff;
}

.filter-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.board-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.board-toolbar h2 {
  margin-bottom: 0;
  font-size: 30px;
}

#resource-count {
  padding: 8px 12px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 800;
}

.resource-table {
  display: grid;
  gap: 10px;
}

.resource-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.resource-page-info {
  color: var(--muted);
  font-weight: 800;
}

.resource-page-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-page-buttons button {
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(14, 116, 144, .22);
  border-radius: 8px;
  color: #0f5f73;
  background: #ecfeff;
  font-weight: 800;
  cursor: pointer;
}

.resource-page-buttons button.active {
  color: #fff;
  background: #0e7490;
}

.resource-page-buttons button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  cursor: not-allowed;
}

.resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px 96px 72px 96px minmax(126px, auto);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 231, .86);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.resource-row:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 18px 34px rgba(8, 145, 178, .11);
}

.resource-row.is-hidden {
  display: none;
}

.resource-row strong,
.resource-row small {
  display: block;
}

.resource-row small {
  margin-top: 5px;
  color: var(--muted);
}

.resource-row em,
.resource-row b,
.resource-row i {
  justify-self: start;
  font-style: normal;
}

.match-lab {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.match-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.match-result .download-link {
  margin-top: 16px;
}

.matrix-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 76px;
}

.matrix-grid,
.guide-hub {
  display: grid;
  gap: 16px;
}

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

.matrix-grid div,
.guide-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.matrix-grid div:hover,
.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .72);
  box-shadow: 0 20px 38px rgba(8, 145, 178, .12);
}

.matrix-grid span,
.guide-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.guide-hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 76px;
}

.featured-guide {
  grid-column: span 2;
  min-height: 280px;
  background:
    radial-gradient(circle at 90% 20%, rgba(34, 211, 238, .22), transparent 26%),
    linear-gradient(135deg, #fff, #ecfeff);
}

.guide-card p {
  color: var(--muted);
  line-height: 1.7;
}

.real-guide-grid .guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.real-guide-grid .guide-card .download-link {
  align-self: end;
  width: fit-content;
  margin-top: 6px;
  padding: 0 18px;
}

.guide-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 76px;
}

.guide-article {
  display: grid;
  gap: 22px;
}

.guide-section,
.guide-toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
}

.guide-section h2,
.guide-section h3 {
  margin-top: 0;
}

.guide-section p,
.guide-section li {
  color: #394b55;
  line-height: 1.85;
}

.guide-section ul,
.guide-section ol {
  margin: 0;
  padding-left: 22px;
}

.guide-chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.guide-chip-list div,
.guide-faq details {
  padding: 14px;
  border: 1px solid rgba(219, 229, 231, .86);
  border-radius: 8px;
  background: #fff;
}

.guide-chip-list strong {
  display: block;
  margin-bottom: 6px;
}

.guide-toc {
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.guide-toc a {
  color: #0e7490;
  font-weight: 800;
}

.guide-faq {
  display: grid;
  gap: 10px;
}

.guide-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.guide-related-firmware {
  border-color: rgba(14, 116, 144, .24);
  background: linear-gradient(135deg, rgba(236, 254, 255, .9), rgba(255, 255, 255, .94));
}

.related-firmware-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.related-firmware-grid a {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(219, 229, 231, .86);
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.related-firmware-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 116, 144, .42);
  box-shadow: 0 14px 26px rgba(8, 145, 178, .1);
}

.related-firmware-grid strong {
  line-height: 1.45;
}

.related-firmware-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.guide-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.safety-workbench {
  grid-template-columns: 1fr 1fr;
}

.hash-result {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 8px;
  color: #475569;
  background: #f1f5f9;
}

.hash-result.is-ok {
  color: #166534;
  background: #dcfce7;
}

.hash-result.is-bad {
  color: #991b1b;
  background: #fee2e2;
}

.safety-checks {
  display: grid;
  gap: 12px;
}

.safety-checks label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.submit-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 76px;
}

.submit-form {
  display: grid;
  gap: 14px;
}

.firmware-request-form {
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
  backdrop-filter: blur(18px);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.firmware-request-form label {
  display: grid;
  gap: 8px;
}

.firmware-request-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.firmware-request-form input,
.firmware-request-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.firmware-request-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.firmware-request-form input:focus,
.firmware-request-form textarea:focus {
  border-color: rgba(34, 211, 238, .82);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .14);
}

.request-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.submit-form.is-entering {
  animation: card-pop .36s cubic-bezier(.2, .8, .2, 1) both;
}

.rank-panel,
.safety-panel {
  padding: 28px;
}

.rank-list,
.check-list {
  margin: 0;
  padding: 0;
}

.rank-list {
  list-style: none;
  counter-reset: rank;
}

.rank-list li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-top: 1px solid var(--line);
}

.rank-list li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  background: #0e7490;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .42);
  animation: node-pulse 2.8s ease-in-out infinite;
}

.rank-list strong {
  color: var(--green);
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--line);
  color: #394b55;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at center, #fff 0 3px, #16a34a 4px);
}

.auth-shell,
.account-shell {
  display: grid;
  gap: 24px;
  width: min(1040px, calc(100% - 36px));
  margin: 56px auto 86px;
}

.auth-shell {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: start;
}

.auth-copy,
.auth-panel,
.account-head,
.account-stats,
.order-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(16, 24, 32, .08);
  backdrop-filter: blur(18px);
}

.auth-copy {
  min-height: 360px;
  padding: 34px;
  background:
    linear-gradient(140deg, rgba(236, 254, 255, .92), rgba(255, 255, 255, .9)),
    #fff;
}

.auth-copy h1,
.account-head h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 56px);
}

.auth-copy p,
.account-head p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}

.auth-panel {
  padding: 26px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.auth-tabs button.active {
  color: #fff;
  background: #0e7490;
  box-shadow: 0 10px 22px rgba(8, 145, 178, .2);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.auth-form input:focus {
  border-color: rgba(34, 211, 238, .82);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .14);
}

.captcha-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.captcha-field span,
.captcha-field input {
  grid-column: 1 / -1;
}

.captcha-field b {
  color: #0e7490;
}

.auth-session {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(14, 116, 144, .22);
  border-radius: 8px;
  background: #ecfeff;
}

.auth-session span {
  color: var(--muted);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-hint {
  margin: -2px 0 0;
  color: #0e7490;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.account-head {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.account-head p {
  margin-right: auto;
  margin-left: auto;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

.account-stats div {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(219, 229, 231, .84);
  border-radius: 8px;
  background: #fff;
}

.account-stats span,
.order-main span,
.order-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-number {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.order-number span {
  overflow-wrap: anywhere;
}

.order-copy-button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(14, 116, 144, .24);
  border-radius: 8px;
  background: #ecfeff;
  color: #0e7490;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.order-copy-button:hover {
  border-color: rgba(14, 116, 144, .52);
  background: #cffafe;
}

.account-stats strong {
  overflow-wrap: anywhere;
  font-size: 22px;
}

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

.order-section {
  margin-top: 18px;
  padding: 26px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(219, 229, 231, .86);
  border-radius: 8px;
  background: #fff;
}

.order-main h3 {
  margin: 6px 0;
  font-size: 20px;
  line-height: 1.35;
}

.order-main p {
  margin: 0;
  color: var(--muted);
}

.order-meta {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.order-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: #166534;
  background: #dcfce7;
}

.empty-orders {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(14, 116, 144, .32);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #5f6f7b;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-links,
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}

.footer-base {
  justify-content: space-between;
}

.footer-links strong,
.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 620px) {
  .tag-index-grid {
    grid-template-columns: 1fr;
  }

  .firmware-seo-tag {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    left: 34%;
    width: 66%;
    opacity: .46;
  }

  .hero-copy {
    width: min(560px, 100%);
  }

  .quick-strip,
  .brand-grid,
  .firmware-grid,
  .split-section,
  .brand-directory,
  .brand-firmware-list,
  .brand-taxonomy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-deck {
    right: 12px;
    top: 34%;
    width: 300px;
    opacity: .48;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-hero,
  .detail-layout,
  .page-hero,
  .resource-shell,
  .match-lab,
  .safety-workbench,
  .submit-layout,
  .request-layout,
  .guide-article-layout,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
  }

  .detail-console {
    max-width: 520px;
  }

  .detail-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .detail-sidebar .side-panel:first-child {
    grid-column: 1 / -1;
  }

  .resource-row {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .resource-row .custom-request-link,
  .resource-row .guide-link {
    grid-column: 1 / -1;
  }

  .matrix-grid,
  .guide-hub,
  .account-stats {
    grid-template-columns: 1fr 1fr;
  }

  .featured-guide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    gap: 14px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 44px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, .97) 0%, rgba(247, 251, 255, .92) 48%, rgba(247, 251, 255, .78) 100%);
  }

  .hero-visual {
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: 58% center;
    opacity: .22;
  }

  .scan-grid {
    background-size: 36px 36px, 36px 36px, 220% 100%;
    opacity: .44;
  }

  .tech-canvas {
    opacity: .56;
  }

  .hero-deck {
    display: none;
  }

  h1 {
    font-size: 43px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .brand-firmware-search {
    grid-template-columns: 1fr;
  }

  .brand-firmware-search button {
    width: 100%;
  }

  .hero-search button {
    margin-top: 6px;
  }

  .quick-strip,
  .brand-grid,
  .firmware-grid,
  .split-section,
  .brand-directory,
  .brand-firmware-list,
  .brand-taxonomy-grid,
  .brand-seo-copy {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip a:last-child {
    border-bottom: 0;
  }

  .filters {
    align-items: stretch;
  }

  .segmented,
  .filters label,
  .filters select {
    width: 100%;
  }

  .segmented {
    grid-template-columns: 1fr;
  }

  .filters label {
    justify-content: space-between;
  }

  .site-footer {
    display: grid;
  }

  .footer-links,
  .footer-base {
    display: grid;
    gap: 8px;
  }

  .site-footer span {
    display: block;
    margin-top: 8px;
  }

  .detail-hero {
    min-height: 620px;
    padding-top: 40px;
  }

  .detail-hero::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, .97), rgba(247, 251, 255, .9));
  }

  .guide-hero {
    min-height: 520px;
  }

  .guide-hero .page-hero-copy h1 {
    font-size: 34px;
    line-height: 1.22;
  }

  .detail-tags {
    gap: 8px;
  }

  .spec-grid,
  .detail-sidebar,
  .match-form,
  .request-grid,
  .guide-chip-list,
  .related-firmware-grid,
  .matrix-grid,
  .guide-hub,
  .brand-directory,
  .brand-firmware-list,
  .brand-taxonomy-grid,
  .brand-seo-copy,
  .account-stats,
  .order-card {
    grid-template-columns: 1fr;
  }

  .account-head {
    display: grid;
  }

  .price-strip {
    grid-template-columns: 1fr;
  }

  .request-captcha {
    grid-template-columns: 1fr;
  }

  .resource-row {
    grid-template-columns: 1fr;
  }

  .brand-guide-card {
    grid-template-columns: 1fr;
  }

  .resource-row em,
  .resource-row b,
  .resource-row i {
    justify-self: start;
  }

  .custom-modal {
    align-items: end;
    padding: 12px;
  }

  .custom-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .detail-panel,
  .side-panel {
    padding: 20px;
  }

  .mirror-item {
    grid-template-columns: 1fr;
  }

  .mirror-item em {
    grid-column: auto;
    grid-row: auto;
    width: fit-content;
  }

  .page-hero {
    min-height: 560px;
    padding-top: 40px;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, .97), rgba(247, 251, 255, .9));
  }

  .resource-row {
    grid-template-columns: 1fr;
  }

  .board-toolbar {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .tech-canvas {
    display: none;
  }
}

@keyframes sheen {
  0%, 62% {
    transform: translateX(-130%) rotate(8deg);
  }
  76%, 100% {
    transform: translateX(130%) rotate(8deg);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, -48px 48px, 100% 0;
  }
}

@keyframes scan-pass {
  0%, 18% {
    opacity: .36;
  }
  45% {
    opacity: .72;
  }
  100% {
    opacity: .45;
  }
}

@keyframes visual-float {
  0%, 100% {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.03) translate3d(-8px, -10px, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes module-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(.001deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(.001deg);
  }
}

@keyframes status-pulse {
  0%, 100% {
    transform: scaleX(.72);
    opacity: .62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes signal-run {
  0% {
    transform: translateX(-28px);
    opacity: .2;
  }
  50% {
    opacity: .95;
  }
  100% {
    transform: translateX(28px);
    opacity: .2;
  }
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes node-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, .36);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
  }
}

.admin-page {
  background: #f6fbfc;
}

.admin-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 20px 72px;
}

.admin-login {
  max-width: 520px;
  margin: 80px auto;
}

.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-side-nav {
  position: fixed;
  left: 14px;
  top: 96px;
  z-index: 10;
  display: grid;
  gap: 14px;
}

.admin-side-nav button {
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #fff;
  color: #0b8aaa;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(8, 145, 178, .12);
}

.admin-side-nav button.active {
  border-color: #ef4444;
  color: #ef4444;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

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

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 20px;
}

.admin-panel-title {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-title h2 {
  margin: 0;
}

.admin-panel-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.admin-date-toolbar {
  display: grid;
  grid-template-columns: minmax(290px, auto) minmax(210px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fcfd 0%, #f3f8fa 100%);
}

.admin-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(136px, 1fr));
  gap: 10px;
}

.admin-date-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-date-toolbar input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font: 600 14px/1.2 inherit;
}

.admin-date-presets {
  display: inline-flex;
  justify-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-date-presets button,
.admin-date-submit {
  height: 40px;
  border: 0;
  padding: 0 16px;
  font: 700 14px/1 inherit;
  cursor: pointer;
  white-space: nowrap;
}

.admin-date-presets button {
  color: var(--muted);
  background: #fff;
  border-right: 1px solid var(--line);
}

.admin-date-presets button:last-child {
  border-right: 0;
}

.admin-date-presets button:hover {
  color: #087f96;
  background: #eefbfe;
}

.admin-date-submit {
  min-width: 88px;
  border-radius: 6px;
  color: #fff;
  background: #0b7f99;
  box-shadow: 0 8px 16px rgba(8, 145, 178, .16);
}

.admin-date-submit:hover {
  background: #075f74;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.payment-methods button {
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.payment-methods button.active {
  background: #0b7f99;
  color: #fff;
  box-shadow: 0 8px 16px rgba(8, 145, 178, .16);
}

.wechat-pay-box {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wechat-pay-box[hidden] {
  display: none;
}

.wechat-pay-box img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wechat-pay-box div {
  display: grid;
  gap: 10px;
}

.wechat-pay-box strong {
  font-size: 18px;
}

.wechat-pay-box span {
  color: var(--muted);
  word-break: break-all;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.admin-breakdown {
  display: grid;
  gap: 12px;
}

.admin-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-operations {
  display: grid;
  gap: 18px;
}

.admin-operation-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
}

.admin-operation-tabs button {
  min-width: 112px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: 800 15px/1 inherit;
  cursor: pointer;
}

.admin-operation-tabs button:hover {
  color: #087f96;
  background: #eefbfe;
}

.admin-operation-tabs button.active {
  border-color: #0b8aaa;
  color: #fff;
  background: #0b8aaa;
  box-shadow: 0 8px 16px rgba(8, 145, 178, .16);
}

.admin-popup-copy-panel {
  width: 100%;
  max-width: none;
}

.popup-copy-form {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.popup-copy-section {
  display: grid;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.popup-copy-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.popup-copy-section-heading .eyebrow {
  margin-bottom: 6px;
}

.popup-copy-section-heading h3 {
  margin: 0;
  font-size: 22px;
}

.popup-copy-section-heading > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.popup-copy-section label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.popup-copy-section input,
.popup-copy-section textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: 500 16px/1.6 inherit;
}

.popup-copy-section textarea {
  min-height: 96px;
  resize: vertical;
}

.popup-copy-section input:focus,
.popup-copy-section textarea:focus {
  outline: 2px solid rgba(6, 182, 212, .22);
  border-color: #22b8d5;
}

.popup-copy-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
}

.popup-copy-actions p {
  margin: 0;
  color: #087f96;
  font-weight: 700;
}

@media (max-width: 900px) {
  .admin-side-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .admin-side-nav button {
    font-size: 16px;
  }

  .popup-copy-section-heading,
  .popup-copy-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .popup-copy-section-heading > span {
    text-align: left;
  }

  .popup-copy-actions .admin-date-submit {
    width: 100%;
  }

  .admin-topbar {
    flex-direction: column;
  }

  .admin-panel-title {
    flex-direction: column;
  }

  .admin-date-toolbar {
    grid-template-columns: 1fr;
    justify-content: flex-start;
    width: 100%;
  }

  .admin-date-fields,
  .admin-date-presets {
    width: 100%;
  }

  .admin-date-presets button {
    flex: 1;
  }

  .admin-date-submit {
    width: 100%;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}
