/* Retain the native document and task dimensions. */
.passport-toolbox-slot {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 88px;
  height: 112px;
  pointer-events: none;
}
#root .fixed.inset-0.bg-abyss\/40.z-0 {
  position: absolute;
  pointer-events: none;
}
#root .pt-20 > h1 { padding-right: 112px; }
@media (max-width: 767px) {
  #root [data-testid="game-main-menu"] > section > h2,
  #root [data-testid="game-main-menu"] > section > p { padding-right: 112px; }
  #root [data-testid="game-main-menu"] > section > p:first-child {
    margin-top: -44px;
    margin-bottom: 56px;
  }
}
@media (max-height: 600px) {
  #root > .h-\[100dvh\]:has([data-testid="game-main-menu"]) {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  #root [data-testid="game-main-menu"] {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  #root [data-testid="game-main-menu"] > section {
    height: auto;
    min-height: 100svh;
    justify-content: flex-start;
    padding-top: 128px;
  }
  #root [data-testid="game-main-menu"] > section > p:first-child {
    margin-top: 0;
    margin-bottom: 12px;
  }
}

@media (min-height: 601px) {
  #root .pt-20:has(> h1) { padding-top: 56px; padding-bottom: 4px; }
  #root .min-h-\[80vh\].max-w-xl { padding: 4px 16px; min-height: 0; }
  #root .min-h-\[80vh\].max-w-xl > .flex.justify-center.mb-4 { margin-bottom: 0; }
  #root .min-h-\[80vh\].max-w-xl > .flex.mb-1 { margin-bottom: 0; }
  #root .min-h-\[80vh\].max-w-xl img.w-64 { width: 96px; }
  #root .min-h-\[80vh\].max-w-xl > .mb-6 { margin-bottom: 4px; }
  #root .min-h-\[80vh\].max-w-xl > .mb-4 { margin-bottom: 4px; }
  #root .min-h-\[80vh\].max-w-xl > p.mb-2 { margin-bottom: 4px; }
  #root .min-h-\[80vh\].max-w-xl .space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 4px; }
  #root .min-h-\[80vh\].max-w-xl > .space-y-3.mb-6 { margin-bottom: 0; }
  #root .min-h-\[80vh\].max-w-xl > .space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 4px; }
  #root .min-h-\[80vh\].max-w-xl > .mb-4 .metal-button { padding: 6px 2px; min-height: 44px; }
  #root .min-h-\[80vh\].max-w-xl .space-y-3 > .flex.rounded-xl { padding-top: 8px; padding-bottom: 8px; }
  #root .min-h-\[80vh\].max-w-xl .rounded-xl.p-3 { padding: 8px; }
  #root .min-h-\[80vh\].max-w-xl .rounded-xl.p-3 > p.mt-2 { margin-top: 0; }
  #root .min-h-\[80vh\].max-w-xl .scroll-texture { padding: 8px 12px; }
  #root .min-h-\[80vh\].max-w-xl textarea { min-height: 88px; height: 88px; }
  #root .min-h-\[80vh\].max-w-xl > .metal-button-gold { padding-top: 8px; padding-bottom: 8px; min-height: 44px; }
}
@media (min-width: 768px) and (min-height: 601px) and (max-height: 800px) {
  #root .min-h-\[80vh\].max-w-xl img.w-64 { width: 56px; }
}
