/* ══════════════════════════════════════════════════════════════
   Undanganwa — shared LIGHT theme for every signed-in area
   (buyer /akun, creator /creator, vendor /vendor, admin /adminers)

   Accent: --gold is the brand accent (now rose, #c2255c ≈ 5.9:1 on white, safe for text);
   --deco is a lighter tint for decoration only. The variable name is kept so every page re-themes from here.
   ══════════════════════════════════════════════════════════════ */
:root{
  --bg:#f4f6fa; --surface:#ffffff; --surface2:#f8fafc; --surface3:#edf1f7; --white:#ffffff;
  --border:#e3e8ef; --border2:#cdd5e0;
  --text:#1e293b; --muted:#4b586a; --dim:#66738a;
  --gold:#c2255c; --gold2:#a11d4b; --gold-bg:#fff0f5; --gold-line:#f7c6d7; --deco:#f06595;
  --font:'Calibri','Carlito','Lato','Segoe UI',system-ui,-apple-system,sans-serif;
  --green:#1a7a4f; --green-bg:#e5f4ec; --red:#b42318; --red-bg:#fdecea;
  --blue:#1d5fa8; --blue-bg:#e8f1fb; --amber:#8a5300; --amber-bg:#fdf1d8;
  --radius:12px; --radius-sm:8px;
  --shadow:0 1px 2px rgba(31,36,48,.05),0 4px 16px rgba(31,36,48,.05);
  --side-w:252px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:15px;line-height:1.55;min-height:100vh;-webkit-font-smoothing:antialiased}
a{color:var(--gold)}
h1,h2,h3{font-weight:600;line-height:1.25}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}
button{font-family:inherit}
img{max-width:100%}

/* ── Shell ─────────────────────────────────────────────────── */
.side{position:fixed;inset:0 auto 0 0;width:var(--side-w);background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:100;transition:transform .25s}
.side-brand{padding:20px 20px 14px}
.side-brand a{font-family:var(--font-head,var(--font));font-size:21px;font-weight:var(--font-head-w,600);color:var(--gold);text-decoration:none;letter-spacing:.2px}
.side-brand small{display:block;margin-top:2px;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--dim);font-weight:500}

.modes{margin:2px 12px 10px;padding:4px;background:var(--surface3);border-radius:12px;display:flex;flex-direction:column;gap:2px}
.mode{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;color:var(--muted);text-decoration:none;font-weight:600;font-size:13px;transition:background .15s,color .15s}
.mode:hover{color:var(--text)}
.mode.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(31,36,48,.1)}
.mode svg{width:16px;height:16px;flex-shrink:0}
.mode .tag{margin-left:auto;font-size:10px;font-weight:700;padding:2px 7px;border-radius:20px;background:var(--amber-bg);color:var(--amber)}

.nav{flex:1;overflow-y:auto;padding:6px 12px}
.nav-label{font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--dim);padding:12px 10px 6px}
.nav a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:9px;color:var(--muted);text-decoration:none;font-weight:500;font-size:13.5px;transition:background .15s,color .15s;margin-bottom:1px}
.nav a:hover{background:var(--surface3);color:var(--text)}
.nav a.active{background:var(--gold-bg);color:var(--gold2);font-weight:600}
.nav a svg{width:18px;height:18px;flex-shrink:0}
.nav a .count{margin-left:auto;min-width:20px;text-align:center;font-size:11px;font-weight:700;padding:1px 7px;border-radius:20px;background:var(--red);color:#fff}
.nav a .soon{margin-left:auto;font-size:10px;font-weight:600;color:var(--dim)}
.nav a.disabled{opacity:.55;pointer-events:none}

.side-foot{padding:14px 16px;border-top:1px solid var(--border);display:flex;align-items:center;gap:10px}
.avatar{width:34px;height:34px;border-radius:50%;background:var(--gold-bg);color:var(--gold2);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0;overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* Bigger, clearer variant for a dedicated "edit my photo" form (creator/profile.php) — the plain .avatar above
   stays small everywhere else (nav bar, tables) and must not grow just because this exists alongside it. */
.avatar-xl{width:110px;height:110px;border-radius:50%;background:var(--gold-bg);color:var(--gold2);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:42px;flex-shrink:0;overflow:hidden;border:3px solid var(--surface2)}
.avatar-xl img{width:100%;height:100%;object-fit:cover;display:block}
.side-foot .who{min-width:0;flex:1}
.side-foot .who b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-foot .who span{font-size:11px;color:var(--dim)}

.main{margin-left:var(--side-w);min-width:0}
.top{height:60px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;position:sticky;top:0;z-index:50}
.top-title{font-size:15px;font-weight:600}
.top-right{display:flex;align-items:center;gap:8px}
.burger{display:none;width:38px;height:38px;border:1px solid var(--border);background:var(--surface);border-radius:10px;cursor:pointer;align-items:center;justify-content:center;color:var(--text)}
.burger svg{width:20px;height:20px}
.scrim{display:none;position:fixed;inset:0;background:rgba(20,22,30,.4);z-index:90}
.page{padding:28px;max-width:1140px}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.page-head h1{font-family:var(--font-head,var(--font));font-size:27px;font-weight:var(--font-head-w,500)}
.page-head p{color:var(--muted);margin-top:3px;max-width:60ch}
.container{max-width:1140px;margin:0 auto}

/* ── Buttons ───────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;border:1px solid var(--border2);background:var(--surface);color:var(--text);text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s,box-shadow .15s;line-height:1.2}
.btn:hover{background:var(--surface3);border-color:var(--muted)}
.btn:disabled,.btn.disabled{opacity:.5;pointer-events:none}
.btn svg{width:15px;height:15px}
.btn-gold,.btn-primary{background:var(--gold);color:#fff;border-color:var(--gold)}
.btn-gold:hover,.btn-primary:hover{background:var(--gold2);border-color:var(--gold2)}
.btn-red{color:var(--red);border-color:transparent;background:transparent}
.btn-red:hover{background:var(--red-bg);border-color:transparent}
.btn-danger{background:var(--red);border-color:var(--red);color:#fff}
.btn-danger:hover{background:#8f1c12;border-color:#8f1c12}
.btn-ok{background:var(--green);border-color:var(--green);color:#fff}
.btn-ok:hover{background:#13613e;border-color:#13613e}
.btn-ghost{background:transparent;border-color:transparent;color:var(--muted)}
.btn-ghost:hover{background:var(--surface3);border-color:transparent}
.btn-sm{padding:6px 11px;font-size:12px}
.btn-lg{padding:12px 22px;font-size:14px;border-radius:10px}
.btn-block{display:flex;width:100%}

/* ── Cards / stats ─────────────────────────────────────────── */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card-head,.card-header{padding:15px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}
.card-head h3,.card-header h3{font-size:14px;font-weight:600;color:var(--text);text-transform:none;letter-spacing:0}
.card-body{padding:20px}
.card + .card{margin-top:0}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.stack{display:flex;flex-direction:column;gap:20px}

.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:24px}
.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 18px 16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px}
.stat-label{order:-1;font-size:12.5px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0;margin:0 0 4px}
.stat-val{font-size:28px;font-weight:var(--font-head-w,700);color:var(--text);font-family:var(--font-head,var(--font));letter-spacing:-.5px;line-height:1.15}
.stat-note{font-size:12px;color:var(--dim);margin-top:2px}
.stat.accent .stat-val{color:var(--gold)}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}
th{text-align:left;padding:10px 16px;font-size:12px;font-weight:600;color:var(--muted);background:var(--surface2);border-bottom:1px solid var(--border);white-space:nowrap}
td{padding:12px 16px;border-bottom:1px solid var(--border);font-size:13.5px;vertical-align:middle}
tbody tr:last-child td{border-bottom:none}
td.tpl-meta{white-space:nowrap}
tbody tr:hover{background:var(--surface2)}

/* ── Badges ────────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;white-space:nowrap;text-decoration:none}
.badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.85}
.badge-ok,.badge-published{background:var(--green-bg);color:var(--green)}
.badge-pending,.badge-review,.badge-pending_review{background:var(--amber-bg);color:var(--amber)}
.badge-no,.badge-rejected{background:var(--red-bg);color:var(--red)}
.badge-draft{background:var(--surface3);color:var(--muted)}
.badge-archived{background:var(--surface3);color:var(--dim)}
.badge-info{background:var(--blue-bg);color:var(--blue)}

/* The top-right "which account/role am I in" badge, when the account can actually switch (appHeader() only
   renders this as a <button> — not a <span> — once it has more than one real role to offer). Resets native
   button chrome so it keeps looking exactly like the plain, non-interactive badge elsewhere, just with a pointer
   cursor and a subtle hover/focus cue so it doesn't look clickable by accident, only on purpose. */
.badge-switch{border:none;font:inherit;cursor:pointer}
.badge-switch:hover,.badge-switch:focus-visible{filter:brightness(0.93)}

/* ── Alerts ────────────────────────────────────────────────── */
.alert{padding:12px 16px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:18px;border:1px solid transparent;display:flex;gap:10px;align-items:flex-start}
.alert-ok{background:var(--green-bg);color:#125c3b;border-color:#bfe3cf}
.alert-err{background:var(--red-bg);color:#8f1c12;border-color:#f3c3be}
.alert-info{background:var(--blue-bg);color:#174b85;border-color:#c3daf3}
.alert-warn{background:var(--amber-bg);color:#6e4100;border-color:#f0d9a3}
.alert b{font-weight:600}

/* ── Forms ─────────────────────────────────────────────────── */
.form-row{margin-bottom:16px}
.form-row label,.label{display:block;font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px;text-transform:none;letter-spacing:0}
.form-row .hint,.hint{font-size:12.5px;color:var(--dim);margin-top:5px}
.form-row input,.form-row textarea,.form-row select,.input{width:100%;padding:10px 12px;border:1px solid var(--border2);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);transition:border-color .15s,box-shadow .15s}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus,.input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(194,37,92,.15)}
.form-row textarea{resize:vertical;min-height:84px}
.form-row input[type=checkbox]{width:auto}
.form-inline{display:flex;gap:14px}.form-inline .form-row{flex:1;min-width:0}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted);cursor:pointer}
.check input{margin-top:3px;width:16px;height:16px;accent-color:var(--gold);flex-shrink:0}

/* ── Rich-text field (lib/ui.php's richTextField(), category/marketplace descriptions) ─── */
.rte{border:1px solid var(--border2);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface)}
.rte-tb{display:flex;gap:2px;padding:6px;border-bottom:1px solid var(--border);background:var(--surface2);flex-wrap:wrap}
.rte-tb button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center}
.rte-tb button:hover{background:var(--surface3)}
.rte-body{min-height:110px;max-height:320px;overflow-y:auto;padding:10px 12px;font-size:14px;line-height:1.6;color:var(--text)}
.rte-body:focus{outline:none}
.rte-body p{margin:0 0 10px}
.rte-body ul,.rte-body ol{margin:0 0 10px 20px}
.rte-body h2,.rte-body h3,.rte-body h4{margin:0 0 8px;font-weight:700}
.rte-body a{color:var(--gold)}

/* ── Empty state ───────────────────────────────────────────── */
.empty{text-align:center;padding:48px 24px;color:var(--muted)}
.empty-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:16px;background:var(--gold-bg);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:24px}
.empty-icon svg{width:26px;height:26px}
.member-foot{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 22px;margin:36px 0 8px;padding-top:18px;border-top:1px solid var(--border);font-size:13px;color:var(--muted)}
.member-foot a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.member-foot a:hover{color:var(--gold)}
.empty h3{font-family:var(--font-head,var(--font));font-size:19px;font-weight:var(--font-head-w,500);color:var(--text);margin-bottom:6px}
.empty p{max-width:44ch;margin:0 auto 18px;font-size:13.5px}

/* ── Modal / toast ─────────────────────────────────────────── */
.modal-bg{display:none;position:fixed;inset:0;background:rgba(20,22,30,.45);backdrop-filter:blur(3px);z-index:200;align-items:center;justify-content:center;padding:16px}
.modal-bg.open{display:flex}
.modal{background:var(--surface);border-radius:16px;padding:26px;width:100%;max-width:480px;max-height:92vh;overflow-y:auto;box-shadow:0 20px 60px rgba(20,22,30,.25)}
.modal h3{font-family:var(--font-head,var(--font));font-size:21px;font-weight:var(--font-head-w,500);margin-bottom:6px}
.modal .sub{color:var(--muted);font-size:13.5px;margin-bottom:18px}
.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.modal-wrap{position:relative;width:100%}
.modal-wrap .modal{max-width:none}
.modal-x{position:absolute;top:-12px;right:-12px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:var(--text);box-shadow:0 2px 10px rgba(20,22,30,.3);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.modal-x:hover{background:var(--surface2)}
.modal-x svg{width:16px;height:16px;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round}
.toast{position:fixed;bottom:24px;right:24px;padding:12px 20px;border-radius:10px;font-size:13.5px;font-weight:500;z-index:9999;transform:translateY(90px);opacity:0;transition:all .3s;color:#fff;max-width:min(420px,calc(100vw - 32px));box-shadow:0 8px 24px rgba(0,0,0,.18)}
.toast.show{transform:translateY(0);opacity:1}
.toast-ok{background:var(--green)}.toast-err{background:var(--red)}

/* ── Template cards (creator / admin moderation) ───────────── */
.tpl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.tpl-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.tpl-card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(31,36,48,.06),0 10px 28px rgba(31,36,48,.09)}
.tpl-thumb{height:150px;position:relative;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center}
.tpl-thumb .tpl-thumb-name{font-family:var(--font);font-style:italic;font-size:19px;color:rgba(255,255,255,.9);text-shadow:0 1px 8px rgba(0,0,0,.45);padding:0 16px;text-align:center}
.tpl-thumb .badge{position:absolute;top:10px;left:10px;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.tpl-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;flex:1}
.tpl-body h3{font-size:15px;font-weight:600}
.tpl-meta{font-size:12.5px;color:var(--dim)}
.tpl-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.tpl-note{font-size:12.5px;background:var(--red-bg);color:#8f1c12;border-radius:8px;padding:8px 10px}
.stars{color:var(--gold);letter-spacing:1px}
.tpl-stats{align-items:center}
.tpl-stats svg{width:14px;height:14px;flex-shrink:0;vertical-align:-3px;margin-right:2px}
/* Pure-CSS star picker: radios in reverse DOM order (5..1) + row-reverse so 1..5 display left-to-right;
   the ~ sibling combinator then lights up a star and everything after it in DOM order (i.e. to its left
   on screen — the lower stars) on hover/checked. */
.star-input{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.star-input input{position:absolute;opacity:0;width:0;height:0}
.star-input label{font-size:28px;line-height:1;color:var(--border);cursor:pointer;transition:color .1s}
.star-input input:checked ~ label,.star-input label:hover,.star-input label:hover ~ label{color:var(--gold)}
.tpl-note.info{background:var(--amber-bg);color:#6e4100}

/* ── Buyer dashboard (user/dashboard.php): horizontal cards, thumbnail beside the text on EVERY width (not
   stacked on top like .tpl-card above) — kept as its own set of classes since this card's shape is different,
   not a variant of .tpl-card. Two per row on a normal desktop width on purpose (a buyer has a handful of
   invitations, not dozens like a creator's template grid — two stays readable without forcing a search). */
.inv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
/* Column card: a header row (thumb + info) on top, then a full-width footer for actions — kept as a separate row
   rather than squeezed into the narrow text column, so there's room to add more without the card feeling packed. */
.inv-card{position:relative;display:flex;flex-direction:column;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;transition:transform .15s,box-shadow .15s}
.inv-card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(31,36,48,.06),0 10px 28px rgba(31,36,48,.09)}
.inv-top{position:relative;display:flex;gap:14px}
/* Per-invitation settings — tucked into the card's own corner rather than a labelled button in .inv-actions,
   since there's currently just the one toggle behind it and a text button felt like too much weight for that. */
.inv-more-btn{position:absolute;bottom:10px;right:10px;width:26px;height:26px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;line-height:1;padding:0;font-family:inherit}
.inv-more-btn:hover{background:var(--surface2);color:var(--text)}
.inv-thumb{flex:0 0 92px;width:92px;aspect-ratio:3/4;border-radius:10px;background-size:cover;background-position:center;box-shadow:0 1px 3px rgba(31,36,48,.12)}
.inv-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.inv-body h3{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Quick-feature shortcuts (Statistik, Media Sosial, more later) — understated on purpose: this is a secondary
   row of links, not a second set of buttons competing with .inv-actions below. */
.inv-pills{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.inv-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:var(--surface2);color:var(--muted);font-size:12px;font-weight:500;border:1px solid var(--border);cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit;line-height:1.3;transition:background .12s,color .12s}
.inv-pill:hover{background:var(--surface3);color:var(--text)}
.inv-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border)}
/* The status badge is the first element inside .inv-body in the markup (so it reads first on a narrow card),
   then pulled out to float at the top-right corner of the header row once there is room for it beside the title. */
.inv-badge{align-self:flex-start}
@media screen and (min-width:481px){
    .inv-badge{position:absolute;top:0;right:0;align-self:auto}
    .inv-body{padding-right:64px}
}
@media screen and (max-width:720px){
    .inv-grid{grid-template-columns:1fr}
}
@media screen and (max-width:420px){
    .inv-thumb{flex-basis:76px;width:76px}
}

/* ── Steps / onboarding ────────────────────────────────────── */
.steps{display:flex;flex-direction:column;gap:0}
.step{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.step:last-child{border-bottom:none}
.step-n{width:30px;height:30px;border-radius:50%;background:var(--surface3);color:var(--muted);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0}
.step.done .step-n{background:var(--green);color:#fff}
.step.now .step-n{background:var(--gold);color:#fff}
.step b{display:block;font-size:14px}
.step span{color:var(--muted);font-size:13px}

.hero-card{background:linear-gradient(135deg,#fffaf0 0%,var(--gold-bg) 100%);border:1px solid var(--gold-line);border-radius:var(--radius);padding:24px 26px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero-card h3{font-family:var(--font-head,var(--font));font-size:20px;font-weight:var(--font-head-w,500);margin-bottom:4px}
.hero-card p{color:var(--muted);max-width:56ch}

.kv{display:grid;grid-template-columns:130px 1fr;gap:8px 14px;font-size:13.5px}
.kv dt{color:var(--dim)}.kv dd{word-break:break-word}
.linklist{list-style:none;display:flex;flex-direction:column;gap:8px}
.linklist li{display:flex;gap:10px;align-items:center;font-size:13px;padding:9px 12px;background:var(--surface2);border:1px solid var(--border);border-radius:8px;min-width:0}
.linklist .plat{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--gold2);width:74px;flex-shrink:0}
.linklist a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.tabs{display:flex;gap:4px;margin-bottom:20px;border-bottom:1px solid var(--border);overflow-x:auto}
.tabs a,.tabs button.tab-btn{padding:10px 16px;font-size:13.5px;font-weight:600;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;background:none;border-left:none;border-right:none;border-top:none;cursor:pointer;font-family:inherit}
.tabs a:hover,.tabs button.tab-btn:hover{color:var(--text)}
.tabs a.on,.tabs button.tab-btn.on{color:var(--gold2);border-bottom-color:var(--gold)}
.tabs .n{margin-left:6px;font-size:11px;background:var(--surface3);padding:1px 7px;border-radius:20px}
.tabs a.on .n,.tabs button.tab-btn.on .n{background:var(--gold-bg)}

/* creator/templates.php: the "Tentang Sematan & Bump" info button and the template-name search box share one row —
   search pushed to the far right via margin-left:auto when there's room, both full-width and stacked on mobile
   so the search input gets a comfortable tap target instead of being squeezed next to the button. */
.tpl-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tpl-toolbar .tpl-search{margin:0 0 0 auto;flex:0 1 280px;min-width:180px}
@media screen and (max-width:600px){
    .tpl-toolbar{flex-direction:column;align-items:stretch}
    .tpl-toolbar .tpl-search{margin:0;flex:none;width:100%}
}

.meter{height:8px;background:var(--surface3);border-radius:8px;overflow:hidden}
.meter>i{display:block;height:100%;background:var(--gold);border-radius:8px;transition:width .3s}

/* ── Public (signed-out) pages ─────────────────────────────── */
.pub-top{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:var(--surface);border-bottom:1px solid var(--border)}
.pub-brand{font-family:var(--font-head,var(--font));font-size:21px;font-weight:var(--font-head-w,600);color:var(--gold);text-decoration:none}
.pub-wrap{max-width:980px;margin:0 auto;padding:48px 20px 64px}
.pub-hero{text-align:center;max-width:680px;margin:0 auto}
.pub-hero h1{font-family:var(--font-head,var(--font));font-size:clamp(28px,5vw,42px);font-weight:var(--font-head-w,500);margin:14px 0}
.pub-hero p{color:var(--muted);font-size:16px}
.side-cta{margin:8px 12px 12px;padding:14px;border-radius:12px;background:var(--gold-bg);border:1px solid var(--gold-line);font-size:12.5px;color:var(--muted)}
.side-cta b{display:block;color:var(--text);font-size:13px;margin-bottom:3px}
.side-cta a{display:inline-block;margin-top:8px;font-weight:600}

/* ── Public site shell ─────────────────────────────────────── */
body.pub{background:var(--bg)}
.pub-top{position:sticky;top:0;z-index:60;padding:0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.pub-top-in{max-width:1180px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:26px}
.pub-nav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.pub-nav a{padding:8px 13px;border-radius:9px;font-size:13.5px;font-weight:500;color:var(--muted);text-decoration:none;white-space:nowrap}
.pub-nav a:hover{background:var(--surface3);color:var(--text)}
.pub-nav a.on{background:var(--gold-bg);color:var(--gold2);font-weight:600}
.pub-acct{display:flex;gap:8px;flex-shrink:0}
.pub-main-wide{max-width:none;margin:0;padding:0}
.pub-foot{background:#1f2430;color:#c9ccd4;margin-top:64px}
.pub-foot-in{max-width:1180px;margin:0 auto;padding:44px 24px 28px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
.pub-foot .pub-brand{color:#e7c463}
.pub-foot p{font-size:13.5px;margin-top:10px;max-width:38ch;line-height:1.6}
.pub-foot b{display:block;color:#fff;font-size:13px;margin-bottom:10px}
.pub-foot a:not(.pub-brand){display:block;color:#c9ccd4;font-size:13.5px;text-decoration:none;padding:3px 0}
.pub-foot a:not(.pub-brand):hover{color:#fff}
.pub-foot-copy{border-top:1px solid #343a49;text-align:center;font-size:12.5px;padding:16px;color:#8f95a3}

/* ── Sign-in / sign-up ─────────────────────────────────────── */
.auth{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:28px;align-items:stretch;max-width:980px;margin:0 auto}
.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:34px 32px;box-shadow:var(--shadow)}
.auth-card h1{font-family:var(--font-head,var(--font));font-size:27px;font-weight:var(--font-head-w,500);margin-bottom:6px}
.auth-sub{color:var(--muted);margin-bottom:22px}
.auth-alt{margin-top:20px;padding-top:18px;border-top:1px solid var(--border);font-size:13.5px;color:var(--muted);display:flex;flex-direction:column;gap:6px}
.auth-panel{background:linear-gradient(150deg,#fffaf0,var(--gold-bg));border:1px solid var(--gold-line);border-radius:16px;padding:34px 32px;display:flex;flex-direction:column;gap:14px}
.auth-panel.creator{background:linear-gradient(150deg,#f3f7ff,#e8f1fb);border-color:#c3daf3}
.auth-panel.vendor{background:linear-gradient(150deg,#f2fbf6,#e5f4ec);border-color:#bfe3cf}
.auth-panel h2{font-family:var(--font-head,var(--font));font-size:22px;font-weight:var(--font-head-w,500)}
.auth-panel ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.auth-panel li{padding-left:26px;position:relative;color:var(--muted);font-size:14px}
.auth-panel li::before{content:'✓';position:absolute;left:0;top:0;color:var(--green);font-weight:700}
.auth-panel-link{margin-top:auto;font-size:13.5px}
.role-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.role-cta a{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;text-decoration:none;background:var(--surface2);color:var(--text)}
.role-cta a:hover{border-color:var(--gold);background:var(--gold-bg)}
.role-cta b{font-size:13.5px}.role-cta span{font-size:12px;color:var(--dim)}

/* ── Marketplace ───────────────────────────────────────────── */
.hero{background:radial-gradient(1200px 380px at 50% -10%,#fbf3dc 0,transparent 70%),var(--bg);padding:64px 24px 44px;text-align:center}
.hero-in{max-width:760px;margin:0 auto}
.hero h1{font-family:var(--font-head,var(--font));font-size:clamp(32px,5.4vw,52px);font-weight:var(--font-head-w,500);line-height:1.12;margin:14px 0}
.hero p{color:var(--muted);font-size:17px;max-width:56ch;margin:0 auto}
.search{display:flex;gap:8px;max-width:520px;margin:26px auto 0;background:var(--surface);border:1px solid var(--border2);border-radius:14px;padding:6px;box-shadow:var(--shadow)}
.search input{flex:1;border:0;outline:0;padding:10px 12px;font-size:15px;font-family:inherit;background:transparent;min-width:0}
.section{max-width:1180px;margin:0 auto;padding:42px 24px 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.section-head h2{font-family:var(--font-head,var(--font));font-size:28px;font-weight:var(--font-head-w,500)}
.section-head p{color:var(--muted);margin-top:2px}
.chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:22px}
.chip{padding:8px 16px;border:1px solid var(--border2);border-radius:999px;background:var(--surface);color:var(--text);font-size:13.5px;font-weight:500;text-decoration:none}
.chip:hover,.chip.on{border-color:var(--gold);background:var(--gold-bg);color:var(--gold2)}
.chip small{color:var(--dim);margin-left:4px}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
.pcard{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--text);display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}
.pcard:hover{transform:translateY(-4px);box-shadow:0 4px 8px rgba(31,36,48,.06),0 18px 40px rgba(31,36,48,.12)}
.pcard-thumb{aspect-ratio:3/4;background-size:cover;background-position:center;display:flex;align-items:flex-end;justify-content:center;position:relative}
.pcard-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.55))}
.pcard-thumb span:not(.pcard-tag){position:relative;z-index:1;color:#fff;font-family:var(--font);font-style:italic;font-size:20px;padding:0 14px 16px;text-align:center;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.pcard-tag{position:absolute;top:12px;left:12px;z-index:2;background:#fff;color:var(--gold2);font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:999px}
.pcard-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:3px}
.pcard-body h3{font-size:15.5px}
.pcard-by{font-size:12.5px;color:var(--dim)}
.pcard-foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.price{font-weight:700;color:var(--gold2)}
.pcard-actions{display:flex;gap:8px;margin-top:10px}
.crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--dim);margin-bottom:14px}
.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--gold2)}

/* ── Landing pages (creator / vendor) ──────────────────────── */
.land-hero{padding:64px 24px 52px;background:radial-gradient(900px 340px at 20% 0,#fbf3dc,transparent 70%),radial-gradient(700px 300px at 90% 10%,#e8f1fb,transparent 70%),var(--bg)}
.land-hero.vendor{background:radial-gradient(900px 340px at 20% 0,#e5f4ec,transparent 70%),radial-gradient(700px 300px at 90% 10%,#fbf3dc,transparent 70%),var(--bg)}
.land-hero-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.land-hero h1{font-family:var(--font-head,var(--font));font-size:clamp(32px,5vw,50px);font-weight:var(--font-head-w,500);line-height:1.1;margin:14px 0}
.land-hero p.lead{color:var(--muted);font-size:17px;max-width:52ch}
.land-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.land-note{font-size:13px;color:var(--dim);margin-top:12px}
.land-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:26px;box-shadow:0 8px 40px rgba(31,36,48,.1)}
.land-card h3{font-size:14px;color:var(--muted);font-weight:600;margin-bottom:12px}
.big{font-family:var(--font-head,var(--font));font-size:40px;font-weight:var(--font-head-w,600);color:var(--gold2);line-height:1.1}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1100px;margin:28px auto 0}
.kpi{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px 18px;text-align:center}
.kpi b{display:block;font-size:24px}.kpi span{font-size:12.5px;color:var(--muted)}
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feat-item{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:22px}
.feat-ic{width:42px;height:42px;border-radius:12px;background:var(--gold-bg);color:var(--gold);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.feat-ic svg{width:22px;height:22px}
.feat-item h3{font-size:16px;margin-bottom:5px}.feat-item p{color:var(--muted);font-size:14px}
.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:s}
.flow-step{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:22px 20px 20px;counter-increment:s}
.flow-step::before{content:counter(s);position:absolute;top:-14px;left:18px;width:30px;height:30px;border-radius:50%;background:var(--gold);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.flow-step h3{font-size:15px;margin-bottom:4px}.flow-step p{font-size:13.5px;color:var(--muted)}
.sim{background:linear-gradient(135deg,#fffaf0,var(--gold-bg));border:1px solid var(--gold-line);border-radius:20px;padding:30px;display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center}
.sim h2{font-family:var(--font-head,var(--font));font-size:27px;font-weight:var(--font-head-w,500);margin-bottom:6px}
.sim label{display:flex;justify-content:space-between;font-size:13.5px;font-weight:600;margin:16px 0 6px}
.sim input[type=range]{width:100%;accent-color:var(--gold)}
.sim-out{background:var(--surface);border-radius:16px;padding:24px;text-align:center;box-shadow:var(--shadow)}
.sim-out small{color:var(--muted);display:block;font-size:13px}
.sim-out .big{margin:6px 0}
.sim-line{display:flex;justify-content:space-between;font-size:13.5px;padding:7px 0;border-top:1px solid var(--border);color:var(--muted)}
.compare{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden}
.compare th,.compare td{padding:13px 18px;text-align:left;border-bottom:1px solid var(--border)}
.compare tr:last-child td{border-bottom:0}
.compare .yes{color:var(--green);font-weight:700}.compare .no{color:var(--dim)}
details.faq{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:0 18px;margin-bottom:10px}
details.faq summary{cursor:pointer;padding:16px 0;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:10px}
details.faq summary::after{content:'+';color:var(--gold);font-size:20px;line-height:1}
details.faq[open] summary::after{content:'−'}
details.faq p{padding:0 0 16px;color:var(--muted)}
.cta-band{max-width:1100px;margin:56px auto 0;background:linear-gradient(135deg,#1f2430,#33394a);color:#fff;border-radius:22px;padding:42px 36px;text-align:center}
.cta-band h2{font-family:var(--font-head,var(--font));font-size:30px;font-weight:var(--font-head-w,500)}
.cta-band p{color:#c9ccd4;margin:8px auto 22px;max-width:52ch}
.cta-band .btn:not(.btn-gold){background:transparent;color:#fff;border-color:#59607a}
.cta-band .btn:not(.btn-gold):hover{background:#3c4256}

/* ── Responsive ────────────────────────────────────────────── */
@media(max-width:900px){
  .pub-top-in{padding:10px 14px;gap:10px;flex-wrap:wrap}
  .pub-nav{order:3;flex-basis:100%}
  .pub-foot-in{grid-template-columns:1fr 1fr}
  .auth{grid-template-columns:1fr}
  .land-hero-in,.sim{grid-template-columns:1fr}
  .feat{grid-template-columns:1fr 1fr}
  .flow{grid-template-columns:1fr 1fr;gap:26px 14px}
  .kpis{grid-template-columns:1fr}
  .hero{padding:40px 16px 30px}
  .section{padding:34px 16px 0}
}
@media(max-width:560px){.feat,.flow{grid-template-columns:1fr}.pgrid{grid-template-columns:1fr 1fr;gap:12px}.pcard-body{padding:10px 12px 12px}.role-cta{grid-template-columns:1fr}.pub-foot-in{grid-template-columns:1fr}}
@media(max-width:900px){
  .side{transform:translateX(-100%);box-shadow:none}
  .side.open{transform:translateX(0);box-shadow:0 0 40px rgba(20,22,30,.25)}
  .scrim.open{display:block}
  .main{margin-left:0}
  .burger{display:inline-flex}
  .top{padding:0 16px}
  .page{padding:20px 16px}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .form-inline{flex-direction:column;gap:0}
  .page-head h1{font-size:23px}
}
@media(max-width:520px){
  .stat-grid{grid-template-columns:1fr 1fr}
  .stat-val{font-size:24px}
  .kv{grid-template-columns:1fr}
  .toast{right:16px;left:16px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* ── typography pass: one friendly sans-serif everywhere (no serif headings) ── */
.page-head h1{font-weight:var(--font-head-w,700);font-size:25px;letter-spacing:-.2px}
.empty h3,.modal h3,.hero-card h3,.sim h2,.auth-card h1,.auth-panel h2{font-weight:var(--font-head-w,700)}
.side-brand a{font-weight:var(--font-head-w,900);font-size:22px;letter-spacing:-.3px}
.btn{font-size:14px}
.form-row label{font-size:13.5px}
.tpl-thumb .tpl-thumb-name,.pcard-thumb span:not(.pcard-tag){font-style:normal;font-weight:700}
.big{font-weight:var(--font-head-w,700)}

/* ── Sidebar per peran: creator = merah muda, vendor = biru tua (buyer/admin tetap terang). Warna diatur lewat variabel --sb-* ── */
body.role-creator,body.role-vendor,body.role-cs{--sb-text:rgba(255,255,255,.86);--sb-dim:rgba(255,255,255,.62);--sb-line:rgba(255,255,255,.2);--sb-hover:rgba(255,255,255,.12);--sb-on:rgba(255,255,255,.2)}
body.role-creator{--sb-top:#e0457f;--sb-mid:#c2255c;--sb-bot:#9d174d;--sb-accent:#ffe0ec;--sb-ink:#9d174d}
body.role-vendor{--sb-top:#2f6fe0;--sb-mid:#1e4fb8;--sb-bot:#14306f;--sb-accent:#a5d0ff;--sb-ink:#14306f}
body.role-cs{--sb-top:#14b08a;--sb-mid:#0b7a66;--sb-bot:#064a40;--sb-accent:#c9fff0;--sb-ink:#064a40}
body.role-creator .side,body.role-vendor .side,body.role-cs .side{background:linear-gradient(170deg,var(--sb-top) 0%,var(--sb-mid) 48%,var(--sb-bot) 100%);border-right:0;color:#fff}
body.role-creator .side-brand a,body.role-vendor .side-brand a,body.role-cs .side-brand a{color:#fff}
body.role-creator .side-brand small,body.role-vendor .side-brand small,body.role-cs .side-brand small{color:var(--sb-accent);font-weight:700;letter-spacing:1.2px}
body.role-creator .modes,body.role-vendor .modes,body.role-cs .modes{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px var(--sb-line)}
body.role-creator .mode,body.role-vendor .mode,body.role-cs .mode{color:var(--sb-text)}
body.role-creator .mode:hover,body.role-vendor .mode:hover,body.role-cs .mode:hover{color:#fff;background:var(--sb-hover)}
body.role-creator .mode.on,body.role-vendor .mode.on,body.role-cs .mode.on{background:#fff;color:var(--sb-ink);box-shadow:0 2px 8px rgba(0,0,0,.12)}
body.role-creator .nav-label,body.role-vendor .nav-label,body.role-cs .nav-label{color:var(--sb-dim)}
body.role-creator .nav a,body.role-vendor .nav a,body.role-cs .nav a{color:var(--sb-text);position:relative}
body.role-creator .nav a:hover,body.role-vendor .nav a:hover,body.role-cs .nav a:hover{background:var(--sb-hover);color:#fff}
body.role-creator .nav a.active,body.role-vendor .nav a.active,body.role-cs .nav a.active{background:var(--sb-on);color:#fff}
body.role-creator .nav a.active::before,body.role-vendor .nav a.active::before,body.role-cs .nav a.active::before{content:"";position:absolute;left:-12px;top:8px;bottom:8px;width:4px;border-radius:0 4px 4px 0;background:#fff}
body.role-creator .nav a.active svg,body.role-vendor .nav a.active svg,body.role-cs .nav a.active svg{color:#fff}
body.role-creator .nav a .soon,body.role-vendor .nav a .soon,body.role-cs .nav a .soon{color:var(--sb-dim)}
body.role-creator .side-foot,body.role-vendor .side-foot,body.role-cs .side-foot{border-top-color:var(--sb-line);background:rgba(255,255,255,.1)}
body.role-creator .side-foot .who b,body.role-vendor .side-foot .who b,body.role-cs .side-foot .who b{color:#fff}
body.role-creator .side-foot .who span,body.role-vendor .side-foot .who span,body.role-cs .side-foot .who span{color:var(--sb-accent)}
body.role-creator .side-foot .avatar,body.role-vendor .side-foot .avatar,body.role-cs .side-foot .avatar{background:#fff;color:var(--sb-ink)}
body.role-creator .side-foot .btn-ghost,body.role-vendor .side-foot .btn-ghost,body.role-cs .side-foot .btn-ghost{color:var(--sb-text)}
body.role-creator .side-foot .btn-ghost:hover,body.role-vendor .side-foot .btn-ghost:hover,body.role-cs .side-foot .btn-ghost:hover{background:var(--sb-on);color:#fff}
body.role-creator .top{box-shadow:inset 0 3px 0 #e0457f}
body.role-vendor .top{box-shadow:inset 0 3px 0 #2f6fe0}
body.role-cs .top{box-shadow:inset 0 3px 0 #14b08a}

/* ── Langsung tanpa reload (lib/live.php): lonceng notifikasi member, kode kunci di modal persetujuan, tombol yang sedang ditangani orang lain ── */
.lv-wrap{position:relative}
.lv-btn{position:relative;width:38px;height:38px;border:1px solid var(--border);background:var(--surface);border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text)}
.lv-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lv-btn.has svg{color:var(--gold)}
.lv-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px}
.lv-badge[hidden]{display:none}
.lv-panel{position:absolute;right:0;top:46px;width:340px;max-width:calc(100vw - 24px);background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 44px rgba(20,22,30,.2);z-index:120;overflow:hidden}
.lv-panel[hidden]{display:none}
.lv-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid var(--border)}
.lv-all{border:0;background:none;color:var(--gold);font-weight:700;font-size:12.5px;cursor:pointer}
.lv-list{max-height:380px;overflow-y:auto}
.lv-item{display:flex;gap:11px;padding:11px 14px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--border)}
.lv-item:hover{background:var(--surface2)}
.lv-item.un{background:var(--gold-bg)}
.lv-ic{flex:0 0 auto;width:32px;height:32px;border-radius:10px;background:var(--surface3);display:flex;align-items:center;justify-content:center;color:var(--muted)}
.lv-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lv-ic.paid,.lv-ic.sale{background:var(--green-bg);color:var(--green)}
.lv-ic.reject{background:var(--red-bg);color:var(--red)}
.lv-tx b{display:block;font-size:13.5px;line-height:1.35}
.lv-tx small{display:block;color:var(--muted);font-size:12.5px;line-height:1.4;margin-top:1px}
.lv-tx .lv-ago{color:var(--dim);font-size:11.5px}
.lv-empty{padding:26px 14px;text-align:center;color:var(--muted);font-size:13.5px}
.ap-code{margin-top:10px;padding:7px 10px;border-radius:9px;background:var(--surface3);color:var(--muted);font-size:12.5px}
.ap-code[hidden]{display:none}
.btn.lv-locked{opacity:.65;cursor:not-allowed}
