:root{
  --bg:#100b16;--bg2:#0a0f19;--panel:#101827;--panel2:#121c2d;--line:#202c41;--line2:#2a3853;
  --text:#f5f7ff;--muted:#8d9ab2;--muted2:#5f6d86;--red:#ff8a32;--red2:#e66a19;--red3:#7d3d24;
  --green:#47d7a0;--cyan:#39c5e6;--shadow:0 20px 70px rgba(0,0,0,.35);--radius:18px
}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 88% 18%,rgba(255,138,50,.12),transparent 28%),linear-gradient(180deg,#100b16,#0b0710 65%,#070a11);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a{color:inherit}a{text-decoration:none}button{cursor:pointer}.hidden{display:none!important}.muted{color:var(--muted)}.mono,code,pre{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace}.red{color:var(--red)}

/* common */
.brand{display:flex;align-items:center;gap:13px;font-weight:800}.brand img{width:47px;height:47px}.brand-copy{display:flex;flex-direction:column;line-height:1.08}.brand-copy small{margin-top:7px;font-size:12px;color:var(--muted);font-weight:500}.eyebrow{font-size:11px;letter-spacing:.20em;font-weight:900;color:#aab6cc;text-transform:uppercase}.btn{border:1px solid var(--line2);background:#141d2d;color:#fff;border-radius:12px;padding:12px 17px;font-weight:800;transition:.18s transform,.18s border,.18s background}.btn:hover{transform:translateY(-1px);border-color:#465473}.btn-primary{background:linear-gradient(135deg,#ff5369,#df1738);border-color:#ff6577;box-shadow:0 10px 35px rgba(237,36,67,.22)}.btn-danger{background:#5e1422;border-color:#8f2035}.btn-ghost{background:#111827}.btn.full{width:100%}.field{width:100%;background:#0a111f;border:1px solid #283651;border-radius:12px;color:#f6f7fb;padding:13px 15px;outline:none}.field:focus{border-color:#ef3c55;box-shadow:0 0 0 3px rgba(239,60,85,.12)}textarea.field{resize:vertical;min-height:150px}.label{display:block;margin:17px 0 7px;color:#aeb9cd;font-size:11px;letter-spacing:.08em;font-weight:900;text-transform:uppercase}.toast{position:fixed;right:24px;bottom:24px;background:#151f30;border:1px solid #394760;border-radius:12px;padding:12px 16px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;z-index:90}.toast.show{opacity:1;transform:translateY(0)}

/* landing/login/register */
.public-shell{min-height:100vh;display:flex;flex-direction:column}.public-nav{max-width:1220px;width:calc(100% - 48px);margin:0 auto;padding:24px 0;display:flex;align-items:center;justify-content:space-between}.public-links{display:flex;gap:10px}.public-links a{padding:10px 14px;border:1px solid var(--line);border-radius:10px;color:#cbd3e2;background:#0e1522}.hero{max-width:1220px;width:calc(100% - 48px);margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding:70px 0 110px}.hero h1{font-size:clamp(52px,7vw,92px);letter-spacing:-.06em;line-height:.92;margin:20px 0 28px}.hero p{font-size:18px;line-height:1.8;color:#98a6be;max-width:670px}.hero-card{border:1px solid var(--line);background:linear-gradient(180deg,#121a29,#0d1420);border-radius:24px;padding:31px;box-shadow:var(--shadow)}.hero-card h2{font-size:28px;margin:0 0 10px}.hero-actions{display:flex;gap:12px;margin-top:32px}.feature-strip{max-width:1220px;width:calc(100% - 48px);margin:0 auto 60px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-strip article{border:1px solid var(--line);background:#0d1420;border-radius:16px;padding:22px}.feature-strip strong{display:block;font-size:17px}.feature-strip span{display:block;margin-top:8px;color:var(--muted);line-height:1.55}
.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:18px}.auth-brand{margin:0 auto 22px}.auth-card{width:min(550px,100%);border:1px solid #243148;background:#101827;border-radius:24px;padding:36px;box-shadow:var(--shadow)}.auth-card h1{font-size:31px;letter-spacing:-.035em;margin:20px 0 10px}.auth-card>p{color:var(--muted);margin-bottom:25px}.stepper{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #28334a;border-radius:14px;padding:12px 14px;margin:25px 0 30px;gap:10px}.step{display:flex;align-items:center;gap:9px;color:#687790;font-size:11px}.step b{display:grid;place-items:center;width:26px;height:26px;background:#151e30;border-radius:9px}.step.active{color:#f3f5fb;font-weight:700}.step.active b{background:#52192a;color:#ff7182}.password-row{position:relative}.password-row .field{padding-right:70px}.showpass{position:absolute;right:9px;top:8px;border:0;background:#151f31;color:#8998b1;border-radius:8px;padding:8px 10px;font-size:11px}.hint{font-size:11px;color:#65738c;margin-top:7px}.security-note{display:flex;gap:13px;align-items:flex-start;background:#0d2022;border:1px solid #164038;border-radius:13px;padding:14px;margin-top:18px}.security-note .ico{width:36px;height:36px;border-radius:10px;background:#123d39;display:grid;place-items:center;color:#67e5b6}.security-note strong{font-size:12px}.security-note p{margin:4px 0 0;font-size:11px;line-height:1.5;color:#8fa4b2}.auth-submit{margin-top:22px;width:100%;padding:15px}.divider{display:flex;align-items:center;gap:12px;color:#59677f;text-transform:uppercase;font-size:9px;letter-spacing:.13em;margin:28px 0 14px}.divider:before,.divider:after{content:"";height:1px;background:#273248;flex:1}.auth-bottom{text-align:center;color:#78869e;font-size:12px}.auth-bottom a{color:#ff6377;font-weight:800}.auth-info{width:min(550px,100%);margin-top:16px;border:1px solid #212d43;background:#0d1420;border-radius:13px;padding:13px 16px;color:#6f7d94;font-size:11px}.auth-foot{margin:20px 0;color:#59677f;font-size:11px}.message{display:none;margin-top:14px;padding:11px 13px;border-radius:10px;font-size:12px}.message.show{display:block}.message.ok{background:#0d2920;border:1px solid #1d5f45;color:#66e4ad}.message.warn{background:#30131a;border:1px solid #652234;color:#ff93a0}

/* publisher app */
.app{min-height:100vh;display:grid;grid-template-columns:300px 1fr}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid #202a3a;background:linear-gradient(180deg,#0a101a,#080d16);padding:18px 14px;display:flex;flex-direction:column}.sidebar .brand{padding:0 8px 36px}.sidebar-label{color:#59677f;font-size:10px;letter-spacing:.21em;text-transform:uppercase;font-weight:900;padding:16px 12px 8px}.nav-btn{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:13px;color:#8e9bb2;border-radius:12px;padding:13px 15px;text-align:left;font-weight:650;margin:2px 0}.nav-btn .icon{width:27px;text-align:center;font-size:16px}.nav-btn:hover{background:#111a29;color:#cfd7e6}.nav-btn.active{background:#141f35;border:1px solid #263653;color:#fff;box-shadow:inset 3px 0 0 var(--red)}.side-grow{flex:1}.guild-status{margin:12px 3px;border:1px solid #27334b;background:#0f1726;border-radius:14px;padding:13px;display:flex;gap:12px;align-items:center}.guild-status .shield{width:40px;height:40px;border-radius:11px;background:#12342f;color:#59e5b1;display:grid;place-items:center}.guild-status strong{display:block;font-size:12px}.guild-status span{display:block;color:#74839b;font-size:10px;margin-top:3px}.user-foot{border-top:1px solid #202a3a;padding:14px 7px 0;display:flex;align-items:center;gap:10px}.avatar{width:41px;height:41px;border-radius:11px;background:#26334d;display:grid;place-items:center;font-weight:900}.user-foot strong{font-size:12px;display:block}.user-foot span{font-size:10px;color:#76849b}.logout{margin-left:auto;border:0;background:transparent;color:#77869e;font-size:21px}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid #1d2636;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:rgba(7,11,19,.82);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.crumb{color:#7d8aa2;font-size:13px}.crumb strong{color:#e8ecf5;margin-left:10px}.top-actions{display:flex;align-items:center;gap:14px}.quick-search{width:270px;background:#0d1420;border:1px solid #222d40;border-radius:12px;padding:10px 13px;color:#8b98af}.content{padding:44px 40px 70px;max-width:1540px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:30px}.page-head h1{font-size:38px;letter-spacing:-.045em;margin:0 0 8px}.page-head p{margin:0;color:#8b99b1;line-height:1.65}.quota{display:flex;align-items:center;gap:14px}.quota span{white-space:nowrap}.tabs-panel{display:none}.tabs-panel.active{display:block}.search-tabs{border:1px solid #253047;background:#101827;border-radius:18px;padding:12px 14px;display:flex;gap:14px;align-items:center;margin-bottom:22px}.search-tabs input{flex:1;border:1px solid #253047;background:#0c1320;border-radius:11px;padding:12px;color:white}.mini-tabs{display:flex;gap:6px}.mini-tabs button{border:0;background:transparent;color:#78869e;padding:10px 14px;border-radius:9px}.mini-tabs button.active{background:#1b2538;color:#fff}.empty-card{min-height:420px;border:1px solid #263149;border-radius:18px;background:linear-gradient(180deg,#111a2b,#0f1725);display:grid;place-items:center;text-align:center}.empty-card .bigicon{width:82px;height:82px;border-radius:27px;background:#17243e;border:1px solid #2b3e66;display:grid;place-items:center;margin:0 auto 20px;color:#ff6276;font-size:31px}.empty-card h2{font-size:22px;margin:0}.empty-card p{color:#8593aa}.script-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:18px}.script-card{position:relative;border:1px solid #26334b;background:linear-gradient(160deg,#121b2c,#0f1726);border-radius:18px;padding:23px;overflow:hidden}.script-card:after{content:"";position:absolute;right:-30px;top:-40px;width:150px;height:150px;background:radial-gradient(circle,rgba(255,42,73,.18),transparent 67%)}.script-icon{width:48px;height:48px;border-radius:14px;background:#1b2744;border:1px solid #32476f;color:#ff697d;display:grid;place-items:center;font-size:21px}.live-pill{position:absolute;right:22px;top:22px;background:#123d38;border:1px solid #1f6255;color:#62e0af;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800}.script-id{font-size:10px;color:#5e6c84;margin-top:29px}.script-card h3{font-size:20px;margin:13px 0 8px}.script-card>p{color:#8492aa;min-height:38px}.script-stats{border-top:1px solid #273249;border-bottom:1px solid #273249;display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px}.script-stats div{padding:16px 0}.script-stats div+div{border-left:1px solid #273249;padding-left:16px}.script-stats b{font-size:15px}.script-stats span{font-size:9px;color:#66758e;display:block;margin-top:6px}.card-meta{font-size:10px;color:#66758e;padding:13px 0}.manage-btn{width:100%;border:1px solid #2a364c;background:#131c2b;border-radius:11px;padding:12px;text-align:left;font-weight:750}.manage-btn span{float:right}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.metric{border:1px solid #273249;background:#101827;border-radius:17px;padding:20px;min-height:160px;position:relative;overflow:hidden}.metric:after{content:"";position:absolute;right:-30px;top:-50px;width:120px;height:120px;border-radius:50%;background:rgba(255,48,75,.08);filter:blur(9px)}.metric .metric-icon{width:38px;height:38px;border-radius:10px;background:#14352f;color:#55dda9;display:grid;place-items:center}.metric strong{font-size:32px;display:block;margin-top:18px}.metric b{font-size:12px}.metric span{font-size:10px;color:#67758d;display:block;margin-top:12px}.two-col{display:grid;grid-template-columns:390px 1fr;gap:18px}.panel{border:1px solid #273249;background:#101827;border-radius:18px;padding:23px}.panel h2{margin:8px 0 6px;font-size:21px}.panel p{color:#8593ab;line-height:1.55}.table-wrap{overflow:auto;border:1px solid #253047;border-radius:13px}.table{width:100%;border-collapse:collapse;min-width:760px}.table th{font-size:9px;letter-spacing:.12em;text-align:left;color:#64728a;padding:14px;border-bottom:1px solid #253047}.table td{font-size:12px;color:#b6c0d1;padding:14px;border-bottom:1px solid #1d2738}.table tr:last-child td{border-bottom:0}.status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900}.status.active{background:#11372f;color:#61e1ad}.status.revoked{background:#36141e;color:#ffb06f}.status.expired{background:#143247;color:#6cd5f0}.row-actions{display:flex;gap:5px}.tiny{border:1px solid #2a374e;background:#141e2d;color:#aab6ca;padding:6px 8px;border-radius:8px;font-size:10px}.discord-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:18px}.scope-list{margin-top:28px}.scope-card{border:1px solid #273249;background:#101827;border-radius:15px;padding:17px;display:flex;align-items:center;gap:14px;margin-top:10px}.scope-card .server-dot{width:44px;height:44px;border-radius:13px;background:#2a1720;display:grid;place-items:center;color:#ff6174;font-weight:900}.scope-card strong{display:block}.scope-card span{font-size:11px;color:#74839b}.notice{background:#121e36;border:1px solid #24385d;border-radius:12px;padding:12px;color:#8da2c6;font-size:11px;line-height:1.5}.overview-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.activity-list{display:grid;gap:10px}.activity{border:1px solid #222e43;border-radius:12px;background:#0e1623;padding:13px}.activity strong{font-size:12px}.activity span{display:block;color:#75839a;font-size:10px;margin-top:5px}.success-screen{border:1px solid #31405b;background:#101827;border-radius:20px;padding:30px}.success-screen .check{width:54px;height:54px;border-radius:15px;background:#12372f;border:1px solid #22614f;color:#60e1ae;display:grid;place-items:center;font-size:24px;float:left;margin-right:16px}.success-screen h2{margin:0;padding-top:4px}.loader-code{clear:both;margin-top:28px;background:#070d17;border:1px solid #2a3a56;border-radius:14px;padding:20px;min-height:120px;color:#e4eaf5;white-space:pre-wrap;word-break:break-all}.success-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal{position:fixed;inset:0;z-index:70;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.modal-card{position:relative;width:min(620px,100%);max-height:90vh;overflow:auto;background:#101827;border:1px solid #344058;border-radius:20px;padding:26px;box-shadow:0 30px 100px #000}.modal-close{position:absolute;right:16px;top:14px;border:0;background:transparent;color:#8997ad;font-size:24px}.modal-card h2{margin:5px 0 5px}.filebox{border:1px dashed #41506c;background:#0c1422;border-radius:13px;padding:16px;text-align:center;margin-top:10px}.filebox input{width:100%}.script-detail{display:grid;gap:14px}.secret-box{background:#08101a;border:1px solid #2c3a55;border-radius:12px;padding:13px;word-break:break-all;color:#ffb06f}.manage-actions{display:flex;gap:9px;flex-wrap:wrap}.deobf-layout{display:grid;grid-template-columns:1.05fr .8fr;gap:80px;align-items:center;min-height:calc(100vh - 150px)}.deobf-copy h1{font-size:74px;line-height:1.02;letter-spacing:-.055em;margin:25px 0}.deobf-copy p{font-size:18px;color:#96a4bb;line-height:1.9}.upload-zone{border:1px dashed #34445f;border-radius:14px;padding:28px;text-align:center;background:#0b1320}.deobf-card{border:1px solid #2a3650;background:#121a2b;border-radius:22px;padding:30px}.deobf-card h2{font-size:26px;margin-top:0}

/* admin */
.admin-layout{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.admin-side{background:#0b1019;border-right:1px solid #202a3b;padding:20px 14px}.admin-side .brand{padding:0 10px 25px}.admin-nav button{width:100%;border:0;background:transparent;color:#8795ab;padding:12px;border-radius:10px;text-align:left;margin:3px 0}.admin-nav button.active{background:#26121a;color:#fff;border:1px solid #4e1d2a}.admin-main{padding:34px}.admin-main h1{font-size:34px}.source-view{white-space:pre-wrap;background:#070c14;border:1px solid #26344d;border-radius:12px;padding:18px;max-height:55vh;overflow:auto;color:#d9e2ef}

@media(max-width:1000px){.app,.admin-layout{grid-template-columns:1fr}.sidebar{height:auto;position:relative}.sidebar .brand{padding-bottom:15px}.sidebar-label,.side-grow,.guild-status,.user-foot{display:none}.nav-btn{display:inline-flex;width:auto}.main{min-width:0}.topbar{position:relative}.quick-search{display:none}.content{padding:30px 18px}.metric-grid{grid-template-columns:1fr 1fr}.two-col,.discord-grid,.overview-grid,.deobf-layout,.hero{grid-template-columns:1fr}.deobf-copy h1{font-size:52px}.feature-strip{grid-template-columns:1fr}.admin-side{display:none}}
@media(max-width:650px){.public-nav{width:calc(100% - 28px)}.hero{width:calc(100% - 28px);padding-top:30px}.auth-card{padding:24px 18px}.stepper{grid-template-columns:1fr}.topbar{padding:0 16px}.top-actions .btn{padding:10px}.page-head{flex-direction:column}.metric-grid{grid-template-columns:1fr}.script-grid{grid-template-columns:1fr}.content{padding:25px 12px}.two-col{grid-template-columns:1fr}.deobf-copy h1{font-size:42px}.public-links a:nth-child(1){display:none}}

/* v4.5 publish workspace */
.publish-back{margin-bottom:28px}.back-link{border:0;background:transparent;color:#8593aa;padding:0;font-size:13px}.back-link span{margin-left:8px}.publish-title{margin-bottom:30px}.publish-title h1{font-size:40px;letter-spacing:-.045em;margin:0 0 8px}.publish-title p{color:#8e9bb3;margin:0;font-size:15px}.publish-workspace{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(330px,.78fr);gap:22px;align-items:start}.publish-source-card,.publish-settings-card{border:1px solid #263149;background:#101827;border-radius:20px}.publish-source-card{padding:28px}.publish-settings-card{padding:28px;position:sticky;top:100px}.publish-card-head{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:start}.publish-card-head h2,.publish-settings-card h2{font-size:22px;margin:10px 0 6px}.publish-card-head p,.publish-settings-card>p{color:#8997af;margin:0;line-height:1.55}.step-number{width:38px;height:38px;border-radius:10px;background:#241522;color:#ff7387;display:grid;place-items:center;font-size:12px;font-weight:900}.size-pill{border:1px solid #303c52;background:#151d2b;border-radius:10px;color:#a3aec0;padding:10px 12px;font-size:12px}.source-tabs{display:grid;grid-template-columns:1fr 1fr;background:#0a101b;border:1px solid #253047;border-radius:13px;padding:5px;margin-top:24px}.source-tabs button{border:0;background:transparent;color:#7e8ba3;padding:12px;border-radius:9px;font-weight:800}.source-tabs button.active{background:#1d2940;color:white}.source-pane{display:none;margin-top:16px}.source-pane.active{display:block}.editor-shell{border:1px solid #28354d;border-radius:16px;overflow:hidden;background:#090f19;min-height:505px}.editor-bar{height:54px;border-bottom:1px solid #243147;background:#0f1726;display:flex;align-items:center;gap:8px;padding:0 16px;color:#7988a0}.editor-bar .dot{width:10px;height:10px;border-radius:50%}.red-dot{background:#ff5f6e}.yellow-dot{background:#f0bd58}.green-dot{background:#57d69b}.editor-bar strong{font-size:11px;margin-left:8px;color:#9eabc0}.editor-bar>span:last-child{margin-left:auto;font-size:10px}.editor-body{display:grid;grid-template-columns:52px 1fr;min-height:420px}.line-no{border-right:1px solid #202b3d;padding-top:20px;text-align:center;color:#4d5b72;font-family:monospace}.editor-body textarea{border:0;outline:0;resize:none;background:transparent;color:#d7dfeb;padding:20px;font-family:Consolas,monospace;font-size:14px;line-height:1.6;min-height:420px}.editor-body textarea::placeholder{color:#45556f}.editor-status{height:30px;border-top:1px solid #202b3d;display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:0 14px;color:#4f5e74;font-size:9px}.hidden-file{display:none}.drop-zone{width:100%;min-height:410px;border:1px dashed #526589;background:#101b2f;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:10px}.drop-zone.drag{border-color:var(--red);background:#20131d}.drop-zone .upload-icon{width:72px;height:72px;border:1px solid #394b6d;background:#1a2946;border-radius:22px;display:grid;place-items:center;color:#ff6c80;font-size:34px;margin-bottom:10px}.drop-zone span{color:#8290a8}.drop-zone small{color:#59677e;margin-top:12px}.file-selected{margin-top:12px;padding:12px;border:1px solid #33425d;border-radius:11px;color:#b9c4d6}.check-row{display:flex;gap:12px;align-items:flex-start;margin:28px 4px 20px;color:#aeb8c9;font-size:11px;font-weight:850;letter-spacing:.04em}.check-row input{margin-top:3px;accent-color:var(--red)}.check-row small{display:block;margin-top:4px;color:#78869d}.compact-textarea{min-height:120px!important}.publish-notice{margin:18px 0}.publish-submit{padding:15px}.publish-settings-card .message{margin-bottom:0}

/* v4.5 deobfuscator screenshot layout */
.public-deobf-wrap{max-width:1500px;width:calc(100% - 48px);margin:0 auto}.deobf-nav{max-width:1500px}.deobf-screenshot{min-height:calc(100vh - 120px);grid-template-columns:minmax(0,1.25fr) minmax(420px,.72fr);gap:90px}.deobf-screenshot .deobf-copy h1{font-size:clamp(58px,6vw,92px);max-width:850px;color:#fbfcff}.deobf-screenshot .deobf-copy p{max-width:900px}.screenshot-card{padding:30px;border-radius:22px;background:#12192b}.screenshot-card>p{font-size:18px;line-height:1.6}.deobf-account{display:grid;grid-template-columns:1fr auto;gap:10px;border:1px solid #303a50;background:#171d2b;border-radius:12px;padding:15px 16px;margin:18px 0}.deobf-account div{color:#95a2b9}.deobf-account b{color:#5ce2b1;border:1px solid #255348;background:#102c28;border-radius:999px;padding:7px 11px;font-size:12px}.deobf-account small{grid-column:1/-1;color:#bac4d3}.deobf-upload{border:1px dashed #3c4b67;border-radius:15px;padding:36px 26px;background:#0b1220;text-align:center;display:flex;flex-direction:column;gap:18px;margin-bottom:18px}.deobf-upload input{border:1px solid #2c3950;border-radius:11px;background:#0c1422;color:#a8b4c8;padding:12px}.deobf-upload span{font-size:12px;color:#6f7d94}.screenshot-card .notice{margin-top:0}

/* v4.5 admin system */
.system-page{max-width:1250px}.system-hero{border:1px solid #30283a;background:linear-gradient(135deg,#131927,#1d1119);border-radius:20px;padding:24px 26px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.system-hero h2{font-size:27px;margin:8px 0}.system-hero p{max-width:760px;color:#8c99b0;line-height:1.6;margin:0}.system-live{min-width:235px;border:1px solid #284938;background:#10251f;border-radius:14px;padding:15px;display:flex;gap:11px;align-items:center}.system-live>span{width:12px;height:12px;border-radius:50%;background:#54dda9;box-shadow:0 0 20px #54dda9}.system-live strong,.system-live small{display:block}.system-live small{color:#728198;font-size:10px;margin-top:4px}.system-live.down{border-color:#653040;background:#31151d}.system-live.down>span{background:#ff8a32;box-shadow:0 0 20px #ff8a32}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.system-grid.secondary{margin-top:18px}.duration-row{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;margin-top:18px}.maintenance-card .btn{margin-top:14px}.maintenance-card .system-stop{margin-top:8px}.feature-switches{display:grid;gap:10px;margin-top:18px}.feature-row{border:1px solid #263149;background:#0d1522;border-radius:12px;padding:13px 14px;display:flex;justify-content:space-between;align-items:center;gap:15px}.feature-row strong{display:block;font-size:12px}.feature-row span{display:block;color:#6e7c93;font-size:10px;margin-top:4px}.system-toggle{border:1px solid #315143;border-radius:999px;padding:7px 13px;min-width:58px;font-weight:900;font-size:10px}.system-toggle.on{background:#123128;color:#5ae1ad}.system-toggle.off{background:#391620;border-color:#6b2637;color:#ffb06f}.system-details{display:grid;gap:10px}.system-details>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #222d40;padding:10px 0}.system-details span{color:#7c8aa1}.system-details strong{font-size:12px;text-align:right;max-width:65%;word-break:break-word}.wrench{font-size:13px}

/* maintenance page */
.maintenance-page{min-height:100vh;display:grid;place-items:center;padding:28px;text-align:center}.maintenance-page>.brand{position:absolute;top:28px;left:32px}.maintenance-box{width:min(680px,100%);border:1px solid #3a2630;background:linear-gradient(180deg,#151925,#160e14);border-radius:24px;padding:48px;box-shadow:var(--shadow)}.maintenance-icon{width:78px;height:78px;border-radius:24px;background:#2b1520;border:1px solid #592235;display:grid;place-items:center;margin:0 auto 22px;font-size:31px}.maintenance-box h1{font-size:40px;letter-spacing:-.045em;margin:14px 0}.maintenance-box p{font-size:17px;color:#9aa6ba;line-height:1.7}.maintenance-timer{display:inline-block;margin-top:16px;border:1px solid #3d2a34;background:#1d1118;border-radius:999px;padding:10px 14px;color:#ff8b9b;font-size:12px}

@media(max-width:1100px){.publish-workspace,.deobf-screenshot,.system-grid{grid-template-columns:1fr}.publish-settings-card{position:relative;top:auto}.deobf-screenshot{gap:30px}.system-live{min-width:0}}
@media(max-width:650px){.publish-source-card,.publish-settings-card{padding:18px}.publish-card-head{grid-template-columns:auto 1fr}.size-pill{grid-column:1/-1;width:max-content}.editor-shell{min-height:390px}.editor-body,.editor-body textarea{min-height:320px}.deobf-screenshot .deobf-copy h1{font-size:46px}.deobf-account{grid-template-columns:1fr}.deobf-account small{grid-column:1}.system-hero{flex-direction:column;align-items:stretch}.maintenance-page>.brand{position:static;margin-bottom:24px}.maintenance-page{display:flex;flex-direction:column}.maintenance-box{padding:30px 20px}}

/* KiroArmor source obfuscation control */
.obf-control{display:block;margin:18px 0 8px;cursor:pointer;user-select:none}.obf-control>input{position:absolute;opacity:0;pointer-events:none}.obf-btn{height:48px;border:1px solid #3d242c;background:#171115;border-radius:12px;padding:0 14px;display:flex;align-items:center;gap:11px;color:#b8c1d1;font-size:12px;font-weight:800;transition:all .2s ease}.obf-btn b{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#29131a;color:#ff657b;font-size:13px;transition:all .2s ease}.obf-btn em{margin-left:auto;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;color:#8a96aa;background:#0d131e;border:1px solid #2b3548;padding:4px 10px;border-radius:999px;transition:all .2s ease}.obf-control>small{display:block;color:#7e8b9f;line-height:1.45;margin:8px 3px 0;font-size:11px}.obf-control>input:checked+.obf-btn,.obf-btn.active{border-color:#ff385c;background:linear-gradient(135deg,#3d121c,#220c13);box-shadow:0 0 16px rgba(255,56,92,.3),inset 0 0 10px rgba(255,56,92,.12);color:#ffffff}.obf-control>input:checked+.obf-btn b,.obf-btn.active b{background:#ff385c;color:#ffffff;box-shadow:0 0 12px rgba(255,56,92,.5)}.obf-control>input:checked+.obf-btn em,.obf-btn.active em{background:#ff385c;border-color:#ff385c;color:#ffffff;font-weight:900;box-shadow:0 0 8px rgba(255,56,92,.45)}.protection-badge{display:inline-flex;margin-top:8px;border:1px solid #374159;border-radius:999px;padding:5px 9px;color:#8d9bb0;font-size:10px}.protection-badge.on{border-color:#ff385c;background:#2d1219;color:#ff8191;box-shadow:0 0 8px rgba(255,56,92,.2)}.script-card .obf-mini{display:inline-flex;margin-top:9px;border:1px solid #ff385c;background:#2d1219;color:#ff8a99;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:900;letter-spacing:.04em;box-shadow:0 0 8px rgba(255,56,92,.2)}

/* KiroArmor Halloween landing refresh — shared app pages and integrations preserved */
:root{--bg:#080707;--bg2:#100b09;--panel:#12100f;--panel2:#191310;--line:#30231b;--line2:#4b3322;--red:#ff8a18;--red2:#e85a00;--red3:#7d3515;--shadow:0 24px 80px rgba(0,0,0,.48)}
body{background-color:#080707;background-image:radial-gradient(ellipse at 20% 48%,rgba(131,34,0,.22),transparent 36%),radial-gradient(ellipse at 85% 20%,rgba(255,94,0,.08),transparent 34%),linear-gradient(180deg,#080707,#0c0806 70%,#050505)}
.btn-primary{background:linear-gradient(115deg,#ffb11b,#ff6800 70%,#e94a00);border-color:#ff8a18;color:#100904;box-shadow:0 10px 35px rgba(255,91,0,.22)}
.field:focus{border-color:#ff8a18;box-shadow:0 0 0 3px rgba(255,138,24,.13)}
.halloween-nav{max-width:1500px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.halloween-brand{gap:12px}.halloween-brand>img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(255,89,0,.3))}.wordmark{font-size:24px;font-weight:950;letter-spacing:-.045em;color:#f6f3f0}.wordmark span{color:#ff790b}.halloween-brand .brand-copy small{font-size:10px;letter-spacing:.06em;color:#9b928b;margin-top:5px}.halloween-links{gap:7px}.halloween-links a{border:0;background:transparent;border-radius:9px;color:#d7d0c9;font-size:13px}.halloween-links a:hover{color:#ff951e;background:rgba(255,119,12,.08)}.nav-cta{padding:11px 17px;border-radius:999px;color:#100904}
.landing-halloween .public-shell{position:relative;overflow:hidden;min-height:100vh;background-image:radial-gradient(ellipse at 2% 78%,rgba(255,71,0,.12),transparent 30%),radial-gradient(ellipse at 97% 92%,rgba(255,91,0,.10),transparent 29%)}
.halloween-hero{width:min(1500px,calc(100% - 48px));margin:0 auto;min-height:calc(100vh - 100px);display:grid;grid-template-columns:minmax(320px, .95fr) minmax(450px,1.05fr);align-items:center;gap:clamp(35px,6vw,100px);padding:42px 0 65px;position:relative}
.hero-crest-wrap{position:relative;display:grid;place-items:center;min-width:0;isolation:isolate}.hero-crest-wrap:before{content:"";position:absolute;inset:5% -12%;z-index:-2;background:radial-gradient(ellipse,rgba(255,81,0,.18),transparent 64%);filter:blur(20px)}.crest-aura{position:absolute;width:72%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,120,20,.14);box-shadow:0 0 65px rgba(255,74,0,.10),inset 0 0 60px rgba(255,74,0,.06);z-index:-1}.hero-crest{display:block;width:min(100%,680px);max-height:72vh;object-fit:contain;filter:drop-shadow(0 20px 38px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(255,73,0,.15));animation:crest-float 7s ease-in-out infinite}.ember{position:absolute;width:4px;height:4px;background:#ff9a20;border-radius:50%;box-shadow:0 0 14px 3px rgba(255,83,0,.65)}.ember-one{top:19%;left:16%}.ember-two{top:32%;right:10%;width:3px;height:3px}.ember-three{bottom:17%;left:26%;width:3px;height:3px}@keyframes crest-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.halloween-copy{max-width:720px;padding:24px 0}.hero-pill{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,137,20,.55);border-radius:999px;padding:10px 15px;color:#f4e7d8;background:rgba(15,10,7,.7);font-size:12px;font-weight:750;letter-spacing:.035em}.hero-pill i{width:4px;height:4px;background:#ff8a18;border-radius:50%}.pill-shield{color:#ff8a18;font-size:16px}
.kiro-status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#54dda9;box-shadow:0 0 8px #54dda9,0 0 16px rgba(84,221,169,.7);animation:kiro-dot-blink 1.25s infinite ease-in-out;vertical-align:middle;flex-shrink:0;position:relative}
.kiro-status-dot.lg{width:16px;height:16px;box-shadow:0 0 12px #54dda9,0 0 24px rgba(84,221,169,.85)}
.trust-icon.trust-green{border-color:rgba(84,221,169,.45);background:rgba(19,45,37,.7);box-shadow:0 0 18px rgba(84,221,169,.18),inset 0 0 16px rgba(84,221,169,.1)}
@keyframes kiro-dot-blink{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 8px #54dda9,0 0 18px rgba(84,221,169,.8),0 0 28px rgba(84,221,169,.45)}50%{opacity:.25;transform:scale(.85);box-shadow:0 0 3px rgba(84,221,169,.35),0 0 6px rgba(84,221,169,.15)}}.halloween-copy h1{font-size:clamp(52px,6.1vw,94px);letter-spacing:-.075em;line-height:.95;margin:30px 0 12px;font-weight:950;color:#f8f6f4}.halloween-copy h1 span{color:#ff790b}.halloween-copy h2{font-size:clamp(27px,3vw,43px);letter-spacing:-.045em;line-height:1.12;margin:0 0 22px;color:#f6f3f0}.halloween-copy h2 span{color:#ff790b}.halloween-copy>p{max-width:650px;color:#aaa39d;font-size:17px;line-height:1.8;margin:0}.halloween-copy .hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}.halloween-copy .hero-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:15px 20px;border-radius:14px}.halloween-copy .hero-actions .btn span{font-size:19px}.btn-demo{background:rgba(9,8,7,.75);border-color:#37302b;color:#f2ede8}.btn-demo:hover{border-color:#ff790b}.hero-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid rgba(255,255,255,.09);margin-top:38px;padding-top:22px}.hero-trust article{padding:0 18px;border-right:1px solid rgba(255,255,255,.09)}.hero-trust article:first-child{padding-left:0}.hero-trust article:last-child{border-right:0;padding-right:0}.trust-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,109,0,.55);color:#ff8a18;background:rgba(255,95,0,.07);font-size:20px;margin-bottom:12px;box-shadow:inset 0 0 16px rgba(255,80,0,.07)}.hero-trust strong{display:block;font-size:14px;color:#f5f0ec}.hero-trust article span{display:block;color:#928982;font-size:12px;line-height:1.55;margin-top:7px}.halloween-footer{width:min(1500px,calc(100% - 48px));margin:0 auto;border-top:1px solid rgba(255,255,255,.07);padding:17px 0 20px;display:flex;justify-content:space-between;gap:16px;color:#716860;font-size:11px}
@media(max-width:900px){.halloween-hero{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:25px}.hero-crest{max-height:58vh}.halloween-links a{padding:9px 8px;font-size:12px}.wordmark{font-size:20px}.halloween-brand .brand-copy small{display:none}.halloween-copy h1{font-size:clamp(45px,6vw,70px)}.halloween-copy>p{font-size:15px}}
@media(max-width:680px){.halloween-nav{width:calc(100% - 30px);padding:12px 0;flex-wrap:wrap;gap:10px}.halloween-brand>img{width:42px;height:42px}.wordmark{font-size:20px}.halloween-links{order:3;width:100%;overflow-x:auto;justify-content:flex-start}.halloween-links a{white-space:nowrap;padding:8px 10px}.nav-cta{margin-left:auto;padding:9px 13px;font-size:12px}.halloween-hero{width:calc(100% - 34px);display:flex;flex-direction:column;gap:10px;padding:25px 0 35px;min-height:auto}.hero-crest-wrap{width:100%;max-height:330px}.hero-crest{width:min(80%,330px);max-height:330px}.halloween-copy{padding:12px 0 0}.hero-pill{font-size:9px;padding:9px 11px;gap:7px}.halloween-copy h1{font-size:clamp(48px,13vw,72px);margin-top:23px}.halloween-copy h2{font-size:29px}.halloween-copy>p{font-size:15px;line-height:1.7}.halloween-copy .hero-actions{margin-top:22px}.halloween-copy .hero-actions .btn{width:100%;padding:14px}.hero-trust{margin-top:28px;padding-top:18px}.hero-trust article{padding:0 9px}.hero-trust strong{font-size:11px}.hero-trust article span{font-size:10px}.trust-icon{width:34px;height:34px}.halloween-footer{width:calc(100% - 34px);flex-direction:column;gap:6px}.hero-crest-wrap:before{inset:0}}


/* Halloween polish across every page */
:root{--red:#ff8a18;--red2:#e85a00;--red3:#7d3515;--shadow:0 24px 80px rgba(0,0,0,.58)}
body{position:relative;isolation:isolate;background-color:#080706;background-image:radial-gradient(ellipse at 12% 16%,rgba(255,83,0,.14),transparent 30%),radial-gradient(ellipse at 90% 82%,rgba(255,110,0,.12),transparent 32%),radial-gradient(ellipse at 80% 8%,rgba(70,20,0,.18),transparent 30%),linear-gradient(180deg,#080706,#100904 62%,#050505)}
body:before{content:"🦇   ·     🦇";position:fixed;z-index:-1;top:12%;left:3%;font-size:clamp(18px,2.3vw,32px);letter-spacing:2vw;opacity:.45;filter:drop-shadow(0 0 10px rgba(255,91,0,.55));pointer-events:none;animation:bat-drift 12s ease-in-out infinite alternate}
body:after{content:"🎃";position:fixed;z-index:-1;right:3%;bottom:5%;font-size:clamp(28px,4vw,54px);opacity:.26;filter:drop-shadow(0 0 18px rgba(255,90,0,.75));pointer-events:none;animation:pumpkin-glow 4s ease-in-out infinite alternate}
@keyframes bat-drift{from{transform:translate(0,0) rotate(-5deg)}to{transform:translate(35px,20px) rotate(5deg)}}@keyframes pumpkin-glow{from{filter:drop-shadow(0 0 8px rgba(255,90,0,.4))}to{filter:drop-shadow(0 0 24px rgba(255,90,0,.95))}}
.brand img{object-fit:contain;filter:drop-shadow(0 0 12px rgba(255,91,0,.55))}
.btn-primary{background:linear-gradient(115deg,#ffb11b,#ff6800 70%,#e94a00);border-color:#ff8a18;color:#100904;box-shadow:0 8px 28px rgba(255,91,0,.2)}
.field:focus{border-color:#ff8a18;box-shadow:0 0 0 3px rgba(255,138,24,.13)}
.auth-wrap{position:relative;padding:18px 16px 30px}.auth-brand{margin-bottom:14px}.auth-card{width:min(470px,100%);padding:27px 30px;border-color:rgba(255,132,20,.25);background:linear-gradient(145deg,rgba(17,15,14,.97),rgba(10,10,12,.97));box-shadow:0 0 0 1px rgba(255,110,0,.04),0 24px 80px rgba(0,0,0,.6),0 0 40px rgba(255,78,0,.06)}.auth-card h1{font-size:28px;margin:14px 0 8px}.auth-card>p{margin-bottom:18px}.stepper{margin:18px 0 22px}.step.active b{background:#542707;color:#ffb34e}.auth-tabs{display:flex;gap:5px;padding:4px;border:1px solid #3c2a1b;border-radius:12px;background:#0a0908;margin-top:18px}.auth-tabs a{flex:1;text-align:center;padding:10px 9px;border-radius:8px;color:#a99b8d;font-size:12px;font-weight:800}.auth-tabs a.active{background:linear-gradient(120deg,#ffad18,#ff6900);color:#170b02;box-shadow:0 0 18px rgba(255,95,0,.18)}.auth-card .label{margin-top:14px}.auth-submit{margin-top:18px}.security-note{background:#181308;border-color:#68400f}.security-note .ico{background:#432506;color:#ffb33f}.auth-bottom a{color:#ff9a20}.auth-info{border-color:#3b291a;background:rgba(12,10,8,.88)}
.maintenance-page{position:relative;overflow:hidden;background:radial-gradient(ellipse at center,rgba(255,82,0,.1),transparent 55%)}.maintenance-page:before,.maintenance-page:after{content:"🎃";position:fixed;bottom:4%;font-size:clamp(42px,7vw,92px);opacity:.55;filter:drop-shadow(0 0 20px rgba(255,90,0,.65));pointer-events:none}.maintenance-page:before{left:5%;transform:rotate(-10deg)}.maintenance-page:after{right:5%;transform:rotate(10deg)}.maintenance-page>.brand{z-index:2}.maintenance-box{position:relative;overflow:hidden;width:min(680px,100%);border-color:rgba(255,128,16,.36);background:linear-gradient(145deg,rgba(18,14,11,.97),rgba(8,8,9,.97));box-shadow:0 0 60px rgba(255,70,0,.09),var(--shadow)}.maintenance-box:before{content:"🦇  ·  🕸  ·  🦇";display:block;color:#ff8a18;letter-spacing:12px;font-size:18px;margin-bottom:18px;opacity:.8}.maintenance-icon{background:radial-gradient(circle,#252830,#13151b);border-color:#4b5563;box-shadow:0 0 30px rgba(160,174,192,.2);color:#cbd5e1}.maintenance-icon svg{width:38px;height:38px;display:block;fill:none;stroke:#cbd5e1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;animation:kiro-gear-spin 6s linear infinite;transform-origin:center}@keyframes kiro-gear-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.maintenance-box h1{font-size:clamp(28px,4vw,40px);color:#ff9b24}.maintenance-timer{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:18px;border:1px solid rgba(255,255,255,.14);background:rgba(20,20,24,.85);border-radius:999px;padding:10px 22px;color:#9aa6ba;font-size:13px;box-shadow:0 4px 20px rgba(0,0,0,.4)}.maintenance-timer .cd-label{color:#9aa6ba;font-size:13px;margin-right:4px}.maintenance-timer .cd-num{color:#ffffff!important;font-weight:700;font-size:15px;letter-spacing:.05em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;text-shadow:0 0 10px rgba(255,255,255,.5)}.maintenance-timer .cd-unit{color:#9aa6ba;font-size:12px;margin-right:6px;font-weight:500}.maintenance-box .eyebrow{color:#ffb04d}
@media(max-width:650px){.auth-card{padding:23px 19px}.maintenance-page:before{left:1%;bottom:1%}.maintenance-page:after{right:1%;bottom:1%}.maintenance-page>.brand{position:static;margin-bottom:24px}}

/* Compact account creation layout: keep the submit button visible on common desktop screens. */
body:has(form[data-register]) .auth-wrap{padding:6px 16px 10px;min-height:100svh;justify-content:flex-start}
body:has(form[data-register]) .auth-brand{margin:0 auto 8px}
body:has(form[data-register]) .auth-card{width:min(470px,100%);padding:15px 24px;border-radius:18px}
body:has(form[data-register]) .auth-card h1{font-size:24px;margin:8px 0 5px}
body:has(form[data-register]) .auth-card>p{font-size:12px;margin-bottom:8px}
body:has(form[data-register]) .stepper{display:none}
body:has(form[data-register]) .auth-tabs{margin-top:10px}
body:has(form[data-register]) .auth-card .label{margin-top:9px}
body:has(form[data-register]) .field{padding-top:10px;padding-bottom:10px}
body:has(form[data-register]) .hint{margin-top:3px;font-size:10px}
body:has(form[data-register]) .security-note{padding:9px 11px;margin-top:10px;gap:9px}
body:has(form[data-register]) .security-note .ico{width:28px;height:28px}
body:has(form[data-register]) .security-note strong{font-size:11px}
body:has(form[data-register]) .security-note p{font-size:10px;line-height:1.35}
body:has(form[data-register]) .auth-submit{margin-top:10px;padding:12px}
body:has(form[data-register]) .divider{margin:12px 0 7px}
body:has(form[data-register]) .auth-info{margin-top:8px;padding:8px 12px}
body:has(form[data-register]) .auth-foot{margin:7px 0}
.icon-img{width:19px;height:19px;object-fit:contain;display:inline-block;vertical-align:middle;flex:0 0 auto}
.nav-btn .icon-img{width:20px;height:20px;margin-right:2px}
.metric-icon .icon-img{width:27px;height:27px}
.script-icon .icon-img{width:30px;height:30px}
.discord-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.discord-link-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid #3b2b1c;border-radius:18px;background:linear-gradient(145deg,rgba(25,19,14,.96),rgba(12,12,15,.98));box-shadow:0 16px 40px rgba(0,0,0,.22)}
.discord-link-card .discord-big{width:44px;height:44px;object-fit:contain}
.discord-link-card h2{margin:0;font-size:20px}
.discord-link-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.discord-link-card .btn{margin-top:auto}
@media(max-width:650px){body:has(form[data-register]) .auth-card{padding:14px 16px} .discord-link-grid{grid-template-columns:1fr}}

/* Pricing Section (Image 1 Style) */
.pricing-section {
  padding: 70px 24px 90px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 44px;
}
.pricing-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
}
.pricing-header h2 span {
  color: #ff8a32;
  text-shadow: 0 0 20px rgba(255, 138, 50, 0.4);
}
.pricing-header p {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.pricing-card {
  background: linear-gradient(180deg, #130f1d 0%, #0c0914 100%);
  border: 1px solid #281d33;
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #4a345e;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.pricing-card.popular {
  border: 1.5px solid #ffd700;
  background: linear-gradient(180deg, #18121f 0%, #0d0815 100%);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.12);
}
.pricing-card.popular:hover {
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.22);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #0b0710;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4);
}
.plan-name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.plan-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  min-height: 58px;
  margin: 0 0 18px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.price-val {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
}
.price-cycle {
  color: var(--muted);
  font-size: 13px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 13px;
  color: #e2e8f5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features .chk {
  color: #47d7a0;
  font-weight: 800;
  font-size: 15px;
}
.plan-features .cross {
  color: #ff5e62;
  font-weight: 800;
  font-size: 15px;
}
.plan-features .feat-dim {
  opacity: 0.4;
}
.pricing-btn {
  margin-top: auto;
  width: 100%;
  padding: 13px;
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  background: #1b2133;
  border: 1px solid #2d3b59;
  color: #fff;
  transition: all 0.2s;
}
.pricing-btn:hover {
  background: #252f4a;
  border-color: #ff8a32;
  color: #fff;
}
.popular-btn {
  background: #ffd700 !important;
  color: #0d0815 !important;
  border: none !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
}
.popular-btn:hover {
  background: #ffe455 !important;
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* Gold Username & Tier Badges */
.gold-user-name {
  color: #ffd700 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
  letter-spacing: 0.3px;
}
.top-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 12px;
  vertical-align: middle;
}
.top-plan-badge.tier-ultra {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 138, 50, 0.2));
  border: 1px solid #ffd700;
  color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.3);
}
.top-plan-badge.tier-ultimate {
  background: linear-gradient(135deg, rgba(230, 40, 100, 0.2), rgba(150, 40, 255, 0.2));
  border: 1px solid #ff3e78;
  color: #ff85aa;
  box-shadow: 0 0 14px rgba(255, 62, 120, 0.3);
}
.top-plan-badge.tier-basic {
  background: rgba(71, 215, 160, 0.15);
  border: 1px solid #47d7a0;
  color: #47d7a0;
}
.top-plan-badge.tier-free {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
}
.user-plan-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

/* PIN Lock Keypad */
.pin-lock-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 55vh;
  padding: 20px;
}
.pin-lock-box {
  background: linear-gradient(180deg, #130e1b 0%, #0a0711 100%);
  border: 1px solid #3d291c;
  border-radius: 24px;
  padding: 34px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.pin-crest-interactive {
  margin: 18px auto 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pin-crest-glow-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 10px;
  outline: none;
  transition: transform 0.2s ease;
}
.pin-crest-glow-btn:hover {
  transform: scale(1.08);
}
.pin-crest-image {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 138, 50, 0.45));
  transition: filter 0.3s;
}
.pin-crest-glow-btn.ready .pin-crest-image {
  filter: drop-shadow(0 0 24px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 12px rgba(255, 138, 50, 0.8));
  animation: pulseCrest 1.2s infinite alternate ease-in-out;
}
@keyframes pulseCrest {
  from { transform: scale(1); filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8)); }
  to { transform: scale(1.08); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)); }
}
.pin-click-tip {
  font-size: 11px;
  color: #ffd700;
  font-weight: 600;
  margin-top: 6px;
}
.pin-dots-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 22px;
}
.pin-digit-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #4a3628;
  background: transparent;
  transition: all 0.2s;
}
.pin-digit-dot.filled {
  background: #ffd700;
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}
.numeric-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 270px;
  margin: 0 auto;
}
.num-key {
  height: 52px;
  border-radius: 14px;
  background: #141b2a;
  border: 1px solid #24334a;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}
.num-key:hover {
  background: #1e283d;
  border-color: #ff8a32;
  transform: translateY(-1px);
}
.num-key:active {
  transform: scale(0.96);
}
.num-key.key-func {
  font-size: 14px;
  color: var(--muted);
  background: #0d121e;
}
.pin-shake {
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Modal styling for Redeem */
.redeem-modal-card {
  background: #0e0a16 !important;
  border: 1px solid #3d291c !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6) !important;
}
