/* Panel web modem di layar 3D */
/* Mode DATAR: iframe dalam konteks 3D (perspective/preserve-3d/rotate) tak bisa di-scroll roda mouse di Chromium */
.holo.holo-flat { perspective: none; }
.holo.holo-flat .holo-stage { transform: none !important; transform-style: flat; }
.holo.holo-flat .holo-frame, .holo.holo-flat .holo-body { transform-style: flat; }
/* isi tinggi area hologram (frame max = 100vh - top - bot - 90; dikurangi head+padding ~280) */
.mdm { display: flex; flex-direction: column; gap: 10px; min-height: 340px;
  height: calc(100vh - var(--top) - var(--bot) - 250px); }
.mdm-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mdm-dot { width: 10px; height: 10px; border-radius: 50%; background: #16d9ff; box-shadow: 0 0 8px #16d9ff; flex: 0 0 auto; }
.mdm-addr { flex: 1; min-width: 80px; color: #bfe6f2; font: 12.5px "Consolas", monospace;
  background: rgba(22,217,255,.08); border: 1px solid rgba(22,217,255,.2); border-radius: 8px;
  padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdm-btn { height: 32px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(22,217,255,.3); background: rgba(22,217,255,.1); color: #cfe9f2; white-space: nowrap; transition: .15s; }
.mdm-btn:hover { background: rgba(22,217,255,.22); }
.mdm-wrap { flex: 1; min-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(22,217,255,.22);
  background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.mdm-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
/* ===== HP: panel modem LAYAR PENUH (halaman modem kecil & susah dipakai di panel biasa) =====
   Hanya berlaku saat panel modem (holo-flat) dan layar ≤ 820px; panel lain & desktop tak berubah. */
@media (max-width: 820px) {
  .holo.holo-flat { position: fixed; inset: 0; z-index: 30; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    align-items: stretch; justify-content: stretch; background: #030b16; }
  .holo.holo-flat .holo-stage { width: 100%; height: 100%; }
  .holo.holo-flat .holo-frame { max-height: none; height: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .holo.holo-flat .holo-frame .c, .holo.holo-flat .holo-scan, .holo.holo-flat .holo-frame::before { display: none; }
  .holo.holo-flat .holo-head { flex-direction: row; align-items: center; gap: 8px; padding: 8px 52px 8px 12px; }
  .holo.holo-flat .holo-kicker, .holo.holo-flat .holo-sub, .holo.holo-flat .holo-stats { display: none; }
  .holo.holo-flat .holo-title { font-size: 15px; margin: 0; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .holo.holo-flat .holo-x { top: 7px; right: 10px; width: 34px; height: 34px; font-size: 20px; }
  .holo.holo-flat .holo-body { flex: 1; min-height: 0; padding: 6px; overflow: hidden; display: flex; flex-direction: column; }
  .mdm { flex: 1; height: auto; min-height: 0; gap: 6px; }
  .mdm-addr { display: none; }                    /* alamat sudah terwakili nama di judul; hemat ruang */
  .mdm-bar { flex-wrap: nowrap; gap: 6px; }
  .mdm-btn { flex: 1; height: 34px; padding: 0 6px; font-size: 12px; }
  .mdm-wrap { border-radius: 6px; }
}
