/* Expedite Climb — US Public Beta Landing Page & ARTCC Vote Styles (100% CSP-compliant) */

#online-gate.ec-landing-wrap {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 165, 233, 0.22), transparent 65%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.10), transparent 50%),
    linear-gradient(180deg, #060d17 0%, #091321 55%, #060c15 100%);
  color: #e2ecf8;
  font: 15px/1.55 Inter, system-ui, -apple-system, sans-serif;
  text-align: left;
  padding: 28px 18px 64px;
}

.ec-land {
  max-width: 1040px;
  margin: 0 auto;
}

.ec-land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

.ec-land-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ec-land-brand-title {
  font: 800 16px/1.1 Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  color: #f8fafc;
}

.ec-land-brand-sub {
  font: 600 10.5px/1.2 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  color: #38bdf8;
  margin-top: 2px;
}

.ec-land-nav-cta {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.16);
  color: #f0f9ff;
  font: 600 13px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.ec-land-nav-cta:hover { background: rgba(14, 165, 233, 0.28); }

.ec-land-hero {
  text-align: center;
  padding: 44px 8px 34px;
  max-width: 820px;
  margin: 0 auto;
}

.ec-land-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font: 700 11px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.ec-land-hero h1 {
  font: 800 clamp(28px, 4.6vw, 46px)/1.12 Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 16px;
}

.ec-land-hero p {
  font-size: clamp(15px, 1.9vw, 17.5px);
  color: #a9bfd8;
  margin: 0 auto 26px;
  max-width: 720px;
}

.ec-land-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ec-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid #38bdf8;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  font: 700 15px Inter, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.34);
}
.ec-cta-primary:hover { filter: brightness(1.08); }

.ec-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid #2b4464;
  background: rgba(15, 27, 45, 0.85);
  color: #e2ecf8;
  font: 600 14.5px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.ec-cta-secondary:hover { border-color: #38bdf8; background: #13253e; }

.ec-land-err {
  color: #fca5a5;
  font-size: 13px;
  margin: 14px auto 0;
  min-height: 18px;
  text-align: center;
}

.ec-land-sec {
  margin-top: 34px;
}

.ec-land-sec-hdr {
  font: 700 11.5px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38bdf8;
  margin: 0 0 14px;
}

.ec-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.ec-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.ec-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.ec-card {
  background: rgba(13, 24, 40, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 12px;
  padding: 18px 18px 16px;
}

.ec-card h3 {
  margin: 0 0 8px;
  font: 700 15.5px/1.3 Inter, system-ui, sans-serif;
  color: #f8fafc;
}

.ec-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #9db4d0;
}

.ec-sector-tag {
  display: inline-block;
  font: 700 10.5px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  margin-bottom: 10px;
}

.ec-calib-box {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(13, 24, 40, 0.92));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ec-calib-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f8fafc;
}

.ec-calib-box p {
  margin: 0;
  font-size: 13.5px;
  color: #b7cce3;
  max-width: 700px;
}

.ec-land-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* Community ARTCC Vote Widget (inside #setup & Beta Feedback modal) */
.artcc-vote-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(10, 20, 34, 0.65);
}

.artcc-vote-box h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: #f1f5f9;
}

.artcc-vote-sub {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted, #94a3b8);
}

.artcc-vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.artcc-vote-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line, #233856);
  background: rgba(15, 27, 45, 0.72);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.artcc-vote-opt:hover { border-color: #38bdf8; }
.artcc-vote-opt.is-picked {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.16);
}
.artcc-vote-opt input { margin-top: 2px; flex-shrink: 0; }
.artcc-vote-opt strong { display: block; color: #f8fafc; font-size: 12.5px; }
.artcc-vote-opt small { display: block; color: #9db4d0; font-size: 11px; margin-top: 2px; }

.artcc-vote-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.artcc-vote-status {
  font-size: 12px;
  color: #6ee7b7;
}

/* Preview Radar & Tools HD Gallery Modal (100% CSP-compliant) */
.ec-prev-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: rgba(4, 9, 16, 0.90);
  backdrop-filter: blur(6px);
  padding: 18px;
}
.ec-prev-backdrop[hidden] { display: none; }
.ec-prev-card {
  max-width: 1020px;
  width: 96vw;
  background: #0a1423;
  border: 1px solid #2b476b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.78);
  color: #e2ecf8;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
.ec-prev-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #1e334f;
}
.ec-prev-hdr-title {
  font: 700 13.5px/1.2 Inter, system-ui, sans-serif;
  color: #f8fafc;
}
.ec-prev-hdr-count {
  font: 600 11px/1 "IBM Plex Mono", ui-monospace, monospace;
  color: #38bdf8;
  margin-left: 8px;
}
.ec-prev-close {
  background: #162740;
  border: 1px solid #2b476b;
  color: #fff;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.ec-prev-close:hover { background: #1f3658; }
.ec-prev-stage {
  position: relative;
  background: #040a12;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ec-prev-stage img {
  display: block;
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  background: #040a12;
}
.ec-prev-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(8, 17, 30, 0.84);
  color: #f8fafc;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ec-prev-nav:hover { background: rgba(14, 165, 233, 0.35); }
.ec-prev-prev { left: 12px; }
.ec-prev-next { right: 12px; }
.ec-prev-caption {
  padding: 14px 18px 10px;
  border-top: 1px solid #1a2d47;
}
.ec-prev-caption h4 {
  margin: 0 0 4px;
  font: 700 15px/1.3 Inter, system-ui, sans-serif;
  color: #f8fafc;
}
.ec-prev-caption p {
  margin: 0;
  font-size: 13px;
  color: #a9bfd8;
}
.ec-prev-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 18px 14px;
}
.ec-prev-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ec-prev-dot {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #243b5c;
  background: #102036;
  color: #9db4d0;
  font: 600 11.5px "IBM Plex Mono", ui-monospace, monospace;
  cursor: pointer;
}
.ec-prev-dot.active {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.2);
  color: #ffffff;
}

/* Responsive Topbar & Mobile HUD Polish */
@media (max-width: 1580px) {
  header.rail { gap: 5px; padding: 0 8px; }
  header.rail .tools { gap: 3px; }
  header.rail .sep { margin: 0 1px; }
  header.rail .btn { padding: 0 6px; font-size: 11.5px; min-width: 28px; }
  header.rail .station strong { font-size: 12.5px; }
  header.rail .station span { display: none; }
  header.rail .facts { gap: 5px; font-size: 12px; }
  header.rail .key-tag { display: none; }
  header.rail .seg-label { display: none; }
  #t-cmd kbd { display: none; }
  #t-filters span { display: none; }
  #t-feedback { padding: 0 7px; }
  #t-feedback span { font-size: 11px; }
}
@media (max-width: 1480px) {
  #t-feedback span { display: none; }
  header.rail .station span { display: none; }
}
@media (max-width: 1024px) {
  header.rail { overflow-x: auto; scrollbar-width: none; }
  header.rail::-webkit-scrollbar { display: none; }
  .strips-drawer-btn span[data-i18n],
  .radio-drawer-btn span[data-i18n] {
    display: inline !important;
    font-size: 11.5px;
    font-weight: 600;
  }
  .strips-drawer-btn .key-tag,
  .radio-drawer-btn .key-tag { display: none !important; }
}
@media (max-width: 640px) {
  .classic-sil-box { display: none !important; }
  .right-hud-stack { right: 8px; top: 8px; max-width: calc(100vw - 16px); }
  .txbar { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; transform: none; }
  .tx-row { flex-wrap: wrap; gap: 6px; }
  .tx-row .ptt { flex: 1 1 auto; justify-content: center; }
  .tx-row .tx-field { flex: 1 0 100%; width: 100%; }
  .tx-row .typed { width: 100%; }
  .tx-row .typed input { min-width: 0; flex: 1 1 auto; font-size: 14px; }
}
