/*
 * United Factions 0.5
 * Focused multi-page information architecture layered over the v0.4 visual
 * foundations. No commerce, account or game integrations are activated here.
 */

:root {
  --uf-v5-page-gap: clamp(72px, 8vw, 116px);
  --uf-v5-panel: #0d1a1f;
  --uf-v5-panel-raised: #13242a;
  --uf-v5-ink: #172329;
  --uf-v5-paper: #e9e6dc;
  --uf-v5-paper-soft: #f3f0e7;
}

.uf-v5-page,
.uf-v5-home {
  background: var(--uf-v4-bg);
}

.uf-v5-home-quest,
.uf-v5-quest-feature,
.uf-v5-portals {
  display: none;
}

.uf-v5-section {
  position: relative;
  padding-block: var(--uf-v5-page-gap);
}

.uf-v5-section--paper {
  background: var(--uf-v5-paper);
  color: var(--uf-v5-ink);
}

.uf-v5-section--paper .uf-kicker {
  color: #187e92;
}

.uf-v5-section--paper h2,
.uf-v5-section--paper h3 {
  color: #122027;
}

.uf-v5-section--paper p {
  color: #5c686c;
}

.uf-v5-section-heading {
  display: grid;
  align-items: end;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  margin-bottom: 44px;
}

.uf-v5-section-heading h2 {
  max-width: 780px;
  margin: 8px 0 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
}

.uf-v5-section-heading > p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.8;
}

.uf-v5-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.uf-v5-next-step {
  border-top: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(90deg, rgba(63, 208, 238, 0.07), transparent 42%),
    #081318;
}

.uf-v5-next-step > .uf-shell {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 54px;
}

.uf-v5-next-step h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.uf-v5-next-step .uf-v5-inline-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.uf-button {
  min-height: 42px;
  padding-inline: 16px;
}

.uf-button--large {
  min-height: 46px;
  padding: 0 18px;
}

.uf-v5-text-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: var(--uf-v4-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-v5-text-link svg {
  width: 16px;
}

/* Practical server pages */

.uf-simple-layout {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.uf-simple-nav,
.uf-simple-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uf-simple-nav {
  position: sticky;
  top: 104px;
  flex-direction: column;
}

.uf-simple-nav a,
.uf-simple-tabs a {
  border: 1px solid var(--uf-v4-line);
  background: rgba(9, 24, 29, 0.92);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-simple-nav a:hover,
.uf-simple-nav a:focus-visible,
.uf-simple-tabs a:hover,
.uf-simple-tabs a:focus-visible {
  border-color: rgba(63, 208, 238, 0.55);
  color: var(--uf-v4-cyan);
}

.uf-simple-stack {
  display: grid;
  gap: 14px;
}

.uf-simple-panel,
.uf-simple-card {
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-simple-panel {
  scroll-margin-top: 120px;
  padding: clamp(22px, 3vw, 34px);
}

.uf-simple-panel h2,
.uf-simple-card h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.uf-simple-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uf-simple-panel li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.uf-simple-panel li svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--uf-v4-cyan);
}

.uf-rules-compact {
  display: grid;
  gap: 18px;
}

.uf-rules-compact .uf-simple-nav {
  position: static;
  flex-direction: row;
}

.uf-rules-card {
  padding: clamp(18px, 3vw, 30px);
}

.uf-rules-card .uf-v5-boundary-banner {
  margin-bottom: 18px;
}

.uf-rules-section {
  scroll-margin-top: 110px;
  padding-block: 18px;
  border-top: 1px solid var(--uf-v4-line);
}

.uf-rules-section h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.5vw, 28px);
}

.uf-rules-section ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 28px;
}

.uf-rules-section li {
  display: list-item;
  padding-left: 5px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.uf-dynmap-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--uf-v4-line);
  background: #071014;
}

.uf-store-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.uf-store-intro p {
  margin: 10px 0 0;
  color: var(--uf-v4-muted);
  font-size: 18px;
  line-height: 1.65;
}

.uf-store-content .woocommerce-products-header__title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(46px, 7vw, 78px);
}

.uf-store-content .woocommerce-info,
.uf-store-content .woocommerce-message,
.uf-store-content .woocommerce-error {
  margin: 0;
  padding: 24px 28px 24px 58px;
  border: 1px solid rgba(63, 208, 238, 0.3);
  border-top: 3px solid var(--uf-v4-cyan);
  background: var(--uf-v5-panel);
  color: rgba(255, 255, 255, 0.78);
}

.uf-store-content .woocommerce-info::before {
  top: 24px;
  color: var(--uf-v4-cyan);
}

.uf-store-content ul.products {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-store-content ul.products::before,
.uf-store-content ul.products::after {
  display: none;
}

.uf-store-content ul.products li.product {
  width: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

@media (max-width: 760px) {
  .uf-store-content ul.products {
    grid-template-columns: 1fr;
  }
}

.uf-minecraft-link-card__unlink button {
  min-height: 38px;
  padding: 0 14px;
  border: 2px solid #5a281f;
  background: #3a1813;
  color: #ffe7dc;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-simple-card-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-simple-card {
  display: grid;
  min-height: 190px;
  gap: 12px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.uf-simple-card > svg {
  width: 26px;
  color: var(--uf-v4-cyan);
}

.uf-simple-card p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.55;
}

.uf-simple-card strong {
  align-self: end;
  color: var(--uf-v4-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-member-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-member-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 22px;
  background: rgba(4, 6, 10, 0.76);
}

.uf-member-avatar {
  width: 72px;
  height: 72px;
  border: 1px solid var(--uf-v4-line);
  border-radius: 6px;
  image-rendering: pixelated;
}

.uf-member-card h2 {
  margin: 0;
  font-size: 18px;
}

.uf-member-card p {
  margin: 6px 0 0;
  color: var(--uf-v4-muted);
}

.uf-member-card strong {
  display: inline-block;
  margin-top: 9px;
  color: var(--uf-v4-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-minecraft-link-card {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 24px;
  border: 4px solid #20150d;
  background: #20170e;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 16px 0 rgba(0, 0, 0, 0.22);
  color: #f7f0d8;
}

.uf-minecraft-link-card h2 {
  margin: -24px -24px 4px;
  padding: 11px 18px;
  border-bottom: 3px solid #20150d;
  background: linear-gradient(#70a341 0 48%, #4d732d 48% 100%);
  color: #fff8d9;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 22px;
  text-shadow: 2px 2px 0 #21350f;
}

.uf-minecraft-link-card p {
  margin: 0;
  color: #e0d6b8;
}

.uf-minecraft-link-card code {
  display: inline-block;
  width: fit-content;
  padding: 12px 16px;
  border: 2px solid #5a3a20;
  background: #100b07;
  color: #ffe9a8;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.uf-minecraft-link-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 2px solid #161006;
  background: linear-gradient(#8eb15f, #557c35);
  color: #fff8df;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 1px 1px 0 #22380d;
  text-transform: uppercase;
}

.uf-minecraft-link-card__hint {
  max-width: 560px;
  color: #c8bea3;
  font-size: 13px;
}

.uf-minecraft-link-card__verified {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
}

.uf-minecraft-link-card__verified img {
  grid-row: span 2;
  width: 96px;
  height: 96px;
  border: 2px solid #5a3a20;
  image-rendering: pixelated;
}

.uf-minecraft-link-card__verified strong {
  align-self: end;
  color: #ffe9a8;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 24px;
}

.uf-minecraft-link-card__verified span {
  align-self: start;
  color: #c8bea3;
  font-size: 12px;
}

/* bbPress forum surface: inspired by classic Minecraft forum boards. */

.uf-minecraft-forum-page .uf-v5-section {
  padding-top: 38px;
  background:
    linear-gradient(rgba(11, 17, 10, 0.74), rgba(9, 13, 9, 0.88)),
    repeating-linear-gradient(
      45deg,
      rgba(116, 87, 56, 0.2) 0,
      rgba(116, 87, 56, 0.2) 12px,
      rgba(62, 93, 52, 0.18) 12px,
      rgba(62, 93, 52, 0.18) 24px
    );
}

.uf-forum-shell {
  max-width: 1180px;
}

.uf-forum-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border: 4px solid #20150d;
  background: #24190f;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.uf-forum-toolbar form {
  display: flex;
  flex: 1 1 420px;
  gap: 8px;
}

.uf-forum-toolbar input {
  flex: 1 1 auto;
  min-height: 38px;
  border: 2px solid #4a331e;
  border-radius: 0;
  background: #0f0d0a;
  color: #f7f0d8;
}

.uf-forum-toolbar button,
.uf-forum-toolbar a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 2px solid #161006;
  border-radius: 0;
  background: linear-gradient(#8eb15f, #557c35);
  color: #fff8df;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 1px 1px 0 #22380d;
  text-transform: uppercase;
}

.uf-forum-index {
  display: grid;
  gap: 18px;
}

.uf-forum-board {
  overflow: hidden;
  border: 4px solid #20150d;
  background: #14100c;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 16px 0 rgba(0, 0, 0, 0.22);
}

.uf-forum-board__header {
  display: grid;
  gap: 3px;
  padding: 11px 14px 12px;
  border-bottom: 3px solid #20150d;
  background: linear-gradient(#5f8438 0 46%, #426327 46% 100%);
}

.uf-forum-board__header h2 {
  margin: 0;
  color: #fff8d9;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #21350f;
}

.uf-forum-board__header a {
  color: inherit;
  text-decoration: none;
}

.uf-forum-board__header p {
  margin: 0;
  color: #dfebc7;
  font-size: 12px;
}

.uf-forum-table__head,
.uf-forum-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px) 84px 84px;
}

.uf-forum-table__head {
  background: linear-gradient(#725033, #4a331f);
  color: #f9ecd1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-forum-table__head span {
  padding: 10px 12px;
  border-left: 1px solid rgba(32, 21, 13, 0.75);
}

.uf-forum-table__head span:first-child {
  border-left: 0;
}

.uf-forum-row {
  min-height: 92px;
  border-top: 1px solid #3d2b1b;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #20170e;
}

.uf-forum-row:nth-child(odd) {
  background:
    linear-gradient(90deg, rgba(122, 160, 76, 0.1), transparent 42%),
    #1a130c;
}

.uf-forum-row__main {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
}

.uf-mc-item {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #24170d;
  background: linear-gradient(145deg, #3a2a1b, #1c130c);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28);
  image-rendering: pixelated;
}

.uf-mc-item img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.42));
  image-rendering: pixelated;
}

.uf-bbp-topic-icon-field { margin:18px 0; padding:14px; border:1px solid #554025; background:#171008; }
.uf-bbp-topic-icon-field legend { padding:0 8px; color:#ffe9a8; font-weight:900; }
.uf-bbp-topic-icon-grid { display:grid; gap:8px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.uf-bbp-topic-icon-grid label { display:flex; min-width:0; align-items:center; gap:8px; padding:9px; border:1px solid #3d2b1b; background:#21170e; color:#e9dfc6; cursor:pointer; font-size:12px; }
.uf-bbp-topic-icon-grid label:has(input:checked) { border-color:#65d6e5; background:#10252a; color:#fff; }
.uf-bbp-topic-icon-grid input { flex:0 0 auto; }
.uf-bbp-topic-icon-grid .uf-mc-item { width:30px; height:30px; box-shadow:2px 2px 0 rgba(0,0,0,.3); }
.uf-bbp-topic-icon-grid .uf-mc-item img { width:24px; height:24px; }
.uf-bbp-topic-list-icon { display:inline-block; margin:0 8px 0 0; vertical-align:middle; }
.uf-bbp-topic-list-icon .uf-mc-item { width:28px; height:28px; border-width:1px; box-shadow:2px 2px 0 rgba(0,0,0,.28); }
.uf-bbp-topic-list-icon .uf-mc-item img { width:22px; height:22px; }
.uf-bbp-emote-picker { margin:10px 0 18px; padding:10px 12px; border:1px solid #3d2b1b; background:#171008; }
.uf-bbp-emote-picker > strong { display:block; margin-bottom:8px; color:#ffe9a8; font-size:12px; }
.uf-bbp-emote-picker > div { display:flex; flex-wrap:wrap; gap:7px; }
.uf-bbp-emote-picker button { display:inline-grid; width:38px; height:38px; padding:0; place-items:center; border:1px solid #5b4326; background:#24190f; cursor:pointer; }
.uf-bbp-emote-picker button:hover,.uf-bbp-emote-picker button:focus-visible { border-color:#65d6e5; background:#123039; }
.uf-bbp-emote-picker .uf-mc-item { width:30px; height:30px; border:0; background:transparent; box-shadow:none; }
.uf-bbp-emote-picker .uf-mc-item img { width:26px; height:26px; }
.uf-bbp-emote { display:inline-block; vertical-align:-7px; }
.uf-bbp-emote .uf-mc-item { width:26px; height:26px; border:0; background:transparent; box-shadow:none; }
.uf-bbp-emote .uf-mc-item img { width:24px; height:24px; }

@media (max-width:760px) {
  .uf-bbp-topic-icon-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.uf-forum-row h3 {
  margin: 0 0 4px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 17px;
  line-height: 1.18;
}

.uf-forum-row h3 a {
  color: #ffe9a8;
  text-decoration: none;
  text-shadow: 1px 1px 0 #231405;
}

.uf-forum-row h3 a:hover,
.uf-forum-row h3 a:focus-visible {
  color: #fff3a5;
  text-decoration: underline;
}

.uf-forum-row p {
  margin: 0;
  color: #e0d6b8;
  font-size: 13px;
  line-height: 1.45;
}

.uf-forum-row__fresh {
  display: grid;
  align-content: center;
  padding: 14px 16px;
  border-left: 1px solid #3d2b1b;
  color: #d2c7aa;
  font-size: 12px;
  line-height: 1.35;
}

.uf-forum-row__fresh a {
  color: #f1c15b;
}

.uf-forum-row > strong {
  display: grid;
  place-items: center;
  padding: 14px 8px;
  border-left: 1px solid #3d2b1b;
  color: #f8e7b7;
  font-weight: 900;
  text-align: center;
}

.uf-bbpress-screen .uf-v5-section {
  min-height: 720px;
  padding-top: 112px;
}

.uf-bbpress-screen .uf-forum-toolbar {
  justify-content: flex-start;
}

.uf-bbpress-screen .uf-forum-toolbar a {
  flex: 0 0 auto;
}

.uf-bbpress-board {
  border: 4px solid #20150d;
  background: #14100c;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 16px 0 rgba(0, 0, 0, 0.22);
}

.uf-minecraft-forum-page #bbpress-forums,
.uf-content-page #bbpress-forums {
  overflow: hidden;
  margin: 0;
  border: 4px solid #20150d;
  border-radius: 0;
  background: #14100c;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 24px 0 rgba(0, 0, 0, 0.22);
  color: #f7f0d8;
  font-size: 14px;
}

.uf-minecraft-forum-page #bbpress-forums::before,
.uf-content-page #bbpress-forums::before {
  display: block;
  padding: 10px 14px;
  border-bottom: 3px solid #20150d;
  background:
    linear-gradient(#5f8438 0 46%, #426327 46% 100%);
  color: #fff8d9;
  content: "United Factions Forums";
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 2px 2px 0 #21350f;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-search-form,
.uf-content-page #bbpress-forums .bbp-search-form {
  float: none;
  padding: 12px;
  border-bottom: 1px solid #3d2b1b;
  background: #24190f;
}

.uf-minecraft-forum-page #bbpress-forums #bbp-search-form > div,
.uf-content-page #bbpress-forums #bbp-search-form > div {
  display: flex;
  gap: 8px;
}

.uf-minecraft-forum-page #bbpress-forums #bbp_search,
.uf-content-page #bbpress-forums #bbp_search,
.uf-minecraft-forum-page #bbpress-forums input[type="text"],
.uf-minecraft-forum-page #bbpress-forums input[type="password"],
.uf-minecraft-forum-page #bbpress-forums input[type="email"],
.uf-content-page #bbpress-forums input[type="text"],
.uf-content-page #bbpress-forums input[type="password"],
.uf-content-page #bbpress-forums input[type="email"] {
  width: min(420px, 100%);
  min-height: 36px;
  border: 2px solid #4a331e;
  border-radius: 0;
  background: #0f0d0a;
  color: #f7f0d8;
  box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.28);
}

.uf-minecraft-forum-page #bbpress-forums #bbp_search_submit,
.uf-content-page #bbpress-forums #bbp_search_submit,
.uf-minecraft-forum-page #bbpress-forums button,
.uf-content-page #bbpress-forums button,
.uf-minecraft-forum-page #bbpress-forums .button,
.uf-content-page #bbpress-forums .button {
  min-height: 36px;
  border: 2px solid #161006;
  border-radius: 0;
  background: linear-gradient(#8eb15f, #557c35);
  color: #fff8df;
  font-weight: 900;
  text-shadow: 1px 1px 0 #22380d;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-breadcrumb,
.uf-content-page #bbpress-forums .bbp-breadcrumb {
  padding: 10px 14px;
  border-bottom: 1px solid #3d2b1b;
  background: #19120b;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-breadcrumb p,
.uf-content-page #bbpress-forums .bbp-breadcrumb p {
  margin: 0;
  color: #bdb59b;
  font-size: 12px;
}

.uf-minecraft-forum-page #bbpress-forums a,
.uf-content-page #bbpress-forums a {
  color: #f1c15b;
  text-decoration: none;
}

.uf-minecraft-forum-page #bbpress-forums a:hover,
.uf-minecraft-forum-page #bbpress-forums a:focus-visible,
.uf-content-page #bbpress-forums a:hover,
.uf-content-page #bbpress-forums a:focus-visible {
  color: #fff3a5;
  text-decoration: underline;
}

.uf-minecraft-forum-page #bbpress-forums ul.bbp-forums,
.uf-minecraft-forum-page #bbpress-forums ul.bbp-topics,
.uf-minecraft-forum-page #bbpress-forums ul.bbp-replies,
.uf-content-page #bbpress-forums ul.bbp-forums,
.uf-content-page #bbpress-forums ul.bbp-topics,
.uf-content-page #bbpress-forums ul.bbp-replies {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

.uf-minecraft-forum-page #bbpress-forums li.bbp-header,
.uf-content-page #bbpress-forums li.bbp-header {
  padding: 0;
  border: 0;
  background:
    linear-gradient(#725033, #4a331f);
  color: #f9ecd1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-minecraft-forum-page #bbpress-forums li.bbp-header ul,
.uf-content-page #bbpress-forums li.bbp-header ul {
  padding: 10px 14px;
}

.uf-minecraft-forum-page #bbpress-forums li.bbp-body,
.uf-content-page #bbpress-forums li.bbp-body {
  background: #16110c;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-body > ul,
.uf-content-page #bbpress-forums .bbp-body > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 86px minmax(190px, 260px);
  align-items: stretch;
  min-height: 94px;
  padding: 0;
  border-top: 1px solid #3d2b1b;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #20170e;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-body > ul:nth-child(even),
.uf-content-page #bbpress-forums .bbp-body > ul:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(122, 160, 76, 0.1), transparent 42%),
    #1a130c;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forum-info,
.uf-content-page #bbpress-forums .bbp-forum-info,
.uf-minecraft-forum-page #bbpress-forums .bbp-topic-title,
.uf-content-page #bbpress-forums .bbp-topic-title {
  width: auto;
  padding: 16px 18px;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-body .bbp-forum-info,
.uf-content-page #bbpress-forums .bbp-body .bbp-forum-info {
  position: relative;
}

.uf-bbp-forum-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.uf-bbp-forum-heading + .bbp-forum-content,
.uf-bbp-forum-heading ~ .bbp-forums-list {
  margin-left: 47px !important;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forum-title,
.uf-content-page #bbpress-forums .bbp-forum-title,
.uf-minecraft-forum-page #bbpress-forums .bbp-topic-permalink,
.uf-content-page #bbpress-forums .bbp-topic-permalink {
  display: inline-block;
  margin-bottom: 4px;
  color: #ffe08a;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 1px 1px 0 #231405;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forum-content,
.uf-content-page #bbpress-forums .bbp-forum-content,
.uf-minecraft-forum-page #bbpress-forums .bbp-topic-meta,
.uf-content-page #bbpress-forums .bbp-topic-meta {
  margin: 0;
  color: #c8bea3;
  font-size: 13px;
  line-height: 1.45;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forum-topic-count,
.uf-minecraft-forum-page #bbpress-forums .bbp-forum-reply-count,
.uf-content-page #bbpress-forums .bbp-forum-topic-count,
.uf-content-page #bbpress-forums .bbp-forum-reply-count {
  display: grid;
  width: auto;
  place-items: center;
  padding: 14px 8px;
  border-left: 1px solid #3d2b1b;
  color: #f8e7b7;
  font-weight: 900;
  text-align: center;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forum-freshness,
.uf-content-page #bbpress-forums .bbp-forum-freshness {
  display: grid;
  width: auto;
  align-content: center;
  padding: 14px 16px;
  border-left: 1px solid #3d2b1b;
  color: #bdb59b;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forums-list,
.uf-content-page #bbpress-forums .bbp-forums-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  border-left: 0;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forums-list li,
.uf-content-page #bbpress-forums .bbp-forums-list li {
  font-size: 12px;
}

.uf-minecraft-forum-page #bbpress-forums .bbp-forums-list a,
.uf-content-page #bbpress-forums .bbp-forums-list a {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #4c371f;
  background: #140e08;
  color: #aee47c;
}

.uf-minecraft-forum-page #bbpress-forums div.bbp-template-notice,
.uf-content-page #bbpress-forums div.bbp-template-notice {
  margin: 12px;
  border: 2px solid #80602e;
  border-radius: 0;
  background: #2a2115;
  color: #f4dfad;
}

.uf-minecraft-forum-page #bbpress-forums fieldset.bbp-form,
.uf-content-page #bbpress-forums fieldset.bbp-form {
  margin: 14px;
  border: 2px solid #4a331e;
  border-radius: 0;
  background: #17100a;
}

.uf-minecraft-forum-page #bbpress-forums fieldset.bbp-form legend,
.uf-content-page #bbpress-forums fieldset.bbp-form legend {
  padding: 4px 8px;
  background: #4a331e;
  color: #fff0bd;
  font-weight: 900;
}

/* Minecraft identities in replies and bbPress profiles. */
.uf-minecraft-forum-page #bbpress-forums .bbp-reply-author .avatar,
.uf-content-page #bbpress-forums .bbp-reply-author .avatar,
.uf-minecraft-forum-page #bbp-user-avatar .avatar,
.uf-content-page #bbp-user-avatar .avatar {
  border: 3px solid #4a331e;
  border-radius: 0;
  background: #0f0d0a;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.32);
  image-rendering: pixelated;
}

.uf-bbp-identity {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 11px auto 0;
  color: #c8bea3;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.uf-bbp-identity--profile {
  justify-items: start;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #4a331e;
  background: #17100a;
  text-align: left;
}

.uf-bbp-minecraft-name {
  color: #fff3c4;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.uf-bbp-supporter,
.uf-bbp-faction {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 3px 6px;
  border: 1px solid #536b3c;
  background: #1e2d18;
  color: #bce78f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.uf-bbp-supporter--iron { border-color: #9aa4aa; background: #273036; color: #e5edf1; }
.uf-bbp-supporter--gold { border-color: #c89318; background: #3b2a0b; color: #ffe27a; }
.uf-bbp-supporter--diamond { border-color: #2ca8b6; background: #0c3238; color: #93f4ff; }
.uf-bbp-supporter--netherite { border-color: #76536f; background: #2a2028; color: #d9b7d1; }
.uf-bbp-faction--none,
.uf-bbp-identity--unlinked { color: #827968; }

.uf-bbp-stats-link {
  display: inline-flex;
  align-items: center;
  color: #f1c15b !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Full-width Minecraft player account. */
.uf-player-account-page .uf-content-page__inner {
  max-width: 1280px;
}

.uf-player-account-page .uf-content-page {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg,rgba(3,10,13,.52) 0,rgba(5,14,18,.82) 32%,rgba(5,14,18,.96) 100%),
    url("../images/backgrounds/account-voxel-world-v1.webp") center top / cover no-repeat,
    #071116;
}

.uf-player-account-page .uf-content-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,rgba(63,208,238,.035) 1px,transparent 1px),linear-gradient(rgba(63,208,238,.025) 1px,transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.uf-player-account-page .uf-page-header {
  margin-bottom: 24px;
  border-bottom: 0;
}

.uf-player-account-page .uf-page-header h1 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  text-shadow: 0 3px 22px rgba(0,0,0,.8);
}

.uf-player-account-page .uf-prose > * + * {
  margin-top: 0;
}

.uf-player-account-page .woocommerce {
  color: var(--uf-v4-text);
}

.uf-player-account-shell {
  display: grid;
  gap: 18px;
}

.uf-player-account-nav {
  float: none !important;
  width: 100% !important;
  padding: 10px;
  border: 1px solid var(--uf-v4-line);
  background: #09161b;
}

.uf-player-account-nav__label {
  margin: 0 0 8px;
  padding: 0 4px;
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.uf-player-account-nav ul {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.uf-player-account-nav li {
  margin: 0 !important;
  border: 0 !important;
}

.uf-player-account-nav a {
  display: flex !important;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 10px 12px !important;
  border: 1px solid transparent;
  background: rgba(255,255,255,.025);
  color: var(--uf-v4-muted) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.uf-player-account-nav a svg {
  width: 18px;
  flex: 0 0 18px;
}

.uf-player-account-nav li.is-active a,
.uf-player-account-nav a:hover,
.uf-player-account-nav a:focus-visible {
  border-color: rgba(63,208,238,.42);
  background: rgba(63,208,238,.1);
  color: var(--uf-v4-cyan) !important;
}

.uf-player-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  border-color: rgba(232,96,107,.45);
  background: rgba(232,96,107,.08);
  color: #ff9da6 !important;
}

.uf-player-account-content {
  float: none !important;
  width: 100% !important;
  min-width: 0;
}

.uf-account-hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(24px,5vw,58px);
  grid-template-columns: 190px minmax(0,1fr);
  min-height: 330px;
  padding: clamp(28px,5vw,56px);
  border: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(90deg,rgba(3,14,19,.35),rgba(3,14,19,.84)),
    radial-gradient(circle at 15% 30%,rgba(63,208,238,.2),transparent 35%),
    #10242b;
  overflow: hidden;
}

.uf-account-hero::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 380px;
  height: 300px;
  border: 1px solid rgba(63,208,238,.08);
  background-image: linear-gradient(rgba(63,208,238,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(63,208,238,.04) 1px,transparent 1px);
  background-size: 24px 24px;
  content: "";
  transform: rotate(-12deg);
}

.uf-account-hero__avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  border: 4px solid #1e343c;
  background: #081116;
  box-shadow: 12px 12px 0 rgba(0,0,0,.28);
}

.uf-account-head,
.uf-account-settings-head {
  border-radius: 0 !important;
  image-rendering: pixelated;
}

.uf-account-hero__copy { position: relative; z-index: 1; }
.uf-account-hero__copy h2 { margin: 8px 0 12px; color:#fff; font-size:clamp(36px,5vw,64px); line-height:1; }
.uf-account-hero__copy > p { max-width:720px; margin:0; color:var(--uf-v4-muted); font-size:16px; line-height:1.65; }
.uf-account-hero__badges { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.uf-account-hero__badges span { display:inline-flex; align-items:center; gap:7px; padding:7px 9px; border:1px solid var(--uf-v4-line); background:rgba(5,15,19,.7); color:var(--uf-v4-muted); font-size:9px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.uf-account-hero__badges svg { width:14px; }
.uf-account-hero__badges .is-ready { border-color:rgba(103,209,138,.35); color:var(--uf-v4-green); }
.uf-account-hero__badges .is-waiting { border-color:rgba(230,185,80,.35); color:var(--uf-v4-gold); }
.uf-account-hero__badges .is-supporter { border-color:rgba(63,208,238,.5); color:var(--uf-v4-cyan); }

.uf-account-status-grid {
  display:grid;
  gap:1px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:1px;
  border:1px solid var(--uf-v4-line);
  background:var(--uf-v4-line);
}
.uf-account-status-grid article { min-width:0; padding:24px; background:var(--uf-v5-panel); }
.uf-account-status-grid svg { width:21px; color:var(--uf-v4-cyan); }
.uf-account-status-grid span { display:block; margin:20px 0 6px; color:var(--uf-v4-muted); font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.uf-account-status-grid strong { display:block; overflow:hidden; color:#fff; font-size:20px; text-overflow:ellipsis; white-space:nowrap; }

.uf-account-action-grid {
  display:grid;
  gap:10px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:28px;
}
.uf-account-action-grid a { display:grid; min-height:190px; align-content:start; padding:24px; border:1px solid var(--uf-v4-line); background:linear-gradient(145deg,rgba(63,208,238,.04),transparent 50%),var(--uf-v5-panel); color:inherit !important; text-decoration:none !important; transition:transform .18s ease,border-color .18s ease; }
.uf-account-action-grid a:hover,.uf-account-action-grid a:focus-visible { border-color:var(--uf-v4-cyan); transform:translateY(-3px); }
.uf-account-action-grid svg { width:25px; color:var(--uf-v4-cyan); }
.uf-account-action-grid strong { margin:40px 0 8px; color:#fff; font-size:18px; }
.uf-account-action-grid span { color:var(--uf-v4-muted); font-size:13px; line-height:1.5; }

.uf-account-orders-preview { margin-top:50px; }
.uf-account-orders-preview > header { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:16px; }
.uf-account-orders-preview h3 { margin:4px 0 0; color:#fff; font-size:30px; }
.uf-account-orders-preview header a { color:var(--uf-v4-cyan); font-size:10px; font-weight:900; text-transform:uppercase; }
.uf-account-order-list { display:grid; gap:1px; border:1px solid var(--uf-v4-line); background:var(--uf-v4-line); }
.uf-account-order-list a { display:grid; align-items:center; gap:16px; grid-template-columns:1fr 1fr 1fr auto; padding:18px 20px; background:var(--uf-v5-panel); color:inherit !important; text-decoration:none !important; }
.uf-account-order-list a:hover { background:var(--uf-v5-panel-raised); }
.uf-account-order-list strong { color:#fff; }
.uf-account-order-list small { color:var(--uf-v4-cyan); font-weight:800; }
.uf-account-order-list time { color:var(--uf-v4-muted); font-size:12px; }
.uf-account-empty { display:flex; align-items:center; gap:16px; padding:24px; border:1px dashed var(--uf-v4-line); color:var(--uf-v4-muted); }
.uf-account-empty svg { flex:0 0 26px; color:var(--uf-v4-cyan); }
.uf-account-empty p { margin:0; }

.uf-account-card,
.uf-minecraft-link-card {
  margin:0 0 18px;
  padding:clamp(24px,4vw,42px);
  border:1px solid var(--uf-v4-line);
  border-radius:0;
  background:linear-gradient(145deg,rgba(63,208,238,.035),transparent 52%),var(--uf-v5-panel);
  color:var(--uf-v4-text);
}
.uf-account-card h2,.uf-minecraft-link-card h2 { margin-top:0; color:#fff; }
.uf-account-card h3 { margin:34px 0 10px; color:#fff; }
.uf-account-settings-heading { display:grid; align-items:center; gap:24px; grid-template-columns:112px minmax(0,1fr); margin-bottom:28px; }
.uf-account-settings-head { border:3px solid #38515a; background:#081116; box-shadow:7px 7px 0 rgba(0,0,0,.28); }
.uf-account-settings-heading p { margin-bottom:0; color:var(--uf-v4-muted); }
.uf-account-identities { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 24px; }
.uf-account-identity { padding:7px 10px; border:1px solid rgba(63,208,238,.28); background:rgba(63,208,238,.06); color:var(--uf-v4-cyan); font-size:11px; font-weight:800; }
.uf-account-field { margin:0 0 20px; }
.uf-account-field label { display:block; margin-bottom:7px; color:#fff; font-weight:800; }
.uf-account-field input[type=email],.uf-account-field input[type=password] { box-sizing:border-box; width:min(620px,100%); min-height:48px; padding:12px 14px; border:1px solid #47626b; border-radius:0; background:#071116; color:#fff; }
.uf-account-muted { display:block; max-width:720px; color:var(--uf-v4-muted); font-size:13px; line-height:1.55; }
.uf-account-status { margin:12px 0 20px; padding:12px 14px; border-left:3px solid var(--uf-v4-cyan); background:rgba(63,208,238,.05); color:#dce7ea; }
.uf-account-status--warning { border-color:var(--uf-v4-gold); background:rgba(230,185,80,.05); color:#f4e5bb; }
.uf-account-check { position:relative; display:grid; align-items:start; gap:13px; grid-template-columns:46px minmax(0,1fr); margin:16px 0; padding:17px; border:1px solid var(--uf-v4-line); background:#09161b; cursor:pointer; }
.uf-account-check input { position:absolute; width:1px; height:1px; opacity:0; }
.uf-account-toggle-ui { position:relative; display:block; width:42px; height:24px; border:1px solid #52646a; background:#18262b; }
.uf-account-toggle-ui::after { position:absolute; top:3px; left:3px; width:16px; height:16px; background:#73848a; content:""; transition:transform .18s ease,background .18s ease; }
.uf-account-check input:checked + .uf-account-toggle-ui { border-color:var(--uf-v4-green); background:rgba(103,209,138,.14); }
.uf-account-check input:checked + .uf-account-toggle-ui::after { background:var(--uf-v4-green); transform:translateX(18px); }
.uf-account-check input:focus-visible + .uf-account-toggle-ui { outline:2px solid var(--uf-v4-cyan); outline-offset:3px; }
.uf-account-check strong { display:block; margin-bottom:3px; color:#fff; }
.uf-account-submit,.uf-minecraft-link-card button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:0 18px; border:1px solid #161006; border-radius:0; background:linear-gradient(#8eb15f,#557c35); color:#fff8df !important; cursor:pointer; font-weight:900; text-decoration:none !important; text-shadow:1px 1px 0 #22380d; }
.uf-account-notice { margin:0 0 18px; padding:14px 16px; border:1px solid #31535f; background:#10252c; }
.uf-account-notice--success { border-color:#2e7d68; background:#102e28; }
.uf-account-notice--error { border-color:#8e3c49; background:#361b20; }
.uf-minecraft-link-card__verified { display:grid; align-items:center; gap:13px; grid-template-columns:80px minmax(0,1fr); margin:18px 0; }
.uf-minecraft-link-card__verified img { width:80px; height:80px; grid-row:1/3; image-rendering:pixelated; }
.uf-minecraft-link-card__verified strong { color:#fff; font-size:20px; }
.uf-minecraft-link-card__verified span { color:var(--uf-v4-muted); font-size:11px; overflow-wrap:anywhere; }
.uf-minecraft-link-card code { display:inline-block; padding:12px 15px; border:1px solid var(--uf-v4-cyan); background:#061116; color:var(--uf-v4-cyan); font-size:18px; }

.uf-player-account-content .woocommerce-info,
.uf-player-account-content .woocommerce-message,
.uf-player-account-content .woocommerce-error { border:1px solid var(--uf-v4-line); border-top:3px solid var(--uf-v4-cyan); border-radius:0; background:var(--uf-v5-panel); color:var(--uf-v4-text); }
.uf-player-account-content table.shop_table { border:1px solid var(--uf-v4-line); border-radius:0; background:var(--uf-v5-panel); color:var(--uf-v4-text); }
.uf-player-account-content table.shop_table th,.uf-player-account-content table.shop_table td { border-color:var(--uf-v4-line); }

@media (max-width: 980px) {
  .uf-player-account-nav ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .uf-account-status-grid,.uf-account-action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .uf-player-account-page .uf-content-page { background-position: 58% top; background-size: auto 720px; }
  .uf-player-account-page .uf-content-page { padding-top:112px; }
  .uf-player-account-nav ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .uf-player-account-nav a { justify-content:flex-start; text-align:left; }
  .uf-account-hero { grid-template-columns:1fr; text-align:center; }
  .uf-account-hero__avatar { margin-inline:auto; }
  .uf-account-hero__badges { justify-content:center; }
  .uf-account-status-grid,.uf-account-action-grid { grid-template-columns:1fr; }
  .uf-account-action-grid a { min-height:160px; }
  .uf-account-settings-heading { grid-template-columns:1fr; text-align:center; }
  .uf-account-settings-head { margin-inline:auto; }
  .uf-account-order-list a { grid-template-columns:1fr 1fr; }
  .uf-account-orders-preview > header { align-items:start; flex-direction:column; }
}

/* Shared breadcrumb and inner-page hero */

.uf-v5-breadcrumbs {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  padding-top: 82px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-breadcrumbs a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.uf-v5-breadcrumbs a:hover,
.uf-v5-breadcrumbs a:focus-visible {
  color: var(--uf-v4-cyan);
}

.uf-v5-breadcrumbs svg {
  width: 13px;
}

.uf-v5-page-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-block: 1px solid var(--uf-v4-line);
  background-image: none;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.uf-v5-page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 9, 12, 0.97) 0%, rgba(2, 9, 12, 0.8) 46%, rgba(2, 9, 12, 0.25)),
    linear-gradient(0deg, rgba(3, 11, 14, 0.88), transparent 50%);
  content: "";
}

.uf-v5-page-hero::after {
  position: absolute;
  z-index: -1;
  right: -160px;
  bottom: -180px;
  width: 600px;
  height: 420px;
  background: radial-gradient(circle, rgba(63, 208, 238, 0.18), transparent 66%);
  content: "";
}

.uf-v5-page-hero__shade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.uf-v5-page-hero__inner {
  display: flex;
  min-height: 460px;
  align-items: center;
  padding-block: 70px;
}

.uf-v5-page-hero__copy {
  max-width: 820px;
}

.uf-v5-page-hero__title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 10px;
}

.uf-v5-page-hero__title > span {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid rgba(63, 208, 238, 0.5);
  background: rgba(5, 21, 26, 0.78);
  color: var(--uf-v4-cyan);
  place-items: center;
  transform: rotate(45deg);
}

.uf-v5-page-hero__title > span svg {
  width: 28px;
  transform: rotate(-45deg);
}

.uf-v5-page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
}

.uf-v5-page-hero__copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 18px;
  line-height: 1.75;
}

/* Compact home */

.uf-v5-home-hero {
  min-height: 820px;
}

.uf-v5-home-hero .uf-hero__content {
  min-height: 710px;
  padding-top: 130px;
  padding-bottom: 125px;
}

.uf-v5-home-hero h1 {
  max-width: 720px;
}

.uf-v5-home-hero .uf-hero__primary > p {
  max-width: 650px;
}

.uf-v5-home-hero .uf-hero__secondary-links button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

[data-copy-server][data-copy-hint]::after {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 9px);
  left: 50%;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #061015;
  color: #fff;
  content: attr(data-copy-hint);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

[data-copy-server][data-copy-hint] {
  position: relative;
}

[data-copy-server][data-copy-hint]:hover::after,
[data-copy-server][data-copy-hint]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition-duration: 240ms;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .uf-launch-panel,
  .uf-v5-page-hero__title > span {
    backdrop-filter: none;
  }

  .uf-v4-hero .uf-particles,
  .uf-hero__glow {
    display: none;
  }
}

.uf-launch-panel {
  display: grid;
  gap: 22px;
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background:
    linear-gradient(145deg, rgba(63, 208, 238, 0.12), rgba(230, 185, 80, 0.08)),
    rgba(7, 18, 22, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.uf-launch-panel header {
  display: grid;
  gap: 7px;
}

.uf-launch-panel header span,
.uf-launch-panel__timer span {
  color: var(--uf-v4-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-launch-panel header strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.uf-launch-panel__timer {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
}

.uf-launch-panel__timer div {
  display: grid;
  min-height: 94px;
  align-content: center;
  gap: 6px;
  padding: 14px;
  background: rgba(4, 12, 16, 0.84);
  text-align: center;
}

.uf-launch-panel__timer strong {
  overflow-wrap: anywhere;
  color: var(--uf-v4-gold);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 0.95;
}

.uf-launch-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.uf-launch-panel > a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--uf-v4-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-launch-panel > a svg {
  width: 16px;
}

.uf-v5-home-quest .uf-hero-mission__progress {
  display: none;
}

.uf-v5-pillars,
.uf-v5-faction-preview,
.uf-v5-portals {
  padding-block: var(--uf-v5-page-gap);
}

.uf-v5-pillars {
  background:
    linear-gradient(180deg, rgba(63, 208, 238, 0.025), transparent 45%),
    var(--uf-v4-bg);
}

.uf-v5-pillar-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-v5-pillar {
  position: relative;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  overflow: hidden;
  background: var(--uf-v5-panel);
  color: var(--uf-v4-copy);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.uf-v5-pillar:hover,
.uf-v5-pillar:focus-visible {
  z-index: 1;
  background: var(--uf-v5-panel-raised);
  transform: translateY(-5px);
}

.uf-v5-pillar > span {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(255, 255, 255, 0.14);
  font-size: 32px;
  font-weight: 900;
}

.uf-v5-pillar > svg {
  width: 32px;
  color: var(--uf-v4-cyan);
}

.uf-v5-pillar h3 {
  margin: auto 0 14px;
  font-size: 30px;
}

.uf-v5-pillar p {
  margin: 0 0 28px;
  color: var(--uf-v4-muted);
  line-height: 1.7;
}

.uf-v5-pillar strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--uf-v4-cyan);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-pillar strong svg {
  width: 15px;
}

.uf-v5-faction-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    #0a151a;
}

.uf-v5-seo-band {
  padding-block: var(--uf-v5-page-gap);
  background:
    linear-gradient(90deg, rgba(63, 208, 238, 0.08), transparent 50%),
    #0e191d;
}
.uf-v5-gameplay-loop { padding:84px 0; background:linear-gradient(180deg,rgba(10,25,31,.98),rgba(5,15,20,.98)); }
.uf-v5-gameplay-grid { display:grid; gap:16px; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:32px; }
.uf-v5-gameplay-grid article { position:relative; min-height:240px; padding:26px; border:1px solid var(--uf-v4-line); background:var(--uf-v5-panel); overflow:hidden; }
.uf-v5-gameplay-grid article > span { position:absolute; right:18px; top:12px; color:rgba(255,255,255,.08); font-size:54px; font-weight:900; }
.uf-v5-gameplay-grid svg { color:var(--uf-v4-cyan); }
.uf-v5-gameplay-grid h3 { margin:36px 0 12px; color:var(--uf-v4-text); }
.uf-v5-gameplay-grid p { margin:0; color:var(--uf-v4-muted); line-height:1.65; }
@media (max-width:980px) { .uf-v5-gameplay-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .uf-v5-gameplay-grid { grid-template-columns:1fr; } }

.uf-v5-seo-band > .uf-shell {
  display: grid;
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.uf-v5-seo-band h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}

.uf-v5-seo-band p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--uf-v4-muted);
  font-size: 18px;
  line-height: 1.75;
}

.uf-v5-seo-band ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
  list-style: none;
}

.uf-v5-seo-band li {
  display: grid;
  align-items: center;
  gap: 14px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 72px;
  padding: 18px 20px;
  background: rgba(5, 14, 18, 0.9);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.uf-v5-seo-band li svg {
  width: 24px;
  color: var(--uf-v4-cyan);
}

.uf-v5-faction-teasers {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-v5-faction-card {
  --uf-card-accent: var(--uf-v4-cyan);
  position: relative;
  min-height: 440px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--uf-card-accent) 10%, transparent), transparent 36%),
    var(--uf-v5-panel);
}

.uf-v5-faction-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border: 1px solid color-mix(in srgb, var(--uf-card-accent) 20%, transparent);
  content: "";
  transform: rotate(45deg);
}

.uf-v5-faction-card.is-forest { --uf-card-accent: var(--uf-v4-green); }
.uf-v5-faction-card.is-crimson { --uf-card-accent: var(--uf-v4-crimson); }
.uf-v5-faction-card.is-violet { --uf-card-accent: var(--uf-v4-violet); }
.uf-v5-faction-card.is-gold { --uf-card-accent: var(--uf-v4-gold); }

.uf-v5-faction-card__crest {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--uf-card-accent) 42%, transparent);
  background: rgba(0, 0, 0, 0.24);
  color: var(--uf-card-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.uf-v5-faction-card__crest svg {
  width: 21px;
}

.uf-v5-faction-card__status,
.uf-v5-status-chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin: 20px 0 0;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-faction-card__status.is-open,
.uf-v5-status-chip.is-open {
  border-color: rgba(103, 209, 138, 0.32);
  color: var(--uf-v4-green);
}

.uf-v5-faction-card__status.is-invite,
.uf-v5-status-chip.is-invite {
  border-color: rgba(230, 185, 80, 0.35);
  color: var(--uf-v4-gold);
}

.uf-v5-status-chip.is-closed {
  color: #8e9a9e;
}

.uf-v5-faction-card h3 {
  margin: 18px 0 12px;
  font-size: 34px;
}

.uf-v5-faction-card > p {
  min-height: 76px;
  margin: 0 0 24px;
  color: var(--uf-v4-muted);
  line-height: 1.65;
}

.uf-v5-faction-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
}

.uf-v5-faction-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.uf-v5-faction-card dt {
  color: #64747a;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-faction-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  text-align: right;
}

.uf-v5-faction-card > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--uf-card-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-v5-faction-card > a svg {
  width: 15px;
}

.uf-v5-quest-feature {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #071510;
  isolation: isolate;
}

.uf-v5-quest-feature__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/uf-real-beacons-2020.jpg") center / cover;
  filter: saturate(0.84) contrast(1.1);
}

.uf-v5-quest-feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 13, 10, 0.98), rgba(3, 13, 10, 0.78) 52%, rgba(3, 13, 10, 0.24)),
    linear-gradient(0deg, rgba(3, 13, 10, 0.86), transparent 50%);
  content: "";
}

.uf-v5-quest-feature__inner {
  display: grid;
  min-height: 600px;
  align-items: center;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) 390px;
  padding-block: 84px;
}

.uf-v5-quest-feature h2 {
  max-width: 780px;
  margin: 10px 0 22px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
}

.uf-v5-quest-feature p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.uf-v5-quest-feature__steps {
  display: grid;
  border: 1px solid rgba(230, 185, 80, 0.28);
  background: rgba(4, 14, 12, 0.74);
  backdrop-filter: blur(12px);
}

.uf-v5-quest-feature__steps span {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-top: 1px solid rgba(230, 185, 80, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.uf-v5-quest-feature__steps span:first-child {
  border-top: 0;
}

.uf-v5-quest-feature__steps strong {
  color: var(--uf-v4-gold);
  font-size: 19px;
}

.uf-v5-portal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-v5-portal-grid > a {
  display: grid;
  min-height: 230px;
  align-items: start;
  gap: 22px;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  padding: 32px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
  color: var(--uf-v4-copy);
  text-decoration: none;
}

.uf-v5-portal-grid > a:hover {
  border-color: var(--uf-v4-line-strong);
  background: var(--uf-v5-panel-raised);
}

.uf-v5-portal-grid > a > svg:first-child {
  width: 30px;
  color: var(--uf-v4-cyan);
}

.uf-v5-portal-grid > a > svg:last-child {
  width: 17px;
  color: var(--uf-v4-muted);
}

.uf-v5-portal-grid small {
  color: var(--uf-v4-cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-v5-portal-grid h3 {
  margin: 9px 0 12px;
  font-size: 29px;
}

.uf-v5-portal-grid p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.65;
}

/* Play */

.uf-v5-split {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) 390px;
}

.uf-v5-split h2 {
  max-width: 720px;
  margin: 10px 0 20px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.02;
}

.uf-v5-split > div > p {
  max-width: 720px;
  color: var(--uf-v4-muted);
  line-height: 1.8;
}

.uf-v5-platform-tabs {
  margin-top: 36px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-platform-tabs [role="tablist"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--uf-v4-line);
}

.uf-v5-platform-tabs [role="tab"] {
  min-height: 54px;
  border: 0;
  border-left: 1px solid var(--uf-v4-line);
  background: transparent;
  color: var(--uf-v4-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-platform-tabs [role="tab"]:first-child {
  border-left: 0;
}

.uf-v5-platform-tabs [role="tab"][aria-selected="true"] {
  background: rgba(63, 208, 238, 0.1);
  color: var(--uf-v4-cyan);
}

.uf-v5-platform-tabs [role="tabpanel"] {
  display: grid;
  gap: 12px;
  padding: 32px;
}

.uf-v5-platform-tabs [role="tabpanel"] small {
  color: var(--uf-v4-cyan);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-v5-platform-tabs [role="tabpanel"] strong {
  font-size: clamp(23px, 4vw, 38px);
}

.uf-v5-platform-tabs [role="tabpanel"] p {
  margin: 0;
  color: var(--uf-v4-muted);
}

.uf-v5-copy-card {
  position: sticky;
  top: 112px;
  padding: 34px;
  border: 1px solid var(--uf-v4-line-strong);
  background:
    linear-gradient(145deg, rgba(63, 208, 238, 0.1), transparent 40%),
    var(--uf-v5-panel);
  box-shadow: var(--uf-v4-shadow);
}

.uf-v5-copy-card > .uf-status-orb {
  position: static;
  display: inline-block;
  margin-bottom: 22px;
}

.uf-v5-copy-card small {
  display: block;
  color: var(--uf-v4-muted);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-v5-copy-card h3 {
  margin: 8px 0 25px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
}

.uf-v5-copy-card .uf-button {
  width: 100%;
}

.uf-v5-copy-card p {
  display: flex;
  gap: 10px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--uf-v4-line);
  color: var(--uf-v4-muted);
  font-size: 11px;
  line-height: 1.6;
}

.uf-v5-copy-card p svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--uf-v4-cyan);
}

.uf-v5-step-list {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(19, 38, 44, 0.14);
  list-style: none;
}

.uf-v5-step-list li {
  display: grid;
  min-height: 130px;
  align-items: center;
  gap: 28px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 24px 34px;
  border-top: 1px solid rgba(19, 38, 44, 0.14);
  background: rgba(255, 255, 255, 0.2);
}

.uf-v5-step-list li:first-child {
  border-top: 0;
}

.uf-v5-step-list li > span {
  color: #18849a;
  font-size: 25px;
  font-weight: 900;
}

.uf-v5-step-list h3 {
  margin: 0 0 7px;
  font-size: 24px;
}

.uf-v5-step-list p {
  margin: 0;
  line-height: 1.65;
}

.uf-v5-callout-grid,
.uf-v5-integration-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-v5-callout-grid article,
.uf-v5-integration-grid article {
  min-height: 270px;
  padding: 34px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-callout-grid article > svg,
.uf-v5-integration-grid article > svg {
  width: 30px;
  color: var(--uf-v4-cyan);
}

.uf-v5-callout-grid h3,
.uf-v5-integration-grid h2 {
  margin: 46px 0 12px;
  font-size: 27px;
}

.uf-v5-callout-grid p,
.uf-v5-integration-grid p {
  color: var(--uf-v4-muted);
  line-height: 1.65;
}

.uf-v5-callout-grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--uf-v4-cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-v5-callout-grid a svg {
  width: 15px;
}

/* Directory */

.uf-v5-moderation-note {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  margin-bottom: 72px;
  padding: 34px;
  border: 1px solid rgba(103, 209, 138, 0.28);
  background: rgba(103, 209, 138, 0.065);
}

.uf-v5-moderation-note > svg {
  width: 38px;
  color: var(--uf-v4-green);
}

.uf-v5-moderation-note span {
  color: var(--uf-v4-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-v5-moderation-note h2 {
  margin: 7px 0 10px;
  font-size: clamp(25px, 3vw, 38px);
}

.uf-v5-moderation-note p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.7;
}

.uf-v5-directory-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.uf-v5-directory-tools h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 52px);
}

.uf-v5-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.uf-v5-filter-group button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
  color: var(--uf-v4-muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-filter-group button[aria-pressed="true"] {
  border-color: var(--uf-v4-cyan);
  background: rgba(63, 208, 238, 0.1);
  color: var(--uf-v4-cyan);
}

.uf-v5-directory-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-v5-directory-card {
  --uf-card-accent: var(--uf-v4-cyan);
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--uf-card-accent) 9%, transparent), transparent 35%),
    var(--uf-v5-panel);
}

.uf-v5-directory-card.is-forest { --uf-card-accent: var(--uf-v4-green); }
.uf-v5-directory-card.is-crimson { --uf-card-accent: var(--uf-v4-crimson); }
.uf-v5-directory-card.is-violet { --uf-card-accent: var(--uf-v4-violet); }
.uf-v5-directory-card.is-gold { --uf-card-accent: var(--uf-v4-gold); }

.uf-v5-directory-card[hidden] {
  display: none;
}

.uf-v5-directory-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.uf-v5-directory-card__crest {
  display: grid;
  width: 64px;
  height: 64px;
  border: 1px solid color-mix(in srgb, var(--uf-card-accent) 45%, transparent);
  color: var(--uf-card-accent);
  place-items: center;
}

.uf-v5-directory-card__crest svg {
  width: 24px;
}

.uf-v5-directory-card__crest span {
  margin-top: -13px;
  font-size: 8px;
  font-weight: 900;
}

.uf-v5-directory-card .uf-v5-status-chip {
  margin: 0;
}

.uf-v5-directory-card h3 {
  margin: 25px 0 10px;
  font-size: 31px;
}

.uf-v5-directory-card > p {
  min-height: 74px;
  margin: 0 0 20px;
  color: var(--uf-v4-muted);
  line-height: 1.6;
}

.uf-v5-directory-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.uf-v5-directory-card dl > div {
  display: grid;
  gap: 12px;
  grid-template-columns: 84px minmax(0, 1fr);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.uf-v5-directory-card dt {
  color: #64747a;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-directory-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.uf-v5-directory-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 25px;
}

.uf-v5-directory-card footer small {
  color: #617278;
  font-size: 8px;
}

.uf-v5-directory-card footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--uf-card-accent);
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-v5-directory-card footer svg {
  width: 14px;
}

.uf-v5-empty-state {
  margin: 28px 0 0;
  padding: 28px;
  border: 1px dashed var(--uf-v4-line-strong);
  color: var(--uf-v4-muted);
  text-align: center;
}

.uf-v5-fields-explainer {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.uf-v5-fields-explainer h2 {
  margin: 9px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}

.uf-v5-fields-explainer ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(19, 38, 44, 0.14);
  list-style: none;
}

.uf-v5-fields-explainer li {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: var(--uf-v5-paper-soft);
  color: #4c5b60;
  font-size: 13px;
}

.uf-v5-fields-explainer li svg {
  width: 18px;
  color: #16849a;
}

.uf-v5-fields-explainer li:last-child svg {
  color: #b23d49;
}

/* Faction profile */

.uf-v5-profile-hero {
  --uf-profile-accent: var(--uf-v4-cyan);
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid var(--uf-v4-line);
  isolation: isolate;
}

.uf-v5-profile-hero.is-forest { --uf-profile-accent: var(--uf-v4-green); }
.uf-v5-profile-hero.is-crimson { --uf-profile-accent: var(--uf-v4-crimson); }

.uf-v5-profile-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.8) contrast(1.12);
  transform: scale(1.04);
}

.uf-v5-profile-hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 13, 0.98), rgba(3, 10, 13, 0.72) 62%, rgba(3, 10, 13, 0.36)),
    linear-gradient(0deg, rgba(3, 10, 13, 0.92), transparent 55%);
}

.uf-v5-profile-hero__inner {
  display: grid;
  min-height: 650px;
  align-items: center;
  gap: 60px;
  grid-template-columns: 210px minmax(0, 1fr);
  padding-block: 88px;
}

.uf-v5-profile-banner {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.uf-v5-profile-banner > div {
  display: grid;
  width: 170px;
  height: 205px;
  clip-path: polygon(0 0, 100% 0, 100% 79%, 50% 100%, 0 79%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--uf-profile-accent) 45%, #0b171c), #081115);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--uf-profile-accent) 55%, transparent);
  color: var(--uf-profile-accent);
  place-items: center;
}

.uf-v5-profile-banner svg {
  width: 70px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.uf-v5-profile-banner > span {
  color: var(--uf-profile-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.uf-v5-profile-intro__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.uf-v5-profile-intro__status .uf-v5-status-chip {
  margin: 0;
}

.uf-v5-profile-intro__status > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-profile-intro__status svg {
  width: 14px;
  color: var(--uf-profile-accent);
}

.uf-v5-profile-intro h1 {
  margin: 18px 0 16px;
  font-size: clamp(62px, 9vw, 116px);
  line-height: 0.9;
}

.uf-v5-profile-intro > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.uf-v5-profile-layout,
.uf-v5-quest-layout {
  display: grid;
  align-items: start;
  gap: 62px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.uf-v5-profile-main,
.uf-v5-quest-main {
  min-width: 0;
}

.uf-v5-profile-story h2 {
  max-width: 750px;
  margin: 9px 0 22px;
  font-size: clamp(42px, 5vw, 68px);
}

.uf-v5-profile-story p {
  color: var(--uf-v4-muted);
  font-size: 17px;
  line-height: 1.85;
}

.uf-v5-profile-gallery {
  margin-top: 80px;
}

.uf-v5-profile-gallery > div:last-child {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.25fr 0.75fr;
}

.uf-v5-profile-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--uf-v4-line);
}

.uf-v5-profile-gallery figure.is-wide {
  min-height: 532px;
  grid-row: span 2;
}

.uf-v5-profile-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uf-v5-profile-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 18px 15px;
  background: linear-gradient(transparent, rgba(2, 8, 11, 0.86));
  color: #fff;
  font-size: 10px;
}

.uf-v5-recruitment-panel {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  margin-top: 80px;
  padding: 38px;
  border: 1px solid rgba(103, 209, 138, 0.26);
  background: rgba(103, 209, 138, 0.055);
}

.uf-v5-recruitment-panel h2 {
  margin: 8px 0 12px;
  font-size: 36px;
}

.uf-v5-recruitment-panel p {
  color: var(--uf-v4-muted);
  line-height: 1.75;
}

.uf-v5-recruitment-panel ul,
.uf-v5-profile-sidebar ul,
.uf-v5-quest-sidebar ul,
.uf-v5-map-policy ul {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uf-v5-recruitment-panel li,
.uf-v5-quest-sidebar li,
.uf-v5-map-policy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--uf-v4-muted);
  font-size: 12px;
  line-height: 1.55;
}

.uf-v5-recruitment-panel li svg,
.uf-v5-quest-sidebar li svg,
.uf-v5-map-policy li svg {
  width: 16px;
  flex: 0 0 auto;
  color: var(--uf-v4-green);
}

.uf-v5-profile-sidebar,
.uf-v5-quest-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.uf-v5-profile-sidebar > section,
.uf-v5-quest-sidebar > section {
  padding: 28px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-profile-sidebar h2,
.uf-v5-quest-sidebar h2 {
  margin: 0 0 22px;
  font-size: 24px;
}

.uf-v5-profile-sidebar dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.uf-v5-profile-sidebar dl > div {
  display: grid;
  gap: 10px;
  grid-template-columns: 84px minmax(0, 1fr);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.uf-v5-profile-sidebar dt {
  color: #617278;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-profile-sidebar dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.uf-v5-profile-sidebar > section > svg {
  width: 28px;
  margin-bottom: 20px;
  color: var(--uf-v4-cyan);
}

.uf-v5-profile-sidebar > section > p {
  margin: 0;
  color: var(--uf-v4-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Guides */

.uf-v5-guide-feature {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-bottom: 80px;
  padding: 48px;
  border: 1px solid var(--uf-v4-line-strong);
  background:
    linear-gradient(135deg, rgba(63, 208, 238, 0.1), transparent 42%),
    var(--uf-v5-panel);
}

.uf-v5-guide-feature h2 {
  margin: 9px 0 16px;
  font-size: clamp(38px, 4vw, 58px);
}

.uf-v5-guide-feature p {
  max-width: 660px;
  color: var(--uf-v4-muted);
  line-height: 1.75;
}

.uf-v5-guide-feature ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--uf-v4-line);
  list-style: none;
}

.uf-v5-guide-feature li {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #0b171c;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.uf-v5-guide-feature li span {
  color: var(--uf-v4-cyan);
  font-weight: 900;
}

.uf-v5-guide-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-v5-guide-grid article {
  display: grid;
  min-height: 250px;
  align-items: start;
  gap: 20px;
  grid-template-columns: 30px 38px minmax(0, 1fr);
  padding: 30px;
  background: var(--uf-v5-panel);
}

.uf-v5-guide-grid article[hidden] {
  display: none;
}

.uf-v5-guide-card__number {
  color: #53676e;
  font-size: 12px;
  font-weight: 900;
}

.uf-v5-guide-grid article > svg {
  width: 27px;
  color: var(--uf-v4-cyan);
}

.uf-v5-guide-grid small {
  color: var(--uf-v4-muted);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-guide-grid h3 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.uf-v5-guide-grid p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.6;
}

.uf-v5-guide-grid button,
.uf-v5-guide-grid article > a {
  display: inline-flex;
  align-items: center;
  align-self: end;
  justify-content: space-between;
  grid-column: 3;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--uf-v4-cyan);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-guide-grid button svg,
.uf-v5-guide-grid article > a svg {
  width: 15px;
}

.uf-v5-editorial-note {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
}

.uf-v5-editorial-note > div > svg {
  width: 34px;
  margin-bottom: 24px;
  color: #17849a;
}

.uf-v5-editorial-note h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 4vw, 55px);
}

.uf-v5-editorial-note > p {
  font-size: 16px;
  line-height: 1.8;
}

/* Quests */

.uf-v5-boundary-banner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 72px;
  padding: 28px 32px;
  border: 1px solid rgba(230, 185, 80, 0.3);
  background: rgba(230, 185, 80, 0.065);
}

.uf-v5-boundary-banner > svg {
  width: 28px;
  flex: 0 0 auto;
  color: var(--uf-v4-gold);
}

.uf-v5-boundary-banner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.uf-v5-boundary-banner p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.65;
}

.uf-v5-chapter-roadmap {
  position: relative;
  display: grid;
  gap: 1px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-v5-chapter-roadmap article {
  display: grid;
  min-height: 170px;
  align-items: center;
  gap: 26px;
  grid-template-columns: 42px 62px minmax(0, 1fr) auto;
  padding: 28px 34px;
  background: var(--uf-v5-panel);
}

.uf-v5-chapter-roadmap article.is-detailed {
  background:
    linear-gradient(90deg, rgba(230, 185, 80, 0.1), transparent 42%),
    var(--uf-v5-panel-raised);
}

.uf-v5-chapter-number {
  color: #556b73;
  font-size: 20px;
  font-weight: 900;
}

.uf-v5-chapter-icon {
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid var(--uf-v4-line-strong);
  color: var(--uf-v4-cyan);
  place-items: center;
  transform: rotate(45deg);
}

.uf-v5-chapter-roadmap article.is-detailed .uf-v5-chapter-icon {
  border-color: rgba(230, 185, 80, 0.52);
  color: var(--uf-v4-gold);
}

.uf-v5-chapter-icon svg {
  width: 23px;
  transform: rotate(-45deg);
}

.uf-v5-chapter-roadmap small {
  color: var(--uf-v4-cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-v5-chapter-roadmap h3 {
  margin: 6px 0 8px;
  font-size: 27px;
}

.uf-v5-chapter-roadmap p {
  max-width: 720px;
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.6;
}

.uf-v5-chapter-roadmap a,
.uf-v5-roadmap-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--uf-v4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-v5-roadmap-state {
  color: #617278;
}

.uf-v5-chapter-roadmap a svg {
  width: 14px;
}

.uf-v5-quest-principles > div:last-child {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  border: 1px solid rgba(19, 38, 44, 0.14);
  background: rgba(19, 38, 44, 0.14);
}

.uf-v5-quest-principles > div:first-child h2 {
  max-width: 740px;
  margin: 8px 0 0;
  font-size: clamp(38px, 4vw, 58px);
}

.uf-v5-quest-principles article {
  min-height: 250px;
  padding: 28px;
  background: var(--uf-v5-paper-soft);
}

.uf-v5-quest-principles article span {
  color: #18849a;
  font-size: 21px;
  font-weight: 900;
}

.uf-v5-quest-principles h3 {
  margin: 66px 0 12px;
  font-size: 24px;
}

.uf-v5-quest-principles p {
  margin: 0;
  line-height: 1.6;
}

/* Detailed quest */

.uf-v5-quest-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}

.uf-v5-quest-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/uf-real-beacons-2020.jpg") center / cover;
  filter: saturate(0.78) contrast(1.12);
}

.uf-v5-quest-hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 12, 10, 0.98), rgba(3, 12, 10, 0.72) 56%, rgba(3, 12, 10, 0.3)),
    linear-gradient(0deg, rgba(3, 12, 10, 0.92), transparent 52%);
}

.uf-v5-quest-hero__inner {
  display: grid;
  min-height: 720px;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) 430px;
  padding-block: 80px;
}

.uf-v5-quest-hero h1 {
  max-width: 760px;
  margin: 12px 0 22px;
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.92;
}

.uf-v5-quest-hero__inner > div:first-child > p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.75;
}

.uf-v5-quest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
}

.uf-v5-quest-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-quest-meta svg {
  width: 15px;
  color: var(--uf-v4-gold);
}

.uf-v5-signal-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(230, 185, 80, 0.32);
  background:
    linear-gradient(35deg, transparent 49%, rgba(255, 255, 255, 0.035) 50%, transparent 51%) 0 0 / 72px 72px,
    #14231c;
  box-shadow: var(--uf-v4-shadow);
}

.uf-v5-signal-map__terrain {
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(103, 209, 138, 0.2), transparent 32%),
    radial-gradient(ellipse at 74% 26%, rgba(230, 185, 80, 0.15), transparent 25%);
  transform: rotate(-8deg);
}

.uf-v5-signal-map > span {
  position: absolute;
  display: grid;
  min-width: 52px;
  min-height: 52px;
  padding: 8px;
  border: 1px solid rgba(230, 185, 80, 0.55);
  background: #0a1510;
  color: var(--uf-v4-gold);
  font-size: 8px;
  font-weight: 900;
  place-items: center;
  text-align: center;
}

.uf-v5-signal-map > span svg {
  width: 18px;
}

.uf-v5-signal-map .is-camp { bottom: 13%; left: 10%; }
.uf-v5-signal-map .is-one { top: 22%; left: 32%; }
.uf-v5-signal-map .is-two { top: 48%; right: 25%; }
.uf-v5-signal-map .is-three { top: 15%; right: 11%; }

.uf-v5-signal-map > small {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  text-transform: uppercase;
}

.uf-v5-npc-card {
  display: grid;
  align-items: center;
  gap: 30px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 36px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-npc-card__portrait {
  display: grid;
  width: 110px;
  height: 140px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  background: linear-gradient(145deg, rgba(230, 185, 80, 0.25), #111d1a);
  color: var(--uf-v4-gold);
  place-items: center;
}

.uf-v5-npc-card__portrait svg {
  width: 46px;
}

.uf-v5-npc-card h2 {
  margin: 7px 0 3px;
  font-size: 33px;
}

.uf-v5-npc-card small {
  color: var(--uf-v4-muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uf-v5-npc-card blockquote {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
}

.uf-v5-quest-objectives,
.uf-v5-choice-section {
  margin-top: 80px;
}

.uf-v5-quest-objectives ol {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--uf-v4-line);
  list-style: none;
}

.uf-v5-quest-objectives li {
  display: grid;
  min-height: 94px;
  align-items: center;
  gap: 22px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 18px 26px;
  border-top: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-quest-objectives li:first-child {
  border-top: 0;
}

.uf-v5-quest-objectives li > span {
  color: var(--uf-v4-gold);
  font-size: 16px;
  font-weight: 900;
}

.uf-v5-quest-objectives li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.uf-v5-choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-v5-choice-grid button {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
  color: var(--uf-v4-copy);
  cursor: pointer;
  text-align: left;
}

.uf-v5-choice-grid button:hover,
.uf-v5-choice-grid button.is-selected {
  border-color: rgba(230, 185, 80, 0.52);
  background: rgba(230, 185, 80, 0.08);
}

.uf-v5-choice-grid button > svg {
  width: 28px;
  color: var(--uf-v4-gold);
}

.uf-v5-choice-grid button span {
  margin-top: auto;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.uf-v5-choice-grid button small {
  margin-top: 8px;
  color: var(--uf-v4-muted);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-choice-result {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(230, 185, 80, 0.28);
  background: rgba(230, 185, 80, 0.055);
}

.uf-v5-choice-result > svg {
  width: 24px;
  flex: 0 0 auto;
  color: var(--uf-v4-gold);
}

.uf-v5-choice-result small {
  color: var(--uf-v4-gold);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-v5-choice-result p {
  margin: 5px 0 0;
  color: var(--uf-v4-muted);
  line-height: 1.65;
}

.uf-v5-quest-sidebar li svg {
  color: var(--uf-v4-gold);
}

.uf-v5-quest-sidebar .uf-v5-boundary-card > svg {
  width: 28px;
  margin-bottom: 20px;
  color: var(--uf-v4-crimson);
}

.uf-v5-quest-sidebar .uf-v5-boundary-card p {
  margin: 0;
  color: var(--uf-v4-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Map */

.uf-v5-map-layout {
  display: grid;
  align-items: start;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.uf-v5-map-board {
  overflow: hidden;
  border: 1px solid var(--uf-v4-line-strong);
  background: #0d1b16;
  box-shadow: var(--uf-v4-shadow);
}

.uf-v5-map-board__toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--uf-v4-line);
  background: #0b171b;
}

.uf-v5-map-board__toolbar > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-v5-map-board__toolbar svg {
  width: 16px;
  color: var(--uf-v4-cyan);
}

.uf-v5-map-board__toolbar [role="group"] {
  display: flex;
  gap: 5px;
}

.uf-v5-map-board__toolbar button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--uf-v4-line);
  background: transparent;
  color: var(--uf-v4-muted);
  cursor: pointer;
  font-size: 8px;
  text-transform: uppercase;
}

.uf-v5-map-board__toolbar button[aria-pressed="true"] {
  border-color: var(--uf-v4-cyan);
  color: var(--uf-v4-cyan);
}

.uf-v5-map-board__canvas {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(28deg, transparent 48%, rgba(255, 255, 255, 0.025) 49%, transparent 51%) 0 0 / 110px 90px,
    radial-gradient(ellipse at 24% 65%, rgba(69, 145, 92, 0.42), transparent 28%),
    radial-gradient(ellipse at 75% 28%, rgba(78, 125, 83, 0.35), transparent 34%),
    #253f2d;
}

.uf-v5-map-board__canvas::before,
.uf-v5-map-board__canvas::after {
  position: absolute;
  width: 52%;
  height: 26%;
  border: 1px solid rgba(103, 209, 138, 0.18);
  background: rgba(103, 209, 138, 0.06);
  content: "";
  transform: rotate(-12deg);
}

.uf-v5-map-board__canvas::before {
  top: 6%;
  left: -8%;
}

.uf-v5-map-board__canvas::after {
  right: -10%;
  bottom: 10%;
  transform: rotate(16deg);
}

.uf-v5-map-board__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.uf-v5-map-route {
  fill: none;
  stroke: rgba(230, 185, 80, 0.45);
  stroke-dasharray: 10 8;
  stroke-width: 3;
}

.uf-v5-map-route.is-secondary {
  stroke: rgba(63, 208, 238, 0.34);
  stroke-width: 2;
}

.uf-v5-map-region {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.25);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-v5-map-region.is-west { top: 24%; left: 8%; }
.uf-v5-map-region.is-east { top: 18%; right: 10%; }
.uf-v5-map-region.is-south { right: 28%; bottom: 13%; }

.uf-v5-map-marker {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 68px;
  min-height: 60px;
  padding: 8px;
  border: 1px solid rgba(230, 185, 80, 0.55);
  background: #09130f;
  color: var(--uf-v4-gold);
  cursor: pointer;
  font-size: 8px;
  place-items: center;
}

.uf-v5-map-marker:hover,
.uf-v5-map-marker:focus-visible {
  border-color: #fff;
  color: #fff;
}

.uf-v5-map-marker svg {
  width: 18px;
}

.uf-v5-map-marker.is-camp { bottom: 18%; left: 12%; }
.uf-v5-map-marker.is-market { top: 28%; left: 46%; }
.uf-v5-map-marker.is-watch { top: 18%; right: 11%; }

.uf-v5-map-board__detail {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--uf-v4-line);
  color: var(--uf-v4-muted);
  font-size: 11px;
}

.uf-v5-map-board__detail svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--uf-v4-cyan);
}

.uf-v5-map-policy {
  position: sticky;
  top: 108px;
  padding: 30px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-map-policy h2 {
  margin: 8px 0 22px;
  font-size: 32px;
}

.uf-v5-map-policy ul {
  margin-bottom: 26px;
}

.uf-v5-map-policy li:nth-last-child(-n + 2) svg {
  color: var(--uf-v4-crimson);
}

.uf-v5-map-policy .uf-button {
  width: 100%;
}

.uf-v5-integration-grid article {
  border-color: rgba(19, 38, 44, 0.14);
  background: var(--uf-v5-paper-soft);
}

.uf-v5-integration-grid h2 {
  color: var(--uf-v5-ink);
}

.uf-v5-integration-grid p {
  color: #5c686c;
}

/* Support */

.uf-v5-support-grid {
  margin-top: 26px;
}

.uf-v5-merch-section {
  border-top: 1px solid var(--uf-v4-line);
  background: #091419;
}

.uf-v5-commerce-checklist {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.uf-v5-commerce-checklist h2 {
  margin: 8px 0 0;
  font-size: clamp(40px, 4vw, 60px);
}

.uf-v5-commerce-checklist ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(19, 38, 44, 0.14);
  list-style: none;
}

.uf-v5-commerce-checklist li {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: var(--uf-v5-paper-soft);
  color: #4e5e63;
  font-size: 13px;
}

.uf-v5-commerce-checklist li svg {
  width: 19px;
  flex: 0 0 auto;
  color: #16849a;
}

/* History */

.uf-v5-featured-news {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-bottom: 90px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
}

.uf-v5-featured-news__image {
  min-height: 500px;
  overflow: hidden;
}

.uf-v5-featured-news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uf-v5-featured-news > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.uf-v5-featured-news h2 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.uf-v5-featured-news p {
  color: var(--uf-v4-muted);
  line-height: 1.75;
}

.uf-v5-featured-news > div:last-child > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
}

.uf-v5-featured-news > div:last-child > div span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-transform: uppercase;
}

.uf-v5-featured-news svg {
  width: 15px;
  color: var(--uf-v4-cyan);
}

.uf-v5-history-timeline {
  position: relative;
  display: grid;
}

.uf-v5-history-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 112px;
  width: 1px;
  background: var(--uf-v4-line-strong);
  content: "";
}

.uf-v5-history-timeline article {
  position: relative;
  display: grid;
  min-height: 180px;
  align-items: start;
  gap: 28px;
  grid-template-columns: 80px 9px minmax(0, 1fr);
  padding: 28px 0;
}

.uf-v5-history-timeline time {
  color: var(--uf-v4-cyan);
  font-size: 25px;
  font-weight: 900;
}

.uf-v5-history-timeline article > span {
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 11px;
  border: 2px solid var(--uf-v4-bg);
  border-radius: 50%;
  background: var(--uf-v4-cyan);
  box-shadow: 0 0 0 1px var(--uf-v4-cyan);
}

.uf-v5-history-timeline small {
  color: var(--uf-v4-muted);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uf-v5-history-timeline h3 {
  margin: 8px 0 9px;
  font-size: 28px;
}

.uf-v5-history-timeline p {
  max-width: 760px;
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.7;
}

.uf-v5-history-gallery {
  height: 520px;
}

/* Responsive */

@media (max-width: 1120px) {
  .uf-nav__list {
    gap: 10px;
  }

  .uf-v5-faction-teasers,
  .uf-v5-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-v5-portal-grid,
  .uf-v5-callout-grid,
  .uf-v5-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-v5-portal-grid > a:last-child,
  .uf-v5-callout-grid article:last-child,
  .uf-v5-integration-grid article:last-child {
    grid-column: 1 / -1;
  }

  .uf-v5-quest-principles > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .uf-v5-section-heading,
  .uf-v5-split,
  .uf-v5-fields-explainer,
  .uf-v5-profile-layout,
  .uf-v5-quest-layout,
  .uf-v5-guide-feature,
  .uf-v5-editorial-note,
  .uf-v5-map-layout,
  .uf-v5-commerce-checklist {
    grid-template-columns: 1fr;
  }

  .uf-v5-section-heading {
    align-items: start;
    gap: 20px;
  }

  .uf-v5-text-link {
    justify-self: start;
  }

  .uf-v5-home-hero {
    min-height: 1050px;
  }

  .uf-v5-home-hero .uf-hero__content {
    min-height: 940px;
  }

  .uf-launch-panel {
    width: min(100%, 620px);
  }

  .uf-v5-pillar-grid {
    grid-template-columns: 1fr;
  }

  .uf-v5-pillar {
    min-height: 280px;
  }

  .uf-v5-quest-feature__inner,
  .uf-v5-quest-hero__inner {
    grid-template-columns: 1fr;
  }

  .uf-v5-quest-feature__steps {
    max-width: 620px;
  }

  .uf-v5-copy-card,
  .uf-v5-profile-sidebar,
  .uf-v5-quest-sidebar,
  .uf-v5-map-policy {
    position: static;
  }

  .uf-v5-moderation-note {
    align-items: start;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .uf-v5-moderation-note .uf-button {
    grid-column: 2;
    justify-self: start;
  }

  .uf-v5-profile-layout,
  .uf-v5-quest-layout {
    gap: 70px;
  }

  .uf-v5-profile-sidebar,
  .uf-v5-quest-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-v5-profile-sidebar > section:first-child,
  .uf-v5-quest-sidebar > section:first-child {
    grid-column: 1 / -1;
  }

  .uf-v5-recruitment-panel {
    grid-template-columns: 1fr;
  }

  .uf-v5-map-policy {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .uf-v5-section {
    padding-block: 72px;
  }

  .uf-v5-breadcrumbs {
    min-height: 48px;
    padding-top: 72px;
  }

  .uf-v5-page-hero,
  .uf-v5-page-hero__inner {
    min-height: 500px;
  }

  .uf-v5-page-hero__inner {
    padding-block: 58px;
  }

  .uf-v5-page-hero__title {
    align-items: flex-start;
    flex-direction: column;
  }

  .uf-v5-page-hero__title > span {
    width: 52px;
    height: 52px;
  }

  .uf-v5-page-hero h1 {
    font-size: clamp(43px, 14vw, 66px);
  }

  .uf-v5-page-hero__copy > p {
    font-size: 16px;
  }

  .uf-v5-seo-band > .uf-shell {
    grid-template-columns: 1fr;
  }

  .uf-v5-next-step > .uf-shell {
    min-height: 360px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .uf-v5-next-step .uf-v5-inline-actions {
    width: 100%;
  }

  .uf-v5-next-step .uf-button {
    width: 100%;
  }

  .uf-forum-toolbar,
  .uf-forum-toolbar form {
    flex-direction: column;
  }

  .uf-forum-toolbar form {
    flex: 0 0 auto;
  }

  .uf-forum-toolbar input {
    flex: 0 0 auto;
    width: 100%;
  }

  .uf-forum-toolbar button,
  .uf-forum-toolbar a {
    width: 100%;
  }

  .uf-forum-table__head {
    display: none;
  }

  .uf-forum-row {
    grid-template-columns: minmax(0, 1fr) repeat(2, 70px);
  }

  .uf-forum-row__main {
    grid-column: 1 / -1;
  }

  .uf-forum-row__fresh {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid #3d2b1b;
    border-left: 0;
    background: rgba(0, 0, 0, 0.18);
  }

  .uf-forum-row > strong {
    grid-row: 3;
    min-height: 46px;
    border-top: 1px solid #3d2b1b;
  }

  .uf-forum-row > strong:nth-of-type(1) {
    grid-column: 2;
  }

  .uf-forum-row > strong:nth-of-type(2) {
    grid-column: 3;
  }

  .uf-minecraft-forum-page #bbpress-forums::before,
  .uf-content-page #bbpress-forums::before {
    font-size: 16px;
  }

  .uf-minecraft-forum-page #bbpress-forums #bbp-search-form > div,
  .uf-content-page #bbpress-forums #bbp-search-form > div {
    flex-direction: column;
  }

  .uf-minecraft-forum-page #bbpress-forums #bbp_search,
  .uf-content-page #bbpress-forums #bbp_search,
  .uf-minecraft-forum-page #bbpress-forums #bbp_search_submit,
  .uf-content-page #bbpress-forums #bbp_search_submit {
    width: 100%;
  }

  .uf-minecraft-forum-page #bbpress-forums li.bbp-header,
  .uf-content-page #bbpress-forums li.bbp-header {
    display: none;
  }

  .uf-minecraft-forum-page #bbpress-forums .bbp-body > ul,
  .uf-content-page #bbpress-forums .bbp-body > ul {
    grid-template-columns: minmax(0, 1fr) repeat(2, 72px);
  }

  .uf-minecraft-forum-page #bbpress-forums .bbp-forum-freshness,
  .uf-content-page #bbpress-forums .bbp-forum-freshness {
    grid-column: 1 / -1;
    border-top: 1px solid #3d2b1b;
    border-left: 0;
    background: rgba(0, 0, 0, 0.18);
  }

  .uf-v5-home-hero {
    min-height: 970px;
  }

  .uf-v5-home-hero .uf-hero__content {
    min-height: 860px;
    padding-top: 110px;
    padding-bottom: 135px;
  }

  .uf-launch-panel {
    gap: 18px;
    padding: 20px;
  }

  .uf-launch-panel__timer div {
    min-height: 82px;
    padding: 10px 8px;
  }

  .uf-join__backdrop {
    background:
      linear-gradient(180deg, rgba(7, 16, 20, 0.82), rgba(7, 16, 20, 0.72)),
      linear-gradient(90deg, rgba(7, 16, 20, 0.7), rgba(7, 16, 20, 0.84)),
      url("../images/uf-legacy-banner-2013.webp") center 42% / cover;
    opacity: 0.9;
  }

  .uf-join h2,
  .uf-join p {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
  }

  .uf-v5-pillar-grid,
  .uf-v5-faction-teasers,
  .uf-v5-directory-grid,
  .uf-v5-portal-grid,
  .uf-v5-callout-grid,
  .uf-v5-integration-grid,
  .uf-v5-guide-grid,
  .uf-v5-choice-grid,
  .uf-v5-quest-principles > div:last-child,
  .uf-v5-profile-sidebar,
  .uf-v5-quest-sidebar {
    grid-template-columns: 1fr;
  }

  .uf-v5-portal-grid > a:last-child,
  .uf-v5-callout-grid article:last-child,
  .uf-v5-integration-grid article:last-child,
  .uf-v5-profile-sidebar > section:first-child,
  .uf-v5-quest-sidebar > section:first-child {
    grid-column: auto;
  }

  .uf-v5-pillar,
  .uf-v5-faction-card,
  .uf-v5-directory-card {
    min-height: 0;
  }

  .uf-v5-pillar h3 {
    margin-top: 80px;
  }

  .uf-v5-faction-card > p,
  .uf-v5-directory-card > p {
    min-height: 0;
  }

  .uf-v5-quest-feature,
  .uf-v5-quest-feature__inner {
    min-height: 720px;
  }

  .uf-v5-quest-feature__inner {
    gap: 44px;
  }

  .uf-v5-portal-grid > a {
    min-height: 200px;
    padding: 27px;
  }

  .uf-v5-directory-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .uf-v5-filter-group {
    justify-content: flex-start;
  }

  .uf-v5-moderation-note {
    grid-template-columns: 1fr;
  }

  .uf-v5-moderation-note .uf-button {
    grid-column: auto;
  }

  .uf-v5-profile-hero,
  .uf-v5-profile-hero__inner {
    min-height: 760px;
  }

  .uf-v5-profile-hero__inner {
    align-content: center;
    gap: 34px;
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .uf-v5-profile-banner {
    justify-items: start;
  }

  .uf-v5-profile-banner > div {
    width: 100px;
    height: 122px;
  }

  .uf-v5-profile-banner svg {
    width: 42px;
  }

  .uf-v5-profile-intro h1 {
    font-size: clamp(60px, 20vw, 88px);
  }

  .uf-v5-profile-gallery > div:last-child {
    grid-template-columns: 1fr;
  }

  .uf-v5-profile-gallery figure,
  .uf-v5-profile-gallery figure.is-wide {
    min-height: 270px;
    grid-row: auto;
  }

  .uf-v5-recruitment-panel {
    padding: 28px;
  }

  .uf-v5-guide-feature {
    gap: 36px;
    padding: 28px;
  }

  .uf-v5-guide-grid article {
    min-height: 280px;
    gap: 14px;
    grid-template-columns: 24px 31px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .uf-v5-chapter-roadmap article {
    align-items: start;
    gap: 18px;
    grid-template-columns: 28px 48px minmax(0, 1fr);
    padding: 26px 18px;
  }

  .uf-v5-chapter-roadmap article > a,
  .uf-v5-chapter-roadmap article > .uf-v5-roadmap-state {
    grid-column: 3;
  }

  .uf-v5-chapter-icon {
    width: 44px;
    height: 44px;
  }

  .uf-v5-quest-principles article {
    min-height: 210px;
  }

  .uf-v5-quest-hero,
  .uf-v5-quest-hero__inner {
    min-height: 900px;
  }

  .uf-v5-quest-hero__inner {
    align-content: center;
    gap: 45px;
  }

  .uf-v5-quest-hero h1 {
    font-size: clamp(56px, 17vw, 82px);
  }

  .uf-v5-signal-map {
    min-height: 360px;
  }

  .uf-v5-npc-card {
    align-items: start;
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .uf-v5-npc-card__portrait {
    width: 72px;
    height: 94px;
  }

  .uf-v5-npc-card__portrait svg {
    width: 30px;
  }

  .uf-v5-npc-card blockquote {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .uf-v5-choice-grid button {
    min-height: 180px;
  }

  .uf-v5-map-board__toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .uf-v5-map-board__canvas {
    min-height: 470px;
  }

  .uf-v5-map-region {
    font-size: 13px;
  }

  .uf-v5-map-marker {
    min-width: 56px;
    min-height: 52px;
    font-size: 7px;
  }

  .uf-v5-featured-news {
    grid-template-columns: 1fr;
  }

  .uf-v5-featured-news__image {
    min-height: 310px;
  }

  .uf-v5-featured-news > div:last-child {
    padding: 32px 24px;
  }

  .uf-v5-history-timeline::before {
    left: 72px;
  }

  .uf-v5-history-timeline article {
    gap: 17px;
    grid-template-columns: 50px 9px minmax(0, 1fr);
  }

  .uf-v5-history-timeline time {
    font-size: 16px;
  }

  .uf-v5-history-gallery {
    height: auto;
  }

  .uf-simple-layout,
  .uf-member-grid,
  .uf-simple-card-grid {
    grid-template-columns: 1fr;
  }

  .uf-simple-nav {
    position: static;
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .uf-v5-section-heading h2,
  .uf-v5-directory-tools h2 {
    font-size: 38px;
  }

  .uf-v5-pillar,
  .uf-v5-faction-card,
  .uf-v5-directory-card,
  .uf-v5-callout-grid article,
  .uf-v5-integration-grid article {
    padding: 24px;
  }

  .uf-v5-profile-layout,
  .uf-v5-quest-layout {
    gap: 55px;
  }

  .uf-v5-quest-objectives li {
    gap: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding-inline: 17px;
  }

  .uf-v5-choice-result {
    padding: 20px;
  }

  .uf-v5-map-board__toolbar [role="group"] {
    width: 100%;
  }

  .uf-v5-map-board__toolbar button {
    flex: 1;
    padding-inline: 6px;
  }

  .uf-simple-card,
  .uf-simple-panel {
    padding: 20px;
  }
}

.uf-live-factions-grid {
  align-items: stretch;
}

/* Factions is content-first: the backdrop stays tiny and content never depends on JS. */
.uf-v5-factions {
  background:
    linear-gradient(rgba(3, 12, 16, .88), rgba(3, 12, 16, .96)),
    url("../images/backgrounds/account-voxel-world-v1.webp") center top / cover no-repeat;
}

.uf-v5-factions .uf-v5-section,
.uf-v5-factions .uf-v5-section--paper {
  background: rgba(6, 19, 24, .9);
  color: var(--uf-v4-text);
}

.uf-v5-factions .uf-v5-section:nth-of-type(even) {
  background: rgba(11, 29, 34, .92);
}

.uf-v5-factions .uf-v5-section--paper h2,
.uf-v5-factions .uf-v5-section--paper h3,
.uf-v5-factions .uf-v5-section--paper p {
  color: inherit;
}

.uf-live-faction {
  background: rgba(2, 15, 20, .96) !important;
  border-color: rgba(63, 208, 238, .28) !important;
  color: #eef8fa;
}

.uf-live-faction h3,
.uf-live-faction dd {
  color: #fff !important;
}

.uf-live-faction__title {
  align-items: center;
  display: flex;
  gap: 14px;
}

.uf-live-faction__title > i {
  flex: 0 0 auto;
}

.uf-live-faction__title h3 {
  margin: 0;
}

.uf-live-faction__mine {
  color: var(--uf-gold, #c89445);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.uf-live-faction__stats {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.uf-live-faction__stats div {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
}

.uf-live-faction__stats dt {
  opacity: .7;
}

.uf-live-faction__stats dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.uf-live-faction__status {
  font-size: 12px;
  margin-top: 18px !important;
  opacity: .65;
  text-transform: uppercase;
}

.uf-moderation-links {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uf-moderation-links > a {
  align-items: center;
  background: linear-gradient(135deg, rgba(19, 49, 58, .96), rgba(7, 23, 29, .98));
  border: 1px solid rgba(63, 208, 238, .25);
  color: var(--uf-v4-text);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 22px;
  text-decoration: none;
}

.uf-moderation-links > a:hover,
.uf-moderation-links > a:focus-visible {
  border-color: var(--uf-v4-cyan);
}

.uf-moderation-links svg {
  color: var(--uf-v4-cyan);
  width: 22px;
}

.uf-moderation-links span {
  display: grid;
  gap: 4px;
}

.uf-moderation-links small {
  color: var(--uf-v4-muted);
}

/* Progressive enhancement: content remains readable if observers or scripts fail. */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .uf-moderation-links {
    grid-template-columns: 1fr;
  }
}

/* Live Lands statistics dashboard */
.uf-stats-page .uf-v5-section {
  padding-top: 70px;
}

.uf-stats-kpis {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-stats-kpis article {
  min-width: 0;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(63, 208, 238, .1), transparent 45%),
    var(--uf-v5-panel);
}

.uf-stats-kpis span,
.uf-stats-sort span {
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.uf-stats-kpis strong {
  display: block;
  margin: 7px 0 5px;
  color: var(--uf-v4-cyan);
  font-family: var(--uf-v4-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
}

.uf-stats-kpis small {
  color: var(--uf-v4-muted);
}

.uf-stats-privacy {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 42px;
  padding: 18px 22px;
  border: 1px solid rgba(103, 209, 138, .24);
  background: rgba(103, 209, 138, .06);
}

.uf-stats-privacy > svg {
  flex: 0 0 28px;
  color: var(--uf-v4-green);
}

.uf-stats-privacy p {
  margin: 0;
  color: var(--uf-v4-muted);
  line-height: 1.6;
}

.uf-stats-privacy strong {
  color: var(--uf-v4-green);
}

.uf-stats-toolbar {
  display: grid;
  align-items: stretch;
  gap: 12px;
  grid-template-columns: minmax(240px, 1fr) auto minmax(170px, auto);
  margin-bottom: 10px;
}

.uf-stats-search {
  position: relative;
  display: flex;
  align-items: center;
}

.uf-stats-search > svg {
  position: absolute;
  left: 17px;
  width: 19px;
  color: var(--uf-v4-cyan);
  pointer-events: none;
}

.uf-stats-search input,
.uf-stats-sort select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--uf-v4-line);
  border-radius: 0;
  background: var(--uf-v5-panel);
  color: var(--uf-v4-text);
  font: inherit;
}

.uf-stats-search input {
  padding: 0 18px 0 48px;
}

.uf-stats-search input:focus,
.uf-stats-sort select:focus {
  outline: 2px solid var(--uf-v4-cyan);
  outline-offset: 2px;
}

.uf-stats-scope {
  display: flex;
  border: 1px solid var(--uf-v4-line);
}

.uf-stats-scope button {
  min-width: 76px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid var(--uf-v4-line);
  background: var(--uf-v5-panel);
  color: var(--uf-v4-muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.uf-stats-scope button:last-child {
  border-right: 0;
}

.uf-stats-scope button[aria-pressed="true"] {
  background: rgba(63, 208, 238, .12);
  color: var(--uf-v4-cyan);
}

.uf-stats-sort {
  display: grid;
  gap: 5px;
}

.uf-stats-sort select {
  min-height: 34px;
  padding: 0 36px 0 12px;
}

.uf-stats-result-count {
  min-height: 22px;
  margin: 0 0 38px;
  color: var(--uf-v4-muted);
  font-size: 12px;
}

.uf-stats-section {
  margin-top: 58px;
}

.uf-stats-faction-list {
  display: grid;
  gap: 8px;
}

.uf-stats-faction-row {
  display: grid;
  align-items: center;
  gap: 18px;
  grid-template-columns: 46px minmax(210px, 1fr) minmax(290px, 1fr) auto;
  padding: 18px 20px;
  border: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(90deg, rgba(63, 208, 238, .045), transparent 42%),
    var(--uf-v5-panel);
}

.uf-stats-faction-row[hidden],
.uf-stats-member[hidden],
.uf-stats-section[hidden] {
  display: none;
}

.uf-stats-rank {
  color: var(--uf-v4-gold);
  font-family: var(--uf-v4-display);
  font-size: 22px;
  text-align: center;
}

.uf-stats-faction-name {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.uf-stats-crest {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(63, 208, 238, .24);
  background: rgba(63, 208, 238, .07);
  color: var(--uf-v4-cyan);
}

.uf-stats-crest svg {
  width: 23px;
}

.uf-stats-faction-name h3,
.uf-stats-member h3 {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-stats-faction-name p,
.uf-stats-member p {
  margin: 5px 0 0;
  color: var(--uf-v4-muted);
  font-size: 12px;
}

.uf-stats-row-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  margin: 0;
}

.uf-stats-row-metrics div {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--uf-v4-line);
}

.uf-stats-row-metrics dt {
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.uf-stats-row-metrics dd {
  overflow: hidden;
  margin: 6px 0 0;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-stats-war {
  color: var(--uf-v4-crimson);
}

.uf-stats-expand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--uf-v4-line);
  background: transparent;
  color: var(--uf-v4-cyan);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.uf-stats-expand svg {
  width: 15px;
  transition: transform .2s ease;
}

.uf-stats-expand[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.uf-stats-inline-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 2 / -1;
  padding-top: 15px;
  border-top: 1px solid var(--uf-v4-line);
}

.uf-stats-inline-roster[hidden] {
  display: none;
}

.uf-stats-inline-roster span {
  padding: 7px 10px;
  border: 1px solid var(--uf-v4-line);
  color: var(--uf-v4-muted);
  font-size: 12px;
}

.uf-stats-inline-roster small,
.uf-stats-member span {
  color: var(--uf-v4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.uf-stats-member-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-stats-member {
  display: grid;
  align-items: center;
  gap: 15px;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 112px;
  padding: 18px;
  background: var(--uf-v5-panel);
}

.uf-stats-member img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--uf-v4-line);
  border-radius: 5px;
  image-rendering: pixelated;
}

.uf-stats-member span {
  display: block;
  margin-top: 7px;
}

.uf-stats-member {
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.uf-stats-member:hover,
.uf-stats-member:focus-visible {
  border-color: var(--uf-v4-cyan);
  transform: translateY(-2px);
}

.uf-stats-member > svg {
  margin-left: auto;
  width: 18px;
  color: var(--uf-v4-cyan);
}
.uf-members-directory .uf-stats-toolbar { grid-template-columns:minmax(0,1fr) auto; margin-top:24px; }
.uf-members-server-grid { margin-top:22px; }
.uf-members-server-card h2 { margin:0 0 4px; color:var(--uf-v4-text); font-size:18px; }
.uf-members-server-card p { margin:0; color:var(--uf-v4-muted); }
.uf-members-server-card small { display:block; margin-top:7px; color:var(--uf-v4-cyan); }

.uf-stats-inline-roster a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.uf-player-profile-section { padding: 48px 0 84px; }
.uf-player-profile-hero { align-items:center; display:grid; gap:clamp(28px,6vw,72px); grid-template-columns:minmax(180px,280px) minmax(0,1fr); padding:clamp(24px,5vw,56px); border:1px solid var(--uf-v4-line); background:linear-gradient(135deg,rgba(28,53,60,.96),rgba(9,24,30,.98)); }
.uf-player-profile-avatar { align-self:stretch; display:grid; min-height:320px; place-items:end center; background:radial-gradient(circle at 50% 35%,rgba(58,209,215,.2),transparent 62%); overflow:hidden; }
.uf-player-profile-avatar img { display:block; filter:drop-shadow(0 24px 18px rgba(0,0,0,.5)); image-rendering:pixelated; max-height:400px; max-width:100%; object-fit:contain; }
.uf-player-profile-hero h1 { margin:.2em 0; color:var(--uf-v4-text); font-size:clamp(42px,7vw,76px); }
.uf-player-profile-hero p { max-width:680px; color:var(--uf-v4-muted); }
.uf-player-profile-affiliation { align-items:center; display:flex; gap:9px; color:var(--uf-v4-text)!important; font-weight:800; }
.uf-player-profile-affiliation span { padding:4px 8px; border:1px solid var(--uf-v4-cyan); color:var(--uf-v4-cyan); font-size:11px; text-transform:uppercase; }
.uf-player-profile-stats { display:grid; gap:14px; grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:18px; }
.uf-player-profile-stats article { min-width:0; padding:20px; border:1px solid var(--uf-v4-line); background:var(--uf-v5-panel); }
.uf-player-profile-stats svg { width:20px; color:var(--uf-v4-cyan); }
.uf-player-profile-stats span { display:block; margin:12px 0 5px; color:var(--uf-v4-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.uf-player-profile-stats strong { color:var(--uf-v4-text); font-size:clamp(20px,2.5vw,30px); white-space:nowrap; }
.uf-player-faction-history { margin-top:54px; }
.uf-player-history-list { display:grid; gap:12px; }
.uf-player-history-list article { align-items:center; display:grid; gap:16px; grid-template-columns:auto minmax(0,1fr) auto; padding:18px 20px; border:1px solid var(--uf-v4-line); background:var(--uf-v5-panel); }
.uf-player-history-list article.is-active { border-color:var(--uf-v4-cyan); }
.uf-player-history-list svg { color:var(--uf-v4-cyan); }
.uf-player-history-list h3,.uf-player-history-list p { margin:0; }
.uf-player-history-list p,.uf-player-history-list time,.uf-player-history-empty { color:var(--uf-v4-muted); font-size:13px; }
.uf-player-history-empty { padding:20px; border:1px dashed var(--uf-v4-line); }

@media (max-width: 900px) { .uf-player-profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .uf-player-profile-hero { grid-template-columns:1fr; text-align:center; } .uf-player-profile-avatar { min-height:240px; } .uf-player-profile-affiliation { justify-content:center; } .uf-player-profile-stats { grid-template-columns:1fr; } .uf-player-history-list article { grid-template-columns:auto 1fr; } .uf-player-history-list time { grid-column:2; } }

.uf-stats-empty {
  display: none;
  padding: 60px 24px;
  border: 1px dashed var(--uf-v4-line);
  color: var(--uf-v4-muted);
  text-align: center;
}

.uf-stats-empty.is-visible {
  display: block;
}

.uf-stats-empty svg {
  width: 36px;
  color: var(--uf-v4-cyan);
}

.uf-stats-empty h2 {
  margin: 14px 0 8px;
  color: var(--uf-v4-text);
}

.uf-stats-empty p {
  margin: 0;
}

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

  .uf-stats-toolbar {
    grid-template-columns: 1fr auto;
  }

  .uf-stats-search {
    grid-column: 1 / -1;
  }

  .uf-stats-faction-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .uf-stats-row-metrics {
    grid-column: 2 / -1;
  }

  .uf-stats-inline-roster {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .uf-stats-kpis,
  .uf-stats-member-grid {
    grid-template-columns: 1fr;
  }

  .uf-stats-toolbar {
    grid-template-columns: 1fr;
  }

  .uf-stats-search,
  .uf-stats-scope,
  .uf-stats-sort {
    grid-column: 1;
  }

  .uf-stats-scope button {
    flex: 1;
  }

  .uf-stats-faction-row {
    align-items: start;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 16px;
  }

  .uf-stats-expand {
    grid-column: 2;
    justify-self: start;
  }

  .uf-stats-row-metrics,
  .uf-stats-inline-roster {
    grid-column: 1 / -1;
  }

  .uf-stats-row-metrics div {
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uf-v5-pillar:hover,
  .uf-v5-pillar:focus-visible {
    transform: none;
  }

  .uf-v5-profile-hero__image {
    transform: none;
  }
}
