/* ============================================================
   Gold Coast Role Play | Forum - recreation of the "fury" XF2 theme
   ============================================================ */
/* ============================================================
   Gold Coast Role Play | Forum - "Gold Coast 2026" theme
   (magenta + neon-lime, matched to the main marketing site)
   ============================================================ */
:root {
  --bg: #f4f1f4;
  --content: #ffffff;
  --content-hover: #faf6fa;
  --border: #ece6ec;
  --text: #14101a;
  --text-muted: #5c5566;
  --text-dim: #8b8394;
  --nav-text: #14101a;
  --purple: #d226c6;
  --purple-dark: #0b0b0b;
  --purple-ind: #d226c6;
  --teal: #d226c6;
  --link: #b0169f;
  --cta-bg: #d4ff4a;
  --cta-text: #0b0b0b;
  --pink: #d4ff4a;
  --pink-alt: #ff2d9b;
  --footer-bg: #0b0b0b;
  --radius: 16px;
  --magenta: #d226c6;
  --magenta-deep: #9a0f8c;
  --hot-pink: #ff2d9b;
  --lime: #d4ff4a;
  --lime-soft: #e4ff85;
  --ink: #0b0b0b;
  --font: 'Lato', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.pageWidth { max-width: 1200px; margin: 0 auto; padding: 0 10px; }

/* ================= page wrapper ================= */
.p-pageWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
}

/* ================= nav ================= */
.p-navSticky { position: sticky; top: 0; z-index: 100; }
.p-nav {
  color: var(--nav-text);
  background: #fff;
  box-shadow: 0 0 8px 3px rgba(0, 0, 0, .05);
  /* Dropdown menus (account, forums, search) hang below the bar. Clipping here
     made them invisible and unclickable, so the Log out entry could never be used. */
  overflow: visible;
}
.p-nav a { color: inherit; }
.p-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.p-nav-menuTrigger {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-size: 24px;
  padding: 30px 8px;
  margin: 0 5px 0 4px;
  cursor: pointer;
}

.p-nav-smallLogo { display: none; }

/* logo + purple diagonal accent */
.p-header-logo {
  position: relative;
  padding: 17px 0;
  margin-left: 10px;
  margin-right: 50px;
  color: var(--nav-text);
  background: #fff;
}
.p-header-logo--before {
  content: "";
  position: absolute;
  top: 0;
  right: -25px;
  bottom: 0;
  width: 2000%;
  height: 100%;
  background-color: var(--purple);
  background-image: linear-gradient(90deg, var(--purple-dark) 0%, var(--purple) 100%);
  transform: skew(-30deg);
  z-index: 1;
}
.p-header-logo a { position: relative; z-index: 2; display: inline-block; }
.p-header-logo--image img { vertical-align: bottom; max-height: 60px; }

/* nav list */
.p-nav-scroller { margin-right: auto; max-width: 100%; min-width: 0; position: relative; z-index: 3; }
.p-nav-list { list-style: none; display: flex; }
.p-nav-list .p-navEl {
  position: relative;
  font-size: 13px;
  color: var(--nav-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: all .25s ease;
}
.p-nav-list .p-navEl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 30px 15px;
  color: inherit;
}
.p-nav-list .p-navEl:hover { color: var(--teal); text-decoration: none; }
.p-nav-list .p-navEl.is-selected {
  color: var(--purple-ind);
  box-shadow: inset 0 -3px 0 0 var(--purple-ind);
  font-weight: 700;
}

/* dropdown menus */
.menuTrigger::after {
  content: "\25BC";
  font-size: 60%;
  margin-left: 5px;
  opacity: .6;
}
.has-dropdown { position: relative; }
.menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  z-index: 500;
  padding: 10px;
  display: none;
}
.has-dropdown:hover .menu, .has-dropdown:focus-within .menu { display: block; }
/* The search panel is wider than its trigger and sits at the far right of the
   bar, so anchor it right — left-anchored it ran off the end of the viewport. */
.menu--wide { left: auto; right: 0; }
.menu a.menu-linkRow, .menu .menu-linkRow {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 6px;
}
.menu a.menu-linkRow:hover { background: var(--content-hover); text-decoration: none; }
.menu-header {
  font-size: 16px;
  color: var(--text);
  background: var(--content-hover);
  border-radius: 8px;
  padding: 6px 15px;
  margin-bottom: 6px;
  font-weight: 400;
}
.menu-footer { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }

/* right side account/discovery */
.p-nav-opposite { margin-left: auto; display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 3; }
.p-navgroup { display: flex; align-items: center; }
.p-navgroup-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 27px 10px;
  color: var(--nav-text);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}
.p-navgroup-link:hover { text-decoration: none; color: var(--teal); }
.p-navgroup-link--register { color: var(--nav-text); }
.p-navgroup-link .nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.p-navgroup-linkText { display: inline; }

.user-menu { position: relative; }
.user-menu .avatar { margin-right: 8px; }

/* always-visible log out button in the top bar */
.nav-logout { display: flex; align-items: center; margin-left: 4px; }
.nav-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  /* inherit so the button follows the bar: dark text on the light theme,
     white text on the black theme */
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav-logout-btn:hover { color: var(--teal); background: rgba(125, 125, 125, .16); }
.nav-logout-btn .nav-icon { width: 15px; height: 15px; flex-shrink: 0; }
.link-button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 13.5px;
  cursor: pointer;
  padding: 8px 12px;
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.link-button:hover { background: var(--content-hover); border-radius: 6px; }

/* ================= guest welcome banner ================= */
.p-guest--message {
  color: #fff;
  background: var(--footer-bg) url('/img/headerbg-grand.jpg') no-repeat;
  background-size: cover;
  padding: 4em 0;
  position: relative;
  text-align: left;
}
.p-guest--message--container { position: relative; z-index: 4; }
.p-guest--message--inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 10px; }
.p-guest--message--inner > p { max-width: 500px; margin-bottom: 1.2em; }
.p-guest--message h1 { font-size: 2.8em; margin: 0 0 .3em; font-weight: 600; }

/* announcements */
.announcements-block { margin-bottom: 18px; }
.announcement-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.announcement-item:last-child { border-bottom: none; }
.announcement-icon { font-size: 18px; flex-shrink: 0; }
.announcement-body { display: flex; flex-direction: column; gap: 2px; }
.announcement-title { font-weight: 700; font-size: 14.5px; color: var(--text); }
.announcement-content { font-size: 13.5px; color: var(--text-muted); }

/* ================= section links bar ================= */
.p-body-nav { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.p-sectionLinks {
  font-size: 15px;
  color: var(--nav-text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.p-sectionLinks-inner { max-width: 1200px; margin: 0 auto; }
.p-sectionLinks-list { list-style: none; display: flex; }
.p-sectionLinks-list a { color: inherit; padding: 10px 14px; display: inline-block; }
.p-sectionLinks-list a:hover { color: var(--teal); text-decoration: none; }
.p-sectionLinks-list .is-selected a { color: var(--purple-ind); }
.p-body-nav .p-title-pageAction { flex-shrink: 0; }

/* ================= body layout ================= */
.p-body { flex-grow: 1; }
.p-body-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
}
.p-body-main--withSidebar { display: flex; gap: 20px; align-items: flex-start; }
.p-body-content { flex: 1; min-width: 0; }
.p-body-sidebar { flex: 0 0 auto; width: 280px; position: sticky; top: 85px; }
.p-body-main--narrow { max-width: 640px; }

/* breadcrumbs */
.p-breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 15px;
}
.p-breadcrumbs li { display: flex; align-items: center; }
.p-breadcrumbs li:not(:last-child)::after { content: "\203A"; margin: 0 8px; color: var(--text-dim); }
.p-breadcrumbs a { color: var(--text-dim); }
.p-breadcrumbs a:hover { color: var(--link); }

/* page title */
.p-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.p-title-value {
  font-size: 24px;
  font-weight: 500;
  margin-right: auto;
  color: var(--text);
  line-height: 1.3;
}
.p-title-pageAction { margin-left: auto; }

/* ================= blocks ================= */
.block { margin-bottom: 20px; }
.block-container {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.block.block--category .block-container { background: none; border: none; }
.block-header {
  font-size: 17px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.block--category .block-header {
  font-size: 24px;
  color: var(--nav-text);
  font-weight: 700;
  background: var(--bg);
  margin-bottom: 10px;
  border-bottom: none;
  padding: 0;
}
.block--category .block-header a { color: var(--nav-text); }
.block--category .block-header a:hover { color: var(--purple-ind); }
.block--category .block-body {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.block-body { border-radius: inherit; }
.block-footer {
  border-top: 1px solid var(--border);
  background: var(--content-hover);
  padding: 10px 14px;
}

/* ================= buttons (yellow, pill) ================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .125s ease, border-color .125s ease, color .125s ease;
  font-size: 12px;
  border-radius: 16px;
  padding: 10px 18px 8px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: none;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
  color: var(--cta-text);
  background: var(--cta-bg);
  font-family: var(--font);
}
.button:hover { background: #eeb611; color: var(--cta-text); text-decoration: none; }
.button--link {
  background: #fff;
  color: var(--nav-text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.button--link:hover { background: #fff; color: var(--purple-ind); }
.button--primary { min-width: 80px; }
.button--small { padding: 6px 12px 5px; }

/* ================= avatars ================= */
.avatar {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 51px;
  vertical-align: top;
  overflow: hidden;
  width: 48px;
  height: 48px;
  background: #e9edf3;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  flex-shrink: 0;
}
.avatar--xxs { width: 20px; height: 20px; font-size: 10px; }
.avatar--xs { width: 28px; height: 28px; font-size: 12px; }
.avatar--s { width: 36px; height: 36px; font-size: 15px; }
.avatar--m { width: 96px; height: 96px; font-size: 40px; }

/* ================= node list (forum index) ================= */
.node + .node { border-top: 1px solid var(--border); }
.node-body { display: table; table-layout: fixed; width: 100%; }

.node-icon {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 46px;
  padding: 15px 0 15px 15px;
  font-size: 24px;
  color: var(--text-dim);
}
.node--unread .node-icon { color: var(--purple-ind); }

.node-main { display: table-cell; vertical-align: middle; padding: 15px; }
.node-title { margin: 0; padding: 0; font-size: 17px; font-weight: 400; }
.node-title a { color: var(--link); }
.node-title a:hover { color: var(--purple-ind); }
.node--unread .node-title { font-weight: 700; }
.node-description { display: none; }
.node-meta { font-size: 13px; }
.node-statsMeta { display: none; }
.node-statsMeta dl { display: inline; margin-right: 12px; }
.node-statsMeta dt { color: var(--text-dim); }
.node-statsMeta dt::after { content: ":"; }

.node--newIndicator {
  font-size: 11px;
  color: #fff;
  background: var(--pink-alt);
  border-radius: 4px;
  padding: 3px 6px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: 2px;
}

.node-stats {
  display: table-cell;
  width: 140px;
  vertical-align: middle;
  text-align: center;
  padding: 15px 0;
}
.node-stats > dl.pairs--rows {
  width: 50%;
  float: left;
  margin: 0;
  padding: 0 3px;
}
.node-stats > dl.pairs--rows:first-child { padding-left: 0; border-right: 1px solid var(--border); }
.node-stats > dl.pairs--rows:last-child { padding-right: 0; }

.node-extra {
  display: table-cell;
  vertical-align: middle;
  width: 280px;
  padding: 15px;
  font-size: 13px;
}
.node-extra-row {
  overflow: hidden;
  white-space: nowrap;
  word-wrap: normal;
  text-overflow: ellipsis;
  color: var(--text-dim);
}
.node-extra-title { color: var(--text); }
.node-extra-icon { padding-top: 5px; padding-right: 10px; float: left; }
.node-extra-icon .avatar { width: 28px; height: 28px; font-size: 12px; }
.node-extra-date, .node-extra-user a { color: var(--text-dim); }
.node-extra-user a:hover { color: var(--link); }
.node-extra .listInline { list-style: none; }
.node-extra .listInline li { display: inline; }
.node-extra .listInline--bullet li:not(:first-child)::before { content: "\2022"; margin: 0 6px; color: var(--text-dim); }

/* sub-forums dropdown */
.node-subNodeMenu { display: inline-block; position: relative; }
.node-subNodeMenu .menuTrigger { color: var(--text-dim); cursor: pointer; font-size: 13px; }
.node-subNodeMenu .menuTrigger:hover { color: var(--purple-ind); }
.node-subNodeMenu .menuTrigger .caret { font-size: 9px; margin-left: 4px; }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 600;
  min-width: 260px;
  max-height: 420px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  padding: 10px;
}
.sub-menu.open { display: block; }
.subNodeMenu { list-style: none; margin: 0; padding: 0; }
.subNodeMenu ol, .subNodeMenu ul { list-style: none; margin: 0; padding: 0; }
.subNodeMenu .subNodeLink {
  display: block;
  padding: 6px 10px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-size: 13.5px;
}
.subNodeMenu .subNodeLink:hover {
  color: var(--nav-text);
  text-decoration: none;
  background: var(--content-hover);
  border-radius: 16px;
}
.subNodeMenu li li .subNodeLink { padding-left: 1.5em; }
.subNodeMenu li li li .subNodeLink { padding-left: 3em; }
.subNodeMenu li li li li .subNodeLink { padding-left: 4.5em; }
.subNodeMenu li li li li li .subNodeLink { padding-left: 6em; }

/* pairs */
.pairs { display: flex; justify-content: space-between; gap: 8px; }
.pairs dt { color: var(--text-dim); }
.pairs dt::after { content: ":"; }
.pairs dd { margin: 0; color: var(--text); }
.pairs--inline { display: inline; }
.pairs--inline > dt, .pairs--inline > dd { display: inline; margin-right: 10px; }
.pairs--rows { display: inline-table; margin-right: 6px; }
.pairs--rows > dd { display: table-row; font-size: 17px; font-weight: 600; }
.pairs--rows > dt { display: table-row; font-size: 80%; }
.pairs--rows > dt::after { content: ""; }
.pairs--rows:last-of-type { margin-right: 0; }

/* labels (thread prefixes) */
.label {
  display: inline-block;
  padding: 1px .35em;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 80%;
  line-height: 1.26;
  text-decoration: none;
  margin-right: 4px;
  vertical-align: 1px;
}
.label--skyBlue { color: #fff; background: #7cc3e0; border-color: #53b0d6; }
.label--red { color: #fff; background: #e20000; border-color: #af0000; }
.label--green { color: #fff; background: #008000; border-color: #004d00; }
.label--lightGreen { color: #000; background: #ccf9c8; border-color: #a1f49a; }
.label--royalBlue { color: #fff; background: #4169e1; border-color: #214cce; }
.label--gray { color: #fff; background: #808080; border-color: #676767; }
.label--orange { color: #fff; background: #f60; border-color: #c24e00; }
.label--purple { color: #fff; background: #4a3c8f; border-color: #372d6b; }
.label-append { margin-right: 0; }

/* usernames (admin/mod styles) */
.username--style4 { color: #e15f27; font-weight: bold; }
.username--style6 { color: #41ae28; font-weight: bold; }
.username--style9 { color: #214cce; font-weight: bold; }
.username--style13 { color: #b000ff; font-weight: bold; }

/* forum statistics */
.forum-stats .pairs--inline { padding: 14px; display: block; }

/* ================= thread list (forum view) ================= */
.structItemContainer-group .structItem-cell.structItem-cell--meta { width: 80px; text-align: center; }
.structItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.structItem:last-child { border-bottom: none; }
.structItem:hover { background: var(--content-hover); }
.structItem-cell--icon { flex-shrink: 0; }
.structItem-cell--icon .avatar { width: 36px; height: 36px; font-size: 15px; }
.structItem-cell--main { flex: 1; min-width: 0; }
.structItem-title { font-size: 15px; }
.structItem-title a { color: var(--link); }
.structItem-minor {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}
.structItem-minor a { color: var(--text-dim); }
.structItem-cell--meta { width: 90px; text-align: center; flex-shrink: 0; font-size: 13px; }
.structItem-cell--meta dd { color: var(--text); }
.structItem-cell--meta dt { color: var(--text-dim); font-size: 12px; }
.structItem-cell--latest { width: 200px; flex-shrink: 0; text-align: right; font-size: 13px; color: var(--text-dim); }
.structItem-cell--latest a { color: var(--text-dim); }
.structItem-cell--latest a:hover { color: var(--link); }

.empty-state { padding: 28px 14px; text-align: center; color: var(--text-dim); }

/* pagination */
.pageNav { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-muted); }
.pageNav-buttons { display: flex; gap: 5px; flex-wrap: wrap; }
.pageNav-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
}
.pageNav-page:hover { text-decoration: none; color: var(--purple-ind); border-color: var(--purple-ind); }
.pageNav-page.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* subforums bar */
.subforums-body { padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.subforum-label { color: var(--text-dim); font-size: 13px; }
.subforum-chip {
  font-size: 13px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 16px;
}
.subforum-chip:hover { color: var(--purple-ind); border-color: var(--purple-ind); text-decoration: none; }
.forum-description .block-body { padding: 12px 14px; color: var(--text-muted); }

/* ================= thread view ================= */
.thread-tools { margin-bottom: 15px; display: flex; gap: 8px; }

.message-list .block-body { background: #fff; }
.message {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.message:last-child { border-bottom: none; }
.message-user {
  width: 170px;
  flex-shrink: 0;
  padding: 15px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--content-hover);
}
.message-avatar { margin-bottom: 8px; }
.message-avatar .avatar { width: 72px; height: 72px; font-size: 28px; }
.message-name a { font-size: 14px; font-weight: 600; color: var(--link); }
.message-title { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.message-cell { flex: 1; min-width: 0; padding: 14px 16px; }
.message-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.message-meta { font-size: 13px; color: var(--text-dim); }
.message-number { color: var(--text-dim); font-weight: 600; }
.message-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-bottom: 12px;
}
.message-actions { display: flex; gap: 16px; font-size: 13px; }
.actionBar-item { color: var(--text-muted); cursor: pointer; }
.actionBar-item:hover { color: var(--purple-ind); text-decoration: none; }

/* reply */
.reply-block .block-body { padding: 14px; background: #fff; }
.reply-block textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 10px;
  font-size: 15px;
  font-family: var(--font);
  resize: vertical;
  margin-bottom: 10px;
}
.reply-block textarea:focus { outline: none; border-color: var(--link); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.login-prompt { color: var(--text-muted); }

/* ================= forms ================= */
.form-block .block-body { padding: 18px; }
.form-row { display: flex; margin-bottom: 16px; gap: 16px; }
.form-row dt { width: 160px; flex-shrink: 0; padding-top: 9px; color: var(--text); font-size: 14px; }
.form-row dd { flex: 1; }
.form-row input[type="text"], .form-row input[type="password"], .form-row input[type="email"],
.form-row select, .form-row textarea, .form-row input[type="search"] {
  width: 100%;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  font-family: var(--font);
}
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--link); }
.form-error {
  background: #fdeeee;
  border: 1px solid #f0b9b9;
  color: #a11c1c;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}
.form-hint { margin-top: 16px; color: var(--text-muted); font-size: 13px; }
.form-hint code { background: #eef1f6; padding: 1px 6px; border-radius: 3px; color: var(--text); }

/* ================= sidebar widgets ================= */
.block-minorHeader {
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
  padding: 12px 14px;
}
.block-minorHeader h3 { font-size: inherit; font-weight: inherit; margin: 0; }
.widget .block-minorHeader { border-bottom: 1px solid var(--border); }
.widget-online-body { padding: 12px 14px; background: #fff; }
.online-avatars { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.online-avatars .avatar { width: 28px; height: 28px; font-size: 12px; }
.online-more { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.online-total { font-size: 13px; color: var(--text); }
.widget-stats-body { padding: 12px 14px; background: #fff; }
.widget-stats-body .pairs { display: flex; justify-content: space-between; padding: 3px 0; font-size: 13.5px; }
.widget-stats-body .pairs dt { color: var(--text-dim); font-weight: 400; }
.widget-stats-body .pairs dd { color: var(--text); font-weight: 400; }
.online-note { font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.latest-posts-list { list-style: none; }
.latest-post-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  background: #fff;
}
.latest-post-item:last-child { border-bottom: none; }
.latest-post-avatar .avatar { width: 30px; height: 30px; font-size: 13px; }
.latest-post-body { flex: 1; min-width: 0; }
.latest-post-title {
  display: block;
  font-size: 13.5px;
  color: var(--link);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.latest-post-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.latest-post-meta a { color: var(--text-dim); }
.latest-post-forum {
  display: inline-block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: #eef1f6;
  padding: 1px 8px;
  border-radius: 10px;
}
.latest-post-forum:hover { text-decoration: none; color: var(--purple-ind); }

.share-links { padding: 12px 14px; display: flex; gap: 8px; flex-wrap: wrap; background: #fff; }
.share-tw, .share-fb, .share-reddit {
  font-size: 12px;
  color: #fff;
  padding: 5px 12px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.share-tw { background: #1da1f2; }
.share-fb { background: #4267b2; }
.share-reddit { background: #ff4500; }
.share-tw:hover, .share-fb:hover, .share-reddit:hover { text-decoration: none; opacity: .9; color: #fff; }

/* ================= search ================= */
.search-form { display: flex; gap: 8px; align-items: center; background: #fff; }
.search-form input[type="search"] {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--link); }
.search-form-wrap { padding: 14px; }
.search-form--big input[type="search"] { max-width: 100%; }

/* ================= members ================= */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  padding: 14px;
}
.member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.member-card-name { display: block; font-weight: 600; color: var(--link); }
.member-card-meta { font-size: 12px; color: var(--text-dim); }

/* ================= profile ================= */
.profile-body { display: flex; gap: 16px; align-items: center; padding: 18px; background: #fff; }
.profile-avatar .avatar { width: 96px; height: 96px; font-size: 38px; }
.profile-name { font-size: 22px; font-weight: 600; color: var(--text); }
.profile-meta { color: var(--text-muted); margin-top: 4px; }
.profile-posts { list-style: none; }
.profile-post-item { padding: 12px 14px; border-bottom: 1px solid var(--border); background: #fff; }
.profile-post-item:last-child { border-bottom: none; }
.profile-post-title { font-weight: 600; color: var(--link); }
.profile-post-meta { font-size: 12px; color: var(--text-dim); }
.profile-post-excerpt { color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

/* ================= error page ================= */
.error-page { padding: 40px 20px; text-align: center; background: #fff; }
.error-page h1 { font-size: 24px; margin-bottom: 10px; color: var(--text); font-weight: 500; }
.error-page p { color: var(--text-muted); margin-bottom: 20px; }

/* ================= footer ================= */
.p-footer {
  font-size: 13px;
  color: var(--text-dim);
  background: var(--footer-bg);
}
.p-footer a { color: #fff; }
.p-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.p-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.p-footer-row-main { }
.p-footer-row-opposite { text-align: right; }
.p-footer-linkList { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.p-footer-linkList a { padding: 2px 4px; }
.p-footer-linkList a:hover { text-decoration: underline; }
.p-footer-copyright { margin-top: 10px; line-height: 1.6; }
.p-footer-copyright a { color: #fff; }

/* ================= responsive ================= */
@media (max-width: 1000px) {
  .node-stats { display: none; }
  .node-statsMeta { display: block; margin-top: 4px; }
}
@media (max-width: 900px) {
  .p-body-main--withSidebar { flex-direction: column; }
  .p-body-sidebar { width: 100%; position: static; }
}
@media (max-width: 650px) {
  .p-nav {
    background-color: var(--purple-dark);
    background-image: linear-gradient(90deg, var(--purple-dark) 0%, var(--purple) 100%);
    color: #fff;
  }
  .p-header-logo--before { display: none; }
  .p-header-logo { background: transparent; }
  .p-nav-menuTrigger { display: block; }
  .p-nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--border); z-index: 300; }
  .p-nav-list.open { display: flex; }
  .p-nav-list .p-navEl { color: var(--text); }
  .p-nav-list .p-navEl-link { padding: 12px 15px; }
  .p-nav-list .p-navEl.is-selected { box-shadow: inset 3px 0 0 0 var(--purple-ind); }
  .p-navgroup-link { padding: 15px 8px; }
  /* The collapsed nav list is absolutely positioned, so it must not be
     measured against the zero-width scroller wrapper. */
  .p-nav-scroller { position: static; }
  .nav-logout-btn { padding: 8px 11px; font-size: 11px; letter-spacing: .08em; gap: 5px; }
  .menu { position: static; box-shadow: none; border: none; }
  .node-extra { display: none; }
  .p-title { flex-direction: column; align-items: flex-start; }
  .form-row { flex-direction: column; gap: 6px; }
  .form-row dt { width: auto; padding-top: 0; }
  .message-user { width: 90px; }
  .message-avatar .avatar { width: 44px; height: 44px; font-size: 18px; }
  .structItem-cell--meta { display: none; }
  .p-guest--message h1 { font-size: 2em; }
}

/* ================= fury entrance animations ================= */
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{transform:translateY(30px);opacity:0}to{transform:translateY(0px);opacity:1}}
@keyframes scootLeft{from{transform:translateX(30px);opacity:0}to{transform:translateX(0px);opacity:1}}
@keyframes pulse{0%{transform:scale(1)}15%{transform:scale(1.3)}30%{transform:scale(1)}45%{transform:scale(1.3)}60%{transform:scale(1)}}
.p-body-header,.p-body-nav{animation:fade .15s ease;animation-delay:.45s;animation-fill-mode:backwards}
.p-body-sideNavContent{animation:fade .15s ease;animation-delay:.15s;animation-fill-mode:backwards}
.announcements-block{animation:fade .15s ease;animation-delay:.3s;animation-fill-mode:backwards}
.guest-notice{animation:fade .15s ease;animation-delay:.3s;animation-fill-mode:backwards}
.p-footer{animation:fade .15s ease;animation-delay:.6s;animation-fill-mode:backwards}
.node--newIndicator{animation:pulse 2s infinite linear}
.block--category:nth-child(1){animation:slideUp .4s ease;animation-delay:0.45s;animation-fill-mode:backwards}
.block--category:nth-child(2){animation:slideUp .4s ease;animation-delay:0.60s;animation-fill-mode:backwards}
.block--category:nth-child(3){animation:slideUp .4s ease;animation-delay:0.75s;animation-fill-mode:backwards}
.block--category:nth-child(4){animation:slideUp .4s ease;animation-delay:0.90s;animation-fill-mode:backwards}
.block--category:nth-child(5){animation:slideUp .4s ease;animation-delay:1.05s;animation-fill-mode:backwards}
.block--category:nth-child(6){animation:slideUp .4s ease;animation-delay:1.20s;animation-fill-mode:backwards}
.block--category:nth-child(7){animation:slideUp .4s ease;animation-delay:1.35s;animation-fill-mode:backwards}
.block--category:nth-child(8){animation:slideUp .4s ease;animation-delay:1.50s;animation-fill-mode:backwards}
.block--category:nth-child(9){animation:slideUp .4s ease;animation-delay:1.65s;animation-fill-mode:backwards}
.block--category:nth-child(10){animation:slideUp .4s ease;animation-delay:1.80s;animation-fill-mode:backwards}
.block--category:nth-child(11){animation:slideUp .4s ease;animation-delay:1.95s;animation-fill-mode:backwards}
.block--category:nth-child(12){animation:slideUp .4s ease;animation-delay:2.10s;animation-fill-mode:backwards}
.block--category:nth-child(13){animation:slideUp .4s ease;animation-delay:2.25s;animation-fill-mode:backwards}
.block--category:nth-child(14){animation:slideUp .4s ease;animation-delay:2.40s;animation-fill-mode:backwards}
.block--category:nth-child(15){animation:slideUp .4s ease;animation-delay:2.55s;animation-fill-mode:backwards}
.block--category:nth-child(16){animation:slideUp .4s ease;animation-delay:2.70s;animation-fill-mode:backwards}
.block--category:nth-child(17){animation:slideUp .4s ease;animation-delay:2.85s;animation-fill-mode:backwards}
.block--category:nth-child(18){animation:slideUp .4s ease;animation-delay:3.00s;animation-fill-mode:backwards}
.block--category:nth-child(19){animation:slideUp .4s ease;animation-delay:3.15s;animation-fill-mode:backwards}
.block--category:nth-child(20){animation:slideUp .4s ease;animation-delay:3.30s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(1){animation:slideUp .4s ease;animation-delay:0.45s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(2){animation:slideUp .4s ease;animation-delay:0.60s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(3){animation:slideUp .4s ease;animation-delay:0.75s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(4){animation:slideUp .4s ease;animation-delay:0.90s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(5){animation:slideUp .4s ease;animation-delay:1.05s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(6){animation:slideUp .4s ease;animation-delay:1.20s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(7){animation:slideUp .4s ease;animation-delay:1.35s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(8){animation:slideUp .4s ease;animation-delay:1.50s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(9){animation:slideUp .4s ease;animation-delay:1.65s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(10){animation:slideUp .4s ease;animation-delay:1.80s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(11){animation:slideUp .4s ease;animation-delay:1.95s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(12){animation:slideUp .4s ease;animation-delay:2.10s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(13){animation:slideUp .4s ease;animation-delay:2.25s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(14){animation:slideUp .4s ease;animation-delay:2.40s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(15){animation:slideUp .4s ease;animation-delay:2.55s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(16){animation:slideUp .4s ease;animation-delay:2.70s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(17){animation:slideUp .4s ease;animation-delay:2.85s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(18){animation:slideUp .4s ease;animation-delay:3.00s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(19){animation:slideUp .4s ease;animation-delay:3.15s;animation-fill-mode:backwards}
.block-body > .structItem:nth-child(20){animation:slideUp .4s ease;animation-delay:3.30s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(1){animation:slideUp .4s ease;animation-delay:0.45s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(2){animation:slideUp .4s ease;animation-delay:0.60s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(3){animation:slideUp .4s ease;animation-delay:0.75s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(4){animation:slideUp .4s ease;animation-delay:0.90s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(5){animation:slideUp .4s ease;animation-delay:1.05s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(6){animation:slideUp .4s ease;animation-delay:1.20s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(7){animation:slideUp .4s ease;animation-delay:1.35s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(8){animation:slideUp .4s ease;animation-delay:1.50s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(9){animation:slideUp .4s ease;animation-delay:1.65s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(10){animation:slideUp .4s ease;animation-delay:1.80s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(11){animation:slideUp .4s ease;animation-delay:1.95s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(12){animation:slideUp .4s ease;animation-delay:2.10s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(13){animation:slideUp .4s ease;animation-delay:2.25s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(14){animation:slideUp .4s ease;animation-delay:2.40s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(15){animation:slideUp .4s ease;animation-delay:2.55s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(16){animation:slideUp .4s ease;animation-delay:2.70s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(17){animation:slideUp .4s ease;animation-delay:2.85s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(18){animation:slideUp .4s ease;animation-delay:3.00s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(19){animation:slideUp .4s ease;animation-delay:3.15s;animation-fill-mode:backwards}
.message-list .block-body > .message:nth-child(20){animation:slideUp .4s ease;animation-delay:3.30s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(1){animation:scootLeft .5s ease;animation-delay:0.55s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(2){animation:scootLeft .5s ease;animation-delay:0.65s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(3){animation:scootLeft .5s ease;animation-delay:0.75s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(4){animation:scootLeft .5s ease;animation-delay:0.85s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(5){animation:scootLeft .5s ease;animation-delay:0.95s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(6){animation:scootLeft .5s ease;animation-delay:1.05s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(7){animation:scootLeft .5s ease;animation-delay:1.15s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(8){animation:scootLeft .5s ease;animation-delay:1.25s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(9){animation:scootLeft .5s ease;animation-delay:1.35s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(10){animation:scootLeft .5s ease;animation-delay:1.45s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(11){animation:scootLeft .5s ease;animation-delay:1.55s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(12){animation:scootLeft .5s ease;animation-delay:1.65s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(13){animation:scootLeft .5s ease;animation-delay:1.75s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(14){animation:scootLeft .5s ease;animation-delay:1.85s;animation-fill-mode:backwards}
.p-body-sidebar .block:nth-child(15){animation:scootLeft .5s ease;animation-delay:1.95s;animation-fill-mode:backwards}

/* =====================================================================
   GOLD COAST 2026 THEME OVERRIDES
   Magenta surround + neon-lime accents, to match the main website.
   ===================================================================== */

/* ---------- page canvas: magenta surround, light content column ---------- */
body {
  background: radial-gradient(circle at 50% -10%, #ff3ad6 0%, #d226c6 42%, #8f0f86 100%) fixed;
}
.p-pageWrapper {
  max-width: 1300px;
  min-height: calc(100vh - 42px);
  margin: 16px auto 26px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 30px 90px rgba(48, 0, 52, .45);
}
@media (max-width: 1340px) {
  .p-pageWrapper { margin: 12px; border-radius: 20px; }
}

/* ---------- top nav: black bar ---------- */
.p-nav {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  border-radius: 24px 24px 0 0;
}
@media (max-width: 1340px) { .p-nav { border-radius: 20px 20px 0 0; } }
.p-nav-list .p-navEl { color: rgba(255, 255, 255, .8); font-weight: 800; font-size: 12px; letter-spacing: .14em; }
.p-nav-list .p-navEl:hover { color: var(--lime); }
.p-nav-list .p-navEl.is-selected { color: #fff; box-shadow: inset 0 -3px 0 0 var(--lime); }

/* menu centred in the bar, like the main site nav */
@media (min-width: 651px) {
  .p-nav-inner { max-width: 1300px; }
  .p-header-logo { flex: 1 1 0; margin-right: 0; }
  .p-nav-scroller { flex: 0 0 auto; display: flex; justify-content: center; margin-right: 0; }
  .p-nav-list { justify-content: center; }
  .p-nav-opposite { flex: 1 1 0; justify-content: flex-end; margin-left: 0; }
  .p-nav-list .p-navEl-link { padding: 24px 15px; }
}
@media (min-width: 651px) and (max-width: 1040px) {
  .p-nav-list .p-navEl { font-size: 11px; letter-spacing: .08em; }
  .p-nav-list .p-navEl-link { padding: 22px 8px; }
  .p-navgroup-linkText { display: none; }
}

.p-navgroup-link { color: rgba(255, 255, 255, .8); font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.p-navgroup-link:hover { color: var(--lime); }
/* log out pill on the black bar */
.nav-logout-btn { color: rgba(255, 255, 255, .85); }
.nav-logout-btn:hover { color: var(--lime); background: rgba(255, 255, 255, .1); }
.p-nav-menuTrigger { color: #fff; }
.p-header-logo { background: transparent; color: #fff; }
/* pink skewed strip behind the logo removed */
.p-header-logo--before { display: none; }

/* brand lockup: GC mark + "GoldCoast RP" wordmark (to its right) */
.p-header-logo a.p-header-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.p-header-brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}
.p-header-brand-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 650px) { .p-header-brand-name { display: none; } }

/* Register becomes a neon-lime pill (mirrors "Join Server") */
.p-navgroup a.p-navgroup-link--register {
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  margin-left: 12px;
  padding: 12px 16px 12px 12px;
  font-weight: 800;
}
.p-navgroup a.p-navgroup-link--register:hover { background: var(--lime-soft); color: var(--ink); }
/* circular badge inside the CTA, mirroring the "Join Server" button */
.p-navgroup-link--register .nav-icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  background: var(--ink);
  border-radius: 50%;
  stroke: var(--lime);
}

/* dropdowns */
.menu { border-radius: 16px; border-color: var(--border); box-shadow: 0 20px 50px rgba(40, 0, 40, .25); }

/* ---------- guest welcome banner ---------- */
.p-guest--message {
  background:
    linear-gradient(115deg, rgba(210, 38, 198, .88) 0%, rgba(60, 5, 60, .72) 58%, rgba(11, 11, 11, .85) 100%),
    url('/img/headerbg-grand.jpg') center/cover no-repeat;
}
.p-guest--message h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .95;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

/* ---------- section links bar ---------- */
.p-sectionLinks {
  border-radius: 999px;
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(40, 0, 40, .06);
}
.p-sectionLinks-list a { font-weight: 700; }
.p-sectionLinks-list .is-selected a { color: var(--magenta); }

/* ---------- buttons: neon-lime pills ---------- */
.button {
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: none;
}
.button:hover { background: var(--lime-soft); color: var(--ink); }
.button--link { background: transparent; border: 1.5px solid rgba(11, 11, 11, .18); color: var(--ink); }
.button--link:hover { background: rgba(11, 11, 11, .05); color: var(--ink); }
.button--primary { background: var(--magenta); color: #fff; }
.button--primary:hover { background: var(--magenta-deep); color: #fff; }

/* ---------- titles & headings: heavy uppercase ---------- */
.p-title-value { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.block--category .block-header { font-size: 26px; }
.block--category .block-header a {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  background: linear-gradient(92deg, var(--hot-pink) 0%, var(--magenta) 46%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.block-minorHeader { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: 15px; }

/* ---------- cards ---------- */
.block-container {
  border-radius: 18px;
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(40, 0, 40, .05);
}
.block--category .block-body {
  border-radius: 18px;
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(40, 0, 40, .05);
}

/* ---------- links & node titles ---------- */
a { color: var(--link); }
.node-title a { color: var(--text); font-weight: 700; }
.node-title a:hover { color: var(--magenta); }
.node--unread .node-icon { color: var(--magenta); }
.structItem-title a { color: var(--text); font-weight: 600; }
.structItem-title a:hover { color: var(--magenta); }
.latest-post-title { color: var(--text); font-weight: 600; }
.latest-post-title:hover { color: var(--magenta); }

/* ---------- thread prefixes (labels) ---------- */
.label { border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.label--skyBlue { background: #7be0ff; border-color: #59cdf2; color: #04222b; }
.label--red { background: #ff3b5c; border-color: #e01f40; }
.label--green { background: var(--lime); border-color: #b6e02f; color: var(--ink); }
.label--lightGreen { background: var(--lime-soft); border-color: #c9ec6a; color: var(--ink); }
.label--royalBlue { background: #6f7dff; border-color: #5361e6; }
.label--gray { background: #9aa0ad; border-color: #7f8593; }
.label--orange { background: #ff9b2f; border-color: #e07f13; }
.label--purple { background: var(--magenta); border-color: var(--magenta-deep); }
.node--newIndicator { background: var(--hot-pink); }

/* ---------- footer: black band ---------- */
.p-footer { background: var(--ink); color: rgba(255, 255, 255, .72); border-radius: 0 0 24px 24px; }
@media (max-width: 1340px) { .p-footer { border-radius: 0 0 20px 20px; } }
.p-footer-inner { border-top-color: rgba(255, 255, 255, .1); padding: 26px 14px 20px; }
.p-footer a { color: #fff; }
.p-footer a:hover { color: var(--lime); text-decoration: none; }
.p-footer-copyright { color: rgba(255, 255, 255, .5); }
.p-footer-linkList a { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 12px; }

/* ---------- collapsed nav panel (mobile) ----------
   Must come last: the theme keeps the bar dark, so the open panel has to be
   dark too, otherwise the white menu labels sit invisibly on white. */
@media (max-width: 650px) {
  .p-nav-list {
    background: var(--ink);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  }
  .p-nav-list .p-navEl { color: rgba(255, 255, 255, .82); }
  .p-nav-list .p-navEl.is-selected { color: #fff; box-shadow: inset 3px 0 0 0 var(--lime); }
  .p-nav-list .p-navEl + .p-navEl { border-top: 1px solid rgba(255, 255, 255, .08); }
  .p-nav-list .p-navEl-link { padding: 16px 18px; }
}
