/* =========================================================================
   HIVE · demo bergerak per aplikasi
   Peraga ringan (HTML/CSS/JS, tanpa video dan tanpa gambar) yang meniru
   tampilan aplikasinya. Strukturnya dibangun demo-hive.js di dalam
   <div class="dm" data-demo="...">. Isi bawaan div itu (daftar langkah)
   tetap terbaca bila JavaScript mati.
   ========================================================================= */

.dm {
  --c: #f59e0b; --c-soft: #fef6e7; --c-hi: #fbbf24; --c-ink: #b45309;
  position: relative; container-type: inline-size;
  border-radius: 18px; overflow: hidden;
  background: var(--c-soft);
  border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
  isolation: isolate;
}
.dm--pos    { --c: #7c3aed; --c-soft: #f5f1ff; --c-hi: #c4b5fd; --c-ink: #6d28d9; }
.dm--settle { --c: #d97706; --c-soft: #fff8eb; --c-hi: #fcd34d; --c-ink: #b45309; }
.dm--tap    { --c: #e11d48; --c-soft: #fff1f3; --c-hi: #fda4af; --c-ink: #be123c; }
.dm--course { --c: #16a34a; --c-soft: #effcf3; --c-hi: #86efac; --c-ink: #15803d; }

/* isi cadangan tanpa JavaScript */
.dm-fallback { padding: 22px 22px 24px; }
.dm-fallback b { display: block; color: var(--ink); font-size: 17px; }
.dm-fallback ol { margin-top: 12px; display: grid; gap: 8px; counter-reset: l; font-size: 15px; }
.dm-fallback li { display: flex; gap: 10px; counter-increment: l; }
.dm-fallback li::before { content: counter(l); width: 24px; height: 24px; flex: none; border-radius: 8px; background: var(--c); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.dm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* gelembung latar seperti video penjelas */
.dm::before, .dm::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 9%, transparent);
}
.dm::before { width: 46cqi; height: 46cqi; left: -14cqi; bottom: -18cqi; }
.dm::after { width: 30cqi; height: 30cqi; right: -8cqi; top: -10cqi; }

.dm-head { position: relative; padding: 18px 20px 4px; min-height: 86px; }
.dm-kick { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink); }
.dm-kick .n { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; letter-spacing: 0; font-size: 12px; }
.dm-title { margin-top: 6px; font-size: clamp(19px, 4.4cqi, 27px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.dm-title em, .dm-cover em { font-style: normal; color: var(--c); }
.dm-head .dm-kick, .dm-head .dm-title { transition: opacity .35s ease, transform .35s ease; }
.dm-head.swap .dm-kick, .dm-head.swap .dm-title { opacity: 0; transform: translateY(8px); }

.dm-view { position: relative; overflow: hidden; margin: 6px 14px 0; height: 350px; }
.dm-stage {
  position: absolute; left: 0; top: 0; width: 560px; height: 350px; transform-origin: 0 0;
  font-size: 12px; line-height: 1.35; color: #334155; text-align: left;
}
.dm-bar { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 12px 0 14px; }
.dm-bar i { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--c) 25%, #fff); transition: width .35s, background .35s; }
.dm-bar i.on { width: 22px; background: var(--c); }

/* tombol jeda (WCAG 2.2.2) */
.dm-pp {
  position: absolute; z-index: 6; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); background: rgba(255, 255, 255, .9); color: var(--ink);
  display: grid; place-items: center; padding: 0;
}
.dm-pp svg { width: 14px; height: 14px; }
.dm-pp .play { display: none; }
.dm.is-paused .dm-pp .play { display: block; }
.dm.is-paused .dm-pp .pause { display: none; }
.dm--static .dm-pp { display: none; }

/* sampul pembuka/penutup */
.dm-cover {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center;
  padding: 24px; background: var(--ink); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
}
.dm-cover.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.dm-cover.c-app { background: var(--c); }
.dm-cover.c-app em { color: #fff; text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .14em; text-decoration-color: rgba(255, 255, 255, .55); }
.dm-cover.c-dark em { color: var(--c-hi); }
.dm-cover::before, .dm-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.dm-cover::before { width: 34cqi; height: 34cqi; left: -6cqi; top: -10cqi; }
.dm-cover::after { width: 24cqi; height: 24cqi; right: -4cqi; bottom: -6cqi; }
.dm-cover-in { position: relative; max-width: 30ch; }
.dm-cover h3 { color: #fff; font-size: clamp(24px, 7cqi, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.dm-cover p { margin: 12px auto 0; max-width: 34ch; font-size: clamp(14px, 2.8cqi, 17px); color: rgba(255, 255, 255, .78); }
.dm-cover .logo { width: clamp(52px, 12cqi, 76px); height: auto; margin: 0 auto 16px; display: block; }
.dm-cover .chip { display: inline-flex; margin-top: 18px; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: clamp(13px, 2.6cqi, 16px); }
.dm-cover .stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dm-cover .stat { background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; min-width: 9.5em; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
.dm-cover .stat small { display: block; font-size: 11px; font-weight: 600; color: #64748b; }
.dm-cover .stat b { display: block; font-size: clamp(16px, 3.6cqi, 22px); font-weight: 800; letter-spacing: -.02em; }
.dm-cover .pop { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.dm-cover.on .pop { opacity: 1; transform: none; }
.dm-cover.on .pop:nth-child(2) { transition-delay: .15s; }
.dm-cover.on .pop:nth-child(3) { transition-delay: .3s; }

/* kursor */
.dm-cur {
  position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 22px; pointer-events: none;
  transform: translate(600px, 380px); transition: transform .75s cubic-bezier(.45, 0, .2, 1), opacity .3s;
}
.dm-cur svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.dm-cur::after {
  content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--c); opacity: 0; transform: scale(.4);
}
.dm-cur.tap::after { animation: dm-tap .45s ease-out; }
@keyframes dm-tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }

/* toast centang hijau */
.dm-toast {
  position: absolute; z-index: 25; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: #0f172a; color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px 8px 8px; border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3);
}
.dm-toast.on { opacity: 1; transform: none; }
.dm-toast i { width: 20px; height: 20px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; }
.dm-toast i svg { width: 12px; height: 12px; }

/* bagian umum maket */
.mk { position: absolute; background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .35); overflow: hidden; }
.mk-bar { height: 22px; display: flex; align-items: center; gap: 4px; padding: 0 9px; background: #f8fafc; border-bottom: 1px solid #eef0f3; }
.mk-bar i { width: 6px; height: 6px; border-radius: 50%; background: #d7dbe1; }
.mk-bar span { margin-left: 8px; font-size: 9px; color: #94a3b8; }
.mk-side { position: absolute; left: 0; top: 22px; bottom: 0; width: 112px; border-right: 1px solid #eef0f3; padding: 10px 8px; background: #fff; }
.mk-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; color: #0f172a; margin-bottom: 10px; }
.mk-brand svg { width: 20px; height: 20px; flex: none; }
.mk-nav { display: grid; gap: 3px; }
.mk-nav span { display: block; padding: 5px 7px; border-radius: 7px; font-size: 10px; color: #475569; }
.mk-nav span.on { background: var(--c-soft); color: var(--c-ink); font-weight: 700; }
.mk-main { position: absolute; left: 112px; right: 0; top: 22px; bottom: 0; padding: 12px 14px; }
.mk-h { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
.mk-sub { font-size: 10px; color: #64748b; }
.mk-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 99px; border: 1px solid #e5e7eb; font-size: 10px; font-weight: 600; color: #334155; background: #fff; transition: background .25s, color .25s, border-color .25s; }
.mk-chip.on { background: var(--c); border-color: var(--c); color: #fff; }
.mk-btn { display: flex; align-items: center; justify-content: center; height: 28px; border-radius: 8px; background: var(--c); color: #fff; font-weight: 700; font-size: 11.5px; transition: transform .15s, filter .2s; }
.mk-card { border: 1px solid #e8eaee; border-radius: 10px; background: #fff; transition: border-color .25s, box-shadow .25s, transform .2s; }
.press { transform: scale(.95) !important; }
.lit { border-color: var(--c) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent) !important; }
.money { font-variant-numeric: tabular-nums; }
.in-up { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.in-up.on { opacity: 1; transform: none; }
.in-pop { opacity: 0; transform: scale(.9); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.in-pop.on { opacity: 1; transform: none; }
.ok-dot { width: 16px; height: 16px; border-radius: 50%; background: #16a34a; color: #fff; display: inline-grid; place-items: center; flex: none; }
.ok-dot svg { width: 10px; height: 10px; }
.tag { display: inline-flex; align-items: center; height: 17px; padding: 0 7px; border-radius: 99px; font-size: 9px; font-weight: 700; }

/* ---------- POSHive: kasir ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; width: 248px; }
.p-item { padding: 8px 9px; height: 64px; display: flex; flex-direction: column; }
.p-item b { font-size: 10.5px; color: #0f172a; }
.p-item small { font-size: 8.5px; color: #94a3b8; }
.p-item span { margin-top: auto; font-weight: 700; color: var(--c); font-size: 10.5px; }
.p-cart { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 150px; padding: 10px; display: flex; flex-direction: column; }
.p-cart h5 { margin: 0; font-size: 11.5px; color: #0f172a; }
.p-lines { margin-top: 6px; display: grid; gap: 5px; }
.p-line { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; padding-bottom: 5px; border-bottom: 1px solid #f1f5f9; }
.p-line b { color: #0f172a; font-weight: 600; }
.p-line .q { color: var(--c); font-weight: 700; }
.p-tot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.p-tot span { font-size: 10px; color: #64748b; }
.p-tot b { font-size: 16px; color: #0f172a; letter-spacing: -.02em; }
.p-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 7px 0; }
.p-pay .mk-chip { justify-content: center; padding: 0; border-radius: 7px; height: 22px; }
.p-modal { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); display: grid; place-items: center; z-index: 10; opacity: 0; transition: opacity .3s; }
.p-modal.on { opacity: 1; }
.p-qr { width: 190px; background: #fff; border-radius: 14px; padding: 14px; text-align: center; transform: scale(.92); transition: transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.p-modal.on .p-qr { transform: none; }
.p-qr small { display: block; font-size: 9px; color: #64748b; }
.p-qr b { display: block; font-size: 17px; color: #0f172a; margin: 2px 0 8px; }
.qr { width: 96px; height: 96px; margin: 0 auto; position: relative; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr .scan { position: absolute; left: -4px; right: -4px; height: 2px; background: var(--c); top: 0; box-shadow: 0 0 8px var(--c); animation: dm-scan 1.4s ease-in-out infinite alternate; }
@keyframes dm-scan { to { top: 100%; } }
.p-qr .ok { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #15803d; font-size: 11px; opacity: 0; transition: opacity .3s; }
.p-qr .ok.on { opacity: 1; }
.p-struk { position: absolute; z-index: 12; left: 50%; top: 18px; width: 172px; margin-left: -86px; background: #fff; padding: 12px 12px 16px; font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 9px; color: #1f2937; box-shadow: 0 22px 44px -18px rgba(15, 23, 42, .5); transform: translateY(360px); transition: transform .8s cubic-bezier(.2, .8, .2, 1); clip-path: polygon(0 0, 100% 0, 100% 100%, 94% 98%, 88% 100%, 82% 98%, 76% 100%, 70% 98%, 64% 100%, 58% 98%, 52% 100%, 46% 98%, 40% 100%, 34% 98%, 28% 100%, 22% 98%, 16% 100%, 10% 98%, 4% 100%, 0 98%); }
.p-struk.on { transform: none; }
.p-struk .c { text-align: center; }
.p-struk hr { border: 0; border-top: 1px dashed #cbd5e1; margin: 6px 0; }
.p-struk .r { display: flex; justify-content: space-between; }
.p-struk .big { font-weight: 700; font-size: 11px; }

/* ---------- SettleHive ---------- */
.s-pane { position: absolute; inset: 12px 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.s-pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
.s-drop { margin-top: 10px; height: 120px; border: 2px dashed color-mix(in srgb, var(--c) 45%, #fff); border-radius: 12px; background: var(--c-soft); display: grid; place-items: center; text-align: center; color: var(--c-ink); font-weight: 700; font-size: 11px; transition: background .3s; }
.s-drop svg { width: 26px; height: 26px; display: block; margin: 0 auto 4px; }
.s-file { position: absolute; z-index: 8; left: 330px; top: 250px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .5); font-size: 10px; font-weight: 600; color: #0f172a; transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.s-file .x { width: 22px; height: 26px; border-radius: 4px; background: #16a34a; color: #fff; font-size: 7px; font-weight: 800; display: grid; place-items: center; }
.s-prog { height: 6px; border-radius: 6px; background: #f1f5f9; margin-top: 10px; overflow: hidden; }
.s-prog i { display: block; height: 100%; width: 0; background: var(--c); transition: width 1.2s ease; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.s-card { padding: 9px 10px; border-radius: 10px; border: 1px solid; }
.s-card small { display: block; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.s-card b { display: block; font-size: 14px; letter-spacing: -.02em; margin-top: 2px; }
.s-card em { font-style: normal; font-size: 8.5px; opacity: .8; }
.s-card.blue { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
.s-card.red { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.s-card.green { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.s-fees { display: grid; gap: 5px; margin-top: 10px; }
.s-fee { display: grid; grid-template-columns: 96px 1fr 70px; align-items: center; gap: 8px; font-size: 9.5px; }
.s-fee .t { height: 8px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.s-fee .t i { display: block; height: 100%; width: 0; border-radius: 6px; background: #fb7185; transition: width .9s ease; }
.s-fee b { text-align: right; color: #0f172a; }
.s-sku { display: grid; gap: 6px; margin-top: 8px; }
.s-row { display: grid; grid-template-columns: 112px 1fr 64px 38px; gap: 8px; align-items: center; font-size: 9.5px; }
.s-row b { color: #0f172a; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-row .t { height: 12px; border-radius: 4px; background: #f8fafc; overflow: hidden; }
.s-row .t i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.s-row .neg i { background: #e11d48; }
.s-row .v { text-align: right; font-weight: 700; color: #0f172a; }
.s-row .m { text-align: right; color: #64748b; }
.s-row.head { color: #94a3b8; font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- TapHive ---------- */
.t-phone { position: absolute; left: 24px; top: 6px; width: 176px; height: 338px; border-radius: 28px; background: #0f172a; padding: 7px; box-shadow: 0 24px 48px -22px rgba(15, 23, 42, .55); }
.t-scr { position: relative; width: 100%; height: 100%; border-radius: 22px; background: #fff; overflow: hidden; }
.t-pane { position: absolute; inset: 0; padding: 14px 10px; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.t-pane + .t-pane { transform: translateX(100%); }
.t-scr.p2 .t-pane:nth-child(1), .t-scr.p3 .t-pane:nth-child(1) { transform: translateX(-100%); }
.t-scr.p2 .t-pane:nth-child(2) { transform: none; }
.t-scr.p3 .t-pane:nth-child(2) { transform: translateX(-100%); }
.t-scr.p3 .t-pane:nth-child(3) { transform: none; }
.t-ava { width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; font-size: 19px; font-weight: 800; display: grid; place-items: center; margin: 4px auto 6px; }
.t-name { text-align: center; font-weight: 800; color: #0f172a; font-size: 12px; }
.t-bio { text-align: center; font-size: 8.5px; color: #64748b; margin-bottom: 9px; }
.t-link { display: flex; align-items: center; gap: 7px; padding: 7px; margin-top: 6px; border: 1px solid #eceef2; border-radius: 11px; background: #fff; box-shadow: 0 2px 6px -4px rgba(15, 23, 42, .3); transition: border-color .25s, box-shadow .25s, transform .2s; }
.t-link .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; flex: none; }
.t-link .ic svg { width: 14px; height: 14px; }
.t-link b { display: block; font-size: 9.5px; color: #0f172a; line-height: 1.2; }
.t-link small { display: block; font-size: 9px; color: var(--c); font-weight: 700; }
.t-link.plain { justify-content: center; font-weight: 700; color: #0f172a; font-size: 9.5px; padding: 9px; }
.t-label { position: absolute; z-index: 9; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 99px; background: #fff; font-weight: 700; font-size: 11px; color: #0f172a; box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .45); }
.t-pane h6 { margin: 4px 0 2px; font-size: 11px; color: #0f172a; }
.t-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.t-days span, .t-slots span { display: grid; place-items: center; height: 30px; border-radius: 8px; border: 1px solid #e5e7eb; font-size: 8.5px; font-weight: 600; text-align: center; line-height: 1.15; transition: background .25s, color .25s, border-color .25s; }
.t-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 8px; }
.t-slots span { height: 24px; }
.t-days .on, .t-slots .on { background: var(--c); border-color: var(--c); color: #fff; }
.t-slots .off { color: #cbd5e1; text-decoration: line-through; }
.t-pane .mk-btn { margin-top: 10px; height: 30px; border-radius: 10px; }
.t-amt { text-align: center; margin-top: 6px; }
.t-amt small { display: block; font-size: 8.5px; color: #64748b; }
.t-amt b { font-size: 17px; color: #0f172a; letter-spacing: -.02em; }
.t-amt b u { text-decoration: none; color: var(--c); background: var(--c-soft); border-radius: 4px; padding: 0 2px; }
.t-amt em { display: block; font-style: normal; font-size: 8.5px; color: var(--c-ink); font-weight: 600; }
.t-pane .qr { width: 104px; height: 104px; margin-top: 8px; }
.t-paid { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; text-align: center; opacity: 0; transition: opacity .35s; }
.t-paid.on { opacity: 1; }
.t-paid .big { width: 46px; height: 46px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; margin: 0 auto 8px; transform: scale(.5); transition: transform .45s cubic-bezier(.2, .9, .3, 1.4); }
.t-paid.on .big { transform: none; }
.t-paid .big svg { width: 24px; height: 24px; }
.t-paid b { display: block; color: #0f172a; font-size: 12px; }
.t-paid small { color: #64748b; font-size: 9px; }
.t-dash { left: 226px; right: 10px; top: 40px; height: 250px; }
.t-dash .in { padding: 10px 12px; }
.t-notif { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: #f8fafc; border: 1px solid #eef0f3; margin-top: 8px; font-size: 9.5px; }
.t-notif .ic { width: 26px; height: 26px; border-radius: 8px; background: #0f172a; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 9px; flex: none; }
.t-ord { display: grid; grid-template-columns: 58px 1fr 66px 70px; gap: 6px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f1f5f9; font-size: 9.5px; }
.t-ord.head { color: #94a3b8; font-weight: 700; font-size: 8.5px; text-transform: uppercase; }
.t-ord b { color: #0f172a; }
.t-st { justify-self: start; }
.t-st.wait { background: #fef3c7; color: #92400e; }
.t-st.paid { background: #dcfce7; color: #166534; }

/* ---------- CourseHive ---------- */
.c-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #eef0f3; }
.c-top .mk-brand { margin: 0; }
.c-search { flex: 1; height: 22px; border-radius: 99px; border: 1px solid #e5e7eb; font-size: 9px; color: #94a3b8; display: flex; align-items: center; padding: 0 10px; }
.c-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 12px; }
.c-cc { overflow: hidden; }
.c-thumb { height: 62px; position: relative; overflow: hidden; }
.c-thumb i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.c-cc .meta { padding: 6px 7px 8px; }
.c-cc b { display: block; font-size: 9.5px; color: #0f172a; line-height: 1.25; height: 24px; overflow: hidden; }
.c-cc small { display: block; font-size: 8px; color: #64748b; margin-top: 2px; }
.c-cc span { display: block; font-size: 10px; font-weight: 800; color: #0f172a; margin-top: 3px; }
.c-learn { position: absolute; inset: 22px 0 0; background: #fff; display: grid; grid-template-columns: 1fr 150px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.c-learn.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.c-pl { padding: 10px 0 10px 12px; }
.c-video { position: relative; height: 196px; border-radius: 10px; overflow: hidden; background: #0b1f14; }
.c-mo { position: absolute; border-radius: 14px; }
.c-mo.a { width: 90px; height: 90px; background: #16a34a; left: 30px; top: 40px; animation: dm-fl 5s ease-in-out infinite alternate; }
.c-mo.b { width: 60px; height: 60px; border-radius: 50%; background: #f59e0b; right: 50px; top: 30px; animation: dm-fl 4s ease-in-out infinite alternate-reverse; }
.c-mo.c { width: 140px; height: 14px; background: rgba(255, 255, 255, .85); left: 140px; top: 120px; border-radius: 7px; animation: dm-w 3s ease-in-out infinite alternate; }
.c-mo.d { width: 90px; height: 10px; background: rgba(255, 255, 255, .45); left: 140px; top: 142px; border-radius: 5px; animation: dm-w 3.4s ease-in-out infinite alternate-reverse; }
@keyframes dm-fl { to { transform: translate(24px, 18px) rotate(18deg); } }
@keyframes dm-w { from { transform: scaleX(.55); transform-origin: left; } to { transform: none; transform-origin: left; } }
.c-wm { position: absolute; z-index: 2; font-size: 9px; font-weight: 700; color: rgba(255, 255, 255, .55); line-height: 1.3; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: left 1.2s ease, top 1.2s ease; left: 16px; top: 14px; }
.c-seek { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.c-seek i { display: block; height: 100%; width: 8%; border-radius: 4px; background: #4ade80; transition: width 4s linear; }
.c-badges { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.c-badges .tag { background: var(--c-soft); color: var(--c-ink); }
.c-lt { margin-top: 6px; font-weight: 800; font-size: 12px; color: #0f172a; }
.c-ls { border-left: 1px solid #eef0f3; padding: 10px 8px; display: grid; gap: 5px; align-content: start; }
.c-li { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 8px; font-size: 9px; color: #334155; border: 1px solid transparent; }
.c-li .n { width: 16px; height: 16px; border-radius: 5px; background: #f1f5f9; color: #64748b; font-size: 8px; font-weight: 700; display: grid; place-items: center; flex: none; }
.c-li.on { background: var(--c-soft); border-color: color-mix(in srgb, var(--c) 30%, #fff); color: var(--c-ink); font-weight: 700; }
.c-li.on .n { background: var(--c); color: #fff; }
.c-li.done .n { background: #16a34a; color: #fff; }
.c-quiz { position: absolute; z-index: 10; left: 120px; top: 40px; width: 320px; padding: 14px; }
.c-quiz h6 { margin: 0; font-size: 12px; color: #0f172a; }
.c-quiz .q { margin: 6px 0 8px; font-size: 10.5px; color: #334155; }
.c-opt { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #e5e7eb; border-radius: 9px; margin-top: 5px; font-size: 10px; transition: background .25s, border-color .25s; }
.c-opt .k { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cbd5e1; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #64748b; flex: none; }
.c-opt.right { border-color: #16a34a; background: #f0fdf4; }
.c-opt.right .k { background: #16a34a; border-color: #16a34a; color: #fff; }
.c-score { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f1f5f9; font-size: 10px; }
.c-score b { font-size: 15px; color: #15803d; }
.c-cert { position: absolute; z-index: 12; left: 100px; top: 24px; width: 360px; height: 236px; padding: 10px; background: #fff; border-radius: 6px; box-shadow: 0 26px 50px -20px rgba(15, 23, 42, .55); }
.c-cert .in { height: 100%; border: 2px solid var(--c); border-radius: 4px; outline: 1px solid color-mix(in srgb, var(--c) 35%, #fff); outline-offset: -6px; text-align: center; padding: 14px 18px; position: relative; }
.c-cert .mk-brand { justify-content: center; }
.c-cert small { display: block; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: #64748b; }
.c-cert .who { font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: -.02em; margin: 4px 0 2px; font-family: Georgia, "Times New Roman", serif; }
.c-cert .crs { font-size: 10.5px; color: #334155; }
.c-cert .crs b { color: var(--c-ink); }
.c-cert .foot { position: absolute; left: 18px; right: 18px; bottom: 12px; display: flex; justify-content: space-between; font-size: 8px; color: #64748b; text-align: left; }
.c-cert .seal { position: absolute; right: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
.c-cert .seal svg { width: 20px; height: 20px; }

/* ---------- gerak dimatikan / tanpa sampul ---------- */
.dm--static *, .dm--static *::before, .dm--static *::after { transition: none !important; animation: none !important; }
.dm--static .dm-cur { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dm *, .dm *::before, .dm *::after { transition: none !important; animation: none !important; }
}

/* =========================================================================
   Slot video YouTube (lite embed, youtube-nocookie)
   ========================================================================= */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f172a; box-shadow: var(--shadow); }
.yt[hidden] { display: none; }
.yt button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #0f172a; color: #fff; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt button:hover img { opacity: 1; }
.yt .yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: rgba(15, 23, 42, .82); display: grid; place-items: center; transition: background .2s; }
.yt button:hover .yt-play { background: #e11d48; }
.yt .yt-play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt .yt-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; text-align: left; font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video { max-width: 860px; margin: 36px auto 0; padding: 0 24px; }
.feature-video { margin-top: 16px; }
.feature-video > h2 + .stage-note { margin: 6px 0 14px; }
.yt-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.yt-list button { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.yt-list button:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.yt-list button[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.yt-list img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #0f172a; }
.yt-list span { padding: 0 2px 2px; }
