:root{--edge-border:#2a2a2a;--edge-panel:#171717;--edge-muted:#a1a1aa;--edge-green:#00ff66;--edge-danger:#ff5c5c}*{box-sizing:border-box}body{min-height:100vh}.edge-loading{padding:80px 20px;text-align:center;color:#bbb}.edge-page{max-width:1280px;margin:0 auto;padding:32px 24px}.edge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.edge-card{background:#171717;border:1px solid #292929;border-radius:14px;overflow:hidden;transition:.2s}.edge-card:hover{transform:translateY(-2px);border-color:#3f3f46}.edge-card img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;background:#101010}.edge-card-body{padding:14px}.edge-card h3{margin:0 0 8px;color:#fff;font-size:16px}.edge-muted{color:var(--edge-muted)}.edge-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.edge-between{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.edge-panel{background:var(--edge-panel);border:1px solid var(--edge-border);border-radius:14px;padding:20px}.edge-form{max-width:620px;margin:0 auto}.edge-form .form-group{margin-bottom:16px}.edge-form label,.admin-form label{display:block;color:#e5e7eb;margin-bottom:7px;font-weight:600}.edge-form input,.edge-form select,.edge-form textarea,.admin-form input,.admin-form select,.admin-form textarea,.edge-input{width:100%;padding:12px 13px;border-radius:9px;border:1px solid #333;background:#0f0f0f;color:#fff;outline:none}.edge-form textarea,.admin-form textarea{min-height:110px;resize:vertical}.edge-form input:focus,.edge-form textarea:focus,.admin-form input:focus,.admin-form textarea:focus,.edge-input:focus{border-color:#00d95a;box-shadow:0 0 0 2px rgba(0,255,102,.1)}.edge-error{padding:12px 14px;border-radius:9px;background:rgba(255,92,92,.12);border:1px solid rgba(255,92,92,.35);color:#ffb4b4;margin-bottom:16px}.edge-success{padding:12px 14px;border-radius:9px;background:rgba(0,255,102,.10);border:1px solid rgba(0,255,102,.3);color:#adffd0;margin-bottom:16px}.edge-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:9px;padding:11px 16px;font-weight:700;cursor:pointer;text-decoration:none;background:#00ff66;color:#06130a}.edge-btn:hover{filter:brightness(.9)}.edge-btn.secondary{background:#292929;color:#fff;border:1px solid #3a3a3a}.edge-btn.danger{background:#3a1717;color:#ffb0b0;border:1px solid #6b2b2b}.edge-btn.small{padding:7px 10px;font-size:12px}.edge-btn:disabled{opacity:.55;cursor:not-allowed}.edge-title{color:#fff;margin:0 0 8px}.edge-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 20px}.edge-section-title h2{margin:0;color:#fff}.edge-pagination{display:flex;gap:8px;justify-content:center;margin:30px 0}.edge-pagination a,.edge-pagination button{padding:8px 12px;border-radius:8px;background:#1d1d1d;border:1px solid #333;color:#fff;text-decoration:none}.edge-pagination .active{background:#00ff66;color:#071208}.edge-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto;gap:10px;margin-bottom:20px}.game-hero-edge{position:relative;min-height:430px;border-radius:18px;overflow:hidden;background:#151515;margin-bottom:28px}.game-hero-edge .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}.game-hero-edge .shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.45),rgba(0,0,0,.8))}.game-hero-content{position:relative;z-index:2;display:grid;grid-template-columns:230px 1fr;gap:28px;align-items:end;padding:42px;min-height:430px}.game-cover-edge{width:230px;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.45)}.game-hero-copy h1{font-size:40px;margin:0 0 10px;color:#fff}.game-meta-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chip{padding:6px 10px;border:1px solid #3b3b3b;border-radius:999px;background:rgba(10,10,10,.75);color:#ddd;font-size:13px}.edge-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.edge-gallery img{width:100%;height:190px;object-fit:cover;border-radius:10px}.downloads-list{display:grid;gap:10px}.download-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border:1px solid #333;border-radius:10px;background:#111}.auth-wrap{padding:50px 20px}.setup-card{max-width:620px;margin:60px auto}.toast-root{position:fixed;right:18px;bottom:18px;z-index:99999;display:grid;gap:8px}.toast{background:#181818;border:1px solid #333;color:#fff;padding:12px 15px;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.35);max-width:360px}.toast.success{border-color:#176e3c}.toast.error{border-color:#7c3030}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:10000;display:grid;place-items:center;padding:20px}.edge-modal{width:min(920px,100%);max-height:92vh;overflow:auto;background:#151515;border:1px solid #333;border-radius:15px;padding:20px}.edge-modal.wide{width:min(1100px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.modal-head h2{margin:0;color:#fff}.modal-close{border:0;background:#2b2b2b;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer}.admin-shell{display:grid;grid-template-columns:230px 1fr;min-height:calc(100vh - 80px)}.admin-side-edge{background:#111;border-right:1px solid #292929;padding:18px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto}.admin-side-edge h2{color:#fff}.admin-side-edge button{display:block;width:100%;text-align:left;padding:11px 12px;margin:5px 0;background:transparent;color:#c9c9c9;border:1px solid transparent;border-radius:9px;cursor:pointer}.admin-side-edge button.active,.admin-side-edge button:hover{background:#1e1e1e;border-color:#333;color:#fff}.admin-content-edge{padding:28px;min-width:0}.admin-view{display:none}.admin-view.active{display:block}.stat-grid-edge{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-edge{padding:18px;border-radius:12px;border:1px solid #303030;background:#171717}.stat-edge .n{font-size:28px;font-weight:800;color:#fff}.stat-edge .l{color:#aaa;font-size:13px}.edge-table-wrap{overflow:auto;border:1px solid #2f2f2f;border-radius:12px}.edge-table{width:100%;border-collapse:collapse;min-width:760px;background:#151515}.edge-table th,.edge-table td{padding:12px 13px;border-bottom:1px solid #292929;text-align:left;color:#ddd;font-size:13px;vertical-align:top}.edge-table th{background:#1d1d1d;color:#fff;position:sticky;top:0}.edge-table tr:last-child td{border-bottom:0}.admin-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:14px}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-form-grid .full{grid-column:1/-1}.repeat-list{display:grid;gap:9px}.repeat-row{display:grid;grid-template-columns:160px 1fr auto;gap:8px}.repeat-gallery{display:grid;grid-template-columns:1fr auto;gap:8px}.logo-preview{max-width:180px;max-height:80px;object-fit:contain;background:#0c0c0c;border-radius:8px;border:1px solid #333;padding:8px}.payment-qr{max-width:280px;width:100%;background:#fff;border-radius:12px;padding:12px}.navbar-logo img.logo{object-fit:contain}.navbar-actions .edge-user-links{display:flex;gap:10px;align-items:center}.edge-empty{padding:40px 20px;text-align:center;color:#aaa;border:1px dashed #333;border-radius:12px}.edge-search-mobile{display:none}.edge-code{background:#0b0b0b;border:1px solid #2c2c2c;border-radius:8px;padding:12px;color:#d3d3d3;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.checkbox-row{display:flex;gap:16px;flex-wrap:wrap}.checkbox-row label{display:flex;gap:7px;align-items:center;font-weight:500}.checkbox-row input{width:auto}.navbar-toggle{cursor:pointer}
@media(max-width:1000px){.edge-grid{grid-template-columns:repeat(3,1fr)}.edge-filters{grid-template-columns:1fr 1fr}.stat-grid-edge{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.admin-side-edge{position:relative;top:0;height:auto;border-right:0;border-bottom:1px solid #292929;display:flex;gap:6px;overflow:auto}.admin-side-edge h2{display:none}.admin-side-edge button{white-space:nowrap;width:auto}.admin-content-edge{padding:20px}}
@media(max-width:720px){.edge-page{padding:22px 14px}.edge-grid{grid-template-columns:repeat(2,1fr);gap:12px}.edge-filters{grid-template-columns:1fr}.game-hero-content{grid-template-columns:1fr;padding:22px;align-items:end}.game-cover-edge{width:150px}.game-hero-copy h1{font-size:29px}.game-hero-edge,.game-hero-content{min-height:520px}.edge-gallery{grid-template-columns:1fr 1fr}.edge-gallery img{height:130px}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid .full{grid-column:auto}.repeat-row{grid-template-columns:1fr}.stat-grid-edge{grid-template-columns:1fr 1fr}.navbar-actions .edge-user-links{flex-wrap:wrap}.edge-card-body{padding:10px}.edge-card h3{font-size:14px}.admin-content-edge{padding:14px}.auth-wrap{padding:28px 12px}}
#downloads{scroll-margin-top:96px;transition:border-color .25s,box-shadow .25s}#downloads.download-target{border-color:var(--edge-green);box-shadow:0 0 0 3px rgba(0,255,102,.14),0 16px 40px rgba(0,0,0,.28)}
@media(max-width:420px){.edge-grid{grid-template-columns:1fr 1fr}.stat-grid-edge{grid-template-columns:1fr}.edge-gallery{grid-template-columns:1fr}.game-cover-edge{width:130px}.game-hero-copy h1{font-size:25px}}
.checkout-admin-view{max-width:1450px;margin:0 auto}
.checkout-admin-view .checkout-admin-toolbar{margin-bottom:24px}
.checkout-admin-toolbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.checkout-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #3a4a43;border-radius:999px;color:#b9c8be;font-size:.78rem;font-weight:700;white-space:nowrap}
.checkout-status i,.checkout-credential-state i{width:7px;height:7px;border-radius:50%;background:#899890}
.checkout-status.is-live{border-color:#39765b;background:#153326;color:#a9f2c9}.checkout-status.is-live i,.checkout-credential-state.is-ready i{background:#65edaa;box-shadow:0 0 9px #65edaa88}
.checkout-admin-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px;align-items:start}
.checkout-admin-main,.checkout-admin-rail{display:grid;gap:18px;min-width:0}
.checkout-admin-view .checkout-admin-panel{margin:0;padding:25px;border:1px solid #2d403a;border-radius:16px;background:#141d20}
.checkout-admin-view .checkout-admin-panel h2{margin:6px 0 6px;color:#f5fbf8;font-size:1.18rem;line-height:1.3}
.checkout-admin-view .checkout-admin-label{font-size:.67rem;letter-spacing:.15em;font-weight:800;color:#76e6b3}
.checkout-admin-view .checkout-panel-help{margin:0 0 19px;color:#a2b4ac;font-size:.83rem;line-height:1.55}
.checkout-admin-view .checkout-admin-panel .admin-form-grid{gap:15px}
.checkout-admin-view .admin-form-grid label,.checkout-admin-view .checkout-html-options label{font-size:.8rem}
.checkout-admin-view .admin-form-grid small{display:block;margin-top:6px;font-size:.73rem}
.checkout-admin-view .admin-form input,.checkout-admin-view .admin-form select,.checkout-admin-view .admin-form textarea{min-width:0}
.checkout-admin-view .admin-form input:disabled{opacity:.7;color:#a9bbb1}
.checkout-admin-view .checkout-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.checkout-admin-view .checkout-method-grid .checkout-method-card{display:flex;align-items:flex-start;gap:11px;min-height:78px;margin:0;padding:14px;border:1px solid #354842;border-radius:12px;background:#0d181b;cursor:pointer;transition:border-color .15s,background .15s}
.checkout-admin-view .checkout-method-grid .checkout-method-card:hover{border-color:#6cd9a8;background:#172925}
.checkout-admin-view .checkout-method-card input[type=checkbox],.checkout-admin-view .checkout-inline-choice input[type=checkbox]{flex:none;width:17px;height:17px;margin:2px 0 0;padding:0;accent-color:#69e6ad;box-shadow:none}
.checkout-admin-view .checkout-method-card span{min-width:0}.checkout-admin-view .checkout-method-card strong,.checkout-admin-view .checkout-method-card small{display:block}.checkout-admin-view .checkout-method-card strong{font-size:.9rem}.checkout-admin-view .checkout-method-card small{margin-top:5px;color:#9faea8;font-size:.74rem;line-height:1.3}
.checkout-admin-view .checkout-inline-choice{display:flex;align-items:center;gap:10px;margin:0 0 17px;color:#dcece1;font-size:.82rem;cursor:pointer}
.checkout-admin-view .checkout-code-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px}
.checkout-admin-view .checkout-code-grid textarea{display:block;min-height:250px;height:250px;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;resize:vertical}
.checkout-admin-view .checkout-code-tip{margin:9px 0 0;color:#9eafa7;font-size:.73rem;line-height:1.45}
.checkout-admin-view .checkout-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.checkout-admin-view .checkout-preview-heading label{margin:0;font-size:.8rem}
.checkout-admin-view #checkoutHtmlPreview{display:block;width:100%;min-height:80px;border:1px solid #354842;border-radius:10px;background:#0e181b}
.checkout-admin-view .checkout-html-options{display:grid;grid-template-columns:1fr 170px;gap:14px;margin-top:16px}
.checkout-admin-view .checkout-admin-rail label:not(.checkout-inline-choice):not(.checkout-admin-toggle){display:block;margin:14px 0 6px;font-size:.8rem}
.checkout-credential-state{display:flex;align-items:center;gap:8px;color:#b6c9bb;font-size:.79rem;font-weight:700}.checkout-credential-state.is-ready{color:#a9f2c9}
.checkout-webhook-url{display:block;margin-top:8px;padding:10px;border:1px solid #2b4239;border-radius:8px;color:#bcebd0;background:#0c1717;overflow-wrap:anywhere;font-size:.73rem}
.checkout-admin-view .checkout-advanced{margin-top:19px;border-top:1px solid #30413b;padding-top:14px}.checkout-admin-view .checkout-advanced summary{color:#b8dfcb;cursor:pointer;font-size:.8rem;font-weight:700}.checkout-admin-view .checkout-advanced .checkout-inline-choice{margin:13px 0 0}
.checkout-admin-view .checkout-admin-publish{background:linear-gradient(145deg,#172a25,#12211f)}
.checkout-admin-view .checkout-admin-toggle{display:flex;align-items:center;gap:11px;margin:0;padding:13px;border:1px solid #3e765a;border-radius:11px;background:#183b2a;color:#e5fff0;cursor:pointer;font-size:.82rem;font-weight:700}
.checkout-admin-view .checkout-admin-toggle input{position:absolute;width:1px;height:1px;opacity:0}.checkout-admin-view .checkout-toggle-track{position:relative;flex:none;width:35px;height:20px;border-radius:99px;background:#506159;transition:background .2s}.checkout-admin-view .checkout-toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}.checkout-admin-view .checkout-admin-toggle input:checked+.checkout-toggle-track{background:#5adf9e}.checkout-admin-view .checkout-admin-toggle input:checked+.checkout-toggle-track:after{transform:translateX(15px)}.checkout-admin-view .checkout-admin-toggle input:focus-visible+.checkout-toggle-track{outline:2px solid #a3ffd0;outline-offset:3px}
.checkout-admin-view .checkout-admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;padding:16px 0;border-top:1px solid #2e4038}
@media(max-width:1180px){.checkout-admin-layout{grid-template-columns:1fr}.checkout-admin-rail{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.checkout-admin-rail,.checkout-admin-view .checkout-code-grid{grid-template-columns:1fr}.checkout-admin-view .checkout-method-grid{grid-template-columns:1fr}.checkout-admin-view .checkout-method-grid .checkout-method-card{min-height:60px}.checkout-admin-view .checkout-html-options{grid-template-columns:1fr 125px}.checkout-admin-view .checkout-admin-panel{padding:18px}}
@media(max-width:520px){.checkout-admin-view .checkout-html-options{grid-template-columns:1fr}.checkout-admin-toolbar-actions{width:100%}.checkout-admin-view .checkout-admin-actions .edge-btn{width:100%}}
