/* Payment brands use the same icon-and-label layout as the Fortnite shop. */
.ff-payment-strip .ff-payment-title {
  display: grid;
  flex: 0 1 232px;
  grid-template-columns: minmax(0,1fr);
  gap: 5px;
}
.ff-payment-strip .ff-payment-title > * { grid-area: auto; justify-self: start; max-width: none; text-align: left; }
.ff-payment-title strong { color: #f5f4fa; font-size: 17px; line-height: 1.12; }
.ff-payment-title p { color: #b7c2d4; font-size: 11px; line-height: 1.45; }
.ff-payment-strip .ff-payment-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
}
.ff-payment-strip .ff-payment-methods > .ff-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 11px;
  min-height: 54px;
  border: 1px solid #39425b;
  border-radius: 10px;
  background: #121926;
  color: #f2f4fc;
  text-align: left;
}
.ff-method > span { min-width: 0; display: grid; gap: 2px; }
.ff-method b { font-size: 13px; line-height: 1.18; }
.ff-payment-methods .ff-method small { color: #b0bbca; font-size: 10px; line-height: 1.3; }
.ff-method .ff-method-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  height: 34px;
  background: #25213a;
  color: #bea5fa;
  border-radius: 9px;
  font: 850 20px/1 system-ui,sans-serif;
}
.ff-method-mark img { display: block; }
.ff-method[data-brand="stripe"] .ff-method-mark { color: #a99aff; background: #232344; font-style: italic; }
.ff-method[data-brand="visa"] .ff-method-mark { color: #9fb6ff; background: #222c45; font-size: 10px; font-style: italic; }
.ff-method[data-brand="mastercard"] .ff-method-mark { background: #352629; }
.ff-method[data-brand="mastercard"] .ff-method-mark > i { width: 12px; height: 12px; border-radius: 50%; background: #ff6656; }
.ff-method[data-brand="mastercard"] .ff-method-mark > i + i { background: #ffb247; margin-left: -4px; }
.ff-payment-methods a.ff-method { transition: transform .18s ease, border-color .18s; }
.ff-payment-strip .ff-payment-methods a.ff-method:is(:hover,:focus-visible) { border-color: #ad9af9; transform: translateY(-2px); }

.ff-club:has(.ff-community-invite) {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-areas: "invite reviews" "podium podium" "contact contact";
  gap: clamp(12px,1.6vw,22px);
  margin-block: clamp(40px,6vw,84px) 24px;
}
.ff-club > .ff-community { border-radius: 19px; }
.ff-club .ff-community-invite,.ff-club #resenas {
  padding: clamp(22px,3.1vw,48px);
  min-height: 290px;
}
.ff-club .ff-community-invite {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  border-color: #6553a0;
  background: radial-gradient(ellipse at top right,#59449882,transparent 66%),linear-gradient(140deg,#242547,#342660 55%,#202037);
}
.ff-club :is(.ff-community-invite,#resenas) h2 {
  color: #f7f6fc;
  font-size: clamp(31px,3.35vw,48px);
  letter-spacing: -.035em;
  font-weight: 720;
  line-height: 1.04;
  margin: 10px 0;
}
.ff-club .ff-community-invite h2 em { display: block; color: #ffda70; font-style: normal; }
.ff-club .ff-community-invite p { color: #d5d6e6; max-width: 35ch; margin: 0 auto; font-size: 14px; line-height: 1.55; }
.ff-club :is(.ff-community-invite,#resenas) .eyebrow { color: #87e9db; font-weight: 700; font-size: 10px; letter-spacing: .13em; }
.ff-group-actions { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 9px; }
.ff-community-invite .ff-group-actions a.button {
  border: 1px solid #68e39d;
  background: #62d99a;
  color: #092516;
  padding: 0 15px;
  border-radius: 9px;
  min-height: 44px;
  font-size: 13px;
}
.ff-sales-total:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid #665f83;
  border-radius: 9px;
  background: #19182c;
}
.ff-sales-total strong { color: #fff; font-size: 22px; line-height: 1; }
.ff-sales-total small { color: #ccc8dc; font-size: 10px; line-height: 1.15; text-align: left; }
.ff-club #resenas { background: linear-gradient(135deg,#1a2034,#121827 80%); display: flex; flex-direction: column; justify-content: center; }
.ff-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ff-review-nav:not([hidden]) { display: flex; gap: 5px; }
.ff-review-nav button {
  width: 38px;
  height: 44px;
  border: 1px solid #455571;
  border-radius: 8px;
  background: #161f30;
  color: #f6f8ff;
  cursor: pointer;
  font-size: 18px;
}
.ff-club #review-results {
  margin-top: 12px;
  padding: 16px 18px;
  color: #c8d1e0;
  font-size: 14px;
  border: 1px solid #333d57;
  border-radius: 13px;
  background: #0e1525;
}
.ff-review-quote { animation: ff-review-in .25s ease-out both; }
.ff-review-quote .ff-stars { color: #ffd56a; font-size: 17px; letter-spacing: .08em; }
.ff-review-quote blockquote { margin: 8px 0 14px; color: #f1f2f7; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.ff-review-quote > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; font-size: 12px; }
.ff-review-quote strong { overflow-wrap: anywhere; }
.ff-review-quote small { color: #85e8c5; font-size: 11px; }
@keyframes ff-review-in { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.ff-club #podio,.ff-club #contacto { background: #141e2c; }
.ff-club #podio {
  display: grid;
  grid-template-columns: minmax(185px,.65fr) minmax(0,1.5fr);
  grid-template-areas: "label scores" "title scores" "description scores" "signup scores";
  align-content: center;
  column-gap: clamp(20px,4vw,58px);
}
.ff-club #podio > .eyebrow { grid-area: label; }
.ff-club #podio > h2 { grid-area: title; }
.ff-club #podio > p { grid-area: description; margin: 0; }
.ff-club #podium-results { grid-area: scores; align-self: center; }
.ff-club #podium-settings { grid-area: signup; }
.ff-club #contacto { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px clamp(18px,3vw,38px); }
.ff-club #contacto h2 { font-size: 24px; margin: 0; }
.ff-club #contacto .eyebrow { display: none; }
.ff-club #contacto p,.ff-club #contacto .hero-actions { margin-block: 4px 0; }
.ff-club #podio p,.ff-club #contacto p { color: #bac5d5; }
.ff-club #podium-results { color: #c8d1e0; margin-block: 14px; }
.ff-club #podium-settings summary { min-height: 44px; padding: 10px 0; }
.ff-club .ff-group-actions a,.ff-review-nav button { transition: transform .18s ease, border-color .18s ease; }
@media (hover:hover) {
  .ff-club .ff-group-actions a:hover,.ff-review-nav button:hover { transform: translateY(-2px); border-color: #a3e1cf; }
}
.ff-store-footer.ff-footer {
  display: block;
  max-width: none;
  margin: 0;
  padding: clamp(32px,5vw,68px) var(--gutter,24px) 20px;
  border-top: 1px solid #30394a;
  background: #0c101b;
}
.ff-footer-inner,.ff-footer-credit { max-width: 1190px; margin-inline: auto; }
.ff-footer-inner { display: grid; grid-template-columns: 1.45fr repeat(3,minmax(0,1fr)); gap: clamp(22px,4vw,64px); }
.ff-store-footer .ff-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #f8f9fc; min-height: 44px; font-size: 23px; line-height: 1; }
.ff-footer-logo img { object-fit: contain; }
.ff-footer-logo small { display: block; margin-top: 5px; color: #a1b3c9; font-size: 9px; letter-spacing: .16em; }
.ff-footer-inner nav { display: grid; align-content: start; justify-items: start; gap: 0; min-width: 0; }
.ff-footer-inner nav h2 { font: 750 11px/1.4 Outfit,system-ui,sans-serif; text-transform: uppercase; margin: 0 0 8px; color: #c3b1f4; letter-spacing: .12em; }
.ff-store-footer .ff-footer-inner nav a { align-items: center; padding: 2px 0; min-height: 32px; color: #c1cada; font-size: 13px; font-weight: 450; overflow-wrap: anywhere; }
.ff-store-footer .ff-footer-brand p { color: #aebbd0; font-size: 13px; line-height: 1.6; margin-block: 12px; }
.ff-footer-social { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-store-footer .ff-footer-social a { align-items: center; min-height: 36px; padding: 5px 10px; border-radius: 7px; background: #181f2e; border: 1px solid #354154; color: #d9e2f3; }
.ff-footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #2d3443; padding-top: 16px; margin-top: 28px; color: #abb7cb; font-size: 11px; }

@media(max-width:900px) {
  main:has(.ff-showcase)>.ff-payment-strip { align-items: stretch; flex-direction: column; gap: 10px; }
  .ff-payment-strip .ff-payment-title { flex: auto; padding: 0; border: 0; display: grid; gap: 3px; }
}
@media(max-width:780px) {
  .ff-club:has(.ff-community-invite) { grid-template-columns: minmax(0,1fr); grid-template-areas: "invite" "reviews" "podium" "contact"; }
  .ff-club #podio { display: block; }
  .ff-club .ff-community-invite,.ff-club #resenas { min-height: 0; padding: 26px 20px; }
  .ff-footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; }
  .ff-store-footer .ff-footer-inner nav a,.ff-store-footer .ff-footer-social a { min-height: 42px; }
}
@media(max-width:600px) {
  .ff-payment-strip .ff-payment-methods { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .ff-payment-strip .ff-payment-methods > .ff-method { padding: 7px; gap: 7px; }
  .ff-method .ff-method-mark { flex-basis: 30px; height: 30px; }
  .ff-review-nav button { width: 40px; }
  .ff-review-head { flex-wrap: wrap; }
  .ff-club .ff-podium { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 10px 0; }
  .ff-club .ff-rank {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto;
    grid-template-areas: "medal nick amount" "medal orders amount";
    padding: 10px 12px;
    column-gap: 8px;
    row-gap: 1px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .ff-club .ff-rank .ff-medal { grid-area: medal; width: 30px; height: 30px; font-size: 15px; }
  .ff-club .ff-rank h3 { grid-area: nick; font-size: 15px; margin: 0; }
  .ff-club .ff-rank strong { grid-area: amount; font-size: 15px; }
  .ff-club .ff-rank small { grid-area: orders; }
  .ff-footer-inner { grid-template-columns: 1fr 1fr; }
  .ff-footer-brand,.ff-footer-inner nav:last-child { grid-column: 1/-1; }
}

/* Shared TowaShop components follow the Fortnite account and guide hierarchy. */
.ff-guide{
  margin-block:40px 0;padding:clamp(22px,3.2vw,38px);border:1px solid #2d3854;border-radius:20px;
  background:linear-gradient(120deg,#111a2bef,#0b1221f5);position:relative;isolation:isolate;
}
.ff-guide .section-heading{align-items:end;gap:16px;margin-bottom:23px}
.ff-guide .section-heading .eyebrow{color:#9caaf1;font-size:9px;letter-spacing:.17em}
.ff-guide .section-heading h2{font-size:clamp(29px,3.2vw,44px);line-height:1.08;letter-spacing:-.035em;margin-top:8px;color:#f5f6fc}
.ff-guide .section-heading h2 em{color:#ffe34d;font-style:normal}
.ff-guide .section-heading>a{color:#aebbf2;font-size:12px;min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}
.ff-guide .ff-quick-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.ff-guide .ff-quick-steps article{
  --step-accent:#8998fa;display:flex;flex-direction:column;align-items:flex-start;min-width:0;
  padding:22px 20px 16px;border:1px solid #424d78;border-radius:14px;position:relative;
  background:radial-gradient(ellipse at 100% 100%,#6674d51c,transparent 65%),#0c1425;
  overflow:hidden;animation:ff-shared-arrive .45s both;transition:transform .2s,border-color .2s;
}
.ff-guide .ff-quick-steps article:nth-child(2){--step-accent:#b2a2ff;border-color:#4c4378;animation-delay:.05s}
.ff-guide .ff-quick-steps article:nth-child(3){--step-accent:#ffe34d;border-color:#5c563b;animation-delay:.1s;background:radial-gradient(ellipse at 100% 100%,#bca23e17,transparent 65%),#0c1425}
.ff-guide .ff-quick-steps article:nth-child(4){--step-accent:#64dfd4;border-color:#365d65;animation-delay:.15s;background:radial-gradient(ellipse at 100% 100%,#3eacac17,transparent 65%),#0c1425}
.ff-guide .ff-quick-steps article:after{content:"";position:absolute;bottom:0;left:20px;right:20px;height:2px;background:var(--step-accent);opacity:.6}
.ff-guide .ff-step-number{position:static;display:grid;place-items:center;flex:none;width:32px;height:32px;border:0;border-radius:9px;margin:0 0 23px;background:#252c4d;color:var(--step-accent);font-size:12px;line-height:1;font-weight:800}
.ff-guide .ff-quick-steps h3{font-size:17px;line-height:1.16;letter-spacing:-.02em;margin:0 0 11px;color:#f1f3fc}
.ff-guide .ff-quick-steps p{font-size:12px;line-height:1.65;color:#aebad2;margin:0 0 10px}
.ff-guide .ff-quick-steps a{display:inline-flex;align-items:center;min-height:44px;margin-top:auto;padding-top:8px;font-size:12px;font-weight:750;color:#ffe34d;line-height:1.4}
.ff-towa-account{margin-top:22px;padding:clamp(22px,3.2vw,38px);border:1px solid #353d67;border-radius:20px;background:radial-gradient(ellipse at 0 100%,#44358b1f,transparent 60%),#0c1323f5;min-width:0}
.ff-towa-account>header,.ff-towa-account-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}
.ff-towa-account .eyebrow{color:#69e5d4;font-size:9px;letter-spacing:.17em}
.ff-towa-account h2{color:#f2f4fc;font-size:clamp(29px,3.2vw,41px);line-height:1.08;letter-spacing:-.035em;margin:8px 0 0}
.ff-towa-account h2 em{color:#ffe34d;font-style:normal}
.ff-towa-account>header>p,.ff-towa-account-head>p{max-width:35ch;color:#aebad2;font-size:12px;line-height:1.65;margin:0}
.ff-towa-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.ff-towa-account-link{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;padding:20px 17px;background:linear-gradient(120deg,#191d35,#11192b);border:1px solid #354166;border-radius:13px;min-width:0;min-height:124px;color:#e9edf8;transition:transform .2s,border-color .2s}
.ff-towa-account-link>span{min-width:0}.ff-towa-account-link .ff-towa-account-icon{width:44px;height:44px;display:grid;place-items:center;background:#2c2449;border:1px solid #52447d;border-radius:12px;color:#b69aff}
.ff-towa-account-icon img{display:block;width:32px;height:32px;object-fit:contain;animation:ff-shared-coin 4.5s ease-in-out infinite}
.ff-towa-account-icon svg{width:23px;height:23px}
.ff-towa-account-link small{display:block;font-size:8px;color:#93a4c4;font-weight:750;letter-spacing:.1em;line-height:1.5;margin-bottom:5px}
.ff-towa-account-link strong{display:block;font-size:21px;letter-spacing:-.025em;line-height:1.12;color:#f3f4fc}
.ff-towa-account-link p{font-size:11px;line-height:1.55;color:#a5b3ce;margin:6px 0 0}
.ff-towa-account-link>b{font-size:18px;color:#9eaceb;align-self:start;margin-top:3px}
.ff-towa-account-link:nth-child(2) .ff-towa-account-icon{background:#352e21;color:#ffe34d;border-color:#75683b}
.ff-towa-account-link:nth-child(3) .ff-towa-account-icon{background:#18333c;color:#71e1da;border-color:#375d68}
@keyframes ff-shared-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes ff-shared-coin{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-3px) rotate(4deg)}}
@media(hover:hover){.ff-guide .ff-quick-steps article:hover{transform:translateY(-3px);border-color:var(--step-accent)}.ff-towa-account-link:hover{transform:translateY(-3px);border-color:#8674dc}}
.ff-towa-account-link:focus-visible,.ff-guide a:focus-visible{outline:2px solid #ffe34d;outline-offset:4px}
@media(max-width:1000px){.ff-guide .ff-quick-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-towa-account-link{grid-template-columns:39px minmax(0,1fr);gap:11px}.ff-towa-account-link>b{display:none}.ff-towa-account-link .ff-towa-account-icon{width:39px;height:39px}}
@media(max-width:700px){
  .ff-towa-account>header,.ff-towa-account-head{align-items:start;flex-direction:column;gap:10px}.ff-towa-account-grid{grid-template-columns:1fr}
  .ff-towa-account-link{grid-template-columns:44px minmax(0,1fr) auto;min-height:100px;padding:17px}.ff-towa-account-link>b{display:block}
  .ff-towa-account-link .ff-towa-account-icon{width:44px;height:44px}.ff-towa-account-link strong{font-size:23px}.ff-towa-account-link small{font-size:9px}
}
@media(max-width:480px){
  .ff-guide,.ff-towa-account{padding:22px 16px;border-radius:16px}
  .ff-guide .section-heading{align-items:start;flex-direction:column;gap:6px}.ff-guide .section-heading>a{font-size:11px}
  .ff-guide .ff-quick-steps{grid-template-columns:1fr;gap:10px}
  .ff-guide .ff-quick-steps article{display:grid;grid-template-columns:32px minmax(0,1fr);padding:18px 17px 14px;gap:0 13px}
  .ff-guide .ff-step-number{grid-column:1;grid-row:1/4;margin:0}.ff-guide .ff-quick-steps h3,.ff-guide .ff-quick-steps p,.ff-guide .ff-quick-steps a{grid-column:2}
  .ff-guide .ff-quick-steps h3{font-size:18px;margin:2px 0 8px}.ff-guide .ff-quick-steps p{font-size:12px;margin:0}.ff-guide .ff-quick-steps a{font-size:12px;padding-top:5px}
}

/* Same profile strip, four metrics and activity/sidebar composition as Fortnite. */
.ff-player-account{--pa-ink:#f1f3fc;--pa-mute:#9eacc8;--pa-line:#30385b;--pa-accent:#ffe34d;--pa-panel:#0c1325;gap:16px}
.ff-player-account .ff-kicker{color:#adbafa;text-shadow:none;letter-spacing:.16em;font-size:9px}
.ff-pa-title{padding:20px 0 8px;gap:15px;flex-wrap:wrap}
.ff-pa-title h1{font-size:clamp(34px,4.6vw,58px);line-height:1.06;letter-spacing:-.035em;margin-top:9px;text-shadow:none}
.ff-pa-title h1 em{color:#ffe34d;font-style:normal}
.ff-pa-profile{border:1px solid #373f70;border-radius:21px;background:radial-gradient(ellipse at 0 0,#59499a33,transparent 65%),linear-gradient(115deg,#171f3b,#101529 75%);padding:clamp(20px,3vw,32px);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}
.ff-pa-avatar{width:58px;border-radius:15px;background:linear-gradient(130deg,#8b77ff,#6850eb);color:#fff;font-size:23px;box-shadow:0 7px 20px #5d4ac62b;position:relative}
.ff-pa-avatar:after{content:"";position:absolute;width:10px;height:10px;right:-3px;bottom:2px;border:2px solid #111a2f;border-radius:50%;background:#63e7bf}
.ff-pa-user{gap:16px}.ff-pa-user h2{font-size:clamp(23px,2.5vw,30px);line-height:1.15}.ff-pa-user p{font-size:12px;margin-top:8px;overflow-wrap:anywhere}
.ff-pa-cashback-chip{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border:1px solid #39aab757;border-radius:99px;background:#237b8530;color:#65e6e2;font-size:10px;font-weight:700;margin-top:8px;line-height:1.3}
body .ff-player-account .ff-loyalty-panel{background:#0e1429;border-color:#2d365c;border-radius:14px;padding:18px 21px}
.ff-player-account .ff-loyalty-panel>small{color:#8f9fbb;font-size:8px;letter-spacing:.12em}.ff-player-account .ff-loyalty-panel>h2{font-size:24px}
.ff-player-account .ff-loyalty-panel a{color:#b2baff;font-size:11px}.ff-player-account .ff-loyalty-panel progress{height:7px;margin:11px 0;background:#222b45;border-radius:9px;overflow:hidden}
.ff-player-account .ff-loyalty-panel progress::-webkit-progress-bar{background:#222b45}.ff-player-account .ff-loyalty-panel progress::-webkit-progress-value{background:linear-gradient(90deg,#ffe34d,#a17af4 80%,#ffe34d)}
body .ff-player-account .ff-pa-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:none;border:0;overflow:visible;border-radius:0}
body .ff-player-account .ff-pa-metrics article{border:1px solid #30385b;border-radius:13px;padding:18px;background:#0d1425;gap:6px}
.ff-player-account .ff-pa-metrics strong{font-size:clamp(22px,2.7vw,30px);line-height:1.1}.ff-pa-metrics small{font-size:8px;letter-spacing:.09em;color:#9aa9c4}
.ff-player-account .ff-pa-metrics article p{font-size:11px;margin:0;line-height:1.5}.ff-player-account .ff-pa-metrics a{font-size:10px;min-height:34px;color:#c2b6ff;padding-top:2px}
.ff-pa-coins{color:#ffe34d;font-size:11px;line-height:1.4;font-weight:650}
.ff-pa-layout{grid-template-columns:minmax(0,1.65fr) minmax(255px,1fr);gap:15px}
.ff-pa-panel{background:#0d1426;border-color:#30385b;border-radius:17px;padding:22px}.ff-pa-panel h2{font-size:22px}
.ff-pa-panel .ff-pa-symbol{background:#2d283d;color:#ffe34d}.ff-pa-gift .ff-pa-symbol{background:#202843;color:#aeb5ff}
.ff-player-account .ff-pa-panel .button.primary{background:#ffe34d;border-color:#ffe34d;color:#17151c;font-size:12px}
.ff-player-account .ff-pa-credit .button.primary{background:linear-gradient(110deg,#6964ff,#8e55ee);border-color:#8b77f3;color:#fff}
.ff-pa-quiet{background:#10172a;border-color:#313b59;color:#aebbd4;font-size:11px}
.ff-pa-tabs{display:inline-flex;max-width:100%;padding:4px;margin-top:15px;gap:4px;border:1px solid #303a5d;background:#0a1021;border-radius:9px}
.ff-pa-tabs button{border:0;background:transparent;font-size:11px;min-height:36px;padding:7px 12px}.ff-pa-tabs button[aria-pressed=true]{background:#ffe34d;color:#151724;border-radius:6px}
.ff-player-account input,.ff-player-account select,.ff-player-account textarea{background:#1d2535;border-color:#3a4358;border-radius:9px;font-size:16px}
.ff-pa-row{border:1px solid #2e3859;border-radius:11px;background:#0a1021;padding:14px 13px 8px;margin-top:8px;font-size:13px}
.ff-pa-row small{font-size:10px;line-height:1.6;margin-top:3px}.ff-pa-row strong{font-size:13px;line-height:1.4}
.ff-pa-order-links a{font-size:11px;min-height:34px;color:#a9b6f6}.ff-pa-order-links{gap:9px}
@media(max-width:850px){.ff-pa-layout{grid-template-columns:minmax(0,1fr)}.ff-pa-layout aside{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-pa-profile{gap:16px}.ff-pa-user{align-items:start;gap:12px}.ff-pa-avatar{width:46px;font-size:20px}}
@media(max-width:700px){.ff-pa-profile{grid-template-columns:1fr}.ff-pa-title h1{font-size:clamp(34px,7vw,46px)}body .ff-player-account .ff-pa-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-pa-layout aside{grid-template-columns:1fr}.ff-pa-panel{padding:20px}.ff-pa-tabs button{min-height:44px}.ff-player-account .ff-pa-metrics a,.ff-pa-order-links a{min-height:44px}}
@media(max-width:700px){body .ff-player-account .ff-pa-metrics article:first-child,body .ff-player-account .ff-pa-metrics article:last-child{grid-column:1/-1}}
@media(max-width:380px){body .ff-player-account .ff-pa-metrics article{padding:14px 12px}.ff-player-account .ff-pa-metrics strong{font-size:23px}.ff-pa-filters{flex-direction:column}.ff-pa-title h1{font-size:34px}}

/* Account chrome is TowaShop-wide; only the game content keeps its own palette. */
.ff-header .ff-main-nav [aria-current=page]{color:#fff;background:linear-gradient(120deg,#7568ff,#8855ef);box-shadow:inset 0 0 0 1px #b9a7ff4d}
.ff-header .ff-main-nav [aria-current=page] .ff-nav-icon{color:#fff}
.ff-header .ff-profile[open]>summary{border-color:#9986ff;background:linear-gradient(135deg,#7666ef,#5547c8);color:#fff}
.ff-profile-pop{width:min(330px,calc(100vw - 24px));padding:11px;border:1px solid #3e4676;border-radius:17px;background:linear-gradient(155deg,#1a2340,#10172b 55%);box-shadow:0 20px 40px #00000066;color:#eff2ff;scrollbar-width:thin;scrollbar-color:#485579 #10172b}
.ff-profile-id{padding:9px 8px;border:1px solid #374269;border-radius:11px;background:#182039;gap:10px;margin-bottom:9px}
.ff-profile-avatar{width:39px;height:39px;border:1px solid #a28bff66;border-radius:11px;background:linear-gradient(130deg,#8a78ff,#7055df);color:#fff;font-size:16px;box-shadow:0 5px 16px #7250db30}
.ff-profile-id strong{color:#f5f6fc;font-size:13px;font-weight:750;line-height:1.4}.ff-profile-id small{color:#97a6c3;font-size:10px;line-height:1.5}
.ff-profile :is(.ff-profile-balance,.ff-profile-rank){background:#10182d;border-color:#313e64;border-radius:10px}
.ff-profile-balance{min-height:72px;padding:12px!important}.ff-profile-balance small{font-size:8px;color:#93a2c0;letter-spacing:.08em}.ff-profile-balance strong{font-size:21px;line-height:1.1;color:#f2f4fc}
.ff-profile-balance [data-profile-coins]{color:#ffe34d;font-size:10px;letter-spacing:0;font-weight:650;line-height:1.4}
.ff-profile-balance>b{width:32px;height:32px;border:1px solid #a28bff50;border-radius:9px;background:linear-gradient(135deg,#8a73ff,#6b56ee);color:#fff;font-size:21px;font-weight:600}
.ff-profile .ff-profile-rank{padding:12px;margin:8px 0 12px;gap:9px;min-height:58px}
.ff-profile-rank strong{color:#dce4f7;font-size:11px}.ff-profile-rank b{font-size:10px;color:#ffe34d}
.ff-profile-rank progress{height:5px;background:#273552}.ff-profile-rank progress::-webkit-progress-bar{background:#273552}.ff-profile-rank progress::-webkit-progress-value{background:linear-gradient(90deg,#66e2d6,#8066ed,#ffe34d)}
.ff-profile-links{gap:7px}.ff-profile-links:before{content:"ACCESOS RÁPIDOS";grid-column:1/-1;font-size:9px;letter-spacing:.13em;font-weight:750;color:#8393b3;padding:1px 2px 3px}
.ff-profile-links :is(a,button){border-color:#344063;background:#10182c;border-radius:9px;min-height:44px;padding:10px;font-size:11px;color:#cad4eb}
.ff-profile-links .ff-profile-primary{grid-column:1/-1;background:linear-gradient(115deg,#7367fa,#8657e5);border-color:#ac93ff66;color:#fff;font-size:12px}
.ff-profile-links .ff-profile-primary .ff-nav-icon{padding:3px;box-sizing:content-box;background:#ffffff26;border-radius:6px;color:#fff}
.ff-profile-links :is(a,button):hover,.ff-profile :is(.ff-profile-balance,.ff-profile-rank):hover{border-color:#9582e0}
.ff-profile-links [data-profile-logout]{background:#191323;border-color:#67344a;color:#f3a7be;font-size:11px}
.ff-profile:not(.is-authenticated) :is(.ff-profile-id,.ff-profile-balance,.ff-profile-rank,.ff-profile-links){display:none}
.ff-profile:not(.is-authenticated) .ff-profile-pop{padding:18px 19px;border-radius:18px;background:linear-gradient(160deg,#1a2042,#090f1d 72%)}
.ff-profile [data-profile-guest]{display:grid;gap:10px;padding:0;margin:0;font-family:Inter,system-ui,sans-serif}
.ff-profile [data-profile-guest] h3{margin:0;color:#eef2fa;font:800 20px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.025em}
.ff-profile [data-profile-guest] p{margin:0 0 3px;color:#8792aa;font:500 12px/1.5 Inter,system-ui,sans-serif}
.ff-profile [data-profile-guest] a{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 11px;border:1px solid #293551;border-radius:10px;background:#0e1627;color:#dfe5f1;font:750 12px/1.4 Inter,system-ui,sans-serif;text-decoration:none;transition:background .18s,border-color .18s}
.ff-profile [data-profile-guest] a span:last-child{color:#7f8aa4;font-size:17px}
.ff-profile [data-profile-guest] a:hover{border-color:#5262ae;background:#17213a;color:#fff}
.ff-profile [data-profile-guest] .ff-guest-primary{border-color:#7b6cff;background:linear-gradient(95deg,#6265f5,#7a55e6);color:#fff}
.ff-profile [data-profile-guest] .ff-guest-primary:hover{background:linear-gradient(95deg,#7275ff,#8964f4)}
.ff-profile [data-profile-guest][hidden]{display:none}
.ff-profile :is(a,summary,button):focus-visible{outline:2px solid #b5a3ff;outline-offset:3px}
.ff-header .ff-wallet-plus{background:linear-gradient(135deg,#806cff,#6855f1);color:#fff}

.ff-rank-coins{display:flex;align-items:center;justify-content:center;gap:5px;color:#bfc8e1;font:500 12px/1.4 Inter,system-ui,sans-serif}.ff-rank-coins img{width:18px;height:18px;flex:none}.ff-podium-note{font-size:11px;color:#a6b6da}
@media(max-width:600px){.ff-club .ff-rank{grid-template-areas:"medal nick amount" "medal orders amount" "coins coins coins";row-gap:5px}.ff-club .ff-rank-coins{grid-area:coins;justify-self:end;font-size:11px}}

/* Account menu follows the shared Fortnite hierarchy. */
.ff-profile .ff-profile-pop { width:min(330px,calc(100vw - 24px)); padding:12px; background:linear-gradient(155deg,#1c2342,#0b1220 65%); border-color:#424977; }
.ff-profile .ff-profile-id { gap:10px; padding:10px; margin-bottom:10px; min-height:65px; }
.ff-profile .ff-profile-id>div { flex:1; }
.ff-profile .ff-profile-id strong { font-size:13px; }
.ff-profile .ff-profile-id small { font-size:9px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ff-profile .ff-profile-avatar { width:43px; height:43px; background:linear-gradient(135deg,#7775ff,#7457ec); }
.ff-profile .ff-profile-tier { flex:none; padding:6px 7px; border:1px solid #404967; border-radius:8px; color:#cbd3e8; background:#11182b; font-size:7px; font-weight:750; text-transform:uppercase; }
.ff-profile .ff-profile-balance { position:relative; box-sizing:border-box; margin-right:47px; min-height:74px; padding:12px!important; }
.ff-profile .ff-profile-balance strong { font-size:18px; }
.ff-profile .ff-profile-balance>span>small:first-child { font-size:7px; text-transform:uppercase; }
.ff-profile .ff-profile-balance>b { position:absolute; left:calc(100% + 11px); top:50%; transform:translateY(-50%); width:36px; height:38px; box-shadow:0 7px 20px #7055ed45; }
.ff-profile .ff-profile-rank { margin:9px 0 12px; padding:11px 12px; gap:7px; min-height:63px; }
.ff-profile .ff-profile-rank-caption { color:#8a97b3; font-size:8px; }
.ff-profile .ff-profile-rank progress::-webkit-progress-value { background:linear-gradient(90deg,#706bff,#b456ee); }
.ff-profile .ff-profile-rank progress::-moz-progress-bar { background:linear-gradient(90deg,#706bff,#b456ee); }
.ff-profile .ff-profile-links { gap:7px; }
.ff-profile .ff-profile-links:before { font-size:10px; padding:0 1px 1px; }
.ff-profile .ff-profile-links :is(a,button) { gap:7px; min-height:44px; padding:9px 10px; font-size:12px; text-decoration:none; transition:border-color .15s,background .15s; }
.ff-profile .ff-profile-links :is(a,button)::after { content:'›'; color:#8491ac; margin-left:auto; font-size:17px; line-height:1; }
.ff-profile .ff-profile-links .ff-nav-icon { width:13px; height:13px; padding:3px; box-sizing:content-box; border-radius:50%; background:#222c49; color:#b2bdfa; }
.ff-profile .ff-profile-links .ff-profile-primary { grid-column:1/-1; background:linear-gradient(110deg,#6567fa,#8554e4); color:#fff; }
.ff-profile .ff-profile-links .ff-profile-primary .ff-nav-icon { color:#fff; background:#ffffff25; }
.ff-profile .ff-profile-links [data-profile-admin] { grid-column:1/-1; border-color:#66572a; background:linear-gradient(100deg,#24231b,#151a21); color:#f4d35c; }
.ff-profile .ff-profile-links [data-profile-admin]:hover { border-color:#b49a48; background:#2c291d; }
.ff-profile .ff-profile-links [data-profile-logout] { grid-column:1/-1; border-color:#623145; background:#1b1422; color:#ff83ad; }
.ff-profile .ff-profile-links [data-profile-logout] .ff-nav-icon { background:#381e30; color:#ff83ad; }
.ff-profile [hidden] { display:none!important; }

/* Match Fortnite's button response, expanding panel and staggered contents. */
.ff-profile[open] .ff-profile-pop { animation:none; transform-origin:top right; }
.ff-header .ff-profile>summary { transition:background .25s,border-color .25s,box-shadow .3s,transform .3s cubic-bezier(.22,1,.36,1); }
.ff-header .ff-profile>summary>svg { transition:transform .36s cubic-bezier(.22,1,.36,1),filter .3s; }
.ff-header .ff-profile.is-profile-expanded>summary { border-color:#7e79ff; background:linear-gradient(145deg,#5f68f3,#8158ec); box-shadow:0 10px 28px #6960ff61; transform:translateY(-1px) scale(1.04); }
.ff-header .ff-profile.is-profile-expanded>summary>svg { transform:scale(1.12) rotate(7deg); filter:drop-shadow(0 0 7px #ffffff6b); }
.ff-header .ff-profile>summary:active { transform:scale(.94); }
@media(prefers-reduced-motion:reduce) {
  .ff-header .ff-profile>summary,.ff-header .ff-profile>summary>svg { transition:none; }
  .ff-header .ff-profile.is-profile-expanded>summary,.ff-header .ff-profile.is-profile-expanded>summary>svg,.ff-header .ff-profile>summary:active { transform:none; filter:none; }
}

/* Shared store navigation: loader remains visible for the real request only. */
.ff-route-outlet { position:relative; min-height:420px; }
.ff-route-outlet>main.ff-route-pending { visibility:hidden; min-height:420px; pointer-events:none; }
.ff-route-loading { position:absolute; top:0; left:0; right:0; min-height:390px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:13px; padding:28px 20px; box-sizing:border-box; pointer-events:none; color:#f1f4ff; }
.ff-route-loading>small { color:#9ba8cb; font:700 9px/1.5 Inter,system-ui,sans-serif; letter-spacing:.2em; }
.ff-route-loading>strong { font:700 clamp(18px,3vw,23px)/1.3 Inter,system-ui,sans-serif; letter-spacing:-.03em; }
.ff-route-loading-brand { position:relative; display:grid; place-items:center; width:78px; height:78px; margin-bottom:7px; border-radius:50%; background:radial-gradient(circle,#7367f52b,transparent 70%); }
.ff-route-loading-brand>span { position:absolute; inset:0; border:1px solid #7765ee33; border-top:2px solid #ad94ff; border-right-color:#6ae1f0; border-radius:50%; animation:ff-route-orbit 1s linear infinite; }
.ff-route-loading-brand>img { width:42px; height:42px; object-fit:contain; filter:drop-shadow(0 0 14px #8675ff66); animation:ff-route-breathe 1.5s ease-in-out infinite alternate; }
.ff-route-rail { position:absolute; top:0; height:2px; left:0; right:0; overflow:hidden; background:#7b69ef15; }
.ff-route-rail>i { display:block; width:35%; height:100%; background:linear-gradient(90deg,transparent,#7767fa,#82d7f0,transparent); animation:ff-route-progress 1.3s ease-in-out infinite; }
.ff-route-skeleton { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; width:min(540px,100%); margin-top:16px; }
.ff-route-skeleton>i { position:relative; height:70px; overflow:hidden; border:1px solid #6475a422; border-radius:13px; background:#18213a70; }
.ff-route-skeleton>i::after { content:''; position:absolute; inset:0; background:linear-gradient(100deg,transparent,#a09aff13,transparent); transform:translateX(-100%); animation:ff-route-shimmer 1.6s ease-in-out infinite; }
.ff-route-skeleton>i:nth-child(2)::after { animation-delay:.1s; }.ff-route-skeleton>i:nth-child(3)::after { animation-delay:.2s; }
.ff-header .ff-main-nav a { transition:color .2s,background-color .2s,box-shadow .25s,transform .25s; }
.ff-header .ff-main-nav a:active { transform:scale(.96); }
@keyframes ff-route-orbit { to { transform:rotate(360deg); } }
@keyframes ff-route-breathe { to { transform:scale(1.08); filter:drop-shadow(0 0 20px #8675ff99); } }
@keyframes ff-route-progress { from { transform:translateX(-110%); } to { transform:translateX(390%); } }
@keyframes ff-route-shimmer { to { transform:translateX(100%); } }
@media(max-width:600px) { .ff-route-loading { min-height:340px; }.ff-route-skeleton { gap:8px; }.ff-route-skeleton>i { height:58px; } }
@media(prefers-reduced-motion:reduce) {
  .ff-route-loading-brand>span,.ff-route-loading-brand>img,.ff-route-rail>i,.ff-route-skeleton>i::after { animation:none; }
  .ff-header .ff-main-nav a { transition:none; }.ff-header .ff-main-nav a:active { transform:none; }
  .ff-route-outlet .ff-enter.ff-entered { animation:none; }
}

/* Use the same rank artwork and palette as the Fortnite header. */
.ff-header .ff-tier-chip>[data-ff-rank-icon]{width:26px;height:26px;border-radius:8px;border:0;display:grid;place-items:center;background:linear-gradient(135deg,#307ddd,#7f6bff);color:#dfe7ff;box-shadow:0 0 18px #5d76ff55;transition:background .25s,box-shadow .25s,transform .25s}
.ff-header .ff-tier-chip>[data-ff-rank-icon] svg{display:block;width:19px;height:19px}
.ff-header .ff-tier-chip>[data-rank=bronce]{background:linear-gradient(135deg,#7b351f,#bd6236);color:#ffae68;box-shadow:0 0 18px #f0743d4d}
.ff-header .ff-tier-chip>[data-rank=plata]{background:linear-gradient(135deg,#455169,#8a97ad);color:#edf4ff;box-shadow:0 0 18px #b8c5db40}
.ff-header .ff-tier-chip>[data-rank=oro]{background:linear-gradient(135deg,#7f6810,#b79916);color:#ffe048;box-shadow:0 0 18px #ffd42e4d}
.ff-header .ff-tier-chip>[data-rank=platino]{background:linear-gradient(135deg,#4d2b85,#7545bd);color:#b47cff;box-shadow:0 0 18px #975dff4d}
.ff-header .ff-tier-chip>[data-rank=diamante]{background:linear-gradient(135deg,#0b607b,#148eae);color:#35e7ff;box-shadow:0 0 18px #20d9ff4d}
.ff-header .ff-tier-chip>[data-rank=elite]{background:linear-gradient(135deg,#7d1d69,#b32e93);color:#ff66d7;box-shadow:0 0 19px #ff4fd65c}
.ff-header .ff-tier-chip:hover>[data-ff-rank-icon]{transform:translateY(-1px) scale(1.07)}
@media(prefers-reduced-motion:reduce){.ff-header .ff-tier-chip>[data-ff-rank-icon]{transition:none}.ff-header .ff-tier-chip:hover>[data-ff-rank-icon]{transform:none}}
