.ogtc-room-hub {
  position: relative;
  overflow: hidden;
}

.ogtc-room-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent 46%, rgba(255, 176, 31, 0.08)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.035) 22px 23px);
}

.ogtc-room-hub > * {
  position: relative;
}

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

.ogtc-match-room {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: var(--ogt-radius);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(255, 45, 184, 0.055)),
    rgba(5, 7, 17, 0.74);
}

.ogtc-match-room.is-large {
  margin-top: 0;
  padding: 14px;
}

.ogtc-room-top,
.ogtc-room-actions,
.ogtc-versus,
.ogtc-room-player {
  display: flex;
  align-items: center;
}

.ogtc-room-top {
  justify-content: space-between;
  gap: 10px;
  color: var(--ogt-muted);
  font-family: var(--ogt-display);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ogtc-room-top span,
.ogtc-room-top b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ogtc-room-top b {
  flex: none;
  color: var(--ogt-lime);
}

.ogtc-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
}

.ogtc-room-player {
  min-width: 0;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(132, 156, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.ogtc-room-player span {
  min-width: 0;
}

.ogtc-room-player small,
.ogtc-room-player b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ogtc-room-player small {
  color: var(--ogt-cyan);
  font-family: var(--ogt-display);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ogtc-room-player b {
  margin-top: 2px;
  color: var(--ogt-text);
  font-size: 0.82rem;
}

.ogtc-vs {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 176, 31, 0.32);
  border-radius: 50%;
  color: #061014;
  background: var(--ogt-amber);
  font-family: var(--ogt-display);
  font-size: 0.65rem;
  font-weight: 900;
}

.ogtc-room-actions {
  gap: 8px;
}

.ogtc-room-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 7px;
  color: #061014;
  background: linear-gradient(135deg, var(--ogt-cyan), #80e9ff);
  font-family: var(--ogt-display);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.ogtc-room-btn.alt {
  border-color: rgba(255, 45, 184, 0.42);
  color: var(--ogt-text);
  background: linear-gradient(135deg, rgba(255, 45, 184, 0.28), rgba(124, 108, 255, 0.28));
}

.ogtc-match-room:not(.is-large) .ogtc-room-player {
  padding: 7px;
}

.ogtc-match-room:not(.is-large) .ogtc-room-player .ogt-avatar {
  width: 28px;
  height: 28px;
}

.ogtc-match-room:not(.is-large) .ogtc-room-actions {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 980px) {
  .ogtc-room-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ogtc-versus {
    grid-template-columns: 1fr;
  }

  .ogtc-vs {
    width: auto;
    height: 28px;
    border-radius: 7px;
  }

  .ogtc-room-actions {
    flex-direction: column;
  }

  .ogtc-room-btn {
    width: 100%;
  }
}
