/* VIRA rewards: one visual language, real equipment, direct redemption. */
.rewards-store{max-width:1120px;margin:0 auto;padding:18px 0 calc(36px + env(safe-area-inset-bottom,0px));min-width:0}
.store-heading{display:flex;align-items:center;justify-content:space-between;gap:26px;margin:8px 0 30px}
.store-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.12em;font-weight:700;color:var(--green);margin:0 0 14px;text-transform:uppercase;line-height:1.5}
.store-eyebrow svg{width:15px;height:15px}
.store-heading h1{font-family:Sora,sans-serif;font-size:clamp(26px,4vw,40px);line-height:1.14;letter-spacing:-.035em;margin:0 0 14px}
.store-heading h1>span{color:var(--green)}
.store-heading>div>p:last-child{color:var(--muted);font-size:14px;line-height:1.6;margin:0}
.store-wallet{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 22px;border:1px solid rgba(157,255,0,.3);background:rgba(157,255,0,.04);border-radius:18px;flex-shrink:0}
.store-wallet>svg{color:var(--green);width:25px;height:25px}
.store-wallet strong{color:var(--green);font-size:29px;line-height:1.3}
.store-wallet strong span{font-size:14px;font-weight:500}
.store-wallet small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.store-wallet-prestige{width:100%;font-size:11px;color:#e4bd76;padding-top:8px;border-top:1px solid var(--line)}
.store-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:34px;padding:32px;border:1px solid rgba(157,255,0,.2);border-radius:26px;background:radial-gradient(ellipse at 0 0,rgba(157,255,0,.055),transparent 65%),#0a1925;scroll-margin-top:160px;overflow:hidden}
.store-hero-copy{align-self:center;min-width:0}
.store-collection-label{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.1em;color:var(--muted);border:1px solid var(--line);padding:8px 10px;border-radius:20px;margin-bottom:25px}
.store-hero h2{font-family:Sora,sans-serif;font-size:34px;letter-spacing:-.035em;margin:0 0 12px;line-height:1.2}
.store-hero-copy>p:not(.store-eyebrow){font-size:14px;color:var(--muted);line-height:1.75;max-width:360px}
.store-hero-price{display:flex;align-items:baseline;gap:9px;margin:24px 0 14px;flex-wrap:wrap}
.store-hero-price strong{font-size:28px;color:var(--green);line-height:1}
.store-hero-price>span{color:var(--muted);font-size:12px}
.store-hero-action>.button{min-height:48px;white-space:normal}
.store-missing,.store-premium-note{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);min-height:46px;line-height:1.6}
.store-missing strong{color:var(--text)}
.store-preview-note{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);line-height:1.6;margin-top:15px}
.store-preview-note svg{width:16px;height:16px;flex-shrink:0}
.reward-avatar-art{display:block;width:100%;height:100%;aspect-ratio:1;background-image:url('assets/rewards/vira-avatars-v1.png');background-size:300% 200%;background-repeat:no-repeat;background-color:#07131e}
.avatar-tiger{background-position:0% 0%}.avatar-eagle{background-position:50% 0%}.avatar-lion{background-position:100% 0%}.avatar-phoenix{background-position:0% 100%}
.reward-avatar-default{display:grid;place-items:center;width:100%;height:100%;font-family:Sora,sans-serif;font-weight:800;color:var(--green);font-size:50px;background:#0c202c}
.reward-profile-scene{position:relative;isolation:isolate;overflow:hidden;min-height:324px;background:#07131e;border:1px solid #2c4050;border-radius:22px;text-align:center;--reward-accent:#9dff00;--reward-glow:rgba(157,255,0,.13)}
.reward-scene-label{position:absolute;top:16px;left:18px;font-size:9px;letter-spacing:.14em;z-index:2;color:#cfdfde;font-weight:700}
.reward-profile-cover{height:110px;background:radial-gradient(ellipse at 65% 0,var(--reward-glow),transparent 75%),repeating-linear-gradient(135deg,transparent 0 20px,rgba(255,255,255,.025) 21px 22px),#102330;border-bottom:1px solid rgba(255,255,255,.08)}
.reward-profile-portrait{width:118px;height:118px;border-radius:28px;overflow:hidden;margin:-57px auto 0;position:relative;border:3px solid var(--reward-accent);box-shadow:0 10px 32px #0006;background:#07131e}
.reward-profile-identity{display:flex;flex-direction:column;align-items:center;gap:8px;margin:18px 18px 24px}
.reward-profile-identity>strong{display:flex;align-items:center;justify-content:center;gap:6px;font-family:Sora,sans-serif;font-size:21px;overflow-wrap:anywhere;max-width:100%}
.reward-profile-identity>span:last-child{font-size:11px;color:var(--muted)}
.reward-profile-foot{border-top:1px solid var(--line);font-size:10px;line-height:1.6;color:var(--muted);padding:14px 12px;display:flex;align-items:center;justify-content:center;gap:7px}
.reward-profile-foot svg{width:15px;height:15px;flex-shrink:0}
.reward-profile-title{font-size:10px;line-height:1.5;font-weight:700;color:#e5c279;padding:4px 10px;border:1px solid #e5c27955;border-radius:20px;display:inline-block}
.reward-name-effect{font-size:.8em;margin-left:7px;display:inline-block;line-height:1;flex-shrink:0;filter:drop-shadow(0 0 5px #ffffff22)}
.theme-verde{--reward-accent:#9dff00;--reward-glow:rgba(157,255,0,.16)}
.theme-oceano{--reward-accent:#52d8f6;--reward-glow:rgba(31,185,234,.22)}
.theme-dourado{--reward-accent:#efc96d;--reward-glow:rgba(220,165,53,.22)}
.theme-diamante{--reward-accent:#c7bcff;--reward-glow:rgba(161,135,245,.3)}
.theme-aurora{--reward-accent:#86e5d5;--reward-glow:rgba(131,88,255,.28)}
.reward-profile-scene.theme-oceano .reward-profile-cover{background:radial-gradient(ellipse at 20% 120%,#189fbb66,transparent 80%),linear-gradient(135deg,#0b2339,#173d52)}
.reward-profile-scene.theme-dourado .reward-profile-cover{background:radial-gradient(ellipse at 60% 0,#b9933766,transparent 80%),repeating-linear-gradient(120deg,transparent 0 18px,#f9d8760a 19px 20px),#29281f}
.reward-profile-scene.theme-diamante .reward-profile-cover{background:conic-gradient(from 40deg at 60% 100%,#14243a,#4a3e62,#173b57,#14243a)}
.reward-profile-scene.theme-aurora .reward-profile-cover{background:linear-gradient(130deg,#25324c,#2e2256,#17444b,#243b26)}
.store-browse-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 8px}
.store-browse-heading .community-back{margin:0;font-size:12px;flex-shrink:0}
.store-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.store-tabs button{font:inherit;font-size:16px;font-weight:700;border:0;background:transparent;color:var(--muted);min-height:48px;padding:10px 12px;border-bottom:2px solid transparent;cursor:pointer}
.store-tabs button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--green)}
.store-tabs button span{font-size:11px;font-weight:500;color:var(--muted);margin-left:7px}
.store-filters{display:flex;gap:8px;overflow-x:auto;padding:7px 0 16px;margin-bottom:4px}
.store-filters button{font:inherit;font-size:12px;border:1px solid var(--line);border-radius:24px;padding:9px 16px;min-height:42px;background:transparent;color:var(--muted);white-space:nowrap;cursor:pointer}
.store-filters button[aria-pressed=true]{background:var(--green);color:var(--navy);border-color:var(--green);font-weight:700}
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.store-item{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:#0b1b28;min-width:0;transition:border-color .15s}
.store-item.is-selected{border-color:rgba(157,255,0,.7)}
.store-item-art{display:block;position:relative;padding:0;width:100%;aspect-ratio:1;overflow:hidden;background:#081520;border:0;border-bottom:1px solid var(--line);cursor:pointer;color:var(--text)}
.store-item-art>.reward-avatar-art{transition:filter .18s}
.store-item-art:hover>.reward-avatar-art{filter:brightness(1.08)}
.store-rarity{position:absolute;left:10px;top:10px;border-radius:20px;padding:5px 8px;font-size:9px;line-height:1.2;color:#e9f3f1;background:#06131dcc;border:1px solid #ffffff22;backdrop-filter:blur(8px)}
.store-tier-raro .store-rarity{color:#86c9ff;border-color:#5ba7e566}.store-tier-epico .store-rarity{color:#ddc1ff;border-color:#bd9cff66}.store-tier-lendario .store-rarity{color:#f8d18f;border-color:#e1b36166}
.store-owned{position:absolute;bottom:9px;left:9px;display:flex;align-items:center;gap:4px;background:#07131edb;border:1px solid #9dff0055;color:var(--green);border-radius:20px;padding:5px 8px;font-size:9px}
.store-owned svg{width:12px;height:12px}
.store-item-copy{padding:15px;display:flex;flex-direction:column}
.store-item-copy>span{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.store-item h3{font-family:Sora,sans-serif;font-size:17px;line-height:1.3;margin:7px 0}
.store-item p{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 14px;min-height:60px}
.store-item-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}
.store-item-footer>strong{font-size:15px;color:var(--green)}
.store-item-footer small{font-size:10px;font-weight:500;color:var(--muted)}
.store-try{display:flex;gap:3px;align-items:center;padding:8px 0 8px 4px;min-height:42px;border:0;background:transparent;color:var(--text);font-size:10px;font-weight:600;cursor:pointer}
.store-try svg{width:13px;height:13px}
.store-equip{width:100%;margin-top:10px;min-height:42px;border-radius:11px;border:1px solid #9dff0044;background:#9dff0008;font:inherit;font-size:11px;color:var(--green);cursor:pointer}
.store-equip[aria-pressed=true]{background:var(--green);color:var(--navy);font-weight:700}
.store-how{margin:30px 0 0;border-top:1px solid var(--line);padding-top:18px}
.store-how summary{min-height:44px;color:var(--muted);font-size:13px;cursor:pointer;line-height:1.6}
.store-how p{color:var(--muted);font-size:13px;line-height:1.8;max-width:760px}
.reward-theme-art{display:grid;place-items:center;width:100%;height:100%;background:radial-gradient(ellipse at 50% 100%,var(--reward-glow),transparent 75%),#081520;perspective:500px}
.reward-theme-sample{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;width:64%;height:52%;background:linear-gradient(135deg,var(--reward-glow),#0a1724);border:1px solid var(--reward-accent);border-radius:16px;transform:rotate(-9deg);box-shadow:0 14px 28px #0006;padding:18px;color:var(--reward-accent)}
.reward-theme-sample>svg{width:26px;height:26px}.reward-theme-sample>b{font-size:16px;letter-spacing:.06em}
.reward-theme-sample>span{width:100%;height:5px;border-radius:3px;background:var(--reward-accent);opacity:.22}.reward-theme-sample>span:last-child{width:60%}
.reward-flair-art{display:grid;place-items:center;width:100%;height:100%;font-size:65px;background:radial-gradient(circle at 50% 55%,#e6b54516,transparent 60%),#0c1925;text-shadow:0 0 35px #e6b54566}
.flair-foco{filter:drop-shadow(0 0 5px #a7ff0055)}.flair-fogo{filter:drop-shadow(0 0 6px #fb813355)}.flair-estrela,.flair-coroa{filter:drop-shadow(0 0 8px #edc96b55)}
.reward-title-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;height:100%;background:radial-gradient(ellipse,#d8b25a15,transparent 75%),#0b1a27;color:#ead08d}
.reward-title-art>svg{width:54px;height:54px}.reward-title-art>span{font-size:11px;border:1px solid #d6b76666;padding:7px 10px;border-radius:22px;max-width:90%;line-height:1.5}
.rank-avatar--equipped{position:relative;overflow:visible;padding:0;border:0!important;background:transparent!important}
.rank-avatar--equipped>.reward-avatar-art{border-radius:18px;border:1px solid var(--line)}
.reward-rank-mini{position:absolute;right:-7px;bottom:-7px;border:2px solid var(--bg);background:#102330;border-radius:20px;min-width:26px;height:26px;display:grid;place-items:center;font-size:16px!important;line-height:1;padding:2px;color:var(--green);font-family:inherit}
.community-profile-avatar:has(.reward-avatar-art){overflow:hidden;padding:0}.community-list-avatar{display:block;width:42px;height:42px;flex-shrink:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-right:10px}
.community-profile-hero.reward-profile-theme{border-color:var(--reward-accent);background:radial-gradient(ellipse at 100% 0,var(--reward-glow),transparent 85%),var(--panel)}
.community-personalize{margin-top:18px;font-size:13px}
.global-ranking .rank-card:has(.community-list-avatar){grid-template-columns:42px 42px minmax(0,1fr) auto}
.global-ranking .community-list-avatar{margin-right:0}
.community-profile-hero.theme-oceano{background:radial-gradient(ellipse at 100% 100%,#189fbb33,transparent 80%),linear-gradient(135deg,#0b2339,#102d3c)}
.community-profile-hero.theme-dourado{background:radial-gradient(ellipse at 60% 0,#b9933733,transparent 80%),repeating-linear-gradient(120deg,transparent 0 18px,#f9d87608 19px 20px),#20231e}
.community-profile-hero.theme-diamante{background:conic-gradient(from 40deg at 60% 100%,#14243a,#302b43,#173043,#14243a)}
.community-profile-hero.theme-aurora{background:linear-gradient(130deg,#1b283c,#261e41,#133237,#213020)}
.store-confirm{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;background:#0c1d2a;color:var(--text);border:1px solid #425541;border-radius:24px;padding:26px;box-shadow:0 24px 100px #0008}
.store-confirm::backdrop{background:#020a12cc;backdrop-filter:blur(6px)}
.store-dialog-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#07131e;color:var(--muted);cursor:pointer}
.store-dialog-close>svg{width:18px;height:18px}
.store-confirm-art{width:110px;height:110px;border-radius:24px;overflow:hidden;margin:6px 0 24px;border:1px solid #ffffff22}
.store-confirm h2{font-family:Sora,sans-serif;font-size:23px;line-height:1.3;margin:0 0 12px}
.store-confirm p{font-size:13px;color:var(--muted);line-height:1.7}
.store-confirm dl{margin:20px 0;border-top:1px solid var(--line)}
.store-confirm dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;line-height:1.5}
.store-confirm dt{color:var(--muted);flex-shrink:0}.store-confirm dd{margin:0;text-align:right;max-width:60%}.store-confirm dl>div:last-child dd{color:var(--green);font-weight:700}
.store-confirm>.button{margin-top:10px;min-height:46px;white-space:normal}
.store-confirm .store-confirm-note{font-size:11px}
.rewards-store button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:900px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding:24px}.store-heading{gap:18px}.store-wallet{padding:16px}.store-wallet strong{font-size:25px}}
@media(max-width:600px){
  .global-ranking .rank-card:has(.community-list-avatar){grid-template-columns:28px 34px minmax(0,1fr) auto;gap:7px}
  .rewards-store{padding-top:10px}.store-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px}.store-heading h1{font-size:30px}.store-heading>div>p:last-child{font-size:13px}.store-eyebrow{font-size:10px;margin-bottom:10px}
  .store-wallet{width:100%;padding:14px 16px;gap:11px;border-radius:16px}.store-wallet strong{font-size:26px}.store-wallet small{font-size:11px}.store-wallet-prestige{width:auto;margin-left:auto;border:0;padding:0;font-size:10px}
  .store-hero{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px;border-radius:22px;scroll-margin-top:120px}.store-hero-copy{display:contents}.store-collection-label{grid-row:1;margin:0;justify-self:start;font-size:8px;max-width:100%;line-height:1.6}.store-hero>.reward-profile-scene{grid-row:2}.store-hero-copy>.store-eyebrow{grid-row:3;margin:0}.store-hero-copy>h2{grid-row:4;font-size:28px;margin:-10px 0 0}.store-hero-copy>p:not(.store-eyebrow){grid-row:5;margin:-8px 0 0;font-size:13px;line-height:1.65}.store-hero-price{grid-row:6;margin:0}.store-hero-action{grid-row:7}.store-preview-note{grid-row:8;margin:-8px 0 0;font-size:10px}.store-hero-action>.button{width:100%}
  .reward-profile-scene{min-height:290px;border-radius:18px}.reward-profile-cover{height:96px}.reward-profile-portrait{width:104px;height:104px;margin-top:-48px;border-radius:24px}.reward-profile-identity>strong{font-size:19px}.reward-profile-identity{margin:16px 12px 20px}.reward-profile-foot{font-size:9px;padding:12px}
  .store-browse-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-top:24px}.store-tabs{gap:6px}.store-tabs button{font-size:15px;padding:10px 8px}.store-tabs button span{font-size:10px;margin-left:4px}.store-browse-heading>.community-back{min-height:34px;font-size:11px}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-item{border-radius:15px}.store-item-copy{padding:12px 10px}.store-item h3{font-size:15px}.store-item p{font-size:11px;line-height:1.65;min-height:72px;margin-bottom:10px}.store-item-copy>span{font-size:8px;letter-spacing:.045em}.store-item-footer{align-items:flex-start;flex-direction:column;gap:0}.store-item-footer>strong{font-size:15px}.store-try{font-size:10px;min-height:44px;padding-left:0}.store-rarity{font-size:8px;padding:4px 7px;top:8px;left:8px}.store-owned{font-size:8px;padding:4px 6px;left:6px;bottom:6px}.store-filters{gap:6px}.store-filters button{padding:8px 13px;font-size:11px}.store-equip{font-size:10px;line-height:1.4;padding:6px}.reward-theme-sample{padding:12px;gap:4px}.reward-theme-sample>b{font-size:12px}.reward-flair-art{font-size:46px}.reward-title-art>span{font-size:9px}.community-list-avatar{width:34px;height:34px;border-radius:10px;margin-right:7px}.store-confirm{padding:22px 18px}.store-confirm dl>div{font-size:11px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.store-item,.store-item-art>.reward-avatar-art{transition:none}}

.store-mobile-hint,.store-preview-close{display:none}
@media(min-width:900px){
 .store-active .history-header-inner{max-width:1120px;padding:12px 26px;display:flex;align-items:center;gap:20px}
 .store-active .history-brand-row{display:contents}
 .store-active .history-brand{order:0;font-size:29px}
 .store-active .history-brand img{width:32px;height:32px}
 .store-active .history-nav{order:1;display:flex;justify-content:center;flex:1;gap:6px;margin:0;max-width:none}
 .store-active .history-nav a{flex-direction:row;min-height:44px;gap:5px;padding:7px;font-size:11px;align-items:center}
 .store-active .history-nav svg{width:16px;height:16px}
 .store-active .history-header-actions{order:2}
}
@media(max-width:600px){
 .store-hero{display:none}
 .store-hero.is-preview-open{display:grid;position:relative;padding-top:62px}
 .store-preview-close{position:absolute;left:16px;top:12px;display:flex;align-items:center;gap:6px;min-height:40px;background:transparent;color:var(--muted);border:0;font:inherit;font-size:12px;cursor:pointer}
 .store-preview-close svg{width:16px;height:16px}
 .store-mobile-hint{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 12px}
 .store-mobile-hint svg{width:16px;height:16px;flex-shrink:0}
 .store-heading{gap:14px;margin-bottom:16px}
 .store-heading h1{font-size:27px}
 .store-browse-heading{margin-top:16px}
}

.store-level-locked{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:1.7;min-height:48px}.store-level-locked svg{width:16px;height:16px;flex-shrink:0}

/* Avatar-only shop: four level rewards, one clear action per card. */
.avatar-only-store{max-width:960px}
.avatar-store-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 24px}
.avatar-store-heading h1{font:700 30px/1.2 Sora,sans-serif;letter-spacing:-.03em;margin:0 0 8px}
.avatar-store-heading p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.avatar-current-level{display:flex;align-items:center;gap:8px;flex-shrink:0;color:var(--muted);font-size:13px}
.avatar-current-level strong{color:var(--green);font-size:22px}
.avatar-level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.avatar-level-card{min-width:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel)}
.avatar-level-card.is-equipped{border-color:var(--green)}
.avatar-level-art{position:relative;aspect-ratio:1;overflow:hidden}
.avatar-level-art>span:last-child{position:absolute;top:10px;left:10px;border:1px solid #ffffff25;background:#07131edb;color:var(--text);border-radius:20px;padding:5px 9px;font-size:11px}
.avatar-level-copy{padding:15px}
.avatar-level-copy h2{font:700 17px/1.4 Sora,sans-serif;margin:0 0 5px}
.avatar-level-copy p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 14px}
.avatar-level-copy .button{width:100%;min-height:44px;padding:10px 6px;font-size:12px;gap:5px;white-space:normal}
.avatar-level-copy .button svg{width:14px;height:14px;flex-shrink:0}
.avatar-level-copy .button:disabled{opacity:.7;cursor:default}
.avatar-store-note{color:var(--muted);font-size:12px;line-height:1.7;margin:20px 0 10px}
.avatar-profile-link{display:inline-flex;min-height:44px;align-items:center}
@media(max-width:700px){.avatar-level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.avatar-store-heading{align-items:flex-start;margin-bottom:20px}.avatar-store-heading h1{font-size:26px}.avatar-store-heading p{font-size:13px;max-width:220px}.avatar-current-level{font-size:11px;gap:5px;white-space:nowrap}.avatar-current-level strong{font-size:19px}.avatar-level-copy{padding:12px 10px}.avatar-level-copy h2{font-size:15px}.avatar-level-copy p{font-size:11px}.avatar-level-copy .button{font-size:11px}}
