.cc-community-root.cc-community-shell {
  --cc-community-primary: var(--heo-main, var(--heo-theme, var(--theme-color, var(--primary-color, #ff7ab6))));
  --cc-community-accent: var(--cc-community-primary);
  --cc-community-primary-soft: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  --cc-community-bg: color-mix(in srgb, var(--cc-community-primary) 3%, #fafafa);
  --cc-community-card-bg: rgba(255, 255, 255, 0.64);
  --cc-community-card-bg-hover: rgba(255, 255, 255, 0.9);
  --cc-community-card-bg-strong: var(--cc-community-card-bg-hover);
  --cc-community-border: rgba(20, 20, 24, 0.11);
  --cc-community-border-hover: color-mix(in srgb, var(--cc-community-primary) 38%, var(--cc-community-border));
  --cc-community-text: #1f1f23;
  --cc-community-muted: #73717a;
  --cc-community-radius-sm: 8px;
  --cc-community-radius-md: 12px;
  --cc-community-radius-lg: 16px;
  --cc-community-radius: var(--cc-community-radius-lg);
  --cc-community-shadow-sm: 0 1px 2px rgba(31, 31, 35, 0.04);
  --cc-community-shadow-md: 0 10px 26px rgba(31, 31, 35, 0.05);
  --cc-community-shadow: var(--cc-community-shadow-sm);
  --cc-community-soft: var(--cc-community-primary-soft);
  width: min(1216px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 56px;
  color: var(--cc-community-text);
  font-family: "Noto Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
}

.cc-community-root.cc-community-shell *,
.cc-community-root.cc-community-shell *::before,
.cc-community-root.cc-community-shell *::after {
  box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
  .cc-community-root.cc-community-shell {
    --cc-community-bg: #111216;
    --cc-community-card-bg: rgba(28, 30, 36, 0.62);
    --cc-community-card-bg-hover: rgba(31, 34, 40, 0.84);
    --cc-community-card-bg-strong: var(--cc-community-card-bg-hover);
    --cc-community-border: rgba(255, 255, 255, 0.13);
    --cc-community-border-hover: color-mix(in srgb, var(--cc-community-primary) 45%, var(--cc-community-border));
    --cc-community-text: #f5f5f7;
    --cc-community-muted: #a6a4ad;
    --cc-community-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.16);
    --cc-community-shadow-md: 0 14px 30px rgba(0, 0, 0, 0.26);
    --cc-community-shadow: var(--cc-community-shadow-sm);
    --cc-community-primary-soft: color-mix(in srgb, var(--cc-community-primary) 20%, transparent);
    --cc-community-soft: var(--cc-community-primary-soft);
  }
}

.cc-community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 48%),
    var(--cc-community-card-bg);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.cc-community-eyebrow {
  margin: 0 0 4px;
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cc-community-hero h1 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.16;
  letter-spacing: 0;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero {
  min-height: 54px;
  padding: 10px 14px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero .cc-community-subtitle,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero .cc-community-subtitle,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero .cc-community-subtitle,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero .cc-community-subtitle,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero .cc-community-subtitle {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero h1,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero h1,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero h1,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero h1,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero h1 {
  font-size: 18px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav a,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav a,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav a,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav a,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav a {
  min-height: 32px;
  padding: 0 11px;
  font-size: 13px;
}

.cc-community-subtitle {
  margin: 6px 0 0;
  color: var(--cc-community-muted);
  font-size: 14px;
}

.cc-community-nav,
.cc-community-actions,
.cc-community-card-top,
.cc-community-tags,
.cc-community-metrics,
.cc-community-feed-head-meta,
.cc-community-forum-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-community-nav a,
.cc-community-button,
.cc-community-icon-button,
.cc-community-topic,
.cc-community-tab,
.cc-community-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-nav a:hover,
.cc-community-button:hover,
.cc-community-icon-button:hover,
.cc-community-topic:hover,
.cc-community-tab:hover,
.cc-community-page:hover {
  border-color: var(--cc-community-border-hover);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-nav a.is-active,
.cc-community-button.is-primary,
.cc-community-tab.is-active,
.cc-community-page.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 60%, transparent);
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
}

.cc-community-button.is-danger {
  border-color: color-mix(in srgb, #ef4444 35%, var(--cc-community-border));
  color: #dc2626;
}

.cc-community-follow-button {
  gap: 7px;
}

.cc-community-follow-button.is-following,
.cc-community-follow-tab.is-following {
  border-color: color-mix(in srgb, var(--cc-community-primary) 28%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-text-button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  transition: color 160ms ease;
}

.cc-community-text-button:hover {
  color: var(--cc-community-primary);
}

.cc-community-text-button.is-danger {
  color: #dc2626;
}

.cc-community-button.is-soft,
.cc-community-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.cc-community-actions.is-stack {
  display: grid;
  width: 100%;
}

.cc-community-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 132px auto auto auto;
  gap: 10px;
  align-items: center;
  margin: 12px 0 18px;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
  backdrop-filter: blur(16px);
}

.cc-community-toolbar[hidden] {
  display: none !important;
}

.cc-community-input,
.cc-community-select,
.cc-community-textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
  color: var(--cc-community-text);
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cc-community-input.is-title {
  min-height: 58px;
  font-size: 22px;
  font-weight: 800;
}

.cc-community-compose-block-title .cc-community-input.is-title {
  min-height: 62px;
  border-color: color-mix(in srgb, var(--cc-community-border) 70%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 58%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 92%, transparent);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.18;
}

.cc-community-textarea {
  min-height: 360px;
  line-height: 1.75;
  resize: vertical;
}

.cc-community-textarea.is-compact {
  min-height: 128px;
}

.cc-community-input:focus,
.cc-community-select:focus,
.cc-community-textarea:focus {
  border-color: var(--cc-community-primary);
  background: var(--cc-community-card-bg-strong);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--cc-community-primary) 14%, transparent),
    0 8px 22px color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
}

.cc-community-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  color: var(--cc-community-muted);
  font-size: 14px;
  white-space: nowrap;
}

.cc-community-forum-layout,
.cc-community-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.cc-community-compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.cc-community-forum-main,
.cc-community-forum-sidebar,
.cc-community-detail-aside,
.cc-community-compose-side,
.cc-community-user-posts,
.cc-community-admin-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cc-community-forum-sidebar,
.cc-community-detail-aside,
.cc-community-compose-side {
  position: sticky;
  top: 16px;
}

.cc-community-card,
.cc-community-panel {
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cc-community-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cc-community-card:hover,
.cc-community-section-card:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  box-shadow: var(--cc-community-shadow-md);
  transform: translateY(-2px);
}

.cc-community-card-body,
.cc-community-panel {
  padding: 18px;
}

.cc-community-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cc-community-card h2,
.cc-community-panel h2,
.cc-community-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: 0;
}

.cc-community-card h2 a {
  color: inherit;
  text-decoration: none;
}

.cc-community-card h2 a:hover {
  color: var(--cc-community-primary);
}

.cc-community-skeleton-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.cc-community-skeleton-main,
.cc-community-skeleton-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cc-community-skeleton-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-community-skeleton-main > .is-controls,
.cc-community-skeleton-main > .cc-community-skeleton-strip {
  grid-column: 1 / -1;
}

.cc-community-skeleton-card {
  display: grid;
  gap: 13px;
  min-height: 190px;
}

.cc-community-skeleton-card.is-controls {
  min-height: 142px;
  padding: 0;
  overflow: hidden;
}

.cc-community-skeleton-card.is-side {
  min-height: 214px;
}

.cc-community-skeleton-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
}

.cc-community-skeleton-card span,
.cc-community-skeleton-strip span,
.cc-community-skeleton-author div span,
.cc-community-skeleton-images span {
  display: block;
  min-height: 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, #fff) 48%, transparent),
    color-mix(in srgb, var(--cc-community-muted) 10%, transparent);
  background-size: 220% 100%;
  animation: cc-community-skeleton-shimmer 1.35s ease-in-out infinite;
}

.cc-community-skeleton-tabs {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--cc-community-border);
}

.cc-community-skeleton-tabs span {
  width: 48px;
}

.cc-community-skeleton-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 76px;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
}

.cc-community-skeleton-row span {
  min-height: 38px;
  border-radius: var(--cc-community-radius-sm);
}

.cc-community-skeleton-row .is-wide {
  min-width: 0;
}

.cc-community-skeleton-author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.cc-community-skeleton-author .is-avatar {
  width: 42px;
  height: 42px;
}

.cc-community-skeleton-author div {
  display: grid;
  gap: 8px;
}

.cc-community-skeleton-author div span:first-child {
  width: 42%;
}

.cc-community-skeleton-author div span:last-child {
  width: 62%;
}

.cc-community-skeleton-title {
  width: 78%;
  min-height: 22px !important;
}

.cc-community-skeleton-text {
  width: 96%;
}

.cc-community-skeleton-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-skeleton-images span {
  min-height: 92px;
  border-radius: 10px;
}

.cc-community-skeleton-strip span {
  min-height: 45px;
  border-radius: 0;
}

@keyframes cc-community-skeleton-shimmer {
  0% {
    background-position: 160% 0;
  }
  100% {
    background-position: -60% 0;
  }
}

.cc-community-author a,
.cc-community-detail-author a,
.cc-community-active-user,
.cc-community-badge.is-link {
  color: inherit;
  text-decoration: none;
}

.cc-community-author-avatar {
  display: inline-flex;
  border-radius: 999px;
}

.cc-community-author-name {
  transition: color 160ms ease;
}

.cc-community-author-name:hover,
.cc-community-active-user:hover strong,
.cc-community-badge.is-link:hover {
  color: var(--cc-community-primary);
}

.cc-community-summary,
.cc-community-meta,
.cc-community-empty,
.cc-community-loading,
.cc-community-error {
  color: var(--cc-community-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cc-community-login-gate {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  min-height: 280px;
  background:
    radial-gradient(circle at 16% 18%, color-mix(in srgb, var(--cc-community-primary) 16%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 56%),
    var(--cc-community-card-bg);
  text-align: left;
}

.cc-community-login-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  border-radius: var(--cc-community-radius);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 74%, transparent);
}

.cc-community-login-visual .cc-community-avatar {
  width: 78px;
  height: 78px;
  flex-basis: 78px;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 16%, transparent);
}

.cc-community-login-visual span {
  position: absolute;
  right: 34px;
  bottom: 38px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--cc-community-primary);
  box-shadow: 0 0 0 8px var(--cc-community-soft);
}

.cc-community-login-profile-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 16%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 86%, transparent);
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-login-profile-card strong {
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 950;
}

.cc-community-login-profile-card em {
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-login-profile-stats {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  gap: 6px;
}

.cc-community-login-profile-stats b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 950;
}

.cc-community-login-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cc-community-login-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.cc-community-login-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 15px;
  line-height: 1.8;
}

.cc-community-login-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cc-community-login-features span {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-login-features strong {
  font-size: 14px;
  font-weight: 900;
}

.cc-community-login-features em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.cc-community-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cc-community-forum-controls {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.cc-community-forum-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--cc-community-border);
}

.cc-community-forum-tabs {
  display: flex;
  gap: 24px;
  min-height: 50px;
  padding: 0 18px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.cc-community-forum-tabs::-webkit-scrollbar {
  display: none;
}

.cc-community-forum-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.cc-community-forum-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.cc-community-forum-tab.is-active {
  color: var(--cc-community-text);
  font-weight: 800;
}

.cc-community-forum-tab.is-active::after {
  background: var(--cc-community-text);
}

.cc-community-forum-feed-meta {
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 0 16px 0 8px;
}

.cc-community-forum-feed-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 8%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-forum-sort {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 132px auto auto;
  gap: 8px;
  align-items: end;
  padding: 10px 16px;
}

.cc-community-forum-checks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  min-height: 42px;
}

.cc-community-search-inline {
  display: grid;
  gap: 6px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-forum-controls .cc-community-feed-head {
  padding: 0 16px 14px;
}

.cc-community-feed-head-meta span,
.cc-community-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
}

.cc-community-metric b {
  color: var(--cc-community-text);
  font-weight: 800;
}

.cc-community-metric i {
  font-style: normal;
  color: var(--cc-community-muted);
}

.cc-community-topic-action,
.cc-community-action-icon {
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-topic-action:hover,
.cc-community-action-icon:hover {
  border-color: transparent;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-topic-action.is-active {
  border-color: transparent;
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-topic-action.is-active i,
.cc-community-topic-action.is-active b {
  color: var(--cc-community-primary);
}

.cc-community-welcome-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% -20%, color-mix(in srgb, var(--cc-community-primary) 16%, transparent), transparent 42%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 7%, transparent), transparent 60%),
    var(--cc-community-card-bg);
}

.cc-community-welcome-card.is-side {
  justify-items: center;
  text-align: center;
}

.cc-community-welcome-card.is-side .cc-community-welcome-main {
  flex-direction: column;
}

.cc-community-welcome-card.is-side .cc-community-actions {
  width: 100%;
}

.cc-community-welcome-card.is-side .cc-community-button {
  width: 100%;
}

.cc-community-welcome-card.is-hero {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 150px;
  padding: 22px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero {
  min-height: 118px;
  padding: 16px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  background:
    radial-gradient(circle at 8% 0, color-mix(in srgb, var(--cc-community-primary) 18%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 8%, transparent), transparent 62%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-avatar.is-lg {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 21px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-copy h3 {
  font-size: clamp(20px, 2vw, 24px);
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats {
  max-width: 260px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats span {
  padding: 7px 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats strong {
  font-size: 15px;
}

.cc-community-welcome-main {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.cc-community-welcome-copy {
  min-width: 0;
}

.cc-community-welcome-copy h3,
.cc-community-welcome-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
}

.cc-community-welcome-card p {
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.7;
}

.cc-community-welcome-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 4px 0;
}

.cc-community-welcome-card.is-hero .cc-community-welcome-stats {
  min-width: 260px;
  max-width: 320px;
}

.cc-community-welcome-stats span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-welcome-stats strong {
  color: var(--cc-community-text);
  font-size: 17px;
  line-height: 1;
}

.cc-community-home-deck {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-deck {
  gap: 10px;
}

.cc-community-home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.cc-community-home-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    color-mix(in srgb, var(--cc-community-card-bg) 86%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stats {
  gap: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat {
  min-height: 58px;
  padding: 10px 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat i {
  width: 30px;
  height: 30px;
  border-radius: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat strong {
  font-size: 18px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat span {
  font-size: 11px;
}

.cc-community-home-stat i {
  display: inline-grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-home-stat .cc-community-svg-icon {
  width: 19px;
  height: 19px;
}

.cc-community-home-stat strong {
  color: var(--cc-community-text);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.05;
}

.cc-community-home-stat span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-home-boards,
.cc-community-home-tags {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

.cc-community-home-board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags {
  padding: 14px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title {
  margin-bottom: 9px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-eyebrow,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-eyebrow {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards h3,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags h3 {
  font-size: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
  gap: 8px;
}

.cc-community-home-board-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 142px;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
  color: var(--cc-community-text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card .cc-community-section-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card strong {
  font-size: 13px;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card em {
  -webkit-line-clamp: 1;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card b {
  grid-column: 2;
  min-height: 20px;
  padding: 0;
  background: transparent;
  font-size: 11px;
}

.cc-community-home-board-card:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-2px);
}

.cc-community-home-board-card .cc-community-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
}

.cc-community-home-board-card strong,
.cc-community-home-board-card em,
.cc-community-home-board-card b {
  min-width: 0;
}

.cc-community-home-board-card strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-home-board-card em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cc-community-home-board-card b {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 900;
}

.cc-community-discovery {
  display: grid;
  gap: 13px;
  min-width: 0;
  max-width: 100%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

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

.cc-community-discovery-column {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
}

.cc-community-discovery-head {
  display: grid;
  gap: 4px;
}

.cc-community-discovery-head strong {
  font-size: 15px;
  font-weight: 900;
}

.cc-community-discovery-head span {
  color: var(--cc-community-muted);
  font-size: 12px;
}

.cc-community-discovery-list {
  display: grid;
  gap: 8px;
}

.cc-community-discovery-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  min-height: 62px;
  padding: 9px;
  border-radius: var(--cc-community-radius-sm);
  transition: background 160ms ease, transform 160ms ease;
}

.cc-community-discovery-item:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
  transform: translateY(-1px);
}

.cc-community-discovery-rank {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-discovery-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cc-community-discovery-body a {
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cc-community-discovery-body a:hover {
  color: var(--cc-community-primary);
}

.cc-community-discovery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  color: var(--cc-community-muted);
  font-size: 12px;
}

.cc-community-discovery-meta span {
  min-width: 0;
}

.cc-community-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cc-community-stat {
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 4%, transparent);
}

.cc-community-stat strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.cc-community-stat span {
  display: block;
  margin-top: 8px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
}

.cc-community-category-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--cc-community-primary) 14%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 7%, transparent), transparent 58%),
    var(--cc-community-card-bg);
}

.cc-community-category-icon .cc-community-section-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
}

.cc-community-category-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.cc-community-category-copy h2 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 30px);
}

.cc-community-category-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 8px;
  margin-top: 2px;
}

.cc-community-category-stats .cc-community-stat {
  min-height: 60px;
  padding: 10px 12px;
}

.cc-community-category-stats .cc-community-stat strong {
  font-size: 22px;
}

.cc-community-category-stats .cc-community-stat span {
  margin-top: 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-hero {
  padding: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy .cc-community-summary {
  max-width: 620px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-tabs {
  min-height: 46px;
  padding: 6px;
}

.cc-community-category-actions {
  display: grid;
  gap: 8px;
  min-width: 118px;
}

.cc-community-category-page {
  display: grid;
  gap: 14px;
}

.cc-community-category-layout {
  margin-top: 14px;
}

.cc-community-category-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cc-community-category-stats-strip .cc-community-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 86px;
}

.cc-community-category-stats-strip i {
  display: inline-grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-category-stats-strip .cc-community-svg-icon {
  width: 20px;
  height: 20px;
}

.cc-community-category-stats-strip strong {
  color: var(--cc-community-text);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.1;
}

.cc-community-category-stats-strip span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-board-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 64%),
    var(--cc-community-card-bg);
  box-shadow: var(--cc-community-shadow-sm);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.cc-community-board-rail::-webkit-scrollbar {
  display: none;
}

.cc-community-board-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-board-pill:hover,
.cc-community-board-pill.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-board-pill:hover {
  transform: translateY(-1px);
}

.cc-community-board-pill em {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 10%, transparent);
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.cc-community-category-feed-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

.cc-community-category-feed-head h3 {
  margin-bottom: 4px;
}

.cc-community-category-side-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.cc-community-category-side-card > .cc-community-section-icon {
  width: 58px;
  height: 58px;
}

.cc-community-category-side-card > strong {
  color: var(--cc-community-text);
  font-size: 18px;
  font-weight: 950;
}

.cc-community-category-side-card p,
.cc-community-category-side-card em {
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.65;
  font-style: normal;
}

.cc-community-category-side-card a:not(.cc-community-button) {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  color: var(--cc-community-text);
  text-align: left;
  text-decoration: none;
}

.cc-community-category-side-card a:not(.cc-community-button):hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
}

.cc-community-category-side-card a b {
  color: var(--cc-community-primary);
  font-size: 12px;
}

.cc-community-category-side-card .cc-community-button {
  width: 100%;
  gap: 6px;
}

.cc-community-category-side-card .cc-community-svg-icon {
  width: 15px;
  height: 15px;
}

.cc-community-section-list {
  display: grid;
  gap: 9px;
}

.cc-community-section-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: transparent;
  color: var(--cc-community-text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cc-community-section-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-weight: 900;
}

.cc-community-section-icon::before,
.cc-community-section-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.cc-community-section-icon::before {
  width: 16px;
  height: 12px;
  border-radius: 6px;
}

.cc-community-section-icon::after {
  width: 6px;
  height: 6px;
  right: 9px;
  bottom: 9px;
  opacity: 0.55;
}

.cc-community-section-icon.is-help::before {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid currentColor;
}

.cc-community-section-icon.is-help::after {
  width: 3px;
  height: 7px;
  right: 18px;
  bottom: 8px;
}

.cc-community-section-icon.is-book::before {
  width: 17px;
  height: 16px;
  border-radius: 3px;
  background: transparent;
  border: 3px solid currentColor;
}

.cc-community-section-icon.is-star::before,
.cc-community-section-icon.is-spark::before {
  width: 16px;
  height: 16px;
  clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%);
}

.cc-community-section-icon.is-plus::before {
  width: 18px;
  height: 4px;
}

.cc-community-section-icon.is-plus::after {
  inset: 10px auto auto 17px;
  width: 4px;
  height: 18px;
  opacity: 1;
}

.cc-community-section-card strong,
.cc-community-section-card em {
  display: block;
}

.cc-community-section-card em {
  margin-top: 3px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
}

.cc-community-topic-row,
.cc-community-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.cc-community-board-tabs {
  gap: 10px;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
  backdrop-filter: blur(16px);
}

.cc-community-board-tabs .cc-community-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cc-community-board-tabs .cc-community-tab i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  font-style: normal;
}

.cc-community-board-tabs .cc-community-tab .cc-community-svg-icon {
  width: 15px;
  height: 15px;
}

.cc-community-board-tabs .cc-community-tab.is-active,
.cc-community-board-tabs .cc-community-tab:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
}

.cc-community-topic {
  gap: 8px;
}

.cc-community-topic span {
  color: var(--cc-community-primary);
}

.cc-community-filter-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  color: var(--cc-community-muted);
  font-size: 14px;
}

.cc-community-filter-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-weight: 800;
}

.cc-community-filter-note button {
  border: 0;
  background: transparent;
  color: var(--cc-community-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cc-community-hot-topic-list,
.cc-community-hot-tags,
.cc-community-active-users,
.cc-community-rule-list {
  display: grid;
  gap: 9px;
}

.cc-community-hot-topic {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  color: var(--cc-community-text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cc-community-hot-topic:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-hot-topic > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-hot-topic strong,
.cc-community-hot-topic em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-hot-topic strong {
  font-size: 13px;
  font-weight: 900;
}

.cc-community-hot-topic em {
  grid-column: 2;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
}

.cc-community-detail-related-card .cc-community-hot-topic {
  position: relative;
  overflow: hidden;
}

.cc-community-detail-related-card .cc-community-hot-topic i {
  grid-column: 2;
  display: block;
  width: var(--cc-community-heat, 12%);
  max-width: 100%;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 58%, transparent);
}

.cc-community-detail-author-activity-card .cc-community-panel-title span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-hot-tags {
  display: flex;
  flex-wrap: wrap;
}

.cc-community-active-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 6px;
  border-radius: var(--cc-community-radius-sm);
  transition: background 160ms ease, transform 160ms ease;
}

.cc-community-active-user:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
  transform: translateY(-1px);
}

.cc-community-active-user span,
.cc-community-active-user strong,
.cc-community-active-user em {
  display: block;
  min-width: 0;
}

.cc-community-active-user strong {
  overflow: hidden;
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-active-user em {
  margin-top: 2px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
}

.cc-community-rule-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 62%),
    var(--cc-community-card-bg);
}

.cc-community-rule-list span {
  position: relative;
  padding-left: 17px;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cc-community-rule-list span::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cc-community-primary);
}

.cc-community-pinned-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: color-mix(in srgb, var(--cc-community-card-bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cc-community-pinned-head {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 138px;
  padding: 10px 14px;
  border-right: 1px solid var(--cc-community-border);
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 900;
}

.cc-community-pinned-icon,
.cc-community-pinned-badge {
  display: inline-grid;
  place-items: center;
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-pinned-icon {
  width: 26px;
  height: 26px;
}

.cc-community-pinned-list {
  display: grid;
  min-width: 0;
}

.cc-community-pinned-topic {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 45px;
  padding: 8px 14px;
  color: var(--cc-community-text);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.cc-community-pinned-topic + .cc-community-pinned-topic {
  border-top: 1px solid var(--cc-community-border);
}

.cc-community-pinned-topic:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-pinned-badge {
  min-height: 22px;
  padding: 0 7px;
}

.cc-community-pinned-topic strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.cc-community-pinned-topic em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
}

.cc-community-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cc-community-topic-card .cc-community-card-body {
  display: grid;
  gap: 12px;
  min-height: 100%;
  grid-template-rows: auto minmax(0, 1fr) minmax(34px, auto);
  padding: 15px 16px;
}

.cc-community-topic-card {
  border-radius: var(--cc-community-radius-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 68%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 72%, transparent)),
    transparent;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cc-community-topic-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.cc-community-topic-card-head .cc-community-section-chip {
  max-width: 150px;
}

.cc-community-topic-card-head .cc-community-section-chip b {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-topic-main {
  display: grid;
  gap: 9px;
}

.cc-community-topic-title-row {
  min-width: 0;
}

.cc-community-topic-title-row h2 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.38;
}

.cc-community-topic-title-row h2 a {
  min-width: 0;
  color: inherit;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-decoration: none;
}

.cc-community-topic-title-row h2 a:hover {
  color: var(--cc-community-primary);
}

.cc-community-topic-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--cc-community-muted);
  font-size: 14px;
  line-height: 1.65;
}

.cc-community-topic-excerpt.has-images {
  -webkit-line-clamp: 2;
}

.cc-community-card-top {
  min-height: 24px;
  margin: 0;
}

.cc-community-author {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
}

.cc-community-author-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cc-community-author-row {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.cc-community-author-name {
  overflow: hidden;
  color: var(--cc-community-text);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-author-time {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.cc-community-level {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 800;
}

.cc-community-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 25%, #fff), var(--cc-community-card-bg-strong));
  color: var(--cc-community-primary);
  font-size: 13px;
  font-weight: 900;
  object-fit: cover;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 18%, transparent),
    0 6px 14px rgba(31, 31, 35, 0.04);
}

.cc-community-avatar.is-md {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.cc-community-avatar.is-lg {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 26px;
}

.cc-community-preview-images {
  display: flex;
  gap: 6px;
  margin-top: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.cc-community-preview-images::-webkit-scrollbar {
  display: none;
}

.cc-community-preview-images.is-count-1 {
  display: block;
  max-width: min(100%, 520px);
}

.cc-community-preview-images.is-count-1 a {
  width: 100%;
}

.cc-community-preview-images a {
  position: relative;
  display: block;
  flex: 0 0 118px;
  overflow: hidden;
  width: 118px;
  border: 1px solid var(--cc-community-border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-preview-images img {
  display: block;
  width: 100%;
  height: 86px;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}

.cc-community-preview-images.is-count-1 img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.cc-community-preview-images a:hover img {
  opacity: 0.9;
  transform: scale(1.025);
}

.cc-community-preview-images span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.cc-community-feed-list.is-galgamex-flow {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card {
  border-radius: 14px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
  box-shadow: none;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card:hover {
  border-color: color-mix(in srgb, var(--cc-community-primary) 22%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-card-bg-hover) 72%, transparent);
  box-shadow: none;
  transform: translateY(-1px);
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-card-body {
  gap: 8px;
  padding: 12px 13px;
  grid-template-rows: auto;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card-head {
  gap: 8px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 12px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-author-name {
  font-size: 14px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-author-time {
  font-size: 11px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-main {
  gap: 7px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-title-row h2 {
  font-size: 15px;
  line-height: 1.34;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-excerpt {
  max-width: 760px;
  font-size: 12px;
  line-height: 1.48;
  -webkit-line-clamp: 2;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-excerpt.has-images {
  -webkit-line-clamp: 1;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images {
  gap: 6px;
  max-width: 100%;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 {
  display: flex;
  max-width: 100%;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images a,
.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 a {
  flex: 0 0 104px;
  width: 104px;
  max-width: 104px;
  border-radius: 9px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images img,
.cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 img {
  height: 72px;
  aspect-ratio: auto;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-meta-row {
  gap: 7px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-heat {
  display: none;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-metrics {
  gap: 11px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-metric {
  min-height: 24px;
  padding: 0;
  background: transparent;
  color: var(--cc-community-muted);
  font-size: 12px;
}

.cc-community-feed-list.is-galgamex-flow .cc-community-topic-action,
.cc-community-feed-list.is-galgamex-flow .cc-community-action-icon {
  min-height: 28px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.cc-community-tag,
.cc-community-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-tag {
  border: 0;
  font: inherit;
  font-size: 12px;
}

.cc-community-tag.is-clickable {
  gap: 5px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-tag.is-clickable:hover,
.cc-community-tag.is-active {
  background: color-mix(in srgb, var(--cc-community-primary) 18%, transparent);
  transform: translateY(-1px);
}

.cc-community-tag span {
  color: var(--cc-community-muted);
  font-weight: 900;
}

.cc-community-tag.is-more {
  color: var(--cc-community-muted);
}

.cc-community-badge.is-strong {
  flex: 0 0 auto;
  min-height: 20px;
  padding: 0 7px;
  background: linear-gradient(90deg, var(--cc-community-primary), color-mix(in srgb, var(--cc-community-primary) 58%, #ffffff));
  color: #fff;
  font-size: 11px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--cc-community-primary) 18%, transparent);
}

.cc-community-badge.is-featured {
  flex: 0 0 auto;
  min-height: 20px;
  padding: 0 7px;
  background: color-mix(in srgb, #f59e0b 14%, transparent);
  color: #b45309;
  font-size: 11px;
}

.cc-community-topic-meta-row {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
}

.cc-community-topic-meta-row .cc-community-tags {
  min-width: 0;
}

.cc-community-topic-activity {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 7%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-topic-activity .cc-community-svg-icon {
  width: 14px;
  height: 14px;
}

.cc-community-topic-heat {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
}

.cc-community-topic-heat span {
  display: block;
  width: var(--cc-community-topic-heat, 12%);
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cc-community-primary), color-mix(in srgb, var(--cc-community-primary) 46%, transparent));
  opacity: 0.72;
}

.cc-community-section-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 0 9px 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-section-chip:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-section-chip-icon {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 18%, transparent);
}

.cc-community-section-chip-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--cc-community-primary);
  opacity: 0.45;
  clip-path: polygon(50% 12%, 88% 50%, 50% 88%, 12% 50%);
}

.cc-community-topic-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--cc-community-border) 58%, transparent);
}

.cc-community-topic-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--cc-community-muted);
}

.cc-community-topic-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  min-height: 30px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 850;
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-topic-action b {
  color: inherit;
  font-weight: 800;
}

.cc-community-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-badge.is-muted {
  background: color-mix(in srgb, var(--cc-community-muted) 12%, transparent);
  color: var(--cc-community-muted);
}

.cc-community-badge.is-soft {
  background: color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-badge.is-favorite {
  background: color-mix(in srgb, var(--cc-community-primary) 16%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-favorite-post .cc-community-card-top {
  justify-content: space-between;
}

.cc-community-favorite-post .cc-community-topic-footer {
  align-items: flex-end;
}

.cc-community-my-post .cc-community-card-body {
  gap: 11px;
}

.cc-community-my-post .cc-community-preview-images {
  max-width: min(100%, 430px);
}

.cc-community-my-post-actions {
  flex-wrap: nowrap;
}

.cc-community-my-comment .cc-community-card-body {
  gap: 14px;
}

.cc-community-comment-quote {
  padding: 14px 16px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-hover) 72%, transparent);
  color: var(--cc-community-text);
  font-size: 14px;
  line-height: 1.75;
}

.cc-community-comment-post {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.cc-community-comment-post:hover {
  border-color: var(--cc-community-border-hover);
  transform: translateY(-1px);
}

.cc-community-comment-post span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-comment-post strong {
  font-size: 15px;
  line-height: 1.5;
}

.cc-community-detail-main,
.cc-community-detail {
  display: grid;
  gap: 14px;
}

.cc-community-detail-title-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.cc-community-detail-title-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.28;
}

.cc-community-detail-author {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cc-community-detail-author > div > strong,
.cc-community-detail-author > div > span {
  display: block;
}

.cc-community-detail-author > div > span {
  margin-top: 3px;
  color: var(--cc-community-muted);
  font-size: 13px;
}

.cc-community-detail-author > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cc-community-detail-author .cc-community-author-name {
  overflow: hidden;
  color: var(--cc-community-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-back {
  justify-self: start;
  color: var(--cc-community-primary);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.cc-community-content-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
}

.cc-community-content {
  line-height: 1.9;
  font-size: 16px;
}

.cc-community-content img {
  max-width: 100%;
  border-radius: var(--cc-community-radius-sm);
}

.cc-community-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-notice-card {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 70%),
    var(--cc-community-card-bg);
}

.cc-community-notice-card p {
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.75;
}

.cc-community-notice-card p strong {
  color: var(--cc-community-primary);
  font-weight: 900;
}

.cc-community-gallery button {
  padding: 0;
  border: 0;
  border-radius: var(--cc-community-radius-sm);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.cc-community-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--cc-community-radius-sm);
}

.cc-community-detail-footer {
  padding: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 62%),
    var(--cc-community-card-bg);
}

.cc-community-detail-action-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.cc-community-detail-action-strip > span,
.cc-community-detail-action {
  min-width: 0;
}

.cc-community-detail-action-strip .cc-community-metric,
.cc-community-detail-action {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
  color: var(--cc-community-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-detail-action {
  font: inherit;
  cursor: pointer;
}

.cc-community-detail-action:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-detail-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.cc-community-detail-action.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 50%, var(--cc-community-border));
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
}

.cc-community-detail-action i,
.cc-community-detail-action strong,
.cc-community-detail-action b {
  min-width: 0;
  line-height: 1;
}

.cc-community-detail-action i {
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-size: 16px;
}

.cc-community-detail-action .cc-community-svg-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.cc-community-detail-action strong {
  font-size: 13px;
  font-weight: 900;
}

.cc-community-detail-action b {
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
}

.cc-community-detail-action-strip .cc-community-metric {
  border-radius: var(--cc-community-radius-sm);
  font-size: 13px;
}

.cc-community-detail-topic-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cc-community-card-bg) 92%, transparent);
}

.cc-community-detail-topic-head,
.cc-community-detail-topic-body,
.cc-community-detail-topic-tags {
  padding: 22px;
}

.cc-community-detail-topic-head {
  display: grid;
  gap: 18px;
  border-bottom: 1px solid var(--cc-community-border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 58%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 44%, transparent);
}

.cc-community-detail-topic-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.cc-community-detail-topic-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  min-width: min(100%, 280px);
}

.cc-community-detail-title-block {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.cc-community-detail-topic-kicker,
.cc-community-detail-topic-tags,
.cc-community-detail-topic-author,
.cc-community-detail-inline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-community-detail-topic-card h1 {
  margin: 0;
  color: var(--cc-community-text);
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.cc-community-detail-title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 750;
}

.cc-community-detail-title-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cc-community-detail-title-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cc-community-muted) 58%, transparent);
}

.cc-community-detail-inline-metrics {
  margin-left: auto;
}

.cc-community-detail-topic-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-community-detail-topic-context span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 68%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 850;
}

.cc-community-detail-topic-context span:first-child {
  border-color: color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-detail-topic-context .cc-community-svg-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.cc-community-detail-topic-body {
  display: grid;
  gap: 20px;
  padding-block: 20px 26px;
}

.cc-community-detail-topic-card .cc-community-gallery {
  gap: 10px;
}

.cc-community-detail-topic-card .cc-community-gallery button {
  border: 1px solid var(--cc-community-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
}

.cc-community-detail-topic-card .cc-community-gallery img {
  border-radius: inherit;
  transition: transform 220ms ease, opacity 180ms ease;
}

.cc-community-detail-topic-card .cc-community-gallery button:hover img {
  opacity: 0.92;
  transform: scale(1.025);
}

.cc-community-detail-topic-tags {
  border-top: 1px solid var(--cc-community-border);
}

.cc-community-detail-topic-card .cc-community-detail-footer {
  padding: 14px 22px 22px;
  border-top: 1px solid var(--cc-community-border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 62%),
    transparent;
}

.cc-community-detail-topic-card .cc-community-detail-action-strip .cc-community-metric,
.cc-community-detail-topic-card .cc-community-detail-action {
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 74%, transparent);
}

.cc-community-detail-author-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--cc-community-primary) 14%, transparent), transparent 56%),
    var(--cc-community-card-bg);
}

.cc-community-author-card-avatar {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.cc-community-detail-author-card .cc-community-author-name {
  display: inline-flex;
  color: var(--cc-community-text);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.cc-community-detail-author-card span {
  display: block;
  margin-top: 4px;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cc-community-author-mini-stats,
.cc-community-status-list {
  display: grid;
  gap: 8px;
  width: 100%;
}

.cc-community-author-mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-community-detail-author-card .cc-community-follow-button {
  width: 100%;
  min-height: 40px;
}

.cc-community-detail-discussion-card {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 7%, transparent), transparent 60%),
    var(--cc-community-card-bg);
}

.cc-community-detail-discussion-card .cc-community-panel-title {
  align-items: start;
}

.cc-community-detail-discussion-card .cc-community-panel-title > div {
  display: grid;
  gap: 2px;
}

.cc-community-detail-discussion-card .cc-community-panel-title .cc-community-eyebrow {
  margin: 0;
}

.cc-community-detail-discussion-card .cc-community-panel-title span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-detail-discussion-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-detail-discussion-metrics span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  min-height: 62px;
  padding: 9px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 84%, transparent);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 70%, transparent);
}

.cc-community-detail-discussion-metrics i {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-detail-discussion-metrics .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-detail-discussion-metrics strong {
  color: var(--cc-community-text);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-detail-discussion-metrics em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-detail-discussion-heat {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 12%, transparent);
}

.cc-community-detail-discussion-heat span {
  display: block;
  width: var(--cc-community-detail-heat, 8%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cc-community-primary), color-mix(in srgb, var(--cc-community-primary) 52%, #22c55e));
}

.cc-community-detail-discussion-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
  color: var(--cc-community-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-detail-discussion-link:hover {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-detail-discussion-link > .cc-community-svg-icon {
  width: 18px;
  height: 18px;
  margin: auto;
  color: var(--cc-community-primary);
}

.cc-community-detail-discussion-link span,
.cc-community-detail-discussion-link strong,
.cc-community-detail-discussion-link em {
  display: block;
  min-width: 0;
}

.cc-community-detail-discussion-link strong {
  color: currentColor;
  font-size: 13px;
  font-weight: 950;
}

.cc-community-detail-discussion-link em {
  overflow: hidden;
  margin-top: 2px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-author-mini-stats span,
.cc-community-status-list span {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-author-mini-stats strong,
.cc-community-status-list b {
  display: block;
  margin-bottom: 3px;
  color: var(--cc-community-text);
  font-size: 15px;
  line-height: 1;
}

.cc-community-status-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-community-detail-menu-panel {
  padding: 0;
  overflow: hidden;
}

.cc-community-dropdown {
  display: grid;
}

.cc-community-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.cc-community-dropdown summary span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.cc-community-dropdown summary em {
  margin-left: auto;
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-dropdown summary .cc-community-svg-icon {
  width: 16px;
  height: 16px;
  color: var(--cc-community-primary);
}

.cc-community-dropdown summary::-webkit-details-marker {
  display: none;
}

.cc-community-dropdown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.55;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.cc-community-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.cc-community-dropdown-menu {
  display: grid;
  gap: 7px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--cc-community-border);
}

.cc-community-dropdown-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 74%, transparent);
  color: var(--cc-community-text);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-dropdown-item:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-dropdown-item.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 34%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-dropdown-item.is-danger {
  border-color: color-mix(in srgb, #ef4444 18%, var(--cc-community-border));
  background: color-mix(in srgb, #ef4444 6%, transparent);
  color: #dc2626;
}

.cc-community-dropdown-item i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: currentColor;
  font-style: normal;
}

.cc-community-dropdown-item .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-dropdown-item span,
.cc-community-dropdown-item strong,
.cc-community-dropdown-item em {
  display: block;
  min-width: 0;
}

.cc-community-dropdown-item strong {
  overflow: hidden;
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-dropdown-item em {
  margin-top: 2px;
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 740;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-dropdown-menu.is-admin {
  gap: 7px;
}

.cc-community-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 18, 22, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cc-community-modal {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg-strong);
  box-shadow: var(--cc-community-shadow-md);
  color: var(--cc-community-text);
}

.cc-community-modal.is-danger {
  border-color: color-mix(in srgb, #ef4444 34%, var(--cc-community-border));
}

.cc-community-modal-head {
  display: grid;
  gap: 4px;
}

.cc-community-modal-head h3,
.cc-community-modal-head p {
  margin: 0;
}

.cc-community-modal-head p:not(.cc-community-eyebrow) {
  color: var(--cc-community-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cc-community-modal-field {
  display: grid;
  gap: 8px;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 800;
}

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

.cc-community-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cc-community-admin-menu {
  position: relative;
}

.cc-community-admin-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.cc-community-admin-menu summary::-webkit-details-marker {
  display: none;
}

.cc-community-admin-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(78px, 1fr));
  gap: 8px;
  width: max-content;
  min-width: 188px;
  padding: 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  box-shadow: var(--cc-community-shadow-md);
}

.cc-community-admin-menu-list .cc-community-button {
  min-width: 0;
  width: 100%;
  padding: 0 10px;
}

.cc-community-comments {
  display: grid;
  gap: 16px;
}

.cc-community-comments .cc-community-section-head h2 span {
  color: var(--cc-community-muted);
  font-size: 14px;
  font-weight: 800;
}

.cc-community-comments .cc-community-section-head {
  align-items: flex-start;
}

.cc-community-comments .cc-community-summary {
  margin: 0;
}

.cc-community-comment-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 800;
}

.cc-community-comment-tools > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 76%, transparent);
}

.cc-community-comment-sort {
  display: inline-flex;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-comment-sort button {
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: calc(var(--cc-community-radius-sm) - 3px);
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.cc-community-comment-sort button:hover,
.cc-community-comment-sort button.is-active {
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
}

.cc-community-comment-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto)) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-comment-rhythm span,
.cc-community-comment-rhythm em {
  min-width: 0;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-comment-rhythm span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
}

.cc-community-comment-rhythm strong {
  color: var(--cc-community-primary);
  font-size: 17px;
  font-weight: 950;
}

.cc-community-comment-rhythm em {
  justify-self: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, auto)) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 16%, var(--cc-community-border));
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 64%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
}

.cc-community-comment-brief > div {
  display: flex;
  gap: 5px;
  align-items: baseline;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 76%, transparent);
}

.cc-community-comment-brief strong {
  color: var(--cc-community-primary);
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-comment-brief span,
.cc-community-comment-brief em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.cc-community-comment-brief em {
  align-self: center;
  justify-self: end;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-login,
.cc-community-comment-form {
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 8%, transparent), transparent 62%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
}

.cc-community-comment-login {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  color: var(--cc-community-muted);
}

.cc-community-comment-login span {
  display: grid;
  gap: 3px;
}

.cc-community-comment-login strong {
  color: var(--cc-community-text);
  font-size: 15px;
}

.cc-community-comment-login em {
  color: var(--cc-community-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.cc-community-comment-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.cc-community-comment-form.is-collapsed {
  padding: 8px;
}

.cc-community-comment-compose-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 16%, var(--cc-community-border));
  border-radius: calc(var(--cc-community-radius) - 4px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 9%, transparent), transparent 64%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 74%, transparent);
  color: var(--cc-community-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-comment-compose-trigger[hidden],
.cc-community-comment-compose-editor[hidden] {
  display: none !important;
}

.cc-community-comment-compose-trigger:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-comment-compose-trigger span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.cc-community-comment-compose-trigger .cc-community-svg-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.cc-community-comment-compose-trigger strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-compose-trigger em {
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-compose-editor {
  display: grid;
  gap: 10px;
}

.cc-community-comment-collapse {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cc-community-comment-collapse:hover {
  border-color: var(--cc-community-border-hover);
  color: var(--cc-community-primary);
}

.cc-community-comment-form-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.cc-community-comment-form-head span {
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 900;
}

.cc-community-comment-form-head em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-comment-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cc-community-comment-toolbar button {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
  color: var(--cc-community-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-comment-toolbar button:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-comment-reply-target {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 10%, transparent), transparent 68%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
  color: var(--cc-community-text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
}

.cc-community-comment-reply-target[hidden] {
  display: none;
}

.cc-community-comment-reply-target.is-active {
  animation: cc-community-reply-target-in 180ms ease-out;
}

@keyframes cc-community-reply-target-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc-community-comment-reply-target-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-comment-reply-target-icon .cc-community-svg-icon {
  width: 17px;
  height: 17px;
}

.cc-community-comment-reply-target-body {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.cc-community-comment-reply-target-body span {
  color: var(--cc-community-primary);
  font-size: 13px;
  font-weight: 950;
}

.cc-community-comment-reply-target-body strong {
  min-width: 0;
  overflow: hidden;
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-reply-target-body em {
  flex-basis: 100%;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.cc-community-comment-reply-target button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 22%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.cc-community-comment-reply-target button:hover {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 13%, transparent);
  transform: translateY(-1px);
}

.cc-community-comment-form .cc-community-textarea {
  min-height: 126px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 12%, var(--cc-community-border));
  background: var(--cc-community-card-bg-strong);
}

.cc-community-comment-preview {
  display: grid;
  gap: 6px;
  min-height: 46px;
  max-height: 180px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px dashed color-mix(in srgb, var(--cc-community-primary) 22%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 64%, transparent);
  color: var(--cc-community-text);
  font-size: 13px;
  line-height: 1.65;
}

.cc-community-comment-preview:empty,
.cc-community-comment-preview > span {
  color: var(--cc-community-muted);
  font-weight: 750;
}

.cc-community-comment-preview p {
  margin: 0;
}

.cc-community-comment-preview ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.cc-community-comment-preview blockquote {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--cc-community-border-hover);
  color: var(--cc-community-muted);
}

.cc-community-comment-preview-image {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-comment-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--cc-community-muted);
  font-size: 13px;
}

.cc-community-comment-form-actions b {
  color: var(--cc-community-primary);
}

.cc-community-comment-form-actions b.is-warning {
  color: #d97706;
}

.cc-community-comment-list {
  display: grid;
  gap: 12px;
}

.cc-community-comment {
  position: relative;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 74%, transparent)),
    transparent;
  padding: 0;
  box-shadow: var(--cc-community-shadow-sm);
  overflow: visible;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cc-community-comment:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  box-shadow: var(--cc-community-shadow-md);
  transform: translateY(-1px);
}

.cc-community-comment.is-targeted {
  border-color: color-mix(in srgb, var(--cc-community-primary) 52%, var(--cc-community-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 12%, transparent), transparent 70%),
    var(--cc-community-card-bg-hover);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--cc-community-primary) 18%, transparent);
  animation: cc-community-comment-target 1100ms ease-in-out 2;
}

@keyframes cc-community-comment-target {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.cc-community-comment.is-reply {
  position: relative;
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 68%, transparent);
}

.cc-community-comment.is-reply::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -16px;
  width: 14px;
  height: 18px;
  border-bottom: 2px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-left: 2px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: 0 0 0 10px;
  pointer-events: none;
}

.cc-community-comment-accent {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: color-mix(in srgb, var(--cc-community-primary) 22%, transparent);
  opacity: 0.68;
  pointer-events: none;
}

.cc-community-comment.is-reply .cc-community-comment-accent {
  opacity: 0.32;
}

.cc-community-comment-main {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 14px 13px;
}

.cc-community-comment-avatar-link {
  display: inline-flex;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.cc-community-comment-main > .cc-community-avatar,
.cc-community-comment-avatar-link > .cc-community-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.cc-community-comment.is-reply .cc-community-comment-main > .cc-community-avatar,
.cc-community-comment.is-reply .cc-community-comment-avatar-link > .cc-community-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 12px;
}

.cc-community-comment-body {
  display: grid;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.cc-community-comment-head,
.cc-community-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-community-comment-head {
  justify-content: space-between;
  min-height: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
}

.cc-community-comment-author {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cc-community-comment-actions {
  justify-content: space-between;
  max-width: none;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--cc-community-border) 72%, transparent);
}

.cc-community-comment-actions .cc-community-text-button {
  gap: 5px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.cc-community-comment-actions .cc-community-svg-icon,
.cc-community-comment-menu-list .cc-community-svg-icon,
.cc-community-comment-reply-to .cc-community-svg-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.cc-community-comment-actions .cc-community-text-button span {
  color: currentColor;
}

.cc-community-comment-like.is-active {
  color: var(--cc-community-primary);
}

.cc-community-comment-like.is-active .cc-community-svg-icon {
  filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--cc-community-primary) 22%, transparent));
}

.cc-community-comment-reply-toggle {
  margin-left: auto;
  color: var(--cc-community-primary);
}

.cc-community-comment-user {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.cc-community-comment-name {
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.cc-community-comment-name:hover {
  color: var(--cc-community-primary);
}

.cc-community-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cc-community-comment-meta > span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 750;
}

.cc-community-comment-head em {
  color: color-mix(in srgb, var(--cc-community-muted) 88%, transparent);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.cc-community-comment-floor {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-comment-more {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}

.cc-community-comment-menu {
  position: relative;
}

.cc-community-comment-menu summary {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cc-community-muted);
  cursor: pointer;
  list-style: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-comment-menu summary .cc-community-svg-icon {
  width: 18px;
  height: 18px;
}

.cc-community-comment-menu summary::-webkit-details-marker {
  display: none;
}

.cc-community-comment-menu summary:hover,
.cc-community-comment-menu[open] summary {
  border-color: color-mix(in srgb, var(--cc-community-primary) 22%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-comment-menu-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 12;
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 7px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  box-shadow: var(--cc-community-shadow-md);
}

.cc-community-comment-menu-list button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cc-community-text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cc-community-comment-menu-list button:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-comment-menu-list button.is-danger {
  color: #dc2626;
}

.cc-community-comment-reply-to {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: min(100%, 360px);
  min-height: 24px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-left: 2px solid color-mix(in srgb, var(--cc-community-primary) 45%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-comment-reply-to span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-parent {
  display: grid;
  gap: 5px;
  margin: 7px 0 2px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 15%, var(--cc-community-border));
  border-left: 3px solid color-mix(in srgb, var(--cc-community-primary) 55%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 7%, transparent), transparent 68%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 68%, transparent);
}

.cc-community-comment-parent span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 950;
}

.cc-community-comment-parent .cc-community-svg-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.cc-community-comment-parent p {
  margin: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--cc-community-muted) 92%, transparent);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
  text-overflow: ellipsis;
}

.cc-community-comment-content {
  color: var(--cc-community-text);
  font-size: 15px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.cc-community-comment.is-reply .cc-community-comment-content {
  font-size: 14px;
}

.cc-community-comment-content p {
  margin: 0;
}

.cc-community-comment-replies {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-left: 18px;
  border-left: 2px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
}

.cc-community-comment-replies.is-collapsed {
  display: none;
}

.cc-community-comment-replies .cc-community-comment {
  box-shadow: none;
}

.cc-community-action-panel {
  display: grid;
  gap: 10px;
}

.cc-community-action-panel .cc-community-eyebrow,
.cc-community-action-panel h3 {
  margin-bottom: 0;
}

.cc-community-action-panel .cc-community-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-action-panel .cc-community-actions .cc-community-button {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
}

.cc-community-action-panel .cc-community-actions .cc-community-button:only-child {
  grid-column: 1 / -1;
}

.cc-community-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 32%),
    var(--cc-community-card-bg);
}

.cc-community-editor .cc-community-section-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cc-community-border);
}

.cc-community-compose-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cc-community-border);
}

.cc-community-compose-hero h2 {
  margin-bottom: 5px;
  font-size: clamp(22px, 2.7vw, 29px);
  line-height: 1.18;
}

.cc-community-compose-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cc-community-compose-hero-meta span,
.cc-community-empty-inline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-compose-readiness {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 62%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 76%, transparent);
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-compose-readiness span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 80%, transparent);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 62%, transparent);
  color: var(--cc-community-muted);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-compose-readiness i {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--cc-community-muted) 10%, transparent);
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.cc-community-compose-readiness strong,
.cc-community-compose-readiness em {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-compose-readiness strong {
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 950;
}

.cc-community-compose-readiness em {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-compose-readiness span.is-ready {
  border-color: color-mix(in srgb, var(--cc-community-primary) 28%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 8%, var(--cc-community-card-bg-strong));
  color: var(--cc-community-primary);
}

.cc-community-compose-readiness span.is-ready i {
  background: var(--cc-community-soft);
}

.cc-community-compose-status {
  display: grid;
  gap: 10px;
}

.cc-community-compose-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 8%, transparent);
}

.cc-community-compose-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-compose-flow span.is-current {
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-primary);
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-compose-side-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-compose-side-stats span {
  display: grid;
  gap: 2px;
  min-height: 62px;
  padding: 10px 8px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 84%, transparent);
  border-radius: var(--cc-community-radius-sm);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 62%, transparent);
  text-align: center;
}

.cc-community-compose-side-stats strong {
  color: var(--cc-community-text);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-compose-side-stats em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

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

.cc-community-form label {
  display: grid;
  gap: 7px;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 800;
}

.cc-community-compose-block {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 60%, transparent);
}

.cc-community-compose-block-title,
.cc-community-compose-block-meta,
.cc-community-compose-block-editor,
.cc-community-compose-block-uploader {
  border-color: color-mix(in srgb, var(--cc-community-border) 82%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 72%, transparent)),
    transparent;
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-compose-block-title {
  padding: 14px;
}

.cc-community-compose-block-editor {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 78%, transparent)),
    transparent;
}

.cc-community-compose-block-uploader {
  padding: 16px;
}

.cc-community-compose-field-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--cc-community-muted);
  font-size: 12px;
  line-height: 1.5;
}

.cc-community-compose-field-meta span:first-child {
  color: var(--cc-community-primary);
  font-weight: 900;
}

.cc-community-compose-editor-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px;
}

.cc-community-compose-editor-head > label,
.cc-community-compose-editor-head > div > label {
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 900;
}

.cc-community-compose-editor-head > div:not(.cc-community-compose-editor-toolbar) {
  display: grid;
  gap: 3px;
}

.cc-community-compose-editor-head > div:not(.cc-community-compose-editor-toolbar) > span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.cc-community-compose-editor-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 7%, transparent);
}

.cc-community-compose-editor-toolbar button,
.cc-community-compose-templates button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-compose-editor-toolbar button {
  min-width: 30px;
  padding: 0 10px;
}

.cc-community-compose-editor-toolbar button:hover,
.cc-community-compose-templates button:hover {
  border-color: color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-compose-editor-shell {
  display: grid;
  overflow: hidden;
  margin: 0 16px;
  border: 1px solid var(--cc-community-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 3%, transparent), transparent 118px),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 76%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cc-community-compose-editor-shell:focus-within,
.cc-community-compose-editor-shell.is-command-open {
  border-color: var(--cc-community-border-hover);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 128px),
    var(--cc-community-card-bg-strong);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent),
    0 0 0 3px color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
}

.cc-community-compose-editor-topbar,
.cc-community-compose-editor-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.cc-community-compose-editor-topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 48%, transparent);
}

.cc-community-compose-editor-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 16%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
}

.cc-community-compose-editor-mode span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cc-community-primary);
  box-shadow: none;
}

.cc-community-compose-editor-mode strong {
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 900;
}

.cc-community-compose-editor-mode em,
.cc-community-compose-editor-status span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-compose-editor-status {
  border-top: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
  background: color-mix(in srgb, var(--cc-community-muted) 5%, transparent);
}

.cc-community-compose-editor-status span:first-child,
.cc-community-compose-editor-status span:nth-child(2) {
  color: var(--cc-community-primary);
}

.cc-community-compose-command-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
}

.cc-community-compose-command-panel[hidden] {
  display: none !important;
}

.cc-community-compose-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 70%, transparent);
  color: var(--cc-community-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-compose-command:hover {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 8%, var(--cc-community-card-bg-strong));
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-compose-command strong {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-compose-command span,
.cc-community-compose-command em {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-compose-command span {
  font-size: 13px;
  font-weight: 900;
}

.cc-community-compose-command em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cc-community-compose-codearea {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 400px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--cc-community-muted) 4%, transparent), transparent 42px),
    transparent;
}

.cc-community-compose-lines {
  overflow: hidden;
  min-height: 400px;
  margin: 0;
  padding: 16px 8px;
  border-right: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
  color: color-mix(in srgb, var(--cc-community-muted) 56%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.78;
  text-align: right;
  user-select: none;
  white-space: pre;
}

.cc-community-compose-markdown {
  min-height: 400px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.82;
}

.cc-community-compose-command-toggle {
  gap: 5px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
}

.cc-community-compose-command-toggle .cc-community-svg-icon {
  width: 14px;
  height: 14px;
}

.cc-community-compose-editor-shell .cc-community-compose-markdown:focus {
  border-color: transparent;
  box-shadow: none;
}

.cc-community-compose-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px;
}

.cc-community-compose-templates button {
  min-height: 32px;
  padding: 0 12px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
}

.cc-community-compose-select-head {
  display: grid;
  gap: 5px;
}

.cc-community-compose-select-head span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 950;
}

.cc-community-compose-select-head .cc-community-svg-icon {
  width: 16px;
  height: 16px;
  color: var(--cc-community-primary);
}

.cc-community-compose-select-head em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.cc-community-compose-picks,
.cc-community-compose-tag-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc-community-compose-picks .cc-community-topic {
  position: relative;
  flex: 1 1 168px;
  justify-content: flex-start;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 58%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 86%, transparent);
  text-align: left;
}

.cc-community-compose-picks .cc-community-topic .cc-community-section-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 13px;
}

.cc-community-compose-picks .cc-community-topic strong,
.cc-community-compose-picks .cc-community-topic span {
  display: block;
}

.cc-community-compose-picks .cc-community-topic strong {
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}

.cc-community-compose-picks .cc-community-topic span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cc-community-compose-picks .cc-community-topic.is-active {
  border-color: var(--cc-community-border-hover);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 12%, transparent), transparent 62%),
    var(--cc-community-soft);
  color: var(--cc-community-primary);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 16%, transparent),
    0 10px 30px color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-compose-picks .cc-community-topic.is-active strong {
  color: var(--cc-community-primary);
}

.cc-community-compose-tag-control {
  display: grid;
  gap: 9px;
}

.cc-community-compose-tag-control > label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 950;
}

.cc-community-compose-tag-control > label .cc-community-svg-icon {
  width: 15px;
  height: 15px;
  color: var(--cc-community-primary);
}

.cc-community-compose-tag-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 5px 6px 5px 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.cc-community-compose-tag-input:focus-within {
  border-color: var(--cc-community-primary);
  background: var(--cc-community-card-bg-strong);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--cc-community-primary) 16%, transparent),
    var(--cc-community-shadow-sm);
}

.cc-community-compose-tag-input > span {
  color: var(--cc-community-primary);
  font-size: 16px;
  font-weight: 950;
}

.cc-community-compose-tag-input .cc-community-input {
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cc-community-compose-tag-input .cc-community-input:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.cc-community-compose-tag-input .cc-community-button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
}

.cc-community-compose-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 0 8px 0 12px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 22%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
  color: var(--cc-community-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cc-community-compose-chip:hover,
.cc-community-compose-chip:focus-visible {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 13%, transparent);
  transform: translateY(-1px);
}

.cc-community-compose-chip span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-compose-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.cc-community-compose-tag-preview:empty {
  display: none;
}

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

.cc-community-section-head,
.cc-community-profile-main {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cc-community-compose-tips {
  display: grid;
  gap: 9px;
}

.cc-community-compose-rules {
  display: grid;
  gap: 9px;
}

.cc-community-compose-tips strong,
.cc-community-compose-tips span,
.cc-community-compose-rules span {
  display: block;
}

.cc-community-compose-tips span,
.cc-community-compose-rules span {
  position: relative;
  padding: 8px 10px;
  padding-left: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 700;
}

.cc-community-compose-tips span::before,
.cc-community-compose-rules span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
  opacity: 0.45;
}

.cc-community-compose-tips span.is-done {
  background: color-mix(in srgb, #22c55e 12%, transparent);
  color: color-mix(in srgb, #16a34a 78%, var(--cc-community-text));
}

.cc-community-compose-tips span.is-done::before {
  background: currentColor;
  opacity: 1;
}

.cc-community-compose-quality {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
}

.cc-community-compose-quality div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 13%, transparent);
}

.cc-community-compose-quality span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--cc-community-primary);
  transition: width 180ms ease;
}

.cc-community-compose-quality strong {
  color: var(--cc-community-text);
  font-size: 13px;
}

.cc-community-compose-quality em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-compose-quality.is-ready {
  border-color: color-mix(in srgb, #22c55e 35%, var(--cc-community-border));
  background: color-mix(in srgb, #22c55e 9%, transparent);
}

.cc-community-compose-quality.is-ready span {
  background: #22c55e;
}

.cc-community-compose-preview-shell {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 72%, transparent)),
    transparent;
}

.cc-community-compose-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.cc-community-compose-preview-head .cc-community-eyebrow {
  margin: 0;
}

.cc-community-compose-preview-head strong {
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 950;
}

.cc-community-compose-preview-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 3px;
  border: 1px solid var(--cc-community-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-muted) 6%, transparent);
}

.cc-community-compose-preview-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.cc-community-compose-preview-tabs button.is-active {
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-primary);
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-compose-preview {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.cc-community-compose-preview-card {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 78%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 58%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
}

.cc-community-compose-preview-card.is-content {
  min-height: 220px;
}

.cc-community-compose-preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cc-community-compose-preview-card-head span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 900;
}

.cc-community-compose-preview-card-head .cc-community-svg-icon {
  width: 14px;
  height: 14px;
}

.cc-community-compose-preview-card-head em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.cc-community-compose-preview h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--cc-community-text);
  font-size: 17px;
  line-height: 1.35;
}

.cc-community-compose-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cc-community-compose-preview-meta span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-compose-preview-cover {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 70%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-compose-preview-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cc-community-compose-preview-content {
  max-height: 210px;
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.cc-community-compose-preview-content.is-full {
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-border) 70%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-muted) 4%, transparent);
}

.cc-community-compose-preview-content p {
  margin: 0 0 8px;
}

.cc-community-compose-submit {
  position: sticky;
  bottom: 14px;
  z-index: 6;
  justify-content: flex-end;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 55%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
  backdrop-filter: blur(16px);
}

.cc-community-compose-submit > span {
  flex: 1 1 220px;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.cc-community-compose-submit .cc-community-button {
  gap: 6px;
  min-width: 112px;
}

.cc-community-compose-submit .cc-community-svg-icon {
  width: 15px;
  height: 15px;
}

.cc-community-uploader {
  display: grid;
  gap: 12px;
}

.cc-community-upload-drop {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--cc-community-primary) 50%, var(--cc-community-border));
  border-radius: var(--cc-community-radius);
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
  color: var(--cc-community-muted);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cc-community-upload-drop:hover {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-upload-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 20%, var(--cc-community-border));
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 14%, transparent), transparent),
    var(--cc-community-card-bg-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cc-community-upload-mark strong {
  color: var(--cc-community-primary);
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-upload-mark span {
  margin-top: -24px;
  color: var(--cc-community-muted);
  font-size: 11px;
  font-weight: 850;
}

.cc-community-upload-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cc-community-upload-copy strong {
  color: var(--cc-community-text);
  font-size: 16px;
}

.cc-community-upload-copy span {
  font-size: 13px;
}

.cc-community-upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cc-community-upload-drop.is-dragging {
  border-color: var(--cc-community-primary);
  background: color-mix(in srgb, var(--cc-community-primary) 13%, transparent);
  transform: translateY(-1px);
}

.cc-community-upload-queue {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 7%, transparent), transparent 70%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
}

.cc-community-upload-queue[hidden] {
  display: none;
}

.cc-community-upload-queue-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cc-community-upload-queue-head span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cc-community-upload-queue-head strong {
  color: var(--cc-community-text);
  font-size: 14px;
  font-weight: 950;
}

.cc-community-upload-queue-head em,
.cc-community-upload-job em {
  overflow: hidden;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-upload-queue-head b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 16%, var(--cc-community-border));
  border-radius: 999px;
  background: var(--cc-community-soft);
  color: var(--cc-community-primary);
  font-size: 12px;
  font-weight: 950;
}

.cc-community-upload-total,
.cc-community-upload-job div {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 12%, transparent);
}

.cc-community-upload-total i,
.cc-community-upload-job div i {
  display: block;
  width: var(--cc-community-upload-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cc-community-primary), color-mix(in srgb, var(--cc-community-primary) 58%, #fff));
  transition: width 180ms ease;
}

.cc-community-upload-jobs {
  display: grid;
  gap: 8px;
}

.cc-community-upload-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 140px);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
}

.cc-community-upload-job span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cc-community-upload-job strong {
  overflow: hidden;
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-upload-job.is-done {
  border-color: color-mix(in srgb, #22c55e 24%, var(--cc-community-border));
}

.cc-community-upload-job.is-done div i {
  background: #22c55e;
}

.cc-community-upload-job.is-error {
  border-color: color-mix(in srgb, #ef4444 38%, var(--cc-community-border));
  background: color-mix(in srgb, #ef4444 7%, var(--cc-community-card-bg-strong));
}

.cc-community-upload-job.is-error div i {
  background: #ef4444;
}

.cc-community-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.cc-community-thumb {
  display: grid;
  gap: 6px;
  margin: 0;
  outline: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cc-community-thumb[draggable="true"] {
  cursor: grab;
}

.cc-community-thumb[draggable="true"]:active {
  cursor: grabbing;
}

.cc-community-thumb-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
}

.cc-community-thumb.is-cover .cc-community-thumb-media {
  border-color: color-mix(in srgb, var(--cc-community-primary) 45%, var(--cc-community-border));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 24%, transparent);
}

.cc-community-thumb-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cc-community-thumb-media span {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 84%, transparent);
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.cc-community-thumb-drag {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  min-height: 24px;
  padding: 0 8px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 20%, transparent);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
  color: var(--cc-community-primary);
  font-size: 11px;
  font-weight: 900;
  cursor: grab;
  touch-action: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cc-community-thumb-drag:active {
  cursor: grabbing;
}

.cc-community-thumbs.is-sorting .cc-community-thumb {
  cursor: grabbing;
}

.cc-community-thumb.is-dragging {
  opacity: 0.55;
  transform: scale(0.975);
}

.cc-community-thumb.is-drop-target .cc-community-thumb-media,
.cc-community-thumb:focus-visible .cc-community-thumb-media {
  border-color: var(--cc-community-primary);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 28%, transparent),
    0 10px 26px color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
}

.cc-community-thumb.is-drop-target {
  transform: translateY(-2px);
}

.cc-community-thumb figcaption {
  display: grid;
  gap: 4px;
}

.cc-community-thumb-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.cc-community-thumb button {
  min-height: 28px;
  border: 1px solid var(--cc-community-border);
  border-radius: 8px;
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cc-community-thumb button:hover:not(:disabled) {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
}

.cc-community-thumb .cc-community-thumb-drag {
  cursor: grab;
}

.cc-community-thumb button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cc-community-profile-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cc-community-profile-cover {
  height: 118px;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--cc-community-primary) 18%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 12%, transparent), transparent 62%),
    color-mix(in srgb, var(--cc-community-primary) 3%, transparent);
}

.cc-community-profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  text-align: center;
  padding: 0 20px 18px;
  margin-top: -56px;
}

.cc-community-me-hero .cc-community-profile-main {
  gap: 12px;
  padding-bottom: 18px;
}

.cc-community-profile-main .cc-community-avatar.is-lg {
  width: 92px;
  height: 92px;
  border: 5px solid var(--cc-community-card-bg-strong);
  border-radius: 26px;
  box-shadow: var(--cc-community-shadow-md);
}

.cc-community-profile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cc-community-profile-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.cc-community-profile-title h2 {
  margin: 0;
}

.cc-community-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 16px;
}

.cc-community-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
}

.cc-community-profile-meta span,
.cc-community-profile-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: inherit;
  text-decoration: none;
}

.cc-community-profile-meta a:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-profile-meta .cc-community-svg-icon {
  width: 13px;
  height: 13px;
}

.cc-community-me-level {
  display: grid;
  gap: 6px;
  width: min(360px, 100%);
  margin: 2px auto 0;
}

.cc-community-me-level > span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.cc-community-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.cc-community-profile-actions .cc-community-button,
.cc-community-my-card-menu-list .cc-community-button,
.cc-community-my-comment .cc-community-actions .cc-community-button {
  gap: 6px;
}

.cc-community-profile-actions .cc-community-svg-icon,
.cc-community-my-card-menu-list .cc-community-svg-icon,
.cc-community-my-comment .cc-community-actions .cc-community-svg-icon {
  width: 15px;
  height: 15px;
}

.cc-community-public-user-hero .cc-community-profile-main {
  gap: 14px;
}

.cc-community-public-user-hero .cc-community-profile-stats {
  display: none;
}

.cc-community-user-page {
  display: grid;
  gap: 14px;
}

.cc-community-user-layout {
  margin-top: 14px;
}

.cc-community-public-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cc-community-user-stats-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.cc-community-user-stats-strip .cc-community-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
}

.cc-community-user-stats-strip i {
  display: inline-grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-user-stats-strip .cc-community-svg-icon {
  width: 17px;
  height: 17px;
}

.cc-community-user-stats-strip strong {
  min-width: 0;
  overflow: hidden;
  color: var(--cc-community-text);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-user-stats-strip span {
  color: var(--cc-community-muted);
  font-size: 11px;
  font-weight: 800;
}

.cc-community-user-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
}

.cc-community-me-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: 14px;
}

.cc-community-user-level-card,
.cc-community-user-latest-card,
.cc-community-me-quick-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 132px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 64%),
    var(--cc-community-card-bg);
}

.cc-community-user-level-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cc-community-user-level-head > span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
  color: var(--cc-community-primary);
  font-size: 15px;
  font-weight: 950;
}

.cc-community-user-level-head h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.cc-community-user-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 12%, transparent);
}

.cc-community-user-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cc-community-primary), color-mix(in srgb, var(--cc-community-primary) 62%, #fff));
}

.cc-community-user-level-card p,
.cc-community-user-latest-card span,
.cc-community-user-latest-card strong {
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cc-community-user-latest-card a {
  color: var(--cc-community-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
}

.cc-community-user-latest-card a:hover {
  color: var(--cc-community-primary);
}

.cc-community-user-feed-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

.cc-community-user-feed-head h3 {
  margin-bottom: 4px;
}

.cc-community-me-quick-card h3 {
  margin-bottom: 0;
}

.cc-community-me-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-me-quick-grid button {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  min-height: 72px;
  padding: 9px 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
  color: var(--cc-community-text);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cc-community-me-quick-grid button:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-me-quick-grid i {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cc-community-primary) 11%, transparent);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-me-quick-grid .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-me-quick-grid strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-me-quick-grid span {
  overflow-wrap: anywhere;
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cc-community-me-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cc-community-me-mini-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 8%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.cc-community-public-user-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.cc-community-public-user-card strong {
  font-size: 16px;
}

.cc-community-public-user-card p {
  margin: 0;
  color: var(--cc-community-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cc-community-user-activity-list,
.cc-community-user-badge-list {
  display: grid;
  gap: 9px;
}

.cc-community-user-activity-list a {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  color: var(--cc-community-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cc-community-user-activity-list a:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-user-activity-list strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-user-activity-list span {
  color: var(--cc-community-muted);
  font-size: 12px;
}

.cc-community-user-comment-list {
  display: grid;
  gap: 12px;
}

.cc-community-user-comment-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cc-community-user-comment-card:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-user-comment-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.cc-community-user-comment-head strong,
.cc-community-user-comment-card a strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-user-comment-head span,
.cc-community-user-comment-head em,
.cc-community-user-comment-card .cc-community-card-footer span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
}

.cc-community-user-comment-card p {
  margin: 0;
  color: var(--cc-community-text);
  line-height: 1.8;
  word-break: break-word;
}

.cc-community-user-comment-card a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
  color: var(--cc-community-text);
  text-decoration: none;
}

.cc-community-user-comment-card a:hover {
  border-color: var(--cc-community-border-hover);
  color: var(--cc-community-primary);
}

.cc-community-user-badge-list span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: var(--cc-community-radius-sm);
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
}

.cc-community-user-badge-list strong {
  color: var(--cc-community-text);
  font-size: 13px;
  font-weight: 900;
}

.cc-community-user-badge-list em {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.cc-community-empty-state {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 160px;
  text-align: center;
}

.cc-community-empty-state strong {
  color: var(--cc-community-text);
  font-size: 17px;
}

.cc-community-empty-state span {
  color: var(--cc-community-muted);
  font-size: 14px;
}

.cc-community-tabs {
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.cc-community-tabs::-webkit-scrollbar {
  display: none;
}

.cc-community-tab {
  flex: 0 0 auto;
}

.cc-community-profile-tabs {
  gap: 18px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
  backdrop-filter: blur(16px);
}

.cc-community-profile-tabs .cc-community-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cc-community-muted);
}

.cc-community-profile-tabs .cc-community-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.cc-community-profile-tabs .cc-community-tab.is-active {
  color: var(--cc-community-primary);
  font-weight: 800;
}

.cc-community-profile-tabs .cc-community-tab.is-active::after {
  background: var(--cc-community-primary);
}

.cc-community-profile-tabs .cc-community-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cc-community-primary);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.cc-community-profile-tabs .cc-community-tab i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-style: normal;
}

.cc-community-profile-tabs .cc-community-tab .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-me-content-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

.cc-community-me-content-head h3 {
  margin-bottom: 4px;
}

.cc-community-notifications {
  display: grid;
  gap: 14px;
}

.cc-community-notification-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.cc-community-notification-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.cc-community-notification-filters::-webkit-scrollbar {
  display: none;
}

.cc-community-notification-filter {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-notification-filter:hover,
.cc-community-notification-filter.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 28%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-notification-filter i {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-style: normal;
}

.cc-community-notification-filter .cc-community-svg-icon {
  width: 15px;
  height: 15px;
}

.cc-community-notification-filter b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 14%, transparent);
  color: currentColor;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.cc-community-notification-list {
  display: grid;
  gap: 10px;
}

.cc-community-notification {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cc-community-notification:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-notification.is-unread {
  border-color: var(--cc-community-border-hover);
  background:
    linear-gradient(90deg, var(--cc-community-soft), transparent 52%),
    var(--cc-community-card-bg);
}

.cc-community-notification-avatar {
  color: inherit;
  text-decoration: none;
}

.cc-community-notification-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cc-community-notification-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-community-notification-head time,
.cc-community-notification-actions span {
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 700;
}

.cc-community-notification-message,
.cc-community-notification-post {
  min-width: 0;
  overflow: hidden;
  color: var(--cc-community-text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-notification-message {
  font-size: 14px;
  font-weight: 900;
}

.cc-community-notification-post {
  color: var(--cc-community-muted);
  font-size: 13px;
}

.cc-community-notification-message:hover,
.cc-community-notification-post:hover {
  color: var(--cc-community-primary);
}

.cc-community-notification-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 72px;
}

.cc-community-admin-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) minmax(130px, 0.6fr) auto;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}

.cc-community-admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cc-community-admin-tabs {
  margin: 12px 0 0;
}

.cc-community-admin-board-filters {
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

.cc-community-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background: var(--cc-community-card-bg);
}

.cc-community-admin-comment-item {
  align-items: start;
}

.cc-community-admin-comment-item .cc-community-comment-quote {
  margin: 8px 0;
  max-width: 840px;
}

.cc-community-admin-board-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cc-community-admin-board-item .cc-community-card-top {
  justify-content: flex-start;
}

.cc-community-admin-board-item .cc-community-section-icon {
  width: 42px;
  height: 42px;
}

.cc-community-reason {
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
}

.cc-community-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cc-community-page {
  width: 38px;
  padding: 0;
}

.cc-community-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  place-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.cc-community-lightbox figure {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  max-width: min(100%, 1120px);
  margin: 0;
}

.cc-community-lightbox img {
  max-width: min(92vw, 1120px);
  max-height: 88vh;
  border-radius: var(--cc-community-radius);
  background: #101014;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.cc-community-lightbox figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.cc-community-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.cc-community-lightbox-close::before,
.cc-community-lightbox-close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 9px;
  width: 20px;
  height: 2px;
  background: #fff;
}

.cc-community-lightbox-close::before {
  transform: rotate(45deg);
}

.cc-community-lightbox-close::after {
  transform: rotate(-45deg);
}

.cc-community-lightbox-nav {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.cc-community-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.cc-community-lightbox-nav .cc-community-svg-icon {
  width: 20px;
  height: 20px;
}

.cc-community-lightbox-nav.is-prev .cc-community-svg-icon,
.cc-community-lightbox-nav.is-next .cc-community-svg-icon {
  transform: rotate(-90deg);
}

.cc-community-content[data-cc-content-lightbox] img,
.cc-community-comment-content[data-cc-content-lightbox] img {
  cursor: zoom-in;
}

.cc-community-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  color: var(--cc-community-text);
  box-shadow: var(--cc-community-shadow);
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .cc-community-root.cc-community-shell {
    width: min(100% - 32px, 940px);
  }

  .cc-community-forum-layout,
  .cc-community-detail-layout,
  .cc-community-compose-layout,
  .cc-community-skeleton-layout {
    grid-template-columns: 1fr;
  }

  .cc-community-forum-sidebar,
  .cc-community-detail-aside,
  .cc-community-compose-side {
    position: static;
  }

  .cc-community-welcome-card.is-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cc-community-welcome-card.is-hero .cc-community-welcome-stats {
    max-width: none;
  }

  .cc-community-home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-home-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-me-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-me-overview .cc-community-user-latest-card {
    grid-column: 1 / -1;
  }

  .cc-community-user-stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-category-stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell {
    width: min(100%, 440px);
    padding: 8px 0 44px;
  }

  .cc-community-hero,
  .cc-community-toolbar,
  .cc-community-row,
  .cc-community-category-hero,
  .cc-community-login-gate,
  .cc-community-admin-filters,
  .cc-community-admin-board-filters,
  .cc-community-admin-item,
  .cc-community-feed-head {
    grid-template-columns: 1fr;
  }

  .cc-community-admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .cc-community-admin-item > .cc-community-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .cc-community-me-hero .cc-community-profile-main {
    padding: 0 12px 14px;
    margin-top: -54px;
  }

  .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .cc-community-me-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cc-community-user-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cc-community-category-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cc-community-user-stats-strip .cc-community-panel,
  .cc-community-category-stats-strip .cc-community-panel {
    min-height: 74px;
    padding: 12px;
  }

  .cc-community-user-stats-strip i,
  .cc-community-category-stats-strip i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .cc-community-user-stats-strip strong,
  .cc-community-category-stats-strip strong {
    font-size: 16px;
  }

  .cc-community-user-feed-head,
  .cc-community-category-feed-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cc-community-board-rail {
    gap: 7px;
    padding: 6px;
  }

  .cc-community-board-pill {
    min-height: 34px;
    padding: 0 10px 0 8px;
    font-size: 12px;
  }

  .cc-community-me-overview .cc-community-user-latest-card {
    grid-column: auto;
  }

  .cc-community-me-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cc-community-profile-actions .cc-community-button {
    width: 100%;
  }

  .cc-community-me-content-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cc-community-my-card-menu {
    justify-self: stretch;
  }

  .cc-community-my-card-menu summary {
    justify-content: center;
    width: 100%;
  }

  .cc-community-my-card-menu-list {
    right: 0;
    bottom: calc(100% + 6px);
    width: min(220px, 100%);
  }

  .cc-community-hero {
    margin: 0 0 12px;
    border-radius: var(--cc-community-radius);
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 8px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero h1,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero h1,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero h1,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero h1,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero h1 {
    font-size: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav::-webkit-scrollbar,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav::-webkit-scrollbar,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav::-webkit-scrollbar,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav::-webkit-scrollbar,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cc-community-toolbar {
    display: none;
  }

  .cc-community-view {
    display: block;
  }

  .cc-community-forum-layout,
  .cc-community-detail-layout,
  .cc-community-compose-layout {
    gap: 14px;
  }

  .cc-community-forum-main,
  .cc-community-user-posts,
  .cc-community-skeleton-main,
  .cc-community-skeleton-side {
    gap: 12px;
  }

  .cc-community-forum-sidebar,
  .cc-community-detail-aside,
  .cc-community-compose-side {
    padding: 0;
  }

  .cc-community-sidebar-welcome {
    display: none;
  }

  .cc-community-forum-main > .cc-community-panel,
  .cc-community-detail-main > .cc-community-panel,
  .cc-community-card,
  .cc-community-my-post {
    border-right: 1px solid var(--cc-community-border);
    border-left: 1px solid var(--cc-community-border);
    border-radius: var(--cc-community-radius);
  }

  .cc-community-card:hover,
  .cc-community-section-card:hover,
  .cc-community-active-user:hover {
    transform: none;
  }

  .cc-community-feed-head {
    align-items: start;
  }

  .cc-community-login-gate {
    gap: 16px;
    min-height: 0;
    padding: 16px;
  }

  .cc-community-login-visual {
    min-height: 132px;
  }

  .cc-community-login-visual .cc-community-avatar {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    font-size: 18px;
  }

  .cc-community-login-profile-card {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 8px 10px;
  }

  .cc-community-login-profile-stats {
    top: 12px;
    right: 12px;
  }

  .cc-community-login-features {
    grid-template-columns: 1fr;
  }

  .cc-community-compose-hero {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
  }

  .cc-community-compose-hero-meta {
    justify-content: flex-start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-editor {
    gap: 12px;
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero h2 {
    margin-bottom: 4px;
    font-size: 24px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-form {
    gap: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block {
    gap: 10px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-codearea,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-lines,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 300px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-codearea {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-lines {
    padding: 10px 7px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit {
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit .cc-community-button {
    width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-drop {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 150px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

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

  .cc-community-nav,
  .cc-community-nav a {
    width: 100%;
  }

  .cc-community-nav a {
    flex: 1 1 auto;
  }

  .cc-community-forum-sort {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 8px 12px 10px;
  }

  .cc-community-forum-sort .cc-community-search-inline {
    grid-column: 1 / -1;
  }

  .cc-community-forum-checks {
    grid-column: 1 / 2;
    min-height: 38px;
  }

  .cc-community-forum-sort .cc-community-icon-button {
    grid-column: 3 / 4;
    min-height: 38px;
  }

  .cc-community-forum-topline {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cc-community-forum-tabs {
    min-height: 46px;
    padding: 0 14px;
  }

  .cc-community-forum-feed-meta {
    display: none;
  }

  .cc-community-feed-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cc-community-home-deck {
    gap: 10px;
  }

  .cc-community-home-stats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .cc-community-home-stats::-webkit-scrollbar {
    display: none;
  }

  .cc-community-home-stat {
    flex: 0 0 154px;
    min-height: 70px;
    padding: 11px;
  }

  .cc-community-home-stat i {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .cc-community-home-stat strong {
    font-size: 18px;
  }

  .cc-community-home-board-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .cc-community-home-board-grid::-webkit-scrollbar {
    display: none;
  }

  .cc-community-home-board-card {
    flex: 0 0 158px;
    min-height: 128px;
    padding: 10px;
  }

  .cc-community-skeleton-main {
    grid-template-columns: 1fr;
  }

  .cc-community-skeleton-side {
    display: none;
  }

  .cc-community-pinned-strip {
    grid-template-columns: 1fr;
  }

  .cc-community-pinned-head {
    min-width: 0;
    padding: 9px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--cc-community-border);
  }

  .cc-community-pinned-topic {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 43px;
    padding: 8px 14px;
  }

  .cc-community-pinned-topic:nth-child(n + 3) {
    display: none;
  }

  .cc-community-pinned-topic em {
    display: none;
  }

  .cc-community-forum-controls .cc-community-feed-head {
    padding: 0 14px 14px;
  }

  .cc-community-topic-card .cc-community-card-body {
    gap: 11px;
    padding: 14px;
  }

  .cc-community-topic-title-row h2 {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 16px;
  }

  .cc-community-topic-title-row h2 a {
    display: -webkit-box;
    width: 100%;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-topic-excerpt,
  .cc-community-topic-excerpt.has-images {
    -webkit-line-clamp: 2;
  }

  .cc-community-preview-images,
  .cc-community-preview-images.is-count-1 {
    display: grid;
    gap: 3px;
    overflow: visible;
    max-width: 100%;
  }

  .cc-community-preview-images.is-count-1 {
    grid-template-columns: minmax(0, min(70%, 280px));
  }

  .cc-community-preview-images.is-count-2,
  .cc-community-preview-images.is-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(80%, 330px);
  }

  .cc-community-preview-images.is-count-3,
  .cc-community-preview-images.is-count-5,
  .cc-community-preview-images.is-count-6,
  .cc-community-preview-images.is-count-7,
  .cc-community-preview-images.is-count-8,
  .cc-community-preview-images.is-count-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-preview-images a,
  .cc-community-preview-images.is-count-1 a {
    width: auto;
    flex: initial;
    border: 0;
    border-radius: 8px;
  }

  .cc-community-preview-images img,
  .cc-community-preview-images.is-count-1 img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .cc-community-preview-images.is-count-1 img {
    aspect-ratio: 16 / 9;
  }

  .cc-community-card-body,
  .cc-community-panel {
    padding: 15px;
  }

  .cc-community-welcome-card.is-hero {
    min-height: 0;
    gap: 10px;
    padding: 13px;
  }

  .cc-community-welcome-main {
    align-items: flex-start;
  }

  .cc-community-welcome-card.is-hero .cc-community-avatar.is-lg {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 20px;
  }

  .cc-community-welcome-copy h3,
  .cc-community-welcome-card h3 {
    font-size: 20px;
  }

  .cc-community-welcome-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .cc-community-welcome-card.is-hero .cc-community-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-discovery-grid {
    grid-template-columns: 1fr;
  }

  .cc-community-discovery {
    gap: 10px;
  }

  .cc-community-discovery-column {
    gap: 8px;
  }

  .cc-community-discovery-column:nth-child(n + 2) {
    display: none;
  }

  .cc-community-discovery-item:nth-child(n + 3) {
    display: none;
  }

  .cc-community-category-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    min-width: 0;
  }

  .cc-community-category-hero {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    padding: 12px;
  }

  .cc-community-category-icon .cc-community-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .cc-community-category-copy {
    gap: 6px;
  }

  .cc-community-category-copy h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  .cc-community-category-copy .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-category-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 2px;
  }

  .cc-community-category-stats .cc-community-stat {
    min-height: 48px;
    padding: 8px 9px;
  }

  .cc-community-category-stats .cc-community-stat strong {
    font-size: 18px;
  }

  .cc-community-category-stats .cc-community-stat span {
    margin-top: 4px;
    font-size: 11px;
  }

  .cc-community-preview-images.is-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-community-gallery,
  .cc-community-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-compose-command-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-compose-codearea {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cc-community-compose-lines,
  .cc-community-compose-markdown {
    min-height: 300px;
  }

  .cc-community-profile-main {
    align-items: center;
    margin-top: -58px;
  }

  .cc-community-public-user-hero {
    padding: 0;
  }

  .cc-community-public-user-hero .cc-community-profile-cover {
    height: 72px;
  }

  .cc-community-public-user-hero .cc-community-profile-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 10px 12px;
    margin-top: -34px;
    padding: 0 14px 14px;
    text-align: left;
  }

  .cc-community-public-user-hero .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 70px;
    height: 70px;
    border-width: 4px;
    border-radius: 22px;
  }

  .cc-community-public-user-hero .cc-community-profile-title,
  .cc-community-public-user-hero .cc-community-profile-meta {
    justify-content: flex-start;
  }

  .cc-community-public-user-hero .cc-community-profile-meta span {
    max-width: 100%;
  }

  .cc-community-public-user-hero .cc-community-profile-meta span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cc-community-public-user-hero .cc-community-profile-stats {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0;
  }

  .cc-community-public-user-hero .cc-community-public-user-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-hero {
    padding: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-cover {
    height: 76px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 10px 12px;
    margin-top: -34px;
    padding: 0 14px 12px;
    text-align: left;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 70px;
    height: 70px;
    border-width: 4px;
    border-radius: 22px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta {
    justify-content: flex-start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 0 14px 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-stats .cc-community-stat {
    min-height: 58px;
    padding: 8px 6px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-stats .cc-community-stat strong {
    font-size: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-stats .cc-community-stat span {
    margin-top: 4px;
    font-size: 11px;
  }

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

  .cc-community-notification-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-notification {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .cc-community-notification-actions {
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
  }

  .cc-community-notification-message,
  .cc-community-notification-post {
    white-space: normal;
  }

  .cc-community-detail-main {
    gap: 14px;
  }

  .cc-community-detail-topic-head,
  .cc-community-detail-topic-body,
  .cc-community-detail-topic-tags {
    padding: 14px;
  }

  .cc-community-detail-topic-card h1 {
    font-size: 22px;
    line-height: 1.25;
  }

  .cc-community-detail-topic-top,
  .cc-community-detail-topic-author {
    display: grid;
    gap: 10px;
  }

  .cc-community-detail-topic-side {
    justify-content: stretch;
    min-width: 0;
    width: 100%;
  }

  .cc-community-detail-title-meta {
    gap: 6px;
    font-size: 12px;
  }

  .cc-community-detail-inline-metrics {
    margin-left: 0;
    width: 100%;
  }

  .cc-community-detail-inline-metrics .cc-community-metric {
    flex: 1 1 0;
    justify-content: center;
  }

  .cc-community-detail-topic-card .cc-community-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-detail-topic-card .cc-community-detail-footer {
    padding: 10px 14px 14px;
  }

  .cc-community-detail-topic-card,
  .cc-community-comments,
  .cc-community-action-panel {
    padding: 14px;
  }

  .cc-community-detail-menu-panel {
    padding: 0;
  }

  .cc-community-detail-dropdown summary {
    min-height: 46px;
    padding: 0 12px;
  }

  .cc-community-detail-dropdown summary em {
    max-width: 138px;
  }

  .cc-community-dropdown-menu {
    padding: 10px 12px 12px;
  }

  .cc-community-dropdown-item {
    min-height: 46px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    padding: 7px 9px;
  }

  .cc-community-dropdown-item i {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .cc-community-detail-action-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-detail-action-strip > span {
    grid-column: 1 / -1;
  }

  .cc-community-detail-action-strip .cc-community-metric,
  .cc-community-detail-action {
    min-height: 46px;
  }

  .cc-community-comments .cc-community-section-head {
    display: grid;
    gap: 10px;
    align-items: stretch;
  }

  .cc-community-comment-tools {
    justify-content: flex-start;
  }

  .cc-community-comment-tools .cc-community-button {
    min-height: 34px;
  }

  .cc-community-back {
    margin-left: 2px;
  }

  .cc-community-action-panel .cc-community-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-detail-author-card {
    justify-items: start;
    text-align: left;
  }

  .cc-community-detail-author-card .cc-community-avatar.is-lg {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .cc-community-author-mini-stats,
  .cc-community-status-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-layout {
    gap: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero {
    min-height: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero-meta span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title {
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title .cc-community-input.is-title {
    min-height: 54px;
    font-size: 22px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-row {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic {
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-head {
    padding: 12px 12px 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-shell {
    margin: 0 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-lines,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 280px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-drop {
    min-height: 150px;
  }

  .cc-community-public-user-hero .cc-community-profile-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-public-user-hero .cc-community-profile-stats .cc-community-stat {
    min-height: 58px;
    padding: 8px 6px;
    text-align: center;
  }

  .cc-community-public-user-hero .cc-community-profile-stats .cc-community-stat strong {
    font-size: 18px;
  }

  .cc-community-public-user-hero .cc-community-profile-stats .cc-community-stat span {
    margin-top: 4px;
    font-size: 11px;
  }

  .cc-community-forum-controls {
    padding: 0;
  }

  .cc-community-forum-topline {
    display: block;
    min-height: 40px;
  }

  .cc-community-forum-feed-meta {
    display: none;
  }

  .cc-community-forum-tabs {
    gap: 20px;
    min-height: 40px;
    padding: 0 12px;
  }

  .cc-community-forum-tab {
    min-height: 40px;
    font-size: 13px;
  }

  .cc-community-forum-sort {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 7px;
    padding: 8px 10px 10px;
    align-items: center;
  }

  .cc-community-forum-sort .cc-community-search-inline {
    grid-column: 1 / 2;
  }

  .cc-community-forum-sort .cc-community-select {
    grid-column: 2 / 3;
    min-height: 40px;
  }

  .cc-community-search-inline span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cc-community-forum-checks {
    grid-column: 1 / 2;
    min-height: 32px;
    gap: 6px;
  }

  .cc-community-forum-checks .cc-community-check {
    min-height: 30px;
    padding: 0 8px;
    border: 1px solid var(--cc-community-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 78%, transparent);
    font-size: 12px;
  }

  .cc-community-forum-sort .cc-community-icon-button {
    grid-column: 2 / 3;
    min-width: 0;
    min-height: 32px;
    font-size: 12px;
  }

  .cc-community-hero {
    padding: 16px;
  }

  .cc-community-user-overview,
  .cc-community-profile-stats {
    grid-template-columns: 1fr;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cc-community-public-user-actions,
  .cc-community-public-user-actions .cc-community-button {
    width: 100%;
  }

  .cc-community-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cc-community-nav a {
    min-width: 0;
    padding: 0 6px;
  }

  .cc-community-forum-tabs,
  .cc-community-profile-tabs {
    margin-right: -4px;
    margin-left: -4px;
    padding-right: 4px;
    padding-left: 4px;
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .cc-community-forum-tabs::-webkit-scrollbar,
  .cc-community-profile-tabs::-webkit-scrollbar {
    display: none;
  }

  .cc-community-profile-tabs .cc-community-follow-tab {
    margin-left: 0;
  }

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

  .cc-community-author {
    gap: 10px;
  }

  .cc-community-topic-card .cc-community-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .cc-community-welcome-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cc-community-welcome-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-welcome-stats span {
    padding: 7px 5px;
  }

  .cc-community-discovery-body a {
    white-space: normal;
  }

  .cc-community-topic-footer {
    display: grid;
    gap: 8px;
  }

  .cc-community-topic-actions,
  .cc-community-metrics {
    justify-content: space-between;
  }

  .cc-community-my-post-actions,
  .cc-community-topic-footer > .cc-community-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .cc-community-my-post-actions .cc-community-button,
  .cc-community-topic-footer > .cc-community-actions .cc-community-button {
    min-width: 0;
    padding: 0 8px;
  }

  .cc-community-topic-actions {
    justify-content: space-between;
  }

  .cc-community-action-panel .cc-community-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-dropdown-menu,
  .cc-community-dropdown-menu.is-admin {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-modal {
    padding: 16px;
  }

  .cc-community-modal-grid {
    grid-template-columns: 1fr;
  }

  .cc-community-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-admin-menu {
    width: 100%;
  }

  .cc-community-admin-menu summary {
    width: 100%;
  }

  .cc-community-admin-menu-list {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-comment-login,
  .cc-community-comment-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cc-community-comment-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-community-comment-tools > span,
  .cc-community-comment-sort,
  .cc-community-comment-tools .cc-community-button {
    width: 100%;
  }

  .cc-community-comment-sort button {
    flex: 1 1 0;
  }

  .cc-community-comment-tools .cc-community-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cc-community-comment-rhythm {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-comment-brief {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
  }

  .cc-community-comment-brief > div {
    min-height: 38px;
    padding: 0 6px;
  }

  .cc-community-comment-brief strong {
    font-size: 17px;
  }

  .cc-community-comment-brief em {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    white-space: normal;
  }

  .cc-community-comment-rhythm span {
    justify-content: center;
    padding: 0 6px;
  }

  .cc-community-comment-rhythm em {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    white-space: normal;
  }

  .cc-community-comment-login span {
    width: 100%;
  }

  .cc-community-comment-form-actions .cc-community-button {
    width: 100%;
  }

  .cc-community-comment-reply-target {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 10px;
  }

  .cc-community-comment-reply-target button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cc-community-comment-reply-target-body {
    gap: 4px 6px;
  }

  .cc-community-comment-reply-target-body strong {
    max-width: 100%;
  }

  .cc-community-comment-main {
    gap: 9px;
    padding: 10px;
  }

  .cc-community-comment-main > .cc-community-avatar,
  .cc-community-comment-avatar-link > .cc-community-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 12px;
  }

  .cc-community-comment-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .cc-community-comment-author {
    gap: 4px;
  }

  .cc-community-comment-meta {
    gap: 5px;
  }

  .cc-community-comment.is-reply::before {
    display: none;
  }

  .cc-community-comment-head em {
    margin-left: 0;
  }

  .cc-community-comment-more {
    width: auto;
    justify-content: space-between;
    margin-left: 0;
  }

  .cc-community-comment-menu-list {
    right: 0;
    left: auto;
  }

  .cc-community-comment-replies {
    padding-left: 9px;
  }

  .cc-community-comment-actions {
    max-width: none;
    gap: 12px;
    justify-content: flex-start;
  }

  .cc-community-comment-reply-toggle {
    margin-left: 0;
  }

  .cc-community-comment-content {
    font-size: 14px;
    line-height: 1.7;
  }

  .cc-community-comment-reply-to {
    max-width: 100%;
  }

  .cc-community-compose-editor-topbar,
  .cc-community-compose-editor-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .cc-community-compose-command {
    width: 100%;
  }

  .cc-community-compose-editor-topbar .cc-community-button {
    width: auto;
    min-height: 32px;
  }

  .cc-community-compose-templates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-compose-templates button {
    width: 100%;
    padding: 0 8px;
  }

  .cc-community-compose-command {
    min-height: 54px;
  }
}

@media (max-width: 520px) {
  .cc-community-compose-editor-toolbar {
    width: 100%;
    border-radius: var(--cc-community-radius-sm);
  }

  .cc-community-compose-editor-toolbar button {
    flex: 1 1 30px;
  }

  .cc-community-compose-submit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .cc-community-compose-submit > span {
    grid-column: 1 / -1;
  }

  .cc-community-compose-submit .cc-community-button {
    width: 100%;
  }

  .cc-community-upload-drop {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 180px;
    text-align: center;
  }

  .cc-community-upload-mark {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .cc-community-upload-mark strong {
    font-size: 17px;
  }

  .cc-community-upload-mark span {
    margin-top: -20px;
  }

  .cc-community-compose-command-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .cc-community-compose-command {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 42px;
    padding: 7px;
    border-radius: 11px;
  }

  .cc-community-compose-command strong {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 11px;
  }

  .cc-community-compose-command span {
    font-size: 12px;
  }

  .cc-community-compose-command em {
    display: none;
  }

  .cc-community-compose-codearea {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .cc-community-compose-lines {
    padding-inline: 6px;
    font-size: 12px;
  }

  .cc-community-compose-markdown {
    padding: 10px;
    font-size: 16px;
  }

  .cc-community-compose-editor-status span:last-child {
    display: none;
  }
}

.cc-community-profile-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 5%, transparent), transparent 58%),
    color-mix(in srgb, var(--cc-community-card-bg) 92%, transparent);
  box-shadow: var(--cc-community-shadow-sm);
  scrollbar-width: none;
}

.cc-community-profile-tabs::-webkit-scrollbar {
  display: none;
}

.cc-community-profile-tabs .cc-community-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-profile-tabs .cc-community-tab:hover,
.cc-community-profile-tabs .cc-community-tab.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-profile-tabs .cc-community-tab:hover {
  transform: translateY(-1px);
}

.cc-community-profile-tabs .cc-community-tab span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: auto;
  margin-left: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.cc-community-profile-tabs .cc-community-tab span em {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 10%, transparent);
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.cc-community-profile-tabs .cc-community-tab:hover span em,
.cc-community-profile-tabs .cc-community-tab.is-active span em {
  background: color-mix(in srgb, var(--cc-community-primary) 16%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-profile-tabs .cc-community-follow-tab {
  margin-left: auto;
}

.cc-community-profile-tabs .cc-community-tab i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-style: normal;
}

.cc-community-profile-tabs .cc-community-tab .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

.cc-community-me-content-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 68%),
    var(--cc-community-card-bg);
}

.cc-community-me-content-head h3 {
  margin-bottom: 4px;
}

.cc-community-my-post-top {
  justify-content: space-between;
}

.cc-community-my-post-top > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.cc-community-badge .cc-community-svg-icon,
.cc-community-badge.is-favorite .cc-community-svg-icon {
  width: 13px;
  height: 13px;
}

.cc-community-my-card-menu {
  position: relative;
  justify-self: end;
}

.cc-community-my-card-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--cc-community-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
  color: var(--cc-community-muted);
  font-size: 12px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.cc-community-my-card-menu summary::-webkit-details-marker {
  display: none;
}

.cc-community-my-card-menu[open] summary,
.cc-community-my-card-menu summary:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
}

.cc-community-my-card-menu-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 8;
  display: grid;
  gap: 6px;
  width: 142px;
  padding: 8px;
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius-sm);
  background: var(--cc-community-card-bg-strong);
  box-shadow: var(--cc-community-shadow-md);
  backdrop-filter: blur(16px);
}

.cc-community-my-card-menu-list .cc-community-button {
  justify-content: flex-start;
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.cc-community-comment-quote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cc-community-comment-quote i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
  font-style: normal;
}

.cc-community-comment-quote span {
  min-width: 0;
}

.cc-community-compose-preview-tabs,
.cc-community-compose-checklist,
.cc-community-compose-actions {
  border: 1px solid var(--cc-community-border);
  border-radius: var(--cc-community-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 60%),
    color-mix(in srgb, var(--cc-community-card-bg) 94%, transparent);
  box-shadow: var(--cc-community-shadow-sm);
}

.cc-community-compose-preview-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
}

.cc-community-compose-preview-tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-community-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cc-community-compose-preview-tabs button:hover,
.cc-community-compose-preview-tabs button.is-active {
  border-color: color-mix(in srgb, var(--cc-community-primary) 24%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-compose-checklist {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.cc-community-compose-checklist strong {
  color: var(--cc-community-text);
  font-size: 15px;
  font-weight: 950;
}

.cc-community-compose-checklist span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 8%, transparent);
  color: var(--cc-community-muted);
  font-size: 13px;
  font-weight: 750;
}

.cc-community-compose-checklist span::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-muted) 26%, transparent);
}

.cc-community-compose-checklist span.is-ready::before,
.cc-community-compose-checklist span.is-done::before,
.cc-community-compose-checklist .is-ready::before {
  background: currentColor;
}

.cc-community-compose-checklist span.is-ready,
.cc-community-compose-checklist span.is-done,
.cc-community-compose-checklist .is-ready {
  background: color-mix(in srgb, #22c55e 12%, transparent);
  color: color-mix(in srgb, #16a34a 80%, var(--cc-community-text));
}

.cc-community-compose-actions {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 12px;
  backdrop-filter: blur(14px);
}

.cc-community-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-community-metric .cc-community-svg-icon,
.cc-community-topic-action .cc-community-svg-icon,
.cc-community-action-icon .cc-community-svg-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .cc-community-feed-list,
  .cc-community-user-posts {
    gap: 8px;
  }

  .cc-community-topic-card,
  .cc-community-my-post,
  .cc-community-favorite-post {
    border-color: color-mix(in srgb, var(--cc-community-border) 70%, transparent);
    border-radius: var(--cc-community-radius-md);
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 66%, transparent);
    box-shadow: none;
  }

  .cc-community-topic-card .cc-community-card-body,
  .cc-community-my-post .cc-community-card-body,
  .cc-community-favorite-post .cc-community-card-body {
    grid-template-rows: auto;
    gap: 9px;
    padding: 12px;
  }

  .cc-community-my-post .cc-community-card-top,
  .cc-community-favorite-post .cc-community-card-top {
    min-height: 0;
    gap: 5px;
    margin-bottom: -2px;
  }

  .cc-community-topic-card-head {
    gap: 8px;
  }

  .cc-community-topic-card-head .cc-community-section-chip {
    max-width: 118px;
  }

  .cc-community-topic-card .cc-community-author,
  .cc-community-my-post .cc-community-author,
  .cc-community-favorite-post .cc-community-author {
    gap: 9px;
  }

  .cc-community-topic-card .cc-community-avatar,
  .cc-community-my-post .cc-community-avatar,
  .cc-community-favorite-post .cc-community-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 12px;
  }

  .cc-community-topic-card .cc-community-author-row,
  .cc-community-my-post .cc-community-author-row,
  .cc-community-favorite-post .cc-community-author-row {
    gap: 5px;
  }

  .cc-community-topic-card .cc-community-author-name,
  .cc-community-my-post .cc-community-author-name,
  .cc-community-favorite-post .cc-community-author-name {
    max-width: 132px;
    font-size: 13px;
  }

  .cc-community-topic-card .cc-community-level,
  .cc-community-my-post .cc-community-level,
  .cc-community-favorite-post .cc-community-level {
    min-height: 17px;
    padding: 0 5px;
    font-size: 10px;
  }

  .cc-community-topic-card .cc-community-author-time,
  .cc-community-my-post .cc-community-author-time,
  .cc-community-favorite-post .cc-community-author-time {
    font-size: 11px;
  }

  .cc-community-topic-main {
    gap: 8px;
  }

  .cc-community-topic-title-row h2,
  .cc-community-my-post .cc-community-topic-title-row h2,
  .cc-community-favorite-post h2 {
    gap: 5px;
    margin: 0;
    font-size: 15px;
    line-height: 1.36;
  }

  .cc-community-my-post .cc-community-topic-title-row {
    display: grid;
    gap: 6px;
  }

  .cc-community-my-post .cc-community-topic-title-row > .cc-community-badge {
    justify-self: start;
  }

  .cc-community-topic-title-row h2 a,
  .cc-community-favorite-post h2 a {
    -webkit-line-clamp: 2;
  }

  .cc-community-summary,
  .cc-community-topic-excerpt,
  .cc-community-topic-excerpt.has-images {
    font-size: 12px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
  }

  .cc-community-topic-meta-row,
  .cc-community-my-post .cc-community-tags,
  .cc-community-favorite-post .cc-community-tags {
    gap: 5px;
  }

  .cc-community-topic-activity {
    min-height: 21px;
    padding: 0 7px;
    font-size: 11px;
  }

  .cc-community-topic-heat {
    height: 3px;
  }

  .cc-community-tag,
  .cc-community-badge,
  .cc-community-section-chip {
    min-height: 21px;
    padding: 0 7px;
    font-size: 11px;
  }

  .cc-community-section-chip {
    gap: 4px;
    padding-left: 5px;
  }

  .cc-community-section-chip-icon {
    width: 12px;
    height: 12px;
  }

  .cc-community-preview-images,
  .cc-community-preview-images.is-count-1 {
    gap: 4px;
    margin-top: 1px;
  }

  .cc-community-preview-images.is-count-1 {
    grid-template-columns: minmax(0, min(62%, 220px));
  }

  .cc-community-preview-images.is-count-2,
  .cc-community-preview-images.is-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(64%, 230px);
  }

  .cc-community-preview-images.is-count-3,
  .cc-community-preview-images.is-count-5,
  .cc-community-preview-images.is-count-6,
  .cc-community-preview-images.is-count-7,
  .cc-community-preview-images.is-count-8,
  .cc-community-preview-images.is-count-9 {
    max-width: min(78%, 270px);
  }

  .cc-community-preview-images a,
  .cc-community-preview-images.is-count-1 a {
    border-radius: 7px;
  }

  .cc-community-preview-images img,
  .cc-community-preview-images.is-count-1 img {
    aspect-ratio: 1 / 1;
  }

  .cc-community-preview-images.is-count-1 img {
    aspect-ratio: 16 / 9;
  }

  .cc-community-topic-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
  }

  .cc-community-topic-actions,
  .cc-community-metrics {
    gap: 8px;
    justify-content: flex-start;
  }

  .cc-community-topic-card .cc-community-metrics {
    flex: 1 1 auto;
    row-gap: 4px;
  }

  .cc-community-metric {
    min-height: 24px;
    gap: 4px;
    padding: 0;
    background: transparent;
    font-size: 12px;
  }

  .cc-community-metric b {
    font-size: 12px;
  }

  .cc-community-topic-action,
  .cc-community-action-icon {
    min-width: 28px;
    min-height: 28px;
    padding: 0 4px;
    border-radius: 999px;
  }

  .cc-community-topic-action {
    gap: 3px;
    font-size: 12px;
  }

  .cc-community-action-icon {
    width: 28px;
    height: 28px;
  }

  .cc-community-topic-action:hover,
  .cc-community-action-icon:hover {
    transform: none;
  }

  .cc-community-my-post .cc-community-topic-footer,
  .cc-community-favorite-post .cc-community-topic-footer {
    display: grid;
    gap: 8px;
  }

  .cc-community-my-post-actions,
  .cc-community-favorite-post .cc-community-actions {
    display: flex;
    gap: 6px;
    width: 100%;
  }

  .cc-community-my-post-actions .cc-community-button,
  .cc-community-favorite-post .cc-community-actions .cc-community-button {
    flex: 1 1 0;
    min-height: 31px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .cc-community-topic-card .cc-community-card-body,
  .cc-community-my-post .cc-community-card-body,
  .cc-community-favorite-post .cc-community-card-body {
    padding: 11px;
  }

  .cc-community-topic-card .cc-community-author-name,
  .cc-community-my-post .cc-community-author-name,
  .cc-community-favorite-post .cc-community-author-name {
    max-width: 118px;
  }

  .cc-community-preview-images.is-count-2,
  .cc-community-preview-images.is-count-4 {
    max-width: min(62%, 220px);
  }

  .cc-community-preview-images.is-count-3,
  .cc-community-preview-images.is-count-5,
  .cc-community-preview-images.is-count-6,
  .cc-community-preview-images.is-count-7,
  .cc-community-preview-images.is-count-8,
  .cc-community-preview-images.is-count-9 {
    max-width: min(76%, 260px);
  }
}

@media (max-width: 760px) {
  .cc-community-feed-list.is-galgamex-flow {
    gap: 7px;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-card-body {
    gap: 7px;
    padding: 10px;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card-head .cc-community-section-chip {
    max-width: 104px;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-title-row h2 {
    font-size: 14px;
    line-height: 1.32;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-excerpt,
  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-excerpt.has-images {
    font-size: 12px;
    line-height: 1.48;
    -webkit-line-clamp: 1;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 {
    display: grid;
    gap: 3px;
    max-width: min(74%, 260px);
    overflow: visible;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(66%, 230px);
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-2,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(66%, 230px);
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-3,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-5,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-6,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-7,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-8,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images a,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 a {
    width: auto;
    max-width: none;
    flex: none;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images img,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 img {
    aspect-ratio: 16 / 9;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-meta-row {
    gap: 5px;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-activity {
    display: none;
  }

  .cc-community-feed-list.is-galgamex-flow .cc-community-topic-footer {
    padding-top: 4px;
  }
}

@media (max-width: 420px) {
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images,
  .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 {
    max-width: min(72%, 248px);
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-author,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-author {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-card-body,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-card-body {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-card-top,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-card-top {
    min-height: 22px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-topic-title-row > .cc-community-badge {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-summary,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-preview-images,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-preview-images {
    max-width: min(58%, 210px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-metrics,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-metrics {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post .cc-community-metric,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-metric {
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-my-post-actions .cc-community-button,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-favorite-post .cc-community-actions .cc-community-button {
    min-height: 28px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-editor {
    gap: 10px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    min-height: 0;
    padding-bottom: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero h2 {
    margin-bottom: 2px;
    font-size: 22px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero .cc-community-summary {
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero-meta {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero-meta span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 7px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness span {
    flex: 0 0 142px;
    min-height: 48px;
    padding: 7px 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-form {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block {
    gap: 9px;
    padding: 10px;
    border-radius: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title .cc-community-input.is-title {
    min-height: 54px;
    font-size: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-field-meta {
    gap: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-field-meta span:nth-child(2) {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-row {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-input {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic {
    flex: 1 1 132px;
    min-height: 48px;
    padding: 8px 9px;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic .cc-community-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-tag-preview {
    gap: 5px;
    min-height: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-tag-input {
    min-height: 42px;
    border-radius: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-head {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-head span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-toolbar {
    gap: 4px;
    padding: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-toolbar button {
    min-height: 28px;
    padding: 0 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-shell {
    border-radius: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-topbar {
    display: flex;
    align-items: center;
    flex-direction: row;
    min-height: 42px;
    padding: 8px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-mode em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] [data-cc-compose-command-toggle] {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-codearea {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-lines {
    padding-inline: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 260px;
    max-height: 320px;
    padding: 10px;
    line-height: 1.65;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-status {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-templates {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-templates button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-drop {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    min-height: 118px;
    gap: 12px;
    padding: 14px;
    text-align: left;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark strong {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark span {
    margin-top: -16px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-copy strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-copy span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit {
    position: sticky;
    bottom: 8px;
    z-index: 8;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    min-height: 0;
    margin-top: 0;
    padding: 8px;
    border-radius: 14px;
    backdrop-filter: blur(16px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit > span {
    display: block;
    grid-column: 1 / -1;
    flex: none;
    font-size: 11px;
    line-height: 1.45;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit .cc-community-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-side {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-side .cc-community-panel {
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-side .cc-community-panel .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-preview-tabs {
    width: 100%;
    flex-wrap: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-preview-tabs button {
    flex: 1 1 0;
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-checklist {
    gap: 6px;
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-checklist span {
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cc-community-muted) 8%, transparent);
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-editor {
    padding: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 238px;
    max-height: 296px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-drop {
    min-height: 108px;
    padding: 12px;
  }
}

/* Create/edit mobile density pass: move the real writing controls into the first screen. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-layout {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-editor {
    gap: 8px;
    padding: 10px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero {
    gap: 4px;
    padding-bottom: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero .cc-community-eyebrow {
    margin-bottom: 2px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero h2 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.15;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero-meta {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-hero-meta span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding: 5px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness span {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    justify-items: center;
    min-height: 44px;
    padding: 5px 3px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness i {
    grid-row: auto;
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness strong {
    max-width: 100%;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-form {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block {
    gap: 7px;
    padding: 9px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title {
    padding: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title label {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-title .cc-community-input.is-title {
    min-height: 46px;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-field-meta {
    gap: 4px;
    font-size: 10px;
    line-height: 1.35;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-row {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta label {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta label,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-editor label {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-input {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks {
    gap: 5px;
    max-height: 62px;
    overflow-y: hidden;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic {
    flex-basis: 112px;
    min-height: 42px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks .cc-community-topic .cc-community-section-icon {
    width: 24px;
    height: 24px;
    border-radius: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-tag-input {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    padding: 6px 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-tag-input .cc-community-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 30px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-chip {
    min-height: 26px;
    padding: 0 7px 0 10px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-tag-preview:empty {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-compose-field-meta:last-child {
    margin-top: -2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-meta .cc-community-compose-field-meta:last-child span:first-child {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-head {
    padding: 9px 9px 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-toolbar {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 12px;
    padding: 3px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-toolbar::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-toolbar button {
    flex: 0 0 auto;
    min-height: 27px;
    padding: 0 7px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-shell {
    margin: 0 9px;
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-topbar {
    min-height: 36px;
    padding: 6px 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-mode strong {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] [data-cc-compose-command-toggle] {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-codearea {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-lines {
    padding: 8px 4px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 220px;
    max-height: 282px;
    padding: 9px;
    line-height: 1.58;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-editor-status {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-templates {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-block-uploader {
    padding: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-drop {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: start;
    min-height: 78px;
    gap: 9px;
    padding: 10px;
    text-align: left;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark strong {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-mark span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-copy strong {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-copy span {
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-queue {
    gap: 7px;
    padding: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-queue-head strong {
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-job {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    min-height: 0;
    padding: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-upload-job strong {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit {
    bottom: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border-radius: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit > span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-submit .cc-community-button {
    min-height: 32px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-side {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-status {
    display: none;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-editor {
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness {
    gap: 3px;
    padding: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness span {
    min-height: 40px;
    padding: 4px 2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness i {
    width: 21px;
    height: 21px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-markdown {
    min-height: 210px;
    max-height: 270px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-cover {
    height: 82px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    justify-content: stretch;
    gap: 8px;
    margin-top: -40px;
    padding: 0 12px 12px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 72px;
    height: 72px;
    border-width: 4px;
    border-radius: 22px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    max-width: 32rem;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-copy {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-title,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta {
    justify-content: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta a {
    max-width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta a {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-me-level {
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-me-level > span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-stats {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-actions {
    width: 100%;
    max-width: 320px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-actions .cc-community-button {
    min-height: 34px;
    width: 100%;
    padding: 0 7px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-actions .cc-community-svg-icon {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-cover {
    height: 82px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    justify-content: stretch;
    gap: 8px;
    margin-top: -40px;
    padding: 0 12px 12px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 72px;
    height: 72px;
    border-width: 4px;
    border-radius: 22px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    max-width: 32rem;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-copy {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-title,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta {
    justify-content: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta a {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-me-level {
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-me-level > span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-stats {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-public-user-actions {
    width: 100%;
    max-width: 320px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-public-user-actions .cc-community-button {
    min-height: 34px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(92px, 1fr);
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip .cc-community-panel {
    min-height: 58px;
    padding: 9px;
    scroll-snap-align: start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip i {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip strong {
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip span {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-card,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-card {
    gap: 8px;
    min-height: 0;
    padding: 12px;
    scroll-snap-align: start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-head {
    gap: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-head > span {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-head h3,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-card h3 {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-card p,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-progress {
    height: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid button {
    min-height: 58px;
    padding: 7px 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid i {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid strong {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid span {
    font-size: 10px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-mini-stats {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-mini-stats span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-avatar.is-lg {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-copy h3 {
    font-size: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-copy p {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-controls {
    border-radius: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tabs {
    min-height: 40px;
    padding: 0 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tab {
    min-height: 40px;
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort {
    padding: 7px 10px 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stats {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat {
    flex-basis: 118px;
    min-height: 54px;
    padding: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat i {
    width: 26px;
    height: 26px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat strong {
    font-size: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags {
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
    flex-basis: 132px;
    min-height: 72px;
    padding: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card .cc-community-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-card-body {
    gap: 8px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-feed-list.is-galgamex-flow .cc-community-topic-title-row h2 {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-nav a {
    min-width: 0;
    width: 100%;
    padding: 0 6px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-deck {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat {
    flex: initial;
    min-width: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
    flex: initial;
    min-width: 0;
    min-height: 126px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-page {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-hero {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 10px;
    min-height: 0;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-icon .cc-community-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy h2 {
    font-size: 20px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy .cc-community-summary {
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat {
    min-height: 42px;
    padding: 6px;
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat strong {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat span {
    margin-top: 3px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions .cc-community-button {
    min-height: 34px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip {
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip .cc-community-panel {
    min-height: 58px;
    padding: 9px;
    scroll-snap-align: start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip i {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip .cc-community-svg-icon {
    width: 14px;
    height: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip span {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-rail {
    gap: 6px;
    padding: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-pill {
    min-height: 32px;
    padding: 0 9px 0 7px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-pill em {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-layout {
    margin-top: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-tabs {
    min-height: 42px;
    padding: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-tabs .cc-community-tab {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head {
    gap: 7px;
    padding: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-head-meta {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-head-meta span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }
}

/* Detail page product polish, scoped to the community shell. */
.cc-community-root.cc-community-shell[data-cc-route="detail"] {
  --cc-community-detail-card-bg: color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
  --cc-community-detail-card-bg-soft: color-mix(in srgb, var(--cc-community-card-bg-strong) 54%, transparent);
  --cc-community-detail-line: color-mix(in srgb, var(--cc-community-border) 72%, transparent);
  --cc-community-detail-muted-line: color-mix(in srgb, var(--cc-community-muted) 13%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-layout {
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 18px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-main,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside {
  gap: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-back {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-self: start;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
  color: var(--cc-community-muted);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-back:hover {
  border-color: var(--cc-community-border-hover);
  background: color-mix(in srgb, var(--cc-community-primary) 7%, var(--cc-community-card-bg-strong));
  color: var(--cc-community-primary);
  transform: translateY(-1px);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside > .cc-community-panel {
  border-color: var(--cc-community-detail-line);
  background: var(--cc-community-detail-card-bg);
  box-shadow: 0 1px 2px rgba(31, 31, 35, 0.025);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card {
  border-radius: var(--cc-community-radius-lg);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-head {
  gap: 12px;
  padding: 18px 18px 15px;
  border-bottom-color: var(--cc-community-detail-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 4%, transparent), transparent 78%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 34%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card h1 {
  max-width: 860px;
  font-size: clamp(23px, 2.35vw, 29px);
  letter-spacing: 0;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-title-meta {
  color: color-mix(in srgb, var(--cc-community-muted) 88%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-inline-metrics .cc-community-metric {
  min-height: 28px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 46%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-body {
  gap: 14px;
  padding: 18px 18px 20px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-content {
  color: color-mix(in srgb, var(--cc-community-text) 96%, var(--cc-community-muted));
  font-size: 15px;
  line-height: 1.74;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-content p {
  margin-block: 0 0.82em;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery {
  grid-template-columns: repeat(auto-fit, minmax(132px, 180px));
  gap: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery button {
  max-width: 180px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 42%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery img {
  aspect-ratio: 4 / 3;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-tags {
  padding: 11px 18px;
  border-top-color: var(--cc-community-detail-line);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-detail-footer {
  padding: 10px 14px 14px;
  border-top-color: var(--cc-community-detail-line);
  background: transparent;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip {
  gap: 7px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip .cc-community-metric,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action {
  min-height: 39px;
  border-color: var(--cc-community-detail-line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 50%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 7%, var(--cc-community-card-bg-strong));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside > .cc-community-panel {
  border-radius: var(--cc-community-radius-md);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-primary) 3%, transparent), transparent 72%),
    var(--cc-community-detail-card-bg-soft);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card {
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: stretch;
  gap: 8px 10px;
  padding: 13px;
  text-align: left;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card .cc-community-author-card-avatar {
  grid-row: span 2;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card .cc-community-avatar.is-lg {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card span {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-author-mini-stats span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-status-list span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hot-topic {
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 42%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card {
  gap: 9px;
  padding: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card .cc-community-detail-status-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card .cc-community-detail-status-card .cc-community-panel-title {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card .cc-community-panel-title span {
  min-height: 24px;
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics {
  gap: 7px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics span {
  min-height: 48px;
  padding: 7px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics strong {
  font-size: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-heat {
  height: 6px;
  background: var(--cc-community-detail-muted-line);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-link {
  min-height: 44px;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 8px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-primary) 5%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-author-mini-stats {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-author-mini-stats span:nth-child(n + 4) {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-status-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-status-list span {
  min-height: 42px;
  padding: 6px 4px;
  text-align: center;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-author-mini-stats span {
  min-height: 38px;
  padding: 6px;
  text-align: center;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-author-mini-stats strong,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-status-list b {
  margin-bottom: 2px;
  font-size: 13px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside-scroll {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-dropdown summary {
  min-height: 40px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-dropdown-item {
  min-height: 40px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 38%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments {
  gap: 12px;
  padding: 15px;
  border-radius: var(--cc-community-radius-lg);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--cc-community-detail-line);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools > span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-sort {
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 44%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief {
  gap: 7px;
  padding: 8px;
  border-color: var(--cc-community-detail-line);
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 42%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief > div {
  min-height: 38px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg) 62%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-login,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form {
  border-color: var(--cc-community-detail-line);
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 46%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form {
  gap: 9px;
  padding: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form .cc-community-textarea {
  min-height: 96px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 72%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-preview {
  min-height: 36px;
  max-height: 130px;
  border-color: color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-card-bg) 58%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-list {
  gap: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment {
  border-color: var(--cc-community-detail-line);
  border-radius: var(--cc-community-radius-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 50%, transparent)),
    transparent;
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment:hover {
  border-color: color-mix(in srgb, var(--cc-community-primary) 26%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-card-bg-hover) 70%, transparent);
  box-shadow: none;
  transform: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment.is-targeted {
  border-color: color-mix(in srgb, var(--cc-community-primary) 48%, var(--cc-community-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 10%, transparent), transparent 72%),
    var(--cc-community-card-bg-hover);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment.is-reply {
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 46%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-accent {
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: color-mix(in srgb, var(--cc-community-primary) 18%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-main {
  gap: 11px;
  padding: 15px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
  min-height: 0;
  padding-bottom: 4px;
  border-bottom: 0;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-name {
  font-size: 14px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-meta > span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-reply-to {
  color: color-mix(in srgb, var(--cc-community-muted) 90%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-floor {
  min-height: 26px;
  border-color: var(--cc-community-detail-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 38%, transparent);
  font-size: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-content {
  padding: 6px 0 2px;
  font-size: 15px;
  line-height: 1.76;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 7px;
  padding-top: 0;
  border-top: 0;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions .cc-community-text-button {
  min-height: 28px;
  padding: 0 9px;
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 32%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-replies {
  gap: 8px;
  margin-top: 8px;
  padding-left: 14px;
  border-left-color: color-mix(in srgb, var(--cc-community-primary) 14%, var(--cc-community-border));
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] {
    width: min(100% - 24px, 1216px);
    padding-top: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside {
    position: static;
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside > .cc-community-panel {
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-head {
    gap: 13px;
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card h1 {
    font-size: 22px;
    line-height: 1.28;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-body {
    gap: 14px;
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-content {
    font-size: 15px;
    line-height: 1.78;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-tags {
    padding: 12px 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-detail-footer {
    padding: 10px 12px 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip > span {
    grid-column: 1 / -1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments {
    gap: 12px;
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief em {
    grid-column: 1 / -1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-replies {
    grid-column: 1 / -1;
    margin-left: 0;
    padding-left: 10px;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] {
    width: min(100% - 18px, 1216px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief > div {
    display: grid;
    gap: 1px;
    justify-items: center;
    min-height: 44px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-actions {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-more {
    justify-content: flex-start;
  }
}

/* Detail discussion density pass: move closer to Galgamex's lightweight topic + reply rhythm. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-head {
    gap: 10px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-title-block {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card h1 {
    font-size: 20px;
    line-height: 1.25;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-title-meta {
    gap: 5px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context span {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-body {
    gap: 11px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-content {
    font-size: 14px;
    line-height: 1.68;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery button {
    max-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery img {
    aspect-ratio: 16 / 10;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-tags {
    padding: 10px 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-detail-footer {
    padding: 9px 10px 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments {
    gap: 10px;
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card {
    padding: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics span {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 42px;
    padding: 6px 4px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-metrics i {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-discussion-card .cc-community-status-list,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-author-card .cc-community-author-mini-stats {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside-scroll {
    display: none;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context span {
    flex: 1 1 calc(50% - 6px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-context span:nth-child(n + 3) {
    display: none;
  }
}

/* User profile polish: reduce duplicate dashboard density and surface the activity feed sooner. */
.cc-community-root.cc-community-shell[data-cc-route="user"],
.cc-community-root.cc-community-shell[data-cc-route="me"] {
  --cc-community-profile-line: color-mix(in srgb, var(--cc-community-border) 74%, transparent);
  --cc-community-profile-card-bg: color-mix(in srgb, var(--cc-community-card-bg-strong) 68%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page,
.cc-community-root.cc-community-shell[data-cc-route="me"] {
  gap: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero {
  border-color: var(--cc-community-profile-line);
  background: var(--cc-community-profile-card-bg);
  box-shadow: 0 1px 2px rgba(31, 31, 35, 0.025);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-cover,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-cover {
  height: 92px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 12%, transparent), transparent 54%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 42%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main {
  gap: 9px;
  margin-top: -44px;
  padding: 0 18px 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-main .cc-community-avatar.is-lg,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-main .cc-community-avatar.is-lg {
  width: 78px;
  height: 78px;
  border-width: 4px;
  border-radius: 23px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title h2,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title h2 {
  font-size: 20px;
  line-height: 1.2;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-copy,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-copy {
  gap: 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-copy .cc-community-summary,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-copy .cc-community-summary {
  max-width: 560px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.58;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta span,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta a,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta span,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta a {
  min-height: 24px;
  background: color-mix(in srgb, var(--cc-community-muted) 7%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-me-level,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-level {
  width: min(340px, 100%);
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-progress,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-progress {
  height: 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-actions .cc-community-button,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-actions .cc-community-button {
  min-height: 34px;
  border-radius: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip .cc-community-panel {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2px;
  min-height: 58px;
  padding: 9px 8px;
  border-color: var(--cc-community-profile-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 50%, transparent);
  text-align: center;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip i {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip strong {
  font-size: 17px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip span {
  font-size: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-layout {
  margin-top: 12px;
  gap: 20px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs {
  min-height: 42px;
  padding: 4px;
  border-color: var(--cc-community-profile-line);
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 56%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs .cc-community-tab,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs .cc-community-tab {
  min-height: 32px;
  padding: 0 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-overview,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview {
  gap: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-level-card,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-latest-card,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-card,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-card {
  min-height: 106px;
  padding: 14px;
  border-color: var(--cc-community-profile-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 50%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-level-head > span,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-head > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head {
  padding: 16px;
  border-color: var(--cc-community-profile-line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 3%, transparent), transparent 70%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 58%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-forum-sidebar > .cc-community-panel {
  border-color: var(--cc-community-profile-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 54%, transparent);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-card {
  display: none;
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"],
  .cc-community-root.cc-community-shell[data-cc-route="me"] {
    width: min(100% - 16px, 440px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page,
  .cc-community-root.cc-community-shell[data-cc-route="me"] {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-cover,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-cover {
    height: 68px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main {
    gap: 6px;
    margin-top: -34px;
    padding: 0 10px 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-main .cc-community-avatar.is-lg,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 62px;
    height: 62px;
    border-radius: 19px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title h2,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title h2 {
    font-size: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-copy .cc-community-summary,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-copy .cc-community-summary {
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta a {
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta span:nth-child(2),
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta span:nth-child(2) {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-me-level,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-level {
    width: 100%;
    max-width: 290px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-me-level > span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-level > span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-actions,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-actions {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-actions .cc-community-button,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-actions .cc-community-button {
    width: 100%;
    min-height: 32px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    grid-template-columns: repeat(4, minmax(76px, 1fr));
    grid-auto-columns: minmax(76px, 1fr);
    gap: 6px;
    margin-right: -8px;
    margin-left: -8px;
    padding: 0 8px 2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip .cc-community-panel {
    min-height: 46px;
    padding: 7px 6px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip strong {
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip span {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-layout {
    margin-top: 8px;
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs {
    min-height: 40px;
    margin-right: -8px;
    margin-left: -8px;
    padding: 4px 8px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs .cc-community-tab,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs .cc-community-tab {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-overview-wrap {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-level-card {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-latest-card,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-card {
    min-height: 0;
    padding: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid button {
    min-height: 54px;
    padding: 7px 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-quick-grid i {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head {
    padding: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-summary,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-feed-head-meta,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head .cc-community-feed-head-meta {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-forum-sidebar {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-forum-sidebar > .cc-community-panel {
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-forum-sidebar > .cc-community-panel:nth-of-type(n + 5) {
    display: none;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-meta a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-meta a {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Category page polish: keep the mobile board feed close to a lightweight forum view. */
.cc-community-root.cc-community-shell[data-cc-route="category"] {
  --cc-community-category-line: color-mix(in srgb, var(--cc-community-border) 74%, transparent);
  --cc-community-category-card-bg: color-mix(in srgb, var(--cc-community-card-bg-strong) 64%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-page {
  gap: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-hero,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip .cc-community-panel,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-rail,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-tabs,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-forum-sidebar > .cc-community-panel {
  border-color: var(--cc-community-category-line);
  background: var(--cc-community-category-card-bg);
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 60%),
    var(--cc-community-category-card-bg);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-icon .cc-community-section-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy {
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy .cc-community-summary {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.6;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats {
  grid-template-columns: repeat(3, minmax(0, 96px));
  gap: 7px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat {
  min-height: 48px;
  padding: 7px 9px;
  border-color: var(--cc-community-category-line);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 44%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat strong {
  font-size: 18px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats .cc-community-stat span {
  margin-top: 3px;
  font-size: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions {
  min-width: 108px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions .cc-community-button {
  min-height: 34px;
  border-radius: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip {
  gap: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip .cc-community-panel {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2px;
  min-height: 56px;
  padding: 8px;
  text-align: center;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip i {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-rail {
  gap: 7px;
  padding: 6px;
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 54%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-pill {
  min-height: 33px;
  padding: 0 10px 0 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-layout {
  margin-top: 12px;
  gap: 20px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-tabs-wrap .cc-community-board-tabs {
  min-height: 40px;
  padding: 4px;
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 54%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-tabs-wrap .cc-community-tab {
  min-height: 30px;
  border-radius: 999px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head {
  padding: 15px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 3%, transparent), transparent 70%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 56%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head h3 {
  font-size: 18px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-list.is-galgamex-flow {
  gap: 9px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card {
  border-radius: 13px;
}

.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-card-body {
  padding: 12px 13px;
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="category"] {
    width: min(100% - 16px, 440px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-page {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-hero {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px 9px;
    padding: 10px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-icon .cc-community-section-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy .cc-community-eyebrow {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-copy .cc-community-summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-actions .cc-community-button {
    min-height: 31px;
    padding: 0 8px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-stats-strip {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-rail {
    margin-right: -8px;
    margin-left: -8px;
    padding: 4px 8px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-pill {
    min-height: 30px;
    padding: 0 9px 0 7px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-board-pill .cc-community-section-chip-icon {
    width: 13px;
    height: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-layout {
    margin-top: 8px;
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-tabs-wrap .cc-community-board-tabs {
    min-height: 38px;
    margin-right: -8px;
    margin-left: -8px;
    padding: 4px 8px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-tabs-wrap .cc-community-tab {
    min-height: 29px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head {
    padding: 11px 12px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head h3 {
    margin: 0;
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-category-feed-head .cc-community-feed-head-meta span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-list {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-feed-list.is-galgamex-flow .cc-community-topic-card .cc-community-card-body {
    padding: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-forum-sidebar {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-forum-sidebar > .cc-community-panel {
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-forum-sidebar > .cc-community-panel:nth-of-type(n + 5) {
    display: none;
  }
}

/* Public user page shell polish: match Galgamex's tab-first profile rhythm. */
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs {
  order: -1;
  min-height: 44px;
  margin-bottom: 2px;
  padding: 4px 14px;
  border-color: var(--cc-community-profile-line);
  border-radius: var(--cc-community-radius-md);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 62%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab {
  min-height: 34px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab::after {
  bottom: -5px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab.is-active,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab:hover {
  border-color: transparent;
  background: transparent;
  transform: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero {
  min-height: 278px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-cover {
  height: 96px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main {
  gap: 8px;
  margin-top: -46px;
  padding-bottom: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-copy {
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta {
  margin-top: 2px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta a {
  display: none;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
  gap: 7px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-layout {
  margin-top: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head {
  padding: 14px 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-overview-wrap.is-after-feed {
  margin-top: 2px;
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-overview-wrap.is-after-feed .cc-community-user-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-forum-sidebar {
  gap: 12px;
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs {
    min-height: 38px;
    margin-right: -8px;
    margin-left: -8px;
    padding: 4px 8px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero {
    min-height: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-cover {
    height: 58px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main {
    gap: 5px;
    margin-top: -30px;
    padding: 0 10px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta span:nth-child(2) {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-me-level {
    max-width: 250px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    grid-template-columns: repeat(7, minmax(68px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(68px, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip .cc-community-panel {
    min-height: 44px;
    padding: 6px 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head {
    padding: 10px 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-eyebrow {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head h3 {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-overview-wrap.is-after-feed {
    display: none;
  }
}

/* Home desktop rhythm polish: keep the community entry rich, but let the feed arrive earlier. */
@media (min-width: 761px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-main {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero {
    min-height: 118px;
    padding: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-avatar.is-lg {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero h3 {
    font-size: clamp(22px, 2vw, 27px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero p {
    max-width: 470px;
    line-height: 1.55;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats {
    min-width: 238px;
    max-width: 278px;
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats span {
    padding: 7px 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-button {
    min-height: 34px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-deck {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stats {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat {
    min-height: 58px;
    padding: 9px 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat i {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat strong {
    font-size: 19px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery {
    padding: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-panel-title {
    margin-bottom: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-eyebrow {
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title h3,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title h3,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-panel-title h3 {
    font-size: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 3px 8px;
    min-height: 86px;
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card .cc-community-section-icon {
    grid-row: 1 / 4;
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card strong {
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card em {
    font-size: 11px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card b {
    justify-self: start;
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 11px 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title {
    margin-bottom: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title > div {
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title h3 {
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-hot-tags {
    justify-content: flex-end;
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-hot-tags .cc-community-tag {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-topline {
    min-height: 42px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tabs {
    min-height: 42px;
    gap: 22px;
    padding: 0 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tab {
    min-height: 42px;
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort {
    align-items: center;
    padding: 8px 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-search-inline {
    gap: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-search-inline span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-checks {
    min-height: 34px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-grid {
    gap: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-column {
    gap: 7px;
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-head strong {
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-head span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-list {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-item {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    min-height: 44px;
    padding: 7px;
    border: 1px solid color-mix(in srgb, var(--cc-community-border) 82%, transparent);
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-rank {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-body {
    gap: 2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-body a {
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-meta {
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-feed-list {
    gap: 12px;
  }
}

/* Home mobile rhythm polish: surface the discussion feed sooner without removing modules. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-main {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px 9px;
    min-height: 0;
    padding: 10px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-main {
    display: contents;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-avatar.is-lg {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-welcome-stats {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero h3 {
    font-size: 17px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-welcome-card.is-hero .cc-community-button {
    min-height: 30px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-deck {
    gap: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2px;
    min-height: 52px;
    padding: 7px 4px;
    text-align: center;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat i {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat strong {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat span {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-controls {
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards {
    padding: 11px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title {
    margin-bottom: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-eyebrow {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title h3,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags .cc-community-panel-title h3,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-panel-title h3 {
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    align-items: center;
    gap: 2px 7px;
    min-height: 72px;
    padding: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card .cc-community-section-icon {
    grid-row: 1 / 4;
    width: 26px;
    height: 26px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card strong {
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card em {
    -webkit-line-clamp: 1;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card b {
    justify-self: start;
    min-height: 21px;
    padding: 0 7px;
    font-size: 10px;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags {
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-hot-tags {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-hot-tags .cc-community-tag {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-controls {
    overflow: hidden;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tabs {
    min-height: 36px;
    padding: 0 10px;
    gap: 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tab {
    min-height: 36px;
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px 10px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-checks {
    grid-column: 1 / 2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort .cc-community-icon-button {
    grid-column: 2 / 3;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery {
    gap: 8px;
    padding: 11px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-panel-title {
    margin-bottom: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery .cc-community-badge {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-column {
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-column:nth-child(2) {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-head span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-list {
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-item {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    min-height: 42px;
    padding: 7px 6px;
    border: 1px solid var(--cc-community-border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 50%, transparent);
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-rank {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-body {
    gap: 2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-body a {
    font-size: 12px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-discovery-meta {
    gap: 4px 7px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tab:last-child {
    padding-right: 12px;
  }
}

/* Mobile Galgamex fidelity pass: keep horizontal community rails local and compact. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell .cc-community-board-rail,
  .cc-community-root.cc-community-shell .cc-community-tabs,
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-readiness,
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-compose-picks,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    overscroll-behavior-x: contain;
    scroll-padding-inline: 8px;
  }

  .cc-community-root.cc-community-shell .cc-community-board-rail,
  .cc-community-root.cc-community-shell .cc-community-tabs {
    max-width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent);
  }
}

/* Personal center flow pass: surface tabs/content before secondary dashboard cards. */
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs {
    position: sticky;
    top: 0;
    z-index: 6;
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head {
    margin-top: -2px;
    padding: 10px 12px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head h3 {
    margin: 0;
    font-size: 15px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-user-posts {
    gap: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed {
    margin-top: 2px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-me-overview {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-user-level-card,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-user-latest-card {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-me-quick-card {
    min-height: 0;
    padding: 10px;
    border-radius: var(--cc-community-radius-md);
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 42%, transparent);
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-me-quick-card .cc-community-eyebrow {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-me-quick-card h3 {
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-overview-wrap.is-after-feed .cc-community-me-quick-grid button {
    min-height: 46px;
  }
}

/* Home mobile feed-first pass: keep community signals, but make the topic stream arrive sooner. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-tags {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards {
    padding: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-boards .cc-community-panel-title {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 0 -7px;
    padding: 0 7px 1px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-grid::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card {
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-rows: auto auto;
    flex: 0 0 142px;
    min-height: 54px;
    padding: 7px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card .cc-community-section-icon {
    grid-row: 1 / 3;
    width: 22px;
    height: 22px;
    border-radius: 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card strong {
    font-size: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card b {
    min-height: 17px;
    padding: 0;
    background: transparent;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-controls {
    border-radius: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tabs {
    min-height: 32px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-tab {
    min-height: 32px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort {
    padding: 6px 8px 8px;
  }
}

/* Home appbar pass: make the entry feel like a community feed instead of a standalone portal. */
@media (min-width: 761px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero {
    min-height: 82px;
    margin-bottom: 12px;
    padding: 12px 16px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero h1 {
    font-size: 24px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-subtitle {
    margin-top: 4px;
    font-size: 13px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-nav a {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-eyebrow,
  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-subtitle {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-nav a {
    min-height: 30px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 12px;
  }
}

/* Mobile profile shell density pass: make user pages feel closer to Galgamex's app-like profile flow. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"],
  .cc-community-root.cc-community-shell[data-cc-route="me"] {
    width: min(100% - 12px, 440px);
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page {
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero {
    border-radius: var(--cc-community-radius-lg);
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-cover,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-cover {
    height: 54px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main {
    gap: 5px;
    margin-top: -30px;
    padding: 0 10px 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-main .cc-community-avatar.is-lg,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-main .cc-community-avatar.is-lg {
    width: 58px;
    height: 58px;
    border-width: 3px;
    border-radius: 18px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title {
    gap: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title h2,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title h2 {
    font-size: 15px;
    line-height: 1.15;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-title .cc-community-badge,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-title .cc-community-badge {
    min-height: 18px;
    padding: 0 6px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-summary,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-summary {
    max-width: 30rem;
    font-size: 11px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta span,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta a {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta span:nth-child(2),
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta span:nth-child(2),
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-profile-meta a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-meta a {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-me-level,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-me-level {
    width: min(100%, 260px);
    gap: 3px;
    margin-top: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-user-progress,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-user-progress {
    height: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-stats {
    gap: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-stats .cc-community-stat {
    min-height: 41px;
    padding: 5px 4px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-stats .cc-community-stat strong {
    font-size: 15px;
    line-height: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-stats .cc-community-stat span {
    margin-top: 2px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-actions {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-hero .cc-community-profile-actions .cc-community-button {
    min-height: 28px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-public-user-actions {
    max-width: none;
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-public-user-hero .cc-community-public-user-actions .cc-community-button {
    min-height: 29px;
    border-radius: 9px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(68px, 1fr));
    grid-auto-columns: minmax(68px, 1fr);
    gap: 5px;
    margin-right: 0;
    margin-left: 0;
    padding: 0 0 1px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip .cc-community-panel {
    min-height: 40px;
    padding: 5px 4px;
    border-radius: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip strong {
    font-size: 13px;
    line-height: 1;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip span {
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs {
    min-height: 36px;
    margin-right: -6px;
    margin-left: -6px;
    padding: 3px 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-profile-tabs .cc-community-tab,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-profile-tabs .cc-community-tab {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head {
    padding: 9px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head h3,
  .cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-me-content-head h3 {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-stats-strip {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    grid-auto-columns: minmax(64px, 1fr);
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs {
    min-height: 34px;
    margin-right: -6px;
    margin-left: -6px;
    padding: 3px 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab {
    min-height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-page > .cc-community-profile-tabs .cc-community-tab::after {
    bottom: -4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head h3 {
    margin: 0;
    font-size: 14px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-feed-head-meta {
    flex: 0 0 auto;
    gap: 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-feed-head .cc-community-feed-head-meta span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-user-layout {
    margin-top: 6px;
  }
}

/* Detail comment stream refinement: make replies read like a lightweight Galgamex discussion flow. */
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments {
  --cc-community-comment-line: color-mix(in srgb, var(--cc-community-border) 72%, transparent);
  --cc-community-comment-soft: color-mix(in srgb, var(--cc-community-card-bg-strong) 44%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head {
  align-items: center;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head h2 {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools {
  gap: 6px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools > span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-sort {
  min-height: 30px;
  border-radius: 999px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-sort button {
  min-height: 24px;
  padding: 0 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools .cc-community-button {
  min-height: 30px;
  border-radius: 999px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief {
  grid-template-columns: repeat(3, minmax(0, 112px)) minmax(0, 1fr);
  padding: 7px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 3%, transparent), transparent 72%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 34%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief > div {
  min-height: 34px;
  padding: 0 8px;
  background: color-mix(in srgb, var(--cc-community-card-bg) 58%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief strong {
  font-size: 16px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief span,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief em {
  font-size: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form {
  gap: 8px;
  padding: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-head {
  min-height: 28px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-toolbar {
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-toolbar button {
  min-width: 30px;
  height: 29px;
  padding: 0 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form .cc-community-textarea {
  min-height: 86px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-preview {
  min-height: 32px;
  padding: 8px 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-list {
  gap: 8px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment {
  border-color: var(--cc-community-comment-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cc-community-card-bg-strong) 45%, transparent), color-mix(in srgb, var(--cc-community-card-bg) 42%, transparent)),
    transparent;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 56px;
  height: 1px;
  background: color-mix(in srgb, var(--cc-community-border) 55%, transparent);
  opacity: 0;
  pointer-events: none;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment.is-reply::after {
  left: 48px;
  opacity: 0.7;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-accent {
  opacity: 0.42;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-main {
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-avatar-link > .cc-community-avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment.is-reply .cc-community-comment-avatar-link > .cc-community-avatar {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
  min-height: 34px;
  padding-bottom: 4px;
  border-bottom-color: color-mix(in srgb, var(--cc-community-border) 54%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-user .cc-community-badge {
  min-height: 18px;
  padding: 0 6px;
  font-size: 10px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-level {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc-community-primary) 6%, transparent);
  color: var(--cc-community-primary);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-meta {
  gap: 5px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 2px;
  color: var(--cc-community-muted);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-rail span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid var(--cc-community-comment-line);
  border-radius: 999px;
  background: var(--cc-community-comment-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-rail .cc-community-svg-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-content {
  padding: 7px 0 0;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top-color: color-mix(in srgb, var(--cc-community-border) 48%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-action-main,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-action-extra {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-action-extra {
  margin-left: auto;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions .cc-community-text-button {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid transparent;
  background: transparent;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions .cc-community-text-button:hover {
  border-color: color-mix(in srgb, var(--cc-community-primary) 18%, var(--cc-community-border));
  background: color-mix(in srgb, var(--cc-community-primary) 7%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-replies {
  gap: 7px;
  margin-top: 7px;
  padding-left: 12px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-reply-to {
  min-height: 21px;
  padding: 0 7px;
  font-size: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-parent {
  position: relative;
  margin: 8px 0 3px;
  padding: 9px 10px 9px 12px;
  border-left-width: 3px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cc-community-primary) 6%, transparent), transparent 70%),
    color-mix(in srgb, var(--cc-community-card-bg-strong) 52%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-parent span {
  color: var(--cc-community-primary);
  font-size: 11px;
}

.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-parent p {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments {
    gap: 9px;
    padding: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head {
    gap: 7px;
    padding-bottom: 7px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-summary {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools > span {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief > div {
    min-height: 34px;
    padding: 0 4px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-brief em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form {
    padding: 9px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form.is-collapsed {
    padding: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-compose-trigger {
    grid-template-columns: minmax(0, 1fr);
    min-height: 42px;
    padding: 0 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-compose-trigger em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-collapse {
    margin-left: auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-head em {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-toolbar::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form .cc-community-textarea {
    min-height: 78px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-preview {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-actions [data-cc-reply-hint] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-form-actions b {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-main {
    gap: 8px;
    padding: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-avatar-link > .cc-community-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
    display: flex;
    gap: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-more {
    margin-left: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-floor {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-menu summary {
    width: 28px;
    height: 28px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-rail span:nth-child(3) {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-parent {
    margin-top: 5px;
    padding: 7px 8px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-parent p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-content {
    font-size: 14px;
    line-height: 1.68;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions {
    gap: 5px;
    margin-top: 5px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-actions .cc-community-text-button {
    min-height: 25px;
    padding: 0 7px;
    font-size: 11px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-replies {
    gap: 6px;
    margin-top: 6px;
    padding-left: 9px;
  }

  .cc-community-lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 10px;
    padding: 14px;
  }

  .cc-community-lightbox figure {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cc-community-lightbox img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-lightbox-nav {
    grid-row: 2;
    width: 42px;
    height: 42px;
  }

  .cc-community-lightbox-nav.is-prev {
    justify-self: end;
  }

  .cc-community-lightbox-nav.is-next {
    justify-self: start;
  }

  .cc-community-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comments .cc-community-section-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-sort {
    flex: 0 0 auto;
    width: auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-tools .cc-community-button {
    flex: 0 0 auto;
    width: auto;
    min-height: 29px;
    padding: 0 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-sort button {
    flex: 0 0 auto;
    min-width: 70px;
    padding: 0 7px;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-thumb-drag {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-thumb.is-drop-target {
    transform: translateY(-1px);
  }
}

/* Galgamex fidelity pass: keep the plugin scoped, lower color weight, and make
   discussion controls read closer to NextUI/HeroUI cards. */
.cc-community-root.cc-community-shell {
  --cc-community-card-bg: rgba(255, 255, 255, 0.72);
  --cc-community-card-bg-hover: rgba(255, 255, 255, 0.94);
  --cc-community-card-bg-strong: rgba(255, 255, 255, 0.9);
  --cc-community-border: rgba(17, 24, 39, 0.1);
  --cc-community-border-hover: color-mix(in srgb, var(--cc-community-primary) 24%, rgba(17, 24, 39, 0.14));
  --cc-community-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.035);
  --cc-community-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.055);
}

.cc-community-panel,
.cc-community-card,
.cc-community-detail-topic-card,
.cc-community-comment,
.cc-community-comment-form,
.cc-community-comment-login,
.cc-community-welcome-card,
.cc-community-toolbar,
.cc-community-board-rail {
  border-color: var(--cc-community-border);
  background: var(--cc-community-card-bg);
  box-shadow: none;
}

.cc-community-panel:hover,
.cc-community-card:hover,
.cc-community-comment:hover {
  box-shadow: none;
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="create"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="me"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="user"] .cc-community-hero,
.cc-community-root.cc-community-shell[data-cc-route="category"] .cc-community-hero {
  background: var(--cc-community-card-bg);
  box-shadow: none;
}

.cc-community-welcome-card,
.cc-community-welcome-card.is-hero,
.cc-community-discovery,
.cc-community-category-hero,
.cc-community-category-feed-head,
.cc-community-detail-topic-head,
.cc-community-detail-topic-card .cc-community-detail-footer,
.cc-community-detail-author-card,
.cc-community-detail-discussion-card,
.cc-community-comment-brief,
.cc-community-comment-rhythm,
.cc-community-comment-form,
.cc-community-comment-login,
.cc-community-comment-compose-trigger,
.cc-community-comment-reply-target,
.cc-community-comment-parent {
  background: var(--cc-community-card-bg);
}

.cc-community-welcome-card.is-side,
.cc-community-detail-author-card,
.cc-community-detail-discussion-card,
.cc-community-detail-status-card,
.cc-community-detail-menu-panel,
.cc-community-detail-related-card,
.cc-community-detail-author-activity-card,
.cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-aside > .cc-community-panel {
  border-radius: var(--cc-community-radius-md);
}

.cc-community-detail-topic-card {
  border-radius: var(--cc-community-radius-md);
}

.cc-community-detail-topic-head {
  gap: 15px;
  border-bottom-color: color-mix(in srgb, var(--cc-community-border) 86%, transparent);
}

.cc-community-detail-topic-card h1 {
  font-weight: 850;
  letter-spacing: 0;
}

.cc-community-detail-title-meta,
.cc-community-detail-topic-context span,
.cc-community-comment-meta > span,
.cc-community-comment-head em,
.cc-community-comment-brief span,
.cc-community-comment-brief em,
.cc-community-detail-discussion-metrics em,
.cc-community-dropdown-item em {
  color: var(--cc-community-muted);
}

.cc-community-detail-topic-context span:first-child,
.cc-community-tag,
.cc-community-badge,
.cc-community-section-chip,
.cc-community-detail-discussion-card .cc-community-panel-title span,
.cc-community-comment-sort button.is-active,
.cc-community-comment-sort button:hover,
.cc-community-comment-level {
  background: color-mix(in srgb, var(--cc-community-primary) 10%, transparent);
  color: var(--cc-community-primary);
}

.cc-community-badge.is-muted,
.cc-community-comment-floor,
.cc-community-topic-activity {
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: var(--cc-community-muted);
}

.cc-community-detail-action-strip .cc-community-metric,
.cc-community-detail-action,
.cc-community-detail-discussion-metrics span,
.cc-community-author-mini-stats span,
.cc-community-status-list span,
.cc-community-comment-brief > div,
.cc-community-comment-tools > span,
.cc-community-comment-sort,
.cc-community-comment-toolbar button,
.cc-community-comment-collapse {
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
  border-color: var(--cc-community-border);
}

.cc-community-detail-action:hover,
.cc-community-detail-discussion-link:hover,
.cc-community-dropdown-item:hover,
.cc-community-comment-toolbar button:hover,
.cc-community-comment-collapse:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  color: var(--cc-community-primary);
}

.cc-community-detail-discussion-metrics i,
.cc-community-category-stats-strip i,
.cc-community-home-stat i {
  background: color-mix(in srgb, var(--cc-community-primary) 9%, transparent);
}

.cc-community-detail-discussion-heat {
  height: 4px;
  background: color-mix(in srgb, var(--cc-community-muted) 13%, transparent);
}

.cc-community-detail-discussion-heat span {
  background: var(--cc-community-primary);
  opacity: 0.72;
}

.cc-community-detail-discussion-link {
  border-color: var(--cc-community-border);
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 82%, transparent);
}

.cc-community-comment-brief {
  border-color: var(--cc-community-border);
}

.cc-community-comment-brief strong,
.cc-community-comment-rhythm strong {
  color: var(--cc-community-text);
}

.cc-community-comment {
  border-radius: var(--cc-community-radius-md);
  background: var(--cc-community-card-bg);
}

.cc-community-comment:hover {
  border-color: var(--cc-community-border-hover);
  background: var(--cc-community-card-bg-hover);
  transform: translateY(-1px);
}

.cc-community-comment.is-reply {
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 70%, transparent);
}

.cc-community-comment-accent {
  background: color-mix(in srgb, var(--cc-community-primary) 16%, transparent);
}

.cc-community-comment-head,
.cc-community-comment-actions {
  border-color: color-mix(in srgb, var(--cc-community-border) 76%, transparent);
}

.cc-community-comment-actions {
  padding-top: 9px;
}

.cc-community-comment-actions .cc-community-text-button {
  color: var(--cc-community-muted);
}

.cc-community-comment-actions .cc-community-text-button:hover,
.cc-community-comment-like.is-active,
.cc-community-comment-reply-toggle {
  color: var(--cc-community-primary);
}

.cc-community-comment-level {
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.cc-community-comment-parent {
  border-color: var(--cc-community-border);
  border-left-color: color-mix(in srgb, var(--cc-community-primary) 34%, var(--cc-community-border));
}

.cc-community-comment-menu summary {
  background: transparent;
}

.cc-community-comment-menu summary:hover,
.cc-community-comment-menu[open] summary {
  background: color-mix(in srgb, var(--cc-community-muted) 9%, transparent);
  color: var(--cc-community-text);
}

.cc-community-comment-menu-list {
  right: 0;
  min-width: 150px;
  padding: 6px;
  border-color: var(--cc-community-border);
  border-radius: var(--cc-community-radius-md);
  background: var(--cc-community-card-bg-hover);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cc-community-comment-menu-list button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 10px;
  text-align: left;
}

.cc-community-comment-menu-list button i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 9%, transparent);
  font-style: normal;
}

.cc-community-comment-menu-list button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-community-comment-menu-list button:hover {
  background: color-mix(in srgb, var(--cc-community-primary) 8%, transparent);
}

.cc-community-comment-menu-list button.is-danger:hover {
  background: color-mix(in srgb, #ef4444 8%, transparent);
  color: #dc2626;
}

.cc-community-dropdown summary:hover,
.cc-community-dropdown[open] summary {
  background: color-mix(in srgb, var(--cc-community-muted) 6%, transparent);
}

.cc-community-dropdown-menu {
  background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
}

.cc-community-dropdown-item {
  background: transparent;
}

.cc-community-dropdown-item i {
  background: color-mix(in srgb, currentColor 9%, transparent);
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-stat,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-topic-card {
  background: var(--cc-community-card-bg);
}

.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-home-board-card:hover,
.cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-topic-card:hover {
  background: var(--cc-community-card-bg-hover);
}

@media (prefers-color-scheme: dark) {
  .cc-community-root.cc-community-shell {
    --cc-community-card-bg: rgba(28, 30, 36, 0.72);
    --cc-community-card-bg-hover: rgba(35, 38, 45, 0.94);
    --cc-community-card-bg-strong: rgba(35, 38, 45, 0.9);
    --cc-community-border: rgba(255, 255, 255, 0.12);
    --cc-community-shadow-md: 0 14px 30px rgba(0, 0, 0, 0.22);
  }

  .cc-community-comment-menu-list {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card {
    border-radius: var(--cc-community-radius-md);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment {
    border-radius: 12px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-menu-list {
    right: -4px;
    max-width: min(176px, calc(100vw - 36px));
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-more {
    flex: 0 0 auto;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-menu-list button {
    min-height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-head {
    align-items: flex-start;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-user {
    max-width: 100%;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-comment-name {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Mobile Galgamex app-shell pass: convert the top button row into a compact
   local rail so community pages feel less like a desktop toolbar squeezed down. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell {
    --cc-community-mobile-rail: 46px;
    --cc-community-mobile-gap: 10px;
    position: relative;
    width: min(calc(100% - 8px), 440px);
    padding: 8px 8px 44px calc(var(--cc-community-mobile-rail) + var(--cc-community-mobile-gap));
  }

  .cc-community-root.cc-community-shell > .cc-community-hero {
    display: block;
    min-height: 46px;
    margin: 0 0 10px;
    padding: 7px 0 8px;
    border: 0;
    border-bottom: 1px solid var(--cc-community-border);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero > div {
    min-width: 0;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-eyebrow,
  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-subtitle {
    display: none;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero h1 {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav {
    position: fixed;
    left: max(8px, calc((100vw - min(100vw, 440px)) / 2 + 8px));
    top: 76px;
    z-index: 90;
    display: grid;
    width: var(--cc-community-mobile-rail);
    max-height: calc(100dvh - 108px);
    gap: 8px;
    padding: 7px 5px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--cc-community-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
    box-shadow: var(--cc-community-shadow-sm);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="category"] > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="user"] > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="me"] > .cc-community-hero .cc-community-nav a,
  .cc-community-root.cc-community-shell[data-cc-route="create"] > .cc-community-hero .cc-community-nav a {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-color: transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--cc-community-muted);
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a i {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a .cc-community-svg-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a:hover,
  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a.is-active {
    border-color: color-mix(in srgb, var(--cc-community-primary) 26%, transparent);
    background: color-mix(in srgb, var(--cc-community-primary) 14%, transparent);
    color: var(--cc-community-primary);
    transform: none;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a.is-active {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc-community-primary) 12%, transparent);
  }

  .cc-community-root.cc-community-shell > .cc-community-view {
    min-width: 0;
  }

  .cc-community-modal-backdrop,
  .cc-community-lightbox {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .cc-community-root.cc-community-shell[data-cc-route="home"],
  .cc-community-root.cc-community-shell[data-cc-route="category"],
  .cc-community-root.cc-community-shell[data-cc-route="detail"],
  .cc-community-root.cc-community-shell[data-cc-route="user"],
  .cc-community-root.cc-community-shell[data-cc-route="me"],
  .cc-community-root.cc-community-shell[data-cc-route="create"],
  .cc-community-root.cc-community-shell[data-cc-route="admin"] {
    width: min(calc(100% - 8px), 440px);
    padding: 8px 8px 44px calc(var(--cc-community-mobile-rail) + var(--cc-community-mobile-gap));
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="category"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="user"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="me"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="create"] > .cc-community-hero,
  .cc-community-root.cc-community-shell[data-cc-route="admin"] > .cc-community-hero {
    display: block;
    grid-template-columns: none;
    gap: 0;
    min-height: 46px;
    margin: 0 0 10px;
    padding: 7px 0 8px;
    border: 0;
    border-bottom: 1px solid var(--cc-community-border);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="category"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="user"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="me"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="create"] > .cc-community-hero .cc-community-nav,
  .cc-community-root.cc-community-shell[data-cc-route="admin"] > .cc-community-hero .cc-community-nav {
    position: fixed;
    left: max(8px, calc((100vw - min(100vw, 440px)) / 2 + 8px));
    top: 76px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr;
    width: var(--cc-community-mobile-rail);
    max-height: calc(100dvh - 108px);
    gap: 8px;
    padding: 7px 5px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--cc-community-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--cc-community-card-bg-strong) 88%, transparent);
    box-shadow: var(--cc-community-shadow-sm);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
  }
}

@media (max-width: 360px) {
  .cc-community-root.cc-community-shell {
    --cc-community-mobile-rail: 42px;
    --cc-community-mobile-gap: 8px;
    padding-left: calc(var(--cc-community-mobile-rail) + var(--cc-community-mobile-gap));
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav {
    left: 6px;
    width: var(--cc-community-mobile-rail);
    padding-inline: 4px;
  }

  .cc-community-root.cc-community-shell > .cc-community-hero .cc-community-nav a {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }
}

/* Mobile rail narrow-content pass: keep wide topic modules inside the rail-adjusted
   content column instead of letting them create page-level horizontal overflow. */
@media (max-width: 760px) {
  .cc-community-root.cc-community-shell .cc-community-view,
  .cc-community-root.cc-community-shell .cc-community-forum-layout,
  .cc-community-root.cc-community-shell .cc-community-forum-main,
  .cc-community-root.cc-community-shell .cc-community-detail-layout,
  .cc-community-root.cc-community-shell .cc-community-detail-main,
  .cc-community-root.cc-community-shell .cc-community-category-page,
  .cc-community-root.cc-community-shell .cc-community-category-layout,
  .cc-community-root.cc-community-shell .cc-community-category-main,
  .cc-community-root.cc-community-shell .cc-community-feed-list,
  .cc-community-root.cc-community-shell .cc-community-panel,
  .cc-community-root.cc-community-shell .cc-community-card,
  .cc-community-root.cc-community-shell .cc-community-topic-card,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-card,
  .cc-community-root.cc-community-shell .cc-community-comments {
    min-width: 0;
    max-width: 100%;
  }

  .cc-community-root.cc-community-shell .cc-community-forum-controls,
  .cc-community-root.cc-community-shell .cc-community-welcome-card,
  .cc-community-root.cc-community-shell .cc-community-category-hero,
  .cc-community-root.cc-community-shell .cc-community-category-feed-head,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-card,
  .cc-community-root.cc-community-shell .cc-community-comments {
    overflow: hidden;
  }

  .cc-community-root.cc-community-shell[data-cc-route="home"] .cc-community-forum-sort,
  .cc-community-root.cc-community-shell .cc-community-forum-sort {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .cc-community-root.cc-community-shell .cc-community-forum-sort .cc-community-select,
  .cc-community-root.cc-community-shell .cc-community-forum-sort .cc-community-input {
    min-width: 0;
  }

  .cc-community-root.cc-community-shell .cc-community-forum-checks,
  .cc-community-root.cc-community-shell .cc-community-tags,
  .cc-community-root.cc-community-shell .cc-community-card-top,
  .cc-community-root.cc-community-shell .cc-community-topic-meta-row,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-context,
  .cc-community-root.cc-community-shell .cc-community-detail-title-meta,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-tags,
  .cc-community-root.cc-community-shell .cc-community-comment-tools,
  .cc-community-root.cc-community-shell .cc-community-comment-actions {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell .cc-community-forum-checks::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-tags::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-card-top::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-topic-meta-row::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-context::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-detail-title-meta::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-tags::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-comment-tools::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-comment-actions::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell .cc-community-topic-title-row h2,
  .cc-community-root.cc-community-shell .cc-community-topic-title-row h2 a,
  .cc-community-root.cc-community-shell .cc-community-detail-topic-card h1,
  .cc-community-root.cc-community-shell .cc-community-discovery-body a,
  .cc-community-root.cc-community-shell .cc-community-hot-topic strong {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cc-community-root.cc-community-shell .cc-community-topic-footer,
  .cc-community-root.cc-community-shell .cc-community-feed-list.is-galgamex-flow .cc-community-topic-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: stretch;
  }

  .cc-community-root.cc-community-shell .cc-community-metrics,
  .cc-community-root.cc-community-shell .cc-community-topic-actions {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell .cc-community-metrics::-webkit-scrollbar,
  .cc-community-root.cc-community-shell .cc-community-topic-actions::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell .cc-community-preview-images,
  .cc-community-root.cc-community-shell .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .cc-community-root.cc-community-shell .cc-community-preview-images a,
  .cc-community-root.cc-community-shell .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images a,
  .cc-community-root.cc-community-shell .cc-community-feed-list.is-galgamex-flow .cc-community-preview-images.is-count-1 a {
    flex: 0 0 min(104px, 45vw);
    width: min(104px, 45vw);
    max-width: min(104px, 45vw);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] {
    width: min(calc(100% - 8px), 440px);
    padding: 8px 8px 44px calc(var(--cc-community-mobile-rail) + var(--cc-community-mobile-gap));
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-top,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-head {
    min-width: 0;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action-strip > span,
  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-action {
    min-height: 42px;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery::-webkit-scrollbar {
    display: none;
  }

  .cc-community-root.cc-community-shell[data-cc-route="detail"] .cc-community-detail-topic-card .cc-community-gallery button {
    flex: 0 0 min(148px, 58vw);
    width: min(148px, 58vw);
  }
}
