@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;600;700;800&display=swap');

:root {
  /* Piano black + dourado — luxo Undaia */
  --bg-deep: #030303;
  --bg-main: #080808;
  --bg-panel: rgba(14, 14, 16, 0.97);
  --bg-card: rgba(18, 18, 20, 0.98);
  --stone: #121214;
  --border: rgba(201, 162, 39, 0.2);
  --border-glow: rgba(232, 200, 106, 0.5);
  --gold: #c9a227;
  --gold-bright: #f0d878;
  --gold-soft: #d4af37;
  --bronze: #7a5c18;
  --blue-glow: #e8c86a;
  --blue-dim: #9a7b2e;
  --ember: #d4a84b;
  --crimson: #c45c5c;
  --text: #f7f3eb;
  --muted: #a89f8c;
  --ok: #6ecf8a;
  --err: #e07070;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  --radius: 8px;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: auto;
  --nav-bg: #050505;
  --bar-bg: linear-gradient(180deg, #141416 0%, #060606 100%);
  --piano-line: rgba(255, 255, 255, 0.04);
  --piano-shine: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%, rgba(0, 0, 0, 0.35) 100%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    url('images/deco-grid.svg'),
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, #030303 0%, #0a0a0a 45%, #030303 100%);
  background-size: 200px 200px, auto, auto;
}

a { color: var(--gold-soft); text-decoration: none; transition: color 0.15s, text-shadow 0.15s; }
a:hover { color: var(--gold-bright); text-shadow: 0 0 14px rgba(240, 216, 120, 0.4); }

/* ===== Header estilo TibiaCom / Undaia ===== */
.site-header {
  background: linear-gradient(180deg, #0c0c0e 0%, var(--nav-bg) 100%);
  border-bottom: 2px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.65), inset 0 1px 0 var(--piano-line);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem 0.75rem;
  background: var(--piano-shine);
}
.site-header__logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  line-height: 0;
}
.site-header__logo,
.home-hero__logo,
.side-logo,
.server-spotlight__logo,
.site-footer__logo,
.page-guia__logo {
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  /* Glow leve — PNG já tem alpha nas bordas */
  filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.22));
}
.side-logo-wrap,
.site-header__logo-link {
  background: transparent;
}
.site-header__logo {
  width: min(180px, 46vw);
  height: auto;
  transition: transform 0.2s;
}
.site-header__title--visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header__logo-link:hover .site-header__logo { transform: scale(1.03); }
.site-header__title {
  margin: 0.5rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.site-header__tagline {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Menu principal */
.main-nav {
  background: linear-gradient(180deg, #101012 0%, #050505 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
}
.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  gap: 0;
}
.main-nav__item {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.main-nav__item:last-child { border-right: 0; }
.main-nav__item > a,
.main-nav__label {
  display: block;
  padding: 0.75rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8d0c0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.main-nav__item > a:hover,
.main-nav__item:hover .main-nav__label,
.main-nav__item.active > a,
.main-nav__item.active .main-nav__label {
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-bright);
  text-decoration: none;
}
.main-nav__sub {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #121214;
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  z-index: 50;
  min-width: 160px;
}
.main-nav__item--has-sub:hover .main-nav__sub { display: block; }
.main-nav__sub a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.main-nav__sub a:hover {
  background: rgba(232, 197, 71, 0.12);
  color: var(--gold-bright);
  text-decoration: none;
}

/* Barra IP / Rates / Download */
.server-info-bar {
  background: var(--bar-bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.server-info-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.server-info-bar__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  color: var(--text);
}
.server-info-bar__item strong {
  color: var(--gold-soft);
  font-weight: 700;
  margin-right: 0.2rem;
}
.server-info-bar__item em {
  font-style: normal;
  color: #fff;
  margin-right: 0.5rem;
}
.server-info-bar__item--rates em { margin-right: 0.65rem; }
.server-info-bar__sep { color: var(--muted); opacity: 0.5; }
.server-info-bar__online { color: var(--ok) !important; font-weight: 700; }
.server-info-bar__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.btn-download {
  background: linear-gradient(180deg, #3a9e3a 0%, #267326 100%) !important;
  border-color: #5ecf5e !important;
  color: #fff !important;
}
.btn-accent {
  background: linear-gradient(180deg, #e8c86a 0%, #9a7b2e 100%) !important;
  color: #1a1208 !important;
  border-color: #f0d878 !important;
  font-weight: 700;
}

/* Nav mobile: ver bloco @media (max-width: 900px) no final do arquivo */

/* Layout */
.aac-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 1.25rem;
  align-items: start;
}
.aac-wrap--full {
  max-width: 1100px;
  display: block;
  padding: 1rem 1.25rem 2rem;
}
.aac-wrap--full .aac-content {
  margin: 0 auto;
}
.page-layout-full .aac-content--wide {
  max-width: 100%;
}
@media (max-width: 1024px) {
  .aac-wrap { grid-template-columns: 1fr; }
  .aac-side-right { order: 3; }
}

.aac-content {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow), inset 0 1px 0 var(--piano-line);
  position: relative;
}
.aac-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, var(--bronze), var(--gold-bright), var(--gold), var(--gold-bright), var(--bronze), transparent);
  opacity: 0.85;
}
.aac-content h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aac-content h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin: 1.75rem 0 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-head .lead { color: var(--muted); margin: 0 0 1.5rem; }

/* Sidebars */
.aac-side { min-width: 0; }
.side-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0;
}
.side-logo-wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  line-height: 0;
}
.side-logo {
  width: auto;
  max-width: min(172px, 100%);
  height: auto;
  margin: 0 auto;
  object-position: center center;
}
.status-box, .login-box, .widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.status-box h3, .login-box h3, .widget h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}
.status-list { list-style: none; padding: 0; margin: 0 0 0.85rem; font-size: 0.9rem; }
.status-list li { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.status-list span { color: var(--muted); }
.online-num { color: var(--blue-glow) !important; font-weight: 700; text-shadow: 0 0 8px rgba(212, 175, 55, 0.5); }

.login-box label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.login-box input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.15rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  border-radius: 6px;
  font-family: inherit;
}
.login-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.25), 0 0 12px rgba(212, 175, 55, 0.15);
}
.login-box .pts { color: var(--gold-bright); font-weight: 700; font-size: 1.1rem; }
.side-links { font-size: 0.85rem; text-align: center; margin: 0.5rem 0 0; }

.aac-menu h4 {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ember);
  font-family: var(--font-display);
}
.aac-menu ul { list-style: none; padding: 0; margin: 0; }
.aac-menu a {
  display: block;
  padding: 0.38rem 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all 0.15s;
}
.aac-menu a:hover, .aac-menu a.active {
  background: linear-gradient(90deg, rgba(212, 168, 75, 0.12), transparent);
  border-left-color: var(--gold);
  color: var(--gold-soft);
  text-decoration: none;
}

.top-list, .mini-online { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; }
.top-list li, .mini-online li { padding: 0.35rem 0; display: flex; gap: 0.4rem; align-items: center; }
.top-list .pos { color: var(--gold); font-weight: 700; font-family: var(--font-display); }
.top-list .lvl { margin-left: auto; color: var(--muted); font-size: 0.78rem; }
.widget-link { font-size: 0.8rem; display: block; margin-top: 0.5rem; color: var(--blue-glow); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #444; flex-shrink: 0; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.muted { color: var(--muted); }

/* Buttons — metal / forge */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #c9a227 0%, #8b6914 50%, #6b5010 100%);
  color: #1a1208;
  padding: 0.55rem 1.35rem;
  border: 1px solid #a08030;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  color: #0a0806;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(212, 168, 75, 0.45), 0 0 22px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary-glow {
  background: linear-gradient(180deg, #f0d878 0%, #9a7b2e 100%);
  color: #1a1208;
  border-color: #e8c86a;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary-glow:hover { color: #0a0806; box-shadow: 0 6px 28px rgba(212, 175, 55, 0.55); }
.btn-outline {
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold-soft);
  border: 1px solid var(--border-glow);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(212, 168, 75, 0.1);
  color: var(--gold-bright);
  border-color: var(--gold);
}
.btn-sm { padding: 0.38rem 0.8rem; font-size: 0.75rem; }
.btn-lg { padding: 0.8rem 2.2rem; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }

.flash {
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.flash-ok {
  background: rgba(110, 207, 110, 0.12);
  color: var(--ok);
  border-bottom: 1px solid rgba(110, 207, 110, 0.35);
}
.flash-err {
  background: rgba(196, 46, 46, 0.15);
  color: #ff8a8a;
  border-bottom: 1px solid rgba(196, 46, 46, 0.4);
}

/* Tables */
.aac-table, .tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.aac-table th, .aac-table td, .tbl th, .tbl td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.aac-table th, .tbl th {
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.35));
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.aac-table tr:hover td, .tbl tr:hover td { background: rgba(212, 175, 55, 0.06); }
.aac-table .online-yes { color: var(--blue-glow); font-weight: 600; text-shadow: 0 0 8px rgba(212, 175, 55, 0.4); }
.aac-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tabs a {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: var(--font-display);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.tabs a:hover { border-color: var(--gold); color: var(--gold-soft); text-decoration: none; }
.tabs a.active {
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  color: #1a1208;
  border-color: var(--gold);
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(212, 175, 55, 0.06);
}
.card.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(212, 168, 75, 0.15), inset 0 0 30px rgba(212, 168, 75, 0.03);
}
.card h3 {
  font-family: var(--font-display);
  color: var(--gold-soft);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0;
}
.grid2, .grid3, .shop-grid { display: grid; gap: 1rem; }
.grid2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shop-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.news-item { border-bottom: 1px solid var(--border); padding: 1.15rem 0; }
.news-item:last-child { border: 0; }
.news-meta { font-size: 0.8rem; color: var(--muted); }
.news-body { line-height: 1.65; color: var(--text); }

/* Cards de notícias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.news-grid--page { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-height: 200px;
}
.news-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}
.news-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.news-card__date { font-weight: 600; color: var(--blue-glow); }
.news-card__time { opacity: 0.8; margin-left: 0.35rem; }
.news-card__author { font-style: italic; }
.news-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}
.news-card__title a { color: var(--gold-bright); }
.news-card__title a:hover { color: var(--blue-glow); text-decoration: none; }
.news-card__excerpt {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.news-card__footer { margin-top: auto; }
.news-card__more { width: 100%; }

.news-article__breadcrumb { margin-bottom: 1rem; font-size: 0.9rem; }
.news-article__header { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.news-article__date { color: var(--blue-glow); font-weight: 600; }
.news-article__author { color: var(--muted); margin-left: 0.75rem; font-size: 0.9rem; }
.news-article__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-bright);
}
.news-article__body { font-size: 1rem; line-height: 1.65; }
.news-article__footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.page-title { margin: 0 0 0.35rem; }
.page-intro { color: var(--muted); margin: 0 0 1.5rem; }

.char-profile { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .char-profile { grid-template-columns: 1fr; } }
.char-outfit .player-outfit:not(.player-portrait),
.char-outfit img:not(.player-portrait) {
  image-rendering: pixelated;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}
.char-outfit .player-portrait {
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  max-height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}

/* Sprites Gesior (outfit.php + public/outfits/) */
.player-outfit {
  image-rendering: pixelated;
  vertical-align: middle;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.player-outfit.player-portrait {
  image-rendering: auto;
  object-fit: contain;
  object-position: bottom center;
}
.aac-table .outfit-col { width: 52px; padding: 0; }
.aac-table .outfit-cell {
  width: 52px;
  padding: 0.25rem 0.35rem;
  text-align: center;
  vertical-align: middle;
}
.aac-table .outfit-cell .player-outfit { display: block; margin: 0 auto; }
.aac-table .outfit-cell .player-portrait {
  max-height: 52px;
  width: auto;
  max-width: 46px;
}
.shop-delivery__outfit.player-portrait {
  max-height: 72px;
  width: auto;
  max-width: 64px;
}
.char-list__outfit .player-portrait {
  max-height: 56px;
  max-width: 48px;
}

.char-list--outfits { list-style: none; padding: 0; margin: 0; }
.char-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.char-list__item:last-child { border-bottom: 0; }
.char-list__outfit { flex-shrink: 0; line-height: 0; }
.char-list__info { display: flex; flex-direction: column; gap: 0.15rem; }
.char-list__info .muted { font-size: 0.85rem; color: var(--muted); }
.char-list--manage .char-list__item--manage {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.char-list__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .char-list--manage .char-list__item--manage {
    flex-direction: column;
    align-items: flex-start;
  }
  .char-list__actions {
    width: 100%;
    margin-left: 0;
    padding-top: 0.35rem;
  }
}
.char-action-form { margin: 0; display: inline; }
.char-manage-hint { margin: 0 0 1rem; line-height: 1.45; }
.char-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}
.char-badge--hidden { background: rgba(255, 193, 7, 0.15); color: #e8c547; }
.char-badge--online { background: rgba(94, 232, 122, 0.12); color: #5ee87a; }
.btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  line-height: 1.2;
}
.btn-danger {
  background: #8b2222;
  border-color: #a03030;
  color: #fff;
}
.btn-danger:hover:not(:disabled) {
  background: #a03030;
}
.char-delete-form {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  border: 1px solid rgba(139, 34, 34, 0.45);
  border-radius: 6px;
  background: rgba(139, 34, 34, 0.08);
}
.char-delete-form__warn { margin: 0 0 0.5rem; }
.char-delete-form__input {
  width: 100%;
  max-width: 280px;
  margin-bottom: 0.5rem;
}
.char-delete-form__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.char-search { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.char-search input { flex: 1; min-width: 200px; }

/* Home — spotlight servidor */
.server-spotlight {
  margin: -0.5rem -0.25rem 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.server-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(24, 22, 18, 0.5) 0%, rgba(6, 6, 8, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.server-spotlight__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.server-spotlight__logo {
  flex-shrink: 0;
  width: 108px;
  height: auto;
}
.server-spotlight__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
}
.server-spotlight__desc { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 480px; }
.server-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.65rem;
  margin: 0;
}
.server-spotlight__stat {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  text-align: center;
}
.server-spotlight__stat dt {
  margin: 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.server-spotlight__stat dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.server-spotlight__stat--online dd { color: var(--ok); text-shadow: 0 0 10px rgba(94, 232, 122, 0.4); }
.server-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .server-spotlight__actions { justify-content: flex-start; }
}

.home-section { margin-bottom: 2rem; }

.home-widgets-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .home-widgets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .home-widgets-grid { grid-template-columns: repeat(4, 1fr); }
}
.home-widget {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.home-widget h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.home-widget-list { margin: 0; padding: 0; list-style: none; }
.home-widget-list li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}
.home-widget-list .pos { color: var(--muted); min-width: 1.5rem; }
.home-widget-list .lvl { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.castle-status--open { color: var(--ok); }
.boost-name { margin: 0.25rem 0; font-size: 1rem; }
.info-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}
.info-hub-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.info-hub-card:hover {
  border-color: rgba(232, 197, 71, 0.45);
  transform: translateY(-2px);
}
.info-hub-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--gold-bright);
}
.info-hub-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.info-hub-card__more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-glow);
}
.page-guia__hero--compact { padding: 1.25rem 0 0.5rem; }
.page-guia__hero--compact .page-title { margin: 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(232, 197, 71, 0.25);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-head__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-glow);
  white-space: nowrap;
}
.section-intro { margin: -0.5rem 0 1rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.feature-card--vip { border-color: rgba(232, 197, 71, 0.4); }
.feature-card__icon {
  display: block;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.feature-card ul {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.88rem;
  color: var(--muted);
}
.feature-card ul code {
  font-size: 0.8em;
  color: var(--blue-glow);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
.feature-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-glow);
  margin-top: auto;
}
.motd-box--home { margin-bottom: 1.5rem; }

/* Hero home (legado) */
.hero-home {
  text-align: center;
  padding: 1rem 0 2rem;
}
.hero-logo {
  max-width: min(420px, 90vw);
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.2)) drop-shadow(0 0 50px rgba(232, 122, 42, 0.15)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
  animation: logo-glow 4s ease-in-out infinite alternate;
}
@keyframes logo-glow {
  from { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.15)) drop-shadow(0 8px 20px rgba(0,0,0,0.6)); }
  to { filter: drop-shadow(0 0 35px rgba(240, 208, 120, 0.25)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.2)) drop-shadow(0 8px 24px rgba(0,0,0,0.7)); }
}
.hero-home h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.hero-home .lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
}
.rate-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.rate-badges span {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.motd-box {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 168, 75, 0.08), transparent);
  border-left: 4px solid var(--gold);
  border: 1px solid var(--border);
  border-left-width: 4px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  margin: 0.2rem 0 0.85rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.2), 0 0 16px rgba(212, 175, 55, 0.12);
}
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
label small { text-transform: none; font-weight: 400; font-family: var(--font-body); opacity: 0.85; }

.hint { color: var(--muted); font-size: 0.88rem; }
.price { font-size: 1.25rem; color: var(--gold-bright); font-weight: 700; font-family: var(--font-display); }
.big { font-size: 2rem; color: var(--gold-bright); font-weight: 700; font-family: var(--font-display); }
.narrow { max-width: 440px; margin: 0 auto; }
.tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ember); font-weight: 600; font-family: var(--font-display); }

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(0deg, #020202 0%, #080808 100%);
  border-top: 2px solid rgba(201, 162, 39, 0.35);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.site-footer__logo {
  width: 72px;
  height: auto;
  opacity: 0.92;
}
.site-footer__text p { margin: 0.2rem 0; }
.site-footer__ip { color: var(--blue-glow); font-size: 0.8rem; }
.aac-foot, .foot-logo { /* legado */ display: none; }

/* Register */
.register-page { max-width: 920px; margin: 0 auto; }
.register-page--full .form-panel { margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.char-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.aac-content--wide { max-width: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.form-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  color: #1a1208;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.voc-panel { margin-bottom: 1rem; }

.sex-picker { display: flex; gap: 0.75rem; margin-bottom: 0.5rem; }
.sex-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  margin: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  background: rgba(0,0,0,0.25);
  transition: all 0.15s;
}
.sex-opt input { display: none; margin: 0; width: auto; }
.sex-opt:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212, 168, 75, 0.15), rgba(0, 0, 0, 0.3));
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.2);
  color: var(--gold-bright);
}

.voc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 800px) { .voc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .voc-grid { grid-template-columns: 1fr; } }

.voc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: all 0.2s;
}
.voc-card input { display: none; }
.voc-card:hover { border-color: var(--blue-dim); transform: translateY(-2px); }
.voc-card.selected {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212, 168, 75, 0.12), rgba(0, 0, 0, 0.4));
  box-shadow: 0 0 24px rgba(212, 168, 75, 0.2), 0 0 12px rgba(212, 175, 55, 0.1);
}
.voc-portrait-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 140px;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.25rem 0;
}
.voc-portrait {
  display: block;
  max-width: 100%;
  width: auto;
  height: 130px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
}
.voc-card:hover .voc-portrait { transform: scale(1.04); }
.voc-card.selected .voc-portrait { filter: drop-shadow(0 8px 18px rgba(212, 168, 75, 0.35)); }
.voc-outfit {
  image-rendering: pixelated;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.voc-card strong { color: var(--gold-bright); font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; }
.voc-full { font-size: 0.68rem; color: var(--muted); display: block; margin-top: 0.15rem; }
.voc-desc { font-size: 0.72rem; color: var(--gold-dim, #c9a84c); margin-top: 0.4rem; line-height: 1.25; font-weight: 600; letter-spacing: 0.03em; }

.form-actions { text-align: center; padding: 1rem 0; }
.form-actions .hint { margin-top: 0.75rem; }

@media (max-width: 640px) {
  .site-logo { height: 56px; }
  .brand-title { font-size: 1rem; }
  .brand-sub { display: none; }
  .aac-header-nav { width: 100%; justify-content: center; }
}

/* Wiki / Guia */
.aac-wrap--wiki { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.aac-content--wiki { max-width: none; padding: 1.25rem 0 2.5rem; }
.aac-header-nav a.active { color: var(--gold-bright); border-bottom: 1px solid var(--gold); }

.wiki-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; }
}

.wiki-sidebar {
  position: sticky;
  top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .wiki-sidebar { position: static; }
}

.wiki-nav-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(212, 168, 75, 0.08);
  border: 1px solid var(--border);
}
.wiki-nav-home.active,
.wiki-nav-home:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 75, 0.15);
  color: var(--gold-bright);
}

.wiki-nav-grid { display: flex; flex-direction: column; gap: 0.35rem; }
.wiki-nav-item {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.wiki-nav-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: 0.03em;
}
.wiki-nav-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.wiki-nav-item:hover,
.wiki-nav-item.active {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.25);
}
.wiki-nav-item.active strong { color: var(--gold-bright); }

.wiki-main { min-width: 0; }

.wiki-hero {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.9), rgba(12, 10, 8, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wiki-hero-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25));
}
.wiki-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-bright);
}
.wiki-hero .lead { max-width: 560px; margin: 0 auto; color: var(--muted); }

.wiki-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .wiki-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wiki-hub-grid { grid-template-columns: 1fr; } }

.wiki-hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  color: inherit;
  min-height: 140px;
}
.wiki-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 168, 75, 0.12);
  color: inherit;
}
.wiki-hub-card h2 {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-soft);
}
.wiki-hub-card p {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
.wiki-hub-arrow {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--blue-glow);
  font-weight: 600;
}
.wiki-hub-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.25), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--border);
}

.wiki-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.wiki-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.wiki-breadcrumb a { color: var(--blue-glow); }
.wiki-breadcrumb span { margin: 0 0.35rem; }

.wiki-page-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.wiki-page-head h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-bright);
}
.wiki-page-head .lead { margin: 0; color: var(--muted); }

.wiki-block { margin-bottom: 2rem; }
.wiki-h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wiki-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.wiki-stat {
  padding: 1rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wiki-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.wiki-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.wiki-stat-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--blue-dim);
  margin-top: 0.2rem;
}

.wiki-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--bronze);
  margin-left: 0.5rem;
}
.wiki-timeline li {
  position: relative;
  padding: 0 0 1.25rem 1.5rem;
}
.wiki-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 168, 75, 0.5);
}
.wiki-time {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-glow);
  margin-bottom: 0.25rem;
}
.wiki-timeline-body strong { color: var(--gold-soft); }
.wiki-timeline-body p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.92rem; }

.wiki-table-wrap { overflow-x: auto; }
.wiki-table { margin: 0; }

.wiki-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.wiki-card {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wiki-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  background: rgba(196, 46, 46, 0.2);
  color: var(--ember);
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.wiki-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-soft);
}
.wiki-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.wiki-commands { display: flex; flex-direction: column; gap: 0.5rem; }
.wiki-cmd-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  border: 1px solid var(--border);
}
@media (max-width: 560px) {
  .wiki-cmd-row { grid-template-columns: 1fr; gap: 0.25rem; }
}
.wiki-cmd {
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
  color: var(--gold-bright);
  background: rgba(212, 168, 75, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.wiki-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.wiki-list li { margin-bottom: 0.35rem; }

.wiki-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: wiki-step;
}
.wiki-steps li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.wiki-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 6px;
}
.wiki-step-body strong { color: var(--gold-soft); display: block; margin-bottom: 0.25rem; }
.wiki-step-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.wiki-callout {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue-glow);
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}
.wiki-callout-info { border-left-color: var(--blue-glow); }
.wiki-callout-warn {
  border-left-color: var(--ember);
  background: rgba(232, 122, 42, 0.1);
}
.wiki-callout-tip {
  border-left-color: var(--ok);
  background: rgba(110, 207, 110, 0.08);
}

.wiki-text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.wiki-page-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.wiki-next { font-weight: 600; color: var(--gold-soft); }

/* Home wiki teaser */
.wiki-home-teaser {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wiki-home-teaser h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--gold-soft);
  text-align: center;
}
.wiki-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}
@media (max-width: 700px) { .wiki-home-grid { grid-template-columns: repeat(2, 1fr); } }
.wiki-home-card {
  display: block;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s;
  color: inherit;
}
.wiki-home-card:hover {
  border-color: var(--gold);
  color: inherit;
}
.wiki-home-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--gold-soft);
}
.wiki-home-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Admin — reportes de bugs */
.report-list { display: flex; flex-direction: column; gap: 1rem; }
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.report-card--open { border-left: 4px solid var(--ember); }
.report-card--fixed { border-left: 4px solid var(--ok); opacity: 0.92; }
.report-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.report-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-glow);
  font-weight: 700;
}
.report-card__status {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.35);
  color: var(--muted);
  text-transform: uppercase;
}
.report-card--open .report-card__status { color: var(--ember); }
.report-card--fixed .report-card__status { color: var(--ok); }
.report-card__meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.5rem; }
.report-card__body { margin: 0 0 0.75rem; line-height: 1.5; }
.report-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Página Bug Report / ajuda */
.help-page--bug-report .help-page__hero {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(24, 22, 18, 0.45), rgba(6, 6, 8, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.help-page--bug-report .help-page__hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold-bright);
}
.help-page--bug-report .lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

.help-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.help-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.help-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 8px;
}
.help-step h2 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--gold-soft); font-family: var(--font-display); }
.help-step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.cmd-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cmd-card--primary { border-color: rgba(212, 175, 55, 0.35); box-shadow: 0 0 24px rgba(212, 175, 55, 0.08); }
.cmd-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.1rem;
}
.cmd-card__syntax {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  border-left: 3px solid var(--blue-glow);
}
.cmd-card__syntax code { color: var(--gold-bright); font-size: 0.88rem; }
.cmd-card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.9rem; }

.tag-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
  display: block;
  flex: 1 1 280px;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.tag-chip strong { color: var(--blue-glow); text-transform: lowercase; }

.help-list { margin: 0; padding-left: 1.25rem; color: var(--muted); line-height: 1.6; }
.help-list--checks { list-style: none; padding: 0; }
.help-list--checks li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.help-list--checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: bold;
}
.help-list ol.help-list { list-style: decimal; padding-left: 1.5rem; }

.help-page__cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
}
.help-page__cta p { color: var(--muted); margin-bottom: 1rem; }
.help-page__cta .btn { margin: 0.25rem; }

/* Doacoes / Pix */
.donate-page__hero { text-align: center; margin-bottom: 2rem; }
.donate-page__hero .lead { max-width: 640px; margin: 0 auto; color: var(--muted); }
.donate-page__promo {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: rgba(232, 197, 71, 0.15);
  border: 1px solid rgba(232, 197, 71, 0.4);
  border-radius: 6px;
  color: var(--gold-bright);
  font-size: 0.9rem;
}
.donate-package { position: relative; display: flex; flex-direction: column; }
.donate-package__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  background: var(--gold);
  color: #1a1208;
  border-radius: 4px;
  font-weight: 700;
}
.donate-package__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin: 0.25rem 0 0.75rem;
}
.donate-package__list { flex: 1; margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.btn-block { display: block; width: 100%; text-align: center; }
.donate-page__info { margin-top: 2rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.donate-page__history { margin-top: 2.5rem; }
.tag { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 4px; }
.tag-ok { background: rgba(94, 232, 122, 0.2); color: var(--ok); }
.tag-warn { background: rgba(255, 140, 66, 0.2); color: var(--ember); }

.donate-pay__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 768px) { .donate-pay__layout { grid-template-columns: 1fr; } }
.donate-pay__dl { margin: 0; }
.donate-pay__dl dt { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; margin-top: 0.65rem; }
.donate-pay__dl dd { margin: 0.15rem 0 0; font-weight: 600; }
.donate-pay__amount { font-size: 1.35rem; color: var(--gold-bright); }
.donate-pay__pix { text-align: center; }
.donate-pay__qr {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}
.donate-pay__copy {
  width: 100%;
  max-width: 480px;
  margin: 0.5rem auto 1rem;
  font-family: monospace;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.65rem;
}
.donate-pay__head { text-align: center; margin-bottom: 1.5rem; }
.donate-pay__back { text-align: center; margin-top: 1.5rem; }
.admin-inline-pay { display: inline; }

/* ===== Guia unificado (9 cards, sem lista duplicada) ===== */
.section-head--center { text-align: center; justify-content: center; }
.section-head--center h2 { width: 100%; }

.home-guia-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.home-guia-cta__intro {
  max-width: 640px;
  margin: 0 auto 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.home-guia-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

.page-guia { max-width: 100%; margin: 0 auto; }
.page-guia__hero {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.85), rgba(6, 6, 8, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page-guia__logo {
  width: min(220px, 52vw);
  height: auto;
  margin-bottom: 0.75rem;
}
.page-guia__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.page-guia__subtitle {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-guia__lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}
.page-guia__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.guide-section { margin: 0 auto; }
.guide-section__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.guide-section__head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.guide-section__intro {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.55;
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .guide-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .guide-cards-grid { grid-template-columns: 1fr; }
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 1.15rem 1.25rem;
  background: rgba(16, 16, 18, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: rgba(18, 16, 12, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 175, 55, 0.12);
  color: inherit;
}
.guide-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.guide-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.25), rgba(212, 175, 55, 0.2));
  border: 1px solid var(--border);
}
.guide-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}
.guide-card__desc {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.guide-card__link {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-glow);
}

.guide-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.guide-tabs__home,
.guide-tabs__item {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.guide-tabs__home:hover,
.guide-tabs__item:hover,
.guide-tabs__home.is-active,
.guide-tabs__item.is-active {
  color: var(--gold-bright);
  border-color: rgba(232, 197, 71, 0.5);
  background: rgba(232, 197, 71, 0.12);
}

.page-guia--section .wiki-page-head { border-bottom: none; padding-bottom: 0; margin-bottom: 1rem; }
.page-guia--section .wiki-breadcrumb { margin-bottom: 0.5rem; }
.wiki-section-body { max-width: 100%; }

.aac-content--wiki.aac-content--wide {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0 2rem;
}
.aac-content--wiki.aac-content--wide::before { display: none; }
.page-layout-full.page-wiki .aac-content--wiki {
  padding-left: 0;
  padding-right: 0;
}

/* ===== Visual refresh v11 — hero, banners, icons ===== */
.home-hero {
  position: relative;
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 40px rgba(212, 175, 55, 0.08);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-main);
  background-image: linear-gradient(180deg, rgba(6, 6, 8, 0.72) 0%, rgba(6, 6, 8, 0.94) 100%), var(--hero-bg, none);
  background-size: cover;
  background-position: center;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 20%, rgba(212, 175, 55, 0.15), transparent 60%);
  pointer-events: none;
}
.home-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 720px;
}
.home-hero__logo {
  width: min(420px, 88vw);
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}
.home-hero__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.home-hero__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.home-hero__online {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.home-hero__online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
  animation: pulse-online 2s ease-in-out infinite;
}
@keyframes pulse-online {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.home-updates .updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.update-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.update-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
}
.update-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.update-card a {
  font-size: 0.85rem;
  color: var(--blue-glow);
  text-decoration: none;
  font-weight: 600;
}
.update-card a:hover { text-decoration: underline; }

.feature-card__img,
.quick-link-card__icon,
.guide-card__icon,
.shop-card__icon,
.page-banner__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.feature-card__icon { display: none; }
.guide-card__icon {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  border-radius: 0;
}

.home-guia-cta--visual {
  background: linear-gradient(135deg, rgba(24, 22, 18, 0.4), rgba(6, 6, 8, 0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.home-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .home-quick-links { grid-template-columns: 1fr; }
}
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.quick-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.page-banner {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(20, 18, 14, 0.6), rgba(6, 6, 8, 0.9));
}
.page-banner__inner,
.page-banner--donate {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.page-banner--donate { flex-wrap: wrap; }
.page-banner--community {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.page-banner__title,
.page-banner h1 { margin: 0 0 0.35rem; font-family: var(--font-display); color: var(--gold-bright); }
.page-banner__lead,
.page-banner .lead { margin: 0; color: var(--muted); font-size: 0.95rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filter-bar label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; color: var(--muted); }
.filter-bar select { min-width: 140px; }

.detail-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0 0 1rem;
}
.detail-dl dt { color: var(--muted); }
.detail-dl dd { margin: 0; }

.callout--warn {
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 180, 60, 0.35);
  background: rgba(232, 180, 60, 0.08);
  color: var(--muted);
}
.callout--warn code { color: var(--gold-soft); }

.exp-table-wrap { max-height: 70vh; overflow: auto; }
.aac-table--compact td, .aac-table--compact th { padding: 0.35rem 0.65rem; font-size: 0.88rem; }
.pg-pos { color: #6dd96d; }

.radio-group { border: none; margin: 1rem 0; padding: 0; }
.radio-group legend { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.radio-group label { display: block; margin: 0.4rem 0; font-size: 0.92rem; }

.shop-page .shop-balance {
  padding: 0.75rem 1rem;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid rgba(232, 197, 71, 0.25);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.shop-delivery {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(24, 22, 18, 0.45), rgba(6, 6, 8, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.shop-delivery__outfit-wrap {
  flex-shrink: 0;
  padding: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid var(--border);
  border-radius: var(--radius);
}
.shop-delivery__fields { flex: 1; min-width: 200px; }
.shop-delivery__fields label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.shop-delivery__fields select { width: 100%; max-width: 320px; }
.shop-delivery__hint { margin: 0.5rem 0 0; font-size: 0.82rem; }

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.shop-tabs__btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.shop-tabs__btn:hover { border-color: var(--blue-dim); color: var(--text); }
.shop-tabs__btn.active {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(212, 168, 75, 0.12);
}
.shop-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.shop-tabs__icon {
  image-rendering: pixelated;
  flex-shrink: 0;
}
.shop-card__category-icon--store {
  max-width: 72px;
  max-height: 72px;
  image-rendering: auto;
}
.shop-card__visual--mount .mount-sprite {
  image-rendering: pixelated;
  max-height: 72px;
  width: auto;
}
.item-slot--lg {
  width: 72px;
  height: 72px;
}

/* Highscores — icones de skill */
.tabs--highscores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.hs-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hs-tab:hover {
  border-color: var(--blue-dim);
  color: var(--text);
}
.hs-tab.active {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(212, 168, 75, 0.12);
}
.hs-tab__icon,
.skill-icon,
.hs-active-skill__icon {
  image-rendering: pixelated;
  flex-shrink: 0;
}
.hs-active-skill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hs-col-skill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.char-skill-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-banner__icon--gesior {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
}

.item-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--item-slot-bg, url('../images/items/bg.png')) center / contain no-repeat;
}
.item-slot__sprite {
  image-rendering: pixelated;
  pointer-events: none;
}
.item-sprite-fallback {
  image-rendering: pixelated;
  opacity: 0.85;
}

.shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.shop-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.shop-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.shop-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: -0.25rem 0 0.75rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
}
.shop-card__qty {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 1px 2px #000;
}
.shop-card__category-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.shop-card .tag {
  align-self: center;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag--vip { background: rgba(212, 168, 75, 0.2); color: var(--gold-bright); }
.tag--power { background: rgba(200, 80, 80, 0.2); color: #f0a0a0; }
.tag--utilidade { background: rgba(212, 175, 55, 0.15); color: var(--blue-glow); }
.tag--eventos { background: rgba(120, 200, 120, 0.15); color: #9ee09e; }
.tag--addon { background: rgba(180, 120, 255, 0.18); color: #d4b8ff; }
.tag--cosmetico { background: rgba(255, 160, 200, 0.15); color: #ffb8d8; }
.tag--decoracao { background: rgba(160, 140, 100, 0.2); color: #e8d4a8; }

.shop-upsell {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(212, 175, 55, 0.06));
}
.shop-upsell h2 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--gold-bright); }
.shop-upsell__list { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.shop-section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--gold-bright);
}
.shop-grid--featured { margin-bottom: 0.5rem; }
.shop-card--highlight {
  border-color: rgba(212, 168, 75, 0.45);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.12);
}

.shop-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--gold-bright);
}
.shop-card__desc {
  flex: 1;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.shop-card__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--gold);
}
.shop-card__price-icon { image-rendering: pixelated; opacity: 0.9; }
.shop-card__form { width: 100%; margin-top: auto; }
.shop-card__buy { width: 100%; }

.shop-card__icon { margin-bottom: 0.5rem; }

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .download-grid { grid-template-columns: 1fr; }
}
.download-card--featured { overflow: hidden; }
.download-card__visual {
  margin: -1rem -1rem 1rem;
  height: 120px;
  overflow: hidden;
  opacity: 0.85;
}
.download-card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.download-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}
.download-stats dt { font-size: 0.7rem; text-transform: uppercase; color: var(--muted); }
.download-stats dd { margin: 0; font-weight: 700; color: var(--gold-bright); }

.news-card {
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bronze), var(--gold-bright), var(--gold));
}

/* === Piano black + dourado — refinamentos === */
.status-box,
.login-box,
.widget,
.card,
.form-panel,
.filter-bar {
  background: linear-gradient(165deg, rgba(22, 22, 24, 0.98), rgba(11, 11, 13, 0.99));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 var(--piano-line);
}
.guide-card {
  background: linear-gradient(165deg, rgba(20, 20, 22, 0.96), rgba(8, 8, 10, 0.98));
}
.guide-card:hover {
  border-color: rgba(232, 200, 106, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(212, 175, 55, 0.12);
}
.home-hero {
  box-shadow: var(--shadow), 0 0 56px rgba(212, 175, 55, 0.07);
  border-color: rgba(201, 162, 39, 0.25);
}
.server-spotlight__grid,
.page-banner,
.page-guia__hero {
  background: linear-gradient(135deg, rgba(22, 20, 16, 0.9), rgba(6, 6, 8, 0.96));
}
.motd-box {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(201, 162, 39, 0.05), transparent);
  border-left-color: var(--gold);
}
.login-box input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.22), 0 0 18px rgba(212, 175, 55, 0.08);
}
.shop-page .shop-balance {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--gold-bright);
}

.home-novidades-otc__intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  color: var(--text-muted);
}
.home-novidades-otc__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.update-card--highlight {
  border-color: rgba(232, 200, 106, 0.45);
  background: linear-gradient(165deg, rgba(28, 24, 14, 0.95), rgba(10, 10, 12, 0.98));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 175, 55, 0.1);
}
.update-card--highlight .tag {
  margin-bottom: 0.5rem;
}
.update-card--highlight .btn-sm {
  margin-top: 0.75rem;
}

/* ===== Admin economia ===== */
.admin-economy .eco-health-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.75rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.admin-economy .eco-grade {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  min-width: 3rem;
  text-align: center;
}
.admin-economy .grade-a .eco-grade { color: #6ee7a0; }
.admin-economy .grade-b .eco-grade { color: #93c5fd; }
.admin-economy .grade-c .eco-grade { color: #fbbf24; }
.admin-economy .grade-d .eco-grade { color: #f87171; }
.admin-economy .eco-score-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}
.admin-economy .eco-score-label { color: var(--muted); margin-left: 0.25rem; }
.admin-economy .eco-summary { flex: 1 1 220px; margin: 0; color: var(--muted); }
.admin-economy .eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-economy .eco-stat .eco-big {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0.35rem 0;
}
.admin-economy .eco-alerts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.admin-economy .eco-alert {
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
}
.admin-economy .eco-alert--critical { border-left-color: #f87171; }
.admin-economy .eco-alert--warning { border-left-color: #fbbf24; }
.admin-economy .eco-alert--info { border-left-color: #93c5fd; }
.admin-economy .eco-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-economy .tbl-compact td.pos { color: #6ee7a0; }
.admin-economy .tbl-compact td.neg { color: #f87171; }
.admin-economy .eco-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-economy .eco-bar {
  flex: 1;
  min-width: 6px;
  max-width: 24px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.35));
  border-radius: 3px 3px 0 0;
}

/* ===== Guildas (gestão estilo Gesior) ===== */
.guild-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
}
.guild-form label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.guild-form input,
.guild-form select,
.guild-form textarea {
  width: 100%;
  max-width: 28rem;
}
.guild-form--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}
.guild-form--inline input {
  flex: 1 1 12rem;
  max-width: none;
}
.guild-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.guild-panel__block h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
}
.guild-panel__block--danger {
  border-color: rgba(200, 68, 68, 0.35);
}
.guild-manage-nav {
  margin: 0 0 1rem;
  color: var(--muted);
}
.guild-manage-nav a { color: var(--gold); }
.guild-invite-list {
  display: grid;
  gap: 1rem;
}
.guild-invite-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.guild-pending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guild-pending-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.guild-pending-list li:last-child { border-bottom: none; }
.guild-inline-form { display: inline; margin: 0; }
.guild-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.guild-member-actions .btn-sm {
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
}
.guild-logo {
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.35);
}
.guild-list-logo {
  width: 48px;
  padding: 0.25rem !important;
  vertical-align: middle;
}
.guild-detail-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.guild-detail-head__logo { flex-shrink: 0; }
.guild-logo-preview {
  margin-bottom: 1rem;
}
.guild-panel__block--logo .guild-logo {
  margin: 0 auto 0.75rem;
}

/* ===== Player de música (home) ===== */
.site-music {
  position: sticky;
  top: 0;
  z-index: 250;
  background: linear-gradient(90deg, #0a0a0c 0%, #141210 50%, #0a0a0c 100%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-music__audio {
  display: none;
}

.site-music__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.site-music__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex-shrink: 0;
  opacity: 0.35;
}

.site-music.is-playing .site-music__pulse {
  animation: site-music-pulse 1.2s ease-in-out infinite;
  opacity: 1;
}

@keyframes site-music-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { transform: scale(1.25); box-shadow: 0 0 12px 4px rgba(212, 175, 55, 0.35); }
}

.site-music__title {
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 40vw);
}

.site-music__controls {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.site-music__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.site-music__btn:hover {
  background: rgba(201, 162, 39, 0.2);
  border-color: var(--gold-soft);
}

.site-music__btn:active {
  transform: scale(0.96);
}

.site-music__icon--play,
.site-music.is-playing .site-music__icon--pause {
  display: inline;
}

.site-music__icon--pause,
.site-music.is-playing .site-music__icon--play {
  display: none;
}

.site-music.is-paused .site-music__icon--play {
  display: inline;
}

.site-music.is-paused .site-music__icon--pause {
  display: none;
}

.site-music__icon--muted {
  display: none;
}

.site-music.is-muted .site-music__icon--sound {
  display: none;
}

.site-music.is-muted .site-music__icon--muted {
  display: inline;
}

.site-music__hint {
  flex: 1 1 100%;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-music__title {
    max-width: 140px;
    font-size: 0.8rem;
  }
  .site-music__bar {
    padding: 0.4rem 0.65rem;
  }
}

/* Senha: mostrar/ocultar */
.field-password {
  position: relative;
  display: flex;
  align-items: stretch;
}
.field-password input {
  flex: 1;
  padding-right: 2.5rem;
}
.field-password__toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  opacity: 0.75;
  border-radius: 4px;
}
.field-password__toggle:hover { opacity: 1; background: rgba(255,255,255,0.06); }

/* Dados sensíveis (conta / e-mail) */
.sensitive-field { margin-bottom: 0.85rem; }
.sensitive-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.sensitive-field__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.sensitive-field__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--gold-soft);
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
}
.sensitive-field__toggle:hover { border-color: var(--gold-dim); }
.sensitive-field__value {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  word-break: break-all;
}
.login-box .sensitive-field__value { font-size: 0.95rem; }
.sensitive-field__hint { margin: 0.25rem 0 0; font-size: 0.78rem; }
.account-private__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Roleta animada */
.roulette-card { grid-column: 1 / -1; }
.roulette-card__meta { margin: 0 0 1rem; font-size: 0.9rem; }
.roulette-card__free { color: var(--ok); }
.roulette-machine {
  margin: 0 auto 1rem;
  max-width: 100%;
  width: min(480px, 100%);
}
.roulette-machine__frame {
  position: relative;
  border: 3px solid var(--gold-dim);
  border-radius: 12px;
  background: linear-gradient(180deg, #2a2218 0%, #12100c 55%, #0a0908 100%);
  box-shadow: inset 0 0 32px rgba(232, 197, 71, 0.08), 0 8px 28px rgba(0,0,0,0.5);
  overflow: hidden;
}
.roulette-machine__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(232, 197, 71, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 100%
  );
  z-index: 2;
}
.roulette-machine__pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold-bright), transparent);
  z-index: 4;
  box-shadow: 0 0 14px rgba(232, 197, 71, 0.9);
  pointer-events: none;
}
.roulette-machine__pointer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 10px solid transparent;
  border-right-color: var(--gold-bright);
  margin-left: -6px;
  filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.9));
}
.roulette-machine__viewport {
  position: relative;
  overflow: hidden;
  height: 108px;
  padding: 10px 0;
}
.roulette-machine__viewport::before,
.roulette-machine__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  z-index: 3;
  pointer-events: none;
}
.roulette-machine__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #0a0908 30%, transparent);
}
.roulette-machine__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #0a0908 30%, transparent);
}
.roulette-machine__strip {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  will-change: transform;
  padding-left: 0;
}
.roulette-machine__item {
  flex: 0 0 auto;
  width: 140px;
  min-width: 140px;
  height: 88px;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(40, 35, 28, 0.95), rgba(18, 16, 12, 0.98));
  border: 2px solid rgba(232, 197, 71, 0.22);
  box-shadow:
    inset 0 0 20px rgba(232, 197, 71, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.roulette-machine__icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.roulette-machine__badge {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--prize-color, var(--gold-bright));
  text-shadow: 0 0 10px rgba(232, 197, 71, 0.35);
}
.roulette-machine__label {
  font-size: 0.65rem;
  color: #b8b0a0;
  text-align: center;
  padding: 0 0.35rem;
  line-height: 1.15;
  max-width: 100%;
}
.roulette-machine__item.is-winner {
  transform: scale(1.06);
  border-color: var(--gold-bright);
  box-shadow:
    0 0 24px rgba(232, 197, 71, 0.55),
    inset 0 0 16px rgba(232, 197, 71, 0.15);
  z-index: 1;
}
.roulette-card.is-active .roulette-machine__frame {
  animation: roulette-glow 0.5s ease-in-out infinite alternate;
}
.roulette-card.is-active .roulette-machine__shine {
  animation: roulette-shine 1.2s linear infinite;
}
@keyframes roulette-glow {
  from { box-shadow: inset 0 0 24px rgba(232, 197, 71, 0.1), 0 0 16px rgba(232, 197, 71, 0.2); }
  to { box-shadow: inset 0 0 36px rgba(232, 197, 71, 0.2), 0 0 36px rgba(232, 197, 71, 0.45); }
}
@keyframes roulette-shine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.roulette-machine__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}
.roulette-confetti__piece {
  position: absolute;
  top: -12px;
  left: 50%;
  border-radius: 2px;
  opacity: 0;
  animation: roulette-confetti-fall 2.2s ease-out forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes roulette-confetti-fall {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), 140px) rotate(var(--rot, 360deg));
  }
}
.roulette-card.is-celebrating .roulette-machine__frame {
  animation: roulette-party 0.45s ease-in-out 4;
}
.roulette-machine__frame.is-jackpot {
  border-color: var(--gold-bright);
  box-shadow: 0 0 40px rgba(232, 197, 71, 0.65), inset 0 0 30px rgba(232, 197, 71, 0.2);
}
@keyframes roulette-party {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.02) rotate(-0.5deg); }
  75% { transform: scale(1.02) rotate(0.5deg); }
}
.roulette-card__result {
  min-height: 1.5rem;
  text-align: center;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.roulette-card__result.is-win { color: var(--ok); }
.roulette-card__result.is-big-win {
  color: var(--gold-bright);
  font-size: 1.1rem;
  text-shadow: 0 0 12px rgba(232, 197, 71, 0.5);
  animation: roulette-result-pop 0.6s ease;
}
@keyframes roulette-result-pop {
  0% { transform: scale(0.9); opacity: 0.5; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
.roulette-card__result.is-err { color: #f88; }
.roulette-card__spin { display: block; width: 100%; max-width: 280px; margin: 0 auto; }
.roulette-card__spin.is-spinning { opacity: 0.7; pointer-events: none; }

/* Guild emblema — requisitos */
.guild-upload-hint {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid rgba(232, 197, 71, 0.25);
  border-radius: var(--radius);
  font-size: 0.82rem;
}
.guild-upload-hint strong { color: var(--gold-bright); display: block; margin-bottom: 0.35rem; }
.guild-upload-hint ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.guild-upload-hint li { margin: 0.2rem 0; }

.shop-card--hidden { display: none !important; }
.shop-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.shop-card__visual--outfit {
  min-height: 88px;
  background: linear-gradient(180deg, rgba(12, 28, 24, 0.9), rgba(6, 12, 10, 0.95));
}
.shop-outfit-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.shop-outfit-pair__sprite {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}
.shop-tabs--baiak .shop-tabs__btn {
  border-radius: 4px 4px 0 0;
}
.shop-page--guild .page-banner__icon--gesior {
  max-height: 48px;
  width: auto;
  image-rendering: pixelated;
}
.shop-card--guild .tag--guild {
  background: rgba(120, 180, 255, 0.15);
  border-color: rgba(120, 180, 255, 0.35);
  color: #9ec8ff;
}
.shop-card__price--gp strong { color: #7eb8ff; }
.donate-package__visual {
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 32px;
}
.donate-package__icon {
  max-height: 40px;
  width: auto;
  image-rendering: pixelated;
}
.shop-card__visual .item-slot {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: var(--item-slot-bg, transparent) center/34px no-repeat;
}
.shop-card__visual .item-slot__sprite {
  image-rendering: pixelated;
}

/* Admin lojas */
.admin-shop__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 960px) {
  .admin-shop__grid { grid-template-columns: 1fr; }
}
.admin-shop-form label { display: block; margin: 0.65rem 0 0.25rem; font-size: 0.82rem; color: var(--muted); }
.admin-shop-form input[type="text"],
.admin-shop-form input[type="number"],
.admin-shop-form textarea,
.admin-shop-form select { width: 100%; max-width: 100%; }
.admin-shop__thumb { width: 56px; }
.admin-shop__icon-sm { width: 32px; height: 32px; }
.shop-outfit-pair--tiny .shop-outfit-pair__sprite { width: 28px; height: 28px; }
.admin-shop__row--off { opacity: 0.45; }
.admin-shop__actions { white-space: nowrap; }
.admin-shop__actions .btn-sm { margin: 0 0.15rem; }
.btn-danger { background: rgba(180, 60, 60, 0.35); border-color: #c44; color: #fcc; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.admin-shop__tabs .shop-tabs__btn.active { pointer-events: none; }
.admin-shop__preview {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(0,0,0,0.35);
  border-radius: var(--radius);
  min-height: 64px;
}
.donate-pay__pix-key-box {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 168, 75, 0.35);
  border-radius: var(--radius);
  text-align: center;
}
.donate-pay__pix-key-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; }
.donate-pay__pix-key-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
  word-break: break-all;
  margin: 0.5rem 0;
}
.donate-pay__steps { margin: 1rem 0; padding-left: 1.2rem; color: var(--muted); }
.donate-pay__steps li { margin: 0.35rem 0; }
.donate-pay__qr-details { margin-top: 1rem; }
.donate-proof__hero { text-align: center; margin-bottom: 1.5rem; }
.donate-proof-form label { display: block; margin: 0.75rem 0 0.25rem; font-size: 0.85rem; color: var(--muted); }
.donate-proof-form input[type="file"],
.donate-proof-form textarea { width: 100%; max-width: 100%; }
.deposit-queue-list { display: flex; flex-direction: column; gap: 1.25rem; }
.deposit-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.deposit-card__proof-img {
  max-width: 100%;
  max-height: 320px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.deposit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-shop__credit-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .admin-shop__credit-layout { grid-template-columns: 1fr; }
}
.admin-shop__grant-card {
  border-color: rgba(212, 168, 75, 0.35);
}
.admin-grant-form .btn-primary-glow { margin-top: 1rem; }
.tbl-compact .pos { color: #6dd96d; font-weight: 600; }

/* CMS admin */
.admin-cms__nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.admin-cms__group { margin-bottom: 1.25rem; }
.admin-cms__actions { white-space: nowrap; }
.admin-cms-form label { display: block; margin: 0.65rem 0 0.25rem; font-size: 0.82rem; color: var(--muted); }
.admin-cms-form input[type="text"],
.admin-cms-form input[type="file"],
.admin-cms-form textarea,
.admin-cms-form select { width: 100%; max-width: 100%; }
.admin-cms-textarea { font-family: inherit; line-height: 1.45; min-height: 12rem; }
.admin-cms-textarea--mono { font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; }
.admin-cms-toolbar { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0; }
.admin-cms-form__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.admin-cms-delete { margin-top: 1rem; }
.admin-cms-upload { margin-top: 1rem; padding: 0.75rem; border: 1px dashed rgba(212, 168, 75, 0.35); border-radius: var(--radius); }
.badge { display: inline-block; padding: 0.15rem 0.45rem; font-size: 0.72rem; border-radius: 4px; background: rgba(255,255,255,0.08); }
.badge-ok { background: rgba(80, 160, 80, 0.25); color: #9ee59e; }
.cms-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 0.75rem 0; }
.cms-body h2, .cms-body h3 { margin: 1rem 0 0.5rem; color: var(--gold); }
.news-card__thumb { display: block; margin: 0.5rem 0; border-radius: var(--radius); overflow: hidden; }
.news-card__thumb img { width: 100%; max-height: 140px; object-fit: cover; }
.news-article__cover { margin: 0 0 1rem; }
.news-article__cover img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); }
.admin-news-preview img { max-width: 280px; border-radius: var(--radius); }
.admin-check { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }

/* Mobile navigation overlay (Undaia) */
.nav-toggle {
  display: none;
  margin: 0 auto 0.75rem;
  padding: 0.55rem 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-direction: column;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  min-width: 120px;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle__text { font-size: 0.65rem; letter-spacing: 0.14em; }
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-header { position: sticky; top: 0; }
  .main-nav {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    z-index: 300;
    margin: 0;
    padding: calc(4.5rem + env(safe-area-inset-top, 0)) 0.75rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(5, 5, 5, 0.97);
    border: 0;
  }
  .site-header.is-nav-open .main-nav { display: block; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
  }
  .nav-backdrop[hidden] { display: none !important; }
  body.nav-open { overflow: hidden; touch-action: none; }
  .main-nav__list { flex-direction: column; max-width: none; align-items: stretch; }
  .main-nav__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); text-align: left; }
  .main-nav__item > a,
  .main-nav__label {
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .main-nav__item--has-sub > .main-nav__label::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--gold-soft);
    font-weight: 400;
  }
  .main-nav__item--has-sub.main-nav__item--open > .main-nav__label::after { content: '−'; }
  .main-nav__sub {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.35);
    min-width: 0;
  }
  .main-nav__item--has-sub.main-nav__item--open .main-nav__sub { display: block; }
  .main-nav__item--has-sub:hover .main-nav__sub { display: none; }
  .main-nav__item--has-sub.main-nav__item--open:hover .main-nav__sub { display: block; }
  .main-nav__sub a { padding: 0.7rem 1.25rem; min-height: 44px; display: flex; align-items: center; }
  .server-info-bar__item--rates { display: none; }
  .server-info-bar__actions { width: 100%; }
  .server-info-bar__actions .btn { flex: 1; text-align: center; min-height: 44px; }
  .home-hero__cta { flex-direction: column; align-items: stretch; }
  .home-hero__cta .btn { width: 100%; text-align: center; }
  .updates-grid, .feature-grid, .home-novidades-otc__grid { grid-template-columns: 1fr; }
  .guide-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .shop-grid { grid-template-columns: 1fr; }
  .site-header__logo { width: min(140px, 40vw); }
}

/* Redes sociais (barra superior) */
.social-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.social-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.social-bar__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.social-bar__link--discord {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
  color: #aeb8ff;
}
.social-bar__link--instagram {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.35);
  color: #ffb3d0;
}
.social-bar__link--whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.45);
  color: #9effc4;
}
.site-footer__social {
  margin-top: 0.65rem;
}
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.55);
  color: #fff;
}
.whatsapp-float__text {
  max-width: 8rem;
  line-height: 1.2;
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.65rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  .whatsapp-float__text { display: none; }
}
.help-page__whatsapp {
  margin: 0.75rem 0 1rem;
}
.main-nav__whatsapp {
  color: #9effc4 !important;
}
.community-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
}
@media (max-width: 900px) {
  .social-bar { width: 100%; justify-content: center; }
  .social-bar__link span { display: none; }
  .social-bar__link { padding: 0.45rem 0.55rem; min-height: 44px; min-width: 44px; justify-content: center; }
}

/* Paginas de autenticacao */
.auth-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}
.auth-page--narrow { max-width: 520px; }
.auth-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .auth-page__grid { grid-template-columns: 1fr; }
}
.auth-page__intro h1 {
  font-family: var(--font-display);
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}
.auth-page__intro .lead { margin: 0 0 1rem; color: var(--muted); line-height: 1.5; }
.auth-page__features {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.55;
}
.auth-page__features li { margin: 0.35rem 0; }
.auth-page__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.social-chip {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
}
.social-chip--discord { background: rgba(88, 101, 242, 0.15); color: #aeb8ff; border-color: rgba(88, 101, 242, 0.4); }
.social-chip--instagram { background: rgba(225, 48, 108, 0.12); color: #ffb3d0; border-color: rgba(225, 48, 108, 0.35); }
.social-chip--whatsapp { background: rgba(37, 211, 102, 0.14); color: #9effc4; border-color: rgba(37, 211, 102, 0.45); }
.auth-card {
  padding: 1.25rem 1.35rem;
  background: linear-gradient(165deg, rgba(22, 20, 16, 0.95), rgba(10, 9, 8, 0.98));
  border: 1px solid rgba(232, 197, 71, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.auth-card__lock { margin-bottom: 1rem; }
.auth-card__links { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.auth-form label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.auth-form label:first-child { margin-top: 0; }
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  max-width: 100%;
}
.callout {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.45;
}
.callout--err {
  background: rgba(180, 60, 60, 0.12);
  border-color: rgba(220, 80, 80, 0.35);
  color: #ffb0b0;
}
.callout--tip {
  background: rgba(80, 140, 200, 0.1);
  border-color: rgba(100, 160, 220, 0.3);
  color: #b8d4f0;
}
.callout--gold {
  background: rgba(232, 197, 71, 0.1);
  border-color: rgba(232, 197, 71, 0.35);
  color: var(--text);
  text-align: center;
}
.callout--ok {
  background: rgba(60, 160, 80, 0.12);
  border-color: rgba(80, 200, 100, 0.35);
}
.recovery-key-card { max-width: 560px; margin: 0 auto; }
.recovery-key-card__label {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.recovery-key-card__key {
  margin: 0 0 1rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(232, 197, 71, 0.35);
  word-break: break-all;
}
.recovery-key-card__tips {
  margin: 1.25rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.5;
}
.recovery-key-card__tips a { color: var(--gold-soft); }
.radio-group {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}
.radio-group legend {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0 0.25rem;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  cursor: pointer;
}

/* Busca global */
.site-header__search { margin: 0.5rem auto 0; max-width: 360px; width: 100%; }
.global-search {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}
.global-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
}
.global-search__btn {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  border-radius: var(--radius);
  padding: 0 0.65rem;
  cursor: pointer;
}
.global-search--page { max-width: 520px; margin: 1rem 0; }
.search-section { margin: 1.25rem 0; }
.search-results-list { list-style: none; padding: 0; margin: 0; }
.search-results-list li { padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Status / eventos / comunidade */
.server-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.server-dot--ok { background: #5ee87a; box-shadow: 0 0 6px #5ee87a; }
.server-dot--err { background: #f66; box-shadow: 0 0 6px #f66; }
.server-dot--warn { background: #f0a030; box-shadow: 0 0 6px #f0a030; }
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.status-dl { margin: 0; }
.status-dl div { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.status-dl dt { color: var(--muted); margin: 0; }
.status-dl dd { margin: 0; font-weight: 700; color: var(--gold-soft); }
.status-badge { font-weight: 700; margin: 0 0 0.5rem; }
.status-badge--ok { color: var(--ok); }
.status-badge--err { color: #f88; }
.status-badge--warn { color: #f0a030; }
.status-badge--live { color: #ff6b6b; animation: pulse-live 1.2s ease infinite; }
@keyframes pulse-live { 50% { opacity: 0.65; } }
.copy-connect { margin: 0.75rem 0; }
.copy-connect__label { font-size: 0.75rem; color: var(--muted); margin: 0 0 0.25rem; text-transform: uppercase; }
.copy-connect__value { font-family: ui-monospace, Consolas, monospace; font-weight: 700; margin: 0 0 0.5rem; }
.events-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.event-card__head { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.5rem; }
.event-card__icon { font-size: 1.75rem; line-height: 1; }
.event-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
}
.event-card--live .event-card__badge { background: rgba(255,80,80,0.2); color: #ffb0b0; }
.event-card--active .event-card__badge { background: rgba(80,200,120,0.15); color: #9ee59e; }
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.community-card--discord { border-color: rgba(88,101,242,0.35); }
.community-card--instagram { border-color: rgba(225,48,108,0.35); }
.community-links { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.home-live-feed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.home-event-mini { margin: 0.35rem 0; font-size: 0.88rem; }
.account-security__block { margin: 1rem 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.account-security__block:first-of-type { border-top: 0; padding-top: 0; }
.account-security__block h4 { margin: 0 0 0.5rem; color: var(--gold-soft); font-size: 0.9rem; }
.referral-code-display { font-size: 1.05rem; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .site-header__search { max-width: none; padding: 0 0.5rem; }
  .global-search--page { flex-direction: column; }
}
