.founder-offers { container: founder-store / inline-size; min-width: 0; width: 100%; }
.founder-offers__title { margin: 0; font: 30px/1.1 var(--ui-font-display); color: var(--ui-color-text); }
.founder-offers__intro, .founder-offers__policy, .founder-offers__status { color: var(--ui-color-text-muted); font: 12px/1.4 var(--ui-font-body); }
.founder-offers__intro { margin: 5px 0 8px; }
.founder-offers__policy { margin: 12px 0 0; }
.founder-offers__status { margin: 8px 0; }
.founder-offers__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 14px; }
.founder-offer { --founder-tone: #d28359; container: founder-card / inline-size; display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 2px solid var(--founder-tone); background: #101d30; box-shadow: inset 0 0 0 2px #07101e, 0 3px 0 #050a12; }
.founder-offer--premium { --founder-tone: #ad8bd5; }
.founder-offer--legendary { --founder-tone: #d3aa55; background: #152033; box-shadow: inset 0 0 0 2px #07101e, 0 3px 0 #050a12, 0 0 0 2px #d3aa5520; }
.founder-offer__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 8px; padding: 1px 0 7px; }
.founder-offer__edition { order: 2; font: 8px/1.2 var(--ui-font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--founder-tone); }
.founder-offer .founder-offer__title { margin: 0; font: 24px/1.05 var(--ui-font-display); color: #f5e8bf; }
.founder-offer--legendary .founder-offer__title { color: #f2d27e; }
.founder-offer__body { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: stretch; gap: 10px; flex: 1; min-width: 0; }
.founder-offer__hero { position: relative; min-width: 0; min-height: 280px; margin: 0; overflow: hidden; border: 1px solid var(--founder-tone); background: #080f1d; }
.founder-offer__illustration { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.founder-offer__hero[data-founder-hover-outfit] { cursor: zoom-in; }
.founder-offer__hero[data-founder-hover-outfit]:focus-visible { outline: var(--ui-focus-width) solid var(--ui-color-focus); outline-offset: var(--ui-focus-offset); }
.founder-offer__hover-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.founder-offer__hero:has(.founder-offer__hover-canvas:not([hidden])) .founder-offer__illustration,
.founder-offer__hero:has(.founder-offer__hover-canvas:not([hidden])) .founder-offer__hero-caption { opacity: 0; }
.founder-offer__hero:has(.founder-offer__hover-canvas:not([hidden]))::after { content: "Prévia no jogo"; position: absolute; inset: auto 0 0; padding: 6px; background: #080f1dd9; color: #edf0f6; font: 11px/1.2 var(--ui-font-body); text-align: center; pointer-events: none; }
.founder-offer__hero-caption { position: absolute; inset: auto 0 0; display: grid; gap: 3px; padding: 9px 7px; margin: 0; border-top: 1px solid #d3aa5540; background: #080f1df0; }
.founder-offer__hero-caption strong { color: #f5e8bf; font: 22px/1 var(--ui-font-display); }
.founder-offer__hero-caption span { color: #b9c7db; font: 10px/1.25 var(--ui-font-body); }
.founder-offer__details { display: grid; align-content: start; gap: 6px; min-width: 0; }
.founder-offer__main-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.founder-offer__main-benefit { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 42px; padding: 4px; box-sizing: border-box; border: 1px solid #394a64; background: #1c2b41; }
.founder-offer__main-benefit[data-founder-vip-tooltip] { appearance: none; width: 100%; margin: 0; border-radius: 0; color: inherit; font: inherit; text-align: left; cursor: help; }
.founder-offer__main-benefit[data-founder-vip-tooltip]:focus-visible { outline: var(--ui-focus-width) solid var(--ui-color-focus); outline-offset: var(--ui-focus-offset); }
.founder-vip-tooltip { position: fixed; z-index: 10020; box-sizing: border-box; width: min(330px, calc(100vw - 16px)); max-width: calc(100vw - 16px); padding: 10px 12px; border: 1px solid var(--ui-color-border); border-top: 2px solid var(--ui-color-accent-strong); border-radius: var(--ui-radius); background: var(--ui-color-surface-raised); color: var(--ui-color-text); box-shadow: 0 8px 28px #0008; font: 12px/1.5 var(--ui-font-body); text-align: left; pointer-events: none; overflow-wrap: anywhere; }
.founder-vip-tooltip[hidden] { display: none; }
.founder-offer__icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 32px; }
.founder-offer__benefit-copy { min-width: 0; display: grid; gap: 1px; }
.founder-offer__benefit-copy strong { color: #f5e8bf; font: 27px/1 var(--ui-font-display); }
.founder-offer__benefit-copy > span { color: #c6d2e3; font: 10px/1.1 var(--ui-font-body); }
.founder-offer__main-benefit--balls { grid-column: 1/-1; min-height: 36px; }
.founder-offer__main-benefit--balls .founder-offer__icon { flex-basis: 28px; width: 28px; }
.founder-offer__main-benefit--balls .ui-pixel-icon { width: 32px !important; height: 32px !important; }
.founder-offer__main-benefit--balls .founder-offer__benefit-copy { display: flex; align-items: baseline; gap: 5px; }
.founder-offer__unlimited { grid-column: 1/-1; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 4px; padding: 5px; border: 1px solid #d3aa55; background: #282b30; }
.founder-offer__unlimited-art { width: 48px; height: 48px; position: relative; overflow: hidden; }
/* Keep the approved ball pixels; crop only its transparent source margin. */
.founder-offer__unlimited-art > .ui-pixel-icon { position: absolute; left: -24px; top: -24px; }
.founder-offer__unlimited-copy { display: grid; min-width: 0; gap: 3px; }
.founder-offer__unlimited-name { font: 600 10px/1.1 var(--ui-font-body); color: #f5e8bf; }
.founder-offer__unlimited-copy > strong { font: 22px/1 var(--ui-font-display); color: #f2d27e; }
.founder-offer__unlimited-start { font: 10px/1.2 var(--ui-font-body); color: #e0d9c5; }
.founder-offer .founder-offer__activation-note { grid-column: 1/-1; margin: 2px 0 0; padding-top: 4px; border-top: 1px solid #d3aa5540; font: 9px/1.3 var(--ui-font-body); color: #b6beca; }
.founder-offer__section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 6px; margin-bottom: 5px; }
.founder-offer__section-heading h4 { margin: 0; font: 19px/1 var(--ui-font-display); color: #f5e8bf; }
.founder-offer__section-heading > span { font: 9px/1.2 var(--ui-font-body); color: #b6c2d5; }
.founder-offer__outfits { display: grid; gap: 5px; }
.founder-offer__outfit-groups { display: flex; flex-wrap: wrap; gap: 4px; }
.founder-offer__outfit-group { display: grid; justify-items: center; align-content: start; gap: 1px; flex: 1 1 64px; min-width: 64px; padding: 3px 2px; border: 1px solid #44536f; background: #202d44; }
.founder-offer__outfit-group-portraits { display: flex; justify-content: center; }
.founder-offer__outfit-group-name { max-width: 100%; color: #edf0f6; font: 10px/1.2 var(--ui-font-body); overflow-wrap: anywhere; text-align: center; }
.founder-offer__outfit-item { display: flex; align-items: center; min-width: 0; }
.founder-offer__outfit-art { display: grid; place-items: center; width: 32px; height: 36px; flex: 0 0 32px; }
.founder-offer__outfit-art img { display: block; image-rendering: pixelated; max-width: none; }
.founder-offer__outfit-copy { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.founder-offer__outfit-item--legendary { gap: 4px; min-height: 72px; padding: 3px; border: 1px solid #b3934d; background: #343034; }
.founder-offer__outfit-item--legendary .founder-offer__outfit-art { width: 64px; height: 64px; flex-basis: 64px; }
.founder-offer__outfit-item--legendary .founder-offer__outfit-copy { position: static; width: auto; height: auto; padding: 0; overflow: visible; clip-path: none; white-space: normal; min-width: 0; display: grid; gap: 2px; }
.founder-offer__outfit-item--legendary .founder-offer__outfit-copy strong { font: 19px/1 var(--ui-font-display); color: #f2d27e; }
.founder-offer__rarity { justify-self: start; color: #f2d27e; border: 1px solid #b3934d; background: #4d3e29; padding: 1px 3px; font: 9px/1.1 var(--ui-font-body); }
.founder-offer__outfit-copy small { color: #b9c6da; font: 9px/1.2 var(--ui-font-body); }
.founder-offer__outfit-preview { display: grid; place-items: center; flex: 0 0 32px; width: 32px; min-width: 32px; height: 36px; min-height: 36px; margin-left: auto; padding: 0; font-size: 24px; }
.founder-offer__outfit-preview:focus-visible { outline: var(--ui-focus-width) solid var(--ui-color-focus); outline-offset: var(--ui-focus-offset); }
.founder-offer__boosts { padding: 5px; border: 1px solid #394a64; background: #18263b; }
.founder-offer__boost-title { display: block; font: 600 10px/1.2 var(--ui-font-body); color: #e0e6ee; }
.founder-offer__boost-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin-top: 4px; }
.founder-offer__boost { display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0; text-align: center; }
.founder-offer__boost > span:first-child { display: block; width: 24px; height: 24px; }
.founder-offer__boost .ui-pixel-icon { width: 24px !important; height: 24px !important; }
.founder-offer__boost > span:last-child { font: 9px/1.15 var(--ui-font-body); color: #b9c6da; }
.founder-offer__tag-reward { display: flex; align-items: center; gap: 5px; padding: 4px; min-height: 42px; box-sizing: border-box; border: 1px solid var(--founder-tone); background: #1d293e; }
.founder-offer__tag-art { display: grid; place-items: center; flex: 0 0 40px; width: 40px; }
.founder-offer__tag-art .trainer-tag, .founder-offer__tag-art .trainer-tag img { width: 40px; height: 28px; max-width: none; }
.founder-offer__tag-reward > span:last-child { display: grid; gap: 2px; min-width: 0; }
.founder-offer__tag-reward strong { font: 17px/1 var(--ui-font-display); color: #f5e8bf; }
.founder-offer__tag-reward small { font: 9px/1.2 var(--ui-font-body); color: #b9c6da; }
.founder-offer__footer { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 4px 10px; margin-top: 8px; padding-top: 6px; border-top: 1px solid #3a4a61; }
.founder-offer__limited { grid-column: 1/-1; margin: 0 0 2px; color: var(--ui-color-accent-strong); font: 600 12px/1.4 var(--ui-font-body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.founder-offer__limited[hidden], .founder-checkout__limited[hidden] { display: none; }
.founder-storefront-open { display: grid; gap: 4px; }
.founder-storefront-open[hidden] { display: none; }
.founder-storefront-open [data-founder-storefront-countdown] { font-size: 11px; line-height: 1.4; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.shop-founder-link [data-founder-offer-countdown] { display: block; margin-top: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.founder-storefront-open [data-founder-storefront-countdown][hidden], .shop-founder-link [data-founder-offer-countdown][hidden] { display: none; }
.founder-offer__pricing { display: grid; gap: 1px; }
.founder-offer__discount { justify-self: start; color: var(--ui-color-accent-strong); font: 700 12px/1.2 var(--ui-font-body); }
.founder-offer__original-price { color: var(--ui-color-text-muted); font: 12px/1.2 var(--ui-font-body); }
.founder-offer__promotion-time { grid-column: 1/-1; margin: 0 0 3px; color: var(--ui-color-accent-strong); font: 700 13px/1.4 var(--ui-font-body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.founder-offer__price-label { color: #bdc8d9; font: 9px/1.2 var(--ui-font-body); }
.founder-offer .founder-offer__price { margin: 0; font: 32px/1 var(--ui-font-display); color: #f5e8bf; white-space: nowrap; }
.founder-offer .founder-offer__price--pending { max-width: 120px; font: 600 13px/1.4 var(--ui-font-body); white-space: normal; }
.founder-offer__buy { width: 100%; min-height: 44px; margin: 0; white-space: normal; font-size: 15px; }
.founder-offer .founder-offer__availability { grid-column: 1/-1; margin: 0; color: #bdc8d9; font: 10px/1.3 var(--ui-font-body); }
.founder-offers [hidden] { display: none !important; }
.founder-storefront-open { margin-top: 12px; width: 100%; }
.profile-content > .founder-storefront-open { grid-column: 1 / -1; }
.founder-storefront-dialog { width: min(1500px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; color: var(--ui-color-text); background: var(--ui-color-background); border: 1px solid var(--ui-color-border); border-top: 3px solid var(--ui-color-primary); }
.founder-storefront-dialog::backdrop, .founder-checkout::backdrop { background: #030712d9; }
.founder-storefront-dialog__close { display: flex; justify-content: flex-end; margin-bottom: 12px; }
dialog.founder-checkout { width: min(640px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; overflow: hidden; border: 1px solid var(--ui-color-border); border-top: 3px solid var(--ui-color-primary); border-radius: var(--ui-radius); color: var(--ui-color-text); background: var(--ui-color-surface-raised); font: 14px/1.45 var(--ui-font-body); }
dialog.founder-checkout[open] { display: flex; flex-direction: column; }
.founder-checkout__header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ui-color-border); }
.founder-checkout__header h2 { margin: 3px 0; font: 30px/1.1 var(--ui-font-display); }
.founder-checkout__header p { margin: 0; }
.founder-checkout__header [data-founder-recipient] { color: var(--ui-color-accent-strong); font-size: 13px; }
.founder-checkout__header button { min-width: 44px; min-height: 44px; }
.founder-checkout__limited { flex: 0 0 auto; margin: 0; padding: 12px 20px 0; color: var(--ui-color-accent-strong); font: 600 13px/1.4 var(--ui-font-body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.founder-checkout__content { overflow: auto; padding: 20px; overscroll-behavior: contain; min-height: 0; }
.founder-checkout__summary { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.founder-checkout__summary strong { font: 34px/1 var(--ui-font-display); }
.founder-checkout__summary span { color: var(--ui-color-text-muted); font-size: 12px; }
.founder-checkout form { display: grid; gap: 16px; margin-top: 20px; }
.founder-checkout fieldset { display: flex; gap: 10px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.founder-checkout legend { margin-bottom: 8px; font-weight: 600; }
.founder-checkout__method { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; background: var(--ui-color-surface-control); border: 1px solid var(--ui-color-border); cursor: pointer; }
.founder-checkout__method input { accent-color: var(--ui-color-primary); }
.founder-checkout__cpf, .founder-checkout__pix { display: grid; gap: 7px; font-weight: 600; }
.founder-checkout__cpf input, .founder-checkout__pix input { min-height: 44px; width: 100%; box-sizing: border-box; color: var(--ui-color-text); background: var(--ui-color-surface-control); border: 1px solid var(--ui-color-border); border-radius: var(--ui-radius); padding: 8px 10px; font: 14px var(--ui-font-body); }
.founder-checkout__cpf small { color: var(--ui-color-text-muted); font-size: 11px; font-weight: 400; }
.founder-checkout__submit { min-height: 44px; }
.founder-checkout__notice { padding: 12px; margin: 0; border-left: 3px solid var(--ui-color-accent); background: var(--ui-color-surface-control); }
.founder-checkout__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.founder-checkout__qr { display: block; width: 192px; height: 192px; padding: 12px; margin: 18px auto; background: white; image-rendering: auto; }
.founder-checkout__pix input { font-family: ui-monospace, monospace; font-size: 12px; }
.founder-checkout__receipt { color: var(--ui-color-text-muted); font-size: 11px; overflow-wrap: anywhere; margin: 18px 0 0; }
.founder-checkout__feedback { flex: 0 0 auto; min-height: 18px; margin: 0; padding: 0 20px 16px; color: var(--ui-color-accent-strong); font-size: 12px; }
@container founder-store (max-width:1270px) {
 .founder-offers__grid { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
}
@container founder-card (max-width:390px) {
 .founder-offer__body { grid-template-columns: 90px minmax(0,1fr); gap: 8px; }
 .founder-offer__details { display: contents; }
 .founder-offer__hero { grid-column: 1; min-height: 0; }
 .founder-offer__hero-caption { padding: 5px; }
 .founder-offer__hero-caption strong { font-size: 18px; }
 .founder-offer__hero-caption span { display: none; }
 .founder-offer__main-benefits { grid-column: 2; }
 .founder-offer__wardrobe, .founder-offer__boosts, .founder-offer__tag-reward { grid-column: 1/-1; }
 .founder-offer__outfit-group { flex-basis: 64px; }
 .founder-offer__outfit-item--legendary .founder-offer__outfit-copy strong { font-size: 22px; }
 .founder-offer__unlimited { grid-template-columns: 1fr; }
 .founder-offer__unlimited-art { justify-self: center; }
 .founder-offer__unlimited-copy > strong { font-size: 22px; }
}
@media (max-width:760px) {
 .founder-offer__outfit-preview { flex-basis: 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
 .founder-storefront-dialog { padding: 14px; }
 .founder-checkout__header { padding: 14px; }
 .founder-checkout__limited { padding-inline: 14px; }
 .founder-checkout__content { padding: 16px 14px; }
 .founder-checkout__feedback { padding-inline: 14px; }
}
@media (max-width:380px) {
 .founder-offer { padding: 8px; }
 .founder-offer__body { grid-template-columns: 74px minmax(0,1fr); }
 .founder-offer__header { padding-bottom: 7px; }
 .founder-offer__edition { font-size: 8px; }
 .founder-offer .founder-offer__title { font-size: 24px; }
 .founder-offer__main-benefit { gap: 2px; }
 .founder-offer__icon { display: none; }
 .founder-offer__benefit-copy strong { font-size: 26px; }
 .founder-offer__benefit-copy > span { font-size: 10px; }
 .founder-offer__price-label { font-size: 9px; }
 .founder-offer .founder-offer__price { font-size: 28px; }
 .founder-offer__footer { gap: 4px 6px; }
 .founder-offer__buy { font-size: 14px; }
}

/* The login controller owns the fixed header and the single scrolling list. */
.login-offers--founder { width: min(1024px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
.founder-offers--login { flex: 0 0 auto; }
.founder-offers--login > .founder-offers__title { display: none; }
.founder-offers--login .founder-offers__grid { grid-template-columns: minmax(0,1fr); max-width: none; margin-inline: 0; gap: 12px; }
.founder-offers--login .founder-offer__body { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
.founder-offers--login .founder-offer__hero { min-height: 240px; }
.founder-offers--login .founder-offer__details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.founder-offers--login .founder-offer__main-benefits, .founder-offers--login .founder-offer__wardrobe { grid-column: 1/-1; }
.founder-offers--login .founder-offer__outfits { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.founder-offers--login .founder-offer__outfits > :only-child { grid-column: 1/-1; }
@container founder-store (max-width:600px) {
 .founder-offers--login .founder-offer__body { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
 .founder-offers--login .founder-offer__details, .founder-offers--login .founder-offer__outfits { grid-template-columns: minmax(0,1fr); }
}
@container founder-store (max-width:390px) {
 .founder-offers--login .founder-offer__body { grid-template-columns: 90px minmax(0,1fr); }
 .founder-offers--login .founder-offer__hero { min-height: 0; }
 .founder-offers--login .founder-offer__details { display: contents; }
 .founder-offers--login .founder-offer__main-benefits { grid-column: 2; }
 .founder-offers--login .founder-offer__wardrobe, .founder-offers--login .founder-offer__boosts, .founder-offers--login .founder-offer__tag-reward { grid-column: 1/-1; }
}
@media (max-width:380px) {
 .founder-offers--login .founder-offer__body { grid-template-columns: 74px minmax(0,1fr); }
}
