/* Estilo para el mensaje de bienvenida */
.welcome-message {
    font-size: 1.25rem;
    color: var(--tibia-dark);
    margin-top: 1rem;
    text-align: center;
  }
  
.text-home {
    color: var(--tibia-dark);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
  }

  /* 1) por defecto, el banner NO recibe clicks */
  #top-banner {
    pointer-events: none;
  }

  /* 2) SOLO estos elementos reciben clicks */
  #top-banner .top-logo-link,
  #top-banner #rashid-banner {
    pointer-events: auto;
  }

  /* 3) fuerza el tamaño real del link del logo */
  #top-banner .top-logo-link {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    align-self: flex-start;
  }

  /* 4) evita rarezas con % en imágenes dentro de flex */
  #top-banner .top-logo-img {
    width: 55px;        /* ajusta a gusto */
    height: auto;
    flex: 0 0 auto;
  }

  /* Rashid banner container */
  #rashid-banner {
    background: transparent; /* importante */
    color: #ffc107;
    font-size: 0.8rem;       /* ⬅️ antes muy chico */
    font-weight: 500;
    line-height: 1.3;
  }

  /* Rashid GIF */
  #rashid-banner .rashid-gif {
    width: 67px;   /* ⬅️ SUBE tamaño */
    height: auto;
  }

  /* Texto CTA */
  #rashid-banner .rashid-cta {
    font-weight: 600;
    margin-left: 4px;
  }
/* Estilos generales para la vista de login */
.login-container {
    background-color: var(--tibia-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--tibia-border);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

    width: 50%;
    max-width: 520px;   /* 🔥 CLAVE */
}

.login-header {
    background-color: var(--tibia-header);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.login-form .field {
    margin-bottom: 1.5rem;
}

.login-form input {
    border: 1px solid var(--tibia-border);
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    font-family: 'Georgia', serif;
    color: var(--tibia-dark);
}

.login-form input:focus {
    outline: none;
    border-color: var(--tibia-header);
    box-shadow: 0 0 5px var(--tibia-header);
}

.login-form .btn-login {
    background-color: var(--tibia-button);
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    text-shadow: 1px 1px black;
    border-radius: 5px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form .btn-login:hover {
    background-color: var(--tibia-button-hover);
}

.login-form .btn-login:active {
    background-color: #8c6e3a;
}

/* Para el formulario */
.login-form label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--tibia-header);
}

.login-form .forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.login-form .forgot-password a {
    color: var(--tibia-header);
    font-weight: bold;
    text-decoration: none;
}

.login-form .forgot-password a:hover {
    text-decoration: underline;
}

/* Estilo para el checkbox de "Recordarme" */
.login-form .field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background-color: var(--tibia-bg);
    border: 2px solid var(--tibia-border);
    border-radius: 3px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.login-form .field input[type="checkbox"]:checked {
    background-color: var(--tibia-header);
    border-color: var(--tibia-header);
}

.login-form .field input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 5px var(--tibia-header);
}

@media (max-width: 768px) {
    .login-container {
        width: 100%;      /* ocupa todo el ancho */
        max-width: 100%;  /* sin límite */
        padding: 1.5rem;
    }
}
.tibia-news-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: block;
}

.tibia-news-card:hover .hover-card {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.tibia-news-card .card {
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.tibia-news-card .card-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
}

.tibia-news-card .badge {
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.tibia-header {
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.5px;
  color: #eccfa2;
}

.text-primary {
  color: #007bff !important;
}

/* ==============================
   🎨 Paleta base TibiaXplorer
   ==============================

   #eccfa2  → Dorado base
   #f1dcae  → Dorado claro
   #c9a56b  → Borde dorado medio
   #3d2812  → Texto oscuro
   #6c3a12  → Título cálido
   ============================== */

/* 🏰 Fondo principal del área de noticias */
body {
  background: linear-gradient(180deg, #f1dcae 0%, #eccfa2 100%);
  font-family: 'Merriweather', serif;
  color: #3d2812;
}

/* 📜 Contenedor general */
.tibia-article {
  background: linear-gradient(180deg, #f1dcae 0%, #eccfa2 100%);
  border: 2px solid #c9a56b;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(60, 35, 10, 0.25);
}

/* ✨ Título principal */
.tibia-title {
  font-family: 'Cinzel Decorative', serif;
  color: #6c3a12;
  text-shadow: 1px 1px 3px rgba(255, 240, 200, 0.6);
}

/* 📜 Línea decorativa */
.tibia-divider {
  width: 180px;
  border-top: 3px solid #c9a56b;
  opacity: 0.9;
  margin: 1rem auto;
}

/* 📘 Tarjetas de noticias */
.tibia-card {
  background: #fffdf8;
  border: 1px solid #d3b278;
  transition: all 0.25s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(90, 60, 20, 0.15);
  overflow: hidden;
}

/* 🖋 Títulos dentro de tarjeta */
.tibia-card-title {
  font-family: 'Cinzel', serif;
  color: #3d2812;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease-in-out;
}
.tibia-card:hover .tibia-card-title {
  color: #7b3a0c;
}

/* 📜 Texto general */
.tibia-card p,
.tibia-card small {
  color: #4a341a;
}

/* 🪄 Badge */
.tibia-badge {
  background: #f5dd9b;
  border: 1px solid #b28b45;
  color: #4a3212;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
  padding: 0.25rem 0.5rem;
}

/* 📜 Pie de tarjeta - Bosque encantado */
.tibia-card-footer {
  background: linear-gradient(90deg, #1c360e 0%, #2e4c1a 50%, #3a5c1e 100%);
  border-top: 1px solid #c9a56b;
  color: #f6efdb; /* tono marfil */
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.tibia-card-footer:hover {
  background: linear-gradient(90deg, #3a5c1e, #4f7328, #eccfa2);
  color: #fff8e6;
  box-shadow: 0 0 10px rgba(236, 207, 162, 0.4);
  transform: translateY(-2px);
}


/* ✨ Hover general de footer y texto */
.hover-card:hover .tibia-card-footer span {
  color: #f6efdb; /* marfil claro */
  text-shadow: 0 0 6px rgba(236, 207, 162, 0.7);
}




/* ⚔️ Botones */
.btn-gradient {
  background: linear-gradient(90deg, #7b1111, #a81f1f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #a81f1f, #7b1111);
  transform: translateY(-1px);
}

/* ✨ Efecto de brillo sutil en hover (opcional) */
@keyframes shimmer {
  0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 12px rgba(255, 240, 180, 0.6); }
  100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
.tibia-card:hover {
  animation: shimmer 1.8s ease-in-out;
}
:root {
  --tibia-bg: #f1e0c6; /* Fondo suave, color crema */
  --tibia-header: #1c350f; /* Color de fondo de los encabezados, marrón oscuro */
  --tibia-border: #a58b6f; /* Borde dorado */
  --tibia-dark: #654321; /* Texto principal oscuro, para buen contraste */
  --tibia-light: #edcfa2; /* Un tono más claro para detalles */
  --tibia-button: #c29f70; /* Color de fondo de botones dorado */
  --tibia-button-hover: #a27e50; /* Color de fondo en hover más oscuro */
  --panel-shadow: 0 18px 40px rgba(33, 22, 10, 0.22);
}

.tibia-card {
  background: linear-gradient(180deg, rgba(241, 224, 198, 0.96) 0%, rgba(233, 209, 171, 0.96) 100%);
  border: 1px solid rgba(165, 139, 111, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--panel-shadow);
  font-family: 'Georgia', serif;
  color: #3b2714;
}

.tibia-bg {
  background-color: var(--tibia-bg);
  border: 2px solid var(--tibia-border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  color:#59090a;
}

.tibia-header {
  background: linear-gradient(90deg, rgba(28, 53, 15, 0.96) 0%, rgba(53, 33, 12, 0.96) 100%);
  border: 1px solid rgba(165, 139, 111, 0.75);
  border-bottom-width: 1px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  color: #f4dfb5;
}


.text-red-wine {
  color: #59090a;
}

.border-double-red-wine {
  border: 4px double #59090a;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: var(--tibia-bg);
}


.bg-red-wine {
  background-color: #59090a; /* Color rojo vino */
  color: white; /* Texto blanco para contraste */
}


/* Estilo para las descripciones largas */
.description-scroll {
  height: 80px;                /* 🔒 altura fija para todos */
  overflow-y: auto;            /* 📜 scroll si se pasa */
  font-size: 0.85rem;
  color: #333;
  padding: 0.5rem;
  background-color: #f8f9fa;   /* opcional para dar contraste */
  border-radius: 4px;          /* opcional para estética */
  text-align: left;
}


/* Estilo para los badges */
.badge {
  font-size: 1rem;
  padding: 10px;
}

.bg-success {
  background-color: #28a745; /* Verde para miembros online */
}

.bg-primary {
  background-color: #007bff; /* Azul para miembros totales */
}

.bg-danger {
  background-color: #dc3545; /* Rojo para guerra */
}

.bg-secondary {
  background-color: #6c757d; /* Gris para no en guerra */
}

/* Estilo para la lista de miembros */
.member-list {
  list-style-type: none;
  padding: 0;
}

.member-list li {
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
}

.member-list .status {
  font-size: 0.9rem;
}

.member-list .online {
  color: green;
}

.member-list .offline {
  color: red;
}

.guild-logo-wrapper {
  width: 100px;
  height: 100px;
  background-color: #f8f9fa; /* opcional */
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* oculta bordes extra si la imagen se pasa */
}

.guild-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tibia-news-box {
  background-color: #f9f5e9;
  transition: background-color 0.3s ease;
}

.tibia-news-box:hover {
  background-color: #e7e0c5;
}

.hover-text-green:hover {
  color: #1e7e34 !important;
}

.tibia-btn {
  display: inline-block;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 600;
  color: #efe2c6;
  text-align: left;
  background: linear-gradient(180deg, rgba(38, 33, 29, 0.94) 0%, rgba(24, 24, 24, 0.96) 100%);
  border: 1px solid rgba(182, 151, 106, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  line-height: 1.1;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.tibia-btn:hover {
  background: linear-gradient(180deg, rgba(58, 41, 24, 0.96) 0%, rgba(42, 29, 18, 0.96) 100%);
  color: #fff5dd;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  border-color: rgba(220, 188, 130, 0.5);
}

.tibia-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(220, 181, 104, 0.28);
}


.btn-red-wine {
  background-color: #59090a;
  color: #fff;
  border: 1px solid #59090a;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.btn-red-wine:hover,
.btn-red-wine:focus {
  background-color: #7a0c0d;
  border-color: #7a0c0d;
  color: #fff;
  transform: scale(1.03);
}


.guild-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.75) !important;
}

.home-hero {
  position: relative;
}

.home-page {
  padding-bottom: 1rem;
}

.home-hero-body {
  background: linear-gradient(180deg, rgba(243, 229, 202, 0.98) 0%, rgba(236, 218, 186, 0.98) 100%);
  border-radius: 18px;
}

.home-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  color: #2a190d;
  text-shadow: none;
  font-weight: 700;
  max-width: 11ch;
}

.home-title-accent {
  color: #7a3313;
}

.home-copy {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 54ch;
  color: #5c4430;
}

.home-hero-cta-primary,
.home-hero-cta-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.home-section-title {
  color: #2f1d10;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.home-section-copy {
  color: #6b533b;
  max-width: 58ch;
}

.home-section-panel {
  padding: 1.4rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 232, 210, 0.95) 0%, rgba(236, 223, 197, 0.95) 100%);
  border: 1px solid rgba(162, 129, 91, 0.28);
  box-shadow: 0 16px 30px rgba(34, 22, 11, 0.14);
}

.home-hero-image {
  width: min(100%, 520px);
}

.home-feature-card {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(251, 246, 238, 0.98) 100%);
  border: 1px solid rgba(165, 139, 111, 0.32);
  border-radius: 18px;
  color: #402b18;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.home-feature-link {
  display: block;
  color: inherit;
}

.home-feature-link:focus-visible .home-feature-card {
  outline: 2px solid rgba(122, 51, 19, 0.35);
  outline-offset: 3px;
}

.home-feature-link:hover .home-feature-card {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(44, 29, 14, 0.16) !important;
  border-color: rgba(138, 100, 58, 0.44);
}

.home-feature-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.2rem;
}

.home-feature-card::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #7a3313 0%, #d4a15f 100%);
}

.home-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.home-feature-head h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: #2f1d10;
}

.home-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(95, 46, 23, 0.09);
  color: #6f3d1f;
  flex: 0 0 2.35rem;
  font-size: 0.95rem;
}

.home-feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6a3c20;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.home-feature-cta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(122, 51, 19, 0.08);
}

.home-feature-cta i {
  transition: transform 0.18s ease;
}

.home-feature-link:hover .home-feature-cta i {
  transform: translateX(3px);
}

.feature-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5d35;
  margin-bottom: 0.5rem;
}

.search-panel {
  z-index: 10;
  padding: 0.65rem;
  border-radius: 16px;
  background: rgba(20, 18, 15, 0.88);
  top: 0.75rem;
}

.bestiary-intro {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  width: min(100%, 760px);
}

.guild-result-card {
  overflow: hidden;
  max-height: 100vh;
  overflow-y: auto;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.95) 0%, rgba(242, 231, 211, 0.95) 100%);
}

.guild-result-header {
  border-bottom: 1px solid rgba(212, 179, 126, 0.35);
}

.guild-result-title {
  color: #f5dfb2;
  letter-spacing: 0.02em;
}

.guild-result-logo {
  max-width: 100px;
  height: 100px;
  border: 1px solid rgba(227, 204, 166, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.guild-result-range {
  color: #e7c97a;
}

.guild-result-body {
  color: #362313;
}

.guild-result-section-title {
  color: #54311d;
}

.result-table-shell {
  border: 1px solid rgba(173, 136, 86, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
}

.result-table {
  margin-bottom: 0;
  color: #342213;
}

.result-table > :not(caption) > * > * {
  background: transparent;
  border-color: rgba(173, 136, 86, 0.22);
}

.result-table-head th {
  background: linear-gradient(180deg, rgba(46, 35, 22, 0.96) 0%, rgba(29, 22, 14, 0.96) 100%);
  color: #f2ddba;
  border-color: rgba(173, 136, 86, 0.35);
}

.result-collapse-btn {
  border-color: rgba(113, 80, 44, 0.42);
  color: #57331c;
}

.result-collapse-btn:hover {
  background: #59341d;
  color: #fff6e0;
  border-color: #59341d;
}

.result-collapse-panel {
  background: rgba(247, 241, 231, 0.95);
  color: #442c18;
}

.chart-shell {
  margin-top: 0.9rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 251, 244, 0.7);
}

.guild-member-list {
  gap: 0.65rem;
}

.guild-member-item {
  margin-bottom: 0.55rem;
  border: 1px solid rgba(173, 136, 86, 0.22);
  border-radius: 14px !important;
  background: rgba(255, 253, 249, 0.94);
  color: #3a2717;
}

.guild-death-badge {
  border: none;
  background: linear-gradient(180deg, #8b1d1d 0%, #6c1515 100%);
}

.guild-death-detail {
  background: rgba(248, 243, 234, 0.96);
  color: #3f2918;
}

.wo-guild-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.97) 0%, rgba(242, 232, 215, 0.97) 100%);
  box-shadow: 0 18px 32px rgba(41, 28, 15, 0.12);
}

.wo-card-body {
  font-size: 0.88rem;
  color: #3d2916;
}

.wo-subtitle {
  color: #86633f;
}

.wo-kpi {
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(173, 136, 86, 0.2);
  border-radius: 12px;
  padding: 10px;
}

.wo-kpi-value.text-primary {
  color: #6f4523 !important;
}

.wo-vocation-badge {
  margin: 2px 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4b311c;
  background: rgba(231, 216, 190, 0.92);
  border: 1px solid rgba(173, 136, 86, 0.24);
}

.wo-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(95, 68, 40, 0.14);
}

.wo-progress-bar {
  background: linear-gradient(90deg, #8e5b27 0%, #d1a15b 100%);
}

.wo-extreme {
  background: rgba(255, 252, 245, 0.96);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.76rem;
  color: #472e1c;
}

.wo-card-link {
  border-color: rgba(96, 64, 30, 0.32);
  color: #5e3a1b;
}

.wo-card-link:hover {
  background: #5e3a1b;
  color: #fff7e4;
  border-color: #5e3a1b;
}

@media (max-width: 767.98px) {
  #top-banner {
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch !important;
    text-align: center;
  }

  #top-banner .top-logo-link {
    justify-content: center;
    align-self: center;
  }

  #rashid-banner {
    justify-content: center;
    text-align: center;
  }

  .tibia-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .tibia-btn {
    font-size: 0.72rem;
  }

  .home-section-panel {
    padding: 1rem;
  }

  .tibia-header {
    font-size: 1.05rem;
  }

  .home-title {
    max-width: none;
  }
}
/* Tarjeta principal */
.wo-card-body {
  font-size: 0.85rem;
}

.wo-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.wo-kpi {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 8px;
}

.wo-kpi-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.wo-kpi-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #6c757d;
}

.wo-vocation-badge {
  font-size: 0.7rem;
  margin: 2px 2px;
}

.wo-progress {
  height: 6px;
  border-radius: 4px;
}

.wo-extreme {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 6px;
  font-size: 0.75rem;
}

.wo-lowest {
  border-left: 3px solid #dc3545;
}

.wo-highest {
  border-left: 3px solid #198754;
}

@charset "UTF-8";
/*
 * Legacy CSS is loaded explicitly first, then the newer app UI partials below.
 * Avoid require_tree here so new files do not change the cascade accidentally.
 *






 */
/* app/assets/stylesheets/application.scss */
/* line 3, app/assets/stylesheets/application/_base.scss */
body {
  background-color: #eadfc7;
  background-image: linear-gradient(90deg, rgba(234, 223, 199, 0.9) 0%, rgba(234, 223, 199, 0.76) 48%, rgba(234, 223, 199, 0.86) 100%), url(/assets/WebsiteArtworkSummer2020-a0f6d84b5bed772b4c0280ac16a7261d22ee18de27d104c9eb8a21a1656bb384.jpg);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  font-family: 'Alegreya Sans', 'Trebuchet MS', sans-serif;
  color: #17201c;
}

/* line 15, app/assets/stylesheets/application/_base.scss */
.chart-pie {
  max-width: 300px;
  max-height: 300px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* line 26, app/assets/stylesheets/application/_base.scss */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Oculta los selects mientras Select2 se inicializa */
/* line 32, app/assets/stylesheets/application/_base.scss */
select.select2 {
  visibility: hidden;
}

/* Muestra los Select2 ya renderizados */
/* line 37, app/assets/stylesheets/application/_base.scss */
.select2-container {
  visibility: visible !important;
}

/* line 41, app/assets/stylesheets/application/_base.scss */
.placeholder-muted::placeholder {
  color: #adb5bd;
  opacity: 0.8;
  white-space: pre-line;
}

/* line 48, app/assets/stylesheets/application/_base.scss */
.tibia-font {
  color: #ffcc00;
}

/* line 52, app/assets/stylesheets/application/_base.scss */
.tibiaxplorer-title {
  font-weight: 700;
  font-size: 1.08rem;
  font-family: 'Cinzel', Georgia, serif;
  /* Soft gold gradient */
  background: linear-gradient(180deg, #f7e7b5 0%, #d7b46a 55%, #b48a3c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Shadow ligero y nítido */
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4), 0 0 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0;
}

/* line 71, app/assets/stylesheets/application/_base.scss */
.ability-badge {
  font-size: 0.80rem;
  /* 🔽 más pequeño */
  white-space: normal;
  /* 🔑 permite salto de línea */
  word-break: break-word;
  /* rompe palabras largas */
  line-height: 1.2;
}

/* line 78, app/assets/stylesheets/application/_base.scss */
.app-body {
  min-height: 100vh;
}

/* line 82, app/assets/stylesheets/application/_base.scss */
.content-shell {
  max-width: 1280px;
  margin: 0 auto;
}

/* line 87, app/assets/stylesheets/application/_base.scss */
.app-main {
  min-width: 0;
}

/* line 91, app/assets/stylesheets/application/_base.scss */
.app-flash {
  max-width: 960px;
}

/* line 95, app/assets/stylesheets/application/_base.scss */
.eyebrow-label {
  display: inline-block;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: rgba(217, 166, 69, 0.18);
  color: #f6d989;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* line 107, app/assets/stylesheets/application/_base.scss */
.tool-form {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(165, 139, 111, 0.55);
  border-radius: 16px;
  padding: 1.25rem;
}

/* line 114, app/assets/stylesheets/application/_base.scss */
.tool-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* line 120, app/assets/stylesheets/application/_base.scss */
.surface-panel {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(165, 139, 111, 0.55);
  border-radius: 16px;
  padding: 1.25rem;
}

/* line 128, app/assets/stylesheets/application/_base.scss */
.results-log {
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
}

/* line 134, app/assets/stylesheets/application/_base.scss */
.app-placeholder-panel {
  border-radius: 14px;
}

@media (max-width: 991.98px) {
  /* line 139, app/assets/stylesheets/application/_base.scss */
  body {
    background-attachment: scroll;
  }
  /* line 143, app/assets/stylesheets/application/_base.scss */
  .content-shell {
    max-width: 100%;
  }
}

/* line 1, app/assets/stylesheets/application/_tokens.scss */
:root {
  --ui-ink: #17201c;
  --ui-muted: #6b5f4e;
  --ui-surface: #f4ead7;
  --ui-surface-2: #eadcc0;
  --ui-surface-strong: #fffaf0;
  --ui-input-bg: #fffefd;
  --ui-input-addon-bg: #f7f2ea;
  --ui-input-border: rgba(31, 45, 39, 0.18);
  --ui-input-focus: rgba(72, 107, 82, 0.34);
  --ui-border: rgba(70, 49, 31, 0.18);
  --ui-sidebar: #15191b;
  --ui-sidebar-2: #1d2424;
  --ui-gold: #d8a645;
  --ui-red: #8b1e2d;
  --ui-green: #486b52;
  --ui-blue: #385f7b;
  --ui-shadow: 0 18px 45px rgba(26, 32, 29, 0.14);
}

/* line 1, app/assets/stylesheets/application/_layout.scss */
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0.55rem 1rem;
  background: rgba(18, 22, 24, 0.96);
  border-bottom: 1px solid rgba(216, 166, 69, 0.26);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* line 15, app/assets/stylesheets/application/_layout.scss */
.top-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* line 21, app/assets/stylesheets/application/_layout.scss */
.rashid-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(216, 166, 69, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #efe5cb;
  font-size: 0.82rem;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease;
}

/* line 36, app/assets/stylesheets/application/_layout.scss */
.rashid-banner:hover {
  background: rgba(216, 166, 69, 0.12);
  border-color: rgba(216, 166, 69, 0.5);
}

/* line 41, app/assets/stylesheets/application/_layout.scss */
.rashid-gif {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* line 47, app/assets/stylesheets/application/_layout.scss */
.rashid-cta {
  color: #f1c86d;
  font-weight: 700;
}

/* line 52, app/assets/stylesheets/application/_layout.scss */
.app-shell {
  min-height: calc(100vh - 54px) !important;
}

/* line 56, app/assets/stylesheets/application/_layout.scss */
.tibia-sidebar {
  position: sticky;
  top: 54px;
  align-self: stretch;
  width: 196px !important;
  min-width: 196px !important;
  min-height: calc(100vh - 54px);
  max-height: none;
  overflow: visible;
  padding: 0.78rem 0.62rem !important;
  background: linear-gradient(180deg, var(--ui-sidebar) 0%, var(--ui-sidebar-2) 100%) !important;
  border-right: 1px solid rgba(216, 166, 69, 0.14);
  box-shadow: 14px 0 32px rgba(0, 0, 0, 0.16);
}

/* line 71, app/assets/stylesheets/application/_layout.scss */
.sidebar-auth {
  display: grid;
  gap: 0.36rem;
}

/* line 76, app/assets/stylesheets/application/_layout.scss */
.sidebar-auth .dropdown,
.sidebar-auth .dropdown .btn,
.sidebar-auth-btn {
  width: 100%;
}

/* line 82, app/assets/stylesheets/application/_layout.scss */
.sidebar-auth .btn,
.sidebar-auth-btn {
  min-height: 31px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* line 90, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-button {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px !important;
  padding: 0.34rem 0.45rem !important;
  text-align: left;
}

/* line 100, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-button::after {
  margin-left: 0 !important;
}

/* line 104, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: rgba(216, 166, 69, 0.16);
  color: #ffd36d;
  font-size: 0.68rem;
}

/* line 116, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-copy {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

/* line 122, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-label {
  color: #fff4d1;
  font-size: 0.68rem;
  font-weight: 800;
}

/* line 128, app/assets/stylesheets/application/_layout.scss */
.sidebar-user-email {
  color: #c7d0c8;
  font-size: 0.58rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 137, app/assets/stylesheets/application/_layout.scss */
.tibia-sidebar hr {
  margin: 0.65rem 0 0.55rem !important;
  opacity: 0.2;
}

/* line 142, app/assets/stylesheets/application/_layout.scss */
.sidebar-section-title {
  margin: 0.68rem 0 0.28rem !important;
  padding-left: 0.18rem !important;
  color: #9a9f95 !important;
  font-size: 0.56rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

/* line 152, app/assets/stylesheets/application/_layout.scss */
.sidebar-nav-group {
  gap: 0.14rem !important;
  margin-bottom: 0.52rem !important;
}

/* line 157, app/assets/stylesheets/application/_layout.scss */
.sidebar-nav-group .nav-item {
  margin-bottom: 0.08rem !important;
}

/* line 161, app/assets/stylesheets/application/_layout.scss */
.tibia-btn {
  min-height: 35px;
  padding: 0.43rem 0.54rem !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #d8dfd5 !important;
  font-size: 0.79rem !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

/* line 174, app/assets/stylesheets/application/_layout.scss */
.tibia-btn:hover,
.tibia-btn:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(216, 166, 69, 0.18) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* line 182, app/assets/stylesheets/application/_layout.scss */
.sidebar-link.active {
  background: rgba(216, 166, 69, 0.13) !important;
  border-color: rgba(216, 166, 69, 0.38) !important;
  color: #ffe4a4 !important;
  box-shadow: none !important;
}

/* line 189, app/assets/stylesheets/application/_layout.scss */
.sidebar-link-inner {
  display: flex;
  align-items: center;
  gap: 0.56rem !important;
  min-width: 0;
}

/* line 196, app/assets/stylesheets/application/_layout.scss */
.sidebar-link-inner span:last-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 204, app/assets/stylesheets/application/_layout.scss */
.sidebar-icon {
  width: 0.95rem !important;
  flex-basis: 0.95rem !important;
  flex-shrink: 0;
  text-align: center;
  color: #d8a645 !important;
  font-size: 0.78rem !important;
}

/* line 213, app/assets/stylesheets/application/_layout.scss */
.sidebar-link-admin {
  color: #ffd98d !important;
}

/* line 1, app/assets/stylesheets/application/_components.scss */
.app-main {
  padding: 1.1rem !important;
}

/* line 5, app/assets/stylesheets/application/_components.scss */
.tibia-card,
.surface-panel,
.tool-form,
.home-section-panel {
  background: rgba(244, 234, 215, 0.92) !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 10px !important;
  box-shadow: var(--ui-shadow) !important;
  color: var(--ui-ink) !important;
}

/* line 16, app/assets/stylesheets/application/_components.scss */
.tibia-card {
  padding: 1.1rem !important;
  font-family: inherit !important;
}

/* line 21, app/assets/stylesheets/application/_components.scss */
.tibia-header {
  border-radius: 8px !important;
  background: linear-gradient(90deg, #17201c 0%, #2b4035 100%) !important;
  color: #fff3cf !important;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

/* line 30, app/assets/stylesheets/application/_components.scss */
.btn-red-wine {
  border-radius: 8px !important;
  background: var(--ui-red) !important;
  border-color: var(--ui-red) !important;
  box-shadow: 0 10px 20px rgba(139, 30, 45, 0.18);
}

/* line 37, app/assets/stylesheets/application/_components.scss */
.btn-red-wine:hover,
.btn-red-wine:focus {
  background: #a42638 !important;
  border-color: #a42638 !important;
  transform: translateY(-1px) !important;
}

/* line 44, app/assets/stylesheets/application/_components.scss */
.card {
  border-radius: 8px;
  border-color: var(--ui-border);
}

/* line 49, app/assets/stylesheets/application/_components.scss */
.form-control,
.form-select,
.select2-container .select2-selection--single {
  min-height: 40px;
  border-color: var(--ui-input-border) !important;
  background-color: var(--ui-input-bg) !important;
  color: var(--ui-ink) !important;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* line 60, app/assets/stylesheets/application/_components.scss */
.form-control:focus,
.form-select:focus {
  border-color: var(--ui-input-focus) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 0 0 0.2rem rgba(72, 107, 82, 0.12) !important;
}

/* line 68, app/assets/stylesheets/application/_components.scss */
.form-control::placeholder {
  color: #8c877d;
}

/* line 72, app/assets/stylesheets/application/_components.scss */
.input-group-text {
  border-color: var(--ui-input-border) !important;
  background: var(--ui-input-addon-bg) !important;
  color: #3f4e44 !important;
  font-weight: 800;
}

/* line 79, app/assets/stylesheets/application/_components.scss */
.btn {
  border-radius: 8px;
  font-weight: 700;
}

/* line 84, app/assets/stylesheets/application/_components.scss */
.btn-outline-dark {
  border-color: rgba(31, 45, 39, 0.32);
  color: var(--ui-ink);
}

/* line 89, app/assets/stylesheets/application/_components.scss */
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--ui-ink);
  border-color: var(--ui-ink);
  color: #ffffff;
}

/* line 96, app/assets/stylesheets/application/_components.scss */
.table {
  --bs-table-bg: rgba(255, 255, 255, 0.72);
  --bs-table-color: var(--ui-ink);
  border-color: rgba(31, 45, 39, 0.12);
  font-size: 0.94rem;
}

/* line 103, app/assets/stylesheets/application/_components.scss */
.table thead th {
  background: #17201c !important;
  color: #fff3cf !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* line 109, app/assets/stylesheets/application/_components.scss */
.badge {
  border-radius: 999px;
  font-size: 0.78rem !important;
  padding: 0.38rem 0.55rem !important;
}

/* line 115, app/assets/stylesheets/application/_components.scss */
.modal-content {
  border-radius: 10px;
}

/* line 119, app/assets/stylesheets/application/_components.scss */
.app-flash {
  position: sticky;
  top: calc(54px + 0.75rem);
  z-index: 1030;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 760px;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(26, 32, 29, 0.16);
}

/* line 132, app/assets/stylesheets/application/_components.scss */
.app-flash-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

/* line 1, app/assets/stylesheets/application/_home.scss */
.home-page {
  display: grid;
  gap: 1.05rem;
}

/* line 6, app/assets/stylesheets/application/_home.scss */
.home-command-center {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(16, 20, 20, 0.92) 0%, rgba(16, 20, 20, 0.72) 52%, rgba(16, 20, 20, 0.28) 100%), url(/assets/ClientArtwork_20th_Anniversary-2cfed262212663e9b2711c6eadd58ee05356e86378c3b1b0eeefdc8c51c7748b.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--ui-shadow);
}

/* line 19, app/assets/stylesheets/application/_home.scss */
.home-command-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  max-width: 620px;
  padding: clamp(1.25rem, 4vw, 3rem);
}

/* line 28, app/assets/stylesheets/application/_home.scss */
.home-title {
  max-width: 12ch !important;
  margin: 0.8rem 0 0.8rem !important;
  color: #ffffff !important;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

/* line 40, app/assets/stylesheets/application/_home.scss */
.home-title-accent {
  color: #f2c96d !important;
}

/* line 44, app/assets/stylesheets/application/_home.scss */
.home-copy {
  max-width: 54ch !important;
  margin-bottom: 1.1rem;
  color: #e7ecdf !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}

/* line 52, app/assets/stylesheets/application/_home.scss */
.text-home {
  color: #d8e0d1 !important;
  font-size: 0.98rem;
}

/* line 57, app/assets/stylesheets/application/_home.scss */
.home-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* line 63, app/assets/stylesheets/application/_home.scss */
.home-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

/* line 79, app/assets/stylesheets/application/_home.scss */
.home-action:hover,
.home-action:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(242, 201, 109, 0.48);
  color: #ffffff;
  transform: translateY(-1px);
}

/* line 87, app/assets/stylesheets/application/_home.scss */
.home-action-primary {
  background: var(--ui-red);
  border-color: var(--ui-red);
}

/* line 92, app/assets/stylesheets/application/_home.scss */
.home-section-panel {
  padding: 1rem !important;
}

/* line 96, app/assets/stylesheets/application/_home.scss */
.home-section-head {
  align-items: flex-start !important;
  margin-bottom: 0.7rem !important;
}

/* line 101, app/assets/stylesheets/application/_home.scss */
.home-section-title {
  color: var(--ui-ink) !important;
  font-size: 1.32rem !important;
  font-weight: 800;
  line-height: 1.1;
}

/* line 108, app/assets/stylesheets/application/_home.scss */
.home-section-copy {
  color: var(--ui-muted) !important;
  font-size: 0.96rem;
}

/* line 113, app/assets/stylesheets/application/_home.scss */
.feature-kicker {
  color: var(--ui-green) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

/* line 120, app/assets/stylesheets/application/_home.scss */
.home-feature-card {
  min-height: 180px !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 8px !important;
  background: var(--ui-surface) !important;
  box-shadow: none !important;
  color: var(--ui-ink) !important;
}

/* line 129, app/assets/stylesheets/application/_home.scss */
.home-feature-card::before {
  height: 0 !important;
  background: none !important;
}

/* line 134, app/assets/stylesheets/application/_home.scss */
.home-feature-primary {
  border-color: rgba(139, 30, 45, 0.24) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f4 100%) !important;
}

/* line 139, app/assets/stylesheets/application/_home.scss */
.home-feature-link:hover .home-feature-card,
.home-feature-link:focus .home-feature-card {
  border-color: rgba(139, 30, 45, 0.42) !important;
  box-shadow: 0 16px 30px rgba(26, 32, 29, 0.12) !important;
  transform: translateY(-3px) !important;
}

/* line 146, app/assets/stylesheets/application/_home.scss */
.home-feature-card .card-body {
  padding: 1rem !important;
}

/* line 150, app/assets/stylesheets/application/_home.scss */
.home-feature-head {
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.7rem !important;
}

/* line 156, app/assets/stylesheets/application/_home.scss */
.home-feature-head h3 {
  color: var(--ui-ink) !important;
  font-size: 1.12rem !important;
  font-weight: 800;
}

/* line 162, app/assets/stylesheets/application/_home.scss */
.home-feature-card p {
  color: #48544d !important;
  font-size: 0.94rem;
  line-height: 1.45;
}

/* line 168, app/assets/stylesheets/application/_home.scss */
.home-feature-icon {
  width: 2.1rem !important;
  height: 2.1rem !important;
  flex: 0 0 2.1rem !important;
  border-radius: 8px !important;
  background: rgba(72, 107, 82, 0.12) !important;
  color: var(--ui-green) !important;
}

/* line 177, app/assets/stylesheets/application/_home.scss */
.home-feature-primary .home-feature-icon {
  background: rgba(139, 30, 45, 0.12) !important;
  color: var(--ui-red) !important;
}

/* line 182, app/assets/stylesheets/application/_home.scss */
.home-feature-cta {
  padding-top: 0.8rem !important;
  color: var(--ui-red) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0 !important;
}

/* line 189, app/assets/stylesheets/application/_home.scss */
.home-feature-cta span {
  min-height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* line 196, app/assets/stylesheets/application/_home.scss */
.home-feature-cta i {
  margin-left: auto;
}

/* line 200, app/assets/stylesheets/application/_home.scss */
.app-flash {
  margin: 0 auto 1rem;
}

/* line 204, app/assets/stylesheets/application/_home.scss */
footer {
  background: #f8f7f2 !important;
}

@media (max-width: 991.98px) {
  /* line 2, app/assets/stylesheets/application/_responsive_shell.scss */
  .app-shell {
    min-height: auto !important;
  }
  /* line 6, app/assets/stylesheets/application/_responsive_shell.scss */
  .tibia-sidebar {
    position: static;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    min-width: 100% !important;
    max-height: none;
    padding: 0.7rem !important;
  }
  /* line 16, app/assets/stylesheets/application/_responsive_shell.scss */
  .sidebar-auth,
.tibia-sidebar hr,
.sidebar-section-title,
.sidebar-nav-group {
    grid-column: 1 / -1;
  }
  /* line 23, app/assets/stylesheets/application/_responsive_shell.scss */
  .sidebar-nav-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem !important;
  }
}

@media (max-width: 767.98px) {
  /* line 31, app/assets/stylesheets/application/_responsive_shell.scss */
  .app-topbar {
    position: static;
    gap: 0.65rem;
    flex-direction: column;
    align-items: stretch;
  }
  /* line 38, app/assets/stylesheets/application/_responsive_shell.scss */
  .top-logo-link,
.rashid-banner {
    justify-content: center;
  }
  /* line 43, app/assets/stylesheets/application/_responsive_shell.scss */
  .app-main {
    padding: 0.75rem !important;
  }
  /* line 47, app/assets/stylesheets/application/_responsive_shell.scss */
  .home-command-center,
.home-command-content {
    min-height: 420px;
  }
  /* line 52, app/assets/stylesheets/application/_responsive_shell.scss */
  .home-command-center {
    background: linear-gradient(180deg, rgba(16, 20, 20, 0.9) 0%, rgba(16, 20, 20, 0.72) 100%), url(/assets/ClientArtwork_20th_Anniversary-2cfed262212663e9b2711c6eadd58ee05356e86378c3b1b0eeefdc8c51c7748b.jpg);
    background-size: cover;
    background-position: center;
  }
  /* line 60, app/assets/stylesheets/application/_responsive_shell.scss */
  .home-title {
    max-width: none !important;
    font-size: 2.18rem !important;
  }
  /* line 65, app/assets/stylesheets/application/_responsive_shell.scss */
  .home-quick-actions {
    display: grid;
  }
  /* line 69, app/assets/stylesheets/application/_responsive_shell.scss */
  .home-action {
    width: 100%;
  }
  /* line 73, app/assets/stylesheets/application/_responsive_shell.scss */
  .sidebar-nav-group {
    grid-template-columns: 1fr !important;
  }
}

/* Final app UI layer: keep this at the end so legacy page CSS cannot win. */
/* line 2, app/assets/stylesheets/application/_pages.scss */
body {
  background-color: #eadfc7 !important;
  background-image: linear-gradient(90deg, rgba(234, 223, 199, 0.9) 0%, rgba(234, 223, 199, 0.76) 48%, rgba(234, 223, 199, 0.86) 100%), url(/assets/WebsiteArtworkSummer2020-a0f6d84b5bed772b4c0280ac16a7261d22ee18de27d104c9eb8a21a1656bb384.jpg) !important;
  font-family: 'Alegreya Sans', 'Trebuchet MS', sans-serif !important;
  color: var(--ui-ink) !important;
}

/* line 11, app/assets/stylesheets/application/_pages.scss */
#top-banner.app-topbar {
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 54px !important;
  padding: 0.55rem 1rem !important;
  background: rgba(18, 22, 24, 0.96) !important;
  border-bottom: 1px solid rgba(216, 166, 69, 0.26) !important;
}

/* line 22, app/assets/stylesheets/application/_pages.scss */
#top-banner .top-logo-img {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
}

/* line 28, app/assets/stylesheets/application/_pages.scss */
#rashid-banner.rashid-banner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  min-height: 34px !important;
  padding: 0.25rem 0.65rem !important;
  border: 1px solid rgba(216, 166, 69, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #efe5cb !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
}

/* line 42, app/assets/stylesheets/application/_pages.scss */
#rashid-banner .rashid-gif {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}

/* line 48, app/assets/stylesheets/application/_pages.scss */
#rashid-banner .rashid-cta {
  margin-left: 0.35rem !important;
  color: #f1c86d !important;
  font-weight: 700 !important;
}

/* line 54, app/assets/stylesheets/application/_pages.scss */
.tool-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

/* line 62, app/assets/stylesheets/application/_pages.scss */
.tool-shell {
  width: 100%;
}

/* line 66, app/assets/stylesheets/application/_pages.scss */
.page-hero-panel,
.tool-page-header {
  margin-bottom: 1rem;
}

/* line 71, app/assets/stylesheets/application/_pages.scss */
.page-hero-panel {
  padding: 1.25rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(244, 234, 215, 0.92);
  box-shadow: var(--ui-shadow);
}

/* line 79, app/assets/stylesheets/application/_pages.scss */
.tool-page-header {
  text-align: center;
}

/* line 83, app/assets/stylesheets/application/_pages.scss */
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ui-green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* line 93, app/assets/stylesheets/application/_pages.scss */
.page-title {
  margin: 0.35rem 0 0.35rem;
  color: var(--ui-ink);
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.06;
}

/* line 102, app/assets/stylesheets/application/_pages.scss */
.page-subtitle {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ui-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* line 110, app/assets/stylesheets/application/_pages.scss */
.content-panel {
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(244, 234, 215, 0.92);
  box-shadow: var(--ui-shadow);
}

/* line 118, app/assets/stylesheets/application/_pages.scss */
.section-title {
  color: var(--ui-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

/* line 125, app/assets/stylesheets/application/_pages.scss */
.tool-note {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(56, 95, 123, 0.18);
  border-radius: 8px;
  background: rgba(56, 95, 123, 0.08);
  color: #274458;
  font-size: 0.9rem;
}

/* line 134, app/assets/stylesheets/application/_pages.scss */
.terminal-log {
  padding: 0.9rem;
  border: 1px solid rgba(216, 166, 69, 0.2);
  border-radius: 8px;
  background: #15191b;
  color: #d8dfd5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
}

/* line 144, app/assets/stylesheets/application/_pages.scss */
.search-panel {
  position: sticky;
  top: calc(54px + 0.75rem);
  z-index: 20;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

/* line 153, app/assets/stylesheets/application/_pages.scss */
.search-panel .input-group {
  overflow: hidden;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: var(--ui-input-bg);
}

/* line 160, app/assets/stylesheets/application/_pages.scss */
.search-panel .input-group-text {
  border: 0;
  background: var(--ui-input-addon-bg);
  color: var(--ui-green);
}

/* line 166, app/assets/stylesheets/application/_pages.scss */
.search-panel .form-control {
  border: 0 !important;
  box-shadow: none !important;
}

/* line 171, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(216, 166, 69, 0.3);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 250, 237, 0.96) 0%, rgba(250, 241, 214, 0.96) 100%);
  box-shadow: var(--ui-shadow);
}

/* line 183, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ui-red);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

/* line 194, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-link:hover {
  color: #a42638;
}

/* line 198, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-note {
  color: var(--ui-muted);
  font-size: 0.92rem;
}

/* line 203, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-image {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #17201c;
}

/* line 212, app/assets/stylesheets/application/_pages.scss */
.boosted-creature-image img {
  max-width: 54px;
  max-height: 54px;
  object-fit: contain;
}

/* line 218, app/assets/stylesheets/application/_pages.scss */
.creature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

/* line 224, app/assets/stylesheets/application/_pages.scss */
.creature-card {
  display: grid;
  min-height: 150px;
  place-items: center;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ui-ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* line 239, app/assets/stylesheets/application/_pages.scss */
.creature-card:hover,
.creature-card:focus {
  border-color: rgba(139, 30, 45, 0.34);
  box-shadow: 0 14px 28px rgba(26, 32, 29, 0.12);
  color: var(--ui-ink);
  transform: translateY(-2px);
}

/* line 247, app/assets/stylesheets/application/_pages.scss */
.creature-card-image {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 10px;
  background: #17201c;
}

/* line 256, app/assets/stylesheets/application/_pages.scss */
.creature-card-image img {
  max-width: 74px;
  max-height: 74px;
  object-fit: contain;
}

/* line 262, app/assets/stylesheets/application/_pages.scss */
.creature-card-name {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
}

/* line 268, app/assets/stylesheets/application/_pages.scss */
.creature-detail-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(244, 234, 215, 0.94);
  box-shadow: var(--ui-shadow);
}

/* line 279, app/assets/stylesheets/application/_pages.scss */
.creature-detail-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(90deg, #17201c 0%, #2b4035 100%);
}

/* line 287, app/assets/stylesheets/application/_pages.scss */
.creature-detail-hero .page-title,
.creature-detail-hero .page-subtitle {
  color: #ffffff;
  margin-left: 0;
}

/* line 293, app/assets/stylesheets/application/_pages.scss */
.creature-detail-hero .page-kicker {
  color: #f1c86d;
}

/* line 297, app/assets/stylesheets/application/_pages.scss */
.creature-detail-image {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

/* line 306, app/assets/stylesheets/application/_pages.scss */
.creature-detail-image img {
  max-width: 98px;
  max-height: 98px;
  object-fit: contain;
}

/* line 312, app/assets/stylesheets/application/_pages.scss */
.creature-detail-section {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--ui-border);
}

/* line 317, app/assets/stylesheets/application/_pages.scss */
.stat-pill-row,
.ability-grid,
.creature-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* line 325, app/assets/stylesheets/application/_pages.scss */
.stat-pill,
.ability-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.56rem;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ui-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

/* line 339, app/assets/stylesheets/application/_pages.scss */
.stat-pill.danger {
  color: #8b1e2d;
  background: rgba(139, 30, 45, 0.08);
  border-color: rgba(139, 30, 45, 0.18);
}

/* line 345, app/assets/stylesheets/application/_pages.scss */
.stat-pill.info {
  color: #385f7b;
  background: rgba(56, 95, 123, 0.08);
  border-color: rgba(56, 95, 123, 0.18);
}

/* line 351, app/assets/stylesheets/application/_pages.scss */
.stat-pill.neutral {
  color: #486b52;
  background: rgba(72, 107, 82, 0.08);
  border-color: rgba(72, 107, 82, 0.18);
}

/* line 357, app/assets/stylesheets/application/_pages.scss */
.creature-meta-line {
  margin-top: 0.7rem;
  color: var(--ui-muted);
  font-size: 0.92rem;
}

/* line 363, app/assets/stylesheets/application/_pages.scss */
.creature-detail-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--ui-border);
  text-align: center;
}

/* line 369, app/assets/stylesheets/application/_pages.scss */
.loot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.94);
}

/* line 380, app/assets/stylesheets/application/_pages.scss */
.loot-hero-image {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

/* line 386, app/assets/stylesheets/application/_pages.scss */
.loot-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* line 392, app/assets/stylesheets/application/_pages.scss */
.loot-textarea {
  min-height: 520px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
}

/* line 398, app/assets/stylesheets/application/_pages.scss */
.empty-state {
  display: grid;
  place-content: center;
  min-height: 220px;
  color: var(--ui-muted);
  text-align: center;
}

/* line 406, app/assets/stylesheets/application/_pages.scss */
.tracked-card,
.news-card {
  border: 1px solid var(--ui-border) !important;
  border-radius: 8px !important;
  background: rgba(255, 250, 240, 0.94) !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* line 416, app/assets/stylesheets/application/_pages.scss */
.tracked-card:hover,
.news-card:hover {
  border-color: rgba(139, 30, 45, 0.32) !important;
  box-shadow: 0 14px 28px rgba(26, 32, 29, 0.12) !important;
  transform: translateY(-2px);
}

/* line 423, app/assets/stylesheets/application/_pages.scss */
.tracked-card .text-warning,
.tracked-card .text-light {
  color: var(--ui-ink) !important;
}

/* line 428, app/assets/stylesheets/application/_pages.scss */
.tracked-card .text-secondary {
  color: var(--ui-muted) !important;
}

/* line 432, app/assets/stylesheets/application/_pages.scss */
.news-card .card-body {
  padding: 1rem;
}

/* line 436, app/assets/stylesheets/application/_pages.scss */
.news-card .card-title {
  color: var(--ui-ink) !important;
  font-family: 'Alegreya Sans', 'Trebuchet MS', sans-serif !important;
  font-size: 1.08rem !important;
  line-height: 1.2;
}

/* line 443, app/assets/stylesheets/application/_pages.scss */
.news-card-footer {
  border-top: 1px solid var(--ui-border) !important;
  background: rgba(72, 107, 82, 0.08) !important;
  color: var(--ui-green) !important;
}

/* line 449, app/assets/stylesheets/application/_pages.scss */
.legal-page {
  line-height: 1.6;
}

/* line 453, app/assets/stylesheets/application/_pages.scss */
.legal-page h4 {
  margin-top: 1.35rem;
  color: var(--ui-ink);
  font-size: 1rem;
  font-weight: 800;
}

/* line 460, app/assets/stylesheets/application/_pages.scss */
.legal-page ul {
  padding-left: 1.2rem;
}

/* line 464, app/assets/stylesheets/application/_pages.scss */
.house-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

/* line 471, app/assets/stylesheets/application/_pages.scss */
.house-hero-actions {
  flex: 0 0 auto;
}

/* line 475, app/assets/stylesheets/application/_pages.scss */
.house-results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(72, 107, 82, 0.18);
  border-radius: 10px;
  background: rgba(72, 107, 82, 0.08);
  color: var(--ui-ink);
  font-size: 0.94rem;
}

/* line 488, app/assets/stylesheets/application/_pages.scss */
.house-results-summary span {
  color: var(--ui-muted);
}

/* line 492, app/assets/stylesheets/application/_pages.scss */
.house-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

/* line 498, app/assets/stylesheets/application/_pages.scss */
.house-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 245px;
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(246, 236, 217, 0.98) 100%);
  box-shadow: var(--ui-shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* line 512, app/assets/stylesheets/application/_pages.scss */
.house-card:hover {
  border-color: rgba(139, 30, 45, 0.34);
  box-shadow: 0 18px 34px rgba(26, 32, 29, 0.14);
  transform: translateY(-2px);
}

/* line 518, app/assets/stylesheets/application/_pages.scss */
.house-card-top,
.house-card-actions,
.house-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

/* line 527, app/assets/stylesheets/application/_pages.scss */
.house-card-top {
  justify-content: space-between;
}

/* line 531, app/assets/stylesheets/application/_pages.scss */
.house-card-title {
  margin: 0;
  color: var(--ui-ink);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

/* line 540, app/assets/stylesheets/application/_pages.scss */
.house-type-pill,
.house-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* line 551, app/assets/stylesheets/application/_pages.scss */
.house-type-pill {
  border: 1px solid rgba(56, 95, 123, 0.2);
  background: rgba(56, 95, 123, 0.08);
  color: #274458;
}

/* line 557, app/assets/stylesheets/application/_pages.scss */
.house-status-available {
  border: 1px solid rgba(72, 107, 82, 0.26);
  background: rgba(72, 107, 82, 0.12);
  color: var(--ui-green);
}

/* line 563, app/assets/stylesheets/application/_pages.scss */
.house-status-auctioned {
  border: 1px solid rgba(216, 166, 69, 0.34);
  background: rgba(216, 166, 69, 0.16);
  color: #73541b;
}

/* line 569, app/assets/stylesheets/application/_pages.scss */
.house-status-rented {
  border: 1px solid rgba(139, 30, 45, 0.22);
  background: rgba(139, 30, 45, 0.1);
  color: var(--ui-red);
}

/* line 575, app/assets/stylesheets/application/_pages.scss */
.house-status-muted {
  border: 1px solid rgba(31, 45, 39, 0.16);
  background: rgba(31, 45, 39, 0.08);
  color: var(--ui-muted);
}

/* line 581, app/assets/stylesheets/application/_pages.scss */
.house-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* line 587, app/assets/stylesheets/application/_pages.scss */
.house-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(31, 45, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: #3f4e44;
  font-size: 0.84rem;
  font-weight: 700;
}

/* line 600, app/assets/stylesheets/application/_pages.scss */
.house-auction-note {
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(216, 166, 69, 0.26);
  border-radius: 8px;
  background: rgba(216, 166, 69, 0.1);
  color: #5e4213;
  font-size: 0.88rem;
}

/* line 609, app/assets/stylesheets/application/_pages.scss */
.house-card-actions {
  margin-top: auto;
}

/* line 613, app/assets/stylesheets/application/_pages.scss */
.house-wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* line 619, app/assets/stylesheets/application/_pages.scss */
.house-detail-shell {
  overflow: hidden;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: rgba(244, 234, 215, 0.94);
  box-shadow: var(--ui-shadow);
}

/* line 627, app/assets/stylesheets/application/_pages.scss */
.house-detail-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(90deg, rgba(23, 32, 28, 0.98) 0%, rgba(43, 64, 53, 0.92) 100%);
}

/* line 637, app/assets/stylesheets/application/_pages.scss */
.house-detail-hero .page-title {
  color: #ffffff !important;
  margin-bottom: 0.75rem;
}

/* line 642, app/assets/stylesheets/application/_pages.scss */
.house-detail-hero .page-kicker {
  color: #f1c86d;
}

/* line 646, app/assets/stylesheets/application/_pages.scss */
.house-detail-image {
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 109, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.26);
  color: #f1c86d;
  font-size: 2rem;
}

/* line 658, app/assets/stylesheets/application/_pages.scss */
.house-detail-image img {
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: contain;
  image-rendering: auto;
}

/* line 666, app/assets/stylesheets/application/_pages.scss */
.house-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: 1rem;
}

/* line 673, app/assets/stylesheets/application/_pages.scss */
.house-detail-panel {
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.9);
}

/* line 680, app/assets/stylesheets/application/_pages.scss */
.house-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

/* line 686, app/assets/stylesheets/application/_pages.scss */
.house-detail-stats div {
  padding: 0.75rem;
  border: 1px solid rgba(31, 45, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

/* line 693, app/assets/stylesheets/application/_pages.scss */
.house-detail-stats span {
  display: block;
  color: var(--ui-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* line 701, app/assets/stylesheets/application/_pages.scss */
.house-detail-stats strong {
  color: var(--ui-ink);
  font-size: 1.08rem;
}

/* line 706, app/assets/stylesheets/application/_pages.scss */
.house-status-copy p {
  margin-bottom: 0.45rem;
  color: var(--ui-ink);
}

/* line 711, app/assets/stylesheets/application/_pages.scss */
.house-detail-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid var(--ui-border);
}

/* line 720, app/assets/stylesheets/application/_pages.scss */
.exercise-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: center;
}

/* line 727, app/assets/stylesheets/application/_pages.scss */
.exercise-hero-note {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(216, 166, 69, 0.28);
  border-radius: 10px;
  background: rgba(216, 166, 69, 0.12);
  color: #523b12;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* line 737, app/assets/stylesheets/application/_pages.scss */
.exercise-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* line 743, app/assets/stylesheets/application/_pages.scss */
.exercise-mode-card {
  display: flex;
  flex-direction: column;
}

/* line 748, app/assets/stylesheets/application/_pages.scss */
.exercise-mode-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

/* line 754, app/assets/stylesheets/application/_pages.scss */
.exercise-mode-head p {
  color: var(--ui-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* line 760, app/assets/stylesheets/application/_pages.scss */
.exercise-mode-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 10px;
  background: rgba(139, 30, 45, 0.12);
  color: var(--ui-red);
}

/* line 771, app/assets/stylesheets/application/_pages.scss */
.exercise-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* line 777, app/assets/stylesheets/application/_pages.scss */
.exercise-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--ui-input-border);
  border-radius: 8px;
  background: var(--ui-input-bg);
  color: var(--ui-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

/* line 791, app/assets/stylesheets/application/_pages.scss */
.exercise-switch .form-check-input {
  margin: 0;
}

/* line 795, app/assets/stylesheets/application/_pages.scss */
.exercise-result-panel {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(244, 234, 215, 0.96) 100%) !important;
}

/* line 800, app/assets/stylesheets/application/_pages.scss */
.exercise-result-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* line 807, app/assets/stylesheets/application/_pages.scss */
.exercise-result-head p {
  color: var(--ui-muted);
  font-size: 0.94rem;
}

/* line 812, app/assets/stylesheets/application/_pages.scss */
.exercise-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

/* line 818, app/assets/stylesheets/application/_pages.scss */
.exercise-result-card {
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

/* line 825, app/assets/stylesheets/application/_pages.scss */
.exercise-result-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ui-ink);
}

/* line 833, app/assets/stylesheets/application/_pages.scss */
.exercise-result-card-title span {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* line 839, app/assets/stylesheets/application/_pages.scss */
.exercise-result-card-title strong {
  color: var(--ui-red);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
}

/* line 846, app/assets/stylesheets/application/_pages.scss */
.exercise-result-card-copy {
  margin: 0.15rem 0 0.8rem;
  color: var(--ui-muted);
  font-size: 0.86rem;
}

/* line 852, app/assets/stylesheets/application/_pages.scss */
.exercise-result-lines,
.exercise-modifier-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* line 859, app/assets/stylesheets/application/_pages.scss */
.exercise-result-lines span,
.exercise-modifier-note span,
.exercise-buying-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(31, 45, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
  color: #3f4e44;
  font-size: 0.83rem;
  font-weight: 700;
}

/* line 874, app/assets/stylesheets/application/_pages.scss */
.exercise-result-lines .exercise-choice-gold,
.exercise-buying-note.exercise-choice-gold {
  border-color: rgba(72, 107, 82, 0.22);
  background: rgba(72, 107, 82, 0.12);
  color: var(--ui-green);
}

/* line 881, app/assets/stylesheets/application/_pages.scss */
.exercise-result-lines .exercise-choice-tc,
.exercise-buying-note.exercise-choice-tc {
  border-color: rgba(56, 95, 123, 0.22);
  background: rgba(56, 95, 123, 0.1);
  color: #274458;
}

/* line 888, app/assets/stylesheets/application/_pages.scss */
.exercise-result-lines .exercise-choice-even,
.exercise-buying-note.exercise-choice-even {
  border-color: rgba(216, 166, 69, 0.28);
  background: rgba(216, 166, 69, 0.12);
  color: #5e4213;
}

/* line 895, app/assets/stylesheets/application/_pages.scss */
.exercise-buying-note {
  display: flex;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  line-height: 1.45;
}

/* line 903, app/assets/stylesheets/application/_pages.scss */
.exercise-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

/* line 909, app/assets/stylesheets/application/_pages.scss */
.exercise-summary-stat {
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

/* line 916, app/assets/stylesheets/application/_pages.scss */
.exercise-summary-stat span {
  display: block;
  color: var(--ui-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* line 924, app/assets/stylesheets/application/_pages.scss */
.exercise-summary-stat strong {
  color: var(--ui-ink);
  font-size: 1.18rem;
}

/* line 929, app/assets/stylesheets/application/_pages.scss */
.exercise-modifier-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ui-border);
}

@media (max-width: 991.98px) {
  /* line 936, app/assets/stylesheets/application/_pages.scss */
  .loot-hero {
    grid-template-columns: 1fr;
  }
  /* line 940, app/assets/stylesheets/application/_pages.scss */
  .loot-hero-image {
    max-height: 220px;
  }
  /* line 944, app/assets/stylesheets/application/_pages.scss */
  .house-detail-hero,
.house-detail-body,
.exercise-hero,
.exercise-mode-grid,
.exercise-result-grid,
.exercise-summary-grid {
    grid-template-columns: 1fr;
  }
  /* line 953, app/assets/stylesheets/application/_pages.scss */
  .house-detail-actions {
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  /* line 959, app/assets/stylesheets/application/_pages.scss */
  #top-banner.app-topbar {
    position: static !important;
  }
  /* line 963, app/assets/stylesheets/application/_pages.scss */
  .page-hero-panel,
.content-panel,
.boosted-creature-card,
.loot-hero {
    border-radius: 8px;
  }
  /* line 970, app/assets/stylesheets/application/_pages.scss */
  .boosted-creature-card,
.creature-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  /* line 976, app/assets/stylesheets/application/_pages.scss */
  .creature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* line 980, app/assets/stylesheets/application/_pages.scss */
  .creature-card {
    min-height: 138px;
  }
  /* line 984, app/assets/stylesheets/application/_pages.scss */
  .creature-card-image {
    width: 72px;
    height: 72px;
  }
  /* line 989, app/assets/stylesheets/application/_pages.scss */
  .creature-card-image img {
    max-width: 62px;
    max-height: 62px;
  }
  /* line 994, app/assets/stylesheets/application/_pages.scss */
  .loot-textarea {
    min-height: 360px;
  }
  /* line 998, app/assets/stylesheets/application/_pages.scss */
  .house-hero,
.house-results-summary {
    flex-direction: column;
  }
  /* line 1003, app/assets/stylesheets/application/_pages.scss */
  .house-hero-actions,
.house-results-summary {
    align-items: stretch;
  }
  /* line 1008, app/assets/stylesheets/application/_pages.scss */
  .house-grid {
    grid-template-columns: 1fr;
  }
  /* line 1012, app/assets/stylesheets/application/_pages.scss */
  .house-detail-stats {
    grid-template-columns: 1fr;
  }
}

/* Unified secondary views: auth, tracking, admin, news and result panels. */
/* line 2, app/assets/stylesheets/application/_secondary.scss */
.auth-page {
  width: 100%;
  display: grid;
  place-items: start center;
  padding: 0.5rem 0 1.5rem;
}

/* line 9, app/assets/stylesheets/application/_secondary.scss */
.auth-card,
.tracking-form-card,
.news-article {
  width: 100%;
  max-width: 560px;
  padding: 1.25rem;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(244, 234, 215, 0.94);
  box-shadow: var(--ui-shadow);
  color: var(--ui-ink);
}

/* line 22, app/assets/stylesheets/application/_secondary.scss */
.auth-card-wide,
.news-article {
  max-width: 860px;
}

/* line 27, app/assets/stylesheets/application/_secondary.scss */
.auth-header {
  margin-bottom: 1.1rem;
  text-align: center;
}

/* line 32, app/assets/stylesheets/application/_secondary.scss */
.login-form .field {
  margin-bottom: 1rem;
}

/* line 36, app/assets/stylesheets/application/_secondary.scss */
.login-form label,
.tracking-form label {
  color: var(--ui-ink) !important;
  font-size: 0.92rem;
  font-weight: 800;
}

/* line 43, app/assets/stylesheets/application/_secondary.scss */
.login-form input:not([type="checkbox"]) {
  width: 100%;
}

/* line 47, app/assets/stylesheets/application/_secondary.scss */
.login-form .btn-login {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--ui-red);
  border-radius: 8px;
  background: var(--ui-red);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(139, 30, 45, 0.18);
}

/* line 58, app/assets/stylesheets/application/_secondary.scss */
.login-form .btn-login:hover,
.login-form .btn-login:focus {
  background: #a42638;
  border-color: #a42638;
}

/* line 64, app/assets/stylesheets/application/_secondary.scss */
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  color: var(--ui-muted);
  font-size: 0.9rem;
}

/* line 73, app/assets/stylesheets/application/_secondary.scss */
.auth-links a {
  color: var(--ui-red);
  font-weight: 800;
  text-decoration: none;
}

/* line 79, app/assets/stylesheets/application/_secondary.scss */
.auth-links a:hover,
.auth-links a:focus {
  color: #a42638;
  text-decoration: underline;
}

/* line 85, app/assets/stylesheets/application/_secondary.scss */
.auth-hint {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ui-muted);
  font-size: 0.85rem;
  font-style: normal;
}

/* line 93, app/assets/stylesheets/application/_secondary.scss */
.danger-zone {
  padding: 1rem;
  border: 1px solid rgba(139, 30, 45, 0.18);
  border-radius: 8px;
  background: rgba(139, 30, 45, 0.06);
}

/* line 100, app/assets/stylesheets/application/_secondary.scss */
.tracking-form-card {
  max-width: 620px;
  margin: 0 auto;
}

/* line 105, app/assets/stylesheets/application/_secondary.scss */
.tracking-switch-panel {
  padding: 1rem;
  border: 1px solid rgba(72, 107, 82, 0.18);
  border-radius: 8px;
  background: rgba(72, 107, 82, 0.07);
}

/* line 112, app/assets/stylesheets/application/_secondary.scss */
.tracking-switch-panel .form-check-input {
  min-width: 2.5rem;
}

/* line 116, app/assets/stylesheets/application/_secondary.scss */
.helper-list {
  padding-left: 1.15rem;
  color: var(--ui-muted);
  font-size: 0.92rem;
}

/* line 122, app/assets/stylesheets/application/_secondary.scss */
.tracked-detail-hero {
  padding: 1.25rem;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(23, 32, 28, 0.96) 0%, rgba(43, 64, 53, 0.92) 100%), url(/assets/ClientArtwork_20th_Anniversary-2cfed262212663e9b2711c6eadd58ee05356e86378c3b1b0eeefdc8c51c7748b.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--ui-shadow);
}

/* line 133, app/assets/stylesheets/application/_secondary.scss */
.tracked-detail-hero .page-title,
.tracked-detail-hero .page-subtitle {
  color: #ffffff !important;
}

/* line 138, app/assets/stylesheets/application/_secondary.scss */
.tracked-detail-hero .page-kicker {
  color: #f1c86d;
}

/* line 142, app/assets/stylesheets/application/_secondary.scss */
.tracked-detail-card {
  border: 1px solid var(--ui-border) !important;
  background: rgba(244, 234, 215, 0.94) !important;
  color: var(--ui-ink) !important;
  box-shadow: var(--ui-shadow);
}

/* line 149, app/assets/stylesheets/application/_secondary.scss */
.tracked-month-title {
  color: var(--ui-green);
  font-weight: 800;
}

/* line 154, app/assets/stylesheets/application/_secondary.scss */
.tracked-progress-row {
  margin: 0 0 0.5rem 0.75rem;
  padding: 0 0 0.55rem 0.75rem;
  border-left: 2px solid rgba(72, 107, 82, 0.18);
  border-bottom: 1px solid rgba(31, 45, 39, 0.1);
}

/* line 161, app/assets/stylesheets/application/_secondary.scss */
.admin-character-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(216, 166, 69, 0.28);
  border-radius: 999px;
  background: rgba(216, 166, 69, 0.1);
  color: var(--ui-ink);
  font-size: 0.84rem;
}

/* line 173, app/assets/stylesheets/application/_secondary.scss */
.admin-character-pill small {
  color: var(--ui-muted);
}

/* line 177, app/assets/stylesheets/application/_secondary.scss */
.news-translate-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(72, 107, 82, 0.14);
  border-radius: 8px;
  background: rgba(72, 107, 82, 0.06);
}

/* line 190, app/assets/stylesheets/application/_secondary.scss */
.news-show-page {
  justify-items: center;
}

/* line 194, app/assets/stylesheets/application/_secondary.scss */
.news-show-page .news-article {
  width: 100%;
  max-width: 900px;
}

/* line 199, app/assets/stylesheets/application/_secondary.scss */
.news-content {
  padding: 1rem;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  color: var(--ui-ink);
  font-size: 1rem;
  line-height: 1.65;
}

/* line 209, app/assets/stylesheets/application/_secondary.scss */
.news-content.is-loading {
  opacity: 0.62;
  transition: opacity 0.18s ease;
}

/* line 214, app/assets/stylesheets/application/_secondary.scss */
.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* line 220, app/assets/stylesheets/application/_secondary.scss */
.analysis-results-panel {
  margin-top: 1rem;
}

/* line 224, app/assets/stylesheets/application/_secondary.scss */
.result-callout {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--ui-border);
  color: var(--ui-ink);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* line 233, app/assets/stylesheets/application/_secondary.scss */
.result-callout h5 {
  margin-bottom: 0.5rem;
  color: var(--ui-ink);
  font-weight: 800;
}

/* line 239, app/assets/stylesheets/application/_secondary.scss */
.result-callout p {
  margin-bottom: 0;
}

/* line 243, app/assets/stylesheets/application/_secondary.scss */
.result-callout-info {
  border-color: rgba(56, 95, 123, 0.18);
  background: rgba(56, 95, 123, 0.08);
}

/* line 248, app/assets/stylesheets/application/_secondary.scss */
.result-callout-success {
  border-color: rgba(72, 107, 82, 0.22);
  background: rgba(72, 107, 82, 0.1);
}

/* line 253, app/assets/stylesheets/application/_secondary.scss */
.loot-result-card {
  overflow: hidden;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: rgba(244, 234, 215, 0.94);
  box-shadow: var(--ui-shadow);
}

/* line 261, app/assets/stylesheets/application/_secondary.scss */
.loot-result-header {
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, #17201c 0%, #2b4035 100%);
  color: #fff3cf;
  font-weight: 800;
}

/* line 268, app/assets/stylesheets/application/_secondary.scss */
.loot-result-card .card-body {
  padding: 1rem;
}

/* line 272, app/assets/stylesheets/application/_secondary.scss */
.loot-command-code {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(70, 49, 31, 0.16);
  border-radius: 6px;
  background: rgba(23, 32, 28, 0.08);
  color: #5b1d27;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* line 286, app/assets/stylesheets/application/_secondary.scss */
.copy-command-cell {
  min-width: 96px;
}

/* line 290, app/assets/stylesheets/application/_secondary.scss */
.session-info-panel {
  padding: 0.9rem;
  border: 1px solid rgba(216, 166, 69, 0.22);
  border-radius: 8px;
  background: rgba(216, 166, 69, 0.09);
}

/* line 297, app/assets/stylesheets/application/_secondary.scss */
.session-info-panel h6 {
  color: var(--ui-ink);
  font-weight: 800;
}

@media (max-width: 767.98px) {
  /* line 303, app/assets/stylesheets/application/_secondary.scss */
  .auth-card,
.tracking-form-card,
.news-article {
    padding: 1rem;
  }
  /* line 309, app/assets/stylesheets/application/_secondary.scss */
  .news-translate-panel {
    align-items: stretch;
    flex-direction: column;
  }
  /* line 314, app/assets/stylesheets/application/_secondary.scss */
  .news-translate-panel .form-select {
    width: 100% !important;
  }
  /* line 318, app/assets/stylesheets/application/_secondary.scss */
  .tracked-progress-row {
    margin-left: 0;
  }
}
