/* ============================================================
   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; }
