/* ============================================================
   ENELSIA - design system "Di bawah kanopi"
   Permukaan berlapis hijau hutan, lime sebagai satu-satunya cahaya.
   Gold (emas) hanya untuk identitas mata uang Gold.
   ============================================================ */
:root {
  --bg: #102B20;
  --bg2: #143827;
  --surface: #174D35;
  --surface-2: #1c5a3f;
  --emerald: #36A66B;
  --lime: #B9E878;
  --gold: #E2B84F;
  --text: #F3F5EF;
  --muted: #A7B8AA;
  --line: rgba(150, 214, 170, .16);
  --line-2: rgba(150, 214, 170, .28);
  --danger: #ff9b8a;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  --font-d: 'Archivo', 'Rubik', system-ui, sans-serif;
  --font-b: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body { margin: 0; min-height: 100vh; font: 400 16px/1.6 var(--font-b); color: var(--text); overflow-x: clip; display: flex; flex-direction: column; padding-bottom: 92px; }
@media (min-width: 860px) { body { padding-bottom: 0; } }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 800; font-stretch: 112%; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: var(--bg); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
[hidden] { display: none !important; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; --dark: .6; background: var(--bg); }
.bg-layer { position: absolute; inset: 0; will-change: transform; transform: scale(1.1); }
.bg-img { position: absolute; inset: 0; background: url(../img/bg-sm.webp) center / cover no-repeat; }
@media (min-width: 760px) { .bg-img { background-image: url(../img/bg.webp); } }
.bg-veil { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 50% 0%, rgba(16, 43, 32, calc(var(--dark) * .5)), transparent 70%),
  linear-gradient(180deg, rgba(16, 43, 32, calc(var(--dark) * .8)), rgba(16, 43, 32, calc(var(--dark) + .15))); }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: transform .45s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(16, 43, 32, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand img { height: 40px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.nav-links { display: none; gap: 4px; margin-inline: auto; }
.nav-links a { padding: 9px 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); background: rgba(185, 232, 120, .08); }
.nav-links a[aria-current] { color: var(--bg); background: var(--lime); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-end { margin-left: 0; } }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(23, 77, 53, .75); border: 1px solid var(--line-2); font-weight: 700; font-size: .92rem; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { background: var(--surface); border-color: var(--lime); }
.chip .chip-b { color: var(--lime); font-variant-numeric: tabular-nums; padding-left: 8px; border-left: 1px solid var(--line-2); font-size: .85rem; }
.chip-n { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(23, 77, 53, .75); border: 1px solid var(--line-2); font-size: 1.1rem; transition: background .25s, border-color .25s; }
.icon-btn:hover { background: var(--surface); border-color: var(--lime); }
.cnt { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--lime); color: var(--bg); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cnt.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.nav-discord { display: none; }
@media (min-width: 640px) { .nav-discord { display: inline-flex; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 13px; border: 1px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; text-align: center; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 11px; }
.btn-block { display: flex; width: 100%; }
.btn-lime { background: var(--lime); color: var(--bg); box-shadow: 0 8px 22px -10px rgba(185, 232, 120, .6); }
.btn-lime:hover { transform: translateY(-2px); background: #c8f28a; box-shadow: 0 12px 26px -10px rgba(185, 232, 120, .7); }
.btn-lime:active { transform: translateY(0); }
.btn-soft { background: rgba(54, 166, 107, .18); color: var(--text); border-color: rgba(54, 166, 107, .3); }
.btn-soft:hover:not(:disabled) { background: rgba(54, 166, 107, .3); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); background: rgba(185, 232, 120, .08); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn + .btn-block, .btn-block + .btn-block { margin-top: 10px; }

/* ---------- reveal & entrance ---------- */
.js .rv { opacity: 0; translate: 0 22px; }
.js .rv.in { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in] { opacity: 0; translate: 0 18px; }
.js.ready [data-in] { opacity: 1; translate: 0 0; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0ms); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- intro ---------- */
@property --ir { syntax: '<length-percentage>'; inherits: false; initial-value: 0%; }
#intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--ir), #000 calc(var(--ir) + 2px)); mask: radial-gradient(circle at 50% 50%, transparent var(--ir), #000 calc(var(--ir) + 2px)); }
#intro.go { --ir: 150%; transition: --ir 1s cubic-bezier(.6, .05, .2, 1); }
.intro-gem { width: min(560px, 80vw); animation: gem 1.6s var(--ease) both; }
.intro-gem img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
#intro.go .intro-gem { transform: scale(.7); opacity: 0; transition: transform .5s, opacity .4s; }
@keyframes gem { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { padding: 72px 0; position: relative; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.sec-head p { margin-top: 12px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }
.panel { background: linear-gradient(180deg, rgba(23, 77, 53, .86), rgba(20, 56, 39, .9)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.band { background: linear-gradient(180deg, transparent, rgba(16, 43, 32, .55) 18%, rgba(16, 43, 32, .55) 82%, transparent); }

/* ---------- hero ---------- */
.hero { padding: 36px 0 56px; min-height: calc(100svh - 68px); display: grid; align-items: center; }
.hero-in { display: grid; justify-items: center; text-align: center; gap: 20px; position: relative; }
.hero-logo { width: min(640px, 88vw, max(280px, calc((100svh - 470px) * 2.1))); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.9rem); max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { max-width: 54ch; color: #d7e0d5; font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.join { width: min(520px, 100%); padding: 16px; display: grid; gap: 12px; text-align: left; }
.join-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.join-lab { color: var(--muted); font-size: .84rem; font-weight: 600; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: 999px; background: rgba(16, 43, 32, .7); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; background: none; border: 0; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--bg); }
.ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--lime); transition: transform .45s var(--ease), width .45s var(--ease); }
.addr { display: flex; align-items: center; gap: 8px; }
.addr button { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(16, 43, 32, .75); border: 1px solid var(--line-2); font-family: var(--font-d); font-weight: 700; font-size: 1.02rem; text-align: left; transition: border-color .25s, background .25s; word-break: break-all; }
.addr button:hover { border-color: var(--lime); background: rgba(16, 43, 32, .95); }
.addr .port { flex: none; }
.addr .port button { flex: none; min-width: 92px; }
.addr .ic { color: var(--lime); }
.srv-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #7f9185; flex: none; }
.dot.on { background: var(--lime); box-shadow: 0 0 0 0 rgba(185, 232, 120, .6); animation: ping 2.4s infinite; }
.dot.off { background: #d9776a; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(185, 232, 120, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 232, 120, 0); } }
.sc { display: none; position: absolute; padding: 14px 16px; width: 210px; text-align: left; font-size: .9rem; }
.sc strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 1rem; margin-bottom: 4px; }
.sc.gold strong { color: var(--gold); }
.sc.eg strong { color: var(--lime); }
.sc span { color: var(--muted); }
@media (min-width: 1100px) { .sc { display: block; } .sc.gold { left: 0; top: 32%; } .sc.eg { right: 0; top: 40%; } }
#hero-render { position: absolute; right: -40px; bottom: -20px; width: min(360px, 34vw); pointer-events: none; }
#hero-render img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
@media (max-width: 1099px) { #hero-render { display: none; } }

/* ---------- categories ---------- */
.grid-cats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cat { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.cat:hover { transform: translateY(-4px); border-color: var(--lime); background: var(--surface-2); }
.cat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(185, 232, 120, .12); color: var(--lime); font-size: 1.4rem; margin-bottom: 6px; }
.cat h3 { font-size: 1.2rem; }
.cat p { color: var(--muted); font-size: .94rem; }
.cat-n { color: var(--lime); font-weight: 700; font-size: .84rem; margin-top: 6px; }

/* ---------- product cards ---------- */
.grid-p { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: var(--shadow); }
.pc-main { display: block; flex: 1; text-align: left; background: none; border: 0; padding: 0; }
.pc-art, .pv-art { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(90% 90% at 50% 100%, rgba(54, 166, 107, .35), rgba(20, 56, 39, .9)); display: grid; place-items: center; overflow: hidden; }
.pc-art img, .pv-art img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s var(--ease); }
.pcard:hover .pc-art img { transform: scale(1.05); }
.ph { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(185, 232, 120, .12); color: var(--lime); font-size: 2rem; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(16, 43, 32, .8); border: 1px solid var(--line-2); color: var(--lime); font-size: .74rem; font-weight: 700; }
.badge.inline { position: static; display: inline-block; margin: 8px 0 4px; }
.pc-main h3 { font-size: 1.1rem; padding: 16px 18px 4px; }
.pc-main p { padding: 0 18px 14px; color: var(--muted); font-size: .92rem; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.price { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price.eg { color: var(--lime); align-items: center; }
.price small { font-size: .7em; font-weight: 700; opacity: .85; }
.price.tbd { font-family: var(--font-b); font-weight: 600; font-size: .88rem; color: var(--muted); }
.empty { color: var(--muted); padding: 28px 12px; text-align: center; grid-column: 1 / -1; }

/* ---------- store page ---------- */
.page-head { padding: 52px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-head p { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.tabs { position: relative; display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: rgba(20, 56, 39, .85); border: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; background: none; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: color .3s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--bg); }
.tabs .ind { top: 5px; bottom: 5px; }
.store-meta { margin: 18px 0 22px; display: grid; gap: 10px; }
.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(185, 232, 120, .07); border: 1px dashed var(--line-2); color: var(--muted); font-size: .88rem; }
.note .ic { margin-top: 2px; color: var(--lime); }
.note.demo { background: rgba(226, 184, 79, .08); border-color: rgba(226, 184, 79, .35); }
.note.demo .ic { color: var(--gold); }
.conv { padding: 22px; }
.conv-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 12px; }
.eq { font-family: var(--font-d); font-size: 1.4rem; color: var(--lime); padding-bottom: 10px; }

/* ---------- forms ---------- */
.lab { display: grid; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.fld { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 43, 32, .75); color: var(--text); font: 600 1rem var(--font-b); transition: border-color .25s, box-shadow .25s; }
.fld:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(185, 232, 120, .2); }
.fld::placeholder { color: #7f9185; }
.err { padding: 10px 14px; border-radius: 10px; background: rgba(255, 155, 138, .1); border: 1px solid rgba(255, 155, 138, .4); color: var(--danger); font-size: .9rem; margin: 12px 0; }

/* ---------- economy ---------- */
.econ { display: grid; gap: 16px; }
@media (min-width: 860px) { .econ { grid-template-columns: 1fr 1fr 1fr; } }
.ecard { padding: 24px; display: grid; gap: 10px; align-content: start; }
.ecard h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.ecard p { color: var(--muted); }
.ecard.gold h3 { color: var(--gold); }
.ecard.eg h3 { color: var(--lime); }
.ecard .ic { width: 1.3em; height: 1.3em; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 52px 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; top: 16px; left: 20px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); color: var(--bg); font-family: var(--font-d); font-weight: 800; font-size: .9rem; }
.steps strong { display: block; color: var(--text); font-family: var(--font-d); font-size: 1.05rem; margin-bottom: 4px; }

/* ---------- leaderboard teaser & page ---------- */
.lbt { padding: 8px; }
.lbt li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; transition: background .25s; }
.lbt li:hover { background: rgba(185, 232, 120, .07); }
.rk { font-family: var(--font-d); font-weight: 800; color: var(--lime); }
.player { display: flex; align-items: center; gap: 12px; font-weight: 700; min-width: 0; }
.score { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-family: var(--font-d); }
.av { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--lime); font-weight: 800; flex: none; overflow: hidden; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.tag-sample { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 99px; background: rgba(226, 184, 79, .12); border: 1px solid rgba(226, 184, 79, .4); color: var(--gold); font: 700 .72rem var(--font-b); vertical-align: middle; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 20px 0; }
.lb-bar .fld { width: min(260px, 100%); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin: 28px auto; max-width: 720px; }
.pod { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; min-width: 0; }
.pod .av { width: 54px; height: 54px; border-radius: 16px; font-size: 1.3rem; }
.pod .nm { font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .val { font-family: var(--font-d); font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; font-size: .95rem; }
.pod .rk { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(185, 232, 120, .14); }
.pod.r1 { padding-block: 30px; border-color: var(--lime); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.pod.r1 .rk { background: var(--lime); color: var(--bg); }
.tbl-wrap { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: rgba(23, 77, 53, .8); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 14px 18px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(16, 43, 32, .5); }
th:last-child:not(.actc) { text-align: right; }
td { padding: 12px 18px; border-top: 1px solid var(--line); }
td.rank { width: 64px; font-family: var(--font-d); font-weight: 800; color: var(--lime); }
td.empty { grid-column: auto; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(185, 232, 120, .06); }
tbody tr { animation: rowin .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(8px); } }
.lb-tools { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 16px; align-items: end; }
.lb-tools label { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.lb-tools button, td.act button { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(54, 166, 107, .18); font-weight: 700; }
td.act { white-space: nowrap; }
td.act button { min-height: 34px; margin-left: 4px; }

/* ---------- accordion & prose ---------- */
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--lime); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.support { padding: 28px; display: grid; gap: 14px; justify-items: start; max-width: 800px; }
.prose { max-width: 720px; display: grid; gap: 16px; padding-bottom: 56px; }
.prose h2 { font-size: 1.3rem; margin-top: 12px; }
.prose p { color: #d0dacf; }

/* ---------- cta band ---------- */
.cta-band { padding: 40px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); max-width: 22ch; }
.cta-band p { color: var(--muted); max-width: 50ch; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; padding: 48px 0 20px; background: rgba(16, 43, 32, .88); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.foot { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.foot > div:first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot > div:first-child { grid-column: auto; } }
.foot h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.foot li { margin: 6px 0; }
.foot li a { color: var(--muted); transition: color .2s; }
.foot li a:hover { color: var(--text); }
.foot-tag { margin-top: 12px; max-width: 34ch; font-size: .94rem; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); translate: -50% 0; width: min(440px, 100% - 24px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 22px; background: rgba(16, 43, 32, .9); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
@media (min-width: 860px) { .tabbar { display: none; } }
.tabbar a { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 16px; color: var(--muted); font-size: .72rem; font-weight: 700; transition: color .3s; }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a[aria-current] { color: var(--bg); }
.tb-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 16px; background: var(--lime); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.tabbar.has .tb-ind { opacity: 1; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); translate: -50% 20px; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 14px; background: var(--lime); color: var(--bg); font-weight: 700; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); box-shadow: var(--shadow); }
.toast.show { opacity: 1; translate: -50% 0; }
@media (min-width: 860px) { .toast { bottom: 32px; } }

/* ---------- dialog ---------- */
dialog#dlg { padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg2); color: var(--text); width: min(460px, 100% - 24px); max-height: min(88svh, 760px); overflow: auto; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); margin: auto; opacity: 0; translate: 0 24px; scale: .97;
  transition: opacity .3s var(--ease), translate .4s var(--ease), scale .4s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete; }
dialog#dlg[open] { opacity: 1; translate: 0 0; scale: 1; }
@starting-style { dialog#dlg[open] { opacity: 0; translate: 0 24px; scale: .97; } }
dialog#dlg::backdrop { background: rgba(8, 22, 16, 0); backdrop-filter: blur(0); transition: background .35s, backdrop-filter .35s, overlay .35s allow-discrete, display .35s allow-discrete; }
dialog#dlg[open]::backdrop { background: rgba(8, 22, 16, .72); backdrop-filter: blur(6px); }
@starting-style { dialog#dlg[open]::backdrop { background: rgba(8, 22, 16, 0); backdrop-filter: blur(0); } }
dialog#dlg.dlg-product { width: min(860px, 100% - 24px); }
.x { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 43, 32, .85); }
.x:hover { border-color: var(--lime); }
.pv-body { padding: 28px 24px 24px; display: grid; gap: 12px; align-content: start; }
.pv-body.center { justify-items: center; text-align: center; }
.pv-body h2 { font-size: 1.5rem; padding-right: 40px; }
.pv-art { aspect-ratio: 16 / 9; }
.dlg-product .dlg-in { display: grid; }
@media (min-width: 760px) { .dlg-product .dlg-in { grid-template-columns: 1fr 1fr; } .dlg-product .pv-art { aspect-ratio: auto; min-height: 100%; } }
.perks { display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks .ic { color: var(--lime); margin-top: 3px; }
.pv-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.pv-buy .price { font-size: 1.4rem; }
.qty { display: inline-flex; align-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 43, 32, .7); }
.qty button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: none; border-radius: 12px; }
.qty button:hover { background: rgba(185, 232, 120, .12); }
.qty output { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 32px; height: 32px; }
.blines { display: grid; gap: 10px; }
.blines li { display: grid; grid-template-columns: 54px 1fr auto auto; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.bl-art { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: rgba(54, 166, 107, .2); display: grid; place-items: center; }
.bl-art .ph { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 10px; }
.bl-art img { width: 100%; height: 100%; object-fit: contain; }
.bl-t { display: grid; min-width: 0; }
.bl-t strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-t .price { font-size: .95rem; }
.rm { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; color: var(--muted); border-radius: 8px; }
.rm:hover { color: var(--danger); }
@media (max-width: 420px) { .blines li { grid-template-columns: 46px 1fr auto; } .blines .rm { display: none; } }
.btotal { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); font-weight: 700; }
.btotal .price { font-size: 1.3rem; }
.bal { text-align: right; margin-top: -8px; }
.acc-head { display: flex; align-items: center; gap: 14px; }
.acc-head .av { width: 56px; height: 56px; border-radius: 16px; font-size: 1.4rem; }
.bal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.balc { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.balc span { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; }
.balc strong { font-family: var(--font-d); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.balc.eg span, .balc.eg strong { color: var(--lime); }
.balc.gold span, .balc.gold strong { color: var(--gold); }
.ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--bg); font-size: 1.8rem; animation: pop .6s var(--ease); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; gap: 16px; padding: 40px 0; }
.nf h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--lime); }

/* ---------- edit mode ---------- */
.editing [data-k] { outline: 1px dashed rgba(185, 232, 120, .45); outline-offset: 3px; border-radius: 4px; cursor: text; }
.editing [data-k]:hover { outline-color: var(--lime); background: rgba(185, 232, 120, .08); }
.editing [data-k]:focus { outline: 2px solid var(--lime); background: rgba(185, 232, 120, .12); }
.dock { position: fixed; z-index: 90; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); translate: -50% 0; max-width: calc(100% - 20px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 18px; background: rgba(8, 22, 16, .95); border: 1px solid var(--lime); box-shadow: var(--shadow); font-size: .84rem; }
@media (min-width: 860px) { .dock { bottom: 20px; } }
.dock .t { color: var(--lime); font-weight: 800; padding: 0 8px; }
.dock .sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 4px; }
.dock a, .dock button { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; }
.dock a:hover, .dock button:hover { border-color: var(--lime); }
.dock .primary, .drawer .primary { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.drawer { position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); overflow: auto; padding: 18px; background: #0b1f16; border-left: 1px solid var(--lime); translate: 100% 0; transition: translate .4s var(--ease); display: grid; gap: 10px; align-content: start; }
.drawer.open { translate: 0 0; }
.drawer h3 { font-size: .9rem; color: var(--lime); margin-top: 10px; }
.drawer .hint { color: var(--muted); font-size: .84rem; }
.drawer label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.drawer input[type=text], .drawer input:not([type]), .drawer input[type=number], .drawer select, .drawer textarea { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(16, 43, 32, .8); color: var(--text); font: 600 .92rem var(--font-b); width: 100%; }
.drawer textarea { padding: 10px; min-height: 70px; }
.drawer .chk { display: flex; align-items: center; gap: 8px; }
.drawer .close, .drawer .danger, .drawer button { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; }
.drawer .danger { color: var(--danger); border-color: rgba(255, 155, 138, .4); }
.dtabs { display: flex; gap: 6px; }
.dtabs button { flex: 1; }
.dtabs button[aria-selected="true"] { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.prd { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.prd summary { font-weight: 700; cursor: pointer; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .rv, .js [data-in] { opacity: 1; translate: none; }
}
@media (min-width: 860px) { .editing .toast { bottom: 90px; } }

/* ---------- designer ---------- */
.designing [data-k] { outline: none; cursor: default; background: none; }
.designing [data-k]:hover { background: none; }
.designing, .designing * { -webkit-user-select: none; user-select: none; }
.designing [contenteditable] { -webkit-user-select: text; user-select: text; cursor: text; outline: 2px solid var(--lime) !important; }
.d-hide { display: none !important; }
.d-ghost { opacity: .28 !important; outline: 1px dashed var(--danger); }
#d-free { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 30; pointer-events: none; }
.d-add { position: absolute; pointer-events: auto; width: max-content; max-width: 90vw; font-family: var(--font-d); line-height: 1.15; }
img.d-add { width: 240px; height: auto; }
.hov { position: fixed; z-index: 91; pointer-events: none; border: 1px solid rgba(185, 232, 120, .7); border-radius: 2px; }
.sel { position: fixed; z-index: 92; pointer-events: none; border: 1.5px solid #6fd3ff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.sel i { position: absolute; width: 11px; height: 11px; background: #fff; border: 1.5px solid #6fd3ff; border-radius: 2px; pointer-events: auto; touch-action: none; margin: -6px 0 0 -6px; }
.sel i[data-h="nw"] { left: 0; top: 0; cursor: nwse-resize; } .sel i[data-h="n"] { left: 50%; top: 0; cursor: ns-resize; } .sel i[data-h="ne"] { left: 100%; top: 0; cursor: nesw-resize; }
.sel i[data-h="e"] { left: 100%; top: 50%; cursor: ew-resize; } .sel i[data-h="se"] { left: 100%; top: 100%; cursor: nwse-resize; } .sel i[data-h="s"] { left: 50%; top: 100%; cursor: ns-resize; }
.sel i[data-h="sw"] { left: 0; top: 100%; cursor: nesw-resize; } .sel i[data-h="w"] { left: 0; top: 50%; cursor: ew-resize; }
.sel b { position: absolute; left: 50%; top: -30px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #6fd3ff; border: 2px solid #fff; pointer-events: auto; cursor: grab; touch-action: none; }
.sel-tag { position: absolute; left: 0; bottom: calc(100% + 6px); padding: 2px 8px; border-radius: 6px; background: #6fd3ff; color: #06202b; font: 700 11px/1.5 var(--font-b); white-space: nowrap; }
.sel b ~ .sel-tag { left: 0; }
.dpanel { position: fixed; z-index: 96; left: 12px; top: 80px; width: 250px; max-height: calc(100svh - 170px); overflow: auto; padding: 12px; display: grid; gap: 10px; align-content: start; background: rgba(8, 22, 16, .96); border: 1px solid var(--lime); border-radius: 16px; box-shadow: var(--shadow); font-size: .84rem; }
.dpanel .hint { color: var(--muted); font-size: .8rem; }
.dp-top, .dp-sel { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--lime); }
.dp-row { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dpanel label { display: grid; gap: 3px; font-weight: 700; color: var(--muted); font-size: .74rem; }
.dpanel input[type=number], .dpanel select { min-height: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(16, 43, 32, .8); color: var(--text); font: 600 .84rem var(--font-b); width: 100%; }
.dpanel input[type=color] { width: 100%; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: none; padding: 2px; }
.dpanel input[type=range] { width: 100%; accent-color: var(--lime); }
.dpanel button { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; font-size: .8rem; }
.dpanel button:hover { border-color: var(--lime); }
.dpanel .danger { color: var(--danger); border-color: rgba(255, 155, 138, .4); }
.dock .primary-alt { background: rgba(111, 211, 255, .15); border-color: #6fd3ff; color: #bfeaff; }
@media (max-width: 859px) { .dpanel { left: 8px; right: 8px; top: auto; bottom: 150px; width: auto; max-height: 38svh; } }

/* ---------- discord card ---------- */
.dc { display: grid; gap: 18px; align-items: center; padding: 28px; }
@media (min-width: 860px) { .dc { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 36px; } }
.dc-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(185, 232, 120, .12); color: var(--lime); font-size: 1.9rem; }
.dc-t h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.dc-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.dc-status .dot { background: var(--lime); }
.dc-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- rank tags (nuansa hijau, makin terang makin tinggi) ---------- */
.rtag { --c1: #36A66B; --c2: #1f7a4d; --t: #F3F5EF; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 9px; border-radius: 8px; font: 800 .8rem/1.2 var(--font-d); letter-spacing: .04em; color: var(--t); background: linear-gradient(180deg, var(--c1), var(--c2)); border: 1px solid rgba(243, 245, 239, .35); box-shadow: 0 2px 0 rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.rtag .ic { width: .95em; height: .95em; fill: currentColor; stroke-width: 1.2; }
.rt-vip { --c1: #36A66B; --c2: #1f7a4d; --t: #F3F5EF; }
.rt-mvp { --c1: #5FCB8A; --c2: #36A66B; --t: #0b2a1c; }
.rt-mvp2 { --c1: #8EDB7A; --c2: #4fb577; --t: #0b2a1c; }
.rt-mvp3 { --c1: #B9E878; --c2: #6fc27a; --t: #0b2a1c; }
.rt-legend { --c1: #F3F5EF; --c2: #B9E878; --t: #14402b; box-shadow: 0 0 14px rgba(185, 232, 120, .55), 0 2px 0 rgba(0, 0, 0, .28), inset 0 1px 0 #fff; }
.pc-tag { padding: 14px 18px 0; min-height: 0; }
.pc-tag:empty { display: none; }
.pc-tag + h3 { padding-top: 10px; }
.pv-body > .rtag { justify-self: start; }
.ic-eg { fill: currentColor; stroke: none; }

/* tag rank sebagai gambar utama kartu */
.rtag.big { gap: 0; padding: .3em .85em .3em; border-radius: 14px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: .06em; border-width: 1.5px; box-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 16px 34px -10px var(--c1), inset 0 2px 0 rgba(255, 255, 255, .35); transition: transform .45s var(--ease); }
.pcard:hover .rtag.big { transform: scale(1.06); }
.rt-legend.big { box-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 0 38px rgba(185, 232, 120, .65), inset 0 2px 0 #fff; }
.bl-art .rtag.big { font-size: .68rem; padding: 3px 6px; border-radius: 6px; border-width: 1px; box-shadow: none; }
.pv-art .rtag.big { font-size: clamp(2.2rem, 5vw, 3.2rem); }

.ic-eg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.chip-b .ic-eg, .btotal .ic-eg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
