/* ==========================================================================
   Poke Destiny - layout futurista
   Paleta: espaco escuro + neon ciano, vermelho pokebola, amarelo eletrico
   ========================================================================== */

:root {
  --bg: #060a16;
  --bg-2: #0a1024;
  --panel: rgba(14, 22, 46, 0.72);
  --panel-solid: #0e1630;
  --panel-2: rgba(22, 34, 68, 0.6);
  --line: rgba(110, 170, 255, 0.14);
  --line-strong: rgba(53, 224, 255, 0.35);
  --text: #e7ecff;
  --muted: #8f9bc2;
  --cyan: #35e0ff;
  --cyan-2: #00a8ff;
  --red: #ff3b5c;
  --red-2: #d61f43;
  --yellow: #ffd23f;
  --green: #3ddc97;
  --violet: #8b5cff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px var(--line-strong), 0 0 24px rgba(53, 224, 255, 0.18);
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-head: "Rajdhani", "Segoe UI", sans-serif;
  --font-brand: "Orbitron", "Rajdhani", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- fundo animado ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(0, 168, 255, 0.22), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, rgba(255, 59, 92, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(139, 92, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  animation: grid-move 22s linear infinite;
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
}
@keyframes grid-move { to { background-position: 0 48px, 48px 0; } }

/* ---------- tipografia ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: #fff;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

.content h1 {
  position: relative;
  padding-bottom: 0.45em;
  margin-bottom: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  box-shadow: 0 0 12px rgba(53, 224, 255, 0.5);
}

p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
b, strong { color: #fff; }
hr, .bighr {
  border: 0;
  height: 1px;
  margin: 1.4em 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
img { max-width: 100%; }
::selection { background: rgba(53, 224, 255, 0.35); color: #fff; }
font[color="red"], font[color="#FF0000"] { color: #ff6b84 !important; }
font[color="green"] { color: var(--green) !important; }
font[color="orange"] { color: var(--yellow) !important; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--red), transparent);
  opacity: .55;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand picture { display: block; line-height: 0; }
.brand-logo { display: block; height: 48px; width: auto; transition: transform .2s ease, filter .2s ease; }
.brand:hover .brand-logo { transform: scale(1.04); filter: drop-shadow(0 0 12px rgba(53, 224, 255, .35)); }
.brand-text em { font-style: normal; color: var(--cyan); text-shadow: 0 0 14px rgba(53, 224, 255, .6); }

/* pokebola em CSS (generica, sem arte oficial) */
.ball {
  --s: 34px;
  position: relative;
  width: var(--s);
  height: var(--s);
  flex: 0 0 var(--s);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 46%, #0b1022 46% 54%, #dfe8ff 54% 100%);
  box-shadow: 0 0 0 2px #0b1022, 0 0 18px rgba(255, 59, 92, .45);
}
.ball::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 34%; height: 34%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #dfe8ff;
  box-shadow: 0 0 0 3px #0b1022, 0 0 10px var(--cyan);
}
.brand:hover .ball { animation: wobble .6s ease; }
@keyframes wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg); }
  60% { transform: rotate(10deg); }
}

/* menu */
.mainnav { flex: 1; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.menu > li > a:hover,
.menu > li:focus-within > a,
.menu > li.active > a { color: #fff; background: rgba(53, 224, 255, .08); }
.menu > li.active > a { box-shadow: inset 0 -2px 0 var(--cyan); }
.menu .caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}
.menu li ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: rgba(10, 16, 36, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}
.menu li:hover > ul, .menu li:focus-within > ul, .menu li.open > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu li ul a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
}
.menu li ul a:hover { background: rgba(53, 224, 255, .1); color: var(--cyan); }

.topbar-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}

/* ---------- botoes ---------- */
.btn, input[type="submit"], input[type="button"], button[type="submit"], .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(53, 224, 255, .18), rgba(0, 168, 255, .08));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s;
  text-decoration: none;
}
.btn:hover, input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover, .button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(53, 224, 255, .35);
  background: linear-gradient(180deg, rgba(53, 224, 255, .3), rgba(0, 168, 255, .14));
}
.btn:active, input[type="submit"]:active { transform: translateY(0); }

.btn-primary, .btn-red {
  border-color: rgba(255, 59, 92, .6);
  background: linear-gradient(180deg, var(--red), var(--red-2));
  box-shadow: 0 8px 24px rgba(255, 59, 92, .28);
}
.btn-primary:hover, .btn-red:hover {
  background: linear-gradient(180deg, #ff5573, var(--red));
  box-shadow: 0 0 26px rgba(255, 59, 92, .5);
}
.btn-success { border-color: rgba(61, 220, 151, .55); background: linear-gradient(180deg, rgba(61, 220, 151, .3), rgba(61, 220, 151, .12)); }
.btn-success:hover { background: linear-gradient(180deg, rgba(61, 220, 151, .45), rgba(61, 220, 151, .2)); box-shadow: 0 0 22px rgba(61, 220, 151, .35); }
.btn-danger { border-color: rgba(255, 59, 92, .55); background: linear-gradient(180deg, rgba(255, 59, 92, .3), rgba(255, 59, 92, .12)); }
.btn-danger:hover { box-shadow: 0 0 22px rgba(255, 59, 92, .4); background: linear-gradient(180deg, rgba(255, 59, 92, .45), rgba(255, 59, 92, .2)); }
.btn-warning { border-color: rgba(255, 210, 63, .55); background: linear-gradient(180deg, rgba(255, 210, 63, .28), rgba(255, 210, 63, .1)); }
.btn-warning:hover { box-shadow: 0 0 22px rgba(255, 210, 63, .35); background: linear-gradient(180deg, rgba(255, 210, 63, .42), rgba(255, 210, 63, .18)); }
.btn-info { border-color: var(--line-strong); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(53, 224, 255, .08); }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; border-radius: 12px; }

/* ---------- formularios ---------- */
input[type="text"], input[type="password"], input[type="email"], input[type="number"],
input[type="search"], input[type="url"], input:not([type]), select, textarea, .form-control {
  width: 100%;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 20, .65);
  color: var(--text);
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
select { width: auto; min-width: 160px; cursor: pointer; }
select option { background: var(--panel-solid); color: var(--text); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, .form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 224, 255, .18);
}
input::placeholder, textarea::placeholder { color: #5f6b90; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cyan); width: 16px; height: 16px; }
label { color: var(--muted); }

.content form ul, #login { list-style: none; padding: 0; margin: 0; }
.content form ul li { margin-bottom: 14px; color: var(--muted); }
.content form ul li input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.content form ul li select { margin-top: 6px; }
.content form ul li input[type="text"], .content form ul li input[type="password"],
.content form ul li input[type="email"] { max-width: 420px; display: block; }
.content form ul li select { display: block; }

/* ---------- layout principal ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  padding: 32px 0 56px;
}

.panel, .content {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.content { padding: 30px 32px; min-width: 0; overflow-x: auto; }
.content::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .7;
}

/* ---------- sidebar ---------- */
.sidebar-col { display: flex; flex-direction: column; gap: 18px; }
.sidebar {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sidebar h2, .sidebar h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
}
.sidebar h2::before, .sidebar h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar .inner ul li { margin-bottom: 8px; }
.sidebar .side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, .02);
  border: 1px solid transparent;
}
.sidebar .side-links a::after { content: "›"; color: var(--muted); font-size: 1.2em; line-height: 1; }
.sidebar .side-links a:hover { border-color: var(--line-strong); background: rgba(53, 224, 255, .07); color: var(--cyan); }
.sidebar input[type="submit"] { width: 100%; margin-top: 4px; }
.sidebar .form-row { margin-bottom: 12px; }
.sidebar .form-row label { display: block; font-size: .85rem; margin-bottom: 5px; }
.side-extra { display: flex; justify-content: space-between; margin-top: 14px; font-size: .9rem; }
.side-search { position: relative; }
.side-search input { padding-left: 38px; }
.side-search::before {
  content: "";
  position: absolute;
  left: 13px; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-60%);
  border: 2px solid var(--muted);
  border-radius: 50%;
}
.side-search::after {
  content: "";
  position: absolute;
  left: 24px; top: 58%;
  width: 6px; height: 2px;
  background: var(--muted);
  transform: rotate(45deg);
}

/* status */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid;
}
.status-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.status-pill.on { color: var(--green); border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .08); }
.status-pill.on::before { animation: pulse 1.8s infinite; }
.status-pill.off { color: #ff6b84; border-color: rgba(255, 59, 92, .4); background: rgba(255, 59, 92, .08); }
@keyframes pulse { 50% { opacity: .35; } }

.stat-list { display: grid; gap: 8px; margin-top: 14px; }
.stat-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
}
.stat-list li b { color: #fff; font-family: var(--font-head); font-size: 1.05rem; }

/* ranking lateral */
.rank-list { counter-reset: rank; display: grid; gap: 6px; }
.rank-list li {
  counter-increment: rank;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .02);
}
.rank-list li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  background: rgba(53, 224, 255, .1);
  color: var(--cyan);
}
.rank-list li:nth-child(1)::before { background: rgba(255, 210, 63, .18); color: var(--yellow); box-shadow: 0 0 12px rgba(255, 210, 63, .3); }
.rank-list li:nth-child(2)::before { background: rgba(200, 215, 255, .15); color: #dbe4ff; }
.rank-list li:nth-child(3)::before { background: rgba(255, 140, 80, .16); color: #ffa36b; }
.rank-list a { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list a:hover { color: var(--cyan); }
.rank-list .lvl { font-family: var(--font-head); font-weight: 700; color: var(--muted); font-size: .9rem; }
.empty-note { color: var(--muted); font-size: .9rem; }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: 64px 0 24px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(53, 224, 255, .06);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
}
.hero h1 {
  margin: 18px 0 16px;
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero h1.hero-logo { margin: 14px 0 10px; line-height: 0; }
.hero-logo img { display: block; width: 100%; max-width: 560px; height: auto; margin-left: -8px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan), #9cf3ff 40%, var(--yellow));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(53, 224, 255, .35));
}
.hero p.lead { max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
/* emblema animado */
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.ring.r1 { animation: spin 26s linear infinite; border-style: dashed; border-color: rgba(53, 224, 255, .35); }
.ring.r2 { inset: 9%; border-width: 2px; border-color: transparent; border-top-color: var(--cyan); border-right-color: rgba(53, 224, 255, .25); animation: spin 7s linear infinite; filter: drop-shadow(0 0 8px var(--cyan)); }
.ring.r3 { inset: 18%; border-color: transparent; border-bottom-color: var(--red); border-left-color: rgba(255, 59, 92, .3); border-width: 2px; animation: spin 11s linear infinite reverse; filter: drop-shadow(0 0 8px var(--red)); }
.ring.r1::before, .ring.r1::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px var(--yellow);
  top: 50%; left: -5px;
}
.ring.r1::after { left: auto; right: -5px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.hero-ball {
  --s: 44%;
  position: absolute;
  top: 50%; left: 50%;
  width: var(--s); height: var(--s);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .55), transparent 22%),
    linear-gradient(180deg, var(--red) 0 46%, #070b18 46% 54%, #e4ecff 54% 100%);
  box-shadow: 0 0 0 4px #070b18, 0 0 60px rgba(255, 59, 92, .35), 0 0 120px rgba(53, 224, 255, .18), inset 0 -18px 30px rgba(0, 0, 0, .25);
  animation: float 5s ease-in-out infinite;
}
.hero-ball::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 30%; height: 30%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 35%, #cfe0ff 36% 100%);
  box-shadow: 0 0 0 6px #070b18, 0 0 26px var(--cyan), 0 0 60px rgba(53, 224, 255, .6);
  animation: core 2.4s ease-in-out infinite;
}
.hero-art .scan {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%);
          mask-image: radial-gradient(circle, #000 60%, transparent 71%);
}
.hero-art .scan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0 300deg, rgba(53, 224, 255, .35) 360deg);
  animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translate(-50%, -54%); } }
@keyframes core { 50% { box-shadow: 0 0 0 6px #070b18, 0 0 14px var(--cyan), 0 0 30px rgba(53, 224, 255, .4); } }

/* herói ocupando a primeira tela; recursos numa secao abaixo */
.hero-full {
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - 68px), 980px);
  min-height: min(calc(100svh - 68px), 980px);
  padding: 40px 0 90px;
}
.hero-full > .wrap { width: min(100% - 32px, var(--wrap)); }
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  opacity: .8;
  transition: opacity .2s, border-color .2s;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
.scroll-hint:hover { opacity: 1; border-color: var(--cyan); }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.dex-section { padding: 56px 0 8px; scroll-margin-top: 68px; }
.dex-section-head { text-align: center; margin-bottom: 28px; }
.dex-section-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dex-section-head h2 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 14px rgba(53, 224, 255, .5); }
.dex-section .dex-cards { margin-top: 0; }

/* painel de status estilo Pokedex */
.dex-hud {
  --on: var(--green);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  max-width: 600px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 30, 62, .85), rgba(10, 16, 36, .85));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.dex-hud.is-off { --on: #ff6b84; }
.dex-hud::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-2) 40%, transparent);
  box-shadow: 0 0 18px rgba(255, 59, 92, .55);
}
.dex-lens {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 20px 18px 16px 20px;
  background: linear-gradient(180deg, rgba(255, 59, 92, .16), transparent 70%);
  border-right: 1px solid var(--line);
}
.dex-lens .lens {
  position: relative;
  width: 50px; height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c8f7ff 0 12%, var(--cyan) 24%, #0077c8 62%, #003a6b 100%);
  box-shadow: 0 0 0 4px #e9eefc, 0 0 0 6px #0b1022, 0 0 24px rgba(53, 224, 255, .65);
  animation: lens 3s ease-in-out infinite;
}
.dex-hud.is-off .lens { filter: grayscale(.7) brightness(.6); animation: none; }
@keyframes lens { 50% { box-shadow: 0 0 0 4px #e9eefc, 0 0 0 6px #0b1022, 0 0 10px rgba(53, 224, 255, .35); } }
.dex-lens .led {
  width: 11px; height: 11px;
  margin-top: 2px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0b1022;
  opacity: .35;
}
.dex-lens .led.r { background: #ff4b6b; }
.dex-lens .led.y { background: var(--yellow); }
.dex-lens .led.g { background: var(--green); }
.dex-hud.is-on .led.g { opacity: 1; box-shadow: 0 0 0 2px #0b1022, 0 0 10px var(--green); animation: blink 2.2s infinite; }
.dex-hud.is-off .led.r { opacity: 1; box-shadow: 0 0 0 2px #0b1022, 0 0 10px #ff4b6b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .45; } }

.dex-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 16px 20px;
  min-width: 0;
  color: var(--text);
}
.dex-cell + .dex-cell { border-left: 1px solid var(--line); }
.dex-label { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.dex-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dex-value .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--on); box-shadow: 0 0 12px var(--on); }
.dex-hud.is-on .dex-value .dot { animation: pulse 1.8s infinite; }
.dex-value b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: #fff; }
.dex-sub { color: var(--muted); font-size: .82rem; }
.dex-link { transition: background .2s; }
.dex-link:hover { color: var(--text); background: rgba(53, 224, 255, .06); }
.dex-link:hover .dex-sub { color: var(--cyan); }
.mini-ball {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 45%, #0b1022 45% 55%, #e4ecff 55%);
  box-shadow: 0 0 0 2px #0b1022;
  position: relative;
}
.mini-ball::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: #e4ecff; box-shadow: 0 0 0 2px #0b1022; }
.dex-link:hover .mini-ball { animation: wobble .6s ease; }

/* fichas de recursos estilo Pokedex */
.dex-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}
.dex-card {
  --c: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(18, 28, 58, .85), rgba(10, 16, 36, .85));
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.dex-card::before {
  /* brilho holografico */
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .12) 47%, color-mix(in srgb, var(--c) 25%, transparent) 50%, rgba(255, 255, 255, .08) 53%, transparent 60%);
  transform: translateX(-60%);
  transition: transform .7s ease;
  z-index: -1;
  pointer-events: none;
}
.dex-card::after {
  /* pokebola marca d'agua */
  content: "";
  position: absolute;
  right: -34px; bottom: -34px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(180deg, transparent 46%, color-mix(in srgb, var(--c) 30%, transparent) 46% 54%, transparent 54%);
  opacity: .6;
  z-index: -1;
  transition: transform .5s ease;
}
.dex-card:hover {
  color: var(--text);
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4), 0 0 30px color-mix(in srgb, var(--c) 22%, transparent);
}
.dex-card:hover::before { transform: translateX(60%); }
.dex-card:hover::after { transform: rotate(160deg); }
.dex-card.t-water { --c: #35e0ff; }
.dex-card.t-fire { --c: #ff7a3d; }
.dex-card.t-grass { --c: #3ddc97; }
.dex-card.t-electric { --c: #ffd23f; }

.dex-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dex-no { font-family: var(--font-brand); font-weight: 700; font-size: .78rem; letter-spacing: .14em; color: var(--muted); }
.type-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c);
  color: #0a0f20;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent);
}
.dex-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--c);
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  border: 2px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: inset 0 0 14px color-mix(in srgb, var(--c) 25%, transparent);
}
.dex-icon svg { width: 26px; height: 26px; }
.dex-card h3 { font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.dex-card p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.dex-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dex-go i { font-style: normal; transition: transform .2s; }
.dex-card:hover .dex-go i { transform: translateX(5px); }

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }

/* ---------- tabelas (todas as paginas antigas) ---------- */
.content table {
  width: 100% !important;
  margin: 0 0 22px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 8, 20, .35);
  font-size: .95rem;
}
.content table td, .content table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  background: transparent !important;
  color: var(--text);
}
.content table tr:last-child td { border-bottom: 0; }
.content table th,
.content table tr.yellow td,
.content table tr.yellow th,
.content table thead td {
  background: linear-gradient(90deg, rgba(0, 168, 255, .22), rgba(139, 92, 255, .14)) !important;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}
.content table tr.yellow a { color: var(--yellow); }
.content table tr:not(.yellow):hover td { background: rgba(53, 224, 255, .05) !important; }
.content table.table-striped tr:not(.yellow):nth-child(even) td { background: rgba(255, 255, 255, .02) !important; }
.content table table { margin: 0; border: 0; background: none; }
.content table img { vertical-align: middle; }
.outfitColumn img { width: 48px; height: 48px; object-fit: contain; }

/* noticias */
.content table#news { background: var(--panel-2); }
.content table#news td.zheadline { text-transform: none; letter-spacing: .02em; font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.content table#news td.zheadline b { display: block; margin-top: 2px; font-family: var(--font-head); font-size: 1.35rem; color: #fff; letter-spacing: .03em; }
.content table#news td p { margin: 6px 0; line-height: 1.75; }
.youtube .aspectratio { position: relative; padding-top: 56.25%; }
.youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; }

/* ---------- central de noticias ---------- */
.newsroom { --k: var(--cyan); }
.k-update  { --k: #35e0ff; }
.k-event   { --k: #ffb03f; }
.k-client  { --k: #a07bff; }
.k-map     { --k: #3ddc97; }
.k-launch  { --k: #ff3b5c; }
.k-fix     { --k: #ff7a8f; }

.nhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.nhead h2 {
  margin: 8px 0 0;
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nlive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nlive i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 59, 92, .6);
  animation: ping 1.6s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }
.ncount { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.ncount b { font-family: var(--font-brand); font-size: 1.3rem; color: #fff; margin-right: 4px; }

/* tags */
.ntags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ntag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.ntag[class*="k-"] {
  color: var(--k);
  border-color: color-mix(in srgb, var(--k) 45%, transparent);
  background: color-mix(in srgb, var(--k) 12%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--k) 18%, transparent);
}
.ntag-new { color: #0a0f20; background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 16px rgba(255, 210, 63, .45); }

/* capa gerada (+ imagem da noticia por cima, se existir) */
.ncover {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 85% 15%, color-mix(in srgb, var(--k) 38%, transparent), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(139, 92, 255, .28), transparent 60%),
    linear-gradient(135deg, #0d1734, #070b18);
  isolation: isolate;
}
.ncover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--k) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--k) 14%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
          mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
  z-index: -1;
}
.ncover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--k), transparent);
  box-shadow: 0 0 14px var(--k);
}
.ncover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.ncover-art { position: absolute; inset: 0; }
.ncover-ball {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-18deg);
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--k) 55%, transparent);
  background: linear-gradient(180deg, transparent 47%, color-mix(in srgb, var(--k) 55%, transparent) 47% 53%, transparent 53%);
  opacity: .55;
  transition: transform .5s ease;
}
.ncover-ball::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 28%; height: 28%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--k);
  background: #070b18;
  box-shadow: 0 0 22px var(--k);
}
.ncover-id {
  position: absolute;
  left: 18px; top: 14px;
  font-family: var(--font-brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: color-mix(in srgb, var(--k) 80%, #fff);
  opacity: .8;
}
.ncover-label {
  position: absolute;
  left: 18px; bottom: 14px;
  max-width: 60%;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--k) 70%, transparent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* destaque */
.nfeature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 34, 68, .55), rgba(10, 16, 36, .4));
  color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.nfeature:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 30px rgba(53, 224, 255, .08); }
.nfeature .ncover { aspect-ratio: auto; min-height: 240px; height: 100%; }
.nfeature-body { display: flex; flex-direction: column; padding: 8px 10px 8px 0; }
.nfeature h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; }
.nfeature p { color: var(--muted); margin-bottom: 16px; }
.nfeature .nmore { margin-top: auto; }

/* grade */
.ngrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ncard {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 22, 46, .55);
  color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ncard:hover { color: var(--text); transform: translateY(-3px); border-color: color-mix(in srgb, var(--k) 45%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, .35), 0 0 24px color-mix(in srgb, var(--k) 12%, transparent); }
.ncard:hover .ncover-ball, .nfeature:hover .ncover-ball { transform: translateY(-50%) rotate(20deg); }
.ncard .ncover { aspect-ratio: 16 / 7; }
.ncard-body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.ncard h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 8px; }
.ncard p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.ncard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: .85rem;
}
.ncard .ntags .ntag:nth-child(n+3) { display: none; }

.nmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
}
.nmore i { font-style: normal; transition: transform .2s; }
a:hover .nmore i { transform: translateX(4px); }

/* meta */
.nmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.nauthor { display: inline-flex; align-items: center; gap: 8px; }
.nauthor a { color: var(--text); font-weight: 600; }
.navatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--violet));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .75rem;
  box-shadow: 0 0 0 2px #0a1024, 0 0 0 3px var(--line-strong);
}
.ndot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* paginacao */
.npager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.npg {
  display: grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.npg:hover { color: #fff; border-color: var(--line-strong); background: rgba(53, 224, 255, .07); }
.npg.on { color: #0a0f20; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(53, 224, 255, .45); }

/* leitura */
.nback {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
}
.nback:hover { color: var(--cyan); }
.narticle .ncover { aspect-ratio: 16 / 6; }
.narticle-head { padding: 26px 4px 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.content .narticle-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-transform: none; letter-spacing: .01em; padding-bottom: 0; margin-bottom: 14px; }
.content .narticle-head h1::after { display: none; }
.nbody { font-size: 1.05rem; line-height: 1.85; color: #d5ddf7; max-width: 72ch; }
.nbody img { display: block; max-width: 100%; height: auto; margin: 18px 0; border-radius: 12px; border: 1px solid var(--line); }
.nbody ul, .nbody ol { padding-left: 1.3em; }
.nbody li { margin-bottom: 6px; }
.nbody li::marker { color: var(--cyan); }
.nbody b, .nbody strong { color: #fff; }
.nsiblings { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.nsib {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.nsib span { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.nsib.next { text-align: right; }
.nsib:hover { color: #fff; border-color: var(--line-strong); }

.nempty { text-align: center; padding: 50px 20px; color: var(--muted); }
.nempty .ball { --s: 56px; display: inline-block; margin-bottom: 16px; opacity: .8; }

@media (max-width: 760px) {
  .nfeature { grid-template-columns: minmax(0, 1fr); }
  .nfeature .ncover { min-height: 0; aspect-ratio: 16 / 8; }
  .nfeature-body { padding: 4px 6px 8px; }
  .ngrid { grid-template-columns: minmax(0, 1fr); }
  .nsiblings { grid-template-columns: 1fr; }
  .nhead { flex-direction: column; align-items: flex-start; }
}

/* ---------- pagina de download ---------- */
.dlpage code {
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(53, 224, 255, .07);
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .86em;
  white-space: nowrap;
}
.dl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}
.content .dl-hero h1 {
  margin: 14px 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  text-transform: none;
  letter-spacing: .02em;
  padding: 0;
}
.content .dl-hero h1::after { display: none; }
.dl-hero-text p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.dl-card {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(53, 224, 255, .14), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(255, 59, 92, .12), transparent 60%),
    rgba(10, 16, 36, .7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 40px rgba(53, 224, 255, .08);
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--red), transparent);
}
.dl-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.dl-card-top .status-pill { margin-left: auto; font-size: .72rem; padding: 5px 10px; }
.dl-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(53, 224, 255, .22), rgba(0, 168, 255, .06));
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(53, 224, 255, .2);
}
.dl-icon svg { width: 26px; height: 26px; }
.dl-title { display: flex; flex-direction: column; }
.dl-title b { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .03em; }
.dl-title span { color: var(--muted); font-size: .88rem; }

.dl-btn { width: 100%; padding: 16px 22px; font-size: 1.15rem; }
.dl-btn svg { width: 22px; height: 22px; }
.dl-btn small {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .25);
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.dl-missing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 210, 63, .45);
  background: rgba(255, 210, 63, .06);
  color: var(--muted);
}
.dl-missing b { color: var(--yellow); font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; }
.dl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.dl-facts li {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  min-width: 0;
}
.dl-facts span { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.dl-facts b { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dl-section { margin-bottom: 38px; }

/* passos */
.dl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}
.dl-steps li {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 22, 46, .55);
  transition: border-color .2s, transform .2s;
}
.dl-steps li:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.dl-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  right: -15px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  z-index: 1;
}
.dl-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-family: var(--font-brand);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0 48%, #0b1022 48% 54%, #2a3660 54%);
  box-shadow: 0 0 0 2px #0b1022, 0 0 0 3px var(--line-strong), 0 0 16px rgba(255, 59, 92, .3);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.dl-steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.dl-steps p { color: var(--muted); font-size: .9rem; margin: 0; }

/* requisitos */
.dl-reqs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dl-req {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.dl-req span { display: block; color: var(--cyan); font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.dl-req b { font-size: .92rem; font-weight: 600; }

/* faq */
.dl-faq { display: grid; gap: 10px; }
.dl-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 22, 46, .5);
  transition: border-color .2s;
}
.dl-faq details[open] { border-color: var(--line-strong); background: rgba(14, 22, 46, .75); }
.dl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #fff;
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 1.1rem;
  transition: transform .2s;
}
.dl-faq details[open] summary::after { transform: rotate(45deg); }
.dl-faq details > div { padding: 0 18px 16px; color: var(--muted); }
.dl-faq details > div p { margin-bottom: 12px; }
.txt-on { color: var(--green) !important; }
.txt-off { color: #ff6b84 !important; }

.dl-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 168, 255, .12), rgba(139, 92, 255, .1));
}
.dl-help h3 { margin-bottom: 4px; }
.dl-help p { margin: 0; color: var(--muted); }
.dl-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .dl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-steps li::after { display: none; }
  .dl-reqs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dl-hero { grid-template-columns: minmax(0, 1fr); }
  .dl-steps { grid-template-columns: minmax(0, 1fr); }
  .dl-reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- painel do treinador (myaccount) ---------- */
.content .acc-title {
  margin: 10px 0 12px;
  padding: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: none;
  letter-spacing: .02em;
}
.content .acc-title::after { display: none; }
.acc-muted { color: var(--muted); }

.acc-flash {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 16px 12px 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(53, 224, 255, .07);
  position: relative;
}
.acc-flash::before {
  content: "i";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-weight: 700;
  font-size: .8rem;
  background: var(--cyan);
  color: #0a0f20;
}
.acc-flash.ok { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .08); }
.acc-flash.ok::before { content: "✓"; background: var(--green); }
.acc-flash.err { border-color: rgba(255, 59, 92, .5); background: rgba(255, 59, 92, .08); }
.acc-flash.err::before { content: "!"; background: var(--red); color: #fff; }
.acc-flash.warn { border-color: rgba(255, 210, 63, .5); background: rgba(255, 210, 63, .07); }
.acc-flash.warn::before { content: "!"; background: var(--yellow); }
.acc-flash .btn { margin-left: auto; }

.acc-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 24px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 59, 92, .14), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(53, 224, 255, .14), transparent 60%),
    rgba(10, 16, 36, .7);
  overflow: hidden;
}
.acc-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--cyan), transparent);
}
.acc-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.acc-avatar {
  position: relative;
  width: 76px; height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 47%, #0b1022 47% 53%, #dfe8ff 53%);
  box-shadow: 0 0 0 3px #0b1022, 0 0 0 5px var(--line-strong), 0 0 30px rgba(255, 59, 92, .35);
}
.acc-avatar span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #0b1022;
  border: 3px solid #dfe8ff;
  color: var(--cyan);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 0 14px rgba(53, 224, 255, .5);
}
.acc-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-badge {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: .82rem;
}
.acc-badge.gold { color: #0a0f20; background: var(--yellow); border-color: var(--yellow); font-weight: 700; box-shadow: 0 0 14px rgba(255, 210, 63, .4); }
.acc-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.acc-stat {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 46, .55);
  overflow: hidden;
}
.acc-stat::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: .6;
}
.acc-stat span { display: block; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.acc-stat b { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; color: #fff; }
.acc-stat small { font-size: 1rem; color: var(--muted); margin-left: 2px; }

.acc-section { margin-bottom: 30px; }

.acc-chars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acc-char {
  --c: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 70% at 100% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%),
    rgba(14, 22, 46, .6);
  transition: border-color .2s, box-shadow .2s;
}
.acc-char:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 12%, transparent); }
.acc-char.is-online { border-color: rgba(61, 220, 151, .45); }
.acc-char.is-pending { opacity: .75; border-style: dashed; border-color: rgba(255, 59, 92, .5); }
.acc-char-head { display: flex; align-items: center; gap: 14px; padding: 16px 16px 12px; }
.acc-char-avatar {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex: 0 0 50px;
  border-radius: 14px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, #0b1022);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--c) 22%, transparent);
}
.acc-char-name { flex: 1; min-width: 0; }
.acc-char-name > a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acc-char-name > a:hover { color: var(--c); }
.acc-char-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.acc-char-tags .status-pill { font-size: .66rem; padding: 3px 9px; }
.acc-tag { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.acc-tag.danger { color: #ff6b84; border-color: rgba(255, 59, 92, .45); }
.acc-char-level {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: rgba(0, 0, 0, .2);
}
.acc-char-level span { font-size: .66rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.acc-char-level b { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; color: var(--c); }

.acc-char-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 16px 14px;
}
.acc-char-info > div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); min-width: 0; }
.acc-char-info dt { color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.acc-char-info dd { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.acc-char-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
}
.acc-char-actions form { margin: 0; }
.acc-act {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: 600 .82rem var(--font-body);
  cursor: pointer;
  list-style: none;
  transition: border-color .15s, color .15s, background .15s;
}
/* botoes de formulario herdam o estilo grande de submit: neutraliza */
.acc-char-actions button.acc-act {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: 600 .82rem var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  box-shadow: none;
  transform: none;
}
.acc-act:hover, .acc-char-actions button.acc-act:hover { color: var(--cyan); border-color: var(--line-strong); background: rgba(53, 224, 255, .07); box-shadow: none; transform: none; }
.acc-char-actions button.acc-act.danger { color: #ff6b84; }
.acc-char-actions button.acc-act.danger:hover { color: #fff; border-color: rgba(255, 59, 92, .6); background: rgba(255, 59, 92, .18); }
.acc-act.danger { color: #ff6b84; }
.acc-act.danger:hover { color: #fff; border-color: rgba(255, 59, 92, .6); background: rgba(255, 59, 92, .18); }
.acc-rename summary::-webkit-details-marker { display: none; }
.acc-rename[open] { flex-basis: 100%; order: 10; }
.acc-rename[open] summary { color: var(--cyan); border-color: var(--line-strong); }
.acc-rename form { display: flex; gap: 8px; margin-top: 8px !important; }
.acc-rename input[type="text"] { flex: 1; padding: 7px 11px; }
.acc-rename small { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }

.acc-new {
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  border-style: dashed;
  border-color: var(--line-strong);
  background: rgba(53, 224, 255, .03);
  color: var(--muted);
  text-align: center;
}
.acc-new .ball { --s: 46px; opacity: .85; transition: transform .3s; }
.acc-new b { color: #fff; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .04em; }
.acc-new:hover { color: var(--muted); background: rgba(53, 224, 255, .07); }
.acc-new:hover .ball { transform: rotate(-20deg) scale(1.08); }

.acc-security { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acc-sec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: rgba(14, 22, 46, .5);
  color: var(--text);
}
.acc-sec:hover { color: var(--text); border-color: var(--line-strong); border-left-color: var(--cyan); background: rgba(53, 224, 255, .06); }
.acc-sec b { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .03em; }
.acc-sec span { color: var(--muted); font-size: .86rem; }

.acc-panel { padding: 4px 0; }
.acc-form textarea { margin: 10px 0 14px; }
.acc-form-actions { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 760px) {
  .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-chars, .acc-security { grid-template-columns: minmax(0, 1fr); }
  .acc-id { align-items: flex-start; }
  .acc-avatar { width: 58px; height: 58px; flex-basis: 58px; }
}

/* ---------- criar personagem ---------- */
.cc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cc-head p { margin: 0; }
.cc-slots {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 46, .6);
  text-align: right;
}
.cc-slots b { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: #fff; }
.cc-slots span { color: var(--muted); font-family: var(--font-head); font-weight: 700; }
.cc-slots small { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.cc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.cc-field { margin-bottom: 24px; }
.cc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cc-step {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--font-brand);
  font-size: .78rem;
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0 48%, #0b1022 48% 54%, #2a3660 54%);
  box-shadow: 0 0 0 2px #0b1022, 0 0 0 3px var(--line-strong);
}
.cc-form input[type="text"] { font-size: 1.1rem; padding: 13px 16px; }

.cc-rules { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.cc-rules li { position: relative; padding-left: 22px; color: var(--muted); font-size: .86rem; transition: color .15s; }
.cc-rules li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}
.cc-rules li.ok { color: var(--green); }
.cc-rules li.ok::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 8px var(--green); }
.cc-rules li.bad { color: #ff6b84; }
.cc-rules li.bad::before { border-color: #ff6b84; }

.cc-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cc-towns { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.cc-choice { position: relative; cursor: pointer; color: var(--text); }
.cc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cc-choice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 46, .55);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.cc-choice-box svg { width: 26px; height: 26px; color: var(--muted); flex: 0 0 26px; }
.cc-choice-box b { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .03em; }
.cc-choice:hover .cc-choice-box { border-color: var(--line-strong); }
.cc-choice input:checked + .cc-choice-box {
  border-color: var(--cyan);
  background: rgba(53, 224, 255, .1);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 22px rgba(53, 224, 255, .2);
}
.cc-choice input:checked + .cc-choice-box svg { color: var(--cyan); }
.cc-choice input:focus-visible + .cc-choice-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cc-submit { width: 100%; margin-top: 4px; }

/* previa */
.cc-preview { position: sticky; top: 90px; }
.cc-preview-label { display: block; margin-bottom: 10px; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.cc-card {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 59, 92, .2), transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(53, 224, 255, .16), transparent 55%),
    linear-gradient(160deg, #111b3a, #080d1e);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(53, 224, 255, .1);
  overflow: hidden;
}
.cc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 224, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.cc-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cc-card-id { font-family: var(--font-brand); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.cc-card-top .ball { --s: 26px; }
.cc-card-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--cyan);
  background: radial-gradient(circle, rgba(53, 224, 255, .18), rgba(11, 16, 34, .9) 70%);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 5px rgba(53, 224, 255, .1), 0 0 30px rgba(53, 224, 255, .35);
}
.cc-card-name {
  position: relative;
  text-align: center;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 16px;
  min-height: 1.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc-card-info { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.cc-card-info > div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.cc-card-info dt { color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.cc-card-info dd { margin: 0; font-weight: 600; }
.cc-card-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.cc-card-bar span { position: absolute; inset: 0 96% 0 0; background: linear-gradient(90deg, var(--cyan), var(--yellow)); box-shadow: 0 0 10px var(--cyan); }
.cc-tip { margin: 14px 2px 0; color: var(--muted); font-size: .86rem; }

/* sucesso */
.cc-done { text-align: center; padding: 30px 10px 20px; }
.cc-done-ball { margin-bottom: 8px; }
.cc-done-ball .ball { --s: 74px; display: inline-block; animation: catch 1.4s ease-in-out 1; box-shadow: 0 0 0 3px #0b1022, 0 0 40px rgba(255, 59, 92, .5); }
@keyframes catch { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
.cc-done .acc-title { margin-top: 14px; }
.cc-done p { max-width: 460px; margin: 0 auto 22px; }
.cc-done-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .cc-grid { grid-template-columns: minmax(0, 1fr); }
  .cc-preview { position: static; order: -1; }
}
@media (max-width: 600px) {
  .cc-rules { grid-template-columns: minmax(0, 1fr); }
  .cc-head { flex-direction: column; align-items: flex-start; }
}

/* ===== trocar senha / configuracoes ===== */
.cp-lock {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 18px;
  color: var(--cyan);
  border: 1px solid rgba(53, 224, 255, .45);
  background: radial-gradient(circle at 50% 35%, rgba(53, 224, 255, .2), rgba(11, 16, 34, .9) 70%);
  box-shadow: 0 0 26px rgba(53, 224, 255, .22), inset 0 0 18px rgba(53, 224, 255, .1);
}
.cp-lock svg { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(53, 224, 255, .6)); }
.cp-lock.ok { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 24px; color: var(--green); border-color: rgba(52, 211, 153, .5); background: radial-gradient(circle at 50% 35%, rgba(52, 211, 153, .22), rgba(11, 16, 34, .9) 70%); box-shadow: 0 0 36px rgba(52, 211, 153, .3); }
.cp-lock.ok svg { width: 40px; height: 40px; filter: drop-shadow(0 0 8px rgba(52, 211, 153, .7)); }

.cc-form input[type="password"], .cc-form input[type="email"], .pw-wrap input[type="text"] { font-size: 1.05rem; padding: 13px 16px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px !important; }
.pw-eye {
  position: absolute;
  top: 50%; right: 8px;
  width: 38px; height: 38px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  box-shadow: none;
}
.pw-eye::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pw-eye.on::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}
.pw-eye:hover, .pw-eye.on { color: var(--cyan); background: rgba(53, 224, 255, .08); transform: translateY(-50%); }
.pw-eye:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

.pw-meter { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.pw-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-bars span { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); transition: background .2s, box-shadow .2s; }
.pw-label { min-width: 150px; text-align: right; color: var(--muted); font-size: .84rem; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pw-meter[data-level="1"] .pw-bars span:nth-child(-n+1) { background: #ff4d6d; box-shadow: 0 0 8px #ff4d6d; }
.pw-meter[data-level="2"] .pw-bars span:nth-child(-n+2) { background: #ff9f43; box-shadow: 0 0 8px #ff9f43; }
.pw-meter[data-level="3"] .pw-bars span:nth-child(-n+3) { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.pw-meter[data-level="4"] .pw-bars span { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pw-meter[data-level="1"] .pw-label { color: #ff4d6d; }
.pw-meter[data-level="2"] .pw-label { color: #ff9f43; }
.pw-meter[data-level="3"] .pw-label { color: var(--yellow); }
.pw-meter[data-level="4"] .pw-label { color: var(--green); }
.pw-match { min-height: 1.2em; margin: 8px 2px 0; font-size: .86rem; color: var(--muted); }
.pw-match.ok { color: var(--green); }
.pw-match.bad { color: #ff6b84; }

.cp-tips {
  align-self: start;
  position: sticky;
  top: 90px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(53, 224, 255, .14), transparent 55%),
    linear-gradient(160deg, #111b3a, #080d1e);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.cp-tips h3 { margin: 0 0 14px; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.cp-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-tips li { position: relative; padding-left: 24px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.cp-tips li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, var(--red) 0 45%, #0b1022 45% 58%, #dfe6ff 58%); box-shadow: 0 0 6px rgba(255, 59, 92, .5); }
.cp-tips li b { color: var(--text); }

.st-select { width: 100%; font-size: 1.02rem; padding: 12px 14px; }
.st-info { display: grid; gap: 8px; margin: 0 0 16px; }
.st-info > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.st-info dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; align-self: center; }
.st-info dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.st-links { display: grid; gap: 10px; }
@media (max-width: 900px) { .cp-tips { position: static; } }
@media (max-width: 600px) { .pw-label { min-width: 0; } }

/* ===== ranking ===== */
.rk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.rk-search { position: relative; flex: 0 1 300px; min-width: 220px; }
.rk-search input { padding: 11px 46px 11px 14px; }
.rk-search button { position: absolute; top: 50%; right: 6px; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; background: transparent; color: var(--muted); box-shadow: none; cursor: pointer; }
.rk-search button:hover { color: var(--cyan); background: rgba(53, 224, 255, .08); transform: translateY(-50%); }
.rk-search svg { width: 18px; height: 18px; }

.rk-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 13, 30, .6); }
.rk-tab {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.rk-tab svg { width: 18px; height: 18px; }
.rk-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.rk-tab.on { color: #fff; background: linear-gradient(180deg, rgba(53, 224, 255, .2), rgba(53, 224, 255, .06)); box-shadow: inset 0 0 0 1px rgba(53, 224, 255, .5), 0 0 20px rgba(53, 224, 255, .15); }
.rk-tab.on svg { color: var(--cyan); filter: drop-shadow(0 0 5px var(--cyan)); }

.rk-mine { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rk-mine-label { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-right: 4px; }
.rk-mine a { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 210, 63, .4); background: rgba(255, 210, 63, .07); color: var(--text); font-size: .88rem; }
.rk-mine a b { color: var(--yellow); font-family: var(--font-head); }
.rk-mine a:hover { border-color: var(--yellow); }

/* podio */
.rk-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; margin: 8px 0 22px; }
.rk-pod {
  --c: #c9d4ee;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 14px 0;
  border-radius: 18px 18px 12px 12px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background:
    radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
    linear-gradient(180deg, #111b3a, #080d1e);
  color: var(--text);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.rk-pod:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); color: var(--text); }
.rk-pod.p1 { --c: var(--yellow); padding-top: 30px; box-shadow: 0 0 34px rgba(255, 210, 63, .18); }
.rk-pod.p3 { --c: #ff9a5a; }
.rk-pod-place { position: absolute; top: 10px; left: 12px; font-family: var(--font-brand); font-weight: 900; font-size: .9rem; color: var(--c); }
.rk-pod-avatar {
  position: relative;
  display: grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 12px;
  border-radius: 50%;
  font-family: var(--font-brand); font-weight: 900; font-size: 1.8rem; color: var(--c);
  border: 2px solid var(--c);
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 20%, transparent), rgba(11, 16, 34, .9) 70%);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 12%, transparent), 0 0 26px color-mix(in srgb, var(--c) 40%, transparent);
}
.rk-pod.p1 .rk-pod-avatar { width: 92px; height: 92px; font-size: 2.3rem; }
.rk-pod.p1 .rk-pod-avatar::before {
  content: "";
  position: absolute; top: -22px; left: 50%;
  width: 34px; height: 20px; transform: translateX(-50%);
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20'%3E%3Cpath d='M2 18 0 4l9 6 8-10 8 10 9-6-2 14z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20'%3E%3Cpath d='M2 18 0 4l9 6 8-10 8 10 9-6-2 14z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px var(--yellow));
}
.rk-dot { position: absolute; right: 2px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid #0b1022; box-shadow: 0 0 8px var(--green); }
.rk-pod-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; color: #fff; }
.rk-pod-val { margin-top: 2px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-head); font-weight: 700; }
.rk-pod-val b { font-size: 1.7rem; color: var(--c); letter-spacing: 0; text-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
.rk-pod-sub { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px; color: var(--muted); font-size: .8rem; }
.rk-pod-base { display: block; align-self: stretch; height: 26px; margin: 0 -14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 8%, transparent)); border-top: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.rk-pod.p1 .rk-pod-base { height: 46px; }
.rk-pod.p2 .rk-pod-base { height: 32px; }
.rk-pod.p3 .rk-pod-base { height: 18px; }

/* lista */
.rk-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(8, 13, 30, .5); }
.rk-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 200px) 96px;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
  transition: background .15s;
}
.rk-row:first-child { border-top: 0; }
a.rk-row:hover { background: rgba(53, 224, 255, .05); color: var(--text); }
.rk-row-head { padding: 10px 18px; background: rgba(255, 255, 255, .03); color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.rk-row-note { display: block; text-align: center; color: var(--muted); font-size: .9rem; padding: 18px; }
.rk-row.hl { background: rgba(255, 210, 63, .07); box-shadow: inset 3px 0 0 var(--yellow); }
.rk-pos { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--muted); text-align: center; }
.rk-row.t1 .rk-pos { color: var(--yellow); }
.rk-row.t2 .rk-pos { color: #c9d4ee; }
.rk-row.t3 .rk-pos { color: #ff9a5a; }
.rk-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rk-avatar { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-family: var(--font-brand); font-weight: 800; color: var(--cyan); background: rgba(53, 224, 255, .08); border: 1px solid rgba(53, 224, 255, .35); }
.rk-who-txt { min-width: 0; display: flex; flex-direction: column; }
.rk-who-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #fff; }
.rk-who-txt small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-live { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .08); vertical-align: 2px; }
.rk-flag { display: inline-block; padding: 0 5px; border-radius: 4px; font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .06em; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.rk-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rk-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--yellow)); box-shadow: 0 0 8px rgba(53, 224, 255, .6); }
.rk-col-val { text-align: right; }
.rk-col-val b { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; color: #fff; }
.rk-col-val small { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.rk-foot { margin: 16px 2px 0; color: var(--muted); font-size: .84rem; text-align: center; }
.rk-empty { text-align: center; padding: 40px 10px; }
.rk-empty .cp-lock { margin: 0 auto 14px; }
.rk-empty h2 { margin: 0 0 6px; }
.rk-empty p { margin: 0 0 18px; }

@media (max-width: 760px) {
  .rk-row { grid-template-columns: 40px minmax(0, 1fr) 80px; padding: 12px 12px; gap: 10px; }
  .rk-col-bar { display: none; }
  .rk-search { flex: 1 1 100%; }
  .rk-podium { gap: 8px; }
  .rk-pod { padding: 18px 8px 0; }
  .rk-pod.p1 { padding-top: 26px; }
  .rk-pod-avatar { width: 54px; height: 54px; font-size: 1.3rem; }
  .rk-pod.p1 .rk-pod-avatar { width: 66px; height: 66px; font-size: 1.6rem; }
  .rk-pod-name { font-size: 1rem; }
  .rk-pod-val b { font-size: 1.3rem; }
  .rk-pod-sub { display: none; }
  .rk-pod-base { margin: 12px -8px 0; }
  .rk-tab { padding: 9px 8px; font-size: .88rem; }
}

/* ===== guilds ===== */
.gd-stats { display: flex; gap: 10px; }
.gd-stats > div { min-width: 92px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .6); text-align: center; }
.gd-stats b { display: block; font-family: var(--font-head); font-size: 1.7rem; line-height: 1; color: #fff; }
.gd-stats span { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.gd-filter { max-width: 340px; margin-bottom: 16px; }

.gd-emblem {
  --h: 190;
  position: relative;
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 64px; height: 72px;
  clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%);
  background:
    radial-gradient(80% 60% at 50% 20%, hsla(var(--h), 95%, 65%, .55), transparent 70%),
    linear-gradient(160deg, hsl(var(--h), 70%, 32%), hsl(calc(var(--h) + 40), 60%, 14%));
  box-shadow: inset 0 0 0 2px hsla(var(--h), 95%, 70%, .6);
}
.gd-emblem::after { content: ""; position: absolute; inset: 3px; clip-path: inherit; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); pointer-events: none; }
.gd-emblem b { font-family: var(--font-brand); font-weight: 900; font-size: 1.35rem; color: #fff; text-shadow: 0 0 12px hsla(var(--h), 95%, 70%, .9); margin-top: -6px; }
.gd-emblem.has-img { background: #0b1022; }
.gd-emblem img { width: 100%; height: 100%; object-fit: cover; }
.gd-emblem.xl { width: 112px; height: 126px; }
.gd-emblem.xl b { font-size: 2.3rem; }

.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gd-card {
  --h: 190;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 50% at 50% 0%, hsla(var(--h), 90%, 55%, .16), transparent 70%),
    linear-gradient(170deg, #111b3a, #080d1e);
  color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.gd-card:hover { color: var(--text); transform: translateY(-4px); border-color: hsla(var(--h), 90%, 65%, .6); box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 24px hsla(var(--h), 90%, 60%, .2); }
.gd-card[hidden] { display: none; }
.gd-card.mine { border-color: rgba(255, 210, 63, .55); }
.gd-card-rank { position: absolute; top: 12px; left: 14px; font-family: var(--font-brand); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--muted); }
.gd-card-mine { position: absolute; top: 10px; right: 12px; padding: 2px 8px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #0a0f20; background: var(--yellow); }
.gd-card h3 { margin: 12px 0 4px; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .03em; color: #fff; }
.gd-card-motd { margin: 0 0 14px; min-height: 2.8em; color: var(--muted); font-size: .86rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-card-motd i { opacity: .7; }
.gd-card-stats { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.gd-card-stats > div { padding: 7px 4px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.gd-card-stats dt { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.gd-card-stats dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.gd-card .dex-go { color: hsl(var(--h), 90%, 68%); }

.gd-empty { border: 1px dashed var(--line-strong); border-radius: 18px; }

.gd-create { margin-top: 28px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-strong); background: radial-gradient(100% 70% at 100% 0%, rgba(255, 59, 92, .1), transparent 60%), linear-gradient(160deg, #0f1834, #080d1e); }
.gd-create-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gd-create-head h2 { margin: 0; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.gd-create-head p { margin: 2px 0 0; }
.gd-create-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--red); border: 1px solid rgba(255, 59, 92, .45); background: rgba(255, 59, 92, .1); box-shadow: 0 0 20px rgba(255, 59, 92, .2); }
.gd-create-ico svg { width: 24px; height: 24px; }
.gd-create-body { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 22px; align-items: start; }
.gd-req { list-style: none; margin: 0; padding: 16px; display: grid; gap: 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .5); }
.gd-req li { position: relative; padding-left: 26px; color: var(--muted); font-size: .9rem; }
.gd-req li::before { content: ""; position: absolute; left: 0; top: .2em; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); }
.gd-req li.ok { color: var(--text); }
.gd-req li.ok::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 8px var(--green); }
.gd-req li.bad { color: #ff8fa1; }
.gd-req li.bad::before { border-color: #ff6b84; }
.gd-req b { color: inherit; }
.gd-create-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gd-create-cta p { flex: 1 1 100%; margin: 0 0 4px; }

/* pagina da guild */
.gd-hero {
  --h: 190;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 22px;
  align-items: center;
  padding: 24px;
  margin-bottom: 18px;
  border-radius: 20px;
  border: 1px solid hsla(var(--h), 80%, 60%, .35);
  background:
    radial-gradient(70% 90% at 0% 0%, hsla(var(--h), 90%, 55%, .2), transparent 60%),
    linear-gradient(160deg, #111b3a, #080d1e);
  overflow: hidden;
}
.gd-hero-txt { min-width: 0; }
.gd-hero .acc-title { margin: 4px 0 6px; overflow-wrap: anywhere; }
.gd-motd { margin: 0 0 6px; color: var(--text); font-style: italic; }
.gd-founded { margin: 0; font-size: .86rem; }
.gd-hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.gd-hero-stats > div { padding: 10px 12px; border-radius: 12px; background: rgba(8, 13, 30, .6); border: 1px solid var(--line); }
.gd-hero-stats dt { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.gd-hero-stats dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: #fff; }
.gd-hero-stats dd.on { color: var(--green); text-shadow: 0 0 12px rgba(61, 220, 151, .5); }

.gd-invite-me { display: grid; gap: 10px; margin-bottom: 18px; }
.gd-invite-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 210, 63, .5); background: rgba(255, 210, 63, .07); }
.gd-invite-card small { display: block; color: var(--muted); }
.gd-invite-card form { display: flex; gap: 8px; }

.gd-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 270px); gap: 18px; align-items: start; }
.gd-sec-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.gd-sec-title span, .gd-box h3 span, .gd-rank h3 span { padding: 1px 8px; border-radius: 999px; font-size: .8rem; color: var(--muted); background: rgba(255, 255, 255, .06); letter-spacing: 0; }
.gd-rank { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(8, 13, 30, .5); }
.gd-rank h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; font-family: var(--font-head); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.gd-rank h3 svg { width: 16px; height: 16px; }
.gd-rank.r3 h3 { color: var(--yellow); }
.gd-rank.r3 h3 svg { filter: drop-shadow(0 0 5px var(--yellow)); }
.gd-rank.r2 h3 { color: var(--cyan); }
.gd-rank ul { list-style: none; margin: 0; padding: 0; }
.gd-rank li + li { border-top: 1px solid var(--line); }
.gd-member { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--text); }
.gd-member:hover { background: rgba(53, 224, 255, .05); color: var(--text); }
.gd-member.mine { box-shadow: inset 3px 0 0 var(--yellow); }
.gd-member .rk-avatar { position: relative; }
.gd-member .rk-dot { width: 11px; height: 11px; right: -2px; bottom: -2px; }
.gd-member-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-member-txt b { font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-member-txt em { color: var(--muted); font-weight: 400; }
.gd-member-txt small { color: var(--muted); font-size: .8rem; }
.gd-on { color: var(--green); }
.gd-member-lv { text-align: right; }
.gd-member-lv small { margin-right: 4px; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.gd-member-lv b { font-family: var(--font-head); font-size: 1.3rem; color: #fff; }

.gd-side { display: grid; gap: 14px; }
.gd-box { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, #101a38, #080d1e); }
.gd-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--font-head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.gd-box .acc-sec { margin-bottom: 12px; }
.gd-box .cc-tip { margin: 0; }
.gd-mini-form .cc-label { font-size: .9rem; }
.gd-row { display: flex; gap: 8px; }
.gd-row select { flex: 1; min-width: 0; }
.gd-inv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gd-inv-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.gd-inv-list form { margin: 0; }
.gd-x { width: 28px; height: 28px; padding: 0; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; box-shadow: none; }
.gd-x:hover { color: #ff6b84; border-color: #ff6b84; }

.gd-manage { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.gd-manage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gd-manage-head .gd-sec-title { margin: 0; }
.gd-role { padding: 4px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(255, 210, 63, .45); background: rgba(255, 210, 63, .08); }
.gd-manage > .acc-muted { margin: 6px 0 16px; }
.gd-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.gd-tool { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.gd-tool h3 { margin: 0; font-family: var(--font-head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.gd-tool select { width: 100%; }
.gd-tool textarea { min-height: 80px; }
.gd-tool .btn { margin-top: auto; width: 100%; }
.gd-tool .cc-tip { margin: 0; }
.gd-tool input[type="file"] { width: 100%; font-size: .82rem; color: var(--muted); }
.gd-tool input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(53, 224, 255, .08); color: var(--text); font: 700 .8rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.gd-tool input[type="file"]::file-selector-button:hover { border-color: var(--cyan); }
.btn.gd-tool-btn { color: var(--cyan); border-color: rgba(53, 224, 255, .45); background: rgba(53, 224, 255, .08); box-shadow: none; }
.btn.gd-tool-btn:hover { color: #fff; background: rgba(53, 224, 255, .2); border-color: var(--cyan); }
.gd-logo-row { display: flex; align-items: center; gap: 12px; }
.gd-logo-row .gd-emblem { width: 48px; height: 54px; }
.gd-logo-row .gd-emblem b { font-size: 1rem; }
.gd-rank-input { display: flex; align-items: center; gap: 8px; }
.gd-rank-input span { color: var(--muted); }
.gd-rank-input svg { width: 16px; height: 16px; display: block; }
.gd-danger { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 59, 92, .35); background: rgba(255, 59, 92, .04); }
.gd-danger > h3 { margin: 0 0 12px; font-family: var(--font-head); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: #ff6b84; }
.btn.gd-danger-btn { color: #ff8fa1; border-color: rgba(255, 59, 92, .5); background: rgba(255, 59, 92, .08); box-shadow: none; }
.btn.gd-danger-btn:hover { color: #fff; background: rgba(255, 59, 92, .25); border-color: var(--red); }

@media (max-width: 900px) {
  .gd-layout { grid-template-columns: minmax(0, 1fr); }
  .gd-create-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .gd-hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .gd-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-stats { width: 100%; }
  .gd-stats > div { flex: 1; }
}

/* ===== casas ===== */
.gd-stats .hs-st-free b { color: var(--green); }
.gd-stats .hs-st-auc b { color: var(--yellow); }
.hs-towns { display: grid; gap: 12px; margin-bottom: 22px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.hs-region { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; }
.hs-region-name { padding-top: 7px; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.hs-region-list { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-town { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: .9rem; transition: border-color .15s, background .15s; }
.hs-town small { color: var(--muted); font-size: .72rem; font-family: var(--font-head); font-weight: 700; }
.hs-town:hover { color: #fff; border-color: var(--line-strong); background: rgba(53, 224, 255, .06); }
.hs-town.on { color: #fff; border-color: var(--cyan); background: rgba(53, 224, 255, .14); box-shadow: 0 0 16px rgba(53, 224, 255, .2); }
.hs-town.on small { color: var(--cyan); }

.hs-town-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hs-town-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.hs-town-head h2 span { padding: 2px 10px; border-radius: 999px; font-size: .8rem; letter-spacing: .04em; color: var(--muted); background: rgba(255, 255, 255, .06); }
.hs-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-tools .rk-search { flex: 0 1 220px; min-width: 180px; }
.hs-tools select { min-width: 0; }

.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.hs-card {
  --c: var(--green);
  display: flex; flex-direction: column;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--c);
  background: radial-gradient(100% 60% at 100% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%), linear-gradient(170deg, #101a38, #080d1e);
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hs-card[hidden] { display: none; }
.hs-card:hover { color: var(--text); transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.hs-card.s-auction, .hs-hero.s-auction { --c: var(--yellow); }
.hs-card.s-owned, .hs-hero.s-owned { --c: #8a95b8; }
.hs-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hs-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.hs-ico svg { width: 20px; height: 20px; }
.hs-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--green)); border: 1px solid currentColor; background: color-mix(in srgb, currentColor 10%, transparent); }
.hs-card h3 { margin: 0 0 12px; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .03em; color: #fff; }
.hs-card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 12px; }
.hs-card-stats > div { padding: 6px 4px; border-radius: 9px; text-align: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.hs-card-stats dt { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.hs-card-stats dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.hs-card-stats dd small, .gd-hero-stats dd small { font-size: .65em; color: var(--muted); }
.hs-card-foot { margin: auto 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.hs-card-foot b { color: var(--text); }

/* detalhe */
.hs-hero {
  --c: var(--green);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; align-items: center;
  padding: 24px; margin-bottom: 18px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), linear-gradient(160deg, #111b3a, #080d1e);
}
.hs-hero-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 25%, transparent); }
.hs-hero-ico svg { width: 42px; height: 42px; }
.hs-hero .acc-title { margin: 4px 0 8px; }
.hs-hero .hs-badge { color: var(--c); }
.hs-auction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.hs-box { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, #101a38, #080d1e); }
.hs-box h2 { margin: 0 0 12px; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hs-box .acc-sec { margin-bottom: 12px; }
.hs-box .acc-flash { margin: 12px 0 0; }
.hs-count { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; color: var(--yellow); }
.hs-rules { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 900px) { .hs-auction { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .hs-region { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hs-region-name { padding-top: 0; }
  .hs-tools { width: 100%; }
  .hs-tools .rk-search { flex: 1 1 100%; }
  .hs-tools select { flex: 1; }
  .hs-hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
}

/* ===== mercado ===== */
.gd-stats .mk-st-sell b { color: var(--green); }
.gd-stats .mk-st-buy b { color: var(--cyan); }
.mk-how { list-style: none; counter-reset: mk; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; }
.mk-how li { counter-increment: mk; position: relative; padding: 14px 14px 14px 54px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.mk-how li::before { content: counter(mk); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--font-brand); font-size: .8rem; color: #fff; background: linear-gradient(180deg, var(--red) 0 48%, #0b1022 48% 54%, #2a3660 54%); box-shadow: 0 0 0 2px #0b1022, 0 0 0 3px var(--line-strong); }
.mk-how b { display: block; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .04em; color: #fff; }
.mk-how span { color: var(--muted); font-size: .84rem; }
.mk-search { display: flex; gap: 8px; margin-bottom: 18px; }
.mk-search input { flex: 1; min-width: 0; padding: 12px 14px; }
.mk-search .btn { flex: 0 0 auto; }
.mk-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 13, 30, .6); }
.mk-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 700 1rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: none; }
.mk-tab span { padding: 1px 8px; border-radius: 999px; font-size: .8rem; background: rgba(255, 255, 255, .06); }
.mk-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.mk-tab.on { color: #fff; background: linear-gradient(180deg, rgba(53, 224, 255, .2), rgba(53, 224, 255, .06)); box-shadow: inset 0 0 0 1px rgba(53, 224, 255, .5); }
.mk-panel[hidden] { display: none; }
.mk-empty { border: 1px dashed var(--line-strong); border-radius: 18px; }
.mk-empty .cp-lock { margin: 0 auto 14px; }

.mk-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(8, 13, 30, .5); }
.mk-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 170px) minmax(0, 150px); gap: 14px; align-items: center; padding: 12px 16px; color: var(--text); border-top: 1px solid var(--line); }
.mk-row:first-child { border-top: 0; }
a.mk-row:hover { color: var(--text); background: rgba(53, 224, 255, .05); }
.mk-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mk-item > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.mk-item b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-item small { color: var(--muted); font-size: .78rem; }
a.mk-row:hover .mk-item small { color: var(--cyan); }
.mk-icon { --h: 190; flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--font-brand); font-weight: 800; font-size: .9rem; color: #fff; background: radial-gradient(circle at 50% 30%, hsla(var(--h), 90%, 60%, .45), hsla(var(--h), 70%, 20%, .9)); border: 1px solid hsla(var(--h), 90%, 65%, .5); text-shadow: 0 0 8px hsla(var(--h), 95%, 70%, .9); }
.mk-qty, .mk-price, .mk-meta { display: flex; flex-direction: column; }
.mk-qty { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.mk-qty small, .mk-price small, .mk-meta small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .76rem; }
.mk-price b { font-family: var(--font-head); font-size: 1.25rem; color: var(--yellow); }
.mk-price b::after { content: " gp"; font-size: .7em; color: var(--muted); }
.mk-meta { text-align: right; }
.mk-anon { color: var(--muted); font-style: italic; }
.mk-seller { color: var(--cyan); }

.mk-compare-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.mk-compare-head .mk-icon { flex-basis: 72px; width: 72px; height: 72px; border-radius: 20px; font-size: 1.5rem; }
.mk-compare-head .acc-title { margin: 4px 0 2px; }
.mk-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.mk-summary > div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, #101a38, #080d1e); }
.mk-summary > div.sell { border-top: 3px solid var(--green); }
.mk-summary > div.buy { border-top: 3px solid var(--cyan); }
.mk-summary dt { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.mk-summary dd { margin: 2px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; line-height: 1.1; color: #fff; }
.mk-summary small { color: var(--muted); font-size: .8rem; }
.mk-sec { margin-bottom: 22px; }
.mk-none { text-align: left; margin: 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; }

@media (max-width: 760px) {
  .mk-how, .mk-summary { grid-template-columns: minmax(0, 1fr); }
  .mk-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .mk-qty { display: none; }
  .mk-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; text-align: left; }
  .mk-search { flex-direction: column; }
}

/* ===== suporte ===== */
.sp-status { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .6); }
.sp-status i { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: #5d6788; }
.sp-status.on i { background: var(--green); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15), 0 0 12px var(--green); animation: sp-pulse 2s ease-in-out infinite; }
@keyframes sp-pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0), 0 0 12px var(--green); } }
.sp-status b { display: block; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .04em; color: #fff; }
.sp-status span { color: var(--muted); font-size: .82rem; }

.sp-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 26px; }
.sp-way { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(165deg, #101a38, #080d1e); color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
a.sp-way:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(53, 224, 255, .5); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.sp-way-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; color: var(--cyan); background: rgba(53, 224, 255, .1); border: 1px solid rgba(53, 224, 255, .35); }
.sp-way-ico svg { width: 22px; height: 22px; }
.sp-way b { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .04em; color: #fff; }
.sp-way > span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.sp-way em { margin-top: auto; padding-top: 6px; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.sp-way em.ok { color: var(--green); }
div.sp-way em:not(.ok) { color: var(--muted); }

.sp-team { margin-bottom: 22px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.sp-card { --c: var(--cyan); display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); border-left: 3px solid var(--c); background: rgba(8, 13, 30, .55); color: var(--text); }
.sp-card:hover { color: var(--text); background: rgba(53, 224, 255, .05); }
.sp-card.t-gold { --c: var(--yellow); }
.sp-card.t-red { --c: var(--red); }
.sp-avatar { position: relative; flex: 0 0 46px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--font-brand); font-weight: 800; font-size: 1.2rem; color: var(--c); border: 2px solid var(--c); background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, transparent), rgba(11, 16, 34, .9) 70%); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 30%, transparent); }
.sp-avatar i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #0b1022; background: #5d6788; }
.sp-card.on .sp-avatar i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.sp-card-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-card-txt b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-role { color: var(--c); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.sp-state { color: var(--muted); font-size: .78rem; }
.sp-card.on .sp-state { color: var(--green); }

.sp-safe { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 210, 63, .4); background: rgba(255, 210, 63, .06); }
.sp-safe-ico { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--yellow); background: rgba(255, 210, 63, .1); }
.sp-safe-ico svg { width: 22px; height: 22px; }
.sp-safe b { display: block; color: #fff; }
.sp-safe span { color: var(--muted); font-size: .88rem; }

/* ===== wiki ===== */
.wk { --wk-red: var(--red); }
.c-red { --c: var(--red); } .c-cyan { --c: var(--cyan); } .c-yellow { --c: var(--yellow); } .c-green { --c: var(--green); } .c-purple { --c: #a78bfa; }
.wk-hero { position: relative; padding: 8px 0 6px; }
.wk-hero .acc-title { margin: 6px 0 8px; }
.wk-hero > .acc-muted { max-width: 620px; }
.wk-search { position: relative; display: flex; gap: 8px; margin: 18px 0 8px; }
.wk-search > svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.wk-search input { flex: 1; min-width: 0; padding: 14px 16px 14px 46px; font-size: 1.02rem; }
.wk-count { margin: 0 2px; color: var(--muted); font-size: .84rem; }
.wk-start { margin: 26px 0; }
.wk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.wk-steps a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 16px 60px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(165deg, #101a38, #080d1e); color: var(--text); transition: transform .2s, border-color .2s; }
.wk-steps a:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(255, 59, 92, .5); }
.wk-step-n { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-brand); font-size: .85rem; color: #fff; background: linear-gradient(180deg, var(--red) 0 48%, #0b1022 48% 54%, #2a3660 54%); box-shadow: 0 0 0 2px #0b1022, 0 0 0 3px var(--line-strong); }
.wk-steps b { font-family: var(--font-head); font-size: 1.08rem; letter-spacing: .03em; color: #fff; }
.wk-steps small { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.wk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wk-cat { display: flex; flex-direction: column; padding: 18px; border-radius: 16px; border: 1px solid var(--line); border-top: 3px solid var(--c); background: radial-gradient(100% 60% at 100% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%), linear-gradient(170deg, #101a38, #080d1e); }
.wk-cat-head { display: flex; align-items: center; gap: 12px; color: var(--text); }
.wk-cat-head:hover { color: var(--text); }
.wk-cat-head b { display: block; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .04em; color: #fff; }
.wk-cat-head small { color: var(--muted); font-size: .8rem; }
.wk-cat-ico, .wk-head-ico, .wk-nav-ico { display: grid; place-items: center; flex: 0 0 auto; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }
.wk-cat-ico { width: 44px; height: 44px; border-radius: 12px; }
.wk-cat-ico svg { width: 22px; height: 22px; }
.wk-cat p { margin: 10px 0; color: var(--muted); font-size: .86rem; }
.wk-cat ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.wk-cat li a { display: block; padding: 5px 0 5px 16px; position: relative; color: var(--text); font-size: .92rem; }
.wk-cat li a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: var(--c); }
.wk-cat li a:hover { color: var(--c); }
.wk-cat .dex-go { margin-top: auto; color: var(--c); }

.wk-crumbs { display: flex; gap: 8px; margin-bottom: 14px; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.wk-crumbs a { color: var(--muted); }
.wk-crumbs a:hover { color: var(--cyan); }
.wk-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wk-head-ico { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 0 24px color-mix(in srgb, var(--c) 25%, transparent); }
.wk-head-ico svg { width: 30px; height: 30px; }
.wk-head .acc-title { margin: 0 0 4px; }
.wk-head .acc-muted { margin: 0; }

.wk-list { display: grid; gap: 8px; }
.wk-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); color: var(--text); }
.wk-item:hover { color: var(--text); border-color: rgba(53, 224, 255, .45); background: rgba(53, 224, 255, .05); }
.wk-item > span:not(.wk-item-n) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wk-item b { font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .03em; color: #fff; }
.wk-item small { color: var(--muted); font-size: .85rem; }
.wk-item i { font-style: normal; color: var(--cyan); }
.wk-item-n { font-family: var(--font-brand); font-weight: 700; font-size: .9rem; color: var(--muted); }

/* artigo */
.wk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: start; }
.wk-nav { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow: auto; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .6); font-size: .88rem; }
.wk-nav-home { display: block; margin-bottom: 10px; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.wk-nav details { border-top: 1px solid var(--line); }
.wk-nav summary { display: flex; align-items: center; gap: 8px; padding: 9px 0; cursor: pointer; list-style: none; color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; }
.wk-nav summary::-webkit-details-marker { display: none; }
.wk-nav-ico { width: 24px; height: 24px; border-radius: 7px; }
.wk-nav-ico svg { width: 14px; height: 14px; }
.wk-nav ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 32px; }
.wk-nav li a { display: block; padding: 4px 0; color: var(--muted); }
.wk-nav li a:hover, .wk-nav li a.on { color: var(--cyan); }
.wk-nav li a.on { font-weight: 600; }

.wk-toc { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.wk-toc summary { cursor: pointer; color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.wk-toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.wk-toc li { break-inside: avoid; padding: 2px 0; }
.wk-toc li.h3 { margin-left: 14px; list-style: circle; font-size: .9em; }
.wk-toc a { color: var(--text); }
.wk-toc a:hover { color: var(--cyan); }

.wk-body { font-size: 1rem; line-height: 1.7; color: #d5dcf2; }
.wk-body > *:first-child { margin-top: 0; }
.wk-body h2 { position: relative; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 1.55rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; scroll-margin-top: 90px; }
.wk-body h3 { position: relative; margin: 24px 0 8px; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .03em; color: #fff; scroll-margin-top: 90px; }
.wk-anchor { margin-left: 8px; color: var(--muted); opacity: 0; font-size: .8em; text-decoration: none; }
.wk-body h2:hover .wk-anchor, .wk-body h3:hover .wk-anchor { opacity: 1; }
.wk-body p { margin: 0 0 14px; }
.wk-body ul, .wk-body ol { margin: 0 0 16px; padding-left: 22px; }
.wk-body li { margin: 4px 0; }
.wk-body li::marker { color: var(--cyan); }
.wk-body b, .wk-body strong { color: #fff; }
.wk-body code, .wk-body kbd { padding: 2px 7px; border-radius: 6px; font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; color: var(--yellow); background: rgba(255, 210, 63, .08); border: 1px solid rgba(255, 210, 63, .25); white-space: nowrap; }
.wk-body table { width: 100%; margin: 0 0 18px; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .93rem; }
.wk-body th { padding: 10px 12px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.wk-body td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.wk-body tr:hover td { background: rgba(53, 224, 255, .03); }
.wk-body .wk-tip, .wk-body .wk-warn, .wk-body .wk-note { margin: 0 0 18px; padding: 14px 16px 14px 48px; position: relative; border-radius: 12px; border: 1px solid; }
.wk-body .wk-tip { border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .06); }
.wk-body .wk-warn { border-color: rgba(255, 210, 63, .45); background: rgba(255, 210, 63, .06); }
.wk-body .wk-note { border-color: rgba(53, 224, 255, .4); background: rgba(53, 224, 255, .06); }
.wk-body .wk-tip::before, .wk-body .wk-warn::before, .wk-body .wk-note::before { position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 800; font-size: .8rem; color: #0a0f20; }
.wk-body .wk-tip::before { content: "✓"; background: var(--green); }
.wk-body .wk-warn::before { content: "!"; background: var(--yellow); }
.wk-body .wk-note::before { content: "i"; background: var(--cyan); }
.wk-body .wk-tip > :last-child, .wk-body .wk-warn > :last-child, .wk-body .wk-note > :last-child { margin-bottom: 0; }
.wk-body .wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0 0 18px; }
.wk-body .wk-box { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.wk-body .wk-box b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .03em; }
.wk-body .wk-box p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.wk-body .wk-type { display: inline-block; padding: 1px 8px; margin: 1px 2px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #0a0f20; background: var(--t, #8a95b8); }
.wk-body .wk-filter { margin: 0 0 12px; }
.wk-body .wk-filter input { max-width: 340px; }
.wk-body .wk-dex-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-body .wk-dex-filter input, .wk-body .wk-dex-filter select { flex: 1 1 190px; max-width: none; }
.wk-body .wk-dex tr[hidden] { display: none; }
.wk-body .wk-dex td small { color: var(--muted); }
.wk-body .wk-dex-none { padding: 22px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.wk-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.wk-pager a { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.wk-pager a small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .78rem; }
.wk-pager a:hover { color: #fff; border-color: rgba(53, 224, 255, .5); background: rgba(53, 224, 255, .05); }
.wk-pager .next { grid-column: 2; text-align: right; }

@media (max-width: 1100px) {
  .wk-layout { grid-template-columns: minmax(0, 1fr); }
  .wk-nav { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .wk-search { flex-direction: column; }
  .wk-toc ol { columns: 1; }
  .wk-body .wk-dex { display: block; overflow-x: auto; }
  .wk-pager { grid-template-columns: 1fr; }
  .wk-pager .next { grid-column: 1; }
}

/* ===== Suporte / tickets (hd) ===== */
.hd-sec { margin-top: 28px; }
.hd-sec:first-of-type { margin-top: 8px; }
.hd-staff-link { margin-bottom: 14px; }
.gd-stats .hd-st-open b { color: var(--cyan); }
.gd-stats .hd-st-ok b { color: var(--green); }
.gd-stats .hd-st-wait b { color: var(--yellow); }
.hd-account { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.hd-account b { color: #fff; }
.hd-count { text-align: right; }
.hd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.hd-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.hd-badge.open { --c: var(--cyan); }
.hd-badge.wait { --c: var(--yellow); }
.hd-badge.ok { --c: var(--green); }
.hd-badge.off { --c: var(--muted); }
.hd-badge.off::before { box-shadow: none; }

.hd-list { display: grid; gap: 8px; }
.hd-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); color: var(--text); transition: border-color .15s, background .15s; }
.hd-row:hover { color: var(--text); border-color: rgba(53, 224, 255, .45); background: rgba(53, 224, 255, .05); }
.hd-row.closed { opacity: .65; }
.hd-id { flex: 0 0 auto; min-width: 46px; font-family: var(--font-head); font-weight: 700; color: var(--muted); }
.hd-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hd-row-main b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-row-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .8rem; }
.hd-cat { color: var(--cyan); }

.hd-head { align-items: flex-start; }
.hd-head .acc-muted b { color: #fff; }
.hd-thread { display: grid; gap: 14px; margin: 6px 0 18px; }
.hd-msg { max-width: 86%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .6); }
.hd-msg.mine { justify-self: end; border-color: rgba(53, 224, 255, .3); background: rgba(53, 224, 255, .06); }
.hd-msg.staff { border-color: rgba(61, 220, 151, .35); }
.hd-msg.staff:not(.mine) { background: rgba(61, 220, 151, .06); }
.hd-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hd-msg header b { color: #fff; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .03em; }
.hd-msg time { margin-left: auto; color: var(--muted); font-size: .78rem; }
.hd-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: #0a0f20; background: var(--cyan); }
.hd-msg.staff .hd-avatar { background: var(--green); }
.hd-msg-body { color: #d5dcf2; line-height: 1.65; overflow-wrap: anywhere; }
.hd-hint { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.hd-reply textarea { width: 100%; min-height: 120px; }
.hd-reply .cc-label { display: block; margin-bottom: 8px; }
.hd-reply-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hd-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: .9rem; cursor: pointer; }
.hd-check input { width: auto; accent-color: var(--cyan); }
.hd-closed { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); }
.hd-closed b { color: #fff; }

.hd-admin { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; }
.hd-admin .hd-msg { max-width: 92%; }
.hd-side h3 + .st-info, .hd-side h3 + .hd-chars { margin-top: 0; }
.hd-chars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.hd-chars li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.hd-chars span { color: var(--muted); }
.hd-tools { display: grid; gap: 8px; margin-top: 18px; }
.hd-side .st-info > div { flex-direction: column; gap: 2px; }
.hd-side .st-info dt { align-self: flex-start; }
.hd-side .st-info dd { text-align: left; }
.hd-chars li { padding-left: 0; }
.hd-chars li::before { display: none; }
.btn.gd-tool-btn.danger { color: var(--red); border-color: rgba(255, 59, 92, .45); background: rgba(255, 59, 92, .08); }
.btn.gd-tool-btn.danger:hover { color: #fff; background: rgba(255, 59, 92, .22); border-color: var(--red); }
.hd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.hd-filters a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.hd-filters a span { margin-left: 4px; color: var(--text); }
.hd-filters a:hover, .hd-filters a.on { color: #fff; border-color: rgba(53, 224, 255, .5); background: rgba(53, 224, 255, .1); }

@media (max-width: 900px) {
  .hd-admin { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hd-msg, .hd-admin .hd-msg { max-width: 100%; }
  .hd-row { flex-wrap: wrap; }
  .hd-row-main { flex: 1 1 calc(100% - 74px); }
  .hd-row .hd-badge { margin-left: 60px; }
}

/* ===== Quem esta online (ol) ===== */
.gd-stats .ol-st-on b, .gd-stats .ol-st-up b { color: var(--green); }
.gd-stats .ol-st-down b { color: var(--red); }
.ol-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.ol-filter input, .ol-filter select { flex: 1 1 200px; }
.ol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.ol-card[hidden] { display: none; }
.ol-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); color: var(--text); transition: border-color .15s, background .15s, transform .15s; }
.ol-card:hover { color: var(--text); border-color: rgba(53, 224, 255, .45); background: rgba(53, 224, 255, .05); transform: translateY(-2px); }
.ol-card.mine { border-color: rgba(53, 224, 255, .5); background: rgba(53, 224, 255, .07); }
.ol-card.staff { border-color: rgba(61, 220, 151, .4); }
.ol-avatar { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, rgba(255, 59, 92, .5), rgba(53, 224, 255, .5)); border: 1px solid var(--line-strong); }
.ol-avatar i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #0a0f20; box-shadow: 0 0 8px var(--green); }
.ol-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ol-info b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-info small { color: var(--muted); font-size: .82rem; }
.ol-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.ol-tags:empty { display: none; }
.ol-tag { padding: 1px 8px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.ol-tag.staff { color: var(--green); background: rgba(61, 220, 151, .12); border: 1px solid rgba(61, 220, 151, .4); }
.ol-tag.mine { color: var(--cyan); background: rgba(53, 224, 255, .1); border: 1px solid rgba(53, 224, 255, .4); }
.ol-guild { color: var(--cyan); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.ol-none { padding: 22px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.ol-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ===== Perfil do personagem (cpf) ===== */
.cpf-search { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.cpf-search input { flex: 1; }
.cpf-hero { position: relative; display: flex; align-items: center; gap: 22px; padding: 24px; margin-bottom: 14px; border-radius: 18px; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 0% 0%, rgba(53, 224, 255, .14), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(255, 59, 92, .12), transparent 55%), rgba(8, 13, 30, .7); overflow: hidden; }
.cpf-hero.staff { border-color: rgba(61, 220, 151, .45); }
.cpf-avatar { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; font-family: var(--font-brand); font-weight: 700; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, rgba(255, 59, 92, .55), rgba(53, 224, 255, .55)); border: 2px solid var(--line-strong); box-shadow: 0 0 30px rgba(53, 224, 255, .2); }
.cpf-avatar i { position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: #4b5677; border: 3px solid #0a0f20; }
.cpf-avatar i.on { background: var(--green); box-shadow: 0 0 10px var(--green); }
.cpf-id { flex: 1 1 auto; min-width: 0; }
.cpf-id .acc-title { margin: 6px 0 4px; overflow-wrap: anywhere; }
.cpf-id .acc-muted { margin: 0; }
.cpf-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cpf-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); }
.cpf-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cpf-status.on { color: var(--green); border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .08); }
.cpf-level { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 96px; height: 96px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(53, 224, 255, .07); text-align: center; }
.cpf-level b { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: #fff; }
.cpf-level span { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }

.cpf-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 0 0 14px; }
.cpf-stats > div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.cpf-stats dt { color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.cpf-stats dd { margin: 4px 0 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.cpf-comment { margin: 0 0 14px; padding: 14px 18px; border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; background: rgba(53, 224, 255, .05); color: #d5dcf2; font-style: italic; }

.cpf-sec { margin-top: 26px; }
.cpf-none { margin: 0; padding: 16px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.cpf-none.ok { color: var(--green); border-color: rgba(61, 220, 151, .35); }
.cpf-team { display: flex; flex-wrap: wrap; gap: 8px; }
.cpf-poke { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); color: #fff; font-weight: 600; }
.cpf-poke:hover { color: #fff; border-color: rgba(53, 224, 255, .5); background: rgba(53, 224, 255, .08); }
.cpf-ball { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0a0f20; background: linear-gradient(to bottom, var(--red) 0 45%, #0a0f20 45% 55%, #f1f4ff 55%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

.cpf-badges { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.cpf-badge { --c: var(--cyan); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); color: var(--muted); font-size: .74rem; text-align: center; }
.cpf-badge.johto { --c: var(--yellow); }
.cpf-badge-gem { width: 30px; height: 30px; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); background: rgba(255, 255, 255, .08); }
.cpf-badge.on { color: #fff; border-color: color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); }
.cpf-badge.on .cpf-badge-gem { background: linear-gradient(135deg, #fff, var(--c) 45%, color-mix(in srgb, var(--c) 50%, #000)); filter: drop-shadow(0 0 6px var(--c)); }
.cpf-legend { display: flex; align-items: center; gap: 8px 14px; margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
.cpf-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
.cpf-legend i.kanto { background: var(--cyan); }
.cpf-legend i.johto { background: var(--yellow); }

.cpf-progress { position: relative; height: 26px; margin: 0 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 13, 30, .6); overflow: hidden; }
.cpf-progress span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--red), var(--cyan)); opacity: .75; }
.cpf-progress b { position: relative; display: block; text-align: center; line-height: 24px; font-family: var(--font-head); color: #fff; }
.cpf-sub { margin: 16px 0 8px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cpf-quests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.cpf-q { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(8, 13, 30, .45); font-size: .9rem; }
.cpf-q-ico { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); }
.cpf-q-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpf-q-st { flex: 0 0 auto; color: var(--muted); font-size: .76rem; }
.cpf-q.ok { border-color: rgba(61, 220, 151, .35); }
.cpf-q.ok .cpf-q-ico { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0f20' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.cpf-q.ok .cpf-q-st { color: var(--green); }
.cpf-q.mid .cpf-q-ico { border-color: var(--yellow); background: conic-gradient(var(--yellow) 50%, transparent 0); }
.cpf-q.mid .cpf-q-st { color: var(--yellow); }
.cpf-q.off { opacity: .7; }
.cpf-more { margin-top: 12px; }
.cpf-more summary { cursor: pointer; margin-bottom: 8px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }

.cpf-deaths { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cpf-deaths li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255, 59, 92, .25); background: rgba(255, 59, 92, .04); }
.cpf-deaths time { min-width: 110px; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .cpf-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cpf-hero { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .cpf-avatar { width: 64px; height: 64px; font-size: 1.6rem; }
  .cpf-id { flex-basis: calc(100% - 80px); }
  .cpf-level { width: 100%; height: auto; padding: 8px; flex-direction: row; gap: 10px; align-items: baseline; }
}

/* ===== Cadastro (rg) e recuperacao (rc) ===== */
.rg-hint.ok { color: var(--green); }
.rg-hint.bad { color: var(--yellow); }
.rg-rules-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); cursor: pointer; }
.rg-rules-check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--cyan); }
.rg-rules-check:has(input:checked) { border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .06); }
.rg-login { margin-top: 12px; text-align: center; }
.rg-rules { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; }
.rg-rules li::marker { color: var(--cyan); }
.rg-next { list-style: none; counter-reset: rg; margin: 6px auto 20px; padding: 0; max-width: 420px; display: grid; gap: 8px; text-align: left; }
.rg-next li { counter-increment: rg; position: relative; display: flex; flex-direction: column; padding: 10px 14px 10px 52px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 13, 30, .55); }
.rg-next li::before { content: counter(rg); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; color: #0a0f20; background: var(--cyan); }
.rg-next b { color: #fff; }
.rg-next span { color: var(--muted); font-size: .88rem; }
.rc-ways { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* utilitarios usados pelas paginas */
.pull-right { float: right; }
.pull-left { float: left; }
.special, .profile_font { color: var(--text); }
.alert, .notice {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(53, 224, 255, .07);
  margin-bottom: 16px;
}
.g-recaptcha { margin: 10px 0; }
center > h3 a, center > h4 a { font-family: var(--font-head); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 16, .8);
  padding: 40px 0 26px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.footer-brand p { max-width: 340px; margin-top: 12px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-social { display: flex; gap: 10px; }
.site-footer .soc { --c: var(--cyan); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.site-footer .soc svg { width: 20px; height: 20px; }
.site-footer .soc-discord { --c: #5865f2; }
.site-footer .soc-youtube { --c: #ff0033; }
.site-footer .soc-instagram { --c: #e1306c; }
.site-footer .soc-facebook { --c: #1877f2; }
.site-footer a.soc:hover { color: #fff; transform: translateY(-2px); border-color: var(--c); background: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.site-footer .soc.off { opacity: .35; cursor: default; }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 36, .85);
  color: var(--cyan);
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { box-shadow: 0 0 18px rgba(53, 224, 255, .4); color: #fff; }

.admin-dump { width: min(100% - 32px, var(--wrap)); margin: 16px auto; color: var(--muted); font-size: .8rem; overflow-x: auto; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .dex-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > *, .layout > * { min-width: 0; }
  .hero-art { max-width: 300px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: block; }
  .topbar-actions { display: none; }
  .mainnav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 10, 22, .97);
    border-bottom: 1px solid var(--line);
    transition: max-height .3s ease;
  }
  .topbar.nav-open .mainnav { max-height: 80vh; overflow-y: auto; }
  .topbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .topbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .menu li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255, 255, 255, .02);
    margin: 4px 0 8px;
  }
  .menu li.open > ul { display: block; }
  .menu .mobile-only { display: block; }
}
@media (min-width: 961px) { .menu .mobile-only { display: none; } }
@media (max-width: 600px) {
  .content { padding: 22px 18px; }
  .dex-cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .dex-hud { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dex-lens { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 6px; border-right: 0; }
  .dex-lens + .dex-cell { border-left: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .brand { font-size: .95rem; gap: 10px; }
  .brand-logo { height: 38px; }
  .topbar-inner { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
