/* Mock chrome only: the strip across the top and the lightbox for TED's player.
   Each design's own look lives in its own page. */
:root { --bar: 34px; }

.mockbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1.5rem;
  min-height: var(--bar); padding: .4rem clamp(1rem, 3vw, 2rem);
  background: #111; color: #e6e6e6;
  font: 500 12px/1.3 ui-monospace, Consolas, "SF Mono", monospace; letter-spacing: .03em;
}
.mockbar nav { display: flex; gap: 1.2rem; }
.mockbar a { color: #9c9c9c; text-decoration: none; }
.mockbar a:hover { color: #fff; }
.mockbar a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

dialog.talk {
  margin: auto; border: 0; padding: 0; background: #000; overflow: visible;
  width: min(1100px, 92vw); aspect-ratio: 16 / 9; max-height: 82vh;
}
dialog.talk::backdrop { background: rgba(0, 0, 0, .84); }
dialog.talk iframe { display: block; width: 100%; height: 100%; border: 0; }
dialog.talk button {
  position: absolute; right: 0; top: -2.6rem; padding: .6rem 0;
  background: none; border: 0; color: #fff; cursor: pointer;
  font: 600 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  * { transition: none !important; }
}
