:root {
  --bg: #13161c;
  --bg-soft: #1a1f27;
  --surface: #1b2028;
  --surface-alt: #232933;
  --line: #313846;
  --line-strong: #475164;
  --text: #f6f7fb;
  --muted: #c2cad8;
  --blue: #db6a39;
  --blue-deep: #ffd3a6;
  --blue-soft: rgba(219, 106, 57, 0.15);
  --green: #52c09b;
  --orange: #ffb44c;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  --header-bg-offset-x: 0px;
  --header-bg-offset-y: -6px;
  --logo-offset-x: 0px;
  --logo-offset-y: 0px;
  --logo-scale: 1;
}

@font-face {
  font-family: "PricedownLocal";
  src: local("Pricedown"), local("Pricedown Bl");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(214, 91, 48, 0.12), transparent 25%),
    linear-gradient(180deg, #181c23 0%, #13161c 100%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 252px;
  padding: 20px 18px 16px 22px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 14, 19, 0.44) 0%, rgba(20, 22, 30, 0.26) 34%, rgba(65, 34, 25, 0.22) 68%, rgba(15, 18, 24, 0.44) 100%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.1), rgba(12, 14, 18, 0.34)),
    url("assets-header-bg.png"),
    radial-gradient(circle at 85% 15%, rgba(255, 177, 92, 0.3), transparent 16%),
    radial-gradient(circle at 72% 0%, rgba(223, 109, 58, 0.25), transparent 18%),
    linear-gradient(180deg, rgba(255, 154, 102, 0.08), rgba(255, 154, 102, 0)),
    linear-gradient(135deg, #1a1d27 0%, #261f2c 35%, #3d2725 68%, #161921 100%);
  background-position:
    center center,
    center center,
    calc(50% + var(--header-bg-offset-x)) calc(26% + var(--header-bg-offset-y)),
    center center,
    center center,
    center center,
    center center;
  background-size: cover, cover, cover, auto, auto, auto, auto;
  color: #fff;
  border-bottom: 1px solid rgba(255, 190, 120, 0.14);
  cursor: default;
  user-select: none;
}

body.is-header-adjusting .topbar {
  cursor: move;
}

body.is-header-adjusting .logo-slot {
  cursor: grab;
  outline: 1px dashed rgba(255, 194, 140, 0.75);
  outline-offset: 2px;
}

body.is-header-adjusting .logo-slot:active {
  cursor: grabbing;
}

.brand-wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  margin-top: -10px;
  border-radius: 18px;
  background: transparent;
  position: relative;
}

.logo-slot {
  display: grid;
  place-items: center;
  width: 208px;
  min-width: 208px;
  height: 92px;
  padding: 8px 10px;
  text-align: center;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.logo-slot img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  margin: 0 auto;
  transform: translate(var(--logo-offset-x), var(--logo-offset-y)) scale(var(--logo-scale));
  transform-origin: center center;
}

.brand-block {
  padding: 8px 10px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(11, 13, 18, 0.46), rgba(11, 13, 18, 0.16));
}

.brand-kicker {
  margin-bottom: 6px;
  color: rgba(255, 214, 181, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-block h1 {
  margin: 0;
  font-family: "PricedownLocal", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.75),
    0 6px 18px rgba(0, 0, 0, 0.42);
}

.brand-block p {
  max-width: 620px;
  margin: 6px 0 0;
  color: rgba(255, 228, 210, 0.74);
  font-size: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.header-tools {
  display: grid;
  gap: 10px;
  align-content: start;
}

.header-tools-hero {
  width: 248px;
  padding: 12px;
  border: 1px solid rgba(255, 194, 140, 0.12);
  border-radius: 14px;
  background: rgba(11, 14, 20, 0.42);
  backdrop-filter: blur(5px);
  align-self: start;
}

.header-tools-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.auth-actions {
  display: grid;
  gap: 8px;
}

.header-tools-hero .auth-actions .ghost-button,
.header-tools-hero .auth-actions .primary-button {
  width: 100%;
  text-align: left;
}

.server-chip {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 194, 140, 0.16);
  border-radius: 10px;
  background: rgba(10, 12, 17, 0.28);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.server-chip-label {
  color: rgba(255, 216, 187, 0.66);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.header-tools-hero .searchbar {
  grid-template-columns: minmax(0, 1fr) 56px;
}

.searchbar input,
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

.searchbar input {
  border-color: rgba(255, 185, 134, 0.16);
  background: rgba(12, 15, 20, 0.48);
  color: #fff7ef;
}

.searchbar input::placeholder {
  color: rgba(255, 220, 198, 0.45);
}

.searchbar button {
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ef8751 0%, #c95f31 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(201, 95, 49, 0.28);
}

.header-tools-hero .searchbar button {
  padding-left: 10px;
  padding-right: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #171b24 0%, #211a26 38%, #2a1f20 100%);
  border-bottom: 1px solid rgba(255, 187, 135, 0.1);
}

.main-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.main-nav .searchbar {
  position: relative;
  width: min(100%, 282px);
  grid-template-columns: minmax(0, 1fr);
}

.header-tools-nav .auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-menu {
  position: relative;
}

@media (min-width: 981px) {
  .header-tools-nav .auth-actions .nav-user-menu,
  .header-tools-nav .auth-actions .nav-user-chip,
  .header-tools-nav .auth-actions .nav-auth-box {
    width: 116px;
    height: 38px;
  }

  .header-tools-nav .auth-actions .nav-auth-link,
  .header-tools-nav .auth-actions .nav-auth-accent,
  .header-tools-nav .auth-actions .nav-auth-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .header-tools-nav .auth-actions .nav-user-chip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 4px 10px;
  }
}

.header-tools-nav .auth-actions .nav-auth-link,
.header-tools-nav .auth-actions .nav-auth-accent,
.header-tools-nav .auth-actions .nav-auth-box {
  min-height: 38px;
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.main-nav .searchbar input {
  min-height: 38px;
  padding: 8px 14px 8px 40px;
  border: 1px solid #363b43;
  border-radius: 4px;
  background: #30343a;
  color: #f4f7fb;
}

.main-nav .searchbar input::placeholder {
  color: #d7dde6;
  opacity: 0.72;
}

.main-nav .searchbar button {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px 0 0 4px;
  background: transparent;
  box-shadow: none;
  color: #eef3fb;
  text-indent: -9999px;
  overflow: hidden;
}

.main-nav .searchbar button::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.main-nav .searchbar button::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.nav-auth-link,
.nav-auth-accent,
.nav-auth-box {
  border: 0;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.header-tools-nav .nav-auth-link {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  color: #f4f7fb;
  box-shadow: none;
}

.header-tools-nav .nav-auth-link:hover {
  color: #ffffff;
}

.header-tools-nav .nav-auth-accent {
  border-radius: 4px;
  background: linear-gradient(180deg, #ff5a9e 0%, #ee3f86 100%);
  color: #ffffff;
  box-shadow: none;
}

.header-tools-nav .nav-auth-accent:hover {
  background: linear-gradient(180deg, #ff6eaa 0%, #f04d91 100%);
}

.header-tools-nav .nav-user-chip,
.header-tools-nav .nav-auth-box {
  border: 1px solid #4a4f59;
  border-radius: 4px;
  background: #2f343d;
  box-shadow: none;
  color: #ffffff;
}

.header-tools-nav .nav-auth-box:hover,
.header-tools-nav .nav-user-chip:hover {
  background: #363b44;
}

.header-tools-nav .nav-user-chip .server-chip-label {
  color: rgba(230, 236, 245, 0.76);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.header-tools-nav .nav-user-chip strong {
  font-size: 12px;
  line-height: 1.05;
}

.header-tools-nav .nav-user-trigger {
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.header-tools-nav .nav-user-trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  transform: translateY(-60%) rotate(45deg);
}

.header-tools-nav .nav-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  padding: 12px;
  border: 1px solid #414754;
  border-radius: 12px;
  background: linear-gradient(180deg, #2e333c 0%, #292e36 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  z-index: 30;
}

.nav-user-dropdown-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-user-avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.nav-user-name {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 18px;
}

.nav-user-menu-list,
.nav-user-menu-footer {
  display: grid;
  gap: 6px;
  padding-top: 12px;
}

.nav-user-menu-footer {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu-item,
.account-action {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #eef3fb;
  font-weight: 700;
  text-align: left;
}

.user-menu-item:hover,
.account-action:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.user-menu-item.is-danger {
  color: #ffb3c0;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 10px;
  color: rgba(240, 225, 214, 0.76);
  font-weight: 700;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active {
  background:
    linear-gradient(180deg, rgba(231, 130, 74, 0.22), rgba(231, 130, 74, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #fff;
}

.primary-button,
.ghost-button,
.icon-button,
.reply-button,
.topic-button,
.pill-button {
  border: 0;
  border-radius: 10px;
}

.primary-button {
  padding: 11px 14px;
  background: linear-gradient(180deg, #ef8751 0%, #cf6233 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(207, 98, 51, 0.28);
}

.ghost-button {
  padding: 11px 14px;
  background: rgba(255, 216, 182, 0.06);
  color: #fff3e8;
  font-weight: 700;
  border: 1px solid rgba(255, 194, 140, 0.14);
}

.page-shell {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 22px 0 36px 18px;
}

.forum-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 2px 2px;
}

.hero-label {
  margin-bottom: 8px;
  color: #ffbc86;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forum-heading h2 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.1;
}

.forum-heading p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

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

.content-column {
  min-width: 0;
}

.breadcrumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.sidebar-column {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-self: end;
  width: 290px;
  margin-top: 42px;
  margin-right: 14px;
}

.card,
.forum-card,
.topic-row,
.post-card,
.sidebar-card,
.empty-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card,
.empty-card,
.sidebar-card {
  padding: 16px;
}

.section-card {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #1d232c 0%, #181d25 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(226, 111, 59, 0.18), rgba(226, 111, 59, 0)),
    linear-gradient(180deg, #232934 0%, #1f252e 100%);
}

.section-title {
  margin: 0;
  font-size: 18px;
}

.section-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.forum-card,
.topic-row,
.post-card {
  display: grid;
}

.forum-card,
.topic-row,
.pill-button {
  text-align: left;
}

.forum-card {
  grid-template-columns: 56px minmax(0, 1fr) 110px 260px;
  gap: 14px;
  align-items: center;
  margin: 12px;
  padding: 14px;
  width: calc(100% - 24px);
}

.forum-card:hover,
.topic-row:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  background: #202733;
}

.forum-icon,
.avatar {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(239, 135, 81, 0.22), rgba(239, 135, 81, 0.08)),
    #2a2430;
  color: #ffbb84;
  font-weight: 800;
  overflow: hidden;
}

.avatar.has-image {
  background: #262c35;
}

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

.forum-icon {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.forum-meta h3,
.topic-row h3,
.post-main h3 {
  margin: 0;
  font-size: 17px;
}

.forum-meta p,
.post-meta,
.meta-text,
.sidebar-card p,
.member-meta,
.topic-list-meta,
.post-main p {
  color: var(--muted);
}

.sidebar-card h3,
.section-title,
.forum-meta h3,
.topic-row h3,
.post-main h3,
.forum-lastpost strong,
.member-name,
.post-sidebar strong,
.rule-row strong,
.activity-row strong {
  color: #ffffff;
}

.sidebar-card p strong,
.topic-row strong,
.topic-list-toolbar .meta-text,
.inline-actions .meta-text,
.topic-toolbar .meta-text {
  color: #e8edf7;
}

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

.forum-subforums span,
.pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: #242b36;
  color: #e6ebf5;
  font-size: 12px;
  font-weight: 700;
}

.forum-subforum-block {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.forum-stats {
  text-align: center;
}

.forum-stats strong {
  display: block;
  font-size: 24px;
}

.forum-lastpost strong,
.topic-list-title,
.member-name {
  display: block;
  margin-bottom: 4px;
}

.topic-list-toolbar,
.inline-actions,
.topic-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.topic-row {
  grid-template-columns: minmax(0, 1fr) 100px 100px 220px;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  padding: 14px;
  width: 100%;
}

.topic-row.is-staff-topic {
  border-left: 3px solid #f0438f;
  background:
    linear-gradient(90deg, rgba(240, 67, 143, 0.1), rgba(240, 67, 143, 0)),
    var(--surface);
}

.topic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.topic-accent-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: #f0438f;
  box-shadow: 0 0 0 4px rgba(240, 67, 143, 0.12);
}

.badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(239, 135, 81, 0.14);
  color: #ffbe8d;
  font-size: 12px;
  font-weight: 700;
}

.badge.is-green {
  background: rgba(82, 192, 155, 0.14);
  color: var(--green);
}

.badge.is-staff-badge {
  background: rgba(240, 67, 143, 0.16);
  color: #ff8ebf;
}

.badge.is-staff-badge.role-owner {
  background: rgba(255, 90, 136, 0.18);
  color: #ff9fbb;
}

.badge.is-staff-badge.role-developer {
  background: rgba(68, 212, 255, 0.18);
  color: #8fe6ff;
}

.badge.is-staff-badge.role-sadmin {
  background: rgba(255, 123, 77, 0.18);
  color: #ffb08e;
}

.badge.is-staff-badge.role-admin {
  background: rgba(77, 164, 255, 0.18);
  color: #9acbff;
}

.badge.is-staff-badge.role-moderator {
  background: rgba(103, 212, 109, 0.18);
  color: #abedaf;
}

.badge.is-locked {
  background: rgba(255, 187, 76, 0.16);
  color: #ffcf78;
}

.badge.is-accepted {
  background: rgba(82, 192, 155, 0.16);
  color: #7ae0b9;
}

.stat-cell {
  text-align: center;
}

.stat-cell strong {
  display: block;
  font-size: 19px;
}

.post-card {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px;
}

.post-card.is-staff-post {
  border-left: 3px solid #f0438f;
  background:
    linear-gradient(90deg, rgba(240, 67, 143, 0.12), rgba(240, 67, 143, 0)),
    var(--surface);
}

.post-sidebar {
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.post-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  font-size: 20px;
}

.staff-author {
  color: #ff5ca3 !important;
  font-weight: 800;
}

.role-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--role-color, inherit);
}

.role-label.is-compact {
  font-size: 12px;
}

.role-owner {
  color: #ff5a88;
}

.role-developer {
  color: #44d4ff;
}

.role-sadmin {
  color: #ff7b4d;
}

.role-admin {
  color: #4da4ff;
}

.role-moderator {
  color: #67d46d;
}

.role-member {
  color: #d8deea;
}

.role-badge {
  border: 0;
  background: var(--role-color-soft, rgba(240, 67, 143, 0.16));
  color: var(--role-color, #ff8ebf);
}

.role-pill {
  text-transform: none;
  background: var(--role-color-soft, rgba(240, 67, 143, 0.16));
  color: var(--role-color, #ff9dc7);
}

.member-staff-pill {
  display: inline-block;
  margin: 8px 0 2px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(240, 67, 143, 0.15);
  color: #ff9dc7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-pill.role-owner {
  background: rgba(255, 90, 136, 0.16);
  color: #ff9fbb;
}

.role-pill.role-developer {
  background: rgba(68, 212, 255, 0.16);
  color: #8fe6ff;
}

.role-pill.role-sadmin {
  background: rgba(255, 123, 77, 0.16);
  color: #ffb08e;
}

.role-pill.role-admin {
  background: rgba(77, 164, 255, 0.16);
  color: #9acbff;
}

.role-pill.role-moderator {
  background: rgba(103, 212, 109, 0.16);
  color: #abedaf;
}

.role-pill.role-member {
  background: rgba(216, 222, 234, 0.12);
  color: #d8deea;
}

.member-meta-sep {
  margin: 0 6px;
  color: var(--muted);
}

.group-legend-card {
  margin: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #1b212a;
}

.group-legend-title {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #ffffff;
  font-weight: 800;
}

.group-legend-body {
  padding: 16px;
}

.group-legend-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #eef3fb;
  font-weight: 800;
}

.group-legend-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}

.group-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.post-main p:last-child {
  margin-bottom: 0;
}

.post-signature {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.post-signature-text {
  margin-bottom: 14px;
  color: #dbe3f1;
  line-height: 1.65;
}

.post-signature-media {
  display: block;
  max-width: min(100%, 720px);
  max-height: 320px;
  margin-top: 0;
  border-radius: 0;
  border: 0;
  object-fit: contain;
}

.post-signature-media.is-left {
  margin-left: 0;
  margin-right: auto;
}

.post-signature-media.is-center {
  margin-left: auto;
  margin-right: auto;
}

.post-signature-media.is-right {
  margin-left: auto;
  margin-right: 0;
}

.reply-box {
  margin-top: 14px;
  padding: 18px;
  background: #23272e;
}

.reply-composer {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.reply-composer-avatar {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #d469df 0%, #bb56d4 100%);
  color: #ffffff;
  font-size: 22px;
}

.reply-composer-shell {
  min-width: 0;
}

.reply-composer-collapsed {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #555b66;
  border-radius: 4px;
  background: #21252b;
  color: #9ba9c1;
  text-align: left;
}

.reply-composer-placeholder {
  position: relative;
  display: inline-block;
  padding-left: 22px;
}

.reply-composer-placeholder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translateY(-58%);
}

.reply-composer-placeholder::after {
  content: "";
  position: absolute;
  left: 12px;
  top: calc(50% + 3px);
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.reply-composer-expanded {
  display: none;
  border: 1px solid #555b66;
  border-radius: 4px;
  background: #21252b;
  overflow: hidden;
  padding-bottom: 12px;
}

.reply-composer.is-expanded .reply-composer-collapsed {
  display: none;
}

.reply-composer.is-expanded .reply-composer-expanded {
  display: block;
}

.reply-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #3c424b;
}

.reply-toolbar-button {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #d6dfef;
  font-weight: 700;
}

.reply-toolbar-button.is-dimmed {
  opacity: 0.55;
}

.reply-composer-expanded textarea {
  min-height: 258px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #ffffff;
  resize: vertical;
}

.reply-composer-expanded textarea:focus {
  outline: none;
}

.reply-attach-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  margin: 0 8px 10px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #353a44;
  color: #dfe7f7;
  cursor: pointer;
}

.reply-attach-bar input {
  display: none;
}

.reply-attach-copy {
  font-weight: 700;
}

.reply-attach-note {
  color: #9cabc5;
}

.reply-attach-icon {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #cfd8ea;
  font-weight: 700;
}

.reply-composer-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 10px 0;
}

.reply-composer-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dfe7f7;
  font-weight: 700;
}

.reply-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reply-toggle-slider {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #58606f;
}

.reply-toggle-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.reply-toggle input:checked + .reply-toggle-slider {
  background: #f14698;
}

.reply-toggle input:checked + .reply-toggle-slider::after {
  transform: translateX(20px);
}

.reply-submit-button {
  min-width: 142px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f14698 0%, #df3b89 100%);
  box-shadow: none;
}

.sidebar-card h3,
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.sidebar-list,
.member-list,
.activity-list,
.rule-list {
  display: grid;
  gap: 10px;
}

.sidebar-item,
.member-row,
.activity-row,
.rule-row {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-alt);
}

.member-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.forum-bottom-panels .card {
  display: grid;
  gap: 12px;
}

.online-members-panel {
  padding: 18px 16px 20px;
  border-radius: 12px;
  border: 1px solid #313a47;
  background: linear-gradient(180deg, #1d232c 0%, #1b212a 100%);
}

.online-members-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.online-members-accent {
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: #d7a21b;
}

.online-members-head strong {
  font-size: 14px;
  font-weight: 800;
}

.online-members-count {
  color: #e3d9b0;
  font-size: 14px;
}

.online-members-body {
  margin-top: 18px;
  color: #ffffff;
  line-height: 1.9;
}

.legend-body {
  font-weight: 700;
}

.legend-team-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.legend-team-name img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.legend-role-item {
  font-weight: 800;
}

.online-member-name {
  font-weight: 700;
}

.online-member-separator {
  color: rgba(255, 255, 255, 0.72);
}

.profile-overview,
.account-grid {
  display: grid;
  gap: 16px;
}

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

body.is-profile-route .sidebar-column {
  display: none;
}

.profile-shell {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.profile-hero {
  border: 1px solid #313744;
  border-radius: 4px;
  overflow: hidden;
  background: #171b22;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.profile-cover {
  position: relative;
  min-height: 332px;
  isolation: isolate;
  border-bottom: 1px solid #2c3441;
  background:
    linear-gradient(115deg, rgba(56, 89, 139, 0.82), rgba(72, 101, 151, 0.88)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 18%, transparent 18% 36%, rgba(255, 255, 255, 0.05) 36% 54%, transparent 54% 72%, rgba(255, 255, 255, 0.04) 72%);
}

.profile-cover-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(75deg, rgba(17, 28, 52, 0.28) 0 22%, transparent 22% 52%, rgba(17, 28, 52, 0.22) 52% 70%, transparent 70%),
    linear-gradient(105deg, transparent 0 32%, rgba(255, 255, 255, 0.04) 32% 48%, transparent 48% 100%);
}

.profile-cover::after {
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.12) 0%, rgba(6, 10, 18, 0.08) 52%, rgba(6, 10, 18, 0.56) 100%);
}

.profile-cover.has-custom-cover {
  background: #202632;
}

.profile-cover.has-custom-cover::before {
  background: none;
}

.profile-cover.has-custom-cover::after {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.12) 0%, rgba(10, 14, 22, 0.06) 44%, rgba(10, 14, 22, 0.46) 100%);
}

.profile-cover-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.profile-edit-hero {
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: #27344c;
  color: #ffffff;
  font-weight: 700;
}

.profile-edit-hero-secondary {
  background: rgba(22, 28, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-hero-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px 16px;
  background: #1f2329;
}

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

.profile-avatar-large {
  position: relative;
  z-index: 2;
  width: 118px;
  height: 118px;
  margin-top: -58px;
  border: 4px solid #1f2329;
  border-radius: 50%;
  background: linear-gradient(180deg, #d469df 0%, #bb56d4 100%);
  color: #ffffff;
  font-size: 56px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.profile-hero-nameblock h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 22px;
}

.profile-hero-role {
  color: #d4dbea;
  font-weight: 700;
}

.profile-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-hero-stat {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-hero-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.profile-hero-stat span {
  color: #b9c4d8;
}

.profile-online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 6px;
  border-radius: 50%;
  background: #1ec45c;
}

.profile-activity-button {
  min-width: 154px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f14698 0%, #df3b89 100%);
  box-shadow: none;
}

.profile-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

.profile-side,
.profile-feed {
  display: grid;
  gap: 16px;
  align-content: start;
}

.profile-side-card,
.profile-feed-card {
  border: 1px solid #313744;
  border-radius: 4px;
  background: #1f2329;
  overflow: hidden;
}

.profile-side-card {
  padding: 20px;
}

.profile-rank-head,
.profile-side-head,
.profile-posts-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.profile-rank-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f6e4f1;
  color: #13161c;
  font-size: 12px;
  font-weight: 900;
}

.profile-rank-bar {
  height: 10px;
  margin: 16px 0 12px;
  border-radius: 999px;
  background: #363c47;
  overflow: hidden;
}

.profile-rank-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c889d, #d4dbea);
}

.profile-badges-row {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 8px;
  margin-top: 14px;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
.profile-badge > span { min-width: 0; overflow-wrap: anywhere; }
.profile-badge .badge-art { width: 40px; height: 40px; }
.profile-badge:hover { border-color: #e6a46a70; background: #e6a46a09; }
.profile-badge:focus-visible { outline: 2px solid #e6a46a; outline-offset: 3px; }

.profile-side-head span,
.profile-posts-card .meta-text {
  color: #9fabc0;
}

.profile-post-count {
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
}

.profile-feed-card {
  padding: 0 28px;
}

.profile-activity-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-activity-item:last-child {
  border-bottom: 0;
}

.profile-activity-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.profile-activity-avatar {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #d469df 0%, #bb56d4 100%);
  color: #ffffff;
  font-size: 20px;
}

.profile-activity-head h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 18px;
}

.profile-activity-body {
  margin-top: 18px;
  color: #eef3fb;
}

.profile-activity-body p {
  margin: 0;
  line-height: 1.7;
}

.profile-activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  color: #9fabc0;
}

.profile-overview-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 24px;
  border-radius: 18px;
}

.profile-name {
  margin: 0 0 6px;
}

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

.profile-stat,
.account-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.profile-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 20px;
}

.profile-stat span {
  color: var(--muted);
}

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

.profile-detail-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.profile-detail-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.profile-detail-card a {
  color: #ffbe8d;
  text-decoration: underline;
}

.account-panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.settings-hero,
.settings-shell {
  margin-bottom: 22px;
  border: 1px solid #2b3038;
  border-radius: 4px;
  background: #1f2329;
  box-shadow: none;
}

.settings-hero {
  padding: 26px 22px;
}

.settings-hero h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 28px;
}

.settings-hero p {
  margin: 0;
  color: #97a3bb;
  font-size: 15px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

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

.admin-row,
.admin-role-create-form {
  display: grid;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.admin-row {
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(140px, 180px)) auto;
}

.admin-role-create-form {
  grid-template-columns: repeat(4, minmax(140px, 180px)) minmax(180px, 1fr) auto;
}

.admin-row label,
.admin-role-create-form label {
  display: grid;
  gap: 6px;
}

.admin-row label span,
.admin-role-create-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-inline-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.is-compact-check {
  align-self: center;
}

.is-compact-check input {
  margin-right: 8px;
}

.settings-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
}

.settings-sidebar {
  padding: 14px;
  border-right: 1px solid #3a3f47;
  background: #23272e;
}

.settings-nav-item {
  position: relative;
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #92a0ba;
  font-weight: 700;
  text-align: left;
}

.settings-nav-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #626a78;
  opacity: 0.6;
  transform: translateY(-50%);
}

.settings-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #d9e1ef;
}

.settings-nav-item.is-active {
  background: linear-gradient(180deg, #f14698 0%, #df3b89 100%);
  color: #ffffff;
}

.settings-nav-item.is-active::before {
  background: #ffffff;
  opacity: 1;
}

.settings-content {
  background: #1f2329;
}

.settings-content-head {
  padding: 22px 18px 0;
}

.settings-content-head h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.settings-content-head p {
  margin: 0;
  color: #97a3bb;
}

.settings-panel {
  margin-top: 18px;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border-top: 1px solid #373c45;
}

.settings-row strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 15px;
}

.settings-row .meta-text {
  font-size: 15px;
}

.settings-change-button {
  min-width: 84px;
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: #323740;
  color: #dbe6f8;
  font-weight: 700;
}

.settings-change-button:hover {
  background: #3b414a;
}

.settings-row-spacer {
  width: 84px;
  flex-shrink: 0;
}

.signature-settings-shell {
  margin-top: 18px;
  border-top: 1px solid #373c45;
}

.signature-settings-row {
  padding: 18px 20px;
  border-top: 1px solid #373c45;
}

.signature-settings-row:first-child {
  border-top: 0;
}

.signature-settings-row strong,
.signature-preview-shell strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 15px;
}

.signature-restrictions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.signature-rule {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #a8b3c8;
  font-size: 13px;
  font-weight: 700;
}

.signature-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 24px;
  margin-top: 14px;
}

.signature-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.signature-switch-slider {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #3a3f47;
  transition: background-color 0.18s ease;
}

.signature-switch-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.signature-switch input:checked + .signature-switch-slider {
  background: #40c986;
}

.signature-switch input:checked + .signature-switch-slider::after {
  transform: translateX(18px);
}

.signature-editor-row {
  padding-bottom: 8px;
}

.signature-editor-block {
  display: grid;
  gap: 12px;
}

.signature-editor-block textarea {
  min-height: 220px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #4a4f58;
  border-radius: 6px;
  background: #1f2329;
  color: #ffffff;
  resize: vertical;
}

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

.signature-editor-grid label {
  display: grid;
  gap: 8px;
}

.signature-editor-block input[type="url"],
.signature-editor-block input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #4a4f58;
  border-radius: 6px;
  background: #1f2329;
  color: #ffffff;
}

.signature-editor-grid span {
  color: #c5cfdf;
  font-size: 13px;
  font-weight: 700;
}

.signature-align-field {
  display: grid;
  gap: 8px;
}

.signature-align-field span {
  color: #c5cfdf;
  font-size: 13px;
  font-weight: 700;
}

.signature-align-field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #4a4f58;
  border-radius: 6px;
  background: #1f2329;
  color: #ffffff;
}

.signature-preview-row {
  padding-top: 0;
}

.signature-preview-shell {
  display: grid;
  gap: 12px;
}

.signature-preview-demo {
  min-height: 220px;
  padding: 18px 16px;
  border: 1px solid #4a4f58;
  border-radius: 6px;
  background: #1f2329;
}

.signature-preview-demo img {
  display: block;
  max-width: min(100%, 720px);
  max-height: 260px;
  margin-top: 12px;
  object-fit: contain;
}

.signature-preview-demo img.is-left {
  margin-left: 0;
  margin-right: auto;
}

.signature-preview-demo img.is-center {
  margin-left: auto;
  margin-right: auto;
}

.signature-preview-demo img.is-right {
  margin-left: auto;
  margin-right: 0;
}

.signature-preview-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: #7f8aa0;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.signature-settings-actions {
  display: flex;
  justify-content: center;
  padding: 16px 20px 20px;
  border-top: 1px solid #373c45;
}

.signature-save-button {
  min-width: 112px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f14698 0%, #df3b89 100%);
  box-shadow: none;
}

.pill-button {
  padding: 9px 12px;
  background: #262d38;
  color: #eef3fb;
  font-weight: 700;
}

.danger-button {
  background: rgba(179, 51, 69, 0.22);
  color: #ff9eaa;
}

.admin-panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(240, 67, 143, 0.22);
  border-radius: 12px;
  background: rgba(240, 67, 143, 0.06);
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-inline-form,
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-inline-form input {
  flex: 1;
  min-width: 220px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #202631;
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 29, 50, 0.55);
  z-index: 30;
}

.modal-card {
  width: min(100%, 540px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #1f252e 0%, #171c24 100%);
  box-shadow: 0 30px 70px rgba(9, 29, 55, 0.24);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
}

.icon-button {
  width: 36px;
  height: 36px;
  background: var(--surface-alt);
  color: var(--blue-deep);
  font-size: 20px;
}

.modal-form {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.modal-form > div {
  display: grid;
  gap: 12px;
}

.modal-form label {
  display: grid;
  gap: 8px;
}

.modal-form .check-row {
  margin-bottom: 0;
}

.modal-form .check-row input {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #f14698;
}

.signature-preview-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.signature-preview-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.signature-preview-card img {
  display: block;
  max-width: min(100%, 360px);
  max-height: 180px;
  border-radius: 10px;
  object-fit: contain;
}

.create-topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.create-topic-main {
  padding: 0;
}

.create-topic-side {
  padding: 24px 18px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.create-topic-side h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.create-topic-tabs {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.is-active-static {
  background: #4d576a;
  color: #fff;
}

.is-muted-static {
  background: transparent;
  color: var(--muted);
}

.form-section {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-label-row span {
  color: #ff7d7d;
  font-size: 12px;
  text-transform: uppercase;
}

.create-topic-main input,
.create-topic-main textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #4b5362;
  border-radius: 8px;
  background: #3a404d;
  color: #fff;
}

.create-topic-main textarea {
  min-height: 320px;
  resize: vertical;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--text);
}

.full-width {
  width: 100%;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1220px) {
  .page-shell {
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .sidebar-column {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: stretch;
    --header-bg-offset-x: 0px;
    --header-bg-offset-y: 0px;
    background-position:
      center center,
      center center,
      center 24%,
      center center,
      center center,
      center center,
      center center;
  }

  .header-tools-hero {
    width: min(100%, 520px);
    justify-self: start;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .main-nav-links,
  .header-tools-nav {
    width: 100%;
  }

  .header-tools-nav {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .main-nav .searchbar {
    width: min(100%, 520px);
  }

  .profile-stats-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-row,
  .admin-role-create-form {
    grid-template-columns: 1fr;
  }

  .profile-layout,
  .profile-overview-panels,
  .profile-hero-bar,
  .profile-hero-stats {
    grid-template-columns: 1fr;
  }

  .profile-hero-bar {
    display: grid;
  }

  .profile-hero-stat {
    padding-left: 0;
    border-left: 0;
  }

  .settings-shell {
    grid-template-columns: 1fr;
  }

  .settings-sidebar {
    border-right: 0;
    border-bottom: 1px solid #3a3f47;
  }

  .signature-editor-grid {
    grid-template-columns: 1fr;
  }

  .reply-composer {
    grid-template-columns: 1fr;
  }

  .reply-composer-avatar {
    width: 44px;
    height: 44px;
  }

  .reply-composer-footer,
  .reply-composer-switches {
    flex-direction: column;
    align-items: stretch;
  }

  .forum-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .forum-stats,
  .forum-lastpost {
    grid-column: 2;
  }

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

  .stat-cell {
    text-align: left;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .create-topic-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .topbar {
    background-position:
      center center,
      center center,
      center 20%,
      center center,
      center center,
      center center,
      center center;
  }

  .page-shell,
  .main-nav,
  .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-slot {
    width: 190px;
    min-width: 190px;
    height: 84px;
  }

  .brand-block h1 {
    font-size: 34px;
  }

  .page-shell {
    margin: 0;
  }

  .forum-heading,
  .hero-actions,
  .topic-list-toolbar,
  .inline-actions,
  .topic-toolbar,
  .auth-actions,
  .searchbar,
  .member-row,
  .sidebar-column {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .forum-heading,
  .section-head {
    align-items: stretch;
  }

  .main-nav {
    overflow-x: auto;
    align-items: stretch;
  }

  .main-nav-links {
    width: max-content;
  }

  .header-tools-nav {
    display: grid;
    gap: 10px;
  }

  .nav-user-menu,
  .header-tools-nav .auth-actions .nav-user-menu,
  .header-tools-nav .auth-actions .nav-user-chip,
  .header-tools-nav .auth-actions .nav-auth-box {
    width: 100%;
  }

  .header-tools-nav .nav-user-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .settings-row {
    align-items: flex-start;
  }
}

.chatbox { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.chatbox-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.chatbox-head h3 { margin: 0; font-size: 17px; }
#chatbox-status { font-size: 12px; color: var(--muted); }
.chatbox-messages { height: 250px; overflow-y: auto; padding: 8px 18px; overscroll-behavior: contain; }
.chatbox-message { padding: 9px 0; border-bottom: 1px solid var(--line); }
.chatbox-message:last-child { border-bottom: 0; }
.chatbox-message-meta { display: flex; align-items: baseline; gap: 12px; }
.chatbox-message-meta strong { color: var(--blue-deep); font-size: 14px; }
.chatbox-message-meta { flex-wrap: wrap; gap: 5px 12px; }
.chatbox-author-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.chatbox-message-meta .chatbox-author { color: var(--role-color, var(--text)); overflow-wrap: anywhere; }
.chatbox-author { text-decoration: none; font-weight: 700; }
.chatbox-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.chatbox-author:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.chatbox-author-group .role-pill { margin: 0; padding: 2px 6px; font-size: 10px; line-height: 1.5; white-space: normal; }
.chatbox-author.is-sparkling { position: relative; padding-right: 12px; text-shadow: 0 0 8px var(--role-color); }
.name-emblem { display: inline-block; width: 17px; height: 17px; flex: 0 0 17px; vertical-align: -3px; margin-right: 5px; }
.legend-role-item { display: inline-flex; align-items: center; gap: 2px; }
.legend-role-item .name-emblem { margin-right: 3px; }
.role-name-sparkling { position: relative; padding-right: 12px; text-shadow: 0 0 8px var(--role-color); }
.legend-role-item.role-member:not(.role-name-sparkling) { font-weight: 400; text-shadow: none; }
.chatbox-message-meta .chatbox-author:not(.is-sparkling) { font-weight: 400; }
.chatbox-author-group .role-pill.role-member { background: transparent; border: 0; padding: 0; font-weight: 400; }
.role-donator { color: var(--role-color, #b58a35); }
.profile-social { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.post-reactions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.post-reaction { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px; background: transparent; color: var(--text); font-variant-numeric: tabular-nums; }
.post-reaction:hover { border-color: #c87542; }
.post-reaction.is-selected { border-color: #c87542; background: #c8754225; color: #f4c391; }
.post-reaction:focus-visible { outline: 2px solid #c87542; outline-offset: 3px; }
.post-reaction.rep-compact { position: relative; height: 38px; min-height: 38px; gap: 10px; padding: 0 13px; margin-left: 2px; border: 1px solid #9c7945; border-radius: 20px; color: #efd3a0; background: linear-gradient(160deg,#554029 0%,#352b20 48%,#28231e 100%); box-shadow: inset 0 1px 0 #f5d8a024, 0 2px 4px #00000020; }
@font-face { font-family: 'RepBlackletter'; src: url('assets-rep-blackletter.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
.rep-compact .reaction-icon { font-family: 'RepBlackletter', Georgia, serif; font-size: 21px; line-height: 1; font-weight: 700; letter-spacing: 0; text-shadow: 0 1px 1px #000b; }
.rep-compact > span:last-child { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 22px; padding-left: 9px; border-left: 1px solid #e5bf7930; font-size: 12px; font-weight: 650; color: #e4d0ad; }
.rep-wire-art { position: absolute; pointer-events: none; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; }
.rep-wire-strand { stroke: #cfab72; stroke-width: .55; opacity: .3; }
.rep-wire-barbs { stroke: #e1c393; stroke-width: .7; opacity: .65; }
.rep-compact:not(:disabled):hover { border-color: #d7b175; background: linear-gradient(160deg,#665034,#3f3122); }
.rep-compact.is-selected { color: #fff0cc; border-color: #e3bb79; background: linear-gradient(160deg,#806036,#48321c); box-shadow: inset 0 1px 0 #ffe5ac40, 0 0 8px #c3994a18; }
.rep-compact:disabled { cursor: default; opacity: 1; }

.post-reaction-totals { display: inline-flex; gap: 14px; margin-left: 4px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.reaction-total-up { color: #80d3a6; }
.reaction-total-down { color: #f28b96; }
.profile-side-head a { color: var(--muted); }
.profile-side-head a:hover { color: var(--text); text-decoration: underline; }
.badge-art { --badge-accent: #c58c69; --badge-light: #f3ddc2; display: block; flex: 0 0 auto; width: 68px; height: 68px; filter: drop-shadow(0 2px 2px #0006); }
.badge-tier-2 { --badge-accent: #de9b64; --badge-light: #ffe6c5; }
.badge-tier-3 { --badge-accent: #cba45c; --badge-light: #fff0cb; filter: drop-shadow(0 0 4px #d6a35d30) drop-shadow(0 2px 2px #0006); }
.member-badges-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 16px; padding: 0 24px 24px; }
.member-badge-item { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-alt); }
.member-badge-item.is-earned { border-color: #e6a46a40; background: linear-gradient(135deg,#e6a46a09,transparent 75%),var(--surface-alt); }
.member-badge-item.is-locked .badge-art { filter: grayscale(.85); opacity: .48; }
.member-badge-info { min-width: 0; flex: 1; }
.member-badge-info h4 { margin: 4px 0 7px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.member-badge-info p { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.badge-status { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.is-earned .badge-status { color: #e6a46a; }
.badge-progress { height: 4px; border-radius: 8px; background: #11171c; overflow: hidden; }
.badge-progress > span { display: block; height: 100%; border-radius: inherit; background: #b37e59; }
.is-earned .badge-progress > span { background: #e6a46a; }
.badge-progress-text { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.badge-section-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 24px; font-size: 17px; }
.badge-section-title > span { color: var(--muted); font-size: 12px; font-weight: 400; }
@media(max-width:480px) { .member-badges-list { padding: 0 16px 16px; } .member-badge-item { padding: 16px; gap: 12px; } .member-badge-item .badge-art { width: 56px; height: 56px; } .badge-section-title { padding: 20px 16px; } }
.profile-social-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-social h3 { margin: 0 0 16px; font-size: 18px; }
.profile-social-head h3 { margin: 0; }
.profile-heart { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 24px; background: transparent; color: var(--muted); font-weight: 700; }
.profile-heart > span:first-child { font-size: 24px; line-height: 1; }
.profile-heart.is-liked { color: #ff526b; border-color: #ff526b80; background: #ff526b12; }
.profile-heart:focus-visible { outline: 2px solid #ff526b; outline-offset: 3px; }
.profile-comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.profile-comment > a { font-weight: 700; }
.profile-comment time { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.profile-comment p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.profile-comment-form { display: grid; gap: 12px; margin-top: 22px; }
.profile-comment-form textarea { width: 100%; padding: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; resize: vertical; }
.profile-comment-form button { justify-self: start; }
.donator-melting { position: relative; display: inline-block; color: var(--role-color, #b58a35); text-shadow: 0 1px 2px currentColor; }
.donator-melting::before, .donator-melting::after { content: ''; position: absolute; pointer-events: none; top: calc(100% - 3px); width: 3px; height: 5px; border-radius: 0 0 70% 70%; background: currentColor; transform-origin: top; animation: donator-melt 4.8s ease-in-out infinite; }
.donator-melting::before { left: 27%; }
.donator-melting::after { left: 73%; width: 2px; animation-delay: -2.4s; }
@keyframes donator-melt { 0%, 100% { transform: scaleY(.35); opacity: .45; } 55% { transform: scaleY(1.4); opacity: .9; } 80% { transform: translateY(2px) scaleY(.6); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .donator-melting::before, .donator-melting::after { animation: none; transform: scaleY(.5); } }
.donator-money { width: 20px; height: 19px; flex-basis: 20px; animation: donator-float 3s ease-in-out infinite; }
.chatbox-author-group .role-pill .donator-money { display: none; }
@keyframes donator-float { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .donator-money { animation: none; } }
.chatbox-sparkles { position: absolute; right: 0; top: -3px; color: #ffe9ac; font-size: 10px; line-height: 1; pointer-events: none; animation: chatbox-sparkle 3.6s ease-in-out infinite; }
.chatbox-sparkles::after { content: '✧'; position: absolute; right: 5px; top: 11px; font-size: 7px; }
@keyframes chatbox-sparkle { 0%, 100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 3px #ffe9ac); } }
@media (prefers-reduced-motion: reduce) { .chatbox-sparkles { animation: none; opacity: .8; } }
.chatbox-message time { font-size: 11px; color: var(--muted); }
.chatbox-message p { margin: 3px 0 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chatbox-form { display: flex; gap: 10px; padding: 14px 18px 0; border-top: 1px solid var(--line); }
.chatbox-form { position: relative; gap: 7px; }
.chatbox-emoji-toggle { flex: 0 0 34px; padding: 0; min-width: 34px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: #e8bb86; font-size: 25px; }
.chatbox-emoji-toggle:hover, .chatbox-emoji-toggle[aria-expanded="true"] { border-color: #c87542; background: #c875421a; }
.chatbox-emojis { position: absolute; z-index: 5; left: 14px; right: 14px; bottom: calc(100% + 8px); display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; padding: 10px; border: 1px solid #745237; border-radius: 10px; background: #1b2028; box-shadow: 0 8px 24px #0006; }
.chatbox-emojis[hidden] { display: none; }
.chatbox-emojis button { min-height: 36px; padding: 4px; border: 0; border-radius: 6px; background: transparent; font-size: 22px; line-height: 1.2; }
.chatbox-emojis button:hover { background: #c8754225; }
.chatbox-emojis button:focus-visible, .chatbox-emoji-toggle:focus-visible { outline: 2px solid #c87542; outline-offset: 2px; }
.chatbox-form input { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; }
.chatbox-form input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.chatbox-form :disabled { opacity: .5; cursor: not-allowed; }
.chatbox-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.chatbox-hint, .chatbox-empty { color: var(--muted); font-size: 12px; }
.chatbox-hint { padding: 0 18px; min-height: 18px; }
@media (max-width: 600px) { .chatbox-head { align-items: flex-start; flex-direction: column; gap: 4px; } .chatbox-form { padding: 12px 12px 0; } .chatbox-messages { padding: 8px 12px; } }
.chatbox-controls { display: flex; gap: 8px; margin-left: auto; }
.chatbox-controls button, .chatbox-open { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-soft); color: var(--text); font-size: 12px; }
.chatbox-controls button:hover, .chatbox-open:hover { background: var(--surface-alt); border-color: var(--blue); }
.chatbox-controls button:focus-visible, .chatbox-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.chatbox-open { margin-bottom: 20px; }
#chatbox[hidden], #chatbox-open[hidden], #chatbox-body[hidden] { display: none; }
@media (max-width: 600px) { .chatbox-controls { margin-left: 0; margin-top: 6px; } }

/* Keep the complete banner artwork and logo visible without cropping. */
.topbar {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: auto auto;
  gap: 8px 24px;
  min-height: 290px;
  padding: 24px 32px;
  background: linear-gradient(120deg, #191a22, #292025 65%, #171b23);
}
.header-art {
  grid-column: 2;
  grid-row: 1 / 3;
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  align-self: center;
  pointer-events: none;
}
.topbar .brand-wrap {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 18px;
  flex-direction: row;
  align-items: center;
  align-self: end;
}
.topbar .logo-slot {
  flex: 0 0 140px;
  width: 140px;
  min-width: 0;
  height: 140px;
  padding: 0;
  overflow: visible;
}
.topbar .logo-slot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
}
.topbar .brand-block { min-width: 0; padding: 0; background: none; }
.topbar .brand-block h1 { font-size: clamp(24px, 2.4vw, 42px); line-height: 1.1; overflow-wrap: anywhere; }
.topbar .brand-kicker { font-size: 11px; line-height: 1.5; }
.topbar .header-tools-hero {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
  justify-self: start;
  align-self: start;
}
@media (max-width: 980px) {
  .topbar { padding: 20px; gap: 8px 16px; min-height: 240px; }
  .topbar .logo-slot { flex-basis: 100px; width: 100px; height: 100px; }
  .topbar .brand-wrap { gap: 12px; }
}
@media (max-width: 600px) {
  .topbar { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 16px; gap: 12px; }
  .header-art { grid-column: 1; grid-row: 1; max-height: 210px; }
  .topbar .brand-wrap { grid-column: 1; grid-row: 2; }
  .topbar .header-tools-hero { grid-column: 1; grid-row: 3; }
  .topbar .brand-block h1 { font-size: 24px; }
}
