/* ==========================================================================
   Titancore UI — design system bersama (member, publik, admin)
   Bahasa visual mengikuti landing page & beranda: hitam pekat, aksen merah,
   Michroma untuk display, Manrope untuk teks. Mobile first.
   ========================================================================== */
:root{
  color-scheme:dark;
  --bg:#0a0a0c;--bg-2:#0d0d0f;--panel:#131416;--panel-2:#18181b;--panel-3:#1e1e21;
  --line:#2c2d31;--line-2:#3a3a3f;--text:#f5f5f6;--muted:#a3a4a9;--faint:#76777c;
  --red:#e10a17;--red-2:#f5222d;--red-soft:#f0444d;--red-bg:rgba(225,10,23,.12);
  --green:#5fd3a0;--green-bg:#123026;--amber:#f2b84b;--amber-bg:#342a14;--danger:#ff7880;--danger-bg:#36181b;
  --radius:4px;--radius-lg:8px;--ease:cubic-bezier(.16,1,.3,1);
  --display:Michroma,Manrope,sans-serif;--font:Manrope,system-ui,Arial,sans-serif;
  --dock-h:68px;
}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.tcu-body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font:14px/1.55 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.tcu-body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(900px 420px at 100% -10%,rgba(225,10,23,.10),transparent 60%),radial-gradient(700px 380px at -10% 110%,rgba(225,10,23,.05),transparent 60%)}
a{color:inherit;text-decoration:none}
img,svg,video{max-width:100%}
img{height:auto}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #fff;outline-offset:2px}
::selection{background:var(--red);color:#fff}
[hidden]{display:none!important}
.tcu-icon{flex:none;display:inline-block;vertical-align:middle}
.tcd-wrap{width:min(1240px,calc(100% - 32px));margin-inline:auto}
.tcd-skip{position:absolute;left:-999px;top:12px;z-index:200;padding:12px;background:#fff;color:#000}.tcd-skip:focus{left:12px}

/* ---------- Header (identik dengan beranda) ---------- */
.tcd-header{height:65px;background:rgba(10,10,12,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid #26272a;position:sticky;top:0;z-index:50;transition:height .25s var(--ease),background .25s}
.tcd-header.is-scrolled{background:rgba(10,10,12,.96)}
.tcd-header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tcd-brand{display:flex;align-items:center;gap:11px;min-width:0}
.tcd-brand img,.tcd-footer img{width:36px;height:36px;object-fit:contain;border-radius:6px}
.tcd-brand span{display:flex;flex-direction:column;gap:4px;min-width:0}
.tcd-brand strong,.tcd-footer strong{font:700 10px var(--display);letter-spacing:.1em;line-height:1.2;white-space:nowrap}
.tcd-brand small,.tcd-footer span{font-size:8px;letter-spacing:.32em;color:#e53940;font-weight:800}
.tcd-desktop-nav{display:none}
.tcd-header-actions{display:flex;align-items:center;gap:14px}
.tcd-help{display:none;font-size:12px;font-weight:700}.tcd-help:hover{color:#fa434d}
.tcd-profile{width:38px;height:38px;border:1px solid #57585b;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-weight:800;background:#222326;transition:border-color .2s}
.tcd-profile:hover{border-color:var(--red)}
.tcd-profile img{width:100%;height:100%;object-fit:cover}
@media(min-width:761px){
  .tcd-wrap{width:min(1240px,calc(100% - 48px))}
  .tcd-header{height:82px}
  .tcd-brand{min-width:220px}.tcd-brand img{width:44px;height:44px}.tcd-brand strong{font-size:13px}.tcd-brand small{font-size:9px}
  .tcd-desktop-nav{height:100%;display:flex;align-items:center;gap:18px}
  .tcd-desktop-nav a{height:100%;display:flex;align-items:center;color:#b8b9bc;font-size:12px;font-weight:700;position:relative;transition:color .2s}
  .tcd-desktop-nav a.active,.tcd-desktop-nav a:hover{color:#fff}
  .tcd-desktop-nav a:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--red);transform:scaleX(0);transition:transform .25s var(--ease)}
  .tcd-desktop-nav a.active:after,.tcd-desktop-nav a:hover:after{transform:scaleX(1)}
  .tcd-help{display:inline}.tcd-header-actions{gap:22px}
}
@media(min-width:1000px){.tcd-desktop-nav{gap:32px}}

/* ---------- Footer & dock ---------- */
.tcd-footer{border-top:1px solid #2b2b2d;background:var(--bg-2);margin-top:60px}
.tcd-footer.tcu-footer{display:block!important}
.tcd-bottom-nav{display:none!important}
.tcd-footer>.tcd-wrap{padding:26px 0 calc(var(--dock-h) + 30px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.tcd-footer>.tcd-wrap>div{display:flex;align-items:center;gap:10px}
.tcd-footer p,.tcu-footer-links a{font-size:11px;color:#97989b;margin:0}
.tcu-footer-links{display:flex;flex-wrap:wrap;gap:8px 20px}.tcu-footer-links a:hover{color:#fff}
body:not(.has-dock) .tcd-footer>.tcd-wrap{padding-bottom:30px}
@media(min-width:761px){.tcd-footer>.tcd-wrap{min-height:112px;padding:20px 0;flex-direction:row;align-items:center;justify-content:space-between}}
.tcu-dock{position:fixed;bottom:0;left:0;right:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:rgba(19,19,21,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #3a3a3d}
.tcu-dock a{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 0;color:#a3a4a6;font-size:9.5px;font-weight:800;letter-spacing:.02em;transition:color .2s}
.tcu-dock a:before{content:"";position:absolute;top:-7px;left:30%;right:30%;height:2px;background:var(--red);transform:scaleX(0);transition:transform .3s var(--ease)}
.tcu-dock a.active{color:#f13a45}.tcu-dock a.active:before{transform:scaleX(1)}
.tcu-dock a:active .tcu-icon{transform:scale(.88)}
.tcu-dock .tcu-icon{transition:transform .15s}
@media(min-width:761px){.tcu-dock{display:none}.tcd-footer>.tcd-wrap{padding-bottom:20px}}

/* ---------- Main, topbar, intro ---------- */
.tcu-main{padding:0 0 30px;min-height:60vh}
.tcu-topbar{display:flex;align-items:center;gap:14px;padding-top:18px;min-width:0}
.tcu-back{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 13px 0 10px;border:1px solid var(--line-2);background:rgba(20,20,23,.7);font-size:11px;font-weight:800;border-radius:var(--radius);transition:border-color .2s,transform .2s}
.tcu-back:hover{border-color:var(--red);transform:translateX(-2px)}
.tcu-crumbs{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;color:#8d8d92;font-size:10.5px;font-weight:700}
.tcu-crumbs a:hover{color:#fff}.tcu-crumbs [aria-current]{color:#e3e3e6;overflow:hidden;text-overflow:ellipsis}
.tcu-back+.tcu-crumbs{display:none}
@media(min-width:620px){.tcu-back+.tcu-crumbs{display:flex}}
.tcu-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:24px 0 22px}
.tcu-eyebrow,.tcu-kicker{display:inline-flex;align-items:center;gap:9px;color:#ed3a44;font-size:9.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.tcu-eyebrow i,.tcu-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#ea1622;box-shadow:0 0 10px #ea1622}
.tcu-intro h1{font:400 clamp(25px,7vw,44px)/1.28 var(--display);letter-spacing:-.05em;margin:11px 0 8px;overflow-wrap:anywhere}
.tcu-intro h1 em,.tcu-h2 em{font-style:normal;color:#ef3843}
.tcu-intro p{margin:0;max-width:620px;color:#aaaab0;line-height:1.65;font-size:12.5px}
.tcu-intro-index{display:none;color:#77777e;font-size:10px;letter-spacing:.18em;font-weight:800;white-space:nowrap}
.tcu-intro{flex-wrap:wrap}
.tcu-intro>div:first-child{min-width:0;flex:1 1 320px}
.tcu-intro-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.tcu-intro-actions{width:100%}.tcu-intro-actions>*{flex:1}}
@media(min-width:761px){.tcu-intro{padding:38px 0 30px;flex-wrap:nowrap}.tcu-intro-index{display:block}.tcu-intro p{font-size:13.5px}}

/* ---------- Grid ---------- */
.tcu-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.tcu-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.tcu-main>.tcd-wrap{min-width:0}
.tcu-cols-2,.tcu-cols-3,.tcu-cols-4{display:grid;gap:12px}
.tcu-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tcu-cols-3,.tcu-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tcu-span-2{grid-column:1/-1}
@media(min-width:761px){
  .tcu-grid{grid-template-columns:minmax(0,1fr) 320px;gap:24px}
  .tcu-grid.is-even{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tcu-grid.is-side-left{grid-template-columns:320px minmax(0,1fr)}
  .tcu-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tcu-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tcu-sticky{position:sticky;top:100px}
}
@media(min-width:1000px){.tcu-grid{grid-template-columns:minmax(0,1fr) 350px;gap:28px}}

/* ---------- Panel & card ---------- */
.tcu-panel,.tcu-card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.tcu-panel{padding:20px}
.tcu-card{padding:16px;transition:border-color .2s,transform .25s var(--ease),background .2s}
a.tcu-card:hover,button.tcu-card:hover,.tcu-card.is-link:hover{border-color:#bd333a;transform:translateY(-2px)}
button.tcu-card{width:100%;text-align:left;color:inherit}
.tcu-panel.is-flush{padding:0;overflow:hidden}
.tcu-panel.is-glow{background:radial-gradient(circle at 100% 0%,rgba(205,14,25,.2),transparent 45%),#161618}
@media(min-width:761px){.tcu-panel{padding:26px}}
.tcu-panel-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}
.tcu-panel-head>div{min-width:0;flex:1}
.tcu-panel-head h2,.tcu-panel-head h3{font-size:15.5px;line-height:1.35;margin:0 0 4px;font-weight:800}
.tcu-panel-head p{font-size:11.5px;color:var(--muted);line-height:1.55;margin:0}
.tcu-panel-head>a,.tcu-link{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;border-bottom:1px solid var(--red);padding-bottom:4px;white-space:nowrap;transition:color .2s}
.tcu-panel-head>a:hover,.tcu-link:hover{color:#f24851}
.tcu-step{display:grid;place-items:center;width:32px;height:32px;flex:none;border:1px solid #96383f;color:#f34852;font:10px var(--display);border-radius:var(--radius)}
.tcu-ico{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:var(--radius);background:#241a1c;color:#ff6b75;border:1px solid #4a2a2f}
.tcu-ico.is-green{background:#14302a;color:var(--green);border-color:#24564a}
.tcu-ico.is-amber{background:#2f2614;color:var(--amber);border-color:#5a4520}
.tcu-ico.is-mute{background:#1f1f22;color:#cfcfd3;border-color:#36363b}
.tcu-ico.is-round{border-radius:50%}
.tcu-section{margin-top:40px}
.tcu-section:first-child{margin-top:0}
.tcu-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.tcu-h2{font:400 clamp(19px,5vw,30px)/1.3 var(--display);letter-spacing:-.045em;margin:9px 0 0}
.tcu-h3{font-size:15px;font-weight:800;margin:0}
@media(min-width:761px){.tcu-section{margin-top:56px}}

/* ---------- Hero wallet / saldo ---------- */
.tcu-wallet{position:relative;overflow:hidden;padding:22px;border:1px solid #744047;border-radius:var(--radius);background:radial-gradient(circle at 80% -20%,rgba(228,35,47,.34),transparent 52%),linear-gradient(130deg,#242125,#101012 75%);box-shadow:0 22px 50px rgba(0,0,0,.25)}
.tcu-wallet:after{content:"";position:absolute;right:-40px;bottom:-90px;width:220px;height:220px;border:36px solid rgba(250,54,68,.06);border-radius:50%;pointer-events:none}
.tcu-wallet-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ff8790;font-size:9.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.tcu-wallet-top span:last-child{color:#837b7f}
.tcu-wallet-value{display:block;margin-top:26px;font:400 clamp(25px,7vw,40px)/1.2 var(--display);letter-spacing:-.065em;overflow-wrap:anywhere}
.tcu-wallet small{display:block;margin-top:7px;font-size:11px;color:#b9b2b5}
.tcu-wallet-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.tcu-wallet-split{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.tcu-wallet-split>div{padding:12px 14px;background:rgba(14,13,15,.72);min-width:0}
.tcu-wallet-split span{display:block;font-size:10px;color:#a9a2a5}
.tcu-wallet-split strong{display:block;margin-top:4px;font-size:14px;overflow-wrap:anywhere}
@media(min-width:761px){.tcu-wallet{padding:30px}}

/* ---------- Stats ---------- */
.tcu-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.tcu-stat{padding:16px 17px;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.tcu-stat:nth-child(2n){border-right:0}
.tcu-stats>.tcu-stat:nth-last-child(-n+2):nth-child(odd),.tcu-stats>.tcu-stat:last-child{border-bottom:0}
.tcu-stat span{display:block;font-size:10.5px;color:#acadb0}
.tcu-stat strong{display:block;margin:6px 0 4px;font-size:16px;font-weight:800;overflow-wrap:anywhere}
.tcu-stat small{display:block;font-size:10px;color:var(--faint)}
.tcu-stat strong.is-green{color:var(--green)}.tcu-stat strong.is-red{color:#ff6b75}
@media(min-width:761px){
  .tcu-stats.is-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tcu-stats.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tcu-stats.is-4 .tcu-stat,.tcu-stats.is-3 .tcu-stat{border-bottom:0;border-right:1px solid var(--line)}
  .tcu-stats.is-4 .tcu-stat:last-child,.tcu-stats.is-3 .tcu-stat:last-child{border-right:0}
  .tcu-stat{padding:22px 24px}.tcu-stat strong{font-size:19px}
}

/* ---------- List / menu rows ---------- */
.tcu-list{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.tcu-list.is-plain{background:transparent;border:0;border-radius:0}
.tcu-row{display:flex;align-items:center;gap:13px;padding:14px 16px;min-width:0;transition:background .2s}
.tcu-row+.tcu-row{border-top:1px solid var(--line)}
a.tcu-row:hover,button.tcu-row:hover{background:#18181b}
button.tcu-row{width:100%;border:0;background:transparent;text-align:left}
.tcu-row-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.tcu-row-text strong{font-size:12.5px;font-weight:800;overflow-wrap:anywhere}
.tcu-row-text small{font-size:10.5px;color:var(--muted);overflow-wrap:anywhere}
.tcu-row-end{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right;flex:none;max-width:55%}
.tcu-row-end strong{font-size:12.5px;white-space:nowrap}
.tcu-row-end small{font-size:10px;color:var(--faint)}
.tcu-row>.tcu-icon:last-child{color:#77787c;transition:transform .2s,color .2s}
a.tcu-row:hover>.tcu-icon:last-child{color:#f13a45;transform:translateX(3px)}
.is-in{color:var(--green)!important}.is-out{color:#ff7d86!important}
.tcu-row.is-danger .tcu-row-text strong{color:#ff7880}

/* Accordion row (details/summary) */
.tcf-row>summary{list-style:none;cursor:pointer}
.tcf-row>summary::-webkit-details-marker{display:none}
.tcf-row+.tcf-row{border-top:1px solid var(--line)}
.tcf-row[open]>summary{background:#18181b}
.tcf-detail{padding:6px 16px 16px 69px;animation:tcu-in .3s var(--ease)}
.tcf-detail.is-flat{padding-left:16px}
@media(max-width:520px){.tcf-detail{padding-left:16px}}

/* ---------- Key-value summary ---------- */
.tcu-kv{margin:0}
.tcu-kv>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}
.tcu-kv>div:last-child{border-bottom:0}
.tcu-kv dt{color:#aaaab0;font-size:11.5px}
.tcu-kv dd{margin:0;font-size:12.5px;font-weight:800;text-align:right;overflow-wrap:anywhere;min-width:0}
.tcu-kv .is-total{padding-top:16px;border-top:1px solid var(--line-2);border-bottom:0}
.tcu-kv .is-total dt{color:#fff;font-weight:800}.tcu-kv .is-total dd{font-size:19px}

/* ---------- Buttons ---------- */
.tcu-btn{position:relative;overflow:hidden;min-height:44px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:2px;font-size:11.5px;font-weight:800;letter-spacing:.03em;white-space:nowrap;background:transparent;color:#fff;transition:background .2s,border-color .2s,transform .2s var(--ease),opacity .2s;user-select:none}
.tcu-btn:hover{transform:translateY(-2px)}
.tcu-btn:active{transform:translateY(0) scale(.98)}
.tcu-btn-red{background:var(--red);border-color:var(--red)}.tcu-btn-red:hover{background:var(--red-2);border-color:var(--red-2)}
.tcu-btn-line{border-color:#69696e;background:rgba(12,12,15,.55)}.tcu-btn-line:hover{border-color:#fff}
.tcu-btn-ghost{background:#1e1e21;border-color:#35353a}.tcu-btn-ghost:hover{border-color:#5a5a60}
.tcu-btn-green{background:#16825a;border-color:#16825a}.tcu-btn-green:hover{background:#1c9b6c}
.tcu-btn-danger{background:transparent;border-color:#a13a42;color:#ff8a92}.tcu-btn-danger:hover{background:#36181b}
.tcu-btn-sm{min-height:36px;padding:0 14px;font-size:10.5px;gap:8px}
.tcu-btn-xs{min-height:30px;padding:0 10px;font-size:10px;gap:6px}
.tcu-btn-lg{min-height:54px;padding:0 24px;font-size:12.5px}
.tcu-btn-block{display:flex;width:100%}
.tcu-btn-block.is-split{justify-content:space-between}
.tcu-btn:disabled,.tcu-btn.is-disabled{opacity:.5;cursor:not-allowed;transform:none!important}
.tcu-btn.is-loading{color:transparent!important;pointer-events:none}
.tcu-btn.is-loading:after{content:"";position:absolute;inset:50% auto auto 50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:tcu-spin .7s linear infinite}
.tcu-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.35);transform:scale(0);animation:tcu-ripple .6s var(--ease);pointer-events:none}
.tcu-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.tcu-actions.is-end{justify-content:flex-end}
.tcu-icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid var(--line-2);background:#1a1a1d;border-radius:var(--radius);color:#d6d6da;transition:border-color .2s,color .2s}
.tcu-icon-btn:hover{border-color:var(--red);color:#fff}
@keyframes tcu-spin{to{transform:rotate(360deg)}}
@keyframes tcu-ripple{to{transform:scale(3.2);opacity:0}}

/* ---------- Forms ---------- */
.tcu-form{display:grid;gap:16px}
.tcu-field{display:grid;gap:8px;min-width:0}
.tcu-label{font-size:11.5px;font-weight:800;color:#e9e9ec}
.tcu-label small{font-weight:600;color:var(--faint)}
.tcu-input,.tcu-select,.tcu-textarea{width:100%;min-height:50px;padding:0 15px;background:#101012;border:1px solid #3f3f44;border-radius:var(--radius);color:#fff;font-size:14px;font-weight:600;outline:0;transition:border-color .2s,box-shadow .2s}
.tcu-textarea{min-height:120px;padding:13px 15px;resize:vertical;line-height:1.6}
.tcu-select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3a4a9' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.tcu-select option{background:#151517;color:#fff}
.tcu-input::placeholder,.tcu-textarea::placeholder{color:#6f6f75;font-weight:500;font-size:13px}
.tcu-input:focus,.tcu-select:focus,.tcu-textarea:focus{border-color:#f03944;box-shadow:0 0 0 3px rgba(225,10,23,.16)}
.tcu-input:disabled,.tcu-input[readonly]{color:#bdbdc2;background:#151517}
.tcu-input-group{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 6px 0 15px;background:#101012;border:1px solid #3f3f44;border-radius:var(--radius);transition:border-color .2s,box-shadow .2s}
.tcu-input-group:focus-within{border-color:#f03944;box-shadow:0 0 0 3px rgba(225,10,23,.16)}
.tcu-input-group>span:first-child{font-weight:800;color:#e3e3e6;font-size:14px}
.tcu-input-group input{flex:1;min-width:0;height:48px;border:0;outline:0;background:transparent;font-size:15px;font-weight:700}
.tcu-input-group .tcu-icon-btn{border:0;background:transparent}
.tcu-input-group.is-lg input{font-size:18px}
.tcu-help{font-size:10.5px;line-height:1.55;color:#97979c;margin:0}
.tcu-error{font-size:10.5px;color:var(--danger);font-weight:700;margin:0}
.tcu-input.is-invalid,.tcu-input-group.is-invalid{border-color:#f04b55}
.tcu-check{display:flex;align-items:flex-start;gap:11px;font-size:12px;color:#d2d2d6;cursor:pointer;line-height:1.5}
.tcu-check input{appearance:none;-webkit-appearance:none;flex:none;width:19px;height:19px;margin:1px 0 0;border:1.5px solid #6a6a70;border-radius:3px;background:#101012;display:grid;place-items:center;transition:background .2s,border-color .2s}
.tcu-check input:checked{background:var(--red);border-color:var(--red)}
.tcu-check input:checked:after{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.tcu-check input[type=radio]{border-radius:50%}
.tcu-switch{position:relative;display:inline-block;width:44px;height:24px;flex:none}
.tcu-switch input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;z-index:1}
.tcu-switch span{position:absolute;inset:0;border-radius:99px;background:#3a3a3f;transition:background .2s}
.tcu-switch span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .25s var(--ease)}
.tcu-switch input:checked+span{background:var(--red)}
.tcu-switch input:checked+span:after{transform:translateX(20px)}

/* Choice cards (radio/checkbox styled as cards) */
.tcu-choices{display:grid;gap:9px}
.tcu-choice{position:relative;display:block;cursor:pointer}
.tcu-choice>input{position:absolute;opacity:0;width:1px;height:1px}
.tcu-choice-card{min-height:62px;display:flex;align-items:center;gap:13px;padding:13px 14px;background:#1b1b1e;border:1px solid #3b3b40;border-radius:var(--radius);transition:border-color .2s,background .2s,transform .2s}
.tcu-choice:hover .tcu-choice-card{border-color:#ba434b}
.tcu-choice-card img{width:40px;height:40px;flex:none;object-fit:contain;padding:4px;background:#fff;border-radius:4px}
.tcu-choice-card>span:not(.tcu-ico):not(.tcu-avatar){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.tcu-choice-card strong{font-size:12.5px}.tcu-choice-card small{font-size:10.5px;color:#9a9aa0}
.tcu-choice-card>i{width:18px;height:18px;flex:none;border:2px solid #77777e;border-radius:50%;transition:border .2s}
.tcu-choice>input:checked+.tcu-choice-card{border-color:#e1333e;background:#29181b}
.tcu-choice>input:checked+.tcu-choice-card>i{border:5px solid var(--red);background:#fff}
.tcu-choice>input:focus-visible+.tcu-choice-card{outline:2px solid #fff;outline-offset:2px}
.tcu-chipgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
@media(min-width:520px){.tcu-chipgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tcu-amount{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px;background:#1b1b1e;border:1px solid #39393e;border-radius:var(--radius);font-size:12.5px;font-weight:800;text-align:left;transition:border-color .2s,background .2s,transform .2s}
.tcu-amount:hover{border-color:#ba434b;transform:translateY(-2px)}
.tcu-amount.selected,.tcu-amount[aria-pressed=true]{background:#321719;border-color:#f03642}
.tcu-amount>i{width:18px;height:18px;flex:none;border:1px solid #77777c;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;color:transparent}
.tcu-amount.selected>i,.tcu-amount[aria-pressed=true]>i{background:var(--red);border-color:var(--red);color:#fff}

/* ---------- Tabs / chips ---------- */
.tcu-tabs{display:flex;gap:4px;padding:4px;background:#121214;border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto;scrollbar-width:none}
.tcu-tabs::-webkit-scrollbar{display:none}
.tcu-tab{flex:1 0 auto;min-height:38px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:3px;background:transparent;color:#a9a9ae;font-size:11.5px;font-weight:800;white-space:nowrap;transition:background .2s,color .2s}
.tcu-tab:hover{color:#fff}
.tcu-tab.active,.tcu-tab[aria-selected=true]{background:var(--red);color:#fff}
.tcu-tab .tcu-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:rgba(255,255,255,.14);font-size:9.5px;display:inline-grid;place-items:center}
.tcu-tab.has-rate{min-height:54px;flex-direction:column;gap:2px;padding:6px 12px}
.tcu-tab-main{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.tcu-tab-rate{font-size:9px;font-weight:700;line-height:1;color:#73737a}
.tcu-tab.has-rate.active .tcu-tab-rate,.tcu-tab.has-rate[aria-selected=true] .tcu-tab-rate{color:rgba(255,255,255,.82)}
.tcu-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.tcu-chips::-webkit-scrollbar{display:none}
.tcu-chip{flex:none;min-height:34px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line-2);border-radius:99px;background:#151517;color:#bdbdc2;font-size:11px;font-weight:800;transition:all .2s}
.tcu-chip:hover{border-color:#76767c;color:#fff}
.tcu-chip.active{background:#2b1518;border-color:#e1333e;color:#fff}
[data-tab-panel]:not(.active){display:none}

/* ---------- Badges, alerts, empty ---------- */
.tcu-badge{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:0 9px;border-radius:99px;font-size:9.5px;font-weight:800;letter-spacing:.04em;white-space:nowrap;border:1px solid}
.tcu-badge.success{background:var(--green-bg);color:var(--green);border-color:#24564a}
.tcu-badge.warn{background:var(--amber-bg);color:var(--amber);border-color:#5a4520}
.tcu-badge.danger{background:var(--danger-bg);color:var(--danger);border-color:#6b2a31}
.tcu-badge.neutral{background:#1f1f22;color:#c6c6cb;border-color:#38383d}
.tcu-badge.red{background:var(--red);color:#fff;border-color:var(--red)}
.tcu-alert{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;margin:0 0 18px;border:1px solid;border-radius:var(--radius);font-size:12px;font-weight:700;line-height:1.55;animation:tcu-in .4s var(--ease)}
.tcu-alert>span{flex:1;min-width:0}
.tcu-alert>button{border:0;background:transparent;color:inherit;opacity:.7;padding:0;display:grid}
.tcu-alert.success{background:var(--green-bg);border-color:#31866b;color:#c9f3df}
.tcu-alert.error{background:var(--danger-bg);border-color:#a13a42;color:#ffd2d6}
.tcu-alert.info{background:#161a22;border-color:#33405a;color:#d4ddf0}
.tcu-alert.warn{background:var(--amber-bg);border-color:#7a5d22;color:#f7e1b3}
.tcu-note{padding:13px 15px;border-left:2px solid var(--red);background:#151517;color:#b9b9be;font-size:11.5px;line-height:1.65;border-radius:0 var(--radius) var(--radius) 0}
.tcu-note strong{color:#fff}
.tcu-empty{padding:38px 22px;text-align:center;background:var(--panel);border:1px dashed var(--line-2);border-radius:var(--radius)}
.tcu-empty .tcu-ico{margin:0 auto 14px;width:48px;height:48px}
.tcu-empty h3{margin:0 0 6px;font-size:15px}
.tcu-empty p{margin:0 auto;max-width:360px;color:var(--muted);font-size:12px;line-height:1.6}
.tcu-empty .tcu-btn{margin-top:16px}

/* ---------- Media / product card ---------- */
.tcu-products{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
@media(min-width:620px){.tcu-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.tcu-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tcu-product{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0;transition:border-color .2s,transform .3s var(--ease),box-shadow .3s}
.tcu-product:hover{border-color:#bd333a;transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,0,0,.35)}
.tcu-product-media{position:relative;display:block;height:190px;overflow:hidden;background:#1b1b1e}
.tcu-product-media img{width:100%;height:100%;object-fit:cover;filter:saturate(.85);transition:transform .5s var(--ease)}
.tcu-product:hover .tcu-product-media img{transform:scale(1.05)}
.tcu-product-media:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.75))}
.tcu-product-media>span{position:absolute;z-index:1;left:14px;bottom:12px;display:flex;gap:6px;flex-wrap:wrap}
.tcu-product-media .tcu-num{position:absolute;z-index:1;right:14px;top:12px;font:11px var(--display);color:#fff;text-shadow:0 2px 8px #000}
.tcu-product-body{display:flex;flex-direction:column;flex:1;padding:18px}
.tcu-product-code{font-size:9px;letter-spacing:.18em;color:#ee3944;font-weight:800;text-transform:uppercase}
.tcu-product h3{font-size:15.5px;line-height:1.35;margin:8px 0 14px}
.tcu-product-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tcu-product-stats span{display:flex;flex-direction:column;gap:5px;font-size:9.5px;color:var(--muted);min-width:0}
.tcu-product-stats strong{font-size:12px;color:#fff;overflow-wrap:anywhere}
.tcu-product-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:15px}
.tcu-product-foot small{display:block;font-size:10px;color:var(--muted)}
.tcu-product-foot strong{display:block;font-size:16px;margin-top:2px}

/* ---------- Table (responsif menjadi kartu di mobile) ---------- */
.tcu-table-wrap{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:auto}
.tcu-table{width:100%;border-collapse:collapse;font-size:12px}
.tcu-table th{position:sticky;top:0;background:#17171a;text-align:left;padding:12px 14px;color:#9e9ea4;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--line);white-space:nowrap}
.tcu-table td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.tcu-table tr:last-child td{border-bottom:0}
.tcu-table tbody tr{transition:background .15s}
.tcu-table tbody tr:hover{background:#17171a}
.tcu-table .is-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:760px){
  .tcu-table.is-stack thead{display:none}
  .tcu-table.is-stack,.tcu-table.is-stack tbody,.tcu-table.is-stack tr,.tcu-table.is-stack td{display:block;width:100%}
  .tcu-table.is-stack tr{padding:10px 14px;border-bottom:1px solid var(--line)}
  .tcu-table.is-stack td{display:flex;justify-content:space-between;gap:14px;padding:6px 0;border:0;text-align:right}
  .tcu-table.is-stack td:before{content:attr(data-label);color:var(--muted);font-size:10.5px;font-weight:700;text-align:left}
}

/* ---------- Copy box, progress, avatar ---------- */
.tcu-copy{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 15px;background:#101012;border:1px dashed #5a3b40;border-radius:var(--radius)}
.tcu-copy code,.tcu-copy>span{flex:1;min-width:0;font:700 14px var(--font);letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tcu-progress{height:6px;background:#26262a;border-radius:99px;overflow:hidden}
.tcu-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#a50710,var(--red),#ff4d57);border-radius:inherit;transition:width 1s var(--ease)}
.tcu-avatar{width:64px;height:64px;flex:none;border-radius:50%;overflow:hidden;border:2px solid #5b2a30;background:#222326;display:grid;place-items:center;font:20px var(--display);color:#fff}
.tcu-avatar img{width:100%;height:100%;object-fit:cover}
.tcu-avatar.is-lg{width:88px;height:88px;font-size:26px}
.tcu-avatar.is-sm{width:38px;height:38px;font-size:13px;border-width:1px}

/* ---------- Profile hero ---------- */
.tcu-profile-hero{display:flex;align-items:center;gap:16px}
.tcu-profile-hero>div{min-width:0}
.tcu-profile-hero h2{margin:0;font:400 clamp(17px,4.6vw,24px)/1.35 var(--display);letter-spacing:-.04em;overflow-wrap:anywhere}
.tcu-profile-hero p{margin:5px 0 0;font-size:11.5px;color:var(--muted)}
.tcu-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}

/* ---------- Steps list ---------- */
.tcu-steps{list-style:none;padding:0;margin:0}
.tcu-steps li{display:flex;gap:15px;padding:14px 0;border-top:1px solid var(--line)}
.tcu-steps li:first-child{border-top:0;padding-top:0}
.tcu-steps li>span{color:#ed414b;font:11px var(--display);flex:none;width:22px}
.tcu-steps strong{font-size:12.5px}
.tcu-steps p{color:#97979c;font-size:11px;line-height:1.6;margin:4px 0 0}

/* ---------- Modal / bottom sheet ---------- */
.tcu-modal{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center;background:rgba(4,4,6,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.tcu-modal.is-open{opacity:1;visibility:visible}
.tcu-sheet{width:100%;max-width:520px;max-height:92vh;overflow:auto;background:#141416;border:1px solid var(--line-2);border-top:2px solid var(--red);border-radius:14px 14px 0 0;padding:20px 20px calc(22px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .35s var(--ease)}
.tcu-modal.is-open .tcu-sheet{transform:none}
.tcu-sheet-handle{width:42px;height:4px;margin:-6px auto 14px;border-radius:4px;background:#3c3c41}
.tcu-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.tcu-sheet-head h3{margin:6px 0 0;font:400 18px/1.35 var(--display);letter-spacing:-.04em}
.tcu-sheet-head p{margin:5px 0 0;color:var(--muted);font-size:11.5px}
@media(min-width:620px){.tcu-modal{align-items:center;padding:20px}.tcu-sheet{border-radius:8px;transform:translateY(20px) scale(.97)}.tcu-sheet-handle{display:none}}
body.tcu-lock{overflow:hidden}

/* ---------- Toast ---------- */
.tcu-toasts{position:fixed;z-index:400;left:50%;bottom:calc(var(--dock-h) + 16px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;gap:8px;width:min(420px,calc(100% - 32px));pointer-events:none}
.tcu-toast{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#1c1c1f;border:1px solid var(--line-2);border-left:3px solid var(--red);border-radius:var(--radius);box-shadow:0 18px 40px rgba(0,0,0,.45);font-size:12px;font-weight:700;animation:tcu-toast .35s var(--ease);pointer-events:auto}
.tcu-toast.success{border-left-color:var(--green)}
.tcu-toast.is-out{opacity:0;transform:translateY(10px);transition:all .3s}
@media(min-width:761px){.tcu-toasts{bottom:28px;left:auto;right:28px;transform:none}}
@keyframes tcu-toast{from{opacity:0;transform:translateY(14px)}}
@keyframes tcu-in{from{opacity:0;transform:translateY(-6px)}}

/* ---------- Reveal on scroll ---------- */
.tcu-js [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.tcu-js [data-reveal].is-visible,.tcu-revealed [data-reveal]{opacity:1;transform:none}

/* ---------- Ticker ---------- */
.tcu-ticker{overflow:hidden;height:40px;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}
.tcu-ticker-track{animation:tcu-ticker var(--dur,30s) linear infinite}
.tcu-ticker-track>div{height:40px;display:flex;align-items:center;gap:9px;font-size:11.5px;color:#cfcfd3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcu-ticker-track strong{color:#fff}
@keyframes tcu-ticker{to{transform:translateY(-50%)}}

/* ---------- Article / prose ---------- */
.tcu-prose{color:#cdcdd1;font-size:13px;line-height:1.8}
.tcu-prose h2,.tcu-prose h3{color:#fff;font-family:var(--display);font-weight:400;letter-spacing:-.04em;line-height:1.4;margin:28px 0 10px}
.tcu-prose h2{font-size:19px}.tcu-prose h3{font-size:15px}
.tcu-prose p{margin:0 0 14px}
.tcu-prose ul,.tcu-prose ol{padding-left:20px;margin:0 0 14px}
.tcu-prose li{margin-bottom:6px}
.tcu-prose a{color:#ff5f69;border-bottom:1px solid rgba(255,95,105,.4)}
.tcu-prose strong{color:#fff}

/* ---------- QR ---------- */
.tcu-qr{display:grid;place-items:center;width:min(260px,100%);aspect-ratio:1;margin:18px auto;padding:12px;background:#fff;border-radius:var(--radius)}
.tcu-qr img,.tcu-qr canvas{max-width:100%;height:auto}

/* ---------- Countdown pill ---------- */
.tcu-timer{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #7a2c33;background:#2a1215;color:#ffb3b8;border-radius:99px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}

/* ---------- Utilities ---------- */
.tcu-muted{color:var(--muted)}.tcu-faint{color:var(--faint)}.tcu-red{color:#ff4d57}.tcu-green{color:var(--green)}.tcu-amber{color:var(--amber)}
.tcu-center{text-align:center}.tcu-right{text-align:right}
.tcu-mt-0{margin-top:0!important}.tcu-mt-8{margin-top:8px}.tcu-mt-12{margin-top:12px}.tcu-mt-16{margin-top:16px}.tcu-mt-24{margin-top:24px}.tcu-mb-16{margin-bottom:16px}
.tcu-flex{display:flex;align-items:center;gap:10px}.tcu-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tcu-wrap-any{overflow-wrap:anywhere}.tcu-nowrap{white-space:nowrap}
.tcu-display{font-family:var(--display);letter-spacing:-.05em;font-weight:400}
.tcu-small{font-size:11px}.tcu-xs{font-size:10px}
.tcu-divider{height:1px;background:var(--line);margin:18px 0;border:0}
.tcu-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tcu-hide-mobile{display:none}
@media(min-width:761px){.tcu-hide-mobile{display:initial}.tcu-hide-desktop{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.tcu-js [data-reveal]{opacity:1;transform:none}}
