:root{--bg:#08070b;--panel:#111017;--panel2:#17141d;--text:#f7f4f8;--muted:#9b95a3;--line:rgba(255,255,255,.09);--pink:#ff3f86;--red:#f04b5f;--violet:#9f6cff;--good:#56d69b;--shadow:0 24px 80px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark}body{margin:0;background:radial-gradient(circle at 85% -10%,rgba(159,108,255,.15),transparent 32%),radial-gradient(circle at -10% 22%,rgba(255,63,134,.12),transparent 32%),var(--bg);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}.topbar{height:76px;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;background:linear-gradient(var(--bg) 55%,transparent);backdrop-filter:blur(12px)}.brand{border:0;background:none;color:inherit;display:flex;align-items:center;gap:11px;padding:0;cursor:pointer}.brand-mark{width:42px;height:42px;position:relative;display:grid;place-items:center}.brand-mark:before,.brand-mark:after{content:"";position:absolute;width:27px;height:27px;border:1px solid rgba(255,255,255,.26);transform:rotate(45deg);border-radius:6px}.brand-mark:after{width:19px;height:19px;border-color:var(--pink)}.brand-mark b{z-index:1;font-size:15px}.brand>span:last-child{display:flex;line-height:1;gap:4px;font-size:17px}.brand strong{font-weight:800}.brand em{font-style:normal;color:var(--pink);font-weight:700}.status-pill{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.03);display:flex;gap:6px;align-items:center}.status-pill span{width:6px;height:6px;border-radius:50%;background:#f8c65c}.status-pill.online span{background:var(--good);box-shadow:0 0 10px var(--good)}main{width:min(1040px,100%);margin:auto;padding:20px 20px 110px}.view{display:none}.view.active{display:block;animation:fade .28s ease}@keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.hero{padding:62px 0 46px;max-width:720px}.eyebrow,.section-head small,.panel-title small,.support-card small{letter-spacing:.19em;font-size:10px;color:var(--pink);font-weight:800}.hero h1{font-size:clamp(52px,9vw,92px);letter-spacing:-.06em;line-height:.91;margin:15px 0 24px;font-weight:900}.hero h1 span{color:transparent;background:linear-gradient(100deg,var(--pink),#ff7c76,var(--violet));background-clip:text;-webkit-background-clip:text}.hero p{max-width:640px;font-size:18px;color:#b8b1be}.hero-actions{display:flex;gap:12px;margin-top:30px}.btn{border:0;border-radius:14px;padding:14px 18px;font-weight:800;color:var(--text);cursor:pointer;transition:.18s transform,.18s opacity,.18s border}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn.primary{background:linear-gradient(110deg,#e92c73,#c83868 55%,#7e4be4);box-shadow:0 12px 36px rgba(233,44,115,.18)}.btn.ghost{background:#121017;border:1px solid var(--line)}.btn.full{width:100%;margin-top:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-grid article,.support-card,.panel{border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border-radius:20px;box-shadow:var(--shadow)}.feature-grid article{padding:22px}.feature-grid article>span{font:800 11px ui-monospace,monospace;color:var(--pink)}.feature-grid h3{margin:22px 0 8px}.feature-grid p,.support-card p{color:var(--muted);margin:0}.support-card{margin-top:14px;padding:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.support-card h2{margin:5px 0 2px}.chips{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.chips span,.badge{border:1px solid var(--line);border-radius:999px;padding:6px 9px;font-size:11px;color:#bfb8c5;background:#0f0d13}.badge.magenta{color:#ffc3da;border-color:rgba(255,63,134,.25);background:rgba(255,63,134,.08)}.section-head{display:flex;align-items:center;gap:14px;margin:20px 0 24px}.section-head h2{margin:2px 0 0;font-size:30px;letter-spacing:-.035em}.back{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#121017;color:white;font-size:20px;cursor:pointer}.steps{display:flex;gap:7px;margin-bottom:14px}.step{flex:1;border:1px solid var(--line);background:#100e14;color:var(--muted);border-radius:14px;padding:10px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.step b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#23202a;color:#afa8b6;font-size:11px}.step.active{color:white;border-color:rgba(255,63,134,.28);background:rgba(255,63,134,.07)}.step.active b{background:var(--pink);color:white}.panel{padding:22px}.step-panel{display:none}.step-panel.active{display:block}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-title h3{font-size:22px;margin:2px 0}.muted{color:var(--muted)}code{font-family:ui-monospace,SFMono-Regular,monospace;color:#ddd6e4}.dropzone.two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.dropzone label,.single-upload{min-height:130px;border:1px dashed rgba(255,255,255,.15);border-radius:16px;background:rgba(255,255,255,.02);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;text-align:center;padding:18px}.dropzone input,.single-upload input{display:none}.file-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:rgba(255,63,134,.12);color:var(--pink);font-weight:900;margin-bottom:8px}.file-icon.key{background:rgba(159,108,255,.12);color:#b897ff}.dropzone small{color:var(--muted);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.separator{display:flex;align-items:center;gap:10px;color:#77717e;margin:20px 0}.separator:before,.separator:after{content:"";height:1px;background:var(--line);flex:1}.single-upload{min-height:auto;flex-direction:row;justify-content:space-between;text-align:left;padding:14px 16px}.single-upload b{color:var(--pink)}.jobbox,.resultbox{margin-top:14px;border:1px solid var(--line);border-radius:14px;background:#0d0b10;padding:14px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.jobbox.good,.resultbox.good{border-color:rgba(86,214,155,.25)}.jobbox.bad,.resultbox.bad{border-color:rgba(240,75,95,.35);color:#ff9eaa}.empty-state{text-align:center;padding:48px 12px;color:var(--muted)}.empty-state>div{font-size:38px;color:#6c6470}.empty-state h4{color:white;margin:10px 0 4px}.save-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 14px}.save-meta>div{border:1px solid var(--line);background:#0d0b10;border-radius:12px;padding:12px;min-width:0}.save-meta small{display:block;color:#746e79;font-size:9px;letter-spacing:.12em}.save-meta b{display:block;margin-top:3px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0e0c12}.editor-row{display:flex;align-items:center;justify-content:space-between;padding:17px;border-bottom:1px solid var(--line);gap:20px}.editor-row label{font-weight:800}.editor-row small,.preserve small{display:block;color:var(--muted)}.editor-row input,.profile-form input,.profile-picker select{background:#17141d;border:1px solid var(--line);border-radius:10px;padding:11px 12px;color:white;outline:none;font:700 14px ui-monospace,monospace}.editor-row input{width:155px;text-align:right}.editor-row input:focus,.profile-form input:focus,.profile-picker select:focus{border-color:rgba(255,63,134,.4)}.preserve{display:flex;gap:12px;padding:15px 17px;background:rgba(86,214,155,.04)}.preserve>span{color:var(--good);font-weight:900}.profile-picker{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.profile-picker label{grid-column:1/-1;color:var(--muted);font-size:12px}.profile-picker select{width:100%}.mini{border:1px solid var(--line);background:#17141d;color:#ddd7e1;border-radius:10px;padding:11px;cursor:pointer}.account-preview{margin-top:14px;border:1px solid var(--line);border-radius:14px;padding:16px;background:#0d0b10}.account-preview small{color:var(--pink);letter-spacing:.12em}.account-preview strong{display:block;font:800 18px ui-monospace,monospace;margin:5px 0}.account-preview p{margin:0;color:var(--muted);font-size:12px}.profile-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-top:20px}.profile-form label span{display:block;color:var(--muted);font-size:11px;margin:0 0 5px 3px}.profile-form input{width:100%}.profile-list{display:grid;gap:8px;margin-top:18px}.profile-item{border:1px solid var(--line);border-radius:14px;padding:14px 15px;background:#0d0b10;display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-item strong{display:block}.profile-item small{font-family:ui-monospace,monospace;color:var(--muted)}.profile-item button{border:0;background:transparent;color:#ff7d90;cursor:pointer}.bottomnav{display:none}.hidden{display:none!important}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,15px);background:#211d27;border:1px solid var(--line);box-shadow:var(--shadow);padding:11px 15px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s;z-index:99;max-width:calc(100% - 30px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){.topbar{height:68px;padding:11px 16px}.status-pill{font-size:0;padding:8px}.status-pill span{width:7px;height:7px}main{padding:6px 16px 96px}.hero{padding:40px 0 32px}.hero h1{font-size:58px}.hero p{font-size:15px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.feature-grid{grid-template-columns:1fr}.feature-grid article{display:grid;grid-template-columns:36px 1fr;column-gap:10px;padding:16px}.feature-grid article>span{grid-row:1/3}.feature-grid h3{margin:0}.support-card{align-items:flex-start;flex-direction:column}.chips{justify-content:flex-start}.section-head{margin-top:8px}.section-head h2{font-size:25px}.step span{display:none}.panel{padding:17px;border-radius:18px}.panel-title h3{font-size:19px}.dropzone.two{grid-template-columns:1fr 1fr}.dropzone label{min-height:118px;padding:12px}.save-meta{grid-template-columns:1fr 1fr}.save-meta>div:last-child{grid-column:1/-1}.editor-row{padding:15px;gap:10px}.editor-row input{width:120px}.profile-form{grid-template-columns:1fr}.profile-picker{grid-template-columns:1fr auto}.bottomnav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(3,1fr);z-index:30;background:rgba(10,8,12,.92);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.bottomnav button{border:0;background:none;color:#7f7985;font-size:10px;display:grid;place-items:center;gap:1px;padding:4px}.bottomnav button span{font-size:18px}.bottomnav button.active{color:white}.bottomnav button.active span{color:var(--pink)}}
@media(max-width:420px){.hero h1{font-size:50px}.hero-actions{grid-template-columns:1fr}.dropzone.two{grid-template-columns:1fr}.dropzone label{min-height:100px;flex-direction:row;text-align:left;justify-content:flex-start;gap:10px}.file-icon{margin:0;flex:0 0 auto}.dropzone label b,.dropzone label small{display:block}.panel-title{align-items:flex-start}.badge{white-space:nowrap}.editor-row input{width:108px}}
.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.support-grid .support-card{margin-top:0}.privacy-strip{margin-top:14px;border:1px solid rgba(86,214,155,.16);background:rgba(86,214,155,.035);border-radius:18px;padding:17px 18px;display:flex;gap:12px;align-items:flex-start}.privacy-strip>span{color:var(--good);font-size:22px}.privacy-strip b,.privacy-strip small{display:block}.privacy-strip small{color:var(--muted);margin-top:2px}.settings-panel{margin-top:14px}.token-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.token-row input{background:#17141d;border:1px solid var(--line);border-radius:10px;padding:12px;color:white;outline:none;font:700 13px ui-monospace,monospace}.token-row input:focus{border-color:rgba(255,63,134,.4)}.hint{display:block;color:#716a78;margin-top:9px}.detected-account{margin-top:16px;border:1px solid rgba(159,108,255,.22);background:rgba(159,108,255,.055);padding:14px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.detected-account strong{display:block}.detected-account small{color:var(--muted);font-family:ui-monospace,monospace}.editor-section{border:1px solid var(--line);border-radius:16px;background:#0e0c12;overflow:hidden;margin-top:14px}.editor-section-head{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.editor-section-head h4{margin:0}.editor-section-head small{color:var(--muted)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-bottom:1px solid var(--line)}.toggle-row:last-child{border-bottom:0}.toggle-row>div>b,.toggle-row>div>small{display:block}.toggle-row>div>small{color:var(--muted)}.toggle-row input[type=checkbox]{appearance:none;width:42px;height:24px;border-radius:99px;background:#29242f;position:relative;cursor:pointer;transition:.2s;border:1px solid var(--line);flex:0 0 auto}.toggle-row input[type=checkbox]:after{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:#918996;transition:.2s}.toggle-row input[type=checkbox]:checked{background:rgba(255,63,134,.22);border-color:rgba(255,63,134,.4)}.toggle-row input[type=checkbox]:checked:after{left:20px;background:var(--pink)}.inline-number{background:#17141d;border:1px solid var(--line);border-radius:10px;padding:10px 11px;color:white;outline:none;font:700 13px ui-monospace,monospace;width:150px;text-align:right}.warn-box{margin:12px 0 0;border:1px solid rgba(248,198,92,.22);background:rgba(248,198,92,.045);color:#d8caa7;border-radius:12px;padding:12px;font-size:12px}.resource-preview{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px}.resource-preview span{border:1px solid var(--line);border-radius:999px;padding:5px 8px;font-size:10px;color:#b8b0bd}.result-details{display:grid;gap:4px;margin:8px 0}.result-details span{display:flex;justify-content:space-between;gap:14px}.result-details b{color:white}.progress-line{height:3px;background:#251f2a;border-radius:999px;overflow:hidden;margin-top:10px}.progress-line i{display:block;height:100%;width:35%;background:linear-gradient(90deg,var(--pink),var(--violet));animation:progress 1.2s infinite ease-in-out}@keyframes progress{0%{transform:translateX(-120%)}100%{transform:translateX(320%)}}
@media(max-width:700px){.support-grid{grid-template-columns:1fr}.support-grid .support-card{min-height:0}.detected-account{align-items:flex-start;flex-direction:column}.token-row{grid-template-columns:1fr}.inline-number{width:120px}.toggle-row{align-items:flex-start}}

.id-finder{margin-top:18px;border:1px solid rgba(255,63,134,.18);background:linear-gradient(145deg,rgba(255,63,134,.055),rgba(159,108,255,.025));border-radius:16px;padding:16px}.id-finder .panel-title{margin-bottom:8px}.psn-lookup-row{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:14px}.psn-lookup-row input{background:#17141d;border:1px solid var(--line);border-radius:12px;padding:13px;color:white;outline:none;font:700 14px ui-monospace,monospace;min-width:0}.psn-lookup-row input:focus{border-color:rgba(255,63,134,.45)}.lookup-result{margin-top:11px;border:1px solid var(--line);border-radius:13px;padding:12px 13px;background:#0d0b10;display:flex;align-items:center;justify-content:space-between;gap:12px}.lookup-result.good{border-color:rgba(86,214,155,.28);background:rgba(86,214,155,.035)}.lookup-result.bad{border-color:rgba(240,75,95,.32);color:#ff9eaa}.lookup-result small,.lookup-result strong,.lookup-result span{display:block}.lookup-result small{color:var(--good);font-size:9px;letter-spacing:.12em}.lookup-result strong{font:800 17px ui-monospace,monospace;margin:2px 0}.lookup-result span{color:var(--muted);font-size:11px}.account-file-picker{display:flex;align-items:center;gap:12px;border:1px dashed rgba(255,255,255,.14);border-radius:13px;padding:13px;cursor:pointer;background:rgba(255,255,255,.018)}.account-file-picker:hover{border-color:rgba(159,108,255,.3)}.account-file-picker input{display:none}.account-file-picker>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(159,108,255,.1);color:#b897ff;font-size:18px}.account-file-picker b,.account-file-picker small{display:block}.account-file-picker small{color:var(--muted)}.manual-profile-title{margin-top:22px;display:flex;gap:9px;align-items:center}.manual-profile-title small{color:var(--pink);font-size:9px;letter-spacing:.16em;font-weight:800}.manual-profile-title b{font-size:13px}
@media(max-width:700px){.psn-lookup-row{grid-template-columns:1fr}.lookup-result{align-items:flex-start;flex-direction:column}.id-finder{padding:14px}}

/* v1.2 — PlayStation profile import */
.profile-importer{position:relative;overflow:hidden}.profile-importer:after{content:"";position:absolute;right:-80px;top:-80px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(159,108,255,.12),transparent 68%);pointer-events:none}.profile-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.account-file-picker.featured{border-style:solid;border-color:rgba(255,63,134,.28);background:linear-gradient(135deg,rgba(255,63,134,.07),rgba(159,108,255,.04))}.account-file-picker.featured>span{background:rgba(255,63,134,.12);color:#ff72a7}.profile-import-hint{display:block;margin-top:10px;color:#827a87}.profile-import-result{align-items:center}.import-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.profile-meta{display:block;color:#7e7784;font-size:10px;margin-top:4px;letter-spacing:.04em}.profile-item>div{min-width:0}.profile-item small,.profile-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.profile-form{padding-top:2px}
@media(max-width:700px){.profile-import-grid{grid-template-columns:1fr}.profile-import-result{align-items:flex-start}.import-actions{justify-content:flex-start;width:100%}.account-file-picker{padding:14px}}

/* v2.0 — progress, detected game and learned editor */
.task-progress{width:100%}.task-progress-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.task-progress-top b,.task-progress-top small{display:block}.task-progress-top small{color:var(--muted);margin-top:3px}.task-progress-top>strong{font:800 18px ui-monospace,monospace;color:#ffc2da}.task-progress-bar{height:9px;background:#241f29;border:1px solid rgba(255,255,255,.06);border-radius:999px;overflow:hidden;margin:13px 0 12px}.task-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pink),#ff786d,var(--violet));box-shadow:0 0 20px rgba(255,63,134,.25);transition:width .35s ease}.task-progress-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.task-progress-steps span{color:#665f6d;font-size:9px;display:flex;align-items:center;gap:5px;min-width:0}.task-progress-steps span em{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-progress-steps span.active{color:#ffd3e4}.task-progress-steps span.done{color:var(--good)}.progress-card{display:block;padding:14px 15px}.progress-card.good{border-color:rgba(86,214,155,.25)}
.game-detected-card{display:flex;gap:15px;align-items:center;border:1px solid rgba(255,63,134,.18);background:linear-gradient(135deg,rgba(255,63,134,.065),rgba(159,108,255,.035));padding:17px;border-radius:17px;margin-bottom:12px}.game-symbol{width:50px;height:50px;flex:0 0 50px;border-radius:15px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,rgba(255,63,134,.18),rgba(159,108,255,.2));border:1px solid rgba(255,255,255,.08);color:#fff}.game-detected-copy{min-width:0}.game-detected-copy small{font-size:9px;letter-spacing:.16em;font-weight:900;color:var(--pink)}.game-detected-copy h3{margin:3px 0 2px;font-size:23px;letter-spacing:-.025em}.game-detected-copy p{margin:0;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-meta.compact{grid-template-columns:1fr 1fr}.save-meta.compact>div{min-height:0}.smart-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border:1px solid rgba(159,108,255,.18);background:rgba(159,108,255,.035);border-radius:16px;padding:15px 16px;margin:12px 0}.smart-editor-head small{font-size:9px;color:#c7a8ff;letter-spacing:.15em;font-weight:900}.smart-editor-head h4{margin:3px 0 2px;font-size:18px}.smart-editor-head p{margin:0;color:var(--muted);font-size:12px;max-width:620px}.smart-group .editor-row:last-child{border-bottom:0}.profile-import-result strong{font-family:inherit}.settings-panel{display:none!important}
@media(max-width:700px){.task-progress-steps span em{display:none}.task-progress-steps span{justify-content:center;font-size:11px}.game-detected-card{align-items:flex-start}.game-detected-copy h3{font-size:20px}.save-meta.compact{grid-template-columns:1fr}.smart-editor-head{flex-direction:column}.smart-editor-head .badge{align-self:flex-start}}
