/* Transient corner sticker: no reserved band or change to the lesson's aspect ratio. */
.ea-mode-player { position: relative; min-width: 0; container-type: inline-size; container-name: ea-player-mode; }
.ea-mode-player-bc00 { margin: -26px -26px 22px; width: calc(100% + 52px); overflow: hidden; border-radius: 19px 19px 0 0; }
.bc00-video2-card > .ea-mode-player-bc00 { margin-top: 0; }
.ea-mode-player-bc00 > .bc00-welcome-video { margin: 0; width: 100%; border-radius: 0; }
.ea-mode-stage { position: absolute; top: 10px; right: 10px; width: 210px; height: 76px; z-index: 3; pointer-events: none; }
.ea-pororo { position: absolute; inset: 0; display: flex; align-items: center; gap: 7px; padding: 4px 9px 4px 4px; border: 1px solid #ffffffa6; border-radius: 12px; background: #fffaf0f2; box-shadow: 0 3px 14px #21142626; color: #453e37; opacity: 0; transform: translateY(4px); transition: opacity 220ms ease, transform 220ms ease; pointer-events: none; }
.ea-pororo.is-visible { opacity: 1; transform: translateY(0); }
.ea-pororo-media { display: block; flex: 0 0 58px; height: 66px; }
.ea-pororo-media video, .ea-pororo-media img { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.ea-pororo-copy { font-size: 12px; line-height: 1.3; max-width: 135px; }
.ea-pororo-bar { display: block; height: 3px; background: #ddd4e7; border-radius: 4px; overflow: hidden; margin-top: 7px; }
.ea-pororo-bar::after { content: ''; display: block; width: 100%; height: 100%; background: #8251a8; transform: scaleX(0); transform-origin: left; }
.is-visible .ea-pororo-bar::after { animation: ea-pororo-load var(--ea-mode-duration) ease-out both; }
.ea-pororo.is-holding .ea-pororo-bar::after { animation: none; transform: scaleX(1); }
@keyframes ea-pororo-load { 0% { transform: scaleX(.03); } 38% { transform: scaleX(.48); } 60% { transform: scaleX(.51); } 100% { transform: scaleX(1); } }
@media (max-width: 640px) {
  .ea-mode-player-bc00 { margin: -18px -18px 20px; width: calc(100% + 36px); }
  .ea-mode-player-bc00 > .bc00-welcome-video { margin: 0; width: 100%; }
}
@media (max-width: 480px) {
  .ea-mode-stage { top: 7px; right: 7px; width: 142px; height: 52px; }
  .ea-pororo { gap: 4px; padding: 3px 6px 3px 2px; border-radius: 10px; }
  .ea-pororo-media { flex-basis: 34px; height: 42px; }
  .ea-pororo-copy { font-size: 10px; max-width: 96px; }
}
/* Embedded players can be narrow even on a wide screen. */
@container ea-player-mode (max-width: 480px) {
  .ea-mode-stage { top: 7px; right: 7px; width: 142px; height: 52px; }
  .ea-pororo { gap: 4px; padding: 3px 6px 3px 2px; border-radius: 10px; }
  .ea-pororo-media { flex-basis: 34px; height: 42px; }
  .ea-pororo-copy { font-size: 10px; max-width: 96px; }
}
@container ea-player-mode (max-width: 320px) {
  .ea-mode-stage { top: 5px; right: 5px; width: 124px; height: 44px; }
  .ea-pororo { gap: 3px; padding: 3px 5px 3px 2px; }
  .ea-pororo-media { flex-basis: 26px; height: 34px; }
}
@container ea-player-mode (max-width: 240px) {
  .ea-mode-stage { width: 110px; height: 40px; }
  .ea-pororo { padding: 2px 4px 2px 2px; }
  .ea-pororo-media { flex-basis: 22px; height: 28px; }
  .ea-pororo-copy { font-size: 9px; }
  .ea-pororo-bar { height: 2px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ea-pororo { transition: none; transform: none; }
  .ea-pororo-bar::after { animation: none !important; }
}
