@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Book.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  --red: #c5050c;
  --red-dark: #8f0006;
  --ink: #0b0d10;
  --ink-soft: rgba(11, 13, 16, 0.86);
  --paper: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  font-family: "Gotham", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

body {
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.preview-bg {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1)),
    radial-gradient(circle at 30% 20%, rgba(197, 5, 12, 0.34), transparent 28%),
    linear-gradient(140deg, #2b3037, #11151b 48%, #262a31);
}

.safe-label {
  position: absolute;
  top: 18px;
  right: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lower-third {
  position: absolute;
  left: 90px;
  bottom: 92px;
  display: flex;
  min-width: 680px;
  max-width: 1180px;
  min-height: 128px;
  filter: drop-shadow(var(--shadow));
}

.lower-third__bar {
  width: 18px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.lower-third__content {
  min-width: 0;
  padding: 23px 34px 25px;
  background: linear-gradient(90deg, rgba(11, 13, 16, 0.95), rgba(11, 13, 16, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 8px;
  background: var(--red);
  border-radius: 4px;
  color: var(--paper);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.name {
  margin: 0;
  color: var(--paper);
  font-size: clamp(44px, 4.1vw, 78px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  white-space: nowrap;
}

.role {
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * Tickers (ticker.html, composite-schedule.html, upcoming-promotions.html)
 * Sized for a 1920x1080 canvas that is often watched at 720p: nothing below 20px.
 * Motion is driven by crawl.js: --crawl-distance is one group's width in px and
 * --crawl-duration is that distance at the requested pixels per second.
 * ------------------------------------------------------------------------- */

/* Vertical card rotation (rotate.js): one card on screen, slid by the Web Animations API. */
.rotate {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rotate__card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@keyframes crawl-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--crawl-distance, 0px)), 0, 0);
  }
}

.crawl__rail {
  display: flex;
  width: max-content;
  height: 100%;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

[data-motion="crawl"] .crawl__rail {
  animation: crawl-loop var(--crawl-duration, 40s) linear infinite;
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #15181c 0%, var(--ink) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.28);
}

.ticker__label {
  z-index: 2;
  display: grid;
  min-width: 200px;
  place-items: center;
  padding: 0 32px;
  background: var(--red);
  color: var(--paper);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ticker__group {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
  align-items: center;
}

.ticker__text {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 64px 0 40px;
  color: var(--paper);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.schedule-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 92px;
  overflow: hidden;
  background: linear-gradient(180deg, #15181c 0%, #0b0d10 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.24);
  contain: layout paint;
  isolation: isolate;
}

.schedule-ticker__label {
  z-index: 2;
  display: flex;
  width: 112px;
  min-width: 112px;
  align-items: stretch;
  justify-content: center;
  background: var(--red);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 8px 0 18px rgba(0, 0, 0, 0.2);
}

.schedule-ticker__brand-panel {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 10px;
  background: var(--red);
}

.schedule-ticker__brand-panel img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.schedule-ticker__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.schedule-ticker__viewport::before,
.schedule-ticker__viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 48px;
  content: "";
  pointer-events: none;
}

.schedule-ticker__viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 21, 25, 0.96), transparent);
}

.schedule-ticker__viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(14, 16, 20, 0.96), transparent);
}

[data-motion="static"] .schedule-ticker__viewport::before,
[data-motion="static"] .schedule-ticker__viewport::after,
[data-motion="rotate"] .schedule-ticker__viewport::before,
[data-motion="rotate"] .schedule-ticker__viewport::after {
  display: none;
}

.schedule-ticker__probe {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  visibility: hidden;
  pointer-events: none;
}

.schedule-ticker__group {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
  align-items: center;
}

.schedule-event {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 44px;
  color: var(--paper);
  white-space: nowrap;
}

.schedule-event::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 3px;
  height: 44px;
  background: var(--red);
  border-radius: 2px;
  content: "";
  transform: translateY(-50%);
}

[data-motion="static"] .schedule-event:last-child::after,
[data-motion="rotate"] .schedule-event:last-child::after {
  display: none;
}

.schedule-event__info {
  display: grid;
  gap: 7px;
}

.schedule-event__when {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.schedule-event__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 8px;
  background: var(--red);
  border-radius: 4px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-event__live::before {
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-radius: 50%;
  content: "";
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  50% {
    opacity: 0.25;
  }
}

.schedule-event__tag {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-event__tag--canceled,
.schedule-event__tag--postponed {
  border-color: #ff8a8f;
  color: #ffc9cb;
}

.schedule-event[data-status="canceled"] .schedule-event__matchup {
  opacity: 0.6;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.schedule-event__matchup {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--paper);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.schedule-event__sport {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.schedule-event__direction {
  color: rgba(255, 255, 255, 0.78);
  font-size: 26px;
}

.schedule-event__opponent {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.schedule-event__opponent--event::before {
  margin-right: 3px;
  color: var(--red);
  font-weight: 900;
  content: "/";
}

.schedule-event__ranking {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.66em;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.schedule-ticker__fallback {
  position: absolute;
  top: 50%;
  left: 44px;
  color: var(--paper);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
}

.schedule-ticker[data-state="ready"] .schedule-ticker__fallback {
  display: none;
}

.schedule-ticker[data-state="loading"] .rotate,
.schedule-ticker[data-state="error"] .rotate,
.schedule-ticker[data-state="empty"] .rotate,
.schedule-ticker[data-state="loading"] .crawl__rail,
.schedule-ticker[data-state="error"] .crawl__rail,
.schedule-ticker[data-state="empty"] .crawl__rail {
  visibility: hidden;
}

.promo-event__info {
  gap: 8px;
}

.promo-event__context {
  color: rgba(255, 255, 255, 0.82);
}

.promo-event__title {
  position: relative;
  padding-left: 16px;
  color: var(--paper);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}

.promo-event__title::before {
  position: absolute;
  top: 0.06em;
  bottom: 0.06em;
  left: 0;
  width: 4px;
  background: var(--red);
  content: "";
}

.countdown {
  position: absolute;
  right: 88px;
  bottom: 88px;
  width: 520px;
  padding: 28px 32px 30px;
  background: rgba(11, 13, 16, 0.9);
  border: 1px solid var(--line);
  border-top: 8px solid var(--red);
  box-shadow: var(--shadow);
}

.countdown__label {
  color: var(--muted);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown__time {
  margin-top: 4px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  font-size: 104px;
  font-weight: 950;
  line-height: 0.96;
}

.scorebug {
  position: absolute;
  left: 72px;
  top: 72px;
  display: grid;
  grid-template-columns: 132px 84px 132px 84px auto;
  min-height: 78px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.team,
.score,
.game-state {
  display: grid;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.team {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.team--home {
  background: var(--red);
}

.score {
  justify-items: center;
  font-size: 42px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.game-state {
  min-width: 168px;
  gap: 2px;
  padding: 0 18px;
  border-right: 0;
  font-weight: 850;
}

.period {
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clock {
  color: var(--paper);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.slate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(197, 5, 12, 0.2), transparent 38%, rgba(197, 5, 12, 0.18)),
    linear-gradient(145deg, #11151b, #1b2027 58%, #080a0d);
}

.slate__panel {
  width: min(1180px, calc(100vw - 180px));
  padding: 68px 78px 74px;
  border-left: 16px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.slate__status {
  color: #ffccd0;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slate__title {
  margin: 14px 0 0;
  color: var(--paper);
  font-size: clamp(76px, 8vw, 148px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.slate__subtitle {
  max-width: 860px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(30px, 3vw, 52px);
  font-weight: 750;
  line-height: 1.08;
}

.press-conference {
  position: relative;
  display: grid;
  width: min(1920px, 100vw);
  height: min(1080px, 100vh);
  aspect-ratio: 16 / 9;
  margin: auto;
  overflow: hidden;
  isolation: isolate;
  background-color: #7b1d17;
  background-image: url("assets/weekly-presser-template.png?v=1");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--paper);
}

.press-conference::before,
.press-conference::after {
  display: none;
  position: absolute;
  inset: -24%;
  z-index: -3;
  content: "";
  transform: rotate(-2deg);
  pointer-events: none;
}

.press-conference::before {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 16%,
      rgba(197, 5, 12, 0.78) 16% 26%,
      transparent 26% 42%
    ),
    linear-gradient(135deg, #9b2a1e 0%, #701711 60%, #55100d 100%);
}

.press-conference::after {
  z-index: -2;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 27%,
      rgba(47, 5, 4, 0.28) 27% 34%,
      transparent 34% 57%
    ),
    radial-gradient(circle at 52% 48%, transparent 0 42%, rgba(32, 3, 2, 0.24) 100%);
}

.press-conference__grain,
.press-conference__vignette {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.press-conference__grain {
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.17) 0.65px, transparent 0.8px);
  background-size: 4px 4px;
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

.press-conference__vignette {
  z-index: 0;
  background: radial-gradient(circle at center, transparent 42%, rgba(38, 3, 2, 0.22) 100%);
}

.press-conference__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
}

.press-conference__schedule {
  position: absolute;
  right: 0;
  left: 0;
  display: grid;
  width: 100%;
  gap: clamp(8px, 0.9vw, 14px);
  margin: 0;
  bottom: clamp(54px, 7.5vh, 82px);
}

.press-conference__date {
  color: #ffd9d5;
  font-size: clamp(14px, 1.1vw, 21px);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.press-conference__rows {
  display: grid;
  width: fit-content;
  max-width: calc(100% - 32px);
  gap: clamp(6px, 0.6vw, 12px);
  margin: 0 auto;
}

.press-conference__row {
  display: grid;
  grid-template-columns: clamp(92px, 9vw, 154px) minmax(0, 1fr);
  gap: clamp(10px, 0.7vw, 14px);
  align-items: baseline;
  text-align: left;
}

.press-conference__time {
  color: #ffd9d5;
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.05;
  text-align: right;
  white-space: nowrap;
}

.press-conference__person {
  min-width: 0;
  color: #fffdfc;
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 500;
  line-height: 1.05;
}

.press-conference__person strong {
  font-weight: 900;
}

.press-conference__comma {
  color: #fffdfc;
}

.press-builder {
  max-width: 1080px;
}

.press-builder__rows {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 18px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
}

.press-builder__rows legend {
  padding: 0 7px;
  color: #343b46;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.press-builder__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1.35fr) minmax(180px, 1fr);
  gap: 12px;
}

.press-builder__row label {
  display: grid;
  gap: 7px;
  color: #343b46;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.press-builder__row input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd5de;
  border-radius: 6px;
  background: #ffffff;
  color: #11151b;
  font: inherit;
  font-size: 17px;
}

.press-builder__note {
  color: #656d78;
  font-size: 14px;
  line-height: 1.45;
}

.tweet-widget {
  position: absolute;
  right: 88px;
  bottom: 88px;
  display: grid;
  width: min(560px, calc(100vw - 176px));
  gap: 12px;
  transform-origin: 70% 100%;
}

.tweet-label {
  width: fit-content;
  margin-left: 12px;
  padding: 7px 10px;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  color: var(--paper);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(4px);
  animation: tweet-label-in 420ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

.tweet-shell {
  min-height: 220px;
  color: #11151b;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.86, 0.2, 1), filter 260ms ease;
}

.tweet-widget--loading .tweet-shell {
  opacity: 0.34;
  transform: translateY(10px) scale(0.985);
  filter: blur(1px);
}

.tweet-widget--ready .tweet-shell {
  animation: tweet-card-in 520ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

.tweet-embed-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  outline: 1px solid rgba(255, 255, 255, 0.62);
  outline-offset: -1px;
  transition: height 320ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.tweet-embed-frame--masked::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--tweet-action-mask, 86px);
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  content: "";
  pointer-events: none;
}

.tweet-action-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

.tweet-shell iframe {
  display: block !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.tweet-shell--locked iframe {
  pointer-events: none !important;
}

.tweet-shell--cropped iframe {
  transform: translateZ(0);
}

.tweet-shell .twitter-tweet {
  margin: 0 auto !important;
}

.tweet-fallback {
  display: grid;
  gap: 14px;
  padding: 20px 22px 18px;
  border: 1px solid #cfd9de;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
  color: #11151b;
  animation: tweet-card-in 520ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

.tweet-fallback__header {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 12px;
  align-items: center;
}

.tweet-fallback__avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #11151b;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.tweet-fallback__identity {
  min-width: 0;
}

.tweet-fallback__name {
  overflow: hidden;
  color: #0f1419;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tweet-fallback__handle,
.tweet-fallback__meta {
  color: #536471;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.tweet-fallback__mark {
  width: 24px;
  height: 24px;
  fill: #0f1419;
}

.tweet-fallback__text {
  color: #0f1419;
  font-size: 24px;
  font-weight: 450;
  line-height: 1.25;
}

.tweet-fallback__url {
  overflow-wrap: anywhere;
  padding-top: 2px;
  color: #1d9bf0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.tweet-progress {
  width: calc(100% - 24px);
  height: 4px;
  margin: -2px 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 17, 23, 0.16);
  opacity: 0.82;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.tweet-progress__bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ffccd0);
  transform-origin: left center;
  animation: tweet-progress var(--tweet-interval, 12s) linear both;
}

@keyframes tweet-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.975);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tweet-label-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(4px);
  }
}

@keyframes tweet-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tweet-shell,
  .tweet-widget--ready .tweet-shell,
  .tweet-label,
  .tweet-fallback,
  .crawl__rail,
  .schedule-event__live::before,
  .tweet-progress__bar {
    animation: none;
    transition: none;
  }
}

.builder {
  display: grid;
  max-width: 960px;
  gap: 14px;
}

.builder label {
  display: grid;
  gap: 7px;
  color: #343b46;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd5de;
  border-radius: 6px;
  background: #ffffff;
  color: #11151b;
  font: inherit;
  font-size: 17px;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.builder button,
.builder a,
.queue-form button,
.queue-form a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.builder a,
.queue-form a {
  background: #242932;
}

.builder output {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border: 1px solid #d9dde4;
  border-radius: 6px;
  background: #ffffff;
  color: #242932;
  font-size: 15px;
  line-height: 1.4;
}

.queue-layout {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
}

.queue-form,
.queue-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #ffffff;
}

.queue-form label {
  display: grid;
  gap: 7px;
  color: #343b46;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.queue-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd5de;
  border-radius: 6px;
  background: #ffffff;
  color: #11151b;
  font: inherit;
  font-size: 17px;
}

.button-secondary {
  background: #656d78 !important;
}

.queue-status {
  min-height: 20px;
  color: #4a5260;
  font-size: 14px;
  font-weight: 750;
}

.queue-status[data-tone="error"] {
  color: #b00008;
}

.queue-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.queue-panel__header h2 {
  margin: 0;
  color: #12161c;
  font-size: 22px;
}

.queue-panel__header span {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #12161c;
  color: #ffffff;
  font-weight: 900;
}

.queue-list {
  display: grid;
  gap: 10px;
}

.queue-empty {
  padding: 16px;
  border: 1px dashed #cfd5de;
  border-radius: 8px;
  color: #656d78;
  font-weight: 700;
}

.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #f8f9fb;
}

.queue-item__meta {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.queue-item__meta strong {
  color: #12161c;
  font-size: 16px;
}

.queue-item__meta span {
  overflow: hidden;
  color: #4a5260;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.queue-item__actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #242932;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.queue-item__actions button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.controls {
  min-height: 100vh;
  padding: 34px;
  background: #f4f5f7;
  color: #12161c;
}

.controls h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
}

.controls p {
  max-width: 820px;
  margin: 0 0 24px;
  color: #4a5260;
  font-size: 17px;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  padding: 18px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #ffffff;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #b00008;
  font-weight: 800;
  text-decoration: none;
}

.card code {
  display: block;
  overflow-wrap: anywhere;
  padding: 10px;
  border-radius: 6px;
  background: #f0f2f5;
  color: #242932;
  font-size: 13px;
}

@media (max-width: 900px) {
  .queue-layout {
    grid-template-columns: 1fr;
  }

  .queue-item {
    grid-template-columns: 1fr;
  }

  .press-builder__row {
    grid-template-columns: 1fr;
  }

  .press-conference__content {
    width: 100%;
  }

  .press-conference__row {
    grid-template-columns: minmax(112px, 0.5fr) minmax(0, 1.5fr);
  }

  .press-conference__schedule {
    width: 100%;
  }
}
