:root{
  --card-bg: rgba(15,25,40,.50);
  --card-border: rgba(255,255,255,.22);
  --text: #ffffff;
  --muted: rgba(255,255,255,.86);
  --soft: rgba(255,255,255,.10);
}
*{margin:0;padding:0;box-sizing:border-box;font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

/* white flash / scroll glitch fix */
html,body{height:100%;min-height:100%;background:#05080d;}
body{
  color:var(--text);
  overflow-x:hidden;
  overscroll-behavior:none;
  -webkit-overflow-scrolling:touch;
  -webkit-tap-highlight-color:transparent;
}

body:not(.dark){
  background:
    radial-gradient(circle at 20% 25%, rgba(0,255,200,.35), transparent 48%),
    radial-gradient(circle at 80% 30%, rgba(160,0,255,.35), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(0,120,255,.35), transparent 52%);
}
body.dark{background:#05080d}

/* Live BG */
.bg{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.blob{
  position:absolute;width:560px;height:560px;border-radius:50%;
  filter:blur(48px);opacity:.55;
  animation:float 18s ease-in-out infinite alternate;
  will-change:transform;
}
.b1{background:#00ffc8;left:-180px;top:-170px}
.b2{background:#a000ff;right:-210px;top:80px}
.b3{background:#0078ff;left:18%;bottom:-220px}
body.dark .blob{opacity:.22}
@keyframes float{to{transform:translate3d(90px,-70px,0) scale(1.08)}}

.grain{
  position:absolute;inset:0;opacity:.10;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* Layout */
.container{max-width:580px;margin:58px auto;padding:16px}
.top{text-align:center;margin-bottom:14px}
.logo{font-size:30px;margin-bottom:4px}
h1{font-size:1.65rem;font-weight:800;text-shadow:0 10px 30px rgba(0,0,0,.35)}
.sub{opacity:.9;margin-top:4px}

/* Buttons */
.actions{margin-top:12px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.actions button{
  padding:10px 14px;border-radius:14px;border:1px solid var(--card-border);
  background:rgba(255,255,255,.14);color:#fff;font-weight:800;cursor:pointer;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.actions button:hover{background:rgba(255,255,255,.20)}

/* Card */
.card{
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:22px;
  padding:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}

/* Progress */
.progressWrap{
  padding:12px;border-radius:16px;
  background:var(--soft);
  border:1px solid rgba(255,255,255,.16);
  margin-bottom:12px;
}
.progressText{font-weight:800;margin-bottom:8px;opacity:.95}
.progressBar{height:10px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden}
.progressFill{height:100%;width:0%;background:rgba(255,255,255,.62);transition:width .25s ease}

/* Pills */
.pillRow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pill{
  padding:8px 10px;border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-weight:800;font-size:.85rem;color:var(--muted);
}

/* Info */
.info{line-height:1.85;font-size:.96rem;word-break:break-word}
.sectionTitle{
  margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);
  font-weight:900;font-size:1.02rem;
}
.row{display:flex;gap:10px;align-items:flex-start;padding:6px 0}
.k{min-width:170px;opacity:.95;font-weight:800}
.v{opacity:.92;flex:1}
.small{font-size:.86rem;opacity:.85}
.pre{
  white-space:pre-wrap;background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  padding:10px 12px;border-radius:14px;margin-top:10px;
}

/* Map */
.mapWrap{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14)}
.mapTitle{font-weight:900;margin-bottom:8px}
.map{width:100%;height:240px;border:0;border-radius:16px;background:rgba(0,0,0,.25)}

/* Footer */
.footer{margin-top:14px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);text-align:center;opacity:.88;font-size:.85rem}

@media(max-width:480px){
  .container{margin:46px auto}
  h1{font-size:1.48rem}
  .k{min-width:140px}
  .map{height:210px}
}
