.game-shell {
  gap: 6px;
  grid-template-rows: 48px minmax(0, 1fr) auto minmax(44px, 44px);
  padding-inline: 7px;
}

.booth-grid {
  gap: 4px;
}

.booth-slot {
  max-height: 44px;
}

.wallet {
  padding-inline: 7px;
}

.top-bar {
  grid-template-columns: minmax(78px, 1fr) 46px minmax(68px, 0.95fr) 34px 34px 34px;
  gap: 4px;
}

.prestige-badge {
  padding-inline: 5px;
  font-size: 8px;
}

.icon-button {
  width: 34px;
  height: 44px;
  font-size: 16px;
}

.coin-icon {
  width: 22px;
  height: 22px;
}

.wallet #coins {
  font-size: clamp(11px, 3.4vw, 14px);
}

.wallet #coinsPerSecond {
  font-size: 8px;
}

.yard-actions {
  gap: 3px;
}

.yard-actions .vip-button {
  min-width: 46px;
  padding-inline: 5px;
  font-size: 13px;
}

.yard-actions .boost-button,
.yard-actions .clear-traffic-btn {
  --ad-btn-w: 68px;
  --ad-btn-h: 34px;
  --ad-btn-pad-left: 30px;
  --ad-btn-pad-right: 3px;
}

.yard-actions .boost-button {
  --ad-text-inset: 9px;
}

.yard-actions .clear-traffic-btn {
  --ad-text-inset: 18px;
  --ad-btn-pad-left: 33px;
}

.yard-actions .small-button strong {
  font-size: 10px;
}

.yard-header p {
  font-size: 9px;
}

.yard-header strong {
  max-width: min(205px, 56vw);
  font-size: 11px;
  line-height: 1.1;
  white-space: normal;
  text-overflow: clip;
  max-height: 24px;
}

.action-bar {
  --ab-gap: 2px;
  --ab-pad-x: 2px;
  --ab-icon-col: 12px;
  --ab-icon-gap: 2px;
  --ab-label: 7.6px;
  --ab-label-long: 7px;
  --ab-status: 6.6px;
  max-height: 42px;
}

.action-bar .action-btn {
  min-height: 0;
  max-height: none;
}

.flow-rail {
  gap: 3px;
  margin: 0 0 4px;
}

.flow-lane-btn {
  min-height: 32px;
  padding: 3px 5px 3px 7px;
}

.flow-lane-name {
  font-size: 6.5px;
}

.flow-lane-level {
  font-size: 9px;
}

.flow-lane-cost {
  font-size: 7.5px;
}

.mission-card {
  top: 6px;
  min-height: 46px;
  padding: 6px 7px;
  grid-template-columns: minmax(0, 1fr) 46px;
}

.mission-card span {
  font-size: 9px;
}

.mission-card strong {
  font-size: 11px;
}

.borough-track {
  top: 86px;
  left: 10px;
  right: 10px;
  gap: 4px;
}

.borough-track span {
  min-height: 22px;
  padding: 5px 3px;
  font-size: 7px;
}

.road {
  inset: 116px 0 0;
}

.lane {
  min-height: 44px;
}

.toll-gate {
  width: 50px;
  right: 8px;
  top: 7%;
  bottom: 7%;
  height: auto;
}

.toll-gate span {
  font-size: 12px;
  line-height: 1;
}

.toll-gate em {
  display: none;
}

.lane-lock {
  width: min(118px, 58%);
  gap: 2px;
  padding: 4px 5px;
  border-width: 1.5px;
  box-shadow: 0 4px 0 rgba(109, 71, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0.2);
}

.lane-lock strong {
  font-size: 10px;
  line-height: 1;
}

.lane-lock span {
  min-height: 14px;
  padding-inline: 5px;
  font-size: 8px;
}

.toll-gate small {
  font-size: 6.8px;
}

.toll-gate::before {
  top: 6px;
  width: 7px;
  height: 7px;
  box-shadow: 10px 0 0 #ffd44d, -10px 0 0 #ff6b6b;
}

.lane-grade {
  left: 5px;
  bottom: 4px;
  min-width: 58px;
  height: 17px;
  padding: 0 4px;
  font-size: 7px;
}

.lane-drop {
  right: 1%;
  background: rgba(19, 24, 38, 0.42);
  border: 2px dashed rgba(255, 212, 77, 0.85);
  border-radius: 6px;
  z-index: 4;
}

.lane::before,
.vip-lane::before {
  left: 9px;
  font-size: 10px;
}

.start-screen {
  padding-inline: 10px;
}

.start-panel {
  width: 100%;
}


.lane:not(.locked) .toll-gate::after { content: none; }
