:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-2: #0d0d10;
  --panel: #151519;
  --panel-2: #1d1d23;
  --panel-3: #25252d;
  --line: #3a2020;
  --line-strong: #6b0707;
  --text: #f1f1f3;
  --muted: #b0a8a8;
  --soft: #7f7373;
  --brand: #f00606;
  --brand-deep: #8c0000;
  --brand-soft: rgba(240, 6, 6, .15);
  --gold: #d4ad55;
  --blue: #6b8cff;
  --green: #55d08c;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(130, 0, 0, .18), transparent 360px),
    radial-gradient(circle at 50% -120px, rgba(240, 6, 6, .28), transparent 330px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(240, 6, 6, .28);
  background: rgba(5, 5, 5, .88);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand, .user-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #760000;
  border-radius: var(--radius);
  background: #090909;
  box-shadow: 0 10px 24px rgba(240, 6, 6, .2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand strong, .brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 15px;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover, .user-chip:hover {
  background: rgba(240, 6, 6, .12);
  color: var(--text);
}

.header-actions {
  display: flex;
  justify-content: end;
}

.user-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(240, 6, 6, .32);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.page { padding: 26px 0 56px; }

.landing-body .page {
  padding-top: 20px;
}

.landing-hero {
  min-height: clamp(520px, calc(100vh - 112px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 34px;
  align-items: center;
  padding: 42px 0 24px;
  position: relative;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 24px -18px 24px 42%;
  border: 1px solid rgba(240, 6, 6, .22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(240,6,6,.16), rgba(0,0,0,.08));
  transform: skewX(-8deg);
  pointer-events: none;
}

.landing-copy {
  position: relative;
  z-index: 1;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(240, 6, 6, .42);
  border-radius: 999px;
  background: rgba(240, 6, 6, .12);
  color: #ffcaca;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin-top: 18px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: .86;
  text-transform: uppercase;
  text-shadow: 0 10px 0 #260000, 0 24px 32px rgba(0,0,0,.75);
}

.landing-lead {
  max-width: 760px;
  margin-top: 22px;
  color: #d8cccc;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

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

.landing-primary, .landing-secondary {
  min-height: 48px;
  padding: 0 18px;
  font-size: 14px;
}

.landing-secondary {
  border-color: rgba(240, 6, 6, .4);
  background: rgba(255,255,255,.04);
}

.landing-poster {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 14px;
  border: 1px solid rgba(240, 6, 6, .38);
  border-radius: 28px;
  background: #070707;
  box-shadow: 0 32px 72px rgba(0,0,0,.58), 0 0 0 8px rgba(240,6,6,.05);
  overflow: hidden;
}

.landing-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.34));
  pointer-events: none;
}

.landing-poster img {
  width: 100%;
  height: 100%;
  min-height: 492px;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(1.08) contrast(1.05);
}

.landing-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.play-section {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 42px);
  text-transform: uppercase;
  text-shadow: 0 8px 18px rgba(0,0,0,.55);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-card {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(240, 6, 6, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68)),
    linear-gradient(135deg, #351010, #141416);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 12%, rgba(255,255,255,.16), transparent 80px);
  pointer-events: none;
}

.role-card:hover {
  border-color: rgba(240, 6, 6, .7);
  transform: translateY(-3px);
}

.role-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(0,0,0,.38);
  color: #fff;
}

.role-card strong {
  font-size: 19px;
  text-transform: uppercase;
}

.role-card p {
  color: #d4c7c7;
  line-height: 1.45;
  font-size: 13px;
}

.role-police { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.7)), linear-gradient(135deg, #0c2444, #111216); }
.role-state { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.7)), linear-gradient(135deg, #4a3211, #111216); }
.role-crime { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.7)), linear-gradient(135deg, #520707, #111216); }
.role-work { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.7)), linear-gradient(135deg, #173b23, #111216); }

.landing-strip div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(240, 6, 6, .28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(100,0,0,.32), var(--panel));
}

.landing-strip strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.landing-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.promo-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(240, 6, 6, .28);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 6, 6, .65);
  background: var(--panel-2);
}

.promo-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: #ffb3b3;
}

.promo-card strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.promo-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(240, 6, 6, .25);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1d1112, var(--panel));
  box-shadow: var(--shadow);
}

.page-head.compact {
  align-items: center;
}

.crumbs {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crumbs a { color: #ff7676; }

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.lead {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.forum-block, .panel, .form-card, .notice, .auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.forum-block.is-disabled-section,
.forum-row.is-disabled-section {
  opacity: .58;
}

.block-title {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #241111, var(--panel-2));
  border-radius: var(--radius) var(--radius) 0 0;
}

.block-title h2, .panel h2, .form-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.block-title p, .panel p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.forum-list, .thread-table, .posts {
  display: grid;
}

.forum-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 76px 90px minmax(180px, 260px);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.forum-row:last-child, .thread-row:last-child { border-bottom: 0; }

.forum-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,6,6,.36);
  border-radius: var(--radius);
  background: #190909;
  color: #ff9a9a;
}

.forum-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: var(--text);
  font-weight: 900;
}

.forum-title:hover, .thread-main a:hover, .last-post a:hover, .quick-nav a:hover {
  color: #ff7777;
}

.forum-main p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.subforums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.subforums a {
  padding: 4px 8px;
  border: 1px solid rgba(240,6,6,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.forum-counts, .thread-meta {
  text-align: center;
}

.forum-counts strong, .thread-meta strong {
  display: block;
  font-size: 18px;
}

.forum-counts span, .thread-meta span, .last-post span, .thread-last {
  display: block;
  color: var(--soft);
  font-size: 12px;
}

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

.last-post a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

.sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 90px;
}

.panel {
  padding: 15px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 900; }

.quick-nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.quick-nav a {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

.button:hover {
  background: var(--panel-3);
}

.button-primary {
  border-color: #ff1b1b;
  background: linear-gradient(180deg, #ff1a1a, #9f0000);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(240,6,6,.2);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ff3434, #b40000);
}

.full { width: 100%; }
.muted { color: var(--muted); font-size: 13px; font-weight: 800; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

.thread-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 72px 88px 94px;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.thread-status, .pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.is-open { background: rgba(85, 208, 140, .16); color: #9af0bf; }
.is-review { background: rgba(107, 140, 255, .16); color: #bdcaff; }
.is-waiting { background: rgba(212, 173, 85, .18); color: #f0d184; }
.is-accepted { background: rgba(85, 208, 140, .16); color: #93e8b7; }
.is-rejected { background: rgba(240, 6, 6, .18); color: #ffb3b3; }
.is-closed { background: #2b2b33; color: #b9b9c1; }

.thread-main a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.thread-main span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.post {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.posts {
  gap: 14px;
}

.post-author {
  padding: 16px;
  border-right: 1px solid var(--line);
  background: #1b1112;
}

.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240,6,6,.28);
  border-radius: var(--radius);
  background: #190909;
  color: #ff9a9a;
  font-weight: 900;
}

.avatar.small {
  width: 42px;
  height: 42px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author strong {
  display: block;
  margin-top: 11px;
  overflow-wrap: anywhere;
}

.post-author span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.post-body {
  min-width: 0;
  padding: 16px;
}

.post-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.content {
  padding-top: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.content p + p { margin-top: 10px; }
.content a { color: #ff7777; text-decoration: underline; }

.form-card {
  padding: 16px;
}

.form-card.wide {
  max-width: 900px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0d;
  color: var(--text);
  outline: none;
}

input, select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(240, 6, 6, .15);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.mod-grid {
  margin-top: 12px;
}

.checkline {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.checkline input {
  width: 18px;
  min-height: 18px;
}

.empty-state {
  display: grid;
  gap: 5px;
  padding: 26px 16px;
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--text);
}

.notice, .auth-card {
  width: min(560px, 100%);
  margin: 42px auto;
  padding: 22px;
}

.notice div, .auth-card p {
  margin: 12px 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.setup-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.dev-login {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.dev-login a {
  color: #ff7777;
  font-weight: 900;
}

.user-panel {
  display: grid;
  gap: 12px;
}

.user-line strong, .user-line span {
  display: block;
}

.user-line span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.role-list span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.search-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.disabled-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 6, 6, .35);
  border-radius: var(--radius);
  background: rgba(240, 6, 6, .12);
  color: #ffd4d4;
  font-weight: 900;
}

.owner-sections {
  display: grid;
  gap: 16px;
}

.owner-block-title {
  align-items: center;
}

.owner-section-list {
  display: grid;
}

.owner-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  padding-left: calc(16px + var(--level, 0) * 24px);
  border-bottom: 1px solid var(--line);
}

.owner-section-row:last-child {
  border-bottom: 0;
}

.owner-section-row.is-child {
  background: rgba(255,255,255,.018);
}

.owner-section-row strong,
.owner-section-row span {
  display: block;
}

.owner-section-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.switch {
  display: inline-grid;
  grid-template-columns: 52px auto;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch span {
  position: relative;
  width: 52px;
  height: 30px;
  border: 1px solid #553131;
  border-radius: 999px;
  background: #151515;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #746969;
  transition: transform .18s ease, background .18s ease;
}

.switch input:checked + span {
  border-color: #ff1b1b;
  background: #650000;
}

.switch input:checked + span::after {
  transform: translateX(22px);
  background: #fff;
}

.switch em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.owner-savebar {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(240,6,6,.35);
  border-radius: var(--radius);
  background: rgba(9,9,9,.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.owner-savebar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid rgba(240, 6, 6, .24);
  padding: 18px 0;
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }
  .landing-hero::before {
    inset: 44% -18px 24px 12%;
  }
  .landing-poster {
    min-height: 420px;
  }
  .landing-poster img {
    min-height: 392px;
  }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .forum-row {
    grid-template-columns: 46px minmax(0, 1fr) 70px;
  }
  .forum-counts:nth-of-type(2), .last-post {
    display: none;
  }
  .thread-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .thread-status, .thread-meta, .thread-last {
    justify-self: start;
  }
  .landing-strip,
  .promo-grid,
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1280px);
  }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .brand small, .header-actions .button svg {
    display: none;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .page-head {
    display: grid;
    align-items: start;
  }
  .head-actions {
    justify-content: start;
  }
  .landing-hero {
    min-height: auto;
    padding-top: 28px;
  }
  .landing-hero::before {
    display: none;
  }
  .landing-hero h1 {
    font-size: 46px;
  }
  .landing-strip,
  .promo-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }
  .landing-poster {
    min-height: 360px;
    border-radius: 18px;
  }
  .landing-poster img {
    min-height: 332px;
    border-radius: 12px;
  }
  .forum-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .forum-counts {
    display: none;
  }
  .post {
    grid-template-columns: 1fr;
  }
  .post-author {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .search-form {
    grid-template-columns: 1fr;
  }
  .owner-section-row,
  .owner-savebar {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
  }
}

.owner-log-list {
  display: grid;
}

.owner-log-row {
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.owner-log-row:last-child {
  border-bottom: 0;
}

.owner-log-row strong,
.owner-log-row span {
  display: block;
}

.owner-log-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .owner-log-row {
    grid-template-columns: 1fr;
  }
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(240, 6, 6, .34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 6, 6, .18), transparent 46%),
    linear-gradient(180deg, #1d1112, var(--panel));
  box-shadow: var(--shadow);
}

.profile-card-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.profile-avatar-frame {
  width: 118px;
  height: 118px;
  padding: 5px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ff2020, #5a0000 62%, #050505);
  box-shadow: 0 18px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 21px;
  background: #170707;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-identity {
  min-width: 0;
}

.profile-identity h1 {
  font-size: clamp(34px, 6vw, 64px);
  text-transform: uppercase;
  text-shadow: 0 8px 0 #260000, 0 20px 28px rgba(0,0,0,.5);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-tags span,
.role-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(240,6,6,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #ffd0d0;
  font-size: 12px;
  font-weight: 900;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.profile-panel,
.profile-side-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.profile-panel h2 {
  font-size: 18px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.profile-stats-grid div {
  min-height: 90px;
  padding: 12px;
  border: 1px solid rgba(240,6,6,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}

.profile-stats-grid strong {
  display: block;
  font-size: 26px;
}

.profile-stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profile-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.profile-role-list span {
  padding: 8px 10px;
  border: 1px solid rgba(240,6,6,.22);
  border-radius: 999px;
  background: rgba(240,6,6,.09);
  color: #ffd7d7;
  font-size: 12px;
  font-weight: 900;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .profile-hero,
  .profile-card-main {
    display: grid;
    justify-items: start;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }

  .profile-avatar-frame {
    width: 96px;
    height: 96px;
  }
}

.announcement-center {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

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

.announcement-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.announcement-card {
  min-height: 180px;
  padding: 16px;
  border: 1px solid rgba(240, 6, 6, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 6, 6, .14), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow);
}

.announcement-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(240, 6, 6, .14);
  color: #ffd4d4;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.announcement-card h3 {
  margin-top: 14px;
  font-size: 19px;
}

.announcement-card p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.announcement-card small {
  display: block;
  margin-top: 14px;
  color: var(--soft);
  font-weight: 900;
}

.owner-announcement-list,
.profile-activity-list {
  display: grid;
}

.owner-announcement-row,
.profile-activity-list a {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.owner-announcement-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.owner-announcement-row:last-child,
.profile-activity-list a:last-child {
  border-bottom: 0;
}

.owner-announcement-row strong,
.owner-announcement-row span,
.profile-activity-list strong,
.profile-activity-list span {
  display: block;
}

.owner-announcement-row span,
.profile-activity-list span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.profile-activity-list a:hover strong {
  color: #ff7777;
}

@media (max-width: 980px) {
  .announcement-grid,
  .announcement-grid.wide,
  .owner-announcement-row {
    grid-template-columns: 1fr;
  }
}

.owner-users-table {
  display: grid;
  gap: 10px;
}

.owner-user-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) .8fr .8fr 1.2fr .7fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(240,6,6,.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240,6,6,.08), transparent 45%),
    var(--panel);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.owner-user-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.owner-user-row strong,
.owner-user-row span {
  display: block;
}

.owner-user-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.owner-user-main:hover strong {
  color: #ff7777;
}

.profile-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.08), transparent 120px),
    linear-gradient(135deg, rgba(240, 6, 6, .24), transparent 48%),
    linear-gradient(180deg, #1f0c0d, #111115);
}

.profile-avatar-frame {
  width: 132px;
  height: 132px;
  border-radius: 30px;
}

.profile-avatar {
  border-radius: 24px;
}

.profile-panel {
  background:
    linear-gradient(135deg, rgba(240,6,6,.06), transparent 45%),
    var(--panel);
}

.profile-role-list span {
  border-color: rgba(240,6,6,.34);
  background: linear-gradient(180deg, rgba(240,6,6,.14), rgba(80,0,0,.12));
}

@media (max-width: 1100px) {
  .owner-user-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .owner-user-row {
    grid-template-columns: 1fr;
  }
}

.profile-bio-card,
.profile-edit-card,
.forum-guide {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(240,6,6,.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240,6,6,.10), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow);
}

.profile-bio-card strong {
  display: block;
  font-size: 18px;
  color: #ffd6d6;
}

.profile-bio-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.profile-edit-card {
  margin-top: 18px;
}

.profile-edit-card h2,
.forum-guide h2 {
  margin-bottom: 10px;
}

.forum-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 16px;
  align-items: center;
}

.forum-guide p {
  color: var(--muted);
  line-height: 1.55;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.guide-steps a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(240,6,6,.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  color: #ffd0d0;
  font-size: 13px;
  font-weight: 900;
}

.guide-steps a:hover {
  background: rgba(240,6,6,.12);
}

@media (max-width: 820px) {
  .forum-guide,
  .guide-steps {
    grid-template-columns: 1fr;
  }
}

.site-header {
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}

.header-inner {
  position: relative;
}

.header-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,40,40,.85), transparent);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(240,6,6,.25), inset 0 0 0 1px rgba(255,255,255,.06);
}

.brand-mark img {
  object-fit: contain;
  padding: 0;
}

.brand {
  padding-right: 18px;
  border-right: 1px solid rgba(240,6,6,.28);
}

.main-nav {
  gap: 0;
  padding: 0 8px;
  border: 1px solid rgba(240,6,6,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.main-nav a {
  position: relative;
  border-radius: 999px;
}

.main-nav a + a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 11px;
  bottom: 11px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(240,6,6,.55), transparent);
}

.main-nav a:hover::before,
.main-nav a:hover + a::before {
  opacity: .35;
}

.header-actions {
  padding-left: 18px;
  border-left: 1px solid rgba(240,6,6,.28);
}

@media (max-width: 720px) {
  .brand,
  .header-actions {
    border: 0;
    padding: 0;
  }
}

/* final header polish */
.site-header {
  background: rgba(5, 5, 5, .94);
  border-bottom: 1px solid rgba(240,6,6,.38);
}

.header-inner {
  min-height: 82px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  min-height: 58px;
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(240,6,6,.42);
}

.brand-mark {
  width: 42px;
  height: 58px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(240,6,6,.52);
  border-radius: 12px;
  background: #050505;
  box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04) inset;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.brand strong {
  max-width: 92px;
  font-size: 14px;
  line-height: .95;
}

.brand small {
  max-width: 76px;
  line-height: 1.05;
}

.main-nav {
  justify-self: center;
  max-width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid rgba(240,6,6,.42);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(50,0,0,.18), rgba(0,0,0,.16)),
    rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 10px 24px rgba(0,0,0,.2);
}

.main-nav a {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 0;
  white-space: nowrap;
}

.main-nav a:first-child {
  border-radius: 999px 0 0 999px;
}

.main-nav a:last-child {
  border-radius: 0 999px 999px 0;
}

.main-nav a + a::before {
  left: 0;
  top: 12px;
  bottom: 12px;
  background: linear-gradient(180deg, transparent, rgba(240,6,6,.72), transparent);
}

.header-actions {
  min-height: 58px;
  align-items: center;
  padding-left: 18px;
  border-left: 1px solid rgba(240,6,6,.42);
}

.user-chip,
.header-actions .button {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .main-nav {
    overflow-x: auto;
    justify-self: stretch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 38px;
    height: 50px;
  }

  .brand strong {
    max-width: 86px;
  }
}

.post-staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.button-danger {
  border-color: rgba(240,6,6,.6);
  background: linear-gradient(180deg, #8b0808, #410000);
  color: #fff;
}

.is-deleted-post {
  opacity: .76;
}

.deleted-text {
  color: #ffb3b3;
  font-weight: 900;
}

.inline-profile-link,
.post-author-name {
  color: #ffd0d0;
  font-weight: 900;
}

.inline-profile-link:hover,
.post-author-name:hover {
  color: #ff7777;
}

.post-author-name {
  display: block;
  margin-top: 11px;
  overflow-wrap: anywhere;
}

.profile-wall-form {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(240,6,6,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.profile-wall-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.profile-wall-post {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(240,6,6,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.profile-wall-post .content {
  padding-top: 0;
}


/* ZRP owner-panel polish patch */
.owner-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.owner-dashboard-card {
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(240,6,6,.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240,6,6,.14), transparent 52%),
    var(--panel);
  box-shadow: var(--shadow);
}

.owner-dashboard-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #fff;
}

.owner-dashboard-card span {
  display: block;
  margin-top: 10px;
  font-weight: 900;
  color: #ffd0d0;
}

.owner-dashboard-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.owner-thread-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.owner-thread-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(240,6,6,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.owner-user-row {
  grid-template-columns: minmax(260px, 1.35fr) .7fr .8fr .75fr 1.25fr auto;
}

.owner-role-strip {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px !important;
}

.owner-access-cell form {
  margin-top: 8px;
}

.button.danger {
  border-color: rgba(255,70,70,.55);
  background: rgba(160,0,0,.22);
  color: #ffd6d6;
}

.profile-wall-panel {
  margin-bottom: 18px;
  border-color: rgba(255,30,30,.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.08), transparent 160px),
    linear-gradient(135deg, rgba(240,6,6,.16), transparent 46%),
    var(--panel);
}

.profile-status {
  margin-top: 4px;
  color: #ffd0d0;
  font-weight: 800;
}

.role-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #f4f4f4;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(0,0,0,.18);
}

.role-owner {
  border-color: rgba(255,205,76,.7);
  background: linear-gradient(180deg, rgba(255,205,76,.28), rgba(122,70,0,.25));
  color: #ffe9a6;
}

.role-guardian {
  border-color: rgba(255,52,52,.72);
  background: linear-gradient(180deg, rgba(255,52,52,.28), rgba(90,0,0,.32));
  color: #ffd1d1;
}

.role-curator {
  border-color: rgba(176,122,255,.68);
  background: linear-gradient(180deg, rgba(176,122,255,.25), rgba(54,20,92,.32));
  color: #eadcff;
}

.role-admin {
  border-color: rgba(255,105,105,.62);
  background: linear-gradient(180deg, rgba(255,105,105,.22), rgba(96,0,0,.28));
  color: #ffdada;
}

.role-moderator {
  border-color: rgba(96,183,255,.58);
  background: linear-gradient(180deg, rgba(96,183,255,.22), rgba(12,52,86,.28));
  color: #d7efff;
}

.role-legend {
  border-color: rgba(255,205,76,.62);
  background: rgba(255,205,76,.16);
  color: #ffe6a3;
}

.role-hyper,
.role-active {
  border-color: rgba(79,221,132,.55);
  background: rgba(79,221,132,.13);
  color: #d5ffe2;
}

.role-banned {
  border-color: rgba(255,0,0,.7);
  background: rgba(120,0,0,.34);
  color: #ffc6c6;
}

.role-player {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  color: #e9e9e9;
}

body.theme-white-dark {
  --bg: #f4f1f1;
  --panel: #ffffff;
  --panel-2: #f9f6f6;
  --text: #171010;
  --muted: #685d5d;
  --line: rgba(120,0,0,.17);
  --brand-soft: rgba(210,0,0,.10);
  background: #f4f1f1;
  color: var(--text);
}

body.theme-white-dark .site-header,
body.theme-white-dark .site-footer {
  background: rgba(255,255,255,.92);
  border-color: rgba(160,0,0,.18);
}

body.theme-white-dark .profile-hero,
body.theme-white-dark .profile-panel,
body.theme-white-dark .profile-side-card,
body.theme-white-dark .forum-block,
body.theme-white-dark .panel,
body.theme-white-dark .owner-dashboard-card,
body.theme-white-dark .owner-user-row,
body.theme-white-dark .profile-bio-card,
body.theme-white-dark .profile-edit-card {
  background:
    linear-gradient(135deg, rgba(210,0,0,.08), transparent 48%),
    #fff;
  box-shadow: 0 18px 36px rgba(70,0,0,.08);
}

body.theme-white-dark .profile-identity h1,
body.theme-white-dark .owner-dashboard-card strong {
  color: #1b1111;
  text-shadow: none;
}

body.theme-white-dark .main-nav,
body.theme-white-dark .user-chip,
body.theme-white-dark .button {
  background: rgba(255,255,255,.7);
}

@media (max-width: 1180px) {
  .owner-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-user-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .owner-dashboard-grid,
  .owner-user-row,
  .owner-thread-row {
    grid-template-columns: 1fr;
  }
}


/* ZRP final graphite polish */
body.theme-graphite {
  --bg: #090a0d;
  --panel: #12141a;
  --panel-2: #181b22;
  --text: #f3f4f7;
  --muted: #a9adb7;
  --line: rgba(255,255,255,.10);
  --brand-soft: rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.08), transparent 320px),
    linear-gradient(180deg, #0d0e12, #050506 70%);
}

body.theme-graphite .site-header,
body.theme-graphite .site-footer {
  background: rgba(10,11,15,.94);
  border-color: rgba(255,255,255,.10);
}

body.theme-graphite .profile-hero,
body.theme-graphite .profile-panel,
body.theme-graphite .profile-side-card,
body.theme-graphite .forum-block,
body.theme-graphite .panel,
body.theme-graphite .profile-bio-card,
body.theme-graphite .profile-edit-card,
body.theme-graphite .owner-user-row {
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 48%),
    var(--panel);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
}

.profile-wall-panel {
  margin-bottom: 18px;
  border-color: rgba(255,40,40,.42);
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.08), transparent 180px),
    linear-gradient(135deg, rgba(240,6,6,.16), transparent 46%),
    var(--panel);
}

.role-badge,
.profile-role-list .role-badge,
.profile-tags .role-badge {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.065);
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.role-owner {
  border-color: rgba(255,205,70,.86);
  background: linear-gradient(180deg, rgba(255,215,86,.32), rgba(105,64,0,.38));
  color: #ffe9a8;
}

.role-guardian {
  border-color: rgba(255,42,42,.9);
  background: linear-gradient(180deg, rgba(255,42,42,.36), rgba(88,0,0,.46));
  color: #ffd0d0;
}

.role-curator {
  border-color: rgba(173,116,255,.86);
  background: linear-gradient(180deg, rgba(173,116,255,.34), rgba(49,20,95,.45));
  color: #eadcff;
}

.role-admin {
  border-color: rgba(255,102,102,.82);
  background: linear-gradient(180deg, rgba(255,102,102,.30), rgba(100,0,0,.38));
  color: #ffe0e0;
}

.role-moderator {
  border-color: rgba(87,180,255,.8);
  background: linear-gradient(180deg, rgba(87,180,255,.30), rgba(10,48,82,.42));
  color: #d8f0ff;
}

.role-legend {
  border-color: rgba(255,205,70,.72);
  background: rgba(255,205,70,.18);
  color: #ffe3a1;
}

.role-hyper,
.role-active {
  border-color: rgba(76,220,132,.66);
  background: rgba(76,220,132,.16);
  color: #d8ffe5;
}

.role-banned {
  border-color: rgba(255,0,0,.8);
  background: rgba(120,0,0,.38);
  color: #ffc8c8;
}

.role-player {
  color: #e7e9ef;
}

.post-more {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.post-more-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.22);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.post-more-menu {
  position: absolute;
  top: 40px;
  right: 0;
  min-width: 190px;
  display: none;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #121318;
  box-shadow: 0 18px 38px rgba(0,0,0,.46);
}

.post-more.is-open .post-more-menu {
  display: grid;
  gap: 6px;
}

.post-more-menu button,
.post-more-menu form button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  color: #f4f4f4;
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.post-more-menu button:hover,
.post-more-menu form button:hover {
  background: rgba(240,6,6,.22);
}

.zrp-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.zrp-reactions button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.zrp-reactions button.is-active {
  border-color: rgba(255,55,55,.65);
  background: rgba(240,6,6,.20);
}

.thread-claim-box {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.thread-claim-box button {
  min-height: 38px;
}

article[id^="post-"] {
  position: relative;
}
