.showcase-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(20, 208, 180, 0.18), transparent 25rem),
    var(--paper);
}

.showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: 650px;
  padding: 96px 0 100px;
}

.showcase-kicker,
.exhibit-number {
  margin-bottom: 20px;
  color: var(--qingju-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-hero h1,
.exhibit-hero h1 {
  max-width: 11em;
}

.showcase-hero h1 > span {
  display: block;
}

.cabinet-mark {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #e3efeb url("../assets/showcase/jian-shan-assembled.png") center / cover no-repeat;
  box-shadow: 14px 14px 0 var(--citrus);
}

.cabinet-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--card);
  font-size: 0.75rem;
  font-weight: 800;
}

.exhibit-list-section {
  padding: 104px 0 126px;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.exhibit-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 54px;
}

.exhibit-list-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  letter-spacing: -0.04em;
}

.exhibit-list-heading p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.exhibit-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
}

.exhibit-card-art {
  min-height: 410px;
  border-right: 1px solid var(--ink);
}

.exhibit-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
}

.exhibit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.exhibit-meta span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.exhibit-card h2 {
  margin: 24px 0 16px;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  letter-spacing: -0.05em;
}

.exhibit-card-copy > p {
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.8;
}

.exhibit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.exhibit-hero {
  padding: 86px 0 72px;
}

.exhibit-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(46px, 8vw, 112px);
  align-items: center;
}

.exhibit-hero-visual {
  display: grid;
  gap: 22px;
}

.exhibit-hero-media {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 12px 12px 0 var(--citrus);
}

.exhibit-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.exhibit-side-note {
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--card);
  box-shadow: 9px 9px 0 var(--qingju);
}

.exhibit-side-note dl,
.exhibit-side-note dd {
  margin: 0;
}

.exhibit-side-note div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.exhibit-side-note div:first-child { border-top: 0; }
.exhibit-side-note dt { color: var(--muted); }

.leaderboard-section h2,
.credits-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  letter-spacing: -0.04em;
}

.demo-video-section {
  padding: 96px 0;
}

.demo-video-copy {
  margin-bottom: 34px;
}

.demo-video-copy .showcase-kicker { margin-bottom: 0; }

.video-source-note {
  color: var(--muted);
  line-height: 1.75;
}

.bilibili-player-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--citrus);
}

.bilibili-player-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-source-note {
  margin: 22px 0 0;
  font-size: 0.84rem;
}

.video-source-note a {
  color: var(--ink);
  font-weight: 800;
}

.leaderboard-section,
.credits-section {
  padding: 96px 0;
}

.leaderboard-section {
  background: var(--paper-deep);
}

.difficulty-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 32px 0 22px;
}

.difficulty-tabs button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
}

.difficulty-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.leaderboard-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.leaderboard-table th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.leaderboard-table td:first-child { width: 72px; color: var(--qingju-dark); font-weight: 800; }
.leaderboard-table td:nth-child(3) { font-variant-numeric: tabular-nums; font-weight: 800; }
.leaderboard-status { margin-top: 14px; color: var(--ink); font-size: 0.82rem; }

.credits-section {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.credit-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.credit-card h3 { margin-bottom: 10px; }
.credit-card p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

@media (max-width: 800px) {
  .showcase-hero,
  .exhibit-card,
  .exhibit-hero-grid {
    grid-template-columns: 1fr;
  }
  .exhibit-hero-visual { margin-top: 18px; }
  .showcase-hero { min-height: auto; padding: 72px 0 84px; }
  .exhibit-card-art { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .exhibit-list-heading { display: block; }
  .exhibit-list-heading h2 { margin-bottom: 18px; }
  .credits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .showcase-hero h1,
  .exhibit-hero h1 { font-size: clamp(2.8rem, 16vw, 4.4rem); }
  .cabinet-mark { min-height: 280px; }
}
