.classroom-print-resources { margin-top: 1rem; }
.classroom-talk { width: min(94vw, 980px); max-height: 92dvh; padding: 0; border: 3px solid #98e5d0; border-radius: 22px; background: #122539; color: white; }
.classroom-talk::backdrop { background: #081626dd; }
.classroom-talk:fullscreen { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; overflow: auto; }
.classroom-talk header { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 1rem; color: #b4f5e4; }
.classroom-talk header strong { margin-right: auto; }
.classroom-talk main { margin: 0 1rem 1rem; padding: clamp(1rem, 4vw, 3rem); border: 4px solid #8c77bd; border-radius: 20px; background: #fcf6eb; color: #14283c; overflow-wrap: anywhere; }
.classroom-talk main img { float: right; width: clamp(48px, 10vw, 125px); margin-left: 1rem; }
.classroom-talk label { display: block; margin-bottom: .7rem; font-weight: 700; }
.classroom-talk input { display: block; width: 100%; padding: .6rem; border: 1px solid #526775; border-radius: 8px; font: inherit; }
.classroom-talk button { padding: .55rem .8rem; border: 1px solid #667e8b; border-radius: 10px; color: #122539; background: white; font: inherit; font-weight: 700; }
.classroom-talk button:disabled { opacity: .55; }
.classroom-cue { clear: both; padding: clamp(1.1rem, 4vw, 3rem); margin: 1rem 0; border-radius: 18px; color: white; background: linear-gradient(135deg, #075b62, #514085); animation: classroom-cue-enter .24s ease-out; }
.classroom-cue p { font-size: clamp(1.45rem, 4vw, 3rem); margin: .4em 0 0; }
#playScene:fullscreen, #presentation:fullscreen { border: clamp(5px, 1vw, 14px) solid #8c77bd; box-shadow: inset 0 0 0 3px #98e5d0; }
@keyframes classroom-cue-enter { from { opacity: .45; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .classroom-cue { animation: none; } }
.classroom-talk:focus-within :focus-visible { outline: 3px solid #c85443; outline-offset: 3px; }
#screen:fullscreen { width: 100%; max-width: none; height: 100%; overflow: auto; background: #f3f8f6; border: clamp(5px, 1vw, 14px) solid #7154b7; box-shadow: inset 0 0 0 3px #98e5d0; }
.puppet-panel .puppet-theatre { margin: .5rem clamp(8px, 3vw, 32px) 1rem; padding: clamp(10px, 2vw, 24px); border: 4px solid #7766a8; border-radius: 24px; background: radial-gradient(ellipse at 50% 38%, #e4dafb 0%, #9bbfc4 58%, #375968 100%); }
.puppet-panel .speaking-puppet { width: min(100%, 550px); max-width: none; aspect-ratio: 1; margin-inline: auto; }
.puppet-panel .speaking-puppet img { width: 100%; height: 100%; object-fit: contain; transform: scale(calc(1 + var(--mouth-open, 0) * .018)); transition: transform 90ms linear; }
.puppet-panel .puppet-theatre p { display: table; padding: .35em .9em; margin: .4rem auto 0; border-radius: 100px; color: #122539; background: #fff; font-weight: 700; }
#screen:fullscreen .puppet-panel .speaking-puppet,
#playScene:fullscreen .puppet-panel .speaking-puppet { width: min(100%, 69dvh, 820px); }
.classroom-show-picker { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.classroom-show-picker button { display: grid; gap: .2rem; align-content: start; text-align: left; }
.classroom-show-picker button[aria-pressed="true"] { background: #d5f3e9; border: 2px solid #087d82; }
.classroom-show-picker button img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; margin: 0; border-radius: 7px; float: none; }
.classroom-show-picker button span { font-size: .85em; }
.classroom-talk .on-air-set { background: #182842; color: white; }
.classroom-talk .on-air-set > img { display: none; }
.classroom-show-scene { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: .75rem; margin: 1rem 0; }
.classroom-show-scene > img { float: none; width: 100%; height: 100%; max-height: 45dvh; min-height: 150px; margin: 0; object-fit: cover; border-radius: 18px; }
.classroom-show-scene .classroom-cue { margin: 0; border: 1px solid #95d9d0; }
.classroom-show-controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.classroom-show-controls [data-next] { background: #98e5d0; }
.creative-scenes-entry { margin: .75rem 0 1rem; }
.classroom-creative-scenes select { font: inherit; padding: .4em; border: 1px solid #526775; border-radius: 8px; max-width: 100%; }
.classroom-creative-picture { margin: .75rem 0; background: #182842; border: 3px solid #7766a8; border-radius: 14px; overflow: hidden; }
.classroom-creative-picture img { display: block; float: none; width: 100%; height: min(49dvh, 480px); object-fit: contain; margin: 0; }
.classroom-creative-scenes details { margin: .5rem 0; }
.classroom-creative-scenes summary { cursor: pointer; font-weight: 700; }
@media (max-width: 600px) {
  .classroom-show-picker, .classroom-show-scene { grid-template-columns: 1fr; }
  .classroom-show-picker button { grid-template-columns: 64px 1fr; align-items: center; }
  .classroom-show-picker button img { grid-row: span 2; }
  .classroom-show-scene > img { max-height: 24dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .puppet-panel .speaking-puppet img { transform: none; transition: none; }
}
