:root{
  color-scheme:dark;
  --purple:#1f86ff; --pink:#0f6bef; --cyan:#06b6d4; --blue:#0ea5e9;
  --accent-soft:rgba(30,144,255,.12); --accent-bd:rgba(30,144,255,.28);
  --dark:#050810;
  --ok:#3ddc84; --err:#ff5c5c; --warn:#ffb020;

  /* === MODE GELAP (default) === */
  --overlay-1:rgba(4,8,16,.40);   /* atas body::before */
  --overlay-2:rgba(4,8,16,.28);   /* bawah body::before */
  --card-bg:rgba(16,19,26,.93);
  --card-bd:rgba(255,255,255,.12);
  --text:#f2f5fa;
  --dim:#8d97a8;
  --input-bg:rgba(28,32,42,.93);
  --shadow-card:0 4px 16px rgba(0,0,0,.25);

  /* turunan tema (dipakai komponen glass) */
  --nav-bg:rgba(14,17,24,.94);
  --soft-bg:rgba(22,26,34,.92);
  --soft-bg-hi:rgba(32,38,50,.94);
  --tag-bg:rgba(34,40,52,.93);
  --btn-bg:rgba(34,40,52,.93);
  --btn-bg-hi:rgba(30,144,255,.28);
  --file-bg:rgba(10,13,19,.92);
  --terminal-bg:rgba(6,8,12,.95);
  --bar-bg:rgba(30,144,255,.15);
  --line:rgba(255,255,255,.08);
  --placeholder:rgba(141,151,168,.6);
  --glass-hi:rgba(255,255,255,.18);
  --glass-lo:rgba(255,255,255,.05);
  --sheen-1:rgba(255,255,255,.14);
  --sheen-2:rgba(255,255,255,.02);
  --shadow-nav:0 4px 16px rgba(0,0,0,.25);
  --g1:var(--purple); --g2:var(--pink); --g3:var(--cyan);
  --sub:#d5dbe6;   /* teks yang berdiri langsung di atas wallpaper */

  /* alias lama */
  --card:var(--card-bg);
  --border:var(--card-bd);
}

html[data-theme="light"]{
  color-scheme:light;
  /* === MODE TERANG: overlay terang, wallpaper tetap tembus === */
  --overlay-1:rgba(240,246,255,.45);
  --overlay-2:rgba(232,240,255,.32);
  --card-bg:rgba(255,255,255,.94);
  --card-bd:rgba(30,144,255,.22);
  --text:#0f1b2d;
  --dim:#52627a;
  --input-bg:rgba(255,255,255,.93);
  --shadow-card:0 4px 16px rgba(60,100,170,.18);

  --nav-bg:rgba(255,255,255,.95);
  --soft-bg:rgba(255,255,255,.92);
  --soft-bg-hi:rgba(255,255,255,.95);
  --tag-bg:rgba(255,255,255,.93);
  --btn-bg:rgba(255,255,255,.93);
  --btn-bg-hi:rgba(30,144,255,.16);
  --file-bg:rgba(255,255,255,.92);
  --terminal-bg:rgba(255,255,255,.95);
  --bar-bg:rgba(30,144,255,.16);
  --line:rgba(30,144,255,.16);
  --placeholder:rgba(82,98,122,.75);
  --glass-hi:rgba(255,255,255,.85);
  --glass-lo:rgba(30,144,255,.08);
  --sheen-1:rgba(255,255,255,.55);
  --sheen-2:rgba(255,255,255,.1);
  --shadow-nav:0 4px 16px rgba(60,100,170,.18);

  /* warna status & teks gradien diperdalam agar terbaca di latar terang */
  --ok:#15803d; --err:#b91c1c; --warn:#b45309; --cyan:#0e7490;
  --g1:#1d4ed8; --g2:#0369a1; --g3:#0e7490;
  --sub:#0f1b2d;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/* 🔻 BACKGROUND NANTI DIGANTI FOTO — JANGAN SENTUH BAGIAN INI */
body{
  font-family:'Poppins',sans-serif;font-weight:400;
  background:var(--dark);color:var(--text);
  min-height:100vh;line-height:1.6;
  -webkit-text-size-adjust:100%;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-1;
  background:
    linear-gradient(180deg, var(--overlay-1), var(--overlay-2)),
    url("./assets/maul-background.jpg") center/cover no-repeat,
    var(--dark);
}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}

/* NAVBAR */
.navbar{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 18px;
  background:var(--nav-bg);
  border-bottom:1px solid var(--border);
}
.brand{display:flex;align-items:center;gap:10px}
.brand-avatar{
  width:38px;height:38px;border-radius:50%;overflow:hidden;flex-shrink:0;
  border:1.5px solid rgba(30,144,255,.4);
  background:linear-gradient(135deg,var(--purple),var(--pink));
  box-shadow:0 2px 8px rgba(30,144,255,.25);
}
.brand-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.brand-name{font-family:'Poppins',sans-serif;font-weight:700;font-size:15px;letter-spacing:.5px;line-height:1.1}
.brand-name .x{color:var(--pink)}
.brand-sub{font-size:9px;letter-spacing:4px;color:var(--dim);margin-top:2px}

/* LAYOUT */
.wrap{max-width:1000px;margin:0 auto;padding:24px 16px 8px}

/* HERO */
.hero{text-align:center;max-width:900px;margin:8px auto 28px}
.hero-tag{
  display:inline-block;padding:5px 14px;border-radius:999px;
  background:var(--tag-bg);border:1px solid var(--border);
  font-size:12px;color:var(--dim);margin-bottom:14px;
}
.hero h1{
  font-family:'Poppins',sans-serif;font-weight:700;
  font-size:clamp(24px,5vw,40px);line-height:1.25;margin-bottom:12px;
}
.grad{
  background:linear-gradient(90deg,var(--g1),var(--g2),var(--g3));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.hero p{max-width:520px;margin:0 auto;color:var(--dim);font-size:14px}

/* GRID + CARD */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.card{
  background:var(--card);border:1px solid var(--border);
  border-radius:16px;padding:18px;min-width:0;
}
.card.full{margin-bottom:16px}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.card-head h2{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}
.tag{
  font-size:11px;padding:3px 10px;border-radius:999px;
  background:var(--tag-bg);border:1px solid var(--border);color:var(--dim);
  white-space:nowrap;
}
.tag.ok{color:var(--ok);border-color:rgba(61,220,132,.4);background:rgba(61,220,132,.1)}
.tag.err{color:var(--err);border-color:rgba(255,92,92,.4);background:rgba(255,92,92,.1)}
.tag.run{color:var(--warn);border-color:rgba(255,176,32,.4);background:rgba(255,176,32,.1)}

/* DROPZONE */
.dropzone{
  border:2px dashed var(--border);border-radius:14px;
  background:var(--soft-bg);
  padding:24px 12px;text-align:center;cursor:pointer;
  }
.dropzone:hover,.dropzone.over{border-color:var(--purple);background:var(--soft-bg-hi)}
.dz-icon{line-height:1;color:var(--purple);display:flex;justify-content:center;margin-bottom:6px}
.dz-title{font-weight:500;font-size:14px;margin-top:4px}
.dz-sub{font-size:12px;color:var(--dim);margin-bottom:10px}
.dz-tags{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.dz-tags span{
  font-size:10px;padding:2px 8px;border-radius:6px;
  background:var(--tag-bg);color:var(--dim);
}
.row-btns{display:flex;gap:8px;margin:12px 0}
.btn-sm{
  flex:1;padding:9px 10px;border-radius:10px;cursor:pointer;
  background:var(--btn-bg);border:1px solid var(--border);
  color:var(--text);font-family:inherit;font-size:12px;font-weight:500;
  transition:transform .2s ease;
}
.btn-sm:hover{background:var(--btn-bg-hi);transform:translateY(-1px)}
.btn-ghost{
  width:100%;padding:8px;border-radius:10px;cursor:pointer;
  background:transparent;border:1px solid var(--border);
  color:var(--dim);font-family:inherit;font-size:12px;
  }
.btn-ghost:hover{color:var(--text);border-color:var(--purple)}

/* FILE LIST */
.file-list{
  list-style:none;max-height:150px;overflow-y:auto;margin-bottom:10px;
  border:1px solid var(--border);border-radius:10px;
  background:var(--file-bg);
}
.file-list li{
  display:flex;align-items:center;gap:8px;padding:6px 10px;
  font-size:12px;border-bottom:1px solid var(--line);
}
.file-list li:last-child{border-bottom:none}
.file-list .fn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-list .fs{color:var(--dim);font-size:11px;white-space:nowrap}
.file-list .rm{
  background:none;border:none;color:var(--err);cursor:pointer;
  font-size:16px;line-height:1;padding:0 4px;
}

/* FORM */
.lbl{display:block;font-size:12px;color:var(--dim);margin:12px 0 6px}
.inp{
  width:100%;padding:10px 12px;border-radius:10px;
  background:var(--input-bg);border:1px solid var(--border);
  color:var(--text);font-family:inherit;font-size:14px;
  }
.inp::placeholder{color:var(--placeholder)}
.inp:focus{border-color:var(--purple);outline:none}
.btn-main{
  width:100%;margin-top:18px;padding:13px;border:none;border-radius:12px;cursor:pointer;
  background:linear-gradient(135deg,var(--purple),var(--pink));
  color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:13px;letter-spacing:1px;
  transition:transform .2s ease, opacity .2s ease;
}
.btn-main:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 16px rgba(30,144,255,.3)}
.btn-main:disabled{opacity:.45;cursor:not-allowed}
.cooldown{text-align:center;font-size:11px;color:var(--dim);margin-top:8px;font-variant-numeric:tabular-nums}

/* TERMINAL */
.terminal{
  background:var(--terminal-bg);border:1px solid var(--border);border-radius:10px;
  padding:10px 12px;max-height:180px;min-height:70px;overflow-y:auto;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;
}
.terminal .line{word-break:break-word}
.terminal .ts{color:var(--dim);margin-right:6px}
.terminal .info{color:var(--cyan)}
.terminal .ok{color:var(--ok)}
.terminal .warn{color:var(--warn)}
.terminal .err{color:var(--err)}
.bar{height:6px;border-radius:999px;background:var(--bar-bg);margin-top:12px;overflow:hidden}
.bar-fill{
  height:100%;width:0;border-radius:999px;
  background:linear-gradient(90deg,var(--purple),var(--pink));
  }
.prog-label{font-size:11px;color:var(--dim);margin-top:6px;font-variant-numeric:tabular-nums}

/* SAFETY */
.safe-list{list-style:none}
.safe-list li{position:relative;padding-left:16px;font-size:13px;color:var(--dim);margin-bottom:6px}
.safe-list li::before{content:"•";position:absolute;left:2px;color:var(--pink)}

/* FOOTER */
.footer{text-align:center;padding:24px 16px 104px}
.foot-brand{font-family:'Poppins',sans-serif;font-weight:600;font-size:12px;letter-spacing:2px}
.foot-sub{font-size:11px;color:var(--dim);margin-top:4px}

/* FOCUS */
button:focus-visible,input:focus-visible,a:focus-visible,.dropzone:focus-visible{
  outline:2px solid var(--cyan);outline-offset:2px;
}

/* RESPONSIVE */
@media (max-width:820px){
  .grid{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* CEK DOMAIN */
.dom-status{
  display:flex;align-items:flex-start;gap:8px;margin-top:8px;
  padding:8px 10px;border-radius:10px;font-size:12px;line-height:1.5;
  border:1px solid var(--border);background:var(--soft-bg);color:var(--dim);
  word-break:break-word;
}
.dom-ico{flex:none;width:16px;text-align:center;font-weight:700}
.dom-status.ok{color:var(--ok);border-color:rgba(61,220,132,.4);background:rgba(61,220,132,.08)}
.dom-status.dup{color:var(--err);border-color:rgba(255,92,92,.4);background:rgba(255,92,92,.08)}
.dom-status.warn{color:var(--warn);border-color:rgba(255,176,32,.4);background:rgba(255,176,32,.08)}

/* HASIL DEPLOY */
.res-row{display:flex;gap:8px;align-items:stretch}
.res-row .inp{flex:1;min-width:0;font-size:13px}
.res-row .btn-sm{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  padding:0 14px;text-align:center;white-space:nowrap;
}
.btn-sm.copied{background:rgba(61,220,132,.2);border-color:rgba(61,220,132,.5);color:var(--ok)}
.btn-main.copied{background:linear-gradient(135deg,#1fa55f,#3ddc84)}


/* ═══════════════════════════════════════════════════════════════
   MAUL DEPLOY PREMIUM — LIQUID GLASS / PHOTO COMPOSITION
   The original body/body::before remain intact above.
   ═══════════════════════════════════════════════════════════════ */

.navbar,.wrap,.footer{
  position:relative;
  z-index:1;
}
.navbar{z-index:20}

/* Shared liquid-glass recipe. Existing component selectors receive
   the same treatment so HTML structure stays untouched. */
.glass{
  background:var(--card-bg);
  border:1px solid var(--card-bd);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 var(--glass-lo),
    var(--shadow-card);
  border-radius:20px;
  position:relative;
  overflow:hidden;
}
.glass::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    135deg,
    var(--sheen-1) 0%,
    var(--sheen-2) 35%,
    transparent 60%
  );
  pointer-events:none;
  z-index:1;
}
.glass > *{
  position:relative;
  z-index:2;
}

/* Glass surfaces without changing the HTML tree. */
.navbar,
.card,
.dropzone,
.terminal,
.inp,
.btn-main,
.tag,
.dom-status,
.pill{
  position:relative;
}
.navbar::before,
.card::before,
.dropzone::before,
.terminal::before,
.inp::before,
.btn-main::before,
.tag::before,
.dom-status::before,
.pill::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    135deg,
    var(--sheen-1) 0%,
    var(--sheen-2) 35%,
    transparent 60%
  );
  pointer-events:none;
  z-index:1;
}
.navbar > *,
.card > *,
.dropzone > *,
.terminal > *,
.inp > *,
.btn-main > *,
.tag > *,
.dom-status > *,
.pill > *{
  position:relative;
  z-index:2;
}

/* Preserve the original component geometry while borrowing the glass surface. */
.navbar{border-radius:0;}
.card{border-radius:16px;}
.dropzone{border-radius:14px;}
.terminal{border-radius:10px;}
.inp{border-radius:10px;}
.btn-main{border-radius:12px;}
.tag{border-radius:999px;}
.dom-status{border-radius:10px;}
.pill{border-radius:999px;}

/* Navbar — slightly stronger glass than the content cards. */
.navbar{
  background:var(--nav-bg);
  border-color:var(--card-bd);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    var(--shadow-nav);
}

/* Cards — readable over the bright center of the supplied artwork. */
.card{
  background:var(--card-bg);
  border:1px solid var(--card-bd);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 var(--glass-lo),
    var(--shadow-card);
  border-radius:20px;
}

/* Dropzone — lighter and more transparent so the background still reads. */
.dropzone{
  background:var(--soft-bg);
  border-color:var(--card-bd);
}
.dropzone:hover,.dropzone.over{
  background:var(--soft-bg-hi);
  border-color:var(--purple);
}

/* Terminal — intentionally darker for reliable log contrast. */
.terminal{
  background:var(--terminal-bg);
  border-color:var(--card-bd);
}

/* Inputs — glass, but with enough opacity for text and caret clarity. */
.inp{
  background:var(--input-bg);
  border-color:var(--card-bd);
}
.inp:focus{
  border-color:var(--purple);
}

/* Tags / badges. */
.tag,
.hero-tag,
.dz-tags span{
}
.tag{
  background:var(--tag-bg);
  border-color:var(--card-bd);
}

/* Primary action keeps its original gradient; only the glass treatment
   and top highlight are added. */
.btn-main{
  background:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)),linear-gradient(135deg,var(--purple),var(--pink));
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 26px rgba(0,0,0,.25);
}
.btn-main:hover:not(:disabled){
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 28px rgba(0,0,0,.3);
}

/* Secondary controls and safety surfaces. */
.btn-sm{
  background:var(--btn-bg);
  border-color:var(--card-bd);
}
.btn-ghost{
  background:transparent;
  border-color:var(--card-bd);
}
.file-list{
  background:var(--file-bg);
  border-color:var(--card-bd);
}

/* Domain status / result row inherit the same readable glass language. */
.dom-status{
  background:var(--soft-bg);
  border-color:var(--card-bd);
}

/* Keep the original result markup intact while removing the retired
   repository destination from the visible UI. */
label[for="resRepo"],
#resRepo{
  display:none !important;
}
#resRepo + .btn-sm,
#resRepo + .btn-sm + .btn-sm{
  display:none !important;
}
#resRepo + .btn-sm,
#resRepo + .btn-sm + .btn-sm{
  pointer-events:none;
}
#resRepo{
  visibility:hidden;
}
#resRepo:focus{
  outline:none;
}
#resRepo{}

/* The result row containing the retired repo field is hidden as one unit. */
#resRepo{display:none!important;}
#resRepo + .btn-sm{display:none!important;}
#resRepo + .btn-sm + .btn-sm{display:none!important;}
label[for="resRepo"] + .res-row{display:none!important;}

.navbar,
.pill,
.card,
.dropzone,
.btn-sm,
.btn-main,
.btn-ghost,
.inp{
  transition:
    transform .2s cubic-bezier(.22,1,.36,1),
    opacity .2s cubic-bezier(.22,1,.36,1);
}
.pill:hover,
.card:hover,
.dropzone:hover,
.btn-sm:hover,
.btn-main:hover:not(:disabled){
  transform:translateY(-2px);
}
.btn-main:disabled{
  transform:none;
}
.dropzone.over{
  transform:translateY(-2px);
}

/* No animated width/height/box-shadow/backdrop-filter. */
.bar-fill{
  transition:none;
}

/* Avoid a global smooth scroll on a long tool page. */
html{
  scroll-behavior:auto;
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR KANAN: user pill, tombol tema, Info Terbaru
   ═══════════════════════════════════════════════════════════════ */
.navbar{position:sticky;top:0}
.nav-links{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.sr-only{
  position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* USER PILL */
.user-pill{
  display:inline-flex;align-items:center;gap:8px;
  min-height:36px;padding:3px 4px 3px 12px;border-radius:999px;
  background:var(--card-bg);border:1px solid var(--card-bd);
  box-shadow:inset 0 1px 0 var(--glass-hi);
  color:var(--text);font-size:12px;font-weight:500;min-width:0;
}
.user-dot{width:7px;height:7px;border-radius:50%;background:var(--purple);flex:none}
#userName{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#logoutBtn{
  position:relative;min-height:28px;padding:0 12px;border-radius:999px;cursor:pointer;
  background:var(--btn-bg);border:1px solid var(--card-bd);
  color:var(--text);font-family:inherit;font-size:11px;font-weight:600;
  transition:transform .2s cubic-bezier(.22,1,.36,1);
}
#logoutBtn::after{content:"";position:absolute;inset:-4px -2px}
#logoutBtn:hover{transform:translateY(-1px)}
#logoutBtn:active{transform:scale(.97)}

/* TOGGLE TEMA */
.theme-btn{
  width:36px;height:36px;border-radius:50%;flex:none;padding:0;cursor:pointer;
  background:var(--card-bg);border:1px solid var(--card-bd);
  display:grid;place-items:center;
  position:relative;overflow:hidden;
  color:var(--text);
  transition:transform .2s cubic-bezier(.22,1,.36,1);
}
.theme-btn:hover{transform:scale(1.06)}
.theme-btn:active{transform:scale(.96)}
.theme-btn .ic-sun,
.theme-btn .ic-moon{
  position:absolute;inset:0;margin:auto;width:18px;height:18px;
  transition:transform .2s cubic-bezier(.22,1,.36,1), opacity .2s;
  stroke:var(--text);stroke-width:2;fill:none;
  stroke-linecap:round;stroke-linejoin:round;
}
html[data-theme="dark"] .ic-sun  { transform:translateY(-28px); opacity:0; }
html[data-theme="dark"] .ic-moon { transform:translateY(0);     opacity:1; }
html[data-theme="light"] .ic-sun  { transform:translateY(0);     opacity:1; }
html[data-theme="light"] .ic-moon { transform:translateY(28px);  opacity:0; }

/* INFO TERBARU */
.info-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px 7px 8px;border-radius:999px;
  background:rgba(30,144,255,.1);border:1px solid rgba(30,144,255,.28);
  color:var(--text);font-size:12px;font-weight:600;letter-spacing:.2px;
  text-decoration:none;white-space:nowrap;
  transition:transform .18s ease;
}
.info-btn:hover{transform:translateY(-1px);background:rgba(30,144,255,.18);border-color:rgba(30,144,255,.45)}
.info-btn:active{transform:scale(.97)}
.info-spark{
  width:20px;height:20px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--purple),var(--pink));flex-shrink:0;
}
.info-spark svg{width:11px;height:11px;stroke:#fff;stroke-width:2.4}
.info-arrow{display:inline-flex;width:12px;height:12px;opacity:.6;transition:transform .18s ease,opacity .18s ease}
.info-arrow svg{width:100%;height:100%}
.info-btn:hover .info-arrow{transform:translate(1px,-1px);opacity:1}

/* RESPONSIVE NAVBAR */
@media (max-width:480px){
  .navbar{padding:10px 12px}
  .brand{gap:8px}
  .brand-name{font-size:13px;letter-spacing:0}
  .nav-links{gap:6px}
  .info-btn{padding:8px;gap:0}
  .info-arrow{display:none}
  .info-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .user-pill{padding:3px 4px 3px 10px}
}
@media (max-width:360px){
  .brand-text{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* Teks tanpa card: dibuat lebih kuat supaya terbaca di atas wallpaper di kedua mode */
.hero p,.hero-tag,.foot-sub{color:var(--sub)}

/* ═══ IKON INLINE ═══ */
.ico{width:18px;height:18px;flex:none;color:var(--purple)}
.ico-sm{width:14px;height:14px;vertical-align:-2px;margin-right:2px}
.ico-xl{width:40px;height:40px}

/* ═══ CARA PAKAI ═══ */
.how-to{padding:22px 18px}
.how-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.how-icon,.stat-icon,.hist-icon{
  width:40px;height:40px;border-radius:12px;flex:none;
  background:linear-gradient(135deg,var(--purple),var(--pink));
  display:grid;place-items:center;
}
.how-icon svg,.stat-icon svg,.hist-icon svg{width:20px;height:20px;stroke:#fff}
.how-title{font-size:15px;font-weight:700;margin:0}
.how-sub{font-size:12px;color:var(--dim);margin:2px 0 0}
.how-steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.step{display:flex;gap:12px;align-items:flex-start}
.step-num{font-family:'Poppins',sans-serif;font-size:13px;font-weight:700;color:var(--purple);width:26px;flex-shrink:0;line-height:1.4}
.step-title{display:block;font-size:13px;font-weight:600;margin-bottom:2px}
.step-desc{display:block;font-size:12px;color:var(--dim);line-height:1.5}
.how-note{margin-top:16px;padding:10px 12px;border-radius:10px;background:var(--accent-soft);border-left:3px solid var(--purple);font-size:12px;line-height:1.55}

/* ═══ TOTAL DOMAIN ═══ */
.stat-card{padding:22px 18px}
.stat-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.stat-title{font-size:14px;font-weight:600}
.stat-sub{font-size:11.5px;color:var(--dim);margin-top:2px}
.stat-live{margin-left:auto;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;background:var(--accent-soft);color:var(--ok);font-size:10px;font-weight:700;letter-spacing:.5px}
.live-dot{width:6px;height:6px;border-radius:50%;background:var(--ok)}
.stat-num{
  font-family:'Poppins',sans-serif;font-size:42px;font-weight:800;line-height:1.1;margin-bottom:14px;
  background:linear-gradient(135deg,var(--g1),var(--g2),var(--g3));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.stat-latest{display:flex;flex-wrap:wrap;gap:6px}
.latest-item{font-size:11px;padding:4px 10px;border-radius:999px;background:var(--accent-soft);border:1px solid var(--accent-bd);color:var(--text);text-decoration:none}
.latest-item:hover{background:var(--btn-bg-hi)}

/* ═══ RIWAYAT ═══ */
.history-card{padding:22px 18px}
.hist-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.hist-title{font-size:15px;font-weight:700}
.hist-sub{font-size:12px;color:var(--dim);margin-top:2px}
.hist-list{display:flex;flex-direction:column;gap:8px}
.hist-item{display:flex;gap:12px;align-items:center;padding:12px 14px;background:var(--soft-bg);border:1px solid var(--card-bd);border-radius:12px}
.hist-num-old{width:32px;height:32px;border-radius:10px;background:var(--accent-soft);display:grid;place-items:center;font-family:'Poppins',sans-serif;font-size:12px;font-weight:700;color:var(--purple);flex-shrink:0}
.hist-body{flex:1;min-width:0}
.hist-name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hist-meta{font-size:11px;color:var(--dim);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hist-link{font-size:11px;color:var(--cyan);text-decoration:none;flex:none}
.hist-empty{font-size:13px;color:var(--dim);padding:14px 4px}

/* ═══ LAPORAN ═══ */
.rep-wrap{padding:8px 2px 16px}
.rep-kicker{font-size:14px;color:var(--cyan);margin-bottom:8px}
.rep-title{font-size:34px;font-weight:700;line-height:1.15;margin-bottom:8px}
.rep-accent{color:var(--cyan)}
.rep-sub{font-size:14px;color:var(--sub);margin-bottom:22px}
.rep-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--dim);margin:16px 0 6px}
.rep-label svg{width:14px;height:14px;stroke:var(--cyan)}
.rep-input,.rep-select,.rep-textarea{
  width:100%;padding:13px 14px;border-radius:12px;
  background:var(--input-bg);border:1px solid var(--card-bd);
  color:var(--text);font:inherit;font-size:16px;
}
.rep-input::placeholder,.rep-textarea::placeholder{color:var(--placeholder)}
.rep-input:focus,.rep-select:focus,.rep-textarea:focus{outline:none;border-color:var(--cyan)}
.rep-textarea{min-height:120px;resize:vertical}
.rep-btn{
  width:100%;margin-top:22px;padding:15px;border:none;border-radius:12px;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  color:#fff;font:inherit;font-weight:600;font-size:15px;cursor:pointer;
  transition:opacity .15s ease;
}
.rep-btn:hover{opacity:.92}
.rep-msg{margin-top:14px;padding:10px 12px;border-radius:10px;background:var(--input-bg);border-left:3px solid var(--dim);font-size:13px}
.rep-msg.err{border-left-color:var(--err)}
.rep-msg.ok{border-left-color:var(--ok)}
.rep-msg[hidden]{display:none}

/* ═══ BOTTOM NAV ═══ */
.bottom-nav{
  position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));
  max-width:520px;margin:0 auto;z-index:30;
  display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px;
  border-radius:22px;background:var(--nav-bg);border:1px solid var(--card-bd);
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.nav-item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  min-height:52px;border:0;border-radius:16px;background:transparent;color:var(--dim);
  font:inherit;font-size:11px;font-weight:500;cursor:pointer;
}
.nav-item svg{width:20px;height:20px}
.nav-item:active{transform:scale(.97)}
.nav-item.on{background:var(--accent-soft);color:var(--cyan)}
.view[hidden]{display:none}

/* ═══════════ UI v3 — mengikuti desain acuan ═══════════ */
.btn-main,.auth-btn,.auth-tab.on,.how-icon,.stat-icon,.hist-icon,.info-spark,.brand-avatar{
  background-image:none;
}
.btn-main,.auth-btn,.auth-tab.on{background:linear-gradient(135deg,var(--purple),var(--pink))}
.how-icon,.info-spark{background:linear-gradient(135deg,var(--purple),var(--pink))}
.brand-avatar{background:var(--soft-bg)}

.navbar{
  position:sticky;top:10px;z-index:20;
  width:calc(100% - 24px);max-width:976px;margin:10px auto 0;padding:12px 14px 12px 16px;
  border:1px solid var(--card-bd);border-radius:28px;background:var(--nav-bg);
}
.brand{gap:12px}
.brand-name{font-size:19px;font-weight:600;letter-spacing:.5px;line-height:1.05}
.brand-sub{font-size:14px;font-weight:500;letter-spacing:3px;color:var(--dim);margin-top:2px}
.nav-links{gap:8px}
.net-pill{
  display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;
  background:var(--soft-bg);border:1px solid var(--card-bd);
  font-size:12.5px;font-weight:600;letter-spacing:.4px;white-space:nowrap;font-variant-numeric:tabular-nums;
}
.net-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);flex:none}
.net-sep{color:var(--dim)}
.net-pill.off .net-dot{background:var(--err)}

.wrap{max-width:1000px;margin:0 auto;padding:18px 16px 8px}
.act-row{display:flex;justify-content:flex-end;margin-bottom:2px}
.page-kicker{font-size:14px;font-weight:500;color:var(--purple);margin:14px 0 8px}
.page-title{font-size:clamp(28px,7.4vw,42px);font-weight:700;line-height:1.14;margin-bottom:12px}
.accent{color:var(--purple)}
.page-sub{font-size:14px;line-height:1.6;color:var(--sub);margin-bottom:22px;max-width:620px}

.card,.glass{border-radius:26px}
.card{padding:20px}
.inp,.dom-status{border-radius:16px}
.btn-sm,.btn-ghost,.btn-main{border-radius:16px}
.tag{border-radius:999px}

.status-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 20px;margin-bottom:12px}
.sc-label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--dim)}
.sc-label .stat-live{margin-left:0}
.sc-big{font-size:36px;font-weight:700;line-height:1.1;margin:8px 0 4px}
.sc-sub{font-size:13px;color:var(--dim)}
.ring{position:relative;width:118px;height:118px;flex:none}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring-bg,.ring-fg{fill:none;stroke-width:7}
.ring-bg{stroke:var(--line)}
.ring-fg{stroke:var(--ok);stroke-linecap:round;stroke-dasharray:94 6}
.ring-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring-in b{font-size:28px;font-weight:700;line-height:1.1}
.ring-in span{font-size:12px;color:var(--dim)}

.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.tile{padding:16px 18px;margin:0;min-width:0}
.tile-h{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500}
.tile-h svg{width:20px;height:20px;color:var(--purple);flex:none}
.tile-v{font-size:34px;font-weight:700;line-height:1.1;margin-top:12px}
.tile-v small{font-size:16px;font-weight:500;color:var(--dim)}
.tile-v.sm{font-size:17px;font-weight:600;margin-top:16px}
.tile-s{font-size:13px;color:var(--dim);margin-top:5px}

.how-title,.stat-title{font-weight:600}
.step-num{color:var(--purple)}

/* riwayat */
.hist-list{display:flex;flex-direction:column;gap:10px}
.hist-item{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:20px;background:var(--soft-bg);border:1px solid var(--card-bd);color:var(--text);text-decoration:none}
.hist-dot{width:10px;height:10px;border-radius:50%;background:var(--ok);flex:none}
.hist-body{flex:1;min-width:0}
.hist-name{font-size:16px;font-weight:600}
.hist-meta{font-size:12.5px}
.hist-pill{flex:none;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;background:var(--tag-bg);border:1px solid var(--card-bd);color:var(--ok)}

/* laporan */
.rep-wrap{padding:0 0 16px}
.rep-label svg{stroke:var(--purple)}
.rep-input:focus,.rep-select:focus,.rep-textarea:focus{border-color:var(--purple)}
.rep-input,.rep-select,.rep-textarea{border-radius:18px}
.rep-btn{border-radius:18px;background:linear-gradient(135deg,var(--purple),var(--pink))}

/* bottom nav 4 item */
.bottom-nav{grid-template-columns:repeat(4,1fr);border-radius:28px;padding:8px;gap:2px;max-width:560px}
.nav-item{border-radius:20px;font-size:12px;min-height:56px}
.nav-item.on{background:var(--soft-bg-hi);color:var(--purple)}

@media (max-width:480px){
  .net-txt,.net-sep{display:none}
  .net-pill{padding:9px 11px}
  .brand-name{font-size:17px}
  .brand-sub{font-size:12px;letter-spacing:2.5px}
  .ring{width:104px;height:104px}
  .sc-big{font-size:32px}
}

.stat-live[hidden]{display:none}

/* ═══ Ukuran lebih ringkas ═══ */
.navbar{padding:8px 10px 8px 12px;border-radius:24px;top:8px;margin-top:8px}
.brand{gap:10px}
.brand-avatar{width:34px;height:34px}
.brand-name{font-size:15px}
.brand-sub{font-size:11px;letter-spacing:2.5px}
.nav-links{gap:6px}
.net-pill{padding:7px 11px;font-size:11.5px}
.info-btn{padding:5px 10px 5px 5px;font-size:11.5px}
.info-spark{width:22px;height:22px}
.theme-btn{width:32px;height:32px}
.wrap{padding:12px 14px 8px}
.page-kicker{font-size:13px;margin:10px 0 6px}
.page-title{font-size:clamp(22px,6vw,32px);margin-bottom:8px}
.page-sub{font-size:13px;margin-bottom:16px}
.card{border-radius:22px;padding:16px}
.glass{border-radius:22px}
.card-head h2{font-size:14px}
.user-pill{min-height:30px;font-size:11px}
.status-card{padding:16px;margin-bottom:10px}
.sc-label{font-size:12.5px}
.sc-big{font-size:28px;margin:6px 0 2px}
.sc-sub{font-size:12px}
.ring{width:92px;height:92px}
.ring-fg,.ring-bg{stroke-width:8}
.ring-in b{font-size:24px}
.ring-in span{font-size:11px}
.tiles{gap:10px;margin-bottom:10px}
.tile{padding:12px 14px}
.tile-h{font-size:13px;gap:6px}
.tile-h svg{width:17px;height:17px}
.tile-v{font-size:26px;margin-top:8px}
.tile-v small{font-size:13px}
.tile-v.sm{font-size:14px;margin-top:11px}
.tile-s{font-size:12px;margin-top:3px}
.how-to{padding:16px}
.how-title{font-size:14px}
.how-icon,.stat-icon,.hist-icon{width:34px;height:34px;border-radius:10px}
.how-icon svg{width:17px;height:17px}
.step-title{font-size:12.5px}
.step-desc,.how-note{font-size:11.5px}
.hist-item{padding:11px 14px;border-radius:18px}
.hist-name{font-size:14px}
.hist-meta{font-size:11.5px}
.hist-pill{font-size:12px;padding:4px 11px}
.rep-label{margin:12px 0 5px}
.rep-input,.rep-select,.rep-textarea{padding:11px 13px;border-radius:16px}
.rep-textarea{min-height:100px}
.rep-btn{padding:13px;font-size:14px;margin-top:18px}
.bottom-nav{left:10px;right:10px;padding:6px;border-radius:24px;bottom:calc(8px + env(safe-area-inset-bottom))}
.nav-item{min-height:48px;font-size:11px;gap:2px;border-radius:18px}
.nav-item svg{width:18px;height:18px}
.footer{padding-bottom:92px}
@media (max-width:480px){
  .brand-name{font-size:14px}
  .brand-sub{font-size:10px}
  .ring{width:84px;height:84px}
  .sc-big{font-size:26px}
}
