* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #f3f5f8;
}

html.is-edge,
html.is-edge * {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
}

html.is-edge .showcase-card:hover {
  transform: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #14171f;
  background:
    radial-gradient(68rem 40rem at 18% -10%, rgba(115, 184, 255, 0.48), transparent 68%),
    radial-gradient(54rem 38rem at 100% 4%, rgba(166, 201, 123, 0.34), transparent 64%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  font-family: "Segoe UI Variable Display", "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.showcase-shell {
  min-height: 100vh;
  padding-bottom: 4rem;
}

.showcase-wrap {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 23, 31, 0.08);
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.site-brand img {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav-link,
.site-button,
.showcase-primary,
.showcase-secondary,
.showcase-filter,
.showcase-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.site-nav-link {
  padding: 0 0.8rem;
  color: rgba(20, 23, 31, 0.64);
}

.site-nav-link:hover,
.site-nav-link[aria-current="page"] {
  color: #14171f;
  background: rgba(20, 23, 31, 0.06);
}

.site-button,
.showcase-primary {
  background: #14171f;
  padding: 0 1rem;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 23, 31, 0.14);
}

.showcase-main {
  padding-top: clamp(2.2rem, 5vw, 4.5rem);
}

.showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.66fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.showcase-hero-copy,
.showcase-panel,
.showcase-card,
.showcase-detail-hero {
  border: 1px solid rgba(20, 23, 31, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 80px rgba(32, 45, 70, 0.1);
  backdrop-filter: blur(22px);
}

.showcase-hero-copy {
  border-radius: 8px;
  padding: clamp(1.7rem, 4vw, 3rem);
}

.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(20, 23, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 0.75rem;
  color: rgba(20, 23, 31, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-hero h1,
.showcase-detail-copy h1,
.showcase-panel h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.showcase-hero p,
.showcase-detail-copy p,
.showcase-card p,
.showcase-panel p,
.showcase-note-list {
  color: rgba(20, 23, 31, 0.68);
  line-height: 1.78;
}

.showcase-hero p,
.showcase-detail-copy p {
  max-width: 42rem;
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
}

.showcase-hero-stat {
  display: grid;
  align-content: end;
  border-radius: 8px;
  background: #14171f;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: #ffffff;
}

.showcase-hero-stat strong {
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
}

.showcase-hero-stat span {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.showcase-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  margin: 1.3rem 0 0;
}

.showcase-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(20, 23, 31, 0.12);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.88);
  padding: 0 1.1rem;
  color: #14171f;
  font-weight: 750;
}

.showcase-search button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #14171f;
  padding: 0 1.15rem;
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
}

.showcase-section {
  margin-top: 1.5rem;
}

.showcase-section-head,
.showcase-result-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-section-head h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.showcase-filters,
.showcase-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.showcase-filters {
  margin: 1rem 0;
}

.showcase-filter {
  border: 1px solid rgba(20, 23, 31, 0.1);
  background: rgba(255, 255, 255, 0.68);
  padding: 0 0.9rem;
  color: rgba(20, 23, 31, 0.66);
  font-size: 0.9rem;
}

.showcase-filter.is-active,
.showcase-filter:hover {
  background: #14171f;
  color: #ffffff;
}

.showcase-result-bar {
  color: rgba(20, 23, 31, 0.58);
  font-weight: 800;
}

.showcase-result-bar strong {
  color: #14171f;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.showcase-grid.featured {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.showcase-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.showcase-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 90px rgba(32, 45, 70, 0.16);
}

.showcase-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe5ec;
}

.showcase-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card-body {
  padding: 1rem;
}

.showcase-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
  color: rgba(20, 23, 31, 0.52);
  font-size: 0.78rem;
  font-weight: 850;
}

.showcase-card h2 {
  margin: 0.75rem 0 0;
  font-size: 1.35rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.showcase-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.showcase-card p {
  display: -webkit-box;
  margin: 0.6rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.showcase-chip-row {
  margin-top: 0.9rem;
}

.showcase-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(20, 23, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0 0.7rem;
  color: rgba(20, 23, 31, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.showcase-back {
  margin-bottom: 1rem;
  border: 1px solid rgba(20, 23, 31, 0.1);
  background: rgba(255, 255, 255, 0.74);
  padding: 0 1rem;
}

.showcase-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.showcase-detail-copy {
  padding: clamp(0.7rem, 2vw, 1.25rem);
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.showcase-secondary {
  border: 1px solid rgba(20, 23, 31, 0.1);
  background: rgba(255, 255, 255, 0.76);
  padding: 0 1rem;
}

.showcase-detail-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe5ec;
}

.showcase-detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-detail-media figcaption {
  padding: 0.75rem 0.9rem;
  color: rgba(20, 23, 31, 0.54);
  font-size: 0.82rem;
}

.showcase-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 1rem;
  margin-top: 1rem;
}

.showcase-panel {
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.showcase-note-list {
  margin: 0;
  padding-left: 1.25rem;
}

.showcase-note-list li + li {
  margin-top: 0.8rem;
}

.showcase-side-panel h2,
.showcase-stack h3 {
  margin: 0;
  font-size: 1.1rem;
}

.showcase-side-panel dl {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.showcase-side-panel dl div {
  border-top: 1px solid rgba(20, 23, 31, 0.08);
  padding-top: 0.75rem;
}

.showcase-side-panel dt {
  color: rgba(20, 23, 31, 0.48);
  font-size: 0.75rem;
  font-weight: 850;
}

.showcase-side-panel dd {
  margin: 0.28rem 0 0;
  color: #14171f;
  font-weight: 800;
  line-height: 1.5;
}

.showcase-stack {
  margin-top: 1.1rem;
}

.showcase-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(20, 23, 31, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 2rem;
  text-align: center;
}

.showcase-empty h2 {
  margin: 0;
}

.showcase-empty p {
  margin: 0.5rem 0 0;
}

@media (max-width: 840px) {
  .showcase-hero,
  .showcase-detail-hero,
  .showcase-detail-layout {
    grid-template-columns: 1fr;
  }

  .showcase-hero-stat {
    min-height: 180px;
  }
}

@media (max-width: 680px) {
  .showcase-wrap {
    width: min(100vw - 20px, 1180px);
  }

  .header-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .site-nav-link {
    padding: 0 0.65rem;
  }

  .showcase-search,
  .showcase-section-head,
  .showcase-result-bar {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .showcase-search button {
    width: 100%;
  }
}
