/* FRAI-PWA-V1 · components.css — hero, kartu brand, flyer, chat, match, detail */

/* ================= HERO BERANDA ================= */
.hero{
  position:relative; overflow:hidden; border-radius:var(--r-xl);
  padding:26px 22px 24px; margin-bottom:8px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(99,102,241,.22) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(16,185,129,.20) 0%, transparent 55%),
    var(--surface);
  border:1px solid var(--line);
}
@media (min-width:768px){ .hero{ padding:38px 36px 34px; } }
.hero::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(currentColor 1px, transparent 1px);
  background-size:22px 22px; opacity:.05;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:var(--r-pill);
  background:var(--surface); border:1px solid var(--line); font-size:12px; font-weight:750;
  color:var(--text-2); margin-bottom:14px;
}
.hero-eyebrow .pulse{
  width:7px; height:7px; border-radius:50%; background:var(--primary);
  box-shadow:0 0 0 0 rgba(16,185,129,.6); animation:pulse 2.2s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(16,185,129,.55); }
  70%{ box-shadow:0 0 0 9px rgba(16,185,129,0); }
  100%{ box-shadow:0 0 0 0 rgba(16,185,129,0); }
}
.hero h1{ font-size:clamp(26px,5.2vw,42px); letter-spacing:-.035em; line-height:1.08; max-width:20ch; }
.hero p.lead{ margin-top:12px; color:var(--text-2); font-size:15px; max-width:52ch; line-height:1.6; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.hero-stats{ display:flex; gap:22px; margin-top:24px; flex-wrap:wrap; }
.hero-stat .n{ font-family:var(--font-num); font-size:22px; font-weight:800; letter-spacing:-.02em; }
.hero-stat .l{ font-size:11.5px; color:var(--muted); font-weight:650; text-transform:uppercase; letter-spacing:.05em; }

/* kartu event di beranda */
.event-card{
  position:relative; min-width:266px; max-width:300px; border-radius:var(--r-lg); overflow:hidden;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow);
  transition:transform var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur);
  display:flex; flex-direction:column;
}
/* Di dalam grid, min-width:266px memaksa kartu melebihi kolom 2-up di ponsel
   sehingga seluruh halaman melebar horizontal. Biarkan grid yang menentukan. */
.grid-cards > .event-card{ min-width:0; max-width:none; width:100%; }

/* Varian ringkas: chip event di halaman detail brand (bukan kartu penuh).
   Tanpa ini .event-card mewarisi min-width:266px dan tampil sebagai kotak
   putih besar yang isinya cuma dot + nama event. */
.event-card.sm{
  min-width:0; max-width:none; width:auto;
  display:inline-flex; flex-direction:row; align-items:center; gap:9px;
  padding:9px 14px 9px 12px; border-radius:var(--r-pill);
  background:var(--surface); border:1px solid var(--line);
  box-shadow:none; overflow:visible;
}
.event-card.sm:hover{ transform:none; border-color:var(--line-strong); box-shadow:var(--shadow); }
.event-card.sm .dot{ width:9px; height:9px; border-radius:50%; flex:0 0 auto; }
.event-card.sm b{ font-size:13.5px; font-weight:800; letter-spacing:-.01em; white-space:nowrap; }
.event-card.sm small{ font-size:11.5px; color:var(--muted); white-space:nowrap; }

/* ubin event di halaman /event (grid) */
.event-tile{
  position:relative; display:flex; flex-direction:column; gap:6px; padding:15px 16px 16px;
  border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line);
  box-shadow:var(--shadow); text-decoration:none; color:inherit; min-width:0;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.event-tile:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); border-color:var(--line-strong); }
.event-tile b{ font-size:15px; line-height:1.25; }
.event-tile .dot{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.event-tile .tiny{ display:flex; align-items:center; gap:5px; flex-wrap:wrap; color:var(--muted); }
.event-tile .badge{ align-self:flex-start; margin-top:2px; }
.event-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--line-strong); }
.event-card .top{
  padding:16px 16px 14px; color:#fff; position:relative; overflow:hidden;
}
.event-card .top::after{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(#fff 1px, transparent 1px); background-size:18px 18px; opacity:.12;
}
.event-card .top .sig{ font-size:17px; font-weight:850; letter-spacing:-.02em; position:relative; }
.event-card .top .nm{ font-size:12px; opacity:.9; margin-top:3px; position:relative; line-height:1.35; }
.event-card .body{ padding:13px 16px 15px; display:flex; flex-direction:column; gap:9px; flex:1; }
.event-card .meta{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--text-2); }
.event-card .meta svg{ width:15px; height:15px; color:var(--muted); flex:0 0 auto; }
.event-card .foot{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:6px; }
.event-card .pill-status{
  font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em;
  padding:3px 9px; border-radius:999px; background:var(--primary-soft); color:var(--primary-600);
}
[data-theme="dark"] .event-card .pill-status{ background:#07271C; color:#6EE7B7; }
.event-card .pill-status.draft{ background:var(--surface-3); color:var(--muted); }

/* ================= KARTU BRAND ================= */
.brand-card{
  display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow);
  transition:transform var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur);
  position:relative;
}
.brand-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--line-strong); }
.brand-card .thumb{
  position:relative; aspect-ratio:4/3; background:var(--surface-2); overflow:hidden;
}
.brand-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform 400ms var(--ease); }
.brand-card:hover .thumb img{ transform:scale(1.04); }
.brand-card .thumb .ov{
  position:absolute; inset:auto 0 0 0; height:56%;
  background:linear-gradient(transparent, rgba(6,10,20,.72));
  display:flex; align-items:flex-end; padding:10px; gap:6px;
}
.brand-card .thumb .badge-booth{ font-size:10.5px; font-weight:800; padding:4px 9px; border-radius:8px; }
/* Booth di samping kotak centang (bandingkan) — nomor booth jadi terlihat
   sebelum kartu dibuka, bukan hanya di kaki kartu. */
.brand-card-top .badge-booth{ flex:0 0 auto; font-size:10.5px; font-weight:800; padding:3px 8px; border-radius:8px; }
.brand-card .body{ padding:12px 13px 14px; display:flex; flex-direction:column; gap:7px; flex:1; }
.brand-card .nm{ font-size:14.5px; font-weight:800; letter-spacing:-.015em; line-height:1.25; display:flex; align-items:center; gap:5px; }
.brand-card .nm .verif{ color:var(--primary); flex:0 0 auto; }
.brand-card .nm .verif svg{ width:14px; height:14px; }
.brand-card .cat{ font-size:11.5px; color:var(--muted); font-weight:650; }
.brand-card .desc{ font-size:12px; color:var(--text-2); line-height:1.45; }
.brand-card .price{ margin-top:auto; padding-top:4px; }
.brand-card .price .l{ font-size:10.5px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.brand-card .price .v{ font-family:var(--font-num); font-size:14.5px; font-weight:800; letter-spacing:-.02em; }
.brand-card .promo-tag{
  position:absolute; top:9px; left:9px; z-index:2;
}
.brand-card .fav-btn{
  position:absolute; top:8px; right:8px; z-index:3; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center; background:rgba(11,18,32,.55); backdrop-filter:blur(8px);
  color:#fff; transition:transform var(--dur), background var(--dur);
}
.brand-card .fav-btn:hover{ transform:scale(1.08); background:rgba(11,18,32,.75); }
.brand-card .fav-btn.on{ color:var(--fav); }
.brand-card .fav-btn svg{ width:17px; height:17px; }

/* kartu flyer (flyer wall) */
.flyer-card{
  position:relative; border-radius:var(--r-md); overflow:hidden; background:var(--surface-2);
  border:1px solid var(--line); aspect-ratio:3/4; break-inside:avoid;
  transition:transform var(--dur-2) var(--ease), box-shadow var(--dur-2);
  width:100%; display:block;
}
.flyer-card:hover{ transform:translateY(-3px) scale(1.005); box-shadow:var(--shadow-lg); }
.flyer-card img{ width:100%; height:100%; object-fit:cover; }
.flyer-card .lock{
  position:absolute; inset:0; background:linear-gradient(transparent 30%, rgba(6,10,20,.82));
  display:flex; flex-direction:column; justify-content:flex-end; padding:11px; gap:3px; color:#fff;
}
.flyer-card .lock .nm{ font-size:13px; font-weight:800; letter-spacing:-.01em; }
.flyer-card .lock .sub{ font-size:11px; opacity:.85; }
.flyer-card .lock .cta{
  margin-top:6px; display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:750;
  background:rgba(255,255,255,.16); backdrop-filter:blur(6px); padding:5px 10px; border-radius:999px;
  align-self:flex-start;
}
.flyer-card .lock .cta svg{ width:13px; height:13px; }
.flyer-wall{ columns:2; column-gap:12px; }
@media (min-width:640px){ .flyer-wall{ columns:3; column-gap:14px; } }
@media (min-width:1024px){ .flyer-wall{ columns:4; } }
@media (min-width:1360px){ .flyer-wall{ columns:5; } }
.flyer-wall > *{ margin-bottom:12px; }

/* ================= FILTER BAR ================= */
.filterbar{
  display:flex; gap:8px; overflow-x:auto; padding:2px 0 10px; scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.filterbar::-webkit-scrollbar{ display:none; }
.filterbar > *{ flex:0 0 auto; }
.searchbar{
  display:flex; align-items:center; gap:9px; height:48px; padding:0 14px;
  background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r-pill);
  margin-bottom:12px;
}
.searchbar svg{ width:19px; height:19px; color:var(--muted); flex:0 0 auto; }
.searchbar input{ border:0; outline:none; background:none; width:100%; font-size:14.5px; }
.searchbar .clear{ display:none; }
.searchbar.has-val .clear{ display:grid; }

/* ================= DETAIL BRAND ================= */
.detail-hero{
  border-radius:var(--r-xl); overflow:hidden; border:1px solid var(--line); background:var(--surface);
  margin-bottom:16px;
}
.detail-hero .cover{ position:relative; aspect-ratio:16/9; background:var(--surface-2); }
.detail-hero .cover img{ width:100%; height:100%; object-fit:cover; }
.detail-hero .cover .grad{
  position:absolute; inset:0; background:linear-gradient(transparent 40%, rgba(6,10,20,.85));
}
.detail-hero .head{ position:absolute; left:0; right:0; bottom:0; padding:16px; color:#fff; }
.detail-hero .head h1{ font-size:clamp(21px,4vw,29px); letter-spacing:-.03em; }
.detail-hero .head .cat{ font-size:12.5px; opacity:.9; margin-top:3px; }
.detail-hero .head .tags{ display:flex; gap:6px; margin-top:9px; flex-wrap:wrap; }
.detail-hero .body{ padding:16px; }

.kv{ display:grid; grid-template-columns:repeat(auto-fit,minmax(132px,1fr)); gap:10px; }
.kv .item{ padding:11px 13px; background:var(--surface-2); border-radius:var(--r-md); border:1px solid var(--line); }
.kv .item .l{ font-size:10.5px; color:var(--muted); font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.kv .item .v{ font-size:14px; font-weight:800; margin-top:3px; font-family:var(--font-num); letter-spacing:-.02em; }
.kv .item .v.txt{ font-family:var(--font); font-size:13.5px; }

.paket-card{
  border:1px solid var(--line); border-radius:var(--r-lg); padding:15px; background:var(--surface);
  display:flex; flex-direction:column; gap:11px;
}
.paket-card.rekom{ border-color:var(--primary); box-shadow:0 0 0 3px rgba(16,185,129,.12); }
.paket-card .ttl{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.paket-card .ttl h3{ font-size:15px; }
.paket-card .inv{ font-family:var(--font-num); font-size:18px; font-weight:850; letter-spacing:-.025em; }
.paket-card .inv small{ font-size:12px; font-weight:650; color:var(--muted); }
.paket-card .lines{ display:flex; flex-direction:column; gap:6px; }
.paket-card .line{ display:flex; justify-content:space-between; gap:10px; font-size:12.5px; }
.paket-card .line .k{ color:var(--muted); }
.paket-card .line .v{ font-weight:700; font-family:var(--font-num); }
.paket-card ul.inc{ display:flex; flex-direction:column; gap:6px; }
.paket-card ul.inc li{ display:flex; gap:7px; font-size:12.5px; color:var(--text-2); align-items:flex-start; }
.paket-card ul.inc li svg{ width:14px; height:14px; color:var(--primary); flex:0 0 auto; margin-top:2px; }

/* sticky action bar detail */
.action-bar{
  position:fixed; left:0; right:0; bottom:calc(var(--bottombar-h) + env(safe-area-inset-bottom));
  z-index:var(--z-sticky); padding:10px 14px; display:flex; gap:9px;
  background:var(--glass); backdrop-filter:blur(16px); border-top:1px solid var(--glass-line);
}
@media (min-width:1024px){
  .action-bar{ left:var(--sidebar-w); right:var(--rail-w); bottom:0; }
}

/* FAQ akordeon */
.acc{ border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; background:var(--surface); }
.acc + .acc{ margin-top:8px; }
.acc summary{
  padding:13px 15px; font-weight:700; font-size:13.5px; cursor:pointer; display:flex;
  align-items:center; justify-content:space-between; gap:10px; list-style:none;
}
.acc summary::-webkit-details-marker{ display:none; }
.acc summary svg{ width:17px; height:17px; color:var(--muted); transition:transform var(--dur); flex:0 0 auto; }
.acc[open] summary svg{ transform:rotate(180deg); }
.acc .ans{ padding:0 15px 13px; font-size:13px; color:var(--text-2); line-height:1.6; }

/* ================= CHAT AI ================= */
.chat-wrap{ display:flex; flex-direction:column; height:calc(100vh - var(--topbar-h) - var(--bottombar-h) - 26px); }
@media (min-width:1024px){ .chat-wrap{ height:calc(100vh - var(--topbar-h) - 26px); } }
.chat-scope{
  display:flex; align-items:center; gap:8px; padding:9px 13px; margin-bottom:10px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); font-size:12.5px;
}
.chat-scope .sw{ display:flex; gap:4px; margin-left:auto; }
.chat-scope .sw button{
  padding:5px 11px; border-radius:999px; font-size:11.5px; font-weight:750;
  background:var(--surface-2); color:var(--text-2); border:1px solid var(--line);
}
.chat-scope .sw button.on{ background:var(--primary); border-color:var(--primary); color:#fff; }
.chat-log{ flex:1; overflow-y:auto; padding:4px 2px 10px; display:flex; flex-direction:column; gap:12px; }
.msg{ display:flex; gap:9px; max-width:min(680px,92%); }
.msg.me{ align-self:flex-end; flex-direction:row-reverse; }
.msg .av{
  width:30px; height:30px; border-radius:10px; flex:0 0 auto; display:grid; place-items:center;
  background:var(--grad-ai); color:#fff;
}
.msg .av svg{ width:16px; height:16px; }
.msg.me .av{ background:var(--surface-3); color:var(--text-2); }
.msg .bub{
  padding:11px 14px; border-radius:var(--r-lg); font-size:14px; line-height:1.62;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-sm);
  overflow-wrap:anywhere;
}
.msg.me .bub{ background:var(--primary); color:#fff; border-color:transparent; }
.msg .bub p + p{ margin-top:9px; }
.msg .bub ul{ display:flex; flex-direction:column; gap:5px; margin:7px 0; padding-left:2px; }
.msg .bub li{ padding-left:14px; position:relative; }
.msg .bub li::before{ content:'•'; position:absolute; left:2px; color:var(--primary); font-weight:800; }
.msg .bub strong{ font-weight:800; }
.msg .bub code{ font-family:var(--font-num); background:var(--surface-2); padding:1px 5px; border-radius:5px; font-size:12.5px; }
.msg .sumber{ margin-top:8px; padding-top:8px; border-top:1px dashed var(--line); display:flex; flex-wrap:wrap; gap:5px; }
.msg .sumber .s{
  font-size:11px; padding:3px 8px; border-radius:999px; background:var(--surface-2);
  border:1px solid var(--line); color:var(--text-2); font-weight:650;
}
.typing{ display:flex; gap:4px; padding:4px 2px; }
.typing i{ width:6px; height:6px; border-radius:50%; background:var(--muted); animation:blink 1.3s infinite; }
.typing i:nth-child(2){ animation-delay:.18s; } .typing i:nth-child(3){ animation-delay:.36s; }
@keyframes blink{ 0%,60%,100%{ opacity:.28; transform:translateY(0); } 30%{ opacity:1; transform:translateY(-2px); } }

.chat-input{
  display:flex; align-items:flex-end; gap:8px; padding:9px 10px; margin-top:8px;
  background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r-lg);
  box-shadow:var(--shadow);
}
.chat-input textarea{
  flex:1; border:0; outline:none; background:none; resize:none; max-height:120px;
  font-size:14.5px; line-height:1.5; padding:8px 4px;
}
.chat-input .send{
  width:42px; height:42px; border-radius:50%; background:var(--grad-ai); color:#fff;
  display:grid; place-items:center; flex:0 0 auto; transition:transform var(--dur), opacity var(--dur);
}
.chat-input .send:disabled{ opacity:.45; }
.chat-input .send:active{ transform:scale(.94); }
.chat-input .send svg{ width:19px; height:19px; }
.suggests{ display:flex; gap:7px; overflow-x:auto; padding:2px 0 8px; scrollbar-width:none; }
.suggests::-webkit-scrollbar{ display:none; }
.suggests button{
  flex:0 0 auto; font-size:12.5px; font-weight:650; padding:8px 13px; border-radius:var(--r-pill);
  background:var(--surface); border:1px solid var(--line); color:var(--text-2);
}
.suggests button:hover{ border-color:var(--primary); color:var(--primary-600); }

/* ================= MATCH ================= */
.match-progress{
  height:5px; border-radius:999px; background:var(--surface-3); overflow:hidden; margin-bottom:16px;
}
.match-progress .bar{ height:100%; background:var(--grad-ai); border-radius:999px; transition:width 320ms var(--ease); }
.q-card{ max-width:680px; margin:0 auto; }
.q-card .qnum{ font-size:12px; font-weight:800; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; }
.q-card h2{ font-size:clamp(19px,3.6vw,25px); margin:7px 0 4px; letter-spacing:-.025em; }
.opt{
  display:flex; align-items:center; gap:11px; width:100%; padding:14px 16px; text-align:left;
  background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-md);
  font-size:14px; font-weight:650; transition:border-color var(--dur), background var(--dur), transform var(--dur);
  margin-bottom:9px;
}
.opt:hover{ border-color:var(--line-strong); background:var(--surface-2); }
.opt.sel{ border-color:var(--primary); background:var(--primary-soft); }
[data-theme="dark"] .opt.sel{ background:#07271C; }
.opt .mark{
  width:21px; height:21px; border-radius:7px; border:1.8px solid var(--line-strong);
  display:grid; place-items:center; flex:0 0 auto; color:#fff;
}
.opt.sel .mark{ background:var(--primary); border-color:var(--primary); }
.opt .mark svg{ width:13px; height:13px; opacity:0; }
.opt.sel .mark svg{ opacity:1; }
.opt.multi .mark{ border-radius:6px; }
.opt .lbl{ flex:1; min-width:0; }
.opt .lbl small{ display:block; font-size:11.5px; color:var(--muted); font-weight:600; margin-top:2px; }

.result-hero{
  text-align:center; padding:26px 18px; border-radius:var(--r-xl);
  background:radial-gradient(120% 120% at 50% 0%, rgba(99,102,241,.18), transparent 60%), var(--surface);
  border:1px solid var(--line); margin-bottom:16px;
}
.result-hero .trophy{ width:54px; height:54px; border-radius:18px; background:var(--grad-ai); color:#fff;
  display:grid; place-items:center; margin:0 auto 12px; box-shadow:0 10px 26px rgba(99,102,241,.34); }
.result-hero .trophy svg{ width:27px; height:27px; }
.result-hero h1{ font-size:clamp(21px,4vw,28px); }
.result-hero p{ color:var(--text-2); font-size:13.5px; margin-top:7px; }

.rank-card{
  display:flex; gap:13px; padding:14px; border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--surface); margin-bottom:11px; align-items:flex-start;
  transition:border-color var(--dur), transform var(--dur);
}
.rank-card:hover{ border-color:var(--line-strong); }
.rank-card.top{ border-color:var(--primary); box-shadow:0 0 0 3px rgba(16,185,129,.1); }
.rank-card .rank{
  width:34px; height:34px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto;
  font-family:var(--font-num); font-weight:850; font-size:14px;
  background:var(--surface-2); color:var(--text-2); border:1px solid var(--line);
}
.rank-card.top .rank{ background:var(--grad-ai); color:#fff; border-color:transparent; }
.rank-card .info{ flex:1; min-width:0; }
.rank-card .nm{ font-size:14.5px; font-weight:800; display:flex; align-items:center; gap:5px; }
.rank-card .alasan{ font-size:12px; color:var(--text-2); margin-top:5px; line-height:1.5; }
.rank-card .score{
  font-family:var(--font-num); font-weight:850; font-size:15px; color:var(--primary-600); flex:0 0 auto;
}
[data-theme="dark"] .rank-card .score{ color:#6EE7B7; }
.match-bar{ height:5px; border-radius:999px; background:var(--surface-3); overflow:hidden; margin-top:7px; }
.match-bar i{ display:block; height:100%; background:var(--grad-ai); border-radius:999px; }

/* ================= PROFIL / AKUN ================= */
.profile-head{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.avatar{
  width:56px; height:56px; border-radius:19px; background:var(--grad-ai); color:#fff;
  display:grid; place-items:center; font-size:21px; font-weight:850; flex:0 0 auto;
  box-shadow:0 8px 20px rgba(99,102,241,.28);
}
.list-row{
  display:flex; align-items:center; gap:12px; padding:14px 15px; border-bottom:1px solid var(--line);
  font-size:14px; transition:background var(--dur);
}
.list-row:last-child{ border-bottom:0; }
.list-row:hover{ background:var(--surface-2); }
.list-row .ico{ width:34px; height:34px; border-radius:11px; background:var(--surface-2); display:grid;
  place-items:center; color:var(--text-2); flex:0 0 auto; }
.list-row .ico svg{ width:17px; height:17px; }
.list-row .t{ font-weight:700; }
.list-row .s{ font-size:12px; color:var(--muted); margin-top:1px; }
.list-row .chev{ margin-left:auto; color:var(--muted); }
.list-row .chev svg{ width:17px; height:17px; }

/* gate */
.gate{
  text-align:center; padding:30px 20px; border-radius:var(--r-xl); background:var(--surface);
  border:1px solid var(--line);
}
.gate .ico{
  width:56px; height:56px; border-radius:19px; background:var(--grad-ai-soft); color:var(--ai);
  display:grid; place-items:center; margin:0 auto 14px;
}
.gate .ico svg{ width:26px; height:26px; }
.gate h3{ font-size:18px; margin-bottom:7px; }
.gate p{ font-size:13.5px; color:var(--text-2); max-width:38ch; margin:0 auto; line-height:1.6; }
.gate .acts{ display:flex; flex-direction:column; gap:9px; margin-top:18px; max-width:320px; margin-inline:auto; }

/* OTP input */
.otp-inputs{ display:flex; gap:9px; justify-content:center; margin:6px 0 4px; }
.otp-inputs input{
  width:46px; height:56px; text-align:center; font-size:21px; font-weight:800;
  font-family:var(--font-num); border-radius:var(--r-md); border:1.5px solid var(--line-strong);
  background:var(--surface); color:var(--text);
}
.otp-inputs input:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(16,185,129,.18); }

/* admin tabel */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface); }
table.tbl{ width:100%; border-collapse:collapse; font-size:13px; min-width:560px; }
table.tbl th{
  text-align:left; padding:10px 12px; font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted); background:var(--surface-2); border-bottom:1px solid var(--line); font-weight:800;
}
table.tbl td{ padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
table.tbl tr:last-child td{ border-bottom:0; }

/* stat card */
.stat-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:11px; }
.stat{
  padding:14px; border-radius:var(--r-md); background:var(--surface); border:1px solid var(--line);
  /* Isi kartu ini <span>/<b> — semuanya inline secara bawaan, jadi dulu
     label, angka, dan keterangan berdesakan di satu baris. Kolom + rata atas
     membuatnya menumpuk rapi di lebar sempit. */
  display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0;
}
.stat .l{ font-size:11px; color:var(--muted); font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.stat .v{ font-family:var(--font-num); font-size:23px; font-weight:850; letter-spacing:-.03em; line-height:1.15; }
.stat .d{ font-size:11.5px; color:var(--text-2); line-height:1.35; }
