@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   TEMA EXPERT: DARK INFERNAL PREMIUM
   Visual: MMORPG moderno, escuro, quente, elegante.
   Mantém as mesmas classes do CSS original.
========================================================= */
:root {
  --fab-right: 24px;
  --fab-bottom: 24px;
  --fab-gap: 12px;

  --bg-0: #050403;
  --bg-1: #100b09;
  --bg-2: #17100c;
  --surface-1: rgba(28, 17, 12, 0.86);
  --surface-2: rgba(42, 24, 16, 0.82);
  --surface-3: rgba(255, 246, 232, 0.055);

  --line: rgba(255, 226, 194, 0.11);
  --line-strong: rgba(240, 138, 60, 0.34);

  --text: #f4eee6;
  --muted: #d7c7b7;
  --soft: #a99480;

  --accent: #d04a2f;
  --accent-2: #f08a3c;
  --accent-3: #ffc46b;

  --success: #71e48b;
  --danger: #ff7161;
  --warning: #ffd08a;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 55px rgba(0,0,0,.58);
  --shadow-glow: 0 0 28px rgba(208,74,47,.22);
}

/* =========================
   SCROLLBAR (GLOBAL)
========================= */
:root {
  --fab-right: 24px;
  --fab-bottom: 24px;
  --fab-gap: 12px;

  /* Redesign custom variables */
  --color-orange-glow: rgba(255, 110, 0, 0.15);
  --color-orange-glow-hover: rgba(255, 110, 0, 0.25);
  --border-amber-glow: rgba(255, 140, 0, 0.15);
  --border-amber-glow-hover: rgba(255, 140, 0, 0.35);
  --bg-glass-card: rgba(18, 22, 38, 0.5);
  --bg-glass-card-hover: rgba(26, 32, 54, 0.65);
  --text-primary-color: #ffd699;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(240,138,60, 0.55) rgba(255, 255, 255, 0.06);
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(240,138,60, 0.55),
    rgba(208,74,47, 0.35)
  );
  border-radius: 999px;
  border: 3px solid rgba(10, 14, 24, 0.85); /* “recorta” e combina com fundo */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(240,138,60, 0.80),
    rgba(208,74,47, 0.55)
  );
}

::-webkit-scrollbar-corner {
  background: transparent;
}



/* =========================
   RESET & BASE (REGISTRO)
========================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;

  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;



background: radial-gradient(
  circle at top,
  #21120d 0%,   /* grafite azulado */
  #100b09 55%,
  #050403 100%
);

   
  color: #f4eee6;
}


/* =========================
   FORM CARD
========================= */
form{
  width: 100%;
  max-width: 420px;

  padding: 32px;
  border-radius: 16px;

  background: linear-gradient(180deg, #21110c, #0e0907);
  box-shadow:
    0 16px 60px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

form h2{
  margin: 0 0 22px;
  text-align: center;
  font-weight: 800;
  color: #fff7ed;
  letter-spacing: .3px;
}

/* =========================
   LABELS & HELPERS
========================= */
label{
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #d7c7b7;
}

small{
  font-size: 12px;
  opacity: .75;
}

/* =========================
   FIELDS (BASE)
========================= */
input,
select{
  width: 100%;
  height: 46px;              /* altura única */
  padding: 0 14px;           /* padding consistente */
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);

  color: rgba(255,255,255,0.92);
  font-size: 14px;

  outline: none;
  display: block;
}

input::placeholder{
  color: rgba(255,255,255,0.55);
}

input:focus,
select:focus{
  border-color: rgba(208,74,47,0.70);
  box-shadow: 0 0 0 3px rgba(208,74,47,0.22);
  background: rgba(0,0,0,0.42);
}

/* =========================
   LOGIN ROW (USER + SUFIXO)
========================= */
.login-row{
	
  display: grid;
  grid-template-columns: 1fr 0px;
  gap: 10px;
  align-items: stretch; /* garante mesma altura visual */
}

.login-input{ min-width: 0; }

/* select com seta custom */
.suffix-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 40px; /* espaço para seta */
  font-weight: 800;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.suffix-select:invalid{
  color: rgba(255,255,255,0.55);
}

.suffix-select option{
  background: #0b1020;
  color: rgba(255,255,255,0.92);
}

/* mobile: sufixo desce pra baixo */
@media (max-width: 460px){
  .login-row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   CAPTCHA
========================= */
.captcha-row{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 0px;
}

.captcha-img{
  width: 170px;
  height: 46px;              /* mesma altura do input */
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);

  cursor: pointer;
  display: block;
  object-fit: cover;
}

.captcha-input{
  height: 46px;              /* garante alinhamento */
}

.captcha-hint{
  display: block;
  margin-top: 8px;
  opacity: .75;
  font-size: 12px;
}

@media (max-width: 520px){
  .captcha-row{
    grid-template-columns: 1fr;
  }
  .captcha-img{
    width: 100%;
  }
}

/* =========================
   BUTTON
========================= */
button{
  width: 100%;
  height: 48px;
  margin-top: 14px;

  border: none;
  border-radius: 12px;

  background: linear-gradient(180deg, #f08a3c, #b72f22);
  color: #fff7ed;

  font-size: 14px;
  font-weight: 900;
  letter-spacing: .5px;

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(208,74,47,0.45);
  filter: brightness(1.05);
}

button:active{
  transform: translateY(0);
  box-shadow: none;
}

/* =========================
   MESSAGE (PHP $msg)
========================= */
form p{
  margin: 12px 0 0;
  text-align: center;
}

form p strong{
  color: #fff7ed;
}



/* ===============================
   BOTÃO MÚSICA (MUTE / UNMUTE)
================================ */

.music-toggle {
    position: fixed;
    bottom: var(--fab-bottom);
    right: var(--fab-right);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: all 0.2s ease;
    z-index: 9999;
}


.music-toggle:hover {
    background: rgba(40, 40, 40, 0.9);
    transform: translateY(-2px);
}

.music-toggle.muted {
    opacity: 0.7;
}

.to-top {
  position: fixed;
  bottom: calc(var(--fab-bottom) + 2px); /* alinhamento visual */
  right: calc(
    var(--fab-right) + 48px + var(--fab-gap)
  );

  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  font-weight: 900;
  cursor: pointer;
  z-index: 9999;

  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}
.to-top:hover {
  border-color: rgba(208,74,47,0.50);
  box-shadow: 0 18px 46px rgba(0,0,0,0.55);
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 3px solid rgba(255,255,255,0.9);
  border-left: 3px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  margin-top: 4px;
}

@media (max-width: 640px) {
  :root {
    --fab-right: 14px;
    --fab-bottom: 72px;
  }
}

/* =========================
   HEADER / NAVBAR
========================= */
header {
    max-width: 1100px;
    margin: 30px auto 10px;
    height: 64px;
    padding: 0 24px;
    background: rgba(12, 16, 28, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    border-color: rgba(255, 140, 0, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 110, 0, 0.05);
}

@media (max-width: 1100px) {
    header {
        margin: 15px 15px 10px;
        border-radius: 20px;
    }
}

header h1 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff7ed;
    margin: 0;
}

nav a {
    color: #d7c7b7;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    position: relative;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #fff7ed;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right .nav-badge {
    margin-left: 0;
}

.ucp-button-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #e65100 0%, #ff5722 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.ucp-button-header:hover {
    background: linear-gradient(135deg, #ff6d00 0%, #ff7043 100%);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.5);
    transform: translateY(-1.5px);
    text-decoration: none;
}

.ucp-button-header:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(230, 81, 0, 0.2);
}

/* =========================
   MAIN / HERO
========================= */
main {
    padding: 10px 20px;
}

mainregister{
  min-height: 100vh;
  padding: 5px 5px;      /* era 60px; reduz */
  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateY(-28px); /* sobe o painel */
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff7ed;
    text-shadow: 0 0 20px rgba(208,74,47,0.35);
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #d7c7b7;
}

/* =========================
   FORMS (LOGIN / REGISTER)
========================= */
form {
    width: 100%;
    max-width: 380px;
    margin: 60px auto;
    padding: 32px;
     background: linear-gradient(
    180deg,
    #23140e,
    #120c09
  );
    border-radius: 14px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);
}

form h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
    color: #fff7ed;
}

input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #090604;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #f4eee6;
    font-size: 14px;
    outline: none;
}

input:focus {
    border-color: #d04a2f;
    box-shadow: 0 0 0 2px rgba(208,74,47,0.25);
}

/* =========================
   BUTTONS
========================= */
button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(180deg, #f08a3c, #b72f22);
    border: none;
    border-radius: 10px;
    color: #fff7ed;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(208,74,47,0.45);
}

button:active {
    transform: translateY(0);
}

/* =========================
   USER PANEL
========================= */
.panel {
    max-width: 900px;
    margin: 60px auto;
    padding: 32px;
    background: linear-gradient(180deg, #21110c, #0e0907);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.panel h2 {
    margin-bottom: 12px;
    color: #fff7ed;
}

.panel p {
    color: #d7c7b7;
}

.panel a {
    display: inline-block;
    margin-top: 14px;
    margin-right: 14px;
    color: #f0a14a;
    text-decoration: none;
    font-size: 14px;
}

.panel a:hover {
    color: #fff7ed;
}

/* =========================
   PANEL GRID
========================= */
.panel-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================
   PANEL CARD
========================= */
.panel-card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card {
  background: rgba(12, 16, 28, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glass-card:hover {
  border-color: rgba(255, 140, 0, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 110, 0, 0.15);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e65100, #ff5722, transparent);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.glass-card:hover .card-glow {
  opacity: 0.85;
}

.title-icon {
  margin-right: 6px;
  display: inline-block;
  transform: scale(1.1);
}

/* Feature List Styles */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #e6e9f0;
}

.feat-bullet {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

.feat-text {
  opacity: 0.9;
}

/* Status Monitor Styles */
.status-monitor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.status-device {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}

.status-device:hover {
  border-color: rgba(255, 140, 0, 0.15);
}

.status-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-name {
  font-weight: 700;
  font-size: 13px;
  color: #cfd6ff;
}

.status-indicator {
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.online-glow {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.25);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.1);
}

.offline-glow {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.25);
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

/* Pulsing Dot Effect */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.online-glow .pulse-dot {
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulse-green 2s infinite;
}

.offline-glow .pulse-dot {
  background: #e74c3c;
  box-shadow: 0 0 8px #e74c3c;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Metrics and Meter Bars */
.metric-meter-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-meter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-meter-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 12px;
  opacity: 0.75;
  color: #cfd6ff;
}

.metric-val {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
}

.amber-glow-bar {
  background: linear-gradient(90deg, #ff8c00, #ff5722);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.orange-glow-bar {
  background: linear-gradient(90deg, #ff5722, #d84b16);
  box-shadow: 0 0 8px rgba(255, 87, 34, 0.4);
}

/* Steps Flow Styles */
.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.step-card:hover {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 140, 0, 0.1);
  transform: translateX(4px);
}

.step-num {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #e65100, #ff5722);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4);
}

.step-desc {
  font-size: 13px;
  color: #cfd6ff;
  line-height: 1.35;
}

/* Primary Redesign Button */
.primary-gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  background: linear-gradient(135deg, #e65100 0%, #ff5722 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px rgba(230, 81, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-gradient-btn:hover {
  background: linear-gradient(135deg, #ff6d00 0%, #ff7043 100%);
  box-shadow: 0 8px 24px rgba(230, 81, 0, 0.55);
  transform: translateY(-2px);
  text-decoration: none;
}

.primary-gradient-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.25);
}

/* flex-actions container */
.flex-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

@media (max-width: 480px) {
  .flex-actions {
    flex-direction: column;
  }
}

/* Ranking Preview Widget */
.ranking-preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.rank-item-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.rank-item-mock:hover {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 140, 0, 0.15);
  transform: translateX(4px);
}

.rank-badge {
  font-size: 11px;
  font-weight: 900;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-badge.gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

.rank-badge.silver {
  background: rgba(192, 192, 192, 0.15);
  color: #e6e6e6;
  border: 1px solid rgba(192, 192, 192, 0.3);
}

.rank-badge.bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.3);
}

.rank-char {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-details-text {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-primary-color);
  opacity: 0.85;
}

/* News List Modern */
.news-list-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.news-item-modern {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.news-item-modern:hover {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 140, 0, 0.15);
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-item-tag {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(79, 108, 255, 0.12);
  color: #8c9eff;
  border: 1px solid rgba(79, 108, 255, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.news-item-date {
  font-size: 11px;
  color: #cfd6ff;
  opacity: 0.6;
}

.news-item-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item-title:hover {
  color: var(--text-primary-color);
  text-decoration: none;
}

.news-item-modern.empty {
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0.6;
}

.panel-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: #fff7ed;
}

.panel-card p {
    font-size: 14px;
    margin: 6px 0;
	
    color: #d7c7b7;
}

.panel-full {
    grid-column: 1 / -1;
}
/* =========================
   PANEL IMAGE
========================= */
.panel-image {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.panel-image img {
    width: 100%;
    max-width: 420px;        /* controla tamanho */
    height: auto;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.04);

    transition: transform .3s ease, box-shadow .3s ease;
}

/* efeito leve (opcional, elegante) */
.panel-image img:hover {
    transform: scale(1.02);
    box-shadow:
        0 14px 36px rgba(0,0,0,0.65),
        inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* mobile */
@media (max-width: 520px) {
    .panel-image img {
        max-width: 100%;
    }
}

/* =========================
   ACTIONS
========================= */
.panel-actions {
    margin-top: 16px;
}

.panel-actions .btn {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(
    180deg,
    #23140e,
    #120c09
  );
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.panel-actions .btn:hover {
    box-shadow: 0 8px 24px rgba(208,74,47,0.45);
}

/* =========================
   STATUS
========================= */
.status {
    font-weight: 600;
}

.status.online {
    color: #71e48b;
}

.status.offline {
    color: #ff7161;
}
/* =========================
   MINI METRICS
========================= */
.mini-metrics {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.mini-metric .label {
    display: block;
    font-size: 12px;
    color: #d7c7b7;
    margin-bottom: 6px;
}

.mini-metric .value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff7ed;
    letter-spacing: 0.3px;
}

@media (max-width: 820px) {
    .mini-metrics { grid-template-columns: 1fr; }
}

/* =========================
   TABLE
========================= */
.panel-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.panel-table th,
.panel-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.panel-table th {
    color: #fff7ed;
    text-align: left;
}

.panel-table td {
    color: #d7c7b7;
}

/* =========================
   PANEL FORM
========================= */
.panel-form {
    display: flex;
    flex-direction: column;
}

.panel-form label {
    font-size: 13px;
    margin: 10px 0 4px;
    color: #d7c7b7;
}

.panel-form input {
    background: #090604;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px;
    color: #f4eee6;
}

/* =========================
   MESSAGES
========================= */
.msg {
    margin-top: 14px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.msg.success {
    background: rgba(76,255,154,0.12);
    color: #71e48b;
}

.msg.error {
    background: rgba(255,125,125,0.12);
    color: #ff7161;
}

/* =========================
   SECURITY LIST
========================= */
.security-list {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: #d7c7b7;
}

.security-list li {
    margin-bottom: 6px;
}
/* =========================
   NAV BADGE
========================= */
.nav-badge {
    margin-left: 18px;
    font-size: 12px;
    color: #d7c7b7;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}
/* =========================
   RANK TABLE (BASE)
========================= */
.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rank-table th,
.rank-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rank-table th {
    color: #fff7ed;
    text-align: left;
    font-weight: 600;
}

.rank-table td {
    color: #d7c7b7;
}

/* =========================
   RANKING UNIFICADO
========================= */
.rank-unified th,
.rank-unified td {
    text-align: center;
}

.rank-unified th:nth-child(2),
.rank-unified td:nth-child(2) {
    text-align: left;
}

.rank-unified .pvp {
    color: #71e48b;
    font-weight: 600;
}

.rank-unified .pk {
    color: #ff7161;
    font-weight: 600;
}
/* =========================
   CHAR GRID
========================= */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.char-tile {
    all: unset;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 12px 14px;

    transition: all .2s ease;
}

.char-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
    border-color: rgba(208,74,47,.45);
}

/* avatar */
.char-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
    object-fit: cover;
}

/* meta */
.char-meta { flex: 1; min-width: 0; }

.char-name {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 10000;
    color: #fff7ed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.char-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #d7c7b7;
    opacity: .9;
}

/* online dot */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot.on  { background:#71e48b; box-shadow:0 0 8px rgba(76,255,154,.6); }
.dot.off { background:#ff7161; box-shadow:0 0 8px rgba(255,125,125,.5); }

/* =========================
   MODAL BASE
========================= */
.modal-open { overflow: hidden; }

.char-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.char-modal[aria-hidden="true"] { display: none; }

.char-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(2px);
}

/* card */
.char-modal-card {
    position: relative;
    max-width: 760px;
    max-height: 86vh;
    margin: 6vh auto;

    display: flex;
    flex-direction: column;

    background: linear-gradient(180deg, #23262f, #0e0907);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 120px rgba(0,0,0,.85);
    overflow: hidden;
}

/* header */
.char-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.char-modal-head h4 {
    margin: 0;
    font-size: 16px;
    color: #fff7ed;
}

/* close */
.char-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 20px;

    cursor: pointer;
    transition: background .15s;
}
.char-close:hover { background: rgba(255,255,255,0.12); }

/* body */
.char-modal-body {
    padding: 18px;
    overflow-y: auto;
}

/* =========================
   TABLE (MODAL)
========================= */
.char-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.char-table th,
.char-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}

.char-table th {
    width: 38%;
    text-align: left;
    font-weight: 700;
    color: #fff7ed;
}

.char-table td {
    color: #d7c7b7;
    word-break: break-word;
}

/* =========================
   MODAL ACTIONS
========================= */
.char-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.char-modal-actions .btn {
    padding: 10px 16px;
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 720px) {

    .char-modal-card {
        margin: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .char-modal-body {
        padding: 14px;
    }

    .char-table th {
        width: 44%;
    }
}

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
    background:
        linear-gradient(180deg, rgba(208,74,47,0.12), rgba(0,0,0,0.65)),
        url("../img/hero-bg.png") center / cover no-repeat;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    text-align: center;
}


/* Home layout */
.hero-home .hero-inner { max-width: 1050px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: .6px;
}

.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding: 10px 14px; border-radius: 10px; text-decoration:none; border: 1px solid rgba(255,255,255,.10); }
.btn.primary { font-weight: 800; }

.rate-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .rate-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .rate-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(12, 16, 28, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
}

.rate-card.highlighted {
  border-color: rgba(255, 140, 0, 0.4);
  box-shadow: 0 8px 32px rgba(255, 110, 0, 0.15), inset 0 0 8px rgba(255, 140, 0, 0.05);
  background: rgba(18, 22, 38, 0.7);
}

.rate-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(18, 22, 38, 0.75);
  border-color: rgba(255, 140, 0, 0.45);
  box-shadow: 0 16px 40px rgba(255, 110, 0, 0.2), inset 0 0 12px rgba(255, 140, 0, 0.08);
}

.rate-icon {
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 140, 0, 0.08);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 140, 0, 0.25);
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.1);
}

.rate-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rate-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: #cfd6ff;
  opacity: 0.75;
}

.rate-value {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 4px;
}

.rate-value.text-glow {
  color: var(--text-primary-color);
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
}

@media (max-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

.steps { margin: 10px 0 0; padding-left: 18px; }
.steps li { margin: 6px 0; opacity: .92; }

.muted { opacity: .75; }

.status-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.status-row { display:flex; justify-content:space-between; padding: 6px 0; }
.status-row .label { opacity: .75; }
.status-row .value { font-weight: 800; }

.news-list { margin-top: 10px; display:flex; flex-direction:column; gap: 10px; }
.news-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.news-title { font-weight: 900; }
.news-meta { opacity: .7; font-size: 12px; margin-top: 4px; }
.news-summary{
  opacity:.85;
  font-size:13px;
  margin-top:6px;
  line-height:1.35;
}

.community { padding: 6px 0 18px; }
.community-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }

.panel-full { grid-column: 1 / -1; }
.hero.hero-home { background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.25)), url("../img/hero-bg.jpg") center center / contain no-repeat, #0b0f1a; height: 500; }

@media (max-width: 900px) {
  .hero.hero-home {
    height: 380px;
    background-position: center center;
  }
}

@media (max-width: 600px) {
  .hero.hero-home {
    height: 280px;
  }
}




.hero.hero-home h2 {
  text-shadow:
    0 0 18px rgba(240,138,60,0.45),
    0 0 36px rgba(208,74,47,0.25);
}

.hero-badge {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(240,138,60,0.35);
  color: #ffc46b;
  font-weight: 800;
}

/* BLOCO DE INFO ABAIXO DO HERO */
.hero-info {
  padding: 26px 16px 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.0));
}

.hero-info-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.hero-description {
  margin: 10px 0 14px;
  max-width: 780px;
  opacity: 0.85;
}

/* Ajuste rate-cards-grid para esse contexto */
.hero-info .rate-cards-grid {
  margin-top: 14px;
}
.hero-info {
  position: relative;
}

.hero-info::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.0));
}

.btn {
  gap: 15px;
}

.btn svg {
  flex: 0 0 auto;
  opacity: 0.95;
}
/* ===============================
   COMMUNITY BUTTONS (MMORPG)
================================ */

.community-actions--mmorpg{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 900px){
  .community-actions--mmorpg{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .community-actions--mmorpg{
    grid-template-columns: 1fr;
  }
}

.soc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 44px;
  padding: 0 14px;
  border-radius: 12px;

  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;

  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.soc-btn svg{
  width: 18px;
  height: 18px;
  opacity: .92;
}

/* Hover com “polish” */
.soc-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* Acessibilidade: foco */
.soc-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(240,138,60,0.25), 0 16px 40px rgba(0,0,0,0.45);
}

/* Variações por marca (sem “gritar”) */
.soc-discord { border-color: rgba(122,215,255,0.22); }
.soc-whatsapp{ border-color: rgba(127,214,138,0.22); }
.soc-facebook{ border-color: rgba(255,255,255,0.12); } /* neutro pra não ficar azul forte */

/* Botão primário (Central de Suporte) */
.soc-btn.is-primary{
  background: linear-gradient(180deg, rgba(240,138,60,0.22), rgba(0,0,0,0.10));
  border-color: rgba(240,138,60,0.35);
  color: #ffe0a0;
}

.soc-btn.is-primary:hover{
  background: linear-gradient(180deg, rgba(240,138,60,0.28), rgba(0,0,0,0.12));
  border-color: rgba(240,138,60,0.45);
}

/* =========================
   SUFIXO TOGGLE
========================= */
.suffix-toggle{
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #d7c7b7;

  cursor: pointer;
}

.suffix-toggle input{
  width: 16px;
  height: 16px;
  accent-color: #f08a3c;
}

/* =========================
   SUFIXO SELECT ROW
========================= */
.suffix-row{
  margin-bottom: 6px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;

  transition: all .25s ease;
}

.suffix-row.active{
  opacity: 1;
  max-height: 80px;
}

/* select reaproveita seu visual */
.suffix-select{
  width: 100%;
  height: 46px;
  border-radius: 12px;

  padding: 0 40px 0 14px;
  font-weight: 800;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);

  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.suffix-select:disabled{
  opacity: .5;
}
/* =========================
   LOGIN HINT (SUFIXO)
========================= */
.login-hint{
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;

  transition: opacity .25s ease, max-height .25s ease;
}

.login-hint.active{
  opacity: .8;
  max-height: 40px;
}


/* =========================
   SIEGE GRID
========================= */
.siege-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  width: 100%;
}

.siege-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35);
}

.siege-card h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: .3px;
}

.siege-meta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.siege-meta .item{
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.siege-meta .k{
  display:block;
  font-size: 12px;
  opacity: .75;
}

.siege-meta .v{
  display:block;
  font-weight: 800;
  margin-top: 2px;
}

.siege-registrations{
  margin-top: 10px;
}

.siege-registrations .title{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 8px;
  display:flex;
  justify-content: space-between;
  align-items:center;
}

.clan-list{
  display: grid;
  gap: 8px;
}

.clan-row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.clan-name{
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clan-badge{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: .9;
}

.badge-attacker{ background: rgba(255,80,80,0.10); }
.badge-defender{ background: rgba(240,138,60,0.10); }
.badge-owner{ background: rgba(255,200,90,0.10); }

.siege-empty{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: .8;
  font-size: 13px;
}


.clan-more{
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}

.clan-more:hover{
  border-color: rgba(208,74,47,0.45);
}

.clan-list.is-hidden{
  display: none;
  margin-top: 10px;
}
.clan-list{
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}


/* =========================
   DOWNLOAD PAGE (EXCLUSIVO)
========================= */

.download-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Header */
.download-header h2 {
  margin: 0;
  font-size: 22px;
}

.download-header p {
  opacity: .8;
  margin-top: 6px;
  max-width: 720px;
}

/* Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Card */
.download-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.download-card.is-primary {
  border-color: rgba(208,74,47,0.45);
  background: linear-gradient(
    180deg,
    rgba(208,74,47,0.15),
    rgba(255,255,255,0.04)
  );
}

/* Card head */
.download-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-icon {
  font-size: 20px;
}

.download-title {
  font-weight: 800;
  font-size: 15px;
}

/* Text */
.download-desc {
  opacity: .85;
  font-size: 14px;
  line-height: 1.4;
}

/* Meta */
.download-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: .75;
}

/* Button */
.download-btn {
  margin-top: auto;
  text-align: center;
  padding: 12px;
  border-radius: 12px;

  font-weight: 800;
  text-decoration: none;

  background: rgba(208,74,47,0.65);
  color: #fff;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  background: rgba(208,74,47,0.85);
}

/* Box sections */
.download-box {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
}

.download-box h3 {
  margin: 0 0 10px;
}

/* Steps */
.download-steps {
  padding-left: 18px;
  line-height: 1.6;
  opacity: .9;
}

/* Reqs */
.download-reqs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.download-req {
  display: block;
  padding: 12px;
  border-radius: 12px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  text-decoration: none;
  color: inherit;
}

.download-req:hover {
  border-color: rgba(208,74,47,0.45);
}

/* Notes */
.download-notes {
  padding-left: 18px;
  opacity: .85;
}

/* Support */
.download-support {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-btn {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

.support-btn.primary {
  background: rgba(208,74,47,0.65);
  border-color: rgba(208,74,47,0.55);
}

.support-btn:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

/* Mobile */
@media (max-width: 640px) {
  .download-header h2 {
    font-size: 18px;
  }
}


/* =========================
   BOSS PAGE (SIMPLES / LIMPO)
========================= */
.boss-header{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  margin-bottom:10px;
}

.boss-header h3{ margin:0; }

.boss-search{
  width:min(360px, 100%);
  height:42px;
  padding:0 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-weight:800;
  outline:none;
}
.boss-search:focus{
  border-color: rgba(208,74,47,0.45);
  box-shadow: 0 0 0 3px rgba(208,74,47,0.18);
}

.boss-list{ display:flex; flex-direction:column; gap:10px; }

.boss-row{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.boss-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.boss-title{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.boss-name{
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.boss-sub{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  opacity:.78;
}

.boss-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.boss-chip{
  font-size:12px;
  font-weight:900;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  opacity:.95;
}

.boss-chip.alive{ background: rgba(60,200,120,0.12); color:#90f0a6; border-color: rgba(60,200,120,0.25); }
.boss-chip.dead{ background: rgba(200,60,60,0.12); color:#ff9387; border-color: rgba(200,60,60,0.25); }
.boss-chip.respawn{ background: rgba(255,170,60,0.12); color:#ffd08a; border-color: rgba(255,170,60,0.25); }

.boss-chip.countdown{
  background: rgba(208,74,47,0.12);
  border-color: rgba(208,74,47,0.25);
  color: rgba(220,230,255,0.95);
}

.boss-extra{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,0.08);
  opacity:.9;
  font-size:13px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:10px;
}

.boss-box{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}
.boss-box .k{ display:block; opacity:.75; font-size:12px; }
.boss-box .v{ display:block; font-weight:900; margin-top:4px; }

.boss-pager{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.boss-pager .info{
  opacity:.75;
  font-size:12px;
}

.boss-btn{
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:5000;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  white-space: nowrap; /* <<< ESSENCIAL */
}


.boss-btn:disabled{ opacity:.45; cursor:not-allowed; }
.boss-chip.sleeping {
  background: rgba(120,120,255,0.15);
  color: #c9b6ff;
  border: 1px solid rgba(120,120,255,0.35);
}

@media (max-width: 640px){
  .boss-main{ flex-direction:column; align-items:flex-start; }
  .boss-right{ justify-content:flex-start; }
}

/* =========================
   FOOTER
========================= */
footer {
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    color: #9e8d7a;
    border-top: 1px solid rgba(255,255,255,0.05);
}


/* =========================================================
   CAMADA FINAL DE POLIMENTO PROFISSIONAL
========================================================= */
body {
  background:
    radial-gradient(circle at 18% -10%, rgba(208,74,47,.24), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(240,138,60,.13), transparent 28%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 72%);
  color: var(--text);
}

form,
.panel,
.panel-card,
.char-modal-card,
.download-card,
.download-box,
.siege-card,
.boss-row {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
    linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.05);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

header h1,
form h2,
.panel h2,
.panel-card h3,
.char-modal-head h4,
.download-header h2,
.download-box h3,
.boss-header h3 {
  color: var(--text);
  letter-spacing: .35px;
}

nav a,
label,
.panel p,
.panel-card p,
.panel-table td,
.rank-table td,
.char-table td,
.security-list,
.hero p {
  color: var(--muted);
}

nav a::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

input,
select,
.boss-search,
.suffix-select {
  background: rgba(8, 5, 3, .62);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

input::placeholder { color: rgba(215,199,183,.56); }

input:focus,
select:focus,
.boss-search:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(208,74,47,.18), var(--shadow-glow);
  background: rgba(13, 8, 5, .78);
}

button,
.btn.primary,
.download-btn,
.support-btn.primary,
.soc-btn.is-primary,
.panel-actions .btn {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff7ed;
  border: 1px solid rgba(255,196,107,.24);
  box-shadow: 0 12px 30px rgba(208,74,47,.22);
}

button:hover,
.download-btn:hover,
.support-btn:hover,
.panel-actions .btn:hover,
.soc-btn:hover,
.boss-btn:hover,
.clan-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(208,74,47,.25), 0 10px 30px rgba(0,0,0,.45);
  border-color: rgba(255,196,107,.38);
}

.hero {
  border: 1px solid rgba(255,196,107,.16);
  background:
    linear-gradient(180deg, rgba(5,4,3,.30), rgba(5,4,3,.78)),
    radial-gradient(circle at center top, rgba(240,138,60,.20), transparent 36%),
    url("../img/hero-bg.png") center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06);
}

.hero.hero-home {
  background:
    linear-gradient(180deg, rgba(5,4,3,.18), rgba(5,4,3,.72)),
    radial-gradient(circle at center, rgba(208,74,47,.16), transparent 42%),
    url("../img/hero-bg.jpg") center center / contain no-repeat,
    #090604;
}

.hero h2,
.hero.hero-home h2 {
  color: #fff7ed;
  text-shadow: 0 0 22px rgba(208,74,47,.42), 0 0 46px rgba(240,138,60,.20);
}

.hero-badge,
.nav-badge,
.hero-mini-item,
.mini-metric,
.news-item,
.status-box,
.char-tile,
.clan-row,
.siege-meta .item,
.download-req,
.boss-box,
.boss-chip,
.support-btn,
.soc-btn,
.clan-more,
.boss-btn,
.to-top,
.music-toggle {
  background: rgba(255,246,232,.055);
  border: 1px solid var(--line);
  color: var(--text);
}

.char-tile:hover,
.download-card.is-primary {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(208,74,47,.14), rgba(255,246,232,.04));
}

.panel-table th,
.rank-table th,
.char-table th {
  color: #fff7ed;
  border-bottom-color: rgba(255,196,107,.14);
}

.status.online,
.rank-unified .pvp,
.dot.on { color: var(--success); }
.status.offline,
.rank-unified .pk,
.dot.off { color: var(--danger); }

.msg.success { background: rgba(113,228,139,.12); color: var(--success); border: 1px solid rgba(113,228,139,.18); }
.msg.error { background: rgba(255,113,97,.12); color: var(--danger); border: 1px solid rgba(255,113,97,.18); }

.boss-chip.alive { background: rgba(113,228,139,.12); color: var(--success); border-color: rgba(113,228,139,.28); }
.boss-chip.dead { background: rgba(255,113,97,.12); color: var(--danger); border-color: rgba(255,113,97,.28); }
.boss-chip.respawn { background: rgba(255,208,138,.12); color: var(--warning); border-color: rgba(255,208,138,.28); }
.boss-chip.countdown { background: rgba(208,74,47,.13); border-color: rgba(208,74,47,.28); color: #ffe0c7; }

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(240,138,60,.72), rgba(208,74,47,.48));
  border-color: rgba(5,4,3,.86);
}

* {
  scrollbar-color: rgba(240,138,60,.62) rgba(255,246,232,.06);
}

/* =========================================================
   CAMADA ADICIONAL DE DESIGN HIGH-FIDELITY (GÓTICO/RPG)
========================================================= */

/* Fontes para Títulos e RPG */
h1, h2, h3, h4, h5, h6, .hero-title, .hero-chronicle, .rate-title, .rate-value, nav a {
  font-family: 'Cinzel', serif !important;
  letter-spacing: 0.5px;
}

/* Banner de Destaque (Hero) */
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/hero-bg.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 196, 107, 0.12);
  margin-top: 20px;
  border-radius: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .hero-banner {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 11, 9, 0.3) 0%, rgba(10, 8, 6, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 60px) !important;
  margin: 0;
  color: #fff7ed;
  text-shadow: 0 0 20px rgba(240, 138, 60, 0.6), 0 0 40px rgba(240, 138, 60, 0.2);
  letter-spacing: 3px !important;
  font-weight: 900 !important;
}

.hero-chronicle {
  font-size: 13px !important;
  color: #ffd08a;
  letter-spacing: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  background: rgba(240, 138, 60, 0.12);
  border: 1px solid rgba(240, 138, 60, 0.3);
  padding: 4px 18px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(240, 138, 60, 0.15);
}

.hero-subtitle {
  font-size: 15px;
  color: #d7c7b7;
  max-width: 600px;
  margin: 8px 0 18px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin-top: 15px !important;
}

.hero-buttons .btn {
  width: auto !important;
  min-width: 160px !important;
}

/* Botões Customizados */
.primary-gradient-btn {
  background: linear-gradient(135deg, #d04a2f, #a32c1c) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 196, 107, 0.2) !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  box-shadow: 0 6px 20px rgba(208, 74, 47, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  cursor: pointer;
}

.primary-gradient-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(208, 74, 47, 0.55), 0 0 15px rgba(240, 138, 60, 0.3) !important;
  border-color: rgba(255, 196, 107, 0.4) !important;
}

.secondary-outline-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #d7c7b7 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.secondary-outline-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px);
}

/* Ajustes no Menu Flutuante */
header {
  margin: 20px auto 0 !important;
  width: 90% !important;
  max-width: 1200px !important;
  background: rgba(10, 8, 6, 0.72) !important;
  border: 1px solid rgba(255, 196, 107, 0.15) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  top: 15px !important;
}

@media (max-width: 1100px) {
  header {
    width: calc(100% - 30px) !important;
    margin: 15px 15px 0 !important;
  }
}

header nav a {
  font-family: 'Cinzel', serif !important;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: #c9b6a3 !important;
}

header nav a:hover {
  color: #ffd08a !important;
}

.ucp-button-header {
  border-radius: 999px !important;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 22px !important;
  background: linear-gradient(135deg, #d04a2f 0%, #a32c1c 100%) !important;
  border: 1px solid rgba(255, 196, 107, 0.2) !important;
  box-shadow: 0 4px 15px rgba(208, 74, 47, 0.3) !important;
}

.ucp-button-header:hover {
  background: linear-gradient(135deg, #e35a3f 0%, #ba3423 100%) !important;
  box-shadow: 0 6px 20px rgba(208, 74, 47, 0.5) !important;
}

/* Vetores SVG das Rates */
.icon-svg {
  width: 24px;
  height: 24px;
  color: #f08a3c;
  filter: drop-shadow(0 0 5px rgba(240, 138, 60, 0.5));
}

.rate-card {
  background: rgba(16, 11, 9, 0.5) !important;
  border: 1px solid rgba(255, 196, 107, 0.08) !important;
}

.rate-card.highlighted {
  border-color: rgba(240, 138, 60, 0.45) !important;
  background: linear-gradient(180deg, rgba(240, 138, 60, 0.12), rgba(16, 11, 9, 0.6)) !important;
  box-shadow: 0 8px 32px rgba(240, 138, 60, 0.15), 0 0 20px rgba(240, 138, 60, 0.1) !important;
}

.rate-card.highlighted .rate-icon {
  border-color: rgba(240, 138, 60, 0.4) !important;
  background: rgba(240, 138, 60, 0.15) !important;
  box-shadow: 0 0 15px rgba(240, 138, 60, 0.25) !important;
}

.rate-card:hover {
  border-color: rgba(240, 138, 60, 0.45) !important;
  box-shadow: 0 12px 35px rgba(240, 138, 60, 0.2) !important;
  background: rgba(24, 18, 15, 0.7) !important;
}

.rate-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #a99480;
}

.rate-value {
  font-family: 'Cinzel', serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #ffd699;
}

/* Layout Grid dos Cards */
.panel-card.glass-card {
  background: rgba(16, 11, 9, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.panel-card.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 138, 60, 0.3) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(240, 138, 60, 0.08) !important;
}

.panel-card.glass-card h3 {
  font-family: 'Cinzel', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff7ed;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-top: 0;
}

.title-svg {
  width: 22px;
  height: 22px;
  color: #f08a3c;
  vertical-align: middle;
  margin-right: 10px;
  filter: drop-shadow(0 0 4px rgba(240, 138, 60, 0.4));
  flex-shrink: 0;
}

.bullet-svg {
  width: 14px;
  height: 14px;
  color: #f08a3c;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Painel de Status de Jogadores Online */
.online-players-display {
  background: linear-gradient(135deg, rgba(240, 138, 60, 0.08), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(240, 138, 60, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: inset 0 0 15px rgba(240, 138, 60, 0.03);
}

.online-players-count {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.online-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #a99480;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif !important;
}

.online-number {
  font-size: 32px;
  font-weight: 900;
  color: #ffd699;
  font-family: 'Cinzel', serif !important;
  text-shadow: 0 0 15px rgba(240, 138, 60, 0.5);
  line-height: 1;
}

.online-players-pulse {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #71e48b;
  border-radius: 50%;
  animation: pulseGlow 2s infinite ease-in-out;
  opacity: 0.4;
}

.pulse-core {
  width: 8px;
  height: 8px;
  background-color: #71e48b;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 8px #71e48b;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Rankings do Servidor */
.ranking-preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.rank-item-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.rank-item-mock:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Cinzel', serif !important;
}

.rank-badge.gold {
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #000;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.rank-badge.silver {
  background: linear-gradient(135deg, #c0c0c0, #808080);
  color: #000;
  box-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: #fff;
  box-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
}

.rank-char {
  font-weight: 600;
  font-size: 13px;
  color: #e3d3c4;
  flex: 1;
  margin-left: 12px;
}

.rank-details-text {
  font-family: 'Cinzel', serif !important;
  font-size: 12px;
  font-weight: 700;
  color: #f08a3c;
}

/* Painel de Atualizações */
.news-list-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.news-item-modern {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.news-item-modern:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.news-item-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f08a3c;
  background: rgba(240, 138, 60, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(240, 138, 60, 0.15);
  font-family: 'Montserrat', sans-serif !important;
}

.news-item-date {
  font-size: 11px;
  color: #8c7e70;
}

.news-item-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  color: #e3d3c4;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.news-item-title:hover {
  color: #ffd08a;
}

/* =========================================================
   SISTEMA DE BOTÕES UNIFICADO (ESTILO GOLD-OUTLINE)
========================================================= */
.primary-gradient-btn,
.secondary-outline-btn,
.ucp-button-header,
.btn-outline-gold,
button:not(.music-toggle):not(.to-top):not(.support-modal-close),
.btn.primary,
.download-btn,
.support-btn.primary,
.soc-btn.is-primary,
.panel-actions .btn {
  background: rgba(240, 138, 60, 0.04) !important;
  border: 1px solid rgba(240, 138, 60, 0.3) !important;
  color: #ffd08a !important;
  border-radius: 999px !important;
  font-family: 'Cinzel', serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 10px 24px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(240, 138, 60, 0.05) !important;
  cursor: pointer !important;
  width: auto !important;
}

.primary-gradient-btn:hover,
.secondary-outline-btn:hover,
.ucp-button-header:hover,
.btn-outline-gold:hover,
button:not(.music-toggle):not(.to-top):not(.support-modal-close):hover,
.btn.primary:hover,
.download-btn:hover,
.support-btn.primary:hover,
.soc-btn.is-primary:hover,
.panel-actions .btn:hover {
  background: rgba(240, 138, 60, 0.12) !important;
  border-color: rgba(240, 138, 60, 0.55) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 15px rgba(240, 138, 60, 0.25) !important;
}

/* Espacamento e alinhamento das listas dos cards */
.feature-list {
  gap: 16px !important;
}

.feature-list li {
  line-height: 1.5 !important;
  margin-bottom: 4px;
}

.feat-text {
  font-size: 13.5px !important;
  color: #d7c7b7 !important;
}

/* Flexbox horizontal row para flex-actions nas Rankings */
.flex-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  width: 100% !important;
}

/* =========================
   DOAÇÃO / PIX MERCADO PAGO
========================= */
.donation-card form,
.donation-form {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.donation-muted {
  color: var(--muted, #d7c7b7);
  opacity: .9;
  line-height: 1.45;
}

.donation-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 4px;
}

.donation-preview > div,
.donation-summary {
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.donation-preview span,
.donation-summary span {
  display: block;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 4px;
}

.donation-preview strong,
.donation-summary strong {
  color: #fff7ed;
  font-size: 15px;
}

.donation-qr-wrap {
  display: grid;
  place-items: center;
  margin: 14px 0;
}

.donation-qr {
  width: min(240px, 100%);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.5);
}

.donation-copy {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border-radius: 12px;
  padding: 12px;
  color: #f4eee6;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  outline: none;
}

.donation-copy-btn {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .donation-preview { grid-template-columns: 1fr; }
}

/* =========================
   BALANCE -> ITEM TRANSFER
========================= */
.transfer-card {
  background:
    linear-gradient(180deg, rgba(255, 140, 0, 0.08), rgba(0,0,0,0.10)),
    rgba(12, 16, 28, 0.58);
  border: 1px solid rgba(255, 140, 0, 0.16);
}

.transfer-muted {
  color: var(--muted, #d7c7b7);
  line-height: 1.45;
}

.transfer-soft {
  display: inline-block;
  margin-left: 8px;
  opacity: .7;
  font-size: 12px;
}

.transfer-warning {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 208, 138, 0.10);
  border: 1px solid rgba(255, 208, 138, 0.18);
  color: var(--warning, #ffd08a);
  font-size: 13px;
}

.transfer-form {
  max-width: none;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.transfer-form small {
  display: block;
  margin-top: -6px;
  color: rgba(255,255,255,.68);
}

.transfer-form select,
.transfer-form input {
  margin-bottom: 14px;
}

.transfer-form option:disabled {
  opacity: .45;
}

@media (max-width: 720px) {
  .transfer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BALANCE -> PIX WITHDRAWAL
========================= */
.withdrawal-card {
  width: 100%;
}

.withdrawal-muted {
  color: var(--muted, #d7c7b7);
  line-height: 1.45;
}

.withdrawal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.withdrawal-summary > div {
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.withdrawal-summary span,
.withdrawal-row span {
  display: block;
  font-size: 12px;
  color: rgba(215,199,183,.78);
  margin-bottom: 4px;
}

.withdrawal-summary strong,
.withdrawal-row strong {
  color: #fff7ed;
}

.withdrawal-form {
  max-width: none;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.withdrawal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.withdrawal-form small {
  display: block;
  margin-top: -6px;
  color: rgba(255,255,255,.68);
}

.withdrawal-form select,
.withdrawal-form input {
  margin-bottom: 14px;
}

.withdrawal-confirm {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 2px 0 10px !important;
  color: #d7c7b7;
  font-size: 13px;
  font-weight: 700;
}

.withdrawal-confirm input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.withdrawal-history {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.withdrawal-history h4 {
  margin: 0 0 10px;
  color: #fff7ed;
  font-family: 'Cinzel', serif;
  font-size: 15px;
}

.withdrawal-list {
  display: grid;
  gap: 10px;
}

.withdrawal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.withdrawal-status {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffd08a;
  background: rgba(255,208,138,.10);
  border: 1px solid rgba(255,208,138,.22);
}

.withdrawal-status-paid {
  color: #71e48b;
  background: rgba(113,228,139,.10);
  border-color: rgba(113,228,139,.22);
}

.withdrawal-status-rejected,
.withdrawal-status-cancelled {
  color: #ff8b8b;
  background: rgba(255,96,96,.10);
  border-color: rgba(255,96,96,.20);
}

@media (max-width: 720px) {
  .withdrawal-summary,
  .withdrawal-grid {
    grid-template-columns: 1fr;
  }

  .withdrawal-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* =========================
   CHARACTER MARKET - FIXADO
========================= */
.character-market-card { margin-top: 24px; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.market-section { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; }
.market-section h4 { margin: 0 0 12px; color: #fff7ed; font-family: 'Cinzel', serif; }
.market-muted { color: #d7c7b7; opacity: .86; font-size: 13px; }
.market-warning { padding: 10px 12px; border-radius: 12px; background: rgba(255,208,138,.10); border: 1px solid rgba(255,208,138,.22); color: #ffd08a; font-size: 13px; }
.market-form, .market-sale-card form { max-width: none; margin: 12px 0 0; padding: 0; background: transparent; box-shadow: none; }
.market-list, .market-listings { display: grid; gap: 12px; }
.market-listings { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.market-row, .market-sale-card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); border-radius: 14px; padding: 12px; }
.market-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.market-row span, .market-sale-card span { display: block; margin-top: 4px; color: #d7c7b7; font-size: 13px; }
.market-full { margin-top: 16px; }
.market-payment-box { margin: 14px 0; padding: 16px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(240,138,60,.25); }
.market-qr-wrap { display: flex; justify-content: center; margin: 14px 0; }
.market-qr { width: 260px; height: 260px; background: #fff; border-radius: 12px; padding: 8px; }
.market-summary { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); margin-bottom: 10px; }
.market-copy { width: 100%; min-height: 92px; border-radius: 12px; padding: 12px; resize: vertical; background: rgba(0,0,0,.35); color: #f4eee6; border: 1px solid rgba(255,255,255,.10); }

.market-small-btn,
a.market-small-btn,
button.market-small-btn {
  width: auto !important;
  height: auto !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px !important;
  margin: 0 !important;
  border-radius: 11px;
  border: 1px solid rgba(240,138,60,.34);
  background: linear-gradient(180deg, rgba(240,138,60,.22), rgba(183,47,34,.18));
  color: #fff7ed !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease;
}
.market-small-btn:hover,
a.market-small-btn:hover,
button.market-small-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,196,107,.58);
  box-shadow: 0 12px 28px rgba(208,74,47,.28);
  filter: brightness(1.08);
}
.market-row form { margin: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; width: auto !important; max-width: none !important; }
.market-status-approved { color: #71e48b; font-weight: 900; }
.market-status-pending { color: #ffd08a; font-weight: 900; }
.market-refresh-note { font-size: 12px; opacity: .75; margin-top: 8px; }
@media (max-width: 560px) { .market-row { align-items: stretch; } .market-small-btn, a.market-small-btn, button.market-small-btn { width: 100% !important; } }


/* =========================
   CHARACTER MARKET - LISTAGEM COMPLETA
========================= */
.character-market-card { margin-top: 24px; }
.character-market-card h3 { margin-bottom: 16px; }
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.market-section {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
}
.market-section h4,
.market-detail-box h5 {
  margin: 0 0 12px;
  color: #fff7ed;
  font-family: 'Cinzel', serif;
}
.market-detail-box h5 { font-size: 14px; }
.market-muted { color: #d7c7b7; opacity: .86; font-size: 13px; line-height: 1.45; }
.market-warning {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 208, 138, .10);
  border: 1px solid rgba(255, 208, 138, .22);
  color: #ffd08a;
  font-size: 13px;
}
.market-form,
.market-buy-form,
.market-inline-form,
.market-filter-form {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.market-list,
.market-listings { display: grid; gap: 12px; }
.market-listings-detailed { grid-template-columns: 1fr; }
.market-row,
.market-sale-card {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: 12px;
}
.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.market-row span,
.market-sale-card span {
  display: block;
  margin-top: 4px;
  color: #d7c7b7;
  font-size: 13px;
}
.market-small-btn,
a.market-small-btn,
button.market-small-btn {
  width: auto !important;
  height: auto !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px !important;
  margin: 0 !important;
  border-radius: 10px;
  border: 1px solid rgba(240,138,60,.35);
  background: linear-gradient(180deg, rgba(240,138,60,.24), rgba(208,74,47,.20));
  color: #fff7ed !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.market-small-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,196,107,.55);
  box-shadow: 0 10px 24px rgba(208,74,47,.22);
}
.market-danger-btn {
  border-color: rgba(255,113,97,.35) !important;
  background: linear-gradient(180deg, rgba(255,113,97,.22), rgba(120,20,12,.22)) !important;
}
.market-full { margin-top: 16px; }
.market-sale-card-wide {
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(240,138,60,.10), transparent 35%),
    rgba(255,255,255,.04);
}
.market-sale-card-focus {
  border-color: rgba(255, 208, 138, .48) !important;
  background:
    radial-gradient(circle at top left, rgba(240,138,60,.18), transparent 38%),
    rgba(255,255,255,.05);
  box-shadow: 0 0 0 1px rgba(240, 138, 60, .16), 0 16px 42px rgba(0,0,0,.38);
}
.market-char-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.market-char-top strong {
  color: #fff7ed;
  font-size: 18px;
  font-family: 'Cinzel', serif;
}
.market-price-tag {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff7ed;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(240,138,60,.28), rgba(208,74,47,.20));
  border: 1px solid rgba(240,138,60,.34);
  box-shadow: 0 8px 20px rgba(208,74,47,.16);
}
.market-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.market-badge {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #d7c7b7 !important;
  font-size: 11px !important;
  font-weight: 800;
}
.market-badge-enchant { color: #ffd84f !important; border-color: rgba(255,216,79,.28); background: rgba(255,216,79,.08); }
.market-badge-augment { color: #d58cff !important; border-color: rgba(213,140,255,.28); background: rgba(213,140,255,.08); }
.market-details {
  margin: 12px 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  overflow: hidden;
}
.market-details summary {
  padding: 12px 14px;
  cursor: pointer;
  color: #ffc46b;
  font-weight: 900;
  user-select: none;
}
.market-details[open] summary {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.market-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}
.market-detail-box {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.035);
}
.market-detail-box-full { grid-column: 1 / -1; }
.market-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}
.market-info-list li {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff7ed;
  font-size: 13px;
}
.market-info-list li strong { color: #fff7ed; }
.market-info-list li span { margin-top: 3px; }
.market-enchant {
  display: inline !important;
  margin: 0 4px 0 0 !important;
  color: #ffd84f !important;
  font-weight: 1000;
  text-shadow: 0 0 12px rgba(255,216,79,.55);
}
.market-augment {
  color: #d58cff !important;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(213,140,255,.35);
}
.market-empty-mini { margin: 0; }
.market-buy-form { margin-top: 14px !important; }
.market-buy-form label,
.market-filter-form label { color: #d7c7b7; font-size: 12px; font-weight: 800; }
.market-payment-box {
  margin: 14px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(240,138,60,.25);
}
.market-qr-wrap { display: flex; justify-content: center; margin: 14px 0; }
.market-qr {
  width: 260px;
  height: 260px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.market-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  margin-bottom: 10px;
}
.market-copy {
  width: 100%;
  min-height: 92px;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
  background: rgba(0,0,0,.35);
  color: #f4eee6;
  border: 1px solid rgba(255,255,255,.10);
}
.market-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.market-filter-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.market-filter-form select {
  height: 40px;
  min-width: 150px;
  margin: 0;
}
.market-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.market-pagination a,
.market-pagination span,
.market-pagination strong {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #d7c7b7;
  text-decoration: none;
  font-size: 13px;
}
.market-pagination a {
  color: #ffc46b;
  border-color: rgba(240,138,60,.25);
  font-weight: 800;
}
.market-pagination a:hover { border-color: rgba(255,196,107,.55); }
@media (max-width: 720px) {
  .market-row,
  .market-char-top,
  .market-headline {
    flex-direction: column;
    align-items: stretch;
  }
  .market-detail-grid { grid-template-columns: 1fr; }
  .market-filter-form { width: 100%; }
  .market-filter-form select { width: 100%; }
}
/* =========================
   CHARACTER MARKET FULL NAV
   Abas + paginação interna dos detalhes
========================= */
.market-details {
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(0,0,0,.16);
  overflow: hidden;
}

.market-details summary {
  cursor: pointer;
  padding: 13px 16px;
  font-weight: 900;
  color: #fff7ed;
  list-style: none;
  background: linear-gradient(180deg, rgba(240,138,60,.10), rgba(0,0,0,.08));
}

.market-details summary::-webkit-details-marker { display: none; }
.market-details summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 8px;
  color: var(--accent-2, #f08a3c);
  transition: transform .18s ease;
}
.market-details[open] summary::before { transform: rotate(90deg); }

.market-detail-tabs { padding: 14px; }

.market-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.market-tab-buttons button {
  width: auto;
  height: auto;
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: #d7c7b7;
  font-size: 12px;
  font-weight: 900;
  box-shadow: none;
}

.market-tab-buttons button:hover,
.market-tab-buttons button.is-active {
  color: #fff7ed;
  border-color: rgba(240,138,60,.45);
  background: rgba(240,138,60,.16);
  box-shadow: 0 0 20px rgba(240,138,60,.12);
}

.market-tab-buttons button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  color: #ffc46b;
  font-size: 11px;
}

.market-tab-panel { display: none; }
.market-tab-panel.is-active { display: block; }

.market-tab-panel h5 {
  margin: 0 0 10px;
  font-family: 'Cinzel', serif;
  color: #fff7ed;
  font-size: 15px;
}

.market-data-pager {
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035);
  border-radius: 14px;
  padding: 10px;
}

.market-data-pager-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #d7c7b7;
  font-size: 12px;
}

.market-data-pager-head strong { color: #fff7ed; }

.market-data-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-data-controls button {
  width: auto;
  height: auto;
  margin: 0;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.market-data-controls button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.market-data-controls span {
  min-width: 46px;
  text-align: center;
  color: #ffc46b;
  font-weight: 900;
  font-size: 12px;
}

.market-paged-list {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 5px;
}

.market-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.market-info-list li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.20);
}

.market-info-list li strong {
  color: #fff7ed;
  font-weight: 900;
}

.market-info-list li span {
  display: block;
  margin-top: 4px;
  color: #d7c7b7;
  font-size: 12px;
}

.market-enchant {
  color: #ffd24a;
  font-weight: 1000;
  text-shadow: 0 0 12px rgba(255,210,74,.45);
}

.market-augment {
  color: #d58cff !important;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(213,140,255,.25);
}

/* =========================
   HOME CHARACTER MARKET
========================= */
.home-market-card {
  margin-top: 0;
}
.home-market-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.home-market-head h3 {
  margin: 0 !important;
}
.home-market-head span,
.home-market-foot span {
  color: #d7c7b7;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.home-market-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.home-market-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.home-market-table th,
.home-market-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
  color: #d7c7b7;
  font-size: 13px;
  vertical-align: middle;
}
.home-market-table th {
  color: #ffd08a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.home-market-table tbody tr:last-child td {
  border-bottom: 0;
}
.home-market-table tbody tr:hover {
  background: rgba(240,138,60,.08);
}
.home-market-table strong {
  color: #fff7ed;
}
.home-market-table small {
  display: block;
  margin-top: 4px;
  color: rgba(215,199,183,.68);
  font-size: 11px;
}
.home-market-action {
  white-space: nowrap;
}
.home-market-empty {
  margin: 0;
  color: #d7c7b7;
}
.home-market-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.home-market-foot a {
  color: #ffd08a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.home-market-foot a:hover {
  color: #fff7ed;
}

@media (max-width: 640px) {
  .home-market-head {
    align-items: flex-start;
  }
  .home-market-table th,
  .home-market-table td {
    padding: 10px 11px;
  }
  .market-data-pager-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .market-tab-buttons button {
    flex: 1 1 calc(50% - 8px);
  }
  .market-paged-list { max-height: 300px; }
}

/* =========================
   AUTH PAGES
========================= */
.auth-hero-banner .hero-title {
  font-size: clamp(42px, 7vw, 86px);
}

.auth-shell {
  margin-top: 0;
}

.auth-shell .hero-info-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.auth-grid {
  align-items: stretch;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
}

.auth-grid .panel-card {
  min-height: auto;
}

.auth-info-card,
.auth-form-card {
  position: relative;
}

.auth-info-card h3,
.auth-form-card h2 {
  font-family: 'Cinzel', serif;
}

.auth-info-card h3 {
  border-left: 3px solid var(--accent-2);
  padding-left: 10px;
}

.auth-list {
  padding-left: 18px;
  margin-top: 14px;
}

.auth-image {
  margin-top: 22px;
}

.modern-auth-form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.modern-auth-form h2 {
  margin-bottom: 6px;
  color: #fff7ed;
}

.auth-form-subtitle {
  margin: 0 0 18px;
  color: #d7c7b7;
  font-size: 13px;
  text-align: center;
}

.modern-auth-form label {
  color: #f4d8b6;
}

.auth-submit {
  border: none;
  margin-top: 16px;
  height: 48px;
}

.auth-message {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .auth-hero-banner .hero-title {
    font-size: 40px;
  }

  .auth-shell .hero-info-inner {
    width: min(100% - 20px, 1180px);
  }
}

/* =========================================================
   RESPONSIVE REPAIR - HOME MARKET + USER PANEL
========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

input,
select,
textarea,
button {
  min-width: 0;
  max-width: 100%;
}

.home-market-card {
  padding: 22px !important;
}

.home-market-table-wrap {
  border-color: rgba(240,138,60,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.home-market-table {
  min-width: 760px;
}

.home-market-table th:first-child,
.home-market-table td:first-child {
  width: 28%;
}

.home-market-price strong {
  color: #ffd08a;
  white-space: nowrap;
}

.home-market-action-cell {
  text-align: right;
}

.home-market-action {
  min-width: 156px;
}

body.user-panel-page .panel-user-shell .hero-info-inner {
  width: min(1180px, calc(100% - 28px)) !important;
}

body.user-panel-page .panel-home-grid,
body.user-panel-page .home-grid.panel-home-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.user-panel-page .panel-home-grid .panel-full {
  grid-column: 1 / -1;
}

body.user-panel-page .panel-card,
body.user-panel-page .panel-card.glass-card,
.market-sale-card,
.market-section {
  min-width: 0;
}

body.user-panel-page .panel-card.glass-card {
  overflow: hidden;
}

body.user-panel-page .panel-summary-grid .rate-card {
  min-width: 0;
}

body.user-panel-page .panel-summary-grid .rate-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.market-buy-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: end;
}

.market-buy-form label {
  margin: 0 !important;
}

.market-buy-form input {
  margin: 0 !important;
}

.market-buy-form button {
  grid-column: 1 / -1;
  width: 100% !important;
  white-space: normal !important;
}

.market-char-top > div {
  min-width: 0;
}

.market-char-top strong {
  overflow-wrap: anywhere;
}

.panel-table {
  table-layout: fixed;
}

.panel-table td,
.panel-table th {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  body.user-panel-page .panel-home-grid,
  body.user-panel-page .home-grid.panel-home-grid {
    grid-template-columns: 1fr;
  }

  .market-buy-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  header {
    width: calc(100% - 28px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 14px auto 0 !important;
    padding: 11px 12px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    border-radius: 18px !important;
    top: 8px !important;
  }

  header nav {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 14px;
    min-width: 0;
  }

  header nav a {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.15;
    letter-spacing: 1.1px !important;
  }

  .header-right {
    width: 100%;
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .nav-badge {
    min-width: 0;
    margin: 0 !important;
    padding: 7px 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .ucp-button-header {
    min-width: 0 !important;
    padding: 8px 12px !important;
    font-size: 10px !important;
    white-space: nowrap;
  }

  main {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hero-banner {
    width: calc(100% - 20px);
    min-height: 505px;
    height: auto;
    margin: 14px auto 0 !important;
    border-radius: 18px;
  }

  .hero-content {
    width: min(100% - 26px, 620px);
    padding: 26px 0;
  }

  .hero-title {
    font-size: clamp(34px, 12vw, 48px) !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere;
  }

  .hero-chronicle {
    max-width: 100%;
    letter-spacing: 2.4px !important;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-buttons {
    gap: 10px !important;
  }

  .hero-buttons .btn {
    width: min(100%, 230px) !important;
    min-width: 0 !important;
  }

  .hero-info {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-info-inner,
  body.user-panel-page .panel-user-shell .hero-info-inner {
    width: min(100%, 1180px) !important;
  }

  .rate-cards-grid,
  body.user-panel-page .panel-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .rate-card {
    padding: 18px 10px !important;
    min-height: 144px;
  }

  .rate-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
  }

  .rate-title {
    font-size: 10px !important;
  }

  .rate-value {
    font-size: clamp(18px, 6vw, 24px) !important;
    overflow-wrap: anywhere;
  }

  .home-grid,
  body.user-panel-page .panel-home-grid,
  body.user-panel-page .home-grid.panel-home-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding-top: 16px;
  }

  .panel-card,
  .panel-card.glass-card {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .panel-card.glass-card:hover {
    transform: none !important;
  }

  .panel-card.glass-card h3,
  .panel-card.glass-card > h3,
  .history-card-head h3 {
    font-size: 18px !important;
    line-height: 1.25;
    align-items: flex-start !important;
  }

  .char-grid {
    grid-template-columns: 1fr !important;
  }

  .char-tile {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
  }

  .char-icon {
    width: 56px;
    height: 56px;
  }

  .char-name,
  .char-sub {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .donation-preview,
  .donation-summary,
  .transfer-grid,
  .withdrawal-summary,
  .withdrawal-grid,
  .market-grid {
    grid-template-columns: 1fr !important;
  }

  .donation-card form,
  .donation-form,
  .transfer-form,
  .withdrawal-form,
  .market-form,
  .market-buy-form,
  .market-inline-form,
  .rename-form {
    width: 100% !important;
    max-width: none !important;
  }

  .donation-form button,
  .transfer-form button,
  .withdrawal-form button,
  .market-form button,
  .market-buy-form button,
  .rename-form button {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .market-section {
    padding: 14px;
    border-radius: 14px;
  }

  .market-row,
  .market-char-top,
  .market-headline {
    align-items: stretch !important;
  }

  .market-price-tag {
    width: fit-content;
    max-width: 100%;
  }

  .market-details summary {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .market-tab-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-tab-buttons button {
    width: 100% !important;
    min-width: 0;
    white-space: normal;
    line-height: 1.2;
    padding: 9px 8px !important;
  }

  .market-data-pager-head,
  .market-data-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .market-data-controls button {
    width: 100% !important;
  }

  .rename-summary {
    gap: 8px;
  }

  .rename-summary span {
    width: 100%;
    border-radius: 12px;
  }

  .history-card-head {
    align-items: flex-start !important;
  }

  .panel-table {
    display: block;
    width: 100%;
    table-layout: auto;
  }

  .panel-table thead {
    display: none;
  }

  .panel-table tbody,
  .panel-table tr,
  .panel-table td {
    display: block;
    width: 100%;
  }

  .panel-table tr {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .panel-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0 !important;
    border: 0 !important;
  }

  .panel-table td::before {
    color: #ffd08a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
  }

  .panel-table td:nth-child(1)::before { content: "Acao"; }
  .panel-table td:nth-child(2)::before { content: "Detalhes"; }
  .panel-table td:nth-child(3)::before { content: "Data"; }

  .history-pagination {
    justify-content: flex-start !important;
  }

  .home-market-card {
    padding: 18px !important;
  }

  .home-market-head {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .home-market-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .home-market-table,
  .home-market-table tbody,
  .home-market-table tr,
  .home-market-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .home-market-table thead {
    display: none;
  }

  .home-market-table {
    border-collapse: separate;
  }

  .home-market-table tr {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background:
      radial-gradient(circle at top left, rgba(240,138,60,.12), transparent 44%),
      rgba(255,255,255,.04);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
  }

  .home-market-table tr + tr {
    margin-top: 12px;
  }

  .home-market-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .home-market-table td::before {
    content: attr(data-label);
    color: #ffd08a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
  }

  .home-market-table td:first-child {
    display: block;
    padding-top: 0;
  }

  .home-market-table td:first-child::before {
    display: none;
  }

  .home-market-table td:last-child {
    border-bottom: 0;
    display: block;
    padding-bottom: 0;
  }

  .home-market-table td:last-child::before {
    display: none;
  }

  .home-market-table small,
  .home-market-table td {
    overflow-wrap: anywhere;
  }

  .home-market-action-cell {
    text-align: left;
  }

  .home-market-action {
    width: 100% !important;
    min-width: 0;
  }

  .home-market-foot {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .rate-cards-grid,
  body.user-panel-page .panel-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .panel-card,
  .panel-card.glass-card {
    padding: 16px !important;
  }

  .market-tab-buttons {
    grid-template-columns: 1fr;
  }

  .panel-table td,
  .home-market-table td {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

/* =========================================================
   ADMIN CONTROL PANEL
========================================================= */
body.admin-page {
  --admin-sidebar: 268px;
  min-height: 100vh;
  margin: 0;
  color: #efe5da;
  background:
    radial-gradient(circle at 82% 8%, rgba(163, 56, 25, .15), transparent 32%),
    radial-gradient(circle at 25% 105%, rgba(240, 138, 60, .08), transparent 35%),
    linear-gradient(145deg, #080503 0%, #120905 45%, #070403 100%);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

body.admin-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

body.admin-page *,
body.admin-page *::before,
body.admin-page *::after {
  box-sizing: border-box;
}

body.admin-page a {
  color: inherit;
}

.admin-app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--admin-sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  width: var(--admin-sidebar);
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border-right: 1px solid rgba(240, 138, 60, .17);
  background:
    linear-gradient(180deg, rgba(28, 14, 8, .97), rgba(8, 5, 4, .98)),
    #100906;
  box-shadow: 20px 0 70px rgba(0,0,0,.32);
}

.admin-sidebar::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0, rgba(240, 138, 60, .13), transparent 72%);
}

.admin-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px;
  text-decoration: none;
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffbd73;
  border: 1px solid rgba(240, 138, 60, .42);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(240,138,60,.22), rgba(103,31,15,.12));
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 0 22px rgba(240,138,60,.12);
  font-size: 19px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #fff4e8;
  font-family: 'Cinzel', serif;
  font-size: 17px;
  letter-spacing: .5px;
}

.admin-brand small {
  margin-top: 2px;
  color: #a98f7b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.admin-profile {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 0 25px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background: rgba(255,255,255,.035);
}

.admin-profile-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #180b05;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc46b, #e35d32);
  box-shadow: 0 0 18px rgba(240,138,60,.22);
  font-family: 'Cinzel', serif;
  font-weight: 900;
  overflow: hidden;
}

.admin-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-profile strong,
.admin-profile span {
  display: block;
}

.admin-profile strong {
  color: #fff3e6;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-profile span {
  margin-top: 4px;
  color: #c49770;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.admin-profile span i {
  margin-right: 4px;
  color: #f0a44d;
}

.admin-nav-label {
  margin: 0 10px 9px;
  color: #775f50;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 5px;
}

.admin-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  color: #bba797;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: .2s ease;
}

.admin-nav a::before {
  content: '';
  position: absolute;
  left: -19px;
  width: 3px;
  height: 0;
  border-radius: 0 4px 4px 0;
  background: #f08a3c;
  box-shadow: 0 0 14px #f08a3c;
  transition: .2s ease;
}

.admin-nav a > i {
  width: 20px;
  color: #8f715e;
  text-align: center;
  transition: .2s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: #fff2e4;
  border-color: rgba(240,138,60,.16);
  background: linear-gradient(90deg, rgba(240,138,60,.15), rgba(240,138,60,.035));
  transform: translateX(2px);
}

.admin-nav a.is-active::before {
  height: 26px;
}

.admin-nav a:hover > i,
.admin-nav a.is-active > i {
  color: #ffb565;
}

.admin-nav em {
  min-width: 22px;
  padding: 3px 6px;
  color: #ffd6af;
  border: 1px solid rgba(240,138,60,.22);
  border-radius: 999px;
  background: rgba(240,138,60,.12);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.admin-sidebar-foot {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.admin-sidebar-foot a {
  padding: 9px 11px;
  color: #927c6d;
  border-radius: 10px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}

.admin-sidebar-foot a:hover {
  color: #ffd9b6;
  background: rgba(255,255,255,.04);
}

.admin-sidebar-foot i {
  width: 20px;
}

.admin-main {
  grid-column: 2;
  min-width: 0;
}

.admin-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 25px clamp(22px, 4vw, 58px);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: linear-gradient(180deg, rgba(17,9,5,.82), rgba(9,5,3,.35));
}

.admin-topbar > div:nth-child(2) {
  min-width: 0;
}

.admin-eyebrow,
.admin-section-kicker,
.admin-kicker {
  display: block;
  color: #d47f42;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 6px 0 0;
  color: #fff4e8;
  font-family: 'Cinzel', serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1;
}

.admin-topbar p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #aa9584;
  font-size: 11px;
}

.admin-topbar-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.admin-topbar-actions a,
.admin-menu-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #bca593;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  text-decoration: none;
}

.admin-topbar-actions a:hover,
.admin-menu-toggle:hover {
  color: #ffc17a;
  border-color: rgba(240,138,60,.3);
  background: rgba(240,138,60,.1);
}

body.admin-page .admin-topbar > .admin-menu-toggle {
  display: none !important;
}

.admin-content {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 26px clamp(18px, 3vw, 48px) 55px;
}

.admin-welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 170px;
  margin-bottom: 18px;
  padding: 28px clamp(22px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(240,138,60,.17);
  border-radius: 20px;
  background:
    linear-gradient(100deg, rgba(31,15,8,.98), rgba(28,12,7,.77) 52%, rgba(62,19,9,.42)),
    radial-gradient(circle at 82% 50%, rgba(240,138,60,.18), transparent 32%);
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}

.admin-welcome::after {
  content: '\f3ed';
  position: absolute;
  right: 5%;
  color: rgba(240,138,60,.055);
  font-family: 'Font Awesome 6 Free';
  font-size: 150px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.admin-welcome > * {
  position: relative;
  z-index: 1;
}

.admin-welcome h2 {
  margin: 9px 0 5px;
  color: #fff5eb;
  font-family: 'Cinzel', serif;
  font-size: clamp(23px, 3vw, 34px);
}

.admin-welcome p {
  margin: 0;
  color: #baa495;
  font-size: 12px;
}

.admin-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

body.admin-page .admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-height: 39px;
  margin: 0;
  padding: 9px 14px;
  color: #e5d5c7;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  box-shadow: none;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
  transition: .2s ease;
  cursor: pointer;
}

body.admin-page .admin-btn:hover {
  color: #fff5eb;
  border-color: rgba(240,138,60,.34);
  background: rgba(240,138,60,.12);
  transform: translateY(-1px);
}

body.admin-page .admin-btn-primary {
  color: #190b05;
  border-color: #f08a3c;
  background: linear-gradient(135deg, #ffb65d, #e45a31);
  box-shadow: 0 9px 24px rgba(208,74,47,.18);
}

body.admin-page .admin-btn-primary:hover {
  color: #170a04;
  background: linear-gradient(135deg, #ffc475, #ed6840);
}

body.admin-page .admin-btn-danger {
  color: #ffd9d3;
  border-color: rgba(255,93,76,.36);
  background: rgba(159,37,27,.27);
}

body.admin-page .admin-btn-success {
  color: #bdf5c9;
  border-color: rgba(83,211,115,.28);
  background: rgba(44,137,67,.2);
}

body.admin-page .admin-btn-small {
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

body.admin-page .admin-btn[disabled] {
  opacity: .42;
  pointer-events: none;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 14px;
}

.admin-stat-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 105px;
  padding: 18px;
  overflow: hidden;
  color: inherit;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(35,20,13,.82), rgba(15,9,6,.88));
  box-shadow: 0 13px 35px rgba(0,0,0,.18);
  text-decoration: none;
  transition: .2s ease;
}

.admin-stat-card:hover {
  border-color: rgba(240,138,60,.26);
  transform: translateY(-2px);
}

.admin-stat-card::after {
  content: '';
  position: absolute;
  inset: auto -20px -30px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(240,138,60,.035);
}

.admin-stat-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  color: #d99a62;
  border: 1px solid rgba(240,138,60,.18);
  border-radius: 14px;
  background: rgba(240,138,60,.08);
  font-size: 18px;
}

.admin-stat-card small,
.admin-stat-card strong,
.admin-stat-card em {
  display: block;
}

.admin-stat-card small {
  color: #aa9483;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.admin-stat-card strong {
  margin: 4px 0 2px;
  color: #fff4e7;
  font-family: 'Cinzel', serif;
  font-size: 28px;
  line-height: 1;
}

.admin-stat-card em {
  color: #826f62;
  font-size: 9px;
  font-style: normal;
}

.admin-stat-card.is-live .admin-stat-icon {
  color: #7aed95;
  border-color: rgba(83,211,115,.21);
  background: rgba(83,211,115,.08);
}

.admin-stat-card.is-danger .admin-stat-icon {
  color: #ff8175;
  border-color: rgba(255,93,76,.24);
  background: rgba(255,93,76,.08);
}

.admin-stat-card.is-warning .admin-stat-icon {
  color: #ffd08a;
  border-color: rgba(255,208,138,.23);
  background: rgba(255,208,138,.08);
}

.admin-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.admin-mini-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #89766a;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: 9px;
}

.admin-mini-stats i {
  color: #bf7645;
}

.admin-mini-stats strong {
  color: #d7c3b4;
}

.admin-dashboard-grid,
.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 15px;
}

.admin-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 15px;
}

.admin-card {
  position: relative;
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28,16,11,.91), rgba(12,8,6,.94));
  box-shadow: 0 15px 42px rgba(0,0,0,.22);
}

.admin-dashboard-grid .admin-card-wide {
  grid-column: span 1;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.admin-card-head h2 {
  margin: 5px 0 0;
  color: #f8eee5;
  font-family: 'Cinzel', serif;
  font-size: 16px;
}

.admin-card-head > a {
  color: #c78751;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
}

.admin-card-head > a:hover {
  color: #ffc17a;
}

.admin-player-list,
.admin-activity-list,
.admin-account-list,
.admin-quick-actions {
  display: grid;
  gap: 7px;
}

.admin-player-row {
  display: grid;
  grid-template-columns: 40px minmax(120px, 1fr) minmax(100px, .6fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  text-decoration: none;
}

.admin-player-row:hover {
  border-color: rgba(240,138,60,.16);
  background: rgba(240,138,60,.055);
}

.admin-player-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #d98a50;
  border-radius: 11px;
  background: rgba(240,138,60,.09);
}

.admin-player-name strong,
.admin-player-name small,
.admin-player-meta,
.admin-player-meta small {
  display: block;
}

.admin-player-name strong {
  color: #f3e9df;
  font-size: 11px;
}

.admin-player-name small,
.admin-player-meta small {
  margin-top: 3px;
  color: #806f64;
  font-size: 8px;
}

.admin-player-meta {
  color: #b39d8c;
  font-size: 9px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 8px;
  color: #b7a395;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.admin-badge.is-online,
.admin-badge.is-safe,
.admin-status-paid {
  color: #84e89a;
  border-color: rgba(83,211,115,.24);
  background: rgba(83,211,115,.08);
}

.admin-badge.is-danger,
.admin-status-rejected,
.admin-status-cancelled,
.admin-status-api_error {
  color: #ff8d82;
  border-color: rgba(255,93,76,.25);
  background: rgba(255,93,76,.08);
}

.admin-status-pending,
.admin-status-processing {
  color: #ffd08a;
  border-color: rgba(255,208,138,.24);
  background: rgba(255,208,138,.08);
}

.admin-activity-list a,
.admin-quick-actions a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255,255,255,.022);
  text-decoration: none;
}

.admin-activity-list a:hover,
.admin-quick-actions a:hover {
  border-color: rgba(240,138,60,.14);
  background: rgba(240,138,60,.05);
}

.admin-activity-list > a > i,
.admin-quick-actions > a > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #cf7942;
  border-radius: 9px;
  background: rgba(240,138,60,.08);
  font-size: 11px;
}

.admin-activity-list strong,
.admin-activity-list small,
.admin-quick-actions strong,
.admin-quick-actions small {
  display: block;
}

.admin-activity-list strong,
.admin-quick-actions strong {
  color: #eaddd1;
  font-size: 10px;
}

.admin-activity-list small,
.admin-quick-actions small {
  margin-top: 3px;
  color: #7e6b60;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-activity-list time {
  color: #74645a;
  font-size: 8px;
  white-space: nowrap;
}

.admin-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  color: #806f63;
  text-align: center;
}

.admin-empty i {
  margin-bottom: 8px;
  color: #a56840;
  font-size: 25px;
}

.admin-empty p {
  margin: 0;
  font-size: 10px;
}

.admin-empty-wide {
  grid-column: 1 / -1;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #aa9788;
  font-size: 9px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #7f6b5c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small,
.admin-table td span {
  display: block;
}

.admin-table td strong {
  color: #eadfd5;
  font-size: 10px;
}

.admin-table td small {
  margin-top: 4px;
  color: #77675d;
  font-size: 8px;
  line-height: 1.4;
}

.admin-table tr:hover td {
  background: rgba(240,138,60,.025);
}

.admin-table tr:target td {
  background: rgba(240,138,60,.08);
}

.admin-table-empty {
  padding: 35px !important;
  text-align: center !important;
}

.admin-money {
  color: #ffc27a !important;
}

.admin-row-action {
  display: grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #d98c50;
  border: 1px solid rgba(240,138,60,.18);
  border-radius: 9px;
  background: rgba(240,138,60,.07);
  text-decoration: none;
}

.admin-row-action.is-disabled {
  opacity: .3;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 15px;
  background: rgba(18,10,7,.72);
}

body.admin-page .admin-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-search label {
  position: relative;
  display: block;
}

.admin-search label i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 12px;
  color: #8d7463;
  font-size: 10px;
  transform: translateY(-50%);
}

body.admin-page .admin-search input,
body.admin-page .admin-search select,
body.admin-page .admin-device-actions input,
body.admin-page .admin-action-menu input,
body.admin-page .admin-copy-field input {
  height: 39px;
  margin: 0;
  color: #eadfd5;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  outline: none;
  background: rgba(4,3,2,.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
}

body.admin-page .admin-search input {
  width: min(320px, 58vw);
  padding: 8px 12px 8px 32px;
}

body.admin-page .admin-search select {
  width: 165px;
  padding: 7px 10px;
}

body.admin-page input:focus,
body.admin-page select:focus {
  border-color: rgba(240,138,60,.42) !important;
  box-shadow: 0 0 0 3px rgba(240,138,60,.07);
}

.admin-result-count,
.admin-security-note {
  color: #857267;
  font-size: 9px;
  white-space: nowrap;
}

.admin-result-count strong {
  color: #e7d5c6;
}

.admin-security-note i {
  margin-right: 5px;
  color: #c27c4b;
}

.admin-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  color: #e9c28f;
  border: 1px solid rgba(255,208,138,.2);
  border-radius: 13px;
  background: rgba(255,208,138,.07);
  font-size: 10px;
}

.admin-alert.is-success {
  color: #a6edb6;
  border-color: rgba(83,211,115,.2);
  background: rgba(83,211,115,.07);
}

.admin-alert.is-danger {
  color: #ffa49a;
  border-color: rgba(255,93,76,.22);
  background: rgba(255,93,76,.07);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.admin-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 10px;
  color: #907b6d;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  font-size: 8px;
  font-weight: 800;
}

.admin-tabs a:hover,
.admin-tabs a.is-active {
  color: #ffd4ad;
  border-color: rgba(240,138,60,.27);
  background: rgba(240,138,60,.09);
}

.admin-tabs em {
  font-style: normal;
}

.admin-character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-character-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.admin-character-card.is-banned {
  border-color: rgba(255,93,76,.18);
  background: rgba(255,93,76,.025);
}

.admin-character-card > img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(240,138,60,.24);
  border-radius: 13px;
}

.admin-character-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.admin-character-title strong {
  color: #f1e6dc;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.admin-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a504b;
  box-shadow: 0 0 0 3px rgba(90,80,75,.1);
}

.admin-online-dot.is-online {
  background: #5cdd7a;
  box-shadow: 0 0 0 3px rgba(92,221,122,.1), 0 0 10px rgba(92,221,122,.5);
}

.admin-character-copy > small {
  display: block;
  margin-top: 3px;
  color: #877367;
  font-size: 8px;
}

.admin-character-copy p {
  margin: 6px 0;
  color: #9d8878;
  font-size: 8px;
}

.admin-character-copy p b {
  color: #c47542;
}

.admin-character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.admin-character-tags em {
  padding: 3px 6px;
  color: #d0a779;
  border-radius: 999px;
  background: rgba(240,138,60,.08);
  font-size: 7px;
  font-style: normal;
}

.admin-character-tags em.is-danger {
  color: #ff9489;
  background: rgba(255,93,76,.09);
}

.admin-character-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.admin-character-side > small {
  color: #665850;
  font-size: 7px;
  white-space: nowrap;
}

.admin-character-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-bag-action {
  position: relative;
  overflow: visible;
}

.admin-bag-action em {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  color: #1a0c05;
  border: 2px solid #160c08;
  border-radius: 999px;
  background: #e9a45e;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.admin-bag-action.has-locks {
  color: #ff8c80;
  border-color: rgba(255,93,76,.25);
  background: rgba(255,93,76,.08);
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 17px;
}

.admin-pagination a {
  display: grid;
  place-items: center;
  min-width: 33px;
  height: 33px;
  padding: 0 8px;
  color: #998476;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  font-size: 9px;
}

.admin-pagination a.is-active {
  color: #160a04;
  border-color: #ed7d38;
  background: #ed8a42;
  font-weight: 900;
}

.admin-pagination a.is-disabled {
  opacity: .25;
  pointer-events: none;
}

.admin-live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(83,211,115,.13);
  border-radius: 12px;
  background: rgba(83,211,115,.035);
}

.admin-live-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #82e89a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-live-strip span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62df7f;
  box-shadow: 0 0 10px rgba(98,223,127,.7);
  animation: adminPulse 1.6s infinite;
}

.admin-live-strip p {
  margin: 0;
  color: #76675f;
  font-size: 8px;
}

@keyframes adminPulse {
  50% { opacity: .35; transform: scale(.75); }
}

.admin-player-cell {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.admin-player-cell > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #d98a50;
  border-radius: 10px;
  background: rgba(240,138,60,.08);
}

.admin-player-cell span {
  min-width: 0;
}

.admin-ban-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-ban-card {
  padding: 15px;
  border: 1px solid rgba(255,93,76,.14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(71,20,14,.15), rgba(255,255,255,.018));
}

.admin-ban-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.admin-ban-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ff8276;
  border-radius: 12px;
  background: rgba(255,93,76,.09);
}

.admin-ban-card-head span,
.admin-ban-card-head h3 {
  margin: 0;
}

.admin-ban-card-head > div > span {
  color: #836c61;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.admin-ban-card-head h3 {
  margin-top: 3px;
  color: #f1e4da;
  font-family: 'Cinzel', serif;
  font-size: 13px;
}

.admin-ban-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.admin-ban-card dl div {
  padding: 8px 9px;
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}

.admin-ban-card dt {
  color: #756258;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.admin-ban-card dd {
  margin: 3px 0 0;
  color: #c7b2a3;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.admin-ban-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

body.admin-page .admin-ban-card-actions form {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-device-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid rgba(83,211,115,.14);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(27,45,24,.22), rgba(23,13,9,.9));
}

.admin-device-hero.is-banned {
  border-color: rgba(255,93,76,.19);
  background: linear-gradient(110deg, rgba(77,21,15,.23), rgba(23,13,9,.9));
}

.admin-device-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-device-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #80e695;
  border: 1px solid rgba(83,211,115,.2);
  border-radius: 16px;
  background: rgba(83,211,115,.07);
  font-size: 20px;
}

.admin-device-hero.is-banned .admin-device-icon {
  color: #ff8174;
  border-color: rgba(255,93,76,.2);
  background: rgba(255,93,76,.07);
}

.admin-device-main > div > span {
  color: #8d786a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.admin-device-main h2 {
  margin: 5px 0;
  color: #fff1e5;
  font-family: 'Cinzel', serif;
  font-size: 19px;
}

.admin-device-main p {
  margin: 0;
  color: #827064;
  font-size: 8px;
}

.admin-device-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: min(100%, 390px);
}

.admin-device-state {
  color: #7ee493;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .7px;
}

.admin-device-hero.is-banned .admin-device-state {
  color: #ff887e;
}

body.admin-page .admin-device-actions form {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.admin-page .admin-device-actions input {
  flex: 1;
  min-width: 180px;
  padding: 8px 11px;
}

.admin-device-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.admin-device-facts > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background: rgba(255,255,255,.022);
}

.admin-device-facts i {
  color: #bd7545;
}

.admin-device-facts span,
.admin-device-facts strong {
  display: block;
  min-width: 0;
}

.admin-device-facts span {
  color: #746158;
  font-size: 7px;
  text-transform: uppercase;
}

.admin-device-facts strong {
  margin-top: 3px;
  color: #bca99b;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.admin-count-pill {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  color: #e2ad79;
  border-radius: 999px;
  background: rgba(240,138,60,.09);
  font-size: 9px;
  font-style: normal;
}

.admin-account-list > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.022);
}

.admin-account-list > div > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #c07b4d;
  border-radius: 9px;
  background: rgba(240,138,60,.07);
}

.admin-account-list strong,
.admin-account-list small {
  display: block;
}

.admin-account-list strong {
  color: #dfd2c6;
  font-size: 9px;
}

.admin-account-list small {
  margin-top: 3px;
  color: #74645a;
  font-size: 7px;
}

.admin-report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-report-summary > div {
  padding: 14px 8px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 11px;
  background: rgba(255,255,255,.022);
  text-align: center;
}

.admin-report-summary strong,
.admin-report-summary span {
  display: block;
}

.admin-report-summary strong {
  color: #f5e9de;
  font-family: 'Cinzel', serif;
  font-size: 21px;
}

.admin-report-summary span {
  margin-top: 4px;
  color: #7d6a5f;
  font-size: 7px;
  text-transform: uppercase;
}

.admin-report-summary .is-danger strong {
  color: #ff8175;
}

.admin-report-date {
  margin: 12px 0 0;
  color: #77665d;
  font-size: 8px;
  text-align: center;
}

.admin-filter-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-tabs-secondary a.is-active {
  color: #a8e8b6;
  border-color: rgba(83,211,115,.2);
  background: rgba(83,211,115,.07);
}

.admin-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-process-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 45px;
  gap: 11px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 14px;
  background: rgba(255,255,255,.022);
}

.admin-process-card.is-suspicious {
  border-color: rgba(255,93,76,.24);
  background: linear-gradient(120deg, rgba(103,26,18,.16), rgba(255,255,255,.015));
}

.admin-process-card.is-unsigned {
  border-color: rgba(255,208,138,.14);
}

.admin-process-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #c88652;
  border: 1px solid rgba(240,138,60,.17);
  border-radius: 12px;
  background: rgba(240,138,60,.07);
  font-size: 17px;
}

.admin-process-card.is-suspicious .admin-process-icon {
  color: #ff8276;
  border-color: rgba(255,93,76,.2);
  background: rgba(255,93,76,.07);
}

.admin-process-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-process-title strong {
  color: #eee1d6;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.admin-process-copy > small {
  display: block;
  margin-top: 3px;
  color: #706159;
  font-size: 7px;
}

.admin-process-copy > p {
  margin: 7px 0;
  color: #8b7769;
  font-size: 8px;
}

.admin-process-copy > p i {
  width: 13px;
  color: #a66640;
}

.admin-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.admin-badge.category-microsoft {
  color: #83b9ff;
  border-color: rgba(89,157,255,.2);
  background: rgba(89,157,255,.07);
}

.admin-badge.category-trusted {
  color: #7ee394;
  border-color: rgba(83,211,115,.2);
  background: rgba(83,211,115,.07);
}

.admin-badge.category-unsigned {
  color: #ffd08a;
  border-color: rgba(255,208,138,.2);
  background: rgba(255,208,138,.07);
}

.admin-badge.category-suspicious {
  color: #ff8a7f;
  border-color: rgba(255,93,76,.22);
  background: rgba(255,93,76,.07);
}

.admin-process-copy .admin-risk-reason {
  color: #e79a83;
}

.admin-process-copy code {
  display: block;
  margin-top: 6px;
  color: #6f625a;
  font-size: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-risk-score {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 43px;
  height: 43px;
  color: #8ade9c;
  border: 1px solid rgba(83,211,115,.18);
  border-radius: 12px;
  background: rgba(83,211,115,.06);
}

.admin-risk-score strong,
.admin-risk-score small {
  display: block;
}

.admin-risk-score strong {
  font-family: 'Cinzel', serif;
  font-size: 15px;
}

.admin-risk-score small {
  font-size: 6px;
  text-transform: uppercase;
}

.admin-risk-score.is-medium {
  color: #ffd08a;
  border-color: rgba(255,208,138,.2);
  background: rgba(255,208,138,.06);
}

.admin-risk-score.is-high {
  color: #ff877c;
  border-color: rgba(255,93,76,.24);
  background: rgba(255,93,76,.07);
}

.admin-evidence-note {
  margin: 13px 0 0;
  color: #73645b;
  font-size: 8px;
  text-align: center;
}

.admin-evidence-note i {
  margin-right: 5px;
  color: #a46b45;
}

.admin-pix-type {
  display: inline-flex !important;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 6px;
  color: #dca36e;
  border-radius: 999px;
  background: rgba(240,138,60,.07);
  font-size: 7px;
  font-weight: 800;
}

.admin-copy-field {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.admin-page .admin-copy-field input {
  width: 180px;
  max-width: 180px;
  padding: 7px 8px;
}

.admin-copy-field button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  color: #c28453;
  border: 1px solid rgba(240,138,60,.16);
  border-radius: 9px;
  background: rgba(240,138,60,.06);
}

.admin-action-menu {
  position: relative;
}

.admin-action-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: #d0a173;
  border: 1px solid rgba(240,138,60,.17);
  border-radius: 9px;
  background: rgba(240,138,60,.06);
  list-style: none;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-action-menu summary::-webkit-details-marker {
  display: none;
}

.admin-action-menu[open] > div {
  display: grid;
}

.admin-action-menu > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  display: none;
  width: 270px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(240,138,60,.18);
  border-radius: 12px;
  background: #170d08;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

body.admin-page .admin-action-menu form {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.admin-page .admin-action-menu input {
  width: 100%;
  padding: 7px 9px;
}

body.admin-page .admin-action-menu .admin-btn {
  width: 100%;
}

.admin-processed {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  color: #7e9f82;
  font-size: 8px;
}

.admin-inventory-hero {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(240,138,60,.15);
  border-radius: 17px;
  background: linear-gradient(110deg, rgba(50,25,13,.43), rgba(18,10,7,.86));
}

.admin-inventory-hero > img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid rgba(240,138,60,.3);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
}

.admin-inventory-hero > div:nth-child(2) > span {
  color: #a66b43;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.admin-inventory-hero h2 {
  margin: 5px 0;
  color: #fff1e4;
  font-family: 'Cinzel', serif;
  font-size: 20px;
}

.admin-inventory-hero p {
  margin: 0;
  color: #887468;
  font-size: 9px;
}

.admin-inventory-stats {
  display: flex;
  gap: 7px;
}

.admin-inventory-stats span {
  min-width: 75px;
  padding: 10px;
  color: #77655b;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  font-size: 7px;
  text-align: center;
  text-transform: uppercase;
}

.admin-inventory-stats strong {
  display: block;
  margin-bottom: 3px;
  color: #e9d8c9;
  font-family: 'Cinzel', serif;
  font-size: 18px;
}

.admin-inventory-stats span.is-danger strong {
  color: #ff887d;
}

.admin-inventory-toolbar {
  flex-wrap: wrap;
}

.admin-scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-scope-tabs a,
.admin-character-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 10px;
  color: #8e796b;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  font-size: 8px;
  font-weight: 800;
}

.admin-scope-tabs a.is-active,
.admin-character-switcher a.is-active,
.admin-scope-tabs a:hover,
.admin-character-switcher a:hover {
  color: #ffd2a8;
  border-color: rgba(240,138,60,.25);
  background: rgba(240,138,60,.08);
}

.admin-character-switcher {
  display: flex;
  gap: 6px;
  margin: -2px 0 14px;
  padding: 9px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.admin-character-switcher a {
  flex: 0 0 auto;
}

.admin-character-switcher small {
  color: #725f54;
  font-size: 7px;
}

body.admin-page .admin-inventory-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #927c6e;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

body.admin-page .admin-select-all input,
body.admin-page .admin-item-card > input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #e97d3b;
}

.admin-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 16px 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 13px;
  background: rgba(255,255,255,.022);
  cursor: pointer;
  transition: .18s ease;
}

.admin-item-card:hover {
  border-color: rgba(240,138,60,.2);
  background: rgba(240,138,60,.04);
}

.admin-item-card:has(> input:checked) {
  border-color: rgba(240,138,60,.36);
  background: rgba(240,138,60,.075);
  box-shadow: inset 0 0 0 1px rgba(240,138,60,.08);
}

.admin-item-card.is-locked {
  border-color: rgba(255,93,76,.17);
  background: rgba(255,93,76,.025);
}

.admin-item-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #d28a50;
  border: 1px solid rgba(240,138,60,.16);
  border-radius: 11px;
  background: rgba(240,138,60,.07);
  font-size: 16px;
}

.admin-item-card.is-locked .admin-item-icon {
  color: #ff887d;
  border-color: rgba(255,93,76,.19);
  background: rgba(255,93,76,.07);
}

.admin-item-copy {
  min-width: 0;
}

.admin-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-item-title strong {
  color: #ebdfd5;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.admin-item-copy > small {
  display: block;
  margin-top: 4px;
  color: #77665c;
  font-size: 7px;
}

.admin-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.admin-item-meta em {
  padding: 3px 5px;
  color: #8e796b;
  border-radius: 6px;
  background: rgba(255,255,255,.035);
  font-size: 6px;
  font-style: normal;
}

.admin-item-lock-note {
  display: block;
  margin-top: 7px;
  color: #d88572;
  font-size: 7px;
  overflow-wrap: anywhere;
}

.admin-bulk-bar {
  position: sticky;
  z-index: 25;
  bottom: 12px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  width: min(100% - 20px, 1050px);
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid rgba(240,138,60,.24);
  border-radius: 14px;
  background: rgba(20,11,7,.96);
  box-shadow: 0 15px 45px rgba(0,0,0,.55);
  backdrop-filter: blur(15px);
}

.admin-bulk-bar > span {
  color: #967f70;
  font-size: 8px;
  white-space: nowrap;
}

.admin-bulk-bar > span strong {
  color: #ffc17a;
}

body.admin-page .admin-bulk-bar > input {
  width: 100%;
  height: 39px;
  margin: 0;
  padding: 8px 11px;
  color: #eadfd5;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  outline: none;
  background: rgba(4,3,2,.55);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
}

@media (min-width: 1250px) {
  .admin-dashboard-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .7fr);
  }

  .admin-dashboard-grid .admin-card:nth-child(3) {
    grid-column: 1;
  }

  .admin-dashboard-grid .admin-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 1180px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-device-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-process-grid {
    grid-template-columns: 1fr;
  }

  .admin-item-grid {
    grid-template-columns: 1fr;
  }

  .admin-bulk-bar {
    grid-template-columns: auto minmax(160px, 1fr) auto;
  }

  .admin-bulk-bar .admin-btn:last-child {
    grid-column: 3;
  }
}

@media (max-width: 980px) {
  body.admin-page {
    --admin-sidebar: 260px;
  }

  .admin-app {
    display: block;
  }

  .admin-sidebar {
    transform: translateX(-102%);
    transition: transform .25s ease;
  }

  body.admin-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  body.admin-menu-open::after {
    content: '';
    position: fixed;
    z-index: 35;
    inset: 0;
    background: rgba(0,0,0,.65);
  }

  .admin-main {
    width: 100%;
  }

  body.admin-page .admin-topbar > .admin-menu-toggle {
    display: grid !important;
    flex: 0 0 40px;
  }

  .admin-dashboard-grid,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-ban-grid,
  .admin-character-grid {
    grid-template-columns: 1fr;
  }

  .admin-inventory-hero {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-inventory-hero > img {
    width: 64px;
    height: 64px;
  }

  .admin-inventory-stats {
    grid-column: 1 / -1;
  }

  .admin-bulk-bar {
    position: static;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .admin-bulk-bar > input {
    grid-column: 1 / -1;
  }

  .admin-bulk-bar > span {
    grid-column: 1 / -1;
  }

  .admin-bulk-bar .admin-btn:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.admin-page .admin-topbar {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    width: 100% !important;
    min-height: 100px !important;
    margin: 0 !important;
    padding: 18px 14px !important;
    border-radius: 0 !important;
  }

  .admin-topbar p {
    display: none;
  }

  .admin-topbar-actions a:first-child {
    display: none;
  }

  .admin-content {
    padding: 16px 10px 35px;
  }

  .admin-welcome {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 17px;
  }

  .admin-welcome-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-stat-grid,
  .admin-stat-grid-three {
    grid-template-columns: 1fr 1fr;
  }

  .admin-stat-card {
    min-height: 90px;
    padding: 13px;
  }

  .admin-stat-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .admin-stat-card strong {
    font-size: 23px;
  }

  .admin-card {
    padding: 14px;
    border-radius: 15px;
  }

  .admin-toolbar,
  .admin-live-strip,
  .admin-device-hero {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-page .admin-search,
  body.admin-page .admin-search label,
  body.admin-page .admin-search input,
  body.admin-page .admin-search select,
  body.admin-page .admin-search .admin-btn {
    width: 100%;
    max-width: none;
  }

  .admin-result-count {
    padding: 0 3px 3px;
  }

  .admin-player-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .admin-player-meta {
    display: none;
  }

  .admin-device-actions {
    justify-items: stretch;
    min-width: 0;
  }

  body.admin-page .admin-device-actions form {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-page .admin-device-actions input {
    width: 100%;
    min-width: 0;
  }

  .admin-device-facts {
    grid-template-columns: 1fr;
  }

  .admin-character-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .admin-character-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .admin-character-actions {
    justify-self: end;
  }

  .admin-ban-card-actions,
  body.admin-page .admin-ban-card-actions form,
  .admin-ban-card-actions .admin-btn {
    width: 100%;
  }

  .admin-process-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .admin-process-icon {
    width: 38px;
    height: 38px;
  }

  .admin-risk-score {
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .admin-process-copy {
    padding-right: 43px;
  }

  .admin-action-menu > div {
    position: fixed;
    inset: auto 10px 10px;
    width: auto;
  }

  .admin-inventory-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .admin-inventory-stats span {
    min-width: 0;
  }
}

@media (max-width: 450px) {
  .admin-stat-grid,
  .admin-stat-grid-three {
    grid-template-columns: 1fr;
  }

  .admin-topbar-actions {
    display: none;
  }

  body.admin-page .admin-topbar {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }

  .admin-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-security-note {
    white-space: normal;
  }

  .admin-report-summary {
    grid-template-columns: 1fr;
  }

  .admin-inventory-hero {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .admin-inventory-hero > img {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .admin-inventory-stats {
    grid-template-columns: 1fr;
  }

  .admin-item-card {
    grid-template-columns: 15px 36px minmax(0, 1fr);
    gap: 8px;
  }

  .admin-item-icon {
    width: 36px;
    height: 36px;
  }

  .admin-item-title {
    flex-direction: column;
  }

  .admin-bulk-bar {
    grid-template-columns: 1fr;
  }

  .admin-bulk-bar > input,
  .admin-bulk-bar > span,
  .admin-bulk-bar .admin-btn,
  .admin-bulk-bar .admin-btn:last-child {
    grid-column: 1;
    width: 100%;
  }
}
