.mobile-shell.is-select-game .cg-clone.cg-spaced {
  display: grid !important;
  grid-template-rows: 54px minmax(0, 1fr) 52px 60px;
  gap: 7px;
  padding: 6px 7px max(4px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  height: 100dvh !important;
  background: radial-gradient(ellipse at top, #168a81, #003e39) !important;
  border-radius: 0 !important;
}
.cg-spaced .cg-compact-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  color: #fff2b3;
  text-align: center;
}
.cg-spaced .cg-compact-header h1 {
  margin: 0;
  min-height: 24px;
  font: 900 clamp(14px, 4.5cqw, 22px)/1.15 Arial, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 2px 2px #462e00;
  overflow-wrap: anywhere;
}
.cg-spaced .cg-compact-header p {
  margin: 3px 0 0;
  font: 500 11px/1.1 Arial, sans-serif;
  color: #e0f7ef;
}
.cg-spaced .cg-compact-back {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #b4f2db;
  border-radius: 50%;
  background: linear-gradient(#199e91,#004840);
  box-shadow: 0 2px 5px #002f2b99;
  color: white;
  text-decoration: none;
  font-size: 26px;
}
.cg-spaced .cg-separated-games {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  grid-template-rows: repeat(6, minmax(0,1fr));
  gap: 7px;
}
.cg-spaced .cg-sprite-card {
  grid-column: span 3;
  display: block;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border-radius: 13px;
  box-shadow: 0 2px 4px #001f1a99;
  -webkit-tap-highlight-color: transparent;
}
.cg-spaced .cg-sprite-card:nth-child(n+17):nth-child(-n+19) {
  grid-column: span 4;
}
.cg-spaced .cg-sprite-card:active { filter: brightness(1.15); }
.cg-spaced .cg-sprite-card:focus-visible { outline: 2px solid white; outline-offset: 1px; }
.cg-spaced .cg-sprite {
  position: absolute !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  pointer-events: none;
  user-select: none;
}
.cg-spaced .cg-compact-sangam {
  grid-column: auto;
  border-radius: 13px;
}
.cg-spaced .cg-compact-sangam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 35%,#ffffff66 49%,transparent 63%);
  transform: translateX(-110%);
  animation: cgSpacedShine 4s ease-in-out infinite;
  pointer-events: none;
}
.mobile-shell.is-select-game .cg-spaced .cg-lobby-footer {
  position: relative;
  inset: auto;
  height: 100%;
  min-height: 0;
  border-radius: 17px;
  padding: 3px;
}
.cg-spaced .cg-lobby-footer a { font-size: 10px; }
.cg-spaced .cg-lobby-footer svg { width: 21px; height: 21px; }
@keyframes cgSpacedShine { 0%,65% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }
@media (max-height: 680px) {
  .mobile-shell.is-select-game .cg-clone.cg-spaced { grid-template-rows: 46px minmax(0,1fr) 43px 52px; gap: 6px; }
  .cg-spaced .cg-separated-games { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .cg-spaced .cg-compact-sangam::after { animation: none; } }
