:root {
  color-scheme: dark;
  --bg: #090d13;
  --panel: #131921;
  --panel-light: #19222d;
  --line: #293440;
  --text: #e5e7e8;
  --muted: #9ca8b2;
  --dim: #75828e;
  --gold: #d1aa69;
  --gold-light: #ead2a4;
  --blue: #83a8c0;
  --shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 13%, rgba(63, 82, 99, .13), transparent 49%), var(--bg); color: var(--text); font: 14px/1.5 Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
[hidden] { display: none !important; }

.preview-ribbon { height: 25px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 2; border-bottom: 1px solid #303943; background: #141b24; color: #b5bec4; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.ribbon-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(209, 170, 105, .7); }

.site-header { height: 204px; position: relative; overflow: hidden; border-bottom: 2px solid #080a0b; background: #263a2c; }
.masthead-sky { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, rgba(9, 14, 12, .38) 0%, rgba(8, 11, 10, .30) 53%, rgba(7, 10, 10, .88) 100%), linear-gradient(90deg, rgba(7, 10, 9, .48), transparent 23%, transparent 77%, rgba(7, 10, 9, .48)), url("assets/retro/vespera-classic-banner.svg") center 51% / cover no-repeat; }
.masthead-sky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 28%, rgba(8, 10, 10, .44), transparent 43%); }
.masthead-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #e5d6b4; box-shadow: 0 0 7px rgba(237, 213, 163, .9); }
.star-one { left: 23%; top: 42px; }
.star-two { right: 19%; top: 59px; width: 2px; height: 2px; }
.masthead-ridge { display: none; }
.ridge-back { left: -10%; background: linear-gradient(180deg, rgba(116, 137, 144, .46), rgba(38, 54, 63, .14)); }
.ridge-front { right: -15%; bottom: -86px; width: 81%; height: 169px; opacity: .58; background: linear-gradient(180deg, #34454b, #141d24); transform: scaleX(-1); }
.masthead-content { width: min(1120px, calc(100% - 36px)); height: 100%; margin: 0 auto; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px 0 7px; transform: translateY(-13px); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 0; }
.brand-mark { width: 67px; height: 67px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .5)); }
.brand-type { display: grid; justify-items: center; line-height: 1; }
.brand-type strong { color: #f0e4cf; font: 600 25px/1 Georgia, "Times New Roman", serif; letter-spacing: .2em; padding-left: .2em; text-shadow: 0 2px 7px #090c10; }
.brand-type small { margin-top: 6px; padding: 2px 10px; border-top: 1px solid rgba(220, 183, 119, .65); border-bottom: 1px solid rgba(220, 183, 119, .5); color: #d7bc88; font-size: 7px; font-weight: 700; letter-spacing: .24em; }
.header-actions { display: flex; align-items: center; gap: 7px; }
.button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button-gold { border-color: #dfbd7e; background: linear-gradient(135deg, #e4c681, #ba8d4b); color: #191713; }
.button-gold:hover { background: linear-gradient(135deg, #f0d899, #cca15f); }
.button-quiet { border-color: #67747e; background: rgba(15, 22, 29, .7); color: #e0e4e5; }
.button-quiet:hover { border-color: #a3a9a7; background: rgba(24, 32, 39, .9); }

.site-shell { width: min(1120px, calc(100% - 36px)); margin: -14px auto 50px; display: grid; grid-template-columns: 224px minmax(0, 1fr) 210px; align-items: start; gap: 12px; }
.left-rail { align-self: start; overflow: hidden; border: 2px solid #07090a; border-radius: 0; background: #111; box-shadow: 0 3px 12px rgba(0, 0, 0, .42), inset 0 0 0 1px #34404a; }
.rail-group { padding: 0; border-bottom: 2px solid #07090a; background: #121212; }
.rail-toggle { width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 0; background: linear-gradient(100deg, #1e272d, #171e23 74%, #202a30); color: #d6c5a2; cursor: pointer; text-align: left; font: 600 15px Georgia, "Times New Roman", serif; letter-spacing: .055em; text-transform: uppercase; text-shadow: 0 1px #08090a; }
.rail-toggle:hover, .rail-toggle:focus-visible { background: linear-gradient(100deg, #28343b, #1b242a 74%, #2b373d); color: #f1dcad; outline: 1px solid #806640; outline-offset: -2px; }
.rail-label { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rail-label > img { width: 32px; height: 32px; flex: 0 0 32px; image-rendering: pixelated; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .62)); }
.rail-chevron { color: #c9a866; font: 12px/1 Georgia, serif; transition: transform .18s ease; }
.rail-toggle[aria-expanded="true"] .rail-chevron { transform: rotate(180deg); }
.rail-links { padding: 6px 12px 7px 12px; border-top: 1px solid #272c2d; background: #111; }
.rail-links[hidden] { display: none; }
.rail-group a { min-height: 34px; display: flex; align-items: center; gap: 7px; padding: 4px 2px; border-bottom: 1px solid #303538; color: #d0d0ce; font: 600 14px/1.35 "Segoe UI", Arial, sans-serif; }
.rail-group a:last-child { border-bottom: 0; }
.rail-group a:hover { background: #20282c; color: #f0d394; }
.rail-group a.is-current { padding-left: 6px; background: #20282c; box-shadow: inset 2px 0 #c9a866; color: #f0d394; }
.rail-coin { width: 24px; height: 24px; margin: -3px 1px -3px -3px; object-fit: contain; image-rendering: auto; }
.rail-shop { border-bottom: 0; }
.main-column { min-width: 0; }
.page-view { min-width: 0; }
.page-view[hidden] { display: none; }

.news-ticker { display: grid; grid-template-columns: 93px minmax(0, 1fr); overflow: hidden; margin-bottom: 11px; border: 1px solid #303942; border-radius: 3px; background: #11171e; box-shadow: var(--shadow); }
.ticker-title { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; background: #1c252f; color: #d9c9aa; font: 600 13px Georgia, "Times New Roman", serif; letter-spacing: .08em; }
.ticker-symbol { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.ticker-items { display: grid; }
.ticker-items div { min-height: 31px; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 6px; padding: 4px 10px; border-bottom: 1px solid rgba(53, 65, 75, .63); color: #c2c9ce; font-size: 11px; }
.ticker-items div:last-child { border-bottom: 0; }
.ticker-items time { color: #c5a366; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.ticker-items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.news-section { min-width: 0; }
.intro-feature { min-height: 181px; display: grid; grid-template-columns: minmax(0, 1fr) 197px; align-items: center; gap: 15px; padding: 15px; border: 1px solid #303942; border-radius: 3px; background: #11171e; }
.intro-copy .eyebrow, .section-heading .eyebrow { color: #c9a866; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.intro-copy h1 { margin: 6px 0 7px; color: #e7dfd1; font: 500 22px/1.2 Georgia, "Times New Roman", serif; }
.intro-copy p { margin: 0; color: #a8b2b9; font-size: 12px; line-height: 1.6; }
.read-link { display: inline-block; margin-top: 9px; color: #91b7cf; font-size: 11px; font-weight: 600; }
.read-link span { padding-left: 4px; color: var(--gold); }
.read-link:hover { color: #c7e3f1; }
.map-art { width: 100%; height: 143px; display: block; overflow: hidden; border: 2px solid #6b674e; object-fit: cover; image-rendering: pixelated; box-shadow: inset 0 0 22px rgba(10, 20, 13, .45); }
.map-path { position: absolute; inset: 41% -15% -30%; clip-path: polygon(0 37%, 17% 28%, 34% 53%, 50% 36%, 67% 58%, 83% 33%, 100% 45%, 100% 62%, 82% 51%, 68% 75%, 49% 52%, 33% 72%, 16% 46%, 0 58%); background: #ac9160; border-top: 3px solid #c3aa79; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .45)); }
.map-water { position: absolute; left: -11%; top: -26%; width: 43%; height: 55%; clip-path: polygon(0 0, 100% 0, 83% 32%, 100% 63%, 74% 100%, 49% 74%, 19% 94%, 0 73%); background: linear-gradient(145deg, #668f9a, #345f6f); opacity: .91; }
.map-house { position: absolute; left: 55%; top: 23%; width: 34px; height: 26px; background: linear-gradient(90deg, #d1c198 0 19%, #806947 20% 80%, #d1c198 81%); border: 2px solid #4a4637; box-shadow: 0 2px 3px rgba(0, 0, 0, .45); }
.map-house::before { content: ""; position: absolute; left: -5px; right: -5px; top: -13px; height: 15px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #826047; border-bottom: 2px solid #302b25; }
.map-tree { position: absolute; width: 26px; height: 25px; border: 2px solid rgba(36, 57, 35, .75); border-radius: 48% 52% 45% 55%; background: radial-gradient(circle at 36% 32%, #86a557, #456d3c 58%, #2d5035); box-shadow: 2px 3px 3px rgba(0, 0, 0, .34); }
.tree-a { left: 13%; top: 59%; }.tree-b { right: 9%; top: 18%; width: 32px; height: 29px; }.tree-c { right: 21%; bottom: 7%; width: 22px; height: 23px; }
.map-marker { position: absolute; left: 42%; top: 45%; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #f4dda6; border-radius: 50%; background: #17222a; color: #f1d18f; font: 700 11px Georgia, serif; box-shadow: 0 0 0 4px rgba(209, 170, 105, .2); }
.section-heading { min-height: 38px; display: flex; align-items: end; justify-content: space-between; margin: 17px 0 8px; padding: 0 2px 6px; border-bottom: 1px solid #303942; }
.section-heading h2 { margin: 3px 0 0; color: #e3dacb; font: 500 20px Georgia, "Times New Roman", serif; }
.small-link { color: #a6b1b8; font-size: 9px; }
.small-link span { color: var(--gold); }
.latest-news-list { overflow: hidden; border: 1px solid #2a333c; border-radius: 3px; background: #11171e; }
.latest-news { display: grid; grid-template-columns: 44px minmax(0, 1fr) 19px; align-items: start; gap: 10px; padding: 11px 10px; border-bottom: 1px solid #2a333c; }
.latest-news:last-child { border-bottom: 0; }
.latest-date { min-height: 42px; display: grid; align-content: center; justify-items: center; border: 1px solid #303b45; border-radius: 2px; background: #19232c; }
.latest-date strong { color: #d9c49c; font: 500 17px Georgia, serif; line-height: 1; }
.latest-date small { margin-top: 4px; color: #91a0aa; font-size: 6px; letter-spacing: .08em; }
.latest-news .tag { display: inline-block; }
.tag { padding: 2px 5px; border-radius: 2px; background: #1e2a34; color: #a9c0ce; font-size: 7px; letter-spacing: .08em; }
.tag-gold { background: rgba(202, 160, 86, .12); color: #d7b777; }
.latest-news h3 { margin: 5px 0 3px; color: #dce1e4; font-size: 13px; font-weight: 600; }
.latest-news p { margin: 0; color: #a4afb6; font-size: 11px; line-height: 1.55; }
.latest-news>a { color: #9ebdd0; font-size: 15px; }

.right-rail { display: grid; gap: 10px; min-width: 0; }
.side-card { overflow: hidden; border: 1px solid #303942; border-radius: 3px; background: #11171e; box-shadow: var(--shadow); }
.card-heading { min-height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid #313a43; background: #1c252e; color: #d9c9aa; font: 600 12px Georgia, "Times New Roman", serif; letter-spacing: .07em; }
.card-heading>a { color: #c9a869; font: 700 9px Tahoma, Arial, sans-serif; letter-spacing: .04em; }
.question-mark { width: 14px; height: 14px; display: grid; place-items: center; border: 1px solid #667580; border-radius: 50%; color: #aab6bd; font: 9px Georgia, serif; }
.server-state { display: flex; align-items: center; gap: 8px; padding: 12px 10px 10px; }
.state-ring { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 1px solid rgba(211, 170, 105, .58); border-radius: 50%; }
.state-ring span { width: 7px; height: 7px; border-radius: 50%; background: #d5aa63; }
.server-state div { display: grid; }
.server-state strong { color: #dfe3e5; font-size: 11px; }
.server-state small { color: #a1adb5; font-size: 9px; }
.server-details { margin: 0 10px; border-top: 1px solid #2c353e; }
.server-details div { display: flex; justify-content: space-between; gap: 5px; padding: 6px 0; border-bottom: 1px solid rgba(44, 53, 62, .72); font-size: 10px; }
.server-details div:last-child { border-bottom: 0; }
.server-details span { color: #919da6; }
.server-details strong { color: #cbd3d8; font-size: 10px; font-weight: 600; text-align: right; }
.card-footer-link { min-height: 33px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-top: 1px solid #2c353e; color: #9cbdd0; font-size: 10px; }
.card-footer-link span { color: var(--gold); font-size: 13px; }
.empty-ranking { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; text-align: center; }
.ranking-cup { color: #cba664; font-size: 19px; }
.empty-ranking strong { margin-top: 4px; color: #e1dacd; font: 500 13px Georgia, serif; }
.empty-ranking small { max-width: 170px; margin-top: 4px; color: #a0acb4; font-size: 10px; }
.stream-content { min-height: 61px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; }
.stream-content img { width: 42px; height: 42px; object-fit: contain; }
.stream-content div { display: grid; }
.stream-content strong { color: #e5dfd4; font: 500 12px Georgia, serif; }
.stream-content small { color: #8b99a3; font-size: 8px; }
.stream-live-dot { width: 16px; height: 16px; display: block; margin-bottom: 5px; border: 2px solid #72808a; border-radius: 50%; box-shadow: inset 0 0 0 4px #202a32; }

.page-view.inner-page { min-height: 570px; padding: 22px; border: 1px solid #303942; border-radius: 3px; background: #11171e; box-shadow: var(--shadow); }
.page-kicker { margin-bottom: 10px; color: #c8a568; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.page-kicker span { padding: 0 6px; color: #71808b; }
.inner-page>h1 { margin: 0; color: #eee7db; font: 500 28px/1.2 Georgia, "Times New Roman", serif; }
.page-intro { margin: 8px 0 20px; color: #a0acb5; font-size: 11px; }
.notice-card { display: flex; gap: 11px; padding: 12px; border: 1px solid rgba(193, 152, 81, .29); border-radius: 3px; background: rgba(147, 112, 53, .08); }
.server-system-notices { display: grid; gap: 9px; margin-top: 22px; }
.notice-symbol { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border: 1px solid rgba(211, 175, 113, .65); border-radius: 50%; color: #d6b574; font: 12px Georgia, serif; }
.notice-card strong { color: #e3d3b5; font-size: 10px; }
.notice-card p { margin: 3px 0 0; color: #9caab4; font-size: 9px; line-height: 1.65; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 15px 0 23px; }
.info-card { min-height: 112px; padding: 12px; border: 1px solid #2b3742; border-radius: 3px; background: #151e27; }
.info-symbol { display: block; margin-bottom: 9px; color: #cba664; font-size: 16px; }
.info-card small { display: block; color: #85939e; font-size: 7px; letter-spacing: .12em; }
.info-card strong { display: block; margin-top: 4px; color: #e2e5e5; font: 500 14px Georgia, serif; }
.info-card p { margin: 4px 0 0; color: #8c9aa5; font-size: 8px; }
.subheading { margin: 22px 0 9px; color: #e7dfd1; font: 500 17px Georgia, serif; }
.server-info-tables { display: grid; gap: 3px; margin: 13px 0 22px; }
.server-info-section .subheading { margin: 18px 0 8px; }
.server-info-section:first-child .subheading { margin-top: 13px; }
.server-info-table { width: 100%; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 3px; background: var(--panel); }
.server-info-table th, .server-info-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 11px; line-height: 1.45; }
.server-info-table th { width: 34%; background: var(--panel-light); color: var(--gold-light); font-weight: 700; }
.server-info-table td { background: var(--panel); color: var(--muted); }
.server-info-table tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.server-info-table tr:last-child th, .server-info-table tr:last-child td { border-bottom: 0; }
.pending-value { color: var(--gold); font-weight: 700; }
.server-table-scroll { overflow-x: auto; }
.banishments-toolbar { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.banishments-counts, .banishments-actions, .banishments-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.banishments-counts strong { color: var(--gold-light); }
.banishments-counts span, .banishments-actions label, .banishments-footnote { color: var(--muted); }
.banishments-actions .houses-select { min-width: 155px; }
.banishments-message { color: #e9aa89; }
.banishments-message:empty { display: none; }
.banishments-table-scroll { overflow-x: hidden; border: 1px solid var(--line); border-radius: 3px; }
.server-info-table.banishments-table { width: 100%; min-width: 0; border: 0; table-layout: fixed; }
.server-info-table.banishments-table th { width: auto; }
.banishments-table th:nth-child(1) { width: 20%; }
.banishments-table th:nth-child(2) { width: 8%; }
.banishments-table th:nth-child(3) { width: 36%; }
.banishments-table th:nth-child(4), .banishments-table th:nth-child(5) { width: 18%; }
.banishments-table td { overflow-wrap: anywhere; }
.banishments-table th, .banishments-table td { padding: 7px 6px; overflow-wrap: anywhere; }
.banishments-table td small { display: block; color: var(--muted); }
.banishments-table .banishments-name { color: var(--gold-light); font-weight: 700; }
.banishments-name a { color: #72b9e8; text-decoration: none; }
.banishments-name a:hover { text-decoration: underline; }
.banishments-status { text-transform: capitalize; }
.banishments-status--active { color: #a9d4a8 !important; }
.banishments-pagination { justify-content: flex-end; margin-top: 14px; }
.banishments-pagination[hidden] { display: none; }
@media (max-width: 700px) {
  .banishments-table th, .banishments-table td { padding: 6px 3px; font-size: 9px; }
  .banishments-table th:nth-child(1) { width: 18%; }
  .banishments-table th:nth-child(2) { width: 8%; }
  .banishments-table th:nth-child(3) { width: 30%; }
  .banishments-table th:nth-child(4), .banishments-table th:nth-child(5) { width: 22%; }
}
.banishments-footnote { margin-top: 12px; font-size: 11px; }
.characters-search-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.characters-search-form label { width: 100%; color: var(--gold-light); }
.characters-search-form input { flex: 1; min-width: 220px; padding: 10px 12px; color: var(--text); background: #0d171c; border: 1px solid var(--line); border-radius: 3px; }
#characters-results { display: grid; gap: 4px; }
#characters-results a { padding: 10px; color: #72b9e8; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
#characters-results a:hover { text-decoration: underline; }
.characters-back { display: inline-block; margin: 10px 0 18px; color: var(--gold-light); }
.characters-detail-table { max-width: 650px; margin-top: 14px; }
.characters-detail-table { max-width: none; margin-top: 8px; }
.characters-section-heading { margin: 16px 0 9px; color: var(--text); font-size: 17px; }
.characters-detail-table th { width: 25%; }
.character-ban-label { color: #ed6a5e; }
.characters-deaths { margin-top: 24px; }
.characters-deaths-table td:first-child { width: 25%; white-space: nowrap; }
.characters-deaths-table a { color: #72b9e8; }
.characters-detail-search { margin-top: 24px; }
.characters-detail-search .characters-search-form { margin-top: 0; }
.community-live-count { margin: 15px 0; padding: 11px 13px; color: var(--gold-light); background: var(--panel); border: 1px solid var(--line); }
.community-live-message { color: #e9aa89; }
.community-live-message:empty { display: none; }
.community-live-table-wrap { width: 100%; overflow-x: hidden; border: 1px solid var(--line); border-radius: 3px; }
.server-info-table.community-live-table { width: 100%; min-width: 0; border: 0; table-layout: fixed; }
.server-info-table.community-live-table th { width: auto; }
.community-live-table th, .community-live-table td { overflow-wrap: anywhere; }
.community-live-table a { color: #72b9e8; text-decoration: none; }
.community-live-table a:hover { text-decoration: underline; }
.online-table th:nth-child(1) { width: 55%; }
.online-table th:nth-child(2) { width: 15%; }
.online-table th:nth-child(3) { width: 30%; }
.highscores-table th:nth-child(1) { width: 8%; }
.highscores-table th:nth-child(2) { width: 30%; }
.highscores-table th:nth-child(3) { width: 27%; }
.highscores-table th:nth-child(4) { width: 10%; }
.highscores-table th:nth-child(5) { width: 25%; }
.highscores-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 18px; }
.highscores-filters label { display: grid; gap: 5px; color: var(--muted); }
.community-live-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; }
.community-live-pagination[hidden] { display: none; }
.support-faq-list { display: grid; gap: 9px; margin-top: 16px; }
.support-faq-list details, .support-contact-card { border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.support-faq-list summary { padding: 13px 16px; color: var(--gold-light); font-weight: 700; cursor: pointer; }
.support-faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.support-faq-list p { margin: 0; padding: 12px 16px 16px; color: var(--muted); line-height: 1.6; }
.support-faq-list a { color: var(--gold-light); }
.support-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.support-contact-links { margin-top: 18px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.support-contact-links p { margin: 4px 0; color: var(--muted); line-height: 1.5; }
.support-contact-links strong { color: var(--gold-light); }
.support-contact-card { padding: 17px; }
.support-contact-card h2 { margin: 0 0 10px; color: var(--gold-light); font-size: 18px; }
.support-contact-card p, .support-contact-note { color: var(--muted); line-height: 1.6; }
.support-contact-note { margin-top: 16px; }
@media (max-width: 700px) { .support-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
  .community-live-table th, .community-live-table td { padding: 6px 4px; font-size: 9px; }
  .highscores-table th:nth-child(1) { width: 9%; }
  .highscores-table th:nth-child(2) { width: 28%; }
  .highscores-table th:nth-child(3) { width: 25%; }
  .highscores-table th:nth-child(4) { width: 10%; }
  .highscores-table th:nth-child(5) { width: 28%; }
}
@media (max-width: 600px) {
  .characters-deaths-table td:first-child { width: 33%; white-space: normal; }
}
.server-info-table.vocation-table { min-width: 620px; }
.server-info-table.vocation-table th { width: auto; }
.server-info-table.vocation-table tbody th { width: 24%; }
.server-info-table.vocation-table th, .server-info-table.vocation-table td { white-space: nowrap; }
.server-info-table.vocation-table thead th { border-bottom: 1px solid var(--line); }
.server-info-note { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.link-cards a { position: relative; display: grid; gap: 3px; padding: 11px; border: 1px solid #2b3947; border-radius: 3px; background: #151e27; }
.link-cards a:hover, .guide-card:hover { border-color: #786344; background: #1a252e; }
.link-cards span { color: #e0d9cc; font-size: 10px; font-weight: 700; }
.link-cards small { color: #8997a3; font-size: 8px; }
.link-cards b { position: absolute; top: 10px; right: 10px; color: #c7a05d; font-size: 14px; }
.community-tabs { display: flex; gap: 4px; margin: 19px 0 0; border-bottom: 1px solid #2b3946; }
.tab { padding: 9px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #99a6b0; font-size: 9px; cursor: pointer; }
.tab.is-selected { border-bottom-color: #d2ab67; color: #e5d4b3; }
.community-panel { padding: 13px 0; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.table-toolbar h2 { margin: 0; color: #e8e0d3; font: 500 15px Georgia, serif; }
.search-box, .guide-search { display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #34404a; border-radius: 3px; background: #0f151c; color: #a5b1ba; }
.search-box { width: 190px; height: 30px; }
.search-box>span, .guide-search>span { color: #d0aa65; font-size: 16px; }
.search-box input, .guide-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #e2e6e9; font-size: 9px; }
.search-box input::placeholder, .guide-search input::placeholder { color: #7f8e99; }
.demo-filter { padding: 6px 9px; border: 1px solid #34404a; border-radius: 3px; color: #b1bbc3; font-size: 9px; }
.empty-state { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 12px; border: 1px dashed #354452; border-radius: 3px; background: rgba(18, 27, 37, .6); text-align: center; }
.empty-icon { color: #c5a161; font-size: 23px; }
.empty-state strong { margin-top: 6px; color: #e0e4e5; font: 500 14px Georgia, serif; }
.empty-state p { max-width: 315px; margin: 5px 0 0; color: #8d9aa5; font-size: 9px; }
.guide-search { width: min(100%, 390px); height: 36px; margin: 18px 0; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.guide-card { min-height: 105px; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 12px; border: 1px solid #2b3946; border-radius: 3px; background: #151e27; text-align: left; cursor: pointer; }
.guide-card>span { margin-bottom: 3px; color: #d0a963; font-size: 16px; }
.guide-card strong { color: #e0e3e3; font-size: 11px; }
.guide-card small { color: #8d9ba6; font-size: 8px; }
.guide-card b { position: absolute; top: 12px; right: 12px; color: #bd995c; font-weight: 400; }
.quiet-note { margin-top: 14px; color: #81909c; font-size: 8px; }
.shop-hero { display: flex; align-items: center; gap: 16px; margin: 16px 0; padding: 18px; border: 1px solid #685330; border-radius: 3px; background: radial-gradient(ellipse at 24% 50%, rgba(201, 159, 86, .12), transparent 45%), linear-gradient(100deg, #1c2630, #151d26); }
.shop-hero img { width: 78px; height: 78px; object-fit: contain; }
.shop-hero h2 { margin: 5px 0; color: #f0e5d2; font: 500 21px Georgia, serif; }
.shop-hero p { max-width: 460px; margin: 0; color: #aab5bd; font-size: 9px; line-height: 1.7; }
.shop-categories { display: flex; flex-wrap: wrap; gap: 7px; }
.shop-payment-methods { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 10px; margin: 12px 0 8px; }
.shop-flow { margin: 18px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); }
.shop-step[hidden] { display: none; }
.shop-step > p { color: var(--muted); }
.shop-step .subheading { margin-top: 0; }
.shop-step .account-form { margin: 12px 0 0; }
.shop-account-label { color: var(--muted); font-weight: 500; }
.shop-balance-panel { margin-top: 16px; padding: 10px 2px 0; border-top: 1px solid var(--line); }
.shop-balance-panel[hidden] { display: none; }
.shop-balance-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; color: var(--muted); font-size: 12px; }
.shop-balance-row strong { color: var(--gold-light); font-size: 13px; }
.shop-balance-refresh { margin-left: 5px; padding: 2px 4px; border: 0; background: transparent; color: var(--gold-light); font-size: 11px; text-decoration: underline; cursor: pointer; }
.shop-balance-note { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.shop-terms-copy { margin: 0 0 18px; }
.shop-terms-copy section { padding: 15px 0; border-bottom: 1px solid var(--line); }
.shop-terms-copy h3 { margin: 0 0 6px; color: var(--gold-light); font: 600 16px Georgia, "Times New Roman", serif; }
.shop-terms-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.shop-agreement-consent { margin: 18px 0 !important; }
.shop-agreement-consent span { color: var(--text); font-size: 13px; }
.shop-back { padding: 0; margin: 0 0 14px; border: 0; background: none; color: var(--gold-light); cursor: pointer; }
.shop-package-label { display: block; margin: 10px 0 5px; color: var(--gold-light); font-weight: 700; }
.shop-step #shop-package { width: min(100%, 600px); }
.shop-flow-message { margin-bottom: 0; }
.shop-payment-method { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); }
.shop-payment-method { cursor: pointer; }
.shop-payment-method:has(input:checked) { border-color: var(--gold-light); background: rgba(201, 159, 86, .1); }
.shop-payment-method input { accent-color: #d7ae68; width: 17px; height: 17px; flex: 0 0 17px; }
.shop-payment-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.shop-payment-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.shop-payment-method strong { color: var(--gold-light); }
.shop-payment-method span { color: var(--muted); font-size: 11px; }
.shop-payment-note { margin: 0 0 16px; color: var(--muted); }
.shop-sandbox-total { margin: 0 0 12px; color: var(--gold-light); font-weight: 700; }
#shop-paypal-sandbox-button { display: block; width: min(100%, 420px); margin: 0 0 12px; }
#shop-paypal-sandbox-button[hidden] { display: none; }
.shop-success { padding: 20px; border: 1px solid #6d8955; border-radius: 4px; background: linear-gradient(135deg, #1d3327, #12231b); text-align: center; }
.shop-success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border: 2px solid #a7c787; border-radius: 50%; color: #d5efbd; font-size: 31px; font-weight: 700; }
.shop-success-eyebrow { margin: 0 0 8px; color: #d6b16e !important; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.shop-success h2 { margin: 0 0 10px; color: #f4ead8; font: 600 31px Georgia, serif; }
.shop-success-lead { color: #e0efda !important; font-size: 16px; font-weight: 700; }
.shop-success p { max-width: 580px; margin: 0 auto 14px; line-height: 1.6; }
.shop-success-reference { overflow-wrap: anywhere; color: #b8cdb4 !important; font-size: 12px; }
.shop-success .button { margin-top: 8px; }
@media (max-width: 620px) { .shop-payment-methods { grid-template-columns: 1fr; } }
.shop-categories span { padding: 7px 11px; border: 1px solid #34424f; border-radius: 3px; background: #151e27; color: #bbc5cc; font-size: 9px; }
.download-card { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 14px; border: 1px solid #2c3a47; border-radius: 3px; background: #151e27; }
.download-icon { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border: 1px solid #4b422f; border-radius: 3px; background: #221f1a; color: #d2ad6b; font-size: 18px; }
.download-copy { flex: 1; }
.download-copy h2 { margin: 4px 0 3px; color: #e9e0d3; font: 500 15px Georgia, serif; }
.download-copy p { margin: 0; color: #9ba9b3; font-size: 9px; }
.download-copy>small { display: block; margin-top: 5px; color: #788893; font-size: 8px; }
.button-disabled { border: 1px solid #344351; background: #1b2631; color: #8d9aa5; cursor: default; }
.button-disabled:hover { transform: none; }
.account-form { max-width: 550px; padding: 15px; border: 1px solid #2a3947; border-radius: 3px; background: #151e27; }
.account-form>label, .form-columns label { display: grid; gap: 6px; margin-bottom: 12px; color: #b9c4cb; font-size: 9px; }
.account-form input:not([type=checkbox]) { height: 34px; padding: 0 9px; border: 1px solid #334351; border-radius: 3px; outline: 0; background: #0f171f; color: #e1e5e8; font-size: 10px; }
.account-form input:focus, .search-box:focus-within, .guide-search:focus-within { border-color: #b68f50; box-shadow: 0 0 0 2px rgba(204, 165, 97, .11); }
.account-form input::placeholder { color: #71808d; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-help { display: block; margin: -2px 0 11px; color: #8795a0; font-size: 8px; }
.check-row { display: grid !important; grid-template-columns: 14px 1fr !important; align-items: center; gap: 7px !important; margin-bottom: 13px !important; }
.check-row input { accent-color: #cba35f; }
.check-row span { color: #a8b4bc; font-size: 8px; }
.shop-agreement-consent { grid-template-columns: 22px minmax(0, 1fr) !important; gap: 11px !important; cursor: pointer; }
.shop-agreement-consent input { width: 20px; height: 20px; margin: 0; accent-color: #d8ad69; cursor: pointer; }
.shop-agreement-consent input:focus-visible { outline: 2px solid #e8c98e; outline-offset: 3px; }
.shop-agreement-consent span { color: #edf0e8; font-size: 15px; font-weight: 600; line-height: 1.4; }
.account-form>.button { min-height: 35px; }
.form-footnote { margin: 10px 0 0; color: #788792; font-size: 8px; }
.back-home { margin-top: 14px; }

.site-footer { width: min(1120px, calc(100% - 36px)); min-height: 67px; display: flex; align-items: center; gap: 20px; margin: 0 auto; padding: 12px 0 18px; border-top: 1px solid #252f38; }
.footer-brand { display: flex; align-items: center; gap: 7px; }
.footer-brand img { width: 31px; height: 31px; object-fit: contain; }
.footer-brand span { display: grid; }
.footer-brand strong { color: #dfd2bc; font: 600 9px Georgia, serif; letter-spacing: .12em; }
.footer-brand small { color: #82909b; font-size: 7px; }
.footer-links { display: flex; gap: 12px; margin-left: auto; }
.footer-links a { color: #98a6b1; font-size: 8px; }
.footer-copy { padding-left: 12px; border-left: 1px solid #2a3640; color: #748390; font-size: 7px; }
.toast { position: fixed; z-index: 10; right: 18px; bottom: 18px; max-width: min(380px, calc(100vw - 36px)); padding: 11px 14px; border: 1px solid #6c5837; border-radius: 3px; background: #171f27; color: #e9d5b0; font-size: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.is-shown { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-shell, .masthead-content, .site-footer { width: min(100% - 28px, 1000px); }
  .site-shell { grid-template-columns: 206px minmax(0, 1fr) 190px; gap: 10px; }
  .intro-feature { grid-template-columns: minmax(0, 1fr) 165px; gap: 10px; padding: 12px; }
  .map-art { height: 130px; }
}

@media (max-width: 820px) {
  .site-header { height: 190px; }
  .site-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .left-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .rail-group { min-height: 0; border-right: 1px solid #2b333c; }
  .rail-group:nth-of-type(4) { border-right: 0; }
  .rail-shop { border-right: 0; }
  .right-rail { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 620px) {
  .preview-ribbon { font-size: 7px; letter-spacing: .08em; }
  .site-header { height: 169px; }
  .masthead-content { width: calc(100% - 22px); transform: translateY(-11px); }
  .brand-mark { width: 53px; height: 53px; }
  .brand-type strong { font-size: 21px; }
  .button { min-height: 30px; padding: 0 10px; font-size: 9px; }
  .site-shell, .site-footer { width: calc(100% - 20px); }
  .site-shell { grid-template-columns: 1fr; }
  .left-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-title { grid-column: 1 / -1; }
  .rail-group { min-height: 0; padding: 8px 6px; }
  .rail-group:nth-of-type(3) { border-right: 0; }
  .rail-group:nth-of-type(4) { border-right: 1px solid #2b333c; }
  .rail-group:nth-of-type(5) { border-right: 0; }
  .rail-shop { grid-column: 1 / -1; }
  .rail-group a { font-size: 13px; }
  .news-ticker { grid-template-columns: 1fr; }
  .ticker-title { justify-content: flex-start; padding: 7px 9px; }
  .ticker-items div { grid-template-columns: 55px minmax(0, 1fr); min-height: 25px; padding: 3px 8px; font-size: 8px; }
  .home-grid { grid-template-columns: 1fr; }
  .intro-feature { grid-template-columns: 1fr; }
  .map-art { height: 145px; }
  .right-rail { grid-template-columns: 1fr 1fr; align-items: start; }
  .server-card { grid-column: 1 / -1; }
  .stream-card { grid-column: 1 / -1; }
  .page-view.inner-page { min-height: 0; padding: 17px 12px; }
  .inner-page>h1 { font-size: 24px; }
  .page-intro { font-size: 10px; }
  .server-info-table th, .server-info-table td { padding: 7px 8px; font-size: 9px; }
  .server-info-table th { width: 40%; }
  .link-cards { grid-template-columns: 1fr; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  .search-box { width: 100%; }
  .community-tabs { overflow-x: auto; }
  .tab { white-space: nowrap; }
  .shop-hero { gap: 10px; padding: 13px; }
  .shop-hero img { width: 64px; height: 64px; }
  .shop-hero h2 { font-size: 18px; }
  .download-card { align-items: flex-start; flex-wrap: wrap; }
  .download-copy { min-width: calc(100% - 52px); }
  .download-card .button { margin-left: 49px; }
  .form-columns { grid-template-columns: 1fr; gap: 0; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-wrap: wrap; gap: 10px; }
  .footer-brand { width: 100%; }
  .footer-links { margin-left: 0; }
  .footer-copy { width: 100%; padding: 8px 0 0; border-top: 1px solid #26323d; border-left: 0; }
}





/* Reading scale for the page body. The ribbon and masthead intentionally keep their current styling. */
.site-shell { font: 15px/1.55 "Segoe UI", Tahoma, Arial, sans-serif; }
.site-footer { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.rail-group a { font-weight: 500; }
.ticker-items div { font-size: 12px; }
.ticker-items time { font-size: 10px; }
.intro-copy .eyebrow, .section-heading .eyebrow { font-size: 11px; }
.intro-copy h1 { font-size: 23px; }
.intro-copy p { font-size: 13px; }
.read-link { font-size: 12px; font-weight: 500; }
.small-link { font-size: 10px; }
.latest-date small { font-size: 8px; }
.tag { font-size: 8px; }
.latest-news h3 { font-size: 14px; }
.latest-news p { font-size: 12px; }
.card-heading { font-size: 13px; }
.card-heading > a { font-size: 10px; }
.server-state strong { font-size: 12px; }
.server-state small { font-size: 10px; }
.server-details div { font-size: 11px; }
.server-details strong { font-size: 11px; }
.card-footer-link { font-size: 11px; }
.empty-ranking strong { font-size: 14px; }
.empty-ranking small { font-size: 11px; }
.stream-content strong { font-size: 13px; }
.stream-content small { font-size: 9px; }
.page-kicker { font-size: 9px; }
.inner-page > h1 { font-size: 30px; }
.page-intro { font-size: 13px; }
.notice-card strong { font-size: 11px; }
.notice-card p { font-size: 11px; }
.info-card small { font-size: 8px; }
.info-card p { font-size: 10px; }
.subheading { font-size: 18px; }
.link-cards span { font-size: 11px; }
.link-cards small { font-size: 9px; }
.tab { font-size: 11px; }
.search-box input, .guide-search input { font-size: 11px; }
.demo-filter { font-size: 10px; }
.empty-state strong { font-size: 15px; }
.empty-state p { font-size: 11px; }
.guide-card strong { font-size: 12px; }
.guide-card small { font-size: 9px; }
.quiet-note { font-size: 9px; }
.shop-hero h2 { font-size: 22px; }
.shop-hero p { font-size: 11px; }
.shop-categories span { font-size: 10px; }
.download-copy p { font-size: 11px; }
.download-copy > small { font-size: 9px; }
.account-form > label, .form-columns label { font-size: 11px; }
.account-form input:not([type=checkbox]) { font-size: 11px; }
.form-help, .form-footnote { font-size: 9px; }
.check-row span { font-size: 9px; }
.footer-brand strong { font-size: 10px; }
.footer-brand small { font-size: 8px; }
.footer-links a { font-size: 10px; }
.footer-copy { font-size: 9px; }
.right-rail .card-heading { gap: 5px; font-size: 11px; letter-spacing: .05em; }
.right-rail .card-heading > a { flex: 0 0 auto; font-size: 8px; }

@media (max-width: 820px) {
  .site-shell { font-size: 14px; }
}
@media (max-width: 620px) {
  .rail-group a { font-size: 13px; }
  .ticker-items div { font-size: 10px; }
  .page-intro { font-size: 12px; }
  .shop-hero p { font-size: 10px; }
}

/* Vespera identity refresh: moonlit blue, sea-glass accents, and softer panel framing. */
:root {
  --bg: #07111a;
  --panel: #101d29;
  --panel-light: #172a38;
  --line: #2a4655;
  --text: #e6edf0;
  --muted: #a8bbc5;
  --dim: #78919d;
  --gold: #b9a06b;
  --gold-light: #e1d2aa;
  --blue: #75c2c5;
  --shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

body {
  background: radial-gradient(ellipse at 50% 8%, rgba(35, 107, 126, .18), transparent 52%), var(--bg);
}
.preview-ribbon {
  border-bottom-color: #213b49;
  background: #0c1923;
}
.ribbon-dot { background: #78c6c4; box-shadow: 0 0 8px rgba(120, 198, 196, .55); }
.site-shell { gap: 14px; }
.left-rail {
  border: 1px solid #294756;
  border-radius: 6px;
  background: #0b1721;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
}
.rail-group {
  border-bottom: 1px solid #263f4d;
  background: #0d1923;
}
.rail-toggle {
  min-height: 51px;
  padding: 0 13px;
  border-left: 3px solid transparent;
  background: linear-gradient(105deg, #193747, #132b38 70%, #17313d);
  color: #dbe4e4;
  text-shadow: none;
}
.rail-toggle:hover, .rail-toggle:focus-visible {
  border-left-color: #82c9c5;
  background: linear-gradient(105deg, #214b59, #183542 70%, #20414c);
  color: #f1dfb5;
  outline-color: #54888e;
}
.rail-toggle[aria-expanded="true"] { border-left-color: #78c6c4; }
.rail-chevron { color: #78c6c4; }
.rail-links {
  padding: 7px 12px 8px;
  border-top-color: #294653;
  background: #0a151e;
}
.rail-group a {
  border-bottom-color: #203946;
  color: #cad8dc;
}
.rail-group a:hover { background: #142c38; color: #f0dfb5; }
.rail-group a.is-current {
  background: #17323e;
  box-shadow: inset 2px 0 #78c6c4;
  color: #f0dfb5;
}
.rail-shop { border-bottom: 0; }

.news-ticker, .intro-feature, .latest-news-list, .side-card, .page-view.inner-page {
  border-color: #294654;
  border-radius: 6px;
  background-color: #101d29;
}
.news-ticker { background: linear-gradient(115deg, #10212d, #0e1a25 68%); }
.ticker-title, .card-heading {
  border-color: #2a4856;
  background: linear-gradient(105deg, #1a3745, #152b38 72%, #193541);
  color: #dfe7e5;
}
.ticker-items div { border-bottom-color: rgba(48, 81, 96, .72); color: #c5d2d7; }
.ticker-items time, .card-heading > a { color: #83c7c5; }
.intro-feature { background: linear-gradient(120deg, #122532, #101c27 72%); }
.section-heading { border-bottom-color: #2b4653; }
.section-heading h2, .table-toolbar h2 { color: #e2e7e5; }
.latest-news-list { background: #0e1a24; }
.latest-news { border-bottom-color: #263e4a; }
.latest-news h3 { color: #e0e7e8; }
.latest-news p, .page-intro, .shop-hero p { color: #a9bac3; }
.latest-news > a, .read-link { color: #81c4c4; }
.side-card { box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.card-heading { border-bottom-color: #294653; }
.server-state { border-color: #294653; background: #142833; }
.server-state strong { color: #8fd0bd; }
.ranking-list li, .stream-content { border-color: #294653; background: #12232e; }
.page-view.inner-page { background: linear-gradient(145deg, #111f2b, #0e1923 68%); }
.notice-card {
  border-color: rgba(104, 178, 180, .3);
  border-radius: 6px;
  background: rgba(64, 136, 145, .09);
}
.notice-card strong { color: #d9e5e3; }
.link-cards a, .guide-card, .download-card, .info-card {
  border-color: #2a4655;
  border-radius: 6px;
  background: #142430;
}
.link-cards a:hover, .guide-card:hover {
  border-color: #5d9fa4;
  background: #193441;
}
.link-cards span { color: #dce6e7; }
.link-cards b, .tab.is-selected { color: #8bcac7; }
.tab { color: #a8bac3; }
.tab.is-selected { border-bottom-color: #78c6c4; }
.search-box, .guide-search, .search-box input, .guide-search input {
  border-color: #31505e;
  background: #0c1922;
  color: #e3ecee;
}
.shop-hero {
  border-color: #315563;
  border-radius: 6px;
  background: radial-gradient(ellipse at 22% 50%, rgba(76, 157, 162, .16), transparent 46%), linear-gradient(110deg, #18313e, #12232e 75%);
}
.shop-hero h2 { color: #e7e9df; }
.shop-categories span { border-color: #31505d; background: #142732; color: #c7d7da; }
.site-footer { border-top-color: #223c49; }
.footer-copy { border-left-color: #294653; }

@media (max-width: 620px) {
  .rail-group:nth-of-type(4) { border-right-color: #263f4d; }
  .footer-copy { border-top-color: #294653; }
}

/* Keep the approved top status ribbon unchanged. */
.preview-ribbon { border-bottom-color: #303943; background: #141b24; color: #b5bec4; }
.ribbon-dot { background: #d1aa69; box-shadow: 0 0 8px rgba(209, 170, 105, .7); }

/* Alternative Vespera palettes, previewable with ?palette=royal or ?palette=forest. */
html[data-palette="royal"] {
  --bg: #0b0d19;
  --panel: #15192a;
  --panel-light: #202842;
  --line: #394362;
  --text: #e8e9ef;
  --muted: #b1b7c9;
  --dim: #838ba8;
  --gold: #c5a96e;
  --gold-light: #e6d2a2;
  --blue: #929fe8;
  --shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
html[data-palette="royal"] body { background: radial-gradient(ellipse at 52% 8%, rgba(80, 91, 157, .2), transparent 52%), var(--bg); }
html[data-palette="royal"] .left-rail { border-color: #394362; background: #0d1120; }
html[data-palette="royal"] .rail-group { border-bottom-color: #303b58; background: #111629; }
html[data-palette="royal"] .rail-toggle { background: linear-gradient(105deg, #263250, #1a243d 70%, #222d4a); }
html[data-palette="royal"] .rail-toggle:hover,
html[data-palette="royal"] .rail-toggle:focus-visible { border-left-color: #a2a9ef; background: linear-gradient(105deg, #34436d, #222f50 70%, #303e61); outline-color: #7887c0; }
html[data-palette="royal"] .rail-toggle[aria-expanded="true"] { border-left-color: #929fe8; }
html[data-palette="royal"] .rail-chevron,
html[data-palette="royal"] .ticker-items time,
html[data-palette="royal"] .card-heading > a { color: #a9b3f0; }
html[data-palette="royal"] .rail-links { border-top-color: #333e5b; background: #0d1220; }
html[data-palette="royal"] .rail-group a { border-bottom-color: #29344d; }
html[data-palette="royal"] .rail-group a:hover,
html[data-palette="royal"] .rail-group a.is-current { background: #1b2540; color: #eee2c5; }
html[data-palette="royal"] .rail-group a.is-current { box-shadow: inset 2px 0 #929fe8; }
html[data-palette="royal"] .news-ticker,
html[data-palette="royal"] .intro-feature,
html[data-palette="royal"] .latest-news-list,
html[data-palette="royal"] .side-card,
html[data-palette="royal"] .page-view.inner-page { border-color: #394362; background-color: #141a2a; }
html[data-palette="royal"] .news-ticker { background: linear-gradient(115deg, #171e34, #111726 68%); }
html[data-palette="royal"] .ticker-title,
html[data-palette="royal"] .card-heading { border-color: #3a4565; background: linear-gradient(105deg, #273352, #1b2640 72%, #27314d); }
html[data-palette="royal"] .ticker-items div,
html[data-palette="royal"] .section-heading,
html[data-palette="royal"] .latest-news,
html[data-palette="royal"] .card-heading { border-color: #303b58; }
html[data-palette="royal"] .intro-feature { background: linear-gradient(120deg, #1a233c, #131a2a 72%); }
html[data-palette="royal"] .latest-news-list { background: #111726; }
html[data-palette="royal"] .latest-news > a,
html[data-palette="royal"] .read-link { color: #a9b7f1; }
html[data-palette="royal"] .server-state { border-color: #394362; background: #1c2540; }
html[data-palette="royal"] .server-state strong { color: #a6d3c1; }
html[data-palette="royal"] .ranking-list li,
html[data-palette="royal"] .stream-content { border-color: #34405c; background: #182139; }
html[data-palette="royal"] .page-view.inner-page { background: linear-gradient(145deg, #171e32, #101625 68%); }
html[data-palette="royal"] .notice-card { border-color: rgba(139, 151, 225, .34); background: rgba(82, 94, 163, .1); }
html[data-palette="royal"] .link-cards a,
html[data-palette="royal"] .guide-card,
html[data-palette="royal"] .download-card,
html[data-palette="royal"] .info-card { border-color: #394362; background: #1a2237; }
html[data-palette="royal"] .link-cards a:hover,
html[data-palette="royal"] .guide-card:hover { border-color: #828fca; background: #222d48; }
html[data-palette="royal"] .link-cards b,
html[data-palette="royal"] .tab.is-selected { color: #aab5f2; }
html[data-palette="royal"] .tab.is-selected { border-bottom-color: #929fe8; }
html[data-palette="royal"] .search-box,
html[data-palette="royal"] .guide-search,
html[data-palette="royal"] .search-box input,
html[data-palette="royal"] .guide-search input { border-color: #414d70; background: #101627; }
html[data-palette="royal"] .shop-hero { border-color: #555c7d; background: radial-gradient(ellipse at 22% 50%, rgba(119, 129, 202, .18), transparent 46%), linear-gradient(110deg, #222b49, #151d32 75%); }
html[data-palette="royal"] .shop-categories span { border-color: #3d496a; background: #1a243b; }
html[data-palette="royal"] .site-footer { border-top-color: #303b58; }
html[data-palette="royal"] .footer-copy { border-left-color: #394362; }

html[data-palette="forest"] {
  --bg: #0a120e;
  --panel: #142018;
  --panel-light: #1b2c20;
  --line: #344b38;
  --text: #e8ece3;
  --muted: #b4c0b0;
  --dim: #849486;
  --gold: #c79a61;
  --gold-light: #e4c595;
  --blue: #a7c47d;
  --shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
html[data-palette="forest"] body { background: radial-gradient(ellipse at 50% 8%, rgba(65, 112, 66, .18), transparent 52%), var(--bg); }
html[data-palette="forest"] .left-rail { border-color: #344b38; background: #0c1710; }
html[data-palette="forest"] .rail-group { border-bottom-color: #304735; background: #101b13; }
html[data-palette="forest"] .rail-toggle { background: linear-gradient(105deg, #294130, #1d3124 70%, #26392a); }
html[data-palette="forest"] .rail-toggle:hover,
html[data-palette="forest"] .rail-toggle:focus-visible { border-left-color: #b5ca83; background: linear-gradient(105deg, #3a583d, #29402f 70%, #344b34); outline-color: #879a63; }
html[data-palette="forest"] .rail-toggle[aria-expanded="true"] { border-left-color: #a7c47d; }
html[data-palette="forest"] .rail-chevron,
html[data-palette="forest"] .ticker-items time,
html[data-palette="forest"] .card-heading > a { color: #bfd18c; }
html[data-palette="forest"] .rail-links { border-top-color: #344a37; background: #0c1710; }
html[data-palette="forest"] .rail-group a { border-bottom-color: #293e30; }
html[data-palette="forest"] .rail-group a:hover,
html[data-palette="forest"] .rail-group a.is-current { background: #1b3021; color: #ead9b5; }
html[data-palette="forest"] .rail-group a.is-current { box-shadow: inset 2px 0 #a7c47d; }
html[data-palette="forest"] .news-ticker,
html[data-palette="forest"] .intro-feature,
html[data-palette="forest"] .latest-news-list,
html[data-palette="forest"] .side-card,
html[data-palette="forest"] .page-view.inner-page { border-color: #344b38; background-color: #142018; }
html[data-palette="forest"] .news-ticker { background: linear-gradient(115deg, #19291d, #111d15 68%); }
html[data-palette="forest"] .ticker-title,
html[data-palette="forest"] .card-heading { border-color: #3c543e; background: linear-gradient(105deg, #2a4230, #1e3324 72%, #293d2c); }
html[data-palette="forest"] .ticker-items div,
html[data-palette="forest"] .section-heading,
html[data-palette="forest"] .latest-news,
html[data-palette="forest"] .card-heading { border-color: #304735; }
html[data-palette="forest"] .intro-feature { background: linear-gradient(120deg, #1c2d20, #142018 72%); }
html[data-palette="forest"] .latest-news-list { background: #111d15; }
html[data-palette="forest"] .latest-news > a,
html[data-palette="forest"] .read-link { color: #b8d18b; }
html[data-palette="forest"] .server-state { border-color: #3b543d; background: #1c3020; }
html[data-palette="forest"] .server-state strong { color: #aad4a1; }
html[data-palette="forest"] .ranking-list li,
html[data-palette="forest"] .stream-content { border-color: #344b38; background: #19281d; }
html[data-palette="forest"] .page-view.inner-page { background: linear-gradient(145deg, #19271c, #111c14 68%); }
html[data-palette="forest"] .notice-card { border-color: rgba(152, 184, 110, .34); background: rgba(90, 126, 65, .1); }
html[data-palette="forest"] .link-cards a,
html[data-palette="forest"] .guide-card,
html[data-palette="forest"] .download-card,
html[data-palette="forest"] .info-card { border-color: #344b38; background: #1a2a1e; }
html[data-palette="forest"] .link-cards a:hover,
html[data-palette="forest"] .guide-card:hover { border-color: #819c60; background: #223626; }
html[data-palette="forest"] .link-cards b,
html[data-palette="forest"] .tab.is-selected { color: #c1d793; }
html[data-palette="forest"] .tab.is-selected { border-bottom-color: #a7c47d; }
html[data-palette="forest"] .search-box,
html[data-palette="forest"] .guide-search,
html[data-palette="forest"] .search-box input,
html[data-palette="forest"] .guide-search input { border-color: #3d5941; background: #101b13; }
html[data-palette="forest"] .shop-hero { border-color: #675239; background: radial-gradient(ellipse at 22% 50%, rgba(190, 145, 79, .17), transparent 46%), linear-gradient(110deg, #2a3827, #19251b 75%); }
html[data-palette="forest"] .shop-hero h2 { color: #ebddc0; }
html[data-palette="forest"] .shop-categories span { border-color: #405640; background: #1d2d20; }
html[data-palette="forest"] .site-footer { border-top-color: #304735; }
html[data-palette="forest"] .footer-copy { border-left-color: #344b38; }

/* The full-screen 16:9 forest artwork sits behind the three-column site layout. */
html[data-palette="forest"] body {
  background-color: #0a120e;
  background-image:
    linear-gradient(180deg, rgba(5, 10, 7, .46), rgba(5, 10, 7, .62)),
    url("assets/meeting-fairies-background.png");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Comparison: let the forest artwork continue behind the masthead from the very top. */
html[data-palette="forest"][data-background="full"] body {
  background-position: center top;
}
html[data-palette="forest"][data-background="full"] .site-header {
  background: transparent;
}
html[data-palette="forest"][data-background="full"] .masthead-sky {
  background: linear-gradient(180deg, rgba(7, 12, 9, .38), rgba(7, 12, 9, .16) 48%, rgba(7, 10, 10, .84));
}
html[data-palette="forest"][data-background="full"] .masthead-sky::before {
  background: radial-gradient(ellipse at 50% 36%, rgba(8, 10, 10, .25), transparent 48%);
}

/* Comparison: keep the page artwork and also use a separate crop in the masthead. */
html[data-palette="forest"][data-background="separate"] .masthead-sky {
  background:
    linear-gradient(180deg, rgba(7, 12, 9, .26), rgba(7, 10, 10, .22) 56%, rgba(7, 10, 10, .88)),
    linear-gradient(90deg, rgba(7, 10, 9, .24), transparent 25%, transparent 75%, rgba(7, 10, 9, .24)),
    url("assets/meeting-fairies-background.png") center 46% / cover no-repeat;
}

/* Forest contrast pass: cool, opaque surfaces and warmer accents separate the UI from the artwork. */
html[data-palette="forest"] body {
  background-image:
    linear-gradient(180deg, rgba(5, 8, 11, .66), rgba(5, 8, 11, .80)),
    url("assets/meeting-fairies-background.png");
}
html[data-palette="forest"] .left-rail {
  border-color: #394951;
  background: #0b1218;
}
html[data-palette="forest"] .rail-group {
  border-bottom-color: #303e46;
  background: #101820;
}
html[data-palette="forest"] .rail-toggle {
  background: linear-gradient(105deg, #2b3940, #1c282f 72%, #25343b);
  color: #f0d6a6;
}
html[data-palette="forest"] .rail-toggle:hover,
html[data-palette="forest"] .rail-toggle:focus-visible {
  background: linear-gradient(105deg, #3b4c52, #293940 72%, #34464c);
}
html[data-palette="forest"] .rail-toggle[aria-expanded="true"] { border-left-color: #e4b75e; }
html[data-palette="forest"] .rail-chevron,
html[data-palette="forest"] .ticker-items time,
html[data-palette="forest"] .card-heading > a { color: #edc36f; }
html[data-palette="forest"] .rail-links {
  border-top-color: #303e46;
  background: #0c1319;
}
html[data-palette="forest"] .rail-group a {
  border-bottom-color: #28363e;
  color: #e0e5e6;
}
html[data-palette="forest"] .rail-group a:hover,
html[data-palette="forest"] .rail-group a.is-current {
  background: #202d34;
  color: #f2d79f;
}
html[data-palette="forest"] .rail-group a.is-current { box-shadow: inset 3px 0 #e4b75e; }
html[data-palette="forest"] .news-ticker,
html[data-palette="forest"] .intro-feature,
html[data-palette="forest"] .latest-news-list,
html[data-palette="forest"] .side-card,
html[data-palette="forest"] .page-view.inner-page {
  border-color: #35464f;
  background-color: #111a21;
}
html[data-palette="forest"] .news-ticker { background: linear-gradient(115deg, #15212a, #101820 72%); }
html[data-palette="forest"] .ticker-title,
html[data-palette="forest"] .card-heading {
  border-color: #46545a;
  background: linear-gradient(105deg, #2d3a40, #202c32 72%, #29363c);
  color: #f0d9ae;
}
html[data-palette="forest"] .ticker-items div,
html[data-palette="forest"] .section-heading,
html[data-palette="forest"] .latest-news,
html[data-palette="forest"] .card-heading { border-color: #35454d; }
html[data-palette="forest"] .ticker-items div,
html[data-palette="forest"] .latest-news p,
html[data-palette="forest"] .page-intro,
html[data-palette="forest"] .shop-hero p { color: #c3cdd1; }
html[data-palette="forest"] .intro-feature { background: linear-gradient(120deg, #1a2830, #121c23 76%); }
html[data-palette="forest"] .intro-copy h1,
html[data-palette="forest"] .latest-news h3,
html[data-palette="forest"] .section-heading h2,
html[data-palette="forest"] .table-toolbar h2 { color: #f0eee5; }
html[data-palette="forest"] .section-heading .eyebrow { color: #edc36f; }
html[data-palette="forest"] .latest-news-list { background: #0f171d; }
html[data-palette="forest"] .latest-news > a,
html[data-palette="forest"] .read-link { color: #e6bd69; }

.page-intro.server-info-intro { max-width: 900px; color: #9aa7af; font-size: 12px; line-height: 1.6; }
html[data-palette="forest"] .page-intro.server-info-intro { color: #a5b0b5; }
.page-intro.server-info-intro { margin-bottom: 12px; }
.server-info-tables { margin-top: 6px; }
.server-info-section .subheading { margin: 14px 0 5px; }
.server-info-section:first-child .subheading { margin-top: 8px; }
.party-experience-table th { width: auto; }
.party-experience-table tbody th { white-space: nowrap; }
.rules-lead { max-width: 980px; margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.rules-document { max-width: 980px; }
.rules-document-heading { margin: 12px 0 7px; color: var(--text); font: 700 14px/1.35 Arial, sans-serif; }
.rules-category { margin: 0 0 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; background: rgba(12, 19, 24, .34); }
.rules-category > h3,
.rules-enforcement > h3 { margin: 0; color: var(--text); font: 700 12px/1.45 Arial, sans-serif; }
.rules-number { margin-right: 3px; color: #dc914e; }
.rules-subrules { display: grid; gap: 5px; margin: 8px 0 0; padding: 0 0 0 22px; list-style: none; counter-reset: rules-letter; }
.rules-subrules > li { position: relative; color: var(--muted); font-size: 10.5px; line-height: 1.55; counter-increment: rules-letter; }
.rules-subrules > li::before { position: absolute; top: 0; left: -21px; color: #d69b5c; content: counter(rules-letter, lower-alpha) ")"; font-weight: 700; }
.rules-category li strong,
.rules-scanner-panel strong,
.rules-enforcement strong { color: var(--text); }
.rules-eyebrow { display: block; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.rules-scanner-panel { margin-top: 10px; padding: 11px 12px; border: 1px solid rgba(209, 170, 105, .38); border-left: 3px solid rgba(209, 170, 105, .72); border-radius: 3px; background: linear-gradient(135deg, rgba(26, 39, 48, .78), rgba(17, 26, 34, .88)); }
.rules-subrules > li > .rules-scanner-panel { margin-top: 0; }
.rules-scanner-panel h4 { margin: 3px 0 6px; color: var(--text); font: 700 11px/1.45 Arial, sans-serif; }
.rules-scanner-panel p,
.rules-enforcement p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.rules-penalty-table { margin-top: 9px; }
.rules-penalty-table th { width: 62%; }
.rules-scope-note { margin-top: 9px !important; padding: 8px 9px; border-left: 2px solid var(--gold); background: rgba(209, 170, 105, .07); }
.rules-enforcement { margin: 10px 0 0; padding: 10px 13px; border: 1px solid var(--line); border-left: 3px solid rgba(209, 170, 105, .65); border-radius: 3px; background: rgba(209, 170, 105, .045); }
.relic-showcase { position: relative; overflow: hidden; padding: 10px 12px 11px; border: 1px solid rgba(195, 158, 88, .57); border-radius: 4px; background: radial-gradient(ellipse at 14% 0%, rgba(60, 101, 136, .22), transparent 42%), linear-gradient(135deg, #1b292f, #141e24 72%); box-shadow: inset 0 0 28px rgba(91, 138, 174, .07); }
.relic-showcase::before { position: absolute; top: -112px; left: -62px; width: 210px; height: 210px; border: 1px solid rgba(193, 157, 91, .12); border-radius: 50%; box-shadow: 0 0 0 16px rgba(193, 157, 91, .025), 0 0 34px rgba(67, 139, 194, .12); content: ""; pointer-events: none; }
.relic-page-sparkle { margin-right: 3px; font-size: .76em; vertical-align: .08em; filter: drop-shadow(0 0 5px rgba(225, 187, 91, .6)); }
.relic-menu-sparkle { margin-right: 4px; font-size: .9em; filter: drop-shadow(0 0 4px rgba(225, 187, 91, .45)); }
.relics-heading { position: relative; display: flex; align-items: center; gap: 8px; }
.relic-heading-sigil { display: inline-grid; width: 21px; height: 21px; place-items: center; border: 1px solid rgba(209, 174, 105, .58); border-radius: 50%; background: radial-gradient(circle, rgba(72, 126, 170, .26), rgba(16, 25, 32, .7)); color: #e3c47e; font-size: 15px; line-height: 1; text-shadow: 0 0 9px rgba(109, 183, 235, .75); }
.relic-heading-tag { margin-left: auto; color: #a8bac3; font: 700 8px/1 Arial, sans-serif; letter-spacing: .14em; }
.relics-intro { position: relative; margin: 2px 0 9px; color: #aab8c0; font-size: 10px; line-height: 1.5; }
.relic-card-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.relic-card { display: flex; gap: 10px; min-width: 0; padding: 10px; border: 1px solid rgba(82, 112, 127, .55); border-radius: 3px; background: linear-gradient(115deg, rgba(32, 49, 58, .92), rgba(17, 27, 34, .95)); }
.relic-card--bright { border-color: rgba(195, 158, 88, .4); background: radial-gradient(ellipse at 0% 50%, rgba(185, 145, 74, .12), transparent 48%), linear-gradient(115deg, rgba(35, 47, 49, .96), rgba(17, 27, 34, .96)); }
.relic-icon-frame { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid rgba(120, 151, 168, .38); border-radius: 10px; background: linear-gradient(145deg, rgba(24, 39, 48, .98), rgba(13, 22, 29, .96)); box-shadow: inset 0 0 12px rgba(92, 147, 178, .09); }
.relic-icon-frame img { display: block; width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.relic-card-copy { min-width: 0; }
.relic-card-type { color: #c9a967; font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.relic-card h3 { margin: 3px 0 4px; color: #eee5d2; font: 500 14px Georgia, serif; }
.relic-card p { margin: 0; color: #a7b3b8; font-size: 9px; line-height: 1.5; }
.relic-availability { display: inline-block; margin-top: 6px; color: #e2c37e; font-size: 8px; font-weight: 700; }
.relics-coming-soon { position: relative; margin: 9px 0 0; padding-top: 7px; border-top: 1px solid rgba(124, 148, 156, .18); color: #899ca5; font-size: 9px; }
.relics-coming-soon span { padding-right: 5px; color: #cdb16e; text-shadow: 0 0 8px rgba(91, 177, 235, .65); }
.depot-delivery-warning { margin-top: 8px; padding: 10px 12px; border: 1px solid rgba(224, 93, 85, .62); border-left-width: 3px; border-radius: 3px; background: rgba(104, 34, 32, .2); }
.depot-delivery-warning strong { color: #ffaaa2; font-size: 11px; }
.depot-delivery-warning p { margin: 4px 0 0; color: #c2cbd0; font-size: 11px; line-height: 1.55; }
.depot-delivery-warning .depot-delivery-warning-text { color: #ff9f97; font-weight: 700; }
@media (max-width: 620px) {
  .page-intro.server-info-intro { font-size: 11px; }
  .party-experience-table { min-width: 460px; }
  .relic-card-grid { grid-template-columns: 1fr; }
  .relic-heading-tag { font-size: 7px; }
}
html[data-palette="forest"] .server-state { border-color: #49544c; background: #1b2828; }
html[data-palette="forest"] .server-state strong { color: #b6d9a8; }
html[data-palette="forest"] .ranking-list li,
html[data-palette="forest"] .stream-content { border-color: #35464f; background: #172229; }
html[data-palette="forest"] .page-view.inner-page { background: linear-gradient(145deg, #17232a, #10181e 70%); }
html[data-palette="forest"] .notice-card { border-color: rgba(226, 183, 94, .48); background: rgba(226, 183, 94, .10); }
html[data-palette="forest"] .link-cards a,
html[data-palette="forest"] .guide-card,
html[data-palette="forest"] .download-card,
html[data-palette="forest"] .info-card { border-color: #394a51; background: #19262d; }
html[data-palette="forest"] .link-cards a:hover,
html[data-palette="forest"] .guide-card:hover { border-color: #d0a64e; background: #24333a; }
html[data-palette="forest"] .link-cards b,
html[data-palette="forest"] .tab.is-selected { color: #edc36f; }
html[data-palette="forest"] .tab.is-selected { border-bottom-color: #e4b75e; }
html[data-palette="forest"] .search-box,
html[data-palette="forest"] .guide-search,
html[data-palette="forest"] .search-box input,
html[data-palette="forest"] .guide-search input { border-color: #3a4d54; background: #0f181e; }
html[data-palette="forest"] .shop-hero {
  border-color: #80613a;
  background: radial-gradient(ellipse at 22% 50%, rgba(226, 183, 94, .20), transparent 46%), linear-gradient(110deg, #2c3330, #1a252a 75%);
}
html[data-palette="forest"] .shop-hero h2 { color: #f1dfbb; }
html[data-palette="forest"] .shop-categories span { border-color: #4b5755; background: #202d31; }
html[data-palette="forest"] .site-footer { border-top-color: #35464f; }
html[data-palette="forest"] .footer-copy { border-left-color: #394a51; }

/* Single continuous artwork behind the masthead and the full page, with no separator. */
html[data-palette="forest"][data-background="integrated"] body {
  background-position: center top;
  background-attachment: fixed;
}
html[data-palette="forest"][data-background="integrated"] .site-header {
  border-bottom: 0;
  background: transparent;
}
html[data-palette="forest"][data-background="integrated"] .masthead-sky,
html[data-palette="forest"][data-background="integrated"] .masthead-sky::before {
  background: transparent;
}

/* Three generated forest backgrounds, each integrated as one image behind the whole page. */
html[data-palette="forest"][data-background="thornwake"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/thornwake.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="wild-hunt"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/wild-hunt.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="ancient-grove"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/ancient-grove.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="thornwake"] .site-header,
html[data-palette="forest"][data-background="wild-hunt"] .site-header,
html[data-palette="forest"][data-background="ancient-grove"] .site-header {
  border-bottom: 0;
  background: transparent;
}
html[data-palette="forest"][data-background="thornwake"] .masthead-sky,
html[data-palette="forest"][data-background="thornwake"] .masthead-sky::before,
html[data-palette="forest"][data-background="wild-hunt"] .masthead-sky,
html[data-palette="forest"][data-background="wild-hunt"] .masthead-sky::before,
html[data-palette="forest"][data-background="ancient-grove"] .masthead-sky,
html[data-palette="forest"][data-background="ancient-grove"] .masthead-sky::before {
  background: transparent;
}

/* Dwarf and elf alternatives, using the same integrated layout and readable contrast. */
html[data-palette="forest"][data-background="dwarf-warden"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/dwarf-warden.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="elven-hunter"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/elven-hunter.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="woodland-fellowship"] body {
  background-color: #0a120e;
  background-image: linear-gradient(180deg, rgba(5, 8, 11, .58), rgba(5, 8, 11, .76)), url("assets/forest-backgrounds/woodland-fellowship.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html[data-palette="forest"][data-background="dwarf-warden"] .site-header,
html[data-palette="forest"][data-background="elven-hunter"] .site-header,
html[data-palette="forest"][data-background="woodland-fellowship"] .site-header {
  border-bottom: 0;
  background: transparent;
}
html[data-palette="forest"][data-background="dwarf-warden"] .masthead-sky,
html[data-palette="forest"][data-background="dwarf-warden"] .masthead-sky::before,
html[data-palette="forest"][data-background="elven-hunter"] .masthead-sky,
html[data-palette="forest"][data-background="elven-hunter"] .masthead-sky::before,
html[data-palette="forest"][data-background="woodland-fellowship"] .masthead-sky,
html[data-palette="forest"][data-background="woodland-fellowship"] .masthead-sky::before {
  background: transparent;
}

/* Compact site shortcuts replacing the local-preview strip. */
.quick-nav {
  position: relative;
  z-index: 3;
  height: 43px;
  border-bottom: 1px solid #303943;
  background: rgba(12, 16, 20, .97);
  box-shadow: 0 2px 9px rgba(0, 0, 0, .24);
}
.quick-nav-inner {
  width: min(1360px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.quick-nav a {
  flex: 0 0 auto;
  color: #d2d7d9;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.quick-nav a:hover,
.quick-nav a:focus-visible,
.quick-nav a[aria-current="page"] { color: #e3bd77; }
.quick-nav-welcome {
  padding-right: 22px;
  border-right: 1px solid #343d43;
  color: #e5e6e2 !important;
  font-size: 13px !important;
}
.quick-nav-welcome strong { color: #efdbb1; }
.quick-nav-links {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 40px);
  gap: clamp(14px, 2.2vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-nav-links::-webkit-scrollbar { display: none; }
.quick-nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 17px;
  border-left: 1px solid #343d43;
  color: #e4d5b7 !important;
  font-weight: 700;
}
.quick-nav-discord svg { width: 19px; height: 19px; color: #d3b16f; }
.quick-nav-discord:hover svg { color: #f0d89f; }

@media (max-width: 820px) {
  .quick-nav-inner { width: calc(100% - 24px); gap: 12px; }
  .quick-nav-welcome { padding-right: 12px; }
  .quick-nav-links { justify-content: flex-start; padding-right: 0; gap: 18px; }
  .quick-nav-discord { padding-left: 12px; }
}
@media (max-width: 620px) {
  .quick-nav { height: 40px; }
  .quick-nav-inner { width: calc(100% - 18px); gap: 10px; }
  .quick-nav-welcome { display: none; }
  .quick-nav-links { gap: 17px; }
  .quick-nav a { font-size: 11px; }
  .quick-nav-discord { gap: 5px; padding-left: 10px; }
  .quick-nav-discord svg { width: 18px; height: 18px; }
}

.quick-nav-coin { width: 17px; height: 17px; margin-right: 6px; object-fit: contain; vertical-align: middle; image-rendering: auto; }
.quick-nav-links a[data-page="tienda"],
.quick-nav-links a[data-page="tienda"]:hover,
.quick-nav-links a[data-page="tienda"]:focus-visible,
.quick-nav-links a[data-page="tienda"][aria-current="page"] {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.rail-group a[data-page="tienda"],
.rail-group a[data-page="tienda"]:hover,
.rail-group a[data-page="tienda"]:focus-visible,
.rail-group a[data-page="tienda"].is-current {
  background: transparent;
  box-shadow: none;
  outline: 0;
}
.rail-group a[data-page="tienda"].is-current { padding-left: 2px; }
html[data-palette="forest"] .rail-shop .rail-links a[data-page="tienda"]:hover,
html[data-palette="forest"] .rail-shop .rail-links a[data-page="tienda"].is-current {
  padding-left: 2px;
  background: transparent;
  box-shadow: none;
}
html[data-coin-highlight="gold"] .coin-link-label {
  color: #f0ca78;
}
html[data-coin-highlight="ruby"] .coin-link-label {
  color: #e99489;
}
html[data-coin-highlight="emerald"] .coin-link-label {
  color: #9fd7b0;
}

.houses-account-card {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(21, 31, 39, .88);
}
.houses-account-card h2, .houses-toolbar h2 { margin: 0; color: var(--text); font: 500 17px Georgia, serif; }
.houses-account-card[hidden], .house-detail-view[hidden], #houses-list-view[hidden] { display: none; }
.houses-account-card p { margin: 5px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.houses-login-form { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(150px, 1fr) auto; align-items: end; gap: 10px; max-width: none; padding: 0; border: 0; background: transparent; }
.houses-login-form > label { margin: 0; }
.houses-login-form .form-footnote { grid-column: 1 / -1; margin: 0; }
.houses-session-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.houses-character-label, .houses-filter-label, .house-bid-dialog label { display: block; margin: 10px 0 5px; color: var(--muted); font-size: 10px; }
.houses-select, .houses-search input, .house-bid-dialog input {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: 0;
  background: #0e171d;
  color: var(--text);
  font: inherit;
}
.houses-select:focus, .houses-search input:focus, .house-bid-dialog input:focus { border-color: var(--gold); }
.houses-toolbar { display: flex; align-items: end; gap: 9px; margin: 10px 0 9px; }
.houses-toolbar > div { margin-right: auto; }
.houses-toolbar small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.houses-search { display: flex; align-items: center; gap: 6px; color: var(--gold); }
.houses-search input { width: min(260px, 26vw); }
.houses-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 8px 0 11px; padding: 11px; border: 1px solid var(--line); border-radius: 3px; background: rgba(10, 17, 22, .72); }
.houses-filter-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.houses-filter-grid .houses-select { width: 100%; }
.page-view[data-view="houses"] > .page-intro { margin-bottom: 4px; }
.houses-message { min-height: 0; margin: 0; color: #aab9bb; font-size: 11px; }
.houses-message:empty { display: none; }
.houses-message:not(:empty) { margin: 5px 0; }
.is-error { color: #e59a84 !important; }
.houses-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
.server-info-table.houses-table { width: 100%; min-width: 0; table-layout: fixed; border: 0; border-radius: 0; }
.server-info-table.houses-table th:nth-child(1) { width: 38%; }
.server-info-table.houses-table th:nth-child(2) { width: 17%; }
.server-info-table.houses-table th:nth-child(3) { width: 13%; }
.server-info-table.houses-table th:nth-child(4) { width: 17%; }
.server-info-table.houses-table th:nth-child(5) { width: 15%; }
.server-info-table.houses-table th { white-space: nowrap; }
.server-info-table.houses-table th, .server-info-table.houses-table td { padding: 8px; }
.house-sort-button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.house-sort-button:hover, .house-sort-button:focus-visible { color: var(--gold); }
.house-sort-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.house-sort-direction { min-width: 8px; color: var(--gold); font-size: 10px; }
.houses-table td small { display: block; }
.houses-table td small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.houses-table td { overflow-wrap: anywhere; }
.house-detail-link, .house-back-link { color: #e1bd73; text-decoration: none; }
.house-detail-link { display: block; font-weight: 700; }
.house-detail-link:hover, .house-back-link:hover { color: #ffe0a0; text-decoration: underline; }
.house-detail-view { margin-top: 2px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: rgba(17, 27, 34, .94); }
.house-back-link { display: inline-block; margin-bottom: 15px; font-size: 11px; }
.house-detail-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.house-detail-heading h2 { margin: 0; color: var(--text); font: 500 28px Georgia, serif; }
.house-detail-status { padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; color: #bdc8c6; font-size: 10px; }
.house-detail-status.is-available, .house-detail-status.is-auction { border-color: rgba(219, 182, 105, .5); color: #eacb82; }
.house-detail-status.is-owned { border-color: rgba(139, 181, 153, .45); color: #aad3b0; }
.house-detail-town { margin: 6px 0 18px; color: var(--muted); font-size: 12px; }
.house-detail-layout { display: grid; grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); align-items: start; gap: 22px; }
.house-map-figure { margin: 0; }
.house-map { position: relative; width: 260px; height: 260px; overflow: hidden; border: 1px solid rgba(216, 183, 112, .55); background: #14231e; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.house-map img { display: block; width: 260px; height: 260px; image-rendering: pixelated; }
.house-map.is-map-unavailable::before { position: absolute; inset: 0; content: 'Map preview unavailable'; display: grid; place-items: center; color: var(--muted); font-size: 11px; text-align: center; }
.house-map-marker { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: 2px solid #fff0c5; border-radius: 50%; background: #db6259; box-shadow: 0 0 0 3px rgba(4, 10, 12, .72), 0 0 13px rgba(255, 183, 104, .85); transform: translate(-50%, -50%); }
.house-map-figure figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; text-align: center; }
.house-detail-copy > p { margin: 0 0 13px; color: #c4ceca; line-height: 1.6; }
.house-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: var(--line); }
.house-detail-facts > div { min-width: 0; padding: 9px 11px; background: rgba(24, 41, 32, .9); }
.house-detail-facts dt { color: #d9b875; font-size: 10px; }
.house-detail-facts dd { margin: 4px 0 0; color: #c3ccc2; font-size: 12px; }
.house-detail-actions { display: flex; justify-content: end; margin-top: 16px; }
.house-detail-bid { min-width: 148px; }
.house-bid-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #141f27; color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.house-bid-dialog::backdrop { background: rgba(3, 8, 12, .76); }
.house-bid-dialog form { padding: 17px; }
.house-bid-dialog h2 { margin: 0; color: var(--text); font: 500 20px Georgia, serif; }
.house-bid-dialog p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.house-bid-dialog input { width: 100%; box-sizing: border-box; }
.house-bid-actions { display: flex; justify-content: end; gap: 8px; margin-top: 14px; }
@media (max-width: 720px) {
  .houses-login-form { grid-template-columns: 1fr; }
  .houses-login-form .form-footnote { grid-column: auto; }
  .houses-toolbar { align-items: stretch; flex-wrap: wrap; }
  .houses-toolbar > div { flex: 1 0 100%; }
  .houses-search { flex: 1; }
  .houses-search input { width: 100%; }
  .houses-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-detail-view { padding: 12px; }
  .house-detail-layout { grid-template-columns: 1fr; }
  .house-map { width: min(260px, 100%); height: auto; aspect-ratio: 1; }
  .house-map img { width: 100%; height: 100%; }
}

.premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  margin: 16px 0 10px;
  padding: 20px;
  border: 1px solid rgba(210, 174, 105, .6);
  border-radius: 6px;
  background: radial-gradient(ellipse at 8% 0%, rgba(204, 163, 84, .2), transparent 48%), linear-gradient(125deg, #1b2a32, #111a21 68%, #1a252b);
  box-shadow: inset 0 1px rgba(255, 239, 193, .08), 0 12px 26px rgba(0, 0, 0, .18);
}
.premium-hero::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, #f1d38c, #b98640 55%, #d5ad63); content: ""; }
.premium-hero::after { position: absolute; top: -96px; left: 38%; width: 240px; height: 240px; border: 1px solid rgba(227, 190, 117, .1); border-radius: 50%; box-shadow: 0 0 0 24px rgba(227, 190, 117, .025), 0 0 0 48px rgba(227, 190, 117, .02); content: ""; pointer-events: none; }
.premium-hero-copy, .premium-stats { position: relative; z-index: 1; }
.premium-hero-kicker { color: #e0bb71; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.premium-hero h2 { margin: 7px 0 6px; color: #f0e7d6; font: 500 24px/1.18 Georgia, "Times New Roman", serif; }
.premium-hero-copy p { max-width: 440px; margin: 0; color: #abb8bf; font-size: 12px; line-height: 1.55; }
.premium-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.premium-stat { min-width: 0; padding: 12px 7px; border: 1px solid rgba(213, 178, 111, .28); border-radius: 4px; background: rgba(7, 14, 19, .38); text-align: center; }
.premium-stat strong { display: block; color: #f0cd83; font: 500 22px/1.2 Georgia, "Times New Roman", serif; white-space: nowrap; text-shadow: 0 0 18px rgba(228, 185, 101, .16); }
.premium-stat span { display: block; margin-top: 4px; color: #b8c1c3; font-size: 9px; line-height: 1.35; }
.premium-stat small { display: block; margin-top: 3px; color: #82929a; font-size: 8px; }
.premium-xp-note { margin: 0 0 14px; padding: 6px 10px; border-left: 2px solid rgba(200, 165, 104, .7); background: rgba(255, 255, 255, .025); color: #aab5bd; font-size: 10px; }
.premium-heading { margin-top: 13px; }
.premium-benefit-grid { margin: 0 0 18px; }
.premium-benefit-card { position: relative; min-height: 0; overflow: hidden; border-color: rgba(200, 165, 104, .28); background: linear-gradient(145deg, #1a2930, #151f26 72%); box-shadow: inset 0 1px rgba(255, 255, 255, .025); }
.premium-benefit-card::before { position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 187, 111, .5), transparent); content: ""; }
.premium-benefit-card .premium-benefit-tag { margin: 0 0 6px; color: #cba969; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.premium-benefit-card strong { margin-top: 0; color: #e8d2a7; font: 600 14px/1.35 "Segoe UI", Tahoma, Arial, sans-serif; }
.premium-benefit-card p { margin-top: 6px; font-size: 12px; line-height: 1.5; }
@media (max-width: 620px) {
  .premium-hero { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .premium-hero h2 { font-size: 21px; }
  .premium-stats { gap: 5px; }
  .premium-stat { padding: 10px 4px; }
  .premium-stat strong { font-size: 18px; }
  .premium-stat span { font-size: 8px; }
  .premium-benefit-grid { grid-template-columns: 1fr; }
}
