@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap");

:root {
  --bg: #120d0d;
  --panel: rgba(25, 18, 18, 0.95);
  --panel-2: #241919;
  --border: rgba(255, 110, 76, 0.18);
  --text: #f8f1ea;
  --muted: #c8b7aa;
  --accent: #ff5a36;
  --accent-2: #ffb347;
  --success: #56d364;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* THE WORLD — tema ouro / carvão (landing 2026) */
:root {
  --bg: #121212;
  --panel: rgba(24, 24, 24, 0.88);
  --panel-2: rgba(42, 42, 42, 0.72);
  --border: rgba(212, 175, 55, 0.28);
  --text: #f8f4e8;
  --muted: #b0a080;
  --accent: #e8c547;
  --accent-2: #d4af37;
  --accent-3: #ffe08a;
  --success: #7cb878;
  --danger: #c45c5c;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.38);
  --ring: 0 0 0 1px rgba(212, 175, 55, 0.12) inset;
  /* Fundo estilo carvão + ouro (SVG) */
  --site-bg-art: url("./assets/bg-site-style.svg?v=2");
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #080808;
  background-image:
    radial-gradient(ellipse 120% 95% at 50% -8%, rgba(212, 175, 55, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 90% 70% at 50% 108%, rgba(255, 90, 54, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 96% 82% at 50% 44%, rgba(18, 18, 18, 0.15) 0%, rgba(0, 0, 0, 0.5) 62%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(circle at 8% 12%, rgba(212, 175, 55, 0.11), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(255, 193, 7, 0.07), transparent 40%),
    linear-gradient(180deg, #141414 0%, #0a0a0a 48%, #050505 100%),
    var(--site-bg-art);
  background-size: cover, cover, cover, auto, auto, cover, cover;
  background-position: center top, center bottom, center, center, center, center, center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body,
.tw-site-body {
  font-family: "Oxanium", "Rajdhani", "Segoe UI", sans-serif;
  background: transparent;
  color: var(--text);
  overflow-x: hidden;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(232, 197, 71, 0.07), transparent 70%),
    radial-gradient(circle at 18% 78%, rgba(255, 90, 54, 0.04), transparent 45%),
    radial-gradient(circle at 82% 22%, rgba(212, 175, 55, 0.05), transparent 40%);
}

.site-ambient::before,
.site-ambient::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.site-ambient::before {
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 42px,
      rgba(212, 175, 55, 0.018) 42px,
      rgba(212, 175, 55, 0.018) 43px
    );
  opacity: 0.85;
  animation: ambientDrift 48s linear infinite;
}

.site-ambient::after {
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

@keyframes ambientDrift {
  from {
    transform: translate3d(-2%, -1%, 0);
  }
  to {
    transform: translate3d(2%, 1%, 0);
  }
}

.page-shell {
  width: min(1274px, calc(100% - 36px));
  padding-top: 14px;
  animation: pageRise 0.7s ease both;
}

.topbar,
.hero-world,
.panel,
.tab-strip,
.arena-hero {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(28, 28, 28, 0.94), rgba(14, 14, 14, 0.9)),
    rgba(10, 10, 10, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.topbar::before,
.hero-world::before,
.panel::before,
.tab-strip::before,
.arena-hero::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 26%),
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 36%);
}

.neo-topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 20px;
  overflow: visible;
}

.neo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.brand-orb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #1a1408;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #d4af37, #f4d03f 45%, #c9a227);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
}

.neo-brand .eyebrow,
.panel-kicker,
.eyebrow {
  color: var(--accent);
  letter-spacing: 0.16em;
  font-weight: 800;
}

.brand-title {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.neo-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.neo-nav a {
  color: #e8dcc4;
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.neo-nav a:hover {
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(201, 162, 39, 0.12));
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.login-chip,
.primary-button {
  border: 0;
  border-radius: 15px;
  color: #1a1408;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #f4d03f, #d4af37 48%, #c9a227);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.32);
}

.login-chip {
  min-height: 40px;
  padding-inline: 18px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-chip:not(.discord-logout)::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.32 4.37A19.8 19.8 0 0 0 15.36 2.8a13.8 13.8 0 0 0-.64 1.32 18.5 18.5 0 0 0-5.44 0 12.7 12.7 0 0 0-.65-1.32A19.7 19.7 0 0 0 3.68 4.37C.55 9.02-.3 13.55.13 18.02a19.9 19.9 0 0 0 6.07 3.07c.49-.66.92-1.36 1.3-2.09a12.8 12.8 0 0 1-2.05-.98l.5-.39a14.2 14.2 0 0 0 12.1 0l.5.39c-.65.39-1.33.72-2.05.98.38.73.82 1.43 1.3 2.09a19.9 19.9 0 0 0 6.07-3.07c.5-5.18-.84-9.67-3.55-13.65ZM8.02 15.27c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Zm7.96 0c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.32 4.37A19.8 19.8 0 0 0 15.36 2.8a13.8 13.8 0 0 0-.64 1.32 18.5 18.5 0 0 0-5.44 0 12.7 12.7 0 0 0-.65-1.32A19.7 19.7 0 0 0 3.68 4.37C.55 9.02-.3 13.55.13 18.02a19.9 19.9 0 0 0 6.07 3.07c.49-.66.92-1.36 1.3-2.09a12.8 12.8 0 0 1-2.05-.98l.5-.39a14.2 14.2 0 0 0 12.1 0l.5.39c-.65.39-1.33.72-2.05.98.38.73.82 1.43 1.3 2.09a19.9 19.9 0 0 0 6.07-3.07c.5-5.18-.84-9.67-3.55-13.65ZM8.02 15.27c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Zm7.96 0c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.secondary-button,
.tab-button,
.ghost-link,
.arena-lane-button {
  border: 1px solid rgba(180, 191, 255, 0.16);
  color: #e8edff;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.login-chip:hover,
.primary-button:hover,
.secondary-button:hover,
.tab-button:hover,
.ghost-link:hover,
.arena-lane-button:hover {
  transform: translateY(-3px);
  opacity: 1;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.14);
}

.cart-jump {
  width: 44px;
  min-width: 44px;
  padding-inline: 0;
  font-size: 1.1rem;
}

.neo-hero,
.arena-hero-horizontal {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 28px;
  min-height: 430px;
  margin: 26px 0;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  overflow: hidden;
}

.info-hero.neo-hero {
  grid-template-columns: 1fr;
  min-height: 260px;
}

.neo-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 42%;
  height: 74%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  color: #f4e4a8;
  background: rgba(212, 175, 55, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 14px var(--success);
}

.hero-world-copy h1,
.arena-hero-copy h1 {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(212, 175, 55, 0.16);
}

.info-hero .hero-world-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
}

.hero-world-copy p,
.arena-hero-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.neo-hero-media {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.22), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 70px rgba(212, 175, 55, 0.08);
  transform: perspective(900px) rotateY(-8deg);
}

.hero-world-image {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: none;
  animation: heroFloat 5.8s ease-in-out infinite;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 24px;
}

.quick-card,
.info-card,
.status-tile,
.store-card,
.storage-slot-card,
.market-card,
.social-post-card,
.arena-score-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(10, 13, 25, 0.72);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.quick-card::after,
.info-card::after,
.status-tile::after,
.store-card::after,
.storage-slot-card::after,
.market-card::after,
.social-post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.quick-card:hover,
.info-card:hover,
.status-tile:hover,
.store-card:hover,
.storage-slot-card:hover,
.market-card:hover,
.social-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 42px rgba(212, 175, 55, 0.08);
}

.quick-card:hover::after,
.info-card:hover::after,
.status-tile:hover::after,
.store-card:hover::after,
.storage-slot-card:hover::after,
.market-card:hover::after,
.social-post-card:hover::after {
  transform: translateX(120%);
}

.quick-card {
  display: grid;
  gap: 12px;
  min-height: 164px;
  padding: 24px;
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #001018;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.22);
}

.quick-card strong {
  font-size: 1.18rem;
}

.quick-card small {
  color: var(--muted);
  line-height: 1.5;
}

.neo-panel,
.checkout-panel,
.account-panel,
.social-panel,
.info-page-panel,
.arena-road-panel,
.arena-feature-panel,
.arena-reward-panel {
  border-radius: 26px;
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 24px;
}

.panel-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  letter-spacing: -0.04em;
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
}

.account-panel .panel-head,
.account-panel .account-state {
  grid-column: 1;
}

.account-panel-brand-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  min-height: 270px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.account-panel-brand-shell .account-panel-gif {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  border-radius: inherit;
  border: none;
  box-shadow: none;
  display: block;
}

.account-panel-brand-shell .account-panel-gif-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 270px;
  border-radius: inherit;
  border: none;
  box-shadow: none;
}

.neo-tab-strip {
  position: sticky;
  top: 86px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-button {
  flex: 0 0 auto;
  border-radius: 14px;
  padding: 11px 15px;
  color: #ede6d4;
  font-weight: 800;
}

.tab-button.active,
.arena-lane-button.active,
.arena-lane-button-free.active,
.arena-lane-button-premium.active {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.2);
}

.checkout-feedback {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(232, 197, 71, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.cart-panel,
.notification-dropdown,
.arena-backpack-dropdown,
.arena-loot-modal-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(9, 12, 24, 0.94);
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.card-grid,
.status-grid,
.arena-info-grid,
.info-sections-grid,
.support-actions-grid {
  gap: 18px;
}

.store-card,
.storage-slot-card,
.market-card,
.status-tile,
.info-card {
  border-radius: 22px;
}

.status-tile strong,
.info-card h2,
.store-card h3 {
  color: #fff;
}

.social-input,
input,
textarea,
select {
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(212, 175, 55, 0.54);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.social-post-card,
.social-profile-post-card {
  border-radius: 24px;
}

.social-my-profile-button {
  right: 24px;
  bottom: 24px;
  border-radius: 999px;
}

.arena-road-toolbar,
.arena-lane-switcher {
  gap: 10px;
}

.arena-lane-button {
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 900;
}

.arena-two-lanes {
  gap: 20px;
}

.arena-track-badge {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.arena-backpack-dropdown:not(.hidden),
.notification-dropdown:not(.hidden),
.arena-loot-modal:not(.hidden),
#support-other-modal:not(.hidden),
#social-profile-edit-modal:not(.hidden) {
  animation: popIn 0.22s ease both;
}

.tab-panel {
  animation: panelReveal 0.32s ease both;
}

.tab-panel:not(.active) {
  display: none;
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes heroEmberAura {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(244, 208, 63, 0.45)) drop-shadow(0 0 28px rgba(180, 130, 40, 0.24)) saturate(1.05);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(244, 208, 63, 0.75)) drop-shadow(0 0 52px rgba(212, 175, 55, 0.38)) saturate(1.12);
  }
}

@keyframes heroGoldShine {
  0% {
    transform: translateX(-130%) skewX(-14deg);
    opacity: 0;
  }
  18% {
    opacity: 0.5;
  }
  32% {
    transform: translateX(130%) skewX(-14deg);
    opacity: 0;
  }
  100% {
    transform: translateX(130%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes refreshPulse {
  0% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    transform: translateY(0) scale(1);
  }
  42% {
    box-shadow: 0 0 34px rgba(212, 175, 55, 0.24);
    transform: translateY(-2px) scale(1.012);
  }
  100% {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    transform: translateY(0) scale(1);
  }
}

@keyframes refreshSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .neo-topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .neo-nav,
  .topbar-actions {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .neo-hero,
  .arena-hero-horizontal {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .neo-hero-media {
    transform: none;
  }

  .quick-grid,
  .account-panel {
    grid-template-columns: 1fr;
  }

  .account-panel-brand-shell,
  .account-panel-gif,
  .account-panel-gif-fallback,
  .account-panel .panel-head,
  .account-panel .account-state {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1274px);
    padding-top: 8px;
  }

  .neo-topbar {
    top: 6px;
    border-radius: 18px;
  }

  .neo-nav a,
  .secondary-button,
  .login-chip,
  .tab-button {
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .neo-hero,
  .arena-hero-horizontal,
  .neo-panel,
  .checkout-panel,
  .account-panel,
  .social-panel,
  .info-page-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .hero-world-copy h1,
  .arena-hero-copy h1 {
    font-size: clamp(2.55rem, 17vw, 4.3rem);
  }

  .neo-tab-strip {
    top: 172px;
  }
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 90, 54, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 180, 71, 0.07), transparent 24%),
    linear-gradient(180deg, #130d0d 0%, #0b0909 100%);
}

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.topbar,
.hero-world,
.panel,
.tab-strip {
  background: linear-gradient(180deg, rgba(31, 22, 22, 0.97), rgba(20, 15, 15, 0.97));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.topbar::before,
.hero-world::before,
.panel::before,
.tab-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 34%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  overflow: visible;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.topbar-notification-shell {
  position: relative;
  z-index: 3;
}

.notification-bell-button {
  min-width: 68px;
  gap: 8px;
  padding-inline: 14px;
}

.notification-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 88vw);
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(19, 30, 49, 0.97);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.notification-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-mark-all-button {
  border: 1px solid rgba(74, 210, 255, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(74, 210, 255, 0.08);
  color: #bdeeff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.notification-mark-all-button:hover {
  transform: translateY(-1px);
  border-color: rgba(74, 210, 255, 0.5);
  background: rgba(74, 210, 255, 0.16);
}

.notification-mark-all-button.marking {
  animation: notificationMarkAllPulse 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

@keyframes notificationMarkAllPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(74, 210, 255, 0);
  }
  42% {
    transform: scale(0.94);
    background: rgba(87, 255, 176, 0.2);
    border-color: rgba(87, 255, 176, 0.72);
    color: #dfffee;
    box-shadow: 0 0 0 7px rgba(87, 255, 176, 0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(74, 210, 255, 0);
  }
}

.notification-list {
  display: grid;
  gap: 10px;
  max-height: 390px;
  overflow-y: auto;
}

.notification-item {
  position: relative;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
}

.notification-item.unread {
  border-color: rgba(255, 179, 71, 0.36);
  background: rgba(255, 179, 71, 0.08);
}

.notification-unread-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4b4b;
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.15);
}

.notification-item strong {
  font-size: 0.95rem;
}

.notification-item span,
.notification-item small,
.notification-empty {
  color: var(--muted);
}

.notification-modal-card {
  width: min(100%, 560px);
  max-height: min(72vh, 620px);
  overflow: auto;
}

.notification-modal-body {
  display: grid;
  gap: 16px;
  color: var(--text);
  line-height: 1.6;
}

.notification-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notification-modal-body small {
  color: var(--muted);
}

.notification-open-link {
  width: fit-content;
}

#notification-modal-ok.notification-open-link {
  border: 0;
  cursor: pointer;
}

.notification-delete-link {
  width: fit-content;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 6px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-size: 0.78rem;
}

.brand-title {
  font-size: 1.1rem;
}

.login-chip,
.primary-button,
.secondary-button,
.ghost-link,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.login-chip,
.secondary-button,
.tab-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.login-chip {
  background: linear-gradient(135deg, var(--accent), #ff7e54);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 26px rgba(255, 90, 54, 0.28);
}

.hero-world {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 20px;
  margin-bottom: 22px;
  align-items: center;
}

.hero-world-copy {
  padding: 16px 12px 16px 10px;
}

.hero-world-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}

.hero-world-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.65;
}

.hero-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-world-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
}

.hero-world-image {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  max-height: min(52vh, 420px);
  border-radius: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  border: 0;
  box-shadow: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), #ff7e54);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(255, 90, 54, 0.22);
}

.secondary-button {
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: var(--ring);
}

.secondary-button:focus-visible,
.primary-button:focus-visible,
.login-chip:focus-visible {
  outline: 2px solid rgba(255, 179, 71, 0.75);
  outline-offset: 2px;
}

.trophy-link-button,
.arena-backpack-toggle {
  background: linear-gradient(135deg, #b8922e, #f4d03f);
  border: none;
  color: #1a1408;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28);
}

.topbar-support-button {
  background: rgba(255, 255, 255, 0.08);
}

.topbar-social-button {
  background: linear-gradient(135deg, rgba(255, 128, 84, 0.18), rgba(255, 90, 54, 0.26));
  border-color: rgba(255, 121, 77, 0.25);
}

.ghost-link {
  padding: 0;
  color: var(--accent-2);
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
}

.login-chip:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-link:hover,
.tab-button:hover {
  transform: translateY(-2px);
  opacity: 0.98;
}

.hero-world:hover .hero-world-image {
  transform: translateY(-3px) scale(1.01);
  filter: saturate(1.04);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.4);
}

.panel,
.tab-strip {
  padding: 22px;
  margin-bottom: 20px;
}

.checkout-panel {
  padding-top: 18px;
}

.cart-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-panel {
  position: relative;
  overflow: hidden;
}

.account-panel-gif {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Logo em círculo: recorta cantos pretos do ficheiro quadrado */
.account-panel-gif.account-panel-brand-mark {
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(212, 175, 55, 0.15);
}

.account-panel-gif-fallback {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 120, 70, 0.55), transparent 42%),
    linear-gradient(160deg, rgba(39, 18, 16, 0.98), rgba(22, 12, 11, 0.98));
  box-shadow: var(--shadow);
  place-items: center;
  color: #fff4eb;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-state {
  display: grid;
  gap: 14px;
  padding-right: 138px;
}

.account-profile-grid,
.benefits-grid,
.ranking-grid,
.account-mini-grid {
  display: grid;
  gap: 14px;
}

.account-mini-grid,
.benefits-grid,
.ranking-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.account-box,
.status-tile,
.shop-card {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--ring);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.account-box:hover,
.status-tile:hover,
.shop-card:hover,
.market-card:hover,
.storage-slot-card:hover,
.storage-summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 71, 0.24);
  box-shadow: var(--shadow-soft), var(--ring);
}

.account-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-box {
  display: block;
}

.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.account-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.account-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.wallet-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.wallet-section h3 {
  margin: 0 0 12px;
}

.wallet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.wallet-item strong,
.wallet-list strong {
  display: block;
  margin-bottom: 4px;
}

.wallet-item span,
.wallet-empty,
.wallet-list li {
  color: var(--muted);
}

.skins-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.skin-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skin-card {
  position: relative;
}

.skin-card-equipped {
  border-color: rgba(86, 211, 100, 0.45);
  box-shadow: inset 0 0 0 1px rgba(86, 211, 100, 0.2);
}

.skin-swatch-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.skin-swatch {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.wallet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-line span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.redeem-tool {
  display: grid;
  gap: 12px;
}

.redeem-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.redeem-select {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tab-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tab-button {
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
}

.tab-button.active {
  background: linear-gradient(135deg, var(--accent), #ff7e54);
  border-color: transparent;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.shop-card h3 {
  margin: 0 0 10px;
}

.shop-card {
  display: flex;
  flex-direction: column;
}

.shop-card-body {
  flex: 1;
}

.shop-card .price {
  color: #f4d03f;
  font-weight: 700;
  font-size: 1.32rem;
  margin: 0 0 12px;
}

.shop-card p {
  color: var(--muted);
  line-height: 1.55;
}

.shop-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
}

.shop-card-actions {
  margin-top: auto;
  padding-top: 16px;
}

.hero-badge--eco {
  border-color: rgba(89, 240, 164, 0.32);
  color: #b8f5d3;
  background: rgba(89, 240, 164, 0.09);
}

.hero-subtitle {
  margin: -8px 0 14px;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #fff;
}

.hero-lead {
  max-width: 54ch;
}

.hero-status-section {
  margin-top: 20px;
  width: 100%;
  max-width: min(560px, 100%);
}

.hero-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.hero-status-row .hero-status-strip {
  flex: 1 1 260px;
  margin-top: 0;
}

.hero-status-refresh {
  flex: 0 0 auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 12px 14px;
}

.hero-status-refresh-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
}

.hero-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  max-width: 440px;
}

.hero-status-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.hero-status-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-status-value {
  font-size: 1.05rem;
}

.hero-status-value--ok {
  color: #59f0a4;
}

.hero-status-value--bad {
  color: #ff6b7a;
}

.hero-status-value--accent {
  color: #f4d03f;
}

.hero-cta-primary,
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-cta-primary {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #14110a;
  border: none;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

.hero-cta-secondary {
  background: transparent;
  border: 2px solid rgba(212, 175, 55, 0.65);
  color: #f8ebc0;
}

@keyframes tw-cta-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.32);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 16px 42px rgba(244, 208, 63, 0.5);
    transform: translateY(-1px);
  }
}

@keyframes tw-login-pulse {
  0%,
  100% {
    box-shadow: 0 12px 26px rgba(255, 90, 54, 0.28);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 16px 36px rgba(255, 140, 90, 0.45);
    filter: brightness(1.07);
  }
}

.tw-cta-pulse {
  animation: tw-cta-pulse 2.5s ease-in-out infinite;
}

.tw-site-body .topbar .login-chip {
  animation: tw-login-pulse 2.3s ease-in-out infinite;
}

.hero-world-media--glow {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.28),
    0 0 48px rgba(212, 175, 55, 0.2),
    inset 0 0 70px rgba(212, 175, 55, 0.08);
}

.hero-world-media-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero-world-media-column .hero-world-media {
  width: 100%;
}

.hero-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #f4d03f;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-refresh-btn:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(244, 208, 63, 0.65);
}

.hero-refresh-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hero-refresh-spinning {
  animation: hero-refresh-spin 0.75s linear infinite;
}

@keyframes hero-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes arena-reward-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 208, 63, 0.22);
  }

  50% {
    box-shadow: 0 0 20px 2px rgba(244, 208, 63, 0.28);
  }
}

.arena-reward-pulse {
  animation: arena-reward-glow 2.4s ease-in-out infinite;
}

.arena-backpack-card-claimable {
  animation: arena-reward-glow 2.8s ease-in-out infinite;
}

.arena-backpack-redeem-pulse {
  animation: tw-cta-pulse 2.2s ease-in-out infinite;
}

.shop-plans-head h2 {
  color: #f4d03f;
}

.shop-plans-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
}

.shop-plans-head-row h2 {
  margin: 0;
}

.shop-plans-refresh {
  flex-shrink: 0;
}

.shop-plans-lead,
.shop-subsection-lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 72ch;
}

.shop-subsection {
  margin-top: 20px;
}

.shop-subsection-title {
  margin: 4px 0 0;
  font-size: 1.32rem;
}

.vip-card-grid {
  margin-top: 14px;
}

.arena-pass-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.arena-pass-grid .shop-card--arena-premium-complete {
  grid-column: 1;
}

@media (max-width: 1100px) {
  .arena-pass-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .arena-pass-grid {
    grid-template-columns: 1fr;
  }

  .arena-pass-grid .shop-card--arena-premium-complete {
    grid-column: auto;
  }

  .hero-status-strip {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.shop-card--popular {
  position: relative;
  border-color: rgba(244, 208, 63, 0.9);
  border-width: 2px;
  padding-top: 38px;
}

.shop-card-popular-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4d03f;
  color: #111;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.09em;
}

.shop-card-icon-row {
  margin-bottom: 6px;
}

.shop-card-emoji-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.shop-card-free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 4px 7px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.shop-card-text-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.shop-card-text-badge--nest {
  background: #8b5f31;
}

.shop-card-text-badge--boost {
  background: #0ea5e9;
}

.shop-card-text-badge--slots {
  background: #7c3aed;
}

.shop-card-text-badge--shield {
  background: #059669;
}

.shop-card-text-badge--bronze {
  background: #b45309;
}

.shop-card-text-badge--silver {
  background: #64748b;
}

.shop-card-text-badge--gold {
  background: #ca8a04;
}

.shop-card-text-badge--diamond {
  background: #0284c7;
}

.shop-card-text-badge--trophy {
  background: #d97706;
}

.shop-card--checklist ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}

.shop-card--checklist li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 0.42em;
  color: #e8ecf4;
  font-size: 0.92rem;
}

.shop-card--checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #f4d03f;
  font-weight: 800;
}

.shop-pick-btn {
  width: 100%;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.shop-pick-btn--solid {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #14110a;
  border: none;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28);
}

.shop-pick-btn--outline {
  background: transparent;
  border: 2px solid #f4d03f;
  color: #f4d03f;
}

.shop-pick-btn--outline:hover {
  background: rgba(244, 208, 63, 0.08);
}

.checkout-button {
  width: 100%;
}

.checkout-feedback {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 90, 54, 0.12), rgba(255, 179, 71, 0.06));
  border: 1px solid rgba(255, 110, 76, 0.18);
}

.checkout-feedback strong {
  font-size: 1.02rem;
}

.checkout-feedback span {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-feedback.error {
  background: linear-gradient(180deg, rgba(181, 44, 44, 0.18), rgba(90, 18, 18, 0.08));
  border-color: rgba(255, 98, 98, 0.22);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.status-tile span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.status-tile strong {
  font-size: 1.3rem;
}

.status-list-wrap h3 {
  margin: 0 0 12px;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.status-list li {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
}

.storage-shell {
  display: grid;
  gap: 18px;
}

.storage-intro,
.storage-summary-card,
.storage-slot-card,
.storage-rules-card,
.storage-snapshot-card,
.storage-empty,
.storage-panel-block {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
}

.storage-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.storage-intro h3,
.storage-rules-card h3,
.storage-snapshot-card h3,
.storage-slot-card h3 {
  margin: 0 0 10px;
}

.storage-intro p,
.storage-slot-card p,
.storage-rules li,
.storage-snapshot-card p,
.storage-snapshot-card small,
.storage-empty span {
  color: var(--muted);
  line-height: 1.6;
}

.storage-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.storage-summary-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.storage-summary-card strong {
  font-size: 1.12rem;
}

.storage-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 16px;
}

.storage-side-stack {
  display: grid;
  gap: 16px;
}

.storage-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.storage-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.storage-slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.storage-slot-card.occupied {
  border-color: rgba(255, 179, 71, 0.2);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.08), rgba(255, 255, 255, 0.02));
}

.storage-slot-card.empty {
  border-style: dashed;
}

.storage-slot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.storage-action-button {
  min-width: 140px;
}

.storage-market-price {
  color: var(--accent-2);
  font-weight: 700;
}

.storage-rules {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.storage-snapshot-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 12px 0 14px;
}

.storage-snapshot-stats span {
  color: var(--muted);
}

.storage-location {
  margin: 0 0 12px;
  word-break: break-word;
}

.storage-empty {
  display: grid;
  gap: 10px;
}

.storage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.market-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.market-filter-field {
  display: grid;
  gap: 8px;
}

.market-filter-field span {
  color: var(--muted);
  font-size: 0.86rem;
}

.market-filter-field select,
.market-filter-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.market-filter-field select option {
  background: #201817;
  color: #f7efe8;
}

.market-card {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.market-card.owned {
  border-color: rgba(255, 179, 71, 0.22);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.08), rgba(255, 255, 255, 0.02));
}

.market-card p {
  color: var(--muted);
  line-height: 1.55;
}

.market-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.market-rarity-badge,
.market-fresh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.market-rarity-badge.rarity-common {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f0ea;
}

.market-rarity-badge.rarity-rare {
  background: rgba(88, 164, 255, 0.18);
  color: #8cc8ff;
}

.market-rarity-badge.rarity-epic {
  background: rgba(217, 121, 255, 0.18);
  color: #f1a0ff;
}

.market-fresh-badge {
  background: rgba(86, 211, 100, 0.18);
  color: #82e58e;
}

.arena-page-body {
  background: transparent;
}

.arena-page-shell {
  width: min(1180px, calc(100% - 28px));
}

.arena-hero,
.arena-feature-card,
.arena-road-card {
  box-shadow: var(--shadow);
}

.arena-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 26px;
  border: 1px solid rgba(90, 187, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(10, 30, 59, 0.96), rgba(6, 21, 43, 0.96)),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  backdrop-filter: blur(12px);
}

.arena-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}

.arena-hero-copy p {
  margin: 0;
  color: #eae3cf;
  line-height: 1.65;
  max-width: 58ch;
}

.arena-rule-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.arena-rule-chips span,
.arena-reward-pill,
.arena-feature-rewards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #eef7ff;
  font-weight: 700;
}

.arena-hero-score {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.arena-score-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(96, 203, 255, 0.18);
  background: linear-gradient(180deg, rgba(24, 88, 160, 0.92), rgba(10, 45, 98, 0.92));
  min-height: 130px;
  min-width: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.arena-score-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 220, 255, 0.35);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.arena-score-card span,
.arena-score-card small {
  display: block;
  color: #d9ecff;
}

.arena-score-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: anywhere;
}

.arena-score-card .arena-score-value {
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.05;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.arena-score-login-text {
  max-width: none;
  font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
  line-height: 1.18 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal;
}

.arena-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.arena-layout-horizontal {
  grid-template-columns: 0.75fr 1.25fr;
}

.arena-feature-panel,
.arena-road-panel,
.arena-reward-panel {
  background:
    linear-gradient(180deg, rgba(13, 28, 51, 0.97), rgba(8, 18, 33, 0.97));
  border-color: rgba(90, 187, 255, 0.18);
  backdrop-filter: blur(14px);
}

.arena-road-panel {
  overflow: visible;
}

.arena-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(130, 214, 255, 0.2);
  background:
    radial-gradient(circle at top, rgba(88, 209, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(20, 83, 148, 0.95), rgba(8, 45, 92, 0.95));
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.arena-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.arena-feature-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.95;
}

.arena-feature-score {
  color: #ffdd78;
  font-size: 1.15rem;
  font-weight: 800;
}

.arena-season-alert {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  margin: 14px 0 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 2px solid rgba(255, 91, 91, 0.88);
  background: linear-gradient(180deg, rgba(37, 11, 11, 0.92), rgba(18, 8, 8, 0.92));
  box-shadow: 0 0 22px rgba(255, 66, 66, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.arena-season-alert strong {
  color: #ff675e;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.arena-season-alert span {
  color: #ff8f86;
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.arena-feature-rewards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.arena-feature-rewards-column {
  display: grid;
  gap: 12px;
}

.arena-current-reward {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arena-current-reward-claimed {
  border-color: rgba(104, 214, 151, 0.28);
  background: rgba(63, 144, 95, 0.18);
}

.arena-current-reward-media {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.95), rgba(217, 230, 246, 0.95));
  display: grid;
  place-items: center;
}

.arena-current-reward-media img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.arena-current-reward-copy {
  display: grid;
  gap: 6px;
}

.arena-current-reward-copy small {
  color: #d7eaff;
}

.arena-feature-hint {
  margin: 0;
  color: #e8f4ff;
  line-height: 1.7;
}

.arena-feature-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.arena-lane-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.arena-lane-card-free {
  border-color: rgba(87, 229, 132, 0.35);
}

.arena-lane-card-premium {
  border-color: rgba(255, 198, 56, 0.35);
}

.arena-chest-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.arena-chest-info-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arena-chest-info-card strong {
  display: block;
  margin-bottom: 6px;
}

.arena-chest-info-card span {
  color: #d7eaff;
  line-height: 1.5;
}

.arena-road-list {
  position: relative;
  display: grid;
  gap: 18px;
}

.arena-road-head {
  align-items: flex-start;
  margin-bottom: 22px;
}

.arena-road-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.arena-lane-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arena-lane-button {
  border: none;
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.arena-lane-button:hover {
  transform: translateY(-1px);
}

.arena-lane-button-free {
  background: linear-gradient(135deg, rgba(38, 208, 110, 0.96), rgba(18, 132, 67, 0.96));
}

.arena-lane-button-premium {
  background: linear-gradient(135deg, rgba(255, 212, 79, 0.98), rgba(214, 143, 11, 0.98));
  color: #1f1300;
  font-family: "Arial Black", "Trebuchet MS", sans-serif;
}

.arena-lane-button:not(.active) {
  opacity: 0.72;
  box-shadow: none;
}

.arena-two-lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.arena-track-column {
  display: grid;
  gap: 16px;
  width: 100%;
}

.arena-track-column {
  opacity: 0.72;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.arena-track-column-highlight {
  opacity: 1;
  transform: translateY(-2px);
}

.arena-track-column.hidden {
  display: none;
}

.arena-track-badge {
  min-height: 98px;
  border-radius: 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 18px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.arena-track-badge strong {
  font-size: 1.65rem;
  letter-spacing: 0.02em;
}

.arena-track-badge-free {
  background: linear-gradient(135deg, rgba(42, 205, 112, 0.95), rgba(15, 119, 59, 0.95));
}

.arena-track-badge-premium {
  background: linear-gradient(135deg, rgba(255, 204, 77, 0.98), rgba(187, 122, 9, 0.96));
}

.arena-track-strip {
  display: grid;
  gap: 16px;
}

.arena-track-strip-vertical {
  align-content: start;
  width: 100%;
}

.arena-horizontal-group {
  width: min(100%, 760px);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(24, 39, 61, 0.95), rgba(15, 25, 41, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.arena-track-strip-vertical .arena-horizontal-group:nth-child(odd) {
  justify-self: start;
}

.arena-track-strip-vertical .arena-horizontal-group:nth-child(even) {
  justify-self: end;
}

.arena-horizontal-group-head {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.arena-horizontal-group-head span {
  color: #8ad7ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.arena-horizontal-group-head strong {
  font-size: 1.2rem;
}

.arena-horizontal-rewards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.arena-horizontal-card {
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 8px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.arena-horizontal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(133, 208, 255, 0.35);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.arena-horizontal-card-unlocked {
  border-color: rgba(255, 219, 112, 0.3);
}

.arena-horizontal-card-claimed {
  border-color: rgba(86, 211, 100, 0.35);
  background: rgba(52, 131, 78, 0.18);
}

.arena-horizontal-card-locked {
  opacity: 0.7;
}

.arena-horizontal-level {
  color: #ffd95d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.arena-horizontal-media {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.95), rgba(217, 230, 246, 0.95));
  display: grid;
  place-items: center;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.12);
}

.arena-horizontal-media img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.arena-road-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 22px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(97, 208, 255, 0.85), rgba(29, 109, 255, 0.55));
}

.arena-road-card {
  position: relative;
  margin-left: 34px;
  padding: 18px 18px 18px 24px;
  border-radius: 22px;
  border: 1px solid rgba(88, 205, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(19, 65, 123, 0.92), rgba(9, 37, 79, 0.92));
}

.arena-road-card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 28px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #78d7ff;
  box-shadow: 0 0 0 6px rgba(120, 215, 255, 0.18);
}

.arena-road-card-unlocked {
  border-color: rgba(255, 217, 102, 0.24);
}

.arena-road-card-unlocked::before {
  background: #ffdb70;
  box-shadow: 0 0 0 6px rgba(255, 219, 112, 0.18);
}

.arena-road-card-claimed {
  background:
    linear-gradient(180deg, rgba(26, 89, 69, 0.92), rgba(13, 56, 44, 0.92));
  border-color: rgba(104, 214, 151, 0.26);
}

.arena-road-track {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.arena-road-track strong {
  font-size: 1.32rem;
}

.arena-road-track small {
  color: #cfe6ff;
}

.arena-road-level {
  color: #8ad7ff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arena-road-rewards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.arena-road-actions {
  margin-top: 16px;
}

.arena-road-milestones {
  display: grid;
  gap: 12px;
}

.arena-milestone {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.arena-milestone-unlocked {
  border-color: rgba(255, 219, 112, 0.28);
}

.arena-milestone-claimed {
  border-color: rgba(104, 214, 151, 0.26);
  background: rgba(67, 142, 102, 0.16);
}

.arena-milestone-media {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.95), rgba(217, 230, 246, 0.95));
  display: grid;
  place-items: center;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.12);
}

.arena-milestone-media img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.arena-milestone-copy {
  display: grid;
  gap: 6px;
}

.arena-milestone-copy strong {
  font-size: 1.02rem;
}

.arena-milestone-copy small {
  color: #d7eaff;
}

.arena-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.arena-backpack-dropdown.hidden {
  display: none;
}

.arena-backpack-anchor {
  position: relative;
}

.arena-backpack-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(920px, calc(100vw - 72px));
  min-width: 700px;
  padding: 16px;
  overflow: hidden;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(28, 43, 63, 0.98), rgba(22, 36, 54, 0.98));
  border: 1px solid rgba(255, 0, 92, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.arena-backpack-dropdown.arena-backpack-opening {
  animation: backpackOpen 0.26s cubic-bezier(.2, .9, .2, 1) both;
}

.arena-backpack-dropdown.arena-backpack-closing {
  animation: backpackClose 0.18s ease both;
}

.arena-backpack-dropdown-head {
  align-items: center;
  margin-bottom: 12px;
}

.arena-backpack-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.arena-backpack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 14px;
}

.arena-backpack-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.arena-backpack-pager span {
  min-width: 140px;
  color: #d7eaff;
  font-size: 0.86rem;
  text-align: center;
}

.arena-backpack-grid-inner {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.arena-backpack-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 184px;
  padding: 14px;
  text-align: center;
  background: #172231;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.arena-backpack-card-redeeming {
  animation: backpackRedeemPulse 0.75s ease-in-out infinite;
}

.arena-backpack-card-redeemed {
  animation: backpackRedeemed 0.42s ease both;
}

.arena-backpack-nav {
  min-width: 48px;
  height: 44px;
  padding: 0;
}

.arena-backpack-card p {
  min-height: 34px;
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.arena-backpack-card .arena-backpack-redeem-button {
  margin-top: auto;
  width: 100%;
}

.arena-backpack-empty {
  margin: 0;
  color: #d7eaff;
  line-height: 1.6;
}

.arena-backpack-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.95), rgba(217, 230, 246, 0.95));
  display: grid;
  place-items: center;
}

.arena-backpack-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.arena-backpack-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.2;
}

.arena-loot-modal.hidden,
.arena-key-modal.hidden {
  display: none;
}

.arena-loot-modal,
.arena-key-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(10px);
}

.arena-loot-modal-card,
.arena-key-modal-card {
  position: relative;
  width: min(100%, 520px);
  padding: 28px 24px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 150, 80, 0.25);
  background: linear-gradient(180deg, rgba(20, 33, 56, 0.97), rgba(16, 22, 36, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.arena-loot-modal-opening .arena-loot-modal-card,
.arena-key-modal-opening .arena-key-modal-card {
  animation: chestModalOpen 0.32s cubic-bezier(.2, .9, .2, 1) both;
}

.arena-loot-modal-closing .arena-loot-modal-card,
.arena-key-modal-closing .arena-key-modal-card {
  animation: chestModalClose 0.18s ease both;
}

.arena-loot-modal-close,
.arena-key-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f1ea;
  font-size: 1.6rem;
  cursor: pointer;
}

.arena-loot-modal-close:hover,
.arena-key-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.arena-loot-modal-body,
.arena-key-modal-body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.arena-key-modal-card h2 {
  margin-bottom: 6px;
}

.arena-hero-key-action {
  position: absolute;
  top: -78px;
  right: 24px;
  z-index: 6;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
}

.arena-key-button {
  padding: 8px 12px;
  min-height: 34px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.arena-key-modal-description,
.arena-key-help {
  color: #c8d1e6;
  line-height: 1.5;
}

.arena-key-form {
  display: grid;
  gap: 12px;
}

.arena-chest-opening {
  position: relative;
  width: 150px;
  height: 116px;
  margin: 0 auto 8px;
  display: grid;
  place-items: end center;
}

.arena-chest-box,
.arena-chest-lid {
  position: absolute;
  width: 112px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6d3b16, #f59e0b 52%, #fff0a8);
  box-shadow: inset 0 -10px 18px rgba(80, 36, 0, 0.32), 0 18px 38px rgba(245, 158, 11, 0.22);
}

.arena-chest-box {
  bottom: 8px;
  height: 58px;
}

.arena-chest-lid {
  bottom: 62px;
  height: 34px;
  transform-origin: 18px 100%;
  animation: chestLidOpen 1.05s ease both;
}

.arena-chest-glow {
  position: absolute;
  bottom: 48px;
  width: 126px;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 244, 178, 0.95), rgba(212, 175, 55, 0.32) 42%, transparent 70%);
  filter: blur(2px);
  animation: chestGlowBurst 1.05s ease both;
}

.arena-loot-rewards-list {
  display: grid;
  gap: 12px;
  animation: rewardReveal 0.36s ease 0.7s both;
}

.arena-loot-modal-reward {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 179, 71, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff5ea;
  font-size: 1.02rem;
  font-weight: 700;
}

@keyframes backpackOpen {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backpackClose {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-8px) scale(0.97); }
}

@keyframes backpackRedeemPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { transform: translateY(-4px) scale(1.025); box-shadow: 0 18px 42px rgba(212, 175, 55, 0.18); }
}

@keyframes backpackRedeemed {
  0% { transform: scale(1); }
  55% { transform: scale(1.05); filter: brightness(1.25); }
  100% { transform: scale(0.98); opacity: 0.82; }
}

@keyframes chestModalOpen {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chestModalClose {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(12px) scale(0.96); }
}

@keyframes chestLidOpen {
  0% { transform: rotate(0deg) translateY(0); }
  45% { transform: rotate(-12deg) translateY(-4px); }
  100% { transform: rotate(-42deg) translate(-8px, -18px); }
}

@keyframes chestGlowBurst {
  0% { opacity: 0; transform: scale(0.35); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.78; transform: scale(1.18); }
}

@keyframes rewardReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tw-site-body .arena-backpack-dropdown.arena-backpack-closing:not(.hidden) {
  pointer-events: none;
  animation: backpackCloseStrong 0.34s cubic-bezier(.55, 0, .35, 1) both !important;
}

@keyframes backpackCloseStrong {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.92);
    filter: blur(4px);
  }
}

.ranking-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.ranking-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ranking-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.ranking-list-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ranking-note {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(28, 69, 120, 0.4);
  border: 1px solid rgba(88, 205, 255, 0.16);
}

.info-hero {
  grid-template-columns: 1fr;
}

.info-page-panel,
.social-panel {
  padding: 22px;
}

.info-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(29, 23, 23, 0.95), rgba(19, 15, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.social-form {
  display: grid;
  gap: 12px;
}

.social-form-disabled textarea,
.social-form-disabled button {
  opacity: 0.72;
  cursor: not-allowed;
}

.social-media-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-media-picker {
  position: relative;
}

.social-media-picker-toggle {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 14px;
  font-size: 1.7rem;
  font-weight: 400;
}

.social-media-picker-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 290px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 8;
}

.social-media-picker-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  cursor: pointer;
}

.social-media-picker-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.social-media-selected {
  flex: 1;
  min-width: min(100%, 280px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.social-media-selected-copy {
  display: grid;
  gap: 4px;
}

.social-media-selected-copy strong {
  font-size: 0.95rem;
}

.social-media-selected-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
  box-sizing: border-box;
}

.social-textarea {
  min-height: 110px;
  resize: vertical;
}

.social-feed {
  display: grid;
  gap: 16px;
}

.social-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 34, 47, 0.96), rgba(19, 25, 36, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.social-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.social-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-author img,
.social-avatar-fallback {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.social-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b8922e, #f4d03f);
  font-weight: 800;
  color: #1a1408;
}

.social-author strong,
.social-author span,
.social-card-text,
.social-comment span {
  display: block;
}

.social-author span,
.social-comment-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-card-text {
  margin: 0 0 12px;
  line-height: 1.7;
}

.social-card-image {
  display: block;
  width: min(100%, 420px);
  max-height: 250px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
}

.social-media-shell {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 12px;
}

.social-card-video {
  display: block;
  width: min(100%, 420px);
  max-height: 250px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
  background: #000;
  margin-left: auto;
  margin-right: auto;
}

.social-open-media,
.social-open-profile-media {
  cursor: pointer;
}

.social-media-views {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.82);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.social-card-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.social-comments {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.social-comment {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}

.social-comment-head,
.social-comment-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-comment strong {
  display: block;
  margin-bottom: 4px;
}

.social-comment-author {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.social-creator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 179, 71, 0.2);
  border: 1px solid rgba(255, 179, 71, 0.2);
  color: #ffcf72;
  font-size: 0.76rem;
  font-weight: 700;
}

.social-comment-parent,
.social-reply-meta {
  display: block;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-thread-toggle {
  color: #ffd479;
}

.social-comment-thread {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.social-comment-reply {
  background: rgba(255,255,255,0.035);
}

.social-reply-meta.hidden {
  display: none;
}

.social-comment-delete {
  margin-top: 0;
  margin-left: 8px;
  font-size: 0.86rem;
}

.social-comment-like {
  color: #ff8ca8;
}

.social-media-modal.hidden {
  display: none;
}

.social-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
}

.social-media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.82);
  backdrop-filter: blur(10px);
}

.social-media-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(92vh, 920px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(12, 18, 28, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.social-media-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.social-media-modal-body {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.social-profile-post-detail {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.social-profile-post-media {
  min-width: 0;
}

.social-profile-post-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}

.social-profile-post-detail .social-media-modal-image,
.social-profile-post-detail .social-media-modal-video {
  width: 100%;
  max-height: min(70vh, 620px);
  object-fit: contain;
}

.social-profile-post-detail .social-card-text,
.social-profile-post-detail .social-card-actions,
.social-profile-post-detail .social-comments,
.social-profile-post-detail .social-profile-comment-form {
  width: 100%;
  margin: 0;
}

.social-profile-post-detail .social-card-actions {
  align-items: center;
}

.social-profile-detail-views {
  position: static;
}

.social-profile-like-button,
.social-like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(255, 92, 122, 0.35);
  background: rgba(255, 92, 122, 0.12);
  color: #ffe4eb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.social-profile-post-detail .social-comments {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}

.social-profile-comment-form {
  display: flex;
}

.social-profile-comment-form .social-input {
  width: 100%;
}

.social-media-modal-image,
.social-media-modal-video {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 80px);
  border-radius: 18px;
  background: #000;
}

.support-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.support-action-button {
  min-height: 56px;
  white-space: normal;
  text-align: center;
  padding: 0 18px;
}

.support-other-card {
  width: min(100%, 620px);
}

.social-profile-panel {
  padding: 24px;
}

.social-profile-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.social-profile-avatar,
.social-profile-avatar-fallback {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.social-profile-handle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.social-profile-bio {
  margin: 0 0 18px;
  max-width: 560px;
  color: var(--text);
  line-height: 1.6;
}

.social-profile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.social-profile-stats div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.social-profile-stats strong,
.social-profile-stats span {
  display: block;
}

.social-profile-stats strong {
  font-size: 1.8rem;
}

.social-profile-stats span {
  color: var(--muted);
}

.social-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-profile-post {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.social-profile-post img,
.social-profile-post video,
.social-profile-post-textonly {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #101010;
}

.social-profile-post-textonly {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.social-profile-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.social-my-profile-button {
  position: fixed !important;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 120;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 36px rgba(125, 211, 252, 0.18);
  transform: translateZ(0);
  animation: socialProfileFloatIn 0.35s ease both;
}

.social-my-profile-button.hidden {
  display: none;
}

@keyframes socialProfileFloatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .social-my-profile-button {
    right: 18px;
    bottom: 18px;
  }
}

.social-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero-world,
  .status-grid,
  .wallet-grid,
  .storage-summary-grid,
  .storage-main-grid,
  .storage-snapshot-stats,
  .arena-hero,
  .arena-layout,
  .info-sections-grid,
  .arena-info-grid,
  .arena-hero-score,
  .support-actions-grid,
  .social-profile-hero,
  .social-profile-stats,
  .social-profile-grid,
  .social-profile-post-detail {
    grid-template-columns: 1fr;
  }

  .social-profile-post-detail .social-card-text,
  .social-profile-post-detail .social-card-actions,
  .social-profile-post-detail .social-comments,
  .social-profile-post-detail .social-profile-comment-form {
    width: 100%;
  }

  .hero-side-gif {
    width: 92px;
    height: 92px;
  }

  .account-panel-brand-shell {
    position: static;
    margin-bottom: 16px;
    width: 96px;
    height: 96px;
    min-height: 96px;
  }

  .account-panel-brand-shell .account-panel-gif {
    min-height: 96px;
  }

  .account-panel-gif {
    position: static;
    margin-bottom: 16px;
    width: 96px;
    height: 96px;
  }

  .account-panel-gif.account-panel-brand-mark {
    border-radius: 50%;
  }

  .account-panel-gif-fallback {
    position: static;
    margin-bottom: 16px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
  }

  .account-state {
    padding-right: 0;
  }

  .storage-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .arena-road-card {
    margin-left: 22px;
  }

  .arena-layout-horizontal,
  .arena-feature-lanes,
  .arena-two-lanes {
    grid-template-columns: 1fr;
  }

  .arena-track-badge {
    min-height: 120px;
  }

  .arena-horizontal-group,
  .arena-track-strip-vertical .arena-horizontal-group:nth-child(odd),
  .arena-track-strip-vertical .arena-horizontal-group:nth-child(even) {
    width: 100%;
    justify-self: stretch;
  }

  .arena-horizontal-rewards {
    grid-template-columns: 1fr;
  }

  .arena-road-list::before {
    left: 14px;
  }

  .arena-road-card::before {
    left: -18px;
  }

  .arena-milestone,
  .arena-current-reward {
    grid-template-columns: 1fr;
  }

  .arena-milestone-media,
  .arena-current-reward-media {
    width: 64px;
    height: 64px;
  }

  .arena-chest-info {
    grid-template-columns: 1fr;
  }

  .arena-backpack-dropdown {
    left: 0;
    right: auto;
    width: min(95vw, 720px);
    min-width: 0;
  }

  .arena-backpack-grid-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social-comment-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .arena-backpack-dropdown {
    width: min(96vw, 560px);
  }

  .arena-backpack-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final priority pass for the 2026 professional shell. */
body.tw-site-body,
body.arena-page-body {
  font-family: "Oxanium", "Rajdhani", "Segoe UI", sans-serif;
  background: transparent;
  color: var(--text);
}

.tw-site-body .page-shell {
  width: min(1274px, calc(100% - 36px));
  animation: pageRise 0.7s ease both;
}

.tw-site-body .topbar,
.tw-site-body .hero-world,
.tw-site-body .arena-hero,
.tw-site-body .panel,
.tw-site-body .tab-strip {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(28, 28, 28, 0.94), rgba(14, 14, 14, 0.9)),
    rgba(10, 10, 10, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px);
}

.tw-site-body .neo-topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 20px;
  overflow: visible;
}

.tw-site-body .neo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.tw-site-body .brand-orb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #1a1408;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #d4af37, #f4d03f 45%, #c9a227);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
}

.tw-site-body .neo-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: fit-content;
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 36px rgba(0, 0, 0, 0.22);
}

.tw-site-body .neo-nav a {
  color: #e8dcc4;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tw-site-body .neo-nav a:hover,
.tw-site-body .neo-nav-trigger:hover,
.tw-site-body .neo-nav-menu:hover .neo-nav-trigger {
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(232, 197, 71, 0.16));
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.13);
}

.tw-site-body .neo-nav-menu {
  position: relative;
}

.tw-site-body .neo-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #e8dcc4;
  background: transparent;
  padding: 9px 12px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tw-site-body .neo-nav-trigger::after {
  content: "⌄";
  font-size: 0.82rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.tw-site-body .neo-nav-menu:hover .neo-nav-trigger::after,
.tw-site-body .neo-nav-menu:focus-within .neo-nav-trigger::after {
  transform: rotate(180deg);
}

.tw-site-body .neo-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 330px;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(28, 28, 28, 0.98), rgba(16, 16, 16, 0.98)),
    #0b0d1b;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.98);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.tw-site-body .neo-nav-menu:hover .neo-dropdown,
.tw-site-body .neo-nav-menu:focus-within .neo-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.tw-site-body .neo-dropdown-kicker {
  margin: 4px 10px 10px;
  color: #8791ad;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tw-site-body .neo-dropdown a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 14px;
  color: #eef3ff;
  text-decoration: none;
}

.tw-site-body .neo-dropdown a:hover {
  transform: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
  box-shadow: none;
}

.tw-site-body .neo-dropdown-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #9defff;
  background: rgba(212, 175, 55, 0.08);
}

.tw-site-body .neo-dropdown strong,
.tw-site-body .neo-dropdown small {
  display: block;
}

.tw-site-body .neo-dropdown strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.tw-site-body .neo-dropdown small {
  margin-top: 3px;
  color: #9ca7be;
  font-size: 0.83rem;
}

.tw-site-body .login-chip,
.tw-site-body .primary-button {
  border: 0;
  border-radius: 15px;
  color: #070812;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffe08a, #f4d03f 55%, #f59e0b);
  box-shadow: 0 14px 34px rgba(201, 162, 39, 0.25);
}

.tw-site-body .secondary-button,
.tw-site-body .tab-button,
.tw-site-body .ghost-link,
.tw-site-body .arena-lane-button {
  border: 1px solid rgba(180, 191, 255, 0.16);
  color: #e8edff;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.tw-site-body .login-chip:hover,
.tw-site-body .primary-button:hover,
.tw-site-body .secondary-button:hover,
.tw-site-body .tab-button:hover,
.tw-site-body .ghost-link:hover,
.tw-site-body .arena-lane-button:hover {
  transform: translateY(-3px);
  opacity: 1;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.14);
}

.tw-site-body .neo-hero,
.tw-site-body .arena-hero-horizontal {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 28px;
  min-height: 430px;
  margin: 26px 0;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  overflow: hidden;
}

.tw-site-body .info-hero.neo-hero {
  grid-template-columns: 1fr;
  min-height: 260px;
}

.tw-site-body .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  color: #f4e4a8;
  background: rgba(212, 175, 55, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
}

.tw-site-body .hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #59f0a4;
  box-shadow: 0 0 14px #59f0a4;
}

.tw-site-body .hero-world-copy h1,
.tw-site-body .arena-hero-copy h1 {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.tw-site-body .info-hero .hero-world-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
}

.tw-site-body .hero-world-copy p,
.tw-site-body .arena-hero-copy p,
.tw-site-body .quick-card small,
.tw-site-body .notification-item span,
.tw-site-body .notification-item small,
.tw-site-body .notification-empty {
  color: #aeb8cf;
}

.tw-site-body .hero-world-copy .hero-subtitle {
  color: #fff;
}

.tw-site-body .neo-hero-media {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.22), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(900px) rotateY(-8deg);
}

.tw-site-body .hero-world-image {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: none;
  animation: heroFloat 5.8s ease-in-out infinite;
}

.tw-site-body .quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 24px;
}

.tw-site-body .quick-card,
.tw-site-body .info-card,
.tw-site-body .status-tile,
.tw-site-body .store-card,
.tw-site-body .storage-slot-card,
.tw-site-body .market-card,
.tw-site-body .social-post-card,
.tw-site-body .social-profile-post-card,
.tw-site-body .arena-score-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(10, 13, 25, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.tw-site-body .quick-card:hover,
.tw-site-body .info-card:hover,
.tw-site-body .status-tile:hover,
.tw-site-body .store-card:hover,
.tw-site-body .storage-slot-card:hover,
.tw-site-body .market-card:hover,
.tw-site-body .social-post-card:hover,
.tw-site-body .social-profile-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 42px rgba(212, 175, 55, 0.08);
}

.tw-site-body .quick-card {
  display: grid;
  gap: 12px;
  min-height: 164px;
  padding: 24px;
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
}

.tw-site-body .quick-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #001018;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.22);
}

.tw-site-body .panel-kicker,
.tw-site-body .eyebrow {
  color: #d4af37;
}

.tw-site-body .neo-panel,
.tw-site-body .checkout-panel,
.tw-site-body .account-panel,
.tw-site-body .social-panel,
.tw-site-body .info-page-panel,
.tw-site-body .arena-road-panel,
.tw-site-body .arena-feature-panel,
.tw-site-body .arena-reward-panel {
  border-radius: 26px;
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 24px;
}

.tw-site-body .account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
}

.tw-site-body .account-panel .panel-head,
.tw-site-body .account-panel .account-state {
  grid-column: 1;
}

.tw-site-body .account-panel-brand-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 220px;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  max-width: 220px;
  aspect-ratio: 1;
  justify-self: end;
  align-self: start;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.42);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(212, 175, 55, 0.12);
  background: transparent;
}

.tw-site-body .account-panel-brand-shell::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 0;
  width: 48%;
  height: 190%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 248, 220, 0.1) 42%,
    rgba(255, 230, 160, 0.22) 50%,
    rgba(255, 248, 220, 0.08) 58%,
    transparent 100%
  );
  animation: heroGoldShine 7s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.tw-site-body .account-panel-brand-shell .account-panel-gif.account-panel-brand-mark {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  display: block;
  animation:
    heroFloat 5.8s ease-in-out infinite,
    heroEmberAura 4.2s ease-in-out infinite;
}

.tw-site-body .account-panel-brand-shell .account-panel-gif-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  max-width: none;
  margin: 0;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 175, 55, 0.25), transparent 55%),
    linear-gradient(160deg, rgba(28, 24, 20, 0.96), rgba(12, 11, 10, 0.98));
}

.tw-site-body .neo-tab-strip {
  position: sticky;
  top: 86px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  overflow-x: auto;
}

.tw-site-body .tab-button.active,
.tw-site-body .arena-lane-button.active {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.2);
}

.tw-site-body .checkout-feedback {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(232, 197, 71, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.tw-site-body .cart-panel,
.tw-site-body .notification-dropdown,
.tw-site-body .arena-backpack-dropdown,
.tw-site-body .arena-loot-modal-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(9, 12, 24, 0.94);
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.tw-site-body .social-input,
.tw-site-body input,
.tw-site-body textarea,
.tw-site-body select {
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  outline: none;
}

.tw-site-body .social-input:focus,
.tw-site-body input:focus,
.tw-site-body textarea:focus,
.tw-site-body select:focus {
  border-color: rgba(212, 175, 55, 0.54);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.tw-site-body .arena-backpack-dropdown:not(.hidden),
.tw-site-body .notification-dropdown:not(.hidden),
.tw-site-body .arena-loot-modal:not(.hidden),
.tw-site-body #support-other-modal:not(.hidden),
.tw-site-body #social-profile-edit-modal:not(.hidden) {
  animation: popIn 0.22s ease both;
}

.tw-site-body .tab-panel {
  animation: panelReveal 0.32s ease both;
}

.tw-site-body .tab-panel:not(.active) {
  display: none;
}

.tw-site-body #refresh-status {
  position: relative;
  min-width: 116px;
  overflow: hidden;
}

.tw-site-body #refresh-status::before {
  content: "";
  width: 0;
  height: 0;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  transition: width 0.18s ease, height 0.18s ease, opacity 0.18s ease, margin-right 0.18s ease;
}

.tw-site-body #refresh-status.refreshing::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  opacity: 1;
  animation: refreshSpin 0.75s linear infinite;
}

.tw-site-body #refresh-status.refreshing {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(232, 197, 71, 0.18));
  border-color: rgba(212, 175, 55, 0.5);
}

.tw-site-body .status-tile.status-refreshed,
.tw-site-body #status-section .hero-status-pill.status-refreshed {
  animation: refreshPulse 0.72s ease both;
}

@media (max-width: 980px) {
  .tw-site-body .neo-topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tw-site-body .neo-nav,
  .tw-site-body .topbar-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .tw-site-body .neo-nav {
    overflow: visible;
    flex-wrap: wrap;
  }

  .tw-site-body .topbar-actions {
    overflow-x: auto;
  }

  .tw-site-body .neo-dropdown {
    left: 0;
    width: min(310px, calc(100vw - 40px));
    transform: translate(0, 10px) scale(0.98);
  }

  .tw-site-body .neo-nav-menu:hover .neo-dropdown,
  .tw-site-body .neo-nav-menu:focus-within .neo-dropdown {
    transform: translate(0, 0) scale(1);
  }

  .tw-site-body .neo-hero,
  .tw-site-body .arena-hero-horizontal,
  .tw-site-body .quick-grid,
  .tw-site-body .account-panel {
    grid-template-columns: 1fr;
  }

  .tw-site-body .account-panel-brand-shell,
  .tw-site-body .account-panel-gif,
  .tw-site-body .account-panel-gif-fallback,
  .tw-site-body .account-panel .panel-head,
  .tw-site-body .account-panel .account-state {
    grid-column: auto;
    grid-row: auto;
  }

  .tw-site-body .neo-hero-media {
    transform: none;
  }
}

@media (max-width: 640px) {
  .tw-site-body .page-shell {
    width: min(100% - 20px, 1274px);
  }

  .tw-site-body .neo-hero,
  .tw-site-body .arena-hero-horizontal,
  .tw-site-body .neo-panel,
  .tw-site-body .checkout-panel,
  .tw-site-body .account-panel,
  .tw-site-body .social-panel,
  .tw-site-body .info-page-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .tw-site-body .hero-world-copy h1,
  .tw-site-body .arena-hero-copy h1 {
    font-size: clamp(2.55rem, 17vw, 4.3rem);
  }

  .tw-site-body .account-panel-brand-shell {
    width: 168px;
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    max-width: 168px;
    justify-self: center;
    margin: 0 auto 12px;
  }
}

.rules-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.18), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(201, 162, 39, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(28, 28, 28, 0.94), rgba(14, 14, 14, 0.86));
}

.rules-layout {
  display: grid;
  gap: 24px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rules-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rule-card {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(10, 13, 25, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#d4af37, #c9a227);
  opacity: 0.9;
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.34);
}

.rule-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.08rem;
}

.rule-card p {
  margin: 0;
  color: #aeb8cf;
  line-height: 1.55;
}

.rule-card p + p {
  margin-top: 10px;
}

.auction-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 162, 39, 0.18), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(28, 28, 28, 0.94), rgba(14, 14, 14, 0.86));
}

.auction-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.auction-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(10, 13, 25, 0.76);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.34);
  animation: auctionCardIn 0.56s cubic-bezier(0.2, 0.85, 0.25, 1) both;
  animation-delay: var(--auction-delay, 0ms);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.auction-card:hover {
  transform: translateY(-7px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 82px rgba(212, 175, 55, 0.13), 0 22px 62px rgba(0, 0, 0, 0.36);
}

.auction-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#c9a227, #d4af37);
}

.discord-auction-card::before {
  background: linear-gradient(#8b7355, #d4af37);
}

.auction-card-glow {
  position: absolute;
  inset: -45% -25% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 64%);
  pointer-events: none;
  animation: auctionGlowFloat 7s ease-in-out infinite alternate;
}

.discord-auction-card .auction-card-glow {
  background: radial-gradient(circle, rgba(88, 101, 242, 0.28), transparent 64%);
}

.auction-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.auction-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.auction-status-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #06101d;
  background: linear-gradient(135deg, #ffb36c, #d4af37);
  font-weight: 900;
}

.discord-auction-card .auction-status-pill {
  color: #fff;
  background: linear-gradient(135deg, #8b7355, #d4af37);
}

.auction-source-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.auction-source-row span {
  padding: 8px 11px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 999px;
  color: #dbe6ff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 800;
}

.auction-description,
.auction-help {
  position: relative;
  z-index: 1;
  color: #aeb8cf;
}

.auction-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.auction-stats span,
.auction-result,
.auction-deadline,
.auction-meta span {
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.auction-stats span {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.auction-stats small,
.auction-meta span,
.auction-result strong,
.auction-deadline strong {
  color: #9ca7be;
}

.auction-stats strong,
.auction-result span,
.auction-deadline span {
  color: #fff;
  font-weight: 900;
}

.auction-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.auction-meta span {
  padding: 8px 10px;
}

.auction-result,
.auction-deadline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 14px;
  margin-top: 12px;
}

.auction-bid-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.auction-discord-button {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  width: fit-content;
}

.auction-empty {
  grid-column: 1 / -1;
  text-align: center;
}

@keyframes auctionCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes auctionGlowFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.65;
  }
  to {
    transform: translate3d(-24px, 22px, 0) scale(1.12);
    opacity: 0.95;
  }
}

@media (max-width: 900px) {
  .auction-info-grid,
  .auction-grid,
  .auction-stats {
    grid-template-columns: 1fr;
  }

  .auction-bid-form {
    grid-template-columns: 1fr;
  }
}

.ranking-page-shell {
  width: min(1240px, calc(100% - 36px));
}

.ranking-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 42px 0 24px;
}

.ranking-hero h1 {
  margin: 4px 0 10px;
  color: #ffb36c;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(201, 162, 39, 0.2);
}

.ranking-hero p {
  max-width: 760px;
  margin: 0;
  color: #b9c2d8;
  font-size: 1.12rem;
}

.ranking-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

.ranking-tab {
  min-width: 112px;
  padding: 13px 18px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 13px;
  color: #e8edff;
  background: rgba(255, 255, 255, 0.045);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ranking-tab:hover {
  transform: translateY(-3px);
}

.ranking-tab.active {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, #d4af37, #ffe08a);
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.22);
}

.ranking-page-state {
  display: grid;
  gap: 28px;
}

.ranking-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.ranking-podium-card {
  min-height: 160px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px 24px 8px 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.ranking-podium-card.champion {
  min-height: 206px;
  border-color: rgba(249, 180, 80, 0.42);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.2), rgba(255, 255, 255, 0.055));
}

.ranking-podium-card.runner-up {
  border-color: rgba(194, 199, 214, 0.34);
  background: linear-gradient(145deg, rgba(194, 199, 214, 0.14), rgba(255, 255, 255, 0.04));
}

.ranking-podium-card.third-place {
  border-color: rgba(220, 140, 70, 0.3);
  background: linear-gradient(145deg, rgba(220, 140, 70, 0.12), rgba(255, 255, 255, 0.035));
}

.ranking-medal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #06101d;
  background: linear-gradient(135deg, #ffcf7a, #c9a227);
  font-weight: 900;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.28);
}

.ranking-podium-card strong {
  color: #fff;
  font-size: 1.06rem;
  text-align: center;
}

.ranking-podium-card span {
  color: #ff6b7a;
  font-size: 1.45rem;
  font-weight: 900;
}

.ranking-podium-card small {
  color: #aeb8cf;
  font-weight: 700;
}

.ranking-table-card {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 50px;
}

.ranking-page-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 20px;
}

.ranking-page-row {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  color: #d9e1f5;
}

.ranking-page-row:last-child {
  border-bottom: 0;
}

.ranking-page-row-head {
  min-height: 48px;
  color: #9ca7be;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.ranking-page-row strong {
  color: #fff;
}

.ranking-page-row span:last-child {
  justify-self: end;
  color: #59f0a4;
  font-weight: 900;
}

.ranking-page-row.top-1 {
  background: linear-gradient(90deg, rgba(249, 180, 80, 0.18), rgba(255, 255, 255, 0.02));
}

.ranking-page-row.top-2 {
  background: linear-gradient(90deg, rgba(194, 199, 214, 0.11), rgba(255, 255, 255, 0.02));
}

.ranking-page-row.top-3 {
  background: linear-gradient(90deg, rgba(220, 140, 70, 0.1), rgba(255, 255, 255, 0.02));
}

.ranking-loading-card {
  text-align: center;
}

.tw-site-body .arena-hero-score:has(.arena-score-card:only-child) {
  grid-template-columns: minmax(320px, 430px);
}

.tw-site-body .arena-score-login-text {
  max-width: none;
  font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
  line-height: 1.18 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 980px) {
  .rules-grid,
  .rules-grid-wide,
  .ranking-podium {
    grid-template-columns: 1fr;
  }

  .ranking-podium-card,
  .ranking-podium-card.champion {
    min-height: 150px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .ranking-page-row {
    grid-template-columns: 48px 1fr;
  }

  .ranking-page-row span:last-child {
    grid-column: 2;
    justify-self: start;
  }
}
/* Feedback leve para ações locais que não recarregam a página inteira. */
.pulse-soft {
  animation: pulseSoft .42s ease;
}

@keyframes pulseSoft {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.025);
    filter: brightness(1.18);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.notification-modal-opening .notification-modal-card {
  animation: notificationPopIn .26s ease both;
}

.notification-modal-closing .notification-modal-card {
  animation: notificationPopOut .22s ease both;
}

.notification-action-pulse {
  animation: pulseSoft .36s ease;
}

@keyframes notificationPopIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes notificationPopOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
}

.login-chip.discord-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.login-chip.discord-logout::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: #05070d;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.32 4.37A19.8 19.8 0 0 0 15.36 2.8a13.8 13.8 0 0 0-.64 1.32 18.5 18.5 0 0 0-5.44 0 12.7 12.7 0 0 0-.65-1.32A19.7 19.7 0 0 0 3.68 4.37C.55 9.02-.3 13.55.13 18.02a19.9 19.9 0 0 0 6.07 3.07c.49-.66.92-1.36 1.3-2.09a12.8 12.8 0 0 1-2.05-.98l.5-.39a14.2 14.2 0 0 0 12.1 0l.5.39c-.65.39-1.33.72-2.05.98.38.73.82 1.43 1.3 2.09a19.9 19.9 0 0 0 6.07-3.07c.5-5.18-.84-9.67-3.55-13.65ZM8.02 15.27c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Zm7.96 0c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.32 4.37A19.8 19.8 0 0 0 15.36 2.8a13.8 13.8 0 0 0-.64 1.32 18.5 18.5 0 0 0-5.44 0 12.7 12.7 0 0 0-.65-1.32A19.7 19.7 0 0 0 3.68 4.37C.55 9.02-.3 13.55.13 18.02a19.9 19.9 0 0 0 6.07 3.07c.49-.66.92-1.36 1.3-2.09a12.8 12.8 0 0 1-2.05-.98l.5-.39a14.2 14.2 0 0 0 12.1 0l.5.39c-.65.39-1.33.72-2.05.98.38.73.82 1.43 1.3 2.09a19.9 19.9 0 0 0 6.07-3.07c.5-5.18-.84-9.67-3.55-13.65ZM8.02 15.27c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Zm7.96 0c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.4 2.15-2.4 1.2 0 2.17 1.08 2.15 2.4 0 1.32-.95 2.4-2.15 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
