/* ================================================================
   RELICMU START V4
   Refinamento visual + home completa, sem remover integrações Morpheus.
   Carregado depois de styles.min.css / relic-v2.css / relic-v3.css.
   ================================================================ */

:root {
  --relic-v4-gold: #d6a84e;
  --relic-v4-gold-2: #f0c66d;
  --relic-v4-gold-dark: #7c4b12;
  --relic-v4-purple: #8b46ca;
  --relic-v4-green: #37dc82;
  --relic-v4-bg: #07070a;
  --relic-v4-panel: #0d0d12;
  --relic-v4-panel-2: #121118;
  --relic-v4-line: rgba(214,168,78,.23);
  --relic-v4-softline: rgba(255,255,255,.065);
}

/* ---------------- Header / auth ---------------- */
body.relic-theme .header__top {
  min-height: 50px;
  height: auto;
  background: rgba(5,5,8,.98);
  border-bottom: 1px solid rgba(214,168,78,.16);
}
body.relic-theme .header__top .container {
  min-height: 50px;
  max-width: 1600px;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
body.relic-theme .partial-login { order: 2; }
body.relic-theme .header__social { order: 1; margin: 0; }
body.relic-theme .relic-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.relic-theme .relic-auth__button {
  position: relative;
  min-width: 126px;
  height: 36px;
  padding: 0 15px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(214,168,78,.38) !important;
  background: linear-gradient(180deg, rgba(31,24,14,.97), rgba(9,9,12,.98)) !important;
  color: #f3eee5 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), 0 8px 24px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.relic-theme .relic-auth__button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255,255,255,.13) 47%, transparent 59%);
  transform: translateX(-130%);
  transition: transform .5s ease;
}
body.relic-theme .relic-auth__button:hover::before { transform: translateX(130%); }
body.relic-theme .relic-auth__button:hover {
  transform: translateY(-1px);
  border-color: rgba(240,198,109,.72) !important;
  box-shadow: 0 0 0 1px rgba(214,168,78,.08), 0 0 22px rgba(214,168,78,.12);
}
body.relic-theme .relic-auth__button--primary {
  background: linear-gradient(180deg, #8a5517, #55300c) !important;
  border-color: #c4872d !important;
  color: #fff8e9 !important;
}
body.relic-theme .relic-auth__button--login {
  background: linear-gradient(180deg, rgba(23,21,29,.98), rgba(8,8,12,.98)) !important;
}
body.relic-theme .relic-auth__button i { color: var(--relic-v4-gold-2); font-size: 12px; }
body.relic-theme .relic-auth__button--primary i { color: #fff4d2; }

/* ---------------- Social platforms ---------------- */
body.relic-theme .relic-social-list {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 0;
}
body.relic-theme .relic-social-list .social__box {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #0b0b10 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.relic-theme .relic-social-list .social__box:hover { transform: translateY(-2px); }
body.relic-theme .relic-social--instagram i { color: #e55ca3 !important; }
body.relic-theme .relic-social--youtube i { color: #ff3d3d !important; }
body.relic-theme .relic-social--discord i { color: #7c8cff !important; }
body.relic-theme .relic-social--whatsapp i { color: #28d767 !important; }
body.relic-theme .relic-social--tiktok i { color: #f2f2f2 !important; text-shadow: -1px 0 #20d5d2, 1px 0 #fe2c55; }
body.relic-theme .relic-social--instagram:hover { box-shadow: 0 0 18px rgba(229,92,163,.16); border-color: rgba(229,92,163,.38) !important; }
body.relic-theme .relic-social--youtube:hover { box-shadow: 0 0 18px rgba(255,61,61,.15); border-color: rgba(255,61,61,.35) !important; }
body.relic-theme .relic-social--discord:hover { box-shadow: 0 0 18px rgba(124,140,255,.15); border-color: rgba(124,140,255,.35) !important; }
body.relic-theme .relic-social--whatsapp:hover { box-shadow: 0 0 18px rgba(40,215,103,.15); border-color: rgba(40,215,103,.35) !important; }

/* ---------------- Main navigation / real logo ---------------- */
body.relic-theme .header__nav {
  min-height: 86px;
  height: 86px;
  background: rgba(6,6,9,.97);
  border-bottom: 1px solid rgba(214,168,78,.22);
}
body.relic-theme .header__nav .header__desktop,
body.relic-theme .header__nav .header__desktop .wrapper { height: 86px; }
body.relic-theme .header__nav .header__desktop .wrapper {
  max-width: 1600px;
  width: calc(100% - 40px);
  margin: 0 auto;
  overflow: visible;
}
body.relic-theme .header__nav .header__menu-box { display: none !important; }
body.relic-theme .header__nav .header__menu-area {
  height: 86px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}
body.relic-theme .header__nav .menu__left,
body.relic-theme .header__nav .menu__right {
  display: flex !important;
  align-items: stretch;
  min-width: 0;
}
body.relic-theme .header__nav .menu__left { justify-content: flex-end; }
body.relic-theme .header__nav .menu__right { justify-content: flex-start; }
body.relic-theme .header__nav .menu__links {
  display: flex !important;
  align-items: stretch !important;
  justify-content: inherit;
  gap: clamp(16px, 1.8vw, 32px) !important;
  height: 86px;
  margin: 0;
}
body.relic-theme .header__nav .menu__item {
  display: flex;
  align-items: stretch;
  height: 86px;
}
body.relic-theme .header__nav .menu__link {
  height: 86px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 1px 0 0 !important;
  color: #d6d0c7 !important;
  font-size: 13px !important;
  letter-spacing: .055em !important;
  white-space: nowrap;
  position: relative;
  line-height: 1 !important;
}
body.relic-theme .header__nav .menu__link::after {
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #7b4a13, var(--relic-v4-gold-2)) !important;
  transform: translateX(-50%) !important;
  transition: width .22s ease !important;
}
body.relic-theme .header__nav .menu__link:hover::after { width: 100% !important; }
body.relic-theme .header__nav .menu__link:hover { color: #fff8eb !important; }
body.relic-theme .header__nav .logo-reference {
  width: 210px !important;
  min-width: 210px !important;
  height: 86px !important;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}
body.relic-theme .header__nav .logo-reference::before,
body.relic-theme .header__nav .logo-reference::after { display: none !important; content: none !important; }
body.relic-theme .relic-nav-logo {
  width: 182px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
body.relic-theme .relic-nav-logo img {
  max-width: 176px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(129,54,177,.24)) drop-shadow(0 2px 5px rgba(0,0,0,.7));
  transition: transform .22s ease, filter .22s ease;
}
body.relic-theme .relic-nav-logo:hover img {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 0 16px rgba(154,78,214,.34)) drop-shadow(0 2px 5px rgba(0,0,0,.7));
}

/* ---------------- Hero action effects ---------------- */
body.relic-theme .relic-hero__button {
  min-width: 182px;
  height: 52px;
  padding: 0 22px !important;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
}
body.relic-theme .relic-hero__button span,
body.relic-theme .relic-hero__button i { position: relative; z-index: 2; }
body.relic-theme .relic-hero__button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background: linear-gradient(110deg, transparent 0 32%, rgba(255,247,218,.28) 45%, transparent 58%);
  transform: translateX(-125%);
  transition: transform .62s cubic-bezier(.2,.7,.2,1);
}
body.relic-theme .relic-hero__button:hover::before { transform: translateX(125%); }
body.relic-theme .relic-hero__button--play {
  box-shadow: inset 0 0 0 1px rgba(255,222,150,.13), 0 0 0 1px rgba(176,116,29,.36), 0 9px 28px rgba(118,69,10,.23) !important;
}
body.relic-theme .relic-hero__button--play:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: inset 0 0 0 1px rgba(255,229,169,.22), 0 0 26px rgba(212,155,58,.22), 0 13px 32px rgba(0,0,0,.35) !important;
}
body.relic-theme .relic-hero__button--register:hover {
  border-color: rgba(139,70,202,.55) !important;
  box-shadow: 0 0 22px rgba(139,70,202,.13) !important;
}
body.relic-theme .relic-hero__button i { color: var(--relic-v4-gold-2); font-size: 13px; }

/* ---------------- Live /post bar ---------------- */
body.relic-theme .relic-postbar { height: 48px !important; min-height: 48px; overflow: hidden; }
body.relic-theme .relic-postbar .marquee__left,
body.relic-theme .relic-postbar .marquee__right { min-width: 18%; }
body.relic-theme .relic-postbar .marquee__content {
  min-width: 0;
  flex: 1;
  height: 48px;
  background: #08080b !important;
  border-top: 1px solid rgba(214,168,78,.34);
  border-bottom: 1px solid rgba(214,168,78,.22);
  display: flex !important;
  align-items: center;
  overflow: hidden;
  position: relative;
}
body.relic-theme .relic-postbar__label {
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--relic-v4-gold-2);
  font: 700 11px/1 Rajdhani, sans-serif;
  letter-spacing: .12em;
  border-right: 1px solid rgba(214,168,78,.18);
  background: linear-gradient(90deg, rgba(124,75,18,.18), transparent);
}
body.relic-theme .relic-postbar__label i { color: #a85cea; }
body.relic-theme .relic-postbar__viewport {
  flex: 1;
  min-width: 0;
  height: 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
body.relic-theme .relic-postbar__track {
  min-width: max-content;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 44px;
  padding-left: 30px;
  animation: relicPostScroll 34s linear infinite;
  will-change: transform;
}
body.relic-theme .relic-postbar__viewport:hover .relic-postbar__track { animation-play-state: paused; }
body.relic-theme .relic-postbar__item {
  color: #bbb5bd;
  font: 600 13px/1 Rajdhani, sans-serif;
  letter-spacing: .025em;
}
body.relic-theme .relic-postbar__item::before {
  content: "◆";
  color: #9950d3;
  margin-right: 10px;
  font-size: 8px;
}
body.relic-theme .relic-postbar__item b { color: var(--relic-v4-gold-2); margin-right: 5px; }
body.relic-theme .relic-postbar__item em { color: #696572; font-style: normal; font-size: 11px; margin-left: 8px; }
body.relic-theme .relic-postbar--connected::after { content: none; }
@keyframes relicPostScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Main headings ---------------- */
body.relic-theme .main__title {
  min-height: 66px;
  padding: 0 24px;
}
body.relic-theme .heading__main-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.relic-theme .heading__main-title::before {
  content: "";
  width: 4px;
  height: 30px;
  background: linear-gradient(180deg, var(--relic-v4-gold-2), #71420f);
  transform: skew(-17deg);
  box-shadow: 0 0 14px rgba(214,168,78,.12);
}
body.relic-theme .heading__main-title::first-letter { color: inherit !important; }
body.relic-theme .relic-section-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: 0 !important;
  color: var(--relic-v4-gold-2) !important;
  min-width: 0 !important;
  padding: 4px 0 !important;
  height: auto !important;
}
body.relic-theme .relic-section-link i { font-size: 10px; }

/* ---------------- News: 3 + 3 columns ---------------- */
body.relic-theme .relic-news-grid,
body.relic-theme .news.relic-news-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  padding: 18px 20px 22px !important;
  width: 100%;
}
body.relic-theme .relic-news-card,
body.relic-theme .news__item.relic-news-card {
  min-height: 86px;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 18px 0 0 !important;
  display: grid !important;
  grid-template-columns: 4px minmax(0,1fr) 22px;
  align-items: center;
  gap: 16px;
  background: linear-gradient(120deg, rgba(18,17,24,.95), rgba(9,9,13,.96)) !important;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 9px !important;
  overflow: hidden;
  transform: none !important;
  transition: border-color .2s ease, transform .2s ease, background .2s ease !important;
}
body.relic-theme .relic-news-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(214,168,78,.3) !important;
  background: linear-gradient(120deg, rgba(29,23,25,.98), rgba(10,9,14,.98)) !important;
}
body.relic-theme .relic-news-card__accent { align-self: stretch; background: linear-gradient(180deg, #e0b45c, #6f430e); }
body.relic-theme .relic-news-card__body { min-width: 0; }
body.relic-theme .relic-news-card .news__title {
  font-size: 16px !important;
  line-height: 1.15 !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f0ece5 !important;
}
body.relic-theme .relic-news-card .news__description {
  margin-top: 8px !important;
  color: #aa7a2a !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}
body.relic-theme .relic-news-card .news__description i { margin-right: 5px; color: #7d7187; }
body.relic-theme .relic-news-card__arrow { color: #5e5963; font-size: 11px; transition: color .2s ease, transform .2s ease; }
body.relic-theme .relic-news-card:hover .relic-news-card__arrow { color: var(--relic-v4-gold-2); transform: translateX(2px); }

/* ---------------- Market: larger item space ---------------- */
body.relic-theme .relic-market-grid,
body.relic-theme .webshop-grid.relic-market-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
  padding: 20px !important;
}
body.relic-theme .relic-market-card,
body.relic-theme .ws-card.relic-market-card {
  min-width: 0;
  min-height: 255px;
  border: 1px solid rgba(255,255,255,.065) !important;
  background: radial-gradient(circle at 50% 34%, rgba(108,49,145,.11), transparent 35%), linear-gradient(180deg, #111017, #09090d) !important;
  border-radius: 10px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.relic-theme .relic-market-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214,168,78,.3) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.22), 0 0 18px rgba(126,64,176,.07);
}
body.relic-theme .relic-market-card__top {
  min-height: 58px;
  padding: 13px 14px 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
body.relic-theme .relic-market-card .ws-card-header {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #f0ece5 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}
body.relic-theme .relic-market-card__badge {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid rgba(214,168,78,.16);
  border-radius: 5px;
  color: #9d7a3e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}
body.relic-theme .relic-market-card .ws-card-body {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 10px !important;
}
body.relic-theme .relic-market-card__image,
body.relic-theme .relic-market-card .ws-card-image {
  width: 112px !important;
  height: 112px !important;
  min-height: 112px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px !important;
  position: relative;
}
body.relic-theme .relic-market-card__image::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,70,202,.18), transparent 70%);
  filter: blur(5px);
}
body.relic-theme .relic-market-card__image img,
body.relic-theme .relic-market-card .ws-card-image img {
  position: relative;
  z-index: 2;
  max-width: 104px !important;
  max-height: 104px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  image-rendering: auto;
}
body.relic-theme .relic-market-card__meta {
  width: 100%;
  display: grid;
  gap: 5px;
  text-align: center;
}
body.relic-theme .relic-market-card .ws-seller,
body.relic-theme .relic-market-card .ws-expire { margin: 0 !important; font-size: 11px !important; color: #77717e !important; }
body.relic-theme .relic-market-card .ws-seller span { color: #cfa04a !important; }
body.relic-theme .relic-market-card .ws-card-footer { padding: 0 12px 13px !important; background: transparent !important; border: 0 !important; }
body.relic-theme .relic-market-card__buy { width: 100% !important; min-height: 37px; border-radius: 6px !important; }

/* ---------------- Rankings: featured + four columns ---------------- */
body.relic-theme .relic-rankings-block { overflow: hidden; }
body.relic-theme .relic-rankings-title { justify-content: space-between; }
body.relic-theme .relic-section-kicker {
  color: #77717e;
  font: 700 10px/1 Rajdhani, sans-serif;
  letter-spacing: .2em;
}
body.relic-theme .relic-featured-rankings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  padding: 20px 20px 4px;
}
body.relic-theme .relic-featured-ranking {
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(84,49,17,.32), rgba(14,10,17,.96) 45%, rgba(47,20,65,.38));
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
}
body.relic-theme .relic-featured-ranking:nth-child(2) {
  background: linear-gradient(135deg, rgba(52,23,74,.46), rgba(12,10,16,.96) 52%, rgba(88,53,16,.22));
}
body.relic-theme .relic-featured-ranking__head {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
body.relic-theme .relic-featured-ranking__icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--relic-v4-gold-2);
  background: rgba(4,4,7,.46);
  border: 1px solid rgba(214,168,78,.22);
  font-size: 17px;
}
body.relic-theme .relic-featured-ranking__eyebrow {
  display: block;
  color: #8d8691;
  font: 700 9px/1 Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 5px;
}
body.relic-theme .relic-featured-ranking h3 {
  margin: 0;
  color: #f2ede4;
  font: 600 19px/1.1 Cinzel, serif;
}
body.relic-theme .relic-featured-ranking__list { padding: 8px 16px 12px; }
body.relic-theme .relic-featured-ranking__row {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  gap: 10px;
}
body.relic-theme .relic-featured-ranking__row:last-child { border-bottom: 0; }
body.relic-theme .relic-featured-ranking__pos { color: var(--relic-v4-gold-2); font: 700 14px Cinzel,serif; }
body.relic-theme .relic-featured-ranking__name,
body.relic-theme .relic-featured-ranking__name a { color: #ddd7cf !important; font-weight: 700; font-size: 13px; }
body.relic-theme .relic-featured-ranking__row strong { color: #9d96a1; font-size: 12px; font-weight: 600; }

body.relic-theme .relic-ranking-carousel-head {
  padding: 24px 20px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
body.relic-theme .relic-ranking-carousel-head__eyebrow { color: #a6792d; font: 700 9px/1 Rajdhani,sans-serif; letter-spacing: .18em; }
body.relic-theme .relic-ranking-carousel-head h2 { margin: 5px 0 3px; color: #f0ebe3; font: 600 21px/1.1 Cinzel,serif; }
body.relic-theme .relic-ranking-carousel-head p { margin: 0; color: #736f78; font-size: 12px; }
body.relic-theme .relic-ranking-controls { display: flex; gap: 7px; flex: 0 0 auto; }
body.relic-theme .relic-ranking-controls button {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(214,168,78,.25);
  background: #0a0a0e;
  color: var(--relic-v4-gold-2);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
body.relic-theme .relic-ranking-controls button:hover:not(.swiper-button-disabled) { background: #20160b; transform: translateY(-1px); }
body.relic-theme .relic-ranking-controls .swiper-button-disabled { opacity: .28; cursor: default; }
body.relic-theme .relic-rankings-swiper { padding: 0 20px 22px !important; overflow: hidden !important; }
body.relic-theme .relic-rankings-swiper .swiper-wrapper { align-items: stretch; }
body.relic-theme .relic-ranking-card {
  height: auto !important;
  min-height: 332px;
  background: linear-gradient(180deg, #111017, #09090d) !important;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 9px !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
}
body.relic-theme .relic-ranking-card__head {
  min-height: 72px;
  padding: 15px 15px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(214,168,78,.14);
  background: linear-gradient(100deg, rgba(103,61,16,.19), rgba(66,29,86,.09));
}
body.relic-theme .relic-ranking-card__head h3 { margin: 5px 0 0; color: #f0ece5; font: 600 15px/1.15 Cinzel,serif; }
body.relic-theme .relic-ranking-card__head > i { color: rgba(214,168,78,.42); font-size: 18px; }
body.relic-theme .relic-ranking-card__frequency { color: #8d8792; font: 700 8px/1 Rajdhani,sans-serif; text-transform: uppercase; letter-spacing: .13em; }
body.relic-theme .relic-ranking-card__body { flex: 1; padding: 6px 10px 10px; }
body.relic-theme .relic-ranking-row,
body.relic-theme .relic-ranking-card .rankings__box.rankings--rating {
  min-height: 47px !important;
  height: auto !important;
  padding: 0 7px !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.04) !important;
  background: transparent !important;
}
body.relic-theme .relic-ranking-card .rankings__rank { color: var(--relic-v4-gold-2) !important; font-size: 13px !important; }
body.relic-theme .relic-ranking-card .rankings__rank span { color: #684513 !important; }
body.relic-theme .relic-ranking-card .rankings__player,
body.relic-theme .relic-ranking-card .rankings__guild { min-width: 0; }
body.relic-theme .relic-ranking-card .rankings__character,
body.relic-theme .relic-ranking-card .rankings__guild-name,
body.relic-theme .relic-ranking-card .rankings__character a,
body.relic-theme .relic-ranking-card .rankings__guild-name a {
  color: #ded9d1 !important;
  font-size: 12px !important;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.relic-theme .relic-ranking-card .rankings__score {
  background: transparent !important;
  color: #77727c !important;
  padding: 0 !important;
  min-width: 0 !important;
  font-size: 10px !important;
  text-align: right;
}
body.relic-theme .relic-ranking-card .rankings__score span { color: inherit !important; }

/* ---------------- Sidebar online boost indicator ---------------- */
body.relic-theme .status__description { letter-spacing: .05em; }

/* ---------------- Footer ---------------- */
body.relic-theme .relic-footer-dev { color: var(--relic-v4-gold) !important; text-decoration: none; }
body.relic-theme .footer__social.relic-social-list { justify-content: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1380px) {
  body.relic-theme .header__nav .header__menu-area { grid-template-columns: minmax(0,1fr) 176px minmax(0,1fr); gap: 10px; }
  body.relic-theme .header__nav .logo-reference { width: 176px !important; min-width: 176px !important; }
  body.relic-theme .relic-nav-logo { width: 162px; }
  body.relic-theme .relic-nav-logo img { max-width: 158px; max-height: 72px; }
  body.relic-theme .header__nav .menu__links { gap: 17px !important; }
  body.relic-theme .header__nav .menu__link { font-size: 12px !important; }
  body.relic-theme .relic-market-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}

@media (max-width: 1100px) {
  body.relic-theme .relic-news-grid { grid-template-columns: 1fr !important; }
  body.relic-theme .relic-market-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  body.relic-theme .relic-featured-rankings { grid-template-columns: 1fr; }
  body.relic-theme .relic-postbar__label span { display: none; }
  body.relic-theme .relic-postbar__label { padding: 0 14px; }
}

@media (max-width: 900px) {
  body.relic-theme .header__top .container { width: calc(100% - 24px); justify-content: space-between; }
  body.relic-theme .header__social { order: 1; }
  body.relic-theme .partial-login { order: 2; }
  body.relic-theme .relic-auth__button { min-width: 0; padding: 0 11px !important; }
  body.relic-theme .relic-auth__button span { display: none; }
  body.relic-theme .relic-auth__button i { font-size: 14px; }
  body.relic-theme .relic-postbar .marquee__left,
  body.relic-theme .relic-postbar .marquee__right { min-width: 8%; }
  body.relic-theme .relic-market-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

@media (max-width: 620px) {
  body.relic-theme .header__top .container { gap: 7px; }
  body.relic-theme .relic-social-list { gap: 5px; }
  body.relic-theme .relic-social-list .social__box { width: 31px !important; height: 31px !important; border-color: rgba(214,168,78,.18) !important; }
  body.relic-theme .relic-social--tiktok { display: none !important; }
  body.relic-theme .relic-hero__button { min-width: calc(50% - 6px); padding: 0 14px !important; }
  body.relic-theme .relic-hero__button i { display: none; }
  body.relic-theme .relic-postbar .marquee__left,
  body.relic-theme .relic-postbar .marquee__right { min-width: 14px; width: 14px; }
  body.relic-theme .relic-postbar__label { display: none; }
  body.relic-theme .relic-market-grid { grid-template-columns: 1fr !important; padding: 14px !important; }
  body.relic-theme .relic-news-grid { padding: 14px !important; }
  body.relic-theme .relic-news-card .news__title { font-size: 14px !important; }
  body.relic-theme .relic-ranking-carousel-head { align-items: flex-start; }
  body.relic-theme .relic-ranking-carousel-head p { display: none; }
  body.relic-theme .relic-featured-rankings { padding: 14px 14px 2px; }
  body.relic-theme .relic-rankings-swiper { padding: 0 14px 16px !important; }
}

/* ================================================================
   RelicMU START V4.2 - Hall of Fame em cards
   Mantém os dados dinâmicos entregues pela Morpheus/HallFame.
   ================================================================ */
body.relic-theme .relic-ranking-carousel-head--cards {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.035);
  margin-top: 14px;
}
body.relic-theme .relic-ranking-carousel-head--cards h2 {
  font-size: 20px;
}
body.relic-theme .relic-rankings-swiper--cards {
  padding-top: 2px !important;
}
body.relic-theme .relic-ranking-card--featured-style {
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  overflow: visible !important;
  box-shadow: none !important;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking--standard {
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(52,31,15,.38), rgba(12,10,15,.98) 47%, rgba(42,20,55,.25));
  border-color: rgba(214,168,78,.16);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking--standard:hover {
  transform: translateY(-2px);
  border-color: rgba(214,168,78,.34);
  box-shadow: 0 12px 30px rgba(0,0,0,.24), inset 0 0 0 1px rgba(214,168,78,.025);
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__head {
  min-height: 78px;
  padding: 14px 15px;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__icon {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking h3,
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__head h3 {
  font-size: 15px;
  line-height: 1.15;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__list {
  flex: 1;
  padding: 7px 13px 11px;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__row {
  min-height: 47px;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 7px;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__pos {
  font-size: 13px;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__name,
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__name a {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking__row strong {
  font-size: 10px;
  max-width: 88px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* Destaques continuam maiores e funcionam como cabeçalho visual do Hall of Fame. */
body.relic-theme .relic-featured-rankings > .relic-featured-ranking {
  min-height: 218px;
}
body.relic-theme .relic-featured-rankings > .relic-featured-ranking .relic-featured-ranking__row {
  min-height: 43px;
}

@media (max-width: 620px) {
  body.relic-theme .relic-ranking-carousel-head--cards {
    margin-top: 8px;
    padding-top: 20px;
  }
  body.relic-theme .relic-ranking-card--featured-style .relic-featured-ranking--standard {
    min-height: 320px;
  }
}
body.relic-theme .relic-featured-ranking__titlebox {
  min-width: 0;
  flex: 1;
}
body.relic-theme .relic-ranking-card__open {
  margin-left: auto;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #8d7a56 !important;
  border: 1px solid rgba(214,168,78,.16);
  background: rgba(0,0,0,.18);
  text-decoration: none !important;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
body.relic-theme .relic-ranking-card__open:hover {
  color: var(--relic-v4-gold-2) !important;
  border-color: rgba(214,168,78,.36);
  background: rgba(93,57,16,.22);
  transform: translateY(-1px);
}

/* Página /rankings: visão geral completa, sem perder atalhos da Morpheus. */
body.relic-theme .relic-rankings-page {
  width: 100% !important;
  flex: 1 1 100% !important;
  min-width: 0;
}
body.relic-theme .relic-ranking-all-links-wrap {
  margin: 0 20px 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background: rgba(7,7,11,.74);
}
body.relic-theme .relic-ranking-all-links-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
body.relic-theme .relic-ranking-all-links-head span {
  color: #e9e2d8;
  font: 600 16px/1.1 Cinzel,serif;
}
body.relic-theme .relic-ranking-all-links-head small {
  color: #77717d;
  font-size: 11px;
}
body.relic-theme .relic-ranking-all-links {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
}
body.relic-theme .relic-ranking-all-link {
  min-height: 43px;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #cfc9c1 !important;
  text-decoration: none !important;
  border: 1px solid rgba(214,168,78,.11);
  border-radius: 7px;
  background: linear-gradient(100deg,rgba(80,47,13,.13),rgba(15,13,18,.7));
  font: 700 12px/1 Rajdhani,sans-serif;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
body.relic-theme .relic-ranking-all-link > i:first-child { color: #8f6d32; }
body.relic-theme .relic-ranking-all-link > i:last-child { color: #625d65; font-size: 9px; }
body.relic-theme .relic-ranking-all-link:hover {
  transform: translateY(-1px);
  border-color: rgba(214,168,78,.3);
  background: linear-gradient(100deg,rgba(101,61,18,.23),rgba(22,15,26,.82));
}
@media(max-width:1100px){body.relic-theme .relic-ranking-all-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){body.relic-theme .relic-ranking-all-links-wrap{margin:0 14px 16px;padding:14px}body.relic-theme .relic-ranking-all-links-head{align-items:flex-start;flex-direction:column;gap:4px}body.relic-theme .relic-ranking-all-links{grid-template-columns:1fr}}

/* ================================================================
   RelicMU START V4.3 - Rankings em grupos de 4
   Apenas apresentação do HallFame: mantém os dados da Morpheus.
   ================================================================ */
body.relic-theme .relic-ranking-carousel--groups {
  padding-bottom: 20px;
}

body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head--cards {
  margin: 16px 20px 14px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.045);
}

body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head__eyebrow {
  color: var(--relic-v4-gold);
  font-size: 10px;
  letter-spacing: .2em;
}

body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head h2 {
  margin-top: 7px;
  color: #f2ede4;
  font: 600 24px/1.08 Cinzel, serif;
}

body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head p {
  margin-top: 5px;
  color: #827b86;
  font-size: 12px;
}

body.relic-theme .relic-ranking-controls {
  align-items: center;
}

body.relic-theme .relic-ranking-page-counter {
  min-width: 46px;
  text-align: center;
  color: #8b838d;
  font: 700 10px/1 Rajdhani, sans-serif;
  letter-spacing: .12em;
}

body.relic-theme .relic-ranking-controls button:disabled,
body.relic-theme .relic-ranking-controls button.is-disabled {
  opacity: .25;
  cursor: default;
  transform: none !important;
}

body.relic-theme .relic-ranking-pages {
  padding: 0 20px;
}

body.relic-theme .relic-ranking-page {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

body.relic-theme .relic-ranking-page.is-active {
  display: grid;
  animation: relicRankingPageIn .22s ease both;
}

@keyframes relicRankingPageIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

body.relic-theme .relic-ranking-grid-card {
  min-width: 0;
  height: 100%;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(84,49,17,.28), rgba(14,10,17,.97) 46%, rgba(47,20,65,.30));
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.relic-theme .relic-ranking-grid-card:nth-child(even) {
  background: linear-gradient(135deg, rgba(52,23,74,.35), rgba(12,10,16,.97) 52%, rgba(88,53,16,.18));
}

body.relic-theme .relic-ranking-grid-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214,168,78,.34);
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(214,168,78,.02);
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__head {
  min-height: 82px;
  padding: 16px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  font-size: 17px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__eyebrow {
  font-size: 9px;
  margin-bottom: 6px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__head h3 {
  color: #f2ede4;
  font: 600 18px/1.08 Cinzel, serif;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__list {
  flex: 1;
  padding: 8px 14px 12px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__row {
  min-height: 45px;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 8px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__pos {
  font-size: 14px;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__name,
body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__name a {
  color: #ded8cf !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.relic-theme .relic-ranking-grid-card .relic-featured-ranking__row strong {
  color: #918a95;
  font-size: 11px;
  max-width: 86px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

@media (max-width: 1180px) {
  body.relic-theme .relic-ranking-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head--cards {
    margin: 8px 14px 12px;
    padding-top: 20px;
  }
  body.relic-theme .relic-ranking-carousel--groups .relic-ranking-carousel-head h2 {
    font-size: 20px;
  }
  body.relic-theme .relic-ranking-pages {
    padding: 0 14px;
  }
  body.relic-theme .relic-ranking-page {
    grid-template-columns: 1fr;
  }
  body.relic-theme .relic-ranking-grid-card {
    min-height: 315px;
  }
}


/* ================================================================
   RELICMU V4.4 — limpeza definitiva da identidade START vermelha
   Vermelho fica reservado somente a estados semânticos/brand oficial.
   ================================================================ */
body.relic-theme .relic-banner-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 77% 43%, rgba(126,66,187,.16), transparent 34rem),
    radial-gradient(circle at 18% 62%, rgba(214,168,78,.055), transparent 26rem),
    #07070a;
}

/* Semantic danger only: validation/errors/offline. */
body.relic-theme .input--danger,
body.relic-theme .is-invalid { border-color: var(--relic-danger) !important; }
body.relic-theme .invalid-feedback,
body.relic-theme .alert--danger,
body.relic-theme .alert-danger {
  border-left-color: var(--relic-danger) !important;
  color: #d76069 !important;
}
body.relic-theme .relic-status-offline { color: #d76069 !important; }

/* Legacy START helper classes are visually converted to the Relic palette. */
body.relic-theme .button--red {
  background: linear-gradient(to right, #a86a15 50%, #5f390e 50%) !important;
  background-size: 200% 100% !important;
  background-position: 100% 0 !important;
}
body.relic-theme .button--red:hover { background-position: 0 0 !important; }
body.relic-theme .button--red-slogan { border-color: var(--relic-v4-gold) !important; }
body.relic-theme .button--red-slogan:hover {
  background: #a86a15 !important;
  border-color: #a86a15 !important;
}
body.relic-theme .text--red { color: var(--relic-v4-gold) !important; }

/* Official platform red is intentionally preserved for YouTube/TikTok accents. */

/* ================================================================
   RELICMU V4.4 — Castle Siege banner artwork
   Only visual treatment of the existing Castle Siege block.
   Morpheus data/markup remain unchanged.
   ================================================================ */
body.relic-theme .castle {
  position: relative;
  overflow: hidden;
  min-height: 332px;
  padding: 218px 28px 24px !important;
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(to bottom,
      rgba(5,5,8,.03) 0%,
      rgba(5,5,8,.04) 48%,
      rgba(8,8,12,.72) 64%,
      rgba(8,8,12,.98) 77%,
      #0b0b10 100%),
    url('../img/relic-castle-siege-banner.webp') center top / cover no-repeat !important;
  box-shadow: inset 0 1px 0 rgba(214,168,78,.08);
}

body.relic-theme .castle::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5,5,8,.16), transparent 22%, transparent 78%, rgba(5,5,8,.18)),
    radial-gradient(circle at 55% 25%, rgba(132,62,205,.10), transparent 34%);
}

body.relic-theme .castle__content {
  position: relative;
  z-index: 1;
  min-height: 74px;
  padding-top: 18px;
  border-top: 1px solid rgba(214,168,78,.18);
}

body.relic-theme .castle__guild .guild__name {
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

body.relic-theme .castle__description .description__definition,
body.relic-theme .castle__description .description__detail {
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}

@media screen and (max-width: 959px) {
  body.relic-theme .castle {
    min-height: 355px;
    padding: 190px 22px 22px !important;
    background-position: 48% top !important;
  }
}

@media screen and (max-width: 459px) {
  body.relic-theme .castle {
    min-height: 260px;
    padding: 138px 16px 18px !important;
    background-position: 45% top !important;
  }

  body.relic-theme .castle__content {
    padding-top: 14px;
  }
}


/* ========================================================================== 
   RELICMU - AUTH BUTTONS (LOGIN / REGISTER / RECOVER)
   ========================================================================== */
body.relic-theme .form__button {
  padding: 0;
  margin-top: 18px;
}

body.relic-theme .form__button .button__medium,
body.relic-theme #windowLogin .form__button .button__medium,
body.relic-theme .form__button .button__medium.button--submit {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(214,168,78,.62) !important;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(33,18,52,.96) 0%, rgba(15,12,31,.98) 52%, rgba(8,8,17,1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,230,170,.14),
    inset 0 -1px 0 rgba(120,56,192,.22),
    0 10px 24px rgba(0,0,0,.34),
    0 0 0 1px rgba(112,56,188,.10);
  color: #fff5db !important;
  font-family: "Rajdhani", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  transform: none !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    filter .22s ease,
    background-position .35s ease;
  overflow: hidden;
}

body.relic-theme .form__button .button__medium::before,
body.relic-theme #windowLogin .form__button .button__medium::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,224,161,.10) 0%, rgba(255,224,161,0) 32%),
    linear-gradient(90deg, rgba(214,168,78,.08), rgba(173,92,255,.10), rgba(214,168,78,.08));
  pointer-events: none;
  z-index: 0;
}

body.relic-theme .form__button .button__medium::after,
body.relic-theme #windowLogin .form__button .button__medium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -32%;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg);
  opacity: .72;
  pointer-events: none;
  z-index: 1;
  transition: left .55s ease;
}

body.relic-theme .form__button .button__medium > span,
body.relic-theme #windowLogin .form__button .button__medium > span {
  position: relative;
  z-index: 2;
  color: #fff2cf !important;
  text-shadow: 0 0 12px rgba(214,168,78,.18);
  transform: none !important;
}

body.relic-theme .form__button .button__medium:hover,
body.relic-theme #windowLogin .form__button .button__medium:hover {
  border-color: rgba(242,195,98,.94) !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,240,197,.18),
    inset 0 -1px 0 rgba(144,70,224,.30),
    0 14px 28px rgba(0,0,0,.38),
    0 0 0 1px rgba(214,168,78,.18),
    0 0 18px rgba(132,63,209,.18);
  filter: saturate(1.04);
}

body.relic-theme .form__button .button__medium:hover::after,
body.relic-theme #windowLogin .form__button .button__medium:hover::after {
  left: 118%;
}

body.relic-theme .form__button .button__medium:active,
body.relic-theme #windowLogin .form__button .button__medium:active {
  transform: translateY(0) scale(.995) !important;
  box-shadow:
    inset 0 2px 12px rgba(0,0,0,.34),
    0 8px 18px rgba(0,0,0,.28),
    0 0 0 1px rgba(214,168,78,.12);
}

body.relic-theme .form__button .button__medium:focus-visible,
body.relic-theme #windowLogin .form__button .button__medium:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(10,10,16,1),
    0 0 0 4px rgba(214,168,78,.34),
    0 12px 26px rgba(0,0,0,.35);
}

@media screen and (min-width: 700px) {
  body.relic-theme .form .button--submit,
  body.relic-theme #windowLogin .form__button .button__medium {
    width: min(250px, 100%);
  }
}

@media screen and (max-width: 699px) {
  body.relic-theme .form__button .button__medium,
  body.relic-theme #windowLogin .form__button .button__medium {
    min-height: 50px;
    font-size: 20px;
  }
}


/* ========================================================================== 
   RELICMU - PANEL BUTTONS / ACCOUNT NAV
   ========================================================================== */
body.relic-theme .column article .column__box.column__default > a.button__medium {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  width: 100%;
  min-height: 40px;
  padding: 0 18px 0 26px;
  border: 1px solid rgba(214,168,78,.34) !important;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(33,24,54,.98) 0%, rgba(20,16,34,.98) 48%, rgba(12,11,20,.99) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.08), 0 8px 18px rgba(0,0,0,.22);
  color: #f4ead2 !important;
  font-family: "Rajdhani", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: none;
  text-decoration: none;
  transform: none !important;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}

body.relic-theme .column article .column__box.column__default > a.button__medium::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(214,168,78,.06), rgba(117,56,191,.12) 55%, rgba(214,168,78,.06));
  pointer-events: none;
}

body.relic-theme .column article .column__box.column__default > a.button__medium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -24%;
  width: 24%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-22deg);
  opacity: .72;
  pointer-events: none;
  transition: left .5s ease;
}

body.relic-theme .column article .column__box.column__default > a.button__medium > span {
  position: relative;
  z-index: 1;
  transform: none !important;
}

body.relic-theme .column article .column__box.column__default > a.button__medium:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(235,189,90,.74) !important;
  box-shadow: inset 0 1px 0 rgba(255,240,197,.12), 0 12px 24px rgba(0,0,0,.28), 0 0 0 1px rgba(131,61,206,.12);
  filter: saturate(1.05);
}

body.relic-theme .column article .column__box.column__default > a.button__medium:hover::after {
  left: 116%;
}

body.relic-theme .column article .column__box.column__default > a.button__medium.button--red {
  border-color: rgba(214,136,51,.40) !important;
  background: linear-gradient(180deg, rgba(128,76,11,.98) 0%, rgba(107,63,12,.98) 48%, rgba(76,44,10,.99) 100%) !important;
  color: #fff6e1 !important;
}

body.relic-theme .column article .column__box.column__default > a.button__medium.button--red::before {
  background: linear-gradient(90deg, rgba(255,226,160,.08), rgba(157,71,0,.08), rgba(255,226,160,.08));
}

body.relic-theme .column article .column__box.column__default > a.button__medium.button--red:hover {
  border-color: rgba(237,175,68,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,233,175,.16), 0 12px 24px rgba(0,0,0,.28), 0 0 18px rgba(176,101,16,.18);
}

body.relic-theme .main__content > .flex > a.button__small {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid rgba(214,168,78,.28) !important;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(32,26,49,.98) 0%, rgba(17,16,28,.99) 55%, rgba(10,11,18,1) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,226,160,.07), 0 6px 14px rgba(0,0,0,.18);
  color: #efe4cd !important;
  font-family: "Rajdhani", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: none;
  text-decoration: none;
  transform: none !important;
  overflow: hidden;
  transition: transform .2s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

body.relic-theme .main__content > .flex > a.button__small::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(214,168,78,.04), rgba(117,56,191,.10), rgba(214,168,78,.04));
  pointer-events: none;
}

body.relic-theme .main__content > .flex > a.button__small > span {
  position: relative;
  z-index: 1;
  transform: none !important;
}

body.relic-theme .main__content > .flex > a.button__small:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(236,188,92,.70) !important;
  color: #fff6df !important;
  box-shadow: inset 0 1px 0 rgba(255,236,190,.10), 0 10px 20px rgba(0,0,0,.22), 0 0 14px rgba(130,60,207,.14);
}

body.relic-theme .main__content > .flex > a.button__small.active,
body.relic-theme .main__content > .flex > a.button__small[aria-current='page'] {
  border-color: rgba(243,196,95,.94) !important;
  background: linear-gradient(180deg, rgba(97,56,153,.98) 0%, rgba(63,35,107,.98) 38%, rgba(38,28,68,.98) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,236,190,.18), 0 12px 22px rgba(0,0,0,.25), 0 0 18px rgba(130,60,207,.22);
  color: #fff3d7 !important;
}

body.relic-theme .main__content .info__box .button__small {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(214,168,78,.36) !important;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(31,21,47,.98), rgba(12,12,22,.98)) !important;
  color: #f3e7c7 !important;
  transform: none !important;
  text-decoration: none;
}

body.relic-theme .main__content .info__box .button__small.button--orange {
  background: linear-gradient(180deg, rgba(165,103,24,.98), rgba(115,70,14,.98)) !important;
  border-color: rgba(234,184,75,.72) !important;
}

body.relic-theme .main__content .info__box .button__small > span {
  transform: none !important;
}

@media screen and (max-width: 959px) {
  body.relic-theme .main__content > .flex {
    gap: 10px !important;
    justify-content: flex-start !important;
  }

  body.relic-theme .main__content > .flex > a.button__small {
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
}


/* ========================================================================== 
   RELICMU - PANEL FORM ACTION BUTTONS
   ========================================================================== */
body.relic-theme .relic-panel-submit-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

body.relic-theme .relic-panel-submit-wrap.relic-panel-submit-wrap--center {
  justify-content: center;
}

body.relic-theme .relic-panel-submit {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid rgba(214,168,78,.60) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(36,24,60,.98) 0%, rgba(18,15,33,.99) 52%, rgba(10,10,18,1) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.10), inset 0 -1px 0 rgba(115,55,191,.18), 0 10px 22px rgba(0,0,0,.26), 0 0 0 1px rgba(110,56,188,.10);
  color: #fff2d0 !important;
  font-family: "Rajdhani", serif;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: .5px;
  line-height: 1;
  text-decoration: none !important;
  text-transform: none;
  transform: none !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}

body.relic-theme .relic-panel-submit::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,227,158,.08) 0%, rgba(255,227,158,0) 38%), linear-gradient(90deg, rgba(214,168,78,.08), rgba(117,56,191,.12), rgba(214,168,78,.08));
  pointer-events: none;
}

body.relic-theme .relic-panel-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -28%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg);
  opacity: .8;
  pointer-events: none;
  transition: left .55s ease;
}

body.relic-theme .relic-panel-submit:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(239,194,95,.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,240,197,.16), inset 0 -1px 0 rgba(143,70,223,.26), 0 14px 28px rgba(0,0,0,.32), 0 0 0 1px rgba(214,168,78,.16), 0 0 18px rgba(132,63,209,.18);
  filter: saturate(1.04);
}

body.relic-theme .relic-panel-submit:hover::after {
  left: 118%;
}

body.relic-theme .relic-panel-submit:active {
  transform: translateY(0) scale(.995) !important;
}

body.relic-theme .relic-panel-submit > span {
  position: relative;
  z-index: 1;
  color: #fff2d0 !important;
  transform: none !important;
}

body.relic-theme .main__content form .relic-panel-submit.btn,
body.relic-theme .main__content form .relic-panel-submit.button {
  width: auto !important;
  max-width: 100%;
}

@media screen and (max-width: 699px) {
  body.relic-theme .relic-panel-submit-wrap {
    justify-content: stretch;
  }

  body.relic-theme .relic-panel-submit {
    width: 100% !important;
    min-width: 0;
  }
}


/* ========================================================================== 
   RELICMU - CHARACTER CARDS / VIEW BUTTONS
   ========================================================================== */
body.relic-theme .cards.cards-characters {
  gap: 20px;
}

body.relic-theme .cards.cards-characters .package {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(14,12,24,.98) 0%, rgba(8,8,15,.99) 100%);
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 16px;
  padding: 22px 20px 18px;
  row-gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.05), 0 12px 24px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

body.relic-theme .cards.cards-characters .package::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(120,58,199,.12), transparent 52%);
  pointer-events: none;
}

body.relic-theme .cards.cards-characters .package:hover {
  transform: translateY(-3px);
  border-color: rgba(214,168,78,.28);
  box-shadow: inset 0 1px 0 rgba(255,227,158,.08), 0 16px 30px rgba(0,0,0,.24), 0 0 0 1px rgba(117,56,191,.10);
}

body.relic-theme .cards.cards-characters .package.active {
  border-color: rgba(235,189,90,.60);
  box-shadow: inset 0 1px 0 rgba(255,236,190,.10), 0 16px 30px rgba(0,0,0,.24), 0 0 18px rgba(132,63,209,.18);
}

body.relic-theme .cards.cards-characters .package__title {
  border-bottom: 1px solid rgba(214,168,78,.10);
  color: #e7b64d;
  font-size: 23px;
  letter-spacing: .2px;
  padding-bottom: 12px;
}

body.relic-theme .cards.cards-characters .package__body {
  border-bottom: 1px solid rgba(214,168,78,.08);
  padding-bottom: 12px;
  row-gap: 10px;
}

body.relic-theme .cards.cards-characters .package__body img {
  display: block;
  width: 96px;
  height: 106px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(214,168,78,.12);
  background: linear-gradient(180deg, rgba(30,26,40,.9), rgba(12,12,18,.98));
  box-shadow: 0 8px 18px rgba(0,0,0,.20);
}

body.relic-theme .cards.cards-characters .package__button {
  padding: 0;
}

body.relic-theme .cards.cards-characters .package__button .button__medium {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(214,168,78,.56) !important;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(36,24,60,.98) 0%, rgba(18,15,33,.99) 52%, rgba(10,10,18,1) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.10), inset 0 -1px 0 rgba(115,55,191,.18), 0 10px 20px rgba(0,0,0,.24), 0 0 0 1px rgba(110,56,188,.08);
  color: #fff1cd !important;
  font-family: "Rajdhani", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .4px;
  text-decoration: none;
  text-transform: none;
  transform: none !important;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}

body.relic-theme .cards.cards-characters .package__button .button__medium::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,227,158,.08) 0%, rgba(255,227,158,0) 38%), linear-gradient(90deg, rgba(214,168,78,.06), rgba(117,56,191,.12), rgba(214,168,78,.06));
  pointer-events: none;
}

body.relic-theme .cards.cards-characters .package__button .button__medium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -26%;
  width: 26%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg);
  opacity: .8;
  pointer-events: none;
  transition: left .55s ease;
}

body.relic-theme .cards.cards-characters .package__button .button__medium:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(239,194,95,.94) !important;
  box-shadow: inset 0 1px 0 rgba(255,240,197,.16), inset 0 -1px 0 rgba(143,70,223,.26), 0 14px 26px rgba(0,0,0,.30), 0 0 0 1px rgba(214,168,78,.14), 0 0 16px rgba(132,63,209,.18);
  filter: saturate(1.04);
}

body.relic-theme .cards.cards-characters .package__button .button__medium:hover::after {
  left: 118%;
}

body.relic-theme .cards.cards-characters .package__button .button__medium > span {
  position: relative;
  z-index: 1;
  transform: none !important;
}

@media screen and (max-width: 699px) {
  body.relic-theme .cards.cards-characters .package__button .button__medium {
    min-height: 42px;
    font-size: 17px;
  }
}


/* ========================================================================== 
   RELICMU - GLOBAL STANDARD BUTTON OVERRIDE
   ========================================================================== */
body.relic-theme a.button__medium,
body.relic-theme button.button__medium,
body.relic-theme span.button__medium,
body.relic-theme .button__medium,
body.relic-theme a.button__small,
body.relic-theme button.button__small,
body.relic-theme span.button__small,
body.relic-theme .button__small,
body.relic-theme a.button.button-primary,
body.relic-theme button.button.button-primary,
body.relic-theme input.button.button-primary,
body.relic-theme .button.button-primary,
body.relic-theme a.btn.btn-primary,
body.relic-theme button.btn.btn-primary,
body.relic-theme input.btn.btn-primary,
body.relic-theme .btn.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(214,168,78,.56) !important;
  border-radius: 13px !important;
  background: linear-gradient(180deg, rgba(36,24,60,.98) 0%, rgba(18,15,33,.99) 52%, rgba(10,10,18,1) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.10), inset 0 -1px 0 rgba(115,55,191,.18), 0 10px 20px rgba(0,0,0,.24), 0 0 0 1px rgba(110,56,188,.08);
  color: #fff1cd !important;
  font-family: "Rajdhani", serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: .35px;
  line-height: 1.1;
  text-decoration: none !important;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
  transform: none !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease, color .25s ease;
}

body.relic-theme .button__small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px !important;
  border-radius: 11px !important;
}

body.relic-theme a.button__medium::before,
body.relic-theme button.button__medium::before,
body.relic-theme span.button__medium::before,
body.relic-theme .button__medium::before,
body.relic-theme a.button__small::before,
body.relic-theme button.button__small::before,
body.relic-theme span.button__small::before,
body.relic-theme .button__small::before,
body.relic-theme a.button.button-primary::before,
body.relic-theme button.button.button-primary::before,
body.relic-theme input.button.button-primary::before,
body.relic-theme .button.button-primary::before,
body.relic-theme a.btn.btn-primary::before,
body.relic-theme button.btn.btn-primary::before,
body.relic-theme input.btn.btn-primary::before,
body.relic-theme .btn.btn-primary::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,227,158,.08) 0%, rgba(255,227,158,0) 38%), linear-gradient(90deg, rgba(214,168,78,.06), rgba(117,56,191,.12), rgba(214,168,78,.06));
  pointer-events: none;
}

body.relic-theme a.button__medium::after,
body.relic-theme button.button__medium::after,
body.relic-theme span.button__medium::after,
body.relic-theme .button__medium::after,
body.relic-theme a.button__small::after,
body.relic-theme button.button__small::after,
body.relic-theme span.button__small::after,
body.relic-theme .button__small::after,
body.relic-theme a.button.button-primary::after,
body.relic-theme button.button.button-primary::after,
body.relic-theme input.button.button-primary::after,
body.relic-theme .button.button-primary::after,
body.relic-theme a.btn.btn-primary::after,
body.relic-theme button.btn.btn-primary::after,
body.relic-theme input.btn.btn-primary::after,
body.relic-theme .btn.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -26%;
  width: 26%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-22deg);
  opacity: .8;
  pointer-events: none;
  transition: left .55s ease;
}

body.relic-theme a.button__medium:hover,
body.relic-theme button.button__medium:hover,
body.relic-theme span.button__medium:hover,
body.relic-theme .button__medium:hover,
body.relic-theme a.button__small:hover,
body.relic-theme button.button__small:hover,
body.relic-theme span.button__small:hover,
body.relic-theme .button__small:hover,
body.relic-theme a.button.button-primary:hover,
body.relic-theme button.button.button-primary:hover,
body.relic-theme input.button.button-primary:hover,
body.relic-theme .button.button-primary:hover,
body.relic-theme a.btn.btn-primary:hover,
body.relic-theme button.btn.btn-primary:hover,
body.relic-theme input.btn.btn-primary:hover,
body.relic-theme .btn.btn-primary:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(239,194,95,.94) !important;
  box-shadow: inset 0 1px 0 rgba(255,240,197,.16), inset 0 -1px 0 rgba(143,70,223,.26), 0 14px 26px rgba(0,0,0,.30), 0 0 0 1px rgba(214,168,78,.14), 0 0 16px rgba(132,63,209,.18);
  filter: saturate(1.04);
  color: #fff7df !important;
}

body.relic-theme a.button__medium:hover::after,
body.relic-theme button.button__medium:hover::after,
body.relic-theme span.button__medium:hover::after,
body.relic-theme .button__medium:hover::after,
body.relic-theme a.button__small:hover::after,
body.relic-theme button.button__small:hover::after,
body.relic-theme span.button__small:hover::after,
body.relic-theme .button__small:hover::after,
body.relic-theme a.button.button-primary:hover::after,
body.relic-theme button.button.button-primary:hover::after,
body.relic-theme input.button.button-primary:hover::after,
body.relic-theme .button.button-primary:hover::after,
body.relic-theme a.btn.btn-primary:hover::after,
body.relic-theme button.btn.btn-primary:hover::after,
body.relic-theme input.btn.btn-primary:hover::after,
body.relic-theme .btn.btn-primary:hover::after {
  left: 118%;
}

body.relic-theme a.button__medium:active,
body.relic-theme button.button__medium:active,
body.relic-theme span.button__medium:active,
body.relic-theme .button__medium:active,
body.relic-theme a.button__small:active,
body.relic-theme button.button__small:active,
body.relic-theme span.button__small:active,
body.relic-theme .button__small:active,
body.relic-theme a.button.button-primary:active,
body.relic-theme button.button.button-primary:active,
body.relic-theme input.button.button-primary:active,
body.relic-theme .button.button-primary:active,
body.relic-theme a.btn.btn-primary:active,
body.relic-theme button.btn.btn-primary:active,
body.relic-theme input.btn.btn-primary:active,
body.relic-theme .btn.btn-primary:active {
  transform: translateY(0) scale(.995) !important;
}

body.relic-theme .button__medium > span,
body.relic-theme .button__small > span,
body.relic-theme .button.button-primary > span,
body.relic-theme .btn.btn-primary > span {
  position: relative;
  z-index: 1;
  transform: none !important;
  color: inherit !important;
}

body.relic-theme .button__small.active,
body.relic-theme .button__small[aria-current='page'],
body.relic-theme .button__medium.active,
body.relic-theme .button__medium[aria-current='page'] {
  border-color: rgba(243,196,95,.94) !important;
  background: linear-gradient(180deg, rgba(97,56,153,.98) 0%, rgba(63,35,107,.98) 38%, rgba(38,28,68,.98) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,236,190,.18), 0 12px 22px rgba(0,0,0,.25), 0 0 18px rgba(130,60,207,.22);
  color: #fff3d7 !important;
}

body.relic-theme .button--red,
body.relic-theme .button.btn-danger,
body.relic-theme .btn.btn-danger {
  border-color: rgba(214,136,51,.50) !important;
  background: linear-gradient(180deg, rgba(128,76,11,.98) 0%, rgba(107,63,12,.98) 48%, rgba(76,44,10,.99) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,233,175,.12), 0 10px 20px rgba(0,0,0,.24), 0 0 0 1px rgba(140,81,12,.10);
  color: #fff5df !important;
}

body.relic-theme .button--red:hover,
body.relic-theme .button.btn-danger:hover,
body.relic-theme .btn.btn-danger:hover {
  border-color: rgba(237,175,68,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,233,175,.16), 0 12px 24px rgba(0,0,0,.28), 0 0 18px rgba(176,101,16,.18);
}

body.relic-theme .button--orange {
  border-color: rgba(234,184,75,.72) !important;
  background: linear-gradient(180deg, rgba(165,103,24,.98), rgba(115,70,14,.98)) !important;
  color: #fff6df !important;
}

body.relic-theme .button__medium[disabled],
body.relic-theme .button__small[disabled],
body.relic-theme .button.button-primary[disabled],
body.relic-theme .btn.btn-primary[disabled],
body.relic-theme .button__medium.disabled,
body.relic-theme .button__small.disabled,
body.relic-theme .button.button-primary.disabled,
body.relic-theme .btn.btn-primary.disabled {
  opacity: .55;
  filter: grayscale(.15);
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 699px) {
  body.relic-theme a.button__medium,
  body.relic-theme button.button__medium,
  body.relic-theme span.button__medium,
  body.relic-theme .button__medium,
  body.relic-theme a.button.button-primary,
  body.relic-theme button.button.button-primary,
  body.relic-theme input.button.button-primary,
  body.relic-theme .button.button-primary,
  body.relic-theme a.btn.btn-primary,
  body.relic-theme button.btn.btn-primary,
  body.relic-theme input.btn.btn-primary,
  body.relic-theme .btn.btn-primary {
    min-height: 44px;
    font-size: 16px !important;
  }

  body.relic-theme a.button__small,
  body.relic-theme button.button__small,
  body.relic-theme span.button__small,
  body.relic-theme .button__small {
    min-height: 38px;
    font-size: 14px !important;
  }
}


/* ========================================================================== 
   RELICMU - PACKAGES / VISUALIZAR BUTTONS
   ========================================================================== */
body.relic-theme .main__content .package__button .relic-package-view {
  position: relative !important;
  isolation: isolate;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(223,174,72,.72) !important;
  border-radius: 13px !important;
  background:
    linear-gradient(180deg, rgba(74,38,109,.98) 0%, rgba(42,25,67,.99) 48%, rgba(18,14,29,1) 100%) !important;
  background-position: center !important;
  background-size: 100% 100% !important;
  box-shadow:
    inset 0 1px 0 rgba(255,233,178,.16),
    inset 0 -1px 0 rgba(110,51,178,.28),
    0 10px 20px rgba(0,0,0,.28),
    0 0 0 1px rgba(118,57,191,.12) !important;
  color: #fff1cc !important;
  font-family: "Rajdhani", serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: .45px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  transform: none !important;
  overflow: hidden !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease !important;
}

body.relic-theme .main__content .package__button .relic-package-view::before {
  content: '' !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(255,224,154,.09), transparent 38%),
    linear-gradient(90deg, rgba(214,168,78,.08), rgba(136,70,215,.16), rgba(214,168,78,.08)) !important;
  pointer-events: none !important;
}

body.relic-theme .main__content .package__button .relic-package-view::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -28% !important;
  width: 28% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent) !important;
  transform: skewX(-24deg) !important;
  opacity: .8 !important;
  pointer-events: none !important;
  transition: left .55s ease !important;
}

body.relic-theme .main__content .package__button .relic-package-view > span {
  position: relative !important;
  z-index: 2 !important;
  transform: none !important;
  color: #fff1cc !important;
  text-shadow: 0 0 10px rgba(230,181,82,.16) !important;
}

body.relic-theme .main__content .package__button .relic-package-view:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(245,201,104,.96) !important;
  background:
    linear-gradient(180deg, rgba(102,52,150,.99) 0%, rgba(61,32,93,.99) 48%, rgba(27,18,42,1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,241,202,.22),
    inset 0 -1px 0 rgba(139,64,218,.32),
    0 14px 28px rgba(0,0,0,.34),
    0 0 0 1px rgba(214,168,78,.16),
    0 0 20px rgba(132,63,209,.22) !important;
  filter: saturate(1.08) !important;
}

body.relic-theme .main__content .package__button .relic-package-view:hover::after {
  left: 118% !important;
}

body.relic-theme .main__content .package__button .relic-package-view:active {
  transform: translateY(0) scale(.995) !important;
}


/* ========================================================================== 
   RELICMU - PACKAGE / DIRECT MARKET / AUCTIONS
   ========================================================================== */
body.relic-theme .button--buy,
body.relic-theme a.button--buy,
body.relic-theme button.button--buy,
body.relic-theme .btn.button--buy,
body.relic-theme .button.button--buy {
  border-color: rgba(104,206,117,.70) !important;
  background: linear-gradient(180deg, rgba(44,129,59,.98) 0%, rgba(24,95,41,.99) 52%, rgba(13,57,26,1) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(201,255,184,.16), inset 0 -1px 0 rgba(20,52,17,.25), 0 10px 20px rgba(0,0,0,.24), 0 0 0 1px rgba(57,145,66,.12);
  color: #efffe9 !important;
}
body.relic-theme .button--buy:hover,
body.relic-theme a.button--buy:hover,
body.relic-theme button.button--buy:hover,
body.relic-theme .btn.button--buy:hover,
body.relic-theme .button.button--buy:hover {
  border-color: rgba(149,241,126,.96) !important;
  box-shadow: inset 0 1px 0 rgba(224,255,209,.22), 0 14px 26px rgba(0,0,0,.30), 0 0 0 1px rgba(97,194,87,.18), 0 0 18px rgba(71,175,73,.22);
  color: #f7fff3 !important;
}
body.relic-theme .button--buy::before,
body.relic-theme a.button--buy::before,
body.relic-theme button.button--buy::before,
body.relic-theme .btn.button--buy::before,
body.relic-theme .button.button--buy::before {
  background: linear-gradient(180deg, rgba(224,255,209,.10) 0%, rgba(224,255,209,0) 38%), linear-gradient(90deg, rgba(123,233,124,.10), rgba(53,133,67,.12), rgba(123,233,124,.10));
}

body.relic-theme .relic-market-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
body.relic-theme .relic-market-card,
body.relic-theme .relic-market-section,
body.relic-theme .relic-market-panel {
  background: linear-gradient(180deg, rgba(13,12,22,.98) 0%, rgba(8,8,14,.99) 100%);
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.04), 0 12px 24px rgba(0,0,0,.18);
}
body.relic-theme .relic-market-section {
  padding: 18px 18px 14px;
  margin-top: 16px;
}
body.relic-theme .relic-market-section + .relic-market-section { margin-top: 18px; }
body.relic-theme .relic-market-section__title {
  font-family: "Rajdhani", serif;
  font-size: 28px;
  font-weight: 700;
  color: #f0b84a;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(214,168,78,.12);
}
body.relic-theme .relic-market-table-wrap { overflow-x: auto; }
body.relic-theme .relic-market-table {
  width: 100%;
  border-collapse: collapse;
}
body.relic-theme .relic-market-table th,
body.relic-theme .relic-market-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(214,168,78,.08);
  text-align: left;
  vertical-align: middle;
}
body.relic-theme .relic-market-table th {
  color: #e7b64d;
  font-family: "Rajdhani", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  background: rgba(255,255,255,.01);
}
body.relic-theme .relic-market-table td { color: #e8e0cd; }
body.relic-theme .relic-market-table tbody tr:hover { background: rgba(117,56,191,.06); }
body.relic-theme .relic-market-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 6px 10px;
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #fff2d0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
body.relic-theme .relic-market-status--pending { border-color: rgba(214,168,78,.30); }
body.relic-theme .relic-market-status--waiting { border-color: rgba(112,82,214,.38); }
body.relic-theme .relic-market-status--payed { border-color: rgba(104,206,117,.42); }
body.relic-theme .relic-market-status--canceled { border-color: rgba(214,94,94,.40); }
body.relic-theme .relic-empty {
  padding: 16px 18px;
  border-left: 3px solid #e0b34d;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  color: #efe2be;
}
body.relic-theme .relic-direct-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: start;
}
body.relic-theme .relic-market-panel { padding: 18px; }
body.relic-theme .relic-market-panel h3 {
  margin: 0 0 14px;
  font-family: "Rajdhani", serif;
  font-size: 28px;
  color: #f0b84a;
}
body.relic-theme .relic-market-form .form-group,
body.relic-theme .relic-market-form .mb-2,
body.relic-theme .relic-market-form .mb-3 { margin-bottom: 14px; }
body.relic-theme .relic-market-form label,
body.relic-theme .relic-market-form .form-label {
  display: block;
  margin-bottom: 6px;
  color: #f1bc4f;
  font-size: 15px;
  font-weight: 700;
}
body.relic-theme .relic-market-form .form-control,
body.relic-theme .relic-market-form .form-select,
body.relic-theme .relic-market-form input[type="text"],
body.relic-theme .relic-market-form input[type="number"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(214,168,78,.24);
  border-radius: 12px;
  background: rgba(6,8,15,.85);
  color: #fff5dc;
}
body.relic-theme .relic-market-gateway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
body.relic-theme .relic-gateway-card {
  padding: 16px;
  text-align: center;
}
body.relic-theme .relic-gateway-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}
body.relic-theme .relic-market-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(104,206,117,.12);
  border: 1px solid rgba(104,206,117,.24);
  color: #f0fff0;
  font-weight: 700;
}
body.relic-theme .relic-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #b9a57c;
  font-size: 13px;
}
body.relic-theme .relic-breadcrumb a { color: #d4ae58; text-decoration: none; }
body.relic-theme .relic-breadcrumb span::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,.24); }
body.relic-theme .relic-package-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.relic-theme .relic-auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
body.relic-theme .relic-auction-card {
  padding: 18px;
}
body.relic-theme .relic-auction-card__title {
  font-family: "Rajdhani", serif;
  font-size: 24px;
  color: #f0b84a;
  margin-bottom: 12px;
}
body.relic-theme .relic-auction-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
body.relic-theme .relic-auction-item {
  padding: 16px;
  text-align: center;
}
body.relic-theme .relic-auction-item img {
  max-height: 90px;
  object-fit: contain;
}
body.relic-theme .relic-auction-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214,94,94,.40);
  background: rgba(214,94,94,.12);
  color: #ffd8d8;
  font-weight: 700;
}
body.relic-theme .relic-soft-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 3px solid #e0b34d;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(47,35,22,.44) 0%, rgba(24,18,12,.24) 100%);
  color: #f3d77d;
}
@media screen and (max-width: 960px) {
  body.relic-theme .relic-direct-grid { grid-template-columns: 1fr; }
}


/* ========================================================================== 
   RELICMU - DOWNLOADS / SERVER INFO / VIP POLISH
   ========================================================================== */
body.relic-theme .relic-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
body.relic-theme .relic-download-card,
body.relic-theme .relic-info-card,
body.relic-theme .relic-command-card,
body.relic-theme .relic-vip-card,
body.relic-theme .relic-table-card {
  background: linear-gradient(180deg, rgba(14,14,24,.98) 0%, rgba(8,9,15,.99) 100%);
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,227,158,.04), 0 14px 28px rgba(0,0,0,.18);
}
body.relic-theme .relic-download-card { padding: 20px; }
body.relic-theme .relic-download-card__head {
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px;
}
body.relic-theme .relic-download-card__title,
body.relic-theme .relic-vip-title,
body.relic-theme .relic-command-title {
  font-family: "Cinzel", serif;
  font-size: 28px;
  line-height: 1.05;
  color: #fff3d2;
  margin: 0;
}
body.relic-theme .relic-download-card__meta {
  display:inline-flex; align-items:center; justify-content:center; min-width:90px; padding:8px 12px;
  border-radius: 999px; border:1px solid rgba(214,168,78,.22); background:rgba(255,255,255,.03);
  color:#efbd56; font-weight:700; font-size:13px;
}
body.relic-theme .relic-download-desc { color:#ded6c7; margin-bottom:16px; min-height:52px; }
body.relic-theme .relic-download-actions { display:flex; flex-wrap:wrap; gap:10px; }
body.relic-theme .relic-download-button,
body.relic-theme .relic-cta,
body.relic-theme .relic-tab,
body.relic-theme .relic-chip {
  position: relative;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border:1px solid rgba(214,168,78,.25);
  background: linear-gradient(180deg, rgba(30,17,55,.98) 0%, rgba(15,13,27,.99) 100%);
  color:#f8f4ec !important;
  text-decoration:none !important;
  font-family:"Rajdhani", sans-serif;
  font-weight:700;
  letter-spacing:.25px;
  box-shadow: inset 0 1px 0 rgba(255,240,198,.06), 0 10px 18px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.relic-theme .relic-download-button:hover,
body.relic-theme .relic-cta:hover,
body.relic-theme .relic-tab:hover,
body.relic-theme .relic-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(238,194,92,.55);
  box-shadow: inset 0 1px 0 rgba(255,240,198,.10), 0 14px 22px rgba(0,0,0,.24), 0 0 14px rgba(135,76,214,.12);
}
body.relic-theme .relic-download-button--primary,
body.relic-theme .relic-cta--gold,
body.relic-theme .relic-chip--gold {
  border-color: rgba(232,187,86,.46);
  background: linear-gradient(180deg, rgba(196,133,37,.98) 0%, rgba(157,98,18,.99) 52%, rgba(97,57,6,1) 100%);
  color: #fff9ee !important;
}
body.relic-theme .relic-download-button--green,
body.relic-theme .relic-cta--green,
body.relic-theme .relic-tab--active {
  border-color: rgba(121,213,116,.58);
  background: linear-gradient(180deg, rgba(41,124,52,.98) 0%, rgba(21,93,37,.99) 52%, rgba(10,60,24,1) 100%);
  color:#f3fff0 !important;
}
body.relic-theme .relic-table-card { padding: 18px; overflow-x:auto; }
body.relic-theme .relic-table-title {
  margin:0 0 12px; color:#efbd56; font-family:"Rajdhani", sans-serif; font-size:27px; font-weight:700;
}
body.relic-theme .relic-drivers-grid,
body.relic-theme .relic-command-grid,
body.relic-theme .relic-vip-feature-grid,
body.relic-theme .relic-overview-grid {
  display:grid; gap:18px;
}
body.relic-theme .relic-drivers-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
body.relic-theme .relic-overview-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
body.relic-theme .relic-info-card { padding:18px; text-align:center; }
body.relic-theme .relic-info-card__label {
  color:#d1a545; text-transform:uppercase; font-size:14px; font-weight:700; letter-spacing:.8px; margin-bottom:8px;
}
body.relic-theme .relic-info-card__value {
  font-family:"Rajdhani", sans-serif; font-size:36px; line-height:1; font-weight:700; color:#fff8eb;
}
body.relic-theme .relic-info-card__help { margin-top:8px; color:#b8ac93; font-size:13px; }
body.relic-theme .relic-highlight-bar {
  margin: 0 0 18px; padding:14px 16px; border-left:3px solid #efbd56; border-radius: 12px; background: linear-gradient(180deg, rgba(48,35,21,.40) 0%, rgba(22,18,14,.22) 100%); color:#f0e0b7;
}
body.relic-theme .relic-command-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
body.relic-theme .relic-command-card { padding:18px; }
body.relic-theme .relic-command-title { font-size:24px; margin-bottom:12px; }
body.relic-theme .relic-command-list { display:flex; flex-direction:column; gap:10px; }
body.relic-theme .relic-command-item {
  padding: 12px 14px; border:1px solid rgba(214,168,78,.10); border-radius: 12px; background: rgba(255,255,255,.02);
}
body.relic-theme .relic-command-item code {
  display:block; margin-bottom:4px; color:#fff4d8; font-family:"Rajdhani", monospace; font-size:24px; font-weight:700; background:transparent; padding:0;
}
body.relic-theme .relic-command-item span { color:#cdbf9f; font-size:14px; }
body.relic-theme .relic-vip-nav { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
body.relic-theme .relic-vip-hero {
  display:grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.85fr); gap:20px; margin-bottom:18px;
}
body.relic-theme .relic-vip-card { padding:20px; }
body.relic-theme .relic-vip-lead { color:#e8decb; font-size:16px; line-height:1.7; }
body.relic-theme .relic-vip-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:999px; background:rgba(130,75,214,.12); border:1px solid rgba(214,168,78,.18); color:#efbd56; font-weight:700; font-size:13px; margin-bottom:12px; }
body.relic-theme .relic-vip-feature-grid { grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); margin-top:14px; }
body.relic-theme .relic-vip-feature {
  padding:14px; border-radius:14px; background: rgba(255,255,255,.02); border:1px solid rgba(214,168,78,.10);
}
body.relic-theme .relic-vip-feature strong { display:block; color:#fff5dc; font-size:18px; margin-bottom:6px; }
body.relic-theme .relic-vip-feature span { color:#cfc2a8; font-size:14px; }
body.relic-theme .relic-vip-section { margin-top:18px; }
body.relic-theme .relic-vip-section__title { margin:0 0 10px; color:#fff2d3; font-family:"Cinzel", serif; font-size:30px; }
body.relic-theme .relic-vip-section__text { color:#ded5c4; line-height:1.7; }
body.relic-theme .relic-vip-cta-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
body.relic-theme .relic-vip-table-wrap { overflow-x:auto; }
body.relic-theme .relic-vip-note {
  margin-bottom:16px; padding:14px 16px; border-left:3px solid #efbd56; border-radius:12px; background:rgba(255,255,255,.02); color:#efe1bf;
}
body.relic-theme .relic-vip-tier {
  display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:999px; font-weight:700; font-size:13px; letter-spacing:.3px;
}
body.relic-theme .relic-vip-tier--free { background: rgba(214,94,94,.12); border:1px solid rgba(214,94,94,.25); color:#ffd4d4; }
body.relic-theme .relic-vip-tier--starter { background: rgba(214,168,78,.12); border:1px solid rgba(214,168,78,.25); color:#ffe8b6; }
body.relic-theme .relic-vip-tier--excellent { background: rgba(130,75,214,.12); border:1px solid rgba(130,75,214,.28); color:#ead8ff; }
body.relic-theme .relic-vip-tier--ancient { background: rgba(104,206,117,.12); border:1px solid rgba(104,206,117,.28); color:#dfffe4; }
body.relic-theme .relic-check-yes { color:#89de8c; font-weight:700; }
body.relic-theme .relic-check-no { color:#ef8b8b; font-weight:700; }
body.relic-theme .downloads__box .button__download,
body.relic-theme .button__download {
  border-radius: 14px; border:1px solid rgba(232,187,86,.30); background: linear-gradient(180deg, rgba(14,12,23,.98) 0%, rgba(8,8,14,.98) 100%); box-shadow: inset 0 1px 0 rgba(255,240,198,.06), 0 10px 18px rgba(0,0,0,.18);
}
@media screen and (max-width: 980px) {
  body.relic-theme .relic-vip-hero { grid-template-columns: 1fr; }
}


/* ========================================================================== 
   RELICMU V4.5 - LAYOUT POLISH / MARKET / POSTS / COUNTDOWN
   ========================================================================== */
body.relic-theme .relic-download-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.relic-theme .relic-drivers-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: stretch; }
body.relic-theme .relic-drivers-grid--two > .relic-download-card:last-child { grid-column: span 2; }
body.relic-theme .relic-overview-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.relic-theme .relic-home-countdown {
  display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(320px, .9fr); gap:20px; padding:22px;
  border-radius:20px; border:1px solid rgba(214,168,78,.16); background:linear-gradient(135deg, rgba(17,14,24,.98) 0%, rgba(12,10,19,.98) 52%, rgba(34,16,53,.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 16px 30px rgba(0,0,0,.18);
}
body.relic-theme .relic-home-countdown__timer {
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; align-content:start;
}
body.relic-theme .relic-countbox, body.relic-theme .relic-countdown-status {
  padding:16px; border-radius:16px; border:1px solid rgba(214,168,78,.16); background:rgba(255,255,255,.03); text-align:center;
}
body.relic-theme .relic-countbox strong { display:block; font-family:"Rajdhani", sans-serif; font-size:38px; line-height:1; color:#fff6e6; }
body.relic-theme .relic-countbox span { display:block; margin-top:6px; color:#cfb98f; text-transform:uppercase; font-size:12px; letter-spacing:.8px; }
body.relic-theme .relic-countdown-status { grid-column:1 / -1; color:#efbd56; font-weight:700; }
body.relic-theme .relic-portal-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:16px; }
body.relic-theme .relic-portal-card {
  padding:18px; border-radius:18px; text-decoration:none !important; color:#f7f1e4 !important; border:1px solid rgba(214,168,78,.14);
  background:linear-gradient(180deg, rgba(14,14,24,.98) 0%, rgba(8,9,15,.99) 100%); box-shadow:inset 0 1px 0 rgba(255,227,158,.04), 0 14px 28px rgba(0,0,0,.18);
  transition:transform .18s ease, border-color .18s ease;
}
body.relic-theme .relic-portal-card:hover { transform:translateY(-2px); border-color:rgba(238,194,92,.40); }
body.relic-theme .relic-portal-card i { display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:12px; background:rgba(130,75,214,.14); color:#efbd56; font-size:18px; margin-bottom:10px; }
body.relic-theme .relic-portal-card strong { display:block; color:#fff6de; font-size:22px; margin-bottom:6px; }
body.relic-theme .relic-portal-card span { color:#c8bc9f; font-size:14px; line-height:1.55; }
body.relic-theme .relic-sidebar-events .events-event { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid rgba(214,168,78,.08); }
body.relic-theme .relic-sidebar-events .events-event:last-child { border-bottom:0; }
body.relic-theme .relic-sidebar-events .events-event-name { display:flex; flex-direction:column; color:#fff6e6; font-size:13px; }
body.relic-theme .relic-sidebar-events #final-date { color:#efbd56; font-weight:700; margin-bottom:2px; }
body.relic-theme .relic-sidebar-events .badge { font-size:11px; }
body.relic-theme .relic-posts-wall { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:18px; }
body.relic-theme .relic-post-article {
  display:flex; flex-direction:column; gap:12px; padding:20px; min-height:240px; border-radius:18px; border:1px solid rgba(214,168,78,.14);
  background:linear-gradient(180deg, rgba(14,14,24,.98) 0%, rgba(8,9,15,.99) 100%); box-shadow:inset 0 1px 0 rgba(255,227,158,.04), 0 14px 28px rgba(0,0,0,.18);
}
body.relic-theme .relic-post-article__meta { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
body.relic-theme .relic-post-article__date { color:#bdae8b; font-size:13px; }
body.relic-theme .relic-post-article__title { color:#fff8ef !important; font-family:"Cinzel", serif; font-size:28px; line-height:1.2; text-decoration:none !important; }
body.relic-theme .relic-post-article__excerpt { color:#d8cebb; line-height:1.7; flex:1; }
body.relic-theme .relic-post-view { padding:8px 0; }
body.relic-theme .relic-post-view__meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; color:#ccb58e; }
body.relic-theme .relic-post-view__title { margin:0 0 18px; color:#fff6e2; font-family:"Cinzel", serif; font-size:42px; line-height:1.15; }
body.relic-theme .relic-post-view__content { color:#ece2cf; line-height:1.8; font-size:16px; }
body.relic-theme .relic-post-view__content img { max-width:100%; height:auto; border-radius:12px; }
body.relic-theme .relic-market-shell { display:grid; grid-template-columns:290px minmax(0, 1fr); gap:22px; }
body.relic-theme .relic-market-filters,
body.relic-theme .relic-market-content,
body.relic-theme .relic-account-card,
body.relic-theme .relic-account-search,
body.relic-theme .relic-market-empty,
body.relic-theme .relic-account-detail-grid > div {
  border-radius:18px; border:1px solid rgba(214,168,78,.14); background:linear-gradient(180deg, rgba(14,14,24,.98) 0%, rgba(8,9,15,.99) 100%); box-shadow:inset 0 1px 0 rgba(255,227,158,.04), 0 14px 28px rgba(0,0,0,.18);
}
body.relic-theme .relic-market-filters { padding:18px; }
body.relic-theme .relic-market-filters__sell { width:100%; margin-bottom:16px; }
body.relic-theme .relic-filter-form { display:flex; flex-direction:column; gap:16px; }
body.relic-theme .relic-filter-block label { display:block; margin-bottom:8px; color:#efbd56; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.7px; }
body.relic-theme .relic-filter-value { margin-top:8px; color:#fff0c8; font-weight:700; }
body.relic-theme .relic-filter-categories { max-height:420px; overflow:auto; display:flex; flex-direction:column; gap:8px; padding-right:4px; }
body.relic-theme .relic-checkline { display:flex; align-items:center; gap:8px; color:#ddd0b5; font-size:13px; }
body.relic-theme .relic-market-content { padding:18px; }
body.relic-theme .relic-market-intro { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-bottom:18px; }
body.relic-theme .relic-market-items-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:18px; }
body.relic-theme .relic-market-item-card { padding:18px; border-radius:16px; border:1px solid rgba(214,168,78,.10); background:rgba(255,255,255,.02); display:flex; flex-direction:column; }
body.relic-theme .relic-market-item-card__head h3 { margin:0; font-size:24px; color:#fff5df; }
body.relic-theme .relic-market-item-card__seller { margin:10px 0 12px; color:#bdae8b; }
body.relic-theme .relic-market-item-card__seller strong { color:#fff0c4; }
body.relic-theme .relic-market-item-card__image { display:flex; align-items:center; justify-content:center; min-height:130px; border-radius:14px; background:rgba(255,255,255,.02); border:1px solid rgba(214,168,78,.08); }
body.relic-theme .relic-market-item-card__image img { max-width:100%; max-height:120px; object-fit:contain; }
body.relic-theme .relic-market-item-card__meta { margin-top:12px; color:#c9bc9d; font-size:13px; }
body.relic-theme .relic-market-item-card__actions { margin-top:auto; padding-top:14px; }
body.relic-theme .relic-market-empty { padding:28px; text-align:center; }
body.relic-theme .relic-market-empty i { font-size:40px; color:#efbd56; margin-bottom:10px; }
body.relic-theme .relic-market-empty h3 { color:#fff4df; font-size:30px; margin-bottom:10px; }
body.relic-theme .relic-market-empty p { color:#cdbf9f; max-width:520px; margin:0 auto; line-height:1.7; }
body.relic-theme .relic-account-search { padding:18px; margin-bottom:18px; }
body.relic-theme .relic-account-search__grid { display:grid; grid-template-columns:220px minmax(0, 1fr) 180px; gap:14px; align-items:end; }
body.relic-theme .relic-account-search label { display:block; margin-bottom:8px; color:#efbd56; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.7px; }
body.relic-theme .relic-account-market-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:18px; }
body.relic-theme .relic-account-card { padding:18px; display:flex; flex-direction:column; }
body.relic-theme .relic-account-card__head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
body.relic-theme .relic-account-card__head h3 { margin:0; color:#fff4dc; font-size:27px; }
body.relic-theme .relic-mini-badge { display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:999px; border:1px solid rgba(214,168,78,.20); background:rgba(255,255,255,.03); color:#efbd56; font-size:12px; font-weight:700; }
body.relic-theme .relic-account-card__list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
body.relic-theme .relic-account-card__list li { display:flex; justify-content:space-between; gap:10px; color:#dbcdb4; border-bottom:1px solid rgba(214,168,78,.06); padding-bottom:8px; }
body.relic-theme .relic-account-card__list li strong { color:#fff3d8; }
body.relic-theme .relic-account-card__chars { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
body.relic-theme .relic-account-char { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(214,168,78,.10); }
body.relic-theme .relic-account-card__footer { margin-top:auto; padding-top:16px; }
body.relic-theme .relic-account-detail-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
body.relic-theme .relic-events-page .events { margin:0; padding:0; }
body.relic-theme .relic-events-page .events-event { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 6px; border-bottom:1px solid rgba(214,168,78,.08); }
body.relic-theme .relic-events-page .events-event-name { display:flex; flex-direction:column; color:#fff6e6; font-size:16px; }
body.relic-theme .relic-events-page #final-date { color:#efbd56; font-weight:700; }
body.relic-theme .relic-events-tabs { margin-bottom:12px; }
body.relic-theme .relic-events-tabs .relic-tab { cursor:pointer; }
@media screen and (max-width: 1180px) {
  body.relic-theme .relic-overview-grid--four { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  body.relic-theme .relic-market-shell, body.relic-theme .relic-home-countdown, body.relic-theme .relic-account-detail-grid { grid-template-columns: 1fr; }
  body.relic-theme .relic-account-search__grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 980px) {
  body.relic-theme .relic-download-grid--two, body.relic-theme .relic-drivers-grid--two, body.relic-theme .relic-market-intro { grid-template-columns: 1fr !important; }
  body.relic-theme .relic-drivers-grid--two > .relic-download-card:last-child { grid-column:auto; }
}


/* RELICMU V3 - INFO COMMANDS + ACCOUNT MARKET */
body.relic-theme .relic-highlight-bar--commercial {
  max-width: none;
  padding: 15px 18px;
  line-height: 1.65;
  text-align: left;
}
body.relic-theme .relic-highlight-bar--commercial strong { color:#fff0c2; }

body.relic-theme .relic-command-official {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid rgba(214,168,78,.16);
  border-left:3px solid #d6a84e;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(61,39,15,.24), rgba(25,15,40,.18));
  color:#dfd2b5;
  line-height:1.5;
}
body.relic-theme .relic-command-official i { color:#d6a84e; font-size:18px; }
body.relic-theme .relic-command-official strong { color:#fff1ca; }
body.relic-theme .relic-command-grid.relic-command-grid--three {
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:18px !important;
  width:100% !important;
  align-items:start;
}
body.relic-theme .relic-command-grid--three .relic-command-card {
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  align-self:stretch;
}
body.relic-theme .relic-command-card__head {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(214,168,78,.10);
}
body.relic-theme .relic-command-card__head i {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:11px;
  background:rgba(116,55,190,.12);
  border:1px solid rgba(214,168,78,.15);
  color:#e2b452;
}
body.relic-theme .relic-command-card__head .relic-command-title { margin:0; }

body.relic-theme .relic-am-page { overflow:hidden; }
body.relic-theme .relic-am-hero {
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(250px,.55fr);
  gap:18px;
  margin-bottom:18px;
  padding:24px;
  border:1px solid rgba(214,168,78,.16);
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(117,56,191,.16), transparent 34%),
    linear-gradient(135deg, rgba(18,15,27,.98), rgba(9,9,15,.99));
  box-shadow:inset 0 1px 0 rgba(255,233,184,.04), 0 14px 30px rgba(0,0,0,.18);
}
body.relic-theme .relic-am-eyebrow {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#d9ab49;
  font-size:12px;
  font-weight:700;
  letter-spacing:1.2px;
}
body.relic-theme .relic-am-hero__copy h2 {
  margin:10px 0 8px;
  color:#fff4da;
  font-family:"Cinzel", serif;
  font-size:34px;
  line-height:1.15;
}
body.relic-theme .relic-am-hero__copy p { margin:0; max-width:720px; color:#cfc2aa; line-height:1.65; }
body.relic-theme .relic-am-hero__stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-content:center; }
body.relic-theme .relic-am-stat {
  padding:16px 12px;
  text-align:center;
  border:1px solid rgba(214,168,78,.12);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
body.relic-theme .relic-am-stat strong { display:block; color:#fff3d1; font-family:"Rajdhani", sans-serif; font-size:32px; line-height:1; }
body.relic-theme .relic-am-stat span { display:block; margin-top:6px; color:#aa9b80; font-size:12px; text-transform:uppercase; letter-spacing:.55px; }

body.relic-theme .relic-am-filter {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.7fr) auto;
  gap:14px;
  align-items:end;
  margin-bottom:20px;
  padding:18px;
  border:1px solid rgba(214,168,78,.12);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(15,14,23,.98), rgba(9,9,15,.98));
}
body.relic-theme .relic-am-filter__field label {
  display:block;
  margin-bottom:7px;
  color:#d9ab49;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
}
body.relic-theme .relic-am-filter__field label i { margin-right:5px; }
body.relic-theme .relic-am-filter .form-control,
body.relic-theme .relic-am-filter .form-select {
  width:100%;
  min-height:46px;
  border:1px solid rgba(214,168,78,.22) !important;
  border-radius:11px !important;
  background:#090a10 !important;
  color:#f5ead4 !important;
  padding:0 13px;
}
body.relic-theme .relic-am-filter__actions { display:flex; gap:8px; }
body.relic-theme .relic-am-filter__actions .relic-cta { min-height:46px; }

body.relic-theme .relic-am-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
body.relic-theme .relic-am-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid rgba(214,168,78,.14);
  border-radius:17px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(14,13,22,.99), rgba(7,8,13,.99));
  box-shadow:inset 0 1px 0 rgba(255,232,181,.035), 0 14px 28px rgba(0,0,0,.18);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.relic-theme .relic-am-card:hover {
  transform:translateY(-3px);
  border-color:rgba(222,176,77,.34);
  box-shadow:inset 0 1px 0 rgba(255,232,181,.05), 0 18px 34px rgba(0,0,0,.24), 0 0 18px rgba(117,56,191,.08);
}
body.relic-theme .relic-am-card__top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:17px 18px 14px;
  border-bottom:1px solid rgba(214,168,78,.08);
  background:linear-gradient(90deg, rgba(214,168,78,.035), rgba(117,56,191,.035));
}
body.relic-theme .relic-am-card__label { display:block; margin-bottom:5px; color:#a99470; font-size:10px; font-weight:700; letter-spacing:1px; }
body.relic-theme .relic-am-card__top h3 { margin:0; color:#fff5dd; font-size:27px; line-height:1.05; }
body.relic-theme .relic-am-vip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(214,168,78,.24);
  background:rgba(117,56,191,.10);
  color:#e8c56e;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
body.relic-theme .relic-am-card__body { padding:16px 18px; flex:1; }
body.relic-theme .relic-am-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body.relic-theme .relic-am-value {
  min-width:0;
  padding:10px 11px;
  border-radius:10px;
  background:rgba(255,255,255,.022);
  border:1px solid rgba(214,168,78,.075);
}
body.relic-theme .relic-am-value span { display:block; color:#998b72; font-size:10px; text-transform:uppercase; letter-spacing:.45px; }
body.relic-theme .relic-am-value strong { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; color:#f2e6cf; font-size:14px; }
body.relic-theme .relic-am-characters { margin-top:14px; }
body.relic-theme .relic-am-characters__head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; color:#d5b76f; font-size:12px; font-weight:700; text-transform:uppercase; }
body.relic-theme .relic-am-characters__head b { display:inline-flex; align-items:center; justify-content:center; min-width:23px; height:23px; border-radius:999px; background:rgba(255,255,255,.04); color:#fff0c7; }
body.relic-theme .relic-am-characters__list { display:flex; flex-wrap:wrap; gap:7px; }
body.relic-theme .relic-am-character {
  display:flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:5px 7px 5px 5px;
  border-radius:10px;
  border:1px solid rgba(214,168,78,.08);
  background:rgba(255,255,255,.02);
  color:#d8c9aa;
  font-size:11px;
}
body.relic-theme .relic-am-character img { width:30px; height:30px; object-fit:cover; border-radius:7px; }
body.relic-theme .relic-am-character span { max-width:82px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.relic-theme .relic-am-card__footer {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:15px 18px;
  border-top:1px solid rgba(214,168,78,.08);
  background:#080910;
}
body.relic-theme .relic-am-price span { display:block; color:#8f826d; font-size:10px; text-transform:uppercase; letter-spacing:.5px; }
body.relic-theme .relic-am-price strong { display:block; margin-top:2px; color:#f0ba4c; font-family:"Rajdhani", sans-serif; font-size:24px; line-height:1; }
body.relic-theme .relic-am-view {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:39px;
  padding:0 13px;
  border-radius:10px;
  border:1px solid rgba(214,168,78,.32);
  background:linear-gradient(180deg, rgba(45,25,71,.96), rgba(19,15,32,.98));
  color:#fff0ce !important;
  text-decoration:none !important;
  font-weight:700;
}
body.relic-theme .relic-am-view:hover { border-color:rgba(236,190,89,.75); }
body.relic-theme .relic-am-empty {
  padding:44px 24px;
  text-align:center;
  border:1px solid rgba(214,168,78,.12);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(14,13,22,.99), rgba(8,8,14,.99));
}
body.relic-theme .relic-am-empty__icon {
  display:inline-flex;
  width:66px;
  height:66px;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  border-radius:18px;
  border:1px solid rgba(214,168,78,.18);
  background:rgba(117,56,191,.10);
  color:#e0ae4d;
  font-size:27px;
}
body.relic-theme .relic-am-empty h3 { margin:0 0 8px; color:#fff3da; font-size:30px; }
body.relic-theme .relic-am-empty p { max-width:620px; margin:0 auto; color:#bfae91; line-height:1.65; }
body.relic-theme .relic-am-pagination { margin-top:22px; }

@media screen and (max-width: 1180px) {
  body.relic-theme .relic-am-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.relic-theme .relic-command-grid.relic-command-grid--three { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media screen and (max-width: 860px) {
  body.relic-theme .relic-am-hero,
  body.relic-theme .relic-am-filter,
  body.relic-theme .relic-am-grid,
  body.relic-theme .relic-command-grid.relic-command-grid--three { grid-template-columns:1fr !important; }
  body.relic-theme .relic-am-filter__actions { flex-wrap:wrap; }
  body.relic-theme .relic-am-hero__stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* ========================================================================== 
   RELICMU - GUIDES / KNOWLEDGE CENTER V1
   ========================================================================== */
body.relic-theme .relic-guides-page,
body.relic-theme .relic-guide-view-page {
  overflow: hidden;
}

body.relic-theme .relic-guides-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid rgba(214,168,78,.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 20%, rgba(128,59,202,.16), transparent 36%),
    linear-gradient(135deg, rgba(18,15,27,.99), rgba(9,9,16,.99));
  box-shadow: inset 0 1px 0 rgba(255,239,197,.04), 0 16px 30px rgba(0,0,0,.20);
}

body.relic-theme .relic-guides-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #e9b94f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
}

body.relic-theme .relic-guides-hero__copy h2,
body.relic-theme .relic-guide-header h2 {
  margin: 0 0 12px;
  color: #fff4dd;
  font-family: "Cinzel", serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
}

body.relic-theme .relic-guides-hero__copy p {
  max-width: 780px;
  margin: 0;
  color: #d2c5ab;
  font-size: 16px;
  line-height: 1.75;
}

body.relic-theme .relic-guides-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

body.relic-theme .relic-guides-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(214,168,78,.14);
  background: rgba(255,255,255,.025);
  text-align: center;
}
body.relic-theme .relic-guides-stat strong {
  color: #fff4dc;
  font-family: "Rajdhani", sans-serif;
  font-size: 42px;
  line-height: 1;
}
body.relic-theme .relic-guides-stat span {
  margin-top: 7px;
  color: #c8b995;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

body.relic-theme .relic-guides-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.018);
}
body.relic-theme .relic-guides-toolbar__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #efbd56;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .8px;
}
body.relic-theme .relic-guides-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.relic-theme .relic-guide-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 11px;
  background: rgba(255,255,255,.02);
  color: #d8ccb4 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body.relic-theme .relic-guide-category:hover {
  transform: translateY(-1px);
  border-color: rgba(231,184,86,.42);
  background: rgba(130,75,214,.08);
}
body.relic-theme .relic-guide-category.active {
  border-color: rgba(238,191,91,.74);
  background: linear-gradient(180deg, rgba(106,58,163,.65), rgba(51,30,89,.72));
  color: #fff2d3 !important;
  box-shadow: 0 0 14px rgba(126,64,196,.12);
}

body.relic-theme .relic-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.relic-theme .relic-guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 20px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124,59,194,.08), transparent 34%),
    linear-gradient(180deg, rgba(14,14,24,.99), rgba(8,9,15,.99));
  box-shadow: inset 0 1px 0 rgba(255,231,177,.03), 0 14px 28px rgba(0,0,0,.18);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.relic-theme .relic-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,183,82,.34);
  box-shadow: inset 0 1px 0 rgba(255,231,177,.05), 0 18px 34px rgba(0,0,0,.24), 0 0 18px rgba(126,64,196,.08);
}
body.relic-theme .relic-guide-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
body.relic-theme .relic-guide-card__icon,
body.relic-theme .relic-guide-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(214,168,78,.22);
  background: linear-gradient(180deg, rgba(95,50,150,.36), rgba(31,20,58,.48));
  color: #efbd56;
  font-size: 19px;
}
body.relic-theme .relic-guide-card__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a99d86;
  font-size: 12px;
}
body.relic-theme .relic-guide-card__rating .positive { color: #84d68d; }
body.relic-theme .relic-guide-card__rating .negative { color: #d68787; }
body.relic-theme .relic-guide-card__body { flex: 1; }
body.relic-theme .relic-guide-card__body h3 {
  margin: 0 0 10px;
  color: #fff4df;
  font-family: "Cinzel", serif;
  font-size: 24px;
  line-height: 1.25;
}
body.relic-theme .relic-guide-card__body p {
  margin: 0;
  color: #cbbfa7;
  font-size: 14px;
  line-height: 1.7;
}
body.relic-theme .relic-guide-card__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(214,168,78,.08);
}
body.relic-theme .relic-guide-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #efbd56 !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: color .18s ease;
}
body.relic-theme .relic-guide-open:hover { color: #fff1c9 !important; }
body.relic-theme .relic-guide-open i { transition: transform .18s ease; }
body.relic-theme .relic-guide-open:hover i { transform: translateX(4px); }

body.relic-theme .relic-guides-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

body.relic-theme .relic-guides-empty {
  padding: 42px 28px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.018);
  text-align: center;
}
body.relic-theme .relic-guides-empty > i {
  margin-bottom: 12px;
  color: #efbd56;
  font-size: 40px;
}
body.relic-theme .relic-guides-empty h3 {
  margin: 0 0 8px;
  color: #fff4de;
  font-size: 28px;
}
body.relic-theme .relic-guides-empty p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: #c9bda5;
  line-height: 1.7;
}

body.relic-theme .relic-guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #9f947f;
  font-size: 13px;
}
body.relic-theme .relic-guide-breadcrumb a {
  color: #d7b15b !important;
  text-decoration: none !important;
}
body.relic-theme .relic-guide-breadcrumb > i { font-size: 9px; color: #5f594e; }

body.relic-theme .relic-guide-header {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 20%, rgba(126,62,198,.12), transparent 32%),
    linear-gradient(180deg, rgba(14,14,24,.99), rgba(8,9,15,.99));
}
body.relic-theme .relic-guide-header__icon { width: 60px; height: 60px; font-size: 24px; }
body.relic-theme .relic-guide-header__description {
  color: #cfc3aa;
  font-size: 15px;
  line-height: 1.7;
}
body.relic-theme .relic-guide-header__description p:last-child { margin-bottom: 0; }

body.relic-theme .relic-guide-content {
  margin-bottom: 20px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,12,21,.99), rgba(8,8,14,.99));
  overflow: hidden;
}
body.relic-theme .relic-guide-content__label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(214,168,78,.10);
  background: rgba(255,255,255,.02);
  color: #efbd56;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
}
body.relic-theme .relic-guide-content__body {
  padding: 24px;
  color: #e3d9c5;
  font-size: 15px;
  line-height: 1.8;
}
body.relic-theme .relic-guide-content__body h1,
body.relic-theme .relic-guide-content__body h2,
body.relic-theme .relic-guide-content__body h3,
body.relic-theme .relic-guide-content__body h4 {
  color: #fff2d5;
  font-family: "Cinzel", serif;
}
body.relic-theme .relic-guide-content__body a { color: #efbd56; }
body.relic-theme .relic-guide-content__body img { max-width: 100%; height: auto; border-radius: 12px; }
body.relic-theme .relic-guide-content__body table { width: 100%; overflow-x: auto; }

body.relic-theme .relic-guide-rating-box {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,15,27,.98), rgba(10,10,17,.98));
}
body.relic-theme .relic-guide-rating-box__copy h3 {
  margin: 0 0 7px;
  color: #fff4df;
  font-family: "Cinzel", serif;
  font-size: 26px;
}
body.relic-theme .relic-guide-rating-box__copy p { margin: 0; color: #c7baa1; line-height: 1.65; }
body.relic-theme .relic-guide-rating-box__actions { display: flex; gap: 10px; }
body.relic-theme .relic-guide-vote {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 0 8px;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(214,168,78,.12);
  background: rgba(255,255,255,.025);
  color: #ddd0b6 !important;
  text-decoration: none !important;
}
body.relic-theme .relic-guide-vote i { grid-row: 1 / 3; align-self: center; font-size: 20px; }
body.relic-theme .relic-guide-vote strong { color: #fff5e0; font-size: 18px; }
body.relic-theme .relic-guide-vote span { color: #aa9f8b; font-size: 11px; }
body.relic-theme .relic-guide-vote--up i { color: #7fd189; }
body.relic-theme .relic-guide-vote--down i { color: #d37d7d; }
body.relic-theme a.relic-guide-vote:hover { border-color: rgba(231,184,86,.30); background: rgba(130,75,214,.06); }

body.relic-theme .relic-guide-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media screen and (max-width: 1180px) {
  body.relic-theme .relic-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.relic-theme .relic-guides-hero { grid-template-columns: 1fr; }
}
@media screen and (max-width: 760px) {
  body.relic-theme .relic-guides-grid { grid-template-columns: 1fr; }
  body.relic-theme .relic-guides-toolbar { align-items: flex-start; flex-direction: column; }
  body.relic-theme .relic-guide-header { grid-template-columns: 1fr; }
  body.relic-theme .relic-guide-rating-box { grid-template-columns: 1fr; }
  body.relic-theme .relic-guide-rating-box__actions { flex-wrap: wrap; }
  body.relic-theme .relic-guides-hero__stats { grid-template-columns: 1fr 1fr; }
}


/* ========================================================================== 
   RELICMU - SIDEBAR EVENTS LIVE
   ========================================================================== */
body.relic-theme .relic-events-widget {
  width: 100%;
}
body.relic-theme .relic-events-widget__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
body.relic-theme .relic-events-widget__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(114, 220, 126, .25);
  background: rgba(60, 150, 72, .10);
  color: #97e59e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
}
body.relic-theme .relic-events-widget__all {
  color: #d5aa50 !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
body.relic-theme .relic-events-widget__all:hover { color: #ffe09a !important; }
body.relic-theme .relic-events-widget__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
body.relic-theme .relic-events-widget__row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 9px;
  border: 1px solid rgba(214,168,78,.10);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  color: #f8eed9 !important;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
body.relic-theme .relic-events-widget__row:hover {
  transform: translateX(2px);
  border-color: rgba(214,168,78,.32);
  background: linear-gradient(180deg, rgba(123,63,191,.08), rgba(255,255,255,.018));
}
body.relic-theme .relic-events-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(126,65,197,.12);
  border: 1px solid rgba(150,84,227,.12);
  color: #d7a84b;
}
body.relic-theme .relic-events-widget__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
body.relic-theme .relic-events-widget__main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff4dc;
  font-size: 12px;
  font-weight: 800;
}
body.relic-theme .relic-events-widget__main small {
  margin-top: 4px;
  color: #a99877;
  font-size: 10px;
}
body.relic-theme .relic-events-widget__clock {
  min-width: 54px;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(214,168,78,.08);
  border: 1px solid rgba(214,168,78,.14);
  color: #efbd56;
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
}
body.relic-theme .relic-events-widget__loading,
body.relic-theme .relic-events-widget__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px;
  border: 1px dashed rgba(214,168,78,.14);
  border-radius: 10px;
  color: #bbaa88;
  font-size: 11px;
  text-align: center;
}

/* ========================================================================== 
   RELICMU - EVENTS PAGE V2
   ========================================================================== */
body.relic-theme .relic-events-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(214,168,78,.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,15,28,.98), rgba(10,10,17,.99) 62%, rgba(41,20,62,.88));
  box-shadow: inset 0 1px 0 rgba(255,235,185,.04), 0 16px 30px rgba(0,0,0,.18);
}
body.relic-theme .relic-events-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #e9b84d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
body.relic-theme .relic-events-hero h2 {
  margin: 0 0 8px;
  color: #fff6e3;
  font-family: "Cinzel", serif;
  font-size: 30px;
}
body.relic-theme .relic-events-hero p {
  max-width: 680px;
  margin: 0;
  color: #cfc3aa;
  line-height: 1.65;
}
body.relic-theme .relic-events-hero__legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}
body.relic-theme .relic-events-hero__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  color: #e7dcc4;
  font-size: 13px;
}
body.relic-theme .relic-events-browser {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(214,168,78,.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14,14,23,.98), rgba(8,9,15,.99));
  box-shadow: inset 0 1px 0 rgba(255,235,185,.03), 0 14px 28px rgba(0,0,0,.18);
}
body.relic-theme .relic-events-browser__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
body.relic-theme .relic-events-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(214,168,78,.20);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(32,22,49,.96), rgba(14,13,24,.99));
  color: #e8ddc8;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
body.relic-theme .relic-events-tab:hover,
body.relic-theme .relic-events-tab.is-active {
  border-color: rgba(238,193,89,.82);
  background: linear-gradient(180deg, rgba(103,55,159,.98), rgba(49,29,84,.99));
  color: #fff4d6;
  box-shadow: 0 0 16px rgba(126,60,204,.16);
}
body.relic-theme .relic-events-browser__summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  gap: 12px;
  margin-bottom: 16px;
}
body.relic-theme .relic-events-stat {
  padding: 13px 15px;
  border: 1px solid rgba(214,168,78,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
body.relic-theme .relic-events-stat span {
  display: block;
  margin-bottom: 4px;
  color: #a99a7a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
}
body.relic-theme .relic-events-stat strong {
  display: block;
  color: #fff1cf;
  font-size: 15px;
}
body.relic-theme .relic-events-panel { display: none; }
body.relic-theme .relic-events-panel.is-active { display: block; }
body.relic-theme .relic-events-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.relic-theme .relic-event-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(214,168,78,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
body.relic-theme .relic-event-card:hover {
  transform: translateY(-1px);
  border-color: rgba(214,168,78,.26);
  background: rgba(117,56,191,.045);
}
body.relic-theme .relic-event-card.is-soon {
  border-color: rgba(94,201,103,.28);
  box-shadow: inset 3px 0 0 rgba(94,201,103,.72);
}
body.relic-theme .relic-event-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(214,168,78,.16);
  background: linear-gradient(180deg, rgba(87,48,135,.40), rgba(19,15,31,.72));
  color: #efbd56;
  font-size: 17px;
}
body.relic-theme .relic-event-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
body.relic-theme .relic-event-card__category {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(214,168,78,.09);
  color: #e7b74e;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}
body.relic-theme .relic-event-card__next {
  color: #aa9c80;
  font-size: 12px;
}
body.relic-theme .relic-event-card h3 {
  margin: 0 0 6px;
  color: #fff6e4;
  font-size: 21px;
  line-height: 1.15;
}
body.relic-theme .relic-event-card__schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #c8bda6;
  font-size: 12px;
}
body.relic-theme .relic-event-card__schedule span { color: #8f8065; }
body.relic-theme .relic-event-card__schedule strong { color: #d9caaa; font-weight: 600; }
body.relic-theme .relic-event-card__countdown {
  padding-left: 14px;
  border-left: 1px solid rgba(214,168,78,.10);
  text-align: right;
}
body.relic-theme .relic-event-card__countdown span {
  display: block;
  margin-bottom: 4px;
  color: #9f9075;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .7px;
}
body.relic-theme .relic-event-card__countdown strong {
  color: #f1bd52;
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
}
body.relic-theme .relic-events-loading,
body.relic-theme .relic-events-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 150px;
  color: #c4b79c;
  text-align: center;
}
body.relic-theme .relic-events-loading i,
body.relic-theme .relic-events-empty i {
  color: #e7b64d;
  font-size: 26px;
}
body.relic-theme .relic-events-empty strong {
  color: #fff1d2;
  font-size: 20px;
}
@media screen and (max-width: 900px) {
  body.relic-theme .relic-events-hero { flex-direction: column; align-items: stretch; }
  body.relic-theme .relic-events-hero__legend { min-width: 0; }
  body.relic-theme .relic-events-browser__summary { grid-template-columns: 1fr; }
  body.relic-theme .relic-event-card { grid-template-columns: 44px minmax(0, 1fr); }
  body.relic-theme .relic-event-card__countdown { grid-column: 1 / -1; padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(214,168,78,.10); text-align: left; }
}

/* ========================================================================== 
   RELICMU - SIDEBAR EVENT CAROUSEL V2
   ========================================================================== */
body.relic-theme .relic-event-slider {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(214,168,78,.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(126,61,205,.16), transparent 40%),
    linear-gradient(180deg, rgba(16,13,24,.98) 0%, rgba(8,8,14,.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255,236,190,.04), 0 12px 24px rgba(0,0,0,.16);
}
body.relic-theme .relic-event-slider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e5b34f, #7c3fcc);
}
body.relic-theme .relic-event-slider__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
body.relic-theme .relic-event-slider__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e9b64c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}
body.relic-theme .relic-event-slider__head-title {
  display: block;
  margin-top: 3px;
  color: #fff5dd;
  font-family: "Cinzel", serif;
  font-size: 17px;
  line-height: 1.1;
}
body.relic-theme .relic-event-slider__counter {
  display: inline-flex;
  min-width: 42px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(214,168,78,.18);
  background: rgba(255,255,255,.03);
  color: #cdbb98;
  font-size: 11px;
  font-weight: 700;
}
body.relic-theme .relic-event-slider__viewport {
  min-height: 168px;
}
body.relic-theme .relic-event-slider__card {
  min-height: 168px;
}
body.relic-theme .relic-event-slider__inner {
  animation: relicEventCardIn .28s ease both;
}
@keyframes relicEventCardIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
body.relic-theme .relic-event-slider__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
body.relic-theme .relic-event-slider__badge {
  display: inline-flex;
  align-items: center;
  max-width: 110px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(214,168,78,.26);
  background: rgba(214,168,78,.08);
  color: #f1c15d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.relic-theme .relic-event-slider__when {
  color: #a99a7e;
  font-size: 10px;
  white-space: nowrap;
}
body.relic-theme .relic-event-slider__main {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
body.relic-theme .relic-event-slider__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid rgba(142,76,224,.22);
  background: linear-gradient(180deg, rgba(81,42,129,.46), rgba(33,21,52,.72));
  color: #e9b64c;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
body.relic-theme .relic-event-slider__text strong {
  display: block;
  color: #fff4dc;
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  line-height: 1.05;
}
body.relic-theme .relic-event-slider__text span {
  display: block;
  margin-top: 4px;
  color: #a99b80;
  font-size: 11px;
}
body.relic-theme .relic-event-slider__countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(214,168,78,.12);
  background: rgba(255,255,255,.025);
}
body.relic-theme .relic-event-slider__countdown small {
  color: #9d8f77;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}
body.relic-theme .relic-event-slider__countdown strong {
  color: #f4bd4f;
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(226,169,60,.10);
}
body.relic-theme .relic-event-slider__nav {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) 32px;
  gap: 8px;
  align-items: center;
  margin-top: 11px;
}
body.relic-theme .relic-event-slider__arrow {
  display: inline-flex;
  width: 32px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: #e7b44b;
  cursor: pointer;
  transition: .2s ease;
}
body.relic-theme .relic-event-slider__arrow:hover {
  border-color: rgba(230,183,79,.52);
  background: rgba(117,56,191,.12);
  transform: translateY(-1px);
}
body.relic-theme .relic-event-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
body.relic-theme .relic-event-slider__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  transition: .2s ease;
}
body.relic-theme .relic-event-slider__dot.is-active {
  width: 18px;
  background: linear-gradient(90deg, #e5b34f, #9154d8);
}
body.relic-theme .relic-event-slider__agenda {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  margin-top: 11px;
  padding: 0 10px;
  border: 1px solid rgba(214,168,78,.44);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(121,72,17,.96), rgba(78,43,8,.98));
  color: #fff3d8 !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,236,190,.08);
  transition: .2s ease;
}
body.relic-theme .relic-event-slider__agenda:hover {
  transform: translateY(-1px);
  border-color: rgba(240,194,96,.82);
  box-shadow: 0 10px 18px rgba(0,0,0,.20), 0 0 14px rgba(129,65,202,.10);
}
body.relic-theme .relic-event-slider__loading,
body.relic-theme .relic-event-slider__empty {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #ab9b7d;
  font-size: 11px;
}
body.relic-theme .relic-event-slider__loading i,
body.relic-theme .relic-event-slider__empty i {
  color: #e5b34f;
  font-size: 20px;
}
body.relic-theme .relic-event-slider__empty strong {
  color: #fff1d0;
  font-size: 14px;
}


/* ========================================================================== 
   RELICMU - SIDEBAR EVENTS HOTFIX V3.1
   Loader fix + full-width widget inside sidebar
   ========================================================================== */
body.relic-theme .relic-sidebar-events {
  width: 100%;
  padding: 12px 10px 14px !important;
  align-items: stretch !important;
}

body.relic-theme .relic-sidebar-events .relic-event-slider {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 15px 14px 14px;
}

/* The HTML hidden attribute was being overridden by the component's flex display. */
body.relic-theme .relic-event-slider__loading[hidden],
body.relic-theme .relic-event-slider__card[hidden] {
  display: none !important;
}

body.relic-theme .relic-event-slider__viewport {
  width: 100%;
  min-height: 170px;
}

body.relic-theme .relic-event-slider__card,
body.relic-theme .relic-event-slider__inner {
  width: 100%;
}

body.relic-theme .relic-event-slider__main {
  grid-template-columns: 48px minmax(0,1fr);
}

body.relic-theme .relic-event-slider__agenda {
  min-height: 42px;
}


/* ========================================================================== 
   RELICMU - MOBILE SIDEBAR: HOME ONLY (ROBUST)
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* Regra base: esconder a sidebar esquerda em qualquer página interna. */
  body.relic-theme .content .container > .column {
    display: none !important;
  }

  /* A própria partial marca a sidebar da HOME com esta classe. */
  body.relic-theme .content .container > .column.relic-home-mobile-sidebar {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
  }

  body.relic-theme .content .container {
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  body.relic-theme .content .container > .main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
}


/* ========================================================================== 
   RELICMU - HERO COUNTDOWN + MOBILE FOOTER/SOCIAL FIX
   ========================================================================== */
body.relic-theme .relic-hero-countdown {
  width: min(560px, 100%);
  min-height: 74px;
  margin-top: 18px;
  padding: 10px 14px 10px 16px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(214,168,78,.34);
  border-left: 3px solid var(--relic-v4-gold-2);
  border-radius: 13px;
  background:
    linear-gradient(100deg, rgba(9,9,14,.92) 0%, rgba(16,12,25,.94) 56%, rgba(39,17,56,.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 12px 34px rgba(0,0,0,.28),
    0 0 28px rgba(116,53,179,.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  position: relative;
  overflow: hidden;
}
body.relic-theme .relic-hero-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 72%, rgba(214,168,78,.06) 88%, transparent 100%);
  pointer-events: none;
}
body.relic-theme .relic-hero-countdown__intro,
body.relic-theme .relic-hero-countdown__timer { position: relative; z-index: 1; }
body.relic-theme .relic-hero-countdown__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.relic-theme .relic-hero-countdown__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--relic-v4-gold-2);
  font-family: "Rajdhani", sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1.55px;
}
body.relic-theme .relic-hero-countdown__intro strong {
  color: #fff7ea;
  font-family: "Cinzel", serif;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.relic-theme .relic-hero-countdown__timer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
body.relic-theme .relic-hero-countdown__unit {
  min-width: 42px;
  text-align: center;
}
body.relic-theme .relic-hero-countdown__unit b {
  display: block;
  color: #fff8e9;
  font-family: "Rajdhani", sans-serif;
  font-size: 24px;
  line-height: .95;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(240,198,109,.10);
}
body.relic-theme .relic-hero-countdown__unit span {
  display: block;
  margin-top: 4px;
  color: #a99e8b;
  font-family: "Rajdhani", sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .85px;
}
body.relic-theme .relic-hero-countdown__sep {
  color: rgba(240,198,109,.62);
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-5px);
}
body.relic-theme .relic-footer-copy {
  margin: 18px auto 0;
  max-width: 680px;
  color: #a9a195;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
}
body.relic-theme .relic-footer-copy a { color: var(--relic-v4-gold-2) !important; }

/* Evita os pequenos sublinhados/traços brancos nos ícones sociais do mobile. */
body.relic-theme .relic-social-list,
body.relic-theme .relic-social-list li,
body.relic-theme .relic-social-list li::before,
body.relic-theme .relic-social-list li::after {
  border: 0 !important;
  border-bottom: 0 !important;
  text-decoration: none !important;
  box-shadow: none;
}
body.relic-theme .relic-social-list li {
  display: block;
  line-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}
body.relic-theme .relic-social-list .social__box {
  line-height: 1 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 1px solid rgba(255,255,255,.09) !important;
  outline: 0;
}
body.relic-theme .relic-social-list .social__box::before,
body.relic-theme .relic-social-list .social__box::after {
  content: none !important;
  display: none !important;
}

@media screen and (max-width: 767px) {
  body.relic-theme .relic-hero-countdown {
    width: 100%;
    margin-top: 14px;
    padding: 12px 12px 11px;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 12px;
  }
  body.relic-theme .relic-hero-countdown__intro { text-align: left; }
  body.relic-theme .relic-hero-countdown__intro strong { font-size: 14px; }
  body.relic-theme .relic-hero-countdown__timer {
    width: 100%;
    justify-content: space-between;
    gap: 3px;
  }
  body.relic-theme .relic-hero-countdown__unit { min-width: 0; flex: 1 1 0; }
  body.relic-theme .relic-hero-countdown__unit b { font-size: 22px; }
  body.relic-theme .relic-hero-countdown__sep { font-size: 16px; transform: translateY(-5px); }
  body.relic-theme .footer__portable { padding: 24px 14px 22px; }
  body.relic-theme .footer__portable .footer__social { margin-bottom: 0; }
  body.relic-theme .relic-footer-copy--mobile { display: block !important; }
}

@media screen and (min-width: 1200px) {
  body.relic-theme .relic-footer-copy--mobile { display: none !important; }
}

/* ========================================================================== 
   RELICMU - POSTS PAGE V2 + MOBILE MORE BUTTON
   ========================================================================== */
body.relic-theme .relic-posts-page {
  min-width: 0;
}

body.relic-theme .relic-news-block--archive {
  align-items: stretch;
}

body.relic-theme .relic-news-block--archive > .main__title {
  margin-bottom: 0;
}

body.relic-theme .relic-news-block--archive .main__title > div:first-child {
  min-width: 0;
}

body.relic-theme .relic-posts-page__subtitle {
  margin-top: 5px;
  color: #a99e8b;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

body.relic-theme .relic-posts-page__hero {
  width: calc(100% - 40px);
  margin: 18px 20px 22px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(116,53,179,.18), transparent 36%),
    linear-gradient(125deg, rgba(20,17,28,.98), rgba(10,10,16,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 30px rgba(0,0,0,.18);
}

body.relic-theme .relic-posts-page__hero-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(214,168,78,.24);
  background: rgba(112,52,176,.12);
  color: #e5b34f;
  font-size: 22px;
}

body.relic-theme .relic-posts-page__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #d8a947;
  font-family: "Rajdhani", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.45px;
}

body.relic-theme .relic-posts-page__hero-copy strong {
  display: block;
  color: #fff6e5;
  font-family: "Cinzel", serif;
  font-size: 23px;
  line-height: 1.15;
}

body.relic-theme .relic-posts-page__hero-copy p {
  margin: 5px 0 0;
  color: #b8ac96;
  font-size: 13px;
  line-height: 1.5;
}

body.relic-theme .relic-posts-page__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(214,168,78,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #e7bb65;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.relic-theme .relic-post-category {
  width: calc(100% - 40px);
  margin: 0 20px 22px;
}

body.relic-theme .relic-post-category__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

body.relic-theme .relic-post-category__kicker {
  display: block;
  color: #a98b55;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.35px;
}

body.relic-theme .relic-post-category__head h2 {
  margin: 2px 0 0;
  color: #fff5df;
  font-family: "Cinzel", serif;
  font-size: 24px;
  line-height: 1.1;
}

body.relic-theme .relic-post-category__count {
  color: #8f8678;
  font-size: 11px;
  white-space: nowrap;
}

body.relic-theme .relic-posts-wall--archive {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 0 !important;
}

body.relic-theme .relic-posts-wall--archive > .relic-post-article {
  min-width: 0;
}

body.relic-theme .relic-post-article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(214,168,78,.12);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(113,54,175,.08), transparent 32%),
    linear-gradient(180deg, rgba(15,14,23,.98), rgba(8,8,14,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.022), 0 10px 24px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.relic-theme .relic-post-article:hover {
  transform: translateY(-2px);
  border-color: rgba(214,168,78,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 16px 28px rgba(0,0,0,.22), 0 0 18px rgba(111,53,175,.08);
}

body.relic-theme .relic-post-article__topline {
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, #d6a84e, rgba(112,52,176,.72), transparent);
  opacity: .8;
}

body.relic-theme .relic-post-article__meta {
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.relic-theme .relic-post-article__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 58%;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(214,168,78,.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(164,105,24,.92), rgba(105,60,9,.92));
  color: #fff5df;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.relic-theme .relic-post-article__date {
  color: #877f73;
  font-size: 10px;
  white-space: nowrap;
}

body.relic-theme .relic-post-article__date i {
  margin-right: 4px;
  color: #b7914a;
}

body.relic-theme .relic-post-article__title {
  color: #fff7e8 !important;
  font-family: "Cinzel", serif !important;
  font-size: 23px !important;
  line-height: 1.22 !important;
  font-weight: 700;
  text-decoration: none !important;
}

body.relic-theme .relic-post-article__title:hover {
  color: #e8be69 !important;
}

body.relic-theme .relic-post-article__excerpt {
  margin: 0;
  flex: 1;
  color: #bdb19b !important;
  font-size: 13px;
  line-height: 1.6 !important;
}

body.relic-theme .relic-post-article__footer {
  padding-top: 3px;
}

body.relic-theme .relic-post-article__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(214,168,78,.22);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34,22,53,.96), rgba(14,13,23,.98));
  color: #f5e6c2 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

body.relic-theme .relic-post-article__button:hover {
  transform: translateY(-1px);
  border-color: rgba(230,181,84,.55);
  background: linear-gradient(180deg, rgba(62,31,92,.98), rgba(20,15,32,.99));
}

body.relic-theme .relic-posts-empty {
  width: calc(100% - 40px);
  margin: 18px 20px 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: 1px dashed rgba(214,168,78,.18);
  border-radius: 16px;
  color: #8f8574;
}

body.relic-theme .relic-posts-empty i {
  color: #d6a84e;
  font-size: 30px;
}

body.relic-theme .relic-posts-empty strong {
  color: #fff2d4;
  font-size: 18px;
}

body.relic-theme .relic-news-mobile-more {
  display: none;
  width: 100%;
  padding: 4px 20px 20px;
}

body.relic-theme .relic-news-mobile-more .relic-cta {
  width: 100%;
}

@media screen and (max-width: 1120px) {
  body.relic-theme .relic-posts-wall--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 767px) {
  body.relic-theme .relic-posts-page__hero {
    width: calc(100% - 24px);
    margin: 12px 12px 18px;
    padding: 15px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.relic-theme .relic-posts-page__hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
  }

  body.relic-theme .relic-posts-page__hero-copy strong {
    font-size: 18px;
  }

  body.relic-theme .relic-posts-page__hero-badge {
    display: none;
  }

  body.relic-theme .relic-post-category {
    width: calc(100% - 24px);
    margin: 0 12px 18px;
  }

  body.relic-theme .relic-posts-wall--archive {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.relic-theme .relic-post-article {
    min-height: 215px;
    padding: 17px 15px 15px;
  }

  body.relic-theme .relic-post-article__title {
    font-size: 20px !important;
  }

  body.relic-theme .relic-post-article__excerpt {
    font-size: 12px;
  }

  body.relic-theme .relic-news-mobile-more {
    display: block;
  }
}

@media screen and (max-width: 609px) {
  /* O link do cabeçalho é ocultado pelo CSS base em telas pequenas; aqui usamos um CTA dedicado abaixo das notícias. */
  body.relic-theme .relic-news-block:not(.relic-news-block--archive) .title__link {
    display: none !important;
  }
}


/* RELICMU POSTS V3 - RETURN TO LIST */
body.relic-theme .relic-news-list-page__subtitle {
  margin-top: 5px;
  color: #a99b80;
  font-size: 12px;
  letter-spacing: .2px;
}

body.relic-theme .relic-news-list-category {
  padding: 18px 20px 0;
}

body.relic-theme .relic-news-list-category + .relic-news-list-category {
  padding-top: 4px;
}

body.relic-theme .relic-news-list-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(214,168,78,.10);
}

body.relic-theme .relic-news-list-category__head span {
  color: #efbd56;
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

body.relic-theme .relic-news-list-category__head small {
  color: #7f776c;
  font-size: 10px;
}

body.relic-theme .relic-news-grid--list,
body.relic-theme .news.relic-news-grid--list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100%;
  padding: 18px 20px 22px !important;
}

body.relic-theme .relic-news-list-category .relic-news-grid--list {
  padding: 0 0 18px !important;
}

body.relic-theme .relic-news-card--list {
  min-height: 92px !important;
  display: grid !important;
  grid-template-columns: 4px minmax(0,1fr) 38px !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(214,168,78,.10) !important;
  border-radius: 10px !important;
  background: linear-gradient(120deg, rgba(17,16,23,.98), rgba(9,9,13,.99)) !important;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

body.relic-theme .relic-news-card--list:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(214,168,78,.30) !important;
  background: linear-gradient(120deg, rgba(25,20,27,.99), rgba(10,9,14,.99)) !important;
}

body.relic-theme .relic-news-card--list .relic-news-card__accent {
  width: 4px;
  min-height: 100%;
  background: linear-gradient(180deg, #e0b45c, #6d3f0b);
}

body.relic-theme .relic-news-card--list .relic-news-card__body {
  min-width: 0;
  padding: 15px 14px 14px;
}

body.relic-theme .relic-news-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  min-width: 0;
}

body.relic-theme .relic-news-card__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border: 1px solid rgba(214,168,78,.22);
  border-radius: 999px;
  background: rgba(132,79,15,.35);
  color: #f0bd58;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

body.relic-theme .relic-news-card__date {
  color: #777166;
  font-size: 9px;
  white-space: nowrap;
}

body.relic-theme .relic-news-card--list .news__title {
  display: block !important;
  overflow: hidden;
  color: #f4eee3 !important;
  font-family: "Cinzel", serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.relic-theme .relic-news-card__excerpt {
  margin: 6px 0 0 !important;
  overflow: hidden;
  color: #9f9584;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.relic-theme .relic-news-card--list .relic-news-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-height: 100%;
  border-left: 1px solid rgba(214,168,78,.07);
  color: #67606a !important;
  text-decoration: none !important;
}

body.relic-theme .relic-news-card--list:hover .relic-news-card__arrow {
  color: #d6a84e !important;
}

/* Mantém o CTA aprovado no mobile. */
body.relic-theme .relic-news-mobile-more {
  display: none;
  width: 100%;
  padding: 4px 14px 18px;
}
body.relic-theme .relic-news-mobile-more .relic-cta { width: 100%; }

@media screen and (max-width: 1100px) {
  body.relic-theme .relic-news-grid--list,
  body.relic-theme .news.relic-news-grid--list {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 767px) {
  body.relic-theme .relic-news-list-category {
    padding: 12px 12px 0;
  }

  body.relic-theme .relic-news-grid--list,
  body.relic-theme .news.relic-news-grid--list {
    padding: 12px !important;
    gap: 9px !important;
  }

  body.relic-theme .relic-news-list-category .relic-news-grid--list {
    padding: 0 0 14px !important;
  }

  body.relic-theme .relic-news-card--list {
    min-height: 78px !important;
    grid-template-columns: 3px minmax(0,1fr) 34px !important;
  }

  body.relic-theme .relic-news-card--list .relic-news-card__body {
    padding: 11px 10px;
  }

  body.relic-theme .relic-news-card--list .news__title {
    font-size: 14px !important;
  }

  body.relic-theme .relic-news-card__excerpt {
    display: none;
  }

  body.relic-theme .relic-news-card__date {
    font-size: 8px;
  }

  body.relic-theme .relic-news-mobile-more {
    display: block !important;
  }
}

@media screen and (max-width: 609px) {
  body.relic-theme .relic-news-block:not(.relic-news-block--archive) .title__link {
    display: none !important;
  }
}


/* RELICMU POSTS V4 - CLASSIC LIST FINAL */
body.relic-theme .relic-news-archive-subtitle {
  margin-top: 5px;
  color: #9f947f;
  font-size: 12px;
  letter-spacing: .2px;
}

body.relic-theme .relic-news-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 20px 0;
  padding: 0 2px 10px;
  border-bottom: 1px solid rgba(214,168,78,.12);
}
body.relic-theme .relic-news-category-label span {
  color: #efbd56;
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}
body.relic-theme .relic-news-category-label small { color: #777066; font-size: 10px; }

/* Home: old compact model = two horizontal lists side by side on large desktop. */
body.relic-theme .relic-news-block:not(.relic-news-block--archive) .relic-news-grid,
body.relic-theme .relic-news-block:not(.relic-news-block--archive) .news.relic-news-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 18px 20px 22px !important;
}

/* /posts: true list, one full-width row per publication. */
body.relic-theme .relic-news-block--archive .relic-news-grid,
body.relic-theme .relic-news-block--archive .news.relic-news-grid,
body.relic-theme .relic-news-grid--archive {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 16px 20px 22px !important;
}

body.relic-theme .relic-news-card--row,
body.relic-theme .news__item.relic-news-card--row {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 88px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 4px minmax(0,1fr) 48px !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid rgba(214,168,78,.11) !important;
  border-radius: 11px !important;
  background: linear-gradient(120deg, rgba(17,16,23,.98), rgba(9,9,13,.99)) !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transform: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}
body.relic-theme .relic-news-card--row:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(214,168,78,.31) !important;
  background: linear-gradient(120deg, rgba(27,21,27,.99), rgba(10,9,14,.99)) !important;
}
body.relic-theme .relic-news-card--row .relic-news-card__accent {
  width: 4px !important;
  min-height: 100%;
  background: linear-gradient(180deg, #e0b45c, #6f430e);
}
body.relic-theme .relic-news-card--row .relic-news-card__body {
  min-width: 0 !important;
  padding: 14px 16px 13px !important;
}
body.relic-theme .relic-news-card--row .news__title {
  display: block !important;
  width: 100% !important;
  overflow: hidden;
  color: #f5eee2 !important;
  font-family: "Cinzel", serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.relic-theme .relic-news-card--row .news__description {
  margin: 7px 0 0 !important;
  color: #a98544 !important;
  font-size: 10px !important;
  letter-spacing: .04em !important;
}
body.relic-theme .relic-news-row-excerpt {
  margin: 7px 0 0 !important;
  overflow: hidden;
  color: #978f80;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.relic-theme .relic-news-card--row .relic-news-card__arrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  min-height: 100%;
  border-left: 1px solid rgba(214,168,78,.07);
  color: #625d66 !important;
  text-decoration: none !important;
}
body.relic-theme .relic-news-card--row:hover .relic-news-card__arrow { color: #d6a84e !important; }

/* Keep the approved mobile CTA. */
body.relic-theme .relic-news-mobile-more {
  display: none;
  width: 100%;
  padding: 3px 14px 18px;
}
body.relic-theme .relic-news-mobile-more .relic-cta { width: 100%; }

@media screen and (max-width: 1100px) {
  body.relic-theme .relic-news-block:not(.relic-news-block--archive) .relic-news-grid,
  body.relic-theme .relic-news-block:not(.relic-news-block--archive) .news.relic-news-grid {
    grid-template-columns: 1fr !important;
  }
}
@media screen and (max-width: 767px) {
  body.relic-theme .relic-news-block .relic-news-grid,
  body.relic-theme .relic-news-block .news.relic-news-grid,
  body.relic-theme .relic-news-grid--archive {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 12px !important;
  }
  body.relic-theme .relic-news-category-label { margin: 13px 12px 0; }
  body.relic-theme .relic-news-card--row,
  body.relic-theme .news__item.relic-news-card--row {
    min-height: 76px !important;
    grid-template-columns: 3px minmax(0,1fr) 38px !important;
  }
  body.relic-theme .relic-news-card--row .relic-news-card__body { padding: 11px 10px !important; }
  body.relic-theme .relic-news-card--row .news__title { font-size: 14px !important; }
  body.relic-theme .relic-news-row-excerpt { display: none; }
  body.relic-theme .relic-news-mobile-more { display: block !important; }
}
@media screen and (max-width: 609px) {
  body.relic-theme .relic-news-block:not(.relic-news-block--archive) .title__link { display: none !important; }
}


/* =========================================================
   RelicMU - Avatares pequenos por classe nos rankings
   ========================================================= */
body.relic-theme .relic-ranking-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
body.relic-theme .relic-ranking-avatar {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(214,168,78,.38);
  box-shadow: 0 0 0 1px rgba(130, 69, 255, .16), 0 6px 14px rgba(0,0,0,.28);
  background: #0d0a14;
}
body.relic-theme .relic-featured-ranking__name .relic-ranking-player,
body.relic-theme .relic-featured-ranking__name .relic-ranking-player a,
body.relic-theme .relic-featured-ranking__name .relic-ranking-player span {
  min-width: 0;
}
body.relic-theme .relic-featured-ranking__name .relic-ranking-player a,
body.relic-theme .relic-featured-ranking__name .relic-ranking-player span {
  display: inline-block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.relic-theme .table .relic-ranking-avatar {
  width: 26px;
  height: 26px;
  min-width: 26px;
}


/* ==========================================================================
   RELICMU - HOTFIX COUNTDOWN HERO MOBILE
   Corrige o banner mobile que tinha altura fixa e cortava o countdown.
   ========================================================================== */
@media screen and (max-width: 767px) {
  body.relic-theme .banner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 28px 0 24px !important;
  }

  body.relic-theme .banner .wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.relic-theme .relic-hero {
    width: calc(100% - 36px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 0 4px !important;
    justify-content: flex-start !important;
  }

  body.relic-theme .relic-hero__eyebrow {
    margin-top: 0 !important;
  }

  body.relic-theme .relic-hero-countdown {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 20px 0 0 !important;
    padding: 13px 13px 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.relic-theme .relic-hero-countdown__intro,
  body.relic-theme .relic-hero-countdown__timer {
    width: 100% !important;
  }

  body.relic-theme .relic-hero-countdown__timer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 48px !important;
    margin-top: 2px !important;
  }

  body.relic-theme .relic-hero-countdown__unit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ========================================================================== 
   RelicMU - Página /posts V4 - Central de Notícias em lista
   Não altera o bloco de notícias da HOME.
   ========================================================================== */
body.relic-theme .relic-posts-archive-page { min-width: 0; }
body.relic-theme .relic-posts-archive { overflow: hidden; }
body.relic-theme .relic-posts-archive__titlebar {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
body.relic-theme .relic-posts-archive__kicker {
  display:block; margin:0 0 5px; color:#b98a35; font:700 9px/1 Rajdhani,sans-serif;
  letter-spacing:.22em;
}
body.relic-theme .relic-posts-archive__count {
  display:flex; align-items:baseline; gap:7px; padding:9px 13px;
  border:1px solid rgba(207,155,58,.22); border-radius:9px;
  background:linear-gradient(180deg,rgba(36,23,49,.7),rgba(8,8,12,.72));
}
body.relic-theme .relic-posts-archive__count strong { color:#f0b842; font:700 22px/1 Cinzel,serif; }
body.relic-theme .relic-posts-archive__count span { color:#8f8793; font:600 10px Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.1em; }

body.relic-theme .relic-posts-archive__hero {
  margin:18px 20px 16px; padding:20px 22px; display:grid;
  grid-template-columns:54px minmax(0,1fr) auto; align-items:center; gap:18px;
  border:1px solid rgba(207,155,58,.22); border-radius:12px;
  background:
    radial-gradient(circle at 88% 20%,rgba(119,45,175,.18),transparent 34%),
    linear-gradient(120deg,rgba(18,15,22,.98),rgba(13,11,18,.98));
  box-shadow:0 15px 38px rgba(0,0,0,.18);
}
body.relic-theme .relic-posts-archive__hero-icon {
  width:54px;height:54px;border-radius:12px;display:grid;place-items:center;
  color:#f2b63f;font-size:21px;border:1px solid rgba(224,166,58,.32);
  background:linear-gradient(145deg,rgba(83,41,113,.38),rgba(42,25,54,.16));
}
body.relic-theme .relic-posts-archive__hero-copy span {
  color:#c99738;font:700 9px/1 Rajdhani,sans-serif;letter-spacing:.18em;
}
body.relic-theme .relic-posts-archive__hero-copy h2 {
  margin:5px 0 5px;color:#f1ece5;font:600 22px/1.18 Cinzel,serif;
}
body.relic-theme .relic-posts-archive__hero-copy p { margin:0;color:#928c97;font-size:12px;line-height:1.55; }
body.relic-theme .relic-posts-archive__events-link {
  min-height:42px;padding:0 14px;display:flex;align-items:center;gap:9px;border-radius:8px;
  color:#e3dcd3!important;text-decoration:none!important;font-weight:700;font-size:11px;
  border:1px solid rgba(211,158,62,.25);background:rgba(11,9,14,.78);transition:.2s ease;
}
body.relic-theme .relic-posts-archive__events-link:hover { transform:translateY(-1px);border-color:#d69d35;background:#211425; }
body.relic-theme .relic-posts-archive__events-link i:first-child { color:#d7a341; }

body.relic-theme .relic-posts-archive__categories {
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 20px 18px;padding-bottom:16px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
body.relic-theme .relic-posts-archive__categories a {
  display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:0 12px;border-radius:7px;
  border:1px solid rgba(207,155,58,.18);background:#0b0a0f;color:#aaa3ae!important;
  font:700 10px Rajdhani,sans-serif;text-transform:uppercase;text-decoration:none!important;transition:.2s ease;
}
body.relic-theme .relic-posts-archive__categories a:hover,
body.relic-theme .relic-posts-archive__categories a.is-active {
  color:#fff!important;border-color:rgba(225,164,55,.62);background:linear-gradient(180deg,#38214a,#211426);
}

body.relic-theme .relic-posts-archive__body { padding:0 20px 24px; }
body.relic-theme .relic-posts-section + .relic-posts-section { margin-top:26px; }
body.relic-theme .relic-posts-section { scroll-margin-top:90px; }
body.relic-theme .relic-posts-section__head {
  display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 10px;padding:0 2px;
}
body.relic-theme .relic-posts-section__eyebrow { display:block;color:#8a6d35;font:700 8px Rajdhani,sans-serif;letter-spacing:.18em; }
body.relic-theme .relic-posts-section__head h2 { margin:3px 0 0;color:#e9e4dc;font:600 18px Cinzel,serif; }
body.relic-theme .relic-posts-section__total { color:#6f6974;font-size:10px;font-weight:600; }

body.relic-theme .relic-posts-list {
  border:1px solid rgba(211,160,67,.17);border-radius:11px;overflow:hidden;background:#08080c;
}
body.relic-theme .relic-post-row {
  position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:14px;align-items:center;
  min-height:90px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.055);
  background:linear-gradient(90deg,rgba(18,15,23,.92),rgba(8,8,12,.96));transition:.2s ease;
}
body.relic-theme .relic-post-row:last-child { border-bottom:0; }
body.relic-theme .relic-post-row:hover { background:linear-gradient(90deg,rgba(31,20,40,.96),rgba(10,9,14,.98)); }
body.relic-theme .relic-post-row::before {
  content:"";position:absolute;left:0;top:18px;bottom:18px;width:2px;border-radius:3px;
  background:linear-gradient(#d8a33c,#6b2e8c);opacity:0;transition:.2s ease;
}
body.relic-theme .relic-post-row:hover::before { opacity:1; }
body.relic-theme .relic-post-row__marker {
  width:36px;height:36px;border-radius:9px;display:grid;place-items:center;color:#d9a541;
  border:1px solid rgba(207,155,58,.22);background:rgba(65,38,80,.19);
}
body.relic-theme .relic-post-row__content { min-width:0; }
body.relic-theme .relic-post-row__meta { display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px;color:#756f7a;font-size:9px; }
body.relic-theme .relic-post-row__meta i { color:#a97d30; }
body.relic-theme .relic-post-row__type { display:inline-flex;align-items:center; }
body.relic-theme .relic-post-row__title {
  display:block;width:max-content;max-width:100%;color:#f0ece6!important;text-decoration:none!important;
  font:600 17px/1.2 Cinzel,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.relic-theme .relic-post-row:hover .relic-post-row__title { color:#f0bd58!important; }
body.relic-theme .relic-post-row__content p { margin:6px 0 0;color:#86808b;font-size:11px;line-height:1.45;max-width:740px; }
body.relic-theme .relic-post-row__action {
  min-width:108px;height:34px;padding:0 11px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(207,155,58,.22);background:#100d14;color:#c9c2cc!important;text-decoration:none!important;
  font:700 10px Rajdhani,sans-serif;text-transform:uppercase;transition:.2s ease;
}
body.relic-theme .relic-post-row__action i { color:#d7a23d;font-size:9px; }
body.relic-theme .relic-post-row__action:hover { color:#fff!important;border-color:#d49b34;background:linear-gradient(180deg,#3d214e,#251429);transform:translateX(2px); }

body.relic-theme .relic-posts-archive__empty { padding:55px 20px;text-align:center;border:1px solid rgba(207,155,58,.15);border-radius:12px;background:#09090d; }
body.relic-theme .relic-posts-archive__empty>i { font-size:34px;color:#8f6530;margin-bottom:14px; }
body.relic-theme .relic-posts-archive__empty h2 { margin:0;color:#eee8e0;font:600 20px Cinzel,serif; }
body.relic-theme .relic-posts-archive__empty p { color:#817b86;margin:8px auto 18px;max-width:530px;font-size:12px; }

@media (max-width: 900px) {
  body.relic-theme .relic-posts-archive__hero { grid-template-columns:48px minmax(0,1fr); }
  body.relic-theme .relic-posts-archive__events-link { grid-column:1/-1;width:max-content; }
}
@media (max-width: 767px) {
  body.relic-theme .relic-posts-archive__titlebar { align-items:flex-start; }
  body.relic-theme .relic-posts-archive__count { padding:7px 9px; }
  body.relic-theme .relic-posts-archive__count strong { font-size:17px; }
  body.relic-theme .relic-posts-archive__hero { margin:12px 10px 14px;padding:15px;grid-template-columns:40px minmax(0,1fr);gap:12px; }
  body.relic-theme .relic-posts-archive__hero-icon { width:40px;height:40px;font-size:16px; }
  body.relic-theme .relic-posts-archive__hero-copy h2 { font-size:16px; }
  body.relic-theme .relic-posts-archive__hero-copy p { font-size:10px; }
  body.relic-theme .relic-posts-archive__events-link { width:100%;justify-content:center; }
  body.relic-theme .relic-posts-archive__categories { margin:0 10px 14px;gap:6px; }
  body.relic-theme .relic-posts-archive__categories a { min-height:31px;padding:0 9px;font-size:9px; }
  body.relic-theme .relic-posts-archive__body { padding:0 10px 18px; }
  body.relic-theme .relic-posts-section__head h2 { font-size:16px; }
  body.relic-theme .relic-post-row { grid-template-columns:32px minmax(0,1fr);gap:10px;min-height:86px;padding:12px; }
  body.relic-theme .relic-post-row__marker { width:32px;height:32px;border-radius:8px; }
  body.relic-theme .relic-post-row__title { font-size:14px; }
  body.relic-theme .relic-post-row__content p { font-size:10px;max-height:30px;overflow:hidden; }
  body.relic-theme .relic-post-row__action { grid-column:2;min-width:0;width:max-content;height:30px;margin-top:1px;padding:0 10px; }
}


/* ==========================================================
   RELICMU - CASTLE SIEGE MOBILE COMPLETO V1
   Mantém desktop intacto e mostra TODAS as informações no celular.
   ========================================================== */
@media screen and (max-width: 459px) {
  body.relic-theme .castle {
    min-height: 0 !important;
    padding: 148px 12px 14px !important;
    border-radius: 0 0 12px 12px !important;
    background:
      linear-gradient(to bottom,
        rgba(5,5,8,.00) 0,
        rgba(5,5,8,.08) 112px,
        rgba(8,8,12,.86) 145px,
        #0b0b10 166px,
        #0b0b10 100%),
      url('../img/relic-castle-siege-banner.webp') center top / auto 148px no-repeat !important;
  }

  body.relic-theme .castle::before {
    background: none !important;
    display: none !important;
  }

  body.relic-theme .castle__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(214,168,78,.18) !important;
  }

  body.relic-theme .castle__guild {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  body.relic-theme .castle__guild img,
  body.relic-theme .castle__guild .guild__emblem {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    object-fit: contain !important;
  }

  body.relic-theme .castle__guild .guild__name {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #f5efe7 !important;
    text-align: left !important;
  }

  /* O CSS original escondia estas informações abaixo de 460px. */
  body.relic-theme .castle__description {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 7px !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  body.relic-theme .castle__description .description__item {
    min-width: 0 !important;
    min-height: 60px !important;
    padding: 9px 4px 7px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border: 1px solid rgba(214,168,78,.15) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, rgba(32,20,40,.54), rgba(8,8,13,.86)) !important;
  }

  body.relic-theme .castle__description .description__definition {
    width: 100% !important;
    margin: 0 !important;
    color: #f4eee6 !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.relic-theme .castle__description .description__detail {
    margin: 0 !important;
    color: #d6a84e !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
\n\n/* =========================================================\n   RelicMU - Direct Market: Home + Sidebar integration\n   ========================================================= */\nbody.relic-theme .relic-direct-market-home {\n  display: grid;\n  grid-template-columns: 78px minmax(0, 1fr) auto;\n  align-items: center;\n  gap: 22px;\n  padding: 24px 26px !important;\n  margin-top: 18px;\n  border: 1px solid rgba(214,168,78,.18);\n  border-radius: 18px;\n  background:\n    radial-gradient(circle at 8% 30%, rgba(214,168,78,.12), transparent 28%),\n    linear-gradient(135deg, rgba(25,18,32,.96), rgba(12,10,17,.98));\n  box-shadow: 0 18px 42px rgba(0,0,0,.22);\n  overflow: hidden;\n}\nbody.relic-theme .relic-direct-market-home__icon {\n  width: 70px;\n  height: 70px;\n  border-radius: 18px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border: 1px solid rgba(214,168,78,.28);\n  background: rgba(214,168,78,.08);\n  color: #efbd56;\n  font-size: 28px;\n}\nbody.relic-theme .relic-direct-market-home__eyebrow {\n  display: block;\n  margin-bottom: 5px;\n  color: #d6a84e;\n  font-size: 10px;\n  font-weight: 800;\n  letter-spacing: .16em;\n}\nbody.relic-theme .relic-direct-market-home__content h2 {\n  margin: 0 0 6px;\n  color: #fff3d7;\n  font-size: 26px;\n  line-height: 1.1;\n}\nbody.relic-theme .relic-direct-market-home__content p {\n  margin: 0;\n  max-width: 620px;\n  color: #bfb39a;\n  line-height: 1.6;\n  font-size: 13px;\n}\nbody.relic-theme .relic-direct-market-home__actions {\n  display: flex;\n  flex-direction: column;\n  gap: 9px;\n  min-width: 190px;\n}\nbody.relic-theme .relic-direct-market-home__actions .relic-cta {\n  width: 100%;\n  justify-content: center;\n}\nbody.relic-theme .relic-sidebar-direct-market__box {\n  text-align: center;\n  padding-top: 18px !important;\n  padding-bottom: 18px !important;\n}\nbody.relic-theme .relic-sidebar-direct-market__icon {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  width: 48px;\n  height: 48px;\n  margin-bottom: 10px;\n  border: 1px solid rgba(214,168,78,.22);\n  border-radius: 14px;\n  background: rgba(214,168,78,.07);\n  color: #efbd56;\n  font-size: 20px;\n}\nbody.relic-theme .relic-sidebar-direct-market__text {\n  margin-bottom: 14px !important;\n  line-height: 1.45;\n}\nbody.relic-theme .relic-sidebar-direct-market__button {\n  width: 100%;\n}\nbody.relic-theme .relic-menu-direct-market .menu__link i {\n  margin-right: 7px;\n  color: #d6a84e;\n}\n@media (max-width: 991px) {\n  body.relic-theme .relic-direct-market-home {\n    grid-template-columns: 64px minmax(0, 1fr);\n  }\n  body.relic-theme .relic-direct-market-home__icon { width: 58px; height: 58px; border-radius: 15px; }\n  body.relic-theme .relic-direct-market-home__actions {\n    grid-column: 1 / -1;\n    flex-direction: row;\n    min-width: 0;\n  }\n}\n@media (max-width: 575px) {\n  body.relic-theme .relic-direct-market-home {\n    grid-template-columns: 1fr;\n    gap: 14px;\n    padding: 20px !important;\n    text-align: center;\n  }\n  body.relic-theme .relic-direct-market-home__icon { margin: 0 auto; }\n  body.relic-theme .relic-direct-market-home__content h2 { font-size: 23px; }\n  body.relic-theme .relic-direct-market-home__actions { flex-direction: column; }\n}\n
/* =========================================================
   RelicMU - Direct Market / Mercado Ativo refinements (V2)
   ========================================================= */
body.relic-theme .relic-market-active-home { overflow: hidden; }
body.relic-theme .relic-market-active-home__title {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
body.relic-theme .relic-market-active-home__title > div:first-child { min-width:0; }
body.relic-theme .relic-market-active-home__kicker {
  display:block; margin-bottom:4px; color:#9a7a43; font:700 9px/1.2 Rajdhani,sans-serif;
  letter-spacing:.18em;
}
body.relic-theme .relic-market-active-home__title .heading__main-title { margin:0 !important; }
body.relic-theme .relic-market-active-home__arrows { display:flex; gap:8px; }
body.relic-theme .relic-market-active-home__arrows span {
  width:44px; height:31px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(214,168,78,.18); border-radius:7px; color:#bca06e;
  background:rgba(255,255,255,.015);
}
body.relic-theme .relic-market-active-home__grid { padding-bottom:14px !important; }
body.relic-theme .relic-market-active-card { min-height:268px !important; }
body.relic-theme .relic-market-active-card .relic-market-card__top { min-height:48px; }
body.relic-theme .relic-market-active-card .ws-card-body { padding-bottom:4px !important; }
body.relic-theme .relic-market-active-card__meta { text-align:left !important; padding:0 1px; }
body.relic-theme .relic-market-active-card__price {
  min-height:48px; padding:10px 14px 13px; display:flex; align-items:center; justify-content:flex-end;
  border-top:1px solid rgba(255,255,255,.05); color:#f3bc4e; font:800 15px/1 Rajdhani,sans-serif;
}
body.relic-theme .relic-market-active-home__footer { padding:0 20px 20px; }
body.relic-theme .relic-market-active-home__all {
  min-height:48px; width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid rgba(214,168,78,.19); border-radius:10px; color:#f0e8d7;
  background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.08));
  font:800 13px/1 Rajdhani,sans-serif; letter-spacing:.08em; text-decoration:none !important;
  transition:border-color .2s ease, background .2s ease, color .2s ease;
}
body.relic-theme .relic-market-active-home__all:hover {
  border-color:rgba(214,168,78,.42); background:rgba(214,168,78,.05); color:#f3bc4e;
}
body.relic-theme .relic-direct-market-home--between { margin-top:0 !important; margin-bottom:0 !important; }

body.relic-theme .relic-direct-sell-page { overflow:hidden; }
body.relic-theme .relic-direct-sell-title { align-items:center; justify-content:space-between; }
body.relic-theme .relic-direct-sell-note { display:flex; align-items:center; gap:10px; max-width:none; }
body.relic-theme .relic-direct-sell-note i { color:#e0b34d; }
body.relic-theme .relic-direct-sell .sell-item.relic-direct-grid {
  display:grid !important;
  grid-template-columns:minmax(460px, 1.25fr) minmax(330px, .9fr);
  gap:20px !important; align-items:start;
}
body.relic-theme .relic-direct-sell .relic-market-panel {
  padding:18px !important;
  border:1px solid rgba(214,168,78,.16);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(14,13,20,.98),rgba(8,8,13,.99));
  box-shadow:inset 0 1px 0 rgba(255,230,170,.03),0 14px 28px rgba(0,0,0,.18);
}
body.relic-theme .relic-direct-panel-head {
  min-height:56px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  padding-bottom:14px; margin-bottom:16px; border-bottom:1px solid rgba(214,168,78,.11);
}
body.relic-theme .relic-direct-panel-kicker {
  display:block; margin-bottom:5px; color:#8e744a; font:800 9px/1 Rajdhani,sans-serif; letter-spacing:.16em;
}
body.relic-theme .relic-direct-panel-head h2 {
  margin:0; color:#f2c15a; font:700 24px/1.05 Rajdhani,sans-serif;
}
body.relic-theme .relic-direct-panel-head h2 i { margin-right:7px; font-size:16px; color:#b98428; }
body.relic-theme .relic-direct-panel-step {
  min-width:42px; height:30px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(214,168,78,.15); border-radius:999px; color:#806c4c; font:800 12px/1 Rajdhani,sans-serif;
}
body.relic-theme .relic-direct-vault__renderer {
  max-width:100%; overflow:auto; padding:10px; border:1px solid rgba(214,168,78,.08);
  border-radius:12px; background:rgba(2,4,8,.42);
}
body.relic-theme .relic-direct-vault__renderer .warehouse { margin:0 auto; max-width:100%; }
body.relic-theme .relic-direct-vault__renderer img { font-size:0; color:transparent; }
body.relic-theme .relic-direct-vault__help {
  margin:12px 0 0; color:#81796c; font-size:11px; text-align:center;
}
body.relic-theme .relic-direct-sale-form { position:sticky; top:18px; }
body.relic-theme .relic-direct-select-empty {
  min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:28px; border:1px dashed rgba(214,168,78,.15); border-radius:13px; background:rgba(255,255,255,.012);
}
body.relic-theme .relic-direct-select-empty__icon {
  width:62px; height:62px; margin-bottom:14px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(214,168,78,.06); border:1px solid rgba(214,168,78,.14); color:#c7973c; font-size:20px;
}
body.relic-theme .relic-direct-select-empty h3 { margin:0 0 7px !important; font-size:23px !important; }
body.relic-theme .relic-direct-select-empty p { max-width:290px; margin:0; color:#8f8779; line-height:1.5; }
body.relic-theme .relic-direct-selected-item {
  min-height:104px; display:grid; grid-template-columns:92px 1fr; gap:15px; align-items:center;
  margin-bottom:18px; padding:12px; border:1px solid rgba(214,168,78,.13); border-radius:13px;
  background:radial-gradient(circle at 12% 50%,rgba(115,55,164,.12),transparent 30%),rgba(255,255,255,.012);
}
body.relic-theme .relic-direct-selected-item__image {
  width:92px; height:80px; display:flex; align-items:center; justify-content:center; position:relative;
  border-radius:9px; background:rgba(0,0,0,.28);
}
body.relic-theme .relic-direct-selected-item__image img { max-width:78px; max-height:72px; object-fit:contain; }
body.relic-theme .relic-direct-selected-item__info span { color:#837352; font:800 9px/1 Rajdhani,sans-serif; letter-spacing:.14em; }
body.relic-theme .relic-direct-selected-item__info h3 { margin:5px 0 4px !important; font-size:24px !important; line-height:1.05; }
body.relic-theme .relic-direct-selected-item__info small { color:#746e65; font-size:10px; }
body.relic-theme .relic-direct-field { margin-bottom:16px !important; }
body.relic-theme .relic-direct-field > small { display:block; margin-top:6px; color:#706b63; font-size:10px; }
body.relic-theme .relic-direct-input-wrap { position:relative; }
body.relic-theme .relic-direct-input-wrap > i {
  position:absolute; left:14px; top:50%; transform:translateY(-50%); z-index:2; color:#796742; font-size:13px; pointer-events:none;
}
body.relic-theme .relic-direct-input-wrap .form-control { padding-left:38px !important; }
body.relic-theme .relic-direct-sale-actions { display:flex; gap:10px; margin-top:20px !important; }
body.relic-theme .relic-direct-sale-actions .button__small:first-child { flex:1; }
body.relic-theme .relic-market-img-broken { display:none !important; }
body.relic-theme .relic-market-img-missing { position:relative; min-width:30px; min-height:30px; }
body.relic-theme .relic-market-img-missing::after {
  content:'?'; position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%);
  width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:50%;
  border:1px solid rgba(214,168,78,.15); color:#8d774d; background:rgba(214,168,78,.04); font:800 13px/1 Rajdhani,sans-serif;
}
@media (max-width:1100px) {
  body.relic-theme .relic-direct-sell .sell-item.relic-direct-grid { grid-template-columns:1fr !important; }
  body.relic-theme .relic-direct-sale-form { position:static; }
}
@media (max-width:767px) {
  body.relic-theme .relic-market-active-home__arrows { display:none; }
  body.relic-theme .relic-direct-sell .relic-market-panel { padding:14px !important; }
  body.relic-theme .relic-direct-selected-item { grid-template-columns:72px 1fr; }
  body.relic-theme .relic-direct-selected-item__image { width:72px; height:68px; }
  body.relic-theme .relic-direct-selected-item__image img { max-width:62px; max-height:58px; }
  body.relic-theme .relic-direct-sale-actions { flex-direction:column; }
}


/* Direct Market V5 - miniatura do item + data do anuncio */
body.relic-theme .relic-direct-list-table { min-width: 930px; }
body.relic-theme .relic-direct-list-table th:first-child,
body.relic-theme .relic-direct-list-table td:first-child { min-width: 285px; }
body.relic-theme .relic-direct-item-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
}
body.relic-theme .relic-direct-item-thumb {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214,168,78,.20);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0/12px 12px,
    rgba(3,4,9,.82);
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0,0,0,.38);
}
body.relic-theme .relic-direct-item-thumb img {
  display: block;
  max-width: 52px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}
body.relic-theme .relic-direct-item-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: rgba(224,179,77,.55);
  font-size: 22px;
}
body.relic-theme .relic-direct-item-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
body.relic-theme .relic-direct-item-info strong {
  color: #fff0c8;
  font-weight: 600;
  line-height: 1.25;
}
body.relic-theme .relic-direct-item-info small {
  color: #8f887b;
  font-size: 11px;
  white-space: nowrap;
}
body.relic-theme .relic-direct-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #c9bea5;
  font-size: 13px;
}
body.relic-theme .relic-direct-date i { color: #d8a83f; }
@media (max-width: 720px) {
  body.relic-theme .relic-direct-list-section { padding: 14px 12px 12px; }
  body.relic-theme .relic-direct-item-info small { display: none; }
}

/* ========================================================================== 
   RELICMU V5.2 — HERO MOBILE COMPACTO
   Corrige o banner principal em celulares: reduz a dobra, reposiciona a arte
   e mantém texto/botões legíveis sem alterar o desktop.
   ========================================================================== */
@media screen and (max-width: 767px) {
  body.relic-theme .banner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.relic-theme .banner .wrapper {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  /* Usa a própria arte do desktop em um recorte mais adequado ao celular. */
  body.relic-theme .banner::after {
    inset: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: 68% 44% !important;
    opacity: .63 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: saturate(1.08) contrast(1.03) brightness(.88) !important;
  }

  /* Escurece o lado do texto sem apagar o personagem. */
  body.relic-theme .banner::before {
    background:
      linear-gradient(90deg, rgba(3,3,7,.97) 0%, rgba(3,3,7,.88) 39%, rgba(3,3,7,.52) 68%, rgba(3,3,7,.18) 100%),
      linear-gradient(180deg, rgba(4,4,8,.12) 0%, rgba(4,4,8,.08) 52%, rgba(4,4,8,.72) 100%) !important;
  }

  body.relic-theme .relic-hero {
    width: calc(100% - 32px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    padding: 34px 0 32px !important;
    justify-content: flex-start !important;
  }

  body.relic-theme .relic-hero__eyebrow {
    margin: 0 0 10px !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    letter-spacing: .17em !important;
    white-space: nowrap !important;
  }

  body.relic-theme .relic-hero__title {
    max-width: 92% !important;
    margin: 0 !important;
    font-size: clamp(37px, 10.8vw, 46px) !important;
    line-height: .94 !important;
    letter-spacing: -.035em !important;
  }

  body.relic-theme .relic-hero__text {
    max-width: 88% !important;
    margin-top: 14px !important;
    font-size: 13.5px !important;
    line-height: 1.52 !important;
    color: #c7c1c9 !important;
  }

  body.relic-theme .relic-hero__actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 19px !important;
  }

  body.relic-theme .relic-hero__button {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    letter-spacing: .035em !important;
  }

  body.relic-theme .relic-hero__button i {
    display: none !important;
  }

  /* Caso o Countdown esteja ativo, ele continua expandindo a área naturalmente. */
  body.relic-theme .relic-hero-countdown {
    margin-top: 18px !important;
  }

  /* A faixa de /post abaixo do hero fica mais discreta no celular. */
  body.relic-theme .relic-postbar {
    height: 38px !important;
    min-height: 38px !important;
  }
}

@media screen and (max-width: 430px) {
  body.relic-theme .banner::after {
    background-position: 70% 45% !important;
    opacity: .60 !important;
  }

  body.relic-theme .relic-hero {
    width: calc(100% - 28px) !important;
    padding: 30px 0 29px !important;
  }

  body.relic-theme .relic-hero__title {
    max-width: 96% !important;
    font-size: clamp(35px, 10.5vw, 42px) !important;
  }

  body.relic-theme .relic-hero__text {
    max-width: 92% !important;
    font-size: 13px !important;
  }

  body.relic-theme .relic-hero__button {
    height: 46px !important;
    font-size: 11.5px !important;
  }
}

/* ================================================================
   RelicMU V6.0 - 2FA premium modal
   Mantem o endpoint nativo da Morpheus como modal-content AJAX.
   ================================================================ */
.relic-2fa-modal {
    --relic-2fa-gold: #d5a347;
    --relic-2fa-gold-2: #8c5b1d;
    width: min(760px, calc(100vw - 28px)) !important;
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(213,163,71,.30) !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #101016 0%, #08080d 100%) !important;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.relic-2fa-modal__header {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) 38px;
    gap: 14px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(213,163,71,.18);
    background: linear-gradient(90deg, rgba(213,163,71,.06), transparent 48%);
}
.relic-2fa-modal__header-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(213,163,71,.28);
    border-radius: 14px;
    background: rgba(213,163,71,.08);
    color: #efc76f;
    font-size: 20px;
}
.relic-2fa-modal__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #d8a84d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.relic-2fa-modal__title {
    margin: 0 0 4px;
    color: #fff8ec;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 700;
}
.relic-2fa-modal__header-copy p {
    margin: 0;
    color: rgba(255,255,255,.56);
    font-size: 11px;
    line-height: 1.55;
}
.relic-2fa-modal__close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    color: rgba(255,255,255,.70);
    cursor: pointer;
    transition: .16s ease;
}
.relic-2fa-modal__close:hover {
    border-color: rgba(213,163,71,.34);
    color: #fff;
    background: rgba(213,163,71,.08);
}
.relic-2fa-modal__body {
    display: grid;
    grid-template-columns: 245px minmax(0,1fr);
    gap: 24px;
    padding: 22px;
}
.relic-2fa-modal__qr-column {
    display: grid;
    align-content: start;
    gap: 10px;
}
.relic-2fa-modal__qr {
    padding: 13px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
}
.relic-2fa-modal__qr img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.relic-2fa-modal__qr-help {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 10px 11px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    color: rgba(255,255,255,.52);
    font-size: 9px;
    line-height: 1.5;
}
.relic-2fa-modal__qr-help i {
    color: #d8a84d;
    margin-top: 2px;
}
.relic-2fa-modal__fields {
    display: grid;
    align-content: center;
    gap: 13px;
}
.relic-2fa-modal__step {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 10px;
    align-items: start;
}
.relic-2fa-modal__step-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(180deg, #dda944, #875719);
    color: #130d05;
    font-size: 12px;
    font-weight: 900;
}
.relic-2fa-modal__step strong {
    display: block;
    margin: 1px 0 2px;
    color: #fff7ea;
    font-size: 12px;
}
.relic-2fa-modal__step p {
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.45;
}
.relic-2fa-modal__step--code {
    margin-top: 2px;
}
.relic-2fa-modal__field {
    display: grid;
    gap: 6px;
}
.relic-2fa-modal__field label {
    margin: 0;
    color: #e5c36f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.relic-2fa-modal__field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(213,163,71,.23);
    border-radius: 11px;
    outline: none;
    background: #08080d;
    color: #fff;
    font-size: 11px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.relic-2fa-modal__field input:focus {
    border-color: rgba(231,187,92,.60);
    box-shadow: 0 0 0 3px rgba(213,163,71,.09);
}
.relic-2fa-modal__field small {
    color: rgba(255,255,255,.37);
    font-size: 8px;
    line-height: 1.45;
}
.relic-2fa-modal__secret-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 7px;
}
.relic-2fa-modal__copy {
    min-width: 78px;
    min-height: 46px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    color: #eee7da;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
.relic-2fa-modal__code {
    height: 54px !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: .30em !important;
    text-align: center !important;
}
.relic-2fa-modal__security-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 11px;
    border: 1px solid rgba(72,180,104,.15);
    border-radius: 11px;
    background: rgba(72,180,104,.055);
    color: rgba(255,255,255,.56);
    font-size: 9px;
    line-height: 1.5;
}
.relic-2fa-modal__security-note i {
    color: #72dd92;
    margin-top: 2px;
}
.relic-2fa-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(255,255,255,.055);
}
.relic-2fa-modal__button {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}
.relic-2fa-modal__button--ghost {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.025);
    color: #dcd5c9;
}
.relic-2fa-modal__button--primary {
    border: 1px solid rgba(255,226,171,.18);
    background: linear-gradient(180deg, #dda944, #865719);
    color: #fff;
    box-shadow: 0 9px 20px rgba(181,115,24,.17);
}
@media (max-width: 680px) {
    .relic-2fa-modal {
        width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }
    .relic-2fa-modal__header {
        grid-template-columns: 42px minmax(0,1fr) 34px;
        padding: 15px;
    }
    .relic-2fa-modal__header-icon {
        width: 42px;
        height: 42px;
    }
    .relic-2fa-modal__title {
        font-size: 19px;
    }
    .relic-2fa-modal__body {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    .relic-2fa-modal__qr-column {
        grid-template-columns: 150px minmax(0,1fr);
        align-items: center;
    }
    .relic-2fa-modal__qr {
        width: 150px;
    }
    .relic-2fa-modal__secret-row {
        grid-template-columns: 1fr;
    }
    .relic-2fa-modal__copy {
        width: 100%;
    }
    .relic-2fa-modal__footer {
        padding: 12px 16px 16px;
    }
}
@media (max-width: 440px) {
    .relic-2fa-modal__qr-column {
        grid-template-columns: 1fr;
    }
    .relic-2fa-modal__qr {
        width: 180px;
        margin: 0 auto;
    }
    .relic-2fa-modal__footer {
        display: grid;
        grid-template-columns: 1fr 1.35fr;
    }
    .relic-2fa-modal__button {
        width: 100%;
        padding: 0 10px;
    }
}

/* ================================================================
   RelicMU V6.1 - 2FA modal launcher fix
   O modal e carregado por JS global para funcionar mesmo quando
   Minha Conta foi inserida por AJAX.
   ================================================================ */
button.relic-security-card__action {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: inherit;
}
button.relic-security-card__action.is-loading {
    pointer-events: none;
    opacity: .78;
}
.relic-2fa-bootstrap-modal {
    z-index: 1095;
}
.relic-2fa-bootstrap-modal + .modal-backdrop,
.modal-backdrop.show {
    backdrop-filter: blur(5px);
}
.relic-2fa-bootstrap-dialog {
    width: min(760px, calc(100vw - 28px));
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.relic-2fa-bootstrap-dialog .relic-2fa-modal {
    width: 100% !important;
    max-width: none;
}
@media (max-width: 720px) {
    .relic-2fa-bootstrap-dialog {
        width: calc(100vw - 18px);
        margin: 9px auto;
    }
}

/* ===== RelicMU V6.2 — 2FA overlay independente do Bootstrap ===== */
html.relic-2fa-open,
body.relic-2fa-open {
    overflow: hidden !important;
}

.relic-2fa-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: rgba(1, 1, 6, .80) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility .16s ease;
}

.relic-2fa-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.relic-2fa-overlay__dialog {
    position: relative !important;
    width: min(760px, 100%) !important;
    max-width: 760px !important;
    margin: auto !important;
    transform: translateY(12px) scale(.985);
    transition: transform .18s ease;
}

.relic-2fa-overlay.is-open .relic-2fa-overlay__dialog {
    transform: translateY(0) scale(1);
}

.relic-2fa-overlay .modal-content,
.relic-2fa-overlay .relic-2fa-modal {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    pointer-events: auto !important;
}

/* Se o Bootstrap inserir backdrop por algum motivo, ele nunca deve empurrar o layout. */
body > .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147482000 !important;
}

@media (max-width: 720px) {
    .relic-2fa-overlay {
        align-items: flex-start !important;
        padding: 12px !important;
    }

    .relic-2fa-overlay__dialog {
        width: 100% !important;
        margin: max(12px, env(safe-area-inset-top)) auto max(12px, env(safe-area-inset-bottom)) !important;
    }
}
