@font-face {
  font-family: Oxanium;
  src: url("/rift-rush/play/fonts/Oxanium-Variable.ttf");
}
@font-face {
  font-family: Rajdhani;
  src: url("/rift-rush/play/fonts/Rajdhani-SemiBold.ttf");
}
* {
  box-sizing: border-box;
}
:root {
  --bg: #050611;
  --ink: #f6f3e8;
  --muted: #98a6bd;
  --cyan: #6ef5ff;
  --lime: #d8ff67;
  --pink: #ff5f91;
  --violet: #9a72ff;
}
html {
  height: 100%;
  background: var(--bg);
}
body {
  height: 100dvh;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 38%, #13294c 0, transparent 29%),
    radial-gradient(circle at 20% 60%, #241343 0, transparent 31%), var(--bg);
  font-family: Rajdhani, system-ui, sans-serif;
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
  transition: transform 0.18s ease-out;
}
.glow-a {
  width: 38vw;
  height: 38vw;
  left: -15vw;
  top: 18vh;
  background: var(--violet);
}
.glow-b {
  width: 32vw;
  height: 32vw;
  right: -10vw;
  top: 22vh;
  background: var(--cyan);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.launcher-header {
  position: relative;
  z-index: 10;
  height: 88px;
  padding: 0 clamp(22px, 4vw, 68px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #90ecff22;
  background: linear-gradient(180deg, #050611f5, #05061199);
}
.arcade-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}
.brand-glyph {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #6ef5ff99;
  clip-path: polygon(
    15% 0,
    85% 0,
    100% 15%,
    100% 85%,
    85% 100%,
    15% 100%,
    0 85%,
    0 15%
  );
  background: #111d35;
  color: var(--lime);
  font-size: 25px;
  box-shadow: inset 0 0 18px #6ef5ff44;
}
.arcade-brand > span:last-child {
  display: flex;
  flex-direction: column;
  font-family: Oxanium, sans-serif;
  line-height: 1;
}
.arcade-brand b {
  font-size: 15px;
  letter-spacing: 0.12em;
}
.arcade-brand em {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.4em;
  font-style: normal;
}
.header-center {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8594ad;
  font-family: Oxanium, sans-serif;
  font-size: 9px;
  letter-spacing: 0.34em;
}
.header-center i {
  display: block;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6ef5ff88);
}
.header-center i:last-child {
  transform: scaleX(-1);
}
.home-link {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid #7a87a233;
  color: #9daac0;
  font-family: Oxanium, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  transition: 0.25s;
}
.home-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 25px #6ef5ff22;
}
.launcher {
  position: relative;
  height: calc(100vh - 220px);
  min-height: 470px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 0 clamp(8px, 2.4vw, 38px);
}
.cabinet-window {
  grid-column: 2;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
.cabinet-track {
  height: 100%;
  display: flex;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-track.is-dragging {
  transition: none;
}
.cabinet-slide {
  min-width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(350px, 0.85fr) minmax(430px, 1.15fr);
  gap: clamp(24px, 5vw, 86px);
  align-items: center;
  padding: clamp(18px, 3vh, 42px) clamp(8px, 2vw, 28px);
  opacity: 0.35;
  transform: scale(0.94);
  transition:
    opacity 0.55s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.base-copy {
  min-width: 0;
  max-width: 650px;
  justify-self: end;
}
.base-overline {
  margin: 28px 0 13px;
  color: #71829d;
  font-family: Oxanium, sans-serif;
  font-size: 9px;
  letter-spacing: 0.34em;
}
.base-copy h1 {
  margin-bottom: 31px;
  font-size: clamp(62px, 7.8vw, 122px);
  line-height: 0.79;
}
.base-copy .description {
  max-width: 620px;
}
.enter-arcade {
  width: max-content;
  margin-top: 29px;
}
.base-help {
  margin: 15px 0 0;
  color: #5e6c83;
  font-family: Oxanium, sans-serif;
  font-size: 7px;
  letter-spacing: 0.17em;
}
.base-help span {
  color: var(--cyan);
}
.base-marquee {
  position: relative;
  width: min(72vh, 650px, 100%);
  aspect-ratio: 1;
  justify-self: start;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #6ef5ff3d;
  border-radius: 50%;
  background:
    radial-gradient(circle, #182f55 0 4%, transparent 5%),
    radial-gradient(circle, #121c3b 0, #080b1a 56%, #050611 72%);
  box-shadow: 0 0 90px #6ef5ff16, inset 0 0 70px #9a72ff14;
}
.base-marquee:before,
.base-marquee:after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid #6ef5ff1f;
  border-radius: 50%;
}
.base-marquee:after {
  inset: 22%;
  border-style: dashed;
  border-color: #d8ff6738;
  animation: marqueeSpin 24s linear infinite;
}
.marquee-stars i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.marquee-stars i:nth-child(1) { left: 17%; top: 31%; }
.marquee-stars i:nth-child(2) { right: 17%; top: 23%; background: var(--pink); }
.marquee-stars i:nth-child(3) { right: 12%; bottom: 34%; }
.marquee-stars i:nth-child(4) { left: 24%; bottom: 17%; background: var(--lime); }
.marquee-stars i:nth-child(5) { left: 11%; top: 58%; background: var(--violet); }
.marquee-orbit {
  position: absolute;
  width: 88%;
  height: 34%;
  border: 1px solid #6ef5ff4a;
  border-radius: 50%;
  transform: rotate(-16deg);
}
.orbit-two {
  transform: rotate(56deg);
  border-color: #9a72ff3f;
}
.marquee-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Oxanium, sans-serif;
  text-align: center;
}
.marquee-core span {
  display: grid;
  place-items: center;
  width: clamp(78px, 9vw, 120px);
  aspect-ratio: 1;
  margin-bottom: 22px;
  border: 1px solid #6ef5ff9c;
  background: #101b34;
  color: var(--lime);
  clip-path: polygon(15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%, 0 15%);
  box-shadow: inset 0 0 34px #6ef5ff3d;
  font-size: clamp(42px, 5vw, 68px);
  text-shadow: 0 0 24px #d8ff6788;
}
.marquee-core b {
  font-size: clamp(17px, 2vw, 29px);
  letter-spacing: 0.17em;
}
.marquee-core em {
  margin-top: 8px;
  color: var(--cyan);
  font-size: clamp(9px, 1vw, 14px);
  font-style: normal;
  letter-spacing: 0.52em;
}
.cabinet-signal {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 13%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 1px 8px;
  padding: 11px 15px;
  border: 1px solid #d8ff6752;
  background: #070a16d9;
  font-family: Oxanium, sans-serif;
}
.cabinet-signal span {
  grid-row: 1 / 3;
  color: var(--lime);
  font-size: 27px;
}
.cabinet-signal b {
  color: #aab6c9;
  font-size: 7px;
  letter-spacing: 0.14em;
}
.cabinet-signal i {
  width: 100%;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
@keyframes marqueeSpin {
  to { transform: rotate(360deg); }
}
.game-copy {
  max-width: 610px;
  justify-self: end;
}
.game-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--cyan);
  font-family: Oxanium, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.game-kicker span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #6ef5ff66;
  background: #6ef5ff0d;
}
.game-kicker i {
  width: 44px;
  height: 1px;
  background: #6ef5ff66;
}
.game-kicker b {
  font-weight: 600;
}
.game-title-row {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 24px 0 18px;
}
.game-icon {
  position: relative;
  flex: 0 0 clamp(75px, 8vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #6ef5ff88;
  border-radius: 25%;
  background: radial-gradient(circle, #214c6d, #10152f 65%);
  box-shadow:
    0 0 50px #6ef5ff2b,
    inset 0 0 25px #6ef5ff22;
  transform: rotate(-7deg);
}
.icon-orbit {
  position: absolute;
  width: 65%;
  height: 65%;
  border: 4px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}
.icon-ship {
  position: relative;
  color: var(--lime);
  font-size: clamp(36px, 4vw, 60px);
  text-shadow: 0 0 15px var(--lime);
  transform: rotate(35deg);
}
h1 {
  margin: 0;
  font-family: Oxanium, sans-serif;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 0.72;
  letter-spacing: -0.075em;
  font-weight: 850;
}
h1 em {
  color: var(--lime);
  font-style: normal;
  text-shadow: 0 0 35px #d8ff6744;
}
.version {
  margin: 15px 0 0;
  color: #8799b6;
  font-family: Oxanium, sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
}
.description {
  max-width: 570px;
  margin: 0;
  color: #c2cad8;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 25px;
}
.game-tags span {
  padding: 6px 9px;
  border: 1px solid #7d89a333;
  color: #8f9db4;
  font-family: Oxanium, sans-serif;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.game-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}
.play-button,
.apk-button {
  height: 48px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-family: Oxanium, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  clip-path: polygon(
    7px 0,
    100% 0,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    0 100%,
    0 7px
  );
  transition:
    transform 0.25s,
    filter 0.25s;
}
.play-button {
  min-width: 174px;
  background: var(--lime);
  color: #0a0c14;
  box-shadow: 0 0 35px #d8ff6730;
}
.play-button b {
  font-size: 18px;
}
.apk-button {
  background: #182138;
  color: var(--cyan);
  border: 1px solid #6ef5ff55;
}
.play-button:hover,
.apk-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}
.apk-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.details-link {
  margin-left: 6px;
  color: #8996ac;
  border-bottom: 1px solid #8996ac55;
  padding: 10px 2px 7px;
  font-family: Oxanium, sans-serif;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.download-status {
  margin: 12px 0 0;
  color: #67768e;
  font-family: Oxanium, sans-serif;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.cabinet-preview {
  position: relative;
  width: min(100%, 790px);
  justify-self: start;
  padding: 12px 12px 20px;
  border: 1px solid #6ef5ff5c;
  clip-path: polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    0 100%,
    0 18px
  );
  background: linear-gradient(145deg, #17223b, #090e1d 58%);
  box-shadow:
    0 25px 70px #0009,
    0 0 55px #6ef5ff16,
    inset 0 0 0 5px #050713;
  transform: perspective(1200px) rotateY(-4deg);
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.3s;
}
.cabinet-preview:hover {
  transform: perspective(1200px) rotateY(0) translateY(-5px);
  filter: brightness(1.06);
}
.cabinet-top {
  height: 34px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7791ad;
  font-family: Oxanium, sans-serif;
  font-size: 8px;
  letter-spacing: 0.23em;
}
.cabinet-top b {
  color: var(--pink);
}
.screen-bezel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 8px solid #03050c;
  border-radius: 3px;
  background: #02030a;
  box-shadow:
    0 0 0 1px #6ef5ff44,
    0 0 35px #6ef5ff20;
}
.screen-bezel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-preview:hover img {
  transform: scale(1.025);
}
.screen-glare {
  position: absolute;
  inset: -80% -35%;
  background: linear-gradient(
    110deg,
    transparent 40%,
    #fff1 48%,
    transparent 55%
  );
  transform: translateX(-30%) rotate(8deg);
  transition: transform 1s;
}
.cabinet-preview:hover .screen-glare {
  transform: translateX(38%) rotate(8deg);
}
.screen-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #000 4px 5px);
  pointer-events: none;
}
.screen-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid #d8ff6799;
  border-radius: 50%;
  background: #050812c7;
  box-shadow: 0 0 30px #d8ff6744;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: 0.35s;
}
.screen-play b {
  color: var(--lime);
  font-size: 26px;
}
.screen-play small {
  font-family: Oxanium;
  font-size: 7px;
  letter-spacing: 0.15em;
}
.cabinet-preview:hover .screen-play,
.cabinet-preview:focus-visible .screen-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cabinet-controls {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px 0;
}
.joystick {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 50%;
  background: #060913;
  border: 1px solid #64748c;
}
.joystick i {
  position: absolute;
  left: 12px;
  bottom: 8px;
  width: 10px;
  height: 24px;
  border-radius: 6px 6px 3px 3px;
  background: var(--pink);
  box-shadow: 0 0 12px #ff5f9166;
}
.control-label {
  color: #56647b;
  font-family: Oxanium;
  font-size: 7px;
  letter-spacing: 0.25em;
}
.buttons {
  display: flex;
  gap: 13px;
  transform: rotate(-12deg);
}
.buttons i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px #6ef5ff66;
}
.buttons i:last-child {
  background: var(--lime);
  box-shadow: 0 0 12px #d8ff6766;
}
.nav-arrow {
  position: relative;
  z-index: 5;
  width: 50px;
  height: 86px;
  border: 1px solid #77849a33;
  background: #0b1020aa;
  color: var(--cyan);
  font-family: system-ui;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
  transition: 0.25s;
}
.nav-next {
  transform: scaleX(-1);
}
.nav-arrow:hover:not(:disabled) {
  border-color: var(--cyan);
  background: #12213a;
  box-shadow: 0 0 30px #6ef5ff22;
}
.nav-arrow:disabled {
  opacity: 0.18;
  cursor: default;
}
.game-dock {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px clamp(22px, 4vw, 68px) max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #6ef5ff2b;
  background: linear-gradient(180deg, #070914e6, #04050ded);
  backdrop-filter: blur(20px);
}
.dock-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5e6d83;
  font-family: Oxanium;
  font-size: 8px;
  letter-spacing: 0.22em;
}
.dock-hint span {
  color: var(--cyan);
}
.dock-hint i {
  width: 28px;
  height: 1px;
  background: #607086;
}
.dock-icons {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}
.dock-game {
  position: relative;
  min-width: 96px;
  height: 106px;
  border: 0;
  background: transparent;
  color: #758299;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s;
}
.dock-game:hover {
  transform: translateY(-4px);
  color: var(--ink);
}
.dock-icon {
  position: relative;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid #61708755;
  border-radius: 15px;
  background: #0c1222;
  transition: 0.4s;
  transform: rotate(-4deg);
}
.dock-icon:before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #6ef5ff99;
  border-radius: 50%;
  box-shadow: 0 0 12px #6ef5ff66;
}
.dock-icon i {
  position: relative;
  color: var(--lime);
  font-size: 26px;
  text-shadow: 0 0 12px var(--lime);
  transform: rotate(35deg);
}
.dock-game b {
  font-family: Oxanium;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.dock-game small {
  font-family: Oxanium;
  font-size: 6px;
  letter-spacing: 0.16em;
  color: #59667b;
}
.dock-game.is-active {
  color: var(--ink);
  transform: translateY(-6px);
}
.dock-game.is-active .dock-icon {
  border-color: var(--lime);
  background: #16233a;
  box-shadow: 0 0 28px #d8ff672b;
}
.dock-game.is-active:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.dock-count {
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: Oxanium;
  color: #56647b;
}
.dock-count b {
  color: var(--lime);
  font-size: 22px;
}
.dock-count span {
  font-size: 13px;
}
.dock-count small {
  font-size: 10px;
}
.cabinet-slide.entering .game-copy {
  animation: copyIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-slide.entering .base-copy {
  animation: copyIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-slide.entering .base-marquee {
  animation: homeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.cabinet-slide.entering .cabinet-preview {
  animation: previewIn 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateX(-55px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes previewIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-12deg) translateX(70px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(-4deg);
  }
}
@keyframes homeIn {
  from {
    opacity: 0;
    transform: translateX(70px) scale(0.88) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  body {
    overflow: hidden;
  }
  .launcher-header {
    height: 72px;
    grid-template-columns: 1fr auto;
  }
  .header-center {
    display: none;
  }
  .launcher {
    height: calc(100dvh - 184px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 14px;
  }
  .cabinet-window {
    grid-column: 1;
  }
  .nav-arrow {
    display: none;
  }
  .cabinet-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 8px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .game-copy {
    justify-self: stretch;
    max-width: none;
  }
  .base-slide {
    align-content: center;
  }
  .base-copy {
    width: 100%;
    justify-self: stretch;
    max-width: none;
  }
  .base-marquee {
    grid-row: 1;
    width: min(42vh, 420px, 78vw);
    justify-self: center;
  }
  .base-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(54px, 14vw, 82px);
  }
  .base-overline {
    margin-top: 0;
  }
  .game-title-row {
    margin: 18px 0 15px;
  }
  .cabinet-preview {
    grid-row: 1;
    max-width: 680px;
    justify-self: center;
    transform: none;
  }
  .cabinet-preview:hover {
    transform: translateY(-4px);
  }
  .game-dock {
    height: 112px;
    grid-template-columns: 1fr auto;
    padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  }
  .dock-hint {
    display: none;
  }
  .dock-game {
    height: 92px;
  }
  .dock-icon {
    width: 48px;
    height: 48px;
  }
  .dock-count {
    font-size: 8px;
  }
  .game-actions {
    padding-bottom: 5px;
  }
}
@media (max-width: 560px) {
  .launcher {
    height: calc(100dvh - 174px);
  }
  .launcher-header {
    padding: 0 15px;
  }
  .arcade-brand b {
    font-size: 12px;
  }
  .brand-glyph {
    width: 37px;
    height: 37px;
  }
  .home-link {
    padding: 8px;
    font-size: 7px;
  }
  .launcher {
    padding-inline: 8px;
  }
  .cabinet-slide {
    padding-top: 14px;
  }
  .base-slide {
    gap: 14px;
    padding-bottom: 18px;
  }
  .base-marquee {
    width: min(33vh, 285px, 72vw);
  }
  .marquee-core span {
    width: 66px;
    margin-bottom: 12px;
    font-size: 36px;
  }
  .marquee-core b {
    font-size: 14px;
  }
  .marquee-core em {
    font-size: 7px;
  }
  .cabinet-signal {
    display: none;
  }
  .base-overline,
  .base-help {
    display: none;
  }
  .base-copy h1 {
    margin: 12px 0 16px;
    font-size: 50px;
  }
  .base-copy .description {
    font-size: 14px;
  }
  .enter-arcade {
    margin-top: 17px;
  }
  .cabinet-preview {
    padding: 7px 7px 12px;
  }
  .cabinet-top {
    height: 26px;
  }
  .screen-bezel {
    border-width: 5px;
  }
  .cabinet-controls {
    height: 40px;
    padding: 6px 10px 0;
  }
  .joystick {
    transform: scale(0.75);
  }
  .buttons {
    transform: rotate(-12deg) scale(0.75);
  }
  .game-icon {
    flex-basis: 72px;
  }
  .game-title-row {
    gap: 15px;
  }
  h1 {
    font-size: 55px;
  }
  .description {
    font-size: 16px;
  }
  .game-tags {
    margin: 15px 0 18px;
  }
  .game-tags span {
    font-size: 7px;
  }
  .play-button,
  .apk-button {
    height: 44px;
    padding: 0 15px;
    font-size: 9px;
  }
  .details-link {
    font-size: 7px;
  }
  .game-dock {
    height: 102px;
  }
  .dock-game {
    height: 84px;
    min-width: 82px;
  }
  .dock-icon {
    width: 43px;
    height: 43px;
  }
  .dock-count b {
    font-size: 17px;
  }
  .screen-play {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
