:root{--bg:#f4f7fb;--panel:#fff;--text:#162033;--muted:#667085;--line:#e4e9f1;--primary:#2563eb;--primary-dark:#1d4ed8;--danger:#dc2626;--warning:#d97706;--good:#059669;--sidebar:#111827;--radius:14px;--shadow:0 12px 30px rgba(15,23,42,.08)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:var(--bg)}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--sidebar);color:#dbe4f0;padding:22px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-weight:700;font-size:16px;padding:4px 8px 22px}.brand-mark,.auth-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:800;box-shadow:0 8px 20px rgba(37,99,235,.3)}.sidebar nav{display:grid;gap:5px}.sidebar nav a{padding:11px 13px;border-radius:10px;color:#cbd5e1}.sidebar nav a:hover,.sidebar nav a.active{background:#243044;color:#fff}.sidebar-footer{margin-top:auto;padding:12px 8px}.sidebar-footer a{color:#94a3b8;font-size:13px}.main{margin-left:240px;width:calc(100% - 240px);min-width:0}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:10}.topbar-spacer{flex:1}.user-chip{font-size:14px;color:var(--muted);margin-right:16px}.menu-button{display:none;border:0;background:none;font-size:24px}.link-button,.text-button,.row-actions button{border:0;background:none;color:var(--primary);padding:0}.content{padding:28px;max-width:1600px;margin:0 auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-heading h1{font-size:27px;margin:0 0 6px}.page-heading p{margin:0;color:var(--muted)}.actions,.form-actions,.row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;padding:9px 15px;font-weight:650;line-height:1.2}.button.primary{background:var(--primary);color:#fff}.button.primary:hover{background:var(--primary-dark)}.button.secondary{background:#fff;border-color:#d7deea;color:#334155}.button.large{padding:13px 20px;font-size:16px}.button.disabled{pointer-events:none;opacity:.45}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 1px 2px rgba(15,23,42,.03);margin-bottom:20px}.panel h2{font-size:18px;margin:0 0 16px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.panel-title h2{margin:0}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px}.metric span{display:block;color:var(--muted);font-size:13px}.metric strong{display:block;font-size:30px;margin-top:8px}.metric.good{border-top:3px solid var(--good)}.metric.info{border-top:3px solid var(--primary)}.metric.warning{border-top:3px solid var(--warning)}.two-columns{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}.split-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px}.table-wrap{overflow-x:auto}.table-wrap.panel{padding:0}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle}th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.02em}tbody tr:hover{background:#fbfdff}small,.muted{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:36px}.detail-cell{max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-flex;border-radius:999px;background:#eef2f7;padding:4px 8px;font-size:12px}.status-idle,.status-unused{background:#dcfce7;color:#166534}.status-rented,.status-in_use{background:#dbeafe;color:#1e40af}.status-cooldown{background:#fef3c7;color:#92400e}.status-disabled,.status-void,.status-expired{background:#fee2e2;color:#991b1b}.stack-form{display:grid;gap:15px}.wide-form{max-width:900px}.stack-form label,.form-grid label{display:grid;gap:7px;font-weight:650;font-size:14px}.stack-form label small,.form-grid label small{font-weight:400}input,select,textarea{width:100%;border:1px solid #cfd8e6;border-radius:9px;padding:10px 11px;background:#fff;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}textarea{resize:vertical}.form-grid{display:grid;gap:15px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.span-2{grid-column:span 2}.check-label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important}.check-label input{width:auto}.filter-bar{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.filter-bar input{max-width:260px}.filter-bar select{width:auto;min-width:140px}.inline-form{display:flex;align-items:center;gap:6px}.tiny-input{width:64px;padding:5px 7px}.small-input{width:130px;padding:5px 7px}.danger-text{color:var(--danger)!important}.alert{border-radius:10px;padding:12px 14px;margin-bottom:15px;font-size:14px}.alert-success{background:#dcfce7;color:#166534}.alert-danger{background:#fee2e2;color:#991b1b}.alert-warning{background:#fef3c7;color:#92400e}.activity-list{display:grid;gap:0}.activity-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:11px 0;border-bottom:1px solid var(--line)}.activity-list span{font-size:13px;color:var(--muted)}.activity-list time{grid-row:1/3;grid-column:2;font-size:12px;color:var(--muted)}.game-cell{display:flex;align-items:center;gap:10px}.game-cell img{width:48px;height:48px;border-radius:8px;object-fit:cover}.game-cell small{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis}.auth-page,.customer-page,.install-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#dbeafe,transparent 30%),radial-gradient(circle at 80% 90%,#ede9fe,transparent 30%),#f8fafc}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:32px;text-align:center}.auth-card .auth-logo{margin:0 auto 16px}.auth-card h1{margin:0 0 8px}.auth-card .stack-form{text-align:left;margin-top:22px}.subtle-link{display:inline-block;margin-top:18px;color:var(--muted);font-size:14px}.success-icon{margin:0 auto 16px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#dcfce7;color:#15803d;font-size:30px}.install-page{display:block}.install-wrap{max-width:920px;margin:30px auto}.install-header{display:flex;align-items:center;gap:16px;margin-bottom:22px}.install-header h1{margin:0}.install-header p{margin:5px 0 0;color:var(--muted)}.install-actions{text-align:center}.center{text-align:center}.customer-card{width:min(520px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:28px}.customer-brand,.success-line{display:flex;align-items:center;gap:14px;margin-bottom:24px}.customer-brand h1,.success-line h1{font-size:23px;margin:0}.customer-brand p,.success-line p{margin:4px 0 0;color:var(--muted)}.claim-form{display:grid;gap:12px}.claim-form input{text-align:center;text-transform:uppercase;font-size:20px;letter-spacing:.12em;padding:14px}.customer-help{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.customer-help p{margin:6px 0}.admin-entry{display:block;text-align:center;color:#94a3b8;font-size:12px;margin-top:18px}.credential-box,.token-box,.rental-timer{border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:13px}.credential-box label,.token-box label,.rental-timer label{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.copy-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.copy-row strong{font-size:18px;word-break:break-all}.copy-row button{border:0;background:#eef2ff;color:#3730a3;border-radius:7px;padding:6px 10px}.token-box{text-align:center;background:#f8fafc}.token-box>strong{display:block;font-size:42px;letter-spacing:.16em;color:#172554;margin:7px 0}.token-meta{display:flex;justify-content:center;gap:18px;color:var(--muted);font-size:13px;margin-bottom:14px}.rental-timer{text-align:center}.rental-timer strong{font-size:24px;color:#1e40af}.hidden{display:none!important}.error-list{color:var(--danger)}pre{background:#0f172a;color:#e2e8f0;border-radius:10px;padding:14px;overflow:auto}@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(3,1fr)}.two-columns{grid-template-columns:1fr}.form-grid.three{grid-template-columns:1fr 1fr}}@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.menu-button{display:block}.topbar{padding:0 16px}.content{padding:18px}.page-heading{flex-direction:column}.metric-grid{grid-template-columns:repeat(2,1fr)}.split-layout{grid-template-columns:1fr}.form-grid.two,.form-grid.three{grid-template-columns:1fr}.span-2{grid-column:auto}.user-chip{display:none}.install-wrap{margin:0}.install-header{align-items:flex-start}.panel{padding:16px}.customer-card{padding:22px}.token-box>strong{font-size:34px}}@media(max-width:450px){.metric-grid{grid-template-columns:1fr 1fr}.metric{padding:14px}.metric strong{font-size:25px}.customer-page{padding:12px}.customer-card{border-radius:16px}.token-meta{flex-direction:column;gap:4px}.token-box>strong{font-size:30px}}
.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.bar-chart{display:grid;gap:12px}.bar-row{display:grid;grid-template-columns:90px minmax(100px,1fr) 140px;gap:10px;align-items:center;font-size:13px}.bar-track{height:10px;border-radius:999px;background:#eef2f7;overflow:hidden}.bar-track i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#7c3aed);border-radius:999px}.bar-row strong{text-align:right}.status-list{display:grid;gap:10px}.status-list>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0}@media(max-width:780px){.report-metrics{grid-template-columns:repeat(2,1fr)}.bar-row{grid-template-columns:75px 1fr}.bar-row strong{grid-column:2;text-align:left}}
.token-admin-card{text-align:center;max-width:560px;margin:40px auto}.token-admin-card>span{color:var(--muted)}.token-admin-card>strong{display:block;font-size:54px;letter-spacing:.18em;margin:18px 0;color:#172554}.token-admin-card p{color:var(--muted)}
.customer-install-wrap{max-width:820px}.install-ready-card{display:flex;align-items:flex-start;gap:14px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:14px;padding:16px 18px;margin-bottom:20px}.install-ready-card p{margin:4px 0 0;color:#3f6f55}.success-icon.small{width:34px;height:34px;min-width:34px;font-size:19px;margin:0}.install-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:15px}.step-number{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e0e7ff;color:#3730a3;font-weight:800}.step-body h2{margin:4px 0 8px}.step-body>p{margin:0 0 16px}.advanced-options{margin-top:16px;border-top:1px solid var(--line);padding-top:13px}.advanced-options summary{cursor:pointer;color:var(--muted);font-weight:650}.advanced-grid{margin-top:14px}.install-summary{display:grid;gap:5px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:15px 18px;margin-bottom:18px}.install-summary span{color:var(--muted);font-size:14px}.install-submit{min-width:220px}@media(max-width:620px){.install-step{grid-template-columns:1fr}.step-number{margin-bottom:-4px}.install-ready-card{align-items:flex-start}}

.button:disabled{cursor:not-allowed;opacity:.65}.install-actions .muted{margin:10px 0 0}
.transport-notice{display:grid;gap:4px}.transport-notice strong{font-size:14px}.transport-notice span{line-height:1.65}.https-guide{margin-top:5px}.https-guide summary{cursor:pointer;font-weight:650}.https-guide p{margin:7px 0 0;line-height:1.65}
.nav-group{display:block;padding:15px 14px 5px;color:#94a3b8;font-size:11px;font-weight:700;letter-spacing:.08em}.sidebar-footer{display:grid;gap:8px}.sidebar-footer span{font-size:12px;color:#94a3b8}.compact-alert{padding:10px 13px}.code-copy-cell{display:flex;align-items:center;gap:8px;min-width:180px}.code-copy-cell code{font-size:14px;color:#172554;background:#eef2ff;padding:7px 9px;border-radius:7px;letter-spacing:.04em}.code-copy-cell button,.promotion-code button{border:0;background:#e0e7ff;color:#3730a3;border-radius:7px;padding:6px 9px;white-space:nowrap}.setting-preview-image{display:block;margin-top:8px;max-width:360px;max-height:180px;border:1px solid var(--line);border-radius:10px;object-fit:cover}.setting-preview-image.qr{width:130px;height:130px}.sticky-actions{position:sticky;bottom:16px;background:rgba(248,250,252,.94);border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:var(--shadow);z-index:4}.version-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(300px,1.3fr);gap:18px;margin-bottom:18px}.version-card{display:grid;align-content:center;text-align:center}.version-card span{color:var(--muted)}.version-card strong{font-size:42px;color:#1e40af;margin:8px 0}.version-card p{margin:0;color:var(--muted)}.changelog-view{white-space:pre-wrap;background:#f8fafc;color:#334155;border:1px solid var(--line);max-height:720px}.customer-layout{width:min(720px,100%)}.customer-layout .customer-card{width:100%}.customer-intro-image{width:100%;max-height:280px;object-fit:cover;border-radius:14px;margin-bottom:18px}.customer-help h2{font-size:16px;margin:0 0 10px;color:var(--text)}.customer-service-card,.promotion-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:15px;margin-top:16px;background:#f8fafc}.customer-service-card>div,.promotion-card>div{flex:1}.customer-service-card p,.promotion-card p{margin:5px 0;color:var(--muted);font-size:13px}.customer-service-card img{width:100px;height:100px;object-fit:cover;border-radius:10px}.promotion-card>img{width:110px;height:80px;object-fit:cover;border-radius:10px}.promotion-code{display:flex;align-items:center;gap:7px;margin-top:9px;font-size:13px}.promotion-code code{font-size:16px;color:#6d28d9;font-weight:800}.customer-footer{text-align:center;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;color:#94a3b8}.customer-footer p{margin:5px 0}.customer-footer a{color:#64748b}.game-highlight{background:linear-gradient(135deg,#eef2ff,#f5f3ff)}.game-highlight strong{font-size:20px;color:#312e81}@media(max-width:780px){.version-grid{grid-template-columns:1fr}.customer-service-card,.promotion-card{align-items:flex-start;flex-wrap:wrap}.promotion-card>img{width:100%;height:140px}.sticky-actions{bottom:8px}}
.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:var(--muted);font-size:13px}.pagination>div{display:flex;gap:8px}@media(max-width:560px){.pagination{align-items:flex-start;flex-direction:column}}

/* v1.5.2 account inventory and admin UX */
.compact-panel{padding:14px 16px}.inventory-filters{display:grid;gap:12px;margin-bottom:16px}.filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.filter-label{width:72px;color:#64748b;font-size:13px;font-weight:700;flex:0 0 auto}.segmented-filter{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.segmented-filter a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #d6deea;border-radius:9px;background:#fff;color:#475569;font-size:13px;font-weight:650}.segmented-filter a:hover{border-color:#93c5fd;color:#1d4ed8}.segmented-filter a.active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.18)}.segmented-filter small{font-size:11px;opacity:.78;color:inherit}.inventory-search-row{align-items:flex-start}.inventory-keyword-form{display:flex;gap:8px;align-items:center;flex:1;min-width:280px}.inventory-keyword-form input[type=text],.inventory-keyword-form input:not([type]){max-width:320px}.button.ghost{background:transparent;border:1px solid transparent;color:#64748b}.button.ghost:hover{background:#eef2f7}.searchable-filter{position:relative;min-width:220px}.searchable-filter>summary{list-style:none;cursor:pointer;border:1px solid #cfd8e6;border-radius:9px;background:#fff;padding:10px 36px 10px 12px;position:relative;color:#334155;font-size:14px}.searchable-filter>summary::-webkit-details-marker{display:none}.searchable-filter>summary:after{content:'▾';position:absolute;right:12px;color:#64748b}.searchable-filter[open]>summary{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.searchable-filter-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:min(360px,calc(100vw - 48px));background:#fff;border:1px solid #d6deea;border-radius:12px;box-shadow:0 16px 40px rgba(15,23,42,.16);padding:10px}.searchable-filter-menu input{margin-bottom:8px}.searchable-filter-options{display:grid;max-height:260px;overflow:auto}.searchable-filter-options a{padding:9px 10px;border-radius:8px;color:#334155;font-size:13px}.searchable-filter-options a:hover,.searchable-filter-options a.active{background:#eef2ff;color:#1d4ed8}.search-empty{padding:14px;text-align:center;color:#94a3b8;margin:0}.table-action.order-action{display:inline-flex;padding:5px 9px;border-radius:7px;background:#2563eb;color:#fff!important;font-weight:700}.table-action.order-action:hover{background:#1d4ed8}.order-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:20px}.account-order-summary h2{font-size:26px;margin:7px 0 18px}.eyebrow{display:block;color:#6366f1;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.summary-list{display:grid;gap:0;margin:0 0 18px}.summary-list>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.summary-list dt{color:#64748b}.summary-list dd{margin:0;font-weight:650}.order-success-card{max-width:760px;margin:0 auto;text-align:center}.generated-code-row{display:flex;justify-content:center;align-items:center;gap:12px;margin:18px 0 22px}.generated-code-row code{font-size:28px;letter-spacing:.12em;background:#eef2ff;color:#312e81;padding:14px 18px;border-radius:12px;font-weight:800;word-break:break-all}.order-created-details{max-width:560px;margin:0 auto 20px;text-align:left}.button.large{padding:13px 18px;font-size:16px}
@media(max-width:900px){.order-layout{grid-template-columns:1fr}.filter-label{width:100%}.inventory-keyword-form{width:100%;flex-wrap:wrap}.searchable-filter{width:100%}.generated-code-row{flex-direction:column}.generated-code-row code{font-size:22px}}

/* v1.5.2 import, user permission and version interfaces */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.narrow-form{max-width:620px}.import-security-notice{display:flex;gap:10px;align-items:center}.import-security-notice span{color:inherit}.import-layout{align-items:start}.upload-dropzone{min-height:220px;border:2px dashed #b9c7dc;border-radius:16px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:28px;cursor:pointer;transition:.2s ease}.upload-dropzone:hover,.upload-dropzone.dragover{border-color:#2563eb;background:#eef4ff;box-shadow:0 0 0 4px rgba(37,99,235,.08)}.upload-dropzone .upload-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e0e7ff;color:#3730a3;font-size:26px;font-weight:800}.upload-dropzone strong{font-size:16px}.upload-dropzone span,.upload-dropzone em{color:#64748b;font-size:13px}.upload-dropzone em{font-style:normal;margin-top:5px;font-weight:650}.field-help-list{display:grid;gap:0}.field-help-list>div{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(120px,.75fr) minmax(200px,1.45fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:start}.field-help-list code{font-size:12px}.field-help-list strong{font-size:13px}.field-help-list span{font-size:12px;color:#64748b;line-height:1.55}.import-preview-panel,.import-result-panel{display:grid;gap:18px}.import-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.preview-table td{vertical-align:top}.preview-table .row-error{background:#fff7f7}.validation-message{font-size:12px;line-height:1.45;margin:2px 0}.validation-message.error{color:#b91c1c}.validation-message.warning{color:#92400e}.status-badge.ok{background:#dcfce7;color:#166534}.import-confirm-form{display:flex;align-items:flex-end;gap:18px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}.import-confirm-form fieldset{border:0;padding:0;margin:0;display:flex;gap:12px;flex-wrap:wrap}.import-confirm-form legend{font-weight:750;margin-bottom:9px}.radio-card,.check-card{display:flex;gap:9px;align-items:flex-start;border:1px solid #d7e0ec;border-radius:11px;padding:11px 12px;background:#fff;cursor:pointer}.radio-card:has(input:checked),.check-card:has(input:checked){border-color:#6366f1;background:#eef2ff}.radio-card span,.check-card span{display:grid;gap:3px}.radio-card small,.check-card small{color:#64748b;font-size:12px;line-height:1.45}.user-toolbar-panel{margin-bottom:16px}.user-filter-form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(130px,.7fr) minmax(130px,.7fr) minmax(190px,1fr) auto auto;gap:10px;align-items:center}.users-table-panel td{vertical-align:middle}.role-badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:750;font-size:12px}.role-badge.admin{background:#ede9fe;color:#5b21b6}.role-badge.staff{background:#e0f2fe;color:#075985}.permission-summary{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.permission-summary span{font-size:11px;padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#475569}.mini-tag{display:inline-flex;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:700}.mini-tag.warning{background:#fff7ed;color:#9a3412}.mini-tag.success{background:#dcfce7;color:#166534}.switch-control{border:0;background:transparent;display:inline-flex;align-items:center;gap:7px;padding:0;color:#64748b}.switch-control i{width:36px;height:20px;border-radius:999px;background:#cbd5e1;position:relative;transition:.2s}.switch-control i:after{content:'';position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:2px;top:2px;box-shadow:0 1px 4px rgba(15,23,42,.25);transition:.2s}.switch-control.on{color:#166534}.switch-control.on i{background:#22c55e}.switch-control.on i:after{transform:translateX(16px)}.user-actions{flex-wrap:wrap}.app-dialog{border:0;padding:0;background:transparent;max-width:none}.app-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}.dialog-card{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 70px rgba(15,23,42,.28)}.dialog-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:3px}.dialog-header h2{margin:0}.dialog-header p{margin:4px 0 0;color:#64748b;font-size:13px}.dialog-close{border:0;background:#f1f5f9;color:#475569;width:32px;height:32px;border-radius:50%;font-size:22px;line-height:1}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:14px;margin-top:4px}.permission-picker{display:grid;gap:8px}.permission-picker>strong{font-size:13px}.check-card input,.radio-card input{margin-top:3px}.checkbox-line{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.checkbox-line input{width:auto}.form-help{font-size:12px;color:#64748b;margin:-6px 0 4px}.empty-state{text-align:center;color:#94a3b8;padding:32px!important}.enhanced-version-grid{grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr)}.enhanced-version-card{background:linear-gradient(145deg,#eef2ff,#fff);border-color:#c7d2fe}.enhanced-version-card .version-state{display:flex;justify-content:center;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;color:#64748b}.copy-path-list{display:grid;gap:8px;margin:12px 0 16px}.copy-path-list>div,.command-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:9px 11px}.copy-path-list button,.command-copy button{border:0;background:#e0e7ff;color:#3730a3;padding:6px 9px;border-radius:7px;white-space:nowrap}.compatibility-card{margin-bottom:18px}.compatibility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.compatibility-grid>div{display:grid;gap:5px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:14px}.compatibility-grid span,.compatibility-grid small{color:#64748b;font-size:12px;line-height:1.55}.timeline-changelog{display:grid;gap:16px}.release-card{border:1px solid var(--line);border-radius:14px;padding:17px 18px;background:#fff}.release-card.current{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(59,130,246,.08)}.release-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.release-card>header>div{display:flex;align-items:center;gap:8px}.release-card h3{margin:0;font-size:17px}.release-card time{color:#64748b;font-size:12px}.release-dot{width:10px;height:10px;border-radius:50%;background:#6366f1}.release-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;padding-top:14px}.release-sections h4{margin:0 0 7px;font-size:14px}.release-sections ul{margin:0;padding-left:18px;color:#475569;font-size:13px;line-height:1.7}.hidden{display:none!important}
@media(max-width:1050px){.user-filter-form{grid-template-columns:1fr 1fr 1fr}.compatibility-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.import-metrics{grid-template-columns:repeat(2,1fr)}.field-help-list>div{grid-template-columns:1fr}.user-filter-form{grid-template-columns:1fr}.enhanced-version-grid{grid-template-columns:1fr}.release-sections{grid-template-columns:1fr}.compatibility-grid{grid-template-columns:1fr}.import-confirm-form{align-items:stretch;flex-direction:column}.import-confirm-form fieldset{display:grid}.import-confirm-form .button{width:100%}}
.topbar-link{font-size:13px;color:#475569}.topbar-link:hover{color:#2563eb}

/* v1.5.5 inventory/code bulk operations and rental countdown */
.account-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.account-status-filter-row{flex:1}.bulk-action-form{display:flex;align-items:center;gap:10px;white-space:nowrap}.bulk-selection-summary{font-size:13px;color:var(--muted)}.button.danger{background:#b91c1c;color:#fff;border-color:#b91c1c}.button.danger:hover{background:#991b1b}.button:disabled,button:disabled{cursor:not-allowed;opacity:.5}.account-id-heading,.account-id-cell{white-space:nowrap}.account-id-content{display:inline-flex;align-items:center;gap:9px}.account-id-heading input,.account-id-cell input{width:auto;margin:0;accent-color:var(--primary)}.rental-countdown-cell{min-width:190px}.account-rental-state{display:grid;gap:3px}.account-rental-state strong{font-size:13px;color:#334155;white-space:nowrap}.account-rental-state small{font-size:11px}.account-rental-state.active strong{color:#1d4ed8}.account-rental-state.pending strong{color:#7c3aed}.account-rental-state.offline strong{color:#475569}.account-rental-state.warning strong,.account-rental-state.expired strong{color:#b91c1c}.version-offline-notice{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.version-offline-notice strong{font-size:14px}.version-offline-notice span{font-size:13px}
@media(max-width:900px){.account-list-toolbar{align-items:flex-start;flex-direction:column}.bulk-action-form{width:100%;justify-content:space-between}.rental-countdown-cell{min-width:165px}}
.code-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.code-list-toolbar>div:first-child{display:grid;gap:3px}.code-list-toolbar .muted{font-size:12px;color:var(--muted)}.code-id-heading,.code-id-cell{white-space:nowrap}.code-id-content{display:inline-flex;align-items:center;gap:9px}.code-id-heading input,.code-id-cell input{width:auto;margin:0;accent-color:var(--primary)}.selection-placeholder{display:inline-block;width:13px;height:13px}.code-list-toolbar .bulk-action-form{margin:0}@media(max-width:900px){.code-list-toolbar{align-items:flex-start;flex-direction:column}.code-list-toolbar .bulk-action-form{width:100%;justify-content:space-between}}

/* v1.5.6 product-experience controls */
.password-field{position:relative;display:flex;width:100%;align-items:center}.password-field>input{width:100%;padding-right:48px}.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:#64748b;line-height:1}.password-toggle:hover,.password-toggle.active{background:#eef2ff;color:#3730a3}.password-toggle.compact{position:static;transform:none;flex:0 0 auto}.locked-permission{background:#f8fafc;cursor:default}.locked-permission em{font-style:normal;font-size:10px;padding:2px 5px;border-radius:999px;background:#dbeafe;color:#1d4ed8}.locked-permission input:disabled{opacity:1}

.enhanced-token-card{max-width:720px;margin:0 auto;display:grid;justify-items:center;gap:18px;text-align:center;padding:34px}.token-label{color:var(--muted);font-size:13px}.token-code-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.token-code-row>strong{font-size:clamp(42px,8vw,72px);letter-spacing:.18em;color:#1d4ed8;font-variant-numeric:tabular-nums}.token-cycle{display:flex;align-items:center;gap:16px;text-align:left}.token-cycle p{margin:5px 0 0;color:var(--muted);font-size:13px}.token-ring{--token-progress:1;position:relative;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--primary) calc(var(--token-progress)*1turn),#e2e8f0 0);flex:0 0 auto}.token-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--panel)}.token-ring span{position:relative;z-index:1;font-size:25px;font-weight:800;font-variant-numeric:tabular-nums}.token-refresh-status{min-height:20px;color:var(--muted);font-size:13px}.token-flash{animation:tokenFlash .7s ease}@keyframes tokenFlash{0%{opacity:.35;transform:scale(.97)}100%{opacity:1;transform:scale(1)}}

.image-source-editor{display:grid;gap:10px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.image-source-editor>strong{font-size:14px}.image-source-editor>small{color:var(--muted);line-height:1.55}.image-preview-frame{display:grid;place-items:center;min-height:130px;border:1px dashed #cbd5e1;border-radius:12px;background:#fff;overflow:hidden;padding:10px}.image-preview-frame img{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:8px}.image-preview-frame.qr img{max-height:180px}.image-preview-frame span{color:var(--danger);font-size:13px}.game-cell img{object-fit:cover}

.code-export-actions{flex-wrap:wrap}.code-export-actions form{margin:0}.code-list-toolbar .bulk-action-form{flex-wrap:wrap}

.customer-page{background:radial-gradient(circle at top left,#eef4ff 0,transparent 36%),linear-gradient(180deg,#f8fafc,#eef2f7);min-height:100vh}.customer-layout{width:min(1180px,100%);margin:0 auto;padding:32px 24px}.customer-card.customer-home-card,.modern-result-card{width:100%;max-width:none;border:1px solid rgba(226,232,240,.9);border-radius:24px;padding:clamp(22px,4vw,44px);box-shadow:0 22px 65px rgba(15,23,42,.1);background:rgba(255,255,255,.96)}.customer-home-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:38px;align-items:center}.customer-primary-column{display:grid;gap:22px}.customer-visual-column{min-width:0}.customer-intro-image{display:block;width:100%;max-height:440px;object-fit:cover;border-radius:20px;border:1px solid var(--line)}.customer-brand{align-items:flex-start}.customer-brand h1{font-size:clamp(28px,4vw,46px);line-height:1.15;margin:0}.customer-brand p{font-size:16px;line-height:1.7;margin:8px 0 0}.modern-claim-form{display:grid;gap:9px;padding:18px;border:1px solid #dbe4f0;border-radius:18px;background:#f8fafc}.modern-claim-form>label{font-weight:750}.claim-control-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.claim-control-row input{min-height:54px;font-size:19px;letter-spacing:.08em;text-transform:uppercase;border-radius:13px}.claim-control-row .button{min-height:54px;min-width:142px}.modern-claim-form>small{color:var(--muted)}.customer-help{display:grid;gap:6px}.customer-help h2{margin:0 0 4px}.customer-help p{margin:0;color:#475569;line-height:1.65}.customer-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}.experience-card{height:100%;min-height:210px;border-radius:18px;border:1px solid var(--line);padding:18px;box-shadow:none;background:#fff}.card-eyebrow{display:block;color:#6366f1;font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:7px}.customer-service-card.experience-card{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.customer-service-card .card-bottom-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:16px}.customer-service-card img{width:84px;height:84px;object-fit:contain;border-radius:10px}.promotion-card.experience-card{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:1fr auto;gap:14px 18px;align-items:start}.promotion-card.experience-card>img{width:120px;height:120px;object-fit:cover;border-radius:13px;grid-row:1/3}.promotion-content{display:grid;align-content:start;gap:6px}.promotion-content strong{font-size:18px}.promotion-content p{margin:0;color:#475569;line-height:1.55}.promotion-content time{font-size:12px;color:#64748b}.promotion-action{justify-self:start;align-self:end;min-height:44px}.promotion-code button{min-height:36px}.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.credential-box,.token-box,.rental-timer,.important-notice{border-radius:16px}.secure-copy-row{display:flex;align-items:center;gap:8px;margin-top:7px}.credential-secret-input{min-width:0;flex:1;border:0;background:transparent;padding:0;font-size:18px;font-weight:800;color:var(--text)}.secure-copy-row button,.copy-row button{min-height:40px}.credential-box>small,.rental-timer>small{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.5}.important-notice{padding:16px 18px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.important-notice p{margin:6px 0 0;line-height:1.65}.modern-result-card>.subtle-link{display:block;text-align:center;margin-top:22px}.customer-card button,.customer-card .button,.customer-card input{min-height:44px}

@media(min-width:1200px){.customer-layout{padding:48px 24px}.modern-result-card{padding-left:56px;padding-right:56px}.customer-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1199px){.customer-layout{padding:28px 20px}.customer-home-grid{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:24px}.promotion-card.experience-card{grid-template-columns:100px minmax(0,1fr)}.promotion-card.experience-card>img{width:100px;height:100px}}
@media(max-width:767px){.customer-layout{padding:14px 10px}.customer-card.customer-home-card,.modern-result-card{padding:20px 16px;border-radius:18px}.customer-home-grid,.customer-secondary-grid,.credential-grid{grid-template-columns:1fr}.customer-home-grid{gap:22px}.customer-brand h1{font-size:30px}.claim-control-row{grid-template-columns:1fr}.claim-control-row .button{width:100%}.customer-intro-image{max-height:260px}.promotion-card.experience-card{grid-template-columns:1fr;grid-template-rows:auto}.promotion-card.experience-card>img{grid-row:auto;width:100%;height:170px}.promotion-action{width:100%;justify-content:center}.customer-service-card .card-bottom-actions{align-items:center}.secure-copy-row{flex-wrap:wrap}.credential-secret-input{flex-basis:calc(100% - 48px)}.enhanced-token-card{padding:24px 16px}.token-cycle{align-items:center}.token-code-row>strong{letter-spacing:.1em}.code-export-actions{width:100%}.code-export-actions form,.code-export-actions .button{width:100%}}

/* v1.5.7 plaintext customer credentials and three-source Steam game covers */
.steam-cover-editor{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.steam-cover-editor>.form-grid.two{grid-template-columns:1fr}.steam-cover-editor label small{font-weight:400;color:var(--muted);line-height:1.5}.steam-auto-cover,.effective-cover-preview{display:grid;gap:9px}.steam-auto-cover>div:first-child,.effective-cover-preview>div:first-child{display:grid;gap:3px}.steam-auto-cover small,.effective-cover-preview small,.cover-security-note{color:var(--muted);font-size:12px;line-height:1.5;word-break:break-all}.custom-cover-panel{border:1px solid #d7deea;border-radius:12px;background:#fff;overflow:hidden}.custom-cover-panel>summary{cursor:pointer;padding:12px 14px;font-weight:700;color:#334155}.custom-cover-panel[open]>summary{border-bottom:1px solid var(--line)}.custom-cover-panel>.image-source-editor{border:0;border-radius:0;background:#fff}.steam-auto-cover .image-preview-frame,.effective-cover-preview .image-preview-frame{min-height:160px}.steam-auto-cover .image-preview-frame img,.effective-cover-preview .image-preview-frame img{width:100%;max-height:280px}.game-cell>div{min-width:0}.game-cell .badge+small{display:block;margin-top:5px}.game-result-highlight{display:grid;grid-template-columns:minmax(140px,260px) minmax(0,1fr);gap:18px;align-items:center;padding:0;overflow:hidden}.game-result-highlight>img{display:block;width:100%;height:150px;object-fit:cover;border-right:1px solid #dbe4ff}.game-result-highlight>div{padding:18px 18px 18px 0}.game-result-highlight label{margin-bottom:7px}.credential-secret-input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
@media(max-width:767px){.game-result-highlight{grid-template-columns:1fr}.game-result-highlight>img{height:180px;border-right:0;border-bottom:1px solid #dbe4ff}.game-result-highlight>div{padding:0 16px 16px}.steam-cover-editor{padding:13px}}

/* v1.5.8 compact customer homepage and prominent admin quick actions */
.customer-home-page{display:block;padding:0}.customer-home-layout{width:min(1040px,100%);padding:30px 18px}.customer-card.customer-home-card{width:100%;max-width:1040px;margin:0 auto;padding:30px;border-radius:22px;border:1px solid rgba(226,232,240,.95);box-shadow:0 18px 52px rgba(15,23,42,.09)}.customer-hero-grid{display:grid;grid-template-columns:1fr;gap:22px;align-items:center}.customer-hero-grid.has-image{grid-template-columns:minmax(0,1fr) minmax(220px,300px)}.customer-hero-content{display:grid;gap:20px;min-width:0}.customer-brand-large{margin:0!important;align-items:center}.customer-brand-large .brand-mark{width:44px;height:44px;border-radius:13px;flex:0 0 auto}.customer-brand-large h1{font-size:clamp(30px,4vw,42px)!important;line-height:1.12;letter-spacing:-.03em}.customer-brand-large p{margin-top:7px!important;font-size:15px!important;line-height:1.65}.customer-visual-column{display:grid;place-items:center;min-width:0;min-height:190px;margin:0;padding:12px;border:1px solid #e1e7f0;border-radius:18px;background:linear-gradient(145deg,#f8fafc,#eef3ff);overflow:hidden}.customer-home-card .customer-intro-image{display:block;width:100%;height:190px;max-height:190px;object-fit:contain;border:0;border-radius:13px;background:transparent}.compact-claim-form{margin:0;padding:17px 18px;border-radius:16px;background:#f8fafc}.compact-claim-form .claim-control-row{grid-template-columns:minmax(0,1fr) 146px}.claim-input-shell{position:relative;min-width:0}.claim-input-shell input{padding-left:48px!important;text-align:left!important;letter-spacing:.04em!important}.claim-input-icon{position:absolute;left:15px;top:50%;z-index:1;display:grid;place-items:center;width:22px;height:22px;transform:translateY(-50%);color:#6366f1;pointer-events:none}.claim-input-icon svg,.section-icon svg{width:100%;height:100%;fill:currentColor}.compact-claim-form .claim-control-row input,.compact-claim-form .claim-control-row .button{min-height:52px}.claim-helper{display:flex;align-items:center;gap:6px;color:#64748b!important}.customer-content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-top:20px;align-items:stretch}.customer-content-grid.has-service.has-promotion>.promotion-card{grid-column:1/-1}.customer-home-card .experience-card{height:100%;min-height:210px;margin:0;padding:19px;border-radius:17px;background:#fff}.section-title-with-icon{display:flex;align-items:center;gap:10px;margin-bottom:15px}.section-title-with-icon h2{margin:0;font-size:18px}.section-icon{display:grid;place-items:center;width:29px;height:29px;padding:5px;border-radius:9px;background:#eef2ff;color:#4f46e5;flex:0 0 auto}.instruction-list{display:grid;gap:10px;list-style:none;margin:0;padding:0}.instruction-list li{display:grid;grid-template-columns:25px minmax(0,1fr);gap:9px;align-items:start}.instruction-list li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:800}.instruction-list p{margin:1px 0 0;color:#475569;line-height:1.55}.customer-service-card.experience-card{display:flex;flex-direction:column;justify-content:space-between}.customer-service-card strong{font-size:18px}.customer-service-card p{margin:7px 0 0;color:#64748b;line-height:1.55}.customer-service-card .card-bottom-actions{margin-top:14px}.promotion-card.experience-card{display:grid;grid-template-columns:1fr;grid-template-rows:1fr auto;gap:14px;overflow:hidden;background:linear-gradient(135deg,#fff 0,#f7f9ff 100%)}.promotion-card.experience-card.has-promotion-image{grid-template-columns:minmax(0,1fr) 118px}.promotion-content{display:grid;align-content:start;gap:7px;min-width:0}.promotion-content strong{font-size:20px;line-height:1.35}.promotion-content p{margin:0;color:#475569;line-height:1.55}.promotion-content time{font-size:12px;color:#64748b}.promotion-media{grid-column:2;grid-row:1/3;display:grid;place-items:center;align-self:stretch;min-height:172px;border-radius:14px;background:#eef2ff;overflow:hidden}.promotion-media img{display:block;width:100%;height:100%;object-fit:cover}.promotion-code{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;padding:8px 10px;border:1px dashed #c7d2fe;border-radius:10px;background:#fff}.promotion-code code{font-size:16px;color:#4338ca;font-weight:800}.promotion-code button{margin-left:auto;min-height:34px}.promotion-action{justify-self:stretch;align-self:end;min-height:42px}.promotion-action span{font-size:19px;line-height:1}.customer-home-card .customer-footer{margin-top:19px;padding-top:15px;border-top:1px solid var(--line);text-align:center;color:#94a3b8;font-size:12px}.customer-home-card .customer-footer p{margin:4px 0}

.topbar{height:72px;padding:0 22px;gap:12px;background:rgba(255,255,255,.97);box-shadow:0 3px 14px rgba(15,23,42,.035)}.topbar-actions{display:flex;align-items:center;gap:9px}.topbar-logout{margin:0}.topbar-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid #d7deea;border-radius:11px;padding:9px 13px;background:#fff;color:#334155;font-size:13px;font-weight:750;white-space:nowrap;transition:background .16s,border-color .16s,color .16s,transform .16s,box-shadow .16s}.topbar-action:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.08)}.topbar-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.topbar-action.preview{color:#4338ca;border-color:#a5b4fc;background:#f5f3ff}.topbar-action.preview:hover{background:#eef2ff;border-color:#818cf8}.topbar-action.offline-preview{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.topbar-action.offline-preview:hover{background:#d1fae5;border-color:#6ee7b7}.topbar-action.password:hover{background:#f8fafc;border-color:#b8c3d3}.topbar-action.logout{color:#dc2626;border-color:#fecaca;background:#fffafa}.topbar-action.logout:hover{background:#fef2f2;border-color:#fca5a5}.external-mark{font-size:14px}.topbar-user{display:flex;align-items:center;gap:9px;padding-left:3px;min-width:0}.topbar-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#dbeafe,#ede9fe);color:#3730a3;font-weight:850;border:1px solid #c7d2fe;flex:0 0 auto}.topbar-user-text{display:grid;min-width:0;line-height:1.25}.topbar-user-text strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.topbar-user-text small{color:var(--muted);font-size:11px}.sidebar-footer{padding:12px 6px}.sidebar-version-card{display:flex;align-items:center;gap:10px;padding:11px 10px;border-top:1px solid rgba(148,163,184,.16);color:#cbd5e1}.sidebar-version-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.11);flex:0 0 auto}.sidebar-version-card div{display:grid;gap:3px}.sidebar-version-card strong{font-size:12px}.sidebar-version-card small{font-size:11px;color:#94a3b8}

@media(max-width:1180px){.topbar{padding:0 16px}.topbar-action{padding:9px 10px}.topbar-user-text{display:none}}
@media(max-width:980px){.topbar-actions{gap:6px}.topbar-action{width:40px;padding:0}.topbar-action>span{display:none}.topbar-user{margin-left:2px}.customer-hero-grid.has-image{grid-template-columns:minmax(0,1fr) minmax(190px,250px)}}
@media(max-width:780px){.customer-content-grid.has-service.has-promotion>.promotion-card{grid-column:auto}.topbar{height:64px}.topbar-spacer{min-width:0}.topbar-actions{margin-left:auto}.topbar-user{display:none}.customer-home-layout{padding:16px 10px}.customer-card.customer-home-card{padding:22px 16px;border-radius:18px}.customer-hero-grid.has-image{grid-template-columns:1fr;gap:16px}.customer-visual-column{min-height:0}.customer-home-card .customer-intro-image{height:auto;max-height:210px}.compact-claim-form .claim-control-row{grid-template-columns:1fr}.compact-claim-form .claim-control-row .button{width:100%}.promotion-card.experience-card.has-promotion-image{grid-template-columns:minmax(0,1fr) 110px}.promotion-media{min-height:160px}}
@media(max-width:520px){.customer-brand-large{align-items:flex-start}.customer-brand-large h1{font-size:29px!important}.customer-brand-large p{font-size:14px!important}.compact-claim-form{padding:15px}.customer-content-grid{grid-template-columns:1fr}.promotion-card.experience-card.has-promotion-image{grid-template-columns:1fr;grid-template-rows:auto auto auto}.promotion-media{grid-column:1;grid-row:2;height:150px;min-height:0}.promotion-action{grid-row:3}.topbar-action.preview{display:inline-flex}}

/* v1.5.8 redemption-result plaintext credentials and polished copy actions */
.credential-plaintext-grid{align-items:stretch}.credential-plaintext-card{display:grid;gap:13px;margin-bottom:0;padding:18px;border-color:#dbe4ff;background:linear-gradient(180deg,#fff,#f8faff);box-shadow:0 8px 24px rgba(37,99,235,.055)}.credential-card-heading{display:flex;align-items:center;gap:9px}.credential-card-heading label{margin:0;color:#475569;font-weight:750;font-size:13px}.credential-card-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eef2ff;color:#4f46e5}.credential-card-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.credential-value-row{display:flex;align-items:center;gap:12px;min-width:0}.credential-plaintext-value,.credential-plaintext-input{min-width:0;flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:18px;font-weight:800;letter-spacing:.02em;color:#172554;word-break:break-all}.credential-plaintext-input{height:44px;border:1px solid #dbe4ff;border-radius:10px;padding:9px 11px;background:#fff}.credential-plaintext-input[readonly]{cursor:text}.credential-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;flex:0 0 auto;border:1px solid #c7d2fe;border-radius:10px;padding:9px 13px;background:#eef2ff;color:#4338ca;font-weight:750;line-height:1;transition:background .16s,border-color .16s,color .16s,transform .16s,box-shadow .16s}.credential-copy-button:hover{background:#e0e7ff;border-color:#a5b4fc;color:#3730a3;transform:translateY(-1px);box-shadow:0 7px 16px rgba(79,70,229,.12)}.credential-copy-button:focus-visible{outline:3px solid rgba(99,102,241,.2);outline-offset:2px}.credential-copy-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.credential-copy-button [data-button-label]{white-space:nowrap}
@media(max-width:520px){.credential-value-row{align-items:stretch;flex-direction:column}.credential-copy-button{width:100%;min-height:44px}.credential-plaintext-value,.credential-plaintext-input{width:100%;font-size:16px}.credential-plaintext-input{height:46px}}

/* v1.5.10 import/password/game-management and claim-card refinements */
.credential-card-heading label{font-size:18px;font-weight:800;color:#172554;line-height:1.35}.credential-bordered-row{border:1px solid #cfd9f5;border-radius:12px;padding:8px 9px 8px 13px;background:#fff;min-height:58px}.credential-bordered-row:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px rgba(99,102,241,.12)}.credential-bordered-row .credential-plaintext-value{font-size:18px;font-weight:800;line-height:1.4}.credential-plaintext-card{grid-template-rows:auto 1fr}
.games-page-heading{margin-bottom:16px}.games-workspace{display:grid;grid-template-columns:minmax(420px,.95fr) minmax(600px,1.35fr);gap:18px;align-items:stretch;min-height:calc(100vh - 145px)}.game-editor-panel,.games-list-panel{margin-bottom:0;min-height:0;height:calc(100vh - 145px)}.game-editor-panel{display:flex;flex-direction:column;padding:0;overflow:hidden}.game-panel-header,.games-list-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line);background:#fff;flex:0 0 auto}.game-panel-header h2,.games-list-toolbar h2{margin:0 0 4px}.game-panel-header p,.games-list-toolbar p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.game-form-scroll{display:grid;gap:15px;padding:18px 20px;overflow:auto;min-height:0}.game-form-section{display:grid;gap:12px}.section-kicker{font-size:12px;font-weight:800;letter-spacing:.04em;color:#4f46e5;text-transform:uppercase}.game-core-grid{align-items:start}.compact-cover-editor{padding:14px;gap:12px}.compact-game-cover-preview{min-height:120px!important;max-height:210px}.compact-game-cover-preview img{max-height:205px!important;object-fit:contain!important}.game-advanced-options{margin:0}.game-advanced-options>summary{font-weight:750}.advanced-options-body{display:grid;gap:14px;padding-top:14px}.game-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 20px rgba(15,23,42,.035);flex:0 0 auto}.games-list-panel{display:flex;flex-direction:column;padding:0;overflow:hidden}.games-list-toolbar{align-items:center}.games-page-size-form label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#475569}.games-page-size-form select{width:auto;min-width:92px;padding:8px 9px}.games-list-scroll{overflow:auto;min-height:0;flex:1}.games-table{min-width:760px}.games-table thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.games-table .game-cell img{width:58px;height:42px;object-fit:cover;border-radius:8px}.games-table .game-cell small{display:block;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.games-pagination{flex:0 0 auto;margin:0;padding:13px 18px;border-top:1px solid var(--line);background:#fff}.import-security-notice span{line-height:1.6}
@media(max-width:1180px){.games-workspace{grid-template-columns:minmax(360px,.9fr) minmax(520px,1.1fr)}}
@media(max-width:980px){.games-workspace{grid-template-columns:1fr;min-height:0}.game-editor-panel,.games-list-panel{height:auto;max-height:none}.game-form-scroll,.games-list-scroll{overflow:visible}.games-list-scroll{overflow-x:auto}.games-table thead th{position:static}.game-form-actions{position:sticky;bottom:0;z-index:3}}
@media(max-width:640px){.game-core-grid{grid-template-columns:1fr}.game-core-grid .span-2{grid-column:auto}.game-panel-header,.games-list-toolbar{padding:15px;align-items:stretch;flex-direction:column}.game-form-scroll{padding:15px}.game-form-actions{padding:13px 15px;flex-direction:column;align-items:stretch}.game-form-actions .button{width:100%}.credential-card-heading label,.credential-bordered-row .credential-plaintext-value{font-size:16px}.credential-bordered-row{align-items:stretch;flex-direction:column;padding:11px}.credential-bordered-row .credential-copy-button{width:100%}}

/* v1.5.10 deletion semantics and premium redemption-result experience */
.claim-result-page{display:block;padding:0;background:
  radial-gradient(circle at 12% 8%,rgba(96,165,250,.20),transparent 30%),
  radial-gradient(circle at 88% 18%,rgba(139,92,246,.16),transparent 28%),
  linear-gradient(180deg,#f7f9ff 0,#f8fafc 52%,#f3f6fb 100%)}
.claim-result-layout{display:block;width:min(1040px,100%);margin:0 auto;padding:30px 18px 42px}
.premium-result-card{width:100%;max-width:980px;margin:0 auto;padding:0;overflow:hidden;border:1px solid rgba(214,223,239,.95);border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 28px 80px rgba(31,41,73,.12)}
.result-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px;align-items:center;min-height:246px;padding:34px 38px;overflow:hidden;background:
  radial-gradient(circle at 82% 18%,rgba(255,255,255,.34),transparent 24%),
  linear-gradient(135deg,#1d4ed8 0,#4f46e5 54%,#7c3aed 100%);color:#fff}
.result-hero::before,.result-hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none}.result-hero::before{width:260px;height:260px;right:-110px;top:-135px;border:1px solid rgba(255,255,255,.18)}.result-hero::after{width:180px;height:180px;right:80px;bottom:-125px;background:rgba(255,255,255,.07)}
.result-hero-copy,.result-cover-frame,.result-cover-placeholder{position:relative;z-index:1}.result-status-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:18px}.result-success-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:#16a34a;box-shadow:0 10px 24px rgba(15,23,42,.16)}.result-success-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.result-status-badge,.result-mode-badge{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:750;letter-spacing:.02em}.result-status-badge{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.26)}.result-mode-badge{background:#fff;color:#4338ca}.result-hero h1{margin:0;font-size:clamp(34px,5vw,50px);line-height:1.08;letter-spacing:-.035em}.result-hero p{max-width:590px;margin:13px 0 0;color:rgba(255,255,255,.82);font-size:15px;line-height:1.7}.result-game-name{display:flex;align-items:baseline;gap:10px;margin-top:23px}.result-game-name span{font-size:12px;color:rgba(255,255,255,.7)}.result-game-name strong{font-size:19px;color:#fff}.result-cover-frame{margin:0;padding:8px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.13);box-shadow:0 18px 38px rgba(15,23,42,.22);backdrop-filter:blur(8px)}.result-cover-frame img{display:block;width:100%;height:136px;object-fit:cover;border-radius:14px;background:#e8edff}.result-cover-frame figcaption{padding:9px 5px 3px;color:rgba(255,255,255,.9);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-cover-placeholder{display:grid;place-items:center;align-content:center;width:190px;height:156px;justify-self:end;border:1px solid rgba(255,255,255,.25);border-radius:22px;background:rgba(255,255,255,.10);box-shadow:0 18px 38px rgba(15,23,42,.18)}.result-cover-placeholder span{font-size:52px;font-weight:900;letter-spacing:-.08em}.result-cover-placeholder small{margin-top:3px;color:rgba(255,255,255,.68);font-size:10px;letter-spacing:.18em}
.result-alert{margin:22px 30px 0}.credential-section{padding:30px 34px 8px}.result-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}.result-section-heading h2{margin:3px 0 0;font-size:23px;letter-spacing:-.02em}.result-section-kicker{color:#6366f1;font-size:12px;font-weight:800;letter-spacing:.12em}.result-security-note{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid #dbe4ff;border-radius:999px;background:#f7f9ff;color:#64748b;font-size:12px}.premium-credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.premium-credential-card{position:relative;overflow:hidden;gap:15px!important;padding:19px!important;border:1px solid #dae3f4!important;border-radius:18px!important;background:linear-gradient(180deg,#fff 0,#f9fbff 100%)!important;box-shadow:0 12px 28px rgba(30,64,175,.065)!important}.premium-credential-card::after{content:"";position:absolute;width:84px;height:84px;right:-38px;top:-42px;border-radius:50%;background:rgba(99,102,241,.06)}.premium-credential-card.password-card::after{background:rgba(14,165,233,.07)}.premium-credential-card .credential-card-heading{position:relative;z-index:1}.premium-credential-card .credential-card-heading>div{display:grid;gap:2px}.premium-credential-card .credential-card-heading label{font-size:16px!important}.premium-credential-card .credential-card-heading small{color:#94a3b8;font-size:11px}.credential-card-icon.account{background:#eef2ff;color:#4f46e5}.credential-card-icon.password{background:#ecfeff;color:#0891b2}.premium-credential-value{position:relative;z-index:1;min-height:62px;padding:9px 9px 9px 14px!important;border-color:#d8e0f1!important;border-radius:13px!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.premium-credential-value .credential-plaintext-value{font-size:18px!important;color:#111c3a!important}.premium-credential-card .credential-copy-button{min-height:42px;border-color:#c7d2fe;background:linear-gradient(180deg,#f4f6ff,#e9edff);box-shadow:0 5px 13px rgba(79,70,229,.08)}.premium-credential-card.password-card .credential-copy-button{border-color:#bae6fd;background:linear-gradient(180deg,#f0fdff,#e6f7ff);color:#0e7490}.premium-credential-card.password-card .credential-copy-button:hover{border-color:#7dd3fc;background:#dff7ff;color:#155e75}
.result-utility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:15px 34px 8px}.result-utility-grid.single{grid-template-columns:1fr}.premium-utility-card{position:relative;display:grid;align-content:start;min-height:205px;margin:0!important;padding:19px!important;border:1px solid #dde5f2!important;border-radius:18px!important;text-align:left!important;overflow:hidden}.token-utility-card{background:linear-gradient(145deg,#f8fbff,#eef5ff)!important}.timer-utility-card{background:linear-gradient(145deg,#fbf9ff,#f2efff)!important}.premium-utility-card::after{content:"";position:absolute;width:120px;height:120px;right:-58px;bottom:-64px;border-radius:50%;background:rgba(37,99,235,.06)}.timer-utility-card::after{background:rgba(124,58,237,.07)}.utility-card-heading{display:flex;align-items:center;gap:11px;position:relative;z-index:1}.utility-card-heading>div{display:grid;gap:2px}.utility-card-heading label{margin:0!important;color:#334155!important;font-size:14px!important;font-weight:800}.utility-card-heading small{color:#94a3b8;font-size:11px}.utility-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:#2563eb;box-shadow:0 7px 18px rgba(37,99,235,.10)}.timer-utility-card .utility-icon{color:#7c3aed}.utility-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.premium-utility-card>strong{position:relative;z-index:1;display:block;margin:19px 0 8px}.token-utility-card>strong{font-size:38px!important;letter-spacing:.18em!important;color:#172554!important}.timer-utility-card>strong{font-size:30px!important;color:#5b21b6!important;letter-spacing:-.02em}.premium-utility-card .token-meta{position:relative;z-index:1;justify-content:flex-start;margin:0 0 15px;color:#64748b}.utility-action{position:relative;z-index:1;justify-self:start;margin-top:auto}.timer-footnote{position:relative;z-index:1;display:block;color:#64748b;line-height:1.55}
.premium-notice{display:grid;grid-template-columns:38px minmax(0,1fr);gap:13px;align-items:start;margin:17px 34px 8px;padding:16px 18px;border:1px solid #fde7b2;border-radius:16px;background:linear-gradient(135deg,#fffbeb,#fff8e6)}.notice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f59e0b;color:#fff;font-weight:900;box-shadow:0 7px 16px rgba(245,158,11,.18)}.premium-notice strong{display:block;color:#92400e;font-size:15px}.premium-notice p{margin:5px 0 0;color:#78350f;line-height:1.65;font-size:13px}.premium-secondary-grid{padding:9px 34px 0}.premium-secondary-grid .experience-card{border:1px solid #e2e8f0;box-shadow:none}.result-bottom-actions{display:flex;justify-content:center;padding:22px 34px 4px}.restart-claim-button{gap:8px;min-height:44px;padding-inline:17px}.restart-claim-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.premium-result-footer{margin:17px 34px 0!important;padding:17px 0 23px!important}.premium-result-footer p{margin:4px 0!important}
@media(max-width:780px){.claim-result-layout{padding:15px 9px 26px}.premium-result-card{border-radius:20px}.result-hero{grid-template-columns:1fr;gap:20px;min-height:0;padding:27px 22px}.result-cover-frame,.result-cover-placeholder{width:100%;max-width:none;justify-self:stretch}.result-cover-frame img{height:180px}.result-cover-placeholder{height:132px}.result-alert{margin:17px 18px 0}.credential-section{padding:24px 18px 5px}.result-section-heading{align-items:flex-start;flex-direction:column;gap:9px}.premium-credential-grid,.result-utility-grid{grid-template-columns:1fr}.result-utility-grid{padding:12px 18px 5px}.premium-notice{margin:14px 18px 5px}.premium-secondary-grid{padding:8px 18px 0}.result-bottom-actions{padding:20px 18px 2px}.premium-result-footer{margin-inline:18px!important}.token-utility-card>strong{font-size:34px!important}}
@media(max-width:520px){.result-hero{padding:24px 18px}.result-hero h1{font-size:34px}.result-status-row{gap:7px}.result-status-badge,.result-mode-badge{font-size:11px}.premium-credential-card{padding:16px!important}.premium-credential-value{align-items:stretch!important;flex-direction:column!important;padding:12px!important}.premium-credential-value .credential-copy-button{width:100%}.premium-credential-value .credential-plaintext-value{font-size:16px!important}.premium-utility-card{min-height:190px}.token-utility-card>strong{font-size:30px!important;letter-spacing:.12em!important}.timer-utility-card>strong{font-size:25px!important}.premium-notice{grid-template-columns:32px minmax(0,1fr);padding:14px}.notice-icon{width:30px;height:30px}.restart-claim-button{width:100%}}

/* v1.5.12 hour-minute controls and compact single-screen redemption layout */
.duration-fieldset{display:grid;gap:8px;margin:0;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.duration-fieldset legend{padding:0 6px;color:#334155;font-weight:750}.duration-fieldset>small{color:var(--muted);line-height:1.55}.duration-parts{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:end}.duration-parts label{display:grid;gap:6px;margin:0}.duration-parts label>span{color:#64748b;font-size:12px;font-weight:750}.duration-parts input{width:100%;min-width:0}.duration-separator{padding-bottom:12px;color:#94a3b8;font-size:19px;font-weight:800}.renewal-form{align-items:center;gap:7px}.renewal-duration{display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #dce3ed;border-radius:9px;background:#fff}.renewal-duration label{display:flex;align-items:center;gap:4px;margin:0;color:#64748b;font-size:11px;white-space:nowrap}.renewal-duration .tiny-input{width:48px;min-width:48px;padding:5px 6px;text-align:center}.renewal-form>button{min-height:34px}

.compact-claim-page{min-height:100dvh}.compact-claim-layout{width:min(940px,100%);padding:18px 14px 24px}.compact-result-card{max-width:900px;border-radius:22px}.compact-result-hero{grid-template-columns:minmax(0,1fr) 136px;min-height:154px;padding:22px 26px;gap:20px}.compact-status-row{margin-bottom:10px}.compact-success-title{display:flex;align-items:baseline;gap:13px;min-width:0}.compact-success-title h1{font-size:clamp(29px,4vw,40px)}.compact-success-title>strong{max-width:360px;overflow:hidden;color:rgba(255,255,255,.92);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.compact-result-hero p{margin-top:7px;font-size:13px;line-height:1.5}.compact-cover-frame{width:136px;padding:6px;border-radius:16px}.compact-cover-frame img{height:78px;border-radius:11px}.compact-cover-frame figcaption{display:none}.compact-cover-placeholder{width:112px;height:88px;border-radius:17px}.compact-cover-placeholder span{font-size:38px}.compact-result-alert{margin:10px 18px 0;padding:9px 12px;font-size:12px}.compact-credential-section{padding:15px 22px 4px}.compact-section-heading{align-items:center;margin-bottom:9px}.compact-section-heading h2{margin:1px 0 0;font-size:17px}.compact-section-heading .result-section-kicker{font-size:10px}.compact-section-heading .result-security-note{min-height:25px;padding:3px 8px;font-size:10px}.compact-credential-grid{display:grid;grid-template-columns:1fr;gap:7px}.compact-credential-row{display:grid!important;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px!important;min-height:57px;padding:8px 9px!important;border-radius:13px!important;box-shadow:none!important}.compact-credential-row::after{display:none}.compact-credential-label{gap:7px}.compact-credential-label .credential-card-icon{width:29px;height:29px}.compact-credential-label label{font-size:13px!important}.compact-credential-row>.credential-plaintext-value{font-size:17px!important;color:#111c3a;word-break:break-all}.compact-credential-row>.credential-copy-button{min-height:37px;padding:8px 11px}.compact-utility-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:8px;padding:8px 22px 3px}.compact-utility-grid.single{grid-template-columns:1fr}.compact-token-card,.compact-timer-card{min-height:112px!important;padding:12px 14px!important;border-radius:14px!important;align-content:stretch}.compact-token-card::after,.compact-timer-card::after{display:none}.compact-utility-heading{gap:8px}.compact-utility-heading .utility-icon{width:31px;height:31px;border-radius:9px;box-shadow:none}.compact-utility-heading .utility-icon svg{width:17px;height:17px}.compact-utility-heading label{font-size:12px!important}.compact-utility-heading small{font-size:10px}.compact-token-value-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.compact-token-value-row>strong{margin:0!important;color:#172554!important;font-size:27px!important;letter-spacing:.16em!important}.compact-token-actions{display:flex;gap:6px}.compact-token-actions .button{min-height:35px;padding:7px 10px;font-size:11px}.compact-daily-remaining{margin-top:5px;color:#64748b;font-size:10px}.compact-timer-card>strong{margin:13px 0 0!important;font-size:25px!important}.compact-notice{grid-template-columns:27px minmax(0,1fr);gap:9px;margin:8px 22px 3px;padding:9px 12px;border-radius:12px}.compact-notice .notice-icon{width:26px;height:26px;border-radius:8px;font-size:12px;box-shadow:none}.compact-notice strong{font-size:12px}.compact-notice p{margin-top:2px;font-size:11px;line-height:1.4}.compact-token-error{margin:7px 22px 0;padding:8px 10px;font-size:11px}.compact-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:7px 22px 1px}.compact-secondary-grid .experience-card{min-height:0;margin:0;padding:11px 12px;border-radius:13px;gap:9px}.compact-support-card{display:flex;align-items:center;justify-content:space-between}.compact-support-card strong,.compact-promotion-card strong{font-size:12px}.compact-support-card p,.compact-promotion-card p{margin:2px 0;color:#64748b;font-size:10px;line-height:1.35}.compact-support-card .button,.compact-promotion-card .button{min-height:34px;padding:7px 10px;font-size:11px}.compact-promotion-card{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center}.compact-promotion-card>img{width:50px;height:50px;border-radius:10px;object-fit:cover}.compact-promotion-card .promotion-content{min-width:0}.compact-promotion-card .promotion-code{margin-top:4px;font-size:10px}.compact-promotion-card .promotion-code button{padding:3px 6px}.compact-result-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px 13px}.compact-result-bottom .restart-claim-button{min-height:36px;padding:7px 11px;font-size:11px}.compact-result-footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:0!important;padding:0!important;border:0!important;color:#94a3b8;font-size:10px}.compact-result-footer span,.compact-result-footer a{white-space:nowrap}

@media(max-width:780px){
  .compact-claim-page{background:#eef3fb}.compact-claim-layout{width:100%;padding:0}.compact-result-card{min-height:100dvh;border:0;border-radius:0;box-shadow:none}.compact-result-hero{grid-template-columns:minmax(0,1fr) 64px;min-height:104px;padding:13px 15px;gap:10px}.compact-result-hero::before,.compact-result-hero::after{display:none}.compact-status-row{gap:5px;margin-bottom:5px}.compact-status-row .result-success-icon{width:28px;height:28px;border-radius:50%}.compact-status-row .result-success-icon svg{width:18px;height:18px}.compact-status-row .result-status-badge,.compact-status-row .result-mode-badge{min-height:21px;padding:2px 7px;font-size:9px}.compact-success-title{display:grid;gap:1px}.compact-success-title h1{font-size:24px}.compact-success-title>strong{font-size:11px;max-width:240px}.compact-result-hero p{margin-top:3px;font-size:10px;line-height:1.35}.compact-cover-frame{width:64px;padding:3px;border-radius:11px}.compact-cover-frame img{height:54px;border-radius:8px}.compact-cover-placeholder{width:58px;height:54px;border-radius:11px}.compact-cover-placeholder span{font-size:25px}.compact-result-alert{margin:5px 8px 0;padding:6px 8px;font-size:9px}.compact-credential-section{padding:8px 9px 2px}.compact-section-heading{margin-bottom:5px}.compact-section-heading h2{font-size:13px}.compact-section-heading .result-section-kicker{display:none}.compact-section-heading .result-security-note{min-height:20px;padding:2px 6px;font-size:8px}.compact-credential-grid{gap:5px}.compact-credential-row{grid-template-columns:105px minmax(0,1fr) 82px;gap:6px!important;min-height:47px;padding:6px 7px!important;border-radius:10px!important}.compact-credential-label .credential-card-icon{width:25px;height:25px;border-radius:8px}.compact-credential-label .credential-card-icon svg{width:15px;height:15px}.compact-credential-label label{font-size:11px!important}.compact-credential-row>.credential-plaintext-value{font-size:14px!important}.compact-credential-row>.credential-copy-button{width:auto!important;min-height:32px;padding:6px 8px;font-size:10px}.compact-credential-row>.credential-copy-button svg{width:14px;height:14px}.compact-utility-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)!important;gap:5px;padding:5px 9px 1px}.compact-utility-grid.single{grid-template-columns:1fr!important}.compact-token-card,.compact-timer-card{min-height:90px!important;padding:8px 9px!important;border-radius:10px!important}.compact-utility-heading .utility-icon{width:25px;height:25px}.compact-utility-heading label{font-size:10px!important}.compact-utility-heading small{font-size:8px}.compact-token-value-row{gap:5px;margin-top:5px}.compact-token-value-row>strong{font-size:20px!important;letter-spacing:.12em!important}.compact-token-actions{gap:4px}.compact-token-actions .button{min-height:29px;padding:5px 7px;font-size:9px}.compact-daily-remaining{margin-top:2px;font-size:8px}.compact-timer-card>strong{margin-top:10px!important;font-size:18px!important}.compact-notice{grid-template-columns:22px minmax(0,1fr);gap:6px;margin:5px 9px 1px;padding:6px 8px;border-radius:9px}.compact-notice .notice-icon{width:21px;height:21px;font-size:9px}.compact-notice strong{font-size:10px}.compact-notice p{margin-top:1px;font-size:8.5px;line-height:1.3}.compact-token-error{margin:4px 9px 0;padding:5px 7px;font-size:9px}.compact-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px 9px 0}.compact-secondary-grid .experience-card{padding:7px 8px;border-radius:9px;gap:5px}.compact-secondary-grid .card-eyebrow{font-size:8px}.compact-support-card{align-items:center}.compact-support-card strong,.compact-promotion-card strong{display:block;font-size:9.5px;line-height:1.2}.compact-support-card p,.compact-promotion-card p{display:none}.compact-support-card .button,.compact-promotion-card .button{min-height:27px;padding:4px 6px;font-size:8.5px}.compact-promotion-card{grid-template-columns:34px minmax(0,1fr) auto}.compact-promotion-card>img{width:34px;height:34px;border-radius:7px}.compact-promotion-card .promotion-code{margin-top:2px;font-size:8px}.compact-promotion-card .promotion-code button{padding:2px 4px;font-size:8px}.compact-result-bottom{padding:6px 9px 8px;gap:7px}.compact-result-bottom .restart-claim-button{min-height:29px;padding:5px 8px;font-size:9px}.compact-result-bottom .restart-claim-button svg{width:13px;height:13px}.compact-result-footer{gap:4px;font-size:8px;line-height:1.2}.compact-result-footer span:first-child{display:none}
}

@media(max-width:520px){
  .duration-parts{grid-template-columns:1fr auto 1fr}.renewal-form{align-items:stretch;flex-direction:column}.renewal-duration{justify-content:center}.renewal-form>button{width:100%}
  .compact-result-hero{padding:11px 12px}.compact-success-title h1{font-size:22px}.compact-credential-row{grid-template-columns:94px minmax(0,1fr) 74px}.compact-credential-row>.credential-copy-button{min-height:29px;padding:5px 6px}.compact-credential-row>.credential-copy-button svg{display:none}.compact-token-actions .token-copy-button{font-weight:800}.compact-secondary-grid{grid-template-columns:1fr}.compact-secondary-grid:has(.compact-support-card + .compact-promotion-card){grid-template-columns:repeat(2,minmax(0,1fr))}.compact-result-footer{max-width:50%;justify-content:flex-end}
}

@media(max-width:390px), (max-width:520px) and (max-height:760px){
  .compact-result-hero{min-height:91px;padding:9px 10px}.compact-status-row{margin-bottom:3px}.compact-status-row .result-success-icon{width:24px;height:24px}.compact-success-title h1{font-size:20px}.compact-result-hero p{display:none}.compact-cover-frame,.compact-cover-placeholder{width:52px}.compact-cover-frame img,.compact-cover-placeholder{height:45px}.compact-credential-section{padding-top:6px}.compact-section-heading{margin-bottom:3px}.compact-credential-row{min-height:42px;padding:4px 6px!important}.compact-credential-label .credential-card-icon{width:22px;height:22px}.compact-credential-row>.credential-plaintext-value{font-size:13px!important}.compact-utility-grid{padding-top:4px}.compact-token-card,.compact-timer-card{min-height:79px!important;padding:6px 7px!important}.compact-token-value-row>strong{font-size:18px!important}.compact-token-actions .button{min-height:26px;padding:4px 5px}.compact-notice{margin-top:4px;padding:5px 7px}.compact-secondary-grid{padding-top:4px}.compact-result-bottom{padding-top:5px;padding-bottom:6px}.compact-result-footer{font-size:7.5px}
}


/* v1.5.12 offline inventory workflow */
.inventory-filter-grid{display:grid;grid-template-columns:minmax(170px,1fr) minmax(210px,1.25fr) repeat(3,minmax(140px,.8fr)) auto;gap:12px;align-items:end;margin-top:12px}.inventory-filter-grid label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.inventory-filter-grid input,.inventory-filter-grid select{min-height:42px}.inventory-filter-actions{display:flex;gap:8px;align-items:center}.account-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.offline-batch-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.offline-batch-form label{display:grid;gap:3px;font-size:11px;color:#475569}.offline-batch-form label>input,.offline-batch-form label>select{width:78px;min-height:34px;padding:6px 8px}.offline-batch-form label:first-of-type{display:flex;align-items:center;gap:5px}.offline-batch-form label:first-of-type input{width:58px}.offline-batch-form>input[type=text]{width:180px;min-height:34px;padding:6px 9px}.offline-batch-form .button{min-height:36px}.status-cooldown{background:#dcfce7;color:#166534}.offline-link-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.offline-link-card strong{display:block;color:#1e3a8a}.offline-link-card p{margin:3px 0 0;color:#475569;font-size:13px}.offline-home-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;color:var(--primary);font-weight:700}.offline-tutorial-actions{display:flex;gap:10px;flex-wrap:wrap}.offline-session-timer strong{font-variant-numeric:tabular-nums}.offline-rule-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.offline-rule-list li{display:flex;gap:8px;align-items:flex-start;color:#475569;font-size:13px}.offline-rule-list li::before{content:'✓';color:#059669;font-weight:800}.offline-mode-banner{border-color:#a7f3d0;background:linear-gradient(135deg,#ecfdf5,#eff6ff)}
@media(max-width:1100px){.inventory-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-filter-actions{grid-column:1/-1}.account-list-toolbar{align-items:flex-start}.account-bulk-actions{width:100%;justify-content:flex-start}.offline-batch-form{width:100%}}
@media(max-width:700px){.inventory-filter-grid{grid-template-columns:1fr}.inventory-filter-actions{grid-column:auto}.offline-batch-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.offline-batch-form>input[type=text],.offline-batch-form .bulk-selection-summary,.offline-batch-form .button{grid-column:1/-1;width:100%}.offline-batch-form label>input,.offline-batch-form label>select{width:100%}.account-bulk-actions{display:grid}.bulk-action-form{justify-content:space-between}.offline-link-card{align-items:flex-start;flex-direction:column}}
/* v1.5.12 searchable game-group filter without a third-party component. */
.game-filter-field{position:relative}.game-filter-field [data-option-search]{margin-bottom:6px}.game-filter-field .search-empty{font-size:12px;color:#94a3b8;margin-top:4px}.game-filter-field option.hidden{display:none}

/* v1.5.13 account inventory reliability and selectable page size */
.account-list-tools{display:flex;align-items:center;justify-content:center;white-space:nowrap}
.account-page-size-form label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}
.account-page-size-form select{width:auto;min-width:88px;min-height:36px;padding:6px 28px 6px 10px}
@media(max-width:1100px){.account-list-tools{justify-content:flex-start}.account-page-size-form{width:100%}.account-list-toolbar{flex-wrap:wrap}}
@media(max-width:700px){.account-list-tools,.account-page-size-form{width:100%}.account-page-size-form label{justify-content:space-between}.account-page-size-form select{min-width:110px}}


/* v1.5.14 direct-order claim regression and admin usability */
@media(max-width:1320px){.topbar-action{padding-inline:10px}.topbar-actions{gap:7px}}
@media(max-width:1120px){.topbar-action{width:40px;padding:0}.topbar-action>span{display:none}}

/* v1.5.16 responsive customer experience: separate desktop/mobile compositions */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.customer-v1516{font-size:var(--customer-body-desktop,16px);background:linear-gradient(145deg,#eef3fb 0%,#f8faff 52%,#eef2ff 100%);color:#111827}
.customer-v1516 svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-v1516 button:focus-visible,.customer-v1516 a:focus-visible,.customer-v1516 input:focus-visible{outline:3px solid color-mix(in srgb,var(--customer-primary,#3563e9) 35%,transparent);outline-offset:2px}
.customer-v1516 code{font-family:inherit}
.entry-v1516-page{display:grid;place-items:center;min-height:100vh;padding:32px}
.entry-v1516-layout{width:min(1120px,100%);margin:auto;padding:0}
.entry-v1516-card{width:100%;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.2);border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(37,55,95,.13)}
.entry-v1516-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;min-height:220px;padding:38px 46px;overflow:hidden;color:#fff;background:linear-gradient(125deg,var(--customer-primary,#3563e9),var(--customer-secondary,#7652e8))}
.entry-v1516-hero::before,.entry-v1516-hero::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.09);pointer-events:none}.entry-v1516-hero::before{width:320px;height:320px;right:-95px;top:-175px}.entry-v1516-hero::after{width:210px;height:210px;right:130px;bottom:-150px}
.entry-v1516-hero-copy,.entry-v1516-visual,.entry-v1516-decor{position:relative;z-index:1}.entry-v1516-brand-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.entry-v1516-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.96);color:var(--customer-primary,#3563e9);font-size:17px;font-weight:900;box-shadow:0 10px 25px rgba(13,28,74,.16)}.entry-v1516-logo.offline{color:#059669}.entry-v1516-mode-chip{display:inline-flex;align-items:center;min-height:34px;padding:6px 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.16);font-weight:750;backdrop-filter:blur(8px)}
.entry-v1516-hero h1{margin:0;font-size:44px;line-height:1.12;letter-spacing:-.03em}.entry-v1516-hero p{max-width:650px;margin:12px 0 0;color:rgba(255,255,255,.88);font-size:17px;line-height:1.65}.entry-v1516-visual{justify-self:end;width:230px;margin:0}.entry-v1516-visual img{display:block;width:100%;max-height:150px;object-fit:contain;border-radius:18px;background:rgba(255,255,255,.12);padding:8px}.entry-v1516-decor{justify-self:end;display:grid;place-items:center;width:150px;height:150px;border:1px solid rgba(255,255,255,.24);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.25),rgba(255,255,255,.08));box-shadow:inset 0 1px rgba(255,255,255,.2)}.entry-v1516-decor span{font-size:52px;font-weight:900;color:rgba(255,255,255,.88)}
.offline-entry-v1516-hero{background:linear-gradient(125deg,#047857,#0f766e 48%,var(--customer-primary,#3563e9))}
.entry-v1516-body{padding:30px 34px 22px}.entry-v1516-error{margin:0 0 18px}.entry-v1516-claim-panel{padding:24px;border:1px solid #e5eaf3;border-radius:20px;background:#fbfcff;box-shadow:0 8px 28px rgba(30,64,175,.05)}.entry-v1516-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.entry-v1516-section-heading h2{margin:2px 0 0;font-size:21px}.entry-v1516-kicker{color:var(--customer-primary,#3563e9);font-size:12px;font-weight:800;letter-spacing:.1em}.entry-v1516-safe-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:750}.entry-v1516-safe-chip.offline{background:#ecfdf5;color:#047857}
.entry-v1516-form{gap:9px}.entry-v1516-control-row{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px}.entry-v1516-input-shell{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #cfd8e7;border-radius:13px;background:#fff;padding:0 15px;transition:border-color .18s,box-shadow .18s}.entry-v1516-input-shell:focus-within{border-color:var(--customer-primary,#3563e9);box-shadow:0 0 0 4px color-mix(in srgb,var(--customer-primary,#3563e9) 12%,transparent)}.entry-v1516-input-shell svg{flex:0 0 auto;width:22px;height:22px;color:var(--customer-primary,#3563e9)}.entry-v1516-input-shell input{min-width:0;height:58px;border:0;box-shadow:none!important;padding:0;text-align:left;text-transform:uppercase;font-size:18px;letter-spacing:.08em;background:transparent}.entry-v1516-submit{min-height:58px;border:0;border-radius:13px;background:var(--customer-primary,#3563e9);color:#fff;font-size:17px;font-weight:800;box-shadow:0 10px 24px color-mix(in srgb,var(--customer-primary,#3563e9) 25%,transparent);transition:transform .18s,filter .18s}.entry-v1516-submit:hover{filter:brightness(.97);transform:translateY(-1px)}.entry-v1516-helper{color:#7b8496;font-size:12px}.entry-v1516-switch-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--customer-primary,#3563e9);font-weight:750}.entry-v1516-link-row{display:flex;gap:18px;flex-wrap:wrap}
.entry-v1516-info-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:18px;margin-top:20px}.entry-v1516-info-grid.no-promotion{grid-template-columns:1fr}.entry-v1516-info-grid.has-service{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-v1516-info-card,.entry-v1516-promotion,.entry-v1516-support-card{min-width:0;margin:0;padding:22px;border-radius:18px;box-shadow:none}.entry-v1516-info-card{border:1px solid #e5eaf3;background:#fff}.entry-v1516-card-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.entry-v1516-card-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eef2ff;color:var(--customer-primary,#3563e9);font-weight:900}.entry-v1516-card-title h2{margin:0;font-size:18px}.entry-v1516-instructions{display:grid;gap:9px;margin:0;padding:0;list-style:none}.entry-v1516-instructions li{display:grid;grid-template-columns:23px minmax(0,1fr);gap:9px;align-items:start}.entry-v1516-instructions li>span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800}.entry-v1516-instructions p{margin:1px 0;color:#5f6b7c;font-size:13px;line-height:1.55}.entry-v1516-rules{display:grid;gap:10px;margin:0;padding:0;list-style:none}.entry-v1516-rules li{position:relative;padding-left:25px;color:#5f6b7c;font-size:13px;line-height:1.55}.entry-v1516-rules li::before{content:"✓";position:absolute;left:0;top:0;color:#059669;font-weight:900}
.entry-v1516-promotion{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:14px;border:1px solid color-mix(in srgb,var(--customer-promo-button,#f59e0b) 24%,#fff);background:var(--customer-promo-bg,#fff7e8);color:var(--customer-promo-text,#9a4b00)}.entry-v1516-promo-image{grid-column:1/-1;width:100%;height:105px;object-fit:cover;border-radius:13px}.entry-v1516-promo-copy{min-width:0}.entry-v1516-promo-label{display:block;margin-bottom:8px;font-size:13px;font-weight:850}.entry-v1516-promo-copy>strong{display:block;font-size:19px;line-height:1.35}.entry-v1516-promo-copy>p{margin:7px 0;color:color-mix(in srgb,var(--customer-promo-text,#9a4b00) 78%,#fff);font-size:13px}.entry-v1516-promo-copy time{font-size:11px;opacity:.78}.entry-v1516-promo-code{display:flex;align-items:center;gap:6px;margin-top:13px;font-size:13px}.entry-v1516-promo-code code{font-size:15px;font-weight:900}.entry-v1516-promo-code button{border:1px solid color-mix(in srgb,var(--customer-promo-button,#f59e0b) 30%,#fff);border-radius:8px;background:rgba(255,255,255,.78);color:var(--customer-promo-text,#9a4b00);padding:5px 9px}.entry-v1516-promo-action{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:47px;border-radius:11px;background:var(--customer-promo-button,#f59e0b);color:#fff;font-weight:850}.entry-v1516-promo-action:hover{filter:brightness(.96)}
.entry-v1516-support-card{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbe4f2;background:#f8fbff}.entry-v1516-support-card span{display:block;color:#64748b;font-size:12px}.entry-v1516-support-card strong{display:block;margin-top:3px}.entry-v1516-support-card p{margin:4px 0 0;color:#64748b;font-size:12px}.entry-v1516-support-card img{width:72px;height:72px;object-fit:cover;border-radius:10px}.offline-support{margin-top:18px}
.entry-v1516-notice{display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;margin-top:18px;padding:14px 16px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb}.entry-v1516-notice>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#fef3c7;color:#a16207;font-weight:900}.entry-v1516-notice strong{font-size:13px}.entry-v1516-notice p{margin:3px 0 0;color:#785d20;font-size:12px;line-height:1.55;white-space:pre-line}.entry-v1516-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:15px 34px 20px;border-top:1px solid #eef1f6;color:#8a94a6;font-size:11px}.entry-v1516-footer a{color:inherit}

/* result page desktop composition */
.result-v1516-page{display:grid;place-items:center;min-height:100vh;padding:28px}
.result-v1516-layout{width:min(1160px,100%);padding:0;margin:auto}
.result-v1516-card{width:100%;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:30px;background:#fff;box-shadow:0 26px 75px rgba(37,55,95,.14)}
.result-v1516-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;min-height:220px;padding:34px 42px;overflow:hidden;color:#fff;background:linear-gradient(120deg,var(--customer-primary,#3563e9),var(--customer-secondary,#7652e8))}.result-v1516-hero::before,.result-v1516-hero::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}.result-v1516-hero::before{width:330px;height:330px;right:-80px;top:-205px}.result-v1516-hero::after{width:240px;height:240px;right:120px;bottom:-190px}.result-v1516-hero-copy,.result-v1516-cover,.result-v1516-cover-placeholder{position:relative;z-index:1}.result-v1516-status-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.result-v1516-check{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#fff;color:#10b981}.result-v1516-check svg{width:27px;height:27px;stroke-width:2.5}.result-v1516-status-chip,.result-v1516-mode-chip{display:inline-flex;align-items:center;min-height:36px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25);font-weight:800;backdrop-filter:blur(8px)}.result-v1516-mode-chip{background:rgba(255,255,255,.93);color:var(--customer-primary,#3563e9)}.result-v1516-title-row{display:flex;align-items:baseline;gap:22px;min-width:0}.result-v1516-title-row h1{margin:0;font-size:48px;letter-spacing:-.04em}.result-v1516-title-row strong{font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-v1516-hero p{margin:10px 0 0;color:rgba(255,255,255,.9);font-size:17px}.result-v1516-cover,.result-v1516-cover-placeholder{justify-self:end;width:135px;margin:0;padding:7px;border:1px solid rgba(255,255,255,.23);border-radius:23px;background:rgba(255,255,255,.14)}.result-v1516-cover img{display:block;width:100%;height:120px;object-fit:cover;border-radius:17px}.result-v1516-cover-placeholder{display:grid;place-items:center;height:135px;color:#fff;font-size:45px;font-weight:900}
.result-v1516-content{padding:24px}.result-v1516-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.result-v1516-section-heading h2{margin:0;color:#1f3d72;font-size:17px}.result-v1516-section-heading h2 small{margin-left:8px;color:#8a94a6;font-size:13px;font-weight:500}.result-v1516-section-heading>span{padding:5px 10px;border-radius:999px;background:#f3f4f6;color:#6b7280;font-size:12px}.result-v1516-credential-list{display:grid;gap:12px}.result-v1516-credential-row{display:grid;grid-template-columns:42px 165px minmax(0,1fr) 150px;align-items:center;gap:13px;min-height:78px;padding:14px 16px;border:1px solid #e5e9f2;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(30,41,59,.035)}.result-v1516-field-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0f2ff;color:#4f46e5}.result-v1516-field-icon.password{background:#ecfeff;color:#0f9b8e}.result-v1516-field-icon svg{width:23px;height:23px}.result-v1516-field-label label{font-size:16px;font-weight:800}.result-v1516-credential-row>strong{min-width:0;font-size:19px;letter-spacing:.04em;word-break:break-all}.result-v1516-credential-row>.credential-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid color-mix(in srgb,var(--customer-primary,#3563e9) 24%,#fff);border-radius:11px;background:#eef2ff;color:#4338ca;font-weight:800}.result-v1516-credential-row.password-card>.credential-copy-button{border-color:#a5f3fc;background:#ecfeff;color:#0f766e}.result-v1516-credential-row>.credential-copy-button svg{width:18px;height:18px}
.result-v1516-token-card{display:grid;place-items:center;margin:14px 0 0;padding:24px;border:1px solid #dde3f0;border-radius:18px;background:#f3f6fc}.result-v1516-token-heading{display:flex;align-items:center;gap:10px}.result-v1516-shield{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff;color:var(--customer-primary,#3563e9)}.result-v1516-shield svg{width:22px;height:22px}.result-v1516-token-heading label{margin:0;color:#172033;font-size:16px;font-weight:800}.result-v1516-token-heading small{display:block;margin-top:3px;color:#8490a3;font-size:12px}.result-v1516-token-card>strong{margin:14px 0 12px;color:#111c3a;font-size:48px;letter-spacing:.22em;line-height:1;font-variant-numeric:tabular-nums}.result-v1516-token-actions{display:flex;gap:10px}.result-v1516-token-actions .button{min-width:128px;min-height:45px}.result-v1516-daily{margin-top:9px;color:#64748b;font-size:12px}.result-v1516-error{margin:12px 0 0}
.result-v1516-notice{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;margin-top:14px;padding:13px 15px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb}.result-v1516-notice>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#fef3c7;color:#a16207;font-weight:900}.result-v1516-notice strong{font-size:13px}.result-v1516-notice p{margin:3px 0 0;color:#785d20;font-size:12px;line-height:1.5;white-space:pre-line}
.result-v1516-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}.result-v1516-bottom-grid.single{grid-template-columns:1fr}.result-v1516-promotion,.result-v1516-timer-card{min-width:0;margin:0;border-radius:18px;box-shadow:none}.result-v1516-promotion{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:24px;border:1px solid color-mix(in srgb,var(--customer-promo-button,#f59e0b) 25%,#fff);background:var(--customer-promo-bg,#fff7e8);color:var(--customer-promo-text,#9a4b00)}.result-v1516-promotion>img{grid-column:1/-1;width:100%;height:100px;object-fit:cover;border-radius:12px}.result-v1516-promo-copy>span{display:block;margin-bottom:10px;font-size:16px;font-weight:900}.result-v1516-promo-copy>strong{display:block;font-size:22px;line-height:1.35}.result-v1516-promo-copy>p{margin:7px 0;color:color-mix(in srgb,var(--customer-promo-text,#9a4b00) 76%,#fff)}.result-v1516-promo-copy time{font-size:12px;opacity:.78}.result-v1516-promo-code{display:flex;align-items:center;gap:8px;margin-top:18px}.result-v1516-promo-code code{font-size:17px;font-weight:900}.result-v1516-promo-code button{border:1px solid rgba(154,75,0,.17);border-radius:8px;background:#fff;color:inherit;padding:6px 10px}.result-v1516-promo-action{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:53px;border-radius:12px;background:var(--customer-promo-button,#f59e0b);color:#fff;font-size:17px;font-weight:900}.result-v1516-timer-card{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;border:1px solid #e5e0f7;background:#f7f5ff;text-align:center}.result-v1516-timer-heading{display:flex;align-items:center;gap:10px;align-self:flex-start;text-align:left}.result-v1516-timer-heading>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff;color:var(--customer-timer-color,#6d28d9)}.result-v1516-timer-heading svg{width:22px;height:22px}.result-v1516-timer-heading label{margin:0;color:#172033;font-size:16px;font-weight:850}.result-v1516-timer-heading small{display:block;margin-top:3px;color:#8a809f;font-size:12px}.result-v1516-timer-card>strong{display:block;width:100%;margin:25px 0 12px!important;color:var(--customer-timer-color,#6d28d9)!important;font-size:var(--customer-timer-desktop,64px)!important;line-height:1;text-align:center;font-weight:850;letter-spacing:.06em;font-variant-numeric:tabular-nums}.result-v1516-timer-card>p{margin:0;color:#504b59;font-size:14px;text-align:center;white-space:pre-line}
.result-v1516-support{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:14px 16px;border:1px solid #dbe4f2;border-radius:14px;background:#f8fbff}.result-v1516-support span{display:block;color:#64748b;font-size:12px}.result-v1516-support strong{display:block;margin-top:3px}.result-v1516-support p{margin:3px 0 0;color:#64748b;font-size:12px}.result-v1516-support img{width:68px;height:68px;border-radius:10px;object-fit:cover}.result-v1516-footer-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.result-v1516-restart{gap:8px}.result-v1516-restart svg{width:19px;height:19px}.result-v1516-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0;padding:0;border:0;color:#8a94a6;font-size:11px}.result-v1516-footer a{color:inherit}

@media(max-width:900px){
  .customer-v1516{font-size:var(--customer-body-mobile,14px)}
  .entry-v1516-page,.result-v1516-page{display:block;min-height:100vh;padding:12px}
  .entry-v1516-layout,.result-v1516-layout{width:min(430px,100%);margin:0 auto}
  .entry-v1516-card,.result-v1516-card{border-radius:22px;box-shadow:0 14px 40px rgba(37,55,95,.12)}
  .entry-v1516-hero{grid-template-columns:minmax(0,1fr) 72px;min-height:148px;padding:20px 18px;gap:10px;border-radius:0}.entry-v1516-hero::before{width:180px;height:180px;right:-75px;top:-100px}.entry-v1516-hero::after{display:none}.entry-v1516-brand-row{gap:7px;margin-bottom:10px}.entry-v1516-logo{width:34px;height:34px;border-radius:11px;font-size:12px}.entry-v1516-mode-chip{min-height:27px;padding:4px 9px;font-size:11px}.entry-v1516-hero h1{font-size:29px}.entry-v1516-hero p{margin-top:6px;font-size:12px;line-height:1.45}.entry-v1516-visual{width:72px}.entry-v1516-visual img{max-height:72px;padding:3px;border-radius:12px}.entry-v1516-decor{width:66px;height:66px;border-radius:16px}.entry-v1516-decor span{font-size:25px}
  .entry-v1516-body{padding:13px 12px 10px}.entry-v1516-claim-panel{padding:14px;border-radius:14px}.entry-v1516-section-heading{margin-bottom:11px}.entry-v1516-section-heading h2{font-size:16px}.entry-v1516-kicker{font-size:9px}.entry-v1516-safe-chip{padding:4px 7px;font-size:9px}.entry-v1516-control-row{grid-template-columns:1fr;gap:8px}.entry-v1516-input-shell{padding:0 11px;border-radius:11px}.entry-v1516-input-shell svg{width:18px;height:18px}.entry-v1516-input-shell input{height:47px;font-size:15px;text-align:center}.entry-v1516-submit{min-height:46px;border-radius:11px;font-size:15px}.entry-v1516-helper{font-size:10px}.entry-v1516-switch-link{margin-top:10px;font-size:11px}.entry-v1516-link-row{gap:12px}
  .entry-v1516-info-grid,.entry-v1516-info-grid.has-service{grid-template-columns:1fr;gap:10px;margin-top:11px}.entry-v1516-info-card,.entry-v1516-promotion,.entry-v1516-support-card{padding:13px;border-radius:13px}.entry-v1516-card-title{margin-bottom:8px}.entry-v1516-card-title>span{width:25px;height:25px;border-radius:8px;font-size:10px}.entry-v1516-card-title h2{font-size:14px}.entry-v1516-instructions{gap:6px}.entry-v1516-instructions li{grid-template-columns:19px minmax(0,1fr);gap:7px}.entry-v1516-instructions li>span{width:19px;height:19px;font-size:9px}.entry-v1516-instructions p,.entry-v1516-rules li{font-size:10px;line-height:1.45}.entry-v1516-rules{gap:6px}.entry-v1516-promotion{grid-template-columns:1fr auto;gap:8px}.entry-v1516-promo-image{height:68px}.entry-v1516-promo-label{margin-bottom:5px;font-size:11px}.entry-v1516-promo-copy>strong{font-size:15px}.entry-v1516-promo-copy>p{margin:4px 0;font-size:10px}.entry-v1516-promo-copy time{font-size:9px}.entry-v1516-promo-code{margin-top:8px;font-size:10px}.entry-v1516-promo-code code{font-size:12px}.entry-v1516-promo-code button{padding:4px 7px;font-size:9px}.entry-v1516-promo-action{min-height:40px;border-radius:9px;font-size:13px}.entry-v1516-support-card{gap:8px}.entry-v1516-support-card img{width:50px;height:50px}.entry-v1516-notice{grid-template-columns:25px minmax(0,1fr);gap:8px;margin-top:10px;padding:9px 10px;border-radius:11px}.entry-v1516-notice>span{width:23px;height:23px;border-radius:7px;font-size:9px}.entry-v1516-notice strong{font-size:10px}.entry-v1516-notice p{margin-top:2px;font-size:9px;line-height:1.4}.entry-v1516-footer{display:grid;gap:3px;padding:9px 12px 12px;font-size:8px;text-align:center}

  .result-v1516-hero{grid-template-columns:minmax(0,1fr) 58px;min-height:142px;padding:16px 15px;gap:8px}.result-v1516-status-row{gap:5px;margin-bottom:7px}.result-v1516-check{width:33px;height:33px;border-radius:50%}.result-v1516-check svg{width:18px;height:18px}.result-v1516-status-chip,.result-v1516-mode-chip{min-height:24px;padding:3px 8px;font-size:9px}.result-v1516-title-row{display:block}.result-v1516-title-row h1{font-size:27px}.result-v1516-title-row strong{display:block;margin-top:2px;font-size:11px}.result-v1516-hero p{margin-top:5px;font-size:10px;line-height:1.4}.result-v1516-cover,.result-v1516-cover-placeholder{width:58px;height:58px;padding:3px;border-radius:13px}.result-v1516-cover img{height:50px;border-radius:10px}.result-v1516-cover-placeholder{font-size:22px}.result-v1516-content{padding:11px}.result-v1516-section-heading{margin-bottom:7px}.result-v1516-section-heading h2{font-size:13px}.result-v1516-section-heading h2 small{font-size:9px}.result-v1516-section-heading>span{padding:3px 6px;font-size:8px}.result-v1516-credential-list{gap:6px}.result-v1516-credential-row{grid-template-columns:30px minmax(0,1fr) 92px;grid-template-areas:"icon info button";gap:8px;min-height:62px;padding:8px 9px;border-radius:12px}.result-v1516-field-icon{grid-area:icon;width:29px;height:29px;border-radius:9px}.result-v1516-field-icon svg{width:17px;height:17px}.result-v1516-field-label{grid-area:info;align-self:start}.result-v1516-field-label label{font-size:10px;color:#687386}.result-v1516-credential-row>strong{grid-area:info;align-self:end;margin-top:17px;font-size:15px;line-height:1.2}.result-v1516-credential-row>.credential-copy-button{grid-area:button;min-height:36px;padding:6px 8px;border-radius:9px;font-size:10px}.result-v1516-credential-row>.credential-copy-button svg{display:none}.result-v1516-token-card{margin-top:7px;padding:12px 10px;border-radius:13px}.result-v1516-token-heading{gap:7px}.result-v1516-shield{width:30px;height:30px;border-radius:9px}.result-v1516-shield svg{width:17px;height:17px}.result-v1516-token-heading label{font-size:11px}.result-v1516-token-heading small{font-size:9px}.result-v1516-token-card>strong{margin:9px 0 8px;font-size:26px;letter-spacing:.17em}.result-v1516-token-actions{gap:7px}.result-v1516-token-actions .button{min-width:100px;min-height:36px;padding:7px 10px;font-size:10px}.result-v1516-daily{margin-top:6px;font-size:9px}.result-v1516-notice{grid-template-columns:24px minmax(0,1fr);gap:7px;margin-top:7px;padding:8px 9px;border-radius:10px}.result-v1516-notice>span{width:22px;height:22px;border-radius:7px;font-size:9px}.result-v1516-notice strong{font-size:10px}.result-v1516-notice p{margin-top:1px;font-size:8.5px;line-height:1.35}
  .result-v1516-bottom-grid{grid-template-columns:1fr;gap:8px;margin-top:8px}.result-v1516-timer-card{order:1;min-height:103px;padding:11px;border-radius:13px}.result-v1516-promotion{order:2;padding:12px;border-radius:13px}.result-v1516-timer-heading{align-self:center;gap:7px;text-align:center}.result-v1516-timer-heading>span{width:29px;height:29px;border-radius:9px}.result-v1516-timer-heading svg{width:17px;height:17px}.result-v1516-timer-heading label{font-size:11px}.result-v1516-timer-heading small{font-size:8px}.result-v1516-timer-card>strong{margin:10px 0 4px!important;font-size:var(--customer-timer-mobile,32px)!important}.result-v1516-timer-card>p{font-size:9px}.result-v1516-promotion>img{height:65px}.result-v1516-promo-copy>span{margin-bottom:5px;font-size:11px}.result-v1516-promo-copy>strong{font-size:15px}.result-v1516-promo-copy>p{margin:4px 0;font-size:10px}.result-v1516-promo-code{margin-top:8px;font-size:10px}.result-v1516-promo-code code{font-size:12px}.result-v1516-promo-code button{padding:4px 7px;font-size:9px}.result-v1516-promo-action{min-height:40px;border-radius:9px;font-size:13px}.result-v1516-support{margin-top:8px;padding:9px 10px;border-radius:10px}.result-v1516-support img{width:45px;height:45px}.result-v1516-footer-row{display:grid;gap:8px;margin-top:9px}.result-v1516-footer-row .offline-tutorial-actions{display:grid;grid-template-columns:1fr}.result-v1516-footer-row .button{width:100%;min-height:38px;font-size:10px}.result-v1516-footer{justify-content:center;gap:4px;font-size:8px;text-align:center}
}

@media(max-width:360px){.entry-v1516-page,.result-v1516-page{padding:6px}.entry-v1516-card,.result-v1516-card{border-radius:17px}.entry-v1516-hero{min-height:132px;padding:15px 13px}.entry-v1516-hero h1{font-size:25px}.entry-v1516-hero p{font-size:10px}.entry-v1516-decor{width:55px;height:55px}.entry-v1516-decor span{font-size:21px}.result-v1516-hero{min-height:126px;padding:13px 12px}.result-v1516-title-row h1{font-size:24px}.result-v1516-hero p{font-size:9px}.result-v1516-content{padding:8px}.result-v1516-credential-row{grid-template-columns:27px minmax(0,1fr) 82px;padding:7px}.result-v1516-credential-row>.credential-copy-button{font-size:9px}.result-v1516-token-card>strong{font-size:23px}.result-v1516-token-actions .button{min-width:90px}.result-v1516-timer-card>strong{font-size:min(var(--customer-timer-mobile,32px),30px)!important}}

@media(prefers-reduced-motion:reduce){.entry-v1516-submit{transition:none}}
.result-v1516-card{min-height:0}

/* v1.5.17 detail refinements */
.entry-v1516-input-shell input,
.entry-v1516-input-shell input:focus,
.entry-v1516-input-shell input:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.entry-v1516-logo.offline{color:var(--customer-primary,#2563eb)}
.offline-entry-v1516-hero{background:linear-gradient(125deg,var(--customer-primary,#2563eb),var(--customer-secondary,#7c3aed))}
.entry-v1516-safe-chip.offline{background:color-mix(in srgb,var(--customer-primary,#2563eb) 10%,#fff);color:var(--customer-primary,#2563eb)}
.offline-customer-page .entry-v1516-kicker,.offline-customer-page .entry-v1516-switch-link{color:var(--customer-primary,#2563eb)}

.result-v1517-offline-remaining-card>strong{letter-spacing:0!important}
.result-v1517-offline-window{display:flex;align-items:center;justify-content:center;gap:8px;margin:-1px 0 12px;color:#6b7280;font-size:13px}
.result-v1517-offline-window b{color:var(--customer-timer-color,#2563eb);font-variant-numeric:tabular-nums}

.game-select-search{display:grid;gap:7px}
.game-select-search small{color:var(--muted);font-weight:400}

.offline-theme-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:10px}
.offline-theme-preset{position:relative;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:9px!important;padding:11px!important;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:700!important;cursor:pointer}
.offline-theme-preset:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.offline-theme-preset input{width:auto;margin:0}
.offline-theme-swatches{display:flex;gap:4px}
.offline-theme-swatches i{display:block;width:18px;height:18px;border:1px solid rgba(15,23,42,.08);border-radius:50%}
.offline-theme-custom-colors{margin-top:14px}

@media(max-width:900px){
  .result-v1517-offline-window{margin:0 0 5px;font-size:8.5px}
  .offline-theme-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.offline-theme-preset.selected{border-color:var(--primary,#2563eb);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#2563eb) 18%,transparent);}

/* v1.5.18 inventory workflow and searchable dropdowns */
.select-search-dropdown{position:relative;width:100%}.select-search-dropdown>summary{list-style:none;min-height:42px;padding:10px 38px 10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;position:relative;font-weight:500}.select-search-dropdown>summary::-webkit-details-marker{display:none}.select-search-dropdown>summary:after{content:"⌄";position:absolute;right:13px;top:50%;transform:translateY(-50%);color:var(--muted)}.select-search-dropdown[open]>summary{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.select-search-popover{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.18)}.select-search-popover input{width:100%}.select-search-popover select{width:100%;min-height:170px;border-radius:8px}.select-search-popover small{color:var(--muted)}
.badge.status-pending{background:#fff4d6;color:#9a6100;border-color:#f8d680}.row-actions form{display:inline-flex}.row-actions button.table-action.list-account-action,.list-button{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #e89700;border-radius:7px;color:#fff!important;background:#e89700!important;font-weight:700;line-height:1.2}.row-actions button.table-action.list-account-action:hover,.list-button:hover{background:#ca7f00!important;border-color:#ca7f00}.account-edit-token{margin-bottom:22px}.account-pagination{display:flex!important;align-items:center;justify-content:space-between;gap:16px}.pagination-actions,.page-jump-form,.page-jump-form label{display:flex;align-items:center;gap:8px}.page-jump-form input{width:72px;min-height:38px}.button.disabled{opacity:.48;pointer-events:none}.inventory-filter-grid label>small{display:block;margin-top:5px;color:var(--muted);font-weight:400}
@media(max-width:900px){.select-search-popover{position:static;margin-top:6px}.account-pagination,.pagination-actions{align-items:stretch;flex-direction:column}.page-jump-form{justify-content:center}.account-pagination>span{text-align:center}}


/* v1.5.19 account-edit clarity and operator-safe batch notes */
.account-edit-heading{max-width:980px;margin-left:auto;margin-right:auto}.account-edit-shell{max-width:980px;margin:0 auto}.account-edit-shell>.compact-alert{margin-bottom:18px}.account-edit-form{max-width:none;padding:0;overflow:hidden;gap:0}.account-form-section{padding:24px 26px;border-bottom:1px solid var(--line)}.account-form-section:last-of-type{border-bottom:0}.account-form-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.account-form-section-heading h2{margin:1px 0 4px;font-size:17px}.account-form-section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.account-form-step{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eef2ff;color:#1d4ed8;font-weight:800;flex:0 0 auto}.account-form-grid{gap:18px 20px}.account-form-security{background:#fbfcff}.account-remark-field{display:grid;gap:7px;font-weight:650;font-size:14px}.account-edit-actions{justify-content:flex-end;padding:18px 26px;background:#f8fafc;border-top:1px solid var(--line)}.account-edit-token{box-shadow:0 10px 32px rgba(37,99,235,.08)}.offline-batch-form>input[name=remark]{min-width:250px}
@media(max-width:780px){.account-edit-heading{max-width:none}.account-form-section{padding:20px 16px}.account-edit-actions{padding:16px;display:grid;grid-template-columns:1fr}.account-edit-actions .button{width:100%}.account-form-section-heading{gap:9px}.offline-batch-form>input[name=remark]{min-width:0}}
/* v1.5.20 homepage preview action */
.topbar-action.homepage-preview{color:#075985;border-color:#bae6fd;background:#f0f9ff}.topbar-action.homepage-preview:hover{background:#e0f2fe;border-color:#7dd3fc}

/* v1.5.20 account edit matrix based on the supplied two-column references */
.account-edit-heading,.account-edit-shell{max-width:1040px}.account-edit-matrix-form{padding:0;overflow:hidden}.account-edit-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"game mode" "username password" "secret group" "remark token";gap:20px 24px;padding:26px}.account-matrix-field{display:grid;align-content:start;gap:7px;font-size:14px;font-weight:700;min-width:0}.account-matrix-field small{font-weight:400;line-height:1.5}.area-game{grid-area:game}.area-mode{grid-area:mode}.area-username{grid-area:username}.area-password{grid-area:password}.area-secret{grid-area:secret}.area-group{grid-area:group}.area-remark{grid-area:remark}.area-token{grid-area:token}.area-remark textarea{min-height:178px;resize:vertical}.account-token-panel{min-height:178px;border:1px solid #c7d2fe;border-radius:13px;background:linear-gradient(145deg,#f8fbff,#f5f3ff);padding:18px;display:grid;align-content:space-between;gap:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.account-token-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-token-heading>span{font-size:15px;font-weight:800}.account-token-heading small{font-size:12px;color:#64748b}.account-token-code-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-token-code-row>strong{font-size:clamp(28px,4vw,44px);letter-spacing:.13em;color:#1d4ed8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-token-code-row .button{flex:0 0 auto}.account-token-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.account-token-footer .token-ring{width:58px;height:58px}.account-token-footer .token-ring:before{inset:6px}.account-token-footer .token-ring span{font-size:19px}.account-token-timer{display:grid;gap:2px}.account-token-timer strong{font-size:13px}.account-token-timer small{font-size:12px;color:var(--muted)}.account-token-empty{place-content:center;text-align:center;border-style:dashed;color:#64748b}.account-token-empty p{margin:0;line-height:1.65;font-size:13px}.account-edit-actions{margin:0;padding:18px 26px;background:#f8fafc;border-top:1px solid var(--line);justify-content:flex-end}.offline-batch-form label:nth-of-type(4)>select{min-width:150px;width:auto}
@media(max-width:820px){.account-edit-matrix{grid-template-columns:1fr;grid-template-areas:"game" "mode" "username" "password" "secret" "group" "remark" "token";padding:20px 16px;gap:17px}.account-token-code-row{align-items:flex-start;flex-direction:column}.account-token-code-row .button{width:100%}.account-token-footer{grid-template-columns:auto minmax(0,1fr)}.account-token-footer>.button{grid-column:1/-1;width:100%}.account-edit-actions{padding:16px;display:grid;grid-template-columns:1fr}.account-edit-actions .button{width:100%}.area-remark textarea,.account-token-panel{min-height:150px}}

/* v1.5.21 categorized frontend-settings workspace */
.frontend-settings-form{gap:18px}.frontend-settings-toolbar{position:sticky;top:76px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:0;padding:14px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(15,23,42,.08)}.frontend-settings-toolbar-state{display:grid;gap:3px}.settings-save-state{display:inline-flex;align-items:center;gap:7px;font-weight:750;font-size:14px}.settings-save-state::before{content:"";width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #d1fae5}.settings-save-state.is-dirty{color:#92400e}.settings-save-state.is-dirty::before{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.settings-save-state.is-saving{color:#1d4ed8}.settings-save-state.is-saving::before{background:#3b82f6;box-shadow:0 0 0 4px #dbeafe}.frontend-settings-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:20px;align-items:start}.frontend-settings-nav{position:sticky;top:158px;max-height:calc(100vh - 176px);overflow:auto;margin:0;padding:14px}.settings-search{position:relative;display:grid;gap:7px;padding-bottom:13px;border-bottom:1px solid var(--line)}.settings-search>label{font-size:13px;font-weight:750;color:#334155}.settings-search input{min-height:40px;padding-left:12px}.settings-search-results{position:absolute;z-index:9;left:0;right:0;top:74px;max-height:320px;overflow:auto;border:1px solid #cbd5e1;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.16);padding:6px}.settings-search-result,.settings-search-empty{width:100%;border:0;border-radius:8px;background:transparent;padding:9px 10px;text-align:left}.settings-search-result{display:grid;gap:2px;color:#1f2937}.settings-search-result:hover,.settings-search-result:focus-visible{background:#eff6ff;outline:none}.settings-search-result strong{font-size:13px}.settings-search-result small{font-size:11px;color:#64748b}.settings-search-empty{color:#94a3b8;font-size:12px}.settings-category-list{display:grid;gap:5px;margin-top:12px}.settings-category-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid transparent;border-radius:10px;background:transparent;padding:10px 11px;color:#475569;text-align:left}.settings-category-button:hover{background:#f8fafc;color:#1e3a8a}.settings-category-button.active{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:750}.settings-category-button small{font-size:11px;color:#94a3b8}.settings-category-button.active small{color:#3b82f6}.frontend-settings-content{min-width:0}.frontend-settings-section{margin:0;animation:settings-section-in .16s ease-out}.frontend-settings-section h2{padding-bottom:14px;border-bottom:1px solid var(--line);font-size:20px}.frontend-settings-section>.muted{margin-top:-5px;margin-bottom:18px;line-height:1.7}.frontend-settings-section .form-grid{gap:18px 20px}.frontend-settings-section label{min-width:0}.frontend-settings-section input,.frontend-settings-section select,.frontend-settings-section textarea{min-height:42px}.frontend-settings-section textarea{line-height:1.55}.frontend-settings-mobile-nav{display:none}.frontend-settings-footer-actions{justify-content:flex-end;margin-top:0}.frontend-settings-footer-actions>.muted{margin-right:auto}.frontend-settings-form[data-settings-enhanced="1"] .frontend-settings-section[hidden]{display:none}.settings-search-hit{animation:settings-field-pulse 1.15s ease-out}.settings-search-hit>input,.settings-search-hit>select,.settings-search-hit>textarea{border-color:#60a5fa;box-shadow:0 0 0 4px #dbeafe}@keyframes settings-section-in{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes settings-field-pulse{0%,100%{background:transparent}30%{background:#eff6ff}}
@media(max-width:1080px){.frontend-settings-layout{grid-template-columns:220px minmax(0,1fr)}.frontend-settings-nav{top:166px}.frontend-settings-section .form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.frontend-settings-toolbar{top:72px}.frontend-settings-layout{display:block}.frontend-settings-nav{display:none}.frontend-settings-mobile-nav{position:sticky;top:154px;z-index:7;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 7px 18px rgba(15,23,42,.07)}.frontend-settings-mobile-nav label{font-weight:750;font-size:13px}.frontend-settings-mobile-nav select{min-height:40px}.frontend-settings-section .form-grid.two,.frontend-settings-section .form-grid.three{grid-template-columns:1fr}.frontend-settings-section .span-2{grid-column:auto}.frontend-settings-footer-actions{display:grid;grid-template-columns:1fr}.frontend-settings-footer-actions>.muted{text-align:center;margin:0}.frontend-settings-footer-actions .button{width:100%}}
@media(max-width:620px){.frontend-settings-toolbar{align-items:stretch;flex-direction:column;top:64px}.frontend-settings-toolbar .actions{display:grid;grid-template-columns:1fr 1fr}.frontend-settings-toolbar .button{width:100%}.frontend-settings-mobile-nav{top:176px}.frontend-settings-section{padding:16px}.frontend-settings-section h2{font-size:18px}.frontend-settings-toolbar-state small{font-size:11px}}

/* v1.5.23 complete-detail adjustments */
.status-used{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.row-actions .table-action.edit-action{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #047857;border-radius:7px;background:#047857;color:#fff!important;font-weight:700;line-height:1.2}.row-actions .table-action.edit-action:hover{border-color:#065f46;background:#065f46}.code-game-dropdown{width:180px;min-width:180px}.filter-bar .code-game-dropdown select{width:100%;min-width:0}.legacy-homepage-settings{border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:#f8fafc}.legacy-homepage-settings>summary{cursor:pointer;font-weight:700;color:#64748b}.legacy-homepage-settings>.form-grid{margin-top:14px}.offline-inventory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px 16px}.offline-inventory-toolbar .account-status-filter-row{min-width:0;flex-wrap:nowrap}.offline-inventory-toolbar .account-status-filter-row .segmented-filter{flex-wrap:nowrap}.offline-inventory-toolbar .account-list-tools{justify-content:flex-end}.offline-inventory-toolbar .account-delete-actions{justify-self:end}.offline-inventory-toolbar .offline-generation-row{grid-column:1/-1;width:100%;justify-content:flex-start;border-top:1px solid var(--line);padding-top:12px}.offline-inventory-toolbar .offline-batch-form{width:100%;justify-content:flex-start}.account-delete-actions{display:flex;align-items:center}
@media(max-width:1100px){.offline-inventory-toolbar{grid-template-columns:1fr auto}.offline-inventory-toolbar .account-status-filter-row{grid-column:1/-1}.offline-inventory-toolbar .account-list-tools{justify-content:flex-start}.offline-inventory-toolbar .account-delete-actions{justify-self:end}.offline-inventory-toolbar .account-status-filter-row .segmented-filter{flex-wrap:wrap}}
@media(max-width:700px){.offline-inventory-toolbar{display:flex;align-items:stretch;flex-direction:column}.offline-inventory-toolbar .account-delete-actions,.offline-inventory-toolbar .account-delete-actions form{width:100%}.offline-inventory-toolbar .account-status-filter-row{align-items:flex-start}.offline-inventory-toolbar .account-status-filter-row .segmented-filter{flex-wrap:wrap}.code-game-dropdown{width:100%}}

.expiry-sort-links{display:inline-flex;gap:4px;margin-left:6px;vertical-align:middle}.expiry-sort-links a{font-size:11px;font-weight:700;color:#64748b;padding:2px 5px;border:1px solid #d7deea;border-radius:6px;background:#fff;white-space:nowrap}.expiry-sort-links a:hover,.expiry-sort-links a.active{color:#0f62d8;border-color:#8dbcf5;background:#eff6ff}

/* v1.5.24A: center the Steam Guard refresh countdown on both result modes. */
.result-v1516-token-heading #tokenCountdown{display:block;width:100%;text-align:center}
