
:root { --fxstrip-h: 34px; }

.fxstrip {
  position: sticky;
  top: 0;
  z-index: 200;
  container-type: inline-size;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--fxstrip-h);
  margin: 0;
  padding: 0 clamp(16px, 2.2vw, 32px);
  overflow: hidden;
  background: var(--studio);
  color: var(--studio-fg);
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
}

.fxstrip__say {
  flex: 0 0 auto;
  margin: 0 auto 0 0;
  font: inherit;
  color: inherit;
}
.fxstrip__short,
.fxstrip__back-short,
.fxstrip__arrow { display: none; }

.fxstrip__credit { flex: 0 0 auto; margin-left: 24px; }

.fxstrip__back {
  flex: 0 0 auto;
  display: inline-block;
  margin: 0 -8px 0 16px;
  padding: 0 8px;
  line-height: var(--fxstrip-h);
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.fxstrip__back:hover { text-decoration-thickness: 2px; }

.fxstrip__back:focus-visible {
  outline: 2px solid var(--studio-fg);
  outline-offset: -4px;
  border-radius: 3px;
}


@container (max-width: 66em) {
  .fxstrip__credit { display: none; }
}

@container (max-width: 52em) {
  .fxstrip__long,
  .fxstrip__back-long {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .fxstrip__short,
  .fxstrip__back-short { display: inline; }
  .fxstrip__arrow { display: inline-block; margin-right: 0.35em; }
  .fxstrip__back { margin-left: 4px; }
}

@container (max-width: 24em) {
  .fxstrip__say,
  .fxstrip__back { font-size: 0.75rem; }
  .fxstrip__arrow { display: none; }
}

.fxstrip--inline {
  position: static;
  z-index: auto;
  width: 100%;
  padding: 0 16px;
}

@media (forced-colors: active) {
  .fxstrip { border-bottom: 1px solid CanvasText; }
}

@media print {
  .fxstrip {
    position: static;
    background: none;
    color: inherit;
    border-bottom: 1px solid currentColor;
  }
  .fxstrip__back:focus-visible { outline-color: currentColor; }
}

