/* Covers with original art and a live title keep the title outside the illustration. */
[data-standalone-opening] [data-opening-part="header"] { gap: clamp(8px, 2vw, 24px); }
[data-standalone-opening] [data-opening-part="back"] { flex: 0 0 auto; }
[data-standalone-opening] [data-opening-part="title"] {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  font: 850 clamp(32px, 3vw, 44px)/1.1 system-ui, sans-serif;
  letter-spacing: -.04em;
}
@media(max-width:600px) {
  [data-standalone-opening] [data-opening-part="header"] {
    flex-wrap: wrap;
    height: auto;
    gap: 8px;
    margin-bottom: 16px;
  }
  [data-standalone-opening] [data-opening-part="title"] { order: 2; flex-basis: 100%; font-size: 32px; }
}
.classroom-game-cover[data-classroom-game-cover="typing_escape"]{--cover-canvas:#fff3d6;--cover-ink:#1e293b;--cover-accent:#f97316}
.classroom-game-cover[data-classroom-game-cover="schoolbus_slide"]{--cover-canvas:#fff7d6;--cover-ink:#1e293b;--cover-accent:#eab308}
.classroom-game-cover[data-classroom-game-cover="planet_merge"]{--cover-canvas:#1e1b4b;--cover-ink:#ffffff;--cover-accent:#38bdf8}
.classroom-game-cover[data-classroom-game-cover="mugunghwa_stop"]{--cover-canvas:#fdf2f8;--cover-ink:#1e293b;--cover-accent:#db2777}

body:has([data-standalone-opening]) #classroom-play-toolbar { background: #372782; color: #fff; }
body:has([data-standalone-opening]) #classroom-play-toolbar h1 { color: #fff; gap: 8px; }
body:has([data-standalone-opening]) #classroom-play-toolbar h1::before { font-size: 27px; }
.sb-body #classroom-play-toolbar h1::before { content: "🚌" / ""; }
.pm-body #classroom-play-toolbar h1::before { content: "🪐" / ""; }
.mg-body #classroom-play-toolbar h1::before { content: "🌺" / ""; }
.te-body #classroom-play-toolbar h1::before { content: "⌨️" / ""; }
body:has([data-standalone-opening]) #classroom-play-toolbar :is(button, a) {
  border: 0; border-radius: 24px; background: transparent url("../mini-sudoku-space/control-lavender.ac35981966f4.webp") center / 100% 100% no-repeat;
  color: #29205c; gap: 5px; font-weight: 850;
}
body:has([data-standalone-opening]) #classroom-play-toolbar [data-play-part="help"]::before {
  content: "?" / ""; display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: #5845a6; color: #fff; font-size: 14px; font-weight: 900;
}
body:has([data-standalone-opening]) #classroom-play-toolbar [data-play-part="reset"]::before { content: "↻" / ""; font-size: 21px; }
body:has([data-standalone-opening]) #classroom-play-toolbar [data-play-part="list"]::before { content: "☰" / ""; }
