:root{--kr-dasar:rgba(120,90,140,.14);--kr-kilau:rgba(255,255,255,.6)}html[data-tema=gelap]{--kr-dasar:rgba(255,255,255,.08);--kr-kilau:rgba(255,255,255,.1)}html[data-tema=nyaman]{--kr-dasar:rgba(120,90,40,.13);--kr-kilau:rgba(255,250,235,.55)}.kr{position:relative;display:block;overflow:hidden;border-radius:8px;background:transparent;flex:none}.kr:before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--kr-dasar)}.kr:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(100deg,transparent 20%,var(--kr-kilau) 50%,transparent 80%);transform:translate(-100%);animation:kr-geser 1.5s ease-in-out infinite}@keyframes kr-geser{to{transform:translate(100%)}}.kr-baris{height:calc(12px*var(--sh,1));width:100%}.kr-baris.kr-besar{height:calc(18px*var(--sh,1))}.kr-w30{width:30%}.kr-w40{width:40%}.kr-w55{width:55%}.kr-w70{width:70%}.kr-w85{width:85%}.kr-avatar{width:40px;height:40px;border-radius:50%}.kr-avatar.kr-kecil{width:32px;height:32px}.kr-pil{height:calc(24px*var(--sh,1));width:76px;border-radius:100px}.kr-tombol{height:calc(40px*var(--sh,1));width:140px;border-radius:100px}.kr-gelembung{height:calc(44px*var(--sh,1));border-radius:16px}.kr-kartu{display:flex;flex-direction:column;gap:10px;min-height:190px;padding:18px 18px 16px;border-radius:20px;background:var(--paper,transparent);border:1px solid rgba(var(--wr,120,90,140),.07)}.kr-meta{display:flex;gap:8px;flex-wrap:wrap}.kr-item{display:flex;align-items:center;gap:12px}.kr-teks{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.kr-tumpuk{display:flex;flex-direction:column;gap:14px}.kr-saldo{display:flex;flex-direction:column;gap:10px;padding:2px 0}.kr-saldo .kr-angka{height:calc(34px*var(--sh,1));width:55%;border-radius:10px}.kr-chat{display:flex;flex-direction:column;gap:10px;width:100%}.kr-chat .kr-kiri{align-self:flex-start;width:62%;border-bottom-left-radius:6px}.kr-chat .kr-kanan{align-self:flex-end;width:48%;border-bottom-right-radius:6px}.hb-kr{display:flex;flex-direction:column;width:100%}.hb-kr+.hb-empty{display:none}.kr-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.kr:after{display:none;animation:none}}@media(prefers-reduced-data:reduce){.kr:after{display:none;animation:none}}html.hemat-1 .kr:after,html.hemat-2 .kr:after,html.kr-diam .kr:after{display:none;animation:none}@media print{.kr:after{display:none}}
/* v1070 toko-digital-kerangka-muat-yang-rapi: bentuk kerangka halaman Shop (tab, cari, kategori, bilah jaminan, urutan, kartu). Ukuran meniru rapi.css agar tidak melompat saat data tiba. */
.kr-toko{display:block;width:100%}.kr-toko-tabs{display:flex;gap:8px;margin:0 0 14px}.kr-toko-tab{flex:1 1 0;max-width:160px;height:calc(40px*var(--sh,1));border-radius:99px}.kr-toko-cari{width:100%;height:44px;border-radius:14px;margin:0 0 12px}.kr-toko-kts{display:flex;gap:8px;overflow:hidden;margin:0 -16px 10px;padding:2px 16px 6px}.kr-toko-kt{flex:0 0 78px;width:78px;height:calc(92px*var(--sh,1));border-radius:16px}.kr-toko-jamin{width:100%;height:calc(38px*var(--sh,1));border-radius:14px;margin:2px 0 14px}.kr-toko-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}.kr-toko-bar>.kr-baris{width:30%}.kr-toko-urut{display:flex;gap:5px}.kr-toko-urut .kr-pil{width:58px;height:calc(26px*var(--sh,1))}.kr-toko-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kr-toko-kartu{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:var(--paper,transparent);border:1px solid rgba(var(--wr,120,90,140),.07);min-width:0}.kr-toko-gbr{width:100%;height:74px;border-radius:0}.kr-toko-isi{display:flex;flex-direction:column;gap:8px;padding:10px 11px 4px;flex:1}.kr-toko-isi .kr-pil.kr-kecil2{width:56px;height:calc(16px*var(--sh,1))}.kr-toko-harga{display:flex;justify-content:space-between;gap:8px;margin-top:6px}.kr-toko-btn{height:calc(38px*var(--sh,1));margin:8px 11px 11px;border-radius:11px}@media(min-width:720px){.kr-toko-kts{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:0 0 14px;padding:2px 2px 8px}.kr-toko-kt{width:auto;flex:none}.kr-toko-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.kr-toko-kartu:nth-child(n+7){display:none}}
/* Muncul halus saat data tiba (hanya pertama kali), mati bila gerak dikurangi. */
@keyframes kr-masuk{from{opacity:.0}to{opacity:1}}#shop-root.kr-baru>*{animation:kr-masuk .22s ease-out both}
@media(prefers-reduced-motion:reduce){#shop-root.kr-baru>*{animation:none}}html.hemat-1 #shop-root.kr-baru>*,html.hemat-2 #shop-root.kr-baru>*,html.kr-diam #shop-root.kr-baru>*{animation:none}
/* Mode kontras tinggi / warna paksa: kotak kerangka diberi garis tepi agar tetap terlihat. */
@media(forced-colors:active){.kr{outline:1px solid CanvasText;outline-offset:-1px}.kr:before{background:transparent}}@media(prefers-contrast:more){.kr:before{background:rgba(120,90,140,.28)}}
.kr-salah{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 16px;text-align:center}.kr-salah b{font-size:calc(15px*var(--sh,1))}.kr-salah span{font-size:calc(13px*var(--sh,1));opacity:.8}

/* v1271 chat-kerangka-muat-yang-rapi: bentuk halaman Chat Admin (kartu sapaan + gelembung kiri/kanan). Latar chat selalu terang, jadi warna dasar dikunci agar tetap terlihat di tema gelap. */
.hb-kr{--kr-dasar:rgba(120,90,140,.14);--kr-kilau:rgba(255,255,255,.6);gap:8px}
.kr-bantuan{display:flex;flex-direction:column;gap:8px;width:100%}.kr-bt-kartu{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #F3C9DE}.kr-bt-baris{display:flex;flex-direction:column;gap:7px;max-width:80%;padding:10px 12px 7px;border-radius:18px}.kr-bt-kiri{align-self:flex-start;width:72%;background:#fff;border:1px solid #F3C9DE;border-bottom-left-radius:6px}.kr-bt-kanan{align-self:flex-end;width:58%;background:rgba(255,29,134,.08);border-bottom-right-radius:6px}.kr-bt-baris .kr-bt-jam{width:34px;height:calc(8px*var(--sh,1));align-self:flex-end}
@keyframes hb-masuk{from{opacity:0}to{opacity:1}}.hb-baru>.hb-m,.hb-baru>.hb-empty{animation:hb-masuk .22s ease-out both}
@media(prefers-reduced-motion:reduce){.hb-baru>.hb-m,.hb-baru>.hb-empty{animation:none}}html.hemat-1 .hb-baru>.hb-m,html.hemat-2 .hb-baru>.hb-m,html.kr-diam .hb-baru>.hb-m,html.hemat-1 .hb-baru>.hb-empty,html.hemat-2 .hb-baru>.hb-empty,html.kr-diam .hb-baru>.hb-empty{animation:none}
@media(forced-colors:active){.kr-bt-kartu,.kr-bt-kiri{border-color:CanvasText}.kr-bt-kanan{background:transparent;outline:1px solid CanvasText}}@media(prefers-contrast:more){.hb-kr{--kr-dasar:rgba(120,90,140,.3)}}
