/* =====================================================================
   UNDEAD PLUS 2 — topo cinematográfico, Continente de MU, carta do herói,
   ranking ao vivo, comemoração dos Fundadores e o easter egg do dragão.
   Precisa do undead-plus.css (usa as mesmas variáveis --up-*).
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&display=swap');

:root { --up-display: 'Cinzel', 'Times New Roman', serif; }

/* =========================== 1. HERO =========================== */
body.up-has-hero .radial-stat { display: none; }

.uph {
  position: relative; isolation: isolate;
  max-width: 1320px; margin: 0 auto; padding: 56px 24px 26px;
  min-height: 640px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--up-text, #f3ece2);
}
.uph-fx { position: absolute; inset: -40px -10vw 0; width: calc(100% + 20vw); height: calc(100% + 40px); pointer-events: none; z-index: 3; }
.uph-shade {
  position: absolute; inset: 0 -50vw; z-index: -1; pointer-events: none;
  /* desfoca e escurece a arte de fundo do tema para a classe escolhida ficar em destaque */
  -webkit-backdrop-filter: blur(3px) brightness(.62) saturate(.85);
  backdrop-filter: blur(3px) brightness(.62) saturate(.85);
  background:
    radial-gradient(55% 65% at 72% 48%, color-mix(in srgb, var(--cc) 26%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(8, 6, 5, .7) 0%, rgba(8, 6, 5, .35) 45%, rgba(8, 6, 5, .2) 70%, rgba(8, 6, 5, .35) 100%),
    linear-gradient(180deg, transparent 75%, rgba(12, 10, 9, .95) 100%);
  transition: background .8s;
}
.uph-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; flex: 1; }
.uph-left { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 4; }

.uph-kicker {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  background: rgba(20, 16, 12, .7); border: 1px solid rgba(190, 230, 31, .35); color: #e9f5c4;
}
.uph-kicker b { color: #bee61f; font-size: 15px; }
.uph-dot { width: 9px; height: 9px; border-radius: 50%; background: #bee61f; box-shadow: 0 0 0 0 rgba(190,230,31,.7); animation: uph-pulse 1.8s infinite; }
@keyframes uph-pulse { 70% { box-shadow: 0 0 0 10px rgba(190,230,31,0); } 100% { box-shadow: 0 0 0 0 rgba(190,230,31,0); } }

.uph-logo-wrap { position: relative; width: min(440px, 100%); }
.uph-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(255, 110, 40, .25)); }
.uph.is-forging .uph-logo { opacity: 0; }
.uph.is-forged .uph-logo { animation: uph-forged 1.1s var(--up-ease, ease) both; }
@keyframes uph-forged {
  0% { opacity: 0; filter: brightness(3) drop-shadow(0 0 40px #ffb347); transform: scale(1.04); }
  35% { opacity: 1; filter: brightness(2) drop-shadow(0 0 60px #ff8a2b); }
  100% { opacity: 1; filter: drop-shadow(0 6px 24px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(255, 110, 40, .25)); transform: none; }
}
.uph-logo-wrap::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 200, 120, .9), 0 0 60px 20px rgba(255, 120, 40, .6);
}
.uph.is-forged .uph-logo-wrap::after { animation: uph-ring .9s ease-out both; }
@keyframes uph-ring { 0% { opacity: 1; transform: translate(-50%,-50%) scale(0); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(60); } }

.uph-title {
  margin: 0; font-family: var(--up-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: 1px; color: #f6ead0;
  text-shadow: 0 4px 30px rgba(0,0,0,.8);
}
.uph-title span {
  display: block;
  background: linear-gradient(180deg, #ffe7a8 0%, #f2b844 45%, #c26a1c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(242, 184, 68, .35));
}
.uph-lead { margin: 0; max-width: 460px; font-size: 18px; color: #e3d8c6; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

.uph-cd-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #d7c7a7; margin-bottom: 8px; }
.uph-cd-row { display: flex; gap: 10px; }
.uph-cd-box {
  min-width: 72px; padding: 10px 12px 8px; text-align: center; border-radius: 10px;
  background: linear-gradient(180deg, rgba(40, 30, 22, .9), rgba(18, 14, 11, .92));
  border: 1px solid rgba(242, 184, 68, .35);
  box-shadow: inset 0 1px 0 rgba(255,230,180,.12), 0 8px 24px rgba(0,0,0,.5);
}
.uph-cd-box b { display: block; font-family: var(--up-display); font-size: 32px; line-height: 1; color: #ffe2a0; }
.uph-cd-box small { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #bfb19a; }
.uph-cd-box b.is-tick { animation: uph-tick .5s var(--up-ease, ease); }
@keyframes uph-tick { 0% { transform: translateY(-6px); opacity: .3; } 100% { transform: none; opacity: 1; } }

.uph-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.uph-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none !important;
  transition: transform .25s var(--up-ease, ease), box-shadow .25s, filter .25s;
}
.uph-btn small { font-size: 12px; font-weight: 700; opacity: .8; text-transform: none; }
.uph-btn-gold {
  color: #1e1206 !important;
  background: linear-gradient(180deg, #ffe08a 0%, #f2b844 50%, #c9781f 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 1px #6b3d0e;
}
.uph-btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg);
  animation: uph-sheen 3.2s infinite;
}
@keyframes uph-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.uph-btn-ghost { color: #f6ead0 !important; background: rgba(20, 15, 11, .6); border: 1px solid rgba(242,184,68,.5); }
.uph-btn:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 16px 36px rgba(0,0,0,.6), 0 0 30px rgba(255, 140, 50, .35); }

.uph-stage { flex: 1 1 460px; min-width: 0; position: relative; height: 520px; z-index: 2; }
.uph-aura {
  position: absolute; left: 50%; top: 48%; width: 520px; height: 520px; max-width: 110%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--cc) 45%, transparent) 0%, transparent 62%);
  filter: blur(10px); transition: background .8s; animation: uph-breathe 5s ease-in-out infinite;
}
@keyframes uph-breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; } }
.uph-art {
  position: absolute; left: 50%; bottom: 40px; width: auto; height: 470px; max-width: 120%;
  object-fit: contain; transform: translateX(-50%) scale(.96); opacity: 0; pointer-events: none;
  filter: blur(14px) brightness(1.8) saturate(1.3);
  transition: opacity .9s var(--up-ease, ease), transform 1.1s var(--up-ease, ease), filter .9s;
}
.uph-art.is-on { opacity: 1; transform: translateX(-50%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: uph-float 6s ease-in-out infinite; }
.uph-art.is-out { opacity: 0; transform: translateX(-46%) scale(1.04); filter: blur(18px) brightness(.5); animation: none; }
@keyframes uph-float { 50% { transform: translateX(-50%) translateY(-12px); } }

.uph-info {
  position: absolute; right: 0; bottom: 30px; width: 270px; padding: 16px 18px; border-radius: 12px;
  background: rgba(14, 11, 9, .78); border: 1px solid color-mix(in srgb, var(--cc) 55%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 30px color-mix(in srgb, var(--cc) 20%, transparent);
  transition: border-color .6s, box-shadow .6s;
}
.uph-info-tag { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cc); }
.uph-info-name { display: block; font-family: var(--up-display); font-size: 24px; color: #fff3da; margin: 2px 0 4px; }
.uph-info-evo { display: block; font-size: 13px; color: #c9bfb0; }
.uph-info-evo em { font-style: normal; color: #f3e1b8; }
.uph-info-txt { margin: 8px 0 0; font-size: 14px; color: #ded3c2; line-height: 1.45; }
.uph-info.is-swap > * { animation: uph-swap .6s var(--up-ease, ease) both; }
@keyframes uph-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.uph-classes {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 12px; margin-top: 10px; border-radius: 14px;
  background: rgba(12, 10, 8, .72); border: 1px solid rgba(242, 184, 68, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.uph-classes-label { font-family: var(--up-display); font-weight: 700; color: #f2d79a; margin-right: 8px; letter-spacing: 1px; }
.uph-cls {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px 6px 6px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #e8dfd0; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--up-ease, ease), box-shadow .25s;
}
.uph-cls img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: rgba(0,0,0,.4); transition: transform .3s var(--up-ease, ease); }
.uph-cls:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 70%, transparent); }
.uph-cls:hover img { transform: scale(1.12) rotate(-6deg); }
.uph-cls.is-on {
  color: #fff; border-color: var(--c);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), color-mix(in srgb, var(--c) 10%, transparent));
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent);
}
.uph-cls .uph-cls-bar { display: none; }

@media (max-width: 991px) {
  .uph { padding-top: 32px; min-height: 0; }
  .uph-stage { height: 420px; }
  .uph-art { height: 380px; }
  .uph-info { position: relative; right: auto; bottom: auto; width: auto; margin-top: 330px; }
  .uph-stage { height: auto; min-height: 420px; }
}
@media (max-width: 560px) {
  .uph-cd-box { min-width: 0; flex: 1; padding: 8px 6px; }
  .uph-cd-box b { font-size: 24px; }
  .uph-cls span { display: none; }
  .uph-cls { padding: 4px; }
  .uph-classes-label { width: 100%; text-align: center; margin: 0 0 4px; }
  .uph-btn { width: 100%; justify-content: center; }
}

/* ======================= 2. CONTINENTE ======================= */
.ctx {
  position: relative; margin: 34px 0; padding: 30px; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(80, 140, 200, .10), transparent 60%),
    radial-gradient(70% 60% at 90% 100%, rgba(220, 110, 40, .12), transparent 60%),
    linear-gradient(180deg, #221d1a, #171310);
  border: 1px solid rgba(242, 184, 68, .22);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.ctx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ctx-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #8fd0ff; }
.ctx-title { margin: 4px 0 6px; font-family: var(--up-display); font-size: clamp(26px, 3vw, 40px); color: #f6e2b0; text-shadow: 0 0 20px rgba(242,184,68,.25); }
.ctx-lead { margin: 0; max-width: 560px; color: #cfc4b3; }
.ctx-lv { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; color: #e8dcc6; }
.ctx-lv input {
  width: 170px; min-height: 46px; padding: 8px 14px; border-radius: 10px; font-size: 18px; font-weight: 800;
  background: #0f0c0a; color: #ffe2a0; border: 1px solid rgba(242,184,68,.4);
}
.ctx-lv input:focus { outline: none; border-color: #ffd27a; box-shadow: 0 0 0 3px rgba(242,184,68,.25); }

.ctx-trail-wrap { margin-top: 18px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.ctx-trail { position: relative; min-width: 1120px; height: 360px; }
.ctx-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ctx-path .ctx-road { fill: none; stroke: rgba(242, 184, 68, .18); stroke-width: 14; stroke-linecap: round; }
.ctx-path .ctx-road-dash { fill: none; stroke: rgba(255, 220, 150, .55); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; animation: ctx-march 1.2s linear infinite; }
@keyframes ctx-march { to { stroke-dashoffset: -24; } }
.ctx-path .ctx-road-you { fill: none; stroke: url(#ctxGrad); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1s var(--up-ease, ease); }

.ctx-node {
  position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer; color: #efe4d2; width: 84px;
}
.ctx-gem {
  display: block; flex: none; position: relative; width: 38px; height: 38px; transform: rotate(45deg); border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--c) 35%, color-mix(in srgb, var(--c) 40%, #000) 100%);
  border: 2px solid rgba(255, 240, 210, .7);
  box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
  transition: transform .3s var(--up-ease, ease), box-shadow .3s;
}
.ctx-node:hover .ctx-gem, .ctx-node.is-sel .ctx-gem { transform: rotate(45deg) scale(1.2); box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 30px var(--c); }
.ctx-node b { font-size: 12px; line-height: 1.15; text-align: center; text-shadow: 0 2px 6px #000; }
.ctx-node small { font-size: 11px; color: #b9ad98; }
.ctx-node.is-live .ctx-gem::after {
  content: ""; position: absolute; inset: -8px; border-radius: 10px; border: 2px solid #bee61f;
  animation: ctx-live 1.6s ease-out infinite;
}
@keyframes ctx-live { 0% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.6); } }
.ctx-count {
  position: absolute; top: -10px; left: 52px; z-index: 2; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: #bee61f; color: #142000; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.ctx-node.is-fit b { color: #ffe08a; }
.ctx-node.is-fit .ctx-gem { box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 0 7px rgba(255, 224, 138, .8), 0 0 34px #ffd27a; }
.ctx-trail.has-lv .ctx-node:not(.is-fit) { opacity: .45; }
.ctx-you {
  position: absolute; transform: translate(-50%, -100%); pointer-events: none; z-index: 3;
  padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 900; white-space: nowrap;
  background: #ffd27a; color: #2a1704; box-shadow: 0 6px 16px rgba(0,0,0,.5);
  transition: left .9s var(--up-ease, ease), top .9s var(--up-ease, ease);
}
.ctx-you::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-top-color: #ffd27a; border-bottom: 0; }

.ctx-panel {
  position: relative; margin-top: 14px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px;
  padding: 20px; border-radius: 14px; background: rgba(10, 8, 7, .65); border: 1px solid color-mix(in srgb, var(--c, #f2b844) 50%, transparent);
  animation: ctx-open .45s var(--up-ease, ease);
}
@keyframes ctx-open { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ctx-mini { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #050404; border: 1px solid rgba(255,255,255,.08); }
.ctx-mini svg { width: 100%; height: 100%; display: block; }
.ctx-mini .ctx-spot { fill: color-mix(in srgb, var(--c, #f2b844) 35%, transparent); stroke: var(--c, #f2b844); stroke-width: .8; animation: ctx-spot 2.4s ease-in-out infinite; }
@keyframes ctx-spot { 50% { fill-opacity: .25; } }
.ctx-info-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ctx-info-top small { font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--c, #f2b844); }
.ctx-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #142000; background: #bee61f; padding: 2px 10px; border-radius: 999px; }
.ctx-mapname { display: block; margin: 4px 0 6px; font-family: var(--up-display); font-size: 30px; color: #fff0d0; }
.ctx-info p { margin: 0 0 10px; color: #d4c9b7; }
.ctx-req { color: #ffb38a !important; font-weight: 700; }
.ctx-mobs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ctx-mobs li { padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.ctx-mobs li em { font-style: normal; color: #b9ad98; margin-left: 4px; }
.ctx-mobs li.is-fit { border-color: #ffd27a; background: rgba(255, 210, 122, .12); }
.ctx-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ctx-cmd {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  background: #0f0c0a; border: 1px dashed rgba(242,184,68,.55); color: #ffe2a0; font-weight: 700;
}
.ctx-cmd code { color: inherit; background: none; font-size: 14px; }
.ctx-cmd.is-ok { border-style: solid; border-color: #bee61f; color: #d9f58a; }
.ctx-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; color: #ffd27a !important; }
.ctx-close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: #ddd; cursor: pointer; }
.ctx-close:hover { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 760px) {
  .ctx { padding: 20px 16px; }
  .ctx-panel { grid-template-columns: 1fr; }
  .ctx-mini { max-width: 300px; }
}

/* ======================= 3. CARTA DO HERÓI ======================= */
.ucx { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin: 10px 0 30px; }
.ucx-scene { perspective: 1000px; flex: none; }
.ucx-card {
  --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%;
  position: relative; width: 300px; height: 430px; border-radius: 18px; overflow: hidden;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .15s ease-out;
  background:
    radial-gradient(120% 70% at 50% 25%, color-mix(in srgb, var(--cc) 55%, #120c08) 0%, #120c08 70%);
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px #2b1a0b, 0 0 0 5px #c9932e, 0 0 0 7px #2b1a0b, 0 30px 60px rgba(0,0,0,.65), 0 0 50px color-mix(in srgb, var(--cc) 35%, transparent);
}
.ucx-card.is-leg { box-shadow: 0 0 0 2px #2b1a0b, 0 0 0 5px #ffd56a, 0 0 0 7px #2b1a0b, 0 30px 60px rgba(0,0,0,.65), 0 0 70px rgba(255, 200, 80, .55); }
.ucx-card.is-epic { box-shadow: 0 0 0 2px #2b1a0b, 0 0 0 5px #c18bff, 0 0 0 7px #2b1a0b, 0 30px 60px rgba(0,0,0,.65), 0 0 60px rgba(180, 120, 255, .45); }
.ucx-art { position: absolute; inset: 0 0 150px; display: flex; align-items: flex-end; justify-content: center; transform: translateZ(30px); }
.ucx-art img { width: 120%; height: 120%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 20px rgba(0,0,0,.7)); }
.ucx-lv {
  position: absolute; left: 14px; top: 14px; width: 62px; height: 62px; border-radius: 50%; transform: translateZ(50px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff1c4, #f2b844 45%, #8a4f12); color: #2a1704;
  box-shadow: 0 0 0 3px #2b1a0b, 0 6px 16px rgba(0,0,0,.6);
}
.ucx-lv small { font-size: 10px; font-weight: 900; line-height: 1; }
.ucx-lv b { font-family: var(--up-display); font-size: 24px; line-height: 1; }
.ucx-rar {
  position: absolute; right: 14px; top: 16px; transform: translateZ(40px);
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0,0,0,.6); color: #ffe2a0; border: 1px solid rgba(255, 226, 160, .5);
}
.ucx-on { position: absolute; right: 14px; top: 48px; transform: translateZ(40px); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #d9f58a; }
.ucx-on i { width: 8px; height: 8px; border-radius: 50%; background: #bee61f; box-shadow: 0 0 8px #bee61f; }
.ucx-plate {
  position: absolute; left: 14px; right: 14px; bottom: 120px; transform: translateZ(40px); text-align: center;
  padding: 8px 10px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(30, 20, 12, .95), rgba(14, 10, 7, .95));
  border: 1px solid #c9932e; box-shadow: 0 8px 20px rgba(0,0,0,.6);
}
.ucx-name { display: block; font-family: var(--up-display); font-size: 22px; color: #fff0cc; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucx-class { display: block; font-size: 12px; color: #d9c9a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucx-stats {
  position: absolute; left: 14px; right: 14px; bottom: 32px; margin: 0; transform: translateZ(25px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px;
}
.ucx-stats div { padding: 5px 8px; border-radius: 8px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.07); }
.ucx-stats dt { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #b9ad98; }
.ucx-stats dd { margin: 0; font-weight: 800; font-size: 15px; color: #fff3da; }
.ucx-stats dd em { font-style: normal; font-size: 11px; color: #ffd27a; }
.ucx-titles { position: absolute; left: 14px; top: 86px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; transform: translateZ(45px); }
.ucx-titles li { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); border: 1px solid rgba(255, 210, 122, .6); color: #ffd27a; }
.ucx-logo { position: absolute; left: 50%; bottom: 8px; height: 20px; width: auto; transform: translateX(-50%) translateZ(20px); opacity: .9; }
.ucx-foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .45;
  background:
    repeating-linear-gradient(115deg, rgba(255, 0, 120, .0) 0%, rgba(255, 0, 120, .25) 6%, rgba(0, 255, 200, .25) 12%, rgba(120, 80, 255, .25) 18%, rgba(255, 220, 0, .25) 24%, rgba(255, 0, 120, 0) 30%);
  background-size: 200% 200%; background-position: var(--px) var(--py);
  transition: opacity .3s;
}
.ucx-card.is-common .ucx-foil { opacity: .18; }
.ucx-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--px) var(--py), rgba(255,255,255,.35), transparent 40%);
  mix-blend-mode: overlay;
}
.ucx-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ucx-kicker { font-family: var(--up-display); font-size: 26px; font-weight: 700; color: #f6e2b0; }
.ucx-side p { margin: 0; color: #d4c9b7; }
.ucx-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ucx-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.05); color: #f3e6c8; border: 1px solid rgba(242,184,68,.45); font-weight: 800; white-space: nowrap;
  transition: transform .2s, filter .2s;
}
.ucx-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.ucx-btn-gold { background: linear-gradient(180deg, #ffe08a, #f2b844 55%, #c9781f); color: #1e1206; border-color: #6b3d0e; }
.ucx-note { color: #bee61f; min-height: 18px; }
@media (max-width: 560px) { .ucx { justify-content: center; } .ucx-side { text-align: center; } .ucx-btns { justify-content: center; } }

/* ==================== 4. RANKING AO VIVO ==================== */
.up-rank-up { animation: up-rank-up 1.4s var(--up-ease, ease); }
@keyframes up-rank-up {
  0% { background: rgba(190, 230, 31, .35); box-shadow: 0 0 0 2px #bee61f inset; }
  100% { background: transparent; box-shadow: none; }
}
.up-rank-arrow { display: inline-block; margin-left: 6px; color: #bee61f; font-weight: 900; animation: up-arrow 1s ease-in-out 3; }
@keyframes up-arrow { 50% { transform: translateY(-4px); } }

/* ================ 5. FUNDADORES: COMEMORAÇÃO ================ */
.up-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 10002; }
.prx.up-party .prx-fill { animation: up-fire 1.2s ease-in-out 3; }
@keyframes up-fire { 50% { filter: brightness(1.6) drop-shadow(0 0 16px #ff8a2b); } }
.prx-card.up-unbox { animation: up-unbox 1.2s var(--up-ease, ease) both; }
@keyframes up-unbox {
  0% { transform: perspective(600px) rotateY(90deg) scale(.8); opacity: 0; }
  60% { transform: perspective(600px) rotateY(-12deg) scale(1.08); opacity: 1; box-shadow: 0 0 60px rgba(255, 200, 80, .8); }
  100% { transform: none; }
}
.up-milestone {
  position: fixed; left: 50%; top: 22%; z-index: 10003; transform: translate(-50%, -20px) scale(.9); opacity: 0;
  padding: 18px 26px; border-radius: 16px; text-align: center; pointer-events: none;
  background: linear-gradient(180deg, rgba(40, 28, 14, .96), rgba(16, 11, 7, .96)); border: 2px solid #f2b844;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(255, 180, 60, .5);
  transition: opacity .5s, transform .6s var(--up-ease, ease);
}
.up-milestone.up-show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.up-milestone small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #ffd27a; }
.up-milestone b { display: block; font-family: var(--up-display); font-size: 28px; color: #fff3da; }

/* =================== 6. EASTER EGG: DRAGÃO =================== */
.up-dragon { position: fixed; left: 0; top: 0; z-index: 10004; width: 560px; height: auto; pointer-events: none; filter: drop-shadow(0 0 14px rgba(255, 120, 40, .7)) drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.up-dragon-fire { position: fixed; inset: 0; pointer-events: none; z-index: 10003; }
.up-egg {
  position: fixed; inset: 0; z-index: 10005; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(5, 3, 2, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: ctx-open .4s ease;
}
.up-egg-box {
  position: relative; max-width: 420px; width: 100%; padding: 28px 24px 24px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #2a1c10, #120c08); border: 2px solid #f2b844; color: #f3e6c8;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 80px rgba(255, 120, 40, .45);
}
.up-egg-box h3 { margin: 6px 0 8px; font-family: var(--up-display); font-size: 28px; color: #ffe2a0; }
.up-egg-box p { margin: 0 0 14px; color: #d8ccb8; }
.up-egg-code { display: inline-block; padding: 10px 18px; border-radius: 10px; font-family: monospace; font-size: 22px; font-weight: 900; letter-spacing: 3px; background: #0b0806; color: #bee61f; border: 1px dashed #bee61f; }
.up-egg-x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: #ddd; font-size: 22px; cursor: pointer; }


.up-dragon svg { display: block; width: 100%; height: auto; }
