@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
:root{--bg:#0b102b;--panel:#121a46;--panel2:#192463;--text:#fff;--muted:rgba(255,255,255,.62);--line:rgba(255,255,255,.12);--blue:#3D7FFF;--green:#4db86a;--gold:#FFD026;--red:#e8455a;--shadow:0 18px 55px rgba(0,0,0,.35)}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(135deg,#081032,#102280);color:var(--text);font-family:Inter,system-ui,Segoe UI,Arial,sans-serif}
body:before{content:"";position:fixed;inset:0;background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:42px 42px;pointer-events:none}
.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at top,#203aa6,#07113d 55%)}
.login-card{width:min(420px,100%);background:rgba(18,26,70,.95);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.login-card h1,.brand{font-family:'Lilita One',Impact,sans-serif;font-size:34px;margin:0 0 6px}.login-card h1 span,.brand span{color:var(--gold)}.login-card p{color:#b8c6ff;margin:0 0 18px}.login-card input,.grid-form input,.license-row input,.license-row select{width:100%;background:#0b1237;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px 13px;font-weight:800;outline:0}.login-card input{margin-bottom:10px}.login-card button,.grid-form button,.license-row button,.danger{border:0;border-radius:12px;background:linear-gradient(180deg,#ffbe45,#F5A623 55%,#c47d0a);color:#06112a;font-family:'Lilita One',Impact,sans-serif;font-size:16px;padding:12px 16px;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.login-card small{display:block;color:#7386d8;margin-top:12px}
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh;position:relative}.side{background:linear-gradient(180deg,#040a2b,#00081f);border-right:1px solid var(--line);padding:26px 16px;position:sticky;top:0;height:100vh}.brand{font-size:28px;margin-bottom:24px}.side a{display:block;text-decoration:none;color:#cfd8ff;background:rgba(255,255,255,.04);border:1px solid transparent;border-radius:14px;margin:10px 0;padding:14px 16px;font-weight:900}.side a:hover{color:#fff;border-color:var(--line);background:rgba(61,127,255,.18)}
.main{padding:26px;max-width:1600px;min-width:0}.top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.top h1{font-family:'Lilita One',Impact,sans-serif;font-size:34px;margin:0}.url{background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:#b8c6ff;font-weight:900}
.alert{padding:12px 14px;border-radius:14px;margin:10px 0;font-weight:900}.alert.ok{background:rgba(79,255,176,.12);border:1px solid rgba(79,255,176,.25);color:#4fffb0}.alert.bad{background:rgba(255,95,95,.12);border:1px solid rgba(255,95,95,.25);color:#ff8d8d}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}.stats div,.card{background:rgba(18,26,70,.86);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.stats div{padding:18px}.stats b{display:block;font-family:'Lilita One',Impact,sans-serif;font-size:36px;color:var(--gold)}.stats span{color:#b8c6ff;font-weight:900;text-transform:uppercase;font-size:12px}
.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.quick-card{display:block;text-decoration:none;color:#fff;background:rgba(18,26,70,.75);border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow)}.quick-card b{display:block;font-size:17px;margin-bottom:7px}.quick-card span{color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}.quick-card:hover{background:rgba(61,127,255,.18)}
.card{padding:18px;margin:18px 0}.card-title{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:14px}.card h2{font-family:'Lilita One',Impact,sans-serif;margin:0;font-size:26px}.card-title span{color:#b8c6ff;font-size:13px;font-weight:900}
.grid-form{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;align-items:center}.grid-form .span2{grid-column:span 2}.license-list{display:grid;gap:10px;margin-top:14px}.license-row{display:grid;grid-template-columns:1.4fr 1fr .8fr 90px 110px 1fr 80px;gap:8px;align-items:center;background:rgba(0,0,0,.14);border-radius:16px;padding:10px}.license-row.is-disabled{opacity:.68;filter:saturate(.7)}.license-row strong{display:block;color:#fff}.license-row small{display:block;color:#4fffb0}.license-row.is-disabled small{color:#ff9ba8}
.table-wrap{overflow:auto;border-radius:18px;border:1px solid var(--line);background:rgba(18,26,70,.7)}table{width:100%;border-collapse:collapse;min-width:980px;table-layout:fixed}.resizable-table th,.resizable-table td{position:relative}th,td{padding:12px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:13px;line-height:1.42;word-break:normal;overflow:hidden;text-overflow:ellipsis}th{position:sticky;top:0;background:#111a4c;color:#cdd7ff;font-size:12px;text-transform:uppercase;letter-spacing:.6px;z-index:1;white-space:nowrap}th .resizer{position:absolute;top:0;right:0;width:9px;height:100%;cursor:col-resize;user-select:none;z-index:2}th .resizer::after{content:'';position:absolute;right:3px;top:18%;bottom:18%;width:1px;background:rgba(255,255,255,.22)}td span,td small{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}.muted{color:var(--muted)}.nowrap{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}.danger{background:linear-gradient(180deg,#ff6b6b,#d81f26 60%,#a50d14);color:#fff;font-size:12px;padding:8px 10px}.empty-cell{text-align:center!important;padding:24px!important;color:#8ea2f2!important}
.view,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#06112a;background:linear-gradient(180deg,#ffbe45,#F5A623);font-weight:900;border:0;border-radius:12px;padding:11px 14px;cursor:pointer}.btn.blue{background:var(--blue);color:#fff}.btn.green{background:var(--green);color:#06112a}.btn.red{background:var(--red);color:#fff}.small-btn{padding:8px 10px;font-size:12px;border-radius:10px}
/* Analytics style copied from brawl_landing_panel/admin/analytics.php */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px;align-items:center}.filters input,.filters select{background:#0b1237;border:1px solid var(--line);color:#fff;border-radius:12px;padding:10px;font:inherit}.analytics-filters{gap:12px}.switch-line{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-weight:900;color:#dbe3ff}.switch{position:relative;display:inline-block;width:48px;height:26px}.switch input{display:none}.switch i{position:absolute;inset:0;background:#657087;border-radius:999px;transition:.18s;box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}.switch i:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.18s}.switch input:checked+i{background:#23c55e}.switch input:checked+i:before{transform:translateX(22px)}.bulkbar{display:flex;align-items:center;gap:12px;margin:0 0 12px}.bulkbar .btn{padding:10px 13px}
.select-col{width:64px;min-width:54px;text-align:center}.tiny-label{display:inline-block;margin-left:5px;color:var(--muted);font-size:11px}.row-number{display:inline-flex;align-items:center;justify-content:center;gap:6px}.row-number span{font-weight:900;color:#cdd7ff}.player-cell{display:flex;align-items:flex-start;gap:10px;min-width:0}.player-cell img{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;border-radius:50%;border:2px solid rgba(255,255,255,.35);flex:0 0 auto;object-fit:cover}.player-cell strong{display:block;font-weight:900;font-size:18px;line-height:1.1}.player-cell span{display:block;color:var(--muted);font-size:12px;line-height:1.35}.stack-cell{display:grid;gap:3px;min-width:0}.inline-flag{display:flex;align-items:center;gap:6px}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900;white-space:nowrap}.ok{background:rgba(77,184,106,.15);color:#8dffa5!important}.bad{background:rgba(232,69,90,.18);color:#ff9ba8!important}.warn{background:rgba(255,208,38,.16);color:#ffef91!important}.lime{background:rgba(190,242,100,.16);color:#d9ff7a!important}.neutral{background:rgba(255,255,255,.10);color:#dbe3ff!important}.flag{vertical-align:middle;display:inline-block;width:20px;height:15px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}.browser-icon{width:18px;height:18px;vertical-align:middle;margin-right:5px}.sec-list{display:flex;flex-wrap:wrap;gap:5px;align-items:flex-start;min-width:140px}.url-box{display:inline-block;max-width:100%;vertical-align:top}.url-short{display:inline-block;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.url-full{display:none;white-space:normal;word-break:break-all;color:#dbe3ff}.url-box.open .url-short{display:none}.url-box.open .url-full{display:inline}.url-toggle,.clip-toggle{background:rgba(61,127,255,.18);border:1px solid rgba(61,127,255,.35);color:#9ec0ff;border-radius:8px;padding:2px 6px;font-size:11px;font-weight:900;cursor:pointer;margin-left:4px}.clip-full{display:none;white-space:normal;word-break:break-all;color:#dbe3ff}.clip-box.open .clip-short{display:none}.clip-box.open .clip-full{display:inline}.source-url-label{margin-top:3px}.analytics-table{min-width:1180px}.analytics-table th:nth-child(1){width:60px}.analytics-table th:nth-child(2){width:240px}.analytics-table th:nth-child(3){width:170px}.analytics-table th:nth-child(4){width:150px}.analytics-table th:nth-child(5){width:135px}.analytics-table th:nth-child(6){width:175px}.analytics-table th:nth-child(7){width:65px}.analytics-table th:nth-child(8){width:135px}.analytics-table th:nth-child(9){width:165px}.analytics-table th:nth-child(10){width:230px}.analytics-table th:nth-child(11){width:190px}
.domain-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.domain-summary-grid div{background:rgba(0,0,0,.14);border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0}.domain-summary-grid b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.domain-summary-grid span{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}.domain-intel-table{min-width:1120px}
@media(max-width:1000px){.shell{grid-template-columns:1fr}.side{height:auto;position:relative}.stats,.quick-grid,.domain-summary-grid{grid-template-columns:1fr 1fr}.grid-form,.license-row{grid-template-columns:1fr}.main{padding:16px}.top{display:block}.url{display:inline-block;margin-top:10px}}
@media(max-width:520px){.stats,.quick-grid,.domain-summary-grid{grid-template-columns:1fr}.card-title{align-items:flex-start;flex-direction:column}.bulkbar{align-items:flex-start;flex-direction:column}}

/* v3 invoices, pagination, isolated pages */
.two-forms{display:grid;grid-template-columns:1fr;gap:14px}.mini-form{background:rgba(0,0,0,.12);border:1px solid var(--line);border-radius:18px;padding:12px}.invoice-create{border-color:rgba(255,208,38,.18)}.subheading{font-family:'Lilita One',Impact,sans-serif;font-size:22px;margin:20px 0 10px}.see-all{margin-top:12px}.copy-line{display:flex;gap:8px;align-items:center;min-width:260px}.copy-line input{min-width:210px;flex:1;background:#0b1237;border:1px solid var(--line);border-radius:10px;color:#9ec0ff;padding:8px 10px;font-weight:800}.small-copy{padding:8px 10px!important;border-radius:10px!important;font-size:12px!important}.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.pager-links{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pager a,.pager b,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:#dbe3ff;text-decoration:none;font-weight:900}.pager b{background:var(--blue);color:#fff;border-color:rgba(255,255,255,.18)}.pager-size{display:flex;gap:8px;align-items:center}.pager-size select{background:#0b1237;border:1px solid var(--line);color:#fff;border-radius:10px;padding:8px 10px;font-weight:900}.pager-size span{height:auto;min-width:0;color:var(--muted);background:transparent;border:0}.player-requests-table{min-width:1120px}.payout-green{background:rgba(16,185,129,.18)!important;color:#7dff9f!important}.completion-details{display:grid;gap:6px;margin-top:8px}.offers-list{margin-top:4px;display:grid;gap:4px}.offer-row{display:flex;justify-content:space-between;gap:10px;background:rgba(255,255,255,.04);border-radius:9px;padding:5px 7px}.offer-row b{color:#7dff9f;white-space:nowrap}.invoice-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at top,#203aa6,#07113d 55%)}.invoice-shell{width:min(780px,100%);position:relative}.invoice-card{background:rgba(18,26,70,.93);border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:var(--shadow)}.invoice-brand{font-family:'Lilita One',Impact,sans-serif;font-size:30px;margin-bottom:18px}.invoice-brand span{color:var(--gold)}.invoice-title h1{font-family:'Lilita One',Impact,sans-serif;margin:0;font-size:32px}.invoice-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.invoice-summary div{background:rgba(0,0,0,.14);border:1px solid var(--line);border-radius:16px;padding:12px}.invoice-summary b{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-summary span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:900;margin-top:5px}.invoice-form{display:grid;gap:12px}.invoice-form label{display:grid;gap:6px;color:#cdd7ff;font-weight:900}.invoice-form input{background:#0b1237;border:1px solid var(--line);border-radius:13px;color:#fff;padding:13px 14px;font-weight:800}.license-copy-box{margin-top:16px!important}.api-ip-alert{margin:0 0 12px;border-radius:18px;border:1px solid rgba(77,184,106,.34);background:linear-gradient(180deg,rgba(77,184,106,.12),rgba(77,184,106,.06));box-shadow:0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden}.api-ip-alert-body{padding:12px 14px 14px}.api-ip-alert-line{font-size:14px;line-height:1.45;font-weight:800;color:#fff}.api-ip-alert-line b{color:#8dffa5}.api-ip-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 9px}.api-ip-input{flex:1;min-width:260px;background:rgba(77,184,106,.14)!important;border:1px solid rgba(77,184,106,.35)!important;color:#7dff9f!important;border-radius:14px!important;padding:13px 14px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:20px;font-weight:900;letter-spacing:.6px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);cursor:text}.copy-ip-btn{border:0;border-radius:14px;padding:13px 18px;background:linear-gradient(180deg,#4db86a,#2e9f54);box-shadow:0 4px 0 rgba(0,0,0,.25);color:#fff;font-weight:900;text-transform:uppercase;cursor:pointer;white-space:nowrap}.copy-ip-btn.copied{background:linear-gradient(180deg,#6cd78a,#45bb69)}.api-ip-mini-guide{margin-top:8px;font-size:13px;line-height:1.5;font-weight:800;color:#dbffe4}.invoice-muted{color:var(--muted);margin-top:12px}@media(max-width:900px){.invoice-summary{grid-template-columns:1fr 1fr}.copy-line{min-width:0}.copy-line input{min-width:0}}@media(max-width:520px){.invoice-summary{grid-template-columns:1fr}.api-ip-row{align-items:stretch}.api-ip-input{min-width:0;width:100%}.copy-ip-btn{width:100%}}

/* v4 layout fixes */
.invoice-row-form,.license-create-form{display:grid;gap:10px;align-items:center;margin-bottom:12px}
.invoice-row-form{grid-template-columns:minmax(150px,1fr) minmax(130px,.8fr) minmax(140px,.8fr) 110px 130px minmax(150px,1fr) 210px}
.license-create-form{grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) minmax(150px,.9fr) 110px minmax(180px,1.2fr) 190px}
.invoice-row-form input,.license-create-form input,.invoice-row-form select,.license-create-form select{width:100%;background:#0b1237;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px 13px;font-weight:800;outline:0;min-width:0}
.invoice-row-form button,.license-create-form button{border:0;border-radius:12px;background:linear-gradient(180deg,#ffbe45,#F5A623 55%,#c47d0a);color:#06112a;font-family:'Lilita One',Impact,sans-serif;font-size:16px;padding:12px 16px;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35);white-space:nowrap}
.license-row{grid-template-columns:1.25fr 1fr .8fr 90px 110px 1fr 80px 86px}
.url-only{display:inline-flex;align-items:center;gap:7px;max-width:100%}.url-only .url-full{display:none;word-break:break-all;color:#dbe3ff}.url-only.open .url-full{display:inline}.url-only.open .url-short{display:none}.url-only .url-toggle{margin-left:0}
.pager{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:14px 0}.pager-links{grid-column:2;justify-self:center}.pager-size{grid-column:3;justify-self:end}.pager-size select option{background:#0b1237;color:#fff}
@media(max-width:1200px){.invoice-row-form,.license-create-form,.license-row{grid-template-columns:1fr 1fr}.invoice-row-form button,.license-create-form button{grid-column:span 2}}
@media(max-width:700px){.invoice-row-form,.license-create-form,.license-row{grid-template-columns:1fr}.invoice-row-form button,.license-create-form button{grid-column:auto}.pager{display:flex!important;justify-content:center}.pager-size{margin-left:0}}

/* V6 URL show/hide fix: closed state shows only domain root; open state shows full landing-page URL. */
.url-box{display:inline-flex!important;align-items:center!important;gap:4px!important;max-width:100%!important;vertical-align:top!important;flex-wrap:wrap!important}
.url-short{display:inline!important;max-width:180px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:bottom!important}
.url-full{display:none!important;white-space:normal!important;word-break:break-all!important;color:#dbe3ff!important}
.url-sep{display:inline!important;color:#8ea0df!important}
.url-box.open .url-short{display:none!important}
.url-box.open .url-full{display:inline!important}
.url-toggle,.clip-toggle{position:relative!important;z-index:5!important;pointer-events:auto!important}
.url-only{display:inline-flex!important;align-items:center!important;gap:4px!important}
.url-only .url-full{display:none!important}
.url-only.open .url-full{display:inline!important}
.url-only.open .url-short{display:none!important}

/* V7 remote client modules */
.module-create-form,.module-edit-form{display:grid;gap:10px;background:rgba(0,0,0,.12);border:1px solid var(--line);border-radius:18px;padding:12px;margin:12px 0}
.module-create-form{grid-template-columns:minmax(180px,1fr) minmax(220px,1.1fr) minmax(180px,1fr) 90px 130px 190px}
.module-create-form textarea,.module-edit-form textarea{grid-column:1/-1;width:100%;background:#0b1237;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px 13px;font:700 13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;outline:0;resize:vertical;min-height:110px}
.module-create-form input,.module-create-form select,.module-edit-form input,.module-edit-form select{width:100%;background:#0b1237;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px 13px;font-weight:800;outline:0;min-width:0}
.module-create-form button,.module-edit-form button{border:0;border-radius:12px;background:linear-gradient(180deg,#ffbe45,#F5A623 55%,#c47d0a);color:#06112a;font-family:'Lilita One',Impact,sans-serif;font-size:16px;padding:12px 16px;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.module-check{display:flex;align-items:center;gap:8px;color:#dbe3ff;font-weight:900;background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:12px;padding:10px 12px;white-space:nowrap}
.module-check input{width:auto!important;accent-color:var(--green)}
.module-list{display:grid;gap:12px;margin-top:12px}.module-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.module-row-head strong{font-size:16px}.module-edit-grid{display:grid;grid-template-columns:minmax(160px,1fr) minmax(220px,1.2fr) minmax(160px,1fr) 90px 130px;gap:10px}.module-actions{display:flex;gap:10px;justify-content:flex-end}
@media(max-width:1200px){.module-create-form,.module-edit-grid{grid-template-columns:1fr 1fr}.module-create-form button{grid-column:span 2}}
@media(max-width:700px){.module-create-form,.module-edit-grid{grid-template-columns:1fr}.module-create-form button{grid-column:auto}.module-actions{justify-content:stretch;flex-direction:column}}


/* V9 Offer Feed layout polish */
.v9-offer-form{display:grid;gap:10px;background:rgba(0,0,0,.12);border:1px solid var(--line);border-radius:18px;padding:12px;margin:12px 0;align-items:center}
.v9-offer-form input,.v9-offer-form select{width:100%;background:#0b1237;border:1px solid var(--line);border-radius:12px;color:#fff;padding:12px 13px;font-weight:800;outline:0;min-width:0;height:46px}
.v9-offer-form .field{min-width:0}.v9-offer-form label{font-size:12px;color:#b8c6ff;font-weight:900}.v9-offer-form .copy-line{min-width:0;width:100%}.v9-offer-form .copy-line input{height:42px;min-width:0}.v9-offer-form .copy-line .copy-ip-btn{height:42px;padding:8px 12px!important}
.v9-offer-form button.offer-save-btn{border:0;border-radius:12px;background:linear-gradient(180deg,#ffbe45,#F5A623 55%,#c47d0a);color:#06112a;font-family:'Lilita One',Impact,sans-serif;font-size:16px;padding:12px 16px;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35);height:46px;align-self:center;white-space:normal;line-height:1.1;max-width:100%}
.offer-defaults-form{grid-template-columns:minmax(160px,1fr) minmax(190px,1.1fr) minmax(230px,1.2fr) 110px 130px minmax(150px,.8fr)}
.offer-defaults-form .offer-postback-field{grid-column:1/4}.offer-defaults-form .offer-save-btn{grid-column:4/7;justify-self:start;min-width:270px}
.offer-override-create{grid-template-columns:minmax(230px,1.2fr) 140px 190px minmax(220px,1fr) 190px}
.offer-override-create .offer-save-btn{min-width:190px}.offer-custom-details{grid-column:1/-1;background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:14px;padding:10px 12px;color:#dbe3ff}.offer-custom-details summary{cursor:pointer;font-weight:900;color:#fff}.offer-custom-details .module-edit-grid{margin-top:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.offer-custom-details .module-edit-grid input,.offer-custom-details .module-edit-grid select{height:44px}
@media(max-width:1280px){.offer-defaults-form,.offer-override-create{grid-template-columns:1fr 1fr}.offer-defaults-form .offer-postback-field,.offer-defaults-form .offer-save-btn,.offer-custom-details{grid-column:1/-1}.offer-defaults-form .offer-save-btn{justify-self:start;min-width:240px}.offer-custom-details .module-edit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.offer-defaults-form,.offer-override-create,.offer-custom-details .module-edit-grid{grid-template-columns:1fr}.offer-defaults-form .offer-save-btn,.offer-override-create .offer-save-btn{width:100%;min-width:0}.module-check{white-space:normal}}


/* V10 mixed owner/customer offer controls */
.offer-mix-help{margin:6px 0 10px;line-height:1.5}.offer-mix-help b{color:#FFD026}.offer-override-create{grid-template-columns:minmax(230px,1.15fr) 135px 180px 210px 170px minmax(190px,.9fr) 190px!important}.offer-override-create input[name="offer_owner_slots"]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.module-edit-form .module-edit-grid{grid-template-columns:minmax(170px,1.1fr) 130px 180px 210px 160px minmax(180px,1fr)!important}.module-edit-form input[name="offer_owner_slots"]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.badge.lime{background:rgba(190,242,100,.16);color:#d9ff7a!important}.badge.neutral{background:rgba(255,255,255,.10);color:#dbe3ff!important}@media(max-width:1280px){.offer-override-create,.module-edit-form .module-edit-grid{grid-template-columns:1fr 1fr!important}.offer-override-create .offer-save-btn{grid-column:1/-1;justify-self:start}.offer-custom-details{grid-column:1/-1!important}}@media(max-width:760px){.offer-override-create,.module-edit-form .module-edit-grid{grid-template-columns:1fr!important}.offer-override-create .offer-save-btn{width:100%}}


/* V11 owner offer filter helper */
.owner-offer-switch{border-color:rgba(255,208,38,.22)!important;background:rgba(255,208,38,.08)!important}.owner-offer-switch .switch input:checked+i{background:#f59e0b!important}.offer-custom-help{margin:8px 0 10px!important;line-height:1.45!important;font-size:12px!important}

/* V12 storage monitor */
.storage-note{font-size:14px;line-height:1.5;color:#b8c6ff;margin:4px 0 14px}.storage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.storage-stat{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);border-radius:18px;padding:14px}.storage-stat b{display:block;font-size:24px;color:#FFD026}.storage-stat span{display:block;font-size:12px;color:#b8c6ff;font-weight:900;text-transform:uppercase}.cleanup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.cleanup-actions button{border:0;border-radius:12px;padding:12px 16px;background:linear-gradient(#ffbe45,#f5a623);color:#06112a;font-weight:900;cursor:pointer}.cleanup-actions button.danger{background:linear-gradient(#ff6b7a,#e8455a);color:#fff}@media(max-width:900px){.storage-grid{grid-template-columns:repeat(2,1fr)}}


/* V13 offer feed form no-horizontal-overflow polish */
.offer-override-create{grid-template-columns:minmax(220px,1.15fr) 130px 160px 200px 150px minmax(120px,.75fr) 200px!important;overflow:hidden!important}
.offer-override-create > *{min-width:0!important}
.offer-override-create select,.offer-override-create input{min-width:0!important;max-width:100%!important}
.offer-override-create .offer-save-btn{white-space:normal!important;line-height:1.08!important;max-width:220px!important}
@media(max-width:1450px){.offer-override-create{grid-template-columns:1fr 1fr 1fr!important}.offer-override-create .offer-save-btn{grid-column:auto!important;max-width:100%!important}.offer-custom-details{grid-column:1/-1!important}}
@media(max-width:900px){.offer-override-create{grid-template-columns:1fr!important}.offer-override-create .offer-save-btn{width:100%!important}}

/* V14 UI cleanup */
h1,h2,h3,.card-title h2,.subheading{color:#fff!important;text-shadow:0 3px 0 rgba(0,0,0,.82),0 0 10px rgba(0,0,0,.6)!important;-webkit-text-stroke:.35px rgba(0,0,0,.55)}
.created-license-copy{display:flex;gap:10px;align-items:center;margin:10px 0 16px;padding:10px;border:1px solid rgba(125,255,159,.24);background:rgba(77,184,106,.08);border-radius:16px;max-width:560px}
.created-license-copy input{flex:1;background:#0b1237;border:1px solid rgba(255,255,255,.18);border-radius:12px;color:#7dff9f;padding:12px 14px;font-weight:900;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.offer-override-v14{display:grid!important;grid-template-columns:minmax(230px,1.3fr) 150px 190px 1fr!important;gap:10px!important;overflow:visible!important;align-items:end!important}
.offer-override-v14 .offer-field{display:grid!important;gap:6px!important;min-width:0!important}.offer-override-v14 .offer-field label{font-size:11px!important;color:#b8c6ff!important;font-weight:900!important;text-transform:uppercase!important;text-align:center!important;text-shadow:0 2px 0 rgba(0,0,0,.7)!important}.offer-override-v14 .offer-field select,.offer-override-v14 .offer-field input{height:46px!important;width:100%!important;background:#0b1237!important;border:1px solid var(--line)!important;color:#fff!important;border-radius:12px!important;padding:12px 13px!important;font-weight:900!important;min-width:0!important}.offer-override-v14 .offer-license-field{grid-column:1/2!important}.offer-override-v14 .offer-top-check{align-self:end!important;height:46px!important}.offer-override-v14 .offer-mix-check{grid-column:1/2!important;grid-row:2!important;height:46px!important}.offer-override-v14 .offer-field:nth-of-type(2){grid-column:2/3!important;grid-row:2!important}.offer-override-v14 .offer-field:nth-of-type(3){grid-column:3/4!important;grid-row:2!important}.offer-override-v14 .offer-field:nth-of-type(4){grid-column:4/5!important;grid-row:2!important}.offer-override-v14 .offer-note-field{grid-column:1/4!important;grid-row:3!important;height:46px!important}.offer-override-v14 .offer-save-btn{grid-column:4/5!important;grid-row:3!important;height:46px!important;max-width:100%!important;white-space:nowrap!important}.offer-override-v14 .offer-custom-details{grid-column:1/-1!important;grid-row:4!important}.offer-override-v14 .module-check{justify-content:center!important;text-align:center!important}
@media(max-width:1180px){.offer-override-v14{grid-template-columns:1fr 1fr!important}.offer-override-v14 .offer-license-field,.offer-override-v14 .offer-mix-check,.offer-override-v14 .offer-field:nth-of-type(2),.offer-override-v14 .offer-field:nth-of-type(3),.offer-override-v14 .offer-field:nth-of-type(4),.offer-override-v14 .offer-note-field,.offer-override-v14 .offer-save-btn{grid-column:auto!important;grid-row:auto!important}.offer-override-v14 .offer-custom-details{grid-column:1/-1!important;grid-row:auto!important}}
@media(max-width:760px){.offer-override-v14{grid-template-columns:1fr!important}.created-license-copy{flex-direction:column;align-items:stretch}}

/* V15 final layout fixes */
h1,h2,h3,.card-title h2,.subheading{color:#fff!important;text-shadow:0 3px 0 rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.78)!important;-webkit-text-stroke:.45px rgba(0,0,0,.65)!important}
.created-license-copy{max-width:720px!important}.created-license-copy::before{content:'Created license';color:#7dff9f;font-weight:900;text-transform:uppercase;font-size:12px;text-shadow:0 2px 0 rgba(0,0,0,.75);margin-right:4px}.created-license-copy input:focus{outline:2px solid rgba(125,255,159,.45)!important}
.offer-override-v14{display:grid!important;grid-template-columns:minmax(280px,1fr) 150px 190px!important;gap:12px!important;align-items:end!important;overflow:visible!important;padding:14px!important}
.offer-override-v14 .offer-license-field{grid-column:1/2!important;grid-row:1!important}.offer-override-v14 .offer-top-check:nth-of-type(1){grid-column:2/3!important;grid-row:1!important}.offer-override-v14 .offer-top-check:nth-of-type(2){grid-column:3/4!important;grid-row:1!important}
.offer-override-v14 .offer-mix-check{grid-column:1/2!important;grid-row:2!important;height:46px!important}.offer-override-v14 .owner-offers-field{grid-column:2/3!important;grid-row:2!important}.offer-override-v14 .offer-field:nth-of-type(3){grid-column:3/4!important;grid-row:2!important}.offer-override-v14 .offer-positions-field{grid-column:1/2!important;grid-row:3!important}.offer-override-v14 .offer-note-field{grid-column:2/3!important;grid-row:3!important;height:46px!important}.offer-override-v14 .offer-save-btn{grid-column:3/4!important;grid-row:3!important;height:46px!important;white-space:nowrap!important;max-width:100%!important;font-size:18px!important}
.offer-override-v14 .offer-custom-details{grid-column:1/-1!important;grid-row:4!important}.offer-override-v14 .offer-field label{font-size:11px!important;color:#dbe4ff!important;text-align:center!important;letter-spacing:.35px!important;text-shadow:0 2px 0 rgba(0,0,0,.85),0 0 8px rgba(0,0,0,.8)!important}.offer-override-v14 .module-check{justify-content:center!important;text-align:center!important}.offer-override-v14 .offer-positions-field input:required{border-color:rgba(255,208,38,.35)!important}
@media(max-width:1180px){.offer-override-v14{grid-template-columns:1fr 1fr!important}.offer-override-v14 .offer-license-field,.offer-override-v14 .offer-top-check:nth-of-type(1),.offer-override-v14 .offer-top-check:nth-of-type(2),.offer-override-v14 .offer-mix-check,.offer-override-v14 .owner-offers-field,.offer-override-v14 .offer-field:nth-of-type(3),.offer-override-v14 .offer-positions-field,.offer-override-v14 .offer-note-field,.offer-override-v14 .offer-save-btn{grid-column:auto!important;grid-row:auto!important}.offer-override-v14 .offer-custom-details{grid-column:1/-1!important;grid-row:auto!important}}
@media(max-width:760px){.offer-override-v14{grid-template-columns:1fr!important}}
.cleanup-actions button,.cleanup-actions button.danger{font-family:'Lilita One',Impact,sans-serif!important;font-size:16px!important;letter-spacing:.15px!important;text-shadow:0 2px 0 rgba(0,0,0,.75),0 0 8px rgba(0,0,0,.55)!important;-webkit-text-stroke:.25px rgba(0,0,0,.5)!important;color:#fff!important;box-shadow:0 4px 0 rgba(0,0,0,.35)!important}.cleanup-actions button:not(.danger){color:#06112a!important;text-shadow:0 1px 0 rgba(255,255,255,.25)!important;-webkit-text-stroke:0!important}
