:root {
  color-scheme: light;
  --bg: #edf6ff;
  --panel: #ffffff;
  --panel-soft: #f7fbff;
  --text: #111827;
  --muted: #6c7a92;
  --line: #dce8f6;
  --blue: #4d8dff;
  --blue-2: #6aa2ff;
  --shadow: 0 18px 50px rgba(58, 102, 163, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 5%, rgba(106, 162, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #f6fbff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(220, 232, 246, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 180px;
  max-width: 32vw;
  height: auto;
  object-fit: contain;
}

.brand strong,
.brand span {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand span,
.hint,
.hero-panel p {
  color: var(--muted);
}

.jump-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jump-nav a,
.filter-row button,
.screen-tabs button,
.screen-meta a {
  border: 1px solid var(--line);
  background: #fff;
  color: #48617f;
  border-radius: 999px;
  font-weight: 800;
}

.jump-nav a {
  padding: 9px 14px;
  font-size: 14px;
}

main {
  width: min(1480px, calc(100vw - 36px));
  margin: 24px auto 56px;
}

.hero-panel,
.section-shell {
  border: 1px solid rgba(220, 232, 246, 0.92);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

h2 {
  font-size: 26px;
}

.hero-panel p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.8;
}

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

.summary-grid div {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f3f8ff);
}

.summary-grid strong,
.summary-grid span {
  display: block;
}

.summary-grid strong {
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
}

.summary-grid span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.section-shell {
  margin-top: 24px;
  padding: 24px;
  border-radius: 26px;
}

.real-size-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.spec-phone {
  position: relative;
  width: 390px;
  min-height: 812px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #eef6ff;
  box-shadow: 0 22px 60px rgba(58, 102, 163, 0.18);
}

.measure {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
}

.spec-brand-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid #e5eef9;
  background: rgba(255, 255, 255, 0.96);
}

.spec-brand-header img {
  display: block;
  width: 120px;
  height: 32px;
  object-fit: contain;
}

.spec-brand-header button {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #b9d3ff;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.spec-sport-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  height: 52px;
  border-bottom: 1px solid #e5eef9;
  background: #fff;
}

.spec-sport-tabs button {
  position: relative;
  height: 52px;
  border: 0;
  background: transparent;
  color: #52647f;
  font-size: 15px;
  font-weight: 900;
}

.spec-sport-tabs button.active {
  color: var(--blue);
}

.spec-sport-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 18px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--blue);
}

.spec-banner {
  position: relative;
  height: 158px;
  margin: 14px;
  padding: 28px 22px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.62) 0 10%, transparent 11%),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.44) 0 9%, transparent 10%),
    linear-gradient(135deg, #103766 0%, #245ea4 52%, #1e7ae5 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(49, 112, 191, 0.22);
}

.spec-banner strong,
.spec-banner span {
  display: block;
  position: relative;
  z-index: 1;
}

.spec-banner strong {
  font-size: 30px;
  line-height: 1.1;
}

.spec-banner span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.spec-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.spec-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.spec-dots i:first-child {
  width: 22px;
  background: #75aaff;
}

.spec-booking-row {
  position: relative;
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 0 14px 18px;
}

.spec-booking-card {
  position: relative;
  flex: 0 0 160px;
  height: 128px;
  padding: 14px;
  border: 1px solid #dfebf9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(70, 111, 164, 0.12);
}

.spec-booking-card div {
  display: grid;
  gap: 8px;
  max-width: 86px;
}

.spec-booking-card b,
.spec-booking-card span,
.spec-booking-card time {
  color: #52647f;
  font-weight: 900;
}

.spec-booking-card time {
  position: absolute;
  top: 14px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 58px;
  border: 1px solid #e1eaf6;
  border-radius: 14px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

.spec-booking-card button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 70px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #86b5ff, #4d8dff);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(77, 141, 255, 0.28);
}

.spec-live-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 14px 92px;
}

.spec-live-card {
  overflow: hidden;
  border: 1px solid #e1eaf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(70, 111, 164, 0.12);
}

.spec-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #182b48, #356f41 55%, #d82727);
}

.spec-cover.alt {
  background: linear-gradient(135deg, #172543, #c97822 46%, #315edb);
}

.spec-cover span {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #ef233c;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.spec-cover b {
  position: absolute;
  right: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 12px;
}

.spec-live-card h3 {
  margin: 10px 10px 6px;
  font-size: 13px;
  line-height: 1.35;
}

.spec-live-card p {
  margin: 0 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.spec-bottom-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  height: 68px;
  border-top: 1px solid #e5eef9;
  background: rgba(255, 255, 255, 0.96);
}

.spec-bottom-tabbar button {
  height: 54px;
  border: 0;
  background: transparent;
  color: #96a6bc;
  font-size: 12px;
  font-weight: 900;
}

.spec-bottom-tabbar button::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 4px;
  border-radius: 8px;
  background: #c7d3e5;
}

.spec-bottom-tabbar button.active {
  color: var(--blue);
}

.spec-bottom-tabbar button.active::before {
  background: linear-gradient(135deg, #75aaff, #337cff);
  box-shadow: 0 8px 18px rgba(77, 141, 255, 0.3);
}

.spec-notes {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.spec-notes h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.spec-notes h3:not(:first-child) {
  margin-top: 22px;
}

.spec-notes p,
.spec-notes li {
  color: var(--muted);
  line-height: 1.8;
}

.spec-notes ul {
  margin: 0;
  padding-left: 20px;
}

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

.screen-layout {
  display: grid;
  grid-template-columns: 220px minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.screen-tabs {
  display: grid;
  gap: 10px;
}

.screen-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.16s ease;
}

.screen-tabs button.is-active,
.filter-row button.is-active {
  border-color: rgba(77, 141, 255, 0.4);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(77, 141, 255, 0.26);
}

.phone-stage {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 10px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(53, 93, 151, 0.2);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #eef6ff;
}

.screen-meta {
  width: min(100%, 390px);
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.screen-meta strong {
  font-size: 20px;
}

.screen-meta span {
  color: var(--muted);
}

.screen-meta a {
  width: fit-content;
  margin-top: 6px;
  padding: 8px 12px;
  color: var(--blue);
}

.thumbnail-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.thumb-card,
.component-card,
.icon-card,
.logo-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(58, 102, 163, 0.08);
}

.thumb-card {
  padding: 10px;
  cursor: pointer;
}

.thumb-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 12px 34px rgba(77, 141, 255, 0.24);
}

.thumb-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #f7fbff;
}

.thumb-card span {
  display: block;
  margin-top: 8px;
  color: #334764;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-row button {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.component-card {
  display: grid;
  overflow: hidden;
}

.component-card figure,
.icon-card figure,
.logo-card figure {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 16px;
  background:
    linear-gradient(45deg, rgba(238, 246, 255, 0.76) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(238, 246, 255, 0.76) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(238, 246, 255, 0.76) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(238, 246, 255, 0.76) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.component-card img,
.icon-card img,
.logo-card img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.component-info,
.icon-info,
.logo-info {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.component-info strong,
.icon-info strong,
.logo-info strong {
  display: block;
  font-size: 15px;
}

.component-info span,
.icon-info span,
.logo-info span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.icon-grid,
.logo-grid,
.true-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.true-icon-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(58, 102, 163, 0.08);
}

.true-icon-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 10px;
  min-height: 92px;
  border-radius: 14px;
  background: #f7fbff;
}

.true-icon-stage img {
  object-fit: contain;
}

.true-icon-stage .svg-24,
.true-icon-stage .png-24 {
  width: 24px;
  height: 24px;
}

.true-icon-stage .tab-32 {
  width: 32px;
  height: 32px;
}

.true-icon-card strong,
.true-icon-card span {
  display: block;
}

.true-icon-card strong {
  margin-top: 12px;
  font-size: 14px;
}

.true-icon-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.icon-card figure {
  min-height: 120px;
}

.logo-card figure {
  min-height: 150px;
}

@media (max-width: 1100px) {
  .hero-panel,
  .screen-layout,
  .real-size-layout {
    grid-template-columns: 1fr;
  }

  .screen-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .screen-tabs button {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    max-width: 170px;
  }

  .brand div {
    display: none;
  }

  main {
    width: min(100vw - 20px, 430px);
    margin-top: 12px;
  }

  .hero-panel,
  .section-shell {
    border-radius: 20px;
    padding: 18px;
  }

  .summary-grid,
  .screen-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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