main {
  width: var(--max-width);
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 3rem;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.game-embed {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(99, 209, 136, 0.25);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 40px rgba(18, 40, 76, 0.18);
}

.related-games-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(80px, 1fr));
  gap: 0.75rem;
}

.related-games-grid li {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(99, 209, 136, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.related-game-card {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.related-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.player-wrapper {
  position: relative;
}

.info-block {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(99, 209, 136, 0.25);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 18px 32px rgba(18, 40, 76, 0.16);
}

.comments-section .section-header {
  margin-bottom: 0.75rem;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.comments-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: rgba(99, 209, 136, 0.12);
  border: 1px solid rgba(99, 209, 136, 0.25);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.comments-list {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(99, 209, 136, 0.18);
  box-shadow: 0 10px 28px rgba(18, 40, 76, 0.12);
  overflow: hidden;
}

#comments-list p {
  margin: 0;
  padding: 1.25rem;
  color: var(--text-soft);
}

.comment-item {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(99, 209, 136, 0.12);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.comment-meta strong {
  color: var(--text);
  font-size: 1rem;
}

.comment-time {
  font-size: 0.8rem;
  color: rgba(28, 34, 51, 0.6);
}

.comment-content {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
}

.load-more-comments {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(99, 209, 136, 0.14);
  border: 1px solid rgba(99, 209, 136, 0.35);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.load-more-comments:hover,
.load-more-comments:focus-visible {
  background: rgba(99, 209, 136, 0.2);
}

.comment-form-wrap {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(99, 209, 136, 0.2);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(18, 40, 76, 0.12);
  padding: 1.25rem;
}

.comment-form-wrap h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

#comment-form {
  display: grid;
  gap: 0.75rem;
}

#comment-form input,
#comment-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 209, 136, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

#comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-align: left;
}

.comment-checkbox input {
  width: auto;
  margin-top: 0.15rem;
}

.comment-checkbox span {
  line-height: 1.4;
}

#comment-form button[type=\"submit\"] {
  width: fit-content;
  min-width: 180px;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(120deg, #63d188, #3ca86a);
  border: none;
  color: #020409;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(99, 209, 136, 0.35);
}

#comment-form button[type=\"submit\"]:hover,
#comment-form button[type=\"submit\"]:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .comments-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comments-toolbar {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .related-games-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.embed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

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

.supplemental-image {
  margin: 1.25rem 0;
}

.supplemental-image img {
  width: 100%;
  max-width: 760px;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(99, 209, 136, 0.2);
  box-shadow: 0 12px 26px rgba(18, 40, 76, 0.12);
}
