.xrs-game-embed {
  width: 100%;
  max-width: 920px;
  margin: 2rem auto;
}

.xrs-game-embed iframe {
  display: block;
  width: 100%;
  min-height: var(--xrs-game-height, 620px);
  border: 1px solid rgba(78, 202, 194, 0.45);
  border-radius: 12px;
  background: #141414;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.xrs-game-open {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.xrs-game-open a {
  color: #4ecac2;
}

.xrs-game-error {
  padding: 1rem;
  border-left: 4px solid #c94e8e;
  background: rgba(201, 78, 142, 0.12);
}

@media (max-width: 700px) {
  .xrs-game-embed {
    max-width: 100%;
    margin: 1.25rem auto;
  }

  .xrs-game-embed iframe {
    min-height: min(var(--xrs-game-height, 620px), 82vh);
    border-radius: 8px;
  }
}

/* Compact standalone game portfolio pages */
body.postid-1503 .entry-content-header {
    display: none !important;
}
body.postid-1503 .entry-content-wrapper,
body.postid-1503 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.postid-1503 .xrs-game-embed {
    margin-top: 0 !important;
}
