/* Shared visual language across the store, customer area and administration. */
:root{--bg:#000;--panel:#0c080c;--surface:#0c080c;--raised:#251724;--line:#30232f;--border:#30232f;--text:#fff;--muted:#b9a4b6;--accent:#ff00ea;--green:#ff00ea;--soft:#ff00ea12}
body{background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
button,a,input,select,textarea,summary{outline-offset:4px}
:focus-visible{outline:2px solid var(--accent)}
.brand{color:var(--accent)}
.eyebrow{color:var(--accent);font-size:11px;letter-spacing:1px;font-weight:700}
.primary{background:var(--accent);border-color:var(--accent);color:#190016}
.customer-page .wrap{max-width:1200px;width:calc(100% - 64px)}
.customer-page header,.admin-page .topbar{background:#0c080cee;border-bottom:1px solid var(--border)}
.customer-page .header-inner,.admin-page .topbar{height:68px}
.customer-page .brand,.admin-page .brand{font-size:19px;letter-spacing:-.6px}
.customer-page .brand img,.admin-page .brand img{width:31px;height:31px}
.customer-page nav{font-size:12px;gap:28px}
.customer-page h1{font-size:56px;line-height:1.08;letter-spacing:-2.4px;font-weight:750}
.customer-page h2,.admin-page h2{font-size:25px;font-weight:720;letter-spacing:-.8px}
.customer-page h3,.admin-page h3{font-weight:650}
.customer-page .auth-layout{padding:85px 0;gap:80px;min-height:720px}
.customer-page .auth-story>.eyebrow{display:inline-flex;padding:9px 13px;border:1px solid var(--border);border-radius:100px;background:#100910;font-size:9px}
.customer-page .auth-card,.admin-page .auth-card{background:var(--panel);border-radius:17px;padding:36px;border:1px solid var(--border);box-shadow:none}
.customer-page .auth-tabs{border-radius:100px;background:#100a10;padding:4px}
.customer-page .auth-tabs button{border-radius:100px;font-size:12px;padding:12px}
.customer-page .auth-tabs button.selected{background:var(--accent);color:#190016;font-weight:700}
.customer-page input,.admin-page input,.admin-page select,.admin-page textarea{background:#160e15;border-color:var(--border);border-radius:8px;padding:13px;font-size:13px}
.customer-page .button,.customer-page button.primary,.admin-page button{border-radius:8px;padding:12px 18px;font-size:12px}
.customer-page .story-list{gap:25px;margin-top:36px}
.customer-page .story-list strong{font-size:14px;font-weight:600}
.customer-page .story-list p{font-size:12px}
.customer-page .story-list>div>span{border-radius:50%;width:38px;height:38px;border-color:#ff00ea55}
.customer-page .account-heading{padding:55px 0 35px}
.customer-page .account-heading h1{font-size:40px;letter-spacing:-1.4px}
.customer-page .stats,.admin-page .stats{gap:20px}
.customer-page .stat,.admin-page .stat{background:var(--panel);border-radius:16px;padding:26px}
.customer-page .stat:first-child,.admin-page .stat.highlight{background:#150d14;border-color:var(--accent)}
.customer-page .stat strong,.admin-page .stat strong{font-size:38px;font-weight:750;letter-spacing:-1.4px}
.customer-page .stat span,.admin-page .stat-label{font-size:12px}
.customer-page .stat small,.admin-page .stat small{font-size:11px;line-height:1.6}
.customer-page .account-toolbar{border:0;margin-top:32px;gap:16px;align-items:center}
.customer-page .tabs{padding:4px;border:1px solid var(--border);border-radius:100px;background:#100a10;gap:4px}
.customer-page .tabs button{padding:11px 18px;border:0;border-radius:100px;font-size:12px}
.customer-page .tabs button.selected{background:var(--accent);color:#190016;font-weight:700}
.customer-page .refresh{padding:10px 0}
.customer-page .key-card,.customer-page .settings-panel,.customer-page .table-panel,.admin-page .panel{background:var(--panel);border-radius:16px;border-color:var(--border)}
.customer-page .key-card,.customer-page .settings-panel,.admin-page .panel{padding:28px}
.customer-page .key-card h3{font-size:20px;letter-spacing:-.5px}
.customer-page .key-card>p{font-size:12px}
.customer-page .key-actions button{background:var(--raised);border-radius:8px;padding:12px;font-size:12px;color:var(--text)}
.customer-page .key-actions button:hover{border-color:var(--accent)}
.customer-page .license-value{background:#160e15;border-color:var(--border);border-radius:8px;font-size:13px}
.customer-page .empty{border-style:solid;border-color:var(--border);border-radius:16px}
.customer-page .badge,.admin-page .badge{border-radius:100px;padding:5px 10px}
.customer-page table,.admin-page table{font-size:12px}
.customer-page th,.admin-page th{font-size:10px;padding:16px}
.customer-page td,.admin-page td{padding:20px 16px}
.admin-page .auth-screen{background:var(--bg);padding-top:75px}
.admin-page .auth-card{max-width:490px;margin-top:38px}
.admin-page .auth-card h1{font-size:30px;letter-spacing:-1px;font-weight:750}
.admin-page .sidebar{background:#0c080c;padding:24px 18px}
.admin-page .store-switch{border-radius:12px;background:#100a10;margin-top:30px}
.admin-page .sidebar nav button{border-radius:10px;padding:13px 12px;font-size:12px}
.admin-page .sidebar nav button.selected{background:var(--accent);border-color:var(--accent);color:#190016;font-weight:650}
.admin-page .sidebar nav button.selected b{color:#190016}
.admin-page main{padding:42px 36px}
.admin-page .page-heading{margin-bottom:32px}
.admin-page h1{font-size:34px;font-weight:750;letter-spacing:-1.2px}
.admin-page .page-heading p{font-size:13px}
.admin-page .payment-grid{gap:24px}
.admin-page .payment-card{position:relative}
.admin-page .payment-card h2{font-size:23px;margin-top:22px}
.admin-page .payment-card p{font-size:12px;line-height:1.8}
.admin-page .payment-card .primary{padding:13px;font-size:12px}
.admin-page .panel-heading{margin-bottom:26px}
.admin-page .panel-heading h2{font-size:20px}
.admin-page .notice,.customer-page .pending-notice{border-radius:12px}
.admin-page .security-status{border-radius:12px}
.admin-page dialog,.storefront-page dialog{border-radius:17px;background:var(--panel);border-color:var(--border);padding:30px}
.admin-page .secret-key{border-style:solid;border-radius:8px}
.admin-page .detail-grid{gap:24px}
.admin-page .detail-grid strong{font-size:13px}
.admin-page .processor-row strong{font-size:13px}
.admin-page .processor-row small{font-size:11px}
@media(max-width:1150px){.admin-page .stat{padding:19px}.admin-page .stat strong{font-size:29px}.admin-page .stats{gap:12px}}
@media(max-width:1000px){.customer-page .auth-layout{gap:36px}.customer-page h1{font-size:46px}.customer-page .auth-card{padding:28px}.customer-page .stat{padding:22px}}
@media(max-width:760px){.customer-page .wrap{width:calc(100% - 36px)}.customer-page .header-inner{height:68px}.customer-page nav{gap:12px;font-size:10px}.customer-page .brand{font-size:17px}.customer-page .brand img{width:27px;height:27px}.customer-page .auth-layout{grid-template-columns:1fr;min-height:0;padding:44px 0;gap:30px}.customer-page .auth-story h1{font-size:42px;letter-spacing:-1.7px}.customer-page .story-list{display:none}.customer-page .account-heading{padding-top:38px}.customer-page .account-heading h1{font-size:34px}.customer-page .stats{gap:12px}.customer-page .stat{padding:17px}.customer-page .stat strong{font-size:28px}.customer-page .stat small{font-size:10px}.customer-page .account-toolbar{flex-wrap:wrap}.customer-page .tabs{max-width:100%}.customer-page .tabs button{padding:10px 13px;font-size:11px}.customer-page .refresh{margin-left:auto}.customer-page .key-card,.customer-page .settings-panel{padding:23px}.admin-page main{padding:28px 18px}.admin-page .sidebar{padding:18px}.admin-page .sidebar nav button{padding:10px;font-size:11px}.admin-page h1{font-size:29px}.admin-page .panel{padding:22px}.admin-page .stats{gap:12px}.admin-page .stat strong{font-size:30px}.admin-page .topbar{height:58px}.admin-page .auth-screen{padding-top:42px}.admin-page .auth-card{padding:26px}.admin-page dialog,.storefront-page dialog{padding:23px}}
@media(max-width:380px){.customer-page .wrap{width:calc(100% - 28px)}.customer-page .brand{font-size:15px}.customer-page .brand img{width:22px;height:22px;margin-right:5px}.customer-page nav{gap:8px}.customer-page .auth-story h1{font-size:35px}.customer-page .auth-story>.eyebrow{font-size:8px}.customer-page .auth-card{padding:22px}.customer-page .tabs button{padding:10px;font-size:10px}.customer-page .auth-links{flex-wrap:wrap}.admin-page .brand>small{margin-left:10px;padding-left:10px}.admin-page .topbar{font-size:10px}.admin-page .topbar>div{gap:8px}.admin-page .topbar button{padding:7px}.admin-page .slash{margin:0 6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin-bottom:26px}.inventory-deliveries{margin-top:26px}#inventory-form textarea{font-family:monospace}#inventory-form{max-width:800px}

/* Center modal close icons independently of font metrics and button padding. */
.storefront-page .dialog-heading .icon-button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;line-height:1;border-radius:8px}.storefront-page .icon-button svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}.storefront-page .cart-line>strong{margin-left:auto;white-space:nowrap}

/* Accessible duration choices replace the browser-native product dropdown. */
.storefront-page .duration-options{border:0;padding:0;margin:0;min-width:0;display:grid;gap:8px}
.storefront-page .duration-options legend{font-size:11px;color:var(--muted);margin-bottom:12px;padding:0}
.storefront-page :is(.product-body,.purchase-panel) .duration-option{position:relative;display:flex;align-items:center;gap:10px;margin:0;padding:13px 12px;min-height:46px;border:1px solid var(--border);border-radius:10px;background:#100a10;color:#e9dae6;cursor:pointer;transition:background .18s,border-color .18s}
.storefront-page .duration-option:hover{border-color:#8b477f;background:#1c101a}
.storefront-page .duration-option:has(input:checked){border-color:var(--accent);background:#ff00ea0d;color:#fff}
.storefront-page .duration-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.storefront-page .duration-option input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0}
.storefront-page .duration-check{width:15px;height:15px;border:1px solid #78506e;border-radius:50%;flex-shrink:0;display:grid;place-items:center}
.storefront-page .duration-option input:checked+.duration-check{border-color:var(--accent)}
.storefront-page .duration-option input:checked+.duration-check:after{content:'';width:7px;height:7px;border-radius:50%;background:var(--accent)}
.storefront-page .duration-name{font-size:12px;line-height:1.5;flex:1}
.storefront-page .duration-option strong{font-size:12px;white-space:nowrap;font-weight:650}
.storefront-page .duration-option:has(input:checked) strong{color:#ff91f5}
.storefront-page .product-body{display:flex;flex-direction:column;height:100%}
.storefront-page .duration-options{margin-bottom:auto}
.storefront-page .product-body>.add-button{margin-top:20px}
.discount-entry{border-bottom:1px solid var(--border);padding:22px 0 10px}.discount-entry>label{display:block;font-size:12px;margin-bottom:10px;color:var(--muted)}.discount-entry>div{display:flex;gap:8px;flex-wrap:wrap}.discount-entry input{flex:1;min-width:120px;background:#160e15;color:#fff;border:1px solid var(--border);border-radius:8px;padding:12px;text-transform:uppercase}.discount-entry button{background:#251724;color:white;border:1px solid var(--border);border-radius:8px;padding:11px 15px;font-size:12px}.discount-entry #apply-discount{border-color:var(--accent);color:#ff91f5}.discount-entry p,#discount-summary{font-size:12px;color:#ff91f5}#discount-summary{padding-top:18px}#discount-form{max-width:620px}

.webhook-choices{margin-top:24px}.webhook-choices .toggle-label{line-height:1.6;align-items:flex-start;gap:9px}.webhook-choices input[type=checkbox]{flex:0 0 auto;margin-top:3px}.webhook-preview{padding:22px;border-left:3px solid var(--accent);border-radius:8px;background:#160e15}.webhook-preview>div{margin-top:18px}.webhook-preview p{margin:5px 0;overflow-wrap:anywhere}.webhook-preview small{font-size:11px}#webhook-form input[type=password]{max-width:750px}
.admin-page .sidebar{overflow-y:auto}.admin-page .sidebar nav,.admin-page .store-switch{flex-shrink:0}@media(max-width:760px){.admin-page .sidebar{overflow-y:visible}}

.customer-page .remember-option,.admin-page .remember-option{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;cursor:pointer}.customer-page .remember-option input,.admin-page .remember-option input{width:16px;height:16px;margin:0;padding:0;flex:0 0 16px;accent-color:var(--accent)}
.storefront-page .product-details-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;min-height:44px;margin-top:10px;padding:12px 15px;border:1px solid var(--border);border-radius:8px;background:#100a10;color:var(--text);font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;transition:border-color .18s,background .18s}
.storefront-page .product-details-link:hover{border-color:var(--accent);background:#ff00ea0d}
.storefront-page .product-details-link span{color:var(--accent);flex-shrink:0}
.storefront-page .product-card h3 a{color:inherit;text-decoration:none}
.storefront-page .product-card h3 a:hover{color:var(--accent)}
.storefront-page .hero-logo-panel{background:#000;box-shadow:none}.hero-logo-panel .hero-logo{display:block;width:100%;height:100%;object-fit:cover}
.storefront-page .hero-logo-panel{min-width:0}.hero-logo-panel .hero-logo{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
/* Keep the square source centered within the landscape hero panel. */
.storefront-page .hero-logo-panel{position:relative;display:block;overflow:hidden;min-width:0}
.storefront-page .hero-logo-panel .hero-logo{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;margin:0}
/* Readable checkout typography and clear payment choices. */
.storefront-page .cart-dialog{font-size:15px;line-height:1.6}
.storefront-page .cart-dialog .cart-line strong{font-size:16px}
.storefront-page .cart-dialog .cart-line p{font-size:14px;color:#d2c4cf;line-height:1.6;margin-top:6px}
.storefront-page .cart-dialog .remove{font-size:13px;padding:6px 0;color:#e4d7e1}
.storefront-page .cart-dialog label,.storefront-page .cart-dialog legend,.storefront-page .discount-entry>label{font-size:14px;font-weight:600;color:#f5edf3}
.storefront-page .cart-dialog input:not([type=radio]):not([type=checkbox]){font-size:16px;min-height:48px;padding:13px 14px;line-height:1.4}
.storefront-page .cart-dialog input::placeholder{color:#ac9eaa;opacity:1}
.storefront-page .discount-entry input{text-transform:none}
.storefront-page .discount-entry button{font-size:14px;min-height:48px}
.storefront-page .cart-dialog .account-hint{display:block;font-size:13px;line-height:1.65;font-weight:400;color:#d2c4cf;margin-top:9px}
.storefront-page .cart-dialog .payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.storefront-page .cart-dialog .payment-methods label{padding:15px 12px;min-width:0;line-height:1.5;font-size:14px;border-radius:10px}
.storefront-page .cart-dialog .payment-methods small{display:block;font-size:12px;line-height:1.5;color:#d2c4cf;margin-top:8px;font-weight:400}
.storefront-page .cart-dialog .payment-methods label:has(input:disabled){opacity:1;background:#100d10;color:#b8aeb6;border-color:#302a2f}
.storefront-page .cart-dialog .terms-check{font-size:13px;font-weight:400;line-height:1.7;align-items:flex-start;margin-top:24px}
.storefront-page .cart-dialog .terms-check input{flex-shrink:0;margin-top:5px}
.storefront-page .cart-dialog .inline-link{font-size:inherit;color:#ff94f5}
.storefront-page .cart-dialog #pay-button{font-size:16px;min-height:50px}
.storefront-page .cart-dialog .checkout-note{font-size:13px;line-height:1.7;color:#d2c4cf;margin-top:14px}
.storefront-page .cart-dialog #checkout-message,.storefront-page .cart-dialog #discount-message{font-size:14px;line-height:1.6}
@media(max-width:520px){.storefront-page .cart-dialog .payment-methods{grid-template-columns:1fr}.storefront-page .cart-dialog .payment-methods label{padding:13px 15px}.storefront-page .cart-dialog .payment-methods small{margin-top:4px}}
.customer-page .hwid-panel{max-width:760px}.hwid-panel select,.hwid-panel textarea{display:block;width:100%;margin-top:8px;padding:13px;border:1px solid var(--border);border-radius:8px;background:#160e15;color:var(--text);font:inherit}.hwid-panel label{display:block;margin:20px 0}.hwid-panel textarea{resize:vertical}.hwid-history{display:grid;gap:18px;margin-top:32px}.hwid-history h2{margin-bottom:0}.hwid-text{white-space:pre-wrap;overflow-wrap:anywhere}.hwid-history form button{margin:8px 10px 0 0}.customer-page .account-toolbar .tabs{flex-wrap:wrap}

.hwid-requests{margin-top:24px;border:1px solid var(--border);border-radius:12px;background:var(--surface,#110d11);padding:0 22px}.hwid-requests>summary{cursor:pointer;padding:20px 0;font-weight:600;line-height:1.6}.hwid-requests>summary::marker{color:var(--accent)}.hwid-requests>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.hwid-request-count{display:inline-block;margin-left:12px;color:var(--muted);font-size:12px;font-weight:400}.hwid-requests[open]>summary{border-bottom:1px solid var(--border)}.hwid-requests>.hwid-history{margin:20px 0;max-height:650px;max-height:min(650px,65vh);overflow-y:auto;padding-right:6px;overscroll-behavior:contain}@media(max-width:600px){.hwid-request-count{display:block;margin-left:18px}.hwid-requests{padding:0 16px}}

.license-days{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:18px 0;border:1px solid var(--border);border-radius:8px;background:#ff00ea08}.license-days>span{color:var(--muted);font-size:13px}.license-days>strong{color:var(--text);font-size:16px}

.hwid-request-actions{display:flex;align-items:center;gap:14px}.hwid-hide{display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:23px;line-height:1;border-radius:8px;color:var(--muted)}.hwid-hide:hover{color:var(--text);border-color:var(--accent)}

.admin-page .hwid-request-actions .hwid-hide{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;margin:0;line-height:1}.hwid-hide svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}

.stocked-keys-table{max-height:480px;overflow:auto}.stock-key-value{display:block;min-width:190px;max-width:380px;overflow-wrap:anywhere;white-space:normal;line-height:1.6}.stock-key-actions{display:flex;gap:8px}

.admin-page .inventory-section{margin:0 0 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden;min-width:0}
.admin-page .inventory-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;line-height:1.4}
.admin-page .inventory-section>summary::-webkit-details-marker{display:none}
.admin-page .inventory-section>summary::after{content:'';width:8px;height:8px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);transition:transform .15s;flex-shrink:0;margin-right:4px}
.admin-page .inventory-section[open]>summary::after{transform:rotate(225deg)}
.admin-page .inventory-section[open]>summary{border-bottom:1px solid var(--border)}
.admin-page .inventory-section>summary:hover{background:#ff00ea08}
.admin-page .inventory-section>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.admin-page .inventory-section-body{padding:24px;min-width:0}
.admin-page .inventory-section-body .notice,.admin-page .inventory-section-body .inventory-grid{margin:0}
.admin-page .inventory-section-body .panel-heading:empty{display:none}
.admin-page .inventory-section-body form{max-width:800px}
.admin-page .stock-key-actions{flex-wrap:wrap}
@media(max-width:760px){.admin-page .inventory-section>summary{padding:18px}.admin-page .inventory-section-body{padding:18px}.admin-page .inventory-section .inventory-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}

.admin-page .inventory-overview-heading{margin:0;padding:20px 24px;border-bottom:1px solid var(--border);font-size:16px;font-weight:600;line-height:1.4}@media(max-width:760px){.admin-page .inventory-overview-heading{padding:18px}}

.stock-history-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--border)}.stock-history-row:first-child{padding-top:0}.stock-history-label{display:grid;gap:7px;min-width:0}.stock-history-label strong{font-size:14px;font-weight:600;line-height:1.5}.stock-history-label>span{font-size:12px;color:var(--muted)}.stock-history-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0}@media(max-width:480px){.stock-history-row{gap:12px}.stock-history-actions{max-width:45%}}

.admin-page .stock-history-actions .generation-hide{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;margin:0;border-radius:8px}.generation-hide svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}

.guide-footer-links{display:flex;gap:20px;flex-wrap:wrap}.guide-footer-links a:hover{color:var(--accent)}

/* Keep product search on the right, with aligned icon and input. */
.storefront-page .toolbar{align-items:center}
.storefront-page .toolbar .search{margin-left:auto;height:44px;min-height:44px;align-items:center}
.storefront-page .toolbar .search .search-icon{display:block;width:18px;height:18px;flex:0 0 18px;align-self:center}
.storefront-page .toolbar .search input{height:100%;padding:0;font-size:14px;line-height:20px}

.storefront-page .toolbar .search input:focus{outline:none;box-shadow:none}

/* Separate the Discord webhook field label from its input. */
#webhook-form .panel>label:not(.toggle-label){display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#webhook-form .panel>label:not(.toggle-label) input{width:100%;margin:0}

/* Compact, themed admin dropdowns. */
.admin-page select{appearance:none;min-height:36px;padding:8px 34px 8px 12px;font-size:12px;line-height:18px;border:1px solid var(--border);border-radius:7px;background-color:#100a10;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cf9ac7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer;transition:border-color .15s,background-color .15s}
.admin-page select:hover{border-color:#825478;background-color:#190f18}
.admin-page select:disabled{opacity:.5;cursor:not-allowed}
.admin-page select option{background:#100a10;color:#eee3ec}
@supports (appearance:base-select){
.admin-page select,.admin-page select::picker(select){appearance:base-select}
.admin-page select{background-image:none;padding-right:12px;align-items:center;gap:12px}
.admin-page select::picker-icon{color:#cf9ac7;transition:rotate .18s}
.admin-page select:open::picker-icon{rotate:180deg}
.admin-page select::picker(select){background:#100a10;color:#eee3ec;border:1px solid #493044;border-radius:9px;padding:5px;margin-top:5px;box-shadow:0 12px 30px #0009;max-height:280px;overflow:auto}
.admin-page select option{min-height:32px;padding:7px 10px;border-radius:5px;font-size:12px;line-height:18px;cursor:pointer;gap:9px}
.admin-page select option:hover,.admin-page select option:focus{background:#2d1428;color:#fff;outline:none}
.admin-page select option:checked{background:#34132e;color:#ff8ced}
.admin-page select option::checkmark{color:#ff65e8}
}

/* Keep admin text fields free of focus outlines. */
.admin-page input:focus,.admin-page textarea:focus{outline:none;box-shadow:none}

.admin-page .order-status-stack{display:inline-flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.admin-page .order-status-stack>small{margin:0}

.customer-page .discord-settings{margin-bottom:24px}

.customer-page .account-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.customer-page .account-settings-grid .settings-panel{width:100%;max-width:none;margin:0;min-width:0}
@media(max-width:760px){.customer-page .account-settings-grid{grid-template-columns:1fr}}

/* Keep customer dashboard fields free of focus highlights. */
.customer-page #dashboard input:focus,.customer-page #dashboard textarea:focus,.customer-page #dashboard select:focus{outline:none;box-shadow:none}

.customer-page .key-icon{background:#000;overflow:hidden}
.customer-page .key-icon img{display:block;width:30px;height:30px;object-fit:contain}

/* Matching customer dashboard dropdowns. */
.customer-page #dashboard select{appearance:none;min-height:36px;padding:8px 34px 8px 12px;font-size:12px;line-height:18px;border:1px solid var(--border);border-radius:7px;background-color:#100a10;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cf9ac7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer;transition:border-color .15s,background-color .15s}
.customer-page #dashboard select:hover{border-color:#825478;background-color:#190f18}
.customer-page #dashboard select:disabled{opacity:.5;cursor:not-allowed}
.customer-page #dashboard select option{background:#100a10;color:#eee3ec}
@supports (appearance:base-select){
.customer-page #dashboard select,.customer-page #dashboard select::picker(select){appearance:base-select}
.customer-page #dashboard select{background-image:none;padding-right:12px;align-items:center;gap:12px}
.customer-page #dashboard select::picker-icon{color:#cf9ac7;transition:rotate .18s}
.customer-page #dashboard select:open::picker-icon{rotate:180deg}
.customer-page #dashboard select::picker(select){background:#100a10;color:#eee3ec;border:1px solid #493044;border-radius:9px;padding:5px;margin-top:5px;box-shadow:0 12px 30px #0009;max-height:280px;overflow:auto}
.customer-page #dashboard select option{min-height:32px;padding:7px 10px;border-radius:5px;font-size:12px;line-height:18px;cursor:pointer;gap:9px}
.customer-page #dashboard select option:hover,.customer-page #dashboard select option:focus{background:#2d1428;color:#fff;outline:none}
.customer-page #dashboard select option:checked{background:#34132e;color:#ff8ced}
.customer-page #dashboard select option::checkmark{color:#ff65e8}
}

@supports (appearance:base-select){
.customer-page #dashboard select,.admin-page select{display:flex;align-items:center;justify-content:space-between;min-width:0}
.customer-page #dashboard select::picker-icon,.admin-page select::picker-icon{flex:0 0 auto;margin-left:auto;align-self:center}
}

@media(max-width:760px){.customer-page .header-inner{height:auto;min-height:68px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px;gap:14px}.customer-page nav[aria-label="Account navigation"]{flex-wrap:wrap;gap:12px 18px}}

.admin-page .remove-customer-key-panel{margin-top:24px}
.admin-page #remove-assigned-key-form{display:grid;gap:20px}
.admin-page #remove-assigned-key-form>button{justify-self:start}

/* Readable customer order history. */
.customer-page .table-panel table{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}
.customer-page .table-panel th{font-size:12px;font-weight:600;letter-spacing:.4px;color:#d9c7d5}
.customer-page .table-panel td{padding:20px;vertical-align:middle}
.customer-page .table-panel td small{font-size:12px;line-height:1.5;margin-top:5px;color:#d2bfce}
.customer-page .table-panel .badge{font-size:12px;font-weight:600;line-height:1.4;padding:6px 12px;color:#f2d8ee}
.customer-page .table-panel .inline-button{font-size:12px}

.admin-page .order-reference-cell{text-align:center;vertical-align:middle}
.admin-page .order-reference-cell .order-link{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid var(--border);border-radius:7px;background:#160e15;font-size:12px;line-height:18px}
.admin-page .order-reference-cell .order-link:hover{border-color:#a64b96;background:#24101f}
.admin-page .order-reference-cell>small{margin-top:9px;text-align:center;line-height:1.5}

.admin-page .order-reference-cell{text-align:left}
.admin-page .order-reference-stack{display:inline-flex;flex-direction:column;align-items:center;text-align:center;gap:9px}
.admin-page .order-reference-stack>small{margin:0;line-height:1.5}

.admin-page .badge.unfulfilled{background:#61441240;color:#e4c07a;border-color:#655127}

.admin-page .badge.fulfilled{background:#173f2d60;color:#95d6ad;border-color:#305b3d}

.admin-page .badge{font-size:11px;line-height:1.4}


.customer-page .key-card .badge.delivered{font-size:11px;line-height:1.4;padding:5px 10px}


.customer-page .resume-payment{display:block;margin-top:10px;padding:8px 12px;border:1px solid #743466;border-radius:7px;background:#291023;color:#ff8ced;font-size:12px;cursor:pointer}

.customer-page nav[aria-label="Account navigation"] a{color:var(--accent);font-size:13px}
.customer-page nav[aria-label="Account navigation"] a:hover{color:#ff80f2;text-decoration:none}

.admin-page .overview-analytics{padding:20px;margin-bottom:24px}.metric-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-page .metric-tab{background:transparent;border:1px solid transparent;border-radius:10px;text-align:left;padding:16px;min-width:0}.admin-page .metric-tab.selected{background:#1a1118;border-color:#493044}.metric-tab>span{display:block;font-size:14px;color:#bfaebb}.metric-tab>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:7px 0}.metric-tab strong{font-size:24px;color:#fff}.metric-tab b{font-size:12px}.metric-tab small{font-size:11px;color:#bfaebb}.metric-tab .positive{color:#55d6a0}.metric-tab .negative{color:#ff6c79}.metric-tab .neutral{color:#9b8997}.metric-chart{margin-top:28px;overflow-x:auto}.metric-chart svg{display:block;width:100%;min-width:560px;height:auto}.metric-caption{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#bfaebb;margin:8px 0 20px}.metric-caption i{display:inline-block;width:14px;border-top:2px solid #ff00ea;vertical-align:middle}.metric-caption i.previous{border-color:#827782;border-top-style:dashed}@media(max-width:800px){.metric-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-caption{flex-direction:column}.metric-tab strong{font-size:21px}}

.admin-page .overview-payments{margin-bottom:24px}


.admin-page .stats-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-page .stats-detail-card{margin:0;min-height:220px;padding:22px}.stats-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stats-card-heading h2{margin:0;font-size:15px}.stats-switches{display:flex;padding:3px;border:1px solid #342032;border-radius:7px;gap:2px}.admin-page .stats-switches button{padding:5px 9px;border:0;border-radius:4px;background:none;font-size:11px;line-height:1.3;color:#c5b3c1}.admin-page .stats-switches button.selected{background:#392032;color:#fff}.stats-measure{font-size:11px;color:#b7a4b2;margin:18px 0 12px}.stats-bar-list{display:grid;gap:7px;max-height:310px;overflow:auto}.admin-page .stats-bar{position:relative;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:9px 12px;background:#1a1419;border:0;border-radius:6px;overflow:hidden;min-height:34px;width:100%;text-align:left;font-size:12px}.stats-bar-fill{position:absolute;inset:0;pointer-events:none}.stats-bar>span,.stats-bar>strong{position:relative;z-index:1}.stats-bar>span{overflow-wrap:anywhere}.stats-bar strong{font-size:11px;white-space:nowrap}.stats-empty{padding:30px 10px;text-align:center;font-size:13px;color:#b7a4b2}.stats-empty small{display:block;font-size:11px;line-height:1.6;margin-top:10px}@media(max-width:900px){.admin-page .stats-detail-grid{grid-template-columns:1fr}}
/* Compact admin workspace: keep dense data readable without filling wide screens. */
.admin-page .sidebar{width:202px;padding:20px 12px;overflow-y:auto;background:#100d10}
.admin-page .sidebar .brand{font-size:18px;padding:0 8px;margin-bottom:24px}
.admin-page .sidebar .brand img{width:26px;height:26px}
.admin-page .store-switch{display:none}
.admin-page .nav-label{margin:0 10px 10px;font-size:9px}
.admin-page .sidebar nav{gap:3px}
.admin-page .sidebar nav button{padding:9px 10px;min-height:36px;font-size:12px;gap:9px;border-radius:6px}
.admin-page .sidebar nav button>span{font-size:15px;width:17px}
.admin-page .sidebar-bottom{padding:22px 8px 0}
.admin-page .owner-profile{margin-top:16px;padding-top:14px}
.admin-page .workspace{margin-left:202px}
.admin-page .topbar{height:54px;padding:0 28px;background:#080608}
.admin-page #page{width:100%;max-width:1240px;margin:0 auto;padding:28px 32px 40px;min-height:calc(100vh - 112px)}
.admin-page #page[data-view=overview],.admin-page #page[data-view=stats]{max-width:980px}
.admin-page .page-heading{margin-bottom:22px}
.admin-page .page-heading h1{font-size:23px;margin-bottom:5px}
.admin-page .page-heading p{margin:0;font-size:12px}
.admin-page .page-heading select{min-width:130px}
.admin-page .panel{border-radius:9px}
.admin-page .overview-analytics{padding:14px;margin-bottom:16px}
.admin-page .metric-tabs{gap:5px}
.admin-page .metric-tab{padding:12px;border-radius:7px}
.admin-page .metric-tab>span{font-size:12px}
.admin-page .metric-tab strong{font-size:22px}
.admin-page .metric-tab>div{gap:7px;margin:5px 0}
.admin-page .metric-chart{margin-top:18px}
.admin-page .metric-caption{margin-bottom:8px;gap:10px}
.admin-page .stats-detail-grid{gap:14px}
.admin-page .stats-detail-card{padding:16px;min-height:195px}
.admin-page .stats-card-heading{gap:8px}
.admin-page .stats-card-heading h2{font-size:13px;letter-spacing:0}
.admin-page .stats-switches{padding:2px}
.admin-page .stats-switches button{padding:5px 7px}
.admin-page .stats-measure{margin:13px 0 9px}
.admin-page .stats-bar-list{gap:5px;max-height:190px}
.admin-page .stats-bar{padding:7px 9px;min-height:30px}
.admin-page .dashboard-secondary{margin-top:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}
.admin-page .dashboard-secondary>summary{padding:15px 18px;cursor:pointer;font-size:13px;color:var(--muted)}
.admin-page .dashboard-secondary>summary:hover{color:var(--text)}
.admin-page .dashboard-secondary .panel{border:0;margin:0;padding:16px}
.admin-page .dashboard-secondary .overview-payments{margin:0}
.admin-page .workspace>footer{max-width:1240px;margin:auto;padding:18px 32px;font-size:10px}
@media(min-width:761px) and (max-width:1100px){.admin-page .sidebar{width:186px}.admin-page .workspace{margin-left:186px}.admin-page #page{padding:24px}.admin-page .stats-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .stats-card-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.admin-page .sidebar{position:static;width:100%;padding:14px;overflow:visible}.admin-page .sidebar .brand{margin-bottom:12px}.admin-page .sidebar nav{overflow-x:auto;flex-direction:row;gap:4px}.admin-page .sidebar nav button{flex-shrink:0}.admin-page .workspace{margin-left:0}.admin-page #page{padding:22px 16px}.admin-page .topbar{padding:0 16px}.admin-page .stats-detail-grid{grid-template-columns:1fr}.admin-page .stats-detail-card{min-height:175px}.admin-page .metric-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .workspace>footer{padding:16px}.admin-page .metric-chart svg{min-width:460px}}
.admin-page .range-picker{position:relative;flex-shrink:0;font-size:12px}
.admin-page .range-picker>summary{list-style:none;display:flex;gap:9px;align-items:center;border:1px solid var(--border);border-radius:7px;padding:10px 12px;cursor:pointer;background:var(--surface)}
.admin-page .range-picker>summary::-webkit-details-marker{display:none}
.admin-page .range-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:25;display:flex;width:690px;max-width:calc(100vw - 36px);border:1px solid #463340;border-radius:10px;background:#0d090d;box-shadow:0 15px 50px #000b;overflow:hidden}
.admin-page .range-presets{width:130px;flex-shrink:0;padding:8px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:3px}
.admin-page .range-presets button{background:none;border:0;text-align:left;padding:9px;font-size:12px}
.admin-page .range-presets button.selected{background:var(--accent);color:#160014;font-weight:700}
.admin-page .range-calendars{padding:16px;flex:1;min-width:0}
.admin-page .range-month-controls{display:flex;justify-content:flex-end;gap:6px;margin-bottom:5px}
.admin-page .range-month-controls button{padding:2px 10px;background:none;font-size:20px}
.admin-page .range-months{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.admin-page .range-month h3{font-size:13px;margin:0 0 16px;letter-spacing:0}
.admin-page .range-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.admin-page .range-days>span{font-size:11px;color:var(--muted);padding:4px 0}
.admin-page .range-days button{font-size:12px;border:0;background:transparent;padding:7px 0;border-radius:5px;min-width:0}
.admin-page .range-days .adjacent{color:#665761}
.admin-page .range-days .between{background:#ff00ea17}
.admin-page .range-days .chosen{background:var(--accent);color:#190016;font-weight:700}
.admin-page .range-days button:hover:not(:disabled){background:#68325f;color:#fff}
.admin-page .range-apply{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:12px;margin-top:14px}
.admin-page .range-apply small{font-size:10px;line-height:1.6}
.admin-page .range-apply button{font-size:11px;white-space:nowrap}
.admin-page .metric-chart{position:relative}
.admin-page .chart-tooltip{position:absolute;right:12px;top:8px;padding:12px 14px;border:1px solid #5b4054;border-radius:8px;background:#140e16f5;box-shadow:0 6px 20px #0009;pointer-events:none;min-width:260px;font-size:11px}
.admin-page .chart-tooltip>strong{display:block;margin-bottom:10px;font-size:12px}
.admin-page .chart-tooltip>div{display:flex;justify-content:space-between;gap:16px;margin-top:7px;color:var(--muted)}
.admin-page .chart-tooltip b{color:#fff}
.admin-page .chart-tooltip>div:first-of-type b{color:#ff77ec}
@media(max-width:760px){.admin-page .range-popover{width:580px}.admin-page .range-months{gap:10px}.admin-page .range-presets{width:112px}.admin-page .range-calendars{padding:12px}.admin-page .range-days button{padding:8px 0}}
@media(max-width:520px){.admin-page .range-picker{position:static}.admin-page .page-heading{position:relative}.admin-page .range-popover{right:0;left:0;top:100%;width:100%;max-width:none;flex-direction:column}.admin-page .range-presets{width:100%;border-right:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:repeat(4,1fr)}.admin-page .range-presets button{font-size:10px;padding:7px 4px;text-align:center}.admin-page .range-months{grid-template-columns:1fr}.admin-page .range-month:nth-child(2){display:none}.admin-page .chart-tooltip{min-width:220px;font-size:10px;right:6px}.admin-page .metric-chart svg{min-width:0}}
.admin-page .reporting-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-page .calendar-icon{width:17px;height:17px;flex-shrink:0}
.admin-page .live-shortcut{display:flex;align-items:center;gap:6px;padding:10px;font-size:12px;background:var(--surface)}
.admin-page .live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#47dca0;box-shadow:0 0 0 3px #47dca015}
.admin-page .live-summary{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.admin-page .live-summary>strong{font-size:32px}
.admin-page .live-pages{margin-top:15px;display:grid;gap:8px}
.admin-page .live-pages>div{display:flex;align-items:center;justify-content:space-between;padding:13px;background:var(--raised);border-radius:6px;font-size:13px}
.admin-page #page[data-view=live]{max-width:980px}
.admin-page .range-picker>summary .range-chevron{display:block;width:14px;height:14px;flex:0 0 14px;margin-left:4px;transition:transform .15s ease}
.admin-page .range-picker[open]>summary .range-chevron{transform:rotate(180deg)}
.admin-page .product-revenue-list{gap:9px}
.admin-page .product-revenue-row{min-height:40px;padding:8px 12px}
.admin-page .product-revenue-row>span{font-weight:600}
.admin-page .product-revenue-values{position:relative;z-index:1;display:flex;align-items:center;gap:9px;flex-shrink:0}
.admin-page .product-revenue-values strong{font-size:12px;color:#eee}
.admin-page .product-revenue-values b{font-size:11px;min-width:54px;padding:4px 8px;text-align:center;border:1px solid #ff00ea;border-radius:20px;background:#401036;color:#ffb7f7}

/* Compact product artwork, faded into the existing pricing cards. */
.storefront-page .product-media{display:block;position:relative;height:138px;flex:0 0 138px;overflow:hidden;border-radius:9px;margin-bottom:24px;background:#100b10;isolation:isolate}
.storefront-page .product-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.72;filter:saturate(.65);transition:opacity .25s,transform .4s,filter .25s}
.storefront-page .product-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,#100a10a6);pointer-events:none}
.storefront-page .product-media-arrow{position:absolute;right:10px;bottom:10px;z-index:1;display:grid;place-items:center;width:26px;height:26px;border:1px solid #ffffff30;border-radius:50%;background:#100a1099;color:#fff;font-size:14px}
.storefront-page .product-media:hover img,.storefront-page .product-media:focus-visible img{opacity:.95;filter:saturate(.9);transform:scale(1.035)}
@media(prefers-reduced-motion:reduce){.storefront-page .product-media img{transition:none}.storefront-page .product-media:hover img{transform:none}}

.storefront-page .cart-dialog .checkout-payment-card{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:100px;border:1px solid #382c36;background:#0c090c;cursor:pointer;transition:background .15s,border-color .15s}
.storefront-page .checkout-payment-card input[type=radio]{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0}
.storefront-page .checkout-payment-heading{display:flex;align-items:center;gap:8px;min-width:0}
.storefront-page .checkout-payment-heading strong{font-size:13px;font-weight:650}
.storefront-page .checkout-provider-logo{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;overflow:hidden;background:#fff}
.storefront-page .checkout-provider-logo img{display:block;width:100%;height:100%;object-fit:contain}
.storefront-page .checkout-provider-paypal img{width:21px;height:21px}
.storefront-page .checkout-provider-nowpayments{background:#64acff}
.storefront-page .checkout-payment-check{margin-left:auto;color:var(--accent);font-size:13px;opacity:0}
.storefront-page .cart-dialog .checkout-payment-card:has(input:checked){background:#241522;border-color:var(--accent);box-shadow:0 0 0 1px #ff00ea15}
.storefront-page .checkout-payment-card:has(input:checked) .checkout-payment-check{opacity:1}
.storefront-page .cart-dialog .checkout-payment-card:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.storefront-page .cart-dialog .checkout-payment-card:has(input:disabled){cursor:not-allowed}
.storefront-page .checkout-payment-card:has(input:disabled) .checkout-provider-logo{opacity:.45;filter:grayscale(1)}
.storefront-page .cart-dialog .checkout-payment-card small{font-size:11px;line-height:1.5;margin-top:8px}

.storefront-page .checkout-provider-stripe{background:transparent;border:0;box-shadow:none}
