/**
 * Comunidade Novelinhas - sistema editorial responsivo.
 * Carregado apenas em /comunidade/ e /membro/{id}.
 */

body.nvx-comm-page {
  --cm-bg: #0b0d10;
  --cm-surface: #12151a;
  --cm-surface-2: #171b21;
  --cm-surface-3: #1d222a;
  --cm-border: #252a33;
  --cm-border-strong: #343b47;
  --cm-text: #f4f6f8;
  --cm-muted: #9ba3ae;
  --cm-dim: #7b8490;
  --cm-brand: #e64073;
  --cm-brand-soft: #f08aad;
  --cm-live: #31b77c;
  --cm-gold: #caa35f;
  background: var(--cm-bg) !important;
  color: var(--cm-text);
}

body.nvx-comm-page::before,
body.nvx-comm-page::after {
  content: none !important;
  display: none !important;
}

.cm-wrap,
.cm-wrap *,
.cm-wrap *::before,
.cm-wrap *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.cm-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--hd) + 34px) 24px 88px;
}

.cm-wrap a {
  text-decoration: none;
}

.cm-wrap button,
.cm-wrap textarea,
.cm-wrap input {
  font-family: inherit;
}

/* Header */
.cm-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 0 0 24px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--cm-border);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.cm-head::after {
  content: none;
}

.cm-head__l {
  position: static;
  z-index: auto;
  min-width: 0;
}

.cm-eyebrow {
  display: block;
  color: var(--cm-brand-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.cm-eyebrow::before {
  content: none;
}

.cm-head h1 {
  margin: 6px 0 0;
  color: var(--cm-text);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  text-shadow: none;
}

.cm-head__sub {
  position: static;
  z-index: auto;
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--cm-muted) !important;
  font-size: 14px;
  line-height: 1.55;
  text-shadow: none;
}

.cm-live {
  position: static;
  z-index: auto;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 11px 8px 13px;
  color: var(--cm-text);
  white-space: nowrap;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.cm-live:hover,
.cm-live.is-active {
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-2);
}

.cm-live > .ic {
  color: var(--cm-dim);
}

.cm-live__dot,
.cm-rail-online__dot,
.cm-onl-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cm-live);
  box-shadow: none;
  animation: none;
}

.cm-live__txt {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.cm-live__txt b {
  color: var(--cm-text);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

.cm-live__txt i {
  color: var(--cm-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  text-transform: none;
}

/* Statistics */
.cm-overview {
  margin-top: 20px;
}

.cm-stats {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
}

.cm-stats--primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cm-stat {
  position: relative;
  min-width: 0;
  padding: 17px 18px;
  background: transparent;
  transition: background-color 150ms ease;
}

.cm-stat + .cm-stat {
  border-left: 1px solid var(--cm-border);
}

.cm-stat::after {
  content: none;
}

.cm-stat:hover {
  background: var(--cm-surface-2);
}

.cm-stat .l {
  margin: 0 0 9px;
  color: var(--cm-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
}

.cm-stat__row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  flex-wrap: wrap;
}

.cm-stat .n {
  color: var(--cm-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

.cm-stat__tag {
  display: inline;
  min-width: 0;
  padding: 0;
  color: #c790a3;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.3;
  white-space: normal;
  border: 0;
  border-radius: 0;
  background: none;
}

.cm-stat__tag--neutral {
  color: var(--cm-muted);
}

.cm-stat__tag[hidden],
.cm-tab__tag[hidden] {
  display: none;
}

.cm-stat .n.cm-bump {
  animation: cmValueUpdate 320ms ease;
}

@keyframes cmValueUpdate {
  0% { opacity: .45; }
  100% { opacity: 1; }
}

.cm-stats-more {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: #0f1216;
}

.cm-stats-more > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.cm-stats-more > summary::-webkit-details-marker {
  display: none;
}

.cm-stats-more > summary:hover {
  color: var(--cm-text);
  background: var(--cm-surface);
}

.cm-stats-more > summary small {
  margin-left: auto;
  color: var(--cm-dim);
  font-size: 11px;
  font-weight: 500;
}

.cm-stats-more > summary > .ic {
  color: var(--cm-dim);
  transition: transform 150ms ease;
}

.cm-stats-more[open] > summary > .ic {
  transform: rotate(180deg);
}

.cm-stats--secondary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 0;
  border-top: 1px solid var(--cm-border);
  border-radius: 0;
  background: var(--cm-surface);
}

.cm-stats--secondary .cm-stat {
  padding-top: 15px;
  padding-bottom: 15px;
}

.cm-stats--secondary .n {
  font-size: 20px;
}

/* Main navigation and filters */
.cm-nav {
  margin-top: 26px;
}

.cm-tabs {
  display: flex;
  align-items: stretch;
  gap: 25px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--cm-border);
  cursor: default;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cm-tabs::-webkit-scrollbar,
.cm-filters::-webkit-scrollbar,
.rk-subtabs::-webkit-scrollbar {
  display: none;
}

.cm-tabs a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 1px 0 0;
  color: var(--cm-muted);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 150ms ease, border-color 150ms ease;
}

.cm-tabs a:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: none;
  transform: none;
}

.cm-tabs a.on,
.cm-tabs a.rank.on,
.cm-tabs a.cm-onl-tab.on {
  color: var(--cm-text);
  border-color: var(--cm-brand);
  background: none;
  box-shadow: none;
}

.cm-tabs a .ic {
  width: 17px;
  height: 17px;
  opacity: .8;
}

.cm-tabs a.on .ic {
  color: var(--cm-brand-soft);
  opacity: 1;
}

.cm-tabs .cm-onl-tab.on .cm-onl-dot {
  background: var(--cm-live);
}

.cm-tab__tag {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--cm-dim);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  border-radius: 0;
  background: none;
}

.cm-tabs a.on .cm-tab__tag {
  color: var(--cm-muted);
  background: none;
}

.cm-filters {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 3px;
  margin-top: 14px;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cm-filters a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--cm-muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.cm-filters a:hover {
  color: var(--cm-text);
  background: var(--cm-surface-2);
}

.cm-filters a.on {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-3);
}

.cm-filters a.on .ic {
  color: var(--cm-brand-soft);
}

/* Content layout */
.cm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
  margin-top: 28px;
}

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

.cm-grid > *,
.cm-main {
  min-width: 0;
}

.cm-view-head {
  display: flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 13px;
}

.cm-view-head h2 {
  margin: 0;
  color: var(--cm-text);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

/* Avatars */
.cm-av {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  overflow: visible;
  place-items: center;
  color: #fff;
  font-weight: 750;
  line-height: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.cm-av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cm-av__vip {
  position: absolute;
  right: -3px;
  bottom: -2px;
  z-index: 3;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  color: #1b1710;
  border: 2px solid var(--cm-surface);
  border-radius: 50%;
  background: var(--cm-gold);
}

.cm-av__vip svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Activity feed */
.cm-feed {
  display: block;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
  transition: opacity 180ms ease;
}

.cm-daysep {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 0;
  padding: 8px 15px;
  color: var(--cm-dim);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: none;
  border-top: 1px solid var(--cm-border);
  border-bottom: 1px solid var(--cm-border);
  background: #0f1216;
}

.cm-daysep:first-child {
  margin: 0;
  border-top: 0;
}

.cm-daysep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cm-border);
}

.cm-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 44px;
  gap: 13px;
  align-items: start;
  min-height: 86px;
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid var(--cm-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
  transition: background-color 150ms ease;
}

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

.cm-item::before {
  content: none;
}

.cm-item:hover {
  border-color: var(--cm-border);
  background: var(--cm-surface-2);
  box-shadow: none;
  transform: none;
}

.cm-eventlead {
  position: relative;
  width: 40px;
  height: 40px;
}

.cm-ico {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #d3d8df;
  border: 2px solid var(--cm-surface);
  border-radius: 50%;
  background: var(--cm-surface-3);
  box-shadow: none;
}

.cm-item:hover .cm-ico {
  border-color: var(--cm-surface-2);
}

.cm-complete .cm-ico {
  color: var(--cm-gold);
  background: #292318;
}

.cm-join .cm-ico {
  color: var(--cm-live);
  background: #14251f;
}

.cm-body {
  min-width: 0;
  padding: 0;
}

.cm-line {
  display: block;
}

.cm-txt {
  color: #d1d6dd;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cm-txt b,
.cm-u {
  color: var(--cm-text);
  font-weight: 750;
}

.cm-u:hover,
.cm-t:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--cm-brand);
  text-underline-offset: 3px;
}

.cm-t {
  color: var(--cm-brand-soft);
  font-weight: 700;
}

.cm-ep,
a.cm-ep {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 6px;
  color: #c6ccd4;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid var(--cm-border);
  border-radius: 4px;
  background: #0e1115;
}

a.cm-ep:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-3);
}

.cm-extra {
  margin: 8px 0 0;
}

.cm-quote {
  display: block;
  padding: 8px 11px;
  color: #b5bdc7;
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.45;
  overflow-wrap: anywhere;
  border: 0;
  border-left: 2px solid #8d3c5a;
  border-radius: 0 4px 4px 0;
  background: #0e1115;
}

a.cm-quote:hover {
  color: #dce1e7;
  border-left-color: var(--cm-brand);
  background: #10141a;
}

.cm-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 7px;
  color: #d5b97e;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid #4c412c;
  border-radius: 4px;
  background: #211d15;
}

.cm-when {
  position: static;
  display: block;
  margin-top: 7px;
  color: var(--cm-dim);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
}

.cm-thumb,
.cmtx-thumb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 60px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: #0e1115;
  box-shadow: none;
}

.cm-thumb img,
.cmtx-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 150ms ease;
}

.cm-item:hover .cm-thumb img,
.cmtx-thumb:hover img {
  opacity: .86;
  transform: none;
}

.cm-thumb__play,
.cmtx-thumb__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(5, 7, 9, .42);
  opacity: 0;
  transition: opacity 150ms ease;
}

.cm-thumb__play .ic,
.cm-thumb__play svg,
.cmtx-thumb__play svg {
  width: 18px;
  height: 18px;
}

.cm-thumb:hover .cm-thumb__play,
.cmtx-thumb:hover .cmtx-thumb__play {
  opacity: 1;
}

.cm-empty {
  grid-column: 1 / -1;
  padding: 42px 20px;
  color: var(--cm-muted);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  border: 1px dashed var(--cm-border-strong);
  border-radius: 8px;
  background: var(--cm-surface);
}

.cm-feed > .cm-empty,
.cm-thread > .cm-empty,
.cm-onl-grid > .cm-empty {
  border: 0;
  border-radius: 0;
}

/* Unified side rail */
.cm-side {
  position: sticky;
  top: calc(var(--hd) + 18px);
  display: block;
  min-width: 0;
}

.cm-rail {
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

.cm-card {
  width: 100%;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 0;
  border-top: 1px solid var(--cm-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
}

.cm-card:first-child {
  border-top: 0;
}

.cm-card h3,
.cm-card summary {
  margin: 0 0 11px;
  color: var(--cm-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: none;
}

.cm-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
}

.cm-card h3 .ic,
.cm-card summary .ic {
  color: var(--cm-muted);
  filter: none;
}

.cm-card--online {
  padding: 0;
}

.cm-rail-online {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 13px 15px;
  color: var(--cm-text);
  transition: background-color 150ms ease;
}

.cm-rail-online:hover {
  background: var(--cm-surface-2);
}

.cm-rail-online > span:nth-child(2) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.cm-rail-online b {
  color: var(--cm-text);
  font-size: 12.5px;
  font-weight: 700;
}

.cm-rail-online strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cm-rail-online small {
  color: var(--cm-muted);
  font-size: 11px;
}

.cm-rail-online > .ic {
  color: var(--cm-dim);
}

.cm-trend {
  display: flex;
  flex-direction: column;
}

.cm-trd {
  display: grid;
  grid-template-columns: 16px 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  margin: 0;
  padding: 6px 0;
  border-radius: 0;
  transition: background-color 150ms ease;
}

.cm-trd + .cm-trd {
  border-top: 1px solid var(--cm-border);
}

.cm-trd:hover {
  background: transparent;
}

.cm-trd__rk {
  width: 16px;
  color: var(--cm-dim);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cm-trd:nth-child(1) .cm-trd__rk {
  color: var(--cm-gold);
}

.cm-trd__cv {
  width: 36px;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: #0e1115;
  box-shadow: none;
}

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

.cm-trd__b {
  min-width: 0;
}

.cm-trd__t {
  display: -webkit-box;
  overflow: hidden;
  color: #dce1e7;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cm-trd:hover .cm-trd__t {
  color: var(--cm-text);
}

.cm-trd__m {
  display: block;
  margin-top: 4px;
  color: var(--cm-muted);
  font-size: 10.5px;
  font-weight: 550;
}

.cm-card--joined > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  list-style: none;
}

.cm-card--joined > summary::-webkit-details-marker {
  display: none;
}

.cm-card--joined > summary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cm-card--joined > summary > .ic {
  margin-left: auto;
  transition: transform 150ms ease;
}

.cm-card--joined[open] > summary > .ic {
  transform: rotate(180deg);
}

.cm-joined {
  margin-top: 12px;
}

.cm-joined__group + .cm-joined__group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--cm-border);
}

.cm-joined h4,
.cm-joined__head h4 {
  margin: 0 0 7px;
  color: var(--cm-muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.cm-joined__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cm-admin-toggle {
  padding: 3px 6px;
  color: var(--cm-muted);
  font-size: 9.5px;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid var(--cm-border);
  border-radius: 4px;
  background: transparent;
}

.cm-admin-toggle.is-on {
  color: var(--cm-text);
  border-color: #71405a;
  background: #291722;
}

.cm-rank {
  display: flex;
  flex-direction: column;
}

.cm-r {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 5px 0;
  border-radius: 0;
  transition: background-color 150ms ease;
}

.cm-r:hover {
  background: transparent;
}

.cm-r .pos {
  display: none;
}

.cm-r .cm-av {
  width: 26px !important;
  height: 26px !important;
  font-size: 11px !important;
}

.cm-r .nm {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #dce1e7;
  font-size: 12px;
  font-weight: 650;
}

.cm-r .nm:hover {
  color: var(--cm-text);
}

.cm-r .nm-t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cm-r .vl {
  flex: 0 0 auto;
  color: var(--cm-dim);
  font-size: 10.5px;
  font-weight: 550;
  white-space: nowrap;
}

.cm-empty-s {
  padding: 12px 0;
  color: var(--cm-dim);
  font-size: 11.5px;
  text-align: left;
}

/* Ranking */
.rk-me {
  display: flex;
  align-items: center;
  gap: 9px 18px;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #cbd1d8;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

.rk-me__lb,
.rk-me__x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rk-me__lb {
  color: var(--cm-text);
  font-weight: 750;
}

.rk-me__lb .ic {
  color: var(--cm-gold);
}

.rk-me__x i {
  color: var(--cm-text);
  font-style: normal;
  font-weight: 800;
}

.rk-subtabs {
  display: flex;
  gap: 22px;
  margin: 0 0 15px;
  overflow-x: auto;
  border-bottom: 1px solid var(--cm-border);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rk-subtabs button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  color: var(--cm-muted);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 150ms ease, border-color 150ms ease;
}

.rk-subtabs button:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
}

.rk-subtabs button.on {
  color: var(--cm-text);
  border-color: var(--cm-brand);
  background: none;
  box-shadow: none;
}

.rk-subtabs button.on .ic {
  color: var(--cm-brand-soft);
}

.rk-panel,
.rk-panel.on {
  display: block;
  animation: none;
}

.rk-panel[hidden] {
  display: none;
}

.rk-list {
  display: block;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

.rk-row {
  display: grid;
  grid-template-columns: 34px 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 61px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--cm-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 150ms ease;
}

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

.rk-row:hover {
  border-color: var(--cm-border);
  background: var(--cm-surface-2);
  box-shadow: none;
  transform: none;
}

.rk-row--top {
  box-shadow: inset 3px 0 var(--cm-border-strong);
}

.rk-row--1 {
  box-shadow: inset 3px 0 var(--cm-gold);
}

.rk-row--2 {
  box-shadow: inset 3px 0 #aeb6c2;
}

.rk-row--3 {
  box-shadow: inset 3px 0 #a97855;
}

.rk-pos {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--cm-dim);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: #0e1115;
}

.rk-row--1 .rk-pos { color: var(--cm-gold); border-color: #5a4827; }
.rk-row--2 .rk-pos { color: #c4cad3; border-color: #454b55; }
.rk-row--3 .rk-pos { color: #c18c66; border-color: #58402f; }

.rk-nm {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #dce1e7;
  font-size: 13.5px;
  font-weight: 700;
}

.rk-nm:hover {
  color: var(--cm-text);
}

.rk-nm .nm-t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rk-vl {
  color: #cbd1d8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rk-row--1 .rk-vl {
  color: #d8bc7c;
}

.rk-empty {
  padding: 42px 20px;
  color: var(--cm-muted);
  font-size: 13.5px;
  text-align: center;
  border: 1px dashed var(--cm-border-strong);
  border-radius: 8px;
  background: var(--cm-surface);
}

/* Comments */
.cm-thread {
  display: block;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

.cmtx {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border-bottom: 1px solid var(--cm-border);
}

.cm-thread > .cmtx:last-child {
  border-bottom: 0;
}

.cmtx-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.cmtx-b {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cmtx-hd {
  display: flex;
  align-items: center;
  gap: 5px 7px;
  min-width: 0;
  color: var(--cm-muted);
  font-size: 12px;
  line-height: 1.4;
}

.cmtx-who {
  color: var(--cm-text);
  font-weight: 750;
}

.cmtx-who:hover,
.cmtx-book:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--cm-brand);
  text-underline-offset: 3px;
}

.cmtx-in {
  color: var(--cm-dim);
}

.cmtx-book {
  min-width: 0;
  overflow: hidden;
  color: var(--cm-brand-soft);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmtx-ep {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 19px;
  padding: 1px 6px;
  color: #c6ccd4;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--cm-border);
  border-radius: 4px;
  background: #0e1115;
}

.cmtx-ep:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-3);
}

.cmtx-hd time {
  margin-left: auto;
  color: var(--cm-dim);
  font-size: 10.5px;
  font-weight: 550;
  white-space: nowrap;
}

.cmtx-b > p {
  margin: 7px 0 9px;
  color: #d4d9df;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.cmtx-acts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.cmtx-act {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 8px;
  color: var(--cm-muted);
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  background: transparent;
  transition: color 150ms ease, background-color 150ms ease;
}

.cmtx-act:hover {
  color: var(--cm-text);
  background: var(--cm-surface-3);
}

.cmtx-del:hover {
  color: #f28b8b;
  background: #2a171b;
}

.cmtx-gift {
  color: #c8a86b !important;
}

.cmtx-reps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 11px;
  padding-left: 13px;
  border-left: 1px solid var(--cm-border-strong);
}

.cmtx-reps:empty {
  display: none;
}

.cmtx--reply {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 0 4px;
  border: 0;
}

.cmtx--reply .cmtx-b {
  padding: 0;
  border: 0;
  background: transparent;
}

.cmtx-rbox {
  margin-top: 9px;
  padding: 9px;
  border: 1px solid var(--cm-border-strong);
  border-radius: 7px;
  background: #0e1115;
}

.cmtx-rbox textarea {
  width: 100%;
  min-height: 48px;
  padding: 0;
  resize: vertical;
  color: var(--cm-text);
  font-size: 14px;
  line-height: 1.5;
  border: 0;
  outline: 0;
  background: transparent;
}

.cmtx-rbox textarea::placeholder {
  color: var(--cm-dim);
}

.cmtx-rbox__ft {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 7px;
}

.cmtx-rbox__ft button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
}

.cmtx-rbox__cancel {
  color: var(--cm-muted);
  background: transparent;
}

.cmtx-rbox__send {
  color: #fff;
  border-color: var(--cm-brand) !important;
  background: var(--cm-brand);
}

.cmtx-thumb {
  width: 48px;
  height: 66px;
}

.cmtx--gifted {
  background: #171510;
}

.cmtx--gifted .cmtx-b {
  background: transparent !important;
}

.nvx-giftmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  padding: 5px 8px;
  color: #cbb17b;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.3;
  border: 1px solid #493e29;
  border-radius: 5px;
  background: #211d14;
}

.nvx-giftmark svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--cm-gold);
}

.nvx-giftmark b {
  color: #ddc38b;
}

/* Online directory */
.cm-onl-sum {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-border);
}

.cm-onl-sum__i {
  display: flex;
  min-width: 0;
  min-height: 60px;
  padding: 11px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cm-onl-sum__i i {
  color: var(--cm-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  text-transform: none;
}

.cm-onl-sum__i b {
  color: var(--cm-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cm-onl-sum__i.is-now {
  box-shadow: inset 0 3px var(--cm-live);
}

.cm-onl-sum__i.is-now i {
  color: #83cfae;
}

.cm-onl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-border);
}

.cm-onl-u {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 70px;
  padding: 11px 13px;
  border: 0;
  border-radius: 0;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 150ms ease;
}

.cm-onl-u:hover {
  border-color: transparent;
  background: var(--cm-surface-2);
  box-shadow: none;
  transform: none;
}

.cm-onl-av {
  position: relative;
  flex: 0 0 auto;
}

.cm-onl-live {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cm-surface);
  border-radius: 50%;
  background: var(--cm-live);
  box-shadow: none;
  animation: none;
}

.cm-onl-u:hover .cm-onl-live {
  border-color: var(--cm-surface-2);
}

.cm-onl-tx {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.cm-onl-tx a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: var(--cm-text);
}

.cm-onl-tx b {
  min-width: 0;
  overflow: hidden;
  color: var(--cm-text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

.cm-onl-tx a:hover b {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--cm-brand);
  text-underline-offset: 3px;
}

.cm-onl-tx small {
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cm-onl-ag {
  flex: 0 0 auto;
  color: var(--cm-dim);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Pagination */
.cm-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 22px;
}

.cm-pager a,
.cm-pager span,
.cm-pager__nav,
.cm-pager__page {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 7px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.cm-pager a:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-2);
}

.cm-pager .on {
  color: var(--cm-text);
  border-color: #704057;
  background: #25151e;
  box-shadow: none;
}

.cm-pager .dots {
  min-width: 22px;
  padding: 0;
  color: var(--cm-dim);
  border: 0;
  background: transparent;
}

.cm-pager .is-disabled {
  opacity: .38;
}

/* Member profile */
.mb-wrap,
.mb-wrap *,
.mb-wrap *::before,
.mb-wrap *::after,
.nvx-repm,
.nvx-repm *,
.nvx-repm *::before,
.nvx-repm *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.mb2 {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--hd) + 30px) 24px 88px;
  color: var(--cm-text);
}

.mb2 a {
  text-decoration: none;
}

.mb2 button {
  font-family: inherit;
}

.mb-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin: 0 0 16px;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease;
}

.mb-back:hover {
  color: var(--cm-text);
}

.mb-card {
  color: var(--cm-text);
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mb-hero {
  position: relative;
  margin: 0 0 18px;
  overflow: hidden;
}

.mb-hero--vip {
  border-color: #544b39;
  box-shadow: inset 0 2px var(--cm-gold);
}

.mb-hero__bg,
.mb-hero__stage {
  display: none !important;
}

.mb-hero__in {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) minmax(390px, 460px);
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
}

.mb-avwrap {
  position: relative;
  display: inline-flex;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

.mb-av {
  display: grid;
  width: 88px;
  height: 88px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 750;
  line-height: 1;
  border: 2px solid var(--cm-border-strong);
  border-radius: 50%;
  box-shadow: none;
}

.mb-av.has-tier {
  border-color: #8f7950;
}

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

.mb-avpremium {
  position: absolute;
  bottom: -2px;
  left: -2px;
  z-index: 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--cm-gold);
  border: 2px solid var(--cm-surface);
  border-radius: 50%;
  background: #242016;
}

.mb-dot {
  position: absolute;
  right: 1px;
  bottom: 5px;
  z-index: 4;
  width: 13px;
  height: 13px;
  border: 3px solid var(--cm-surface);
  border-radius: 50%;
  box-shadow: none;
}

.mb-dot::after {
  content: none !important;
}

.mb-dot--on {
  background: var(--cm-live);
}

.mb-dot--off {
  background: #69727d;
}

.mb-id {
  min-width: 0;
}

.mb-id h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  overflow: visible;
  color: var(--cm-text);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.mb-id h1 .mb-nm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-selos {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 9px 0 2px;
  line-height: 1;
}

.mb-selos > * {
  flex: 0 0 auto;
  margin: 0 !important;
  vertical-align: middle;
}

.mb-selos .mb-waico {
  display: inline-flex;
}

.mb-selos .mb-waico svg {
  width: 16px;
  height: 16px;
}

.mb-premline,
.mb-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: var(--cm-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.mb-premline {
  margin-top: 10px;
  color: #c7b78f;
  font-weight: 600;
}

.mb-premline > .ic,
.mb-sub > .ic {
  flex: 0 0 auto;
  color: var(--cm-dim);
}

.mb-premline > .ic {
  color: var(--cm-gold);
}

.mb-premline__t {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.mb-premline b {
  color: var(--cm-text);
  font-weight: 750;
}

.mb-premline i {
  color: var(--cm-dim);
  font-size: 11px;
  font-style: normal;
}

.mb-premline--life b {
  color: var(--cm-gold);
}

.mb-sub {
  margin-top: 6px;
}

.mb-seen {
  font-size: 12px;
}

.mb-waico {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #66bf94;
  border: 1px solid #2d5b47;
  border-radius: 50%;
  background: #13251d;
  box-shadow: none;
}

.mb-adminrow {
  display: flex;
  margin-top: 13px;
}

.mb-imp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: #efb2bb;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #59303a;
  border-radius: 6px;
  background: #211318;
  box-shadow: none;
  cursor: pointer;
}

.mb-imp:hover {
  color: #ffd7dd;
  border-color: #75414d;
  background: #29171d;
}

.mb-hero__stats {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--cm-border);
}

.mb-hero__statsrow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mb-hstat {
  min-width: 0;
  padding: 3px 12px;
  text-align: left;
  border-left: 1px solid var(--cm-border);
}

.mb-hstat:first-child {
  border-left: 0;
}

.mb-hstat b {
  display: block;
  overflow: hidden;
  color: var(--cm-text);
  font-size: 20px;
  font-weight: 780;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-hstat b small {
  color: var(--cm-dim);
  font-size: 11px;
  font-weight: 650;
}

.mb-hstat > span {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  overflow: hidden;
  color: var(--cm-dim);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-hstat > span svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.mb-stats,
.mb-stats-prem {
  display: none;
}

.mb-vip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: #d9c394;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #51462f;
  border-radius: 6px;
  background: #211d14;
}

.mb-herocta {
  margin-top: 12px;
}

.mb-vip--cta {
  color: #f2dbe3;
  border-color: #704057;
  background: #25151e;
}

.mb-vip--cta:hover {
  color: #fff;
  border-color: #8a4b67;
  background: #2d1822;
}

.mb-tabs {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  margin: 24px 0 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--cm-border);
  scrollbar-width: none;
}

.mb-tabs::-webkit-scrollbar {
  display: none;
}

.mb-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 0 12px;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 150ms ease;
}

.mb-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.mb-tab:hover,
.mb-tab.on {
  color: var(--cm-text);
}

.mb-tab.on::after {
  background: var(--cm-brand);
}

.mb-tab.on svg {
  color: var(--cm-brand-soft);
}

.mb-tab--infr {
  color: #d8a4ad;
}

.mb-tab__n {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  border-radius: 5px;
  background: #b73b50;
}

.mb-pane {
  display: none;
  min-width: 0;
}

.mb-pane.on {
  display: block;
}

.mb-pane[hidden] {
  display: none !important;
}

.mb-wgrid,
.mb-badges {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 13px;
  scroll-margin-top: calc(var(--hd) + 72px);
}

.mb-w,
.mb-bd {
  display: block;
  min-width: 0;
  color: inherit;
}

.mb-w__pos,
.mb-bd__pos {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: var(--cm-surface-2);
}

.mb-w__pos img,
.mb-bd__pos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 150ms ease;
}

.mb-w:hover .mb-w__pos img,
.mb-bd:hover .mb-bd__pos img {
  opacity: .84;
  transform: none;
}

.mb-w__ep {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 3px 6px;
  color: #f3c5d3;
  font-size: 10px;
  font-weight: 750;
  border: 1px solid #694052;
  border-radius: 4px;
  background: #21151b;
}

.mb-w__tt,
.mb-bd .tt {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: #dce0e5;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mb-w__ago {
  display: block;
  margin-top: 3px;
  color: var(--cm-dim);
  font-size: 10.5px;
}

.mb-bd__ck {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #d8f5e8;
  border: 1px solid #37755a;
  border-radius: 50%;
  background: #183627;
  box-shadow: none;
}

.mb-ach {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 0;
  cursor: default;
}

.mb-a {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: auto;
  min-height: 72px;
  padding: 12px;
  overflow: visible;
  text-align: left;
  border: 1px solid var(--cm-border);
  border-radius: 7px;
  background: var(--cm-surface);
  box-shadow: none;
  scroll-snap-align: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.mb-a.on,
.mb-a.off {
  border: 1px solid var(--cm-border);
  background: var(--cm-surface);
  box-shadow: none;
}

.mb-a.on {
  border-color: #4e493a;
}

.mb-a::before,
.mb-a__ic::after {
  content: none !important;
}

.mb-a.on:hover {
  transform: none;
  border-color: #675e43;
  background: var(--cm-surface-2);
  box-shadow: none;
}

.mb-a__ic,
.mb-a.on .mb-a__ic,
.mb-a.off .mb-a__ic {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cm-dim);
  border: 1px solid var(--cm-border);
  border-radius: 7px;
  background: var(--cm-surface-3);
  box-shadow: none;
}

.mb-a.on .mb-a__ic {
  color: var(--cm-gold);
  border-color: #554b33;
  background: #211e16;
}

.mb-a__ic svg {
  position: static;
  z-index: auto;
  width: 20px;
  height: 20px;
}

.mb-a__lk {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--cm-dim);
  border: 1px solid var(--cm-border-strong);
  border-radius: 50%;
  background: var(--cm-surface);
}

.mb-a__b {
  min-width: 0;
}

.mb-a__b b {
  display: block;
  color: var(--cm-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.mb-a.off .mb-a__b b {
  color: #c2c8d0;
}

.mb-a__b small {
  display: block;
  margin-top: 3px;
  color: var(--cm-dim);
  font-size: 11px;
  line-height: 1.35;
}

.mb-a__st,
.mb-a__st--on,
.mb-a__st:not(.mb-a__st--on) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: var(--cm-muted);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: var(--cm-surface-2);
}

.mb-a__st--on {
  color: #dac897;
  border-color: #554b33;
  background: #211e16;
}

body.nvx-member-page .mb-rep {
  position: relative;
  margin: 0 0 18px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

body.nvx-member-page .mb-rep__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.nvx-member-page .mb-rep__em {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  color: var(--rc, var(--cm-muted));
  border: 1px solid var(--cm-border-strong) !important;
  border-radius: 7px;
  background: var(--cm-surface-3) !important;
}

body.nvx-member-page .mb-rep__em .nvx-repfr {
  width: 42px !important;
  height: 42px !important;
  filter: none !important;
}

body.nvx-member-page .mb-rep__hd {
  min-width: 0;
  flex: 1;
}

body.nvx-member-page .mb-rep__lvl {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

body.nvx-member-page .mb-rep__lvl b {
  color: var(--cm-text);
  font-size: 15px;
  font-weight: 750;
}

body.nvx-member-page .mb-rep__lvl .sc,
body.nvx-member-page .mb-rep__sub {
  color: var(--cm-muted);
  font-size: 11.5px;
}

body.nvx-member-page .mb-rep__info {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: 1px;
  padding: 0;
  color: var(--cm-muted);
  border: 1px solid var(--cm-border);
  border-radius: 50%;
  background: transparent;
  transform: none;
}

body.nvx-member-page .mb-rep__info:hover {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-2);
  transform: none;
}

body.nvx-member-page .mb-rep__prog {
  margin-top: 10px;
}

body.nvx-member-page .mb-rep__bar {
  position: relative;
  height: 28px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: var(--cm-surface-3);
  box-shadow: none;
}

body.nvx-member-page .mb-rep__bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  min-width: 2px;
  border-radius: 0;
  background: color-mix(in srgb, var(--np, var(--rc, #7f8792)) 58%, #15191f) !important;
  box-shadow: none;
  animation: none;
  transform: none;
}

body.nvx-member-page .mb-rep__bar i::after,
body.nvx-member-page .mb-rep__shine {
  display: none;
}

body.nvx-member-page .mb-rep__intxt {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-weight: 750;
  pointer-events: none;
  text-shadow: none;
}

body.nvx-member-page .mb-rep__intxt .l,
body.nvx-member-page .mb-rep__intxt .r {
  font-size: 11px;
}

body.nvx-member-page .mb-rep__foot {
  margin-top: 12px;
  color: var(--cm-dim);
  font-size: 11px;
  line-height: 1.5;
}

body.nvx-member-page .mb-rep__grid {
  gap: 8px;
  margin-top: 15px;
}

body.nvx-member-page .mb-rep__it {
  width: 205px;
  padding: 10px 11px;
  border: 1px solid var(--cm-border);
  border-radius: 7px;
  background: var(--cm-surface-2);
}

.mb-cmts,
.mb-buys {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 8px;
  background: var(--cm-surface);
}

body.nvx-member-page .mb-cm,
.mb-buy {
  display: flex;
  gap: 13px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--cm-border);
  border-radius: 0;
  background: transparent;
}

body.nvx-member-page .mb-cm:last-child,
.mb-buy:last-child {
  border-bottom: 0;
}

body.nvx-member-page .mb-cm__cov {
  width: 42px;
  height: 59px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: var(--cm-surface-2);
}

body.nvx-member-page .mb-cm__cov img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.nvx-member-page .mb-cm__ser {
  color: var(--cm-text);
  font-size: 13px;
}

body.nvx-member-page .mb-cm__ser:hover,
body.nvx-member-page .mb-cm__go:hover {
  color: var(--cm-brand-soft);
}

body.nvx-member-page .mb-cm__ep,
body.nvx-member-page .mb-cm__reply {
  padding: 2px 6px;
  font-size: 10px;
  border: 1px solid var(--cm-border-strong);
  border-radius: 4px;
  background: var(--cm-surface-3);
}

body.nvx-member-page .mb-cm__ep {
  color: #e6afc0;
}

body.nvx-member-page .mb-cm__reply {
  color: #aebfda;
}

body.nvx-member-page .mb-cm__par {
  margin: 5px 0 7px;
  padding: 7px 10px;
  color: var(--cm-muted);
  font-size: 11.5px;
  border-left: 2px solid var(--cm-border-strong);
  border-radius: 0;
  background: var(--cm-surface-2);
}

body.nvx-member-page .mb-cm__body {
  color: #dce0e5;
  font-size: 13px;
}

body.nvx-member-page .mb-cm__meta,
body.nvx-member-page .mb-cm__go {
  color: var(--cm-dim);
  font-size: 11px;
}

.mb-buysum {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--cm-muted);
  font-size: 12px;
}

.mb-buysum b {
  color: var(--cm-text);
}

.mb-buy {
  align-items: center;
}

.mb-buy__m {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 4px 7px;
  color: #dce0e5;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  border: 1px solid var(--cm-border-strong);
  border-radius: 4px;
  background: var(--cm-surface-3);
}

.mb-buy__m--pix,
.mb-buy__m--card,
.mb-buy__m--bonus,
.mb-buy__m--gift {
  color: #dce0e5 !important;
  background: var(--cm-surface-3) !important;
}

.mb-buy__mid {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.mb-buy__mid b {
  overflow: hidden;
  color: var(--cm-text);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-buy__mid small {
  color: var(--cm-dim);
  font-size: 11px;
}

.mb-buy__val {
  flex: 0 0 auto;
  color: var(--cm-text);
  font-size: 13px;
  font-weight: 700;
}

.mb-buy__st {
  flex: 0 0 auto;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #315f4a;
  border-radius: 4px;
}

.mb-buy__st--ok {
  color: #88d3ad;
  background: #14271e;
}

.mb-empty,
.mb-priv {
  padding: 38px 20px;
  color: var(--cm-muted);
  text-align: center;
  border: 1px dashed var(--cm-border-strong);
  border-radius: 8px;
  background: var(--cm-surface);
}

.mb-priv {
  margin-bottom: 18px;
  border-style: solid;
}

.mb-priv__ic {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 13px;
  color: var(--cm-muted);
  border: 1px solid var(--cm-border);
  border-radius: 50%;
  background: var(--cm-surface-2);
}

.mb-priv__t {
  margin: 0 0 7px;
  color: var(--cm-text);
  font-size: 18px;
}

.mb-priv__p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--cm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mb-pager {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.mb-pager:empty {
  display: none;
}

.mb-pg {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 8px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: var(--cm-surface);
  cursor: pointer;
}

.mb-pg:hover:not(:disabled) {
  color: var(--cm-text);
  border-color: var(--cm-border-strong);
  background: var(--cm-surface-2);
}

.mb-pg.on {
  color: var(--cm-text);
  border-color: #704057;
  background: #25151e;
}

.mb-pg:disabled {
  opacity: .38;
  cursor: default;
}

.mb-pg-dots {
  align-self: center;
  color: var(--cm-dim);
}

.mb-infr__clean {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 38px 20px;
  text-align: center;
}

.mb-infr__clean-ic {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #78c89f;
  border: 1px solid #315f4a;
  border-radius: 50%;
  background: #14271e;
}

.mb-infr__clean b,
.mb-infr__type {
  color: var(--cm-text);
}

.mb-infr__clean-s,
.mb-infr__meta {
  color: var(--cm-dim);
}

.mb-infr__sum {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mb-infr__chip {
  padding: 5px 9px;
  color: var(--cm-muted);
  font-size: 11px;
  border: 1px solid var(--cm-border);
  border-radius: 5px;
  background: var(--cm-surface);
}

.mb-infr__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mb-infr__it {
  display: flex;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--cm-border);
  border-radius: 7px;
  background: var(--cm-surface);
}

.mb-infr__it.is-active {
  border-color: #633944;
  background: #1d1418;
}

.mb-infr__ic {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ic, var(--cm-muted));
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: var(--cm-surface-2);
}

.mb-infr__b {
  min-width: 0;
  flex: 1;
}

.mb-infr__top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mb-infr__reason {
  margin-top: 3px;
  color: #cbd0d7;
  font-size: 13px;
}

.mb-infr__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  padding: 6px 8px;
  color: var(--cm-muted);
  font-size: 11px;
  border-left: 2px solid var(--cm-border-strong);
  background: var(--cm-surface-2);
}

body.nvx-member-page .nvx-cmt-blocked {
  border-radius: 6px;
  background: #22151a;
}

body.nvx-member-page .nvx-repm[hidden] {
  display: none;
}

body.nvx-member-page .nvx-repm {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

body.nvx-member-page .nvx-repm__bd {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 8, .82);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.nvx-member-page .nvx-repm__box {
  position: relative;
  width: 100%;
  max-width: 470px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--cm-border-strong);
  border-radius: 8px;
  background: var(--cm-surface-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .62);
  animation: none;
}

body.nvx-member-page .nvx-repm__x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--cm-muted);
  font-size: 20px;
  line-height: 1;
  border: 1px solid var(--cm-border);
  border-radius: 50%;
  background: var(--cm-surface);
  cursor: pointer;
}

body.nvx-member-page .nvx-repm__hero {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 2px 10px 15px;
  text-align: center;
}

body.nvx-member-page .nvx-repm__hero .nvx-repfr,
body.nvx-member-page .nvx-repm__em .nvx-repfr {
  filter: none;
  animation: none;
}

body.nvx-member-page .nvx-repm__hero > svg {
  width: 64px;
  height: 64px;
}

body.nvx-member-page .nvx-repm__em {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
}

body.nvx-member-page .nvx-repm__em > svg {
  width: 32px;
  height: 32px;
}

body.nvx-member-page .nvx-repm__heronm {
  margin-top: 8px;
  color: var(--cm-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

body.nvx-member-page .nvx-repm__heropts {
  margin-top: 4px;
  font-size: 12px;
}

body.nvx-member-page .nvx-repm__hd {
  margin-bottom: 17px;
  padding: 0 12px;
  text-align: center;
}

body.nvx-member-page .nvx-repm__hd h3 {
  margin: 0 0 6px;
  color: var(--cm-text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
}

body.nvx-member-page .nvx-repm__hd p,
body.nvx-member-page .nvx-repm__heropts {
  margin-bottom: 0;
  color: var(--cm-muted);
  line-height: 1.5;
}

body.nvx-member-page .nvx-repm__sect {
  margin: 0 2px 10px;
  color: var(--cm-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.nvx-member-page .nvx-repm__lvs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.nvx-member-page .nvx-repm__lv {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  background: var(--cm-surface);
}

body.nvx-member-page .nvx-repm__lv--wide {
  grid-column: 1 / -1;
}

body.nvx-member-page .nvx-repm__lv.is-past {
  opacity: .62;
}

body.nvx-member-page .nvx-repm__lv.is-cur {
  border-color: var(--rc, var(--cm-border-strong));
  background: var(--cm-surface-3);
  box-shadow: inset 3px 0 var(--rc, var(--cm-border-strong));
}

body.nvx-member-page .nvx-repm__lvb {
  min-width: 0;
  flex: 1;
}

body.nvx-member-page .nvx-repm__lvb b,
body.nvx-member-page .nvx-repm__lvb small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.nvx-member-page .nvx-repm__lvb b {
  color: var(--rc, var(--cm-text));
  font-size: 13px;
  font-weight: 750;
}

body.nvx-member-page .nvx-repm__lvb small {
  margin-top: 2px;
  color: var(--cm-dim);
  font-size: 10.5px;
}

body.nvx-member-page .nvx-repm__you {
  border-radius: 4px;
  box-shadow: none;
}

/* Admin gift dialog follows the same visual system. */
.nvx-gift-card {
  border-color: var(--cm-border-strong) !important;
  border-radius: 8px !important;
  background: var(--cm-surface-2) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55) !important;
}

.nvx-gift-tabs button,
.nvx-gift-unit,
.nvx-gift-amt input,
.nvx-gift-ft button,
.nvx-gift-serie {
  border-radius: 6px !important;
}

.nvx-gift-tabs button.on,
.nvx-gift-unit button.on,
.nvx-gift-confirm {
  background: var(--cm-brand) !important;
  box-shadow: none !important;
}

/* Focus and motion */
.cm-wrap a:focus-visible,
.cm-wrap button:focus-visible,
.cm-wrap summary:focus-visible,
.cm-wrap textarea:focus-visible,
.mb-wrap a:focus-visible,
.mb-wrap button:focus-visible,
.nvx-repm button:focus-visible,
.nvx-repm a:focus-visible,
.nvx-gift-modal button:focus-visible,
.nvx-gift-modal input:focus-visible {
  outline: 2px solid var(--cm-brand-soft);
  outline-offset: 2px;
}

@media (max-width: 1040px) {
  .cm-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .cm-stat {
    padding-right: 14px;
    padding-left: 14px;
  }

  .cm-stat .n {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .mb-hero__in {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mb-hero__stats {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-top: 1px solid var(--cm-border);
    border-left: 0;
  }

  .mb-wgrid,
  .mb-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .cm-side {
    position: static;
  }

  .cm-rail {
    display: grid;
    grid-template-columns: .72fr 1.28fr 1fr;
  }

  .cm-card {
    border-top: 0;
    border-left: 1px solid var(--cm-border);
  }

  .cm-card:first-child {
    border-left: 0;
  }

  .cm-card--online {
    display: flex;
  }

  .cm-rail-online {
    width: 100%;
    align-items: flex-start;
  }

  .cm-rail-online > .ic {
    display: none;
  }

  .cm-trd:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 720px) {
  .cm-wrap {
    padding: calc(var(--hd) + 24px) 14px 72px;
  }

  .cm-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
  }

  .cm-head h1 {
    font-size: 29px;
  }

  .cm-head__sub {
    max-width: 46ch;
    font-size: 13px;
  }

  .cm-live {
    align-self: flex-start;
  }

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

  .cm-stats--primary .cm-stat:nth-child(3) {
    border-left: 0;
  }

  .cm-stats--primary .cm-stat:nth-child(n + 3) {
    border-top: 1px solid var(--cm-border);
  }

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

  .cm-stats--secondary .cm-stat:nth-child(odd) {
    border-left: 0;
  }

  .cm-stats--secondary .cm-stat:nth-child(n + 3) {
    border-top: 1px solid var(--cm-border);
  }

  .cm-stats--secondary .cm-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .cm-nav {
    position: sticky;
    top: var(--hd);
    z-index: 80;
    margin: 20px -14px 0;
    padding: 0 14px 10px;
    background: rgba(11, 13, 16, .97);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
  }

  .cm-tabs {
    gap: 21px;
  }

  .cm-tabs a {
    min-height: 48px;
  }

  .cm-filters {
    width: 100%;
    margin-top: 9px;
  }

  .cm-filters a {
    min-height: 38px;
  }

  .cm-grid {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    margin-top: 23px;
  }

  .cm-view-head {
    margin-bottom: 11px;
  }

  .cm-side,
  .cm-rail {
    display: contents;
  }

  .cm-card {
    border: 1px solid var(--cm-border);
    border-radius: 8px;
    background: var(--cm-surface);
  }

  .cm-main {
    order: 0;
  }

  .cm-card--online {
    display: none;
  }

  .cm-card--trend {
    order: -1;
    margin-bottom: 18px;
  }

  .cm-card--joined {
    order: 1;
    margin-top: 18px;
  }

  .cm-trend {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .cm-trend::-webkit-scrollbar {
    display: none;
  }

  .cm-trd,
  .cm-trd:nth-child(n + 4) {
    display: grid;
    min-width: 220px;
    padding: 6px 12px 6px 0;
    scroll-snap-align: start;
  }

  .cm-trd + .cm-trd {
    padding-left: 12px;
    border-top: 0;
    border-left: 1px solid var(--cm-border);
  }

  .cm-onl-sum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .rk-me {
    align-items: flex-start;
    flex-direction: column;
  }

  .rk-subtabs {
    gap: 20px;
  }

  .mb2 {
    padding: calc(var(--hd) + 22px) 14px 72px;
  }

  .mb-back {
    margin-bottom: 12px;
  }

  .mb-hero__in {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
  }

  .mb-avwrap,
  .mb-av {
    width: 72px;
    height: 72px;
  }

  .mb-av {
    font-size: 28px;
  }

  .mb-avpremium {
    width: 22px;
    height: 22px;
  }

  .mb-id h1 {
    font-size: 22px;
  }

  .mb-id h1 .mb-nm {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .mb-premline,
  .mb-sub {
    font-size: 11.5px;
  }

  .mb-hero__stats {
    margin-top: 2px;
    padding-top: 15px;
  }

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

  .mb-hstat {
    min-height: 62px;
    padding: 10px 12px;
  }

  .mb-hstat:nth-child(odd) {
    border-left: 0;
  }

  .mb-hstat:nth-child(n + 3) {
    border-top: 1px solid var(--cm-border);
  }

  .mb-hstat b {
    font-size: 19px;
  }

  .mb-tabs {
    gap: 21px;
    margin-top: 20px;
  }

  .mb-tab {
    min-height: 48px;
  }

  .mb-wgrid,
  .mb-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
  }

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

  body.nvx-member-page .mb-rep {
    padding: 16px;
  }

  body.nvx-member-page .mb-rep__em {
    width: 44px !important;
    height: 44px !important;
  }

  body.nvx-member-page .mb-rep__em .nvx-repfr {
    width: 38px !important;
    height: 38px !important;
  }

  body.nvx-member-page .nvx-repm {
    align-items: flex-end;
    padding: 0;
  }

  body.nvx-member-page .nvx-repm__box {
    max-width: none;
    max-height: 92vh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 520px) {
  .cm-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }

  .cm-head h1 {
    font-size: 28px;
  }

  .cm-overview {
    margin-top: 16px;
  }

  .cm-stat {
    min-height: 86px;
    padding: 13px 12px;
  }

  .cm-stat .l {
    margin-bottom: 7px;
    font-size: 10.5px;
  }

  .cm-stat .n {
    font-size: 21px;
  }

  .cm-stat__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .cm-stat__tag {
    font-size: 9.5px;
  }

  .cm-stats-more > summary small {
    display: none;
  }

  .cm-nav {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .cm-tabs {
    gap: 19px;
  }

  .cm-tabs a {
    gap: 6px;
    font-size: 13px;
  }

  .cm-filters a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

  .cm-item {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 10px;
    min-height: 80px;
    padding: 12px;
  }

  .cm-eventlead,
  .cm-eventlead .cm-av {
    width: 36px !important;
    height: 36px !important;
  }

  .cm-ico {
    right: -4px;
    bottom: -4px;
  }

  .cm-txt {
    font-size: 13px;
  }

  .cm-quote {
    padding: 7px 9px;
    font-size: 12px;
  }

  .cm-thumb {
    width: 40px;
    height: 56px;
  }

  .cm-when {
    white-space: normal;
  }

  .rk-row {
    grid-template-columns: 30px 34px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 57px;
    padding: 9px 10px;
  }

  .rk-row .cm-av {
    width: 34px !important;
    height: 34px !important;
  }

  .rk-pos {
    width: 27px;
    height: 27px;
  }

  .rk-nm {
    font-size: 12.5px;
  }

  .rk-vl {
    max-width: 92px;
    overflow: hidden;
    font-size: 11.5px;
    text-overflow: ellipsis;
  }

  .cmtx {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 9px;
    padding: 12px;
  }

  .cmtx-side .cm-av {
    width: 36px !important;
    height: 36px !important;
  }

  .cmtx-hd {
    align-items: baseline;
    gap: 4px 5px;
    flex-wrap: wrap;
    font-size: 11.5px;
  }

  .cmtx-hd time {
    width: 100%;
    margin-left: 0;
  }

  .cmtx-book {
    max-width: 150px;
  }

  .cmtx-b > p {
    font-size: 13px;
  }

  .cmtx-thumb {
    width: 40px;
    height: 56px;
  }

  .cmtx--reply {
    grid-template-columns: 30px minmax(0, 1fr);
    padding-right: 0;
    padding-left: 0;
  }

  .cmtx--reply .cm-av {
    width: 30px !important;
    height: 30px !important;
  }

  .cm-onl-sum__i {
    min-height: 55px;
    padding: 10px;
  }

  .cm-onl-sum__i b {
    font-size: 16px;
  }

  .cm-onl-u {
    padding: 10px;
  }

  .cm-onl-av .cm-av {
    width: 42px !important;
    height: 42px !important;
  }

  .cm-pager .dots,
  .cm-pager__page:not(.on) {
    display: none;
  }

  .cm-pager a,
  .cm-pager span {
    min-width: 42px;
    height: 42px;
  }

  .mb2 {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mb-hero__in {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 13px;
  }

  .mb-avwrap,
  .mb-av {
    width: 64px;
    height: 64px;
  }

  .mb-av {
    font-size: 25px;
  }

  .mb-id h1 {
    font-size: 20px;
  }

  .mb-selos {
    gap: 5px;
    margin-top: 7px;
  }

  .mb-premline__t {
    gap: 4px;
  }

  .mb-premline i {
    width: 100%;
  }

  .mb-adminrow {
    grid-column: 1 / -1;
  }

  .mb-hstat {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mb-tabs {
    gap: 19px;
  }

  .mb-tab {
    gap: 6px;
    font-size: 12.5px;
  }

  .mb-w__tt,
  .mb-bd .tt {
    font-size: 11.5px;
  }

  .mb-a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 68px;
    padding: 10px;
  }

  .mb-a__ic,
  .mb-a.on .mb-a__ic,
  .mb-a.off .mb-a__ic {
    width: 38px;
    height: 38px;
  }

  .mb-a__st,
  .mb-a__st--on,
  .mb-a__st:not(.mb-a__st--on) {
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.nvx-member-page .mb-cm,
  .mb-buy {
    gap: 10px;
    padding: 11px;
  }

  body.nvx-member-page .mb-cm__cov {
    width: 38px;
    height: 53px;
  }

  .mb-buy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .mb-buy__st {
    display: none;
  }

  .mb-buy__val {
    font-size: 12px;
  }

  .mb-pg {
    min-width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-wrap *,
  .cm-wrap *::before,
  .cm-wrap *::after,
  .mb-wrap *,
  .mb-wrap *::before,
  .mb-wrap *::after,
  .nvx-repm *,
  .nvx-repm *::before,
  .nvx-repm *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
