.embed .chess-topbar,
.embed .academy-topbar {
  display: none;
}

.embed .chess-shell,
.embed .academy-shell {
  width: 100%;
  margin: 0;
}

.embed .chess-layout {
  margin: 0;
  gap: 7px;
}

.embed .board-stage,
.embed .control-panel {
  border-top: 0;
  border-radius: 0;
}

.embed .board-stage {
  min-height: 100vh;
  padding: 8px;
}

.embed .board-frame,
.embed .opponent-bar,
.embed .player-bar {
  width: min(62vh, 650px);
}

.embed .academy-layout {
  margin: 0;
  grid-template-columns: 220px minmax(520px, 1fr);
}

.embed .coach-panel {
  display: none;
}

.embed .course-progress,
.embed .module-list,
.embed .review-box,
.embed .quiz-workspace {
  border-top: 0;
  border-radius: 0;
}

.embed .module-list {
  max-height: calc(100vh - 170px);
}

@media (max-width: 900px) {
  .embed .academy-layout {
    display: block;
  }

  .embed .course-panel {
    display: none;
  }

  .embed .quiz-workspace {
    border: 0;
  }
}
