/* Graduate Teaching Assistant 6: the arcade cabinet in the Mostly Grants house style (paper, ink, butter). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2"); }
body.cabinet.gta6 { background: #fbf8f3; background-image: none; color: #241a3d; font-family: "DM Sans", system-ui, sans-serif; color-scheme: light; }
.gta6 a { color: #3d2a8a; }
.gta6 .hud { font-family: "DM Sans", system-ui, sans-serif; font-size: 13px; font-weight: 700; color: #5c5273; }
.gta6 .hud .title { font-family: "Fraunces", Georgia, serif; font-size: 18px; color: #241a3d; }
.gta6 .hud .title:hover { color: #3d2a8a; }
.gta6 .hud .mid { color: #5c5273; letter-spacing: .04em; }
.gta6 .hud .hi b { color: #3d2a8a; font-weight: 700; }
.gta6 .hbtn { font-family: "DM Sans", system-ui, sans-serif; font-size: 13px; font-weight: 700; background: #fff; color: #241a3d; border: 2px solid #241a3d; border-radius: 10px; box-shadow: 3px 3px 0 #241a3d; padding: 6px 12px; }
.gta6 .hbtn:hover { background: #ece6ff; color: #241a3d; border-color: #241a3d; }
.gta6 .hbtn.fb { background: #ffd84d; color: #241a3d; border-color: #241a3d; box-shadow: 3px 3px 0 #241a3d; }
.gta6 .hbtn.share { background: #e3f4ec; color: #1d6145; border-color: #241a3d; }
.gta6 canvas.screen { image-rendering: auto; background: #fbf8f3; border: 2px solid #241a3d; outline: none; border-radius: 14px; box-shadow: 6px 6px 0 #241a3d; }
.gta6 .under { color: #5c5273; font-size: 14px; }
.gta6 .under b { color: #241a3d; font-weight: 700; }
.gta6 .under kbd { font-family: "DM Sans", system-ui, sans-serif; font-size: 12px; font-weight: 700; color: #241a3d; background: #fff; border: 1px solid #241a3d; border-bottom-width: 2px; border-radius: 5px; }
.gta6 .dpad button { font-family: "DM Sans", system-ui, sans-serif; background: #fff; color: #241a3d; border: 2px solid #241a3d; border-radius: 12px; box-shadow: 3px 3px 0 #241a3d; }
.gta6 .dpad .hub { background: #ece6ff; }
.gta6 .ab button { font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; font-size: 14px; background: #ffd84d; color: #241a3d; border: 2px solid #241a3d; box-shadow: 4px 4px 0 #241a3d; }
.gta6 .ab button.b { background: #ece6ff; border-color: #241a3d; box-shadow: 4px 4px 0 #241a3d; }
.gta6 .ab button.on, .gta6 .dpad button.on { filter: brightness(0.92); box-shadow: 1px 1px 0 #241a3d; }
.gta6 :focus-visible { outline-color: #3d2a8a; }
.gta6 .t-short { display: none; }
@media (hover: none) and (pointer: coarse) {
  .gta6 .t-long { display: none; } .gta6 .t-short { display: inline; }
  .gta6 canvas.screen { border-radius: 12px; box-shadow: 4px 4px 0 #241a3d; }
  .gta6 .hud .title { font-size: 16px; }
}

/* full window: the map is the whole screen, the few controls float on it */
body.cabinet.gta6 { overflow: hidden; }
.gta6 .screen-wrap { position: fixed; inset: 0; padding: 0; display: block; }
.gta6 canvas.screen { border: 0; border-radius: 0; box-shadow: none; outline: none; }
.gta6 .under, .gta6 #pad { display: none !important; }
.gta6 .hud { position: fixed; top: env(safe-area-inset-top, 0px); left: env(safe-area-inset-left, 0px); right: env(safe-area-inset-right, 0px); z-index: 5; padding: 8px 10px; min-height: 0; pointer-events: none; background: transparent; }
.gta6 .hud > * { pointer-events: auto; }
.gta6 .hud .mid, .gta6 .hud .hi { display: none; }
.gta6 .hud .btns { margin-left: auto; }
.gta6 .hud .title { background: #fff; border: 2px solid #241a3d; border-radius: 10px; box-shadow: 3px 3px 0 #241a3d; padding: 6px 12px; min-height: 40px; font-size: 16px; flex: none; }
.gta6 .hbtn { min-height: 40px; }
.gta6 .touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .gta6 .hud { padding: 8px 10px; }
  .gta6 .hud .title { flex: none; font-size: 15px; padding: 6px 10px; }
  .gta6 .hbtn { min-width: 44px; min-height: 44px; }
  .gta6:not(.playing) .touch { display: none; }
  .gta6.playing .touch { display: flex; }
  .gta6 .touch { position: fixed; z-index: 5; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); gap: 14px; align-items: flex-end; -webkit-user-select: none; user-select: none; }
  .gta6 .hud .title .t-short { display: none; }
  .gta6 .hud .title { min-width: 44px; justify-content: center; padding: 6px 8px; }
  .gta6 .tb { width: 76px; height: 76px; opacity: 0.88; border-radius: 50%; padding: 0; font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; font-size: 16px; color: #241a3d; background: #ffd84d; border: 2px solid #241a3d; box-shadow: 4px 4px 0 #241a3d; touch-action: none; line-height: 1.1; }
  .gta6 .tb.b { width: 60px; height: 60px; font-size: 13px; background: #ece6ff; margin-bottom: 56px; }
  .gta6 .tb.on { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #241a3d; }
  .gta6 .tb.dim { background: #fff6c7; color: #5c5273; }
}
