/*
 * auroria.css — Auroria Shard  ·  Premium Medieval Dark Fantasy
 * v2.1  |  Paleta alinhada à Loja (navy + ouro + teal) — Bootstrap 5 + Cinzel + Poppins
 */

/* ============================================================
   0. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Background — alinhado à Loja Auroria (css/auroria-medieval.css) */
  --bg-void:        #070c18;
  --bg-base:        #0d1628;
  --bg-mid:         #131f38;
  --bg-surface:     #131f38;
  --bg-surface-alt: #1a2a4a;
  --bg-raised:      #1f3358;

  --border-main:    #1e2e4e;

  /* Gold — loja (--aur-gold, --aur-gold-light, …) */
  --gold-dim:       #7a5a18;
  --gold:           #c9962a;
  --gold-mid:       #d4a94a;
  --gold-bright:    #e8c86b;
  --gold-light:     #f0d272;
  --gold-glow:      #f5e9c4;
  --gold-pale:      #f5e9c4;

  /* CTA — gradiente ouro da loja */
  --gold-cta-top:    #f0d272;
  --gold-cta-mid:    #c9962a;
  --gold-cta-bottom: #6a4a0c;

  /* Teal — links / hover secundário (loja) */
  --teal:            #1a9090;
  --teal-light:      #28c8c8;

  /* Legado: âmbar usado em ícones / accent-color → ouro + teal no hover */
  --amber:           #a06810;
  --amber-mid:       #c9962a;
  --amber-bright:    #e8c86b;
  --amber-glow:      #28c8c8;

  /* Texto — loja (--aur-text, --aur-text-muted, --aur-text-dim) */
  --txt-parchment:   #f5e9c4;
  --txt-body:        #e0d4b8;
  --txt-muted:       #7a8aac;
  --txt-dim:         #3e5070;
  --txt-gold:        var(--gold-bright);
  --txt-gold-bright: var(--gold-light);
  --txt-link:        #e8c86b;

  /* Status */
  --online:         #3a9a4a;
  --online-glow:    rgba(58, 154, 74, 0.7);
  --offline:        #9a3030;
  --offline-glow:   rgba(154, 48, 48, 0.7);

  /* Chaos / Order */
  --chaos:          #c03030;
  --chaos-bg:       rgba(180, 35, 35, 0.22);
  --chaos-border:   rgba(200, 60, 60, 0.45);
  --order:          #3060c8;
  --order-bg:       rgba(35, 70, 190, 0.22);
  --order-border:   rgba(60, 110, 220, 0.45);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.55);
  --shadow-md:  0 4px 18px rgba(0,0,0,0.7);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.85);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.9);
  --glow-gold:  0 0 24px rgba(201, 150, 42, 0.28);
  --glow-amber: 0 0 20px rgba(26, 144, 144, 0.35);

  /* Typography — display/head Cinzel; corpo como na loja (Poppins) */
  --ff-display: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --ff-head:    'Cinzel', Georgia, serif;
  --ff-body:    'Poppins', 'Crimson Text', system-ui, sans-serif;

  /* Radius */
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;

  /* Metallic gradients */
  --metal-gold-h:
    linear-gradient(90deg,
      rgba(106, 74, 12,  0.08) 0%,
      rgba(201, 150, 42, 0.22) 30%,
      rgba(240, 210, 114, 0.32) 50%,
      rgba(201, 150, 42, 0.22) 70%,
      rgba(106, 74, 12,  0.08) 100%);
  --metal-amber-h:
    linear-gradient(90deg,
      rgba(26, 80, 80, 0.06) 0%,
      rgba(26, 144, 144, 0.14) 35%,
      rgba(40, 200, 200, 0.18) 50%,
      rgba(26, 144, 144, 0.14) 65%,
      rgba(26, 80, 80, 0.06) 100%);

  /* Superfície de card — navy como na loja */
  --bg-card-grad:
    linear-gradient(160deg, #121a2e 0%, #0d1628 55%, #131f38 100%);

  --inset-frame: inset 0 0 0 1px rgba(201, 150, 42, 0.1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-void);
  background-image: url('images/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  color: var(--txt-body);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: #07080f;
}

/* Multi-layer overlay: radial vignette (lighter center) + top-bottom darkening */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 50% 40%,
      rgba(7, 12, 24, 0.72) 0%,
      rgba(5, 8, 18, 0.9) 100%),
    linear-gradient(to bottom,
      rgba(5, 8, 18, 0.45) 0%,
      rgba(7, 12, 24, 0.2) 35%,
      rgba(7, 12, 24, 0.18) 65%,
      rgba(5, 8, 18, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

#auroria-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

a { color: var(--txt-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); text-decoration: none; }
p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   3. UTILITY: GRADIENT TEXT
   ============================================================ */
.grad-text-gold {
  background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-bright) 55%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-amber {
  background: linear-gradient(180deg, var(--amber-glow) 0%, var(--amber-mid) 60%, var(--amber-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   4. CORNER ORNAMENTS  (background-image paint trick)
   Uses 8 thin lines to draw corner brackets on any element.
   ============================================================ */
.aur-corners {
  background-image:
    /* Top-left */
    linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0),
    /* Top-right */
    linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0),
    /* Bottom-left */
    linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0),
    /* Bottom-right */
    linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0),
    var(--bg-card-grad);
  background-size:
    16px 2px, 2px 16px,
    16px 2px, 2px 16px,
    16px 2px, 2px 16px,
    16px 2px, 2px 16px,
    100% 100%;
  background-position:
    top left,    top left,
    top right,   top right,
    bottom left, bottom left,
    bottom right,bottom right,
    0 0;
  background-repeat: no-repeat;
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.aur-navbar {
  background: linear-gradient(180deg, #131f38 0%, #0a101f 100%);
  border-bottom: 1px solid var(--border-main);
  box-shadow:
    0 2px 0 var(--gold),
    0 4px 24px rgba(0, 0, 0, 0.9),
    0 1px 6px rgba(201, 150, 42, 0.14);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.aur-navbar .container-fluid { padding: 0.5rem 1.5rem; }

/* Brand */
.aur-brand {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-bright) 55%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(201, 150, 42, 0.45));
}
.aur-brand:hover { filter: drop-shadow(0 0 14px rgba(232, 200, 107, 0.55)); }

.aur-brand img.brand-logo {
  height: 36px;
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 0 6px rgba(201, 150, 42, 0.55));
  flex-shrink: 0;
}

.aur-brand .brand-stack { display: flex; flex-direction: column; }
.aur-brand .brand-name { line-height: 1.1; }
.aur-brand .brand-sub {
  font-family: var(--ff-head);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1;
  margin-top: 2px;
}

/* Nav links */
.aur-nav-link {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--txt-body) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.85rem !important;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.aur-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold-bright);
  transition: left 0.22s ease, right 0.22s ease;
  box-shadow: 0 0 6px var(--gold-bright);
}
.aur-nav-link:hover,
.aur-nav-link.active {
  color: var(--gold-light) !important;
  text-decoration: none !important;
}
.aur-nav-link:hover::after,
.aur-nav-link.active::after {
  left: 8px; right: 8px;
}

/* Toggler */
.aur-navbar .navbar-toggler {
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.55rem;
}
.aur-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.15rem rgba(201, 150, 42, 0.35); }
.aur-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,200,107,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .aur-navbar .navbar-collapse {
    background: rgba(7, 12, 24, 0.98);
    border: 1px solid var(--gold);
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: 0.5rem 0.75rem 0.9rem;
    margin-top: 4px;
  }
  .aur-nav-link::after { display: none; }
  .aur-nav-link:hover { background: rgba(201, 150, 42, 0.1); border-radius: var(--r-sm); }
}

/* CTA button in navbar */
.aur-btn-cta {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.38rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201, 150, 42, 0.65);
  background: linear-gradient(135deg, #6a4a0c 0%, #c9962a 40%, #f0d272 70%, #c9962a 100%);
  color: #07080f !important;
  text-decoration: none !important;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.aur-btn-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}
.aur-btn-cta:hover {
  border-color: var(--gold-glow);
  box-shadow: var(--glow-gold);
  color: #050810 !important;
  filter: brightness(1.06);
}
.aur-btn-cta:hover::before { left: 140%; }

/* ============================================================
   6. ORNAMENTAL SEPARATOR  (below navbar)
   ============================================================ */
.aur-sep {
  text-align: center;
  padding: 0.55rem 0;
  line-height: 0;
  background: linear-gradient(180deg, rgba(13, 22, 40, 0.95) 0%, transparent 100%);
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.aur-sep::before,
.aur-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  transform: translateY(-50%);
}
.aur-sep::before { left: 0; background: linear-gradient(to right, transparent, var(--gold)); }
.aur-sep::after  { right: 0; background: linear-gradient(to left, transparent, var(--gold)); }
.aur-sep-gem {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-bright), 0 0 20px rgba(201, 150, 42, 0.4);
  position: relative;
  z-index: 1;
}

/* ============================================================
   7. LAYOUT
   ============================================================ */
.aur-layout { flex: 1; padding: 1.5rem 0 2.5rem; }

/* ============================================================
   8. WIDGET  (sidebar cards)
   ============================================================ */
.aur-widget {
  border-radius: var(--r-md);
  border: 1px solid var(--border-main);
  border-top: 2px solid var(--gold);
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(30, 46, 78, 0.5) inset;

  /* Corner ornaments via background-image */
  background-image:
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    var(--bg-card-grad);
  background-size:
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    100% 100%;
  background-position:
    top left,    top left,
    top right,   top right,
    bottom left, bottom left,
    bottom right,bottom right,
    0 0;
  background-repeat: no-repeat;
}

/* Horizontal shimmer at very top */
.aur-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 5%, var(--gold-light) 40%, var(--gold-glow) 50%, var(--gold-light) 60%, transparent 95%);
  opacity: 0.6;
  pointer-events: none;
}

/* Widget header */
.aur-widget-header {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--gold-dim);
  background: var(--metal-gold-h);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
}
.aur-widget-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.aur-widget-title {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.aur-widget-icon {
  color: var(--gold-mid);
  font-size: 0.85rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(201, 150, 42, 0.45));
}

.aur-widget-body { padding: 0.85rem 1rem; }

/* ============================================================
   9. SIDEBAR VERTICAL MENU
   ============================================================ */
.aur-vmenu { list-style: none; }
.aur-vmenu li { border-bottom: 1px solid rgba(30, 46, 78, 0.45); }
.aur-vmenu li:last-child { border-bottom: none; }

.aur-vmenu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--ff-head);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--txt-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}
.aur-vmenu a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(to right, var(--teal), transparent);
  transition: width 0.22s ease;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.aur-vmenu a:hover,
.aur-vmenu a.active {
  color: var(--gold-light);
  padding-left: 1.2rem;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(201, 150, 42, 0.45);
}
.aur-vmenu a:hover::before,
.aur-vmenu a.active::before { width: 3px; }
.aur-vmenu .vmenu-icon {
  color: var(--gold-dim);
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: color 0.18s, filter 0.18s;
}
.aur-vmenu a:hover .vmenu-icon,
.aur-vmenu a.active .vmenu-icon {
  color: var(--gold-bright);
  filter: drop-shadow(0 0 4px rgba(201, 150, 42, 0.5));
}

/* ============================================================
   10. SERVER STATUS WIDGET
   ============================================================ */
.status-panel { display: flex; flex-direction: column; gap: 0.55rem; }

.aur-lazy-widget { opacity: 0.72; }
.aur-lazy-widget[aria-busy="false"],
#shard_status[aria-busy="false"] .aur-lazy-widget,
#top_gw_widget[aria-busy="false"] { opacity: 1; }

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  background: rgba(7, 12, 24, 0.55);
  border: 1px solid rgba(30, 46, 78, 0.5);
  border-radius: var(--r-sm);
}

.status-label {
  font-family: var(--ff-head);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--txt-muted);
}

.status-badge {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.05em;
}
.status-badge.online  { color: #5cba5c; text-shadow: 0 0 8px rgba(92,186,92,0.8); }
.status-badge.offline { color: #d06060; }

.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.online {
  background: var(--online);
  box-shadow: 0 0 0 2px rgba(58,154,74,0.25), 0 0 8px var(--online-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
.status-dot.offline {
  background: var(--offline);
  box-shadow: 0 0 5px var(--offline-glow);
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(58,154,74,0.25), 0 0 8px var(--online-glow); }
  50%       { box-shadow: 0 0 0 5px rgba(58,154,74,0.1),  0 0 16px var(--online-glow); }
}

/* ============================================================
   11. TOP GW WIDGET
   ============================================================ */
.topgw-wrap { text-align: center; }
.topgw-guild {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.15rem;
}
.topgw-player { font-size: 0.82rem; color: var(--txt-body); margin-bottom: 0.7rem; }
.topgw-img {
  width: 100%; max-width: 196px;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  filter: brightness(0.88) contrast(1.05);
  display: block; margin: 0 auto 0.6rem;
  transition: filter 0.3s;
}
.topgw-img:hover { filter: brightness(1) contrast(1.05); }

/* ============================================================
   12. MAIN CONTENT CARD
   ============================================================ */
.aur-card {
  border-radius: var(--r-md);
  border: 1px solid var(--border-main);
  border-top: 2px solid var(--gold);
  overflow: hidden;
  position: relative;
  margin-bottom: 1.4rem;
  box-shadow:
    var(--shadow-xl),
    inset 0 1px 0 rgba(201, 150, 42, 0.12),
    inset 0 0 40px rgba(0, 0, 0, 0.32);

  /* Corner ornaments */
  background-image:
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    linear-gradient(var(--gold-light) 0 0), linear-gradient(var(--gold-light) 0 0),
    var(--bg-card-grad);
  background-size:
    20px 2px, 2px 20px,
    20px 2px, 2px 20px,
    20px 2px, 2px 20px,
    20px 2px, 2px 20px,
    100% 100%;
  background-position:
    top left, top left, top right, top right,
    bottom left, bottom left, bottom right, bottom right,
    0 0;
  background-repeat: no-repeat;
}

/* Inner border shadow for depth */
.aur-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 150, 42, 0.12);
  border-radius: calc(var(--r-md) - 2px);
  pointer-events: none;
  z-index: 0;
}

/* Top shimmer */
.aur-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 5%, var(--gold-mid) 35%, var(--gold-glow) 50%, var(--gold-mid) 65%, transparent 95%);
  opacity: 0.65;
  pointer-events: none;
}

.aur-card-header {
  padding: 1rem 1.5rem 0.9rem;
  border-bottom: 1px solid rgba(30, 46, 78, 0.65);
  background: var(--metal-gold-h);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.aur-card-title,
.aur-card-header h1,
.aur-card-header h2 {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-bright) 60%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 6px rgba(201, 150, 42, 0.35));
}

.aur-card-icon {
  color: var(--gold-mid);
  font-size: 1.15rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(201, 150, 42, 0.45));
}

.aur-card-body {
  padding: 1.3rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   13. ANNOUNCEMENTS
   ============================================================ */
.aur-announcement {
  position: relative;
  padding: 1.15rem 1.25rem 1.1rem 1.6rem;
  background: rgba(7, 12, 24, 0.52);
  border: 1px solid rgba(30, 46, 78, 0.55);
  border-radius: var(--r-sm);
  margin-bottom: 1.15rem;
}
.aur-announcement::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-glow), var(--gold-bright));
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.aur-announcement:last-child { margin-bottom: 0; }
.aur-announcement:hover {
  border-color: rgba(201, 150, 42, 0.35);
  background: rgba(13, 22, 40, 0.62);
}

.aur-ann-title {
  font-family: var(--ff-head);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 14px rgba(201, 150, 42, 0.35);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ann-icon { color: var(--amber-bright); font-size: 0.85rem; flex-shrink: 0; }

.aur-ann-body {
  font-size: 0.95rem;
  color: var(--txt-parchment);
  line-height: 1.78;
}

.aur-ann-meta {
  margin-top: 0.8rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(30, 46, 78, 0.45);
  font-size: 0.75rem;
  color: var(--txt-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.aur-ann-meta i { color: var(--gold-dim); margin-right: 0.28rem; }

/* ============================================================
   14. FORMS — INPUTS, LABELS, BUTTONS
   ============================================================ */
.aur-form-group { margin-bottom: 0.75rem; }

.aur-label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.aur-label .lbl-icon { color: var(--gold-dim); font-size: 0.75rem; }

.aur-input,
.aur-select {
  width: 100%;
  background: rgba(7, 12, 24, 0.88);
  border: 1px solid var(--border-main);
  border-radius: var(--r-sm);
  color: var(--txt-parchment);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 0.42rem 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
  -webkit-appearance: none;
  appearance: none;
}
.aur-input:focus,
.aur-select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(10, 16, 30, 0.95);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(201, 150, 42, 0.22),
    0 0 12px rgba(26, 144, 144, 0.12);
  color: var(--txt-parchment);
}
.aur-input::placeholder { color: var(--txt-dim); font-style: italic; }
.aur-input[readonly] {
  background: rgba(13, 22, 40, 0.75);
  color: var(--txt-muted);
  cursor: default;
}

/* Buttons */
.aur-btn {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.48rem 1.25rem;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none !important;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.1s, border-color 0.2s;
}
/* Shimmer on hover */
.aur-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-18deg);
  transition: left 0.45s ease;
}
.aur-btn:hover::before { left: 130%; }
.aur-btn:active { transform: translateY(1px); }

.aur-btn-primary {
  background: linear-gradient(180deg, var(--gold-cta-top) 0%, var(--gold-cta-mid) 42%, var(--gold-cta-bottom) 100%);
  color: #07080f;
  border-color: rgba(201, 150, 42, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 235, 180, 0.35);
}
.aur-btn-primary:hover {
  background: linear-gradient(180deg, #f5e9c4 0%, #d4a94a 45%, #8a6214 100%);
  border-color: var(--gold-bright);
  color: #050810;
  box-shadow: var(--glow-gold), 0 4px 12px rgba(0, 0, 0, 0.55);
}

.aur-btn-ghost {
  background: rgba(13, 22, 40, 0.65);
  color: var(--txt-body);
  border-color: var(--border-main);
}
.aur-btn-ghost:hover {
  background: rgba(26, 42, 74, 0.85);
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 150, 42, 0.15);
}

.aur-btn-full { width: 100%; }

/* Links as actions */
.aur-link {
  font-size: 0.8rem;
  color: var(--txt-link);
  cursor: pointer;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}
.aur-link:hover { color: var(--teal-light); text-decoration: underline; }

/* ============================================================
   15. FIELDSET (registration form)
   ============================================================ */
.aur-fieldset {
  border: 1px solid rgba(30, 46, 78, 0.55);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem 0.9rem;
  margin-bottom: 1.1rem;
  background: rgba(7, 12, 24, 0.4);
  position: relative;
}
.aur-fieldset legend {
  font-family: var(--ff-head);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0 0.6rem;
  width: auto;
  float: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.aur-fieldset legend i { color: var(--gold-mid); font-size: 0.78rem; }

.aur-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 576px) { .aur-form-2col { grid-template-columns: 1fr; } }

/* Radio / checkbox */
.aur-radio-group { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.25rem; }
.aur-radio-opt {
  display: flex; align-items: center; gap: 0.38rem;
  font-size: 0.88rem; color: var(--txt-body); cursor: pointer;
  transition: color 0.18s;
}
.aur-radio-opt:hover { color: var(--txt-parchment); }
.aur-radio-opt input[type="radio"],
.aur-checkbox { accent-color: var(--teal); width: 14px; height: 14px; }

.aur-checkbox-row {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.84rem; color: var(--txt-body); margin-top: 0.55rem;
}

.aur-form-hint {
  font-size: 0.74rem; color: var(--txt-muted); margin-top: 0.22rem;
  display: flex; align-items: center; gap: 0.28rem; font-style: italic;
}

/* ============================================================
   16. RANKING TABLE
   ============================================================ */
.aur-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.91rem;
}
.aur-table thead th {
  font-family: var(--ff-head);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid var(--gold);
  background: var(--metal-gold-h);
  position: relative;
}
.aur-table tbody tr {
  border-bottom: 1px solid rgba(30, 46, 78, 0.35);
  transition: background 0.15s;
}
.aur-table tbody tr:last-child td { border-bottom: none; }
.aur-table tbody tr:hover { background: rgba(201, 150, 42, 0.06); }
.aur-table tbody td { padding: 0.58rem 0.85rem; border-bottom: 1px solid rgba(30, 46, 78, 0.3); }

/* Rank position column */
.rank-pos {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  width: 44px;
  color: var(--txt-muted);
}
.aur-table tbody tr:nth-child(1) td.rank-pos { color: #f0d272; text-shadow: 0 0 8px rgba(201, 150, 42, 0.65); font-size: 1rem; }
.aur-table tbody tr:nth-child(2) td.rank-pos { color: #c0c8d8; font-size: 0.9rem; }
.aur-table tbody tr:nth-child(3) td.rank-pos { color: #d08840; font-size: 0.85rem; }
/* Row highlights for top 3 */
.aur-table tbody tr:nth-child(1) { background: rgba(200,160,10,0.06); }
.aur-table tbody tr:nth-child(2) { background: rgba(180,188,210,0.04); }
.aur-table tbody tr:nth-child(3) { background: rgba(200,130,55,0.04); }

.rank-name  { font-weight: 600; color: var(--txt-parchment); }
.rank-guild { font-size: 0.8rem; color: var(--txt-body); }
.rank-pts {
  font-family: var(--ff-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--amber-mid);
  text-align: right;
}

/* Alignment badges */
.aur-badge {
  font-family: var(--ff-head);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.1rem 0.44rem;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.aur-badge-chaos { background: var(--chaos-bg); color: #e07070; border: 1px solid var(--chaos-border); }
.aur-badge-order { background: var(--order-bg); color: #70a8e0; border: 1px solid var(--order-border); }

/* ============================================================
   17. FILE / QUICK LIST
   ============================================================ */
.aur-file-list { list-style: none; }
.aur-file-list li { border-bottom: 1px solid rgba(30, 46, 78, 0.35); }
.aur-file-list li:last-child { border-bottom: none; }
.aur-file-list a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.48rem 0.5rem;
  font-size: 0.84rem; color: var(--txt-body);
  text-decoration: none; transition: all 0.18s;
}
.aur-file-list a:hover { color: var(--gold-light); padding-left: 0.85rem; text-decoration: none; }
.fi-icon { color: var(--gold-dim); font-size: 0.9rem; flex-shrink: 0; transition: color 0.18s; }
.aur-file-list a:hover .fi-icon { color: var(--gold-bright); }

/* ============================================================
   18. ALERTS
   ============================================================ */
.aur-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.aur-alert .al-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.aur-alert-info    { background: rgba(30,65,165,0.15); border-color: rgba(65,120,220,0.4); color: #90b8e8; }
.aur-alert-success { background: rgba(28,105,52,0.15); border-color: rgba(50,145,88,0.4);  color: #80c888; }
.aur-alert-warning { background: rgba(160,110,8,0.18);  border-color: rgba(200,150,18,0.45); color: var(--gold-light); }
.aur-alert-danger  { background: rgba(140,25,25,0.15);  border-color: rgba(190,55,55,0.4);  color: #e07878; }

/* ============================================================
   19. DIVIDERS
   ============================================================ */
.aur-divider {
  border: none; height: 1px; margin: 1.4rem 0;
  background: linear-gradient(to right,
    transparent 5%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, transparent 95%);
  opacity: 0.35;
}
.aur-ornament {
  text-align: center; color: var(--gold); letter-spacing: 0.6em;
  opacity: 0.55; margin: 0.7rem 0; font-size: 0.82rem; user-select: none;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.aur-footer {
  background: linear-gradient(180deg, #0a0f1c 0%, #050810 100%);
  border-top: 1px solid var(--border-main);
  box-shadow: 0 -2px 0 var(--gold), 0 -4px 20px rgba(0,0,0,0.8);
  padding: 1.15rem 1.5rem;
  text-align: center;
  margin-top: auto;
  position: relative;
}
.aur-footer::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-glow) 50%, transparent 95%);
  opacity: 0.25;
}
.aur-footer p { font-size: 0.78rem; color: var(--txt-muted); margin: 0 0 0.2rem; }
.aur-footer a { color: var(--txt-link); }
.aur-footer a:hover { color: var(--teal-light); }
.aur-footer a.aur-btn { color: #07080f; }
.aur-footer a.aur-btn:hover { color: #050810; }

/* ============================================================
   20b. WIKI (AuroriaWiki — hub estilo enciclopédia)
   ============================================================ */
.aur-wiki-hero-head {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aur-wiki-tagline {
  font-size: 0.82rem;
  color: var(--txt-muted);
  font-family: var(--font-body, 'Crimson Text', Georgia, serif);
}
.aur-wiki-home .aur-wiki-panel {
  background: linear-gradient(165deg, rgba(14, 22, 38, 0.92) 0%, rgba(8, 12, 22, 0.97) 100%);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  height: 100%;
  overflow: hidden;
}
.aur-wiki-panel-head {
  font-family: var(--font-display, Cinzel, serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.55rem 0.85rem;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
  border-bottom: 1px solid var(--border-main);
}
.aur-wiki-panel-body {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--txt-main);
}
.aur-wiki-panel-body .text-secondary,
.aur-wiki-panel-body li { font-size: 0.86rem; }
ul.aur-wiki-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.aur-wiki-links li {
  margin-bottom: 0.35rem;
  padding-left: 0;
}
ul.aur-wiki-links a {
  color: var(--txt-link);
  text-decoration: none;
}
ul.aur-wiki-links a:hover {
  color: var(--teal-light);
  text-decoration: underline;
}
.aur-wiki-breadcrumb {
  font-size: 0.8rem;
  color: var(--txt-muted);
}
.aur-wiki-breadcrumb a {
  color: var(--txt-link);
  text-decoration: none;
}
.aur-wiki-breadcrumb a:hover { text-decoration: underline; }
.aur-wiki-bc-sep { margin: 0 0.35rem; opacity: 0.5; }
.aur-wiki-article p,
.aur-wiki-article li { line-height: 1.55; }

/* Conteúdo importado (conteudo.txt + imagens) */
.aur-wiki-article .aur-wiki-section-title {
  font-family: var(--font-display, Cinzel, serif);
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}
.aur-wiki-article .aur-wiki-figure {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aur-wiki-article .aur-wiki-figure:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}
.aur-wiki-article .aur-wiki-figure-img {
  object-fit: contain;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  background: var(--bg-void);
}
.aur-wiki-article .aur-wiki-figure-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.aur-wiki-article .aur-wiki-gallery + p,
.aur-wiki-article h2 + p { margin-top: 0; }

/* ============================================================
   21. ANIMATIONS
   ============================================================ */
.aur-fade-in { animation: aur-fadein 0.35s ease-out; }
@keyframes aur-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Entrance animation for widgets */
.aur-widget, .aur-card { animation: aur-fadein 0.3s ease-out backwards; }

/* ============================================================
   22. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar         { width: 8px; height: 8px; }
::-webkit-scrollbar-track   { background: var(--bg-void); }
::-webkit-scrollbar-thumb   { background: var(--gold-dim); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   23. UTILITIES
   ============================================================ */
.text-gold      { color: var(--gold-bright) !important; }
.text-amber     { color: var(--amber-bright) !important; }
.text-parchment { color: var(--txt-parchment) !important; }
.text-faded     { color: var(--txt-muted) !important; }
.font-medieval  { font-family: var(--ff-head) !important; }
.d-none { display: none !important; }

/* Bootstrap overrides */
.card { background: var(--bg-surface); border-color: var(--border-main); color: var(--txt-body); }
.table { color: var(--txt-body); }
.table-responsive { border-radius: var(--r-sm); }

/* ============================================================
   24. GLOBAL MODAL (Auroria)
   ============================================================ */
.aur-modal-open { overflow: hidden; }

.aur-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}

/* Detalhe de luta acima do modal de confronto H2H */
#auroriaModal.aur-modal-backdrop {
  z-index: 3100;
}

#aurH2hBackdrop .aur-modal-body--scroll {
  max-height: min(78vh, 680px);
}

.aur-modal-backdrop.is-open { display: flex; }

.aur-modal {
  width: min(96vw, 520px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--gold);
  background: var(--bg-card-grad);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(30, 46, 78, 0.4) inset;
  position: relative;
  padding: 1rem 1rem 0.9rem;
  animation: aur-fadein 0.2s ease-out;
  outline: none;
}

.aur-modal--wide {
  width: min(96vw, 720px);
}

/* Modal em modo mapa (ranking GW): ocupa melhor a viewport, corpo em coluna flex */
.aur-modal.aur-modal--map {
  width: min(98vw, 1120px);
  max-height: min(96vh, 940px);
  min-height: 0;
}

.aur-modal.aur-modal--map .aur-modal-body--map {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.aur-modal-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(30, 46, 78, 0.55);
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.aur-modal-head h3 {
  margin: 0;
  font-family: var(--ff-head);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.aur-modal-icon {
  font-size: 1.05rem;
  filter: drop-shadow(0 0 6px rgba(201, 150, 42, 0.35));
}
.aur-modal-icon.info { color: #74a6e8; }
.aur-modal-icon.success { color: #5cc778; }
.aur-modal-icon.error { color: #e06c6c; }
.aur-modal-icon.warning { color: #e8bd55; }

.aur-modal-body {
  color: var(--txt-parchment);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
  white-space: pre-line;
}

/* Form / rich content inside modal (override pre-line) */
.aur-modal-body.aur-modal-body--form {
  white-space: normal;
}

.aur-modal-body.aur-modal-body--scroll {
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 0.35rem;
  margin-right: -0.15rem;
}

.aur-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.aur-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: var(--txt-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.aur-modal-close:hover { color: var(--gold-light); }

/* Optional lightweight loading cursor */
body.aur-loading,
body.aur-loading * {
  cursor: progress !important;
}

/* Ranking GW — player link + head-to-head */
.rank-player-link {
  color: var(--txt-parchment);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}
.rank-player-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(240, 210, 114, 0.45);
  text-shadow: 0 0 12px rgba(201, 150, 42, 0.35);
}

.aur-vs-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(160deg, rgba(18, 26, 46, 0.9) 0%, rgba(13, 22, 40, 0.95) 100%);
  border: 1px solid rgba(201, 150, 42, 0.2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.aur-vs-side {
  flex: 1 1 140px;
  max-width: 280px;
  text-align: center;
}
.aur-vs-name {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt-parchment);
  margin-bottom: 0.35rem;
}
.aur-vs-label {
  flex: 0 0 auto;
  align-self: center;
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-mid);
  text-shadow: 0 0 18px rgba(201, 150, 42, 0.35);
  letter-spacing: 0.12em;
}

.aur-modal-body--form .aur-kill-modal-inner .aur-kill-detail-body {
  max-width: none;
  margin-top: 0;
}

.aur-kill-detail-body {
  margin-top: 0.75rem;
  padding: 0.85rem 0.75rem 0.5rem;
  background: rgba(7, 12, 24, 0.55);
  border: 1px solid rgba(30, 46, 78, 0.5);
  border-radius: var(--r-md);
  max-width: min(100vw - 3rem, 520px);
}
.aur-kill-dl {
  display: grid;
  grid-template-columns: minmax(0, 38%) 1fr;
  gap: 0.35rem 0.65rem;
  font-size: 0.78rem;
  margin: 0;
}
.aur-kill-dl dt {
  margin: 0;
  color: var(--txt-muted);
  font-family: var(--ff-head);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aur-kill-dl dd {
  margin: 0;
  color: var(--txt-body);
  word-break: break-word;
}

.aur-gw-filter-form .form-label {
  margin-bottom: 0.15rem;
}

/* ============================================================
   GW RANKING — Search autocomplete
   ============================================================ */
.aur-search-label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 0.5rem;
}
.aur-search-label i { margin-right: 0.3rem; color: var(--gold-mid); }

.aur-search-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.aur-search-row > .aur-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 1.1rem;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.aur-search-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.aur-search-input {
  width: 100%;
  padding: 0.58rem 2.6rem 0.58rem 2.2rem;
  background: rgba(7, 12, 24, 0.65);
  border: 1px solid rgba(201, 150, 42, 0.28);
  border-radius: var(--r-md);
  color: var(--txt-parchment);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* remove default search chrome UI */
  -webkit-appearance: none;
  appearance: none;
}
.aur-search-input::placeholder { color: var(--txt-dim); }
.aur-search-input:focus {
  border-color: rgba(201, 150, 42, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.12);
}
.aur-search-input.aur-search-invalid {
  border-color: var(--chaos) !important;
  animation: aur-shake 0.35s ease;
}
@keyframes aur-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  60%       { transform: translateX(5px); }
}

.aur-search-icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--txt-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.aur-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--txt-muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.2rem 0.25rem;
  border-radius: var(--r-sm);
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.aur-search-clear:hover { color: var(--gold-light); background: rgba(201, 150, 42, 0.1); }

.aur-search-spinner {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgba(201, 150, 42, 0.25);
  border-top-color: var(--gold-mid);
  border-radius: 50%;
  animation: aur-spin 0.65s linear infinite;
  pointer-events: none;
}
@keyframes aur-spin { to { transform: translateY(-50%) rotate(360deg); } }

.aur-search-hint {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--txt-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.4em;
}
.aur-search-hint i { flex-shrink: 0; }

/* Dropdown */
.aur-chr-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 150, 42, 0.38);
  background: #0e162a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 150, 42, 0.08) inset;
  animation: aur-fadein 0.12s ease-out;
}
.aur-chr-suggest-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: none;
  border-bottom: 1px solid rgba(30, 46, 78, 0.4);
  background: transparent;
  color: var(--txt-parchment);
  cursor: pointer;
  transition: background 0.12s;
  gap: 0.1rem;
}
.aur-chr-suggest-item:last-child { border-bottom: none; }
.aur-chr-suggest-item:hover,
.aur-chr-suggest-item.is-active {
  background: rgba(201, 150, 42, 0.1);
  outline: none;
}
.aur-chr-suggest-item:focus { outline: none; }

.aur-ac-name  { font-size: 0.92rem; font-weight: 600; color: var(--txt-parchment); }
.aur-ac-meta  { display: flex; gap: 0.65rem; font-size: 0.76rem; }
.aur-ac-guild { color: var(--txt-muted); }
.aur-ac-pts   { color: var(--gold-mid); margin-left: auto; }
mark.aur-ac-mark {
  background: transparent;
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(232, 200, 107, 0.35);
}
.aur-chr-suggest-empty {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--txt-muted);
}

/* Empty state */
.aur-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--txt-muted);
}
.aur-empty-state-icon {
  display: block;
  font-size: 2.5rem;
  opacity: 0.3;
  margin-bottom: 0.75rem;
  color: var(--gold-mid);
}
.aur-empty-state p { font-size: 0.88rem; margin: 0; }

/* ============================================================
   GW RANKING — H2H scoreboard card
   ============================================================ */
.aur-h2h-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 1.1rem 0.9rem;
  background: linear-gradient(160deg, #121a2e 0%, #0d1628 55%, #131f38 100%);
  border: 1px solid rgba(201, 150, 42, 0.2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
/* profile side A */
.aur-h2h-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  min-width: 0;
}
.aur-h2h-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.aur-h2h-avatar--a { background: rgba(201, 150, 42, 0.15); color: var(--gold-mid); border: 1px solid rgba(201, 150, 42, 0.3); }
.aur-h2h-avatar--b { background: rgba(154, 48, 48, 0.15); color: #d06060; border: 1px solid rgba(200, 60, 60, 0.3); }
.aur-h2h-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--txt-parchment);
  word-break: break-word;
  line-height: 1.2;
}
.aur-h2h-sub  { font-size: 0.7rem; color: var(--txt-muted); word-break: break-word; }
.aur-h2h-kills-count {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 0.35rem;
}
.aur-h2h-kills-count--a { color: var(--gold-bright); text-shadow: 0 0 20px rgba(201, 150, 42, 0.4); }
.aur-h2h-kills-count--b { color: #e07070; text-shadow: 0 0 20px rgba(200, 60, 60, 0.3); }
.aur-h2h-kills-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--txt-muted); }

/* center column */
.aur-h2h-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.25rem;
}
.aur-h2h-vs-badge {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-mid);
  letter-spacing: 0.1em;
  text-shadow: 0 0 16px rgba(201, 150, 42, 0.35);
}
.aur-h2h-bar {
  display: flex;
  height: 5px;
  width: 70px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(30, 46, 78, 0.4);
}
.aur-h2h-bar-fill--a { background: var(--gold-mid); }
.aur-h2h-bar-fill--b { background: #c04040; }
.aur-h2h-bar-labels {
  display: flex;
  justify-content: space-between;
  width: 70px;
  font-size: 0.6rem;
  color: var(--txt-muted);
}
.aur-h2h-total { font-size: 0.62rem; color: var(--txt-muted); text-transform: uppercase; letter-spacing: 0.07em; text-align: center; }

/* ============================================================
   GW RANKING — Kill list (replaces table)
   ============================================================ */
.aur-kill-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem;
  color: var(--txt-muted);
  font-size: 0.9rem;
}
.aur-kill-empty i { font-size: 1.8rem; opacity: 0.4; }

.aur-kill-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(201, 150, 42, 0.15);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* individual kill row */
.aur-kill-row {
  display: grid;
  grid-template-columns: 1.8rem 1fr auto auto;
  align-items: center;
  gap: 0 0.75rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(201, 150, 42, 0.08);
  background: rgba(7, 12, 24, 0.35);
  transition: background 0.15s;
}
.aur-kill-row:last-child { border-bottom: none; }
.aur-kill-row:hover { background: rgba(201, 150, 42, 0.04); }
.aur-kill-row--killer { border-left: 3px solid rgba(201, 150, 42, 0.5); }
.aur-kill-row--victim  { border-left: 3px solid rgba(180, 50, 50, 0.45); }

/* row number */
.aur-kill-num {
  font-size: 0.7rem;
  color: var(--txt-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 0.15rem;
}

/* fighters block */
.aur-kill-fighters {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.aur-kill-fighter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  min-width: 0;
}
.aur-kill-ico {
  font-size: 0.72rem;
  flex-shrink: 0;
  width: 0.85rem;
  text-align: center;
}
.aur-kill-ico--killer { color: var(--gold-mid); }
.aur-kill-ico--victim { color: #c05050; }
.aur-kill-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--txt-parchment);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14ch;
}
.aur-kill-blow {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--txt-muted);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aur-kill-blow i { color: var(--gold-dim); font-size: 0.7rem; }

/* meta: status + date */
.aur-kill-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  white-space: nowrap;
}
.aur-kill-you {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.aur-kill-you i { font-size: 0.65rem; }
.aur-kill-you--killer, .aur-kill-you--killer i { color: var(--gold-mid); }
.aur-kill-you--victim, .aur-kill-you--victim i { color: var(--chaos); }
.aur-kill-date {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: var(--txt-muted);
  white-space: nowrap;
}
.aur-kill-date i { font-size: 0.62rem; color: var(--txt-dim); }

/* pts + button */
.aur-kill-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.aur-kill-actions-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
}
.aur-kill-pts {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
}
.aur-kill-pts-lbl {
  font-size: 0.58rem;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: -0.15rem;
}

/* responsive: on xs collapse meta into fighters area */
@media (max-width: 480px) {
  .aur-kill-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.3rem 0.5rem;
    padding: 0.6rem 0.75rem;
  }
  .aur-kill-num { display: none; }
  .aur-kill-fighters { grid-column: 1; grid-row: 1; }
  .aur-kill-meta {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .aur-kill-right {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-content: center;
  }
  .aur-kill-name { max-width: 10ch; }
}

/* ============================================================
   GW RANKING — Kill button in table
   ============================================================ */
.aur-kill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 150, 42, 0.3);
  background: rgba(201, 150, 42, 0.06);
  color: var(--gold-mid);
  font-size: 0.75rem;
  font-family: var(--ff-head);
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.aur-kill-btn:hover {
  background: rgba(201, 150, 42, 0.18);
  border-color: rgba(201, 150, 42, 0.6);
  color: var(--gold-light);
}
.aur-kill-btn i { font-size: 0.9rem; }

/* ============================================================
   GW RANKING — Mapa da morte (modal, 6144×4096 → %)
   ============================================================ */
.aur-gw-map-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 144, 144, 0.35);
  background: rgba(26, 144, 144, 0.08);
  color: var(--teal);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.aur-gw-map-open:hover:not(:disabled) {
  background: rgba(26, 144, 144, 0.2);
  border-color: rgba(26, 144, 144, 0.65);
  color: var(--gold-light);
}
.aur-gw-map-open:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.aur-gw-map-open i { font-size: 1.05rem; }

.aur-gw-map-modal { max-width: 100%; }
.aur-gw-map-caption {
  font-size: 0.8rem;
  color: var(--txt-muted);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.aur-gw-map-stage {
  position: relative;
  display: block;
  max-width: 100%;
  line-height: 0;
  border-radius: var(--r-md);
  overflow: auto;
  max-height: min(78vh, 920px);
  border: 1px solid rgba(30, 46, 78, 0.55);
  background: #050810;
}
/* Viewport com scroll — zoom por redimensionar a camada (uma ou várias mortes) */
.aur-gw-map-viewport {
  position: relative;
  max-height: min(78vh, 920px);
  overflow: auto;
  border-radius: var(--r-md);
  border: 1px solid rgba(30, 46, 78, 0.55);
  background: #050810;
  -webkit-overflow-scrolling: touch;
}
.aur-gw-map-layer {
  position: relative;
  display: inline-block;
  vertical-align: top;
  line-height: 0;
}
.aur-gw-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  vertical-align: top;
}
.aur-gw-map-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6b4a, #c91818 55%, #4a0606);
  border: 2px solid rgba(255, 240, 200, 0.95);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(255, 60, 40, 0.85);
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}
.aur-gw-map-marker:focus-visible {
  outline: 2px solid rgba(255, 200, 120, 0.95);
  outline-offset: 3px;
}
.aur-gw-map-marker-pop {
  position: absolute;
  z-index: 6;
  min-width: 200px;
  max-width: min(320px, 92vw);
  padding: 0.65rem 0.75rem 0.75rem;
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(18, 28, 48, 0.98), rgba(8, 12, 22, 0.99));
  border: 1px solid rgba(80, 120, 200, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 12px 40px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, calc(-50% + 22px));
  font-family: var(--ff-ui, system-ui, sans-serif);
  line-height: 1.35;
  text-align: left;
}
.aur-gw-map-marker-pop__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aur-gw-map-marker-pop__close:hover {
  background: rgba(255, 100, 80, 0.25);
  color: #fff;
}
.aur-gw-map-marker-pop__inner {
  padding-right: 1.5rem;
}
.aur-gw-map-marker-pop__head {
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--txt, #e8ecf4);
  margin-bottom: 0.45rem;
  padding-right: 0.25rem;
}
.aur-gw-map-marker-pop__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.65rem;
  font-size: 0.72rem;
  margin-top: 0.25rem;
  align-items: baseline;
}
.aur-gw-map-marker-pop__k {
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
  white-space: nowrap;
}
.aur-gw-map-marker-pop__v {
  color: rgba(230, 236, 248, 0.92);
  word-break: break-word;
}
.aur-gw-map-marker-pop__detail {
  margin: 0.5rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: var(--txt-muted);
  line-height: 1.4;
}
.aur-gw-map-marker[hidden],
.aur-gw-map-marker.is-hidden {
  display: none !important;
}
.aur-gw-map-meta {
  font-size: 0.72rem;
  color: var(--txt-muted);
  margin-top: 0.65rem;
  font-family: var(--ff-ui, system-ui, sans-serif);
  letter-spacing: 0.02em;
}

/* Painel “ver todas” */
.aur-gw-map-bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: flex-end;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: rgba(7, 12, 24, 0.65);
  border: 1px solid rgba(30, 46, 78, 0.45);
  border-radius: var(--r-md);
}
.aur-gw-map-bulk-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.aur-gw-map-bulk-field label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--txt-muted);
  font-family: var(--ff-head);
}
.aur-gw-map-bulk-field select,
.aur-gw-map-bulk-field input[type="search"] {
  font-size: 0.78rem;
  padding: 0.28rem 0.45rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201, 150, 42, 0.25);
  background: rgba(13, 22, 40, 0.95);
  color: var(--txt-parchment);
  max-width: 100%;
}
.aur-gw-map-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}
.aur-gw-map-bulk-actions .aur-btn {
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
}
.aur-gw-map-bulk-count {
  font-size: 0.72rem;
  color: var(--txt-muted);
  width: 100%;
  margin-top: 0.15rem;
}

.aur-gw-map-open-bulk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 150, 42, 0.35);
  background: rgba(201, 150, 42, 0.08);
  color: var(--gold-mid);
  font-size: 0.72rem;
  font-family: var(--ff-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.aur-gw-map-open-bulk:hover:not(:disabled) {
  background: rgba(201, 150, 42, 0.16);
  border-color: rgba(201, 150, 42, 0.55);
  color: var(--gold-light);
}
.aur-gw-map-open-bulk:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Conteúdo mapa: preenche o corpo do modal */
.aur-modal-body--map .aur-gw-map-modal {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
}

.aur-gw-map-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.aur-gw-map-zoombar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: min(100%, 220px);
  max-width: 100%;
}

.aur-gw-map-zoombar input[type='range'] {
  flex: 1 1 120px;
  min-width: 80px;
  max-width: 280px;
  accent-color: var(--teal);
}

.aur-gw-map-zoom-label {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold-mid);
  min-width: 2.8rem;
  text-align: right;
  font-family: var(--ff-head);
}

.aur-gw-map-zoom-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201, 150, 42, 0.35);
  background: rgba(13, 22, 40, 0.9);
  color: var(--gold-light);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.aur-gw-map-zoom-btn:hover {
  background: rgba(201, 150, 42, 0.12);
  border-color: rgba(201, 150, 42, 0.55);
}

.aur-gw-map-fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 144, 144, 0.4);
  background: rgba(26, 144, 144, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-family: var(--ff-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.aur-gw-map-fs-btn:hover {
  background: rgba(26, 144, 144, 0.22);
  border-color: rgba(26, 144, 144, 0.65);
  color: var(--gold-light);
}

.aur-gw-map-viewport-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.aur-modal-body--map .aur-gw-map-viewport-shell .aur-gw-map-viewport {
  flex: 1 1 auto;
  min-height: min(52vh, 480px);
  max-height: none;
  width: 100%;
  max-width: 100%;
}

/* Tela cheia no modal: esconde só filtros (bulk) ou detalhes (single) */
.aur-gw-map-modal--bulk.aur-gw-map-modal--fs [data-aur-gw-map-filters] {
  display: none !important;
}

.aur-gw-map-modal--single.aur-gw-map-modal--fs .aur-gw-map-single-extra,
.aur-gw-map-modal--single.aur-gw-map-modal--fs [data-aur-gw-map-meta] {
  display: none !important;
}

.aur-gw-map-modal--fs .aur-gw-map-viewport-shell .aur-gw-map-viewport {
  min-height: min(68vh, 720px);
}

.aur-modal-body--map .aur-gw-map-bulk-toolbar {
  flex-shrink: 0;
}

.aur-modal-body--map .aur-gw-map-controls-row {
  flex-shrink: 0;
}

.aur-modal-body--map .aur-gw-map-meta {
  flex-shrink: 0;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .aur-gw-map-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .aur-gw-map-fs-btn {
    justify-content: center;
  }
}

/* ============================================================
   GW RANKING — Kill modal inner (redesigned)
   ============================================================ */
.aur-kmd {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aur-kmd-fighters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(7, 12, 24, 0.55);
  border: 1px solid rgba(30, 46, 78, 0.5);
  border-radius: var(--r-lg);
}
.aur-kmd-fighter {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}
.aur-kmd-fighter--killer { align-items: flex-start; text-align: left; }
.aur-kmd-fighter--victim  { align-items: flex-end; text-align: right; }
.aur-kmd-fighter-name { word-break: break-word; }
.aur-kmd-fighter-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.aur-kmd-fighter--killer .aur-kmd-fighter-icon {
  background: rgba(201, 150, 42, 0.15);
  color: var(--gold-mid);
  border: 1px solid rgba(201, 150, 42, 0.28);
}
.aur-kmd-fighter--victim .aur-kmd-fighter-icon {
  background: rgba(30, 46, 78, 0.4);
  color: var(--txt-muted);
  border: 1px solid rgba(30, 46, 78, 0.5);
}
.aur-kmd-fighter-name {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--txt-parchment);
}
.aur-kmd-fighter-guild {
  font-size: 0.72rem;
  color: var(--txt-muted);
}
.aur-kmd-fighter-align {
  font-size: 0.68rem;
  font-family: var(--ff-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.1rem;
}
.aur-kmd-fighter-align--chaos { color: var(--chaos); }
.aur-kmd-fighter-align--order { color: var(--order); }
.aur-kmd-fighter-align--none  { color: var(--txt-muted); }
.aur-kmd-sword {
  flex: 0 0 auto;
  font-size: 1.6rem;
  color: var(--gold-mid);
  text-shadow: 0 0 14px rgba(201, 150, 42, 0.5);
}

.aur-kmd-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aur-kmd-stat {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.8rem;
  background: rgba(7, 12, 24, 0.45);
  border: 1px solid rgba(30, 46, 78, 0.4);
  border-radius: var(--r-md);
}
.aur-kmd-stat-val {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--txt-parchment);
}
.aur-kmd-stat-val--pts {
  font-size: 1.5rem;
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(201, 150, 42, 0.3);
}
.aur-kmd-stat-val--date { font-size: 0.82rem; font-weight: 400; }
.aur-kmd-stat-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--txt-muted);
}

.aur-kmd-section { display: flex; flex-direction: column; gap: 0.45rem; }
.aur-kmd-section-title {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--txt-muted);
}
.aur-kmd-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.aur-kmd-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(40, 200, 200, 0.1);
  border: 1px solid rgba(40, 200, 200, 0.22);
  color: var(--teal-light);
  font-size: 0.78rem;
}
.aur-kmd-tag--link {
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.aur-kmd-tag--link:hover {
  background: rgba(40, 200, 200, 0.22);
  border-color: rgba(40, 200, 200, 0.5);
  color: #7eeaea;
  text-decoration: none;
}

.aur-kmd-spell-list { display: flex; flex-direction: column; gap: 0.55rem; }
.aur-kmd-spell { display: flex; flex-direction: column; gap: 0.2rem; }
.aur-kmd-spell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}
.aur-kmd-spell-name {
  font-size: 0.84rem;
  color: var(--txt-body);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.aur-kmd-spell-dmg {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  color: var(--gold-mid);
  white-space: nowrap;
}
.aur-kmd-spell-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(30, 46, 78, 0.4);
  overflow: hidden;
}
.aur-kmd-spell-bar-fill {
  height: 100%;
  background: var(--gold-mid);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.aur-kmd-spell--final .aur-kmd-spell-bar-fill,
.aur-kmd-spell-bar-fill--final {
  background: linear-gradient(90deg, var(--gold-mid), var(--gold-bright));
}
.aur-kmd-final-tag {
  font-size: 0.64rem;
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(201, 150, 42, 0.18);
  border: 1px solid rgba(201, 150, 42, 0.4);
  color: var(--gold-bright);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}

.aur-modal-body--form .aur-kmd { padding: 0.1rem 0; }
.aur-modal-body--form .aur-kill-detail-body { max-width: none; margin-top: 0; }

/* ============================================================
   GW RANKING — Responsive / mobile overrides
   ============================================================ */
@media (max-width: 480px) {
  /* H2H card: mantém 3 colunas mas reduz tamanhos */
  .aur-h2h-card {
    gap: 0.3rem 0.4rem;
    padding: 0.9rem 0.6rem;
  }
  .aur-h2h-avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }
  .aur-h2h-name { font-size: 0.75rem; }
  .aur-h2h-sub  { font-size: 0.62rem; }
  .aur-h2h-kills-count { font-size: 1.6rem; }
  .aur-h2h-kills-label { font-size: 0.55rem; }
  .aur-h2h-center { padding: 0 0.1rem; }
  .aur-h2h-vs-badge { font-size: 1.1rem; }
  .aur-h2h-bar { width: 52px; }
  .aur-h2h-bar-labels { width: 52px; }
  .aur-h2h-total { font-size: 0.55rem; }

  /* modal fighters: empilha verticalmente em telas muito pequenas */
  .aur-kmd-fighters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .aur-kmd-fighter--killer,
  .aur-kmd-fighter--victim {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.6rem;
  }
  .aur-kmd-fighter--killer { justify-content: flex-start; }
  .aur-kmd-fighter--victim { justify-content: flex-start; flex-direction: row-reverse; text-align: right; }
  .aur-kmd-sword { font-size: 1.2rem; align-self: center; }

  /* stat cards: 2 por linha em mobile */
  .aur-kmd-stat { flex: 1 1 calc(50% - 0.25rem); }
}

@media (max-width: 576px) {
  /* search row: botão ocupa largura total abaixo do input */
  .aur-search-row { flex-wrap: wrap; }
  .aur-search-row > .aur-btn { width: 100%; justify-content: center; padding: 0.6rem; }
  .aur-search-wrap { flex: 1 1 100%; }
}
