:root{
  --bg:#05070b;
  --panel:#111827;
  --panel2:#182235;
  --text:#f4f7fb;
  --muted:#9fb0c7;
  --line:rgba(255,255,255,.10);
  --gold:#e2b85c;
  --green:#48d17c;
  --yellow:#ffd166;
  --red:#ff5c5c;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:radial-gradient(circle at top,#182236 0,#05070b 55%);
  color:var(--text);
}
.app{
  max-width:460px;
  min-height:100vh;
  margin:0 auto;
  padding:18px 14px 88px;
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.brand strong{font-size:19px;letter-spacing:.04em}
.brand span{display:block;color:var(--muted);font-size:12px}
.badge{
  border:1px solid var(--line);
  color:var(--gold);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  background:rgba(226,184,92,.08);
}
.screen{display:none}
.screen.active{display:block}
.card{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  border-radius:22px;
  padding:16px;
  margin:12px 0;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
}
.location{color:var(--muted);font-size:14px}
.temp{font-size:58px;font-weight:850;line-height:1;margin:12px 0}
.simple{font-size:18px;margin-bottom:10px}
.status{
  display:inline-flex;
  border-radius:999px;
  padding:9px 12px;
  font-weight:800;
  background:rgba(72,209,124,.12);
  color:var(--green);
  border:1px solid rgba(72,209,124,.25);
}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.metric{
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
}
.metric small{display:block;color:var(--muted);margin-bottom:6px}
.metric strong{font-size:17px}
.cta{
  width:100%;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#e2b85c,#fff0a8);
  color:#17130a;
  padding:15px;
  font-weight:900;
  font-size:16px;
  margin-top:12px;
  cursor:pointer;
}
.secondary-btn{
  width:100%;
  border:1px solid rgba(226,184,92,.35);
  border-radius:18px;
  background:rgba(226,184,92,.08);
  color:var(--gold);
  padding:14px;
  font-weight:850;
  font-size:15px;
  margin-top:10px;
  cursor:pointer;
}
.subtle{color:var(--muted);font-size:13px;line-height:1.45}
.notice{
  border:1px dashed rgba(226,184,92,.45);
  color:var(--gold);
  background:rgba(226,184,92,.07);
  border-radius:16px;
  padding:12px;
  font-size:13px;
  margin-top:12px;
}
.ojciec-panel{
  border:1px solid rgba(226,184,92,.32);
  background:rgba(226,184,92,.055);
}
.ojciec-row{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:10px;
  border-bottom:1px solid var(--line);
  padding:9px 0;
  font-size:13px;
}
.ojciec-row:last-child{border-bottom:0}
.ojciec-row small{color:var(--muted)}
.ojciec-row strong{
  color:var(--text);
  word-break:break-word;
}
.domain-list{display:grid;gap:10px}
.domain-card{
  width:100%;
  text-align:left;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  border-radius:18px;
  padding:14px;
  cursor:pointer;
}
.domain-card strong{display:block;margin-bottom:4px}
.domain-card small{color:var(--muted)}
.table{width:100%;border-collapse:collapse;font-size:13px}
.table th,.table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}
.table th{color:var(--muted);font-weight:650}
.bottom-nav{
  position:fixed;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(460px,100%);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(5,7,11,.94);
  border-top:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.tab{
  border:0;
  background:transparent;
  color:var(--muted);
  padding:11px 4px;
  font-size:12px;
  cursor:pointer;
}
.tab.active{color:var(--gold);font-weight:850}
