*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#07080b;color:#e9ebf0;font:14px Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.045) 50%,transparent 100%);opacity:.3;transform:translateX(-100%);animation:sweep 15s linear infinite;z-index:100}@keyframes sweep{to{transform:translateX(100%)}}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}img{max-width:100%}input,select{width:100%;background:#101319;border:1px solid #292e39;color:#eee;border-radius:11px;padding:13px;margin:6px 0;outline:0;transition:.2s}input:focus,textarea:focus,select:focus{border-color:#596171;box-shadow:0 0 0 3px rgba(255,255,255,.035)}.primary,.ghost,.danger{border-radius:10px;padding:11px 14px;font-weight:700;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.primary{background:#f1f3f5;color:#090a0d}.ghost{background:#151820;color:#cdd2dc;border:1px solid #292e39}.danger{background:#2a1518;color:#ff9ca5;border:1px solid #4a2026}.primary:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(255,255,255,.08)}.ghost:hover{border-color:#414856;background:#191d26;transform:translateY(-1px)}.danger:hover{background:#351a1f;transform:translateY(-1px)}.primary:disabled,.ghost:disabled,.danger:disabled{opacity:.35;cursor:not-allowed;transform:none}.wide{width:100%;margin-top:12px}.auth{min-height:100vh;display:grid;place-items:center;padding:28px 18px;background:radial-gradient(circle at 50% -10%,#1a1d26 0,#0a0b0f 36%,#07080b 72%)}.auth-shell{width:min(470px,100%);display:grid;gap:16px}.auth-brand{display:flex;align-items:center;gap:14px;padding:6px 4px}.auth-logo-wrap{width:62px;height:62px;border-radius:18px;border:1px solid #2b303b;background:#0c0e13;display:grid;place-items:center;overflow:hidden;box-shadow:0 18px 45px #0008}.brand-logo{width:46px;height:46px;object-fit:contain}.brand-title{font-weight:900;font-size:22px;letter-spacing:.08em}.brand-title span{color:#777f8e}.brand-kicker{font-size:9px;color:#69717f;letter-spacing:.18em;margin-top:4px}.auth-card{padding:30px;border:1px solid #242833;border-radius:24px;background:rgba(13,15,20,.94);box-shadow:0 30px 90px #0009;backdrop-filter:blur(16px);animation:rise .45s ease both}.auth-heading span,.page-heading label{font-size:10px;color:#747c8b;letter-spacing:.18em;font-weight:800}.auth-heading h1{font-size:34px;margin:7px 0 5px}.auth-heading p{color:#747c8b;margin:0 0 24px}.tabs{display:flex;border-bottom:1px solid #272b35;margin-bottom:18px}.tabs button{background:none;color:#777f8e;padding:12px 16px}.tabs .active{color:#fff;border-bottom:2px solid #fff}.auth form{display:grid;gap:7px}.auth small{display:block;color:#606775;margin-top:18px;text-align:center}.auth-mark{display:flex;justify-content:center;align-items:center;gap:8px;color:#555d6b;font-size:9px;letter-spacing:.16em}.auth-mark img{width:19px;height:19px;object-fit:contain;opacity:.55}header{height:68px;border-bottom:1px solid #20232c;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:rgba(10,11,15,.9);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.header-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.header-logo{width:34px;height:34px;object-fit:contain}.header-brand span{display:flex;flex-direction:column;line-height:1}.header-brand b{font-size:13px;letter-spacing:.09em}.header-brand small{font-size:8px;color:#727a89;letter-spacing:.22em;margin-top:4px}.header-right{display:flex;gap:12px;align-items:center;color:#9ca3b1;font-size:12px}.account{display:flex;gap:8px;align-items:center}.account-dot{width:7px;height:7px;border-radius:50%;background:#73dfa0;box-shadow:0 0 12px #73dfa0}.layout{display:flex;min-height:calc(100vh - 68px)}aside{width:225px;border-right:1px solid #20232c;padding:18px 12px;display:flex;flex-direction:column;gap:6px;background:#090a0e}.side-brand{display:flex;align-items:center;gap:10px;padding:5px 10px 20px}.side-brand img{width:34px;height:34px;object-fit:contain}.side-brand div{display:flex;flex-direction:column}.side-brand b{font-size:11px;letter-spacing:.09em}.side-brand small{font-size:8px;color:#5f6775;letter-spacing:.16em;margin-top:4px}.side-label{font-size:9px;color:#4f5765;letter-spacing:.16em;padding:8px 14px}.nav{background:none;color:#7e8593;text-align:left;padding:12px 14px;border-radius:10px;display:flex;gap:11px;align-items:center}.nav span{font-size:9px;color:#4d5563;font-family:ui-monospace,monospace}.nav.active,.nav:hover{background:#151820;color:#fff}.nav.active span{color:#aeb5c1}.side-spacer{flex:1}.side-status{color:#5e6573;font-size:10px;padding:14px;border:1px solid #1e222b;border-radius:12px;background:#0d0f14;display:flex;gap:9px;align-items:center}.side-status b{display:block;color:#a2a9b5;font-size:10px}.side-status small{display:block;margin-top:3px}.dot{width:7px;height:7px;border-radius:50%;background:#65d391;box-shadow:0 0 10px #65d391}.icon{display:none;background:none;color:#ddd;font-size:21px;padding:5px}main{flex:1;max-width:1500px;margin:auto;width:100%;padding:28px 32px 0}.page{animation:rise .3s ease both}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.top-banner{height:190px;border:1px solid #262b35;border-radius:20px;overflow:hidden;position:relative;background:#0d1015;margin-bottom:18px;box-shadow:0 22px 60px #0007}.top-banner img{width:100%;height:100%;object-fit:cover;display:block;opacity:.78}.banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,#06070a 0%,rgba(6,7,10,.82) 30%,rgba(6,7,10,.25) 70%,rgba(6,7,10,.65) 100%)}.banner-content{position:absolute;left:26px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column}.banner-content span{font-size:9px;letter-spacing:.24em;color:#9ba2ae}.banner-content b{font-size:31px;line-height:.98;letter-spacing:.02em;margin:8px 0}.banner-content small{color:#737b89}.hero{display:flex;justify-content:space-between;align-items:center;border:1px solid #222630;background:linear-gradient(135deg,#11141b,#0b0d11);padding:28px 30px;border-radius:20px;margin-bottom:18px}.hero h1,h1{font-size:32px;margin:7px 0}.hero p,.page-heading p{color:#7f8795;margin:0}.hero label,label{font-size:10px;color:#747c8b;letter-spacing:.16em;font-weight:800}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{border:1px solid #222630;background:#0d1015;border-radius:16px;padding:18px}.stat-card{position:relative;min-height:126px;overflow:hidden}.stat-icon{position:absolute;right:16px;top:16px;color:#6d7584;border:1px solid #292e38;border-radius:9px;padding:7px 8px;font-size:9px;font-weight:800}.stat-icon.live{color:#72dda0}.card small{display:block;color:#6f7684;font-size:9px;letter-spacing:.16em}.card strong{font-size:25px;display:block;margin-top:10px}.stat-card>span{display:block;color:#555e6d;font-size:10px;margin-top:6px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px}.section-head h2{font-size:17px;margin:6px 0 0}.page-heading{align-items:flex-end}.page-heading h1{margin:7px 0 4px}.server-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.server-card{border:1px solid #242934;background:#0d1015;border-radius:16px;padding:18px;transition:.2s;position:relative;overflow:hidden}.server-card:after{content:"";position:absolute;inset:-2px;pointer-events:none;background:linear-gradient(120deg,transparent,rgba(255,255,255,.05),transparent);transform:translateX(-120%);transition:.6s}.server-card:hover{transform:translateY(-2px);border-color:#3a404d}.server-card:hover:after{transform:translateX(120%)}.server-card h3{margin:0 0 7px}.server-meta{color:#707887;font-size:12px;margin-bottom:18px}.server-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.status{font-size:9px;padding:5px 8px;border-radius:20px;background:#241719;color:#ff969f;letter-spacing:.06em}.status.online{background:#13241b;color:#76dfa0;animation:statusPulse 2s infinite}@keyframes statusPulse{50%{box-shadow:0 0 0 4px #76dfa010}}.server-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:15px}.server-top h1{margin:5px 0}.server-top label{display:block}.actions{display:flex;gap:8px}.back{background:none;color:#747c89;padding:0;margin-bottom:15px}.detail-banner{height:95px;border:1px solid #252a34;border-radius:15px;overflow:hidden;position:relative;margin-bottom:14px;background:#0d1015}.detail-banner img{width:100%;height:100%;object-fit:cover;opacity:.5}.detail-banner>div{position:absolute;left:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column}.detail-banner span{font-size:8px;color:#9da4b0;letter-spacing:.2em}.detail-banner b{font-size:18px;margin-top:5px}.server-tabs{display:flex;gap:4px;border-bottom:1px solid #252a34;position:sticky;top:68px;background:#08090c;z-index:10}.stab{background:none;color:#737b89;padding:13px 16px}.stab.active{color:#fff;border-bottom:2px solid #fff}.tabpage{margin-top:14px}.runtime-head{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line,#242934);border-bottom:0;border-radius:14px 14px 0 0;background:#0b0d12;padding:10px 14px;color:#cbd1da}.runtime-head>div{display:flex;align-items:center;gap:9px}.runtime-head small{color:#69717f;margin-left:6px}.live-dot{width:7px;height:7px;border-radius:50%;background:#6ce09b;box-shadow:0 0 0 4px #6ce09b14;animation:pulse 1.5s infinite}@keyframes pulse{50%{box-shadow:0 0 0 8px transparent}}.tiny{padding:6px 9px;font-size:10px}.console{height:430px;background:#050608;border:1px solid #242832;border-radius:0 0 14px 14px;padding:15px;overflow:auto;white-space:pre-wrap;font:12px/1.65 ui-monospace,Consolas,monospace;color:#cbd0d9;scrollbar-width:thin}.console-welcome{color:#7d8796}.console-welcome span{color:#505866}.log-ok{color:#8be5ad}.log-error{color:#ff9fa8}.console-input{display:flex;align-items:center;gap:8px;background:#0d1015;border:1px solid #242832;border-radius:10px;padding:0 12px;margin-top:8px}.console-input span{color:#71d99c}.console-input input{border:0;margin:0;background:transparent}.resource-head{margin-top:14px;border:1px solid #242934;border-bottom:0;border-radius:14px 14px 0 0;background:#0b0d12;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}.resource-head div{display:flex;align-items:baseline;gap:10px}.resource-head small{color:#69717f;font-size:9px;letter-spacing:.12em}.resource-live{font-size:9px;color:#72dda0;letter-spacing:.1em;display:flex;gap:7px;align-items:center}.resource-live i{width:6px;height:6px;border-radius:50%;background:#72dda0;box-shadow:0 0 10px #72dda0}.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border:1px solid #242934;border-radius:0 0 14px 14px;padding:12px;background:#080a0d}.resource-card{background:#0d1016;border:1px solid #202530;border-radius:11px;padding:13px}.resource-label,.resource-foot{display:flex;justify-content:space-between;gap:8px;align-items:center}.resource-label span,.resource-foot span{font-size:9px;color:#727b89;letter-spacing:.12em}.resource-label b{font-size:12px;color:#e9edf3}.resource-foot{margin-top:8px}.resource-foot b{font-size:9px;color:#808896}.resource-bar{height:4px;border-radius:10px;background:#1b2029;overflow:hidden;margin-top:12px}.resource-bar i{display:block;height:100%;width:0;background:#e9edf3;border-radius:10px;transition:width .45s ease}.resource-alone{margin-top:20px}.filebar,.editorbar{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #252a34;background:#0d1015;border-radius:12px;margin-bottom:10px}.filebar>span:first-child,.editorbar>span{flex:1;color:#8e96a5}.filebar .selected-indicator{flex:0 0 auto;color:#747d8c;font-size:11px}.filebar .selected-indicator b{color:#fff}.filelist{border:1px solid #252a34;border-radius:12px;overflow:hidden}.file{display:flex;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid #1e222b;transition:.18s}.file:last-child{border-bottom:0}.file:hover{background:#12151c}.file .name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file .size{color:#666e7d;font-size:11px}.file-check{width:17px;height:17px;margin:0;accent-color:#eee;flex:0 0 auto}.file-icon{width:28px;text-align:center;color:#8d95a3;font-size:11px}.file-icon.zip{color:#d8c47e}.empty{padding:30px;text-align:center;color:#646c79}.editorbar{margin:0}.editor{width:100%;height:540px;resize:none;border:1px solid #252a34;border-radius:0 0 12px 12px;background:#07090c;color:#dce1e9;padding:16px;font:13px/1.6 ui-monospace,Consolas,monospace;outline:0}.settings{max-width:650px;border:1px solid #252a34;background:#0d1015;border-radius:15px;padding:20px}.settings label{display:block;margin-top:12px}.settings hr{border:0;border-top:1px solid #262a33;margin:25px 0}.settings-note{display:block;color:#666f7e;font-size:10px;line-height:1.5;margin:8px 0 14px}.modal{position:fixed;inset:0;background:#000b;display:grid;place-items:center;padding:20px;z-index:50;backdrop-filter:blur(5px)}.modal-card{width:min(440px,100%);background:#0e1016;border:1px solid #2a2e38;border-radius:20px;padding:24px;position:relative;box-shadow:0 30px 100px #000c;animation:rise .25s ease}.modal-x{position:absolute;right:14px;top:12px;background:none;color:#89909d;font-size:25px}.modal-brand{display:flex;align-items:center;gap:10px;margin-bottom:15px}.modal-brand img{width:35px;height:35px;object-fit:contain}.modal-brand div{display:flex;flex-direction:column}.modal-brand span{font-size:8px;color:#666e7d;letter-spacing:.18em}.modal-brand b{font-size:16px;margin-top:3px}.modal-label{display:block;margin-top:13px;font-size:10px;color:#747c8b;letter-spacing:.16em;font-weight:800}.ram-input-row{display:flex;align-items:center;gap:8px}.ram-input-row input{margin:6px 0}.ram-input-row span{color:#777f8e;font-size:12px}.preset-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.preset-row button{padding:7px 9px;font-size:10px}footer{display:flex;justify-content:space-between;gap:15px;padding:30px 2px 22px;color:#4e5664;font-size:9px;letter-spacing:.12em;text-transform:uppercase}footer i{font-style:normal;margin:0 5px;color:#747c89}#toast{position:fixed;right:18px;bottom:18px;z-index:100;display:grid;gap:8px;max-width:min(380px,calc(100vw - 36px))}.toast{background:#151820;border:1px solid #303642;border-radius:11px;padding:12px 15px;box-shadow:0 15px 35px #0008;animation:rise .2s ease}.toast.err{border-color:#57272d;color:#ffadb4}@media(max-width:1000px){.resource-grid{grid-template-columns:repeat(2,1fr)}.filebar{gap:6px}.filebar .selected-indicator{order:3;width:100%}}@media(max-width:800px){header{padding:0 14px}.icon{display:block}header .header-brand{position:absolute;left:50%;transform:translateX(-50%)}.header-right .account{display:none}aside{position:fixed;left:-240px;top:68px;bottom:0;z-index:30;background:#0b0d11;transition:.2s;box-shadow:20px 0 60px #0009}.layout{min-height:calc(100vh - 68px)}aside.open{left:0}main{padding:18px 16px 0}.top-banner{height:160px}.banner-content{left:18px}.banner-content b{font-size:25px}.hero{display:block;padding:22px}.hero .primary{margin-top:18px;width:100%}.cards{grid-template-columns:1fr 1fr}.stat-card:last-child{grid-column:1/-1}.server-top{display:block}.actions{margin-top:15px;flex-wrap:wrap}.actions button{flex:1}.detail-banner{height:80px}.server-tabs{top:68px;overflow-x:auto}.stab{white-space:nowrap;padding:12px 13px}.console{height:50vh}.filebar{flex-wrap:wrap;align-items:stretch}.filebar>span:first-child{flex-basis:100%}.filebar button{flex:1}.filebar .selected-indicator{width:auto;flex-basis:auto;align-self:center}.resource-head div{display:block}.resource-head small{display:block;margin-top:4px}.resource-card{padding:11px}.resource-label b{font-size:11px}.page-heading{display:block}.page-heading .primary{margin-top:16px;width:100%}footer{display:block;line-height:2;padding-bottom:18px}footer span{display:block}.auth{padding:20px 14px}.auth-card{padding:24px}.brand-title{font-size:19px}}@media(max-width:430px){.cards{grid-template-columns:1fr}.stat-card:last-child{grid-column:auto}.top-banner{height:145px}.banner-content b{font-size:22px}.banner-content small{font-size:10px}.resource-grid{grid-template-columns:1fr 1fr}.resource-label{display:block}.resource-label b{display:block;margin-top:5px}.file{gap:8px;padding:11px}.file .size{display:none}.actions button{min-width:0}.auth-brand{padding:0}}

/* =========================================================
   FRANXX PTERO — MOBILE / VISUAL POLISH UPDATE
   Public-only UI update. Existing functionality preserved.
   ========================================================= */
:root{--bg:#07080b;--panel:#0d1016;--panel2:#10141b;--line:#252a34;--muted:#70798a;--text:#eef1f5;--soft:#aab2c0;--green:#71dfa0}
body{background:radial-gradient(circle at 70% -10%,rgba(255,255,255,.055),transparent 28%),radial-gradient(circle at 0% 60%,rgba(94,110,140,.055),transparent 30%),#07080b}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 90%)}
.auth{position:relative;overflow:hidden;padding:28px 18px 34px;background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.09),transparent 28%),#06070a}
.auth:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.025) 50%,transparent 80%);pointer-events:none}
.auth-shell{width:min(920px,100%);grid-template-columns:minmax(0,1fr) minmax(340px,430px);align-items:stretch;gap:0;border:1px solid #242934;border-radius:28px;overflow:hidden;background:rgba(10,12,16,.82);box-shadow:0 35px 110px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(22px)}
.auth-brand{grid-column:1;padding:34px 36px 16px;position:relative;z-index:2}.auth-logo-wrap{width:72px;height:72px;border-radius:20px;background:rgba(7,8,11,.7);border-color:#343a46}.brand-logo{width:56px;height:56px}.brand-title{font-size:24px}.auth-shell:before{content:"";grid-column:1;grid-row:2 / span 2;min-height:390px;background:linear-gradient(90deg,rgba(5,6,9,.16),rgba(5,6,9,.38)),url('https://zfile.web.id/ptVnzVN.png') center/cover no-repeat;opacity:.9;border-top:1px solid rgba(255,255,255,.04)}
.auth-card{grid-column:2;grid-row:1 / span 3;margin:18px;border-radius:22px;padding:32px;background:rgba(15,17,23,.96);border-color:#2c323e;display:flex;flex-direction:column;justify-content:center;min-height:520px}.auth-heading h1{font-size:40px;letter-spacing:-.04em}.auth-heading p{font-size:13px;line-height:1.6}.auth form input{height:52px;padding:0 15px;border-radius:13px;background:#0a0c10}.auth form .primary{height:52px;margin-top:5px}.tabs{margin-bottom:20px}.auth-mark{grid-column:1;position:relative;z-index:2;justify-content:flex-start;padding:0 36px 26px}.auth-mark img{width:22px;height:22px}
header{height:72px;padding:0 26px;background:rgba(7,8,11,.82);border-color:#1f232c;box-shadow:0 8px 35px rgba(0,0,0,.18)}.header-logo{width:38px;height:38px}.header-brand{gap:11px}.header-brand b{font-size:14px}.layout{min-height:calc(100vh - 72px)}aside{width:240px;padding:20px 13px;background:linear-gradient(180deg,#0a0c10,#08090d)}.side-brand{padding:4px 10px 22px}.side-brand img{width:40px;height:40px}.mobile-create{display:none;width:100%;margin-top:5px;border:1px solid #303642;border-radius:13px;background:linear-gradient(135deg,#151921,#0f1218);color:#f1f3f6;padding:12px 13px;text-align:left;align-items:center;gap:11px}.mobile-create>span{font-size:21px;line-height:1}.mobile-create div{display:flex;flex-direction:column}.mobile-create b{font-size:10px;letter-spacing:.1em}.mobile-create small{font-size:9px;color:#687180;margin-top:3px}
main{padding:28px 34px 0}.top-banner{height:205px;border-radius:24px;margin-bottom:16px;box-shadow:0 25px 70px rgba(0,0,0,.34)}.top-banner img{opacity:.88}.banner-shade{background:linear-gradient(90deg,#050609 0%,rgba(5,6,9,.82) 28%,rgba(5,6,9,.18) 72%,rgba(5,6,9,.48) 100%)}.banner-content{left:30px}.banner-content span{color:#b8bfca}.banner-content b{font-size:34px;letter-spacing:-.025em}.hero-new{position:relative;overflow:hidden;min-height:188px;padding:28px 30px;border-radius:22px;background:radial-gradient(circle at 85% 50%,rgba(255,255,255,.08),transparent 30%),linear-gradient(135deg,#12151c,#0b0e13 72%);border-color:#292f3a}.hero-new:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-80px;top:-85px;box-shadow:0 0 0 35px rgba(255,255,255,.012),0 0 0 70px rgba(255,255,255,.008)}.hero-copy{position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:8px;color:#7f8795;font-size:9px;letter-spacing:.17em;font-weight:800}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green)}.eyebrow em{font-style:normal;color:#444b57}.hero-new h1{font-size:38px;letter-spacing:-.045em;margin:11px 0 7px}.hero-new h1 span{color:#777f8d}.hero-new p{max-width:600px;line-height:1.6}.hero-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:17px}.hero-chips span{font-size:8px;letter-spacing:.12em;color:#737c8a;border:1px solid #292f39;border-radius:999px;padding:6px 9px;background:rgba(255,255,255,.02)}.hero-action{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.hero-orb{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#1c212a 0,#0d1016 65%);border:1px solid #343a46;box-shadow:0 0 45px rgba(255,255,255,.05)}.hero-orb img{width:58px;height:58px;object-fit:contain}.cards-new{gap:14px;margin-top:14px}.cards-new .stat-card{min-height:142px;padding:18px 20px;background:linear-gradient(145deg,#10131a,#0b0e13);border-radius:18px}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-top small{font-size:9px}.cards-new .stat-card strong{font-size:30px;letter-spacing:-.03em;margin-top:22px}.stat-line{height:2px;background:#1a1e26;margin-top:15px;border-radius:99px;overflow:hidden}.stat-line i{display:block;width:34%;height:100%;background:#8a93a1}.live-line i{background:var(--green);box-shadow:0 0 12px rgba(113,223,160,.5);width:22%}.platform-card strong{font-size:22px}.platform-mark{position:absolute;right:18px;bottom:18px;font-size:9px;letter-spacing:.14em;color:#4e5664}.platform-mark b{color:#8a92a0}.section-head{margin:30px 2px 15px}.section-sub{font-size:11px;color:#535c6b;margin:5px 0 0}.refresh-btn{border-radius:999px}.server-grid{gap:14px}.server-card{border-radius:18px;padding:19px;background:linear-gradient(145deg,#101319,#0b0e13);box-shadow:0 10px 30px rgba(0,0,0,.12)}.server-card h3{font-size:15px}.server-card .ghost{border-radius:9px}.detail-banner{height:108px;border-radius:17px}.resource-card{border-radius:13px;background:linear-gradient(145deg,#0f1218,#0b0e13)}footer{margin-top:14px;border-top:1px solid rgba(255,255,255,.035);padding-top:25px}
.modal{padding:16px;background:rgba(0,0,0,.76)}.modal-card{border-radius:24px;padding:27px;background:linear-gradient(145deg,#11141b,#0b0d12);overflow:hidden}.modal-glow{position:absolute;width:180px;height:180px;border-radius:50%;right:-90px;top:-90px;background:rgba(255,255,255,.055);filter:blur(3px)}
@media(max-width:800px){
  body.menu-open{overflow:hidden}.auth{display:block;padding:12px 12px 24px;min-height:100svh}.auth-shell{width:100%;display:flex;flex-direction:column;border-radius:24px;overflow:hidden}.auth-brand{padding:20px 20px 14px;order:1}.auth-shell:before{order:2;min-height:150px;height:150px;width:100%;background-position:center;opacity:.92}.auth-card{order:3;margin:0;border:0;border-top:1px solid #242934;border-radius:0;padding:26px 20px 24px;min-height:0;background:rgba(13,15,20,.98)}.auth-mark{order:4;padding:16px 20px 20px;justify-content:center}.auth-heading h1{font-size:34px}.auth-logo-wrap{width:60px;height:60px}.brand-logo{width:47px;height:47px}.brand-title{font-size:20px}.auth-card small{margin-top:15px}.auth form input,.auth form .primary{height:51px}.auth-shell:after{content:"FRANXX PTERO";order:2;position:absolute;display:none}
  header{height:64px;padding:0 12px}.layout{min-height:calc(100vh - 64px)}header .header-brand{position:absolute;left:50%;transform:translateX(-50%)}.header-logo{width:34px;height:34px}.icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #292e38;border-radius:12px;background:#0d1016;font-size:20px;line-height:1}aside{top:64px;left:-270px;width:270px;padding:18px 14px;box-shadow:25px 0 70px rgba(0,0,0,.65)}aside.open{left:0}.mobile-create{display:flex}.side-status{margin-top:8px}main{padding:13px 12px 0}.top-banner{height:152px;border-radius:18px}.banner-content{left:18px}.banner-content b{font-size:23px}.banner-content small{font-size:9px}.hero-new{min-height:0;padding:20px 18px;border-radius:18px;display:flex;flex-direction:column;gap:18px}.hero-new h1{font-size:31px}.hero-action{align-items:stretch;flex-direction:row-reverse;justify-content:space-between}.hero-action .primary{flex:1;height:46px}.hero-orb{width:46px;height:46px;flex:0 0 46px}.hero-orb img{width:31px;height:31px}.hero-chips{display:none}.cards-new{grid-template-columns:1fr 1fr;gap:9px}.cards-new .stat-card{min-height:125px;padding:15px}.cards-new .stat-card:last-child{grid-column:1/-1}.cards-new .stat-card strong{font-size:25px;margin-top:16px}.platform-mark{display:none}.section-head{margin:24px 2px 12px}.section-head h2{font-size:16px}.section-sub{font-size:10px}.refresh-btn span{display:none}.server-grid{grid-template-columns:1fr;gap:10px}.server-card{padding:16px}.page-heading{padding:5px 2px}.detail-banner{height:82px}.server-tabs{top:64px}.resource-grid{gap:8px}.resource-card{min-width:0}.filebar{border-radius:13px}.filebar button{min-height:38px}.modal-card{width:min(100%,440px);padding:22px}.modal-brand{padding-right:25px}
}
@media(max-width:430px){.auth{padding:8px}.auth-shell{border-radius:21px}.auth-brand{padding:17px 17px 12px}.auth-shell:before{height:125px;min-height:125px}.auth-card{padding:23px 17px}.auth-heading h1{font-size:31px}.auth-heading p{font-size:12px}.cards-new{grid-template-columns:1fr 1fr}.cards-new .stat-card:last-child{grid-column:1/-1}.top-banner{height:132px}.banner-content b{font-size:20px}.hero-new h1{font-size:28px}.hero-new p{font-size:12px}.hero-action .primary{font-size:12px}.resource-grid{grid-template-columns:1fr 1fr}.resource-label b{font-size:10px}.runtime-head{padding:10px 11px}.runtime-head small{display:block}.actions{gap:6px}.actions button{padding:10px 8px}.modal-card{border-radius:20px}}
@media(min-width:801px){.mobile-create{display:none}}

/* =========================================================
   FRANXX PTERO — V2 LAYOUT REFINEMENT
   Create Server lives in the ☰ sidebar. Header branding
   stays naturally aligned instead of being centered.
   ========================================================= */
.header-brand{
  position:static !important;
  left:auto !important;
  transform:none !important;
  margin-left:8px;
  margin-right:auto;
  flex:0 0 auto;
}
.header-brand span{display:flex;flex-direction:column;line-height:1.05}
.header-brand small{display:block;margin-top:5px;letter-spacing:.25em;font-size:8px;color:#6e7684}
.header-right{margin-left:auto}
aside .mobile-create{
  display:flex;
  margin:14px 0 0;
  min-height:62px;
  cursor:pointer;
}
aside .mobile-create:hover{
  border-color:#3a414d;
  background:linear-gradient(135deg,#171b23,#0f1218);
  transform:translateY(-1px);
}
aside .mobile-create:active{transform:translateY(0)}
.hero-action{justify-content:center}
.hero-note{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:5px;
  text-align:right;
}
.hero-note b{font-size:9px;letter-spacing:.16em;color:#cdd3dc}
.hero-note span{font-size:10px;color:#666f7d;max-width:170px;line-height:1.45}
.page-heading{align-items:center}
.page-heading p{margin-bottom:0}
@media(max-width:800px){
  header .header-brand{
    position:static !important;
    left:auto !important;
    transform:none !important;
    margin-left:10px;
    margin-right:auto;
  }
  header .header-brand .header-logo{width:35px;height:35px}
  header .header-brand b{font-size:13px}
  header .header-brand small{font-size:7px;letter-spacing:.24em}
  .hero-action{align-items:center;flex-direction:row;justify-content:flex-start}
  .hero-note{text-align:left}
  .hero-note span{max-width:none}
  .page-heading{align-items:flex-start}
}
@media(max-width:430px){
  header .header-brand{gap:8px}
  header .header-brand .header-logo{width:32px;height:32px}
  header .header-brand b{font-size:12px}
  header .header-brand small{font-size:6px}
  .hero-note b{font-size:8px}
  .hero-note span{font-size:9px}
}

/* File manager additions — keeps the existing FRANXX theme intact. */
.filebar{flex-wrap:wrap}.file-path{flex:1 1 240px;min-width:180px;display:flex;align-items:center;gap:5px;overflow:auto;scrollbar-width:thin}.file-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.file-path button{border:0;background:transparent;color:#8f98a8;padding:5px 4px;font:inherit;font-size:10px;letter-spacing:.08em;cursor:pointer;white-space:nowrap}.file-path .path-root{color:#e7ebf2;font-weight:800}.file-path .path-part:hover,.file-path .path-root:hover{color:#fff}.path-sep{color:#4e5664;font-size:11px}.filebar .selected-indicator{margin-left:auto}.file-action{padding:7px 9px;font-size:9px;flex:0 0 auto}.file-up{cursor:pointer}.file-up:hover{background:#11151c}.file-up small{color:#555e6c;font-size:8px;letter-spacing:.1em;margin-left:6px}@media(max-width:800px){.file-path{flex-basis:100%;min-width:0}.file-actions{width:100%}.file-actions button{flex:1;min-width:90px}.filebar .selected-indicator{margin-left:0}.file-action{padding:6px 8px}}@media(max-width:430px){.file-actions button{min-width:0;font-size:9px}.file .file-action{padding:6px}.file-up small{display:none}}

/* =========================================================
   FRANXX PTERO — RESPONSIVE UI FIX
   Only layout/responsive presentation is adjusted here.
   Existing theme, colors, components and functionality stay intact.
   ========================================================= */

/* Desktop: let the workspace use the complete available width. */
.layout{align-items:stretch}
.layout>main{min-width:0;max-width:none}
#serverDetail,#dashboard,#servers{width:100%;min-width:0}
.tabpage,.detail-banner,.server-tabs,.filebar,.filelist,.editorbar,.editor{max-width:none;width:100%}
.server-top{min-width:0}
.server-top>div:first-child{min-width:0}
.server-top h1{overflow-wrap:anywhere}

/* Keep the file toolbar readable instead of allowing buttons to collide. */
.filebar{align-items:flex-start}
.file-path{min-height:38px;padding:4px 7px;border:1px solid #202530;border-radius:9px;background:#0a0c10;flex:1 1 220px}
.file-actions{flex:1 1 auto;justify-content:flex-end;min-width:0}
.file-actions button{white-space:nowrap}
.selected-indicator{white-space:nowrap;padding:11px 2px}

/* File rows stay compact on wide screens. */
.file{min-width:0}
.file .name{overflow-wrap:anywhere}
.file .file-action{display:inline-flex;align-items:center;justify-content:center}

@media (min-width:1200px){
  main{padding-left:36px;padding-right:36px}
  .file-actions{gap:8px}
  .file-actions .ghost,.file-actions .danger,.file-actions .primary{padding-left:12px;padding-right:12px}
}

@media (max-width:800px){
  /* Mobile header remains compact and never pushes content sideways. */
  header{width:100%;min-width:0}
  .header-brand{min-width:0}
  .header-brand span{min-width:0}
  .header-brand b,.header-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .header-right{gap:6px;min-width:0}
  .header-right .account{display:none}
  .header-right .ghost{padding:10px 12px}

  main{width:100%;min-width:0;overflow:visible}
  .server-top{align-items:flex-start;flex-direction:column;gap:14px}
  .server-top .actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .server-top .actions button{min-width:0;width:100%;padding:10px 8px}
  .detail-banner{margin-bottom:10px}
  .server-tabs{overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .server-tabs::-webkit-scrollbar{display:none}
  .stab{flex:0 0 auto}

  /* File toolbar becomes a real mobile control panel. */
  .filebar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:9px}
  .file-path{width:100%;min-width:0;flex:none;overflow-x:auto;white-space:nowrap}
  .file-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}
  .file-actions button{width:100%;min-width:0;min-height:40px;padding:9px 7px;font-size:9px}
  .filebar .selected-indicator{width:100%;padding:4px 2px 1px;margin:0;order:initial}

  .filelist{border-radius:12px}
  .file{display:grid;grid-template-columns:20px 28px minmax(0,1fr) auto;gap:9px;padding:12px 10px}
  .file .name{grid-column:3;grid-row:1;align-self:center}
  .file .size{grid-column:4;grid-row:1;font-size:9px}
  .file .file-action{grid-column:3 / 5;grid-row:2;width:100%;min-height:34px}
  .file .file-action + .file-action{grid-column:auto}
  .file-up{display:flex;align-items:center;gap:10px}
  .file-up .name{display:block}
  .file-check{width:18px;height:18px}
  .file-icon{width:28px}

  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .resource-card{min-width:0;overflow:hidden}
  .resource-label b{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .runtime-head{gap:8px}
  .runtime-head>div{min-width:0}
  .runtime-head b{font-size:11px}
  .runtime-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

@media (max-width:520px){
  main{padding-left:10px;padding-right:10px}
  .top-banner{height:140px}
  .banner-content{left:16px}
  .banner-content b{font-size:21px}
  .hero-new{padding:18px 16px}
  .hero-new h1{font-size:29px}
  .hero-new p{font-size:11px}
  .cards-new .stat-card{min-height:118px}
  .section-head{gap:10px}
  .section-head .refresh-btn{flex:0 0 auto}
  .server-top h1{font-size:27px}
  .server-top .actions button{font-size:10px}
  .detail-banner{height:78px}
  .file-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:380px){
  header{padding-left:9px;padding-right:9px}
  header .header-brand{gap:6px;margin-left:7px}
  header .header-brand .header-logo{width:29px;height:29px}
  header .header-brand b{font-size:10px}
  header .header-brand small{font-size:5px}
  .header-right .ghost{padding:9px 10px;font-size:10px}
  .cards-new{grid-template-columns:1fr}
  .cards-new .stat-card:last-child{grid-column:auto}
  .resource-grid{grid-template-columns:1fr}
  .server-top .actions{grid-template-columns:1fr}
  .file-actions{grid-template-columns:1fr}
}


/* Final responsive file-action polish: keep folder controls compact without changing the existing theme. */
.file .file-action.file-open,.file .file-action.file-delete{width:34px;min-width:34px;height:30px;min-height:30px;padding:0;border-radius:9px;flex:0 0 34px;font-size:15px;line-height:1;justify-self:end}
.file .file-action.file-open{font-weight:800}
.file .file-action.file-delete{font-size:16px}
@media (min-width:801px){
  .file .file-action.file-open,.file .file-action.file-delete{width:32px;min-width:32px;height:28px;min-height:28px;flex-basis:32px}
}
@media (max-width:800px){
  .file{grid-template-columns:20px 28px minmax(0,1fr) auto;align-items:center}
  .file .name{grid-column:3;grid-row:1}
  .file .size{grid-column:4;grid-row:1}
  .file .file-action.file-open,.file .file-action.file-delete{grid-column:auto;grid-row:1}
  .file .file-action.file-open{width:34px;min-width:34px}
  .file .file-action.file-delete{width:30px;min-width:30px;flex-basis:30px}
  .file .file-action.file-unzip{grid-column:3 / 5;grid-row:2;width:auto;min-height:32px}
}
@media (max-width:430px){
  .file .file-action.file-open{width:32px;min-width:32px;height:28px;min-height:28px;font-size:14px}
  .file .file-action.file-delete{width:28px;min-width:28px;height:28px;min-height:28px;font-size:15px}
}

/* Root/Admin account + API pages. Existing theme is intentionally preserved. */
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:12px}.profile-card,.admin-form,.api-info{min-height:220px}.profile-kicker{font-size:9px;color:#707887;letter-spacing:.18em;font-weight:800}.profile-card h2,.admin-form h2,.api-info h2{margin:9px 0 8px;font-size:22px}.profile-card>p,.admin-form>p,.api-info>p{color:#737c8a;line-height:1.55}.root-badge{display:inline-flex;border:1px solid #294b38;background:#12231a;color:#7ae0a1;border-radius:999px;padding:6px 9px;font-size:9px;letter-spacing:.08em;font-weight:800}.profile-meta{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #20242d;margin-top:15px;padding-top:12px;color:#626b79;font-size:10px}.profile-meta b{color:#c9ced7;font-weight:600;overflow-wrap:anywhere;text-align:right}.check-row{display:flex;align-items:center;gap:8px;color:#aeb5c0;font-size:11px;margin:7px 0}.check-row input{width:auto;margin:0;accent-color:#f1f3f5}.scope-title{display:block;margin-top:13px}.secret-box{margin-top:14px;border:1px solid #344052;background:#090c11;border-radius:12px;padding:12px}.secret-box small{display:block;color:#e6b36d;font-size:8px;letter-spacing:.14em;margin-bottom:8px}.secret-box code{display:block;white-space:pre-wrap;word-break:break-all;color:#d9dee7;font:11px/1.55 ui-monospace,Consolas,monospace;margin-bottom:9px}.api-info pre{margin:16px 0 0;padding:13px;border:1px solid #202530;border-radius:11px;background:#080a0e;color:#bfc6d0;white-space:pre-wrap;font:11px/1.7 ui-monospace,Consolas,monospace}.admin-list{display:grid;gap:8px}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #222731;background:#0d1015;border-radius:13px;padding:14px 16px}.admin-row>div:first-child{min-width:0}.admin-row b{display:block;color:#e4e8ee;font-size:12px}.admin-row small{display:block;color:#69717f;font-size:9px;margin-top:5px;overflow-wrap:anywhere}.key-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.key-actions .status{white-space:nowrap}.root-only{min-width:0}
@media(max-width:800px){.profile-grid{grid-template-columns:1fr}.profile-card,.admin-form,.api-info{min-height:0}.admin-row{align-items:flex-start;flex-direction:column}.key-actions{width:100%;justify-content:space-between}.root-only .section-head{align-items:flex-start}}
