/* Extracted startup/loading styles from airshow.css for maintainability. */

    @font-face {
      font-family: "BoardingPass";
      src: url("/fonts/boardingpass.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    #loading-overlay {
      --startup-shell-height: clamp(480px, 66vh, 588px);
      --startup-step-height: calc(var(--startup-shell-height) - 40px);
      --startup-loading-height: clamp(300px, 45vh, 380px);
      --startup-choice-card-height: 292px;
      --startup-game-card-height: calc(var(--startup-choice-card-height) + 60px);
      --startup-choice-card-height-compact: 224px;
      position: fixed;
      inset: 0;
      background: #040912 url("../../images/startup/loading.webp") center center / cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      pointer-events: all;
      opacity: 1;
      visibility: visible;
      transition: opacity 420ms cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 420ms;
    }
    #loading-overlay.startup-overlay-exit {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    .startup-shell {
      position: relative;
      display: flex;
      flex-direction: column;
      width: min(94vw, 920px);
      min-height: var(--startup-shell-height);
      background:
        linear-gradient(156deg, rgba(10, 19, 32, 0.82), rgba(8, 16, 28, 0.72)),
        radial-gradient(80% 62% at 20% 0%, rgba(124, 178, 255, 0.18), rgba(8, 14, 24, 0) 75%);
      border: 1px solid rgba(198, 226, 255, 0.28);
      box-shadow: 0 22px 54px rgba(0,0,0,0.46), inset 0 0 0 1px rgba(255,255,255,0.06);
      border-radius: 20px;
      padding-top: 24px;
      padding-right: 24px;
      padding-bottom: clamp(13px, 1.7vw, 17px);
      padding-left: 24px;
      backdrop-filter: blur(10px) saturate(126%);
    }
    #loading-overlay.startup-navigate-active .startup-shell {
      min-height: var(--startup-shell-height);
      height: var(--startup-shell-height);
      max-height: var(--startup-shell-height);
      padding-top: 24px;
      padding-bottom: clamp(13px, 1.7vw, 17px);
      overflow: hidden;
    }
    #loading-overlay.startup-connecting .startup-shell {
      width: auto;
      min-height: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      border-radius: 0;
      padding: 0;
      backdrop-filter: none;
    }
    #loading-overlay.startup-connecting .startup-shell::before,
    #loading-overlay.startup-connecting .startup-shell::after {
      display: none;
    }
    #loading-overlay.startup-connecting .startup-root {
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .startup-root {
      min-height: calc(var(--startup-shell-height) - 28px);
      color: #fff;
      font-size: 15px;
    }
    .startup-bottom-info {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 10px;
      z-index: 2002;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 0 18px;
      color: rgba(255,255,255,0.82);
      font-size: 12px;
      letter-spacing: 0.2px;
      line-height: 1.35;
      pointer-events: auto;
      text-shadow: 0 1px 3px rgba(0,0,0,0.48);
    }
    #startup-bottom-info-global {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 10px;
      z-index: 2104;
    }
    .startup-bottom-info-right {
      display: flex;
      align-items: center;
      gap: 24px;
      white-space: nowrap;
      margin-left: auto;
      justify-content: flex-end;
    }
    .startup-bottom-info a {
      color: rgba(255,255,255,0.86);
      text-decoration: none;
      pointer-events: auto;
    }
    .startup-bottom-info a:hover {
      text-decoration: underline;
    }
    .startup-bottom-info-leftpane {
      position: absolute;
      left: 18px;
      right: auto;
      bottom: 10px;
      z-index: 8;
      justify-content: flex-start;
      gap: 20px;
      padding: 0;
      width: calc(100% - 36px);
      max-width: calc(100% - 36px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(4px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    }
    .startup-bottom-info-leftpane .startup-bottom-info-right {
      gap: 18px;
      margin-left: auto;
      justify-content: flex-end;
    }
    .startup-bottom-info-leftpane.is-visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
      transition-delay: 0s;
    }
    @media (max-width: 720px) {
      .startup-bottom-info {
        bottom: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      #startup-bottom-info-global {
        bottom: 8px;
      }
      .startup-bottom-info-right {
        gap: 12px;
        flex-wrap: wrap;
        margin-left: 0;
      }
      .startup-bottom-info-leftpane {
        left: 12px;
        bottom: 8px;
        width: calc(100% - 24px);
      }
    }
    .startup-root.startup-screen-enter {
      animation: startupScreenFadeIn 220ms ease-out;
    }
    @keyframes startupScreenFadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    .startup-header {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 16px;
      padding-bottom: 8px;
    }
    .startup-header::after {
      content: "";
      width: min(170px, 48%);
      height: 1px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(196, 229, 255, 0.54), rgba(196, 229, 255, 0.06));
    }
    .startup-title {
      font-size: clamp(24px, 3.1vw, 32px);
      font-weight: 800;
      letter-spacing: 0.24px;
      line-height: 1.08;
      color: #f4f9ff;
      text-shadow: 0 6px 16px rgba(0, 0, 0, 0.36);
    }
    .startup-title-row {
      display: inline-flex;
      align-items: center;
      gap: clamp(10px, 1.2vw, 14px);
      position: relative;
      min-width: 0;
      max-width: 100%;
      overflow: visible;
    }
    .startup-title-row-with-logo {
      isolation: isolate;
      padding-right: 0;
    }
    .startup-title-logo {
      position: relative;
      right: auto;
      top: auto;
      width: clamp(36px, 4.3vw, 52px);
      height: clamp(36px, 4.3vw, 52px);
      object-fit: contain;
      flex: 0 0 auto;
      transform: translateX(8px) scale(1.6);
      transform-origin: center center;
      pointer-events: none;
      filter:
        brightness(1.15)
        saturate(1.22)
        drop-shadow(0 0 7px rgba(255, 246, 196, 0.45))
        drop-shadow(0 0 14px rgba(255, 224, 124, 0.41))
        drop-shadow(0 0 28px rgba(255, 214, 92, 0.33))
        drop-shadow(0 0 46px rgba(255, 214, 92, 0.21))
        drop-shadow(0 0 70px rgba(255, 214, 92, 0.11));
    }
    .startup-subtitle {
      color: rgba(224, 241, 255, 0.86);
      font-size: 14px;
      line-height: 1.42;
    }
    .startup-mode-greeting {
      margin: -2px 0 14px;
      color: rgba(234, 244, 255, 0.9);
      font-size: 18px;
      font-weight: 600;
      line-height: 1.35;
      text-align: left;
      letter-spacing: 0.15px;
    }
    .startup-mode-greeting-name {
      color: #72ccff;
      font-size: 1.1em;
    }
    .startup-brand-note {
      margin-top: 4px;
      color: rgba(255,255,255,0.92);
      font-size: 13px;
      line-height: 1.4;
    }
    .startup-auth-startwith {
      color: rgba(255,255,255,0.82);
      font-size: 12px;
      letter-spacing: 0.2px;
      margin-bottom: 6px;
    }
    .startup-auth-row {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin-bottom: 10px;
      width: 100%;
    }
    .startup-auth-callout {
      color: #ffd84a;
      font-size: 24px;
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: 0.2px;
      white-space: nowrap;
      flex: 0 0 auto;
    }
    #startup-google-btn {
      min-width: 280px;
      display: flex;
      justify-content: flex-end;
      flex: 0 0 auto;
    }
    .startup-promo-placeholder {
      margin-top: 18px;
      min-height: 96px;
      border: 1px dashed rgba(255,255,255,0.38);
      border-radius: 10px;
      padding: 12px;
      color: rgba(255,255,255,0.78);
      background: rgba(255,255,255,0.05);
      font-size: 12px;
      line-height: 1.45;
    }
    .startup-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin: 10px 0 16px;
    }
    .startup-card {
      border: 1px solid rgba(199, 226, 255, 0.28);
      border-radius: 14px;
      background: linear-gradient(156deg, rgba(30, 53, 84, 0.34), rgba(18, 33, 52, 0.26));
      color: #fff;
      padding: 16px;
      text-align: left;
      cursor: pointer;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 20px rgba(0, 14, 34, 0.24);
      transition: transform 170ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }
    .startup-card:hover {
      transform: translateY(-1px);
      border-color: rgba(220, 238, 255, 0.5);
      background: linear-gradient(156deg, rgba(39, 67, 104, 0.42), rgba(21, 39, 60, 0.33));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 12px 26px rgba(0, 16, 38, 0.3);
    }
    .startup-card:active {
      transform: translateY(0);
    }
    .startup-card:focus-visible {
      outline: 2px solid rgba(184, 223, 255, 0.95);
      outline-offset: 2px;
    }
    .startup-card-title {
      font-weight: 700;
      font-size: 19px;
      margin-bottom: 5px;
      letter-spacing: 0.2px;
    }
    .startup-card-desc {
      color: rgba(228, 242, 255, 0.88);
      font-size: 13px;
      line-height: 1.32;
    }
    .startup-grid-hero {
      gap: 24px;
      margin-top: 6px;
    }
    .startup-hero-card {
      position: relative;
      min-height: 286px;
      border-radius: 20px;
      border: 1px solid rgba(174, 212, 248, 0.44);
      background:
        linear-gradient(160deg, rgba(18, 36, 58, 0.8), rgba(20, 42, 70, 0.58)),
        radial-gradient(100% 90% at 80% -18%, rgba(137, 198, 255, 0.22), rgba(23, 45, 74, 0) 58%);
      -webkit-backdrop-filter: blur(14px) saturate(135%);
      backdrop-filter: blur(14px) saturate(135%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.14),
        0 14px 30px rgba(0, 16, 40, 0.3);
      padding: 41px 18px 16px;
      overflow: hidden;
      transform: translateZ(0);
      will-change: transform, backdrop-filter;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .startup-grid-hero .startup-hero-card::before {
      content: "";
      position: absolute;
      inset: -40% -56%;
      background: linear-gradient(113deg, rgba(255,255,255,0) 30%, rgba(226, 242, 255, 0.24) 43%, rgba(236, 248, 255, 0.56) 50%, rgba(226, 242, 255, 0.22) 57%, rgba(255,255,255,0) 70%);
      transform: translateX(-78%) rotate(10deg);
      opacity: 0;
      transition: transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-hero-card::after {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      border: 1px solid rgba(214, 234, 255, 0.04);
      box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
      opacity: 0;
      transition: opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-hero-card > * {
      position: relative;
      z-index: 1;
    }
    /* Keep mode cards visually consistent on first paint and after step transitions. */
    #startup-root .startup-hero-card {
      border-color: rgba(174, 212, 248, 0.44) !important;
      background:
        linear-gradient(160deg, rgba(18, 36, 58, 0.8), rgba(20, 42, 70, 0.58)),
        radial-gradient(100% 90% at 80% -18%, rgba(137, 198, 255, 0.22), rgba(23, 45, 74, 0) 58%) !important;
      -webkit-backdrop-filter: blur(14px) saturate(135%) !important;
      backdrop-filter: blur(14px) saturate(135%) !important;
    }
    .startup-hero-card:hover {
      transform: translate3d(0, -3px, 0) scale(1.012);
      border-color: rgba(214, 234, 255, 0.62);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 20px 40px rgba(0, 22, 56, 0.38),
        0 0 28px rgba(148, 206, 255, 0.18);
      background:
        linear-gradient(160deg, rgba(22, 43, 69, 0.86), rgba(25, 50, 82, 0.66)),
        radial-gradient(100% 90% at 80% -18%, rgba(157, 210, 255, 0.3), rgba(23, 45, 74, 0) 58%);
    }
    .startup-grid-hero .startup-hero-card:hover::before {
      transform: translateX(44%) rotate(10deg);
      opacity: 1;
    }
    .startup-hero-card:hover::after {
      opacity: 1;
      border-color: rgba(214, 234, 255, 0.3);
      box-shadow: inset 0 0 0 1px rgba(218, 238, 255, 0.12), 0 0 34px rgba(150, 204, 255, 0.24);
    }
    .startup-hero-card:focus-visible {
      outline: 2px solid rgba(184, 223, 255, 0.95);
      outline-offset: 2px;
    }
    #startup-root .startup-hero-card:hover {
      border-color: rgba(214, 234, 255, 0.62) !important;
      background:
        linear-gradient(160deg, rgba(22, 43, 69, 0.86), rgba(25, 50, 82, 0.66)),
        radial-gradient(100% 90% at 80% -18%, rgba(157, 210, 255, 0.3), rgba(23, 45, 74, 0) 58%) !important;
    }
    .startup-card-badge {
      position: absolute;
      right: 14px;
      top: 14px;
      border-radius: 999px;
      padding: 5px 12px;
      background: rgba(244, 248, 252, 0.93);
      color: #1d2a3d;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2px;
      border: 1px solid rgba(228, 240, 252, 0.95);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
      z-index: 2;
    }
    .startup-card-iconbox {
      width: auto;
      height: auto;
      margin: 8px auto 12px;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0;
      background: transparent;
      box-shadow: none;
      filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.46));
      position: relative;
      isolation: isolate;
      transition: transform 220ms ease, filter 220ms ease;
    }
    .startup-card-iconbox::before {
      content: "";
      position: absolute;
      inset: 10px 18px;
      border-radius: 999px;
      opacity: 0.58;
      pointer-events: none;
      z-index: 0;
      mix-blend-mode: screen;
      filter: blur(10px);
      transform: scale(1);
      animation: startupIconSoftGlow 3.1s ease-in-out infinite;
    }
    .startup-card-iconbox > * {
      position: relative;
      z-index: 1;
    }
    .startup-mode-icon-image {
      width: 166px;
      height: 166px;
      object-fit: contain;
      display: block;
      transform: scale(1.1);
      transform-origin: center center;
      transition: transform 220ms ease, filter 220ms ease;
    }
    #mode-navigate .startup-card-title {
      color: #ffd84a;
    }
    #mode-explore .startup-card-title {
      color: #b7f34d;
    }
    #mode-navigate .startup-mode-icon-image {
      filter: brightness(0) saturate(100%) invert(89%) sepia(42%) saturate(1790%) hue-rotate(336deg) brightness(103%) contrast(103%) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    }
    #mode-explore .startup-mode-icon-image {
      filter: brightness(0) saturate(100%) invert(89%) sepia(59%) saturate(1428%) hue-rotate(31deg) brightness(101%) contrast(96%) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    }
    #mode-navigate .startup-card-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(255, 218, 82, 0.18) 0%, rgba(255, 218, 82, 0.14) 42%, rgba(255, 218, 82, 0.07) 60%, rgba(255, 218, 82, 0) 82%);
      box-shadow: 0 0 16px rgba(255, 216, 74, 0.15);
    }
    #mode-explore .startup-card-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(183, 243, 77, 0.17) 0%, rgba(183, 243, 77, 0.13) 42%, rgba(183, 243, 77, 0.07) 60%, rgba(183, 243, 77, 0) 82%);
      box-shadow: 0 0 16px rgba(183, 243, 77, 0.14);
    }
    #game-infinite-flight .startup-card-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(255, 218, 82, 0.18) 0%, rgba(255, 218, 82, 0.14) 42%, rgba(255, 218, 82, 0.07) 60%, rgba(255, 218, 82, 0) 82%);
      box-shadow: 0 0 16px rgba(255, 216, 74, 0.15);
    }
    #game-vatsim .startup-card-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(183, 243, 77, 0.17) 0%, rgba(183, 243, 77, 0.13) 42%, rgba(183, 243, 77, 0.07) 60%, rgba(183, 243, 77, 0) 82%);
      box-shadow: 0 0 16px rgba(183, 243, 77, 0.14);
    }
    #game-infinite-flight.startup-hero-card,
    #game-vatsim.startup-hero-card {
      min-height: var(--startup-game-card-height);
      height: var(--startup-game-card-height);
      padding: 44px 18px 18px;
    }
    #mode-navigate.startup-hero-card,
    #mode-explore.startup-hero-card {
      min-height: var(--startup-choice-card-height);
      height: var(--startup-choice-card-height);
      padding: 36px 16px 14px;
    }
    #mode-navigate .startup-mode-icon-image,
    #mode-explore .startup-mode-icon-image {
      width: 156px;
      height: 156px;
      transform: scale(1.04);
    }
    #game-infinite-flight.startup-hero-card:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 22px 44px rgba(0, 22, 56, 0.4),
        0 0 46px rgba(255, 212, 88, 0.28);
    }
    #game-vatsim.startup-hero-card:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 22px 44px rgba(0, 22, 56, 0.4),
        0 0 46px rgba(174, 255, 126, 0.26);
    }
    #mode-navigate.startup-hero-card:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 20px 40px rgba(0, 22, 56, 0.38),
        0 0 42px rgba(255, 212, 88, 0.26);
    }
    #mode-explore.startup-hero-card:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 20px 40px rgba(0, 22, 56, 0.38),
        0 0 42px rgba(174, 255, 126, 0.24);
    }
    #game-infinite-flight.startup-hero-card:hover .startup-mode-icon-image {
      transform: scale(1.16) translateY(-2px);
    }
    #game-vatsim.startup-hero-card:hover .startup-mode-icon-image {
      transform: scale(1.15) translateY(-2px);
    }
    #mode-navigate.startup-hero-card:hover .startup-mode-icon-image,
    #mode-explore.startup-hero-card:hover .startup-mode-icon-image {
      transform: scale(1.1) translateY(-2px);
    }
    #game-infinite-flight.startup-hero-card:hover .startup-card-iconbox,
    #mode-navigate.startup-hero-card:hover .startup-card-iconbox {
      filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(255, 214, 92, 0.42));
    }
    #game-vatsim.startup-hero-card:hover .startup-card-iconbox,
    #mode-explore.startup-hero-card:hover .startup-card-iconbox {
      filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(182, 255, 128, 0.38));
    }
    #mode-navigate .startup-card-title,
    #mode-explore .startup-card-title {
      font-size: 24px;
      margin-top: -1px;
      margin-bottom: 5px;
    }
    #mode-navigate .startup-card-desc,
    #mode-explore .startup-card-desc {
      font-size: 12px;
      min-height: 38px;
    }
    .startup-hero-card .startup-card-title {
      font-size: 26px;
      line-height: 1.12;
      margin-top: -2px;
      margin-bottom: 7px;
      text-align: center;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    .startup-hero-card .startup-card-desc {
      font-size: 13px;
      line-height: 1.38;
      text-align: center;
      color: rgba(225, 241, 255, 0.9);
      min-height: 44px;
    }
    .startup-server-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin: 4px 0 8px;
    }
    .startup-root.startup-game-step {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      padding-bottom: 0;
      box-sizing: border-box;
    }
    .startup-root.startup-mode-step {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      padding-bottom: 0;
      box-sizing: border-box;
    }
    .startup-root.startup-server-step {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      padding-bottom: 0;
      box-sizing: border-box;
    }
    .startup-root.startup-game-step .startup-grid-hero,
    .startup-root.startup-mode-step .startup-grid-hero,
    .startup-root.startup-server-step .startup-server-grid {
      flex: 0 0 auto;
      align-content: center;
      margin: 14px 0 4px;
      padding-top: 0;
      box-sizing: border-box;
    }
    .startup-root.startup-game-step .startup-grid-hero {
      margin-top: 10px;
      margin-bottom: 0;
    }
    .startup-root.startup-game-step .startup-title-logo {
      filter:
        brightness(0)
        saturate(100%)
        invert(100%)
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.44))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.28))
        drop-shadow(0 0 34px rgba(255, 255, 255, 0.16));
    }
    .startup-root.startup-game-step .startup-mode-greeting + .startup-grid-hero,
    .startup-root.startup-mode-step .startup-mode-greeting + .startup-grid-hero {
      transform: translateY(-16px) scale(0.935);
      transform-origin: center center;
    }
    .startup-root.startup-mode-step .startup-header + .startup-grid-hero,
    .startup-root.startup-server-step .startup-header + .startup-server-grid {
      margin-top: 10px;
      margin-bottom: 0;
      transform: none;
    }
    .startup-root.startup-game-step .startup-grid-hero .startup-card,
    .startup-root.startup-mode-step .startup-grid-hero .startup-card,
    .startup-root.startup-server-step .startup-server-grid .startup-server-card {
      opacity: 0;
      transform: translate3d(0, 12px, 0) scale(0.986);
      animation: startupStepCardIn 360ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    }
    .startup-root.startup-game-step .startup-grid-hero .startup-card:nth-child(1),
    .startup-root.startup-mode-step .startup-grid-hero .startup-card:nth-child(1),
    .startup-root.startup-server-step .startup-server-grid .startup-server-card:nth-child(1) {
      animation-delay: 35ms;
    }
    .startup-root.startup-game-step .startup-grid-hero .startup-card:nth-child(2),
    .startup-root.startup-mode-step .startup-grid-hero .startup-card:nth-child(2),
    .startup-root.startup-server-step .startup-server-grid .startup-server-card:nth-child(2) {
      animation-delay: 85ms;
    }
    .startup-root.startup-server-step .startup-server-grid .startup-server-card:nth-child(3) {
      animation-delay: 135ms;
    }
    @keyframes startupStepCardIn {
      to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
    }
    .startup-root.startup-mode-step .startup-actions {
      flex: 0 0 auto;
      margin-top: auto;
      padding: 16px 0 0 2px;
      min-height: 0;
      align-items: center;
    }
    .startup-root.startup-mode-step #startup-back-game {
      position: static;
      left: auto;
      top: auto;
      transform: none;
    }
    .startup-root.startup-navigate-step {
      display: flex;
      flex-direction: column;
      row-gap: 0;
      min-height: 100%;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      padding-bottom: 0;
      box-sizing: border-box;
    }
    .startup-root.startup-navigate-step .startup-header,
    .startup-root.startup-navigate-step .startup-field {
      margin-bottom: 0;
    }
    .startup-root.startup-loading-step {
      min-height: calc(var(--startup-shell-height) - 28px);
      height: calc(var(--startup-shell-height) - 28px);
      max-height: calc(var(--startup-shell-height) - 28px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      text-align: center;
    }
    .startup-root.startup-loading-step .startup-header {
      margin-bottom: 0;
      align-items: center;
    }
    .startup-root.startup-server-step .startup-actions {
      flex: 0 0 auto;
      margin-top: auto;
      padding: 16px 0 0 2px;
      min-height: 0;
      align-items: center;
    }
    .startup-root.startup-server-step .startup-actions #startup-back {
      position: static;
      left: auto;
      top: auto;
      transform: none;
    }
    .startup-root.startup-navigate-step .startup-actions {
      flex: 0 0 auto;
      margin-top: auto;
      padding: 16px 0 0 2px;
      min-height: 0;
      align-items: center;
    }
    .startup-root.startup-mode-step .startup-actions .startup-btn,
    .startup-root.startup-server-step .startup-actions .startup-btn,
    .startup-root.startup-navigate-step .startup-actions .startup-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 42px;
      line-height: 1;
      padding-top: 0;
      padding-bottom: 0;
    }
    .startup-root.startup-navigate-step .startup-flight-list {
      margin-top: 12px;
      flex: 1 1 auto;
      min-height: 0;
      height: auto;
      max-height: none;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
    }
    .startup-server-card {
      position: relative;
      border-radius: 16px;
      border: 1px solid rgba(174, 212, 248, 0.42);
      background:
        linear-gradient(160deg, rgba(18, 36, 58, 0.78), rgba(20, 42, 70, 0.56)),
        radial-gradient(100% 90% at 80% -20%, rgba(137, 198, 255, 0.2), rgba(23, 45, 74, 0) 58%);
      backdrop-filter: blur(12px) saturate(128%);
      color: #fff;
      text-align: center;
      min-height: var(--startup-choice-card-height);
      height: var(--startup-choice-card-height);
      padding: 30px 14px 16px;
      cursor: pointer;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.12),
        0 8px 20px rgba(0, 12, 30, 0.2);
      overflow: hidden;
    }
    .startup-server-grid .startup-server-card::before {
      content: "";
      position: absolute;
      inset: -40% -56%;
      background: linear-gradient(113deg, rgba(255,255,255,0) 30%, rgba(226, 242, 255, 0.2) 43%, rgba(236, 248, 255, 0.5) 50%, rgba(226, 242, 255, 0.18) 57%, rgba(255,255,255,0) 70%);
      transform: translateX(-78%) rotate(10deg);
      opacity: 0;
      transition: transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-server-card::after {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      border: 1px solid rgba(214, 234, 255, 0.04);
      box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
      opacity: 0;
      transition: opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-server-card > * {
      position: relative;
      z-index: 1;
    }
    .startup-server-card:hover {
      transform: translateY(-3px) scale(1.012);
      border-color: rgba(214, 234, 255, 0.6);
      background:
        linear-gradient(160deg, rgba(22, 43, 69, 0.86), rgba(25, 50, 82, 0.64)),
        radial-gradient(100% 90% at 80% -20%, rgba(157, 210, 255, 0.28), rgba(23, 45, 74, 0) 58%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.24),
        0 18px 38px rgba(0, 20, 50, 0.38),
        0 0 30px rgba(132, 210, 255, 0.2);
    }
    .startup-server-grid .startup-server-card:hover::before {
      transform: translateX(44%) rotate(10deg);
      opacity: 1;
    }
    .startup-server-card:hover::after {
      opacity: 1;
      border-color: rgba(214, 234, 255, 0.3);
      box-shadow: inset 0 0 0 1px rgba(218, 238, 255, 0.12), 0 0 30px rgba(150, 204, 255, 0.2);
    }
    .startup-server-card:focus-visible {
      outline: 2px solid rgba(184, 223, 255, 0.95);
      outline-offset: 2px;
    }
    .startup-server-card.active {
      border-color: rgba(221, 238, 255, 0.76);
      background:
        linear-gradient(160deg, rgba(28, 51, 78, 0.9), rgba(26, 55, 88, 0.68)),
        radial-gradient(100% 90% at 80% -20%, rgba(174, 218, 255, 0.34), rgba(23, 45, 74, 0) 58%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.28),
        0 12px 30px rgba(0, 20, 50, 0.34),
        0 0 26px rgba(125, 209, 255, 0.46),
        0 0 54px rgba(102, 188, 255, 0.34);
      transform: translateY(-2px) scale(1.012);
    }
    .startup-server-card.active .startup-server-name {
      color: #ffffff;
      text-shadow: 0 0 10px rgba(154, 224, 255, 0.4);
    }
    .startup-server-iconbox {
      width: auto;
      height: auto;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0;
      background: transparent;
      box-shadow: none;
      margin: 0 auto 10px;
      position: relative;
      isolation: isolate;
      transition: transform 220ms ease, filter 220ms ease;
    }
    .startup-server-iconbox::before {
      content: "";
      position: absolute;
      inset: 7px 11px;
      border-radius: 999px;
      opacity: 0.56;
      pointer-events: none;
      z-index: 0;
      mix-blend-mode: screen;
      filter: blur(9px);
      transform: scale(1);
      animation: startupIconSoftGlow 3.1s ease-in-out infinite;
    }
    .startup-server-iconbox > * {
      position: relative;
      z-index: 1;
    }
    .startup-server-iconbox svg {
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    }
    .startup-server-icon-image {
      width: 98px;
      height: 98px;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
      transition: transform 220ms ease, filter 220ms ease;
    }
    .startup-server-card.startup-server-casual .startup-server-name {
      color: #ffd84a;
    }
    .startup-server-card.startup-server-training .startup-server-name {
      color: #b7f34d;
    }
    .startup-server-card.startup-server-expert .startup-server-name {
      color: #72ccff;
    }
    .startup-server-card.startup-server-casual .startup-server-icon-image {
      filter: brightness(0) saturate(100%) invert(89%) sepia(42%) saturate(1790%) hue-rotate(336deg) brightness(103%) contrast(103%) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
    }
    .startup-server-card.startup-server-training .startup-server-icon-image {
      filter: brightness(0) saturate(100%) invert(89%) sepia(59%) saturate(1428%) hue-rotate(31deg) brightness(101%) contrast(96%) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
    }
    .startup-server-card.startup-server-expert .startup-server-icon-image {
      filter: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(874%) hue-rotate(165deg) brightness(102%) contrast(101%) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
    }
    .startup-server-card.startup-server-casual .startup-server-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(255, 218, 82, 0.16) 0%, rgba(255, 218, 82, 0.12) 42%, rgba(255, 218, 82, 0.06) 60%, rgba(255, 218, 82, 0) 82%);
      box-shadow: 0 0 14px rgba(255, 216, 74, 0.13);
    }
    .startup-server-card.startup-server-training .startup-server-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(183, 243, 77, 0.15) 0%, rgba(183, 243, 77, 0.12) 42%, rgba(183, 243, 77, 0.06) 60%, rgba(183, 243, 77, 0) 82%);
      box-shadow: 0 0 14px rgba(183, 243, 77, 0.12);
    }
    .startup-server-card.startup-server-expert .startup-server-iconbox::before {
      background: radial-gradient(ellipse at 50% 50%, rgba(114, 204, 255, 0.15) 0%, rgba(114, 204, 255, 0.12) 42%, rgba(114, 204, 255, 0.06) 60%, rgba(114, 204, 255, 0) 82%);
      box-shadow: 0 0 14px rgba(114, 204, 255, 0.12);
    }
    .startup-server-card.startup-server-casual:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.24),
        0 20px 40px rgba(0, 20, 50, 0.4),
        0 0 44px rgba(255, 212, 88, 0.3);
    }
    .startup-server-card.startup-server-training:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.24),
        0 20px 40px rgba(0, 20, 50, 0.4),
        0 0 44px rgba(182, 255, 128, 0.28);
    }
    .startup-server-card.startup-server-expert:hover {
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.24),
        0 20px 40px rgba(0, 20, 50, 0.4),
        0 0 44px rgba(132, 210, 255, 0.3);
    }
    .startup-server-card:hover .startup-server-icon-image {
      transform: scale(1.08) translateY(-2px);
    }
    .startup-server-card.startup-server-casual:hover .startup-server-iconbox {
      filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 18px rgba(255, 214, 92, 0.35));
    }
    .startup-server-card.startup-server-training:hover .startup-server-iconbox {
      filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 18px rgba(182, 255, 128, 0.32));
    }
    .startup-server-card.startup-server-expert:hover .startup-server-iconbox {
      filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 18px rgba(132, 210, 255, 0.34));
    }
    @keyframes startupIconSoftGlow {
      0% {
        opacity: 0.46;
        transform: scale(0.98);
      }
      50% {
        opacity: 0.74;
        transform: scale(1.03);
      }
      100% {
        opacity: 0.46;
        transform: scale(0.98);
      }
    }
    .startup-server-name {
      margin-top: 0;
      font-weight: 600;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: 0.2px;
      color: #f4faff;
    }
    .startup-server-users {
      margin-top: 6px;
      color: rgba(221, 239, 255, 0.88);
      font-size: 12px;
      font-weight: 300;
    }
    .startup-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 12px;
    }
    .startup-field label {
      color: rgba(255,255,255,0.86);
      font-weight: 600;
      font-size: 13px;
    }
    .startup-field input,
    .startup-field select {
      width: 100%;
      box-sizing: border-box;
      padding: 9px 10px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.36);
      background: rgba(8, 13, 22, 0.72);
      color: #fff;
      font-size: 14px;
      outline: none;
      transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    }
    .startup-field input:focus,
    .startup-field select:focus {
      border-color: rgba(182, 223, 255, 0.78);
      background: rgba(10, 18, 30, 0.86);
      box-shadow: 0 0 0 3px rgba(120, 185, 255, 0.2);
    }
    .startup-field-row {
      display: flex;
      align-items: center;
      gap: 15px;
      width: min(480px, 100%);
      margin: 0 auto;
    }
    .startup-field-inline-label {
      flex: 0 0 auto;
      color: rgba(255,255,255,0.86);
      font-weight: 600;
      font-size: 13px;
      line-height: 1;
      white-space: nowrap;
    }
    .startup-field-row input {
      flex: 1 1 auto;
      min-width: 0;
    }
    .startup-field-row .startup-btn {
      flex: 0 0 auto;
      white-space: nowrap;
    }
    .startup-field input::placeholder {
      color: rgba(255,255,255,0.72);
    }
    .startup-field select option {
      color: #f1f4ff;
      background: #0b1119;
    }
    .startup-field select option:checked {
      color: #ffffff;
      background: #1a2940;
    }
    .startup-actions {
      display: flex;
      gap: 8px;
      margin-top: 8px;
      flex-wrap: wrap;
    }
    .startup-btn {
      padding: 9px 14px;
      border: 1px solid rgba(208, 231, 255, 0.52);
      border-radius: 10px;
      background: linear-gradient(150deg, rgba(84, 130, 186, 0.62), rgba(56, 92, 136, 0.52));
      color: #eef7ff;
      font-weight: 700;
      cursor: pointer;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 9px 18px rgba(0, 12, 30, 0.24);
      position: relative;
      overflow: hidden;
      isolation: isolate;
      transform: translateZ(0);
      transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
    }
    .startup-btn::before {
      content: "";
      position: absolute;
      inset: -120% -44%;
      background: linear-gradient(116deg, rgba(255,255,255,0) 36%, rgba(232, 246, 255, 0.42) 50%, rgba(255,255,255,0) 64%);
      transform: translateX(-62%) rotate(10deg);
      opacity: 0;
      transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-btn::after {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      border: 1px solid rgba(226, 243, 255, 0.08);
      opacity: 0;
      box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
      transition: opacity 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
      pointer-events: none;
      z-index: 0;
    }
    .startup-btn:hover {
      transform: translateY(-2px) scale(1.01);
      border-color: rgba(228, 242, 255, 0.72);
      background: linear-gradient(150deg, rgba(108, 158, 218, 0.72), rgba(70, 116, 170, 0.62));
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        0 12px 24px rgba(0, 14, 34, 0.34),
        0 0 22px rgba(136, 198, 255, 0.24);
    }
    .startup-btn:hover::before {
      transform: translateX(34%) rotate(10deg);
      opacity: 0.88;
    }
    .startup-btn:hover::after {
      opacity: 1;
      border-color: rgba(232, 246, 255, 0.36);
      box-shadow: inset 0 0 0 1px rgba(232, 246, 255, 0.18), 0 0 16px rgba(136, 198, 255, 0.26);
    }
    .startup-btn:active {
      transform: translateY(-1px) scale(1.002);
    }
    .startup-btn:disabled::before,
    .startup-btn:disabled::after {
      display: none;
    }
    .startup-btn:focus-visible {
      outline: 2px solid rgba(184, 223, 255, 0.95);
      outline-offset: 2px;
    }
    .startup-btn.startup-btn-icon {
      min-width: 42px;
      padding: 9px 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .startup-btn.startup-btn-icon svg {
      width: 16px;
      height: 16px;
      display: block;
    }
    #startup-search {
      margin-left: -6px;
    }
    #startup-search svg {
      transform: translateX(-1px);
    }
    .startup-btn.primary {
      background: linear-gradient(146deg, rgba(232, 246, 255, 0.98), rgba(194, 231, 255, 0.98));
      color: #0d233b;
      border-color: rgba(228, 244, 255, 0.95);
      box-shadow: 0 10px 24px rgba(118, 185, 255, 0.26), inset 0 0 0 1px rgba(255,255,255,0.44);
    }
    .startup-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    .startup-flight-list {
      margin-top: 8px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-rows: minmax(84px, auto);
      gap: 16px;
      min-height: 280px;
      max-height: 360px;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 16px;
      border: 1px solid rgba(188, 218, 246, 0.28);
      border-radius: 14px;
      background: linear-gradient(162deg, rgba(7, 16, 30, 0.34), rgba(10, 20, 36, 0.26));
      align-content: start;
      scrollbar-width: thin;
      scrollbar-color: rgba(186, 221, 247, 0.42) transparent;
    }
    .startup-flight-list::-webkit-scrollbar {
      width: 10px;
    }
    .startup-flight-list::-webkit-scrollbar-track {
      background: transparent;
    }
    .startup-flight-list::-webkit-scrollbar-thumb {
      background: rgba(186, 221, 247, 0.38);
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    .startup-flight-list::-webkit-scrollbar-thumb:hover {
      background: rgba(186, 221, 247, 0.56);
    }
    .startup-flight-item {
      width: 100%;
      min-height: 84px;
      text-align: center;
      padding: 15px 12px 11px;
      border: 1px solid rgba(172, 211, 248, 0.38);
      border-radius: 12px;
      background:
        linear-gradient(160deg, rgba(18, 36, 58, 0.8), rgba(20, 42, 70, 0.56)),
        radial-gradient(100% 90% at 80% -20%, rgba(137, 198, 255, 0.2), rgba(23, 45, 74, 0) 58%);
      backdrop-filter: blur(12px) saturate(128%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.12),
        0 8px 20px rgba(0, 12, 30, 0.2);
      color: #fff;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .startup-flight-item:hover {
      transform: translateY(-3px) scale(1.008);
      border-color: rgba(214, 234, 255, 0.58);
      background:
        linear-gradient(160deg, rgba(22, 43, 69, 0.86), rgba(25, 50, 82, 0.62)),
        radial-gradient(100% 90% at 80% -20%, rgba(157, 210, 255, 0.28), rgba(23, 45, 74, 0) 58%);
      box-shadow:
        inset 0 0 0 1px rgba(218, 238, 255, 0.2),
        0 14px 30px rgba(0, 20, 50, 0.34),
        0 0 24px rgba(132, 210, 255, 0.2);
    }
    .startup-flight-item:focus-visible {
      outline: 2px solid rgba(184, 223, 255, 0.95);
      outline-offset: 2px;
    }
    .startup-flight-item.active {
      border-color: rgba(222, 239, 255, 0.76);
      background:
        linear-gradient(160deg, rgba(28, 51, 78, 0.9), rgba(26, 55, 88, 0.68)),
        radial-gradient(100% 90% at 80% -20%, rgba(174, 218, 255, 0.34), rgba(23, 45, 74, 0) 58%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.28),
        0 12px 30px rgba(0, 20, 50, 0.34),
      0 0 22px rgba(125, 209, 255, 0.36);
      transform: translateY(-1px);
    }
    .startup-flight-item-callsign {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.1;
      color: #ffd84a;
      letter-spacing: 0.2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      width: 100%;
    }
    .startup-flight-item-callsign.tone-yellow {
      color: #ffd84a;
    }
    .startup-flight-item-callsign.tone-lime {
      color: #c8f768;
    }
    .startup-flight-item-callsign.tone-sky {
      color: #7fd6ff;
    }
    .startup-flight-item-route {
      font-size: 13px;
      font-weight: 500;
      line-height: 1.2;
      color: rgba(225, 241, 255, 0.9);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      width: 100%;
    }
    .startup-route-plane {
      display: inline-block;
      margin: 0 4px;
      font-size: 12px;
      color: rgba(225, 241, 255, 0.9);
      line-height: 1;
      transform: translateY(-1px);
    }
    .startup-route-airport {
      font-weight: 700;
    }
    .startup-flight-empty {
      grid-column: 1 / -1;
      padding: 10px;
      margin-top: 0;
      text-align: center;
    }
    .startup-flight-more-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding-top: 2px;
    }
    .startup-flight-more-loading .startup-progress-wrap {
      width: min(320px, 92%);
      margin-top: 0;
    }
    .startup-flight-more-loading-text {
      color: rgba(255,255,255,0.9);
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: 0.1px;
    }
    .startup-flight-empty-loading {
      min-height: 184px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .startup-flight-empty-loading .startup-progress-wrap {
      width: min(420px, 92%);
      margin-top: 0;
    }
    .startup-flight-loading-text {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.2;
      color: rgba(255,255,255,0.95);
      letter-spacing: 0.2px;
    }
    .startup-note {
      color: rgba(224, 241, 255, 0.78);
      font-size: 12px;
      margin-top: 8px;
      line-height: 1.35;
    }
    .startup-live-precheck-card {
      position: fixed;
      left: 50%;
      top: max(10px, calc(env(safe-area-inset-top) + 6px));
      transform: translateX(-50%);
      width: min(560px, calc(100vw - 24px));
      margin: 0;
      padding: 12px 14px 13px;
      box-sizing: border-box;
      border-radius: 14px;
      border: 1px solid rgba(255, 215, 120, 0.52);
      background:
        linear-gradient(128deg, rgba(44, 29, 8, 0.76) 0%, rgba(24, 31, 45, 0.78) 52%, rgba(11, 30, 46, 0.78) 100%);
      box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 8px 22px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(255, 212, 92, 0.2);
      backdrop-filter: blur(8px) saturate(125%);
      overflow: hidden;
      z-index: 2103;
      pointer-events: none;
    }
    .startup-live-precheck-card::before {
      content: "";
      position: absolute;
      inset: -60% auto auto -35%;
      width: 48%;
      height: 220%;
      transform: rotate(22deg);
      background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.16) 45%,
        rgba(255,255,255,0) 100%
      );
      pointer-events: none;
      animation: startupPrecheckSweep 3.8s linear infinite;
      opacity: 0.62;
    }


    .startup-live-precheck-head {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
    }
    .startup-live-precheck-chip {
      display: inline-flex;
      align-items: center;
      height: 22px;
      border-radius: 999px;
      padding: 0 10px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.25px;
      color: #1b1f24;
      background: linear-gradient(135deg, rgba(255, 234, 160, 0.96) 0%, rgba(255, 204, 85, 0.96) 100%);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.26);
    }
    .startup-live-precheck-time {
      font-variant-numeric: tabular-nums;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #fef4cb;
      text-shadow: 0 0 10px rgba(255, 224, 130, 0.4);
    }
    .startup-live-precheck-title {
      position: relative;
      z-index: 1;
      font-size: 17px;
      font-weight: 700;
      color: rgba(255, 246, 215, 0.98);
      line-height: 1.25;
      letter-spacing: 0.15px;
      margin-bottom: 4px;
    }
    .startup-live-precheck-copy {
      position: relative;
      z-index: 1;
      font-size: 12px;
      color: rgba(244, 238, 218, 0.88);
      line-height: 1.35;
      letter-spacing: 0.1px;
      margin-bottom: 9px;
    }
    .startup-live-precheck-progress {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 7px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.24);
      background: rgba(255,255,255,0.13);
      overflow: hidden;
    }
    .startup-live-precheck-progress-fill {
      width: 100%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(255, 198, 82, 0.94) 0%, rgba(255, 238, 181, 0.94) 55%, rgba(255, 248, 220, 0.95) 100%);
      box-shadow: 0 0 10px rgba(255, 211, 100, 0.35);
      transition: width 220ms linear;
    }
    @keyframes startupPrecheckSweep {
      0% { transform: translateX(0) rotate(22deg); }
      100% { transform: translateX(290%) rotate(22deg); }
    }
    .startup-plan-current {
      border: 1px solid rgba(255,255,255,0.24);
      border-radius: 10px;
      background: rgba(255,255,255,0.08);
      padding: 12px;
      margin-top: 10px;
    }
    .startup-plan-current-label {
      font-size: 12px;
      color: rgba(255,255,255,0.78);
    }
    .startup-plan-current-value {
      margin-top: 3px;
      font-size: 20px;
      font-weight: 700;
      color: #fff;
    }
    .startup-plan-current-sub {
      margin-top: 3px;
      font-size: 12px;
      color: rgba(255,255,255,0.72);
      text-transform: capitalize;
    }
    .startup-plan-grid {
      margin-top: 12px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .startup-plan-card {
      border: 1px solid rgba(255,255,255,0.24);
      border-radius: 10px;
      background: rgba(255,255,255,0.08);
      padding: 11px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .startup-plan-card.free {
      border-color: rgba(129,216,255,0.58);
    }
    .startup-plan-card.basic {
      border-color: rgba(191,198,207,0.58);
    }
    .startup-plan-card.pro {
      border-color: rgba(223,191,89,0.62);
    }
    .startup-plan-name {
      font-size: 16px;
      font-weight: 700;
      color: #fff;
    }
    .startup-plan-price {
      font-size: 14px;
      font-weight: 700;
      color: rgba(255,255,255,0.93);
      margin-bottom: 2px;
    }
    .startup-plan-meta {
      font-size: 12px;
      color: rgba(255,255,255,0.8);
      line-height: 1.35;
    }
    .startup-plan-term-label {
      margin-top: 6px;
      font-size: 11px;
      color: rgba(255,255,255,0.8);
    }
    .startup-plan-term {
      margin-top: 2px;
      border: 1px solid rgba(255,255,255,0.28);
      border-radius: 8px;
      background: rgba(8, 14, 24, 0.85);
      color: #fff;
      height: 32px;
      padding: 4px 8px;
      font-size: 12px;
      outline: none;
    }
    .startup-plan-term:focus {
      border-color: rgba(159,223,255,0.62);
    }
    .startup-plan-buy {
      margin-top: 8px;
      width: 100%;
    }
    @media (max-width: 860px) {
      .startup-plan-grid {
        grid-template-columns: 1fr;
      }
      .startup-grid-hero {
        grid-template-columns: 1fr;
      }
      .startup-server-grid {
        grid-template-columns: 1fr;
      }
      .startup-flight-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 196px;
      }
      .startup-hero-card .startup-card-title {
        font-size: 28px;
      }
    }
    @media (max-width: 760px) {
      .startup-shell {
        min-height: clamp(412px, 64vh, 496px);
      }
      .startup-live-precheck-card {
        top: max(8px, calc(env(safe-area-inset-top) + 4px));
        padding: 11px 12px 12px;
      }
      .startup-live-precheck-time {
        font-size: 16px;
      }
      .startup-live-precheck-title {
        font-size: 15px;
      }
      .startup-auth-row {
        flex-direction: row;
        align-items: center;
      }
      .startup-auth-callout {
        font-size: 20px;
      }
      #startup-google-btn {
        min-width: 220px;
        width: auto;
        justify-content: flex-end;
      }
      .startup-flight-list {
        grid-template-columns: 1fr;
        max-height: 272px;
      }
      .startup-root.startup-game-step,
      .startup-root.startup-mode-step,
      .startup-root.startup-server-step {
        min-height: 0;
        height: auto;
      }
      .startup-root.startup-loading-step {
        min-height: clamp(350px, 56vh, 418px);
        height: auto;
      }
      .startup-root.startup-navigate-step {
        min-height: 0;
        height: auto;
      }
      .startup-root.startup-navigate-step .startup-flight-list {
        max-height: 272px;
      }
      .startup-field-row {
        width: 100%;
      }
    }
    @media (pointer: coarse), (hover: none), (any-hover: none) and (max-width: 980px), (max-width: 980px) and (max-height: 700px) {
      #loading-overlay {
        --startup-choice-card-height: var(--startup-choice-card-height-compact);
        align-items: flex-start;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding-top: max(8px, env(safe-area-inset-top));
        padding-right: max(8px, env(safe-area-inset-right));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        padding-left: max(8px, env(safe-area-inset-left));
        box-sizing: border-box;
      }
      #loading-overlay.startup-connecting {
        align-items: center;
        justify-content: center;
      }
      .startup-shell {
        margin: 0 auto;
        width: min(96vw, 700px);
        min-height: 0;
        max-height: none;
        max-height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
        padding-top: 24px;
        padding-right: clamp(12px, 2.5vw, 18px);
        padding-bottom: clamp(12px, 2.5vw, 18px);
        padding-left: clamp(12px, 2.5vw, 18px);
        overflow: hidden;
      }
      #loading-overlay.startup-navigate-active .startup-shell {
        min-height: 0;
        height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
        max-height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
        padding-top: 24px;
        padding-bottom: 0;
        overflow: hidden;
      }
      .startup-root {
        min-height: 0;
      }
      .startup-root.startup-game-step,
      .startup-root.startup-mode-step,
      .startup-root.startup-server-step,
      .startup-root.startup-navigate-step,
      .startup-root.startup-loading-step {
        min-height: 0;
        height: auto;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 2px;
      }
      .startup-root.startup-navigate-step {
        min-height: 0;
        height: 100%;
        max-height: 100%;
        overflow: hidden;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
      }
      .startup-root.startup-navigate-step .startup-flight-list {
        min-height: 0;
        height: auto;
        max-height: min(67vh, 496px);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
      }
      .startup-hero-card {
        min-height: var(--startup-choice-card-height);
        height: auto;
      }
      #game-infinite-flight.startup-hero-card,
      #game-vatsim.startup-hero-card {
        min-height: var(--startup-game-card-height);
        height: auto;
        padding: 28px 14px 14px;
      }
      #mode-navigate.startup-hero-card,
      #mode-explore.startup-hero-card {
        min-height: var(--startup-choice-card-height);
        height: auto;
        padding: 20px 14px 12px;
      }
      #game-infinite-flight .startup-card-iconbox,
      #game-vatsim .startup-card-iconbox,
      #mode-navigate .startup-card-iconbox,
      #mode-explore .startup-card-iconbox {
        margin: 0 auto 8px;
      }
      #game-infinite-flight .startup-mode-icon-image,
      #game-vatsim .startup-mode-icon-image {
        width: 132px;
        height: 132px;
        transform: scale(1);
      }
      #mode-navigate .startup-mode-icon-image,
      #mode-explore .startup-mode-icon-image {
        width: 118px;
        height: 118px;
        transform: scale(1);
      }
      #game-infinite-flight .startup-card-desc,
      #game-vatsim .startup-card-desc,
      #mode-navigate .startup-card-desc,
      #mode-explore .startup-card-desc {
        min-height: 0;
        line-height: 1.32;
      }
      .startup-server-card {
        min-height: var(--startup-choice-card-height);
        height: auto;
        padding: 14px 10px 12px;
      }
      .startup-flight-list {
        max-height: min(67vh, 496px);
      }
      .startup-account-wrap {
        top: 24px;
        right: 24px;
      }
      #startup-bottom-info-global {
        bottom: max(8px, calc(env(safe-area-inset-bottom) + 4px));
      }
      .startup-loading-wrap .startup-loading-copy,
      .startup-loading-wrap #startup-map-progress-status,
      .startup-root.startup-loading-step .startup-loading-copy,
      .startup-root.startup-loading-step #startup-map-progress-status {
        transform: none;
      }
      .startup-root.startup-loading-step .startup-progress-wrap {
        width: min(420px, 92vw);
        margin-top: 0;
      }
      .startup-progress-wrap {
        width: min(460px, 92vw);
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
      }
      .startup-progress-meta {
        color: rgba(255, 255, 255, 0.96);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.48);
      }
    }
    @media (pointer: coarse) and (orientation: landscape), (hover: none) and (orientation: landscape), (any-hover: none) and (max-width: 980px) and (orientation: landscape), (max-width: 980px) and (max-height: 700px) and (orientation: landscape) {
      .startup-grid-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .startup-server-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .startup-flight-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: min(62vh, 448px);
      }
    }
    @media (pointer: coarse) and (orientation: portrait), (hover: none) and (orientation: portrait), (any-hover: none) and (max-width: 980px) and (orientation: portrait), (max-width: 980px) and (max-height: 700px) and (orientation: portrait) {
      .startup-grid-hero {
        grid-template-columns: 1fr;
      }
      .startup-server-grid {
        grid-template-columns: 1fr;
      }
      .startup-flight-list {
        grid-template-columns: 1fr;
      }
    }
    .startup-account-wrap {
      position: absolute;
      top: 24px;
      right: 24px;
      z-index: 2105;
    }
    .startup-account-actions {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .startup-account-btn {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.36);
      background: rgba(255,255,255,0.14);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.34);
    }
    .startup-account-btn svg {
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    }
    .startup-account-btn:hover {
      background: rgba(255,255,255,0.24);
    }
    .startup-ticket-popup {
      position: fixed;
      left: 50%;
      top: 50%;
      right: auto;
      transform: translate(-50%, -50%);
      width: min(700px, calc(100vw - 20px));
      box-sizing: border-box;
      border-radius: 12px;
      border: 1px solid rgba(173, 218, 255, 0.32);
      background: rgba(10, 18, 32, 0.96);
      color: #fff;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
      padding: 12px;
      display: none;
      backdrop-filter: blur(5px);
      overflow: hidden;
      z-index: 2110;
    }
    .startup-ticket-popup.topbar-settings-ticket-popup {
      background: rgba(16, 22, 34, 0.82);
      border: 1px solid rgba(255,255,255,0.22);
      box-shadow: 0 10px 24px rgba(0,0,0,0.35);
      backdrop-filter: blur(5px);
    }
    .startup-ticket-popup.open {
      display: block;
    }
    #startup-vatsim-preview-overlay {
      position: fixed;
      inset: 0;
      z-index: 2120;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(0, 0, 0, 0.34);
      pointer-events: auto;
    }
    #startup-vatsim-preview-overlay.open {
      display: flex;
    }
    #startup-vatsim-preview-overlay .startup-vatsim-preview-modal {
      width: min(92vw, 520px);
      padding: 20px 18px 18px;
      border-radius: 10px;
      gap: 14px;
      border-color: rgba(173, 218, 255, 0.32);
      background: rgba(44,44,44,0.62);
      box-shadow: 0 10px 24px rgba(0,0,0,0.35);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }
    #startup-vatsim-preview-overlay .return-home-confirm-title {
      font-size: 18px;
      color: #ffd74d;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
    }
    .startup-vatsim-preview-message {
      display: flex;
      flex-direction: column;
      gap: 10px;
      font-size: 15px;
      line-height: 1.45;
      color: rgba(236, 246, 255, 0.94);
      text-align: center;
      word-break: keep-all;
    }
    .startup-vatsim-preview-message p {
      margin: 0;
    }
    #startup-vatsim-preview-overlay .return-home-confirm-actions {
      gap: 10px;
    }
    #startup-vatsim-preview-overlay .return-home-confirm-btn {
      min-width: 100px;
      height: 36px;
      border-color: rgba(255, 255, 255, 0.24);
      border-radius: 999px;
      background: rgba(8, 13, 22, 0.48);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    #startup-vatsim-preview-overlay .return-home-confirm-btn:hover {
      background: rgba(255, 255, 255, 0.16);
      border-color: rgba(255, 255, 255, 0.4);
    }
    #startup-vatsim-preview-overlay .return-home-confirm-btn-danger {
      background: rgba(164, 26, 44, 0.42);
      border-color: rgba(255, 116, 136, 0.68);
      box-shadow:
        0 0 0 1px rgba(255, 106, 128, 0.28),
        0 0 10px rgba(214, 56, 82, 0.35),
        0 0 20px rgba(214, 56, 82, 0.24);
    }
    #startup-vatsim-preview-overlay .return-home-confirm-btn-danger:hover {
      background: rgba(188, 31, 51, 0.5);
      border-color: rgba(255, 143, 159, 0.84);
      box-shadow:
        0 0 0 1px rgba(255, 134, 152, 0.36),
        0 0 14px rgba(230, 70, 98, 0.44),
        0 0 28px rgba(230, 70, 98, 0.3);
    }
    #startup-ticket-popup {
      overflow-y: auto;
      overflow-x: hidden;
    }
    .startup-ticket-state-hidden {
      display: none !important;
    }
    .startup-ticket-empty {
      position: relative;
      height: 100%;
      min-height: 0;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 18px;
      text-align: center;
      padding: clamp(20px, 4vw, 44px);
      border-radius: 0;
      background: transparent;
      border: 0;
    }
    .startup-ticket-empty-title {
      margin: 0;
      font-size: clamp(30px, 4.4vw, 44px);
      font-weight: 800;
      color: #ffe174;
      letter-spacing: 0.25px;
      line-height: 1.08;
      text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.48),
        0 0 14px rgba(255, 213, 83, 0.2);
    }
    .startup-ticket-empty-note {
      margin: 0;
      max-width: min(620px, 100%);
      font-size: clamp(17px, 2.2vw, 24px);
      line-height: 1.45;
      color: rgba(236, 246, 255, 0.94);
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
    }
    .startup-ticket-subscribe-btn {
      margin-top: 8px;
      width: min(460px, 100%);
      min-height: 54px;
      border-radius: 999px;
      border: 1px solid rgba(255, 228, 132, 0.76);
      background: linear-gradient(180deg, #ffe89c 0%, #f7c54a 56%, #e9ad21 100%);
      color: #2a1c05;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 10px 24px;
      font-size: clamp(16px, 1.8vw, 20px);
      font-weight: 400;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.34),
        0 0 16px rgba(255, 211, 88, 0.34);
      transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
    }
    .startup-ticket-subscribe-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.03);
      box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.36),
        0 0 20px rgba(255, 211, 88, 0.44);
    }
    .account-menu-item.startup-ticket-subscribe-btn:hover,
    .account-menu-item.startup-ticket-subscribe-btn:focus-visible {
      background: linear-gradient(180deg, #ffecab 0%, #ffd35f 56%, #f2b72f 100%);
      color: #2a1c05;
    }
    #startup-dev-notice-discord-btn.startup-ticket-subscribe-btn {
      width: fit-content;
      max-width: 100%;
      min-width: 0;
      align-self: center;
      justify-content: center;
      text-align: center;
      padding-inline: 22px;
    }
    #startup-dev-notice-discord-btn.startup-ticket-subscribe-btn svg {
      width: 18px;
      height: 18px;
    }
    .startup-ticket-pass-section {
      margin: 0;
    }
    #topbar-settings-ticket-popup .startup-ticket-pass-section {
      min-height: 0;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 16px;
      padding: 0;
      position: relative;
    }
    #topbar-settings-ticket-popup {
      padding: 24px;
      overflow-y: auto;
      overflow-x: hidden;
    }
    #topbar-settings-ticket-popup .startup-ticket-head {
      transform: none;
      margin: 0;
    }
    #topbar-settings-ticket-popup .startup-ticket-title {
      transform: none;
    }
    #topbar-settings-ticket-popup .startup-ticket-action-row {
      transform: none;
      margin-top: 0;
    }
    #topbar-settings-ticket-popup #topbar-settings-ticket-close-btn {
      position: relative;
      top: auto;
      right: auto;
      z-index: auto;
      flex: 0 0 auto;
      align-self: flex-start;
    }
    #topbar-settings-ticket-popup .startup-ticket-title {
      padding-right: 0;
    }
    .startup-ticket-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin: 0 0 10px;
    }
    .startup-ticket-title {
      margin: 0;
      flex: 1 1 auto;
      font-size: 20px;
      font-weight: 700;
      color: #ffd74d;
      letter-spacing: 0.2px;
      line-height: 1.3;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
    }
    .startup-ticket-title-name {
      color: #72ccff;
    }
    .startup-ticket-close-btn {
      width: 34px;
      height: 34px;
      box-sizing: border-box;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }
    .startup-ticket-close-btn svg {
      width: 16px;
      height: 16px;
      display: block;
    }
    .startup-ticket-close-btn:hover {
      background: rgba(255, 255, 255, 0.16);
    }
    .startup-ticket-close-btn-free {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 2;
    }
    .startup-ticket-visual {
      position: relative;
      container-type: inline-size;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.34);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
      isolation: isolate;
    }
    .startup-ticket-visual::before,
    .startup-ticket-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0;
    }
    .startup-ticket-visual::before {
      z-index: 3;
      mix-blend-mode: screen;
    }
    .startup-ticket-visual::after {
      z-index: 4;
    }
    .startup-ticket-visual.is-first-glow {
      animation: startupTicketSoftVioletGlow 2.9s ease-in-out infinite;
    }
    .startup-ticket-visual.is-first-glow::before {
      background:
        radial-gradient(ellipse at 50% 68%, rgba(194, 166, 247, 0.38) 0%, rgba(194, 166, 247, 0.16) 36%, rgba(194, 166, 247, 0) 70%),
        linear-gradient(180deg, rgba(191, 168, 246, 0.14), rgba(191, 168, 246, 0));
      animation: startupTicketFirstAura 2.9s ease-in-out infinite;
    }
    .startup-ticket-visual.is-first-glow::after {
      background:
        linear-gradient(90deg, rgba(182, 151, 238, 0.16), rgba(182, 151, 238, 0) 20%, rgba(182, 151, 238, 0) 80%, rgba(182, 151, 238, 0.16)),
        radial-gradient(ellipse at 50% 22%, rgba(210, 184, 255, 0.22) 0%, rgba(210, 184, 255, 0) 62%);
      animation: startupTicketEdgeAura 2.9s ease-in-out infinite;
    }
    .startup-ticket-image {
      display: block;
      width: 100%;
      height: auto;
      user-select: none;
      -webkit-user-drag: none;
    }
    .startup-ticket-visual.is-lifetime-first {
      width: 80%;
      margin-inline: auto;
    }
    .startup-ticket-image-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      opacity: 0;
    }
    .startup-ticket-image-overlay.is-visible {
      opacity: 1;
    }
    .startup-ticket-image-overlay[hidden],
    .startup-ticket-overlay[hidden],
    .startup-ticket-lifetime-overlay[hidden] {
      display: none !important;
    }
    .startup-ticket-overlay {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
      user-select: none;
      font-family: "BoardingPass", "Courier New", monospace;
      font-size: clamp(9px, 1.9cqw, 34px);
      line-height: 0.95;
      letter-spacing: -0.15em;
      color: #08090b;
      text-transform: uppercase;
      font-weight: 590;
    }
    .startup-ticket-lifetime-overlay {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
      user-select: none;
      overflow: visible;
      text-rendering: geometricPrecision;
      shape-rendering: geometricPrecision;
    }
    .startup-ticket-field {
      position: absolute;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
      font-kerning: inherit;
    }
    .startup-ticket-left-name {
      left: 26.4%;
      top: 27.4%;
      max-width: 38%;
    }
    .startup-ticket-left-plan {
      left: 26.4%;
      top: 41.9%;
      max-width: 43%;
      letter-spacing: -0.16em;
    }
    .startup-ticket-left-renews {
      left: 26.4%;
      top: 56.4%;
      max-width: 38%;
    }
    .startup-ticket-left-boarding {
      left: 26.4%;
      top: 71.0%;
      max-width: 15%;
    }
    .startup-ticket-right-name {
      left: 85.1%;
      top: 22.6%;
      max-width: 14.3%;
    }
    .startup-ticket-right-from {
      left: 85.1%;
      top: 28.9%;
      max-width: 14.3%;
    }
    .startup-ticket-right-to {
      left: 85.1%;
      top: 35.9%;
      max-width: 14.3%;
    }
    .startup-ticket-right-date {
      left: 85%;
      top: 44.7%;
      max-width: 14.8%;
      letter-spacing: -0.15em;
    }
    #topbar-settings-ticket-popup .startup-ticket-left-renews {
      top: 57.8%;
    }
    #topbar-settings-ticket-popup .startup-ticket-left-boarding {
      top: 71.8%;
    }
    #topbar-settings-ticket-popup .startup-ticket-right-name {
      left: 85.1%;
      top: 23.2%;
      max-width: 14.3%;
    }
    #topbar-settings-ticket-popup .startup-ticket-right-from {
      left: 85.1%;
      top: 30.4%;
      max-width: 14.3%;
    }
    #topbar-settings-ticket-popup .startup-ticket-right-to {
      left: 85.1%;
      top: 37.5%;
      max-width: 14.3%;
    }
    #topbar-settings-ticket-popup .startup-ticket-right-date {
      left: 85.1%;
      top: 44.6%;
      max-width: 14.3%;
    }
    .startup-ticket-lifetime-overlay .startup-ticket-lifetime-field {
      fill: #fff3a6;
      stroke: rgba(95, 67, 38, 0.95);
      stroke-width: 0.58px;
      paint-order: stroke fill;
      stroke-linejoin: round;
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
      font-family: "Times New Roman", Georgia, serif;
      font-kerning: normal;
      font-weight: 500;
      letter-spacing: 0.002em;
      font-size: 30px;
      dominant-baseline: middle;
      alignment-baseline: middle;
    }
    .startup-ticket-lifetime-overlay .startup-ticket-lifetime-field.is-name-fallback {
      font-size: 30px;
      letter-spacing: 0.002em;
      text-transform: none;
    }
    .startup-ticket-lifetime-overlay .startup-ticket-lifetime-right-name {
      font-size: 27px;
      letter-spacing: 0.002em;
    }
    .startup-ticket-lifetime-overlay .startup-ticket-lifetime-right-name.is-name-fallback {
      letter-spacing: 0.002em;
    }
    .startup-ticket-action-row {
      margin-top: 12px;
      display: flex;
      align-items: stretch;
      gap: 10px;
      flex-wrap: nowrap;
    }
    .startup-ticket-action-btn {
      flex: 1 1 0;
      min-width: 0;
      width: 100%;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      background: rgba(8, 13, 22, 0.48);
      color: #fff;
      border-radius: 999px;
      padding: 0 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      backdrop-filter: blur(4px);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      line-height: 1;
      cursor: pointer;
      font-family: inherit;
      -webkit-appearance: none;
      appearance: none;
    }
    .startup-ticket-upgrade-btn {
      flex: 2 1 0;
      background: rgba(164, 26, 44, 0.42);
      border-color: rgba(255, 116, 136, 0.68);
      box-shadow:
        0 0 0 1px rgba(255, 106, 128, 0.28),
        0 0 10px rgba(214, 56, 82, 0.35),
        0 0 20px rgba(214, 56, 82, 0.24);
    }
    .startup-ticket-upgrade-badge {
      width: 17px;
      height: 17px;
      display: block;
      flex: 0 0 17px;
      object-fit: contain;
      filter:
        drop-shadow(0 0 1px rgba(255, 232, 173, 0.3))
        drop-shadow(0 0 5px rgba(255, 223, 128, 0.38));
      animation: startupTicketUpgradeBadgeGlow 2.4s ease-in-out infinite;
    }
    .startup-ticket-action-btn.startup-ticket-upgrade-btn:hover {
      background: rgba(188, 31, 51, 0.5);
      border-color: rgba(255, 143, 159, 0.84);
      box-shadow:
        0 0 0 1px rgba(255, 134, 152, 0.36),
        0 0 14px rgba(230, 70, 98, 0.44),
        0 0 28px rgba(230, 70, 98, 0.3);
    }
    .startup-ticket-action-btn:hover {
      background: rgba(255, 255, 255, 0.16);
      border-color: rgba(255, 255, 255, 0.4);
    }
    .startup-ticket-action-btn:disabled {
      opacity: 0.58;
      cursor: not-allowed;
    }
    .startup-ticket-action-btn svg {
      width: 16px;
      height: 16px;
      display: block;
      flex: 0 0 16px;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.36));
    }
    .startup-ticket-action-btn span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .startup-ticket-canvas {
      display: none;
    }
    @keyframes startupTicketSoftVioletGlow {
      0%, 100% {
        filter: drop-shadow(0 0 5px rgba(166, 134, 226, 0.28))
                drop-shadow(0 6px 12px rgba(58, 38, 94, 0.32))
                drop-shadow(5px 0 8px rgba(166, 134, 226, 0.2))
                drop-shadow(-5px 0 8px rgba(166, 134, 226, 0.2))
                drop-shadow(0 0 14px rgba(166, 134, 226, 0.18));
        box-shadow:
          0 11px 24px rgba(0,0,0,0.4),
          0 0 0 1px rgba(176, 148, 234, 0.36),
          0 0 9px rgba(154, 122, 220, 0.24),
          0 0 19px rgba(154, 122, 220, 0.16);
      }
      50% {
        filter: drop-shadow(0 0 8px rgba(182, 151, 238, 0.4))
                drop-shadow(0 8px 16px rgba(66, 44, 104, 0.4))
                drop-shadow(7px 0 10px rgba(182, 151, 238, 0.26))
                drop-shadow(-7px 0 10px rgba(182, 151, 238, 0.26))
                drop-shadow(0 0 19px rgba(182, 151, 238, 0.24));
        box-shadow:
          0 13px 28px rgba(0,0,0,0.45),
          0 0 0 1px rgba(190, 162, 242, 0.48),
          0 0 13px rgba(172, 141, 233, 0.38),
          0 0 24px rgba(172, 141, 233, 0.22);
      }
    }
    @keyframes startupTicketUpgradeBadgeGlow {
      0%, 100% {
        opacity: 0.93;
        filter:
          drop-shadow(0 0 1px rgba(255, 232, 173, 0.28))
          drop-shadow(0 0 4px rgba(255, 223, 128, 0.32));
      }
      50% {
        opacity: 1;
        filter:
          drop-shadow(0 0 2px rgba(255, 236, 182, 0.38))
          drop-shadow(0 0 8px rgba(255, 223, 128, 0.5));
      }
    }
    @keyframes startupTicketFirstAura {
      0%, 100% { opacity: 0.24; }
      50% { opacity: 0.46; }
    }
    @keyframes startupTicketEdgeAura {
      0%, 100% { opacity: 0.16; }
      50% { opacity: 0.3; }
    }
    .startup-account-popup {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 220px;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(16, 20, 29, 0.96);
      color: #fff;
      box-shadow: 0 8px 22px rgba(0,0,0,0.38);
      padding: 8px;
      display: none;
      backdrop-filter: blur(4px);
    }
    .startup-account-popup.open {
      display: block;
    }
    .startup-account-upgrade-btn {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
    }
    .startup-account-upgrade-badge {
      width: 15px;
      height: 15px;
      flex: 0 0 15px;
      object-fit: contain;
      filter:
        drop-shadow(0 0 1px rgba(255, 232, 173, 0.3))
        drop-shadow(0 0 5px rgba(255, 223, 128, 0.38));
      animation: startupTicketUpgradeBadgeGlow 2.4s ease-in-out infinite;
    }
    @media (max-width: 720px) {
      .startup-ticket-popup {
        width: min(700px, calc(100vw - 16px));
      }
      .startup-ticket-empty {
        gap: 14px;
        padding: 18px 14px;
      }
      .startup-ticket-empty-title {
        font-size: clamp(24px, 6.6vw, 34px);
      }
      .startup-ticket-empty-note {
        font-size: clamp(15px, 4.1vw, 18px);
      }
      .startup-ticket-subscribe-btn {
        width: min(380px, 100%);
        min-height: 48px;
        font-size: 15px;
      }
      .startup-ticket-title {
        font-size: 17px;
      }
      .startup-ticket-action-row {
        gap: 6px;
      }
      .startup-ticket-action-btn {
        font-size: 12px;
        letter-spacing: 0.4px;
        padding: 0 10px;
      }
    }
    .startup-loading-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: min(560px, 90vw);
      min-height: 176px;
      gap: 14px;
    }
    .startup-loading-wrap-panel {
      position: relative;
      padding: clamp(16px, 2vw, 24px) clamp(16px, 2.4vw, 28px);
      border-radius: 18px;
      border: 1px solid rgba(187, 223, 255, 0.34);
      background:
        linear-gradient(154deg, rgba(7, 17, 30, 0.72), rgba(11, 25, 42, 0.56)),
        radial-gradient(90% 75% at 20% -10%, rgba(126, 180, 255, 0.18), rgba(10, 18, 30, 0) 74%);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
      overflow: hidden;
    }
    .startup-loading-wrap-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(206, 232, 255, 0.1), rgba(206, 232, 255, 0) 45%);
      pointer-events: none;
    }
    .startup-loading-wrap-connecting {
      gap: 10px;
      width: max-content;
      max-width: none;
    }
    .startup-loading-wrap-connecting .startup-loading-copy {
      white-space: nowrap;
      font-size: 18px;
      line-height: 1.35;
      max-width: none;
      overflow: visible;
      -webkit-text-size-adjust: none;
      text-size-adjust: none;
    }
    .startup-loading-kicker {
      position: relative;
      z-index: 1;
      margin-bottom: 2px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.24em;
      color: rgba(208, 233, 255, 0.82);
      text-transform: uppercase;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    .startup-loading-orb {
      position: relative;
      z-index: 1;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: radial-gradient(circle at 34% 32%, rgba(255,255,255,0.95), rgba(164, 220, 255, 0.78) 44%, rgba(60, 142, 255, 0.52) 74%, rgba(34, 80, 138, 0.26));
      box-shadow: 0 0 22px rgba(138, 200, 255, 0.5), 0 0 40px rgba(56, 136, 228, 0.34);
      animation: startupLoadingOrbPulse 2.5s ease-in-out infinite;
    }
    .startup-loading-wrap .startup-header {
      position: relative;
      z-index: 1;
      margin-bottom: 2px;
      align-items: center;
      gap: 8px;
    }
    .startup-loading-wrap .startup-subtitle {
      max-width: 48ch;
    }
    .startup-root.startup-loading-step .startup-header::after {
      display: none;
    }
    .startup-loading-wrap #startup-map-progress-status {
      position: relative;
      z-index: 1;
      margin-top: 0;
      color: rgba(226, 242, 255, 0.84);
      font-size: 14px;
      line-height: 1.4;
      -webkit-text-size-adjust: none;
      text-size-adjust: none;
    }
    .startup-progress-wrap {
      position: relative;
      z-index: 1;
      width: min(500px, 84vw);
      padding: 0;
      border-radius: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
    }
    .startup-progress-line {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .startup-progress-track {
      position: relative;
      flex: 1 1 auto;
      height: 20px;
      margin: 0;
      border-radius: 999px;
      background:
        linear-gradient(
          180deg,
          transparent calc(50% - 3px),
          rgba(82, 95, 120, 0.82) calc(50% - 3px),
          rgba(82, 95, 120, 0.82) calc(50% + 3px),
          transparent calc(50% + 3px)
        );
      box-shadow: none;
      overflow: visible;
    }
    .startup-progress-track::before,
    .startup-progress-track::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(176, 228, 255, 0.94);
      transform: translate(-50%, -50%);
      box-shadow: 0 0 8px rgba(177, 224, 255, 0.28);
      z-index: 2;
      overflow: visible;
    }
    .startup-progress-track::before {
      left: 0;
    }
    .startup-progress-track::after {
      left: 100%;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.28);
    }
    .startup-progress-fill {
      position: relative;
      height: 6px;
      width: 0;
      border-radius: 999px;
      top: 50%;
      background:
        linear-gradient(100deg, rgba(118, 180, 255, 0.95) 0%, rgba(176, 228, 255, 0.96) 44%, rgba(230, 246, 255, 1) 100%);
      background-position: left center;
      background-repeat: no-repeat;
      background-size: var(--startup-progress-track-width, 100%) 100%;
      transform: translateY(-50%);
      z-index: 1;
      transition: width 260ms ease;
    }
    .startup-progress-fill::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 0;
      width: 50px;
      height: 50px;
      background: var(--startup-progress-plane-color, rgba(230, 246, 255, 1));
      transform: translate(50%, -50%) rotate(90deg);
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M30 4h4l2 18 16 10v6l-16-4v12l4.5 3v3.5L32 53l-7.5 2.5v-3.5l4.5-3V34l-16 4v-6l16-10z' fill='%23000'/%3E%3Cpath d='M32 22l-16 7v6l16-5 16 5v-6z' fill='%23000'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M30 4h4l2 18 16 10v6l-16-4v12l4.5 3v3.5L32 53l-7.5 2.5v-3.5l4.5-3V34l-16 4v-6l16-10z' fill='%23000'/%3E%3Cpath d='M32 22l-16 7v6l16-5 16 5v-6z' fill='%23000'/%3E%3C/svg%3E");
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-size: contain;
      mask-size: contain;
      filter:
        drop-shadow(0 1px 3px rgba(0,0,0,0.72))
        drop-shadow(0 0 8px rgba(0,0,0,0.4));
      pointer-events: none;
    }
    .startup-progress-meta {
      margin-top: 0;
      min-width: 46px;
      text-align: right;
      color: rgba(235, 246, 255, 0.94);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2px;
    }
    .startup-root.startup-loading-step .startup-progress-wrap {
      width: min(460px, 84vw);
      margin-top: 0;
    }
    .startup-root.startup-loading-step .startup-loading-copy {
      margin-top: 0;
    }
    .startup-root.startup-loading-step #startup-map-progress-status {
      margin-top: 0;
    }
    .startup-loader {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 4px solid rgba(255,255,255,0.25);
      border-top-color: rgba(255,255,255,0.95);
      animation: spinLoader 0.9s linear infinite;
    }
    .startup-loading-copy {
      color: rgba(232, 245, 255, 0.92);
      font-size: clamp(12px, 2.4vw, 20px);
      font-weight: 700;
      line-height: 1.35;
      text-align: center;
      letter-spacing: 0.2px;
      white-space: normal;
      text-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
    }
    @keyframes startupLoadingOrbPulse {
      0%, 100% {
        transform: scale(0.96);
        opacity: 0.78;
      }
      50% {
        transform: scale(1.08);
        opacity: 1;
      }
    }
    @keyframes spinLoader {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      #loading-overlay {
        transition: none;
      }
      .startup-card,
      .startup-btn,
      .startup-server-card,
      .startup-flight-item {
        transition: none;
      }
      .startup-root.startup-game-step .startup-grid-hero .startup-card,
      .startup-root.startup-mode-step .startup-grid-hero .startup-card,
      .startup-root.startup-server-step .startup-server-grid .startup-server-card {
        animation: none;
        opacity: 1;
        transform: none;
      }
      .startup-loading-orb {
        animation: none;
      }
    }

    /* Mobile-runtime fallback for browsers that do not match pointer media correctly. */
    html.airshow-mobile-runtime #loading-overlay {
      --startup-choice-card-height: var(--startup-choice-card-height-compact);
      align-items: flex-start;
      overflow-y: auto;
      overscroll-behavior-y: contain;
      padding-top: max(8px, env(safe-area-inset-top));
      padding-right: max(8px, env(safe-area-inset-right));
      padding-bottom: max(8px, env(safe-area-inset-bottom));
      padding-left: max(8px, env(safe-area-inset-left));
      box-sizing: border-box;
    }
    html.airshow-mobile-runtime #loading-overlay.startup-connecting {
      align-items: center;
      justify-content: center;
    }
    html.airshow-mobile-runtime .startup-shell {
      margin: 0 auto;
      width: min(96vw, 700px);
      min-height: 0;
      height: auto;
      max-height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
      padding-top: 24px;
      padding-right: clamp(12px, 2.5vw, 18px);
      padding-bottom: clamp(12px, 2.5vw, 18px);
      padding-left: clamp(12px, 2.5vw, 18px);
      overflow: hidden;
    }
    html.airshow-mobile-runtime #loading-overlay.startup-navigate-active .startup-shell {
      min-height: 0;
      height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
      max-height: calc(var(--airshow-viewport-height, 100dvh) - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
      padding-top: 24px;
      padding-bottom: 0;
      overflow: hidden;
    }
    html.airshow-mobile-runtime .startup-root {
      min-height: 0;
    }
    html.airshow-mobile-runtime .startup-root.startup-game-step,
    html.airshow-mobile-runtime .startup-root.startup-mode-step,
    html.airshow-mobile-runtime .startup-root.startup-server-step,
    html.airshow-mobile-runtime .startup-root.startup-navigate-step,
    html.airshow-mobile-runtime .startup-root.startup-loading-step {
      min-height: 0;
      height: auto;
      max-height: none;
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 2px;
    }
    html.airshow-mobile-runtime .startup-root.startup-navigate-step {
      min-height: 0;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      grid-template-rows: auto auto minmax(0, 1fr) auto;
    }
    html.airshow-mobile-runtime .startup-root.startup-navigate-step .startup-flight-list {
      min-height: 0;
      height: auto;
      max-height: min(67vh, 496px);
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
    }
    html.airshow-mobile-runtime .startup-hero-card {
      min-height: var(--startup-choice-card-height);
      height: auto;
    }
    html.airshow-mobile-runtime #game-infinite-flight.startup-hero-card,
    html.airshow-mobile-runtime #game-vatsim.startup-hero-card {
      min-height: var(--startup-game-card-height);
      height: auto;
      padding: 28px 14px 14px;
    }
    html.airshow-mobile-runtime #mode-navigate.startup-hero-card,
    html.airshow-mobile-runtime #mode-explore.startup-hero-card {
      min-height: var(--startup-choice-card-height);
      height: auto;
      padding: 20px 14px 12px;
    }
    html.airshow-mobile-runtime #game-infinite-flight .startup-card-iconbox,
    html.airshow-mobile-runtime #game-vatsim .startup-card-iconbox,
    html.airshow-mobile-runtime #mode-navigate .startup-card-iconbox,
    html.airshow-mobile-runtime #mode-explore .startup-card-iconbox {
      margin: 0 auto 8px;
    }
    html.airshow-mobile-runtime #game-infinite-flight .startup-mode-icon-image,
    html.airshow-mobile-runtime #game-vatsim .startup-mode-icon-image {
      width: 132px;
      height: 132px;
      transform: scale(1);
    }
    html.airshow-mobile-runtime .startup-field input,
    html.airshow-mobile-runtime .startup-field select {
      font-size: 16px;
    }
    html.airshow-mobile-runtime #mode-navigate .startup-mode-icon-image,
    html.airshow-mobile-runtime #mode-explore .startup-mode-icon-image {
      width: 118px;
      height: 118px;
      transform: scale(1);
    }
    html.airshow-mobile-runtime #game-infinite-flight .startup-card-desc,
    html.airshow-mobile-runtime #game-vatsim .startup-card-desc,
    html.airshow-mobile-runtime #mode-navigate .startup-card-desc,
    html.airshow-mobile-runtime #mode-explore .startup-card-desc {
      min-height: 0;
      line-height: 1.32;
    }
    html.airshow-mobile-runtime .startup-server-card {
      min-height: var(--startup-choice-card-height);
      height: auto;
      padding: 14px 10px 12px;
    }
    html.airshow-mobile-runtime .startup-flight-list {
      max-height: min(67vh, 496px);
    }
    html.airshow-mobile-runtime .startup-account-wrap {
      top: 24px;
      right: 24px;
    }
    html.airshow-mobile-runtime #startup-bottom-info-global {
      bottom: max(8px, calc(env(safe-area-inset-bottom) + 4px));
    }
    html.airshow-mobile-runtime .startup-loading-wrap .startup-loading-copy,
    html.airshow-mobile-runtime .startup-loading-wrap #startup-map-progress-status,
    html.airshow-mobile-runtime .startup-root.startup-loading-step .startup-loading-copy,
    html.airshow-mobile-runtime .startup-root.startup-loading-step #startup-map-progress-status {
      transform: none;
    }
    html.airshow-mobile-runtime .startup-root.startup-loading-step .startup-progress-wrap {
      width: 100%;
      max-width: 100%;
      padding-left: clamp(10px, 3vw, 16px);
      padding-right: clamp(10px, 3vw, 16px);
      box-sizing: border-box;
      margin-top: 0;
    }
    html.airshow-mobile-runtime .startup-progress-wrap {
      width: 100%;
      max-width: 100%;
      padding: 0;
      border-radius: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      box-sizing: border-box;
    }
    html.airshow-mobile-runtime .startup-loading-wrap {
      width: min(100%, 92vw);
    }
    html.airshow-mobile-runtime .startup-loading-wrap-panel {
      width: min(100%, 460px);
      max-width: 100%;
      box-sizing: border-box;
    }
    html.airshow-mobile-runtime .startup-progress-meta {
      color: rgba(255, 255, 255, 0.96);
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.48);
    }
    @media (orientation: landscape) {
      html.airshow-mobile-runtime .startup-grid-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      html.airshow-mobile-runtime .startup-server-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      html.airshow-mobile-runtime .startup-flight-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: min(62vh, 448px);
      }
    }
    @media (orientation: portrait) {
      html.airshow-mobile-runtime .startup-grid-hero {
        grid-template-columns: 1fr;
      }
      html.airshow-mobile-runtime .startup-server-grid {
        grid-template-columns: 1fr;
      }
      html.airshow-mobile-runtime .startup-flight-list {
        grid-template-columns: 1fr;
      }
    }

    /* Monochrome startup theme: keep existing alpha/transparency, shift navy hue to translucent black. */
    #loading-overlay .startup-shell {
      background:
        linear-gradient(156deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.72)),
        radial-gradient(80% 62% at 20% 0%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 75%) !important;
      border-color: rgba(198, 198, 198, 0.28) !important;
      box-shadow: 0 22px 54px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    }
    #loading-overlay.startup-connecting .startup-shell {
      width: auto !important;
      min-height: 0 !important;
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      backdrop-filter: none !important;
    }
    #loading-overlay .startup-header::after {
      background: linear-gradient(90deg, rgba(196, 196, 196, 0.54), rgba(196, 196, 196, 0.06)) !important;
    }

    #loading-overlay .startup-card,
    #loading-overlay .startup-server-card,
    #loading-overlay .startup-flight-item {
      background:
        linear-gradient(160deg, rgba(56, 56, 56, 0.8), rgba(42, 42, 42, 0.58)),
        radial-gradient(100% 90% at 80% -18%, rgba(92, 92, 92, 0.22), rgba(0, 0, 0, 0) 58%) !important;
      border-color: rgba(148, 148, 148, 0.38) !important;
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.2) !important;
    }
    #loading-overlay .startup-card:hover,
    #loading-overlay .startup-server-card:hover,
    #loading-overlay .startup-flight-item:hover,
    #loading-overlay .startup-card.active,
    #loading-overlay .startup-server-card.active,
    #loading-overlay .startup-flight-item.active {
      background:
        linear-gradient(160deg, rgba(72, 72, 72, 0.86), rgba(52, 52, 52, 0.64)),
        radial-gradient(100% 90% at 80% -18%, rgba(116, 116, 116, 0.3), rgba(0, 0, 0, 0) 58%) !important;
      border-color: rgba(176, 176, 176, 0.4) !important;
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 16px 34px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(188, 188, 188, 0.16) !important;
      transform: translate3d(0, -3px, 0) scale(1.01);
    }

    #loading-overlay .startup-btn,
    #loading-overlay .startup-btn.primary,
    #loading-overlay .startup-field-row .startup-btn,
    #loading-overlay .startup-field input,
    #loading-overlay .startup-field select,
    #loading-overlay .startup-account-btn,
    #loading-overlay .startup-ticket-action-btn,
    #loading-overlay .startup-ticket-close-btn {
      background: rgba(0, 0, 0, 0.52) !important;
      border-color: rgba(146, 146, 146, 0.32) !important;
      color: #fff !important;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    }
    #loading-overlay .startup-btn:hover,
    #loading-overlay .startup-btn.primary:hover,
    #loading-overlay .startup-ticket-action-btn:hover,
    #loading-overlay .startup-ticket-close-btn:hover,
    #loading-overlay .startup-account-btn:hover {
      background: rgba(0, 0, 0, 0.62) !important;
      border-color: rgba(176, 176, 176, 0.4) !important;
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(176, 176, 176, 0.2) !important;
      transform: translateY(-2px) scale(1.01);
    }

    #loading-overlay .startup-ticket-popup,
    #loading-overlay .startup-account-popup,
    #loading-overlay .startup-live-precheck-card,
    #loading-overlay .startup-auth-intro-cta,
    #loading-overlay .startup-auth-intro-cta-start,
    #loading-overlay .startup-auth-right-start {
      background:
        linear-gradient(154deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.56)),
        radial-gradient(90% 75% at 20% -10%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 74%) !important;
      border-color: rgba(187, 187, 187, 0.34) !important;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    }
    #loading-overlay .startup-loading-wrap-panel {
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
    }
    #loading-overlay .startup-loading-wrap-panel::before {
      display: none !important;
    }


    #loading-overlay .startup-grid-hero .startup-hero-card::before,
    #loading-overlay .startup-server-grid .startup-server-card::before {
      background: linear-gradient(112deg, rgba(206, 206, 206, 0) 30%, rgba(206, 206, 206, 0.2) 44%, rgba(236, 236, 236, 0.36) 50%, rgba(206, 206, 206, 0.16) 56%, rgba(206, 206, 206, 0) 72%) !important;
    }
    #loading-overlay .startup-loading-wrap-panel::before {
      background: none !important;
      display: none !important;
    }

    #loading-overlay .startup-auth-down-btn {
      background: rgba(255, 138, 0, 0.62) !important;
      border-color: rgba(158, 158, 158, 0.36) !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    }
