:root {
  --bg: #07090c;
  --ink: #f4eadb;
  --muted: #aeb6bf;
  --gold: #caa35b;
  --gold-2: #e7cf92;
  --panel: rgba(10, 13, 18, .78);
  --panel-solid: #0d1016;
  --line: rgba(202, 163, 91, .25);
  --line-soft: rgba(202, 163, 91, .14);
  --blue: #7fa8d6;
  --shadow: 0 30px 100px rgba(0,0,0,.46);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 6%, rgba(202,163,91,.16), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(127,168,214,.12), transparent 28rem),
    linear-gradient(180deg, #050608 0%, #0b1017 50%, #050608 100%);
  overflow-x: hidden;
  line-height: 1.6;
}
.page-frame {
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(202,163,91,.25);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(231,207,146,.05);
  pointer-events: none;
  z-index: 8;
}
a { color: inherit; }
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px clamp(22px, 4vw, 48px) 0;
  pointer-events: none;
}
.header-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 176px; max-width: 48vw; height: auto; display: block; filter: drop-shadow(0 10px 26px rgba(0,0,0,.72)); }
.nav {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(202,163,91,.16);
  border-radius: 999px;
  background: rgba(5, 7, 10, .64);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0,0,0,.32);
}
.nav a {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(244,234,219,.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--ink); background: rgba(202,163,91,.08); }
.nav .gold { color: #11100c; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.main-wrap {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(112px, 15vh, 150px) 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0; font-size: clamp(46px, 7vw, 86px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.04em; }
h3 { margin: 0 0 8px; font-size: 27px; line-height: 1.1; letter-spacing: -.02em; }
p { color: rgba(244,234,219,.73); }
.lead { max-width: 760px; margin: 20px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; }
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(202,163,91,.14), rgba(127,168,214,.08)),
    linear-gradient(180deg, rgba(14,18,25,.86), rgba(6,8,12,.92));
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 58px);
  margin-bottom: 18px;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(231,207,146,.18);
  border-radius: 22px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: clamp(18px, 3vw, 36px);
  border: 0px solid var(--line-soft);
  border-radius: 28px;
  overflow: hidden;
}

.hero-side img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.46));
}
.stat-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stat-list li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(202,163,91,.12); padding-bottom: 10px; }
.stat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-list strong { color: var(--gold-2); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.stat-list span { text-align: right; color: rgba(244,234,219,.78); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(202,163,91,.34);
  background: rgba(2,4,7,.36);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}
.button.primary { border: 0; color: #11100c; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 16px 34px rgba(202,163,91,.18); }
.button:hover { transform: translateY(-1px); }
.tone-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.tone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(202,163,91,.22);
  border-radius: 999px;
  background: rgba(2,4,7,.28);
  color: rgba(244,234,219,.82);
  font-size: 13px;
  font-weight: 800;
}
.tone-chip .icon { color: var(--gold-2); font-size: 15px; }
.section-block { margin-top: 22px; }
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14,18,25,.78), rgba(6,8,12,.78));
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  padding: clamp(22px, 3vw, 34px);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(2,4,7,.28);
  padding: 20px;
}
.card p { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { border-color: rgba(231,207,146,.44); background: rgba(202,163,91,.06); }
.game-card { min-height: 100%; display: flex; flex-direction: column; gap: 14px; }
.game-card .button { align-self: flex-start; margin-top: auto; }
.game-card h3 { color: var(--ink); }
.game-card p { margin: 0; }
.game-cover {
  height: 170px;
  margin: -20px -20px 4px;
  border-radius: 22px 22px 0 0;
  border-bottom: 1px solid var(--line-soft);
  background-color: rgba(2,4,7,.45);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)),
    var(--cover, none);
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.game-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-pill { border: 1px solid rgba(202,163,91,.18); border-radius: 999px; padding: 5px 9px; color: rgba(244,234,219,.7); font-size: 12px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.shot {
  min-height: 170px;
  border: 1px dashed rgba(202,163,91,.42);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(202,163,91,.06), rgba(127,168,214,.04)),
    rgba(2,4,7,.26);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: rgba(244,234,219,.62);
  margin: 0;
}
.shot strong { display: block; color: var(--gold-2); margin-bottom: 6px; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.list-clean { margin: 0; padding-left: 20px; color: rgba(244,234,219,.73); }
.list-clean li { margin: 8px 0; }
.notice { border-left: 3px solid var(--gold); padding-left: 14px; color: rgba(244,234,219,.72); }
.footer {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 30px;
  text-align: center;
  color: rgba(244,234,219,.48);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer::before {
  content: "";
  display: block;
  width: min(520px, 72vw);
  height: 1px;
  margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, rgba(202,163,91,.34), transparent);
}
.footer a { color: rgba(244,234,219,.62); text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
@media (max-width: 920px) {
  .nav a:not(.gold):not(.keep-mobile) { display: none; }
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .hero-side {
  min-height: auto;
  padding: 22px;
}

.hero-side img {
  width: min(100%, 340px);
}
}
@media (max-width: 640px) {
  .page-frame { inset: 10px; border-radius: 18px; }
  .site-header { padding: 14px 18px 0; }
  .brand img { width: 150px; }
  .nav { padding: 4px; gap: 4px; }
  .nav a { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .main-wrap { width: min(100% - 28px, 1240px); padding-top: 94px; }
  .hero-panel { border-radius: 24px; }
  .hero-panel::after { inset: 12px; border-radius: 17px; }
  h1 { font-size: 42px; }
}


/* QuestKernel game listing polish pass */
.button { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.button.secondary { background: rgba(2,4,7,.44); border-color: rgba(202,163,91,.24); color: rgba(244,234,219,.86); }
.button.profile-cta { border-color: rgba(127,168,214,.34); background: rgba(127,168,214,.09); color: rgba(244,234,219,.9); }
.button.book-cta {
  position: relative;
  overflow: hidden;
  border: 0;
  color: #11100c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 0 1px rgba(231,207,146,.18), 0 18px 42px rgba(202,163,91,.28);
}
.button.book-cta::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.44), transparent);
  transform: rotate(22deg) translateX(-180%);
  animation: qk-book-sheen 4.6s ease-in-out infinite;
  pointer-events: none;
}
.button.book-cta:hover { box-shadow: 0 0 0 1px rgba(231,207,146,.28), 0 22px 52px rgba(202,163,91,.38); }
@keyframes qk-book-sheen {
  0%, 42% { transform: rotate(22deg) translateX(-180%); }
  58%, 100% { transform: rotate(22deg) translateX(520%); }
}
@media (prefers-reduced-motion: reduce) {
  .button.book-cta::after { animation: none; display: none; }
  .button { transition: none; }
}

.game-grid { align-items: stretch; }
.game-card {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(231,207,146,.10), transparent 38%);
  opacity: .55;
  pointer-events: none;
}
.game-card > * { position: relative; z-index: 1; }
.game-card.available {
  border-color: rgba(231,207,146,.42);
  box-shadow: 0 0 0 1px rgba(231,207,146,.08), 0 22px 64px rgba(202,163,91,.16);
}
.game-card-body { display: grid; gap: 8px; }
.game-card-body .eyebrow { margin-bottom: 0; }
.game-card .tone-row { margin-top: 0; }
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.game-card .button { align-self: auto; margin-top: 0; }
.game-cover {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}
.game-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.52));
  pointer-events: none;
}

.detail-side {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: stretch;
  min-height: auto;
}
.detail-cover {
  width: 100%;
  min-height: 210px;
  border: 1px solid rgba(202,163,91,.18);
  border-radius: 20px;
  background-image: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.38)), var(--cover);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.32);
}
.game-detail-hero .hero-side { align-items: stretch; justify-content: stretch; }
.booking-panel { border-color: rgba(231,207,146,.32); }
.shot span { max-width: 24ch; }
.shot { min-height: 190px; }

@media (max-width: 920px) {
  .card-actions { gap: 8px; }
  .card-actions .button { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .game-cover { min-height: 160px; }
  .detail-cover { min-height: 170px; }
  .button { width: 100%; }
}


/* QuestKernel games v2: sections, hero cover backgrounds and screenshot carousel */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.section-heading-row h2 { margin-bottom: 0; }
.games-section { scroll-margin-top: 110px; }
.campaign-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(127,168,214,.10), transparent 25rem),
    linear-gradient(180deg, rgba(14,18,25,.82), rgba(6,8,12,.80));
}
.campaign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-cover-link { display: block; text-decoration: none; color: inherit; margin: -20px -20px 4px; border-radius: 22px 22px 0 0; overflow: hidden; }
.game-cover-link .game-cover { margin: 0; }
.game-cover-link:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.game-card h3 { font-size: clamp(26px, 2.2vw, 34px); }
.game-card.available::after {
  content: "Booking open";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  color: #11100c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}

.game-card.fully-booked {
  border-color: rgba(173, 72, 72, .42);
  box-shadow:
    0 0 0 1px rgba(173, 72, 72, .08),
    0 22px 64px rgba(80, 20, 20, .16);
}

.game-card.fully-booked::after {
  content: "Fully booked";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #b85f5f, #713232);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}

.fully-booked-cta {
  pointer-events: none;
  cursor: default;
  border-color: rgba(173,72,72,.34);
  background: rgba(173,72,72,.12);
  color: rgba(244,234,219,.72);
}
/* Detail pages: game cover fills the whole hero panel.
   Keep this separate from .game-cover, which is only for summary cards. */
.game-detail-hero.detail-hero-with-cover {
  position: relative;
  min-height: clamp(560px, 72vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #07090c;
}

.game-detail-hero .detail-hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(4,6,9,.92) 0%, rgba(4,6,9,.72) 35%, rgba(4,6,9,.34) 62%, rgba(4,6,9,.68) 100%),
    linear-gradient(180deg, rgba(4,6,9,.10), rgba(4,6,9,.88)),
    var(--cover);
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.game-detail-hero .detail-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 18%, rgba(202,163,91,.18), transparent 34rem),
    radial-gradient(circle at 84% 24%, rgba(127,168,214,.12), transparent 32rem);
  pointer-events: none;
}

.game-detail-hero .hero-grid,
.game-detail-hero .hero-content-card,
.game-detail-hero .detail-side {
  position: relative;
  z-index: 2;
}

/* Legacy hero-cover support, in case an older page still uses --hero-bg. */
.hero-cover {
  position: relative;
  min-height: clamp(560px, 72vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(4,6,9,.90) 0%, rgba(4,6,9,.70) 35%, rgba(4,6,9,.32) 62%, rgba(4,6,9,.68) 100%),
    linear-gradient(180deg, rgba(4,6,9,.10), rgba(4,6,9,.88)),
    var(--hero-bg);
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 12%, rgba(231,207,146,.10), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(127,168,214,.08), transparent 24rem);
  pointer-events: none;
}

.hero-cover > * {
  position: relative;
  z-index: 2;
}

.hero-content-card {
  max-width: 760px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(202,163,91,.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(5,7,10,.84), rgba(5,7,10,.66));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 54px rgba(0,0,0,.32);
}
.game-detail-hero .hero-grid { align-items: end; }
.game-detail-hero .detail-side {
  min-height: auto;
  align-self: end;
  background: linear-gradient(180deg, rgba(5,7,10,.72), rgba(5,7,10,.54));
  backdrop-filter: blur(10px);
}
.feature-card h3 { color: var(--gold-2); }
.screenshot-panel { overflow: hidden; }
.screenshot-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
  scrollbar-color: rgba(202,163,91,.5) rgba(2,4,7,.35);
}
.carousel-shot {
  display: block;
  flex: 0 0 min(520px, 82vw);
  min-height: 292px;
  margin: 0;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(202,163,91,.22);
  border-radius: 22px;
  background-color: rgba(2,4,7,.42);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.66)),
    radial-gradient(circle at 50% 20%, rgba(202,163,91,.10), transparent 50%),
    var(--shot);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  box-shadow: 0 18px 45px rgba(0,0,0,.26);
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
}
.carousel-shot span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 12px;
  border: 1px solid rgba(202,163,91,.22);
  border-radius: 999px;
  background: rgba(5,7,10,.70);
  color: rgba(244,234,219,.86);
  backdrop-filter: blur(10px);
}
.carousel-shot strong { color: var(--gold-2); }
.booking-copy { max-width: 850px; }
.card .list-clean { margin-top: 10px; }
@media (max-width: 920px) {
  .campaign-grid { grid-template-columns: 1fr; }
  .hero-cover { min-height: auto; }
  .hero-content-card { max-width: none; }
  .game-detail-hero .detail-side { align-self: stretch; }
}
@media (max-width: 640px) {
  .game-card.available::after { top: 9px; right: 9px; font-size: 9px; }
  .carousel-shot { min-height: 218px; }
  .section-heading-row .button { width: auto; }
}

.coming-soon-shot {
  flex: 0 0 min(520px, 82vw);
  min-height: 292px;
  padding: 22px;
  cursor: default;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72)),
    radial-gradient(circle at 50% 30%, rgba(202,163,91,.16), transparent 44%),
    radial-gradient(circle at 20% 80%, rgba(127,168,214,.10), transparent 38%),
    linear-gradient(135deg, rgba(14,18,25,.92), rgba(4,6,10,.96));
  background-size: 100% 100%, cover, cover, 100% 100%;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  border-style: dashed;
}

.coming-soon-shot::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(202,163,91,.16);
  border-radius: 16px;
  pointer-events: none;
}

.coming-soon-shot span {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 7px;
  width: auto;
  max-width: 30ch;
  padding: 16px 18px;
  text-align: center;
  border-radius: 18px;
  pointer-events: none;
}

.coming-soon-shot strong,
.coming-soon-shot em {
  display: block;
}

.coming-soon-shot em {
  color: rgba(244,234,219,.62);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.screenshot-carousel .coming-soon-shot:only-child {
  flex-basis: min(760px, 100%);
}
/* Screenshot lightbox */
.carousel-shot:hover {
  border-color: rgba(231,207,146,.52);
  box-shadow: 0 24px 62px rgba(0,0,0,.38);
}

.qk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
}

.qk-lightbox[hidden] {
  display: none;
}

.qk-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(202,163,91,.34);
  border-radius: 18px;
  box-shadow: 0 30px 120px rgba(0,0,0,.78);
  background: #030508;
}

.qk-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(202,163,91,.45);
  border-radius: 999px;
  background: rgba(5,7,10,.86);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.qk-lightbox-close:hover {
  background: rgba(202,163,91,.18);
}

body.qk-lightbox-open {
  overflow: hidden;
}

/* Visitor-local game times */
.game-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.local-time {
  display: inline-flex;
  align-items: center;
  color: rgba(244,234,219,.68);
  letter-spacing: .08em;
}

.local-time::before {
  content: "·";
  margin-right: 7px;
  color: rgba(202,163,91,.7);
}

.local-time[hidden] {
  display: none;
}

.stat-list .game-time {
  justify-content: flex-end;
  text-align: right;
}

.stat-list .local-time {
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .stat-list .game-time,
  .stat-list .local-time {
    justify-content: flex-start;
    text-align: left;
  }
}

