:root {
  color-scheme: dark;
  --paper: #17101f;
  --ink: #fff0d5;
  --muted: #c5b6ca;
  --line: #d4b47b33;
  --gold: #e6c587;
  --surface: #24192e;
  --purple: #d6a4df;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: radial-gradient(ellipse at 75% 0%, #342037 0, transparent 55%); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ffda87; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; background: var(--gold); color: #241527; padding: 14px 20px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header, main, .site-footer { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 800; font-size: 29px; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #d4b47b66; border-radius: 13px; background: #302036; transform: rotate(-6deg); box-shadow: inset 0 1px #ffe8bd1f; }
.brand-mark svg { width: 32px; fill: var(--gold); stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; }
.brand-bebop { font-weight: 450; }
.brand-dot { color: var(--gold); }
nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 650; }
nav > a { padding: 14px 4px; color: #dfcdaa; }
nav > a:hover { color: #fff1ce; }
nav > button { padding: 12px 19px; border: 1px solid #dfbc8366; border-radius: 100px; background: #2f2035; color: var(--ink); min-height: 44px; }
nav > button:hover { background: #48304d; }
.site-header nav > a[href="/store/"] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
nav button span { margin-left: 12px; color: var(--gold); }

.welcome { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 565px; padding: 56px 58px; overflow: hidden; border: 1px solid #d4b47b59; border-radius: 26px; background: #201728; box-shadow: 0 25px 65px #0005; }
.welcome-scene, .welcome-scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome-scene { z-index: -2; }
.welcome-scene img { object-fit: cover; object-position: center; }
.welcome::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #130d20f5 0%, #160f24e6 24%, #1b132596 46%, #1a14242b 65%, transparent 100%); }
.welcome-copy { width: min(47%, 490px); }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: 2.1px; color: var(--gold); }
.spark { color: var(--gold); font-size: 19px; margin-right: 8px; vertical-align: -1px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.5vw, 65px); letter-spacing: -1.8px; line-height: 1.09; font-weight: 400; margin: 0 0 24px; text-wrap: balance; text-shadow: 0 2px 20px #0006; }
h1 em { font-style: italic; color: #f4d39a; }
.welcome-description { max-width: 390px; font-size: 15px; color: #ded0df; line-height: 1.8; margin: 0 0 30px; }
.welcome-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 22px; min-height: 48px; border-radius: 11px; font-size: 13px; font-weight: 750; border: 1px solid transparent; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: #ead097; border-color: #f7e0b0; color: #2c192f; box-shadow: inset 0 1px #fff5d5, 0 5px 20px #0003; }
.button-dark:hover { background: #ffe3a9; }
.button-light { background: #2c203b91; border-color: #e1bf865e; color: #fff1d9; backdrop-filter: blur(8px); }
.button-light:hover { background: #49324abf; }

.game-section { padding: 54px 0 44px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-heading .eyebrow { margin-bottom: 10px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 400; letter-spacing: -.8px; margin: 0; }
.heading-dot { color: var(--gold); }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { height: 46px; width: 46px; border: 1px solid #d4b47b55; color: var(--ink); background: #2b1e34; border-radius: 50%; font-size: 21px; }
.rail-controls button:hover:not(:disabled) { background: #51334f; border-color: #e2c18b; }
.rail-controls button:disabled { opacity: .35; cursor: default; }
.rail-hint { color: var(--muted); font-size: 12px; margin: 15px 0 25px; }
.rail-hint span { margin-right: 6px; color: var(--gold); }
.game-rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b39672 #25192f; padding: 2px 2px 20px; overscroll-behavior-inline: contain; }
.game-card { flex: 0 0 clamp(285px, 34vw, 405px); min-width: 0; scroll-snap-align: start; }
.game-link { display: block; background: var(--surface); border: 1px solid #d4b47b59; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 26px #0003; transition: transform .2s, box-shadow .2s, border-color .2s; }
.game-link:hover { transform: translateY(-4px); border-color: #e6c587b3; box-shadow: 0 18px 40px #0006; }
.game-poster { position: relative; aspect-ratio: 2/3; background: #32254d; overflow: hidden; }
.game-poster img { height: 100%; width: 100%; object-fit: cover; display: block; transition: transform .35s; }
.game-link:hover .game-poster img { transform: scale(1.025); }
.game-poster::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #120d1b88); pointer-events: none; }
.game-badge { position: absolute; z-index: 1; top: 18px; left: 18px; font-size: 10px; text-transform: uppercase; font-weight: 750; letter-spacing: 1.3px; color: #ffedc4; background: #180e2673; border: 1px solid #ecd39a69; padding: 8px 12px; border-radius: 100px; backdrop-filter: blur(8px); }
.poster-play { position: absolute; z-index: 1; bottom: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid #f7e0b0; border-radius: 50%; background: #ead097; color: #2c192f; display: grid; place-items: center; font-size: 24px; }
.game-info { display: flex; justify-content: space-between; align-items: center; padding: 23px 22px; gap: 12px; background: linear-gradient(110deg, #302037, #21172d); }
.game-info h3 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; margin: 0 0 7px; letter-spacing: -.5px; }
.game-info p { font-size: 12px; margin: 0; color: var(--muted); line-height: 1.5; }
.play-label { font-size: 12px; font-weight: 750; color: var(--gold); white-space: nowrap; }
.play-label span { margin-left: 5px; }

.avatar-invitation { position: relative; isolation: isolate; margin: 8px 0 56px; min-height: 285px; padding: 42px 45px; border: 1px solid #d4b47b59; border-radius: 24px; overflow: hidden; background: #22152d; box-shadow: 0 12px 30px #0003; }
.invitation-scene, .invitation-scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.invitation-scene { z-index: -2; }
.invitation-scene img { object-fit: cover; object-position: 65% 40%; }
.avatar-invitation::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #1c122bed 0%, #26172fd9 38%, #1d162879 68%, #1d12232b 100%); }
.invitation-copy { max-width: 515px; }
.avatar-invitation .eyebrow { font-size: 10px; margin-bottom: 10px; }
.avatar-invitation h2 { font-size: 34px; }
.avatar-invitation p:not(.eyebrow) { font-size: 14px; color: #ded0df; line-height: 1.7; margin: 13px 0 23px; max-width: 460px; }
.site-footer { display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); padding: 28px 0 40px; margin-bottom: 75px; font-size: 11px; color: var(--muted); }
.footer-brand { font-size: 18px; font-weight: 750; letter-spacing: -.5px; color: var(--ink); }
.footer-brand span { color: var(--gold); }
.site-footer p { margin: 0; }
.footer-suit { margin-left: auto; font-size: 17px; letter-spacing: 5px; color: var(--gold); }
.footer-suit span { color: #da8296; }

@media (max-width: 950px) {
  .site-header, main, .site-footer { width: calc(100% - 44px); }
  .welcome { min-height: 535px; padding: 42px 35px; }
  .welcome-copy { width: 56%; }
  h1 { font-size: 48px; }
  .welcome-description { font-size: 14px; }
  .welcome-actions { gap: 10px; }
  .button { padding-inline: 17px; gap: 16px; }
  .game-card { flex-basis: calc((100% - 24px) / 2); }
  .game-rail { gap: 24px; }
  .game-info { padding: 20px 18px; }
  .game-info h3 { font-size: 23px; }
  .play-label { display: none; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 22px; }
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .site-header { height: 82px; }
  .brand { font-size: 23px; gap: 9px; letter-spacing: -.8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 27px; }
  nav { gap: 8px; font-size: 12px; }
  nav > a { display: none; }
  nav > button { padding: 11px 13px; }
  nav button span { margin-left: 4px; }
  .welcome { min-height: 0; padding: 0; border-radius: 22px; flex-direction: column; align-items: stretch; }
  .welcome-scene { position: relative; z-index: -2; width: 100%; height: auto; aspect-ratio: 3/2; }
  .welcome-scene img { position: static; height: auto; width: 100%; object-fit: contain; }
  .welcome-scene::after { content: ""; position: absolute; inset: auto 0 -1px; height: 65px; background: linear-gradient(transparent, #201728); }
  .welcome::before { display: none; }
  .welcome-copy { width: 100%; padding: 13px 25px 30px; }
  h1 { font-size: clamp(39px, 10.4vw, 48px); letter-spacing: -1.4px; margin-bottom: 17px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 13px; }
  .welcome-description { font-size: 14px; line-height: 1.7; max-width: 350px; margin-bottom: 24px; }
  .button { font-size: 12px; padding: 14px 16px; gap: 14px; }
  .welcome-actions { gap: 9px; }
  .game-section { padding-top: 34px; padding-bottom: 24px; }
  .section-heading { align-items: center; }
  h2 { font-size: 31px; }
  .rail-controls { gap: 6px; }
  .rail-controls button { width: 44px; height: 44px; }
  .rail-hint { font-size: 11px; margin-bottom: 20px; }
  .game-rail { margin-right: -16px; padding-right: 16px; gap: 17px; }
  .game-card { flex-basis: 82%; max-width: 335px; }
  .game-info { padding: 21px 18px; }
  .game-info h3 { font-size: 24px; }
  .game-info p { font-size: 11px; }
  .game-badge { top: 15px; left: 15px; }
  .avatar-invitation { padding: 175px 25px 28px; min-height: 445px; margin: 14px 0 37px; border-radius: 22px; }
  .invitation-scene img { object-position: 75% top; }
  .avatar-invitation::before { background: linear-gradient(180deg, #1c122b1a 0%, #1c122b78 30%, #1c122be8 53%, #1c122bf5 100%); }
  .avatar-invitation h2 { font-size: 29px; }
  .avatar-invitation p:not(.eyebrow) { font-size: 13px; }
  .site-footer { flex-wrap: wrap; gap: 12px; padding-top: 22px; }
  .site-footer p { font-size: 10px; }
  .footer-suit { display: none; }
}

@media (max-width: 360px) {
  .brand { font-size: 21px; }
  .brand-mark { width: 32px; height: 34px; }
  nav > button { padding-inline: 10px; }
  .welcome-copy { padding-inline: 20px; }
  .welcome-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


.cash-card .game-poster{background:#0b3037 url("/games/miss-bebop-cash/assets/ui/lounge-mobile.webp") center/cover}.cash-card .game-poster img{object-fit:contain;padding:45px 20px 15px}.cash-card .game-info{background:linear-gradient(110deg,#133c42,#17202f)}

/* Ruby's raster shop illustration and the shared wardrobe entrance. */
.boutique-invitation {display:grid;grid-template-columns:36% minmax(0,1fr);align-items:center;min-height:340px;margin:12px 0 56px;border:1px solid #d4b47b59;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 20% 35%,#72496566,transparent 65%),#24192e;box-shadow:0 12px 30px #0003;}
.boutique-host{height:340px;align-self:end;display:flex;justify-content:center;padding:12px 15px 0;}.boutique-host img{height:100%;width:100%;object-fit:contain;object-position:bottom;}.boutique-copy{padding:36px 44px 36px 12px;}.boutique-copy .eyebrow{margin-bottom:12px;}.boutique-copy h2{font-size:38px;}.boutique-copy p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.8;max-width:530px;margin:16px 0 23px;}.site-header .qb-nav-credits{color:var(--gold);}
@media(max-width:600px){.site-header{height:auto;min-height:82px;gap:12px;flex-wrap:wrap;padding-block:16px;}.site-header .brand-mark{display:none;}.site-header .brand{font-size:21px;}.site-header nav{gap:12px;}.site-header nav>a[href="/store/"]{display:inline-flex;}.site-header nav>button{padding:10px 12px;}.site-header .qb-nav-credits{display:none;}.boutique-invitation{grid-template-columns:30% minmax(0,1fr);margin-bottom:36px;min-height:330px;}.boutique-host{height:240px;padding-inline:0;}.boutique-copy{padding:26px 18px 26px 8px;}.boutique-copy h2{font-size:29px;}.boutique-copy .eyebrow{font-size:9px;letter-spacing:1.3px;}.boutique-copy p:not(.eyebrow){font-size:12px;line-height:1.7;}.boutique-copy .button{font-size:11px;padding:12px 13px;gap:8px;}}
