:root {
  --section-page: #2d3238;
  --section-panel: #383c42;
  --section-panel-alt: #42464d;
  --section-border: #535860;
  --section-text: #f2f3f4;
  --section-muted: #b8bdc4;
  --section-accent: #8bc34a;
  --section-rail-width: 210px;
  --section-nav-height: 94px;
}

html,
body {
  background: var(--section-page);
  color-scheme: dark;
}

.template-forum-section [data-section-chrome],
.template-directory-page [data-section-chrome] {
  display: contents;
}

.template-forum-section .p-header,
.template-directory-page .p-header {
  display: none;
}

.sectionPage {
  flex: 1 0 auto;
  min-width: 0;
  padding: 28px 20px 50px;
  background: var(--section-page);
}

.sectionPage-inner {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.sectionBreadcrumbs {
  display: flex;
  margin: 0 0 18px;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  color: var(--section-muted);
  font-size: 13px;
}

.sectionBreadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.sectionBreadcrumbs li + li::before {
  content: "›";
  margin: 0 10px;
  color: #818791;
  font-size: 18px;
}

.sectionBreadcrumbs a {
  color: var(--section-muted);
}

.sectionBreadcrumbs a:hover {
  color: #fff;
}

.sectionHeading {
  margin-bottom: 18px;
}

.sectionHeading h1 {
  margin: 0;
  color: var(--section-text);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

.sectionHeading p {
  margin: 5px 0 0;
  color: var(--section-muted);
  font-size: 13px;
}

.guestPanel {
  overflow: hidden;
  border: 1px solid var(--section-border);
  border-radius: 4px;
  background: var(--section-panel);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.guestPanel-header {
  padding: 11px 15px;
  border-bottom: 1px solid var(--section-border);
  background: var(--section-panel-alt);
  color: var(--section-text);
  font-size: 15px;
  font-weight: 600;
}

.guestPanel-body {
  display: flex;
  padding: 24px;
  align-items: flex-start;
  gap: 16px;
}

.guestPanel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(139, 195, 74, 0.13);
  color: var(--section-accent);
  font-size: 22px;
}

.guestPanel-copy h2 {
  margin: 0 0 6px;
  color: var(--section-text);
  font-size: 17px;
  font-weight: 600;
}

.guestPanel-copy p {
  margin: 0;
  color: var(--section-muted);
  font-size: 14px;
  line-height: 1.55;
}

.guestPanel-actions {
  display: flex;
  margin-top: 17px;
  gap: 9px;
  flex-wrap: wrap;
}

.guestPanel-button {
  display: inline-flex;
  min-height: 34px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #626872;
  border-radius: 3px;
  background: #4a4f57;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.guestPanel-button:hover {
  border-color: #777e88;
  background: #555b64;
  color: #fff;
}

.guestPanel-button--primary {
  border-color: #78ad3d;
  background: #78ad3d;
  color: #17200f;
}

.guestPanel-button--primary:hover {
  border-color: #8bc34a;
  background: #8bc34a;
  color: #10170a;
}

.uixForumRail {
  position: fixed;
  z-index: 80;
  top: var(--section-nav-height);
  bottom: 0;
  left: 0;
  width: var(--section-rail-width);
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  background: #292e35;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
}

.uixForumRail-nav {
  padding: 20px 0;
}

.uixForumRail-link {
  position: relative;
  display: grid;
  min-height: 40px;
  padding: 0 15px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  color: #c4c8ce;
  font-size: 13px;
  font-weight: 600;
}

.uixForumRail-link > .mdi-glyph:first-child {
  color: #aeb4bc;
  font-size: 20px;
}

.uixForumRail-link:hover {
  background: #30363f;
  color: #fff;
}

.uixForumRail-link.is-active {
  border-radius: 0 8px 8px 0;
  background: #343a45;
  box-shadow: inset 3px 0 var(--section-accent);
  color: #fff;
}

.uixForumRail-link:first-child {
  min-height: 50px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.uixForumRail-link.is-active > .mdi-glyph:first-child,
.uixForumRail-link--accent > .mdi-glyph:first-child {
  color: var(--section-accent);
}

.uixForumRail-chevron {
  color: #949aa3;
  font-size: 15px;
}

@media (min-width: 1201px) {
  .template-forum-section .sectionPage,
  .template-directory-page .sectionPage {
    margin-left: var(--section-rail-width);
  }

  .template-forum-section .p-nav-list > li:not(.p-navEl--logo):not(.p-navEl--headerAd),
  .template-directory-page .p-nav-list > li:not(.p-navEl--logo):not(.p-navEl--headerAd) {
    display: none;
  }
}

@media (max-width: 1200px) {
  .uixForumRail {
    display: none;
  }
}

@media (max-width: 650px) {
  .sectionPage {
    padding: 20px 8px 36px;
  }

  .guestPanel-body {
    padding: 18px 15px;
  }

  .guestPanel-icon {
    display: none;
  }

  .guestPanel-actions,
  .guestPanel-button {
    width: 100%;
  }
}

.rulesHero {
  position: relative;
  padding: 28px 30px 25px;
  overflow: hidden;
  border: 1px solid #4d535b;
  border-top: 3px solid var(--section-accent);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(120deg, #3c4148 0%, #32373d 72%, #30353a 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rulesHero::after {
  position: absolute;
  width: 230px;
  height: 230px;
  top: -155px;
  right: -50px;
  border: 1px solid rgba(139, 195, 74, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(139, 195, 74, 0.03), 0 0 0 70px rgba(139, 195, 74, 0.02);
  content: "";
}

.rulesHero-kicker {
  margin-bottom: 8px;
  color: var(--section-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rulesHero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.rulesHero > p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #c5cad0;
  font-size: 14px;
  line-height: 1.6;
}

.rulesHero-meta {
  display: flex;
  margin-top: 21px;
  gap: 8px;
  flex-wrap: wrap;
}

.rulesHero-meta span {
  padding: 5px 9px;
  border: 1px solid #545b64;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.16);
  color: #bfc4ca;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.rulesAlert {
  display: flex;
  padding: 13px 17px;
  gap: 12px;
  border: 1px solid #535a50;
  border-top: 0;
  background: #353b37;
  color: #c2c8c1;
  font-size: 12px;
  line-height: 1.5;
}

.rulesAlert strong {
  flex: 0 0 auto;
  color: #e8ebE7;
}

.rulesLayout {
  display: grid;
  margin-top: 20px;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.rulesIndex {
  position: sticky;
  top: calc(var(--section-nav-height) + 18px);
  overflow: hidden;
  border: 1px solid #4d535b;
  border-radius: 4px;
  background: #34393f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
}

.rulesIndex-title {
  padding: 12px 14px;
  border-bottom: 1px solid #4d535b;
  background: #40454c;
  color: #f0f1f2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rulesIndex a {
  display: grid;
  padding: 11px 13px;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #bec3c9;
  font-size: 12px;
}

.rulesIndex a:last-child { border-bottom: 0; }
.rulesIndex a span { color: #7fae48; font-size: 10px; font-weight: 800; }
.rulesIndex a:hover { background: #3b4147; color: #fff; }

.rulesDocument {
  min-width: 0;
}

.rulesSection {
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--section-nav-height) + 16px);
  overflow: hidden;
  border: 1px solid #4d535b;
  border-radius: 4px;
  background: #373c42;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.rulesSection > header {
  display: flex;
  padding: 15px 17px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #50565e;
  background: #41464d;
}

.rulesSection > header > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid #6f9148;
  border-radius: 3px;
  background: #35402f;
  color: #9acb60;
  font-size: 12px;
  font-weight: 800;
}

.rulesSection h2 {
  margin: 0;
  color: #f4f5f6;
  font-size: 16px;
  font-weight: 700;
}

.rulesSection header p {
  margin: 3px 0 0;
  color: #aeb4bb;
  font-size: 11px;
}

.rulesList {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rules var(--rule-start, 0);
}

.rulesList li {
  position: relative;
  padding: 14px 18px 14px 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  color: var(--section-muted);
  counter-increment: rules;
  line-height: 1.55;
}

.rulesList li::before {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 26px;
  content: counter(rules, decimal-leading-zero);
  color: var(--section-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rulesList li:last-child {
  border-bottom: 0;
}

.rulesList strong {
  color: var(--section-text);
}

.rulesList span {
  display: block;
  margin-top: 3px;
  color: var(--section-muted);
  font-size: 13px;
}

.rulesList strong { font-size: 13px; }

.rulesEnforcement {
  display: grid;
  margin: 2px 0 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #4d535b;
  border-radius: 4px;
  background: #353a40;
}

.rulesEnforcement > div {
  padding: 15px;
  border-right: 1px solid #4d535b;
}

.rulesEnforcement > div:last-child { border-right: 0; }
.rulesEnforcement span { display: block; margin-bottom: 7px; color: #91bd5b; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.rulesEnforcement strong { display: block; color: #eef0f1; font-size: 12px; }
.rulesEnforcement p { margin: 5px 0 0; color: #aeb4bb; font-size: 11px; line-height: 1.45; }

.rulesUpdated {
  margin: 0;
  padding: 2px 2px 18px;
  color: #9fa5ad;
  font-size: 12px;
}

@media (max-width: 820px) {
  .rulesLayout {
    grid-template-columns: 1fr;
  }

  .rulesIndex { position: static; }
  .rulesEnforcement { grid-template-columns: 1fr; }
  .rulesEnforcement > div { border-right: 0; border-bottom: 1px solid #4d535b; }
  .rulesEnforcement > div:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .rulesHero { padding: 22px 18px 20px; }
  .rulesAlert { display: block; }
  .rulesAlert strong { display: block; margin-bottom: 4px; }
  .rulesList li { padding: 13px 14px 13px 48px; }
  .rulesList li::before { left: 14px; }
}

.escrowFacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid #4d535b;border-top:0;background:#353a40}.escrowFacts>div{padding:16px 18px 18px;border-right:1px solid #4d535b}.escrowFacts>div:last-child{border-right:0}.escrowFacts span{display:block;margin-bottom:8px;color:#91bd5b;font-size:9px;font-weight:800;letter-spacing:.13em}.escrowFacts strong{display:block;color:#fff;font-size:28px;font-weight:700;line-height:1.1}.escrowFacts p{margin:8px 0 0;color:#aeb4bb;font-size:12px;line-height:1.45}.escrowContact{margin:0;padding:4px 18px 18px}.rulesSection a{color:#c6e48b}.rulesSection a:hover{color:#e5f5b8}.uixForumRail-link--verified,.p-navEl-link--verified,.offCanvasMenu-verified{color:#f3c84d;letter-spacing:.04em;font-weight:800}.uixForumRail-link--verified>.mdi-glyph:first-child,.p-navEl-link--verified>.mdi-glyph,.offCanvasMenu-verified>.mdi-glyph{color:#f6cf5a}.uixForumRail-link--verified:hover,.p-navEl-link--verified:hover,.offCanvasMenu-verified:hover{color:#ffe082}.uixForumRail-link--verified.is-active{color:#ffe082;box-shadow:inset 3px 0 #f3c84d}.uixForumRail-link--verified.is-active>.mdi-glyph:first-child{color:#f6cf5a}@media (max-width:820px){.escrowFacts{grid-template-columns:1fr}.escrowFacts>div{border-right:0;border-bottom:1px solid #4d535b}.escrowFacts>div:last-child{border-bottom:0}}
