* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #0b2239 0%, #123a5e 55%, #17507e 100%);
  color: #f4ecd9;
}
#panggung { position: fixed; inset: 0; }
#panggung canvas { display: block; touch-action: none; }

#kepala {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 14px 16px; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,24,42,.72), rgba(6,24,42,0));
}
#kepala h1 { font-size: 20px; letter-spacing: .06em; color: #f2b544; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
#ringkas { font-size: 13px; color: #e8e2d2; margin-top: 2px; }
#jam {
  font-size: 13px; font-weight: 700; color: #0b2239; background: #f2b544;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

#petunjuk {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 10;
  font-size: 12px; color: #e8e2d2; background: rgba(6,24,42,.62);
  padding: 7px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none;
}

#info {
  position: fixed; left: 12px; right: 12px; bottom: 52px; z-index: 20;
  max-width: 430px; margin: 0 auto;
  background: rgba(255,251,240,.97); color: #17324d;
  border: 2px solid #f2b544; border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
#info h2 { font-size: 19px; margin-bottom: 4px; padding-right: 34px; }
#info-status { font-weight: 800; font-size: 14px; }
#info-status.sehat { color: #12805c; }
#info-status.sakit { color: #c0392b; }
#info-detail { font-size: 14px; color: #4a6076; margin-top: 3px; }
#info-tautan {
  display: inline-block; margin-top: 12px; font-weight: 800; font-size: 14px;
  color: #fff; background: #17507e; text-decoration: none;
  padding: 9px 14px; border-radius: 999px;
}
#info-tutup {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: #e8e2d2; color: #17324d;
  font-size: 15px; font-weight: 800; cursor: pointer;
}

#cadangan {
  position: fixed; inset: 76px 12px 12px; z-index: 15; overflow: auto;
  background: rgba(255,251,240,.97); color: #17324d;
  border: 2px solid #f2b544; border-radius: 18px; padding: 18px;
}
#cadangan h2 { font-size: 18px; margin-bottom: 6px; }
#cadangan .kecil { font-size: 13px; color: #4a6076; margin-bottom: 12px; }
#cadangan-daftar { list-style: none; }
#cadangan-daftar li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 2px; border-bottom: 1px solid #e8e2d2; font-size: 14px;
}
#cadangan-daftar .nama { font-weight: 800; }
#cadangan-daftar .detail { color: #4a6076; text-align: right; }
.titik { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }
.titik.sehat { background: #1db954; }
.titik.sakit { background: #e74c3c; }
