/* The game catalogue uses its original publisher artwork. The dark optical rims
   and quiet type share the material of the Dramvy account card. */
body[data-view="game"] {
  background: var(--hg-glass-bg) url("profile-art/profile-graphite.webp") center top / min(100%, 960px) auto no-repeat;
}
#view-game {
  --game-ink: var(--hg-glass-text);
  --game-muted: var(--hg-glass-muted);
  --game-line: var(--hg-glass-line);
  padding: 0 clamp(14px, 3.8vw, 42px) max(28px, env(safe-area-inset-bottom));
  color: var(--game-ink);
}
#view-game .game-page {max-width: 1140px; margin-inline: auto;}
#view-game .game-headline {margin: 0 0 14px; padding-top: 21px; gap: 10px;}
#view-game .game-brand {flex-direction: column; align-items: flex-start; gap: 5px;}
#view-game .game-brand img {width: 73px; height: 20px;}
#view-game .game-brand h1 {margin: 0; color: var(--game-ink); font-size: clamp(26px, 5.7vw, 38px); line-height: 1.1; font-weight: 650; letter-spacing: -.04em;}
#view-game .game-jump, #view-game .game-section-title a, #view-game .game-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--game-line);
  border-top-color: #ffffff45;
  border-radius: 999px;
  background: linear-gradient(158deg, #ffffff0e, #ffffff04 58%, #ffffff08);
  box-shadow: inset 0 1px 4px #ffffff15, inset 0 -2px 5px #ffffff08;
  color: var(--game-ink);
  font-size: 12px;
  font-weight: 570;
  line-height: 1.25;
  text-decoration: none;
}
#view-game .game-hero {
  display: grid;
  grid-template-rows: auto auto;
  aspect-ratio: auto;
  border: 1px solid var(--game-line);
  border-top-color: #ffffff3b;
  border-radius: clamp(17px, 3.4vw, 24px);
  background: var(--hg-glass-surface);
  box-shadow: 0 9px 25px #0004, inset 0 1px #ffffff12;
}
#view-game .game-hero-track {grid-area: 1 / 1; aspect-ratio: 16 / 9; height: auto;}
#view-game .game-hero-slide {height: auto; outline-offset: -4px;}
#view-game .game-hero-slide img {height: 100%; object-fit: cover;}
#view-game .game-hero::after {grid-area: 1 / 1; background: linear-gradient(0deg, #090a0c66, transparent 23%);}
#view-game .game-hero-bottom {
  position: static;
  grid-area: 2 / 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 14px clamp(12px, 2.8vw, 22px);
  border-top: 1px solid var(--game-line);
  background: linear-gradient(118deg, #27282d, #1c1d21 45%, #1a1b1e);
}
#view-game .game-hero-bottom > div {min-width: 0;}
#view-game .game-hero-bottom b {font-size: clamp(16px, 4vw, 22px); font-weight: 620; line-height: 1.25; letter-spacing: -.025em; text-shadow: none;}
#view-game .game-hero-bottom small {margin-top: 4px; color: var(--game-muted); font-size: 11px; line-height: 1.45; text-shadow: none;}
#view-game .game-cta {max-width: 45%; background: var(--hg-lens-face); box-shadow: var(--hg-lens-depth); border-color: #ffffff39; border-top-color: #ffffff54; text-align: center;}
#view-game .game-cta svg {color: currentColor;}
#view-game .game-hero-dots {
  position: relative;
  grid-area: 1 / 1;
  inset: auto;
  align-self: end;
  justify-self: end;
  gap: 0;
  margin: 0 4px 0 0;
}
#view-game .game-hero-dots::before {
  content: "";
  position: absolute;
  inset: 11px 8px;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  background: var(--hg-lens-face);
  -webkit-backdrop-filter: var(--hg-lens-backdrop);
  backdrop-filter: var(--hg-lens-backdrop);
  box-shadow: inset 0 1px 0 #ffffff64,inset 0 -1px 0 #d2bfdc4f,0 3px 7px #09091047;
  pointer-events: none;
}
#view-game .game-hero-dots button {
  position: relative;
  width: 44px; height: 44px;
  flex: none; border-radius: 11px;
  background: transparent;
}
#view-game .game-hero-dots button::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #e6e6e9df;
  box-shadow: 0 0 0 1px #16171a99, 0 1px 4px #111214b3;
}
#view-game .game-hero-dots button.on::before {width: 21px; background: #fff;}
#view-game :is(a,button):focus-visible {outline: 2px solid var(--hg-glass-violet); outline-offset: 2px;}
#view-game .game-hero :is(a,button):focus-visible {outline-offset: -4px;}
#view-game .game-section-title, #view-game .game-wins-head {
  margin: 22px 0 10px; padding: 0; gap: 10px; min-height: 32px;
}
#view-game .game-section-title h2, #view-game .game-wins-head h2 {
  margin: 0; color: var(--game-ink); font-size: clamp(18px, 4.5vw, 24px); line-height: 1.22; font-weight: 630; letter-spacing: -.03em;
}
#view-game .game-section-title a, #view-game .game-jump {background: transparent; border-color: transparent; box-shadow: none;}
#view-game .game-section-title a {margin: -5px 0; min-width: 52px; color: var(--game-muted);}
#view-game .game-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(110px, 32vw, 170px); grid-template-columns: none;
  gap: 10px; padding: 3px 2px 8px; scroll-padding-inline: 2px; overflow-x: auto; scroll-snap-type: x proximity;
}
#view-game .game-card {
  display: grid; grid-template-rows: auto 1fr;
  aspect-ratio: auto; min-width: 0;
  border: 1px solid var(--game-line); border-top-color: #ffffff30;
  border-radius: 15px; color: var(--game-ink);
  background: linear-gradient(145deg, #27282d, #1b1c20 78%);
  box-shadow: 0 3px 9px #0002;
}
#view-game .game-card img {aspect-ratio: 1; height: auto; transform: none; filter: none;}
#view-game .game-card::after {display: none;}
#view-game .game-card b {position: static; align-self: center; padding: 8px 9px 9px; overflow: visible; white-space: normal; overflow-wrap: anywhere; font-size: 13px; font-weight: 560; line-height: 1.28; text-shadow: none;}
#view-game .game-wins {
  margin: 0; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--game-line); background: none;
}
#view-game .game-wins-head span {color: var(--game-muted); font-size: 11px;}
#view-game .game-wins-head span::before {display: none;}
#view-game .game-wins-track {gap: 10px; padding: 2px 0;}
#view-game .game-win {
  display: grid; grid-template: "art sum" auto "art meta" auto / 43px minmax(0, 1fr); align-content: center; column-gap: 9px;
  width: 150px; min-height: 62px; flex-basis: 150px; padding: 8px;
  border: 1px solid var(--game-line); border-top-color: #ffffff26; border-radius: 13px;
  background: linear-gradient(130deg, #26272b99, #1a1b1e);
}
#view-game .game-win img {grid-area: art; width: 43px; height: 43px; align-self: center; border-radius: 7px;}
#view-game .game-win-meta {grid-area: meta; align-self: start; gap: 5px; margin: 3px 0 0;}
#view-game .game-win-x {padding: 0; border-radius: 0; color: var(--game-ink); background: none; font-size: 10px; font-weight: 590;}
#view-game .game-win-user {color: var(--game-muted); font-size: 11px;}
#view-game .game-win-amount {grid-area: sum; align-self: end; margin: 0; color: var(--game-ink); font: 620 15px/1.1 system-ui,sans-serif; font-variant-numeric: tabular-nums;}
#view-game .game-final {
  justify-content: flex-start; min-height: 94px; margin-top: 16px; padding: 18px 18px 28px; border-color: var(--game-line); border-radius: 16px;
}
#view-game .game-final::before {background: linear-gradient(90deg,#18191c 5%,#18191cdb 55%,#17181a52);}
#view-game .game-final span {font-size: 16px; font-weight: 590;}
#view-game .game-final small {left: 18px; right: auto; bottom: 11px; color: var(--game-muted); font-size: 10px;}
#view-game .game-final svg {color: var(--game-ink);}
@media (min-width: 800px) {
  #view-game .game-page {display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 0 24px; align-items: start;}
  #view-game .game-headline {grid-column: 1 / -1; padding-top: 25px; margin-bottom: 18px;}
  #view-game .game-hero {grid-column: 1; grid-row: 2 / 4; align-self: start;}
  #view-game .game-section-title {grid-column: 2; grid-row: 2; margin: 0 0 9px;}
  #view-game .game-grid {grid-column: 2; grid-row: 3; grid-auto-flow: row; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; overflow: visible; padding-bottom: 0;}
  #view-game .game-wins, #view-game .game-final {grid-column: 1 / -1; min-width: 0;}
  #view-game .game-final {min-height: 115px;}
}
@media (hover:hover) {
  #view-game :is(.game-card, .game-final, .game-jump, .game-cta, .game-section-title a):hover {border-color: #ffffff7a;}
}
@media (prefers-reduced-motion:reduce) {
  #view-game .game-hero-track {transition: none;}
  #view-game .game-wins-viewport {overflow-x: auto; scrollbar-width: thin;}
  #view-game .game-wins-track {animation: none;}
  #view-game .game-win[aria-hidden="true"] {display: none;}
}
