.wipe-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: 28px;
}

.showcase-panel {
  --lane-ink: var(--green);
  --lane-surface: var(--recent-surface);
  --lane-gutter: clamp(12px, 1.3vw, 20px);
  min-width: 0;
  container-type: inline-size;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--ink);
}
.showcase-upcoming { --lane-ink: var(--accent); --lane-surface: var(--upcoming-surface); }

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: center;
  padding: 12px var(--lane-gutter);
  background: var(--lane-surface);
  border-top: 2px solid var(--lane-ink);
  color: var(--sub);
}
.showcase-head h2 {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  color: var(--lane-ink);
  font: 700 clamp(1.95rem, 5.7cqw, 2.55rem)/1.03 var(--display);
  letter-spacing: -.018em;
}
.showcase-window, .showcase-count { grid-column: 2; text-align: right; line-height: 1.25; }
.showcase-window { font-size: .9rem; font-weight: 600; }
.showcase-count { font-size: .8rem; font-variant-numeric: tabular-nums; }

.showcase-list {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.showcase-group-col { width: 28%; }
.showcase-rate-col { width: 20%; }
.showcase-players-col { width: 23%; }
.showcase-list th, .showcase-list td { padding-inline: 4px; overflow-wrap: anywhere; }
.showcase-list th:first-child, .showcase-list td:first-child { padding-left: var(--lane-gutter); }
.showcase-list th:last-child, .showcase-list td:last-child { padding-right: var(--lane-gutter); text-align: right; }
.showcase-list thead th {
  padding-block: 8px;
  border-bottom: 1px solid var(--edge);
  font: 600 .83rem/1.25 var(--body);
  color: var(--sub);
}
.showcase-entry { position: relative; cursor: pointer; }
.showcase-entry td { padding-block: 8px 32px; vertical-align: middle; }
.showcase-entry + .showcase-entry td { border-top: 1px solid var(--edge); }
.showcase-entry:hover, .showcase-entry:focus-within { background: var(--hover); }
.showcase-value {
  color: var(--ink);
  font: 700 clamp(1.55rem, 5.2cqw, 2.05rem)/1 var(--display);
  overflow-wrap: anywhere;
}
.showcase-rate .showcase-value { color: var(--lane-ink); }
.showcase-value.long-value { font-size: 1.2rem; }
.showcase-entry .unlisted { color: var(--muted); font: 400 .87rem/1.25 var(--body); }
.showcase-population { font: 600 1.05rem/1.25 var(--body); }
.showcase-capacity { font-weight: 400; font-size: .9rem; color: var(--sub); }
.showcase-timing { display: block; }
.showcase-timing strong { display: block; font: 700 clamp(1rem, 3.6cqw, 1.22rem)/1.1 var(--display); color: var(--ink); }
.showcase-local { display: block; font: 400 .79rem/1.25 var(--body); color: var(--sub); }

.showcase-server {
  position: absolute;
  left: var(--lane-gutter);
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: calc(100% - 2 * var(--lane-gutter));
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: 400 .86rem/1.2 var(--body);
  color: var(--sub);
}
.showcase-server:focus-visible { outline: 2px solid var(--lane-ink); outline-offset: 0; }
.showcase-entry:hover .showcase-name, .showcase-server:focus-visible .showcase-name { text-decoration: underline; text-underline-offset: 2px; }
.showcase-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-region { flex: none; color: var(--muted); }
.showcase-region::before { content: ""; display: inline-block; height: .7em; margin-right: 8px; border-left: 1px solid var(--edge); }

.showcase-actions { display: flex; gap: 20px; padding-inline: var(--lane-gutter); border-top: 1px solid var(--edge); }
.showcase-actions button {
  padding: 8px 0;
  color: var(--lane-ink);
  font: 600 .9rem/1.3 var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--edge);
}
.showcase-actions button:hover, .showcase-actions button:focus-visible { text-decoration-color: currentColor; }
.showcase-empty { padding: 20px var(--lane-gutter); color: var(--sub); font-size: .95rem; }

@container (max-width: 370px) {
  .showcase-list th, .showcase-list td { padding-inline: 0 4px; }
  .showcase-rate-col { width: 17%; }
  .showcase-players-col { width: 21%; }
  .showcase-list thead th { font-size: .78rem; }
  .showcase-population { font-size: .9rem; }
  .showcase-capacity, .showcase-entry .unlisted { font-size: .8rem; }
  .showcase-local { font-size: .76rem; }
  .showcase-value.long-value { font-size: 1rem; }
}
@media (max-width: 700px) {
  .wipe-showcase { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
