.showcase-theme {
  --show-ink: #f9f4e7;
  --show-muted: #b5c4c9;
  --show-gold: #efc681;
  --show-edge: #ecd0a12e;
  --show-panel: #101e27;
  color: var(--show-ink);
  background: #0a131b;
}
.showcase-theme :focus-visible { outline: 2px solid #ffda91; outline-offset: 5px; }
.showcase-theme .mast {
  background: #0b151c;
  border-bottom: 1px solid var(--show-edge);
  box-shadow: none;
}
.showcase-theme .mast-rule { display: none; }
.showcase-theme .mast-inner {
  max-width: 1320px;
  min-height: 73px;
  width: 90%;
}
.showcase-theme .desktop-nav {
  font-family: var(--sans);
  font-size: .95rem;
  color: #e9e6de;
  gap: clamp(1rem, 3.2vw, 3.2rem);
}
.showcase-theme .desktop-nav a[aria-current] {
  text-decoration: none;
  box-shadow: 0 1px 0 var(--show-gold);
}
.showcase-theme .skip { color: #111b20; }
.showcase-wrap { width: min(90%, 1320px); margin-inline: auto; }
.showcase-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(515px, 43vw, 690px);
  background: #09212a;
}
.showcase-backdrop, .showcase-backdrop img, .showcase-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-backdrop { z-index: -2; overflow: hidden; }
.showcase-backdrop img { object-fit: cover; object-position: 65% center; }
.showcase-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #06121cbb, #08151c6b 46%, transparent 70%),
    linear-gradient(0deg, #0a131b, transparent 22%);
}
.showcase-hero-inner { padding-block: 65px 83px; }
.showcase-hero-copy { max-width: min(750px, 64%); min-width: 0; }
.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--show-gold);
  font-weight: 650;
  font-size: .86rem;
  letter-spacing: .075em;
}
.showcase-theme:lang(th) .showcase-kicker { letter-spacing: 0; }
.showcase-kicker svg { width: 21px; height: 21px; }
.showcase-hero h1 {
  font-size: clamp(3.15rem, 5.75vw, 6.2rem);
  line-height: 1.02;
  margin: 17px 0 20px;
  letter-spacing: -.039em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.showcase-hero h1 em { display: block; color: var(--show-gold); font-weight: 400; }
.showcase-theme:lang(th) .showcase-hero h1 { line-height: 1.29; letter-spacing: -.015em; }
.showcase-theme:lang(th) .showcase-hero h1 em,
.showcase-theme:lang(zh-Hans) .showcase-hero h1 em,
.showcase-theme:lang(ja) .showcase-hero h1 em,
.showcase-theme:lang(ko) .showcase-hero h1 em { font-style: normal; }
.showcase-hero p {
  color: #e4e7e4;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 36ch;
  margin: 0 0 28px;
}
.showcase-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 10px 17px;
  border: 1px solid #e6b974;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color 170ms ease, box-shadow 170ms ease;
}
.showcase-button.gold { background: #efc783; color: #12212a; }
.showcase-button.gold:hover { background: #ffdb99; box-shadow: 0 3px 19px #e4ad5660; }
.showcase-button.ghost { color: #f9dfaa; background: #e0b46b12; border-color: #f2c7838c; }
.showcase-button.ghost:hover { background: #e0b46b2e; }
.showcase-button .icon { width: 16px; height: 16px; }
.showcase-button .icon:last-child { width: 13px; height: 13px; }
.showcase-collection { padding: 36px 0 clamp(58px, 7vw, 105px); scroll-margin: 20px; }
.showcase-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 24px;
}
.showcase-intro h2, .showcase-about h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.6rem); }
.showcase-intro p { color: var(--show-muted); max-width: 39ch; margin-bottom: .15rem; }
.showcase-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.showcase-card {
  border: 1px solid #859ba443;
  border-radius: 16px;
  background: var(--show-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.showcase-card.is-featured { border-color: #d1a45f92; background: linear-gradient(148deg,#192c36,#101e27 60%); }
.showcase-card:focus-within { border-color: var(--show-gold); }
.showcase-card-media { position: relative; overflow: hidden; background: #142734; }
.showcase-cover {
  width: 100%;
  aspect-ratio: 1.86;
  height: auto;
  object-fit: cover;
  transition: transform 420ms ease;
}
.showcase-card:not(.is-featured) .showcase-cover { aspect-ratio: 1.62; object-position: 37% center; }
.showcase-chip {
  position: absolute;
  top: 13px;
  left: 14px;
  padding: 6px 12px;
  border: 1px solid #f0d29e70;
  border-radius: 50px;
  color: #ffebc7;
  background: #0c1823ed;
  font-size: .77rem;
  font-weight: 700;
}
.showcase-shot {
  position: absolute;
  right: 14px;
  bottom: 13px;
  max-width: calc(100% - 28px);
  display: grid;
  grid-template-columns: 31px auto;
  gap: 8px;
  align-items: center;
  padding: 5px 9px 5px 5px;
  min-height: 44px;
  border-radius: 7px;
  border: 1px solid #c1d3da50;
  background: #101823ef;
  color: #fff3da;
  font-size: .81rem;
  text-decoration: none;
}
.showcase-shot img { width: 31px; height: 27px; object-fit: cover; border-radius: 3px; }
.showcase-shot .icon { width: 14px; height: 14px; margin-inline-end: 3px; }
.showcase-shot:hover { border-color: var(--show-gold); }
.showcase-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: clamp(18px, 2.5vw, 33px);
}
.showcase-card h3 { font-size: clamp(1.65rem, 3vw, 2.8rem); margin-bottom: 11px; overflow-wrap: anywhere; }
.showcase-card p, .showcase-about p { color: #c1cdd2; max-width: 58ch; }
.showcase-points { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.showcase-points li { display: flex; align-items: start; gap: 7px; color: #f1e8d8; font-size: .88rem; }
.showcase-points .icon { color: var(--show-gold); width: 15px; height: 15px; margin-top: .22em; }
.showcase-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; margin-top: auto; }
.showcase-text-link {
  color: #f5ce8a;
  text-underline-offset: 4px;
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
}
.showcase-text-link:hover { color: #fff0cb; }
.showcase-about { border-top: 1px solid var(--show-edge); background: linear-gradient(115deg,#10262b,#101a23); padding-block: clamp(45px, 7vw, 100px); }
.showcase-about .showcase-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 8vw; align-items: end; }
.showcase-about p { margin-bottom: 6px; }
.showcase-games-title { padding-top: 38px; }
.showcase-games-title h1 { font-size: clamp(2.4rem, 5vw, 5rem); }
.showcase-theme footer { background: #0b151c; border-color: var(--show-edge); }
.showcase-theme dialog :focus-visible { outline-color: #9b5213; }
#screenshot-dialog {
  width: min(920px, 92vw);
  max-width: none;
  border-color: #d3a35f94;
  background: #111e27;
  color: var(--show-ink);
}
#screenshot-dialog::backdrop { background: #041016db; }
#screenshot-dialog .dialog-heading { border-color: var(--show-edge); }
#screenshot-dialog figure { margin: 14px 0 0; }
#screenshot-dialog img { width: 100%; max-height: 65dvh; object-fit: contain; }
#screenshot-dialog figcaption { margin-top: 10px; color: #d0dad9; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .showcase-card:hover { transform: translateY(-3px); border-color: #d1a45fbe; box-shadow: 0 14px 30px #0458; }
  .showcase-card:hover .showcase-cover { transform: scale(1.028); }
}
@media (max-width: 900px) {
  .showcase-intro { align-items: start; flex-direction: column; gap: 10px; }
  .showcase-wrap { width: 91%; }
}
@media (max-width: 680px) {
  .showcase-theme .mast-inner { min-height: 62px; }
  .showcase-hero { align-items: end; min-height: 525px; }
  .showcase-backdrop img { object-position: 65% 10%; }
  .showcase-hero::after { background: linear-gradient(0deg,#0a131b 2%,#0a131be8 29%,#08192297 52%,#08192311 85%); }
  .showcase-hero-inner { padding-block: 150px 42px; }
  .showcase-hero-copy { max-width: 100%; }
  .showcase-hero h1 { font-size: clamp(2.6rem, 10vw, 4.15rem); margin-block: 12px; }
  .showcase-hero p { margin-bottom: 20px; }
  .showcase-collection { padding-top: 21px; }
  .showcase-cards, .showcase-about .showcase-wrap { grid-template-columns: minmax(0,1fr); }
  .showcase-card:not(.is-featured) .showcase-cover { aspect-ratio: 1.86; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-theme *, .showcase-theme *::before, .showcase-theme *::after { transition: none !important; }
}
/* Keep translated headings within the viewport when default text is enlarged. */
.showcase-intro > div { min-width: 0; max-width: 100%; }
.showcase-intro h2, .showcase-intro .showcase-kicker,
.showcase-games-title h1, .showcase-about h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
