/* ============================================================
   JIMY PANEL  |  tema gelap-merah
   ============================================================ */
:root {
  --bg: #060608;
  --bg2: #0b0b10;
  --card: #111116;
  --card2: #16161d;
  --line: rgba(255, 255, 255, .075);
  --line2: rgba(255, 255, 255, .13);
  --red: #ff2d46;
  --red2: #d4112a;
  --red-soft: rgba(255, 45, 70, .12);
  --red-line: rgba(255, 45, 70, .55);
  --glow: 0 8px 30px rgba(255, 30, 60, .28);
  --text: #f5f5f8;
  --muted: #9b9bab;
  --dim: #6b6b7a;
  --green: #2ee27b;
  --amber: #ffb020;
  --blue: #4aa3ff;
  --purple: #a678ff;
  --gold: #ffb23e;
  --radius: 16px;
  --sidebar: 268px;
  --tab-h: 66px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Exo 2', 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 14px; line-height: 1.45; min-height: 100vh; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 30, 60, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 105%, rgba(160, 10, 40, .14), transparent 60%),
    linear-gradient(180deg, #08080b, #050507);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .012) 46px 47px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.125em; }
::selection { background: rgba(255, 45, 70, .45); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #26262f; border-radius: 8px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.red { color: var(--red); }
.hide { display: none !important; }
.desk-only { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo .crown { width: 1.05em; height: .75em; margin-bottom: -.05em; filter: drop-shadow(0 0 10px rgba(255, 45, 70, .55)); }
.logo b { font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: .02em; color: #f2f3f7; text-shadow: 0 2px 0 rgba(0, 0, 0, .5), 0 0 24px rgba(255, 255, 255, .12); }
.logo small { font-family: var(--display); font-weight: 800; letter-spacing: .5em; color: var(--red); margin-top: .22em; padding-left: .5em; text-shadow: 0 0 14px rgba(255, 45, 70, .6); }
.logo.row { flex-direction: row; gap: 10px; align-items: center; }
.logo.row .txt { display: flex; flex-direction: column; align-items: flex-start; }
.logo.row .crown { margin: 0; width: 34px; height: 26px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 13px; font-weight: 700; font-size: 14.5px; letter-spacing: .01em; transition: transform .15s, box-shadow .2s, filter .2s, background .2s, border-color .2s; user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.975); }
.btn[disabled] { opacity: .45; pointer-events: none; filter: grayscale(.5); }
.btn.primary { background: linear-gradient(180deg, #ff3b54, #d4112a); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { filter: brightness(1.1); box-shadow: 0 10px 38px rgba(255, 30, 60, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.ghost { background: rgba(255, 255, 255, .045); border: 1px solid var(--line2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.btn.outline { border: 1px solid var(--red-line); color: #ff8393; background: var(--red-soft); }
.btn.outline:hover { background: rgba(255, 45, 70, .2); }
.btn.danger { background: rgba(255, 45, 70, .1); border: 1px solid var(--red-line); color: #ff7385; }
.btn.danger:hover { background: rgba(255, 45, 70, .22); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- card ---------- */
.card {
  background: linear-gradient(180deg, rgba(24, 24, 31, .86), rgba(14, 14, 19, .86));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative;
  backdrop-filter: blur(8px);
}
.card.red { border-color: var(--red-line); box-shadow: inset 0 0 0 1px rgba(255, 45, 70, .1), 0 10px 34px rgba(255, 20, 50, .1); }
.card.pad0 { padding: 0; overflow: hidden; }
.card.link { transition: transform .18s, border-color .2s, box-shadow .2s; cursor: pointer; }
.card.link:hover { transform: translateY(-2px); border-color: var(--red-line); box-shadow: 0 12px 34px rgba(255, 20, 50, .14); }
.card.link:active { transform: scale(.985); }
.sec-title { display: flex; align-items: center; justify-content: space-between; margin: 20px 2px 10px; }
.sec-title h3 { font-size: 15px; font-weight: 700; }
.sec-title a, .sec-title button { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sec-title a:hover, .sec-title button:hover { color: var(--red); }

/* ---------- form ---------- */
.field { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 13px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s, background .2s; }
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 45, 70, .16); background: rgba(255, 255, 255, .05); }
.field > .i { font-size: 19px; color: var(--muted); }
.field:focus-within > .i { color: var(--red); }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; }
.field input::placeholder { color: #6c6c7b; }
.field .eye { color: var(--muted); font-size: 19px; padding: 6px; margin-right: -6px; }
.field.err { border-color: var(--red); }
.label { font-size: 13px; font-weight: 600; margin: 16px 2px 8px; display: flex; justify-content: space-between; }
.label small { color: var(--dim); font-weight: 500; }
.hint { font-size: 12px; color: var(--muted); margin: 6px 2px 0; min-height: 17px; }
.hint.bad { color: #ff7385; }
.hint.good { color: var(--green); }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; user-select: none; }
.check input { display: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line2); display: grid; place-items: center; transition: .15s; background: rgba(255, 255, 255, .03); }
.check .box .i { font-size: 13px; opacity: 0; transform: scale(.5); transition: .15s; }
.check input:checked + .box { background: var(--red); border-color: var(--red); box-shadow: 0 0 12px rgba(255, 45, 70, .5); }
.check input:checked + .box .i { opacity: 1; transform: none; }

/* ---------- pill / badge ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; }
.pill.role { background: var(--red-soft); border-color: var(--red-line); color: #ff7e8f; }
.pill.role .i { font-size: 12px; }
.pill.on { background: rgba(46, 226, 123, .12); border-color: rgba(46, 226, 123, .45); color: var(--green); }
.pill.off { background: rgba(255, 45, 70, .12); border-color: rgba(255, 45, 70, .5); color: #ff7385; }
.pill.warn { background: rgba(255, 176, 32, .12); border-color: rgba(255, 176, 32, .45); color: var(--amber); }
.pill.mute { background: rgba(255, 255, 255, .06); border-color: var(--line2); color: var(--muted); }
.pill.blue { background: rgba(74, 163, 255, .12); border-color: rgba(74, 163, 255, .45); color: var(--blue); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pill.on .dot, .pill.warn .dot { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.verified { color: #4aa3ff; font-size: 16px; vertical-align: -.2em; margin-left: 4px; }

/* ---------- bar / ring ---------- */
.bar { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #ff5167, #ff2d46); box-shadow: 0 0 10px rgba(255, 45, 70, .6); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bar.green > i { background: linear-gradient(90deg, #5cf0a0, #1fc468); box-shadow: 0 0 10px rgba(46, 226, 123, .5); }
.bar.blue > i { background: linear-gradient(90deg, #6bb8ff, #3b8cf0); box-shadow: 0 0 10px rgba(74, 163, 255, .5); }
.bar.amber > i { background: linear-gradient(90deg, #ffc65c, #ff9a1f); box-shadow: 0 0 10px rgba(255, 176, 32, .5); }
.ring { --p: 100; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #101015; }
.ring .i { position: relative; font-size: 24px; color: var(--green); }

/* ============================================================
   LAYOUT
   ============================================================ */
.shell { min-height: 100vh; }
.sidebar { display: none; }
.main { padding: 0 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 62px; margin: 0 -16px; padding: 0 16px; background: linear-gradient(180deg, rgba(6, 6, 8, .94) 60%, rgba(6, 6, 8, 0)); backdrop-filter: blur(10px); }
.topbar .ttl { flex: 1; min-width: 0; }
.topbar .ttl h1 { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); letter-spacing: .01em; }
.topbar .ttl p { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); position: relative; transition: .15s; flex: none; }
.icon-btn:hover { background: rgba(255, 255, 255, .09); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .badge { position: absolute; top: 7px; right: 8px; min-width: 9px; height: 9px; border-radius: 9px; background: var(--red); box-shadow: 0 0 10px var(--red); border: 2px solid #0b0b10; box-sizing: content-box; }
.view { animation: viewIn .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: flex; justify-content: center; background: rgba(8, 8, 11, .92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar nav { display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; max-width: 560px; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--dim); position: relative; transition: color .2s; }
.tab .i { font-size: 22px; transition: transform .2s; }
.tab.on { color: var(--red); }
.tab.on .i { transform: translateY(-1px) scale(1.08); filter: drop-shadow(0 0 8px rgba(255, 45, 70, .7)); }
.tab.on::before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; border-radius: 0 0 4px 4px; background: var(--red); box-shadow: 0 0 14px 2px rgba(255, 45, 70, .7); }

/* drawer (menu hamburger) */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 61; top: 0; bottom: 0; left: 0; width: min(84vw, 320px); background: linear-gradient(180deg, #101015, #09090c); border-right: 1px solid var(--line2); transform: translateX(-102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; }
.drawer.on { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
.drawer .x { position: absolute; top: 14px; right: 14px; }

.usercard { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin: 16px 0 12px; }
.usercard b { display: block; font-size: 14.5px; }
.usercard span { font-size: 12px; color: var(--muted); }
.navlist { display: flex; flex-direction: column; gap: 3px; }
.navitem { display: flex; align-items: center; gap: 13px; height: 46px; padding: 0 14px; border-radius: 12px; font-weight: 600; color: #c9c9d4; transition: .15s; font-size: 14.5px; }
.navitem .i { font-size: 19px; color: var(--muted); }
.navitem:hover { background: rgba(255, 255, 255, .05); }
.navitem.on { background: linear-gradient(90deg, rgba(255, 45, 70, .9), rgba(200, 14, 38, .85)); color: #fff; box-shadow: var(--glow); }
.navitem.on .i { color: #fff; }
.navitem.logout { color: #ff6b7d; margin-top: 8px; }
.navitem.logout .i { color: #ff6b7d; }
.navsep { height: 1px; background: var(--line); margin: 10px 4px; }
.ver { font-size: 11px; color: var(--dim); margin-top: auto; padding: 18px 6px 0; line-height: 1.5; }

/* avatar */
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 20px; color: #fff; flex: none; position: relative; background: radial-gradient(circle at 30% 25%, #ff6a7c, #b50f25 60%, #3d0510); border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 0 0 2px rgba(255, 45, 70, .5), 0 8px 22px rgba(255, 30, 60, .35); }
.avatar.lg { width: 92px; height: 92px; font-size: 38px; border-width: 3px; }
.avatar.sm { width: 38px; height: 38px; font-size: 16px; }

/* ============================================================
   LOGIN
   ============================================================ */
.login { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.login .hero { position: relative; height: 41vh; min-height: 290px; max-height: 420px; flex: none; }
.login .hero::before { content: ''; position: absolute; inset: 0; background: url(../img/hero.jpg) center 22%/cover no-repeat; filter: saturate(1.15) contrast(1.05) blur(.6px); opacity: .85; }
.login .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 8, .25) 0%, rgba(6, 6, 8, .1) 35%, rgba(6, 6, 8, .85) 80%, #060608 100%), radial-gradient(circle at 80% 20%, rgba(255, 30, 60, .35), transparent 50%); }
.slashes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.slashes i { position: absolute; top: -20%; height: 150%; width: 22px; background: linear-gradient(180deg, transparent, rgba(255, 45, 70, .75), transparent); transform: rotate(18deg); filter: blur(.4px); animation: slash 6s ease-in-out infinite; opacity: .7; }
.slashes i:nth-child(1) { left: 66%; width: 46px; }
.slashes i:nth-child(2) { left: 78%; animation-delay: -2s; width: 14px; }
.slashes i:nth-child(3) { left: 90%; animation-delay: -4s; width: 30px; }
@keyframes slash { 50% { opacity: .25; transform: rotate(18deg) translateY(6%); } }
.login .brand { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; text-align: center; font-size: 58px; }
.login .brand .tag { font-size: 13px; font-weight: 600; color: #e8e8ef; margin-top: 12px; letter-spacing: .02em; text-shadow: 0 2px 10px #000; font-family: var(--font); }
.login .formwrap { position: relative; z-index: 2; width: 100%; max-width: 440px; margin: 0 auto; padding: 14px 22px 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.login .row2 { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 4px; }
.login .row2 a, .login .row2 button.lnk { color: var(--red); font-weight: 600; font-size: 13px; }
.login .or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; }
.login .or::before, .login .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login .foot { text-align: center; color: var(--dim); font-size: 11.5px; line-height: 1.6; margin-top: auto; padding-top: 10px; }
.login .foot b { color: var(--muted); }
.login .help { text-align: center; font-size: 12.5px; color: var(--muted); }
.login .help a { color: var(--red); font-weight: 700; }
.btn.tg { background: rgba(255, 255, 255, .045); border: 1px solid var(--line2); gap: 10px; }
.btn.tg svg { width: 24px; height: 24px; }
.formerr { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 45, 70, .1); border: 1px solid var(--red-line); color: #ff8e9c; font-size: 13px; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
#fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }

/* ============================================================
   BERANDA
   ============================================================ */
.hello { display: flex; align-items: center; gap: 14px; padding: 14px; }
.hello h2 { font-size: 17px; font-weight: 800; font-family: var(--display); }
.hello p { font-size: 12.5px; color: var(--muted); margin: 2px 0 7px; }
.quota { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 12px; border-color: rgba(46, 226, 123, .35); background: linear-gradient(90deg, rgba(46, 226, 123, .09), rgba(14, 14, 19, .86) 55%); }
.quota .mid { flex: 1; min-width: 0; }
.quota small { color: var(--muted); font-size: 12px; }
.quota b { display: block; font-size: 16px; font-weight: 800; font-family: var(--display); }
.quota .cd { text-align: right; }
.quota .cd b { font-size: 17px; }
.quota.lim { border-color: rgba(255, 176, 32, .4); background: linear-gradient(90deg, rgba(255, 176, 32, .09), rgba(14, 14, 19, .86) 55%); }
.quota.lim .ring { background: conic-gradient(var(--amber) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.quota.lim .ring .i { color: var(--amber); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat { padding: 12px 8px; text-align: center; }
.stat .k { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.stat .k .i { font-size: 14px; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; margin-top: 4px; }
.stat.on .k { color: var(--green); } .stat.off .k { color: #ff6b7d; } .stat.all .k { color: var(--blue); }
.cta { margin-top: 14px; min-height: 52px; font-size: 16px; }
.rolecard { display: flex; align-items: center; gap: 14px; padding: 14px; }
.rolecard .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; flex: none; background: linear-gradient(145deg, rgba(255, 45, 70, .3), rgba(255, 45, 70, .08)); border: 1px solid var(--red-line); color: #ff7385; }
.rolecard h4 { font-size: 16px; font-weight: 800; font-family: var(--display); }
.rolecard p { font-size: 12px; color: var(--muted); }
.rolecard .go { margin-left: auto; }
.upcard { display: flex; align-items: center; gap: 14px; padding: 16px; margin-top: 10px; overflow: hidden; background: linear-gradient(100deg, rgba(255, 45, 70, .22), rgba(255, 45, 70, .05) 60%, rgba(14, 14, 19, .9)); border-color: var(--red-line); }
.upcard::after { content: ''; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(255, 45, 70, .4), transparent 65%); pointer-events: none; }
.upcard .ic { font-size: 34px; color: #ff6a7c; filter: drop-shadow(0 0 12px rgba(255, 45, 70, .7)); }
.upcard h4 { font-size: 16px; font-weight: 800; color: #ff5b70; font-family: var(--display); }
.upcard p { font-size: 12px; color: var(--muted); }
.upcard .arrow { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: var(--glow); font-size: 18px; position: relative; z-index: 1; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; margin-top: 12px; font-size: 13px; background: rgba(74, 163, 255, .09); border: 1px solid rgba(74, 163, 255, .4); color: #a9d1ff; }
.banner .i { font-size: 18px; margin-top: 1px; }
.banner.warn { background: rgba(255, 176, 32, .09); border-color: rgba(255, 176, 32, .4); color: #ffd48a; }
.banner.green { background: rgba(46, 226, 123, .08); border-color: rgba(46, 226, 123, .4); color: #9af0c0; }
.banner.red { background: rgba(255, 45, 70, .09); border-color: var(--red-line); color: #ff9ba8; }
.banner b { color: #fff; }

/* server mini + card */
.sv { display: flex; gap: 12px; padding: 12px; }
.sv .ic, .ico-tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; flex: none; color: #fff; position: relative; overflow: hidden; }
.sv .ic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .25), transparent 50%); }
.t0 { background: linear-gradient(135deg, #ff4f6a, #7c1fff); } .t1 { background: linear-gradient(135deg, #ff9a3d, #ff2d46); } .t2 { background: linear-gradient(135deg, #3bd6c6, #3b7cff); }
.t3 { background: linear-gradient(135deg, #a678ff, #ff4fb0); } .t4 { background: linear-gradient(135deg, #4aa3ff, #2ee27b); } .t5 { background: linear-gradient(135deg, #ffb23e, #ff5a36); }
.sv .body { flex: 1; min-width: 0; }
.sv .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sv .top b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.sv .meta .m { display: flex; flex-direction: column; gap: 4px; }
.sv .meta .m > div { display: flex; justify-content: space-between; }
.sv .meta .m b { color: #dcdce6; font-weight: 700; font-size: 11.5px; }
.sv .sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; }
.sv .sub span { display: inline-flex; align-items: center; gap: 4px; }
.sv-grid { display: flex; flex-direction: column; gap: 10px; }
.svx { padding: 14px; }
.svx .head { display: flex; gap: 12px; align-items: center; }
.svx .head .ico-tile { width: 48px; height: 48px; }
.svx .gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.gauge { font-size: 11px; color: var(--muted); }
.gauge > div { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; }
.gauge b { color: #fff; }
.tools { display: flex; gap: 8px; margin: 12px 0 4px; }
.search { flex: 1; }
.search.field { height: 44px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line2); background: rgba(255, 255, 255, .035); white-space: nowrap; transition: .15s; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { color: #fff; background: var(--red-soft); border-color: var(--red-line); }

/* ============================================================
   CREATE
   ============================================================ */
.info { display: flex; gap: 12px; align-items: center; padding: 11px 14px; margin-top: 10px; border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 176, 32, .38); font-size: 12.5px; }
.info .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 176, 32, .15); color: var(--amber); font-size: 15px; flex: none; }
.info b { display: block; color: var(--amber); font-size: 12.5px; }
.info.teal { border-color: rgba(46, 226, 123, .38); } .info.teal .ic { background: rgba(46, 226, 123, .15); color: var(--green); } .info.teal b { color: var(--green); }
.pkgs { display: flex; flex-direction: column; gap: 10px; }
.pkg { text-align: left; width: 100%; display: flex; gap: 13px; align-items: center; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); transition: .18s; position: relative; }
.pkg:hover { border-color: rgba(255, 255, 255, .25); }
.pkg .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .06); color: #cfcfda; flex: none; }
.pkg .b { flex: 1; min-width: 0; }
.pkg .b b { font-size: 15px; font-weight: 800; font-family: var(--display); display: block; }
.pkg .b span { font-size: 11.5px; color: var(--muted); }
.pkg .pr { font-size: 12.5px; font-weight: 700; color: var(--green); text-align: right; }
.pkg .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; transition: .15s; }
.pkg .radio .i { font-size: 13px; opacity: 0; }
.pkg.on { border-color: var(--red); background: linear-gradient(90deg, rgba(255, 45, 70, .15), rgba(255, 45, 70, .04)); box-shadow: 0 0 0 1px rgba(255, 45, 70, .35), 0 8px 26px rgba(255, 30, 60, .15); }
.pkg.on .ic { background: rgba(255, 45, 70, .25); color: #ff7385; }
.pkg.on .radio { background: var(--red); border-color: var(--red); box-shadow: 0 0 12px rgba(255, 45, 70, .6); }
.pkg.on .radio .i { opacity: 1; }
.pkg.lock { opacity: .55; }
.pkg.lock .pr { color: var(--dim); font-size: 11.5px; max-width: 120px; }
.pkg.lock .radio { border-style: dashed; }
.morebtn { width: 100%; text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 10px; border-radius: 12px; border: 1px dashed var(--line2); }
.morebtn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.steps { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.stepi { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13.5px; font-weight: 600; transition: color .3s; }
.stepi .d { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; font-size: 13px; transition: .3s; }
.stepi.act { color: #fff; } .stepi.act .d { border-color: var(--red); border-top-color: transparent; animation: spin .8s linear infinite; }
.stepi.done { color: var(--green); } .stepi.done .d { background: var(--green); border-color: var(--green); color: #04210f; animation: none; }
.cred { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.cred .r { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.cred .r small { display: block; font-size: 11px; color: var(--muted); }
.cred .r code { font-family: var(--mono); font-size: 13.5px; word-break: break-all; color: #fff; }
.cred .r > div { flex: 1; min-width: 0; }

/* ============================================================
   UPGRADE / PAYMENT / ROLES
   ============================================================ */
.up-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.upc { padding: 14px 14px 14px; }
.upc.red { border-width: 1.5px; }
.upc .hd { display: flex; align-items: center; gap: 10px; }
.upc .hd .ic { font-size: 22px; }
.upc .hd b { font-size: 16px; font-weight: 800; font-family: var(--display); flex: 1; }
.upc .hd .price { font-weight: 800; font-family: var(--display); font-size: 15px; color: #fff; }
.upc .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; }
.upc ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #c4c4d0; }
.upc li { display: flex; gap: 8px; align-items: baseline; }
.upc li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); flex: none; transform: translateY(-1px); }
.upc.disabled { opacity: .62; }
.upc .why { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.c-unli .ic { color: #ffb23e; } .c-reseller .ic { color: #ff6a7c; } .c-partner .ic { color: var(--purple); } .c-admin .ic { color: var(--gold); } .c-member .ic { color: var(--blue); } .c-owner .ic { color: var(--gold); }
.pay-sum { display: flex; gap: 14px; align-items: center; padding: 16px; }
.pay-sum .ic { width: 52px; height: 52px; font-size: 28px; }
.pay-sum .price { font-family: var(--display); font-weight: 800; font-size: 26px; }
.methods { display: flex; flex-direction: column; gap: 9px; }
.method { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); width: 100%; text-align: left; transition: .15s; }
.method .mi { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; flex: none; }
.method b { flex: 1; font-size: 14.5px; }
.method .am { font-size: 13px; color: var(--muted); font-weight: 600; }
.method .tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; }
.method .tick .i { font-size: 12px; opacity: 0; }
.method.on { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 1px rgba(255, 45, 70, .3); }
.method.on .tick { background: var(--red); border-color: var(--red); } .method.on .tick .i { opacity: 1; }
.m-qris { background: linear-gradient(135deg, #3b3b4a, #15151c); } .m-gopay { background: linear-gradient(135deg, #00b3e6, #0073b3); } .m-dana { background: linear-gradient(135deg, #118eea, #0b5fb0); } .m-ovo { background: linear-gradient(135deg, #7e3bd1, #4c1d95); } .m-bank { background: linear-gradient(135deg, #5a6a85, #2b3447); }
.payinfo { margin-top: 12px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px dashed var(--line2); text-align: center; animation: viewIn .3s; }
.payinfo img { margin: 4px auto 10px; max-width: 250px; border-radius: 14px; background: #fff; padding: 6px; }
.payinfo .num { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: .04em; margin: 4px 0; display: flex; justify-content: center; align-items: center; gap: 10px; }
.drop { margin-top: 12px; border: 1.5px dashed var(--line2); border-radius: 14px; padding: 18px 14px; text-align: center; cursor: pointer; transition: .2s; background: rgba(255, 255, 255, .02); position: relative; overflow: hidden; }
.drop:hover, .drop.drag { border-color: var(--red); background: var(--red-soft); }
.drop .i { font-size: 26px; color: var(--red); }
.drop p { font-size: 13px; font-weight: 600; margin-top: 6px; }
.drop small { color: var(--muted); font-size: 11.5px; }
.drop img { max-height: 200px; margin: 0 auto; border-radius: 10px; }
.drop .rm { position: absolute; top: 8px; right: 8px; }
.role-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.rl { padding: 14px; border-width: 1.5px; }
.rl .hd { display: flex; align-items: center; gap: 12px; }
.rl .hd .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: rgba(255, 255, 255, .08); }
.rl .hd b { font-size: 16px; font-weight: 800; font-family: var(--display); flex: 1; }
.rl ul { list-style: none; padding: 0; margin: 10px 0 0 52px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #c8c8d4; }
.rl li::before { content: '·'; color: var(--muted); margin-right: 8px; font-weight: 900; }
.rl.member { border-color: rgba(74, 163, 255, .6); background: linear-gradient(90deg, rgba(74, 163, 255, .14), rgba(14, 14, 19, .86)); } .rl.member .ic { color: var(--blue); background: rgba(74, 163, 255, .18); }
.rl.reseller { border-color: rgba(255, 45, 70, .6); background: linear-gradient(90deg, rgba(255, 45, 70, .14), rgba(14, 14, 19, .86)); } .rl.reseller .ic { color: #ff6a7c; background: rgba(255, 45, 70, .18); }
.rl.partner { border-color: rgba(166, 120, 255, .6); background: linear-gradient(90deg, rgba(166, 120, 255, .14), rgba(14, 14, 19, .86)); } .rl.partner .ic { color: var(--purple); background: rgba(166, 120, 255, .18); }
.rl.admin { border-color: rgba(255, 178, 62, .6); background: linear-gradient(90deg, rgba(255, 178, 62, .14), rgba(14, 14, 19, .86)); } .rl.admin .ic { color: var(--gold); background: rgba(255, 178, 62, .18); }
.rl.owner { border-color: rgba(255, 178, 62, .6); background: linear-gradient(90deg, rgba(255, 220, 120, .12), rgba(14, 14, 19, .86)); } .rl.owner .ic { color: var(--gold); background: rgba(255, 178, 62, .18); }

/* ============================================================
   DETAIL SERVER
   ============================================================ */
.det { padding: 14px; }
.det .head { display: flex; gap: 13px; align-items: center; }
.det .head .ico-tile { width: 54px; height: 54px; font-size: 27px; }
.det .head h2 { font-family: var(--display); font-size: 20px; font-weight: 800; }
.det .head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); margin-top: 12px; font-size: 13px; }
.kv span { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.kv b { font-family: var(--mono); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.kv + .kv { margin-top: 8px; }
.copy { color: var(--muted); font-size: 16px; padding: 4px; border-radius: 8px; transition: .15s; }
.copy:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.meter { padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.meter .t { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.meter .n { font-family: var(--display); font-size: 19px; font-weight: 800; margin: 5px 0 7px; }
.meter .n small { display: block; white-space: nowrap; font-size: 10.5px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.log { display: flex; flex-direction: column; gap: 2px; }
.log .li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; font-size: 13px; border-bottom: 1px solid var(--line); }
.log .li:last-child { border: 0; }
.log .li .d { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(46, 226, 123, .15); color: var(--green); flex: none; }
.log .li .d.warn { background: rgba(255, 176, 32, .15); color: var(--amber); } .log .li .d.red { background: rgba(255, 45, 70, .15); color: #ff6b7d; }
.log .li span { flex: 1; }
.log .li small { color: var(--dim); font-size: 11.5px; white-space: nowrap; }
.term { background: #050507; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; margin-top: 12px; animation: viewIn .3s; }
.term .bar2 { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #0c0c11; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.term .bar2 .dots { display: flex; gap: 6px; } .term .bar2 .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2b2b34; }
.term .bar2 .dots i:first-child { background: #ff5f57; } .term .bar2 .dots i:nth-child(2) { background: #febc2e; } .term .bar2 .dots i:nth-child(3) { background: #28c840; }
.term .out { height: 280px; overflow-y: auto; padding: 10px 12px; font-family: var(--mono); font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-all; color: #d5d5de; }
.term .in { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-top: 1px solid var(--line); background: #0a0a0e; }
.term .in span { color: var(--red); font-family: var(--mono); font-weight: 700; }
.term .in input { flex: 1; height: 44px; background: none; border: 0; outline: 0; font-family: var(--mono); font-size: 12.5px; }
.ansi-1 { font-weight: 700; } .ansi-30 { color: #5a5a66; } .ansi-31 { color: #ff6b7d; } .ansi-32 { color: #4ee38a; } .ansi-33 { color: #ffc65c; } .ansi-34 { color: #6bb8ff; } .ansi-35 { color: #c79bff; } .ansi-36 { color: #4fd6e4; } .ansi-37 { color: #fff; } .ansi-90 { color: #7a7a88; }
.conn { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.conn.ok { background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ============================================================
   PROFIL & LAIN
   ============================================================ */
.prof-hero { text-align: center; padding: 26px 16px 18px; position: relative; overflow: hidden; border-radius: 22px; margin-top: 4px; background: linear-gradient(180deg, rgba(14, 14, 19, .2), #0a0a0e), url(../img/hero.jpg) center 20%/cover; border: 1px solid var(--line); }
.prof-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 8, .3), rgba(6, 6, 8, .9)), radial-gradient(circle at 80% 0, rgba(255, 30, 60, .35), transparent 55%); }
.prof-hero > * { position: relative; z-index: 1; }
.prof-hero h2 { font-family: var(--display); font-size: 22px; font-weight: 800; margin-top: 12px; }
.prof-hero p { color: var(--muted); font-size: 13px; margin: 3px 0 8px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 14px 4px; }
.pstats > div { text-align: center; border-right: 1px solid var(--line); }
.pstats > div:last-child { border: 0; }
.pstats b { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; }
.pstats span { font-size: 11.5px; color: var(--muted); }
.menu { padding: 4px 14px; margin-top: 12px; }
.mrow { display: flex; align-items: center; gap: 14px; height: 54px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-weight: 600; font-size: 14px; }
.mrow:last-child { border: 0; }
.mrow .i:first-child { font-size: 20px; color: var(--muted); }
.mrow span { flex: 1; }
.mrow .i:last-child { color: var(--dim); font-size: 17px; }
.mrow:hover .i:first-child { color: var(--red); }
.tx { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.tx .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .06); flex: none; }
.tx .b { flex: 1; min-width: 0; } .tx b { font-size: 14px; display: block; } .tx small { color: var(--muted); font-size: 11.5px; }
.tx .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-weight: 700; font-size: 13.5px; }
.faq { padding: 0 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .25s; }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--red); }
.faq p { color: #c0c0cc; font-size: 13px; padding: 0 2px 14px; line-height: 1.6; }
.faq code, .code { font-family: var(--mono); font-size: 12px; background: rgba(255, 255, 255, .08); padding: 2px 7px; border-radius: 6px; color: #ff9aa7; }
.empty { text-align: center; padding: 38px 20px; color: var(--muted); }
.empty .i { font-size: 44px; color: var(--dim); margin-bottom: 10px; }
.empty h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.skel { border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sheet / toast ---------- */
.sheetwrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .66); backdrop-filter: blur(4px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: linear-gradient(180deg, #15151c, #0d0d12); border: 1px solid var(--line2); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); animation: sheetIn .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line2); margin: 2px auto 14px; }
.sheet h3 { font-family: var(--display); font-size: 19px; font-weight: 800; }
.sheet .sub { color: var(--muted); font-size: 13px; margin: 4px 0 12px; }
.sheet .btns { display: flex; gap: 10px; margin-top: 16px; }
.sheet .btns .btn { flex: 1; }
.notif { display: flex; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.notif:last-child { border: 0; }
.notif .d { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; flex: none; }
.notif .d.success { background: rgba(46, 226, 123, .15); color: var(--green); } .notif .d.danger { background: rgba(255, 45, 70, .15); color: #ff6b7d; } .notif .d.warn { background: rgba(255, 176, 32, .15); color: var(--amber); } .notif .d.info { background: rgba(74, 163, 255, .15); color: var(--blue); }
.notif b { font-size: 13.5px; display: block; } .notif p { font-size: 12.5px; color: var(--muted); } .notif small { color: var(--dim); font-size: 11px; }
.toasts { position: fixed; z-index: 100; left: 0; right: 0; top: calc(14px + env(safe-area-inset-top)); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 440px; width: 100%; padding: 12px 14px; border-radius: 14px; background: rgba(20, 20, 27, .96); border: 1px solid var(--line2); box-shadow: 0 14px 40px rgba(0, 0, 0, .6); font-size: 13.5px; font-weight: 600; animation: toastIn .35s cubic-bezier(.2, .8, .2, 1); backdrop-filter: blur(12px); }
.toast .i { font-size: 19px; flex: none; }
.toast.ok .i { color: var(--green); } .toast.err { border-color: var(--red-line); } .toast.err .i { color: #ff6b7d; } .toast.info .i { color: var(--blue); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { transform: translateY(-20px) scale(.96); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-14px); opacity: 0; } }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: var(--sidebar) 1fr; }
  .sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 16px 18px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 14, 19, .9), rgba(8, 8, 11, .9)); backdrop-filter: blur(12px); overflow-y: auto; }
  .sidebar .logo { align-self: flex-start; margin: 2px 6px 6px; font-size: 30px; }
  .main { max-width: 1120px; width: 100%; padding: 0 36px 50px; margin: 0; }
  .topbar { margin: 0 -36px; padding: 0 36px; height: 76px; }
  .topbar .ttl h1 { font-size: 22px; }
  .topbar .menu-btn, .tabbar { display: none; }
  .desk-only.ttl { display: block !important; }
  .desk-only { display: flex !important; }
  .mob-only { display: none !important; }
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .grid2 > div > .sec-title:first-child { margin-top: 0; }
  .sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .up-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .actions { grid-template-columns: repeat(4, 1fr); }
  .sheetwrap { align-items: center; }
  .sheet { border-radius: 24px; border-bottom: 1px solid var(--line2); }
  .term .out { height: 340px; }
  .login { flex-direction: row; }
  .login .hero { height: auto; min-height: 100vh; max-height: none; flex: 1.25; }
  .login .hero::after { background: linear-gradient(90deg, rgba(6, 6, 8, .1) 0%, rgba(6, 6, 8, .35) 60%, #060608 100%), radial-gradient(circle at 70% 20%, rgba(255, 30, 60, .3), transparent 50%); }
  .login .brand { bottom: 12%; font-size: 84px; }
  .login .formwrap { flex: 1; max-width: 520px; justify-content: center; padding: 40px 56px; margin: 0; }
  .login .foot { margin-top: 20px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .main { max-width: 640px; } .tabbar nav { max-width: 640px; } .sv-grid { display: grid; grid-template-columns: 1fr 1fr; } .sv-grid.one { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.sv-grid.one { grid-template-columns: 1fr !important; }

/* ============================================================
   TEMA KREM-MERAH (sesuai desain) - override di paling bawah
   ============================================================ */
:root {
  --bg: #f9eedc; --bg2: #f3e4cb; --card: #fff8ec; --card2: #fdf0dc;
  --line: rgba(70, 35, 25, .11); --line2: rgba(70, 35, 25, .2);
  --red: #e8202f; --red2: #c0141f; --red-soft: rgba(232, 32, 47, .1); --red-line: rgba(232, 32, 47, .5);
  --glow: 0 8px 22px rgba(232, 32, 47, .3);
  --text: #1c1417; --muted: #6e5f58; --dim: #9b8b82;
  --green: #11a455; --amber: #d98900; --blue: #2b78d6; --purple: #7b4fd6; --gold: #d99a1c;
  --ink: #15161d; --ink2: #1f2029;
  color-scheme: light;
}
body { background: var(--bg); color: var(--text); }
body::before { background:
  radial-gradient(520px 260px at 100% 0, rgba(232, 32, 47, .1), transparent 62%),
  radial-gradient(480px 300px at 0 100%, rgba(232, 32, 47, .08), transparent 62%),
  linear-gradient(180deg, #fbf1df, #f6e8d0); }
body::after { opacity: 1; background:
  linear-gradient(118deg, transparent 0 88%, rgba(21, 22, 29, .9) 88% 89.4%, transparent 89.4%) no-repeat right 0 top 60px / 150px 90px,
  linear-gradient(62deg, transparent 0 86%, rgba(232, 32, 47, .85) 86% 90%, transparent 90%) no-repeat left 0 bottom 90px / 120px 80px; }
::selection { background: rgba(232, 32, 47, .3); }
::-webkit-scrollbar-thumb { background: #dcc9ad; }
.logo b { color: #17181f; text-shadow: 2px 2px 0 #fff, 0 0 0 transparent; }
.logo .crown { filter: drop-shadow(0 2px 4px rgba(232, 32, 47, .4)); }
.logo small { text-shadow: none; }

/* tombol & form */
.btn.primary { color: #fff; background: linear-gradient(180deg, #f0343f, #d31522); }
.btn.ghost { background: #fff8ec; border-color: var(--line2); color: var(--text); }
.btn.ghost:hover { background: #fff; border-color: var(--red-line); }
.btn.outline { color: var(--red2); }
.btn.danger { color: var(--red2); background: rgba(232, 32, 47, .08); }
.btn.tg { background: #fff8ec; }
.field { background: #fffdf8; border-color: var(--line2); }
.field:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(232, 32, 47, .14); }
.field input::placeholder { color: #a89a90; }
.card { background: var(--card); border-color: var(--line); backdrop-filter: none; box-shadow: 0 2px 0 rgba(255, 255, 255, .7) inset, 0 6px 18px rgba(110, 60, 30, .08); }
.card.red { box-shadow: 0 8px 22px rgba(232, 32, 47, .14); }
.card.link:hover { box-shadow: 0 12px 28px rgba(232, 32, 47, .18); }
.sec-title h3 { font-weight: 800; }
.pill.role { color: #fff; background: var(--red); border-color: var(--red2); }
.pill.on { background: rgba(17, 164, 85, .12); border-color: rgba(17, 164, 85, .5); }
.pill.off { background: #fff; color: #ff6471; border-color: #ff6471; }
.pill.mute { background: rgba(70, 35, 25, .06); }
.bar { background: rgba(70, 35, 25, .12); }
.bar > i { box-shadow: none; }
.ring::before { background: var(--card); }
.ring { background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(70, 35, 25, .12) 0); }
.avatar { background: radial-gradient(circle at 30% 25%, #ff6573, #c0141f 65%, #7d0b14); border-color: #fff; box-shadow: 0 4px 12px rgba(232, 32, 47, .35); }

/* bar atas, tab bawah, drawer, sidebar */
.topbar { background: linear-gradient(180deg, rgba(249, 238, 220, .96) 60%, rgba(249, 238, 220, 0)); }
.icon-btn { background: #fff8ec; border-color: var(--line2); }
.icon-btn:hover { background: #fff; }
.icon-btn .badge { border-color: #f9eedc; box-shadow: none; }
.tabbar { background: rgba(255, 248, 236, .96); border-top: 1px solid var(--line2); }
.tab.on { color: var(--red); } .tab.on .i { filter: none; } .tab.on::before { box-shadow: none; }
.drawer, .sidebar { background: #fbf1df; border-color: var(--line2); }
.drawer.on { box-shadow: 20px 0 50px rgba(70, 35, 25, .25); }
.scrim { background: rgba(40, 20, 15, .45); }
.usercard { background: #fff8ec; }
.navitem { color: var(--text); } .navitem:hover { background: rgba(232, 32, 47, .07); }
.navitem.on { color: #fff; } .navitem.logout, .navitem.logout .i { color: var(--red2); }

/* kartu gelap (server, role, stat, paket) seperti di desain */
.sv, .svx, .rolecard, .upc, .stat, .rl, .pay-sum { --text: #f6f3f1; --muted: #b9adaa; --dim: #8d8283; --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18); color: var(--text); background: linear-gradient(160deg, #23242e, #14151c); border-color: #2d2e3a; box-shadow: 0 8px 20px rgba(21, 22, 29, .28); }
.rolecard, .upc.red, .rl.owner, .rl.reseller { border-color: var(--red-line); box-shadow: 0 0 0 1px rgba(232, 32, 47, .35), 0 8px 22px rgba(232, 32, 47, .2); }
.rl.member, .rl.partner, .rl.admin { background: linear-gradient(160deg, #23242e, #14151c); }
.upcard { background: linear-gradient(100deg, #e8202f, #b3101c); border: 0; color: #fff; }
.upcard h4, .upcard p, .upcard .ic { color: #fff; filter: none; } .upcard .arrow { background: #15161d; box-shadow: none; }
.upc .hd .price, .gauge b { color: #fff; } .upc ul, .rl ul { color: #d9cfcc; }
.stat .v { color: #fff; }
.btn.ghost.sm.go, .sv .btn.ghost, .rolecard .btn.ghost { background: var(--red); border-color: var(--red2); color: #fff; }

/* kartu terang: info, paket, metode, menu */
.info { background: #fffdf8; } .info b { color: var(--amber); }
.pkg, .method { background: #fffdf8; border-color: var(--line2); }
.pkg:hover { border-color: var(--red-line); }
.pkg .ic { background: #15161d; color: #fff; }
.pkg.on { background: #fff1f0; } .pkg.on .ic { background: var(--red); color: #fff; }
.method.on { background: #fff1f0; }
.chip { background: #fffdf8; color: var(--muted); } .chip.on { background: var(--red); border-color: var(--red2); color: #fff; }
.mrow .i:first-child { color: var(--red); }
.faq p, .notif p { color: var(--muted); } .faq code, .code { background: rgba(232, 32, 47, .08); color: var(--red2); }
.kv, .meter, .cred .r, .payinfo { background: #fffdf8; border-color: var(--line); }
.cred .r code { color: var(--text); } .copy:hover { color: var(--red); background: rgba(232, 32, 47, .08); }
.morebtn:hover, .stepi.act, .empty h4 { color: var(--text); }
.drop { background: #fffdf8; }
.banner { background: rgba(43, 120, 214, .08); color: #1f5aa6; } .banner b { color: var(--text); }
.banner.warn { color: #8a5a00; } .banner.green { color: #0b7a3e; } .banner.red { color: var(--red2); }
.skel { background: linear-gradient(90deg, rgba(70, 35, 25, .05), rgba(70, 35, 25, .11), rgba(70, 35, 25, .05)); background-size: 200% 100%; }
.sheetwrap { background: rgba(40, 20, 15, .5); }
.sheet { background: #fbf1df; border-color: var(--line2); }
.toast { background: #fffaf0; color: var(--text); box-shadow: 0 12px 30px rgba(70, 35, 25, .25); }
.formerr { background: rgba(232, 32, 47, .08); color: var(--red2); }
.prof-hero { background: #fff8ec; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(110, 60, 30, .08); text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
.prof-hero::after { display: none; }
.prof-hero .avatar { grid-row: span 3; } .prof-hero h2 { margin-top: 0; } .prof-hero .pill { justify-self: start; }

/* hero beranda: video */
.homehero { position: relative; margin-top: 4px; height: 210px; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #15161d 40%, #7d0b14); box-shadow: 0 10px 26px rgba(21, 22, 29, .28); isolation: isolate; }
.homehero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.homehero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 22, 29, .35), transparent 40%, rgba(21, 22, 29, .75)); }
.homehero .logo { position: absolute; left: 16px; top: 14px; z-index: 2; align-items: flex-start; }
.homehero .tagline { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 19px; line-height: 1.05; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.homehero .tagline i { color: #ff4d5a; font-style: inherit; display: block; }

/* login: polos, tanpa gambar */
.login { align-items: center; justify-content: center; background: transparent; }
.login .formwrap { flex: none; margin: 0 auto; padding: 28px 24px; }
.login .wm { text-align: center; margin-bottom: 10px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; color: #17181f; text-shadow: 2px 2px 0 #fff; }
.login .wm small { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .5em; padding-left: .5em; color: var(--red); text-shadow: none; }
.login .help { margin-top: 6px; } .login .foot { margin-top: 10px; }
@media (min-width: 1024px) { .login { flex-direction: column; } .login .formwrap { max-width: 420px; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 40px rgba(110, 60, 30, .14); } .homehero { height: 280px; } .sidebar { background: #fbf1df; } }

.homehero video { opacity: 0; transition: opacity .6s; } .homehero video.on { opacity: 1; }

.homehero .vol { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(21, 22, 29, .6); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }

/* ---- foto profil, banner, tools ---- */
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bn-crimson { background: linear-gradient(120deg, #15161d 0 30%, #b3101c 30% 31.5%, #e8202f 31.5%); }
.bn-night { background: linear-gradient(135deg, #0f1020, #2a2d5c 60%, #6a5cff); }
.bn-sunset { background: linear-gradient(135deg, #ff7a45, #e8202f 55%, #6a1b9a); }
.bn-ocean { background: linear-gradient(135deg, #0a3d62, #1e90ff 60%, #4fe0d0); }
.bn-sakura { background: linear-gradient(135deg, #ffb6c8, #ff7fa3 55%, #c2185b); }
.bn-gold { background: linear-gradient(135deg, #3a2a05, #d99a1c 60%, #ffe08a); }
.pbanner, .pbox .pbanner { background-size: cover; background-position: center; }
.pbox { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(110, 60, 30, .12); margin-top: 4px; }
.pbox .pbanner { height: 128px; position: relative; }
.pedit { position: absolute; right: 10px; top: 10px; display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: #fff; background: rgba(21, 22, 29, .6); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.pbody { display: flex; gap: 14px; align-items: flex-end; padding: 0 16px 16px; margin-top: -38px; }
.pbody .avatar.lg { border: 4px solid var(--card); flex: none; }
.pinfo { min-width: 0; padding-bottom: 2px; } .pinfo h2 { font-family: var(--display); font-size: 21px; font-weight: 800; margin: 0; } .pinfo p { color: var(--muted); font-size: 13px; margin: 2px 0 7px; }
.sheet .pbanner { height: 120px; border-radius: 16px; position: relative; margin-bottom: 44px; }
.sheet .pav { position: absolute; left: 14px; bottom: -40px; } .sheet .pav .avatar.lg { border: 4px solid #fbf1df; }
.pbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .pbtns .btn { flex: 1; cursor: pointer; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; } .sw { width: 42px; height: 42px; border-radius: 12px; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line2); } .sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--red); }
.tl h3 { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: 800; }
.plats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .plat { padding: 12px; display: flex; flex-direction: column; gap: 3px; } .plat b { font-family: var(--display); } .plat span { font-size: 11.5px; color: var(--muted); }
.tres { margin-top: 14px; } .tres .ok { display: flex; gap: 8px; align-items: center; color: var(--green); font-weight: 800; margin-bottom: 4px; }
.tfiles { display: grid; gap: 10px; margin-top: 12px; } .tf { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fffdf8; } .tf img, .tf video { width: 100%; max-height: 320px; object-fit: contain; background: #15161d; display: block; } .tf audio { width: 100%; display: block; } .tfb { padding: 10px; display: flex; justify-content: flex-end; }
@media (min-width: 1024px) { .plats { grid-template-columns: repeat(3, 1fr); } }

/* ---- status vps & siapa online ---- */
.sys, .onl { padding: 14px; }
.sysh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sysh small { color: var(--muted); font-size: 12px; font-weight: 600; }
.sysb { display: grid; gap: 11px; }
.sysb .m > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-bottom: 6px; }
.sysb .m span { color: var(--muted); font-weight: 600; }
.sysb .m b { font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: right; }
.sysf { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sysf span { display: inline-flex; align-items: center; gap: 5px; }
.sysf .i { font-size: 13px; }
.onl3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.onl3 .o { text-align: center; padding: 9px 4px; border-radius: 12px; background: rgba(0, 0, 0, .06); border: 1px solid var(--line); }
.onl3 .o b { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.1; }
.onl3 .o span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.onl3 .o.on b { color: var(--green); } .onl3 .o.off b { color: #ff6b7d; }
.wholist.full { padding: 4px 14px; }
.who { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.who:last-child { border: 0; }
.who .wav { position: relative; flex: none; }
.who .wdot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--card); background: var(--dim); }
.who.on .wdot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.who.off .avatar { filter: grayscale(.6); opacity: .8; }
.who .wi { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.who .wi b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .wi b em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 12px; }
.who .wi span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .wr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.who .wr small { font-size: 11px; color: var(--dim); }
.who.on .wr small { color: var(--green); font-weight: 700; }
.muted-s { color: var(--muted); font-size: 12.5px; text-align: center; padding: 6px 0; }

/* ---- atur limit ---- */
.limrow { padding: 14px; }
.limrow .lh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.limrow .lh b { font-size: 14.5px; }
.limrow .lc { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.limrow .lc input { width: 84px; height: 40px; text-align: center; font-family: var(--mono); font-size: 16px; font-weight: 700; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .06); color: var(--text); }
.limrow .lc .icon-btn { font-size: 20px; font-weight: 800; }

/* ============================================================
   GIVEAWAY ROLLER + HAPUS PANEL
   ============================================================ */
.rl-stage { --text: #f6f3f1; --muted: #b9adaa; position: relative; overflow: hidden; color: var(--text); border-radius: 22px; padding: 14px 14px 18px; background: radial-gradient(120% 70% at 50% 0, rgba(232, 32, 47, .28), transparent 60%), linear-gradient(160deg, #23242e, #101117); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 44px rgba(40, 10, 15, .32); }
.rl-stage.live { box-shadow: 0 0 0 2px rgba(255, 59, 77, .7), 0 0 46px rgba(255, 59, 77, .45), 0 18px 44px rgba(40, 10, 15, .32); animation: rlLive 1.6s ease-in-out infinite; }
@keyframes rlLive { 50% { box-shadow: 0 0 0 2px rgba(255, 59, 77, .35), 0 0 70px rgba(255, 59, 77, .6), 0 18px 44px rgba(40, 10, 15, .32); } }
.rl-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #cfc4c0; }
.rl-conn { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.rl-conn i { width: 8px; height: 8px; border-radius: 50%; background: #8d8283; }
.rl-conn.on i { background: #22c76f; box-shadow: 0 0 8px #22c76f; animation: pulse 1.8s ease-in-out infinite; }
.rl-stage.live .rl-conn.on { color: #ff6573; } .rl-stage.live .rl-conn.on i { background: #ff3b4d; box-shadow: 0 0 10px #ff3b4d; }
.rl-view { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.rl-snd { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; }
.rl-snd:hover { background: rgba(255, 255, 255, .16); }
.rl-prize { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 12px 0 6px; text-align: left; }
.rl-gift { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(160deg, #ff3b4d, #b50f25); box-shadow: 0 8px 20px rgba(255, 45, 70, .45); animation: rlBob 2.4s ease-in-out infinite; }
@keyframes rlBob { 50% { transform: translateY(-3px) rotate(-4deg); } }
.rl-prize small { display: block; font-size: 10.5px; letter-spacing: .18em; color: #ffb23e; font-weight: 800; }
.rl-prize b { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.15; color: #fff; text-shadow: 0 2px 14px rgba(255, 178, 62, .35); }
.rl-wheelbox { position: relative; width: 100%; max-width: 480px; margin: 10px auto 0; display: grid; place-items: center; }
.rl-wheelbox canvas { display: block; border-radius: 50%; }
.rl-pointer { position: absolute; top: -4px; left: 50%; width: 34px; height: 44px; transform: translateX(-50%); transform-origin: 50% 12%; z-index: 3; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.rl-pointer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0, #ff6573 14%, #e8202f 55%, #8d0b17); clip-path: polygon(50% 100%, 0 20%, 18% 0, 82% 0, 100% 20%); }
.rl-pointer::after { content: ''; position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #fff6cf; box-shadow: 0 0 6px #fff; }
.rl-count { position: absolute; inset: 0; display: none; place-items: center; z-index: 4; font-family: var(--display); font-weight: 900; font-size: min(34vw, 170px); color: #fff; text-shadow: 0 0 40px rgba(255, 59, 77, .95), 0 6px 0 rgba(0, 0, 0, .35); background: radial-gradient(circle, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 62%, transparent 70%); border-radius: 50%; pointer-events: none; }
.rl-count.on { display: grid; } .rl-count.pop { animation: rlPop .9s ease-out; }
@keyframes rlPop { 0% { transform: scale(1.7); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.rl-ticker { margin: 14px auto 0; max-width: 480px; min-height: 52px; display: grid; place-items: center; padding: 8px 16px; border-radius: 14px; font-family: var(--display); font-weight: 900; font-size: clamp(18px, 5.4vw, 26px); text-align: center; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rl-ticker.idle { color: #cfc4c0; font-size: 15px; font-family: var(--font); font-weight: 700; }
.rl-ticker.run { color: #ffd166; border-color: rgba(255, 209, 102, .45); }
.rl-ticker.win { color: #2a1a00; background: linear-gradient(180deg, #ffe08a, #ffb23e); border-color: #fff3c4; box-shadow: 0 0 34px rgba(255, 178, 62, .6); }
.rl-winner { margin: 16px auto 0; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 14px 16px; border-radius: 20px; text-align: center; position: relative; background: radial-gradient(120% 90% at 50% 0, rgba(255, 178, 62, .32), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 209, 102, .6); box-shadow: 0 0 40px rgba(255, 178, 62, .25) inset; }
.rl-winner.pop { animation: rlWin .9s cubic-bezier(.2, 1.3, .3, 1); }
@keyframes rlWin { 0% { transform: scale(.4) translateY(30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.rl-winner .avatar.lg { box-shadow: 0 0 0 4px #ffb23e, 0 0 36px rgba(255, 178, 62, .8); border-color: #fff; }
.rl-crown { font-size: 34px; color: #ffd166; filter: drop-shadow(0 0 12px rgba(255, 178, 62, .9)); margin-bottom: -6px; animation: rlBob 2s ease-in-out infinite; }
.rl-winner small { letter-spacing: .3em; font-weight: 800; color: #ffd166; font-size: 11px; margin-top: 8px; }
.rl-winner b { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.1; color: #fff; word-break: break-word; }
.rl-winner span { color: #e3d7d2; font-size: 13.5px; }
.rl-me { margin-top: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(34, 199, 111, .16); border: 1px solid rgba(34, 199, 111, .55); color: #b8f5d2; font-weight: 700; font-size: 13px; }

.rl-card { margin-top: 0; }
.rl-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rl-ch b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.rl-big { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.rl-big b { font-family: var(--display); font-size: 44px; font-weight: 900; line-height: 1; color: var(--red); }
.rl-big span { color: var(--muted); font-weight: 600; }
.rl-go { width: 100%; min-height: 62px; font-size: 18px; letter-spacing: .06em; font-family: var(--display); font-weight: 900; border-radius: 16px; color: #fff; background: linear-gradient(180deg, #ff4a5c, #c0141f); box-shadow: 0 10px 26px rgba(232, 32, 47, .45), inset 0 1px 0 rgba(255, 255, 255, .35); animation: rlGo 1.8s ease-in-out infinite; }
.rl-go[disabled] { animation: none; }
@keyframes rlGo { 50% { box-shadow: 0 10px 40px rgba(232, 32, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .35); } }
.rl-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rl-row .btn { flex: 1; }
.rl-sep { height: 1px; background: var(--line2); margin: 16px 0 12px; }
.rl-contact { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line2); }
.rl-contact b { font-size: 17px; font-family: var(--display); }
.rl-contact span { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.rl-contact code { font-family: var(--mono); background: rgba(70, 35, 25, .07); padding: 1px 5px; border-radius: 6px; }
.rl-list { padding: 4px 12px; max-height: 360px; overflow-y: auto; }
.rl-p { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); animation: rlIn .35s ease-out; }
@keyframes rlIn { from { opacity: 0; transform: translateX(-10px); } }
.rl-p:last-child { border: 0; }
.rl-p .no { width: 24px; text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--dim); flex: none; }
.rl-p b { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-p b em { font-style: normal; color: var(--red); font-size: 12px; }
.rl-p.me { background: linear-gradient(90deg, rgba(232, 32, 47, .08), transparent); margin: 0 -12px; padding: 8px 12px; }
.rl-p.win { background: linear-gradient(90deg, rgba(255, 178, 62, .28), transparent); margin: 0 -12px; padding: 8px 12px; }
.rl-p .kick { width: 30px; height: 30px; font-size: 14px; flex: none; }
.rl-h-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 154, 28, .16); color: var(--gold); font-size: 19px; }
.rl-home .pill { height: 18px; font-size: 10px; animation: pulse 1.8s ease-in-out infinite; }

.pg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pg-stats .stat .v { font-size: 26px; }
.pg-chk { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line2); font-size: 13px; cursor: pointer; }
.pg-chk input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.pg-chk small { color: var(--muted); }
.pg-users { margin-top: 10px; max-height: 280px; overflow-y: auto; padding: 6px; }
.pg-u { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 12px; text-align: left; }
.pg-u:hover { background: rgba(232, 32, 47, .06); }
.pg-u.on { background: var(--red-soft); box-shadow: inset 0 0 0 1.5px var(--red); }
.pg-u b { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-u em { font-style: normal; color: var(--muted); font-size: 12px; }
.pg-keep .lc { display: flex; align-items: center; gap: 12px; }
.pg-keep .lc b { font-family: var(--display); font-size: 30px; min-width: 34px; text-align: center; }
.pg-sum { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.pg-sum b { font-family: var(--display); font-size: 40px; color: var(--red); line-height: 1; }
.pg-sum span { color: var(--muted); font-weight: 600; }
.pg-sample { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow-y: auto; }
.pg-tag { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; background: rgba(70, 35, 25, .06); border: 1px solid var(--line2); }
.pg-tag em { font-style: normal; color: var(--red2); font-weight: 700; }
.pg-tag.mute { color: var(--muted); }
.pg-nums { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.pg-nums .ok { color: var(--green); } .pg-nums .bad { color: var(--red2); }
.pg-err { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(232, 32, 47, .07); border: 1px solid var(--red-line); font-size: 12px; color: var(--red2); font-family: var(--mono); max-height: 140px; overflow-y: auto; }
.pg-job { margin-top: 14px; }
@media (min-width: 1024px) { .pg-stats { grid-template-columns: repeat(6, 1fr); } .rl-stage { padding: 18px 22px 22px; } }

/* ============ ROBOT LOGIN ============ */
.robot { --px: 0px; --py: 0px; display: flex; flex-direction: column; align-items: center; margin: 4px auto -2px; }
.robot svg { width: min(54vw, 214px); height: auto; overflow: visible; filter: drop-shadow(0 14px 28px rgba(255, 30, 60, .28)); }
.rb-fl { animation: rbFloat 3.4s ease-in-out infinite; }
.rb-bulb { animation: rbBulb 1.6s ease-in-out infinite; filter: drop-shadow(0 0 6px #ff2d46); }
.rb-eye { transform-box: fill-box; transform-origin: center; animation: rbBlink 5s infinite; }
.rb-eye + .rb-eye { animation-delay: .02s; }
.rb-p { transform: translate(var(--px), var(--py)); transition: transform .18s ease-out; }
.rb-hand { transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.robot.rb-hide .rb-l { transform: translate(40px, -78px); } .robot.rb-hide .rb-r { transform: translate(-40px, -78px); }
.robot.rb-peek .rb-l { transform: translate(40px, -78px); } .robot.rb-peek .rb-r { transform: translate(-6px, -66px) rotate(-18deg); transform-box: fill-box; }
.robot.rb-hide .rb-p, .robot.rb-peek .rb-p { transform: none; }
.robot.rb-sad svg { animation: rbShake .5s; } .robot.rb-happy .rb-fl { animation: rbJump .5s ease-in-out 2; }
.robot.rb-sad .rb-eye { transform: scaleY(.7); }
.rb-say { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--card2); border: 1px solid var(--line2); padding: 6px 14px; border-radius: 999px; position: relative; }
.rb-say::before { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; background: inherit; border-left: 1px solid var(--line2); border-top: 1px solid var(--line2); transform: translateX(-50%) rotate(45deg); }
@keyframes rbFloat { 50% { transform: translateY(-7px); } }
@keyframes rbBulb { 50% { opacity: .35; } }
@keyframes rbBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes rbShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes rbJump { 50% { transform: translateY(-16px); } }
.login .formwrap { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .rb-fl, .rb-bulb, .rb-eye { animation: none; } }

/* ============ MENU KIRI + DOWNLOAD APLIKASI ============ */
.topbar .menu-btn { order: -1; margin-right: 2px; }
.navitem.install { background: linear-gradient(135deg, rgba(255, 45, 70, .22), rgba(255, 45, 70, .06)); border: 1px solid var(--red-line); color: var(--text); position: relative; }
.navitem.install em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; background: var(--red); color: #fff; }
.inst-btn { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.inst-login { margin-top: 2px; gap: 8px; min-height: 48px; border-color: var(--red-line); color: var(--red); font-weight: 700; }
.inst-steps { margin: 12px 0 4px; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text); }

/* ============ FOTO KLAIM ============ */
.cl-card { margin-top: 14px; }
.cl-photo { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 3/4; max-height: 440px; margin: 0 auto; width: 100%; user-select: none; border: 1px solid var(--line2); }
.cl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.cl-tag .i { width: 14px; height: 14px; color: var(--gold); }
.cl-heart { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.cl-heart .i { width: 92px; height: 92px; fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.cl-heart.pop { animation: clPop .75s ease-out; }
@keyframes clPop { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1); } }
.cl-act { display: flex; align-items: center; gap: 14px; margin: 12px 0 4px; flex-wrap: wrap; }
.cl-like { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); font-weight: 700; font-size: 14px; transition: .15s; }
.cl-like .i { width: 20px; height: 20px; transition: .2s; } .cl-like span { color: var(--muted); font-weight: 600; }
.cl-like.on { border-color: var(--red-line); background: var(--red-soft); color: var(--red); } .cl-like.on .i { fill: var(--red); transform: scale(1.15); }
.cl-cnt { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; } .cl-cnt .i { width: 17px; height: 17px; }
.cl-list { display: grid; gap: 12px; margin: 12px 0; max-height: 300px; overflow-y: auto; }
.cl-c { display: flex; gap: 10px; align-items: flex-start; } .cl-c > div { flex: 1; min-width: 0; }
.cl-c b { font-size: 13px; } .cl-c b em { font-style: normal; color: var(--dim); font-weight: 600; } .cl-c b em.cl-w { color: var(--gold); font-weight: 800; font-size: 10.5px; border: 1px solid currentColor; border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.cl-c p { margin: 2px 0; font-size: 14px; line-height: 1.4; word-break: break-word; } .cl-c small { color: var(--dim); font-size: 11.5px; }
.cl-x { width: 32px; height: 32px; border-radius: 10px; } .cl-x .i { width: 15px; height: 15px; }
.cl-form { display: flex; gap: 8px; align-items: stretch; } .cl-form .field { flex: 1; margin: 0; } .cl-form .btn { width: 52px; padding: 0; }

/* kamera */
.cam { position: relative; width: min(100%, 330px); aspect-ratio: 3/4; margin: 12px auto; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.cam video, .cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-oval { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 38% 31% at 50% 46%, transparent 98%, rgba(0, 0, 0, .6) 100%); }
.cam-oval::after { content: ''; position: absolute; left: 12%; right: 12%; top: 15%; bottom: 23%; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(255, 45, 70, .5); }
.cam.shot .cam-oval { display: none; }
.cam-btns { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 4px; }
.cam-btns .btn { min-width: 52px; }
.cam-shutter { width: 68px; height: 68px; border-radius: 50%; border: 4px solid #fff; background: transparent; display: grid; place-items: center; flex: none; }
.cam-shutter i { width: 50px; height: 50px; border-radius: 50%; background: var(--red); display: block; transition: transform .1s; } .cam-shutter:active i { transform: scale(.86); }

.login.typing .wm { display: none; }
.login.typing .robot svg { width: 112px; transition: width .25s; }
.login.typing .robot { margin-top: 0; }
.login.typing .formwrap { justify-content: flex-start; padding-top: 10px; gap: 10px; }
.login.typing .help, .login.typing .inst-login { display: none; }

.ic-prev { display: grid; place-items: center; margin: 14px 0 8px; }
.ic-prev canvas, .ic-done { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 12px 34px rgba(255, 30, 60, .3); border: 1px solid var(--line2); }
.ic-z { width: 100%; accent-color: var(--red); margin: 4px 0 8px; }

/* hero: foto sebagai latar saat video belum siap atau jaringan lambat */
.homehero { background: #15161d url('/img/hero.jpg') center / cover no-repeat; }
