@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-mono-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-mono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-mono-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-mono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ground: #080c0b;
  --panel: #0e1412;
  --panel-raised: #131b18;
  --panel-hover: #17211d;
  --text: #f4f7f5;
  --text-secondary: rgba(244, 247, 245, 0.74);
  --text-tertiary: rgba(244, 247, 245, 0.5);
  --line: rgba(244, 247, 245, 0.1);
  --line-strong: rgba(244, 247, 245, 0.28);
  --accent: #34d690;
  --accent-hover: #4ee3a1;
  --accent-soft: rgba(52, 214, 144, 0.12);
  --accent-ink: #03150c;
  --staff: #f6c262;
  --danger: #ff7b70;
  --warning: #f6c262;
  --font: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --radius: 0.6rem;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  background: var(--ground);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(70rem 30rem at 15% -10%, rgba(52, 214, 144, 0.07), transparent 70%),
    radial-gradient(60rem 30rem at 100% 0%, rgba(80, 140, 255, 0.05), transparent 70%),
    var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.muted {
  color: var(--text-tertiary);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 11, 0.86);
  backdrop-filter: blur(14px);
}

.top__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 84rem;
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: auto;
  height: 2.375rem;
}

.brand small {
  padding-left: 0.6rem;
  border-left: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 0.25rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.is-active {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  color: var(--text-tertiary);
}

.search .icon {
  position: absolute;
  left: 0.7rem;
}

.search input[type='search'] {
  width: 11rem;
  padding: 0.45rem 0.8rem 0.45rem 2.1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s, width 0.2s var(--ease);
}

.search input[type='search']:focus {
  width: 17rem;
  outline: none;
  border-color: var(--accent);
}

.me {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.me__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--text-secondary);
}

.me__icon:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.me__icon.has-badge::after {
  content: attr(data-count);
  position: absolute;
  top: 0.1rem;
  right: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.1rem;
  text-align: center;
  color: var(--accent-ink);
  background: var(--accent);
}

.me__menu {
  position: relative;
}

.me__menu summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.6rem 0.2rem 0.2rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.me__menu summary::-webkit-details-marker {
  display: none;
}

.me__menu summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.me__drop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  display: flex;
  flex-direction: column;
  min-width: 12rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-raised);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5);
}

.me__drop a,
.me__drop button {
  padding: 0.5rem 0.7rem;
  border-radius: 0.35rem;
  font-size: 0.875rem;
  text-align: left;
  width: 100%;
}

.me__drop a:hover,
.me__drop button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-ink);
  background: var(--accent);
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost.is-on {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.btn--danger {
  color: var(--danger);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 123, 112, 0.5);
}

.btn--danger:hover {
  background: rgba(255, 123, 112, 0.1);
}

.btn--wide {
  width: 100%;
}

.btn.is-armed,
.act.is-armed {
  color: #fff;
  background: var(--danger);
}

.shell {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 84rem;
  margin: 0 auto;
  padding: 1.75rem var(--gutter) 3rem;
}

.shell--aside {
  grid-template-columns: minmax(0, 1fr) 20rem;
}

.shell__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.shell__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero {
  padding: 0.5rem 0 0.25rem;
}

.hero--banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 15rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero--banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 11, 0.05) 0%, rgba(8, 12, 11, 0.55) 60%, rgba(8, 12, 11, 0.9) 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__text {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero--banner p {
  color: rgba(244, 247, 245, 0.88);
}

.framed {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero p {
  max-width: 44rem;
  color: var(--text-secondary);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.crumbs a:hover {
  color: var(--accent);
}

.head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.head > div {
  flex: 1;
  min-width: 0;
}

.head h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.head p {
  color: var(--text-secondary);
}

.head__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  color: var(--accent);
  background: var(--accent-soft);
}

.head--topic h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.category,
.widget,
.topics,
.compose,
.profile,
.modbar,
.error,
.empty,
.notes,
.inbox,
.activity,
.people {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.category {
  overflow: hidden;
}

.category__name {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(52, 214, 144, 0.1), transparent 60%);
}

.forum-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 6.5rem 17rem;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

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

.forum-row:hover {
  background: var(--panel-hover);
}

.forum-row__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-tertiary);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.forum-row.is-unread .forum-row__icon {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 1.2rem rgba(52, 214, 144, 0.35);
}

.forum-row__name {
  font-size: 1rem;
  font-weight: 700;
}

.forum-row__name:hover {
  color: var(--accent);
}

.forum-row__text p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.forum-row__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
}

.forum-row__subs a {
  color: var(--text-secondary);
}

.forum-row__subs a::before {
  content: '↳ ';
  color: var(--text-tertiary);
}

.forum-row__subs a:hover {
  color: var(--accent);
}

.forum-row__count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.forum-row__count strong {
  font-size: 1rem;
  color: var(--text);
}

.forum-row__last {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-size: 0.8125rem;
}

.forum-row__last > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.forum-row__topic {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.forum-row__topic:hover {
  color: var(--accent);
}

.forum-row__last span {
  color: var(--text-tertiary);
}

.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-raised);
}

.avatar--sm {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.8125rem;
}

.avatar--md {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
}

.avatar--lg {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.9rem;
  font-size: 2rem;
}

.avatar--xl {
  width: 8rem;
  height: 8rem;
  border-radius: 1.2rem;
  font-size: 3rem;
}

.avatar--empty {
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.avatar--h0 { background: #2f8f68; }
.avatar--h1 { background: #3b7d9c; }
.avatar--h2 { background: #5a62b0; }
.avatar--h3 { background: #8a55a8; }
.avatar--h4 { background: #a8507a; }
.avatar--h5 { background: #b05b4a; }
.avatar--h6 { background: #a7783a; }
.avatar--h7 { background: #8a8a35; }
.avatar--h8 { background: #5d8d3c; }
.avatar--h9 { background: #3a8c55; }
.avatar--h10 { background: #2f8a8a; }
.avatar--h11 { background: #46709e; }

.who-link {
  font-weight: 600;
  color: var(--text);
}

.who-link:hover {
  color: var(--accent);
}

.who-link.is-staff {
  color: var(--staff);
}

.rank {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.07);
}

.rank--staff {
  color: #1c1405;
  background: var(--staff);
}

.rank--title {
  color: var(--accent);
  background: var(--accent-soft);
}

.widget {
  padding: 1rem 1.15rem;
}

.widget h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
}

.widget__count {
  padding: 0 0.45rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  color: var(--accent-ink);
  background: var(--accent);
}

.widget__note {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.latest {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.latest li {
  display: flex;
  gap: 0.6rem;
}

.latest li > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.latest a {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.latest a:hover {
  color: var(--accent);
}

.latest span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.stats {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  font-size: 0.875rem;
}

.stats dt {
  color: var(--text-tertiary);
}

.stats dd {
  font-weight: 700;
  text-align: right;
}

.stats small {
  font-weight: 400;
  color: var(--text-tertiary);
}

.online {
  font-size: 0.875rem;
  line-height: 1.7;
}

.topics {
  overflow: hidden;
}

.topic-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 8rem 9.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

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

.topic-row:hover {
  background: var(--panel-hover);
}

.topic-row.is-pinned {
  background: rgba(52, 214, 144, 0.04);
}

.topic-row__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.topic-row__title > a:not(.badge) {
  font-weight: 600;
  color: var(--text-secondary);
}

.topic-row.is-unread .topic-row__title > a:not(.badge) {
  font-weight: 800;
  color: var(--text);
}

.topic-row__title > a:not(.badge):hover {
  color: var(--accent);
}

.topic-row__meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.topic-row__stats {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.topic-row__stats strong {
  color: var(--text);
}

.topic-row__last {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.05rem 0.45rem;
  border-radius: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.badge--pin {
  color: var(--accent);
  background: var(--accent-soft);
}

.badge--new {
  color: var(--accent-ink);
  background: var(--accent);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.875rem;
}

.pager a,
.pager span {
  min-width: 2.1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.35rem;
  text-align: center;
}

.pager a {
  box-shadow: inset 0 0 0 1px var(--line);
}

.pager a:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.pager .is-current {
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
}

.pager__gap {
  color: var(--text-tertiary);
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  scroll-margin-top: 5rem;
}

.post:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.author__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.author__name {
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.author__name.is-staff {
  color: var(--staff);
}

.author__name:hover {
  color: var(--accent);
}

.author__stats {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.1rem 0.6rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  text-align: left;
}

.author__stats dt {
  color: var(--text-tertiary);
}

.author__stats dd {
  text-align: right;
}

.author__linked {
  font-size: 0.6875rem;
  color: var(--accent);
}

.author--compact {
  flex-direction: row;
  align-items: center;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.author--compact .author__meta {
  align-items: flex-start;
}

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

.post--message.is-mine {
  border-color: rgba(52, 214, 144, 0.35);
}

.post__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.post__anchor {
  font-family: var(--mono);
  color: var(--text-tertiary);
}

.post__anchor:hover {
  color: var(--accent);
}

.post__edited {
  margin-left: auto;
  font-style: italic;
}

.post-body {
  padding: 1.1rem 1.25rem;
  font-size: 0.96875rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.post__main > .post-body {
  flex: 1;
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body .md-mention {
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
  background: var(--accent-soft);
}

.post-body ul,
.post-body ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.md-h2 {
  margin: 0.6rem 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.md-h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.md-center {
  text-align: center;
}

.md-right {
  text-align: right;
}

.md-justify {
  text-align: justify;
}

.md-s-1 { font-size: 0.8em; }
.md-s-2 { font-size: 1em; }
.md-s-3 { font-size: 1.3em; }
.md-s-4 { font-size: 1.7em; font-weight: 700; }

.md-c-red { color: #ff7b70; }
.md-c-orange { color: #ffa45c; }
.md-c-yellow { color: #f6d36b; }
.md-c-green { color: #34d690; }
.md-c-teal { color: #4fd1c5; }
.md-c-blue { color: #7fb2ff; }
.md-c-purple { color: #c9a8ff; }
.md-c-pink { color: #ff8ec7; }
.md-c-gray { color: #9aa5a0; }

.md-bg-red { background: #ff7b70; }
.md-bg-orange { background: #ffa45c; }
.md-bg-yellow { background: #f6d36b; }
.md-bg-green { background: #34d690; }
.md-bg-teal { background: #4fd1c5; }
.md-bg-blue { background: #7fb2ff; }
.md-bg-purple { background: #c9a8ff; }
.md-bg-pink { background: #ff8ec7; }
.md-bg-gray { background: #9aa5a0; }

.md-img {
  display: inline-block;
  max-width: 100%;
  max-height: 40rem;
  border-radius: 0.4rem;
  vertical-align: middle;
}

.md-quote {
  margin: 0.6rem 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.4rem 0.4rem 0;
  background: rgba(255, 255, 255, 0.035);
}

.md-quote cite {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  color: var(--text-tertiary);
}

.md-quote cite a {
  color: var(--text-secondary);
  text-decoration: none;
}

.md-spoiler {
  margin: 0.6rem 0;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.02);
}

.md-spoiler summary {
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-secondary);
}

.md-spoiler > div {
  padding: 0.2rem 0.8rem 0.7rem;
}

.md-code {
  margin: 0.6rem 0;
  padding: 0.8rem 1rem;
  border-radius: 0.4rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  white-space: pre-wrap;
  background: #050807;
  box-shadow: inset 0 0 0 1px var(--line);
}

.post__signature {
  margin: 0 1.25rem;
  padding: 0.75rem 0 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.post__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--line);
}

.reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 1.9rem;
  padding: 0 0.55rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.15s, transform 0.1s;
}

.reaction.is-zero {
  opacity: 0.45;
}

.reaction:hover:not(:disabled) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.reaction.is-mine {
  opacity: 1;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.reaction:disabled {
  cursor: default;
}

.reaction__count {
  min-width: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.post__actions {
  display: flex;
  gap: 0.25rem;
}

.act {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.act:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.act--danger:hover {
  color: var(--danger);
}

.modbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-color: rgba(246, 194, 98, 0.35);
}

.modbar__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--staff);
}

select,
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='search'],
input[type='file'],
textarea {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.3);
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.field > span {
  font-weight: 700;
  color: var(--text-secondary);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-form input[type='text'] {
  flex: 1;
  min-width: 10rem;
}

.compose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.compose--reply {
  flex-direction: row;
  align-items: flex-start;
}

.compose__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.compose__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.editor {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.editor:focus-within {
  border-color: var(--accent);
}

.editor__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.tool {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 0.3rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.tool:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.tool[data-tag='i'] {
  font-style: italic;
}

.tool[data-tag='u'] {
  text-decoration: underline;
}

.tool[data-tag='s'] {
  text-decoration: line-through;
}

.tool--text {
  font-weight: 600;
}

.tool--text.is-on {
  color: var(--accent-ink);
  background: var(--accent);
}

.editor__sep {
  width: 1px;
  height: 1.3rem;
  margin: 0 0.25rem;
  background: var(--line);
}

.editor__grow {
  flex: 1;
}

.editor__colors {
  position: relative;
}

.editor__colors summary {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.3rem;
  list-style: none;
  cursor: pointer;
}

.editor__colors summary::-webkit-details-marker {
  display: none;
}

.editor__colors summary .swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: conic-gradient(#ff7b70, #f6d36b, #34d690, #7fb2ff, #c9a8ff, #ff7b70);
}

.editor__colors > div {
  position: absolute;
  z-index: 5;
  top: 2.3rem;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1.6rem);
  gap: 0.3rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--panel-raised);
}

.editor__colors .tool.swatch {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border-radius: 50%;
}

.editor textarea {
  width: 100%;
  min-height: 8rem;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 0;
  line-height: 1.6;
  resize: vertical;
  background: transparent;
}

.editor__preview {
  min-height: 8rem;
  border-top: 1px dashed var(--line);
}

.notice {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
}

.notice--ok {
  color: var(--accent);
  background: var(--accent-soft);
}

.notice--danger {
  color: var(--danger);
  background: rgba(255, 123, 112, 0.1);
}

.notice--warning {
  color: var(--warning);
  background: rgba(246, 194, 98, 0.1);
}

.empty {
  padding: 1.5rem;
  color: var(--text-tertiary);
  text-align: center;
}

.widget .empty,
.profile__body .empty {
  padding: 0.5rem 0;
  border: 0;
  text-align: left;
  background: none;
}

.locked-note {
  padding: 1rem;
  color: var(--text-tertiary);
  text-align: center;
}

.locked-note a {
  color: var(--accent);
}

.profile {
  overflow: hidden;
}

.profile__cover {
  position: relative;
  height: 13rem;
  overflow: hidden;
  background:
    radial-gradient(30rem 10rem at 20% 100%, rgba(52, 214, 144, 0.35), transparent 70%),
    radial-gradient(30rem 12rem at 90% 0%, rgba(80, 140, 255, 0.25), transparent 70%),
    var(--panel-raised);
}

.profile__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 18, 0) 45%, rgba(14, 20, 18, 0.75) 80%, var(--panel) 100%);
  pointer-events: none;
}

.profile__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: -3.5rem;
  padding: 0 1.5rem 1rem;
}

.profile__head .avatar {
  box-shadow: 0 0 0 4px var(--panel);
}

.profile__who {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.profile__who h1 {
  font-size: 1.75rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.profile__who h1.is-staff {
  color: var(--staff);
}

.profile__seen {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.profile__seen.is-online {
  color: var(--accent);
}

.profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--line);
}

.profile__stats dt {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.profile__stats dd {
  font-weight: 700;
}

.profile__body,
.columns,
.settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.widget--wide {
  grid-column: 1 / -1;
}

.activity {
  overflow: hidden;
}

.widget .activity {
  border: 0;
  background: none;
}

.activity li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.widget .activity li {
  padding: 0.6rem 0;
}

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

.activity a {
  font-weight: 700;
}

.activity a:hover {
  color: var(--accent);
}

.activity p {
  color: var(--text-secondary);
}

.activity time,
.activity span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.people {
  border: 0;
  background: none;
}

.people li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

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

.people li > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.people__place {
  width: 1.5rem;
  font-family: var(--mono);
  color: var(--text-tertiary);
}

.people__metric {
  font-size: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.search-big {
  display: flex;
  gap: 0.5rem;
}

.search-big input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.notes,
.inbox {
  overflow: hidden;
}

.notes li,
.inbox li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.notes li:last-child,
.inbox li:last-child {
  border-bottom: 0;
}

.notes li > a,
.inbox li > a {
  flex: 1;
  min-width: 0;
}

.notes li.is-unread,
.inbox li.is-unread {
  background: rgba(52, 214, 144, 0.06);
  box-shadow: inset 3px 0 0 var(--accent);
}

.notes em {
  font-style: normal;
  font-weight: 700;
}

.notes time,
.inbox time {
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--text-tertiary);
}

.inbox li > a {
  display: flex;
  flex-direction: column;
}

.inbox strong {
  font-size: 0.9375rem;
}

.inbox span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.inbox p {
  overflow: hidden;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-tertiary);
}

.members {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.members .is-left {
  text-decoration: line-through;
  opacity: 0.5;
}

.avatar-edit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2.5rem;
}

.error__code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--danger);
}

.error h1 {
  font-size: 1.75rem;
}

.error p {
  color: var(--text-secondary);
}

.is-auth {
  background:
    radial-gradient(50rem 30rem at 50% 0%, rgba(52, 214, 144, 0.12), transparent 70%),
    var(--ground);
}

.auth {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
}

.auth__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(26rem, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}

.auth__card h1 {
  font-size: 1.4rem;
  font-weight: 800;
}

.auth__lead,
.auth__switch {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.auth__switch a {
  color: var(--accent);
}

.admin-category {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-category__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.admin-category__head input[type='text'] {
  flex: 1;
  font-weight: 800;
}

.admin-category input[type='number'],
.admin-forum input[type='number'] {
  width: 5rem;
}

.admin-forum__wrap {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.admin-forum__wrap > summary {
  padding: 0.6rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-forum__wrap[open] > summary {
  border-bottom: 1px solid var(--line);
}

.admin-forum__wrap > form {
  padding: 0.75rem 0.8rem;
}

.admin-forum {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-forum__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
}

.admin-forum__row > input[type='text'] {
  flex: 1;
}

.admin-forum__row label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.admin-forum__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--accent);
}

.admin-forum__actions {
  display: flex;
  justify-content: flex-end;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 84rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.foot a:hover {
  color: var(--accent);
}

.frame-edit {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.frame-edit__view {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: var(--panel-raised);
}

.frame-edit--cover .frame-edit__view {
  aspect-ratio: 6 / 1;
}

.frame-edit--banner .frame-edit__view {
  aspect-ratio: 4 / 1;
}

.frame-edit__view.is-dragging {
  cursor: grabbing;
  border-color: var(--accent);
}

.frame-edit__hint {
  position: absolute;
  left: 0.6rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.frame-edit__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.frame-edit__zoom {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.6rem;
  min-width: 14rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.frame-edit__zoom input {
  flex: 1;
  accent-color: var(--accent);
}

.cover-edit,
.banner-edit {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.announce {
  border-bottom: 1px solid var(--line);
}

.announce__inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 84rem;
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  font-size: 0.875rem;
  font-weight: 600;
}

.announce__inner a {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announce--info {
  color: var(--accent);
  background: rgba(52, 214, 144, 0.1);
}

.announce--warning {
  color: var(--warning);
  background: rgba(246, 194, 98, 0.1);
}

.announce--danger {
  color: var(--danger);
  background: rgba(255, 123, 112, 0.12);
}

.nav a.nav__admin {
  color: var(--staff);
}

.nav a.nav__admin.is-active {
  background: rgba(246, 194, 98, 0.12);
  box-shadow: inset 0 -2px 0 var(--staff);
}

.admin {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.admin__tabs {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.admin__label {
  padding: 0.3rem 0.6rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--staff);
}

.admin__tabs a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.admin__tabs a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.admin__tabs a.is-active {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.admin__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.tile span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.tile strong {
  font-size: 1.75rem;
  font-weight: 800;
}

.tile small {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-users li {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

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

.admin-users a {
  font-weight: 700;
}

.admin-users a:hover {
  color: var(--accent);
}

.admin-users span,
.admin-users time {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.widget--accent {
  border-color: rgba(52, 214, 144, 0.35);
  background: linear-gradient(90deg, rgba(52, 214, 144, 0.08), transparent 70%), var(--panel);
}

.field--grow {
  flex: 1;
}

.toggle {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

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

.toggle__track {
  position: relative;
  flex-shrink: 0;
  width: 2.6rem;
  height: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.15s;
}

.toggle__track::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.15s var(--ease);
}

.toggle input:checked + .toggle__track {
  background: var(--accent);
}

.toggle input:checked + .toggle__track::after {
  transform: translateX(1.1rem);
}

.toggle input:focus-visible + .toggle__track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.toggle__text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}

.toggle__text small {
  color: var(--text-tertiary);
}

.icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.icon-picker label {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.icon-picker label:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.icon-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.icon-picker label:has(input:checked) {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: none;
}

.admin-forum__wrap > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-forum__wrap > summary .icon {
  color: var(--accent);
}

.admin-forum__wrap.is-child {
  margin-left: 1.75rem;
}

.admin-forum__title {
  flex: 1;
}

.admin-forum__meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.admin-forum__wrap--new > summary {
  color: var(--accent);
}

.admin-forum__delete {
  padding: 0 0.8rem 0.8rem;
}

.badge--danger {
  color: var(--danger);
  background: rgba(255, 123, 112, 0.12);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-tertiary);
}

.table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tr.is-banned td {
  opacity: 0.6;
}

.table__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table__user a {
  font-weight: 700;
}

.table__user a:hover {
  color: var(--accent);
}

.tint {
  --tint: 52, 214, 144;
}

.tint--megaphone { --tint: 255, 160, 80; }
.tint--scale { --tint: 180, 140, 255; }
.tint--book { --tint: 110, 170, 255; }
.tint--chat { --tint: 52, 214, 144; }
.tint--help { --tint: 80, 210, 200; }
.tint--bulb { --tint: 246, 210, 90; }
.tint--image { --tint: 255, 130, 190; }
.tint--wave { --tint: 255, 185, 100; }
.tint--flag { --tint: 255, 110, 100; }
.tint--shield { --tint: 100, 160, 255; }
.tint--mask { --tint: 200, 120, 255; }
.tint--store { --tint: 70, 205, 170; }
.tint--tag { --tint: 255, 200, 90; }
.tint--globe { --tint: 90, 200, 255; }
.tint--key { --tint: 240, 200, 100; }
.tint--alert { --tint: 255, 120, 100; }
.tint--skull { --tint: 220, 120, 130; }
.tint--bug { --tint: 160, 220, 80; }
.tint--monitor { --tint: 120, 180, 255; }
.tint--coffee { --tint: 225, 160, 110; }
.tint--gamepad { --tint: 170, 130, 255; }
.tint--pin { --tint: 52, 214, 144; }
.tint--lock { --tint: 200, 200, 200; }
.tint--mail { --tint: 110, 180, 255; }
.tint--user,
.tint--users { --tint: 110, 200, 255; }
.tint--trophy { --tint: 246, 194, 98; }
.tint--activity { --tint: 52, 214, 144; }

.forum-row__icon.tint {
  color: rgb(var(--tint));
  background: rgba(var(--tint), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.forum-row:hover .forum-row__icon.tint {
  transform: scale(1.06) rotate(-4deg);
  background: rgba(var(--tint), 0.2);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.6), 0 0 1.4rem rgba(var(--tint), 0.25);
}

.forum-row.is-unread .forum-row__icon.tint {
  color: #0b0f0d;
  background: rgb(var(--tint));
  box-shadow: 0 0 1.4rem rgba(var(--tint), 0.45);
}

.forum-row.is-unread .forum-row__name::after {
  content: 'új';
  margin-left: 0.45rem;
  padding: 0.05rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 800;
  vertical-align: 0.12em;
  color: var(--accent-ink);
  background: var(--accent);
}

.forum-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 70%);
}

.head__icon.tint {
  color: rgb(var(--tint));
  background: rgba(var(--tint), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.35), 0 0 2rem rgba(var(--tint), 0.15);
}

.category {
  --cat: 52, 214, 144;
  position: relative;
}

.category--1 { --cat: 110, 170, 255; }
.category--2 { --cat: 255, 120, 110; }
.category--3 { --cat: 200, 130, 255; }
.category--4 { --cat: 246, 194, 98; }
.category--5 { --cat: 80, 210, 200; }
.category--6 { --cat: 255, 140, 190; }

.category .category__name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, rgba(var(--cat), 0.18), rgba(var(--cat), 0.04) 45%, transparent 75%);
}

.category .category__name::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgb(var(--cat));
  box-shadow: 0 0 0.8rem rgba(var(--cat), 0.8);
}

.hero--art {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(28rem 14rem at 8% 120%, rgba(52, 214, 144, 0.35), transparent 70%),
    radial-gradient(26rem 14rem at 70% -30%, rgba(110, 140, 255, 0.3), transparent 70%),
    radial-gradient(18rem 12rem at 100% 100%, rgba(255, 130, 190, 0.18), transparent 70%),
    linear-gradient(135deg, #0f1916, #0c1220);
}

.hero--art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 2.2rem 2.2rem,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 2.2rem 2.2rem;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
  pointer-events: none;
}

.hero--art .hero__text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  background: linear-gradient(90deg, #ffffff 30%, #9ff5cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.widget h2 .widget__icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.widget--latest .widget__icon {
  color: var(--accent);
  background: rgba(52, 214, 144, 0.14);
}

.widget--stats .widget__icon {
  color: var(--staff);
  background: rgba(246, 194, 98, 0.14);
}

.widget--online .widget__icon {
  color: #7fb2ff;
  background: rgba(127, 178, 255, 0.14);
}

.widget--stats dd {
  color: var(--staff);
}

.widget--latest li {
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 0.45rem;
  transition: background 0.15s;
}

.widget--latest li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.online__dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  vertical-align: 0.1em;
  background: var(--accent);
  box-shadow: 0 0 0.5rem rgba(52, 214, 144, 0.8);
}

.topic-row {
  position: relative;
}

.topic-row.is-unread::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  box-shadow: 0 0 0.8rem rgba(52, 214, 144, 0.7);
}

.topic-row.is-pinned {
  background: linear-gradient(90deg, rgba(52, 214, 144, 0.08), transparent 60%);
}

.btn {
  background: linear-gradient(135deg, #3ee39c, #22b979);
  box-shadow: 0 0.4rem 1.2rem -0.5rem rgba(52, 214, 144, 0.7);
}

.btn:hover {
  background: linear-gradient(135deg, #5af0b0, #2bc985);
}

.btn--ghost,
.btn--danger {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--danger {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 123, 112, 0.5);
}

.btn--danger:hover {
  background: rgba(255, 123, 112, 0.1);
}

.reaction:hover:not(:disabled) {
  background: rgba(246, 194, 98, 0.14);
}

.post {
  transition: border-color 0.2s;
}

.post:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.author .avatar--lg {
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px rgba(52, 214, 144, 0.35);
}

.author__name.is-staff ~ .rank--staff,
.rank--staff {
  background: linear-gradient(135deg, #ffd27a, #f0a93b);
}

.profile__stats dd {
  color: var(--accent);
}

.top {
  background:
    linear-gradient(90deg, rgba(52, 214, 144, 0.06), transparent 30%, transparent 70%, rgba(110, 140, 255, 0.06)),
    rgba(8, 12, 11, 0.86);
}

.top::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 214, 144, 0.6), rgba(110, 140, 255, 0.5), transparent);
}

.tile {
  position: relative;
  overflow: hidden;
}

.tile::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 214, 144, 0.18), transparent 70%);
}

.tile:nth-child(2)::after { background: radial-gradient(circle, rgba(110, 170, 255, 0.2), transparent 70%); }
.tile:nth-child(3)::after { background: radial-gradient(circle, rgba(200, 130, 255, 0.2), transparent 70%); }
.tile:nth-child(4)::after { background: radial-gradient(circle, rgba(246, 194, 98, 0.2), transparent 70%); }
.tile:nth-child(5)::after { background: radial-gradient(circle, rgba(80, 210, 200, 0.2), transparent 70%); }
.tile:nth-child(6)::after { background: radial-gradient(circle, rgba(255, 120, 110, 0.2), transparent 70%); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.prefix {
  --pc: 154, 165, 160;
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgb(var(--pc));
  background: rgba(var(--pc), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--pc), 0.4);
}

.head h1 .prefix {
  font-size: 0.875rem;
  padding: 0.1rem 0.6rem;
}

.prefix--green { --pc: 52, 214, 144; }
.prefix--teal { --pc: 79, 209, 197; }
.prefix--blue { --pc: 127, 178, 255; }
.prefix--purple { --pc: 201, 168, 255; }
.prefix--pink { --pc: 255, 142, 199; }
.prefix--red { --pc: 255, 123, 112; }
.prefix--orange { --pc: 255, 164, 92; }
.prefix--yellow { --pc: 246, 211, 107; }
.prefix--gray { --pc: 154, 165, 160; }

.nav a.nav__mod {
  position: relative;
  color: #7fb2ff;
}

.nav a.nav__mod.is-active {
  background: rgba(127, 178, 255, 0.12);
  box-shadow: inset 0 -2px 0 #7fb2ff;
}

.nav a.nav__mod.has-badge::after {
  content: attr(data-count);
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  background: var(--danger);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.tabs a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.tabs a.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.tabs__count {
  padding: 0 0.4rem;
  border-radius: 1rem;
  font-size: 0.6875rem;
  color: #fff;
  background: var(--danger);
}

.reports {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius);
  background: var(--panel);
}

.report-card--resolved {
  border-left-color: var(--accent);
}

.report-card--rejected {
  border-left-color: var(--line-strong);
}

.report-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.report-card header a:not(.act) {
  color: var(--accent);
}

.report-card__reason {
  font-size: 1rem;
  font-weight: 600;
}

.report-card__post {
  padding: 0.6rem 0.8rem;
  border-left: 2px solid var(--line-strong);
  border-radius: 0 0.35rem 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.report-card__post cite {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--text-tertiary);
}

.report-card__done {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.report {
  position: relative;
}

.report > summary {
  list-style: none;
  cursor: pointer;
}

.report > summary::-webkit-details-marker {
  display: none;
}

.report__form {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.4rem);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
  width: min(28rem, 80vw);
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel-raised);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
}

.report__form input {
  flex: 1;
  min-width: 0;
}

.post__pick {
  display: inline-flex;
  align-items: center;
}

.post__pick input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--staff);
}

.modbar__sep {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
}

.modbar__id {
  width: 7rem;
}

.modbar--split {
  border-color: rgba(127, 178, 255, 0.3);
}

.modbar--split .modbar__label {
  color: #7fb2ff;
}

.modbar__hint {
  flex: 1;
  min-width: 12rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.modbar input[type='text'] {
  min-width: 14rem;
}

.poll {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(127, 178, 255, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(127, 178, 255, 0.08), transparent 60%), var(--panel);
}

.poll__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.poll__head > div {
  display: flex;
  flex-direction: column;
}

.poll__head strong {
  font-size: 1.1rem;
}

.poll__head small {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.poll__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  color: #7fb2ff;
  background: rgba(127, 178, 255, 0.15);
}

.poll__results {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.poll__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.poll__label span:last-child {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.poll__bar {
  width: 100%;
  height: 0.55rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
}

.poll__bar::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
}

.poll__bar::-webkit-progress-value {
  border-radius: 1rem;
  background: linear-gradient(90deg, #7fb2ff, #34d690);
}

.poll__bar::-moz-progress-bar {
  border-radius: 1rem;
  background: linear-gradient(90deg, #7fb2ff, #34d690);
}

.poll__results li.is-mine .poll__label span:first-child {
  font-weight: 800;
  color: var(--accent);
}

.poll__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.poll__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.poll__option:hover,
.poll__option:has(input:checked) {
  background: rgba(127, 178, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(127, 178, 255, 0.5);
}

.poll__option input {
  accent-color: #7fb2ff;
}

.poll__note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.poll-edit {
  border: 1px dashed var(--line-strong);
  border-radius: 0.5rem;
}

.poll-edit > summary {
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  color: #7fb2ff;
  cursor: pointer;
}

.poll-edit > .stack {
  padding: 0 0.85rem 0.85rem;
}

.compose__title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
}

.field--prefix {
  min-width: 9rem;
}

.forum-checks {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 16rem;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.forum-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.forum-check input {
  accent-color: var(--accent);
}

.forum-check--d1 { padding-left: 1.25rem; }
.forum-check--d2 { padding-left: 2.5rem; }
.forum-check--d3 { padding-left: 3.75rem; }
.forum-check--d4 { padding-left: 5rem; }

.admin-forum__wrap--d1 { margin-left: 1.5rem; }
.admin-forum__wrap--d2 { margin-left: 3rem; }
.admin-forum__wrap--d3 { margin-left: 4.5rem; }
.admin-forum__wrap--d4 { margin-left: 6rem; }

.warnings {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.warnings li {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--warning);
  border-radius: 0 0.4rem 0.4rem 0;
  background: rgba(246, 194, 98, 0.07);
}

.warnings small {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.widget--warn {
  border-color: rgba(246, 194, 98, 0.35);
}

.ban-state {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.8rem;
  border-radius: 0.45rem;
  color: var(--danger);
  background: rgba(255, 123, 112, 0.1);
}

.ban-state small {
  color: var(--text-secondary);
}

.table__wrap {
  white-space: normal;
}

.award--gold { --aw: 246, 196, 90; --aw2: 255, 230, 160; }
.award--silver { --aw: 190, 200, 210; --aw2: 240, 245, 250; }
.award--bronze { --aw: 205, 127, 70; --aw2: 240, 180, 130; }
.award--green { --aw: 52, 214, 144; --aw2: 160, 245, 205; }
.award--teal { --aw: 79, 209, 197; --aw2: 170, 240, 235; }
.award--blue { --aw: 127, 178, 255; --aw2: 190, 215, 255; }
.award--purple { --aw: 190, 140, 255; --aw2: 225, 200, 255; }
.award--pink { --aw: 255, 130, 190; --aw2: 255, 195, 225; }
.award--red { --aw: 255, 110, 100; --aw2: 255, 180, 170; }
.award--orange { --aw: 255, 160, 80; --aw2: 255, 205, 150; }

.award-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
}

.award-icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #14100a;
  background: radial-gradient(circle at 35% 30%, rgb(var(--aw2)), rgb(var(--aw)) 70%);
  box-shadow: 0 0 0.6rem rgba(var(--aw), 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s var(--ease);
}

.award-icon:hover {
  transform: translateY(-2px) scale(1.12);
}

.award-icons__more {
  align-self: center;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

.profile__who .award-icons {
  justify-content: flex-start;
}

.widget__icon.award--gold {
  color: rgb(var(--aw));
  background: rgba(var(--aw), 0.15);
}

.award-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.75rem;
}

.award-card {
  display: flex;
  gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(var(--aw), 0.35);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, rgba(var(--aw), 0.14), rgba(var(--aw), 0.03) 60%, transparent);
}

.award-card__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #14100a;
  background: radial-gradient(circle at 35% 30%, rgb(var(--aw2)), rgb(var(--aw)) 70%);
  box-shadow: 0 0 1.2rem rgba(var(--aw), 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.award-card > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.award-card strong {
  color: rgb(var(--aw2));
}

.award-card em {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  color: rgb(var(--aw));
}

.award-card small {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.award-card time {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.award-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1rem;
}

.award-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem;
  border: 1px solid rgba(var(--aw), 0.35);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--aw), 0.12), transparent 55%), var(--panel);
}

.award-panel header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.award-panel header > div {
  display: flex;
  flex-direction: column;
}

.award-panel header strong {
  font-size: 1.05rem;
  color: rgb(var(--aw2));
}

.award-panel header small {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.award-holders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.award-holders li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem 0.2rem 0.2rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
}

.award-holders a {
  font-weight: 700;
}

.award-holders a:hover {
  color: rgb(var(--aw));
}

.award-holders em {
  font-size: 0.75rem;
  font-style: normal;
  color: rgb(var(--aw));
}

.award-panel__empty {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.leaders li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

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

.leaders__who {
  display: flex;
  flex-direction: column;
  min-width: 7rem;
  font-weight: 700;
}

.leaders__who small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.grant-form select {
  max-width: 14rem;
}

.leaders .grant-form {
  flex: 1;
  justify-content: flex-end;
}

.leaders .grant-form input[type='text'] {
  flex: 0 1 7rem;
  min-width: 5rem;
}

.admin-users--grants li {
  grid-template-columns: auto 1fr auto auto;
}

.admin-forum__wrap > summary .award-icon {
  color: #14100a;
}

.nav {
  overflow: visible;
}

.nav__group {
  position: relative;
}

.nav__group > summary {
  padding: 0.45rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.nav__group > summary::-webkit-details-marker {
  display: none;
}

.nav__group > summary::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.nav__group > summary:hover,
.nav__group[open] > summary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__group.is-active > summary {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav__drop {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 12rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-raised);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5);
}

.nav .nav__drop a {
  width: 100%;
}

@media (max-width: 1100px) {
  .admin {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin__tabs {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .shell--aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .forum-row {
    grid-template-columns: 2.75rem minmax(0, 1fr) 13rem;
  }

  .forum-row__count {
    display: none;
  }

  .search input[type='search'] {
    width: 9rem;
  }
}

@media (max-width: 760px) {
  .top__inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .search {
    order: 3;
    width: 100%;
  }

  .search input[type='search'],
  .search input[type='search']:focus {
    width: 100%;
  }

  .top {
    position: static;
  }

  .forum-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .forum-row__last {
    grid-column: 2;
  }

  .topic-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .topic-row__stats,
  .topic-row__last {
    display: none;
  }

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

  .author {
    flex-direction: row;
    padding: 0.75rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .author .avatar--lg {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }

  .author__meta {
    align-items: flex-start;
  }

  .author__stats {
    display: none;
  }

  .compose--reply {
    flex-direction: column;
  }

  .compose__who {
    display: none;
  }

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

  .profile__head {
    flex-wrap: wrap;
  }
}

.rank--supporter {
  margin-left: 0.3rem;
  color: #120c05;
  background: #cd8a57;
}

.rank--prestige {
  background: #9fe7ff;
}

.rank--legacy {
  color: #fff;
  background: #8b5cf6;
}
