.gb-page{position:fixed;inset:0;z-index:10050;background:#0d1010;color:#f4f5f3;overflow-y:auto;overscroll-behavior:contain;font-size:14px;line-height:1.6;padding-bottom:180px}
.gb-page *,#tab-game-bundles *{box-sizing:border-box;min-width:0;letter-spacing:0}
.gb-page [hidden]{display:none!important}
.gb-page button,.gb-admin button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #3b403d;background:#202521;color:#f4f5f3;border-radius:8px;padding:9px 14px;font:inherit;cursor:pointer;white-space:normal}
.gb-page button:disabled,.gb-admin button:disabled{opacity:.45;cursor:not-allowed}
.gb-page button:hover:not(:disabled){background:#303a32;border-color:#94a99b}
.gb-page button:focus-visible,.gb-page input:focus-visible,.gb-page select:focus-visible{outline:2px solid #bbd4c0;outline-offset:3px}
.gb-head{max-width:1320px;margin:auto;padding:20px 24px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #303631}
.gb-head>div{flex:1}.gb-head h1{font-size:24px;font-weight:800;margin:0}.gb-head p{color:#a8b5ac;margin:4px 0 0}
.gb-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;max-width:1320px;margin:auto;padding:24px}
.gb-toolbar{display:flex;gap:12px;position:sticky;top:0;z-index:3;background:#0d1010;padding:0 0 16px}
.gb-toolbar label{flex:1;display:flex;align-items:center;gap:12px;background:#1d221e;border:1px solid #3e4740;border-radius:8px;padding-inline:14px}
.gb-page input:not([type=checkbox]),.gb-page select,.gb-admin input:not([type=checkbox]){background:#1d221e;border:1px solid #49504a;color:#f5f6f3;border-radius:6px;min-height:44px;padding:10px;font:inherit;max-width:100%;width:100%;color-scheme:dark}
.gb-toolbar input[type=search]{border:0;padding-inline:0;outline:none;width:100%}.gb-toolbar select{width:205px}
.gb-page input::placeholder{color:#aab4ae;opacity:1}.gb-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
.gb-game{border:1px solid #353d36;border-radius:8px;background:#171c18;overflow:hidden;display:flex;flex-direction:column}
.gb-art{aspect-ratio:3/4;background:#121513;display:flex;align-items:center;justify-content:center;overflow:hidden}.gb-art img{display:block;width:100%;height:100%;object-fit:contain}.gb-art>i{font-size:52px;color:#909e94}
.gb-game h3{font-size:14px;font-weight:700;line-height:1.5;margin:10px 12px;overflow-wrap:anywhere;flex:1}.gb-game>div:last-child{display:flex;gap:8px;padding:0 10px 10px}.gb-game>div:last-child>button:first-child{flex:1;background:#d2e5d6;color:#122319;font-weight:700}.gb-game [data-bundle-action=owned]{padding:9px}.gb-game [data-bundle-action=owned] span{display:none}
.gb-fit{color:#b9ddc6;margin:0 12px 10px}.gb-page-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:24px 0}.gb-page-actions>button:last-child{font-size:12px;background:none;border:0;color:#aebcb3}
.gb-summary{align-self:start;position:sticky;top:20px}.gb-summary h2{font-size:19px;font-weight:800;margin:0}.gb-selection-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #363c37;padding-bottom:12px}.gb-selection-head button{border:0;background:none;padding:8px;color:#b6beb8}.gb-selection-head button span{display:none}
.gb-count{font-size:12px;color:#bacbbf;margin:12px 0}.gb-chosen{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #2c332e}.gb-chosen img{width:46px;height:58px;object-fit:contain;background:#202521;border-radius:4px}.gb-chosen>div{flex:1}.gb-chosen strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.gb-chosen span{font-size:12px;color:#bbd4c0}.gb-chosen button{border:0;background:none;padding:8px}.gb-chosen button span{display:none}
.gb-empty{color:#b8c1bb;grid-column:1/-1;padding:26px 0}.gb-account{margin-top:22px}.gb-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gb-mode button{font-size:12px;line-height:1.5;flex-direction:column;min-height:66px}.gb-mode button[aria-pressed=true]{border-color:#bdd5c4;background:#cadfce;color:#18291d;font-weight:700}.gb-account p{font-size:13px;color:#d2d8d4}.gb-account>small{display:block;margin-top:12px;color:#a4b0a8;font-size:11px}.gb-account label{display:block;margin:12px 0 4px}.gb-account label input:not([type=checkbox]){margin-top:6px}.gb-account .gb-agreement{display:flex;align-items:flex-start;gap:10px;line-height:1.7}.gb-agreement input{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:#8db899}
.gb-total{position:fixed;bottom:0;inset-inline:0;z-index:4;display:flex;align-items:center;gap:28px;justify-content:center;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #58645a;background:#171e19;box-shadow:0 -8px 22px #0004}.gb-totals{max-width:540px;display:grid;grid-template-columns:auto auto;column-gap:20px;align-items:center}.gb-totals strong{font-size:25px;font-weight:800;white-space:nowrap;direction:ltr}.gb-totals small{grid-column:1/-1;font-size:12px;color:#c7d1ca}.gb-totals small b{color:#b9e2c5;margin-inline-start:12px}.gb-total>button{background:#cee5d4;color:#122118;font-weight:800;min-width:200px;min-height:50px}.gb-meter{font-size:11px;color:#c3d0c7}.gb-meter progress{display:block;width:160px;height:7px;accent-color:#a4c9b0;margin-top:7px}.gb-error{background:#331e20;color:#ffccd0;padding:14px;border:1px solid #74424a;border-radius:6px;margin:0 0 16px;overflow-wrap:anywhere}
.gb-checkout-note{padding:12px;margin-bottom:12px;background:#17261d;border:1px solid #6c8d76;border-radius:8px;color:#d6eadc}.gb-checkout-note p{font-size:12px;line-height:1.7;margin:6px 0}.gb-checkout-note small{font-size:11px;color:#b9d5c2}
.gb-admin{line-height:1.8}.gb-admin h2{font-size:26px;font-weight:800;margin-bottom:20px}.gb-admin h3{font-size:18px;font-weight:700;margin:24px 0 12px}.gb-admin label{display:block;font-size:14px;margin-bottom:5px;color:#d6e2db}.gb-admin .gb-admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gb-admin .gb-card-row{display:grid;grid-template-columns:1fr 1fr 44px;gap:12px;align-items:end;margin-bottom:10px;max-width:700px}.gb-admin .gb-card-row button{padding:6px}.gb-admin .gb-admin-checks{display:flex;gap:22px;flex-wrap:wrap;padding:12px 0}.gb-admin-checks label{display:flex;align-items:center;gap:10px}.gb-admin input[type=checkbox]{width:20px;height:20px;accent-color:#a9ceb3}.gb-admin .gb-admin-note{color:#b9ccc0;font-size:14px;max-width:850px;margin:12px 0}.gb-admin .gb-admin-actions{display:flex;gap:12px;padding:16px 0}.gb-admin [data-gb-save]{background:#d2e8d8;color:#112218;font-weight:800}.gb-admin table{width:100%;border-collapse:collapse}.gb-admin th,.gb-admin td{padding:12px 10px;border-bottom:1px solid #434a46;text-align:start;font-size:13px}.gb-admin th{color:#c2d7c9}.gb-admin .gb-admin-table{overflow:auto}.gb-admin [role=status]{color:#d7eadd;padding:12px 0}
@media(max-width:900px){.gb-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.gb-games{grid-template-columns:repeat(2,minmax(0,1fr))}.gb-admin .gb-admin-fields{grid-template-columns:1fr 1fr}.gb-meter{display:none}}
@media(max-width:650px){.gb-page{padding-bottom:190px}.gb-head{gap:10px;padding:12px 14px}.gb-head h1{font-size:18px}.gb-head p{font-size:11px}.gb-head>button{padding:10px;flex-shrink:0}.gb-head>button span{display:none}.gb-layout{display:flex;flex-direction:column;padding:16px 14px;gap:16px}.gb-summary{position:static;order:-1;border-bottom:1px solid #434d46;padding-bottom:16px}.gb-toolbar{gap:8px}.gb-toolbar select{width:145px;font-size:12px}.gb-games{gap:12px 10px}.gb-game h3{font-size:12px;margin:8px 10px}.gb-game button{padding:8px;min-height:40px;font-size:12px}.gb-account{margin-top:16px}.gb-account p{font-size:12px}.gb-account .gb-mode button{min-height:48px;flex-direction:row}.gb-chosen{padding:7px 0}.gb-chosen img{width:32px;height:42px}.gb-count{margin:8px 0}.gb-total{gap:12px;padding:12px 14px max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr}.gb-totals{max-width:none}.gb-totals strong{font-size:22px;text-align:end}.gb-totals small{font-size:11px}.gb-total>button{width:100%;min-height:46px}.gb-admin .gb-admin-fields{grid-template-columns:1fr}.gb-admin .gb-card-row{gap:8px}.gb-admin h2{font-size:22px}}
@media(prefers-reduced-motion:no-preference){.gb-game button{transition:background .15s ease,border-color .15s ease}}
.gb-admin table{min-width:850px}
