@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@500;600;700&family=Share+Tech+Mono&display=swap');

/* ── Base reset (standalone page, không cần lo theme) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #080b10; }

/* ── Biến ── */
:root {
  --bg:    #080b10;
  --s1:    #0d1118;
  --s2:    #131c27;
  --s3:    #1a2535;
  --bd:    #1e2d3d;
  --cyan:  #00d4ff;
  --cyan2: #0099cc;
  --green: #00e676;
  --red:   #ff4757;
  --amber: #ffb300;
  --purp:  #8b5cf6;
  --txt:   #dce8f0;
  --dim:   #4a6a80;
  --dim2:  #7a9aaa;
  --sat:   env(safe-area-inset-top,    0px);
  --sab:   env(safe-area-inset-bottom, 0px);
}

/* ── App root ── */
#czapp {
  position: fixed;
  inset: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════
   SPLASH
════════════════════════ */
#cz-splash {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% 40%, rgba(0,212,255,.07) 0%, transparent 65%);
  z-index: 100;
}
.czs-icon { font-size: 60px; margin-bottom: 16px; animation: czFloat 2s ease-in-out infinite; }
@keyframes czFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.czs-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; letter-spacing: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--purp));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.czs-sub { font-size: 11px; letter-spacing: 4px; color: var(--dim); margin-top: 4px; }
.czs-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--bd); border-top-color: var(--cyan);
  margin-top: 40px; animation: czSpin .7s linear infinite;
}
@keyframes czSpin { to { transform: rotate(360deg) } }

/* ════════════════════════
   AUTH
════════════════════════ */
#cz-auth {
  position: absolute; inset: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cza-inner {
  min-height: 100%;
  padding: calc(var(--sat) + 52px) 24px calc(var(--sab) + 40px);
  max-width: 440px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.cza-logo { text-align: center; margin-bottom: 44px; }
.cza-icon { font-size: 52px; line-height: 1; margin-bottom: 10px; }
.cza-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px,12vw,58px); letter-spacing: 7px; line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purp));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cza-sub { font-size: 11px; letter-spacing: 4px; color: var(--dim); margin-top: 6px; text-transform: uppercase; }

.cza-tabs {
  display: flex; gap: 4px;
  background: var(--s1); border: 1px solid var(--bd);
  border-radius: 14px; padding: 4px; margin-bottom: 28px;
}
.cza-tab {
  flex: 1; padding: 12px 8px; border: none; border-radius: 10px;
  background: none; color: var(--dim);
  font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700;
  cursor: pointer; min-height: 48px; transition: background .18s, color .18s;
}
.cza-tab.active { background: var(--s3); color: var(--cyan); }
.cza-tab:active { opacity: .75; }

.cza-pane { display: none; }
.cza-pane.active { display: block; animation: czIn .2s ease; }
@keyframes czIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* Form */
.czf-group { margin-bottom: 18px; }
.czf-label { display: block; font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.czf-input {
  display: block; width: 100%;
  background: var(--s1); border: 1.5px solid var(--bd); border-radius: 12px;
  padding: 14px 16px; color: var(--txt);
  font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 600;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.czf-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,.1); }
.czf-input::placeholder { color: var(--dim); font-weight: 500; }
.czf-pw { position: relative; }
.czf-pw .czf-input { padding-right: 52px; }
.czf-eye { position: absolute; right: 0; top: 0; bottom: 0; width: 52px; background: none; border: none; color: var(--dim); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.czf-err { color: var(--red); font-size: 13px; min-height: 18px; margin-bottom: 10px; line-height: 1.4; }

/* Buttons */
.cz-btn-primary {
  display: block; width: 100%; padding: 16px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000; font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: 1px;
  cursor: pointer; min-height: 54px; -webkit-appearance: none; appearance: none;
  transition: opacity .15s, transform .1s; position: relative;
}
.cz-btn-primary:active { opacity: .82; transform: scale(.98); }
.cz-btn-primary:disabled { opacity: .4; pointer-events: none; }
.cz-btn-primary.loading { color: transparent; pointer-events: none; }
.cz-btn-primary.loading::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(0,0,0,.2); border-top-color: #000;
  animation: czSpin .65s linear infinite;
}
.cz-btn-danger {
  display: block; padding: 13px 20px; border-radius: 12px;
  background: rgba(255,71,87,.08); border: 1px solid rgba(255,71,87,.22);
  color: var(--red); font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; min-height: 48px; -webkit-appearance: none;
}
.cz-btn-danger:active { background: rgba(255,71,87,.18); }

/* ════════════════════════
   MAIN APP SHELL
════════════════════════ */
#cz-main {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
}

/* Header */
#cz-header {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--sat) + 12px) 16px 12px;
  background: rgba(8,11,16,.96);
  border-bottom: 1px solid var(--bd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.czh-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--purp));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.czh-user {
  display: flex; align-items: center; gap: 8px;
  background: var(--s2); border: 1px solid var(--bd);
  border-radius: 40px; padding: 5px 12px 5px 5px;
}
.czh-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--purp));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 11px; font-weight: 800; color: #000;
}
#czh-name { font-size: 14px; font-weight: 700; color: var(--txt); }

/* Body scroll area */
#cz-body {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
}
.cz-view { padding: 16px 16px 24px; }

/* Nav */
#cz-nav {
  flex-shrink: 0; display: flex;
  background: rgba(8,11,16,.97); border-top: 1px solid var(--bd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding-bottom: var(--sab);
}
.czn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 0 12px; cursor: pointer; color: var(--dim); min-height: 56px;
  transition: color .15s; user-select: none;
}
.czn-item:active { opacity: .6; }
.czn-item.active { color: var(--cyan); }
.czn-ico { font-size: 22px; line-height: 1; margin-bottom: 3px; display: block; }
.czn-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* ════════════════════════
   POINTS CARD
════════════════════════ */
.czp-card {
  background: linear-gradient(140deg, #0d1a2e, #0a1420 60%, #10122a);
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 20px; padding: 20px; margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.czp-card::after {
  content:''; position: absolute; top:-60px; right:-60px;
  width:180px; height:180px;
  background: radial-gradient(circle, rgba(0,212,255,.09) 0%, transparent 65%);
  pointer-events: none;
}
.czp-label { font-size: 10px; color: var(--dim); letter-spacing: 3px; text-transform: uppercase; }
.czp-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px,14vw,68px); line-height: 1;
  color: var(--cyan); letter-spacing: 2px;
  text-shadow: 0 0 24px rgba(0,212,255,.3);
}
.czp-sub { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--dim); margin-top: 2px; }
.czp-topup {
  position: absolute; top: 18px; right: 18px;
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.25);
  color: var(--cyan); font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 30px; min-height: 38px; cursor: pointer; -webkit-appearance: none;
}
.czp-topup:active { background: rgba(0,212,255,.2); }
.czp-meta { display: flex; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bd); }
.czp-meta > div { flex: 1; }
.czp-mval { font-size: 17px; font-weight: 700; }
.czp-mlbl { font-size: 10px; color: var(--dim); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.czp-msep { width: 1px; height: 36px; background: var(--bd); margin: 0 16px; }

/* ════════════════════════
   SESSION CARD
════════════════════════ */
.czs-card {
  background: linear-gradient(135deg, #071520, #0a1a28);
  border: 1.5px solid rgba(0,212,255,.28);
  border-radius: 18px; padding: 16px; margin-bottom: 14px;
  animation: czGlow 3s ease-in-out infinite;
}
@keyframes czGlow { 0%,100%{box-shadow:none} 50%{box-shadow:0 0 20px rgba(0,212,255,.12)} }
.czs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.czs-left { display: flex; align-items: center; gap: 10px; }
.czs-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: czPulse 1.5s ease-in-out infinite;
}
@keyframes czPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.85)} }
.czs-title { font-size: 15px; font-weight: 700; color: var(--txt); }
.czs-remain { font-size: 12px; color: var(--dim); margin-top: 2px; }
.czs-timer {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(20px,5.5vw,26px); color: var(--cyan); flex-shrink: 0;
  text-shadow: 0 0 10px rgba(0,212,255,.35);
}
.czs-timer.warn   { color: var(--amber); text-shadow: 0 0 10px rgba(255,179,0,.35); }
.czs-timer.danger { color: var(--red); text-shadow: 0 0 10px rgba(255,71,87,.35); animation: czBlink 1s ease-in-out infinite; }
@keyframes czBlink { 0%,100%{opacity:1} 50%{opacity:.4} }
.czs-bar-wrap { margin-bottom: 14px; }
.czs-bar  { height: 6px; background: var(--s2); border-radius: 3px; overflow: hidden; }
.czs-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,var(--cyan),var(--purp)); transition: width 1s linear, background .5s; }
.czs-fill.warn   { background: linear-gradient(90deg,var(--amber),#ff8800); }
.czs-fill.danger { background: linear-gradient(90deg,var(--red),#ff6060); }

/* Section heading */
.cz-section-hd {
  font-size: 10px; font-weight: 700; color: var(--dim); letter-spacing: 3px; text-transform: uppercase;
  margin: 16px 0 10px; display: flex; align-items: center; gap: 10px;
}
.cz-section-hd::after { content:''; flex:1; height:1px; background: var(--bd); }

/* ════════════════════════
   TABLE CARDS
════════════════════════ */
#cz-tables { display: flex; flex-direction: column; gap: 10px; }

/* Skeleton */
.cz-skel {
  height: 72px; border-radius: 16px;
  background: linear-gradient(90deg, var(--s1) 25%, var(--s2) 50%, var(--s1) 75%);
  background-size: 200% 100%; animation: czShimmer 1.2s infinite;
}
@keyframes czShimmer { to { background-position: -200% 0 } }

.cz-tbl {
  background: var(--s1); border: 1.5px solid var(--bd);
  border-radius: 16px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  min-height: 72px; position: relative; overflow: hidden;
  transition: border-color .2s; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cz-tbl::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3.5px; }
.cz-tbl.free::before  { background: var(--green); }
.cz-tbl.busy::before  { background: var(--red); }
.cz-tbl.mine::before  { background: var(--cyan); animation: czBar 2s ease-in-out infinite; }
@keyframes czBar { 0%,100%{opacity:1} 50%{opacity:.25} }
.cz-tbl.free:active { background: var(--s2); }
.cz-tbl.mine { border-color: rgba(0,212,255,.3); }
.cz-tbl-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.cz-tbl.free .cz-tbl-ico { background: rgba(0,230,118,.08); }
.cz-tbl.busy .cz-tbl-ico { background: rgba(255,71,87,.08); }
.cz-tbl.mine .cz-tbl-ico { background: rgba(0,212,255,.08); }
.cz-tbl-info { flex: 1; min-width: 0; }
.cz-tbl-name   { font-size: 16px; font-weight: 700; color: var(--txt); }
.cz-tbl-status { font-size: 12px; margin-top: 3px; }
.cz-tbl.free .cz-tbl-status { color: var(--green); }
.cz-tbl.busy .cz-tbl-status { color: var(--red); }
.cz-tbl.mine .cz-tbl-status { color: var(--cyan); }
.cz-tbl-btn {
  margin-left: auto; padding: 9px 16px; border-radius: 20px; flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
  min-width: 76px; min-height: 38px; -webkit-appearance: none; border: 1.5px solid;
  transition: opacity .15s; cursor: pointer;
}
.cz-tbl-btn:active { opacity: .65; }
.cz-tbl.free .cz-tbl-btn { background: rgba(0,230,118,.1); color: var(--green); border-color: rgba(0,230,118,.3); }
.cz-tbl.busy .cz-tbl-btn { background: var(--s2); color: var(--dim); border-color: var(--bd); pointer-events: none; opacity: .5; }
.cz-tbl.mine .cz-tbl-btn { background: rgba(0,212,255,.1); color: var(--cyan); border-color: rgba(0,212,255,.3); }

/* ════════════════════════
   TOPUP
════════════════════════ */
#cz-pkgs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.czpkg {
  background: var(--s1); border: 1.5px solid var(--bd); border-radius: 16px; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; min-height: 72px; cursor: pointer;
  transition: border-color .2s, background .15s; -webkit-tap-highlight-color: transparent;
}
.czpkg:active { background: var(--s2); }
.czpkg-sel { border-color: rgba(0,212,255,.45); background: rgba(0,212,255,.04); }
.czpkg-l   { display: flex; align-items: center; gap: 14px; }
.czpkg-ico { font-size: 28px; flex-shrink: 0; }
.czpkg-price { font-size: 17px; font-weight: 700; color: var(--txt); }
.czpkg-pts { font-size: 13px; color: var(--dim); margin-top: 2px; }
.czpkg-pts b { color: var(--cyan); font-weight: 700; }
.czpkg-hot { font-size: 10px; font-weight: 700; background: rgba(255,71,87,.15); color: var(--red); border-radius: 20px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }
.czpkg-chk { font-size: 16px; color: var(--cyan); font-weight: 800; opacity: 0; transition: opacity .2s; }
.czpkg-sel .czpkg-chk { opacity: 1; }
.czpkg-info {
  background: rgba(0,212,255,.05); border: 1px solid rgba(0,212,255,.15);
  border-radius: 12px; padding: 12px 16px;
  font-size: 14px; font-weight: 700; color: var(--cyan); margin-bottom: 14px;
}
.czpay-row { display: flex; gap: 10px; margin-bottom: 16px; }
.czpay-btn {
  flex: 1; padding: 14px; border-radius: 14px;
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
  border: 1.5px solid; min-height: 52px; -webkit-appearance: none; cursor: pointer;
}
.czpay-btn:active { opacity: .7; }
.czpay-btn.momo { background: rgba(187,0,255,.08); color: #cc44ff; border-color: rgba(187,0,255,.25); }
.czpay-btn.bank { background: rgba(0,212,255,.08); color: var(--cyan); border-color: rgba(0,212,255,.25); }
.czqr-card { background: var(--s1); border: 1px solid var(--bd); border-radius: 18px; padding: 24px; text-align: center; animation: czIn .25s ease; }
.czqr-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 2px; color: var(--txt); margin-bottom: 16px; }
.czqr-img   { font-size: 56px; margin-bottom: 14px; }
.czqr-info  { font-size: 13px; color: var(--dim); line-height: 1.6; margin-bottom: 6px; }
.czqr-amt   { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--cyan); margin-bottom: 4px; }
.czqr-note  { font-size: 12px; color: var(--dim); line-height: 1.6; margin: 10px 0 18px; }

/* ════════════════════════
   HISTORY
════════════════════════ */
.cz-tx { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bd); }
.cz-tx:last-child { border: none; }
.cz-tx-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cz-tx-dot.p { background: var(--green); }
.cz-tx-dot.m { background: var(--red); }
.cz-tx-info { flex: 1; min-width: 0; }
.cz-tx-title { font-size: 14px; font-weight: 700; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-tx-date  { font-size: 11px; color: var(--dim); font-family: 'Share Tech Mono', monospace; margin-top: 2px; }
.cz-tx-pts   { font-size: 14px; font-weight: 700; font-family: 'Share Tech Mono', monospace; flex-shrink: 0; }
.cz-tx-pts.p { color: var(--green); }
.cz-tx-pts.m { color: var(--red); }
.cz-empty { text-align: center; padding: 48px 20px; color: var(--dim); font-size: 14px; line-height: 1.8; }

/* ════════════════════════
   PROFILE
════════════════════════ */
.czpf-card { background: var(--s1); border: 1px solid var(--bd); border-radius: 20px; padding: 32px 24px 24px; text-align: center; margin-bottom: 16px; }
.czpf-av {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--cyan), var(--purp));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 28px; font-weight: 800; color: #000;
}
.czpf-name  { font-size: 22px; font-weight: 800; color: var(--txt); }
.czpf-phone { font-size: 14px; color: var(--dim); font-family: 'Share Tech Mono', monospace; margin-top: 5px; }
.czpf-rank  { font-size: 15px; font-weight: 700; color: var(--amber); margin-top: 12px; }

/* ════════════════════════
   BOTTOM SHEET
════════════════════════ */
#cz-sheet { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; }
#cz-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
#cz-sheet-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  background: var(--s1); border-radius: 24px 24px 0 0;
  padding: 0 20px calc(var(--sab) + 24px);
  animation: czSheet .3s cubic-bezier(.16,1,.3,1);
}
@keyframes czSheet { from{transform:translateY(100%);opacity:0} to{transform:translateY(0);opacity:1} }
.czsh-handle { width: 38px; height: 4px; border-radius: 2px; background: var(--s3); margin: 12px auto 20px; }
.czsh-title  { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; color: var(--txt); margin-bottom: 18px; }
#sh-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--bd); font-size: 15px; }
#sh-rows > div:last-child { border: none; padding-bottom: 0; }
#sh-rows > div > span:first-child { color: var(--dim); }
#sh-rows > div > span:last-child  { font-weight: 700; color: var(--txt); }
.czsh-btns   { display: flex; gap: 12px; margin-top: 22px; }
.czsh-cancel {
  flex: 1; padding: 15px; border-radius: 14px;
  background: var(--s2); border: 1px solid var(--bd); color: var(--dim2);
  font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; min-height: 52px; cursor: pointer;
}
.czsh-cancel:active { opacity: .7; }
.czsh-ok {
  flex: 2; padding: 15px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000; font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 800; min-height: 52px;
  cursor: pointer; -webkit-appearance: none; position: relative;
}
.czsh-ok:active { opacity: .8; }
.czsh-ok.danger { background: var(--red); color: #fff; }
.czsh-ok.loading { color: transparent; pointer-events: none; }
.czsh-ok.loading::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.2); border-top-color: #000;
  animation: czSpin .65s linear infinite;
}

/* ════════════════════════
   TOAST
════════════════════════ */
#cz-toast {
  position: fixed; z-index: 99999;
  bottom: calc(var(--sab) + 72px); left: 50%;
  transform: translateX(-50%);
  pointer-events: none; white-space: nowrap;
  max-width: calc(100vw - 32px); text-align: center;
}
.cz-toast-msg {
  display: inline-block;
  background: var(--s3); border: 1px solid var(--s3);
  color: var(--txt); padding: 11px 22px; border-radius: 30px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
  animation: czToast .25s cubic-bezier(.16,1,.3,1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: calc(100vw - 32px);
}
@keyframes czToast { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
