/* Namespaced to avoid changing the established player, catalog and checkout layout. */
.g-button,.g-home-nav button,.g-home-tools button,.g-coupon button,.g-reminders button{border:1px solid #343434;background:#151515;color:#eee;border-radius:7px;padding:10px 14px;font:600 12px Inter,Arial,sans-serif;cursor:pointer;line-height:1.4}.g-button:hover,.g-home-nav button:hover,.g-home-nav button.active{background:#eee;color:#111;border-color:#eee}.g-button:disabled{opacity:.4;cursor:wait}.g-detail-actions,.g-actions,.g-upgrades{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.g-detail-actions{margin:0 0 16px}.g-dialog{width:min(1060px,94vw);max-height:90dvh;background:#101010;color:#eee;border:1px solid #3b3b3b;border-radius:14px;padding:0;box-shadow:0 28px 120px #000d}.g-dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}.g-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #292929;position:sticky;top:0;background:#101010;z-index:2}.g-dialog-head h2{font-size:20px;margin:0}.g-dialog-head button{background:none;color:#eee;border:0;font-size:28px;cursor:pointer}.g-dialog-body{padding:24px;font:14px/1.7 Inter,Arial,sans-serif}.g-dialog-body form{display:grid;gap:16px;max-width:680px}.g-dialog-body label,.g-reminders label{display:flex;flex-direction:column;gap:6px}.g-dialog-body input:not([type=checkbox]),.g-dialog-body textarea,.g-coupon input,.g-reminders input[type=email]{width:100%;padding:11px;color:#fff;background:#080808;border:1px solid #3b3b3b;border-radius:6px;font:inherit;box-sizing:border-box}.g-dialog-body label:has(input[type=checkbox]),.g-reminders .g-check{flex-direction:row;align-items:flex-start}.g-dialog-body input[type=checkbox],.g-check input{accent-color:#ddd;width:18px;height:18px;flex:0 0 auto}.g-dialog-body output{font-weight:700}.g-muted{color:#999;font-size:12px}.g-table-wrap{overflow:auto}.g-dialog table{border-collapse:collapse;min-width:900px;table-layout:fixed;width:100%;font-size:11px;line-height:1.6}.g-dialog td,.g-dialog th{padding:13px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #333;word-break:normal}.g-dialog thead{background:#202020}.g-dialog td{color:#bbb}.g-dialog th{color:#fff}.g-list-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #2c2c2c;padding:16px 0;flex-wrap:wrap}.g-list-row b{flex:1;min-width:120px}.g-list-row span{color:#999}.g-list-row img{width:52px;height:52px;object-fit:cover;border-radius:6px}.g-inline{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}.g-inline input{flex:1}.g-home-tools{display:flex;justify-content:flex-end;gap:8px;margin:16px 0}.g-home-tools button{background:none;color:#aaa;border-color:transparent;font-weight:400;padding:6px 10px}.g-home-nav{display:flex;gap:8px;overflow:auto;padding:6px 0 18px}.g-home-nav button{white-space:nowrap}.g-coupon{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 8px}.g-coupon input{min-width:0}.g-reminders{border-top:1px solid #333;padding-top:12px;margin:16px 0;font-size:11px;line-height:1.7}.g-reminders label{margin:10px 0}.g-reminders summary{cursor:pointer}#gDiscountNote{font-size:11px;color:#aaa;line-height:1.5}#gCart{max-height:48vh;overflow:auto;padding:0 3px}.g-upgrades{padding:0 12px 12px}.g-upgrades button{font-size:10px}.seo-catalog{padding:24px;max-width:1160px;margin:auto}.seo-catalog a{color:#eee}.g-dialog [role=status]{color:#bbb}.g-dialog a{color:#eee}.g-dialog-body:has(.account-beat-card){display:flex;gap:14px;flex-wrap:wrap}.g-dialog-body>.account-beat-card{max-width:240px}
@media(max-width:600px){.g-dialog{width:96vw;max-height:94dvh}.g-dialog-body{padding:16px}.g-dialog-head{padding:16px}.g-dialog-head h2{font-size:17px}.g-home-tools{justify-content:flex-start}.g-detail-actions .g-button{font-size:10px;padding:8px}.g-coupon{grid-template-columns:1fr}.g-table-wrap{margin:0 -8px}.g-list-row .g-button{padding:8px;font-size:11px}#gCart{max-height:45dvh}}

.cart-panel:has(#gCart){overflow:auto}.cart-panel:has(#gCart) .cart-items{flex:0 1 auto;min-height:88px;max-height:25vh}.cart-panel:has(#gCart) #gCart{flex:0 0 auto;max-height:none;overflow:visible}.cart-panel:has(#gCart) .cart-head{flex-shrink:0}.cart-panel:has(#gCart) #cartCheckout{flex-shrink:0;margin-bottom:env(safe-area-inset-bottom,0px)}

/* Update 39: automatic pricing and compact agreement access. */
#gCartStatus:not([hidden]){display:flex;align-items:center;gap:10px;margin:10px 0;font-size:11px;color:#aaa}#gCartStatus .g-button{font-size:11px;padding:6px 9px}#gCart:has(#gCartStatus[hidden]){display:none}
