:root {
  --bg: #090806;
  --stone: #171512;
  --stone-2: #211d17;
  --stone-3: #2f291f;
  --wood: #2a1b10;
  --wood-2: #3a2716;
  --gold: #d8bd7a;
  --gold-soft: #a98b55;
  --text: #ead9b4;
  --muted: #b69b68;
  --green: #6bea72;
  --green-deep: #0e5f30;
  --emerald: #11d875;
  --border: rgba(185, 151, 83, .56);
  --border-soft: rgba(113, 91, 49, .58);
  --panel: rgba(15, 13, 10, .9);
  --panel-soft: rgba(18, 15, 11, .84);
  --shadow: 0 24px 48px rgba(0,0,0,.58);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 52% 13%, rgba(255, 190, 91, .24), transparent 28%),
    radial-gradient(circle at 17% 34%, rgba(79, 119, 47, .2), transparent 30%),
    linear-gradient(180deg, rgba(4, 5, 4, .15), rgba(4, 5, 4, .72)),
    url("images/evolera/home-town-market.png");
  background-size: auto, auto, auto, cover;
  background-position: center top, center top, center top, center top;
  background-attachment: fixed, fixed, fixed, fixed;
}

body:before,
body:after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

body:before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.68), transparent 16%, transparent 84%, rgba(0,0,0,.68)),
    linear-gradient(180deg, rgba(0,0,0,.28), transparent 32%, rgba(0,0,0,.62));
}

body:after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 10, 4, .76), transparent 12%, transparent 88%, rgba(19, 10, 4, .76)),
    linear-gradient(180deg, rgba(0,0,0,.68), transparent 20%, rgba(0,0,0,.7));
  opacity: .58;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .18s ease, text-shadow .18s ease, filter .18s ease, transform .18s ease;
}

a:hover {
  color: #fff0bd;
  text-shadow: 0 0 10px rgba(31, 220, 110, .42);
}

.evolera-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.evolera-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(0,0,0,.42) 68%, rgba(0,0,0,.82) 100%),
    radial-gradient(circle at 50% 22%, rgba(59, 255, 126, .08), transparent 24%);
}

.evolera-motes {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.evolera-motes span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(79, 255, 136, .5);
  box-shadow: 0 0 12px rgba(79, 255, 136, .48);
  animation: moteDrift 12s ease-in-out infinite;
}

.evolera-motes span:nth-child(1) { left: 18%; top: 28%; animation-delay: -2s; }
.evolera-motes span:nth-child(2) { left: 77%; top: 21%; animation-delay: -5s; }
.evolera-motes span:nth-child(3) { left: 62%; top: 68%; animation-delay: -8s; }
.evolera-motes span:nth-child(4) { left: 34%; top: 74%; animation-delay: -3s; }

@keyframes moteDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .18; }
  45% { transform: translate3d(22px, -34px, 0); opacity: .84; }
  75% { transform: translate3d(-18px, -62px, 0); opacity: .32; }
}

.site-topbar,
.site-wrap,
.site-footer {
  position: relative;
  z-index: 3;
}

.site-topbar {
  width: min(1160px, calc(100vw - 28px));
  min-height: 82px;
  margin: 16px auto 0;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  background:
    linear-gradient(90deg, rgba(128, 91, 42, .16), transparent 10%, transparent 90%, rgba(128, 91, 42, .16)),
    radial-gradient(circle at 72% 50%, rgba(32, 220, 103, .09), transparent 12%),
    linear-gradient(180deg, rgba(33, 26, 16, .94), rgba(10, 9, 7, .94)),
    url("images/evolera/wood-grain.png");
  border: 1px solid rgba(179, 142, 75, .58);
  border-radius: 2px;
  box-shadow:
    0 18px 38px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255, 232, 160, .08),
    inset 0 -1px 0 rgba(0,0,0,.78),
    inset 0 0 36px rgba(0,0,0,.5);
}

.site-topbar > * {
  position: relative;
  z-index: 1;
}

.site-topbar:before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 10px;
  bottom: 10px;
  pointer-events: none;
  border-top: 1px solid rgba(211, 176, 94, .34);
  border-bottom: 1px solid rgba(211, 176, 94, .2);
  box-shadow: inset 0 0 26px rgba(0,0,0,.46), 0 0 14px rgba(122, 80, 32, .14);
}

.side-box:before,
.right-box:before,
.content-card:before,
.world-window:before,
.status-strip:before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid rgba(182, 143, 72, .2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 158, .05),
    inset 0 0 32px rgba(0,0,0,.72),
    0 0 14px rgba(121, 75, 31, .16);
  opacity: 1;
}

.site-topbar:after {
  display: none;
}

.side-box:after,
.right-box:after,
.content-card:after,
.world-window:after,
.status-strip:after {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  padding-left: 2px;
}

.primary-nav a,
.top-actions a,
.download-button,
.hero-buttons a,
input[type=submit],
button,
.BigButton,
.SmallButton {
  border: 1px solid rgba(190, 154, 83, .44) !important;
  background:
    linear-gradient(180deg, rgba(68, 46, 23, .92), rgba(20, 14, 9, .96)) !important;
  color: var(--gold) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(0,0,0,.8);
  font-family: Georgia, "Times New Roman", serif;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 92px;
  padding: 0 14px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(97, 68, 31, .22), transparent 18%, transparent 82%, rgba(97, 68, 31, .22)),
    linear-gradient(180deg, rgba(55, 36, 16, .88), rgba(16, 12, 8, .96)) !important;
}

.primary-nav a:before {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  width: auto;
  height: 1px;
  margin-right: 0;
  background: linear-gradient(90deg, transparent, rgba(205, 168, 91, .52), transparent);
  box-shadow: none;
}

.primary-nav a:after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(99, 128, 48, .72);
  box-shadow: 0 0 6px rgba(70, 164, 70, .28);
}

.primary-nav a:hover,
.top-actions a:hover,
.download-button:hover,
button:hover,
input[type=submit]:hover {
  filter: brightness(1.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 14px rgba(28, 225, 102, .2);
}

.site-logo {
  position: relative;
  min-width: 188px;
  padding: 6px 18px 7px;
  display: grid;
  justify-items: center;
  color: #e9d19a;
  background: transparent;
  border-top: 1px solid rgba(215, 181, 97, .24);
  border-bottom: 1px solid rgba(215, 181, 97, .18);
  text-shadow: 0 2px 0 #17100a, 0 0 8px rgba(222, 179, 92, .24);
  line-height: 1;
}

.site-logo:before,
.site-logo:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(207, 165, 82, .58), transparent);
  box-shadow: none;
}

.site-logo:before { left: 2px; }
.site-logo:after { right: 2px; }

.site-logo span {
  display: block;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.site-logo span:after {
  display: none;
}

.site-logo small {
  display: block;
  margin-top: 4px;
  color: #d0b06f;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-actions a,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 3px;
  font-weight: 700;
}

.top-actions a.filled,
.download-button {
  background:
    linear-gradient(180deg, rgba(36, 105, 45, .94), rgba(15, 47, 22, .98)) !important;
  border-color: rgba(95, 232, 113, .58) !important;
  color: #e9dfb8 !important;
}

.site-wrap {
  width: min(1180px, calc(100vw - 28px));
  margin: 24px auto 0;
}

.status-strip {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr .95fr 1fr 1.45fr;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(74, 50, 22, .18), transparent 12%, transparent 88%, rgba(74, 50, 22, .18)),
    linear-gradient(180deg, rgba(23, 18, 12, .92), rgba(8, 8, 7, .9));
  border: 1px solid rgba(157, 124, 64, .5);
  box-shadow: 0 18px 36px rgba(0,0,0,.48), inset 0 0 28px rgba(0,0,0,.62);
}

.status-item {
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 0 50%, rgba(45, 157, 68, .12), transparent 36%),
    linear-gradient(180deg, rgba(34, 24, 13, .72), rgba(8, 7, 6, .72));
  border: 1px solid rgba(142, 111, 58, .34);
  box-shadow: inset 0 0 15px rgba(0,0,0,.46);
}

.status-item b {
  display: block;
  color: #c4a66a;
  font-size: 12px;
  font-weight: 700;
}

.status-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.status-item strong.online,
.online { color: #79f071 !important; text-shadow: 0 0 10px rgba(83, 242, 105, .44); }
.offline { color: #d98268 !important; }

.status-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(151, 117, 58, .36);
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 8px rgba(0,0,0,.55);
}

.status-icon:before {
  color: #cdae68;
  font-weight: 700;
  font-size: 12px;
}

.status-icon.bars:before { content: "S"; transform: none; color: #cdae68; }
.status-icon.players:before { content: "P"; }
.status-icon.discord-dot:before { content: "D"; }

.character-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 2px;
}

input,
select,
textarea,
.Input,
.TextField {
  max-width: 100%;
  color: #ead6a4 !important;
  background:
    linear-gradient(180deg, rgba(6,6,5,.96), rgba(15,13,10,.96)) !important;
  border: 1px solid rgba(195, 158, 83, .48) !important;
  box-shadow: inset 0 0 18px rgba(0,0,0,.82), 0 0 0 1px rgba(0,0,0,.76) !important;
  border-radius: 3px !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(84, 235, 117, .64) !important;
  box-shadow: inset 0 0 18px rgba(0,0,0,.8), 0 0 14px rgba(29, 219, 103, .24) !important;
}

.character-search input {
  width: 100%;
  min-width: 0;
  height: 39px;
  padding: 0 12px;
}

.character-search button {
  height: 39px;
  padding: 0 16px;
  cursor: pointer;
}

.layout-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: start;
}

.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-box,
.right-box,
.content-card,
.card-box,
.world-window {
  position: relative;
  background:
    linear-gradient(90deg, rgba(101, 72, 34, .18), transparent 12%, transparent 88%, rgba(101, 72, 34, .18)),
    radial-gradient(circle at 50% 0, rgba(70, 57, 28, .22), transparent 34%),
    linear-gradient(180deg, rgba(27, 23, 17, .94), rgba(8, 8, 7, .94));
  border: 1px solid rgba(161, 126, 61, .58);
  border-radius: 3px;
  box-shadow:
    0 22px 42px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(229, 190, 100, .08),
    inset 0 -1px 0 rgba(0,0,0,.8),
    inset 0 0 36px rgba(0,0,0,.72);
}

.side-box,
.right-box,
.content-card {
  background-image:
    linear-gradient(90deg, rgba(104, 70, 28, .18), transparent 15%, transparent 85%, rgba(104, 70, 28, .18)),
    radial-gradient(circle at 50% 0, rgba(114, 84, 37, .2), transparent 32%),
    linear-gradient(180deg, rgba(27, 23, 17, .95), rgba(8, 8, 7, .94));
}

.side-box:before,
.right-box:before,
.content-card:before,
.world-window:before,
.status-strip:before {
  border-color: rgba(195, 155, 78, .14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 158, .045),
    inset 0 0 26px rgba(0,0,0,.68);
}

.side-box,
.right-box {
  padding: 18px 16px 15px;
}

.side-box h3,
.right-box h3,
.content-card h1,
.content-card h2,
.content-card h3,
.card-box h2 {
  margin: 0 0 13px;
  color: #e7c987;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgba(0,0,0,.8), 0 0 8px rgba(31, 201, 96, .1);
}

.side-box h3,
.right-box h3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px 12px;
  border-bottom: 1px solid rgba(180, 139, 68, .36);
  background: linear-gradient(90deg, transparent, rgba(95, 62, 25, .26), transparent);
  font-size: 18px;
}

.side-box h3 span,
.side-box h3:after,
.right-box h3:after {
  display: none;
}

.side-box a {
  position: relative;
  z-index: 1;
  min-height: 31px;
  display: flex;
  align-items: center;
  padding: 7px 8px;
  color: #e0c88d;
  border-bottom: 1px solid rgba(141, 111, 58, .16);
}

.side-box a:before {
  content: "";
  width: 10px;
  height: 6px;
  margin-right: 10px;
  border-radius: 100% 0 100% 0;
  transform: rotate(-28deg);
  background: linear-gradient(135deg, rgba(103, 132, 48, .72), rgba(50, 82, 29, .86));
  box-shadow: none;
}

.side-box a:hover {
  background: linear-gradient(90deg, rgba(111, 77, 35, .26), transparent);
  color: #fff0bd;
}

.download-button {
  position: relative;
  min-height: 54px;
  font-size: 17px;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 4px;
  letter-spacing: .3px;
  text-shadow: 0 2px 0 rgba(0,0,0,.72);
  background:
    linear-gradient(90deg, rgba(220, 183, 95, .16), transparent 16%, transparent 84%, rgba(220, 183, 95, .16)),
    radial-gradient(circle at 50% 100%, rgba(43, 235, 112, .26), transparent 48%),
    linear-gradient(180deg, rgba(34, 112, 48, .96), rgba(10, 49, 22, .98)) !important;
  border-color: rgba(86, 217, 105, .68) !important;
  box-shadow:
    inset 0 1px 0 rgba(240, 225, 160, .15),
    inset 0 -12px 22px rgba(0,0,0,.34),
    0 0 18px rgba(37, 208, 87, .18),
    0 14px 28px rgba(0,0,0,.44);
}

.download-button:before,
.download-button:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 195, 110, .8), transparent);
  pointer-events: none;
}

.download-button:before {
  left: 16px;
}

.download-button:after {
  right: 16px;
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(240, 225, 160, .18),
    inset 0 -12px 22px rgba(0,0,0,.28),
    0 0 24px rgba(45, 231, 104, .28),
    0 16px 30px rgba(0,0,0,.46);
}

.world-window {
  min-height: 330px;
  margin-bottom: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.2)),
    url("images/evolera/home-town-market.png");
  background-size: cover, cover;
  background-position: center 44%, center 44%;
}

.world-window:before {
  opacity: .72;
}

.world-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  max-width: 460px;
  padding: 12px 16px;
  background: rgba(8, 8, 6, .58);
  border: 1px solid rgba(185, 151, 83, .38);
  box-shadow: 0 16px 28px rgba(0,0,0,.38);
}

.world-caption b {
  display: block;
  color: #e4c37d;
  font-size: 28px;
  line-height: 1;
}

.world-caption span {
  color: #c9b286;
}

.content-card {
  min-height: 320px;
  padding: 22px;
  color: #dac89f;
}

.content-card > * {
  position: relative;
  z-index: 1;
}

.right-box > *,
.side-box > * {
  position: relative;
  z-index: 1;
}

.top-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px;
  margin-bottom: 8px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(136, 106, 55, .2);
}

.top-list li span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #140d06;
  background: radial-gradient(circle at 35% 25%, #fff1a8, #b97823 58%, #3d210d);
  border: 1px solid rgba(239, 207, 116, .72);
  font-weight: 700;
}

.top-list a {
  display: block;
  color: #ead6a4;
  font-weight: 700;
}

.top-list small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.follow-box div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.follow-box a {
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(183, 148, 82, .38);
  background: rgba(0,0,0,.24);
}

.info-mini p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(142, 111, 58, .2);
}

.info-mini b { color: #d8bd7a; }
.info-mini span { color: #85e378; }

.site-footer {
  width: min(1180px, calc(100vw - 28px));
  margin: 22px auto 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #a98e5e;
  background: rgba(9, 8, 6, .72);
  border: 1px solid rgba(122, 96, 50, .36);
  box-shadow: 0 18px 34px rgba(0,0,0,.42);
}

table {
  color: #dac89f;
}

.content-card table,
.TableContainer,
.TableContent,
.BoxContent,
.NewsHeadline,
.NewsHeadlineBackground,
.Odd,
.Even {
  background: rgba(12, 11, 9, .72) !important;
  border-color: rgba(157, 123, 62, .36) !important;
  color: #dac89f !important;
}

.NewsHeadline {
  border-left: 4px solid rgba(43, 218, 105, .7) !important;
  box-shadow: inset 0 0 22px rgba(0,0,0,.42);
}

.NewsHeadlineBackground {
  min-height: 52px !important;
  background-image: none !important;
  background:
    linear-gradient(90deg, rgba(44, 122, 47, .24), transparent),
    rgba(18, 14, 10, .92) !important;
}

.NewsHeadlineText,
.NewsHeadlineDate,
.NewsHeadlineAuthor {
  color: #e5c883 !important;
}

.content-card td,
.content-card th {
  border-color: rgba(139, 109, 57, .24) !important;
}

.content-card th,
.TableContainer .CaptionContainer,
.CaptionContainer,
.TableContent th {
  background: linear-gradient(180deg, #392815, #15110c) !important;
  color: #e4c37d !important;
  border-color: rgba(184, 148, 80, .38) !important;
}

.content-card tr[style*="background"],
.content-card td[style*="background"],
.content-card tbody tr,
.TableContent tr:nth-child(odd),
.TableContent tr:nth-child(even) {
  background-color: rgba(12, 11, 9, .58) !important;
  background-image: none !important;
  color: #dac89f !important;
}

.ButtonText,
.BigButtonText,
.SmallButtonText {
  color: #f0dcab !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.85) !important;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 3px;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #090806; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #634522, #1e170f);
  border: 1px solid rgba(202, 166, 89, .44);
}

@media (max-width: 1120px) {
  .site-topbar { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; order: 3; flex-wrap: wrap; }
  .layout-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .right-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .site-topbar {
    width: calc(100vw - 16px);
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 8px;
  }
  .primary-nav,
  .top-actions {
    flex-wrap: wrap;
  }
  .primary-nav a { padding: 0 11px; }
  .site-wrap { width: calc(100vw - 16px); margin-top: 16px; }
  .status-strip,
  .layout-grid,
  .right-sidebar {
    grid-template-columns: 1fr;
  }
  .world-window { min-height: 230px; }
  .world-caption { left: 12px; right: 12px; bottom: 12px; }
  .site-footer { width: calc(100vw - 16px); flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .evolera-atmosphere,
  .evolera-motes {
    display: none;
  }
  *, *:before, *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  
}

/* =========================================================
   EVOLERA HORIZONTAL HOMEPAGE PANELS
   ========================================================= */

.evolera-home-panels {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.evolera-wide-panel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(161, 126, 61, .65);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(104, 70, 28, .14), transparent 15%, transparent 85%, rgba(104, 70, 28, .14)),
    linear-gradient(180deg, rgba(28, 23, 16, .97), rgba(9, 8, 6, .97));
  box-shadow:
    0 18px 36px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(229,190,100,.08),
    inset 0 0 30px rgba(0,0,0,.65);
}

.evolera-wide-panel:before {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(219, 181, 96, .12);
}

.evolera-wide-panel > * {
  position: relative;
  z-index: 1;
}

.evolera-wide-panel h3 {
  margin: -2px -2px 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #f0d99c;
  border: 1px solid rgba(159, 126, 62, .34);
  border-radius: 12px 12px 4px 4px;
  background:
    linear-gradient(90deg, rgba(26, 101, 55, .12), transparent 18%, transparent 82%, rgba(26, 101, 55, .12)),
    linear-gradient(180deg, rgba(16, 28, 24, .96), rgba(5, 10, 10, .98));
  box-shadow: inset 0 0 18px rgba(0,0,0,.65);
  font-size: 16px;
  letter-spacing: .3px;
  text-align: center;
  text-shadow: 0 2px 0 #000;
}

.evolera-wide-panel h3 span {
  color: #b70f2d;
  font-size: 10px;
}

.evolera-five-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.evolera-rank-card {
  min-width: 0;
  min-height: 108px;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 78, 35, .72);
  background:
    radial-gradient(circle at 50% 0, rgba(226, 194, 125, .08), transparent 38%),
    linear-gradient(180deg, rgba(47, 37, 23, .94), rgba(19, 15, 10, .98));
  box-shadow:
    inset 0 0 16px rgba(0,0,0,.52),
    0 2px 5px rgba(0,0,0,.34);
  text-align: center;
}

.evolera-rank-card strong {
  display: block;
  max-width: 100%;
  margin-top: 7px;
  overflow: hidden;
  color: #ead6a4;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evolera-rank-card strong a {
  color: inherit;
}

.evolera-rank-card small {
  margin-top: 3px;
  color: #c4a66a;
  font-size: 12px;
}

.guild-emblem {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 177, 87, .54);
  border-radius: 10px 2px 10px 2px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,232,160,.2), transparent 28%),
    linear-gradient(135deg, #1b6a35, #44250d);
  box-shadow:
    inset 0 0 15px rgba(0,0,0,.58),
    0 2px 6px rgba(0,0,0,.48);
}

.guild-emblem span {
  color: #f2d98e;
  font-size: 25px;
  font-weight: 700;
  text-shadow: 0 2px 0 #000;
}

.frag-medal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 203, 106, .7);
  border-radius: 50%;
  color: #1a1007;
  background: radial-gradient(circle at 35% 28%, #fff0a5, #c18428 57%, #4a270c);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.55),
    0 2px 7px rgba(0,0,0,.48);
  font-size: 16px;
  font-weight: 700;
}

.empty-card {
  opacity: .62;
}

.server-intro-panel {
  padding-bottom: 14px;
}

.server-intro-content {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 5px 12px 2px;
}

.server-intro-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 165, 81, .58);
  border-radius: 50%;
  color: #ead18d;
  background:
    radial-gradient(circle at 40% 30%, rgba(80, 238, 115, .24), transparent 34%),
    linear-gradient(135deg, #153c24, #24160b);
  box-shadow: inset 0 0 22px rgba(0,0,0,.62), 0 4px 10px rgba(0,0,0,.45);
  font-size: 35px;
  font-weight: 700;
  text-shadow: 0 2px 0 #000;
}

.server-intro-text {
  text-align: center;
}

.server-intro-text p {
  margin: 7px 0;
  color: #d9c69a;
  line-height: 1.45;
}

.server-connection-line {
  color: #c9aa69 !important;
}

.server-connection-line i {
  margin: 0 6px;
  color: #7f673c;
  font-style: normal;
}

.server-quick-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.server-quick-links a {
  padding: 6px 11px;
  border: 1px solid rgba(180, 139, 68, .38);
  border-radius: 3px;
  background: rgba(0,0,0,.23);
}

@media (max-width: 1120px) {
  .evolera-five-grid {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 5px;
  }
}

@media (max-width: 760px) {
  .evolera-five-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .server-intro-content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .server-connection-line i {
    display: none;
  }

  .server-connection-line b,
  .server-connection-line span,
  .server-connection-line a {
    display: block;
    margin: 3px 0;
  }
}

@media (max-width: 460px) {
  .evolera-five-grid {
    grid-template-columns: 1fr;
  }
}
/* Shop product cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.shop-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #b88a3a;
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(66, 42, 23, .96), rgba(20, 14, 10, .98));
  box-shadow: inset 0 0 0 1px rgba(255, 215, 128, .08), 0 8px 18px rgba(0, 0, 0, .28);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: #e2b85d;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 141, .14), 0 0 14px rgba(205, 153, 54, .22), 0 14px 28px rgba(0, 0, 0, .42);
}

.shop-icon {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.shop-icon img {
  display: block;
  max-width: 100%;
  image-rendering: auto;
}

.shop-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.shop-card-title {
  margin: 0 0 10px;
  color: #e3bd69;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  text-shadow: 0 1px 2px #000;
}

.shop-card-description {
  width: 100%;
  margin: 0 0 18px;
  color: #d3c5ad;
  line-height: 1.55;
}

.shop-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto 0 14px;
  padding: 7px 14px;
  border: 1px solid #d6a84f;
  border-radius: 999px;
  background: linear-gradient(180deg, #5b3b17, #2f1d0c);
  color: #ffd77d;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: inset 0 1px rgba(255, 235, 179, .12);
}

.shop-buy-button {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #d4a64e;
  border-radius: 4px;
  background: linear-gradient(180deg, #765022, #3d260f);
  color: #fff0c2;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-shadow: 0 1px 1px #000;
  box-shadow: inset 0 1px rgba(255, 232, 167, .16);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shop-buy-button:hover,
.shop-buy-button:focus-visible {
  border-color: #f0c66b;
  background: linear-gradient(180deg, #8c612a, #4a2e11);
  box-shadow: 0 0 10px rgba(220, 168, 67, .25);
  outline: none;
}

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shop-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card,
  .shop-buy-button { transition: none; }
  .shop-card:hover { transform: none; }
}
.shop-balance,.shop-message,.shop-confirmation{margin:0 0 20px;padding:14px 18px;border:1px solid #b88a3a;border-radius:5px;background:rgba(35,22,12,.94);color:#e3bd69}.shop-message-success{border-color:#7da85b;color:#cde6b7}.shop-message-error{border-color:#a65a49;color:#f0c0b5}.shop-confirmation{max-width:560px}.shop-purchase-form{display:flex;width:100%;margin-top:auto;flex-direction:column;gap:9px}.shop-purchase-form label{color:#d3c5ad;text-align:left}.shop-purchase-form select{width:100%;padding:9px;border:1px solid #9d7533;border-radius:4px;background:#21160e;color:#f3d897}.shop-buy-button:disabled{cursor:not-allowed;filter:grayscale(.65);opacity:.6}

/* Classic MyAAC shop frontend */
.classic-shop{max-width:1080px;margin:12px auto;padding:12px;border:2px solid #5f3d20;background:#15100c;box-shadow:0 0 0 1px #b58a50,0 8px 24px #000;color:#d8c4a4}.classic-shop-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border:1px solid #896035;background:linear-gradient(#49301c,#24170f)}.classic-shop-header h1{margin:0;color:#f2d49a;font:700 24px Georgia,serif;text-shadow:1px 2px #000}.classic-shop-balance{padding:8px 12px;border:1px solid #b2874d;background:#1d140e;color:#e8d4af;white-space:nowrap}.classic-shop-section{margin-top:12px;border:1px solid #79512d;background:#21160f}.classic-section-title{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #79512d;background:linear-gradient(#57391f,#332113);color:#f0d49e;font-weight:700;text-shadow:1px 1px #000}.classic-category-bar{display:flex;gap:8px;padding:12px;overflow-x:auto}.classic-category-button,.classic-tibia-button{border:1px solid #c1995f;border-radius:2px;background:linear-gradient(#74502e,#3a2516);box-shadow:inset 0 0 0 1px #29170d;color:#f7dfae;font-weight:700;text-shadow:1px 1px #000;cursor:pointer;transition:.18s ease}.classic-category-button{min-width:104px;padding:9px 15px}.classic-category-button:hover,.classic-category-button.is-active,.classic-tibia-button:hover{border-color:#f0ca78;background:linear-gradient(#976b36,#4c2f18);box-shadow:0 0 10px rgba(229,178,83,.35),inset 0 0 0 1px #3b220e}.classic-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px}.classic-product-card{display:flex;min-height:255px;flex-direction:column;align-items:center;padding:10px;border:2px solid #604226;background:linear-gradient(#302117,#17100c);box-shadow:inset 0 0 0 1px #0b0705;color:#d8c5a8;text-align:center;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.classic-product-card:hover,.classic-product-card:focus-visible{transform:translateY(-3px);border-color:#b88743;box-shadow:0 0 12px rgba(207,151,62,.35),inset 0 0 0 1px #0b0705;outline:0}.classic-product-card.is-selected{border-color:#f1c96c;background:linear-gradient(#4a321b,#21150d);box-shadow:0 0 15px rgba(244,193,82,.55),inset 0 0 0 1px #b3833e}.classic-product-card[hidden]{display:none}.classic-product-card h3{min-height:38px;margin:0;color:#efd093;font:700 16px Georgia,serif}.classic-product-image{display:flex;height:72px;align-items:center;justify-content:center;margin:8px}.classic-product-image img{max-width:64px;max-height:64px}.classic-product-card p{margin:0 0 8px;font-size:12px;line-height:1.35}.classic-product-price{margin-top:auto;color:#ffd477;font-weight:700}.classic-quantity{display:grid;grid-template-columns:30px 38px 30px;align-items:center;margin-top:9px;border:1px solid #7d5832;background:#130d09}.classic-quantity button{height:28px;border:0;background:#402a18;color:#f4d89c;font-size:18px;cursor:pointer}.classic-quantity output{font-weight:700}.classic-shop-checkout{display:grid;grid-template-columns:auto minmax(160px,280px) 1fr auto;align-items:center;gap:12px;margin-top:12px;padding:14px;border:1px solid #79512d;background:linear-gradient(#382518,#1c130e)}.classic-shop-checkout label{color:#e8c987;font-weight:700}.classic-shop-checkout select{padding:9px;border:1px solid #9c7445;background:#160f0b;color:#f1dab0}.classic-checkout-total{text-align:right;color:#e7c989}.classic-tibia-button{padding:11px 25px}.classic-tibia-button:disabled{cursor:not-allowed;filter:grayscale(1);opacity:.5}.classic-confirm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.classic-confirm-grid div{padding:12px;border:1px solid #674728;background:#18100b}.classic-confirm-grid span,.classic-confirm-grid strong{display:block}.classic-confirm-grid span{margin-bottom:5px;color:#ad9877}.classic-confirm-grid strong{color:#f1d294}.classic-confirm-actions{padding:0 14px 14px;text-align:right}.classic-shop>.shop-message{margin:12px 0 0}
@media(max-width:900px){.classic-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.classic-shop-checkout{grid-template-columns:auto 1fr}.classic-checkout-total{text-align:left}.classic-continue-button{grid-column:1/-1}}
@media(max-width:650px){.classic-shop-header{align-items:flex-start;flex-direction:column}.classic-category-bar{padding-bottom:14px}.classic-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-confirm-grid{grid-template-columns:1fr}.classic-shop-checkout{grid-template-columns:1fr}.classic-product-card{min-height:235px}}
@media(max-width:410px){.classic-product-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.classic-product-card,.classic-category-button,.classic-tibia-button{transition:none}}

.classic-cart-stats{font-weight:400}.classic-confirm-character,.classic-confirm-total{margin:12px;padding:12px;border:1px solid #674728;background:#18100b;color:#f1d294}.classic-confirm-character span{margin-right:12px;color:#ad9877}.classic-confirm-list{margin:12px;border:1px solid #674728}.classic-confirm-line{display:grid;grid-template-columns:1fr auto auto;gap:18px;padding:10px 12px;border-bottom:1px solid #4a321f;background:#1b120c}.classic-confirm-line:last-child{border-bottom:0}.classic-confirm-line strong{color:#efd093}.classic-confirm-line span{color:#d8c5a8}@media(max-width:650px){.classic-section-title{align-items:flex-start;gap:6px;flex-direction:column}.classic-confirm-line{grid-template-columns:1fr}.classic-cart-stats{font-size:12px}}
