* { box-sizing: border-box; }
html { min-height: 100%; background: #14222e; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px; font: 14px/1.4 "Segoe UI", Arial, sans-serif; color: #f5f9ff; }
body::before { content: ""; position: fixed; inset: -10px; z-index: 0; background: linear-gradient(120deg,#10263555,#14222e20), url("/wall-secoas.webp") center / cover; filter: blur(4px); }
main { position: relative; width: min(100%, 434px); padding: clamp(18px,4vw,32px); border: 1px solid #d5ecff55; border-radius: 20px; background: #0c1b29ed; box-shadow: 0 18px 65px #101e2b66; }
.home-page {
  height: 100vh;
  height: 100svh;
  height: var(--home-height, 100dvh);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 32px 16px;
  padding-block: calc(32px + max(env(safe-area-inset-top), env(safe-area-inset-bottom)));
  padding-inline: calc(16px + max(env(safe-area-inset-left), env(safe-area-inset-right)));
}
.home-page main {
  margin-block: auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.home-page::before { pointer-events: none; }
@media (max-height: 700px) {
  .home-page main { padding: 16px 20px; }
  .home-page header { margin-bottom: 14px; padding-bottom: 14px; }
  .home-page .brand-partners { padding: 4px 0; }
  .home-page .stations { margin-top: 16px; }
}
header { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #ffffff29; }
.wordmark { font-size: 26px; font-weight: 800; letter-spacing: .16em; line-height: 1; }
.subtitle { margin-top: 5px; color: #c4d7e6; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
h1,h2 { font-size: 16px; margin: 0 0 10px; }
.views { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.views a, li a { display: grid; padding: 10px 12px; min-height: 44px; background: #1b374a; border: 1px solid #527589; border-radius: 10px; color: inherit; text-decoration: none; }
.views strong { font-size: 18px; }
small, p { color: #c1d4df; }
a:hover, a:focus-visible { border-color: #78d8fc; }
.stations { margin-top: 18px; }
ul { display: grid; list-style: none; gap: 6px; margin: 0; padding: 0;  }
li a { grid-template-columns: 1fr auto; align-items: center; gap: 12px; overflow-wrap: anywhere; }
p { margin: 6px 0 0; font-size: 14px; }
form { display: grid; gap: 10px; }
input,button { min-height: 44px; padding: 8px 10px; font: inherit; border: 1px solid #527589; border-radius: 8px; }
button { background: #17648a; color: white; font-weight: 700; cursor: pointer; }
.entry-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.entry-home { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: #a5e3fa; border-radius: 8px; }
.entry-home:hover, .entry-home:focus-visible { background: #214054; }

.flight-brand { display: grid; width: max-content; margin-inline: auto; gap: 12px; letter-spacing: .12em; }
.brand-title { position: relative; contain: inline-size; }
.brand-title .live-dot { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.brand-partners {
  --size: clamp(54px, 9.5vw, 72px);
  display: flex;
  gap: 26px;
  padding: 8px 0;
}
.partner-logo {
  display: block;
  width: var(--size);
  height: var(--size);
  object-fit: contain;
}
.brand-wordmark{display:block;width:100%;height:auto;aspect-ratio:130 / 44;overflow:visible;fill:#f5f9ff;font-family:Inter,Segoe UI,Arial,sans-serif}
.brand-main{font-size:25px;font-weight:800}
.brand-sub{font-size:11px;font-weight:750}
.live-dot{width:8px;height:8px;border-radius:50%;background:#e1a739;box-shadow:0 0 0 4px #e1a73925}
.live-dot.connected{background:#39d49c;box-shadow:0 0 0 4px #39d49c25}
@media (max-width: 760px) {
.flight-brand { gap: 10px; }
}

input[type="password"] { font-size: 16px; min-width: 0; width: 100%; }

@media (max-width: 480px) { .views { grid-template-columns: 1fr; } }
