.ccg-community-auth-btn,
.ccg-community-btn {
  border: 1px solid rgba(102, 231, 255, 0.7);
  background: linear-gradient(135deg, rgba(0, 36, 88, 0.9), rgba(26, 6, 54, 0.9));
  color: #dffcff;
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.ccg-community-btn--ghost { background: transparent; }
.ccg-community-auth-btn { margin-left: 0.6rem; font-size: 0.85rem; }

.ccg-community-modal { position: fixed; inset: 0; z-index: 9998; }
.ccg-community-modal__backdrop { position: fixed; inset: 0; z-index: 9998; background: rgba(3, 8, 21, 0.78); backdrop-filter: blur(3px); }
.ccg-community-modal__panel {
  position: relative;
  z-index: 9999;
  width: min(92vw, 520px);
  margin: 8vh auto;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(96, 219, 255, 0.45);
  background: linear-gradient(180deg, rgba(4, 20, 52, 0.96), rgba(18, 11, 39, 0.96));
  color: #f2fdff;
  max-height: 84vh;
  overflow-y: auto;
}

.ccg-community-modal__close { position: absolute; top: 0.5rem; right: 0.65rem; border: 0; background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer; }
.ccg-community-form { display: grid; gap: 0.75rem; }
.ccg-community-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; }
.ccg-community-form input,
.ccg-community-form textarea {
  width: 100%;
  border: 1px solid rgba(106, 224, 255, 0.5);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(8, 20, 42, 0.85);
  color: #e8fbff;
}

.ccg-community-form textarea { resize: vertical; min-height: 120px; }
.ccg-community-link-btn { border: 0; background: transparent; color: #7de6ff; cursor: pointer; padding: 0.25rem 0; }
.ccg-community-auth__message { min-height: 1.2rem; margin-bottom: 0.55rem; font-size: 0.88rem; }
.ccg-community-auth__message[data-type="error"] { color: #ff8da0; }
.ccg-community-auth__message[data-type="success"] { color: #74ffce; }
.ccg-header { z-index: 1000; }

.ccg-community-card {
  border: 1px solid rgba(104, 226, 255, 0.35);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(175deg, rgba(8, 28, 62, 0.9), rgba(19, 9, 37, 0.9));
  box-shadow: 0 0 20px rgba(57, 205, 255, 0.09);
}

.ccg-community-inline-form { display: flex; align-items: end; gap: 0.6rem; flex-wrap: wrap; }
.ccg-community-inline-form input { width: 120px; }
.ccg-community-muted { color: #9eddec; font-size: 0.88rem; }
.ccg-community-layout { width: min(1080px, 92%); margin: 1.2rem auto; display: grid; gap: 1rem; }
.ccg-community-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ccg-community-layout--hub { position: relative; }

.ccg-community-meter { margin: 0.8rem 0 1rem; min-height: 94px; }
.ccg-community-meter__track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(132, 241, 255, 0.35);
}

.ccg-community-meter__fill {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  animation: ccgMeterFill 760ms ease forwards;
  background: linear-gradient(90deg, #58d7ff, #8a79ff 52%, #ff7cc8 100%);
  box-shadow: 0 0 16px rgba(92, 223, 255, 0.6);
}

.ccg-community-meter__segments {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.ccg-community-meter__segment {
  height: 8px;
  border-radius: 99px;
  background: rgba(175, 245, 255, 0.2);
  border: 1px solid rgba(132, 236, 255, 0.3);
}

.ccg-community-meter__segment.is-active {
  background: linear-gradient(90deg, rgba(125, 244, 255, 0.92), rgba(178, 123, 255, 0.9));
  box-shadow: 0 0 10px rgba(110, 243, 255, 0.52);
}

.ccg-community-meter__label { margin: 0.55rem 0 0; color: #d2f8ff; }

[data-mode="amiga"] .ccg-community-meter__fill {
  background: linear-gradient(90deg, #61ffbd, #45b2ff 50%, #8f9aff 100%);
  box-shadow: 0 0 16px rgba(97, 255, 190, 0.45);
}

[data-mode="amiga"] .ccg-community-meter__segment.is-active {
  background: linear-gradient(90deg, rgba(108, 255, 190, 0.9), rgba(101, 185, 255, 0.92));
}

@keyframes ccgMeterFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(calc(var(--ccg-meter-target) / 100)); }
}

.ccg-comment-list { display: grid; gap: 0.75rem; margin-top: 1rem; }
.ccg-comment-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(8, 14, 30, 0.9);
}

.ccg-comment-card__head { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.88rem; }
.ccg-comment-card__identity { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.ccg-comment-card__profile-link { color: #c8f7ff; text-decoration: none; }
.ccg-comment-card__profile-link:hover { text-decoration: underline; }
.ccg-comment-card__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ccg-comment-card__actions button {
  border: 1px solid rgba(117, 218, 255, 0.45);
  background: transparent;
  color: #d9f8ff;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
}

.ccg-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ccg-badges--mini .ccg-badge { padding: 0.2rem 0.45rem; font-size: 0.72rem; }

.ccg-badge {
  border: 1px solid rgba(255, 115, 224, 0.55);
  color: #ffe8ff;
  background: rgba(72, 8, 74, 0.72);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}

.ccg-badge--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 0 0 1px rgba(255, 125, 238, 0.2), 0 0 15px rgba(255, 100, 235, 0.18);
}

.ccg-badge__icon { color: #ffb8ff; text-shadow: 0 0 8px rgba(255, 117, 240, 0.78); }

.ccg-badge--icon-only { padding: 0.15rem 0.35rem; min-width: 1.6rem; text-align: center; }
.ccg-badge-common { border-color: rgba(164, 195, 210, 0.8); background: rgba(40, 70, 88, 0.45); }
.ccg-badge-rare { border-color: rgba(87, 172, 255, 0.9); background: rgba(29, 58, 126, 0.45); }
.ccg-badge-epic { border-color: rgba(182, 106, 255, 0.95); background: rgba(82, 30, 122, 0.5); }
.ccg-badge-legendary { border-color: rgba(255, 198, 72, 0.98); background: rgba(122, 81, 14, 0.55); }

.ccg-profile-header {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.ccg-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(131, 236, 255, 0.5);
  box-shadow: 0 0 16px rgba(74, 213, 255, 0.28);
}

.ccg-profile-avatar--placeholder {
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: #b4f4ff;
  background: radial-gradient(circle at center, rgba(77, 218, 255, 0.45), rgba(83, 45, 146, 0.45));
}

.ccg-community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  margin: 0.8rem 0;
}

.ccg-community-stats div {
  border: 1px solid rgba(110, 229, 255, 0.27);
  border-radius: 11px;
  padding: 0.55rem;
  display: grid;
}

.ccg-community-stats strong { font-size: 1.25rem; }
.ccg-report-card { border: 1px solid rgba(255, 113, 143, 0.45); background: rgba(65, 10, 29, 0.45); border-radius: 12px; padding: 0.8rem; margin-bottom: 0.7rem; }

.ccg-community-auth-btn,
#ccg-hub-login-btn {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  line-height: 1.1;
}

.ccg-header-actions::before,
.ccg-header-actions::after,
.ccg-community-auth__actions::before,
.ccg-community-auth__actions::after {
  pointer-events: none;
}

.ccg-community-auth-btn {
  border-color: rgba(126, 245, 255, 0.96);
  background: linear-gradient(135deg, rgba(8, 64, 132, 0.98), rgba(44, 14, 88, 0.96));
  color: #ecfeff;
  opacity: 1;
  text-shadow: 0 0 6px rgba(160, 245, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(42, 200, 242, 0.45), 0 0 14px rgba(85, 226, 255, 0.38);
  isolation: isolate;
  gap: 0.45rem;
}

.ccg-community-auth-btn__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(189, 248, 255, 0.72);
  box-shadow: 0 0 8px rgba(114, 239, 255, 0.45);
}

.ccg-community-auth-btn__avatar--fallback {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(92, 241, 255, 0.36), rgba(184, 117, 255, 0.42));
  color: #f2fdff;
  font-size: 0.7rem;
  font-weight: 800;
}

.ccg-community-auth-btn:hover,
.ccg-community-auth-btn:focus-visible {
  border-color: rgba(162, 250, 255, 1);
  box-shadow: 0 0 0 1px rgba(86, 228, 255, 0.62), 0 0 18px rgba(117, 236, 255, 0.5);
}

@media (max-width: 800px) {
  .ccg-community-auth-btn { width: 100%; margin: 0.45rem 0 0; }
  .ccg-community-modal__panel { margin-top: 5vh; max-height: 90vh; }
  .ccg-profile-header { align-items: flex-start; }
}

.ccg-seo-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ccg-seo-links a {
  border: 1px solid rgba(117, 218, 255, 0.45);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  color: #d7fbff;
  text-decoration: none;
  font-size: 0.82rem;
}

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

.hub-card {
  display: grid;
  gap: 0.65rem;
}

.hub-card--full {
  grid-column: 1 / -1;
}

.hub-section-body {
  min-height: 96px;
}

.mini-game-tile-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.mini-game-tile {
  border: 1px solid rgba(120, 235, 255, 0.35);
  border-radius: 12px;
  padding: 0.65rem;
  text-decoration: none;
  color: #e9fbff;
  background: rgba(6, 20, 45, 0.6);
}

.mini-game-tile__title {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.mini-game-tile__stats {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.mini-game-tile__stats div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.mini-game-tile__stats dt,
.mini-game-tile__stats dd {
  margin: 0;
}

.activity-list,
.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.activity-row,
.member-row {
  border: 1px solid rgba(117, 218, 255, 0.28);
  border-radius: 10px;
  padding: 0.6rem;
  background: rgba(6, 17, 37, 0.72);
}

.activity-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.activity-row a,
.member-row a {
  color: #caf7ff;
}

.activity-row__type {
  min-width: 72px;
  font-size: 0.75rem;
  border: 1px solid rgba(170, 110, 255, 0.55);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  text-align: center;
}

.activity-row__body {
  font-size: 0.88rem;
}

.activity-row time {
  font-size: 0.78rem;
  color: #9eddec;
}

.member-row__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.member-row__name {
  text-decoration: none;
  font-weight: 700;
}

.member-row__points {
  font-size: 0.84rem;
  color: #bbf4ff;
}

.member-row__meta {
  margin: 0.45rem 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #b0edff;
}

@media (max-width: 920px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .activity-row {
    grid-template-columns: 1fr;
  }

  .activity-row__type {
    width: fit-content;
  }
}

.community-seo-table-wrap {
  overflow-x: auto;
}

.community-seo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.community-seo-table th,
.community-seo-table td {
  border: 1px solid rgba(117, 218, 255, 0.28);
  padding: 0.55rem;
  text-align: left;
  font-size: 0.88rem;
}

.community-seo-table th {
  background: rgba(21, 41, 78, 0.8);
}

.community-seo-table td a {
  color: #caf7ff;
}

/* OMEGA COMMUNITY HUB UPGRADE: layered neon hero/feed/leaderboard polish */
.ccg-community-layout--hub > .ccg-community-card:first-child {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(122, 242, 255, 0.55);
  background:
    radial-gradient(circle at 10% 20%, rgba(95, 232, 255, 0.2), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(185, 120, 255, 0.2), transparent 50%),
    linear-gradient(165deg, rgba(8, 30, 66, 0.94), rgba(22, 10, 44, 0.92));
  box-shadow: 0 0 0 1px rgba(89, 230, 255, 0.24), 0 18px 40px rgba(13, 29, 75, 0.5), inset 0 1px 0 rgba(182, 241, 255, 0.24);
}

.ccg-community-layout--hub > .ccg-community-card:first-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(117, 236, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(117, 236, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.3;
  animation: ccgCommunityGridPulse 12s linear infinite;
  pointer-events: none;
}

.ccg-community-layout--hub > .ccg-community-card:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(170, 231, 255, 0.07));
  mix-blend-mode: screen;
  pointer-events: none;
}

.ccg-community-layout--hub > .ccg-community-card:first-child h1 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(105, 238, 255, 0.5);
}

.hub-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(121, 238, 255, 0.36);
  box-shadow: 0 0 0 1px rgba(91, 226, 255, 0.16), 0 14px 28px rgba(5, 13, 36, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(151, 246, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(111, 235, 255, 0.28), 0 0 26px rgba(72, 220, 255, 0.3), 0 20px 34px rgba(8, 17, 49, 0.54);
}

.activity-row,
.member-row,
.mini-game-tile {
  backdrop-filter: blur(3px);
  border-color: rgba(130, 239, 255, 0.35);
}

.activity-row__type {
  background: linear-gradient(135deg, rgba(152, 111, 255, 0.3), rgba(100, 228, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(184, 156, 255, 0.22), 0 0 12px rgba(113, 212, 255, 0.2);
}

.member-row__points {
  font-weight: 700;
  animation: ccgRankPulse 2.1s ease-in-out infinite;
}

.member-row__meta span {
  border-right: 1px solid rgba(136, 237, 255, 0.28);
  padding-right: 0.55rem;
}

.member-row__meta span:last-child {
  border-right: 0;
  padding-right: 0;
}

@keyframes ccgCommunityGridPulse {
  0% { transform: translate3d(0, 0, 0); opacity: 0.2; }
  50% { transform: translate3d(0, -8px, 0); opacity: 0.34; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.2; }
}

@keyframes ccgRankPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(141, 239, 255, 0); }
  50% { text-shadow: 0 0 12px rgba(141, 239, 255, 0.45); }
}


.hub-card::before,
.hub-card::after,
.ccg-comments-panel::before,
.ccg-comments-panel::after {
  pointer-events: none;
}

.ccg-comments-explorer__controls,
.ccg-comments-explorer__controls label,
.ccg-comments-explorer__controls input,
.ccg-comments-panel,
.ccg-comments-panel__body,
.ccg-comments-post,
.ccg-comments-post form {
  position: relative;
  z-index: 3;
}

.ccg-community-form input,
.ccg-community-form textarea,
.ccg-community-form select {
  position: relative;
  z-index: 4;
}

/* OMEGA COMMUNITY V2 — comments explorer + profile uplift */
.ccg-comments-explorer__controls {
  grid-template-columns: minmax(220px, 560px);
  margin: 0.8rem 0;
}

.ccg-comments-panel {
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 14px;
  background: rgba(4, 14, 30, 0.88);
  overflow: hidden;
}

.ccg-comments-panel__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.12), rgba(0, 0, 0, 0));
}

.ccg-comments-panel__summary::-webkit-details-marker {
  display: none;
}

.ccg-comments-panel__meta {
  color: rgba(219, 248, 255, 0.9);
  font-size: 0.84rem;
}

.ccg-comments-panel__body {
  padding: 0.9rem;
  display: grid;
  gap: 0.9rem;
  animation: ccgCommentPanelIn 220ms ease;
}

.ccg-comments-actions {
  display: flex;
  justify-content: center;
}

.ccg-comments-feedback[data-type="error"] {
  color: rgba(var(--ccg-danger-rgb), 1);
}

.ccg-comments-feedback[data-type="success"] {
  color: rgba(var(--ccg-success-rgb), 1);
}

.ccg-comments-login-cta {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.ccg-comment-card {
  position: relative;
}

.ccg-comment-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.46);
  object-fit: cover;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.ccg-comment-card__avatar--fallback {
  font-weight: 800;
  background: radial-gradient(circle at 35% 20%, rgba(var(--accent-rgb), 0.42), rgba(70, 39, 130, 0.42));
}

.ccg-comment-card__identity {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ccg-comment-card__identity time {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.77rem;
  color: #a7e0ef;
}

.ccg-comment-card__body {
  margin: 0.55rem 0;
  line-height: 1.45;
  word-break: break-word;
}

.ccg-comment-card__actions button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.ccg-comment-card--skeleton {
  overflow: hidden;
}

.ccg-comment-skeleton-line,
.ccg-comment-skeleton-block {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.07), rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.07));
  background-size: 200% 100%;
  animation: ccgSkeleton 1.2s linear infinite;
  border-radius: 10px;
}

.ccg-comment-skeleton-line {
  height: 10px;
  margin-bottom: 0.5rem;
}

.ccg-comment-skeleton-line--short {
  width: 45%;
}

.ccg-comment-skeleton-block {
  height: 56px;
}

.ccg-profile-card--omega {
  border-color: rgba(var(--accent-rgb), 0.52);
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--accent-rgb), 0.18), transparent 52%),
    rgba(5, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.35), 0 20px 30px rgba(2, 12, 30, 0.48);
  position: relative;
  isolation: isolate;
}

.ccg-profile-card--omega > * {
  position: relative;
  z-index: 1;
}

.ccg-profile-header__content {
  display: grid;
  gap: 0.2rem;
}

.ccg-profile-eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: rgba(188, 242, 255, 0.9);
}

.ccg-profile-username {
  margin: 0;
  font-size: 1.04rem;
  color: rgba(240, 253, 255, 0.98);
  text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
}

.ccg-community-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12000;
  border-radius: 12px;
  border: 1px solid rgba(117, 225, 255, 0.55);
  background: rgba(4, 16, 30, 0.96);
  color: #e5fbff;
  padding: 0.62rem 0.86rem;
  box-shadow: 0 10px 22px rgba(3, 9, 28, 0.56);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.ccg-community-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ccg-community-toast[data-type="error"] {
  border-color: rgba(255, 132, 164, 0.72);
}

.ccg-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.3rem 0;
}

.ccg-profile-bio {
  margin: 0.85rem 0 0.45rem;
  line-height: 1.55;
  color: rgba(228, 247, 255, 0.96);
}

.ccg-profile-edit-form textarea {
  min-height: 88px;
}

.ccg-profile-card--activity {
  display: grid;
  gap: 0.65rem;
}

.ccg-profile-activity-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.ccg-profile-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.ccg-profile-activity-item {
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 11px;
  padding: 0.65rem;
  background: linear-gradient(155deg, rgba(10, 30, 58, 0.84), rgba(26, 14, 45, 0.8));
}

.ccg-profile-activity-item__main {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.ccg-profile-activity-item__game {
  color: #cef8ff;
  text-decoration: none;
  font-weight: 700;
}

.ccg-profile-activity-item__text {
  margin: 0.45rem 0 0;
  line-height: 1.4;
}

.ccg-profile-activity-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.ccg-profile-activity-pagination a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}

.ccg-profile-skeleton {
  height: 86px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
  background-size: 220% 100%;
  animation: ccgSkeleton 1.1s linear infinite;
}

@keyframes ccgSkeleton {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@keyframes ccgCommentPanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .ccg-comments-login-cta {
    align-items: stretch;
  }

  .ccg-comments-login-cta .ccg-community-btn {
    width: 100%;
  }

  .ccg-profile-activity-item__main {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.ccg-community-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ccg-community-subnav__link {
  border: 1px solid rgba(108, 228, 255, 0.45);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  color: #d7fbff;
  text-decoration: none;
  font-weight: 700;
}

.ccg-community-subnav__link.is-active {
  background: linear-gradient(135deg, rgba(78, 229, 255, 0.26), rgba(181, 114, 255, 0.24));
  box-shadow: 0 0 14px rgba(95, 228, 255, 0.35);
}

.ccg-supporter-flair {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ccg-supporter-flair--bronze { border-color: rgba(220, 155, 91, 0.8); box-shadow: 0 0 10px rgba(220, 155, 91, 0.35); }
.ccg-supporter-flair--silver { border-color: rgba(185, 213, 223, 0.9); box-shadow: 0 0 12px rgba(185, 213, 223, 0.35); }
.ccg-supporter-flair--gold { border-color: rgba(245, 219, 97, 0.9); box-shadow: 0 0 12px rgba(245, 219, 97, 0.4); }
.ccg-supporter-flair--platinum { border-color: rgba(130, 231, 255, 0.9); box-shadow: 0 0 14px rgba(130, 231, 255, 0.45); }
.ccg-supporter-flair--legend { border-color: rgba(220, 117, 255, 0.95); box-shadow: 0 0 16px rgba(220, 117, 255, 0.5); }

.ccg-profile-chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.ccg-profile-chip {
  border: 1px solid rgba(120, 235, 255, 0.35);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.8rem;
  background: rgba(6, 20, 45, 0.6);
}

/* OMEGA FIX: stronger readability + no parent opacity fade */
.ccg-community-card,
.hub-card,
.ccg-comments-panel,
.ccg-profile-activity-item,
.activity-row,
.member-row,
.mini-game-tile {
  background: rgba(5, 15, 25, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
}

.ccg-community-card h1,
.ccg-community-card h2,
.ccg-community-card h3,
.ccg-community-card p,
.ccg-community-card li,
.ccg-community-card label,
.ccg-community-card span,
.ccg-community-muted {
  color: #dff6ff;
}

.ccg-comments-explorer__controls {
  position: relative;
}

.ccg-comments-suggestion-list {
  list-style: none;
  margin: -0.4rem 0 0;
  padding: 0.35rem;
  border: 1px solid rgba(116, 230, 255, 0.42);
  border-radius: 10px;
  background: rgba(5, 15, 25, 0.96);
  max-height: 280px;
  overflow: auto;
  z-index: 20;
}

.ccg-comments-suggestion-list__item,
.ccg-comments-suggestion-list__empty {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: #dff6ff;
}

.ccg-comments-suggestion-list__item {
  cursor: pointer;
}

.ccg-comments-suggestion-list__item:hover,
.ccg-comments-suggestion-list__item.is-active {
  background: rgba(72, 229, 255, 0.22);
}

/* mobile artifact guard: disable decorative pseudo blocks on narrow widths */
@media (max-width: 820px) {
  .ccg-community-layout--hub > .ccg-community-card:first-child::before,
  .ccg-community-layout--hub > .ccg-community-card:first-child::after,
  .hub-card::before,
  .hub-card::after,
  .ccg-comments-panel::before,
  .ccg-comments-panel::after {
    content: none !important;
    display: none !important;
  }
}


/* OMEGA readability hardening */
.ccg-community-card,
.ccg-comment-card,
.mini-game-tile,
.member-row,
.activity-row,
.ccg-profile-activity-item,
.ccg-report-card {
  background: rgba(5, 15, 25, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
}

.ccg-community-card h1,
.ccg-community-card h2,
.ccg-community-card h3,
.ccg-profile-card h1,
.ccg-profile-card h2 {
  color: #f2fcff;
  text-shadow: 0 0 8px rgba(124, 236, 255, 0.26);
}

.ccg-community-card p,
.ccg-community-card li,
.ccg-community-card label,
.ccg-comment-card__body,
.ccg-community-form input,
.ccg-community-form textarea {
  color: #daf5ff;
}

.ccg-comments-suggestion-list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(123, 234, 255, 0.35);
  border-radius: 12px;
  background: rgba(5, 15, 25, 0.94);
  backdrop-filter: blur(8px);
  max-height: 260px;
  overflow: auto;
}

.ccg-comments-suggestion-list__item,
.ccg-comments-suggestion-list__empty {
  padding: 0.55rem 0.65rem;
  color: #dff7ff;
}

.ccg-comments-suggestion-list__item:hover,
.ccg-comments-suggestion-list__item.is-active {
  background: rgba(53, 130, 178, 0.3);
}

@media (max-width: 720px) {
  .ccg-comments-suggestion-list {
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
  }
}
