:root {
  --kxy-device-blue: #0b4f8a;
  --kxy-device-blue-dark: #083b69;
  --kxy-device-blue-light: #edf5fb;
  --kxy-device-gold: #c99a36;
  --kxy-device-text: #1c2733;
  --kxy-device-muted: #687585;
  --kxy-device-line: #dce4ec;
  --kxy-device-bg: #f5f8fb;
}

.kxy-device-page {
  background: var(--kxy-device-bg);
  color: var(--kxy-device-text);
}

.kxy-device-page *,
.kxy-device-page *::before,
.kxy-device-page *::after {
  box-sizing: border-box;
}

.kxy-device-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 48px;
  background:
    linear-gradient(110deg, rgba(5, 48, 85, 0.98), rgba(11, 79, 138, 0.92)),
    linear-gradient(135deg, #073d6c, #0b5c9d);
  color: #fff;
}

.kxy-device-hero::after {
  position: absolute;
  right: -80px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.kxy-device-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.kxy-device-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.kxy-device-breadcrumb a:hover {
  color: #fff;
}

.kxy-device-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: end;
}

.kxy-device-hero__eyebrow,
.kxy-device-search__heading span,
.kxy-device-results__head span,
.kxy-device-cta > div > span {
  display: block;
  margin-bottom: 9px;
  color: var(--kxy-device-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.kxy-device-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.2;
}

.kxy-device-hero__content > div:first-child p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.85;
}

.kxy-device-hero__note {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.kxy-device-hero__note strong,
.kxy-device-hero__note span {
  display: block;
}

.kxy-device-hero__note strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.kxy-device-hero__note span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.kxy-device-main {
  padding: 42px 0 68px;
}

.kxy-device-search,
.kxy-device-results,
.kxy-device-cta {
  background: #fff;
  box-shadow: 0 10px 32px rgba(32, 61, 88, 0.06);
}

.kxy-device-search {
  padding: 30px 32px;
  border-top: 3px solid var(--kxy-device-blue);
}

.kxy-device-search__heading,
.kxy-device-results__head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.kxy-device-search__heading h2,
.kxy-device-results__head h2,
.kxy-device-cta h2 {
  margin: 0;
  color: var(--kxy-device-blue-dark);
  font-size: 25px;
  line-height: 1.35;
}

.kxy-device-search__heading p,
.kxy-device-results__head p {
  max-width: 520px;
  margin: 0;
  color: var(--kxy-device-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.kxy-device-search__form {
  display: grid;
  grid-template-columns: 190px minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-top: 26px;
}

.kxy-device-field {
  display: block;
}

.kxy-device-field > span {
  display: block;
  margin-bottom: 8px;
  color: #394655;
  font-size: 14px;
  font-weight: 600;
}

.kxy-device-field select,
.kxy-device-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #cfd9e3;
  border-radius: 3px;
  background: #fff;
  color: var(--kxy-device-text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.kxy-device-field select {
  padding: 0 38px 0 14px;
}

.kxy-device-field input {
  padding: 0 15px;
}

.kxy-device-field select:focus,
.kxy-device-field input:focus {
  border-color: var(--kxy-device-blue);
  box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.1);
}

.kxy-device-search__actions {
  display: grid;
  grid-template-columns: 116px 104px;
  gap: 10px;
}

.kxy-device-search__actions button,
.kxy-device-search__actions a {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.kxy-device-search__actions button {
  border: 1px solid var(--kxy-device-blue);
  background: var(--kxy-device-blue);
  color: #fff;
}

.kxy-device-search__actions button:hover {
  background: var(--kxy-device-blue-dark);
}

.kxy-device-search__actions a {
  border: 1px solid #cfd9e3;
  background: #fff;
  color: #4d5a67;
}

.kxy-device-search__actions a:hover {
  border-color: var(--kxy-device-blue);
  color: var(--kxy-device-blue);
}

.kxy-device-search__tip {
  margin-top: 18px;
  padding: 12px 15px;
  border-left: 3px solid var(--kxy-device-gold);
  background: #faf8f2;
  color: #706342;
  font-size: 14px;
  line-height: 1.7;
}

.kxy-device-results {
  margin-top: 28px;
  padding: 30px 32px 34px;
}

.kxy-device-table {
  overflow: hidden;
  margin-top: 25px;
  border: 1px solid var(--kxy-device-line);
  border-radius: 4px;
}

.kxy-device-table__head,
.kxy-device-row {
  display: grid;
  grid-template-columns: 1.08fr 1.35fr 0.9fr 1.08fr 108px;
  align-items: stretch;
}

.kxy-device-table__head {
  min-height: 48px;
  background: var(--kxy-device-blue);
  color: #fff;
}

.kxy-device-table__head > div {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 600;
}

.kxy-device-table__head > div:last-child {
  border-right: 0;
  justify-content: center;
}

.kxy-device-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kxy-device-row {
  min-height: 66px;
  border-bottom: 1px solid var(--kxy-device-line);
  background: #fff;
  transition: background 0.2s;
}

.kxy-device-row:last-child {
  border-bottom: 0;
}

.kxy-device-row:nth-child(even) {
  background: #fbfcfd;
}

.kxy-device-row:hover {
  background: var(--kxy-device-blue-light);
}

.kxy-device-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 13px 16px;
  border-right: 1px solid #e8edf2;
  color: #4c5966;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.kxy-device-cell:last-child {
  border-right: 0;
}

.kxy-device-cell--title strong {
  color: #172536;
  font-size: 15px;
  font-weight: 650;
}

.kxy-device-cell--action {
  justify-content: center;
}

.kxy-device-cell--action a {
  display: inline-flex;
  min-width: 76px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 79, 138, 0.35);
  border-radius: 2px;
  color: var(--kxy-device-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.kxy-device-cell--action a:hover {
  border-color: var(--kxy-device-blue);
  background: var(--kxy-device-blue);
  color: #fff;
}

.kxy-device-value:empty::before {
  color: #9aa5b1;
  content: "未注明";
}

.kxy-device-empty {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  color: var(--kxy-device-muted);
  text-align: center;
}

.kxy-device-empty strong {
  color: #344353;
  font-size: 18px;
}

.kxy-device-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.kxy-device-pagination a,
.kxy-device-pagination b,
.kxy-device-pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #d3dce5;
  border-radius: 3px;
  background: #fff;
  color: #4a5968;
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
}

.kxy-device-pagination a:hover,
.kxy-device-pagination b {
  border-color: var(--kxy-device-blue);
  background: var(--kxy-device-blue);
  color: #fff;
}

.kxy-device-cta {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
  margin-top: 28px;
  padding: 34px 36px;
  border-left: 4px solid var(--kxy-device-gold);
}

.kxy-device-cta > div:first-child {
  max-width: 760px;
}

.kxy-device-cta p {
  margin: 12px 0 0;
  color: var(--kxy-device-muted);
  font-size: 15px;
  line-height: 1.75;
}

.kxy-device-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.kxy-device-cta__actions a {
  display: inline-flex;
  min-width: 124px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kxy-device-blue);
  border-radius: 3px;
  color: var(--kxy-device-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.kxy-device-cta__actions a.is-primary,
.kxy-device-cta__actions a:hover {
  background: var(--kxy-device-blue);
  color: #fff;
}

@media (max-width: 980px) {
  .kxy-device-hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kxy-device-hero__note {
    max-width: 520px;
  }

  .kxy-device-search__form {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .kxy-device-search__actions {
    grid-column: 1 / -1;
    width: 230px;
  }

  .kxy-device-table__head,
  .kxy-device-row {
    grid-template-columns: 1fr 1.2fr 0.85fr 1fr 92px;
  }

  .kxy-device-cell,
  .kxy-device-table__head > div {
    padding-right: 12px;
    padding-left: 12px;
  }

  .kxy-device-cta {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .kxy-device-hero {
    padding: 28px 0 34px;
  }

  .kxy-device-breadcrumb {
    margin-bottom: 22px;
  }

  .kxy-device-hero h1 {
    font-size: 30px;
  }

  .kxy-device-hero__content > div:first-child p {
    font-size: 15px;
    line-height: 1.75;
  }

  .kxy-device-main {
    padding: 22px 0 42px;
  }

  .kxy-device-search,
  .kxy-device-results {
    padding: 22px 16px;
  }

  .kxy-device-search__heading,
  .kxy-device-results__head {
    display: block;
  }

  .kxy-device-search__heading h2,
  .kxy-device-results__head h2,
  .kxy-device-cta h2 {
    font-size: 22px;
  }

  .kxy-device-search__heading p,
  .kxy-device-results__head p {
    margin-top: 9px;
    text-align: left;
  }

  .kxy-device-search__form {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .kxy-device-search__actions {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .kxy-device-table {
    overflow: visible;
    border: 0;
  }

  .kxy-device-table__head {
    display: none;
  }

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

  .kxy-device-row {
    display: block;
    min-height: 0;
    padding: 15px 16px;
    border: 1px solid var(--kxy-device-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(32, 61, 88, 0.05);
  }

  .kxy-device-row:nth-child(even),
  .kxy-device-row:hover {
    background: #fff;
  }

  .kxy-device-cell {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 38px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px dashed #e3e9ef;
  }

  .kxy-device-cell::before {
    color: #748190;
    font-size: 13px;
    content: attr(data-label);
  }

  .kxy-device-cell--title {
    padding-top: 0;
  }

  .kxy-device-cell--title strong {
    font-size: 17px;
  }

  .kxy-device-cell--action {
    display: flex;
    justify-content: flex-end;
    padding-top: 13px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .kxy-device-cell--action::before {
    display: none;
  }

  .kxy-device-cell--action a {
    min-width: 104px;
    height: 36px;
  }

  .kxy-device-pagination {
    gap: 6px;
    margin-top: 22px;
  }

  .kxy-device-pagination a,
  .kxy-device-pagination b,
  .kxy-device-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }

  .kxy-device-cta {
    display: block;
    padding: 25px 20px;
  }

  .kxy-device-cta__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }
}

@media (max-width: 420px) {
  .kxy-device-hero__note {
    padding: 19px 18px;
  }

  .kxy-device-cta__actions {
    grid-template-columns: 1fr;
  }
}
