/* An optional introduction styled like the portal's school stationery. */
.showcase-launch {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  margin: 0 0 25px;
  padding: 10px 15px 10px 11px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}
.showcase-launch:hover { background: var(--surface-soft); border-color: var(--blue); filter: none; }
.showcase-play { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #003da5; color: white; }
.showcase-play svg { width: 16px; height: 16px; }
.showcase-label { min-width: 0; line-height: 1.35; }
.showcase-label strong { display: block; font-size: 12px; font-weight: 700; }
.showcase-label small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.showcase-launch > .icon { width: 17px; height: 17px; margin-left: 5px; color: var(--blue); }
.campus-mark:has(.sirs-logo) picture { animation: none; }
.campus-mark .sirs-logo { aspect-ratio: 1; object-fit: contain; border-radius: 3px; }

.showcase-dialog {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  height: min(880px, calc(100dvh - 32px), calc((100vw - 32px) * .5625 + 340px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 90px #071a3b40;
  overflow: hidden;
}
.showcase-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.showcase-dialog > * { min-width: 0; }
.showcase-dialog::backdrop { background: #0c1d36bb; }
.showcase-heading { grid-row: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 20px; border-bottom: 3px solid var(--yellow); }
.showcase-heading > div { min-width: 0; }
.showcase-heading .eyebrow { font-size: 10px; letter-spacing: .09em; }
.showcase-heading h2 { margin: 7px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.2; }
.showcase-heading p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.showcase-close { flex-shrink: 0; }
.showcase-stage { grid-row: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; overflow: hidden; background: #07172a; }
.showcase-screen { min-height: 0; overflow: hidden; }
.showcase-stage video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.showcase-stage video::cue { background: #142c50e6; color: #fffdf7; }
.showcase-player-controls { padding: 10px 15px 11px; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.showcase-control-bar { display: flex; align-items: center; gap: 12px; margin-top: 6px; min-width: 0; }
.showcase-audio-controls { display: flex; align-items: center; gap: 7px; margin-left: auto; min-width: 0; }
.showcase-player-controls button { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 7px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--ink); }
.showcase-player-controls button:hover { border-color: var(--line); background: var(--surface-soft); filter: none; }
.showcase-player-controls button[aria-pressed="true"] { border-color: var(--line-strong); background: var(--blue-soft, var(--surface-soft)); color: var(--ink); }
.showcase-player-controls [data-video-play] { background: #003da5; color: white; }
.showcase-player-controls [data-video-play]:hover { background: #002f80; border-color: #002f80; }
.showcase-player-controls button svg { width: 20px; height: 20px; }
.showcase-time { flex-shrink: 0; color: var(--muted); font-size: 11px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.showcase-cc { border: 1px solid currentColor; border-radius: 2px; padding: 0 2px; font-size: 10px; font-weight: 700; line-height: 1.4; }
.showcase-player-controls input[type="range"] { display: block; margin: 0; padding: 0; height: 24px; border: 0; border-radius: 0; accent-color: var(--blue); background: transparent; cursor: pointer; }
.showcase-player-controls input:focus-visible { outline: 3px solid #437be9; outline-offset: 2px; }
.showcase-player-controls [data-video-status] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:root[data-theme="dark"] .showcase-player-controls input[type="range"] { accent-color: #9cbffa; }
.showcase-seek { width: 100%; }
.showcase-volume { width: 72px; min-width: 0; }
.showcase-stage:fullscreen { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; background: #07172a; }
.showcase-stage:fullscreen .showcase-screen { aspect-ratio: auto; }
.showcase-stage:fullscreen .showcase-player-controls { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.showcase-error { grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 26px; border-bottom: 1px solid var(--line); font-size: 12px; }
.showcase-error .button { flex-shrink: 0; }
.showcase-footer { grid-row: 4; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 26px; }
.showcase-footer p { max-width: 550px; font-size: 11px; line-height: 1.75; color: var(--muted); }
.showcase-footer .button { flex-shrink: 0; }
@media (max-width: 600px) {
  .showcase-dialog { width: calc(100% - 20px); height: min(calc(100dvh - 20px), calc((100vw - 20px) * .5625 + 370px)); max-height: calc(100dvh - 20px); }
  .showcase-heading { padding: 20px 18px 17px; gap: 12px; }
  .showcase-heading h2 { font-size: 25px; }
  .showcase-heading .eyebrow { font-size: 9px; }
  .showcase-heading p { font-size: 11px; }
  .showcase-footer { padding: 18px; align-items: stretch; flex-direction: column; gap: 15px; }
  .showcase-footer .button { width: 100%; }
  .showcase-error { padding: 16px 18px; align-items: stretch; flex-direction: column; gap: 12px; }
  .showcase-launch { margin-top: 20px; margin-bottom: 20px; }
  .showcase-player-controls { padding: 8px 10px 9px; }
  .showcase-control-bar { gap: 8px; margin-top: 4px; }
  .showcase-audio-controls { gap: 4px; }
  .showcase-player-controls button { flex-basis: 32px; width: 32px; height: 32px; padding: 6px; }
  .showcase-player-controls button svg { width: 18px; height: 18px; }
  .showcase-volume { width: 48px; }
  .showcase-time { font-size: 10px; }
}
@media (max-height: 600px) {
  .showcase-dialog { height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); }
  .showcase-heading { align-items: center; padding: 10px 16px; gap: 10px; }
  .showcase-heading .eyebrow, .showcase-heading p, .showcase-footer p { display: none; }
  .showcase-heading h2 { margin: 0; font-size: 21px; }
  .showcase-close { width: 32px; height: 32px; }
  .showcase-footer { padding: 10px 16px; flex-direction: row; justify-content: flex-end; }
  .showcase-footer .button { width: auto; min-height: 36px; padding: 8px 14px; font-size: 11px; }
  .showcase-error { padding: 8px 16px; font-size: 11px; }
  .showcase-error .button { min-height: 32px; padding: 6px 10px; }
}
@media (forced-colors: active) {
  .showcase-play { border: 1px solid ButtonText; }
  .showcase-dialog::backdrop { background: Canvas; opacity: .8; }
}
