/* Game Center / nexus — отдельный CSS темы форума.
   https://docs.instantcms.ru/dev/templates/css-js
   Путь: controllers/forum/css/theme.css
   Подключение: $this->addControllerCSS('theme', 'forum', false);
   false = не сливать, файл идёт после Bootstrap modern/css/theme.css.
*/

.nx-body .nx-forum-head {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.nx-body .nx-forum-head h1 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.nx-body .nx-forum-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.nx-body .nx-forum-toolbar {
  display: none;
}
.nx-body .nx-forum--index .nx-forum-head__actions,
.nx-body .nx-forum--index .nx-forum-filters,
.nx-body .nx-forum--root .nx-forum-filters {
  display: none;
}
.nx-body .nx-forum-toolbar .nav,
.nx-body .nx-forum-toolbar .navbar,
.nx-body .nx-forum-toolbar .bg-white,
.nx-body .nx-forum-toolbar .bg-light {
  padding: 0;
  border: 0;
  background: transparent !important;
}
.nx-body .nx-forum-rss {
  display: inline-flex;
  margin-left: 10px;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.nx-body .nx-forum-rss:hover { color: #fff; }
.nx-body .nx-forum-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface);
}

.nx-body .forum-section-heading,
.nx-body .nx-forum-group {
  display: flex;
  margin: 28px 0 14px;
  align-items: flex-end;
  justify-content: space-between;
}
.nx-body .forum-section-heading span,
.nx-body .nx-forum-group span {
  color: #39b9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nx-body .forum-section-heading h2,
.nx-body .nx-forum-group h2 {
  margin: 6px 0 0;
  font-size: 20px;
}
.nx-body .forum-section-heading a,
.nx-body .nx-forum-group a { color: var(--text); }

.nx-body .forum-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.nx-body .forum-category-card {
  display: grid;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  gap: 12px;
  background: linear-gradient(145deg, #101f2c, #0b1721);
  transition: transform 160ms ease, border-color 160ms ease;
}
.nx-body .forum-category-card:hover {
  border-color: rgba(73, 185, 230, 0.28);
  transform: translateY(-2px);
}
.nx-body .forum-category-icon {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #65d0f5;
  background: rgba(54, 169, 215, 0.12);
  place-items: center;
}
.nx-body .forum-category-icon svg,
.nx-body .forum-category-icon img { width: 18px; height: 18px; }
.nx-body .forum-category-card__title { color: var(--text); font-size: 15px; }
.nx-body .forum-category-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.nx-body .forum-category-card small {
  display: flex;
  margin-top: 8px;
  gap: 12px;
  color: #6f8596;
  font-size: 11px;
}
.nx-body .forum-category-card small b { color: #dce7ed; }
.nx-body .forum-category-card__last {
  display: flex;
  margin-top: 8px;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}
.nx-body .forum-category-card__last a { color: var(--blue-light); }
.nx-body .forum-category-card__arrow { width: 16px; color: #526879; }

.nx-body .forum-topbar {
  display: flex;
  margin-bottom: 18px;
  justify-content: space-between;
  gap: 14px;
}
.nx-body .forum-new-topic {
  display: inline-flex;
  height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  color: #06131d;
  background: linear-gradient(115deg, #73d9ff, #38a9ee);
  font-size: 13px;
  font-weight: 800;
}
.nx-body .forum-new-topic span {
  display: grid;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #73d9ff;
  background: #06131d;
  place-items: center;
  font-size: 14px;
}

.nx-body .topic-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0c1822;
}
.nx-body .topic-row {
  display: grid;
  min-height: 92px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 35px minmax(0, 1fr) 120px 145px;
  align-items: center;
  gap: 14px;
}
.nx-body .topic-row:last-child { border-bottom: 0; }
.nx-body .topic-row:hover { background: rgba(255, 255, 255, 0.02); }
.nx-body .topic-row--pinned {
  background: linear-gradient(90deg, rgba(39, 143, 187, 0.07), transparent 65%);
}
.nx-body .topic-status {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 184, 226, 0.14);
  border-radius: 50%;
  color: #5ebfdf;
  background: rgba(54, 159, 202, 0.08);
  place-items: center;
}
.nx-body .topic-status svg { width: 14px; }
.nx-body .topic-copy h3 { margin: 0; font-size: 15px; }
.nx-body .topic-copy h3 a { color: var(--text); }
.nx-body .topic-copy p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.nx-body .topic-counters {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #6f8596;
  font-size: 12px;
  font-weight: 700;
}
.nx-body .topic-last {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.nx-body .gc-unread {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.nx-body .thread-post,
.nx-body .icms-forum__post {
  display: grid !important;
  margin: 0 0 14px !important;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  grid-template-columns: 168px minmax(0, 1fr);
  background: linear-gradient(145deg, #101f2c, #0b1721);
  box-shadow: none !important;
  flex-wrap: nowrap;
}
.nx-body .thread-post--original {
  border-color: rgba(61, 177, 222, 0.22);
}
.nx-body .icms-forum__post-data:before,
.nx-body .icms-forum__post-data:after {
  display: none !important;
  content: none !important;
}
.nx-body .thread-user {
  display: flex;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(5, 13, 20, 0.28);
  color: var(--muted);
}
.nx-body .thread-avatar {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  overflow: visible;
  border: 3px solid #10222e;
  border-radius: 50%;
  color: #071923;
  background: linear-gradient(135deg, #78e1ff, #377dc0);
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}
.nx-body .thread-avatar--green { background: linear-gradient(135deg, #abe875, #409678); }
.nx-body .thread-avatar--purple { background: linear-gradient(135deg, #df94ff, #7452be); }
.nx-body .thread-avatar--orange { background: linear-gradient(135deg, #ffb476, #b95563); }
.nx-body .thread-avatar a,
.nx-body .thread-avatar .icms-user-avatar {
  display: grid !important;
  width: 100%;
  height: 100%;
  overflow: visible;
  border-radius: 50%;
  place-items: center;
  color: inherit;
}
.nx-body .thread-avatar img,
.nx-body .thread-avatar .img-fluid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50%;
}
.nx-body .thread-avatar > i,
.nx-body .thread-avatar .icms-user-avatar > i {
  position: absolute;
  z-index: 2;
  right: -1px;
  bottom: -1px;
  width: 10px !important;
  height: 10px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: visible;
  border: 2px solid #10222e;
  border-radius: 50%;
  background: #6cdd63;
}
.nx-body .thread-user > strong {
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  word-break: break-word;
}
.nx-body .thread-user > strong a { color: inherit; }
.nx-body .thread-role {
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #67c9ed;
  background: rgba(53, 159, 202, 0.11);
  font-size: 10px;
  font-weight: 700;
}
.nx-body .thread-user dl {
  width: 100%;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.nx-body .thread-user dl div {
  display: flex;
  padding: 3px 0;
  justify-content: space-between;
  gap: 8px;
}
.nx-body .thread-user dt,
.nx-body .thread-user dd {
  margin: 0;
  color: #718798;
  font-size: 11px;
}
.nx-body .thread-message {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.nx-body .thread-message > header,
.nx-body .icms-forum__post-header {
  display: flex;
  min-height: 46px;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent !important;
  font-size: 12px;
}
.nx-body .thread-message > header a { color: #67bfdc; font-weight: 700; }
.nx-body .thread-message__body {
  padding: 16px 18px 8px;
}
.nx-body .icms-forum__post-content {
  color: #d7e3ed;
  font-size: 14px;
  line-height: 1.65;
}
.nx-body .icms-forum__post-content a { color: var(--blue-light); }
.nx-body .icms-forum__post-footer {
  display: flex;
  margin-top: auto;
  padding: 10px 18px 14px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  background: transparent !important;
}
.nx-body .icms-forum__post-footer_bar {
  display: flex;
  gap: 12px;
}
.nx-body .icms-forum__post-footer_bar a { color: var(--muted); }
.nx-body .thread-fast-edit {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.nx-body .thread-fast-edit .h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}
.nx-body .nx-thread-nav {
  display: flex;
  margin: 8px 0 16px;
  justify-content: space-between;
  gap: 10px;
}
.nx-body .nx-thread-nav .btn {
  border-color: var(--line);
  color: var(--text);
  background: #0e1b26;
}
.nx-body .nx-forum-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.nx-body #thread_poll {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.nx-body .tox-tinymce,
.nx-body .tox .tox-edit-area__iframe,
.nx-body .tox .tox-toolbar-overlord,
.nx-body .tox .tox-toolbar,
.nx-body .tox .tox-toolbar__overflow,
.nx-body .tox .tox-toolbar__primary {
  border-color: var(--line) !important;
  background: #0b1621 !important;
}
.nx-body .tox .tox-tbtn {
  color: #cfe0ec !important;
}
.nx-body .tox .tox-edit-area {
  background: #07131f !important;
}
.nx-body .thread-fast-edit textarea,
.nx-body .thread-fast-edit .form-control {
  color: var(--text);
  background: #07131f;
  border-color: var(--line);
}

@media (max-width: 860px) {
  .nx-body .topic-row {
    grid-template-columns: 35px minmax(0, 1fr);
  }
  .nx-body .topic-counters,
  .nx-body .topic-last { display: none; }
  .nx-body .thread-post,
  .nx-body .icms-forum__post {
    grid-template-columns: 1fr;
  }
  .nx-body .thread-user {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }
  .nx-body .thread-user dl { margin: 0; padding: 0; border: 0; width: auto; }
}

/* Forum page */
.forum-page {
  background:
    radial-gradient(circle at 86% 8%, rgba(31, 120, 170, 0.11), transparent 31rem),
    var(--bg);
}

.forum-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.forum-hero__background,
.forum-hero__shade {
  position: absolute;
  inset: 0;
}

.forum-hero__background {
  background:
    url("https://images.unsplash.com/photo-1614728263952-84ea256f9679?auto=format&fit=crop&w=1900&q=85") center 48% / cover;
}

.forum-hero__shade {
  background:
    linear-gradient(90deg, rgba(6, 15, 23, 0.97), rgba(6, 15, 23, 0.63) 50%, rgba(6, 15, 23, 0.14)),
    linear-gradient(0deg, #071019 0%, transparent 55%);
}

.forum-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 330px;
  padding-top: 27px;
  padding-bottom: 44px;
  flex-direction: column;
}

.forum-breadcrumbs {
  display: flex;
  color: #617789;
  gap: 8px;
  font-size: 10px;
}

.forum-breadcrumbs a:hover {
  color: #a9bbc7;
}

.forum-hero__title {
  display: flex;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.forum-hero h1 {
  margin: 8px 0 7px;
  font-size: clamp(43px, 6vw, 65px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.forum-hero__title > div:first-child > p {
  margin: 0;
  color: #8499aa;
  font-size: 13px;
}

.forum-hero__stats {
  display: flex;
  padding-bottom: 5px;
  gap: 41px;
}

.forum-hero__stats div {
  display: flex;
  flex-direction: column;
}

.forum-hero__stats strong {
  font-size: 17px;
}

.forum-hero__stats span {
  margin-top: 4px;
  color: #657b8d;
  font-size: 9px;
}

.forum-content {
  padding-top: 34px;
  padding-bottom: 85px;
}

.forum-topbar {
  display: flex;
  margin-bottom: 28px;
  justify-content: space-between;
  gap: 14px;
}

.forum-search {
  display: flex;
  width: min(430px, 100%);
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  background: #0d1a25;
}

.forum-search svg {
  width: 15px;
  color: #607688;
}

.forum-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #e1ecf2;
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.forum-search input::placeholder {
  color: #566c7e;
}

.forum-new-topic {
  display: flex;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #07141d;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(115deg, #67d2fa, #3ab2e9);
  box-shadow: 0 10px 25px rgba(45, 164, 216, 0.14);
  font-size: 11px;
  font-weight: 800;
}

.forum-new-topic span {
  font-size: 17px;
  font-weight: 500;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas:
    "main side"
    "topics side";
  align-items: start;
  gap: 22px;
}

.forum-main {
  min-width: 0;
  grid-area: main;
}

.forum-sidebar {
  display: flex;
  grid-area: side;
  flex-direction: column;
  gap: 11px;
  position: sticky;
  top: 88px;
}

.nx-forum-store {
  display: contents;
}

.nx-forum-store > .nx-w:has(.icms-forum__widget-threads) {
  grid-area: topics;
}

.forum-topics {
  padding-top: 8px;
}

.forum-panel,
.forum-rules {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #101f2c, #0b1721);
}

.forum-panel__title {
  display: flex;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.forum-panel__title h2,
.forum-panel__title h5 {
  margin: 0;
  color: #e8f2f7;
  font-size: 11px;
}

.forum-panel__title > a,
.forum-panel__title > span,
.forum-online {
  color: #6bd880 !important;
  font-size: 8px;
}

.forum-profile-stats {
  display: grid;
  margin: 16px 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.forum-profile-stats div {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.forum-profile-stats strong {
  font-size: 12px;
}

.forum-profile-stats span {
  margin-top: 3px;
  color: #597082;
  font-size: 7px;
}

.forum-users {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  gap: 5px;
}

.forum-users .post-avatar,
.forum-users .icms-user-avatar {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border-radius: 50%;
  place-items: center;
}

.forum-users .post-avatar img,
.forum-users .icms-user-avatar img {
  width: 31px;
  height: 31px;
  object-fit: cover;
}

.forum-users i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  border: 1px solid #0d1a24;
  border-radius: 50%;
  background: #69db61;
}

.forum-panel > p {
  margin: 11px 0 0;
  color: #5d7284;
  font-size: 8px;
}

.nx-forum-store .topic-info h3 {
  overflow: hidden;
  margin: 8px 0 5px;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nx-forum-store .topic-info h3 a { color: var(--text); }
.nx-forum-store .topic-info h3 a:hover { color: #65caf0; }

.nx-forum-store .topic-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.nx-forum-store .topic-numbers span {
  display: flex;
  color: #566c7e;
  flex-direction: column;
  align-items: center;
  font-size: 8px;
}

.nx-forum-store .topic-numbers strong {
  margin-bottom: 3px;
  color: #899ead;
  font-size: 10px;
}

@media (max-width: 980px) {
  .forum-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side"
      "topics";
  }
}

.forum-section-heading {
  display: flex;
  margin-bottom: 17px;
  align-items: flex-end;
  justify-content: space-between;
}

.forum-section-heading > div:first-child > span {
  color: #41b9e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forum-section-heading h2 {
  margin: 5px 0 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.forum-section-heading > button {
  border: 0;
  color: #63798b;
  cursor: pointer;
  background: transparent;
  font-size: 10px;
}

.forum-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.forum-category-card {
  display: grid;
  min-height: 105px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  grid-template-columns: 45px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  background: linear-gradient(145deg, #101f2c, #0b1721);
  transition: transform 180ms ease, border-color 180ms ease;
}

.forum-category-card:hover {
  border-color: rgba(73, 190, 238, 0.26);
  transform: translateY(-3px);
}

.forum-category-icon {
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 9px;
  place-items: center;
}

.forum-category-icon svg {
  width: 19px;
}

.forum-category-card--general .forum-category-icon { color: #65d0f5; background: rgba(54, 169, 215, 0.12); }
.forum-category-card--games .forum-category-icon { color: #a68cf0; background: rgba(119, 79, 200, 0.13); }
.forum-category-card--help .forum-category-icon { color: #75d98a; background: rgba(68, 172, 94, 0.13); }
.forum-category-card--creative .forum-category-icon { color: #ef9a6e; background: rgba(202, 104, 59, 0.13); }

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

.forum-category-card strong {
  font-size: 12px;
}

.forum-category-card p {
  margin: 5px 0 0;
  color: #718798;
  font-size: 10px;
}

.forum-category-card small {
  margin-top: 8px;
  color: #536a7c;
  font-size: 9px;
}

.forum-category-card > svg {
  width: 15px;
  color: #526879;
}

/* Create topic — mock create-topic.html, InstantCMS form kept */
.nx-body.create-topic-page {
  background:
    radial-gradient(circle at 82% 4%, rgba(34, 125, 173, 0.1), transparent 30rem),
    var(--bg);
}

.nx-body.create-topic-page .page-shell > .nx-crumbs {
  display: none;
}

.create-topic-heading {
  padding: 8px 0 28px;
}

.create-topic-heading .forum-breadcrumbs,
.create-topic-heading .nx-crumbs-nav,
.create-topic-heading .nx-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: #617789;
  gap: 8px;
  font-size: 13px;
  list-style: none;
}

.create-topic-heading .nx-crumbs__sep {
  color: #617789;
}

.create-topic-heading h1 {
  margin: 8px 0;
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.05em;
}

.create-topic-heading p {
  margin: 0;
  color: #7d92a3;
  font-size: 14px;
}

.create-topic-layout {
  display: grid;
  padding-bottom: 64px;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 22px;
}

.create-topic-form {
  min-width: 0;
}

.create-topic-icms-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.create-form-card,
.create-topic-form .form-tabs,
.create-topic-form .icms-form-body {
  min-width: 0;
}

.create-form-card,
.create-topic-form fieldset {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #101f2c, #0b1721);
}

.create-topic-form fieldset {
  margin: 0;
}

.create-form-card__header {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

.create-form-card__header > span {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(71, 184, 228, 0.22);
  border-radius: 50%;
  color: #61c8ec;
  background: rgba(52, 157, 199, 0.1);
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.create-form-card__header h2,
.create-topic-form legend {
  margin: 0;
  padding: 0;
  width: auto;
  border: 0;
  color: #e8f2f7;
  font-size: 17px;
  float: none;
}

.create-form-card__header p {
  margin: 6px 0 0;
  color: #647a8c;
  font-size: 13px;
}

.create-category-options {
  display: grid;
  margin-top: 18px;
  gap: 9px;
}

.create-category-options a,
.create-category-options label {
  display: grid;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: inherit;
  grid-template-columns: 38px 1fr 15px;
  align-items: center;
  gap: 10px;
  background: rgba(5, 13, 20, 0.28);
}

.create-category-options a.is-selected,
.create-category-options label.is-selected {
  border-color: rgba(77, 190, 235, 0.3);
  background: rgba(44, 143, 184, 0.08);
}

.create-category-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  place-items: center;
}

.create-category-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.create-category-icon--games { color: #ae98ee; background: rgba(112, 82, 193, 0.13); }

.create-category-options strong { font-size: 14px; }
.create-category-options small {
  display: block;
  margin-top: 4px;
  color: #5d7385;
  font-size: 12px;
}

.create-category-options a > i {
  width: 15px;
  height: 15px;
  border: 1px solid #52c5ef;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #0b1721, inset 0 0 0 6px #52c5ef;
}

.create-section-change {
  margin: 12px 0 0;
  font-size: 13px;
}

.create-section-change a { color: #62c8eb; }

.create-details-card .form-tabs,
.create-details-card .icms-form-body,
.create-details-card .tab-pane,
.create-details-card fieldset {
  padding: 0;
  border: 0;
  background: transparent;
}

.create-details-card legend { display: none; }

.create-topic-form .field {
  display: flex;
  margin: 18px 0 0;
  color: #879baa;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.create-topic-form .field > label {
  display: flex;
  color: #879baa;
}

.create-topic-form .field input[type="text"],
.create-topic-form .field input[type="number"],
.create-topic-form .field select,
.create-topic-form .field textarea {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e2ecf2;
  background: #09151e;
  font-size: 14px;
  font-weight: 500;
}

.create-topic-form .field textarea {
  height: auto;
  min-height: 180px;
  padding: 14px;
}

.create-topic-form .wysiwyg,
.create-topic-form .redactor-box,
.create-topic-form .tox-tinymce,
.create-topic-form .ce-container {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #09151e;
}

.create-title-field { position: relative; }
.create-title-field .character-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #53697b;
  font-size: 12px;
  font-weight: 500;
}

.create-topic-form .field.ft_checkbox,
.create-topic-form .custom-checkbox,
.create-topic-form .form-check {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.create-topic-form .buttons {
  display: flex;
  margin: 8px 0 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.create-topic-form .button-cancel,
.create-topic-form .btn-secondary {
  display: inline-flex;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8094a4 !important;
  align-items: center;
  background: #0d1a24 !important;
  font-size: 13px;
  font-weight: 700;
}

.create-topic-form .button-submit,
.create-topic-form .btn-primary {
  display: inline-flex;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #07141d !important;
  align-items: center;
  background: linear-gradient(115deg, #65d0f7, #3bb3e8) !important;
  font-size: 13px;
  font-weight: 800;
}

.create-topic-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.create-user-card,
.create-tips,
.create-topic-sidebar .forum-rules {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #101f2c, #0b1721);
}

.create-user-card {
  display: flex;
  align-items: center;
}

.forum-profile-card__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-avatar-mini,
.create-user-card .icms-user-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  place-items: center;
  background: #1a3344;
}

.create-user-initials {
  position: absolute;
  font-size: 12px;
  font-weight: 800;
}

.create-user-card strong { display: block; font-size: 14px; }
.create-user-card small { color: #5d7385; font-size: 12px; }

.create-tips h2 {
  margin: 0 0 4px;
  font-size: 15px;
}

.create-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.create-tips li {
  display: grid;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.create-tips li:last-child { padding-bottom: 0; border-bottom: 0; }
.create-tips li > span { color: #43b9e5; font-size: 11px; font-weight: 800; }
.create-tips strong { font-size: 13px; }
.create-tips p { margin: 5px 0 0; color: #5f7587; font-size: 12px; line-height: 1.5; }

.forum-rules {
  display: flex;
  gap: 10px;
}

.forum-rules svg {
  width: 18px;
  color: #62bd9a;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.forum-rules strong { font-size: 13px; }
.forum-rules p { margin: 4px 0 8px; color: #6d8395; font-size: 12px; }
.forum-rules a { color: #62c8eb; font-size: 13px; font-weight: 700; }

@media (max-width: 760px) {
  .create-topic-layout { grid-template-columns: 1fr; }
  .create-topic-sidebar { position: static; order: -1; }
  .create-tips { display: none; }
}

