:root {
  --bg: #02020a;
  --bg-panel: rgba(4, 8, 14, 0.94);
  --bg-panel-solid: #050910;
  --line: rgba(212, 175, 55, 0.35);
  --line-soft: rgba(255, 255, 255, 0.06);
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-bright: #f4b346;
  --purple: #7b3cff;
  --purple-deep: #5a1fe0;
  --purple-glow: rgba(123, 60, 255, 0.55);
  --text: #f3f0fa;
  --muted: #a29bb8;
  --radius: 10px;
  --container-base: 1120px;
  --container: 1120px;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 60, 255, 0.35) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(123, 60, 255, 0.35);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(166, 127, 252, 0.55);
}
::-webkit-scrollbar-thumb:active {
  background: rgba(123, 60, 255, 0.65);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
}

/* ---------- Page shell ---------- */

.page-bg {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(7, 6, 12, 0.15) 0%, rgba(7, 6, 12, 0.55) 42%, rgba(7, 6, 12, 0.96) 72%, var(--bg) 100%),
    url("../assets/background.png") top center / 1920px auto no-repeat,
    var(--bg);
}

.container {
  width: min(100% - 32px, var(--container));
  padding-bottom: 48px;
  overflow: visible;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  align-self: stretch;
  background:
    radial-gradient(ellipse 55% 140% at 48% 35%, rgba(92, 42, 168, 0.22) 0%, rgba(40, 12, 70, 0.08) 45%, transparent 72%),
    radial-gradient(ellipse 28% 100% at 12% 45%, rgba(123, 60, 255, 0.1) 0%, transparent 70%),
    #050508;
  padding-top: 8px;
  padding-bottom: 0;
}

.site-header > .header-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 12px rgba(123, 60, 255, 0.4));
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  height: 100%;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 14px;
  min-height: 100%;
  color: rgb(183, 176, 196);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  background: transparent;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(168, 85, 247, 0.7) 40%,
    rgba(216, 180, 255, 0.95) 50%,
    rgba(168, 85, 247, 0.7) 60%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: blur(0.3px);
  pointer-events: none;
}

.main-nav a:hover {
  color: #e9d5ff;
  text-shadow:
    0 0 22px rgba(168, 85, 247, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.7);
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a.active {
  color: #f3e8ff;
  text-shadow:
    0 0 16px rgba(168, 85, 247, 0.38),
    0 1px 3px rgba(0, 0, 0, 0.65);
}

.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
  height: 1px;
  bottom: 10px;
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.6));
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-panel,
.btn-create-account {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.btn-panel .btn-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.btn-panel .corner {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
}

.header-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 0px;
  margin-bottom: -7px;
  height: 18px;
  pointer-events: none;
}

.header-divider-line {
  position: relative;
  z-index: 0;
  flex: 1;
  height: 2px;
  border: 0;
  opacity: 1;
  /* Metal alinhado ao bronze das asas do asset */
  background: linear-gradient(180deg, rgb(165 138 109 / 60%) 0%, #6d5c4e 38%, #130c07 72%, #57443d 100%);
  box-shadow: none;
}

/* Fade suave nas pontas externas; sólido junto à gema */
.header-divider-line:first-child {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 10%,
    rgba(0, 0, 0, 0.75) 24%,
    #000 45%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 10%,
    rgba(0, 0, 0, 0.75) 24%,
    #000 45%,
    #000 100%
  );
}

.header-divider-line:last-child {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 55%,
    rgba(0, 0, 0, 0.75) 76%,
    rgba(0, 0, 0, 0.3) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 55%,
    rgba(0, 0, 0, 0.75) 76%,
    rgba(0, 0, 0, 0.3) 90%,
    transparent 100%
  );
}

/* Highlight metálico no topo da linha */
.header-divider-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgb(105 79 57 / 55%) 30%, rgb(96 78 71 / 65%) 70%, transparent 100%);
  pointer-events: none;
}

.header-divider-gem {
  position: relative;
  z-index: 2;
  /* Asset ~3.2:1 com stubs embutidos; overlap cobre asas */
  flex: 0 0 141px;
  width: 250px;
  height: 80px;
  margin: 0 -20px;
  background:
    url("../assets/header/divider-gem-center.png") center / contain no-repeat;
  filter: drop-shadow(0 0 1.5px rgba(148, 80, 230, 0.28));
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(10, 8, 18, 0.7);
  border-color: rgba(123, 60, 255, 0.65);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--purple);
  box-shadow: 0 0 16px rgba(123, 60, 255, 0.25);
}

.btn-panel {
  height: 34px;
  padding: 0 17px;
  border-radius: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(8, 6, 14, 0.85), rgba(8, 6, 14, 0.85)) padding-box,
    linear-gradient(180deg, #f0d878 0%, #d4af37 40%, #8a6a28 100%) border-box;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: none;
  box-shadow:
    inset 0 0 0 1px rgba(240, 216, 120, 0.22),
    0 0 10px rgba(212, 175, 55, 0.14);
}

.btn-panel .corner {
  width: 13px;
  height: 13px;
  background-image: url("../assets/header/corner-plain-tl.png");
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.45));
}

.btn-panel .corner.tl { top: -3px; left: -3px; }
.btn-panel .corner.tr { top: -3px; right: -3px; transform: scaleX(-1); }
.btn-panel .corner.bl { bottom: -3px; left: -3px; transform: scaleY(-1); }
.btn-panel .corner.br { bottom: -3px; right: -3px; transform: scale(-1); }

.btn-panel .btn-label {
  position: relative;
  z-index: 1;
}

.btn-panel:hover {
  box-shadow:
    inset 0 0 0 1px rgba(240, 216, 120, 0.35),
    0 0 16px rgba(212, 175, 55, 0.28);
}

.btn-create-account {
  /* Close-up exato do CRIAR CONTA — botão inteiro (não cta-frame-full / btn-download) */
  width: 150px;
  height: 44px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url("../assets/header/criar-conta-full-2x.png") center / 100% 100% no-repeat;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(123, 60, 255, 0.4));
}

.btn-create-account::before,
.btn-create-account::after {
  content: none;
  display: none;
}

.btn-create-account .btn-label {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  white-space: nowrap;
}

.btn-create-account:hover {
  background-image: url("../assets/header/criar-conta-full-2x_hover.png");
  filter: drop-shadow(0 0 16px rgba(123, 60, 255, 0.55));
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #8b4dff 0%, var(--purple-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(90, 31, 224, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(90, 31, 224, 0.5);
}

.btn-download {
  width: 315px;
  height: 90px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: transparent url("../assets/btn/btn-download.png") center / 100% 100% no-repeat;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  /* box-shadow: 0 10px 28px rgba(70, 20, 160, 0.35); */
  filter: drop-shadow(0 0 10px rgba(123, 60, 255, 0.28));
}

.btn-download:hover {
  background-image: url("../assets/btn/btn-download-hover.png");
  filter: drop-shadow(0 0 14px rgba(123, 60, 255, 0.45));
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

/* ---------- Ornate panels (sprite frame) ---------- */
/* Estilo 1ª imagem: fundo radial sutil + borda metálica fina + cantos em L leves */

.panel {
  --frame-corner: 14px;
  --frame-line: 1px;
  position: relative;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(88, 48, 150, 0.14), transparent 50%),
    radial-gradient(ellipse 85% 70% at 50% 45%, #0d1320 0%, #080c14 55%, #04060c 100%);
  border: 0;
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 0 24px rgba(212, 175, 55, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Moldura fina com degradê metálico + brilho suave */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--frame-line);
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    145deg,
    rgba(101, 69, 36, 0.95) 0%,
    rgba(64, 47, 33, 0.55) 24%,
    rgba(104, 76, 53, 0.85) 48%,
    rgba(42, 29, 25, 0.5) 68%,
    rgba(44, 31, 27, 0.75) 86%,
    rgba(129, 72, 35, 0.9) 100%
  );
  opacity: 0.75;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Cantos em L finos */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    url("../assets/frame/corner-ref-tl.png") left top / var(--frame-corner) var(--frame-corner) no-repeat,
    url("../assets/frame/corner-ref-tr.png") right top / var(--frame-corner) var(--frame-corner) no-repeat,
    url("../assets/frame/corner-ref-bl.png") left bottom / var(--frame-corner) var(--frame-corner) no-repeat,
    url("../assets/frame/corner-ref-br.png") right bottom / var(--frame-corner) var(--frame-corner) no-repeat;
}

.panel.cta {
  --frame-corner: 18px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 20px;
}

.hero-content {
  max-width: 720px;
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: min(100%, 520px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 28px rgba(123, 60, 255, 0.45));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f3e8ff 0%, #c4a5ff 45%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(123, 60, 255, 0.4));
}

.hero p {
  margin: 14px auto 0;
  max-width: 460px;
  color: #cfc7e4;
  font-size: 1.02rem;
}

.hero .btn-download {
  margin-top: 28px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  box-shadow: 0 0 12px currentColor;
}

.trust-icon svg {
  width: 14px;
  height: 14px;
}

.trust-secure {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
}

.trust-updated {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
}

.trust-support {
  color: #f0b429;
  background: rgba(240, 180, 41, 0.12);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.stat-card {
  --frame-corner: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  animation: fadeUp 0.8s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.05s; }
.stat-card:nth-child(3) { animation-delay: 0.1s; }
.stat-card:nth-child(4) { animation-delay: 0.15s; }

.stat-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(123, 60, 255, 0.45), rgba(20, 10, 40, 0.95) 70%);
  box-shadow:
    0 0 0 1.5px rgba(212, 175, 55, 0.55),
    0 0 0 3px rgba(90, 31, 224, 0.2),
    0 0 18px rgba(123, 60, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

/* ---------- Leaders ---------- */

.leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.leader-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
  column-gap: 14px;
  padding: 16px 20px;
  min-width: 0;
  min-height: 112px;
}

.leader-card.is-empty {
  grid-template-columns: 58px minmax(0, 1fr);
}

.leader-crest {
  display: block;
  grid-column: 1;
  width: 58px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(123, 60, 255, 0.55)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.leader-info {
  grid-column: 2;
  min-width: 0;
  text-align: left;
}

.leader-info h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a5ff;
}

.leader-summary-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
  text-align: left;
}

.leader-card.is-empty .leader-summary-main {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.leader-state-detail {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.leader-summary-copy {
  min-width: 0;
}

.leader-summary-copy > strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-summary-metric {
  display: grid;
  color: var(--muted);
  line-height: 1.05;
}

.leader-summary-metric > span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader-summary-metric > strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.25vw, 1.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.leader-summary-metric--side {
  grid-column: 3;
  align-self: center;
  justify-items: end;
  min-width: 0;
  max-width: 160px;
  padding-left: 10px;
  border-left: 1px solid rgba(196, 165, 255, 0.18);
  text-align: right;
}

.leader-summary-metric--side > strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.leader-card .leader-summary-metric--side[hidden] {
  display: none;
}

/* ---------- Section heads ---------- */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2,
.news h2,
.ranking h2,
.drops h2,
.cta h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.section-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c084fc;
}

.section-link:hover {
  color: #e9d5ff;
}

/* ---------- Content grid ---------- */

.content {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
}

.news,
.ranking,
.drops {
  padding: 22px;
}

/* News */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent) bottom / 100% 1px no-repeat;
}

.news-item:last-child {
  padding-bottom: 0;
  background: none;
}

.news-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background-size: cover;
  background-position: center;
}

.thumb-evento {
  background:
    linear-gradient(145deg, rgba(123, 60, 255, 0.55), rgba(20, 10, 40, 0.9)),
    radial-gradient(circle at 30% 30%, #c084fc, transparent 55%);
}

.thumb-update {
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.55), rgba(12, 20, 40, 0.9)),
    radial-gradient(circle at 70% 30%, #60a5fa, transparent 55%);
}

.thumb-aviso {
  background:
    linear-gradient(145deg, rgba(34, 197, 94, 0.45), rgba(10, 30, 18, 0.9)),
    radial-gradient(circle at 40% 60%, #4ade80, transparent 55%);
}

.thumb-sistema {
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.5), rgba(30, 16, 8, 0.9)),
    radial-gradient(circle at 60% 40%, #fb923c, transparent 55%);
}

.badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-evento { background: rgba(123, 60, 255, 0.25); color: #c4a5ff; border: 1px solid rgba(123, 60, 255, 0.45); }
.badge-update { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-aviso { background: rgba(34, 197, 94, 0.18); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.35); }
.badge-sistema { background: rgba(249, 115, 22, 0.18); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.35); }

.news-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.news-body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body time {
  display: block;
  margin-top: 6px;
  color: #7d7594;
  font-size: 11px;
}

/* Ranking */

.countdown {
  text-align: right;
}

.countdown-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.countdown-units {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.countdown-units > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 36px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* display:flex above beats the UA [hidden] rule — force hide when zeroed */
.countdown-units > span[hidden],
.countdown-units > span.is-hidden {
  display: none !important;
}

.countdown-units strong {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 28px;
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  line-height: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead th {
  padding: 10px 8px;
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

tbody tr {
  background: linear-gradient(90deg, transparent 2%, rgba(255, 255, 255, 0.05) 50%, transparent 98%) bottom / 100% 1px no-repeat;
}

tbody td {
  padding: 10px 8px;
  border-bottom: 0;
  color: #ddd6ef;
  vertical-align: middle;
}

tbody tr:hover td {
  background: rgba(123, 60, 255, 0.06);
}

.ranking-loading td {
  padding-block: 24px;
  color: var(--muted);
  text-align: center;
}

.rank-num {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.rank-1 .rank-num,
.rank-2 .rank-num,
.rank-3 .rank-num {
  color: #1a1200;
  background: linear-gradient(180deg, #f0d878, #c9a227);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.char {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.avatar {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.15), rgba(20, 12, 40, 0.95));
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.home-player {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-player strong {
  overflow: hidden;
  color: #eee9f7;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.home-player-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: #817b8e;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.home-player-status > span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6b6578;
}

.home-player-status.is-online {
  color: #75dca2;
}

.home-player-status.is-online > span {
  background: #3ddc84;
  box-shadow: 0 0 7px rgba(61, 220, 132, 0.75);
}

.home-clan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #b9b1ca;
}

.home-clan > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-clan-emblem {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 5px;
  background: rgba(8, 6, 14, 0.7);
}

.home-clan-emblem::before {
  width: 15px;
  height: 17px;
  content: "";
  opacity: 0.42;
  background: #9a92a9;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1 22 5v8c0 6.5-4.2 11.8-10 14C6.2 24.8 2 19.5 2 13V5l10-4Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1 22 5v8c0 6.5-4.2 11.8-10 14C6.2 24.8 2 19.5 2 13V5l10-4Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-clan-emblem.has-image::before {
  display: none;
}

.home-clan-emblem img {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  object-fit: contain;
  image-rendering: pixelated;
}

.home-level {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
}

.home-kd {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-kd strong {
  color: #63d992;
  font-style: normal;
}

.home-kd span {
  color: #716a80;
}

.home-kd em {
  color: #df7474;
  font-style: normal;
  font-weight: 600;
}

.points {
  color: var(--gold-bright) !important;
  font-weight: 700;
  font-family: var(--font-display);
}

.ranking-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(190, 160, 255, 0.45);
  background: linear-gradient(180deg, #9a5cff 0%, #6b2ef0 48%, #4a18d4 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(123, 60, 255, 0.25),
    0 10px 28px rgba(90, 31, 224, 0.4),
    0 0 28px rgba(123, 60, 255, 0.28);
}

.ranking-cta:hover {
  box-shadow:
    0 0 0 1px rgba(190, 160, 255, 0.5),
    0 12px 32px rgba(90, 31, 224, 0.55),
    0 0 36px rgba(123, 60, 255, 0.4);
}

/* ---------- Bottom ---------- */

.bottom {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

/* Home — Últimos Drops */

.panel.drops {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  background:
    radial-gradient(ellipse 90% 55% at 12% 0%, rgba(212, 175, 55, 0.1), transparent 48%),
    radial-gradient(ellipse 70% 60% at 88% 100%, rgba(123, 60, 255, 0.12), transparent 52%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(88, 48, 150, 0.14), transparent 50%),
    radial-gradient(ellipse 85% 70% at 50% 45%, #0d1320 0%, #080c14 55%, #04060c 100%);
}

.panel.drops .section-head {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.panel.drops .section-head h2 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: rgba(244, 179, 70, 0.88);
}

.drops-link {
  color: rgba(212, 175, 55, 0.62);
  letter-spacing: 0.12em;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.drops-link:hover {
  color: var(--gold-bright);
}

.drops-table-wrap {
  flex: 1;
  min-height: 0;
}

.drops-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.drops-table thead th {
  padding: 4px 8px 7px;
  color: rgba(212, 175, 55, 0.52);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom-color: rgba(212, 175, 55, 0.16);
}

.drops-col-player { width: 24%; }
.drops-col-item { width: 30%; }
.drops-col-map { width: 24%; }
.drops-col-time { width: 22%; text-align: end; }

.drops-table tbody td:last-child {
  text-align: end;
}

.drops-table tbody tr.home-drop-row {
  background:
    linear-gradient(90deg, transparent 2%, rgba(212, 175, 55, 0.08) 50%, transparent 98%) bottom / 100% 1px no-repeat;
  transition: background 0.15s ease;
}

.drops-table tbody tr.home-drop-row:last-child {
  background: none;
}

.drops-table tbody tr.home-drop-row:hover {
  background: rgba(123, 60, 255, 0.055);
}

.drops-table tbody tr.home-drop-row:hover td {
  background: transparent;
}

.drops-table tbody td {
  padding: 6px 8px;
  color: #ddd6ef;
  vertical-align: middle;
}

/* Tempo relativo nos drops: mesma hierarquia tipográfica do status ONLINE, sem uppercase/bolinha */
.home-player .home-drop-rel {
  text-transform: none;
  white-space: nowrap;
}

.home-drop-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}

/* Thumb — mesmo padrão Registros / il-item-thumb */
.home-drop-thumb,
.drops-table .il-item-thumb {
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.3rem;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: rgba(0, 0, 0, 1);
  box-shadow:
    inset 0 0 0 1px rgba(123, 60, 255, 0.06),
    0 0 6px rgba(212, 175, 55, 0.04);
  overflow: hidden;
}

.home-drop-thumb img,
.drops-table .il-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

.home-drop-thumb.is-empty,
.drops-table .il-item-thumb.is-empty {
  opacity: 0.4;
  background:
    linear-gradient(135deg, rgba(123, 60, 255, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.92);
}

.home-drop-item-name {
  min-width: 0;
  overflow: hidden;
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.16);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-drop-map {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: rgba(168, 160, 190, 0.78);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-drop-time {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-align: end;
  white-space: nowrap;
  color: rgba(210, 204, 228, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
}

.home-drop-abs {
  color: inherit;
}

.home-drop-time-icon {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(162, 155, 184, 0.45);
  position: relative;
  opacity: 0.7;
}

.home-drop-time-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 2px;
  background: rgba(162, 155, 184, 0.7);
  transform: translate(-50%, -85%);
  border-radius: 1px;
}

.home-drop-time-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 1px;
  background: rgba(162, 155, 184, 0.7);
  transform: translate(0, -50%);
  border-radius: 1px;
}

.drops-table tbody tr.drops-state td {
  padding: 0;
  border: 0;
  background: none;
}

.drops-table tbody tr.drops-state:hover td {
  background: none;
}

.drops-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 40%, rgba(123, 60, 255, 0.1), transparent 70%);
}

.drops-empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    radial-gradient(circle at 35% 30%, rgba(244, 179, 70, 0.35), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(123, 60, 255, 0.22), rgba(8, 10, 20, 0.95));
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.18),
    inset 0 0 12px rgba(123, 60, 255, 0.2);
  position: relative;
}

.drops-empty-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 2px;
  border: 1.5px solid rgba(244, 179, 70, 0.55);
  background: linear-gradient(145deg, rgba(244, 179, 70, 0.2), transparent 60%);
  transform: rotate(12deg);
}

.drops-empty-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.drops-empty-detail {
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.item {
  position: relative;
  padding-left: 18px;
  font-weight: 600;
}

.item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: translateY(-50%);
  box-shadow: 0 0 8px currentColor;
}

.rarity-legend {
  color: #f0d878;
}
.rarity-legend::before { background: #f0d878; color: #f0d878; }

.rarity-epic {
  color: #c084fc;
}
.rarity-epic::before { background: #c084fc; color: #c084fc; }

.rarity-rare {
  color: #60a5fa;
}
.rarity-rare::before { background: #60a5fa; color: #60a5fa; }

.cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  min-height: 280px;
  padding: 28px 24px 24px;
  text-align: left;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(123, 60, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(90, 31, 224, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(22, 14, 38, 0.72), rgba(8, 6, 14, 0.95));
}

.cta-body {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.cta-art {
  flex: 0 0 auto;
  width: 92px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(212, 175, 55, 0.28));
}

.cta-copy {
  min-width: 0;
}

.cta h2 {
  max-width: none;
  line-height: 1.3;
  font-size: 1.05rem;
}

.cta p {
  margin: 10px 0 0;
  max-width: 220px;
  color: #d8d0ea;
  font-size: 13.5px;
  line-height: 1.45;
}

.btn-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 50px;
  border-radius: 3px;
  border: 1px solid #e2c56a;
  background: linear-gradient(180deg, #a66bff 0%, #6b2ef0 42%, #4514c4 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(70, 50, 10, 0.75),
    inset 0 0 0 1px rgba(240, 216, 120, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(74, 24, 212, 0.45);
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(240, 216, 120, 0.22);
  background:
    linear-gradient(#f0d878, #f0d878) top 0 left 0 / 12px 2px no-repeat,
    linear-gradient(#f0d878, #f0d878) top 0 left 0 / 2px 12px no-repeat,
    linear-gradient(#f0d878, #f0d878) top 0 right 0 / 12px 2px no-repeat,
    linear-gradient(#f0d878, #f0d878) top 0 right 0 / 2px 12px no-repeat,
    linear-gradient(#c9a227, #c9a227) bottom 0 left 0 / 12px 2px no-repeat,
    linear-gradient(#c9a227, #c9a227) bottom 0 left 0 / 2px 12px no-repeat,
    linear-gradient(#c9a227, #c9a227) bottom 0 right 0 / 12px 2px no-repeat,
    linear-gradient(#c9a227, #c9a227) bottom 0 right 0 / 2px 12px no-repeat;
}

.btn-cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(240, 216, 120, 0.45),
    0 12px 32px rgba(74, 24, 212, 0.55);
}

.btn-cta .btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 36px;
  padding: 36px 8px 8px;
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 28px;
  align-items: start;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  max-width: 260px;
}

.footer-legal {
  opacity: 0.75;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-cols a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-crystal {
  width: 88px;
  height: 110px;
  align-self: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23c084fc'/%3E%3Cstop offset='1' stop-color='%235a1fe0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M40 4 L68 36 L52 96 L28 96 L12 36 Z' fill='url(%23g)' opacity='0.85'/%3E%3Cpath d='M40 4 L48 36 L40 96 L32 36 Z' fill='%23efe9ff' opacity='0.35'/%3E%3C/svg%3E")
    center / contain no-repeat;
  filter: drop-shadow(0 0 20px rgba(123, 60, 255, 0.55));
  animation: crystalPulse 3.5s ease-in-out infinite;
}

@keyframes crystalPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(123, 60, 255, 0.4)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 28px rgba(123, 60, 255, 0.7)); transform: translateY(-4px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) and (min-width: 981px) {
  .main-nav a {
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 0 10px;
  }

  .actions {
    gap: 8px;
  }

  .btn-panel {
    padding-inline: 12px;
    font-size: 10px;
  }

  .btn-create-account {
    width: 132px;
    height: 39px;
  }
}

@media (max-width: 980px) {
  .site-header > .header-inner {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 12px 0 8px;
    row-gap: 12px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    height: auto;
    gap: 0;
  }

  .main-nav a {
    min-height: 40px;
    padding: 8px 12px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .leaders,
  .content,
  .bottom {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-crystal {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header > .header-inner {
    width: min(100% - 20px, var(--container));
  }

  .page-bg {
    background-size: 1400px auto;
  }

  .hero {
    min-height: 420px;
    padding-top: 20px;
  }

  .hero-logo {
    width: min(100%, 340px);
  }

  .stats,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .actions .btn-panel {
    display: none;
  }

  .main-nav a {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 14px;
  }

  .ranking {
    padding-inline: 14px;
  }

  .ranking .table-wrap,
  .drops .table-wrap {
    margin-inline: -6px;
  }

  .ranking table {
    min-width: 570px;
  }

  .drops-table {
    min-width: 480px;
  }

  .drops-col-player { width: 22%; }
  .drops-col-item { width: 30%; }
  .drops-col-map { width: 26%; }
  .drops-col-time { width: 22%; }

  .drops-table tbody td {
    padding: 5px 6px;
  }

  .home-drop-map {
    font-size: 0.66rem;
  }

  .home-drop-time {
    font-size: 0.66rem;
  }

  .ranking thead th,
  .ranking tbody td {
    padding-inline: 6px;
  }

  .cta-body {
    flex-direction: column;
    text-align: center;
  }

  .cta p {
    max-width: none;
  }

  .cta-art {
    width: 80px;
  }
}

@media (max-width: 420px) {
  .leader-card {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    padding-inline: 16px;
  }

  .leader-card .leader-crest {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 50px;
  }

  .leader-card .leader-info {
    grid-column: 2;
    grid-row: 1;
  }

  .leader-card .leader-summary-metric--side {
    grid-column: 2;
    grid-row: 2;
    justify-items: start;
    width: 100%;
    max-width: none;
    margin-top: 12px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(196, 165, 255, 0.18);
    border-left: 0;
    text-align: left;
  }

  .leader-card .leader-summary-metric--side > strong {
    font-size: clamp(1.25rem, 8vw, 1.65rem);
  }

  .leader-card.is-empty .leader-crest {
    grid-row: 1;
  }
}

/* ---------- Site tooltip ---------- */

.site-tooltip {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  max-width: min(18rem, calc(100vw - 1.5rem));
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-panel-solid);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}

.site-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.site-tooltip::after {
  content: "";
  position: absolute;
  left: var(--tip-arrow-x, 50%);
  width: 7px;
  height: 7px;
  background: var(--bg-panel-solid);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.site-tooltip[data-placement="top"]::after {
  bottom: -4px;
}

.site-tooltip[data-placement="bottom"]::after {
  top: -4px;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .site-tooltip {
    transition: none;
  }
}

/* ---------- Large screens ---------- */

@media (min-width: 1920px) {
  :root {
    --container-wide: 1232px;
  }

  .page-body {
    width: var(--container-wide);
    margin-inline: calc((100% - var(--container-wide)) / 2);
    overflow: visible;
  }

  .site-header > .header-inner {
    width: min(var(--container-wide), 100% - 32px);
    margin-inline: auto;
  }

  .page-body > .ui-scale {
    width: 100%;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-wide: 1490px;
  }
}
