/* 2026 launch polish: keep public utility pages inside the voxel world. */
.uf-v5-play,
.uf-v5-support-page,
.uf-v5-bans-page {
  background:
    linear-gradient(rgba(3,12,16,.86),rgba(3,12,16,.97)),
    url("../images/backgrounds/account-voxel-world-v1.webp") center top / cover fixed no-repeat,
    #041014;
}

.uf-v5-play .uf-v5-section,
.uf-v5-support-page .uf-v5-section,
.uf-v5-bans-page .uf-v5-section,
.uf-v5-play .uf-v5-section--paper,
.uf-v5-support-page .uf-v5-section--paper,
.uf-v5-bans-page .uf-v5-section--paper {
  background: rgba(5,18,23,.92);
  color: var(--uf-v4-text);
}

.uf-v5-play .uf-v5-section--paper h2,
.uf-v5-play .uf-v5-section--paper h3,
.uf-v5-play .uf-v5-section--paper p,
.uf-v5-support-page .uf-v5-section--paper h2,
.uf-v5-support-page .uf-v5-section--paper p,
.uf-v5-bans-page .uf-v5-section--paper h2,
.uf-v5-bans-page .uf-v5-section--paper p {
  color: inherit;
}

.uf-v5-play-first-session { border-block: 1px solid rgba(63,208,238,.13); }
.uf-v5-play-first-session .uf-v5-step-list { border-color: var(--uf-v4-line); background: var(--uf-v4-line); }
.uf-v5-play-first-session .uf-v5-step-list li { background: rgba(7,24,29,.98); }
.uf-v5-play-first-session .uf-v5-step-list li + li { border-color: var(--uf-v4-line); }
.uf-v5-play-first-session .uf-v5-step-list li > span { color: var(--uf-v4-cyan); }

.uf-v5-play-walker {
  display: block;
  width: min(250px,82%);
  height: auto;
  margin: -180px auto 4px;
  filter: drop-shadow(0 22px 18px rgba(0,0,0,.52));
  image-rendering: auto;
}

.uf-bedrock-guides { display:grid; gap:7px; margin-top:18px; }
.uf-bedrock-guides details { border:1px solid var(--uf-v4-line); background:#07161b; }
.uf-bedrock-guides summary { cursor:pointer; padding:12px 14px; color:#fff; font-size:12px; font-weight:850; }
.uf-bedrock-guides details p { margin:0; padding:0 14px 14px; color:var(--uf-v4-muted); font-size:12px; line-height:1.65; }

.uf-v5-vote-page .uf-simple-card-grid { gap:10px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.uf-v5-vote-page .uf-simple-card { min-height:118px; padding:20px; }
.uf-v5-vote-page .uf-simple-card h2 { margin:16px 0 7px; font-size:20px; }
.uf-v5-vote-page .uf-simple-card small { margin-top:8px; color:var(--uf-v4-cyan); font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.uf-vote-account-strip { display:grid; align-items:center; gap:16px; grid-template-columns:auto minmax(0,1fr) auto; margin:14px 0 18px; padding:16px 18px; border:1px solid rgba(63,208,238,.28); background:linear-gradient(135deg,rgba(63,208,238,.08),transparent 48%),rgba(5,18,23,.94); }
.uf-vote-account-strip > svg { width:24px; height:24px; color:var(--uf-v4-cyan); }
.uf-vote-account-strip strong { display:block; color:#fff; font-size:14px; }
.uf-vote-account-strip p { margin:4px 0 0; color:var(--uf-v4-muted); font-size:13px; line-height:1.5; }
.uf-vote-leaderboard { margin-top:24px; border:1px solid rgba(230,185,80,.34); background:linear-gradient(135deg,rgba(230,185,80,.08),transparent 42%),rgba(5,18,23,.96); box-shadow:12px 12px 0 rgba(0,0,0,.2); }
.uf-vote-leaderboard > header { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:20px 22px; border-bottom:1px solid rgba(230,185,80,.24); }
.uf-vote-leaderboard h2 { margin:5px 0 0; color:#fff; font-size:clamp(22px,3vw,34px); }
.uf-vote-leaderboard > header time { color:var(--uf-v4-gold); font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.uf-vote-leaderboard__list { display:grid; gap:1px; margin:0; padding:0; background:rgba(63,208,238,.12); list-style:none; }
.uf-vote-leaderboard__list li { display:grid; align-items:center; gap:14px; grid-template-columns:38px minmax(140px,1fr) auto minmax(180px,.8fr); padding:13px 18px; background:rgba(5,19,24,.98); }
.uf-vote-leaderboard__list li.is-podium { background:linear-gradient(90deg,rgba(230,185,80,.12),rgba(5,19,24,.98) 42%); }
.uf-vote-rank { display:grid; width:30px; height:30px; place-items:center; border:1px solid rgba(63,208,238,.28); color:var(--uf-v4-cyan); font-weight:900; }
.uf-vote-leaderboard__list .is-podium .uf-vote-rank { border-color:rgba(230,185,80,.6); background:rgba(230,185,80,.13); color:var(--uf-v4-gold); }
.uf-vote-leaderboard__list strong,.uf-vote-leaderboard__list strong a { color:#fff; }
.uf-vote-leaderboard__list strong a:hover { color:var(--uf-v4-cyan); }
.uf-vote-leaderboard__list li > span:nth-of-type(2) { color:var(--uf-v4-muted); }
.uf-vote-leaderboard__list li > span:nth-of-type(2) b { color:#fff; font-size:17px; }
.uf-vote-leaderboard__list small { color:var(--uf-v4-muted); text-align:right; }
.uf-vote-leaderboard__empty { margin:0; padding:28px 22px; color:var(--uf-v4-muted); }
@media (max-width:700px) {
  .uf-vote-account-strip { grid-template-columns:auto minmax(0,1fr); }
  .uf-vote-account-strip .uf-button { grid-column:1 / -1; justify-self:start; }
  .uf-vote-leaderboard > header { align-items:start; flex-direction:column; }
  .uf-vote-leaderboard__list li { grid-template-columns:34px minmax(0,1fr) auto; gap:10px; }
  .uf-vote-leaderboard__list small { grid-column:2 / -1; text-align:left; }
}

.uf-v5-support-page .uf-support-form {
  max-width: 860px;
  padding: clamp(24px,5vw,48px);
  border: 1px solid rgba(63,208,238,.25);
  background: linear-gradient(145deg,rgba(63,208,238,.055),transparent 48%),rgba(5,18,23,.97);
  box-shadow: 14px 14px 0 rgba(0,0,0,.22);
}
.uf-v5-support-page .uf-support-form label { color:#fff; }
.uf-v5-support-page .uf-support-form input,
.uf-v5-support-page .uf-support-form select,
.uf-v5-support-page .uf-support-form textarea {
  box-sizing:border-box;
  width:100%;
  border:1px solid #41616a;
  border-radius:0;
  background:#061116;
  color:#fff;
  box-shadow:inset 3px 3px 0 rgba(0,0,0,.25);
}
.uf-v5-support-page .uf-support-form textarea { min-height:190px; resize:vertical; }
.uf-v5-support-page .uf-support-form .wpcf7-submit { min-height:46px; padding:0 22px; border:2px solid #161006; border-radius:0; background:linear-gradient(#8eb15f,#557c35); color:#fff8df; text-shadow:1px 1px 0 #22380d; }

.uf-bans-search { position:relative; display:block; margin:0 0 15px; }
.uf-bans-search svg { position:absolute; top:50%; left:15px; width:18px; color:var(--uf-v4-cyan); transform:translateY(-50%); }
.uf-bans-search input { box-sizing:border-box; width:100%; min-height:48px; padding:10px 15px 10px 46px; border:1px solid #41616a; border-radius:0; background:#061116; color:#fff; font:inherit; }
.uf-bans-table { overflow:hidden; border:1px solid var(--uf-v4-line); background:var(--uf-v4-line); }
.uf-bans-row { display:grid; align-items:center; gap:18px; grid-template-columns:minmax(190px,.8fr) minmax(240px,2fr) minmax(150px,.65fr); margin:0; padding:14px 18px; background:rgba(5,19,24,.98); }
.uf-bans-row + .uf-bans-row { margin-top:1px; }
.uf-bans-row--head { background:#102830; color:var(--uf-v4-cyan); font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.uf-bans-row h2,.uf-bans-row p { margin:0; }
.uf-bans-row h2 { color:#fff; font-family:inherit; font-size:15px; overflow-wrap:anywhere; }
.uf-bans-row p { color:var(--uf-v4-muted); font-size:13px; line-height:1.45; }
.uf-bans-row time { color:#e4bd66; font-size:11px; }
.uf-bans-player { display:flex; min-width:0; align-items:center; gap:12px; }
.uf-bans-player__head { width:44px; height:44px; flex:0 0 44px; border:1px solid rgba(63,208,238,.35); background:#071116; image-rendering:pixelated; object-fit:cover; box-shadow:3px 3px 0 rgba(0,0,0,.24); }
.uf-bans-empty { padding:22px; border:1px dashed var(--uf-v4-line); color:var(--uf-v4-muted); text-align:center; }

.uf-player-account-page--guest .uf-content-page { min-height:calc(100vh - 80px); }
.uf-player-account-page--guest .woocommerce { max-width:660px; margin-inline:auto; padding:clamp(24px,5vw,44px); border:1px solid rgba(63,208,238,.25); background:rgba(5,18,23,.96); }
.uf-player-account-page--guest .woocommerce h2,.uf-player-account-page--guest .woocommerce label { color:#fff; }
.uf-player-account-page--guest .woocommerce p { color:var(--uf-v4-muted); line-height:1.65; }
.uf-player-account-page--guest .woocommerce form.login,
.uf-player-account-page--guest .woocommerce form.lost_reset_password { padding:0; border:0; background:transparent; color:var(--uf-v4-text); }
.uf-player-account-page--guest .woocommerce input.input-text { box-sizing:border-box; width:100%; min-height:46px; border:1px solid #41616a; border-radius:0; background:#061116; color:#fff; }
.uf-player-account-page--guest .woocommerce button.button { min-height:44px; padding:0 19px; border:2px solid #161006; border-radius:0; background:linear-gradient(#8eb15f,#557c35); color:#fff8df; font-weight:900; text-shadow:1px 1px 0 #22380d; }

.uf-footer--breached-wall { position:relative; isolation:isolate; overflow:hidden; }
.uf-footer--breached-wall::before { position:absolute; z-index:-1; bottom:-8px; left:0; width:min(920px,75vw); height:310px; background:url("../images/generated/uf-footer-breached-wall.webp") left bottom / contain no-repeat; content:""; opacity:.24; pointer-events:none; filter:drop-shadow(0 -18px 38px rgba(255,139,35,.12)); }
.uf-footer--breached-wall::after { position:absolute; z-index:-2; inset:0; background:radial-gradient(circle at 18% 70%,rgba(255,129,27,.18),transparent 28%),linear-gradient(90deg,rgba(2,9,12,.5),rgba(2,9,12,.95) 70%); content:""; }
.uf-footer--breached-wall .uf-footer__grid { position:relative; z-index:1; }
.uf-footer__social { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.uf-footer__social-link { display:inline-flex; min-height:30px; align-items:center; gap:7px; padding:6px 9px; border:1px solid rgba(255,255,255,.12); background:rgba(5,18,23,.72); color:rgba(255,255,255,.76); font-size:10px; font-weight:900; line-height:1; text-decoration:none; text-transform:uppercase; }
.uf-footer__social-link svg,.uf-footer__social-glyph { width:14px; height:14px; flex:0 0 14px; color:var(--uf-v4-cyan); }
.uf-footer__social-glyph { display:inline-grid; place-items:center; font-size:12px; font-weight:1000; }
.uf-footer__social-link:hover,.uf-footer__social-link:focus-visible { border-color:rgba(63,208,238,.55); background:rgba(13,45,52,.88); color:#fff; }
.uf-footer__torches { position:absolute; z-index:2; bottom:78px; left:clamp(95px,9vw,185px); width:260px; height:185px; pointer-events:none; }
.uf-footer__torches::before { position:absolute; left:8px; bottom:30px; width:200px; height:104px; background:radial-gradient(circle at 27% 56%,rgba(255,205,36,.32),transparent 27%),radial-gradient(circle at 72% 56%,rgba(255,171,30,.25),transparent 31%); content:""; filter:blur(16px); }
.uf-footer__torch { position:absolute; bottom:0; width:16px; height:16px; image-rendering:pixelated; filter:brightness(1.2) saturate(1.15) drop-shadow(0 0 8px rgba(255,199,37,.78)) drop-shadow(0 12px 18px rgba(255,112,16,.25)); transform-origin:50% 100%; }
.uf-footer__torch--one { left:44px; transform:scale(3.1) rotate(5deg); }
.uf-footer__torch--two { left:132px; bottom:9px; transform:scale(2.9) rotate(-6deg); opacity:1; }
.uf-footer__smoke { position:absolute; bottom:165px; left:72px; width:12px; height:12px; border:2px solid rgba(210,222,222,.18); border-radius:50%; opacity:.45; filter:blur(.2px); animation:uf-footer-smoke 5s linear infinite; }
.uf-footer__smoke--two { left:180px; bottom:170px; width:15px; height:15px; animation-delay:1.5s; }
.uf-footer__smoke--three { left:128px; bottom:180px; width:10px; height:10px; animation-delay:2.8s; }
@keyframes uf-footer-smoke { 0% { opacity:0; transform:translateY(0) scale(.6); } 20% { opacity:.46; } 100% { opacity:0; transform:translate(-14px,-58px) scale(1.7); } }

@media (max-width:760px) {
  .uf-v5-vote-page .uf-simple-card-grid { grid-template-columns:1fr; }
  .uf-v5-play-walker { width:180px; margin:-115px auto 4px; }
  .uf-bans-row,.uf-bans-row--head { grid-template-columns:minmax(105px,.8fr) minmax(0,1.7fr); }
  .uf-bans-row > :last-child { grid-column:2; }
  .uf-bans-row--head > :last-child { display:none; }
  .uf-footer--breached-wall::before { width:100vw; height:220px; opacity:.16; }
  .uf-footer__torches { z-index:0; bottom:34px; left:180px; transform:scale(.5); transform-origin:left bottom; opacity:.88; }
  .uf-footer__social { max-width:330px; }
}

@media (prefers-reduced-motion:reduce) {
  .uf-footer__smoke { animation:none; }
  .uf-footer__smoke { opacity:.2; }
}

@media (max-width:480px) {
  .uf-bans-row { gap:7px 12px; grid-template-columns:1fr; padding:14px; }
  .uf-bans-row > :last-child { grid-column:auto; }
  .uf-bans-row--head { display:none; }
}

.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__title h3 a,
.uf-stats-faction-name h3 a,
.uf-player-profile-affiliation a,
.uf-player-history-list h3 a {
  color: inherit;
  text-decoration: none;
}

.uf-live-faction__title h3 a:hover,
.uf-live-faction__title h3 a:focus-visible,
.uf-stats-faction-name h3 a:hover,
.uf-stats-faction-name h3 a:focus-visible,
.uf-player-profile-affiliation a:hover,
.uf-player-profile-affiliation a:focus-visible,
.uf-player-history-list h3 a:hover,
.uf-player-history-list h3 a:focus-visible {
  color: var(--uf-v4-cyan, #63d0ee);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.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-live-faction__roster {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 18px;
  padding-top: 16px;
}

.uf-live-faction__roster > strong {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.uf-live-faction__roster > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uf-live-faction__roster a {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #eef8fa;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  padding: 6px 8px;
  text-decoration: none;
}

.uf-live-faction__roster a:hover,
.uf-live-faction__roster a:focus-visible {
  border-color: var(--uf-v4-cyan, #63d0ee);
  color: var(--uf-v4-cyan, #63d0ee);
}

.uf-live-faction__roster small {
  color: var(--uf-v4-gold, #e4b968);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.uf-live-faction__open {
  margin-top: 14px;
  width: 100%;
}

.uf-live-profile-emblem img {
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .35);
  height: 92px;
  image-rendering: auto;
  object-fit: cover;
  width: 92px;
}

.uf-faction-branding {
  display:grid;
  align-items:center;
  gap:clamp(20px,4vw,38px);
  grid-template-columns:112px minmax(0,1fr);
  margin:0 0 28px;
  padding:clamp(22px,4vw,36px);
  border:1px solid rgba(63,208,238,.3);
  background:linear-gradient(135deg,rgba(63,208,238,.08),transparent 54%),#0a171c;
}
.uf-faction-branding__preview img,.uf-faction-branding__preview span { display:grid; width:96px; height:96px; place-items:center; border:3px solid rgba(63,208,238,.36); background:#071116; object-fit:cover; box-shadow:7px 7px 0 rgba(0,0,0,.24); }
.uf-faction-branding__preview svg { width:42px; color:var(--uf-v4-cyan); }
.uf-faction-branding h2 { margin:4px 0 8px; color:#fff; }
.uf-faction-branding p { margin:0; color:var(--uf-v4-muted); }
.uf-faction-branding .uf-emblem-form { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); align-items:end; gap:14px 18px; margin-top:18px; padding-top:18px; border-top:1px solid var(--uf-v4-line); }
.uf-faction-branding .uf-emblem-form>label,.uf-faction-branding .uf-emblem-form>fieldset,.uf-faction-branding .uf-emblem-form>.uf-emblem-form__row,.uf-faction-branding .uf-emblem-form>.uf-recruitment-topic-card { grid-column:span 6; }
.uf-faction-branding .uf-emblem-form>fieldset,.uf-faction-branding .uf-emblem-form>.uf-emblem-form__row,.uf-faction-branding .uf-emblem-form>.uf-recruitment-topic-card { min-width:0; }
.uf-faction-branding .uf-emblem-form>label:nth-of-type(2),.uf-faction-branding .uf-emblem-form>fieldset:first-of-type,.uf-faction-branding .uf-emblem-form>.uf-emblem-form__row,.uf-faction-branding .uf-emblem-form>.uf-recruitment-topic-card { grid-column:1 / -1; }
.uf-faction-branding .uf-emblem-form label { display:grid; gap:7px; color:#fff; min-width:0; }
.uf-faction-branding .uf-emblem-form label strong { max-width:100%; overflow-wrap:anywhere; }
.uf-faction-branding .uf-emblem-form input[type=file] { width:100%; max-width:100%; box-sizing:border-box; color:var(--uf-v4-text); }
.uf-faction-branding .uf-emblem-form>small { grid-column:span 6; }
.uf-faction-branding .uf-emblem-form>.uf-account-submit { grid-column:span 4; justify-self:end; }
.uf-faction-branding .uf-emblem-form small { color:var(--uf-v4-muted); line-height:1.45; }
.uf-faction-branding .uf-emblem-form__row { display:grid; grid-template-columns:minmax(280px,2fr) minmax(180px,1fr); gap:14px 18px; align-items:end; }
.uf-faction-branding .uf-emblem-form__checks { display:flex; flex-wrap:wrap; gap:10px 20px; }
.uf-faction-branding .uf-emblem-form .uf-emblem-form__checks label { display:flex; flex:0 1 auto; align-items:center; gap:7px; }
.uf-recruitment-mode { display:grid; width:100%; min-inline-size:0; gap:8px; margin:0; padding:0; border:0; color:#fff; }
.uf-recruitment-mode legend { margin:0 0 7px; font-weight:900; }
.uf-recruitment-mode__choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.uf-recruitment-mode__choices label { position:relative; display:block; cursor:pointer; }
.uf-recruitment-mode__choices input { position:absolute; opacity:0; pointer-events:none; }
.uf-recruitment-mode__choices span { display:flex; min-height:44px; align-items:center; justify-content:center; padding:10px 12px; border:1px solid rgba(63,208,238,.32); background:#071116; color:#cfeff5; font-weight:900; text-align:center; box-shadow:inset 0 -3px 0 rgba(0,0,0,.22); }
.uf-recruitment-mode__choices input:checked+span { border-color:#f0c95b; background:#173018; color:#fff5bf; box-shadow:inset 0 -3px 0 rgba(0,0,0,.28),0 0 0 2px rgba(240,201,91,.14); }
.uf-recruitment-topic-card { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 18px; padding:14px; border:1px solid rgba(63,208,238,.3); background:rgba(7,17,22,.75); }
.uf-recruitment-topic-card div { display:grid; gap:4px; min-width:220px; }
.uf-recruitment-topic-card strong { color:#fff; }
.uf-account-check--compact { align-self:stretch; grid-template-columns:18px minmax(0,1fr); margin:0; padding:14px; border:1px solid rgba(63,208,238,.24); background:rgba(7,17,22,.66); }
.uf-account-check--compact input { position:static; width:16px; height:16px; margin-top:3px; opacity:1; accent-color:var(--uf-v4-cyan); }
@media (max-width:780px) { .uf-faction-branding .uf-emblem-form { grid-template-columns:1fr; } .uf-faction-branding .uf-emblem-form>label,.uf-faction-branding .uf-emblem-form>fieldset,.uf-faction-branding .uf-emblem-form>.uf-emblem-form__row,.uf-faction-branding .uf-emblem-form>.uf-recruitment-topic-card,.uf-faction-branding .uf-emblem-form>small,.uf-faction-branding .uf-emblem-form>.uf-account-submit { grid-column:1 / -1; } .uf-faction-branding .uf-emblem-form>.uf-account-submit { justify-self:stretch; } .uf-faction-branding .uf-emblem-form__row,.uf-recruitment-mode__choices { grid-template-columns:1fr; } }
@media (max-width:640px) { .uf-faction-branding { grid-template-columns:1fr; } .uf-faction-branding__preview img,.uf-faction-branding__preview span { width:80px; height:80px; } }
.uf-faction-owner-shortcut { display:grid; gap:11px; margin:14px 0; padding:13px; border:1px solid rgba(63,208,238,.38); background:rgba(7,23,29,.9); box-shadow:inset 4px 0 0 var(--uf-v4-cyan); }
.uf-faction-owner-shortcut>div { display:flex; align-items:center; gap:10px; color:#fff; }
.uf-faction-owner-shortcut>div svg { width:22px; flex:0 0 22px; color:#f0c95b; }
.uf-faction-owner-shortcut span { display:grid; gap:2px; font-size:.83rem; color:var(--uf-v4-muted); }
.uf-faction-owner-shortcut strong { color:#fff; font-size:.9rem; }
.uf-faction-owner-shortcut>a { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--uf-v4-cyan); font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.uf-faction-owner-shortcut>a svg { width:17px; }

.uf-faction-roster-section {
  margin-top: 48px;
  scroll-margin-top: 130px;
}

.uf-faction-member-grid {
  margin-top: 22px;
}

.uf-faction-member small {
  color: var(--uf-v4-muted);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.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; } }

/* Player profiles: Minecraft castle hall and inventory-style achievements. */
.uf-player-profile-page {
  --uf-profile-stone:#283235;
  --uf-profile-stone-dark:#111719;
  --uf-profile-line:#596467;
  --uf-profile-gold:#d8b45f;
  --uf-profile-gold-light:#ffe7a4;
  background:
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px) 0 0/48px 48px,
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px) 0 0/48px 48px,
    #101617;
}

.uf-player-profile-page .uf-player-profile-section {
  background:linear-gradient(90deg,rgba(216,180,95,.035),transparent 30%,transparent 70%,rgba(216,180,95,.035));
}

.uf-player-profile-page .uf-player-profile-hero {
  background:
    linear-gradient(90deg,rgba(8,13,14,.9) 0%,rgba(16,25,27,.77) 48%,rgba(10,16,17,.94) 100%),
    url("../images/guides/uf-guide-base-defense-castle.webp") center 43%/cover no-repeat;
  border:3px solid #080b0c;
  box-shadow:inset 0 0 0 2px var(--uf-profile-line),7px 7px 0 rgba(0,0,0,.38);
  position:relative;
}

.uf-player-profile-page .uf-player-profile-avatar {
  background:
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/32px 32px,
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px) 0 0/32px 32px,
    linear-gradient(180deg,#303a3d,#171e20);
  border:3px solid #090c0d;
  box-shadow:inset 0 0 0 2px #525d60,5px 5px 0 rgba(0,0,0,.34);
}

.uf-player-profile-page .uf-player-profile-avatar img {
  filter:drop-shadow(8px 16px 0 rgba(0,0,0,.32));
}

.uf-player-profile-page .uf-kicker {
  color:var(--uf-profile-gold);
}

.uf-player-profile-page .uf-player-profile-hero h1,
.uf-player-profile-page .uf-v5-section-heading h2,
.uf-player-profile-page .uf-player-history-list h3 {
  color:#fff2cb;
  font-family:var(--uf-font-display);
  text-shadow:2px 2px 0 #080a0b;
}

.uf-player-profile-page .uf-player-profile-role {
  background:#252e30;
  border:2px solid #0a0d0e;
  box-shadow:inset 0 0 0 1px #697376,2px 2px 0 rgba(0,0,0,.3);
  color:var(--uf-profile-gold-light);
}

.uf-player-profile-page .uf-player-profile-supporter {
  align-items:center;
  display:flex;
  margin:8px 0 14px;
}

.uf-player-profile-page .uf-player-profile-supporter .uf-bbp-supporter {
  gap:7px;
  padding:6px 10px;
  box-shadow:2px 2px 0 rgba(0,0,0,.3);
  font-size:11px;
}

.uf-player-profile-page .uf-player-profile-supporter .uf-bbp-supporter svg {
  height:14px;
  width:14px;
}

.uf-player-profile-page .uf-player-profile-hero .uf-button--glass {
  background:linear-gradient(#465154,#293234);
  border:3px solid #090c0d;
  border-radius:0;
  box-shadow:inset 0 0 0 1px #6d787b,3px 3px 0 rgba(0,0,0,.32);
  color:#fff0c8;
}

.uf-player-profile-page .uf-player-profile-stats {
  gap:12px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:22px;
}

.uf-player-profile-page .uf-player-profile-stats article {
  background:
    linear-gradient(135deg,rgba(255,255,255,.055),transparent 38%),
    linear-gradient(180deg,#333e41,#20282a);
  border:3px solid #090c0d;
  box-shadow:inset 0 0 0 2px #4e595c,4px 4px 0 rgba(0,0,0,.32);
  padding:20px 22px;
  position:relative;
}

.uf-player-profile-page .uf-player-profile-stats article > .uf-mc-item {
  background:#171d1f;
  border:2px solid #090c0d;
  box-shadow:inset 0 0 0 1px #687376,2px 2px 0 rgba(0,0,0,.34);
  height:38px;
  position:absolute;
  right:18px;
  top:18px;
  width:38px;
}

.uf-player-profile-page .uf-player-profile-stats article > .uf-mc-item img {
  height:30px;
  image-rendering:pixelated;
  width:30px;
}

.uf-player-profile-page .uf-player-profile-stats span {
  color:#bcb9ae;
  margin-top:0;
}

.uf-player-profile-page .uf-player-profile-stats strong {
  color:var(--uf-profile-gold-light);
  font-family:var(--uf-font-display);
  text-shadow:2px 2px 0 #0b0d0e;
}

.uf-player-profile-page .uf-player-achievements,
.uf-player-profile-page .uf-player-mcmmo,
.uf-player-profile-page .uf-player-faction-history {
  margin-top:clamp(42px,6vw,70px);
}

.uf-player-profile-page .uf-v5-section-heading {
  border-bottom:3px solid #3f494b;
  padding-bottom:16px;
}

.uf-player-profile-page .uf-achievement-grid {
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));
}

.uf-player-profile-page .uf-player-mcmmo-summary {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));
}

.uf-player-profile-page .uf-player-mcmmo-summary article {
  background:linear-gradient(180deg,#303a3d,#1d2527);
  border:3px solid #080b0c;
  border-radius:0;
  box-shadow:inset 0 0 0 2px #505b5e,5px 5px 0 rgba(0,0,0,.34);
  min-height:118px;
  padding:18px;
  position:relative;
}

.uf-player-profile-page .uf-player-mcmmo-summary article > .uf-mc-item {
  position:absolute;
  right:12px;
  top:12px;
}

.uf-player-profile-page .uf-player-mcmmo-summary span:not(.uf-mc-item) {
  color:#bcb9ae;
  display:block;
  font-size:12px;
  font-weight:800;
  max-width:calc(100% - 46px);
  text-transform:uppercase;
}

.uf-player-profile-page .uf-player-mcmmo-summary strong {
  color:var(--uf-profile-gold-light);
  display:block;
  font-family:var(--uf-font-display);
  font-size:clamp(24px,4vw,34px);
  line-height:1;
  margin-top:18px;
  text-shadow:2px 2px 0 #0b0d0e;
}

.uf-player-profile-page .uf-achievement-grid article {
  --badge-accent:#d8b45f;
  align-items:center;
  background:
    linear-gradient(90deg,color-mix(in srgb,var(--badge-accent) 13%,transparent),transparent 56%),
    linear-gradient(180deg,#303a3d,#1d2527);
  border:3px solid #080b0c;
  border-radius:0;
  box-shadow:inset 0 0 0 2px #505b5e,5px 5px 0 rgba(0,0,0,.34);
  gap:16px;
  min-height:118px;
  padding:18px;
  position:relative;
}

.uf-player-profile-page .uf-achievement-grid article::after {
  background:var(--badge-accent);
  bottom:-3px;
  content:"";
  height:3px;
  left:16px;
  right:16px;
  position:absolute;
}

.uf-player-profile-page .uf-achievement-grid article > .uf-mc-item {
  background:
    linear-gradient(135deg,rgba(255,255,255,.09),transparent 42%),
    #171d1f;
  border:3px solid #090b0c;
  border-radius:0;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--badge-accent) 72%,#4a5355),3px 3px 0 rgba(0,0,0,.35);
  color:var(--badge-accent);
  flex:0 0 58px;
  height:58px;
  padding:4px;
  width:58px;
}

.uf-player-profile-page .uf-achievement-grid article > .uf-mc-item img {
  filter:drop-shadow(3px 3px 0 rgba(0,0,0,.42));
  height:42px;
  image-rendering:pixelated;
  width:42px;
}

.uf-player-profile-page .uf-achievement-grid h3 {
  color:#fff2cf;
  font-family:var(--uf-font-display);
  font-size:18px;
  margin:3px 0 5px;
  text-shadow:1px 1px 0 #080a0b;
}

.uf-player-profile-page .uf-achievement-grid p {
  color:#b9b8ae;
  line-height:1.45;
}

.uf-achievement-unlocked {
  color:var(--badge-accent);
  display:block;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.uf-player-profile-page .uf-achievement-grid .is-cyan { --badge-accent:#65dce0; }
.uf-player-profile-page .uf-achievement-grid .is-gold { --badge-accent:#f0c866; }
.uf-player-profile-page .uf-achievement-grid .is-red { --badge-accent:#e97963; }
.uf-player-profile-page .uf-achievement-grid .is-violet { --badge-accent:#c5a1ef; }
.uf-player-profile-page .uf-achievement-grid .is-green { --badge-accent:#79d89d; }
.uf-player-profile-page .uf-achievement-grid .is-stone { --badge-accent:#aeb8ba; }
.uf-player-profile-page .uf-achievement-grid .is-blue { --badge-accent:#73aee8; }

.uf-player-profile-page .uf-player-history-list article,
.uf-player-profile-page .uf-player-history-empty {
  background:linear-gradient(180deg,#293336,#1c2426);
  border:3px solid #090c0d;
  box-shadow:inset 0 0 0 2px #495457,4px 4px 0 rgba(0,0,0,.3);
}

.uf-player-profile-page .uf-player-history-list article.is-active {
  border-color:#0b0d0e;
  box-shadow:inset 0 0 0 2px var(--uf-profile-gold),4px 4px 0 rgba(0,0,0,.34);
}

.uf-player-history-summary {
  align-items:center;
  background:linear-gradient(180deg,#303a3d,#1d2527);
  border:3px solid #090c0d;
  box-shadow:inset 0 0 0 2px #657074,4px 4px 0 rgba(0,0,0,.3);
  display:flex;
  gap:14px;
  margin:0 0 16px;
  padding:14px 16px;
}

.uf-player-history-summary.is-frequent {
  background:linear-gradient(90deg,rgba(201,72,54,.18),transparent 62%),linear-gradient(180deg,#343335,#201f21);
  box-shadow:inset 0 0 0 2px #b85a4b,4px 4px 0 rgba(0,0,0,.34);
}

.uf-player-history-summary > .uf-mc-item {
  background:#171d1f;
  border:2px solid #090c0d;
  box-shadow:inset 0 0 0 1px #8d7b4d,2px 2px 0 rgba(0,0,0,.32);
  flex:0 0 42px;
  height:42px;
  width:42px;
}

.uf-player-history-summary > .uf-mc-item img { image-rendering:pixelated; }
.uf-player-history-summary strong { color:#fff2cf; display:block; font-family:var(--uf-font-display); }
.uf-player-history-summary.is-frequent strong { color:#ff9b82; }
.uf-player-history-summary p { color:#bcb9ae; font-size:13px; margin:3px 0 0; }

.uf-player-history-dates {
  align-items:flex-end;
  display:grid;
  gap:5px 14px;
  grid-auto-flow:column;
  text-align:right;
}

.uf-player-history-dates time { color:#e2dfd2; font-weight:700; }
.uf-player-history-dates time span { color:#9e9d94; display:block; font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.uf-player-history-active { color:#f3cf75; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }

.uf-player-profile-page .uf-player-profile-affiliation > .uf-mc-item,
.uf-player-profile-page .uf-player-history-list > article > .uf-mc-item {
  background:#171d1f;
  border:2px solid #090c0d;
  box-shadow:inset 0 0 0 1px #8d7b4d,2px 2px 0 rgba(0,0,0,.32);
}

.uf-player-profile-page .uf-player-profile-affiliation > .uf-mc-item {
  height:32px;
  padding:0;
  width:32px;
}

.uf-player-profile-page .uf-player-profile-affiliation > .uf-mc-item img {
  height:25px;
  width:25px;
}

.uf-player-faction-emblem {
  background:#171d1f;
  border:2px solid #090c0d;
  box-shadow:inset 0 0 0 1px #8d7b4d,2px 2px 0 rgba(0,0,0,.32);
  display:inline-grid;
  flex:0 0 34px;
  height:34px;
  overflow:hidden;
  padding:2px;
  place-items:center;
  width:34px;
}

.uf-player-faction-emblem img {
  display:block;
  height:100%;
  image-rendering:auto;
  object-fit:cover;
  width:100%;
}

.uf-player-profile-page .uf-player-history-list > article > .uf-mc-item img {
  image-rendering:pixelated;
}

@media (max-width:700px) {
  .uf-player-profile-page .uf-player-profile-section { padding-top:28px; }
  .uf-player-profile-page .uf-player-profile-hero { gap:24px; padding:18px; }
  .uf-player-profile-page .uf-player-profile-avatar { min-height:260px; }
  .uf-player-profile-page .uf-player-profile-avatar img { max-height:300px; }
  .uf-player-profile-page .uf-player-profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .uf-player-profile-page .uf-player-mcmmo-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .uf-player-profile-page .uf-player-profile-stats article { min-height:118px; padding:16px 14px; }
  .uf-player-profile-page .uf-player-profile-stats article > .uf-mc-item { height:34px; right:10px; top:10px; width:34px; }
  .uf-player-profile-page .uf-player-profile-stats article > .uf-mc-item img { height:27px; width:27px; }
  .uf-player-profile-page .uf-player-profile-stats strong { font-size:clamp(23px,8vw,30px); }
  .uf-player-profile-page .uf-achievement-grid { grid-template-columns:1fr; }
  .uf-player-profile-page .uf-v5-section-heading { gap:12px; }
  .uf-player-history-dates { align-items:start; grid-auto-flow:row; grid-column:2; text-align:left; }
  .uf-player-history-dates time { grid-column:auto; }
}

.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;
  }
}

/* Blog and Guides should remain one continuous Minecraft surface. */
.uf-blog-page,
.uf-v5-guides {
  min-height:100vh;
  background:
    linear-gradient(rgba(4,15,20,.88),rgba(4,15,20,.95)),
    url("../images/backgrounds/account-voxel-world-v1.webp") center top / cover fixed no-repeat;
}
.uf-blog-page .uf-v5-section,
.uf-blog-page .uf-v5-section--paper,
.uf-v5-guides .uf-v5-section,
.uf-v5-guides .uf-v5-section--paper {
  background:rgba(5,18,23,.92);
  color:var(--uf-v4-text);
}
.uf-blog-page .uf-v5-section--paper h2,
.uf-blog-page .uf-v5-section--paper p,
.uf-v5-guides .uf-v5-section--paper h2,
.uf-v5-guides .uf-v5-section--paper p {
  color:inherit;
}

/* Compact primary navigation with a proper Factions submenu. */
.uf-nav__list > .menu-item-has-children {
  position: relative;
}

.uf-nav__list > .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uf-nav__list > .menu-item-has-children > a::before {
  order: 2;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.uf-nav__list .sub-menu {
  position: absolute;
  top: calc(100% - 12px);
  left: -18px;
  z-index: 20;
  display: grid;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(98, 213, 236, 0.22);
  background: rgba(4, 15, 20, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.uf-nav__list .menu-item-has-children:hover > .sub-menu,
.uf-nav__list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.uf-nav__list .sub-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.uf-nav__list .sub-menu a::after {
  display: none;
}

.uf-nav__list .sub-menu a:hover,
.uf-nav__list .sub-menu a:focus-visible {
  background: rgba(63, 208, 238, 0.09);
  color: var(--uf-v4-cyan);
}

/* Breadcrumbs are a compact hierarchy rather than loose text under the header. */
.uf-v5-breadcrumbs {
  min-height: 0;
  padding-top: 94px;
  padding-bottom: 12px;
}

.uf-v5-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  white-space: nowrap;
}

.uf-v5-breadcrumbs ol::-webkit-scrollbar {
  display: none;
}

.uf-v5-breadcrumbs li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.uf-v5-breadcrumbs li:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.uf-v5-breadcrumbs a,
.uf-v5-breadcrumbs span[aria-current="page"] {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
}

.uf-v5-breadcrumbs span[aria-current="page"] {
  border-color: rgba(63, 208, 238, 0.2);
  color: rgba(255, 255, 255, 0.76);
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.uf-v5-breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.24);
}

/* Latest news and the real draft supporter catalog on the homepage. */
.uf-v5-latest-announcement {
  padding: 34px 0;
  border-bottom: 1px solid var(--uf-v4-line);
  background: #071318;
}

.uf-v5-latest-announcement article {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  padding: 28px 30px;
  border: 1px solid rgba(63, 208, 238, 0.2);
  background: linear-gradient(110deg, rgba(63, 208, 238, 0.08), rgba(255, 255, 255, 0.025));
}

.uf-v5-latest-announcement__meta {
  display: grid;
  gap: 9px;
}

.uf-v5-latest-announcement time,
.uf-v5-home-support article small {
  color: var(--uf-v4-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-v5-latest-announcement h2 {
  margin: 0 0 9px;
  font-size: clamp(25px, 3vw, 38px);
}

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

.uf-v5-latest-announcement__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uf-v5-home-support {
  padding-block: var(--uf-v5-page-gap);
  border-block: 1px solid var(--uf-v4-line);
  background: #08161b;
}

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

.uf-v5-home-support article {
  display: grid;
  min-height: 285px;
  align-content: space-between;
  gap: 22px;
  padding: 26px;
  background: var(--uf-v5-panel);
}

.uf-v5-home-support article > svg {
  width: 30px;
  color: var(--uf-v4-cyan);
}

.uf-v5-home-support article.is-gold > svg { color: var(--uf-v4-gold); }
.uf-v5-home-support article.is-violet > svg { color: var(--uf-v4-violet); }
.uf-v5-home-support article.is-crimson > svg { color: var(--uf-v4-crimson); }

.uf-v5-home-support h3 {
  margin: 7px 0 12px;
  font-size: 25px;
}

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

.uf-v5-home-support article > strong {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .uf-nav__list .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 1px solid rgba(63, 208, 238, 0.25);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .uf-nav__list .sub-menu a {
    padding: 9px 10px;
  }

  .uf-v5-latest-announcement article {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .uf-v5-breadcrumbs {
    min-height: 0;
    padding-top: 78px;
    padding-bottom: 8px;
  }

  .uf-v5-breadcrumbs ol {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    white-space: nowrap;
  }

  .uf-v5-breadcrumbs li {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    list-style: none;
  }

  .uf-v5-breadcrumbs a,
  .uf-v5-breadcrumbs span[aria-current="page"] {
    min-height: 26px;
    gap: 5px;
    padding: 4px 7px;
    border: 0;
    background: transparent;
    font-size: 9px;
  }

  .uf-v5-breadcrumbs span[aria-current="page"] {
    display: block;
    max-width: calc(100vw - 178px);
    border: 1px solid rgba(63, 208, 238, 0.18);
    background: rgba(63, 208, 238, 0.06);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .uf-v5-breadcrumbs__separator {
    width: 12px;
    justify-content: center;
  }

  .uf-v5-breadcrumbs__separator svg {
    width: 10px;
    height: 10px;
  }

  .uf-v5-latest-announcement article {
    gap: 20px;
    padding: 24px 20px;
  }

  .uf-v5-latest-announcement__actions .uf-button {
    width: 100%;
  }

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

  .uf-v5-home-support article {
    min-height: 220px;
  }
}
/* UF Strength and verified Lands war records. */
.uf-strength-breakdown,
.uf-season-strength-grid {
  display: grid;
  gap: 1px;
  margin: 0 0 28px;
  border: 1px solid var(--uf-v4-line);
  background: var(--uf-v4-line);
}

.uf-strength-breakdown {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-strength-breakdown > div {
  display: grid;
  gap: 7px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(63, 208, 238, .08), transparent 65%), var(--uf-v5-panel);
}

.uf-strength-breakdown span,
.uf-season-strength-grid small {
  color: var(--uf-v4-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.uf-strength-breakdown strong {
  color: var(--uf-v4-cyan);
  font-family: var(--uf-font-display);
  font-size: 1.2rem;
}

.uf-strength-breakdown > p {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 15px 20px;
  background: rgba(4, 16, 20, .96);
  color: var(--uf-v4-muted);
}

.uf-strength-breakdown > p svg {
  flex: 0 0 18px;
  color: var(--uf-v4-cyan);
}

.uf-season-strength-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.uf-season-strength-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 20px;
  background: linear-gradient(145deg, rgba(63, 208, 238, .09), transparent 65%), var(--uf-v5-panel);
  color: var(--uf-v4-text);
  text-decoration: none;
}

.uf-season-strength-grid > a > span,
.uf-season-strength-grid svg {
  color: var(--uf-v4-cyan);
}

.uf-season-strength-grid > a div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

@media (max-width: 840px) {
  .uf-strength-breakdown,
  .uf-season-strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .uf-strength-breakdown,
  .uf-season-strength-grid {
    grid-template-columns: 1fr;
  }
}

button.woocommerce-form-login__submit {
  color: #fff8df !important;
  text-shadow: 1px 1px 0 #22380d;
}

body.woocommerce-account button.woocommerce-button.button.woocommerce-form-login__submit {
  color: #fff8df !important;
  text-shadow: 1px 1px 0 #22380d;
}
