*{box-sizing:border-box}
:root{
  --bg:#041018;
  --panel:#0b1b29;
  --panel2:#07131d;
  --line:#1f4c6a;
  --blue:#37d5ff;
  --green:#48ffad;
  --orange:#ffb347;
  --red:#ff6868;
  --text:#ecf8ff;
  --muted:#a9bfd0;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%,rgba(55,213,255,.18),transparent 28%),
    radial-gradient(circle at 90% 8%,rgba(72,255,173,.13),transparent 32%),
    linear-gradient(180deg,#061a27,#02070c 78%);
}
a{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(2,7,12,.82);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.10);
  padding:18px 24px;
}
.nav{
  max-width:1280px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
}
.mark{
  width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--green));
  color:#001018;
  font-weight:900;
}
.logo h1{
  margin:0;
  font-size:22px;
}
.logo span{
  color:var(--muted);
  font-size:13px;
}
.menu{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  justify-content:flex-end;
}
.menu a{
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  font-size:13px;
  color:#d8f2ff;
}
.menu a:hover{
  border-color:var(--blue);
}
.hero{
  max-width:1280px;
  margin:auto;
  padding:42px 24px 22px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
}
.box,.panel,.tool,.card{
  background:linear-gradient(180deg,rgba(14,33,50,.94),rgba(6,17,27,.96));
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.24);
}
.box{padding:34px}
.badge{
  display:inline-block;
  border:1px solid var(--blue);
  color:var(--blue);
  padding:8px 13px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:1.5px;
  margin-bottom:18px;
}
.hero h2{
  margin:0 0 16px;
  font-size:50px;
  line-height:1;
}
p{
  color:var(--muted);
  line-height:1.5;
}
.hero p{
  font-size:18px;
  max-width:720px;
}
.btn{
  display:inline-block;
  margin:8px 8px 0 0;
  padding:12px 16px;
  border-radius:14px;
  background:var(--blue);
  color:#001018;
  font-weight:900;
  border:0;
}
.btn.alt{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,.18);
}
.btn:hover{
  filter:brightness(1.1);
}
.panel{padding:22px}
.stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.stat{
  background:#06131d;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  text-align:center;
}
.stat b{
  display:block;
  color:var(--blue);
  font-size:24px;
}
.stat small{
  color:var(--muted);
}
main{
  max-width:1280px;
  margin:auto;
  padding:0 24px 42px;
}
.section{
  margin-top:24px;
}
.section h3{
  font-size:25px;
  margin:0 0 14px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(245px,1fr));
  gap:16px;
}
.tools{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:16px;
}
.card,.tool{
  padding:20px;
}
.card h4,.tool h4{
  margin:0 0 8px;
  font-size:18px;
}
.card:hover,.tool:hover{
  border-color:rgba(55,213,255,.48);
}
.card p{
  font-size:14px;
  margin:0 0 12px;
}
.card span,.card .open{
  color:var(--green);
  font-weight:800;
  font-size:14px;
}
label{
  display:block;
  color:var(--muted);
  margin:12px 0 6px;
  font-size:13px;
}
input,select,textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#04111a;
  color:var(--text);
  outline:none;
  font-size:15px;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--blue);
}
textarea{
  min-height:80px;
}
.result{
  margin-top:14px;
  padding:14px;
  border-radius:14px;
  background:#04111a;
  border:1px solid var(--line);
  color:var(--green);
  font-weight:800;
  white-space:pre-wrap;
  overflow:auto;
}
.lookup-card{
  color:var(--text);
}
.lookup-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.lookup-title strong{
  font-size:30px;
  color:var(--green);
}
.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(72,255,173,.12);
  border:1px solid rgba(72,255,173,.45);
  color:var(--green);
  font-size:12px;
}
.kv{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:8px;
  margin:6px 0;
}
.kv span:first-child{
  color:var(--muted);
}
.lookup-actions{
  margin-top:14px;
}
.band{
  height:16px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  margin:12px 0;
  background:#071018;
  border:1px solid var(--line);
}
.seg{height:100%}
.cw{background:#37d5ff}
.digital{background:#48ffad}
.ssb{background:#ffb347}
.fm{background:#c084fc}
.legend span{
  display:inline-block;
  margin:4px 8px 4px 0;
  font-size:13px;
  color:var(--muted);
}
.dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  margin-right:5px;
}
table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  font-size:14px;
}
td,th{
  border-bottom:1px solid rgba(255,255,255,.1);
  padding:10px;
  text-align:left;
}
th{color:var(--blue)}
footer{
  padding:32px;
  text-align:center;
  color:#789;
  border-top:1px solid rgba(255,255,255,.08);
}
@media(max-width:850px){
  .hero{grid-template-columns:1fr;padding-top:28px}
  .hero h2{font-size:38px}
  .nav{align-items:flex-start;flex-direction:column}
  .menu{justify-content:flex-start}
  .kv{grid-template-columns:1fr}
}

#backToTop{
position:fixed;
bottom:24px;
right:24px;
width:56px;
height:56px;
border:none;
border-radius:50%;
background:#37d5ff;
color:#001018;
font-size:24px;
font-weight:bold;
cursor:pointer;
box-shadow:0 8px 25px rgba(0,0,0,.35);
display:none;
z-index:9999;
}
#backToTop:hover{
transform:translateY(-2px);
filter:brightness(1.1);
}


#np4hTopBar{
position:sticky;
top:0;
z-index:10000;
display:flex;
flex-wrap:wrap;
gap:12px;
justify-content:center;
padding:10px;
background:#021018;
border-bottom:1px solid rgba(255,255,255,.12);
font-weight:bold;
}
#tbUtc{color:#48ffad}
#tbBand{color:#ffb347}
#tbSolar{color:#37d5ff}
#tbDx{color:#48ffad}
#tbStatus{color:#ffd700}


#missionRibbon{
  position:sticky;
  top:0;
  z-index:10001;
  overflow:hidden;
  background:linear-gradient(90deg,#02070c,#07131d,#0b2540,#07131d,#02070c);
  border-bottom:1px solid rgba(55,213,255,.28);
  box-shadow:0 0 24px rgba(55,213,255,.10);
}
.ribbon-track{
  display:flex;
  gap:24px;
  align-items:center;
  white-space:nowrap;
  padding:9px 16px;
  font-size:14px;
  font-weight:800;
  animation:ribbonMove 42s linear infinite;
}
.ribbon-track span{
  color:#ecf8ff;
}
.ribbon-track span:nth-child(1){color:#48ffad}
.ribbon-track span:nth-child(2){color:#ffb347}
.ribbon-track span:nth-child(3){color:#37d5ff}
.ribbon-track span:nth-child(5){color:#48ffad}
.ribbon-track span:nth-child(6){color:#ffb347}
@keyframes ribbonMove{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media(max-width:700px){
  .ribbon-track{font-size:12px;gap:18px}
}
