/* Rezemi — palet teal + emas, shell mobile 430px. */
:root {
  --bg: #eaf7fc;
  --surface: #fff;
  --tint: #f4fbfe;
  --line: #c7e8f4;
  --ink: #123b4a;
  --muted: #527487;
  --teal: #12465a;
  --teal-2: #187497;
  --gold: #b5862f;
  --gold-ink: #65430c;
  --gold-soft: #f4dfab;
  --up: #16a06d;
  --down: #d64545;
  --r-sm: 8px;
  --r-md: 14px;
  --app-max: 430px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 14px/1.5 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #d7eef7, var(--bg) 60%) fixed;
  min-height: 100vh;
}
a { color: var(--teal-2); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2f9fca80; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: 12px; }
.nowrap { white-space: nowrap; }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: 17px; }
.page-title { font-size: 22px; }

/* ---------- Shell ---------- */
.app {
  max-width: var(--app-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 20px);
}
.app--bare { padding-bottom: 32px; }
.app:has(.buybar) { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 96px); }
.app--admin { max-width: 1040px; }
.main { padding: 0 16px; display: grid; gap: 16px; align-content: start; }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; text-decoration: none; color: var(--teal); }
.brand--sm { font-size: 14px; }
.brand--sm .brand__mark, .brand--sm .brand__logo { width: 26px; height: 26px; font-size: 13px; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold)); color: var(--gold-ink); font-size: 15px; font-weight: 700;
}
.brand__logo { width: 32px; height: 32px; object-fit: contain; flex: none; }
.brand__mark--lg { width: 56px; height: 56px; font-size: 24px; }
.hello { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.hello span:last-child { display: grid; line-height: 1.2; min-width: 0; }
.hello small { color: var(--muted); font-size: 11px; }
.hello b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--teal); color: #fff; font-weight: 700;
}
.avatar--lg { width: 60px; height: 60px; font-size: 24px; }

/* Header halaman dalam */
.ptop { display: flex; align-items: center; gap: 8px; padding-top: 14px; }
.ptop a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--teal); text-decoration: none; font-size: 18px; }
.ptop h1 { font-size: 18px; }
.app:not(.app--bare) .main > .page-title:first-child,
.main > .block:first-child, .main > h1:first-child { margin-top: 14px; }
.back { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; text-decoration: none; font-weight: 600; }
/* Shared components and responsive layout. */
body { font-size: 13px; }
.app { background: #fff; border-inline: 1px solid var(--line); }
.main { padding: 0 12px; gap: 14px; }
a { text-underline-offset: 3px; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
input, select, textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; flex: none; accent-color: var(--teal); }
input[type=file] { font-size: 12px; padding: 8px; }
textarea { resize: vertical; }
input[aria-invalid=true] { border-color: var(--down); }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 10px; }
.form, .stack { display: grid; gap: 14px; }
fieldset { min-width: 0; }
legend { padding: 0 6px; font-weight: 700; }
.form fieldset { border: 0; padding: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; min-width: 0; overflow-wrap: anywhere; }
.panel h2 { margin-bottom: 5px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row>* { min-width: 0; }
.row--start { justify-content: flex-start; }
.row--total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 16px; font-weight: 700; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 42px; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.4; }
.btn:hover { filter: brightness(.96); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--gold { background: linear-gradient(120deg,#ffe6a0,#d4a54c); color: #62440d; border-color: #d6b36b; }
.btn--ghost { background: #fff; border-color: #bdd9e3; color: var(--teal-2); }
.btn--danger { background: #fff1f0; color: #a63333; border-color: #f0cfcb; }
.btn--block { width: 100%; }
.btn--sm { min-height: 32px; padding: 6px 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--tint); border: 0; border-radius: 6px; color: var(--teal); }
.flash { border: 1px solid #b5d7c5; border-radius: 6px; padding: 12px; background: #edf8f1; color: #246341; }
.flash--err, .ferr { color: #a13636; }
.flash--err { background: #fff2ef; border-color: #ebc8be; }
.hint, .ferr { font-size: 11px; font-weight: 400; }
.note { background: var(--tint); border-left: 3px solid var(--gold); padding: 12px 14px; color: var(--muted); font-size: 12px; }
.empty { text-align: center; padding: 32px 18px; color: var(--muted); background: var(--tint); border: 1px dashed var(--line); border-radius: 8px; line-height: 1.8; }
.up { color: #14745a; }
.down { color: var(--down); }
.eyebrow { display: block; letter-spacing: 1.5px; font-size: 9px; font-weight: 700; color: #907033; }
.st, .tag { display: inline-block; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 600; line-height: 1.4; background: #eaf3f8; color: #36637a; white-space: nowrap; }
.st--paid,.st--approved,.st--dibayar,.st--completed,.st--selesai { background: #e7f4ed; color: #23694b; }
.st--pending,.st--processing,.st--menunggu_verifikasi,.st--menunggu_bayar { background: #fff5dd; color: #89621c; }
.st--rejected,.st--batal { background: #fcecea; color: #a6463b; }
.hero { background: linear-gradient(115deg,#12465a,#235d70); color: #fff; padding: 22px 18px; border-radius: 10px; position: relative; overflow: hidden; }
.hero:after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid #d4bd7e40; border-radius: 50%; right: -95px; top: -60px; pointer-events: none; }
.hero h1,.hero__big { margin: 6px 0; font-size: 28px; line-height: 1.3; overflow-wrap: anywhere; }
.hero h1 small { font-size: 12px; margin-left: 5px; font-weight: 400; }
.hero__date,.hero__note { color: #d3e6ed; font-size: 11px; }
.hero__delta { font-size: 12px; color: #e9d9a3; }
.hero__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid #ffffff26; padding-top: 14px; margin-top: 14px; }
.hero__row dt { font-size: 10px; color: #c3dce5; }
.hero__row dd { margin-top: 4px; font-weight: 700; font-size: 14px; }
.hero__more { color: #fff; font-size: 11px; }
.hero__note { margin-top: 10px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metrics dt { color: var(--muted); font-size: 10px; }
.metrics dd { font-size: 14px; font-weight: 700; margin-top: 2px; }
.metrics>div:last-child { text-align: right; }
.spark { display: block; width: 100%; height: 70px; }
.spark__fill { fill: #2f9fca17; }
.spark__line { fill: none; stroke: #2f9fca; stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero .spark { margin-block: 14px; }
.hero .spark__line { stroke: #e9d79b; }
.hero .spark__fill { fill: #e9d79b15; }
.bnav { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 430px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px #12465a0a; }
.bnav a { display: grid; grid-template-rows: 36px 16px; align-items: center; justify-items: center; gap: 2px; color: var(--muted); font-size: 10px; text-decoration: none; }
.bnav i { display: grid; place-items: center; width: 36px; height: 36px; font-size: 20px; border-radius: 8px; }
.bnav .is-on { color: var(--teal-2); font-weight: 700; }
.bnav .is-on i { background: #eaf7fc; }
.bnav .bnav__buy { color: #805a19; font-weight: 700; }
.bnav .bnav__buy i { width: 52px; height: 52px; border-radius: 50%; transform: translateY(-7px); font-size: 24px; color: #65430c; border: 3px solid #fff; background: linear-gradient(145deg,#fff7d6,#e9bc55 34%,#fff0ad 51%,#d7a43c 76%,#f6d781); box-shadow: 0 0 0 1px #dab15c,0 4px 10px #9b6f2438,inset 0 2px 2px #fff8de; }
.home-main { gap: 12px; }
.gold-banner { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; min-height: 170px; margin-inline: -12px; padding: 20px 16px; overflow: hidden; background: radial-gradient(ellipse at 80% 10%,#f8e9bc 0,transparent 65%),linear-gradient(125deg,#f5fbfc,#e8f5f8); }
.gold-banner h1 { font-size: 24px; color: #12465a; line-height: 1.17; margin-top: 7px; max-width: 230px; }
.gold-banner p { font-size: 10px; color: #527487; margin-block: 8px; max-width: 190px; }
.gold-banner a { font-size: 11px; font-weight: 700; text-decoration: none; }
.gold-banner__art { position: relative; display: grid; place-items: center; min-height: 140px; }
.gold-art { width: 80px; height: 112px; padding: 12px 7px; border-radius: 9px; color: #76521e; background: linear-gradient(125deg,#f9e6aa,#e7bd61 20%,#fff0b6 48%,#d2a148 72%,#f8df9b); border: 2px solid #eed38b; box-shadow: inset 0 0 0 3px #b8863155,inset 2px 2px 5px #fff5d4,6px 8px 14px #85611b25; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; transform: rotate(-9deg); }
.gold-art span { font-size: 7px; letter-spacing: .6px; overflow-wrap: anywhere; }
.gold-art b { font-size: 17px; letter-spacing: 1px; text-shadow: 0 1px #fff1be; }
.gold-art small { font-size: 9px; }
.gold-banner__art .gold-art { width: 94px; height: 130px; transform: rotate(15deg); }
.gold-coin { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg,#fff0b8,#d2a64f,#f6d791); color: #9a742e; border: 4px double #c29645; position: absolute; bottom: -6px; left: -5px; box-shadow: 4px 6px 10px #70521d2a; display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.balance-card { background: linear-gradient(110deg,#eff8fb,#fff 80%); border-block: 1px solid #d5e6ec; margin-inline: -12px; padding: 8px 14px 10px; }
.balance-total { display: block; font-size: 25px; line-height: 1.3; font-weight: 700; }
.balance-card .icon-btn { background: transparent; width: 28px; height: 28px; }
.account-state { font-size: 9px; color: var(--muted); margin-top: 5px; }
.account-state:before { content: ''; display: inline-block; width: 5px; height: 5px; background: #278367; border-radius: 50%; margin-right: 5px; }
.balance-card .metrics { border-block: 1px solid #dce9ed; padding-block: 7px; margin-block: 8px; }
.balance-card .btn { min-height: 36px; padding-block: 7px; font-size: 11px; }
.gold-quote { padding-block: 5px 12px; border-bottom: 1px solid var(--line); }
.gold-quote h2 { font-size: 14px; }
.gold-quote h2 small { font-size: 10px; background: #e1f2f8; padding: 3px 6px; border-radius: 4px; }
.gold-quote>.row>span { font-size: 10px; }
.quote-body { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; margin-block: 8px; }
.quote-body strong { font-size: 23px; }
.quote-body .spark { height: 60px; }
.gold-quote .metrics { border-top: 1px solid var(--line); padding-top: 6px; margin-bottom: 8px; }
.gold-quote .metrics dd { font-size: 11px; }
.quick { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; padding-block: 7px; }
.quick a { display: grid; justify-items: center; gap: 8px; color: #315d6d; text-decoration: none; font-size: 10px; font-weight: 600; text-align: center; }
.quick i { width: 38px; height: 38px; display: grid; place-items: center; font-size: 18px; color: #694815; background: linear-gradient(145deg,#fff0bc,#f4d47c 28%,#ddb04a 48%,#ffeab0 64%,#d7a640); border: 1px solid #d6b05a; border-radius: 50%; box-shadow: inset 0 2px 2px #fffbe8d9,0 3px 6px #ad7e2630; }
.help-strip { display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 10px; margin-inline: -12px; padding: 12px; text-decoration: none; border-block: 1px solid var(--line); background: linear-gradient(100deg,#f4fbfe,#fff); }
.help-strip>i:first-child { display: grid; place-items: center; width: 38px; height: 38px; font-size: 24px; background: #f9f4e8; color: #906923; border-radius: 8px; }
.help-strip span { display: grid; gap: 2px; }
.help-strip small { color: var(--muted); font-size: 10px; }
.block { display: grid; gap: 12px; }
.block__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 4px 10px; }
.block__head>a { font-size: 11px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.block__head em { color: #906923; font-style: normal; }
.block__head h2>i { color: #9a7026; font-size: 16px; }
.product-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 3px 0 8px; }
.home-product { flex: 0 0 94%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-columns: minmax(0,1fr) 85px; align-items: center; gap: 16px; padding: 12px; }
.home-product h3 { font-size: 14px; }
.home-product dl { margin-block: 10px; font-size: 11px; }
.home-product dl>div { display: flex; justify-content: space-between; gap: 6px; }
.home-product dd { font-weight: 700; }
.home-product .btn { min-height: 34px; padding: 7px; }
.home-product .gold-art { width: 70px; height: 105px; }
.carousel-hint { text-align: right; font-size: 10px; }
.links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 11px; padding-block: 12px; }
.sfoot { padding: 18px 8px; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.8; }
.sfoot b { color: var(--teal); }
.intro-band { padding: 22px 16px; margin-inline: -12px; background: linear-gradient(115deg,#eaf7fc,#fdf9ee); border-block: 1px solid var(--line); }
.intro-band h1 { font-size: 23px; margin-block: 7px; }
.intro-band p { color: var(--muted); font-size: 12px; }
.package { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.package header { display: flex; justify-content: space-between; padding: 9px 14px; background: var(--tint); font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.package__body { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 20px; padding: 20px; }
.package__body h2 { margin-bottom: 10px; }
.price { font-size: 22px; }
.package .metrics { margin-inline: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.package details { border-top: 1px solid var(--line); }
summary { padding: 13px 15px; color: var(--teal-2); font-weight: 600; }
details>.stack { padding: 0 15px 15px; font-size: 12px; }
progress { width: 100%; height: 7px; border: 0; border-radius: 5px; accent-color: var(--teal-2); overflow: hidden; }
progress::-webkit-progress-bar { background: #e5eff3; }
progress::-webkit-progress-value { background: var(--teal-2); }
.referral-code { font-size: 24px; letter-spacing: 2px; color: var(--gold); }
.rek { display: grid; gap: 3px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 14px; overflow-wrap: anywhere; }
.rek span { color: var(--muted); font-size: 12px; }
.auth { padding: 34px 24px; display: grid; gap: 28px; }
.auth__brand { display: grid; justify-items: center; gap: 14px; text-align: center; }
.auth__brand h1 { font-size: 23px; }
.auth__brand p { color: var(--muted); font-size: 12px; }
.auth__alt { text-align: center; font-size: 12px; color: var(--muted); }
.pw { display: flex; position: relative; }
.pw input { padding-right: 44px; }
.pw__toggle { position: absolute; inset: 1px 1px 1px auto; width: 42px; background: transparent; border: 0; color: var(--muted); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter>input,.filter>.search { flex: 1 1 140px; }
.filter>select { flex: 1 1 120px; width: auto; }
.search { display: flex; align-items: center; position: relative; }
.search>i { position: absolute; left: 12px; color: var(--muted); }
.search input { padding-left: 35px; }
.chips { display: flex; gap: 7px; overflow-x: auto; padding-block: 5px; }
.chips a { flex: none; padding: 7px 13px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 12px; }
.chips .is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pcard { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); }
.pcard__img { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg,#f4fbfe,#f6f0dd); position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pcard .tag { position: absolute; right: 8px; top: 8px; background: #fff; }
.pcard__body { padding: 12px; }
.pcard h3 { font-size: 13px; }
.pcard__price { font-weight: 700; margin-block: 6px; color: var(--teal-2); }
.art { display: grid; place-items: center; width: 70px; height: 100px; background: linear-gradient(130deg,#ffebb4,#d8ae56,#f9df91); border: 4px double #b28a3e; border-radius: 7px; color: #79551e; transform: rotate(-8deg); box-shadow: 5px 8px 14px #98793922; }
.art--koin { width: 90px; height: 90px; border-radius: 50%; }
.art--perhiasan { width: 85px; height: 85px; border-radius: 50%; background: transparent; border: 10px solid #d6b467; }
.detail-img { display: grid; place-items: center; min-height: 250px; background: var(--tint); border-radius: 12px; }
.detail-img img { max-height: 300px; object-fit: contain; }
.detail-img .art { transform: scale(1.7) rotate(-8deg); }
.item { display: flex; gap: 15px; align-items: center; }
.item__img { width: 65px; height: 80px; flex: none; display: grid; place-items: center; }
.item__img .art { width: 46px; height: 62px; font-size: 11px; }
.item h2 { font-size: 14px; }
.qty { display: flex; align-items: center; gap: 0; }
.qty input { width: 60px; text-align: center; border-radius: 0; }
.qty button { width: 36px; min-height: 44px; border: 1px solid var(--line); background: var(--tint); font-size: 20px; }
.buybar { position: fixed; bottom: calc(72px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: 100%; max-width: 428px; display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-top: 1px solid var(--line); z-index: 20; }
.buybar .btn { flex: 1; }
.olist { list-style: none; padding: 0; display: grid; gap: 10px; }
.olist li>a { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.promo { background: #f8f3e6; border: 1px solid #e8dabb; padding: 18px; border-radius: 8px; display: grid; gap: 12px; }
.tablewrap { overflow-x: auto; max-width: 100%; }
.ptable { width: 100%; border-collapse: collapse; font-size: 12px; }
.ptable th,.ptable td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.ptable th { color: var(--muted); font-size: 10px; font-weight: 600; }
.proof { max-width: 100%; max-height: 380px; object-fit: contain; }
.atop { display: flex; justify-content: space-between; align-items: center; padding: 24px; gap: 16px; background: #12465a; }
.atop .brand,.atop .muted { color: #fff; }
.atabs { padding: 14px 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.app--admin .main { padding-inline: 24px; }
.app--admin .main>.page-title { font-size: 25px; }
.kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.kpis>div { padding: 18px; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; }
.kpis dt { color: var(--muted); font-size: 11px; }
.kpis dd { font-size: 22px; font-weight: 700; margin-top: 8px; overflow-wrap: anywhere; }
.kpis .small { font-size: 13px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.count { font-size: 10px; padding: 1px 5px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.welcome { border: 1px solid var(--line); border-radius: 10px; width: min(360px,calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 14px; color: var(--ink); box-shadow: 0 16px 56px #0a2e3b38; }
.welcome::backdrop { background: #0c252d85; backdrop-filter: blur(3px); }
.welcome__body { display: grid; gap: 16px; padding: 20px 4px 4px; }
.welcome__body h2 { font-size: 24px; }
@media(max-width:700px) { .cols { grid-template-columns: 1fr; }.kpis { grid-template-columns: 1fr 1fr; }.atop { padding: 16px; }.atop .brand { font-size: 14px; }.atabs { padding-inline: 12px; }.app--admin .main { padding-inline: 12px; } }
@media(max-width:360px) { .gold-banner h1 { font-size: 21px; }.gold-banner__art { transform: scale(.85); }.balance-total { font-size: 22px; }.package__body { gap: 12px; padding: 14px; }.price { font-size: 20px; }.row { gap: 7px; }.st { white-space: normal; }.actions .btn { padding-inline: 8px; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.detail { display: grid; gap: 16px; }
.detail__img { display: grid; place-items: center; height: 260px; background: linear-gradient(135deg,#f4fbfe,#f6f0dd); border-radius: 8px; overflow: hidden; }
.detail__img img { width: 100%; height: 100%; object-fit: contain; }
.detail__img .art { transform: scale(1.7) rotate(-8deg); }
.detail__price { font-size: 24px; font-weight: 700; }
.specs { display: grid; gap: 8px; }
.specs>div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; }
.profile { display: flex; align-items: center; gap: 14px; padding-block: 22px; }
.profile h1 { font-size: 22px; }
.acc>.form { padding-top: 10px; }
.list { list-style: none; display: grid; padding: 0; }
.list>a,.list>li { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.list>a>span { flex: 1; }
.list>li>div { display: grid; gap: 3px; }
.list>li span { color: var(--muted); font-size: 12px; }
.list i { color: var(--teal-2); font-size: 19px; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding-block: 12px; }
.stats dt { font-size: 10px; color: var(--muted); }
.stats dd { font-weight: 600; font-size: 11px; }
.hero__row--light { border-color: var(--line); margin-block: 10px; }
.hero__row--light dt { color: var(--muted); }
.home-banner-image { display: block; width: calc(100% + 24px); max-width: none; margin-inline: -12px; height: auto; }
.legal-logo { max-width: 150px; max-height: 45px; margin: 12px auto; object-fit: contain; }

/* Penyelarasan beranda berdasarkan CSS publik DigitalEmas, 3 November 2026. */
.home-main { background: #fff; }
.home-main .balance-card { position: relative; font-variant-numeric: tabular-nums; }
.balance-card:before { content: ''; position: absolute; top: 0; left: 14px; width: 40px; height: 2px; background: #b89950; }
.balance-total { font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.gold-quote { padding-top: 8px; }
.gold-quote .quote-body { gap: 8px; grid-template-columns: max-content minmax(0,1fr); }
.gold-quote .quote-body strong { font-size: 22px; }
.gold-quote>.row>span { border-radius: 999px; padding: 2px 7px; font-size: 12px; font-weight: 700; }
.gold-quote>.row>.up { background: #e5f4ed; }.gold-quote>.row>.down { background: #fbedec; }
.quick a { font-size: 11px; gap: 7px; }
.block__head { position: relative; }.block__head:after { content: ''; position: absolute; bottom: -1px; left: 0; width: 36px; height: 2px; background: var(--gold); }
.home-product { min-width: 0; grid-template-columns: minmax(0,1fr) minmax(84px,31%); gap: 10px; padding: 10px; }
.home-product:only-child { flex-basis: 100%; }.home-product h3 { overflow-wrap: anywhere; }
.home-product .gold-art { justify-self: center; }.home-product .btn { background: #187497; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.carousel-dots,.carousel-actions { display: flex; align-items: center; gap: 4px; }
.carousel-dots button { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; background: none; border: 0; }
.carousel-dots button:before { content: ''; width: 5px; height: 5px; border-radius: 3px; background: #c7d8dc; }
.carousel-dots button[aria-current=true]:before { width: 16px; background: var(--gold); }
.carousel-actions button { width: 32px; height: 32px; border: 1px solid #e6d8b9; border-radius: 50%; background: #fff; color: #906923; font-size: 20px; }
.carousel-actions button:nth-child(2) { background: #f9f4e8; font-size: 14px; }

/* Administration: sections lisibles et actions accessibles sur mobile. */
.app--admin { max-width: 1180px; background: #f5f8fa; }
.app--admin .main { padding-bottom: 32px; }.app--admin .panel { background: #fff; }
.app--admin fieldset { min-width: 0; }.app--admin legend { padding-inline: 6px; font-weight: 700; }
.admin-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border: 1px solid #dce8ed; border-radius: 12px; background: linear-gradient(110deg,#fff,#edf7fa); }
.admin-intro h2 { margin-block: 8px; font-size: 24px; }.admin-intro p { color: var(--muted); max-width: 560px; }
.admin-intro .btn { flex-shrink: 0; }
.settings-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.settings-shortcuts a { padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.settings-form [id] { scroll-margin-top: 20px; }.settings-form input:not([type=checkbox]),.settings-form textarea { width: 100%; }
.media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.media-card { display: grid; gap: 12px; align-content: start; padding: 14px; border: 1px solid #dce8ed; border-radius: 8px; }
.media-preview { display: grid; place-items: center; height: 140px; padding: 12px; background: #f2f7f9; border-radius: 6px; color: var(--muted); font-size: 12px; }
.media-preview img { width: 100%; height: 116px; object-fit: contain; }
.media-card input[type=file] { font-size: 12px; padding: 8px; }
.settings-save { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 24px #123b4a12; }
.settings-save>span { color: var(--muted); font-size: 12px; }
[hidden] { display: none !important; }
@media(max-width:700px) { .settings-grid,.media-grid { grid-template-columns: 1fr; }.admin-intro { align-items: flex-start; flex-direction: column; padding: 18px; }.admin-intro h2 { font-size: 21px; }.settings-save { bottom: 8px; padding: 12px; }.settings-save .btn { flex-shrink: 0; } }
