@font-face {
  font-family: Chalet;
  src: url('/b/8b0b5899ed/title/chalet.woff') format('woff');
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: Chalet, sans-serif;
  color: #faf8ef;
  background: #080b09;
  --accent: #b0d48b;
  --muted: #c7cec2;
  --edge: max(5.5vw, env(safe-area-inset-left), 24px);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; }
html { scrollbar-color: #66765a #080b09; }
::selection { background: var(--accent); color: #080b09; }
a { color: inherit; text-underline-offset: 5px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #080b09; }
.scene-city { position: absolute; z-index: 0; inset: -7%; width: 114%; height: 114%; object-fit: cover; object-position: 62% center; }
.crew { position: absolute; z-index: 1; right: -8vw; bottom: -3vh; width: min(75vw, 1120px); height: min(94svh, 1100px); }
.crew img { position: absolute; bottom: 0; object-fit: contain; object-position: bottom; }
.trevor { z-index: 1; right: -8%; width: 74%; height: 90%; }
.franklin { z-index: 2; left: -13%; width: 72%; height: 96%; }
.michael { z-index: 3; left: 10%; width: 82%; height: 100%; }
.scene-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, #080b09f5 0%, #080b09e8 20%, #080b09ad 36%, #080b0900 63%), linear-gradient(0deg, #080b09 0%, #080b09c9 10%, #080b0900 42%), linear-gradient(180deg, #080b0980 0%, #080b0900 23%); }
.topbar { position: absolute; top: 0; left: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: max(21px, env(safe-area-inset-top)) var(--edge) 0; }
.other-games { display: flex; align-items: center; gap: 32px; }
.other-games a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 20px; text-decoration: none; }
.other-games svg { width: 14px; height: 14px; opacity: .6; }
.other-games a:hover { color: var(--accent); }
.language { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #faf8ef6b; border-radius: 50%; background: #080b0940; color: #faf8ef; font: 17px/1 Chalet, sans-serif; cursor: pointer; }
.language:hover { border-color: var(--accent); color: var(--accent); }
.launcher { display: flex; align-items: center; min-height: calc(100svh - 80px); padding: 110px var(--edge) 60px; }
.menu { width: 360px; }
h1 { margin: 0 0 16px -10px; }
.game-logo { display: block; width: 310px; height: auto; }
.start { display: inline-flex; align-items: center; gap: 23px; min-width: 280px; min-height: 88px; margin: 0; padding: 0; border: 0; background: none; color: #faf8ef; font: 48px/1.3 Chalet, sans-serif; text-align: left; cursor: pointer; }
.play-symbol { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: #111a0d; box-shadow: 0 6px 24px #0003; transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s; }
.play-symbol svg { width: 25px; height: 25px; margin-left: -2px; fill: currentColor; stroke: none; }
.start:not(:disabled):hover .play-symbol { transform: scale(1.08); background: #faf8ef; }
.start:not(:disabled):hover { color: var(--accent); }
.start:not(:disabled):active .play-symbol { transform: scale(.96); }
.start:disabled { opacity: .6; cursor: default; }
.download-note { margin: 9px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
#compatibility { max-width: 340px; margin: 12px 0 0; color: #f2d6ab; font-size: 17px; line-height: 1.5; }
.edition-info { margin-top: 17px; max-width: 360px; }
summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #faf8ef; font-size: 18px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 15px; height: 15px; color: var(--muted); }
details[open] summary svg { transform: rotate(180deg); }
details[open] { padding-bottom: 12px; }
details p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 14px 0 0; }
details .reference { font-size: 14px; }
.credits { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 80px; margin: 0 var(--edge); padding: 16px 0 max(20px, env(safe-area-inset-bottom)); border-top: 1px solid #faf8ef26; color: var(--muted); font-size: 15px; line-height: 1.5; }
.credits a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 44px; text-decoration: none; }
.credits strong { color: #faf8ef; font-weight: 400; }
.credits a:hover strong { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-aspect-ratio: 4/5), (max-width: 600px) {
  :root { --edge: max(24px, env(safe-area-inset-left)); }
  .topbar { padding-top: max(15px, env(safe-area-inset-top)); }
  .other-games { gap: 24px; }
  .other-games a { font-size: 18px; }
  .scene-city { object-position: 49% top; }
  .crew { width: min(150vw, 1000px); height: min(54svh, 650px); right: 50%; top: 8svh; bottom: auto; transform: translateX(50%); }
  .franklin { left: -2%; height: 95%; }
  .scene-shade { background: linear-gradient(0deg, #080b09 0%, #080b09 38%, #080b09a6 48%, #080b0900 70%), linear-gradient(180deg, #080b09c2 0%, #080b0900 23%); }
  .launcher { display: block; min-height: calc(100svh - 80px); padding: 31svh var(--edge) 24px; }
  .menu { display: flex; flex-direction: column; align-items: center; width: min(100%, 440px); margin: 0 auto; }
  h1 { margin: 0 0 9px; }
  .game-logo { width: clamp(180px, 22svh, 240px); }
  .start { justify-content: center; gap: 20px; min-width: 240px; min-height: 78px; font-size: 42px; }
  .play-symbol { width: 60px; height: 60px; }
  .download-note { margin-top: 8px; font-size: 15px; text-align: center; }
  #compatibility { text-align: center; }
  .edition-info { width: 100%; max-width: 360px; margin-top: 12px; }
  .edition-info:not([open]) { text-align: center; }
  .credits { gap: 12px; min-height: 80px; font-size: 13px; }
  .credits > span { text-align: right; max-width: 115px; }
}
@media (max-height: 600px) and (min-aspect-ratio: 5/4) {
  .topbar { padding-top: max(8px, env(safe-area-inset-top)); }
  .launcher { min-height: calc(100svh - 64px); padding-top: 72px; padding-bottom: 12px; }
  .menu { width: 290px; }
  .game-logo { width: 170px; }
  h1 { margin-bottom: 0; }
  .start { min-height: 62px; font-size: 34px; gap: 17px; }
  .play-symbol { width: 48px; height: 48px; }
  .download-note { margin-top: 0; font-size: 14px; }
  .edition-info { margin-top: 3px; }
  summary { font-size: 16px; }
  .credits { min-height: 64px; padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); font-size: 13px; }
  .crew { width: min(77vw, 900px); height: 90svh; right: -8vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
