* {
  box-sizing: border-box;
}

html {
  scrollbar-color: rgba(147, 197, 253, 0.58) rgba(2, 8, 23, 0.92);
  scrollbar-width: thin;
}

:root {
  --bg-1: #020817;
  --bg-2: #03103a;
  --panel: rgba(18, 25, 56, 0.92);
  --panel-strong: rgba(18, 25, 56, 0.98);
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: #dbeafe;
  --muted-2: #94a3b8;
  --pink: #ec4899;
  --pink-soft: #fbcfe8;
  --violet: #6d4df5;
  --blue: #4e83f0;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(109, 77, 245, 0.35), transparent 32%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22), transparent 35%),
    linear-gradient(90deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(2, 8, 23, 0.94);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(191, 219, 254, 0.66), rgba(96, 165, 250, 0.46));
  border: 3px solid rgba(2, 8, 23, 0.94);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.78), rgba(147, 197, 253, 0.58));
}

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

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 16px 50px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo span {
  color: #ff5fa2;
}

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

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 17px;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255,255,255,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.btn.primary {
  background: linear-gradient(90deg, var(--violet) 0%, var(--blue) 100%);
}

.btn.hot {
  background: linear-gradient(90deg, var(--pink) 0%, #f97316 100%);
}

.btn.secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn.disabled-btn,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  margin-bottom: 24px;
}

.hero-card,
.side-card,
.box,
.dashboard-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.hero-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "💬";
  position: absolute;
  right: 28px;
  bottom: 18px;
  font-size: 90px;
  opacity: 0.08;
  transform: rotate(-10deg);
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236,72,153,0.15);
  color: var(--pink-soft);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.5px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.side-card,
.box {
  padding: 24px;
}

.side-card h2,
.box h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.status-stack {
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  color: #eef2ff;
}

.status-pill.success {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.status-pill.info {
  background: rgba(78, 131, 240, 0.18);
  color: #bfdbfe;
}

.status-text,
.box-note {
  color: var(--muted-2);
  line-height: 1.6;
  font-size: 14px;
}

.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.rules li {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 12px;
}

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

.dashboard-card {
  padding: 20px;
}

.dashboard-label {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.dashboard-value {
  font-size: 29px;
  font-weight: 900;
  margin-bottom: 6px;
}

.dashboard-note {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}

.box {
  margin-bottom: 22px;
}

.box-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.category {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  margin-bottom: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.category-button {
  width: 100%;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.category:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
}

.category.active {
  background: linear-gradient(135deg, rgba(109, 77, 245, 0.22), rgba(78, 131, 240, 0.16));
  border: 1px solid rgba(147, 197, 253, 0.24);
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.cat-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 4px;
}

.cat-desc {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.4;
  max-width: 560px;
}

.cat-meta {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  justify-self: start;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.topic-list-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  color: #cbd5e1;
  line-height: 1.6;
}

.topic-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}

.topic-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.topic-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 0;
}

.topic-pin-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(236, 72, 153, 0.16));
  cursor: pointer;
  padding: 0;
  color: #fde68a;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: filter 0.16s ease, transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.topic-pin-btn span {
  transform: translateY(-1px);
}

.topic-pin-btn:hover,
.topic-pin-btn:focus-visible {
  border-color: rgba(251, 191, 36, 0.48);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(236, 72, 153, 0.24));
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.18));
  transform: translateY(-1px);
  outline: none;
}

.topic-pin-btn.is-active {
  border-color: rgba(251, 191, 36, 0.54);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.32), rgba(236, 72, 153, 0.24));
  color: #fff7ed;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.18));
}

.topic-pin-marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.topic-pin-marker span {
  transform: translateY(-1px);
}

.topic-pin-marker.is-active {
  border-color: rgba(251, 191, 36, 0.48);
  background: rgba(251, 191, 36, 0.22);
}

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

.topic-moderation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.topic-moderation-btn:hover {
  transform: translateY(-1px);
}

.topic-moderation-btn-delete {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.20), rgba(249, 115, 22, 0.18));
  border-color: rgba(251, 113, 133, 0.35);
  color: #ffe4e6;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.14);
}

.topic-moderation-btn-delete:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.30), rgba(249, 115, 22, 0.24));
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.18);
}

.topic-moderation-btn-lock {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(59, 130, 246, 0.12));
  border-color: rgba(132, 204, 22, 0.28);
  color: #dcfce7;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.10);
}

.topic-moderation-btn-lock:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(59, 130, 246, 0.18));
  border-color: rgba(163, 230, 53, 0.46);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.14);
}

.topic-moderation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 14px;
  line-height: 1;
}

.topic-item-preview {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.topic-read-more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #93c5fd;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.16s ease, text-shadow 0.16s ease, transform 0.16s ease;
}

.topic-read-more:hover,
.topic-read-more:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(147, 197, 253, 0.45);
  transform: translateX(2px);
  outline: none;
}

.topic-item-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
}

.topic-item-clickable {
  cursor: pointer;
}

.topic-item-clickable:hover {
  border-color: rgba(147, 197, 253, 0.18);
  background: rgba(255,255,255,0.075);
}

.topic-item-locked {
  border-color: rgba(148, 163, 184, 0.12);
}

.topic-item-selected {
  border-color: rgba(147, 197, 253, 0.30);
  background: linear-gradient(135deg, rgba(109, 77, 245, 0.16), rgba(78, 131, 240, 0.12));
}

.topic-detail-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.topic-detail-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}

.topic-detail-body {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
  margin-bottom: 14px;
}

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

.reply-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.reply-item-starter {
  background: linear-gradient(135deg, rgba(109, 77, 245, 0.15), rgba(236, 72, 153, 0.08));
  border-color: rgba(147, 197, 253, 0.20);
}

.reply-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.reply-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #cbd5e1;
}

.reply-item-author {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
}

.board-author-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid rgba(251, 191, 36, 0.72);
  transition: color 0.15s ease, border-color 0.15s ease, text-shadow 0.15s ease;
}

.board-author-link:hover,
.board-author-link:focus-visible {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.96);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.16);
  outline: none;
}

.board-author-plain {
  color: #ffffff;
}

.reply-item-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
}

.reply-item-body {
  color: #dbeafe;
  line-height: 1.7;
  white-space: pre-wrap;
}

.post-edit-info {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.post-edit-btn {
  appearance: none;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(147, 197, 253, 0.08);
  color: #bfdbfe;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1.1;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.post-edit-btn:hover,
.post-edit-btn:focus-visible {
  color: #ffffff;
  border-color: rgba(147, 197, 253, 0.42);
  background: rgba(147, 197, 253, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.reply-item-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.post-heart-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(191, 219, 254, 0.20);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.035);
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.post-heart-icon {
  color: rgba(219, 234, 254, 0.78);
  font-size: 19px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(219, 234, 254, 0.86);
  text-shadow: none;
}

@supports (-webkit-text-stroke: 1px #fff) {
  .post-heart-icon {
    color: transparent;
  }
}

.post-heart-btn:hover,
.post-heart-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(244, 114, 182, 0.34);
  background: rgba(244, 114, 182, 0.08);
  color: #fce7f3;
  outline: none;
}

.post-heart-btn:hover .post-heart-icon,
.post-heart-btn:focus-visible .post-heart-icon {
  -webkit-text-stroke-color: rgba(251, 207, 232, 0.92);
}

.post-heart-btn.is-active {
  border-color: rgba(244, 114, 182, 0.42);
  background: rgba(244, 114, 182, 0.12);
  color: #fbcfe8;
  box-shadow: 0 10px 20px rgba(244, 114, 182, 0.10);
}

.post-heart-btn.is-active .post-heart-icon {
  color: #fb7185;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 12px rgba(251, 113, 133, 0.35);
}

.post-heart-btn:disabled {
  cursor: default;
  opacity: 0.68;
  transform: none;
}

.reply-moderation-btn {
  appearance: none;
  border: 1px solid rgba(251, 113, 133, 0.28);
  background: rgba(244, 63, 94, 0.11);
  color: #fecdd3;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  line-height: 1.1;
  display: inline-grid;
  place-items: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.reply-moderation-btn:hover,
.reply-moderation-btn:focus-visible {
  color: #ffffff;
  border-color: rgba(251, 113, 133, 0.48);
  background: rgba(244, 63, 94, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.topic-inline-link {
  appearance: none;
  border: 1px solid rgba(132, 204, 22, 0.32);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(163, 230, 53, 0.08));
  color: #d9ffb0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.1;
  transition: color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.topic-inline-link:hover,
.topic-inline-link:focus-visible {
  color: #ffffff;
  border-color: rgba(163, 230, 53, 0.52);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(163, 230, 53, 0.14));
  transform: translateY(-1px);
  outline: none;
}

.topic-state-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.topic-state-badge-locked {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.10);
  color: #cbd5e1;
}

.topic-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}

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

.form-field span {
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: #202a50;
  color: #ffffff;
  padding: 14px 16px;
  font: inherit;
  resize: vertical;
  outline: none;
  color-scheme: dark;
}

.form-field select {
  appearance: auto;
}

.form-field select option {
  background: #202a50;
  color: #ffffff;
}

.form-field select option:checked {
  background: #2f3d72;
  color: #ffffff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 0 3px rgba(109, 77, 245, 0.18);
}

.board-char-counter {
  justify-self: end;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

.board-char-counter.warn {
  color: #facc15;
}

.board-char-counter.danger {
  color: #fb7185;
}

.board-char-counter-modal {
  margin: 8px 0 10px;
}

.board-smiley-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  max-height: 116px;
  overflow-y: auto;
  scrollbar-color: #1c2a4a #0a1228;
  scrollbar-width: thin;
}

.board-smiley-bar-modal {
  margin: -4px 0 14px;
}

.board-smiley-btn {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  line-height: 1;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.board-smiley-btn:hover,
.board-smiley-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.42);
  background: rgba(147, 197, 253, 0.13);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  outline: none;
}

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

.board-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(8px);
}

.board-modal-overlay[hidden] {
  display: none;
}

.board-modal {
  width: min(720px, 100%);
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 22px;
  background: rgba(18, 25, 56, 0.98);
  box-shadow: 0 28px 80px rgba(0,0,0,0.46);
  padding: 20px;
}

.board-confirm-modal {
  width: min(460px, 100%);
  border-color: rgba(244, 114, 182, 0.24);
}

.board-confirm-target {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fecdd3;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.20);
  font-weight: 800;
  word-break: break-word;
}

.board-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.board-modal-head h2 {
  margin: 0 0 6px;
}

.board-modal-close {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #dbeafe;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.board-modal-close:hover,
.board-modal-close:focus-visible {
  background: rgba(244, 114, 182, 0.14);
  border-color: rgba(244, 114, 182, 0.35);
  color: #ffffff;
  outline: none;
}

.board-modal textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  padding: 14px 15px;
  font: inherit;
  line-height: 1.6;
  outline: none;
  margin-bottom: 14px;
}

.board-modal textarea:focus {
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 0 3px rgba(109, 77, 245, 0.18);
}

.form-status {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.form-status.error {
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.18);
}

.form-status.info {
  background: rgba(78, 131, 240, 0.14);
  color: #bfdbfe;
  border: 1px solid rgba(78, 131, 240, 0.18);
}

.teaser-post {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  color: inherit;
  text-align: left;
  margin-bottom: 12px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

button.teaser-post {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

button.teaser-post:hover,
button.teaser-post:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(132, 204, 22, 0.22);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.20);
  outline: none;
}

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

.teaser-post strong {
  display: block;
  min-width: 0;
}

.teaser-post span {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.teaser-pin-alert {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.26), rgba(236, 72, 153, 0.18));
  color: #fff7ed;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 5px rgba(255,255,255,0.22);
  animation: pinnedAlertGlow 2.5s ease-in-out infinite;
}

@keyframes pinnedAlertGlow {
  0% {
    filter: drop-shadow(0 0 3px rgba(255, 228, 230, 0.46))
            drop-shadow(0 0 7px rgba(251, 113, 133, 0.26));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(255, 241, 242, 0.74))
            drop-shadow(0 0 12px rgba(251, 113, 133, 0.48));
  }
  100% {
    filter: drop-shadow(0 0 3px rgba(255, 228, 230, 0.46))
            drop-shadow(0 0 7px rgba(251, 113, 133, 0.26));
  }
}

.board-ad-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  background: rgba(18, 25, 56, 0.74);
}

.board-ad-label {
  align-self: flex-start;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.board-ad-link {
  display: block;
  line-height: 0;
}

.board-ad-link img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.footer-note {
  color: var(--muted-2);
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .board-ad-box {
    display: none;
  }
}

@media (max-width: 860px) {
  .page {
    padding: 20px 14px 30px;
  }

  .hero-card,
  .side-card,
  .box,
  .dashboard-card {
    border-radius: 20px;
  }

  .hero-card {
    padding: 26px;
  }

  .category {
    grid-template-columns: 46px 1fr;
  }

  .cat-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 22px;
  }

  .cat-meta {
    grid-column: 2;
  }

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

  .topic-item-head {
    flex-direction: column;
  }
}
