:root {
  color-scheme: light;
  --ink: #f2eee7;
  --muted: #c1b7a8;
  --paper: #292725;
  --panel: #302d2b;
  --line: #4b4540;
  --gold: #d66a3a;
  --link: #f2bd78;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #211f1e;
  color: var(--ink);
  font: 13px/1.45 Verdana, Arial, sans-serif;
}

a { color: var(--link); }

.page {
  width: min(100% - 32px, 1120px);
  margin: 18px auto 32px;
  border: 1px solid #514a43;
  background: var(--paper);
  box-shadow: 0 8px 30px #0006;
}

.masthead {
  min-height: 100px;
  padding: 20px 25px 15px;
  color: #fff8e7;
  background:
    linear-gradient(110deg, #211e1b, #3b2d25 60%, #292421);
  border-top: 5px solid var(--gold);
  border-bottom: 1px solid #151311;
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-block;
  margin: 0;
  color: #f2bd78;
  font: bold 34px Georgia, "Times New Roman", serif;
  letter-spacing: .7px;
  text-decoration: none;
  text-shadow: 1px 2px #1e160d;
}

.tagline {
  margin: 2px 0 0;
  color: #d2c6b5;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.account-links { white-space: nowrap; }
.account-links a { color: #f4dfa9; margin-left: 13px; }

.main-nav {
  display: flex;
  gap: 0;
  padding: 0 14px;
  background: #302d2b;
  border-bottom: 1px solid #171615;
}

.main-nav a {
  display: block;
  padding: 12px 17px;
  color: #fff4d8;
  font-weight: bold;
  text-decoration: none;
  border-right: 1px solid #ffffff14;
}

.main-nav a:first-child { border-left: 1px solid #ffffff1c; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: #a84929; }
.main-nav a[hidden] { display: none; }

.welcome-bar {
  padding: 8px 18px;
  color: #d0c5b6;
  background: #252321;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.welcome-bar strong { color: #f2bd78; }

.content {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 15px;
  padding: 16px;
}

.side-panel, .forum-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}

.single-column { display: block; }

.side-links { margin: 0; padding: 6px 0; list-style: none; }
.side-links li { border-bottom: 1px solid #403b36; }
.side-links li:last-child { border-bottom: 0; }
.side-links a {
  display: block;
  padding: 7px 11px;
  color: #e8dcc9;
  text-decoration: none;
}
.side-links a:hover, .side-links a[aria-current="page"] {
  background: #423832;
  text-decoration: underline;
}

.forum-panel { min-width: 0; }

.breadcrumbs {
  padding: 8px 11px;
  color: #b9ad9d;
  background: #252321;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 13px 10px;
}

.topic-heading h1 {
  margin: 0;
  color: #f3d39b;
  font: bold 20px Georgia, "Times New Roman", serif;
}

.topic-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.mining-vendor {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(190px, 1fr) minmax(220px, 1.2fr);
  align-items: center;
  gap: 12px;
  margin: 0 12px 12px;
  scroll-margin-top: 12px;
}

#mining-vendor { scroll-margin-top: 12px; }

.mining-vendor-section {
  margin-bottom: 12px;
  padding-bottom: 1px;
  background-color: #252321;
  border-bottom: 1px solid var(--line);
}

.mining-vendor > img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  align-self: center;
  justify-self: center;
  border: 1px solid #514a43;
}

.mining-vendor .table-wrap {
  margin: 0;
}

.mining-reward-table {
  min-width: 100%;
}

.mining-box-card {
  min-width: 0;
  padding: 10px;
  color: #414141;
  background: #fafafa;
  border: 1px solid #cfc8bb;
  font: 12px/1.45 Arial, Helvetica, sans-serif;
}

.mining-box-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -10px -10px 8px;
  padding: 7px 10px;
  background: #e8e8e8;
  border-bottom: 1px solid #d2d0cb;
}

.mining-box-heading img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.mining-box-heading h3 {
  margin: 0;
  color: #383838;
  font: bold 15px Arial, Helvetica, sans-serif;
}

.mining-box-card p { margin: 7px 0; }
.mining-box-card .mining-box-cost { margin-top: 0; }
.mining-box-card ul { margin: 5px 0 0; padding-left: 18px; }
.mining-box-card li + li { margin-top: 3px; }

@media (min-width: 681px) and (max-width: 860px) {
  .mining-vendor { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .mining-box-card { grid-column: 1 / -1; }
}

.button {
  display: inline-block;
  padding: 6px 10px;
  color: #fff9e9;
  background: linear-gradient(#bd5932, #8d3e25);
  border: 1px solid #6f321f;
  border-radius: 2px;
  font: bold 11px Verdana, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover { background: linear-gradient(#d36a3d, #a34a2b); }

.post-meta {
  margin: 0 12px 12px;
  padding: 7px 9px;
  color: #6e634e;
  background: #f4efe4;
  border: 1px solid #e0d7c6;
  font-size: 11px;
}

.post-meta strong { color: #49341f; }

.table-wrap {
  margin: 0 12px 12px;
  overflow-x: auto;
  border: 1px solid #cfc8bb;
}

.reference-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  color: #414141;
  background: #fafafa;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.reference-table caption {
  padding: 11px 12px 8px;
  color: #383838;
  background: #fff;
  border-bottom: 1px solid #d2d0cb;
  font-size: 21px;
  font-weight: 700;
  text-align: left;
}

.reference-table th,
.reference-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #d2d0cb;
}

.reference-table thead th {
  background: #e8e8e8;
  color: #383838;
  font-weight: 700;
  white-space: nowrap;
}

.reference-table tbody tr:last-child td { border-bottom: 0; }
.reference-table tbody td:first-child { width: 60px; }
.reference-table tbody td:nth-child(2) { min-width: 135px; }
.reference-table tbody td:nth-child(5) { min-width: 130px; }
.reference-table tbody td:last-child { min-width: 155px; }
.reference-table.mining-reward-table {
  min-width: 0;
  table-layout: fixed;
}
.reference-table.mining-reward-table tbody td:first-child { width: 58px; }
.reference-table.mining-reward-table tbody td:last-child { min-width: 0; }
.reference-table a { color: #073b82; text-decoration: none; }
.reference-table a:hover { text-decoration: underline; }

.pickaxe-icon {
  display: block;
  width: 50px;
  height: 50px;
}

.pickaxe-good { filter: hue-rotate(20deg) saturate(1.6); }

.gem-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #414141;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.gem-table th, .gem-table td {
  padding: 9px 6px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #d2d0cb;
}

.gem-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #e8e8e8;
  color: #383838;
  font-weight: 700;
}

.gem-table th:first-child, .gem-table td:first-child {
  width: 102px;
  text-align: left;
  background: #ebebeb;
}

.gem-table tbody th { font-weight: 700; }
.gem-table tbody tr { background: #fafafa; }
.gem-table tbody tr:last-child th,
.gem-table tbody tr:last-child td { border-bottom: 0; }
.gem-table .icon-row td { height: 72px; }
.gem-table .detail-row td { height: 41px; }
.gem-table .tall-row th, .gem-table .tall-row td { height: 92px; }
.gem-table .label-sub { display: block; margin-top: 5px; font-weight: 400; }
.gem-table .blank { color: transparent; }

.gem-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  color: var(--gem);
  vertical-align: middle;
  shape-rendering: crispEdges;
}

.gem-item {
  width: 30px;
  height: 32px;
  color: var(--gem);
}

.red-gem-item,
.blue-gem-item,
.green-gem-item,
.purple-gem-item {
  width: 45px;
  height: 47px;
}

.gem-red { --gem: #b3455b; }
.gem-blue { --gem: #3997a5; }
.gem-green { --gem: #6c9e43; }
.gem-prism { --gem: #8e39bb; }
.gem-pale { --gem: #b45d86; }
.gem-dark { --gem: #715f43; }
.gem-rainbow { --gem: #38a9a4; }
.gem-gold { --gem: #c29a2b; }

.table-footnote {
  margin: 0 12px 14px;
  padding: 9px 10px;
  color: #5b503d;
  background: #f4efe4;
  border: 1px solid #e0d7c6;
  font-size: 11px;
}

.table-footnote strong { color: #40311f; }

.section-heading h2 {
  margin: 0;
  color: #f3d39b;
  font: bold 20px Georgia, "Times New Roman", serif;
}

.guide-content {
  min-height: 260px;
  padding: 16px;
  color: #e4ddd3;
}

.guide-content h2 {
  margin: 0 0 8px;
  color: #f3d39b;
  font: bold 18px Georgia, "Times New Roman", serif;
}

.guide-content p { margin: 0 0 10px; }

.quest-overview,
.mining-overview,
.guide-overview {
  margin: 12px;
  padding: 18px;
  background-color: #252321;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
}

.quest-overview {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-quest.png");
  background-position: center;
  background-size: cover;
}

.mining-overview {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-mining.png");
  background-position: center;
  background-size: cover;
}

.guide-overview-fishing {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-fishing.png");
}

.guide-overview-harvest {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-harvest.png");
}

.guide-overview-dungeons {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-dungeon.png");
}

.guide-overview-praying {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-praying.png");
}

.guide-overview-pvp {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-pvp.png");
}

.guide-overview-town {
  background-image:
    linear-gradient(90deg, rgb(37 35 33 / 90%), rgb(37 35 33 / 72%)),
    url("../../assets/guide-hub.png");
}

.quest-overview .eyebrow,
.mining-overview .eyebrow,
.guide-overview .eyebrow {
  margin: 0 0 4px;
  color: #f2bd78;
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.quest-overview h1,
.mining-overview h1,
.guide-overview h1 {
  margin: 0;
  color: #f3d39b;
  font: bold 24px Georgia, "Times New Roman", serif;
}

.quest-overview > p:last-child,
.mining-overview > p:last-child,
.guide-overview > p:last-child,
.guide-overview > div > p:last-child {
  max-width: 700px;
  margin: 7px 0 0;
  color: #eee5d9;
}

.quest-board-callout {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 16px;
  margin: 12px;
  padding: 10px;
  background: #252321;
  border: 1px solid var(--line);
}

.quest-board-callout img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #514a43;
}

.quest-board-callout h2,
.quest-step h3 {
  margin: 0 0 6px;
  color: #f3d39b;
  font: bold 17px Georgia, "Times New Roman", serif;
}

.quest-board-callout p,
.quest-step p { margin: 0; }

.quest-board-callout .quest-progress-hint { margin-top: 7px; color: var(--muted); }

.quest-board-callout code,
.quest-step code {
  padding: 2px 5px;
  color: #f5d399;
  background: #171615;
  border: 1px solid #514a43;
  border-radius: 2px;
  font: 11px Consolas, monospace;
  white-space: nowrap;
}

.quest-story-note {
  margin-top: 6px !important;
  color: var(--muted);
  font-size: 10px;
  font-style: italic;
}

.quest-dialogue {
  margin: 9px 0;
  padding: 8px 10px;
  color: #e8dcc9;
  background: #302924;
  border-left: 3px solid #a84929;
  font: italic 12px/1.6 Georgia, "Times New Roman", serif;
}

.quest-dialogue strong { color: #f2bd78; font-style: normal; }

.quest-step .quest-objective {
  margin-top: 7px;
  color: #c1b7a8;
  font-size: 11px;
}

.quest-objective strong { color: #f2bd78; }

.quest-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 12px 12px;
}

.quest-selector-button {
  padding: 9px 13px;
  color: #fff4d8;
  background: #38322e;
  border: 1px solid #625247;
  border-radius: 2px;
  font: bold 12px Verdana, Arial, sans-serif;
  cursor: pointer;
}

.quest-selector-button:hover,
.quest-selector-button[aria-pressed="true"] {
  background: #a84929;
  border-color: #d66a3a;
}

.quest-selector-button:focus-visible {
  outline: 2px solid #f2bd78;
  outline-offset: 2px;
}

.quest-panel[hidden] { display: none; }

.quest-section-heading { padding-top: 6px; }

.quest-steps {
  display: grid;
  gap: 10px;
  margin: 0 12px 14px;
  padding: 0;
  list-style: none;
  counter-reset: quest-step;
}

.quest-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #252321;
  border: 1px solid var(--line);
  counter-increment: quest-step;
}

.quest-step-text-only { grid-template-columns: 1fr; }

.quest-step-number {
  display: inline-block;
  margin-bottom: 5px;
  color: #f2bd78;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.quest-step-media { min-width: 0; margin: 0; }

.quest-step-media img,
.quest-step-media video {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #171615;
  border: 1px solid #514a43;
}

.quest-step-media figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.quest-design-draft {
  margin: 0 12px 14px;
  padding: 14px;
  background: #302924;
  border: 1px solid #80613d;
}

.quest-design-draft .eyebrow {
  margin: 0 0 5px;
  color: #f2bd78;
  font-size: 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.quest-design-draft h3 {
  margin: 0 0 7px;
  color: #f3d39b;
  font: bold 18px Georgia, "Times New Roman", serif;
}

.quest-design-draft p { margin: 0 0 8px; }
.quest-design-draft ul { margin: 0 0 8px; padding-left: 20px; }
.quest-design-draft li + li { margin-top: 5px; }
.quest-design-draft p:last-child { margin-bottom: 0; }

.quest-expansion-draft {
  margin-bottom: 10px;
  background: #282724;
}

.quest-expansion-draft > p { color: #e4ddd3; }
.quest-steps-draft { margin: 10px 0 0; }
.quest-steps-draft .quest-step { background: #252321; }

.home-content { padding: 18px; }

.home-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 15px;
}

.home-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #37302a;
  border: 1px solid #57473a;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #171411d9 0%, #1714119c 42%, transparent 78%),
    linear-gradient(0deg, #1714118c, transparent 45%);
  content: "";
}

.home-hero-slides {
  position: absolute;
  inset: 0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.2s ease, transform 6s ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 390px;
  max-width: 530px;
  padding: 38px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.eyebrow, .card-kicker {
  margin: 0 0 7px;
  color: #f2bd78;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  color: #fff7e8;
  font: bold 34px/1.15 Georgia, "Times New Roman", serif;
  text-shadow: 1px 2px #1c1712;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 12px 0 18px;
  color: #f0e8db;
  font-size: 14px;
}

.home-hero-indicators {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 17px;
  display: flex;
  gap: 7px;
}

.home-hero-indicators button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #fff8e6a6;
  border: 1px solid #211a14;
  border-radius: 50%;
  cursor: pointer;
}

.home-hero-indicators button.is-active {
  background: #e97843;
  box-shadow: 0 0 0 2px #fff8e680;
}

.home-hero-indicators button:focus-visible {
  outline: 2px solid #fff8e6;
  outline-offset: 3px;
}

.home-links, .guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
  margin-top: 15px;
}

.home-sidebar {
  display: grid;
  gap: 14px;
}

.home-widget {
  overflow: hidden;
  background: #302d2b;
  border: 1px solid #49423d;
  border-radius: 4px;
}

.home-widget h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 11px 12px;
  color: #fff6ea;
  background: #b94d2b;
  font: bold 11px Verdana, Arial, sans-serif;
  text-transform: uppercase;
}

.home-widget h2 span:not(.members-title) {
  display: inline-block;
  width: 17px;
  margin-right: 4px;
  color: #fff1dc;
  text-align: center;
}

.members-title {
  min-width: 0;
}

.login-toggle {
  padding: 4px 9px;
  color: #fff6ea;
  background: #80391f;
  border: 1px solid #e17a4e;
  border-radius: 3px;
  font: bold 10px Verdana, Arial, sans-serif;
  cursor: pointer;
}

.login-toggle:hover { background: #984628; }

.widget-content {
  padding: 10px;
}

.widget-placeholder {
  margin: 0;
  color: #f2bd78;
  line-height: 1.5;
}

.widget-total {
  margin: 10px -10px -10px;
  padding: 9px 10px;
  color: #e2d8cb;
  border-top: 1px solid #49423d;
  font-size: 11px;
}

.members-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
  margin-top: 9px;
}

.member-online {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: #f2bd78;
  font-size: 11px;
}

.member-online:not(:last-child)::after { content: ","; }

.member-online span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-dialog {
  width: min(100% - 32px, 420px);
  padding: 0;
  color: var(--ink);
  background: #302d2b;
  border: 1px solid #66574b;
  border-radius: 5px;
  box-shadow: 0 14px 50px #000b;
}

.login-dialog::backdrop {
  background: #100e0dcc;
  backdrop-filter: blur(2px);
}

.login-dialog form {
  display: grid;
  gap: 13px;
  padding: 20px;
}

.login-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #514840;
}

.login-dialog-heading .eyebrow { margin-bottom: 4px; }

.login-dialog-heading h2 {
  margin: 0;
  color: #fff3de;
  font: bold 21px Georgia, "Times New Roman", serif;
}

.dialog-close {
  width: 30px;
  height: 30px;
  color: #e7ddd1;
  background: #403b37;
  border: 1px solid #62574d;
  border-radius: 3px;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.login-dialog label {
  color: #eee5d8;
  font-weight: bold;
}

.login-dialog input {
  width: 100%;
  padding: 10px;
  color: #fff6ea;
  background: #211f1e;
  border: 1px solid #66574b;
  border-radius: 3px;
  font: inherit;
}

.login-dialog input:focus {
  border-color: #d66a3a;
  outline: 2px solid #d66a3a55;
}

.login-submit { justify-self: start; cursor: pointer; }
.login-submit:disabled { cursor: wait; opacity: .65; }

.login-status, .login-code-panel p {
  margin: 0;
  color: #c8beb2;
  font-size: 12px;
}

.login-status[data-state="error"] { color: #ff9d7d; }
.login-status[data-state="success"] { color: #a9d6a2; }
.login-status[data-state="pending"] { color: #f2bd78; }

.login-code-panel {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 13px;
  background: #242220;
  border: 1px solid #594b3e;
  border-radius: 3px;
}

.login-code-panel[hidden] { display: none; }

.login-code {
  color: #f3d39b;
  font: bold 34px/1.1 "Courier New", monospace;
  letter-spacing: 5px;
}

.copy-code-button {
  padding: 6px 9px;
  color: #fff6ea;
  background: #4b3b2d;
  border: 1px solid #796047;
  border-radius: 3px;
  font: bold 11px Verdana, Arial, sans-serif;
  cursor: pointer;
}

.login-expiry { color: #a99e91 !important; }

.recent-posts {
  margin-top: 16px;
  overflow: hidden;
  background: #302d2b;
  border: 1px solid #49423d;
  border-radius: 4px;
}

.recent-posts > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 15px;
  color: #fff6ea;
  background: #b94d2b;
  font: 15px Verdana, Arial, sans-serif;
}

.preview-label {
  padding: 3px 6px;
  color: #f9d4b4;
  background: #81391f;
  border-radius: 2px;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.recent-post {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 135px minmax(130px, 190px) 28px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 9px 13px;
  border-top: 1px solid #252321;
}

.post-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff4e5;
  background: #57483b;
  border: 1px solid #77604b;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}

.avatar-rune { background: #554438; }
.avatar-map { background: #3e5048; }
.avatar-zel { background: #5b4056; }
.avatar-ory { background: #394e5d; }
.avatar-mir { background: #574c67; }
.avatar-fre { background: #69413e; }
.avatar-game { background: #62502e; }
.avatar-padre { background: #3f5a60; }

.post-topic { min-width: 0; }

.post-topic h3 {
  margin: 0 0 4px;
  color: #f3d39b;
  font: 14px Verdana, Arial, sans-serif;
}

.post-tag {
  display: inline-block;
  margin-right: 5px;
  padding: 1px 4px;
  color: #f1e6d6;
  background: #403b37;
  border: 1px solid #655b52;
  border-radius: 2px;
  font-size: 10px;
  vertical-align: 1px;
}

.post-topic p {
  overflow: hidden;
  margin: 0;
  color: #f2bd78;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-topic p span { color: #aaa198; }
.post-topic p a { color: #e4d7c5; text-decoration: none; }
.post-topic p a:hover { text-decoration: underline; }

.post-stats {
  display: grid;
  gap: 3px;
  margin: -9px 0;
  padding: 10px 12px;
  border-right: 1px solid #252321;
  border-left: 1px solid #252321;
  font-size: 11px;
}

.post-stats div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.post-stats dt, .post-stats dd { margin: 0; }
.post-stats dd { color: #f3d39b; }

.post-last-reply {
  display: grid;
  gap: 3px;
  color: #aaa198;
  font-size: 11px;
  text-align: right;
}

.post-last-reply strong {
  overflow: hidden;
  color: #f2bd78;
  font-weight: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-post-footer {
  display: flex;
  min-height: 48px;
  padding: 8px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #252321;
}

.recent-post-footer > span {
  color: #aaa198;
  font-size: 10px;
}

.recent-post-footer button {
  padding: 7px 11px;
  color: #fff6ea;
  background: #b94d2b;
  border: 1px solid #d26038;
  border-radius: 4px;
  font: bold 11px Verdana, Arial, sans-serif;
}

.recent-post-footer button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.home-card, .guide-card {
  display: block;
  padding: 18px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
}

.home-card:hover, .guide-card:hover {
  border-color: #a84929;
}

.guide-page-heading {
  padding-bottom: 5px;
}

.guide-page-heading .eyebrow { margin: 0 0 4px; }

.guide-page-heading h1 {
  color: #fff3de;
  font: bold 27px Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 350px;
  overflow: hidden;
  align-items: flex-end;
  padding: 0;
  background-color: #35302c;
  background-position: center;
  background-size: cover;
  border-color: #51483f;
  border-radius: 5px;
  box-shadow: 0 3px 10px #0005;
  transition: border-color .18s ease, transform .18s ease;
}

.guide-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #17141112 18%, #1714115c 52%, #171411ed 100%);
  content: "";
  transition: background-color .18s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
}

.guide-card:hover::before {
  background-color: #17141126;
}

.guide-card-mining {
  background-image: url("../../assets/guide-mining.png");
}

.guide-card-fishing {
  background-image: url("../../assets/guide-fishing.png");
}

.guide-card-harvest {
  background-image: url("../../assets/guide-harvest.png");
}

.guide-card-dungeon {
  background-image: url("../../assets/guide-dungeon.png");
}

.guide-card-praying {
  background-image: url("../../assets/guide-praying.png");
}

.guide-card-pvp {
  background-image: url("../../assets/guide-pvp.png");
}

.guide-card-quests {
  background-image: url("../../assets/guide-quest.png");
}

.guide-card-town {
  background-image: url("../../assets/guide-hub.png");
}

.guide-card-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 20px;
}

.guide-card .card-kicker {
  color: #f5c987;
}

.home-card h2, .guide-card h2, .category-card h2 {
  margin: 0 0 7px;
  color: #fff3de;
  font: bold 20px Georgia, "Times New Roman", serif;
}

.home-card p, .guide-card p, .category-card p {
  margin: 0 0 14px;
  color: #eee5d8;
}

.card-link {
  color: #f2bd78;
  font-weight: bold;
}

.forum-categories {
  padding: 0 13px 13px;
}

.category-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 16px 4px;
  border-top: 1px solid #46403a;
}

.category-card:first-child { border-top: 0; }
.category-card h2 { margin-bottom: 4px; font-size: 17px; }
.category-card p { margin: 0; }
.category-card p a { color: #f2bd78; }

.category-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #f2bd78;
  background: #45372c;
  border: 1px solid #65503d;
  border-radius: 50%;
  font-size: 19px;
}

.category-note {
  color: #c5b8a7;
  font-size: 11px;
}

.forum-welcome {
  position: relative;
  display: grid;
  min-height: 185px;
  overflow: hidden;
  margin: 0 13px 18px;
  place-items: center;
  background:
    linear-gradient(90deg, #201a17d9, #251e1bd9),
    url("../../assets/home-town.png") center 48% / cover;
  border: 1px solid #56463a;
  border-radius: 4px;
  text-align: center;
}

.forum-welcome::before,
.forum-welcome::after {
  position: absolute;
  width: 190px;
  height: 190px;
  background: #e7954930;
  content: "";
  transform: rotate(45deg);
}

.forum-welcome::before { top: -118px; left: -70px; }
.forum-welcome::after { right: -100px; bottom: -145px; }

.forum-welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 24px;
}

.forum-welcome-copy .eyebrow { margin: 0 0 5px; }
.forum-welcome-copy h2 {
  margin: 0 0 8px;
  color: #fff3de;
  font: bold 25px Georgia, "Times New Roman", serif;
}
.forum-welcome-copy > p:not(.eyebrow) { margin: 0 0 15px; color: #e9dfd1; }

.forum-news {
  margin: 0 13px 15px;
  overflow: hidden;
  border: 1px solid #4b433c;
  border-radius: 3px;
  background: #302d2b;
}

.forum-section-title {
  margin: 0;
  padding: 12px 14px;
  color: #fff6ea;
  background: #b94d2b;
  font: bold 11px Verdana, Arial, sans-serif;
  text-transform: uppercase;
}

.forum-section-title span { margin-right: 6px; color: #ffd49b; }

.forum-news-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 11px 14px;
  border-top: 1px solid #46403a;
}

.forum-news-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #f2bd78;
  background: #42372f;
  border: 1px solid #65503d;
  border-radius: 3px;
  font-size: 16px;
}

.forum-news-copy h3 { margin: 0 0 3px; color: #fff0d5; font-size: 13px; }
.forum-news-copy p { margin: 0; color: #c7bdae; font-size: 11px; }
.forum-news-tag, .forum-news-link { color: #f2bd78; font-size: 11px; white-space: nowrap; }
.forum-news-link { font-weight: bold; text-decoration: none; }
.forum-news-link:hover { text-decoration: underline; }

.player-page { padding: 16px; }
.player-page > .breadcrumbs { margin: -16px -16px 15px; }
.player-status {
  padding: 14px 16px;
  color: #e6d6bd;
  background: #302d2b;
  border: 1px solid #4b4540;
  border-radius: 3px;
}
.player-status.is-error { color: #ffbfaa; border-color: #88452e; }
.player-status a { margin-left: 4px; }

.player-hero {
  display: flex;
  min-height: 130px;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(110deg, #35271f, #2d2926 68%, #332a24);
  border: 1px solid #57483a;
  border-radius: 4px;
}

.player-avatar {
  width: 72px;
  height: 78px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 4px #0008);
}

.player-identity { min-width: 0; flex: 1; }
.player-identity .eyebrow { margin: 0 0 3px; }
.player-identity h1 {
  margin: 0;
  color: #f3d39b;
  font: bold 25px Georgia, "Times New Roman", serif;
}
.player-identity > p:last-child { margin: 5px 0 0; color: #c9bdad; font-size: 11px; }
.player-wip-tag {
  margin-left: 7px;
  padding: 3px 6px;
  color: #ffd59f;
  background: #68412b;
  border: 1px solid #875638;
  border-radius: 2px;
  font-size: 9px;
  text-transform: uppercase;
}
.player-online-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9bdad;
  font-size: 11px;
}
.player-online-badge span {
  width: 8px;
  height: 8px;
  background: #7cb86a;
  border-radius: 50%;
  box-shadow: 0 0 8px #7cb86a88;
}

.player-section {
  margin-top: 16px;
  overflow: hidden;
  background: #302d2b;
  border: 1px solid #4b4540;
  border-radius: 3px;
}
.player-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid #4b4540;
}
.player-section-heading .eyebrow { margin: 0 0 3px; }
.player-section-heading h2 {
  margin: 0;
  color: #f3d39b;
  font: bold 19px Georgia, "Times New Roman", serif;
}
.player-section-note { color: #bfb3a4; font-size: 11px; }
.player-character-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  padding: 14px;
}
.player-skill-card.player-character-stat { min-height: 74px; padding: 10px 12px; }
.player-character-stat .player-card-kicker { margin-bottom: 5px; }
.player-character-stat h3 { margin: 0; overflow-wrap: anywhere; font-size: 15px; }
.player-character-stat h3.is-unavailable { color: #c5b8a7; font-weight: normal; }
.player-character-note { margin: 0; padding: 0 14px 14px; color: #bfb3a4; font-size: 11px; line-height: 1.5; }
.player-skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.player-skill-card {
  min-height: 160px;
  padding: 15px;
  background: linear-gradient(145deg, #3b3029, #2c2a28 65%);
  border: 1px solid #5b4a3b;
  border-radius: 3px;
}
.player-skill-fishing { background: linear-gradient(145deg, #2d3939, #2c2a28 65%); border-color: #465954; }
.player-skill-player { background: linear-gradient(145deg, #263c30, #292c29 68%); border-color: #46634e; }
.player-skill-player .player-stat-chip { color: #d0ead3; background: #385541; }
.player-skill-player .player-progress-fill { background: linear-gradient(90deg, #3f895a, #9bcf8e); }
.player-skill-weapon { background: linear-gradient(145deg, #382d43, #2c292f 68%); border-color: #5c496a; }
.player-skill-weapon .player-stat-chip { color: #e3d0f2; background: #51405f; }
.player-skill-weapon .player-progress-fill { background: linear-gradient(90deg, #76519a, #c39be0); }
.player-card-kicker { margin: 0 0 3px; color: #c5aa82; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.player-skill-card h3 { margin: 0 0 13px; color: #fff0d5; font: bold 18px Georgia, "Times New Roman", serif; }
.player-skill-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.player-stat-chip { padding: 4px 7px; color: #f2d5a2; background: #594333; border-radius: 2px; font-size: 11px; }
.player-skill-fishing .player-stat-chip { color: #c5e5dc; background: #3a504b; }
.player-stat-chip.is-muted { color: #c5b8a7; background: #403b36; }
.player-progress-label { color: #bfb3a4; font-size: 10px; }
.player-progress-track { height: 9px; overflow: hidden; margin: 7px 0; background: #1e1c1a; border: 1px solid #554a3e; border-radius: 6px; }
.player-progress-fill { display: block; height: 100%; background: linear-gradient(90deg, #b94d2b, #f0b85d); border-radius: inherit; }
.player-skill-fishing .player-progress-fill { background: linear-gradient(90deg, #38776c, #8ec8ac); }
.player-empty { grid-column: 1 / -1; margin: 0; padding: 16px; color: #c3b8aa; font-size: 12px; }
.player-item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; padding: 14px; }
.player-item-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 10px;
  background: #282624;
  border: 1px solid #49423c;
  border-radius: 3px;
}
.player-item-spark { color: #f2bd78; font-size: 17px; text-align: center; }
.player-item-image { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; }
.player-item-name { overflow: hidden; color: #e9dfd1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.player-item-value { color: #ffd793; font-size: 12px; }
.player-variables { margin-top: 16px; background: #302d2b; border: 1px solid #4b4540; border-radius: 3px; }
.player-variables summary { display: flex; justify-content: space-between; padding: 13px 15px; color: #f3d39b; cursor: pointer; font-weight: bold; }
.player-variables summary span:last-child { color: #bfb3a4; font-size: 11px; font-weight: normal; }
.player-variable-help, .player-footnote { margin: 0; padding: 0 15px 12px; color: #bfb3a4; font-size: 11px; }
.player-table-wrap { overflow-x: auto; }
.player-variables table { width: 100%; border-collapse: collapse; text-align: left; }
.player-variables th, .player-variables td { padding: 8px 12px; border-top: 1px solid #49423c; font-size: 11px; }
.player-variables thead th { color: #e8d9c4; background: #282624; }
.player-variables tbody th { color: #f2bd78; font-weight: normal; }
.player-variable-value { color: #f3eee7; font-variant-numeric: tabular-nums; }
.player-variable-date { min-width: 170px; color: #bfb3a4; }
.player-footnote { padding: 14px 2px 0; }

.forum-page {
  display: block;
  background:
    linear-gradient(180deg, #211c18dc, #211c18e8 44%, #211c18ef),
    url("../../assets/home-town.png") center top / cover fixed;
}
.forum-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px 20px;
  background: linear-gradient(115deg, #35271f, #2d2926 70%, #332a24);
  border: 1px solid #57483a;
  border-radius: 4px;
}
.forum-hero h1 { margin: 0 0 5px; color: #fff3de; font: bold 28px Georgia, "Times New Roman", serif; }
.forum-hero p:not(.eyebrow) { margin: 0; color: #d2c5b3; font-size: 12px; }
.forum-hero .eyebrow { margin: 0 0 5px; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: start; gap: 14px; }
.forum-main-column { display: grid; gap: 14px; min-width: 0; }
.forum-main-column > [hidden] { display: none; }
.forum-status { margin: 0 0 12px; color: #d2c5b3; font-size: 12px; }
.forum-status.is-error { color: #ffb6a4; }
.forum-category, .forum-composer, .forum-thread-view, .forum-sidebar-card, .forum-profile {
  overflow: hidden;
  background: #302d2b;
  border: 1px solid #4b433c;
  border-radius: 4px;
}
.forum-news { margin: 0; }
.forum-news .forum-section-title { display: flex; align-items: center; gap: 8px; }
.forum-admin-tag { padding: 3px 5px; color: #f5d6b8; background: #783a23; border-radius: 2px; font-size: 8px; letter-spacing: .5px; }
.forum-admin-announcement { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 82px; padding: 12px 15px; background: #302d2b; border-top: 1px solid #46403a; }
.forum-admin-icon { display: grid; width: 30px; height: 30px; place-items: center; color: #ef9c64; background: #49382d; border: 1px solid #75543e; border-radius: 3px; }
.forum-admin-announcement h3 { margin: 0 0 4px; color: #fff0d5; font-size: 13px; }
.forum-admin-announcement p { margin: 0 0 5px; color: #c7bdae; font-size: 11px; }
.forum-admin-byline { color: #a99e91; font-size: 10px; }
.forum-post-tag { display: inline-block; flex: 0 0 auto; padding: 3px 6px; color: #f3d5ae; background: #49382d; border: 1px solid #71523c; border-radius: 3px; font-size: 9px; white-space: nowrap; }
.forum-post-tag.is-news { color: #ffe3c2; background: #773b25; border-color: #a6522d; }
.forum-posts-section { overflow: hidden; background: #302d2b; border: 1px solid #4b433c; border-radius: 4px; }
.forum-posts-heading { margin: 0; padding: 12px 14px; color: #fff6ea; background: #b94d2b; font: bold 12px Verdana, Arial, sans-serif; text-transform: uppercase; }
.forum-post-list { display: grid; }
.forum-post-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px 150px auto; align-items: center; gap: 12px; min-height: 75px; padding: 11px 14px; color: inherit; background: #302d2b; border-top: 1px solid #252321; }
.forum-post-row:not(.has-delete) { grid-template-columns: minmax(0, 1fr) 112px 150px; }
.forum-post-row:hover { background: #393431; }
.forum-post-row-main { display: grid; min-width: 0; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.forum-row-avatar { display: block; width: 36px; height: 42px; object-fit: contain; background: #403932; border: 1px solid #62574c; border-radius: 3px; image-rendering: pixelated; }
.forum-post-row-copy { display: grid; min-width: 0; gap: 4px; }
.forum-post-row-heading { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 7px; }
.forum-post-row-heading strong { overflow: hidden; color: #fff0d5; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.forum-post-byline { color: #f2bd78; font-size: 10px; }
.forum-post-row-stats { display: grid; gap: 5px; padding: 0 12px; color: #c7bdae; border-right: 1px solid #252321; border-left: 1px solid #252321; font-size: 10px; text-align: right; }
.forum-post-row-activity { display: grid; min-width: 0; gap: 4px; color: #a99e91; font-size: 10px; text-align: right; }
.forum-post-row-activity strong { overflow: hidden; color: #f2bd78; font-size: 11px; font-weight: normal; text-overflow: ellipsis; white-space: nowrap; }
.forum-delete-button { padding: 7px 9px; color: #ffd9ca; background: #773423; border: 1px solid #b65336; border-radius: 3px; cursor: pointer; font: bold 10px Verdana, Arial, sans-serif; white-space: nowrap; }
.forum-delete-button:hover:not(:disabled) { background: #963f28; }
.forum-delete-button:disabled { cursor: wait; opacity: .7; }
.button-danger { color: #ffe4dc; background: #773423; border-color: #b65336; }
.button-danger:hover { background: #963f28; }
.forum-post-actions { display: grid; justify-items: center; padding: 2px 0 4px; }
.forum-post-actions[hidden] { display: none; }
#forum-new-thread[hidden] { display: none; }
.forum-sign-in-hint { margin: 0; color: #bfb3a4; font-size: 11px; }
#forum-sign-in-hint a { color: #f2bd78; }
#forum-sign-in-hint { margin: 0; color: #bfb3a4; font-size: 11px; text-align: center; }
.forum-admin-announcement .forum-post-tag { align-self: center; }
.forum-thread-description { overflow: hidden; color: #c7bdae; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.forum-empty, .home-forum-empty { margin: 0; padding: 15px; color: #bfb3a4; font-size: 12px; }
.forum-sidebar { display: grid; gap: 12px; }
.forum-profile { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 10px; padding: 13px; }
.forum-profile[hidden] { display: none; }
.forum-profile-cover { position: relative; display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; background: #4a382a url("../../assets/home-town.png") center / cover; border: 1px solid #796047; border-radius: 4px; }
.forum-profile-cover::before { position: absolute; inset: 0; background: #1915118c; content: ""; }
.forum-profile-cover img { position: relative; z-index: 1; width: 42px; height: 50px; object-fit: contain; image-rendering: pixelated; }
.forum-online-dot { position: absolute; z-index: 2; right: 2px; bottom: 2px; width: 10px; height: 10px; background: #71cf78; border: 2px solid #302d2b; border-radius: 50%; }
.forum-profile-copy { min-width: 0; }
.forum-profile-copy .eyebrow { margin: 0 0 3px; color: #91c994; font-size: 9px; }
.forum-profile-copy h2 { overflow: hidden; margin: 0 0 6px; color: #fff0d5; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.forum-profile-copy p:last-child { margin: 0; color: #c7bdae; font-size: 10px; }
.forum-sidebar-card { padding-bottom: 13px; }
.forum-sidebar-card > .eyebrow { margin: 0; padding: 12px 13px 8px; color: #f2bd78; }
.forum-sidebar-card img { display: block; width: 100%; height: 115px; object-fit: cover; }
.forum-sidebar-card h2 { margin: 12px 13px 5px; color: #fff0d5; font: bold 17px Georgia, "Times New Roman", serif; }
.forum-sidebar-card > p:last-child { margin: 0 13px; color: #c7bdae; font-size: 11px; line-height: 1.5; }
.forum-guide-promo { position: relative; display: grid; min-height: 118px; align-content: end; overflow: hidden; color: #fff0d5; background: #282522; border: 1px solid #51473d; border-radius: 4px; font-size: 11px; font-weight: bold; text-decoration: none; }
.forum-guide-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; transition: transform .2s ease; }
.forum-guide-promo:hover img { transform: scale(1.04); }
.forum-guide-promo span { position: relative; padding: 26px 12px 12px; background: linear-gradient(transparent, #171411e8); }
.forum-composer { padding: 17px; }
.forum-composer[hidden], .forum-thread-view[hidden], .forum-thread-list[hidden], .forum-status[hidden] { display: none; }
.forum-composer-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.forum-composer-heading .eyebrow { margin: 0 0 4px; }
.forum-composer-heading h2 { margin: 0; color: #fff0d5; font: bold 21px Georgia, "Times New Roman", serif; }
.forum-composer form { display: grid; gap: 7px; }
.forum-composer label { margin-top: 5px; color: #e8d9c4; font-size: 11px; font-weight: bold; }
.forum-composer label span { color: #a99e91; font-weight: normal; }
.forum-composer input, .forum-composer select {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  color: #f3eee7;
  background: #242220;
  border: 1px solid #5a5047;
  border-radius: 3px;
  font: 12px Verdana, Arial, sans-serif;
}
.forum-composer input:focus, .forum-composer select:focus, .forum-editor:focus { outline: 2px solid #bd6744; outline-offset: 1px; }
.forum-editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: #252321; border: 1px solid #51483f; border-bottom: 0; border-radius: 3px 3px 0 0; }
.forum-editor-toolbar button { min-width: 30px; min-height: 28px; padding: 4px 7px; color: #e8d9c4; background: #403a35; border: 1px solid #5a5047; border-radius: 2px; cursor: pointer; font: 11px Verdana, Arial, sans-serif; }
.forum-editor-toolbar button:hover { background: #57483a; }
.forum-editor-toolbar button[data-color="#f2bd78"] { color: #f2bd78; }
.forum-editor-toolbar button[data-color="#91c7ff"] { color: #91c7ff; }
.forum-editor-toolbar button[data-color="#9bd6a0"] { color: #9bd6a0; }
.forum-editor-toolbar button[data-color="#ef9c8c"] { color: #ef9c8c; }
.forum-editor-toolbar button[data-color="#f3eee7"] { color: #f3eee7; }
.forum-file-input { display: none; }
.forum-color-gold { color: #f2bd78; }
.forum-color-blue { color: #91c7ff; }
.forum-color-green { color: #9bd6a0; }
.forum-color-red { color: #ef9c8c; }
.forum-color-white { color: #f3eee7; }
.forum-uppercase { text-transform: uppercase; }
.forum-editor { min-height: 170px; padding: 11px; color: #f3eee7; background: #242220; border: 1px solid #51483f; border-radius: 0 0 3px 3px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.forum-editor:empty::before { color: #82796f; content: "Write your message here..."; }
.forum-editor img, .forum-rich-content img { max-width: 100%; height: auto; border-radius: 3px; }
.forum-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.button-secondary { color: #eee5d8; background: #403a35; border-color: #66584c; }
.forum-composer .forum-status { margin: 4px 0 0; }
.forum-thread-view { padding: 16px; }
.forum-back-link { display: inline-block; margin-bottom: 14px; color: #f2bd78; font-size: 11px; text-decoration: none; }
.forum-back-link:hover { text-decoration: underline; }
.forum-detail-header { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.forum-category-label { padding: 4px 7px; color: #f2bd78; background: #49382d; border-radius: 2px; font-size: 10px; }
.forum-detail-header h2 { flex: 1 1 100%; margin: 0; color: #fff0d5; font: bold 24px Georgia, "Times New Roman", serif; }
.forum-detail-description { margin: 8px 0 0; color: #d4c8b7; font-size: 12px; }
.forum-detail-meta { margin: 10px 0; color: #9d958b; font-size: 10px; }
.forum-post, .forum-reply { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 10px; padding: 13px; background: #282624; border: 1px solid #49423c; border-radius: 3px; }
.forum-post { display: block; }
.forum-post-heading { display: flex; min-width: 0; align-items: center; gap: 9px; color: #f3d39b; font-size: 11px; }
.forum-post-heading time { margin-left: auto; color: #9d958b; font-size: 10px; }
.forum-post-avatar { grid-row: span 2; width: 42px; height: 48px; object-fit: contain; background: #39332f; border: 1px solid #62574c; border-radius: 3px; image-rendering: pixelated; }
.forum-post .forum-thread-cover { grid-column: 2; max-width: 100%; max-height: 300px; object-fit: contain; object-position: left; border-radius: 3px; }
.forum-rich-content { grid-column: 2; min-width: 0; color: #e8dfd3; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.forum-rich-content > :first-child { margin-top: 0; }
.forum-rich-content > :last-child { margin-bottom: 0; }
.forum-rich-content blockquote { margin: 8px 0; padding: 5px 10px; color: #c7bdae; border-left: 3px solid #b94d2b; }
.forum-detail-stats { display: flex; gap: 18px; margin: 0 0 10px; padding: 8px 0; color: #bfb3a4; border-top: 1px solid #49423c; border-bottom: 1px solid #49423c; font-size: 11px; }
.forum-replies-title { margin: 18px 0 9px; color: #f3d39b; font-size: 13px; }
.forum-thread-view > .forum-reply { margin-top: 8px; }
.forum-reply-form { display: grid; gap: 7px; margin-top: 18px; }
.forum-reply-form h3 { margin: 0 0 3px; color: #f3d39b; font-size: 13px; }
.forum-reply-form .forum-editor { min-height: 110px; }
.forum-reply-form .forum-status { margin: 0; }
.home-forum-threads { display: grid; gap: 0; padding: 0 13px; }
.home-forum-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px 150px auto; align-items: center; gap: 12px; min-height: 72px; padding: 10px 0; color: inherit; border-bottom: 1px solid #252321; }
.home-forum-card:not(.has-delete) { grid-template-columns: minmax(0, 1fr) 112px 150px; }
.home-forum-card:last-child { border-bottom: 0; }
.home-forum-card:hover .home-forum-card-content strong { color: #f2bd78; }
.home-forum-card-content { display: grid; min-width: 0; gap: 5px; color: inherit; text-decoration: none; }
.home-forum-card-content strong { overflow: hidden; color: #fff0d5; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.home-forum-byline { overflow: hidden; color: #c7bdae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.home-forum-stats { display: grid; gap: 5px; padding: 0 12px; color: #f3eee7; border-right: 1px solid #252321; border-left: 1px solid #252321; font-size: 11px; }
.home-forum-activity { display: grid; min-width: 0; gap: 4px; color: #a99e91; font-size: 10px; text-align: right; }
.home-forum-activity strong { overflow: hidden; color: #f2bd78; font-size: 11px; font-weight: normal; text-overflow: ellipsis; white-space: nowrap; }
.home-forum-empty { grid-column: 1 / -1; padding: 17px; color: #bfb3a4; font-size: 12px; }
.ui-error {
  padding: 9px 12px !important;
  color: #fff !important;
  background: #9f2f1e !important;
  border: 2px solid #f17b52 !important;
  border-radius: 3px;
  box-shadow: 0 0 12px #9f2f1e66;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: uppercase;
}
.recent-posts .recent-post-footer .button { padding: 7px 11px; color: #fff6ea; background: #b94d2b; border: 1px solid #d26038; border-radius: 4px; font-size: 11px; text-decoration: none; }

@media (max-width: 680px) {
  .page { width: 100%; margin: 0; border-left: 0; border-right: 0; }
  .masthead { padding: 17px 15px; }
  .masthead-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .account-links a:first-child { margin-left: 0; }
  .main-nav { overflow-x: auto; padding: 0 5px; }
  .main-nav a { padding: 10px 11px; white-space: nowrap; }
  .content { grid-template-columns: 1fr; padding: 10px; }
  .home-content { padding: 10px; }
  .home-main-grid { grid-template-columns: 1fr; }
  .home-sidebar { grid-template-columns: 1fr; }
  .recent-post { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 9px; }
  .post-stats { grid-column: 2; display: flex; gap: 12px; margin: 0; padding: 0; border: 0; }
  .post-last-reply { display: none; }
  .post-avatar:last-child { display: none; }
  .recent-post-footer { align-items: flex-start; flex-direction: column; }
  .home-hero, .home-hero-copy { min-height: 390px; }
  .home-hero-slide { object-position: 55% center; }
  .home-hero-copy { padding: 24px; }
  .home-hero h1 { font-size: 28px; }
  .home-links { grid-template-columns: 1fr; }
  .guide-card { min-height: 310px; }
  .category-card { grid-template-columns: 38px minmax(0, 1fr); }
  .category-note { grid-column: 2; }
  .forum-welcome { min-height: 210px; margin-right: 8px; margin-left: 8px; }
  .forum-news { margin-right: 8px; margin-left: 8px; }
  .forum-news-item { grid-template-columns: 30px minmax(0, 1fr); }
  .forum-news-tag, .forum-news-link { grid-column: 2; }
  .forum-hero { align-items: flex-start; flex-direction: column; }
  .forum-layout { grid-template-columns: 1fr; }
  .forum-sidebar { grid-template-columns: 1fr 1fr; }
  .forum-profile { grid-column: 1 / -1; }
  .forum-sidebar-card { grid-column: 1 / -1; }
  .forum-thread-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .forum-thread-row-stats { display: flex; gap: 10px; text-align: left; }
  .forum-post-row, .forum-post-row:not(.has-delete) { grid-template-columns: minmax(0, 1fr) auto; }
  .forum-post-row-main { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 34px minmax(0, 1fr); }
  .forum-row-avatar { width: 32px; height: 38px; }
  .forum-post-row-stats { grid-column: 1; grid-row: 2; display: flex; gap: 12px; padding: 0; border: 0; text-align: left; }
  .forum-post-row-activity { grid-column: 2; grid-row: 2; display: flex; justify-content: flex-end; gap: 5px; }
  .forum-post-row-activity time { white-space: nowrap; }
  .forum-post-row.has-delete .forum-delete-button { grid-column: 2; grid-row: 3; justify-self: end; }
  .forum-admin-announcement { grid-template-columns: 32px minmax(0, 1fr); }
  .forum-admin-announcement > .forum-post-tag { grid-column: 2; justify-self: start; }
  .home-forum-threads { padding: 0 10px; }
  .home-forum-card, .home-forum-card:not(.has-delete) { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .home-forum-stats { grid-column: 1; grid-row: 2; display: flex; gap: 12px; padding: 0; border: 0; font-size: 10px; }
  .home-forum-activity { grid-column: 2; grid-row: 1 / span 2; max-width: 115px; }
  .home-forum-card.has-delete .forum-delete-button { grid-column: 2; grid-row: 3; justify-self: end; }
  .player-page { padding: 10px; }
  .player-page > .breadcrumbs { margin: -10px -10px 10px; }
  .player-hero { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 14px; }
  .player-avatar { width: 58px; height: 64px; }
  .player-online-badge { width: 100%; margin-left: 68px; }
  .player-skill-grid { grid-template-columns: 1fr; padding: 10px; }
  .player-character-stats { grid-template-columns: 1fr; padding: 10px; }
  .player-item-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); padding: 10px; }
  .player-section-heading { align-items: flex-start; flex-direction: column; }
  .topic-heading { align-items: flex-start; }
  .topic-heading h1 { font-size: 18px; }
  .quest-overview { margin: 10px; padding: 15px; }
  .quest-overview h1 { font-size: 21px; }
  .quest-board-callout { grid-template-columns: 1fr; gap: 10px; margin: 10px; }
  .quest-step { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .mining-vendor { grid-template-columns: 1fr; gap: 10px; }
  .mining-vendor > img { width: min(300px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide {
    transform: none;
    transition: opacity .01ms;
  }
}

.map-panel { padding-bottom: 14px; }
.map-heading { padding: 16px 18px 12px; }
.map-heading .eyebrow { margin: 0 0 4px; }
.map-heading h1 {
  margin: 0;
  color: #f3d39b;
  font: bold 25px Georgia, "Times New Roman", serif;
}
.map-heading > p:last-child { margin: 5px 0 0; color: var(--muted); }
.world-map-frame {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.world-map { position: relative; }
.world-map img { display: block; width: 100%; height: auto; }
.map-player-group {
  position: absolute;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 8px;
  transform: translateY(-50%);
}
.map-player-claywish { top: 39%; left: 24%; }
.map-player-elkharid { top: 74%; left: 62%; }
.map-player-cavern { top: 15%; left: 64%; }
.map-player-marker {
  position: relative;
  color: #ffe36b;
  cursor: default;
  font: bold clamp(20px, 3vw, 32px)/1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 2px #24170d, 0 0 6px #3a210d;
}
.map-player-marker:hover, .map-player-marker:focus-visible { color: #fff5bc; }
.map-player-marker:focus-visible { outline: 2px solid #fff5bc; outline-offset: 2px; }
.map-player-marker::after {
  position: absolute;
  z-index: 1;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 4px 7px;
  color: #fff4d8;
  background: #211f1e;
  border: 1px solid #8a6847;
  border-radius: 3px;
  content: attr(data-username);
  font: bold 11px/1.3 Verdana, Arial, sans-serif;
  text-shadow: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}
.map-player-marker:hover::after, .map-player-marker:focus-visible::after { opacity: 1; }
@media (max-width: 680px) {
  .map-heading { padding: 13px 12px 10px; }
  .map-player-marker { font-size: clamp(18px, 5vw, 25px); }
}
