:root {
  --fclb-bg: #07100f;
  --fclb-panel: #0c1715;
  --fclb-panel-deep: #050908;
  --fclb-line: rgba(255, 255, 255, 0.1);
  --fclb-muted: #84918e;
  --fclb-led: #ffc449;
  --fclb-led-soft: rgba(255, 196, 73, 0.2);
  --fclb-accent: #0b8c7f;
  --fclb-accent-soft: rgba(11, 140, 127, 0.18);
  --fclb-white: #f4f7f6;
  --fclb-status: #72f5bd;
  --fclb-status-soft: rgba(114, 245, 189, 0.1);
  --fclb-display-font: "Courier New", Consolas, monospace;
}

.fclb-shell,
.fclb-shell * {
  box-sizing: border-box;
}

.fclb-shell {
  width: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fclb-home-mount,
.fclb-mobile-mount {
  display: none !important;
}

.fclb-home-frame {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.fclb-theme-terminal {
  --fclb-bg: #020a05;
  --fclb-panel: #06140a;
  --fclb-panel-deep: #010603;
  --fclb-led: #46f58f;
  --fclb-led-soft: rgba(70, 245, 143, 0.19);
  --fclb-accent: #08753d;
  --fclb-accent-soft: rgba(8, 117, 61, 0.2);
  --fclb-status: #8bffbb;
  --fclb-status-soft: rgba(139, 255, 187, 0.1);
}

.fclb-theme-teal {
  --fclb-bg: #051412;
  --fclb-panel: #0b2420;
  --fclb-panel-deep: #030c0b;
  --fclb-led: #54efcf;
  --fclb-led-soft: rgba(84, 239, 207, 0.19);
  --fclb-accent: #078b7e;
  --fclb-accent-soft: rgba(7, 139, 126, 0.22);
  --fclb-status: #9bffe8;
  --fclb-status-soft: rgba(155, 255, 232, 0.1);
}

.fclb-theme-ice {
  --fclb-bg: #06101d;
  --fclb-panel: #0b1c31;
  --fclb-panel-deep: #030813;
  --fclb-led: #65caff;
  --fclb-led-soft: rgba(101, 202, 255, 0.2);
  --fclb-accent: #176bb0;
  --fclb-accent-soft: rgba(23, 107, 176, 0.22);
  --fclb-status: #7ef0ff;
  --fclb-status-soft: rgba(126, 240, 255, 0.1);
}

.fclb-theme-crimson {
  --fclb-bg: #130507;
  --fclb-panel: #260b10;
  --fclb-panel-deep: #090204;
  --fclb-led: #ff6678;
  --fclb-led-soft: rgba(255, 102, 120, 0.2);
  --fclb-accent: #a71931;
  --fclb-accent-soft: rgba(167, 25, 49, 0.22);
  --fclb-status: #ffb462;
  --fclb-status-soft: rgba(255, 180, 98, 0.1);
}

.fclb-theme-violet {
  --fclb-bg: #0d0716;
  --fclb-panel: #1b102b;
  --fclb-panel-deep: #07040c;
  --fclb-led: #c993ff;
  --fclb-led-soft: rgba(201, 147, 255, 0.2);
  --fclb-accent: #7137ae;
  --fclb-accent-soft: rgba(113, 55, 174, 0.22);
  --fclb-status: #75f5d3;
  --fclb-status-soft: rgba(117, 245, 211, 0.1);
}

.fclb-theme-light {
  --fclb-bg: #e8eeec;
  --fclb-panel: #f8fbfa;
  --fclb-panel-deep: #dfe7e4;
  --fclb-line: rgba(14, 38, 33, 0.13);
  --fclb-muted: #67746f;
  --fclb-led: #087b70;
  --fclb-led-soft: rgba(8, 123, 112, 0.14);
  --fclb-accent: #078b7e;
  --fclb-accent-soft: rgba(7, 139, 126, 0.13);
  --fclb-white: #14231f;
  --fclb-status: #087848;
  --fclb-status-soft: rgba(8, 120, 72, 0.09);
}

.fclb-font-matrix {
  --fclb-display-font: "Courier New", Courier, monospace;
}

.fclb-font-terminal {
  --fclb-display-font: Consolas, "Lucida Console", Monaco, monospace;
}

.fclb-font-modern {
  --fclb-display-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fclb-font-condensed {
  --fclb-display-font: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

.fclb-font-system {
  --fclb-display-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fclb-board {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 0%, var(--fclb-accent-soft), transparent 35%),
    linear-gradient(145deg, var(--fclb-panel) 0%, var(--fclb-panel-deep) 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.19), inset 0 1px rgba(255, 255, 255, 0.05);
  color: var(--fclb-white);
}

.fclb-board::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 0.8px, transparent 1px);
  background-size: 5px 5px;
  content: "";
}

.fclb-board > * {
  position: relative;
  z-index: 1;
}

.fclb-board__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--fclb-line);
  background: var(--fclb-bg);
}

.fclb-board__title {
  margin: 0;
  color: var(--fclb-white);
  font-size: clamp(18px, 2.1vw, 27px);
  font-family: var(--fclb-display-font);
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.fclb-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fclb-muted);
  font: 700 11px/1 var(--fclb-display-font);
  letter-spacing: 0.15em;
}

.fclb-live__dot,
.fclb-ticker__label > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--fclb-status);
  box-shadow: 0 0 0 4px var(--fclb-status-soft), 0 0 12px var(--fclb-status);
  animation: fclb-pulse 1.7s ease-in-out infinite;
}

.fclb-board__header,
.fclb-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(260px, 2.3fr) minmax(120px, 0.75fr);
  column-gap: 16px;
  align-items: center;
}

.fclb-board__header {
  min-height: 39px;
  padding: 0 24px;
  border-bottom: 1px solid var(--fclb-line);
  color: var(--fclb-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.fclb-row {
  position: relative;
  min-height: 67px;
  padding: 9px 24px;
  border-bottom: 1px solid var(--fclb-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005));
  color: inherit;
  text-decoration: none !important;
  transition: background-color 180ms ease, transform 180ms ease;
}

.fclb-row:last-child {
  border-bottom: 0;
}

.fclb-row::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--fclb-led);
  border-right: 1px solid var(--fclb-led);
  opacity: 0;
  content: "";
  transform: translate(-5px, -50%) rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.fclb-row:hover,
.fclb-row:focus-visible {
  background-color: var(--fclb-led-soft);
  color: inherit;
  outline: 0;
}

.fclb-row:hover::after,
.fclb-row:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

.fclb-cell {
  min-width: 0;
  font-family: var(--fclb-display-font);
  text-transform: uppercase;
}

.fclb-cell--brand {
  overflow: hidden;
  color: var(--fclb-led);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-shadow: 0 0 12px var(--fclb-led-soft);
  white-space: nowrap;
}

.fclb-cell--release {
  overflow: hidden;
  color: var(--fclb-white);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fclb-cell--status {
  justify-self: start;
  border: 1px solid var(--fclb-status);
  border-radius: 5px;
  padding: 6px 8px;
  background: var(--fclb-status-soft);
  color: var(--fclb-status);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.fclb-board__empty {
  padding: 34px 24px;
  color: var(--fclb-led);
  font: 700 13px/1.5 var(--fclb-display-font);
  letter-spacing: 0.08em;
  text-align: center;
}

.fclb-row.is-flipping {
  animation: fclb-flip-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fclb-row-index, 0) * 38ms);
}

.fclb-ticker {
  display: flex;
  width: 100%;
  min-height: 39px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--fclb-bg);
  color: var(--fclb-white);
}

.fclb-ticker__label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 0 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--fclb-accent);
  color: #fff;
  font: 800 10px/1 var(--fclb-display-font);
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.fclb-ticker__label > span {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.8);
}

.fclb-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.fclb-ticker__track {
  display: flex;
  width: max-content;
  animation: fclb-scroll var(--fclb-speed, 48s) linear infinite;
}

.fclb-ticker:hover .fclb-ticker__track,
.fclb-ticker:focus-within .fclb-ticker__track {
  animation-play-state: paused;
}

.fclb-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fclb-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  padding: 0 22px;
  color: var(--fclb-white) !important;
  font: 700 11px/1 var(--fclb-display-font);
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.fclb-ticker__item::after {
  width: 4px;
  height: 4px;
  margin-left: 11px;
  border-radius: 50%;
  background: var(--fclb-led);
  box-shadow: 0 0 8px var(--fclb-led);
  content: "";
}

.fclb-ticker__item strong {
  color: var(--fclb-led);
  font: inherit;
}

.fclb-ticker__item em {
  color: var(--fclb-status);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.fclb-ticker__item:hover span,
.fclb-ticker__item:focus-visible span {
  color: var(--fclb-led);
}

.fclb-mode-mobile {
  display: none;
}

.fclb-mobile-menu-item {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.fclb-mobile-feed {
  display: none;
  width: calc(100% - 20px);
  min-width: 230px;
  max-width: 430px;
  margin: 10px;
  overflow: hidden;
  border: 1px solid var(--fclb-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 0%, var(--fclb-accent-soft), transparent 42%),
    var(--fclb-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.05);
  color: var(--fclb-white);
  font-family: var(--fclb-display-font);
}

.fclb-mobile-feed__topline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 31px;
  padding: 0 10px;
  border-bottom: 1px solid var(--fclb-line);
  background: var(--fclb-panel);
}

.fclb-mobile-feed__topline > strong {
  overflow: hidden;
  color: var(--fclb-white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fclb-mobile-feed__live {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--fclb-status);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.fclb-mobile-feed__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fclb-status);
  box-shadow: 0 0 8px var(--fclb-status);
  animation: fclb-pulse 1.7s ease-in-out infinite;
}

.fclb-mobile-feed__counter {
  color: var(--fclb-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fclb-mobile-feed__counter b {
  color: var(--fclb-led);
  font-weight: 800;
}

.fclb-mobile-feed__viewport {
  position: relative;
  height: 72px;
  overflow: hidden;
  perspective: 500px;
}

.fclb-mobile-item {
  position: absolute !important;
  inset: 0;
  display: none !important;
  grid-template-columns: minmax(58px, 0.48fr) minmax(0, 1.52fr);
  grid-template-rows: 1fr auto;
  gap: 3px 9px;
  align-items: center;
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent) !important;
  box-shadow: none !important;
  color: var(--fclb-white) !important;
  text-decoration: none !important;
  transform-origin: top center;
}

.fclb-mobile-item.is-active,
.fclb-mobile-item.is-leaving {
  display: grid !important;
}

.fclb-mobile-item.is-active {
  z-index: 2;
  animation: fclb-mobile-flip-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fclb-mobile-item.is-leaving {
  z-index: 1;
  animation: fclb-mobile-flip-out 500ms cubic-bezier(0.64, 0, 0.78, 0) both;
}

.fclb-mobile-item__brand {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  color: var(--fclb-led) !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px var(--fclb-led-soft);
  white-space: nowrap;
}

.fclb-mobile-item__title {
  display: -webkit-box;
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  color: var(--fclb-white) !important;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fclb-mobile-item__status {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--fclb-status);
  border-radius: 3px;
  padding: 3px 4px;
  background: var(--fclb-status-soft);
  color: var(--fclb-status) !important;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes fclb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.38; }
}

@keyframes fclb-scroll {
  to { transform: translateX(-50%); }
}

@keyframes fclb-flip-in {
  0% { opacity: 0; transform: perspective(500px) rotateX(-58deg); transform-origin: top; }
  100% { opacity: 1; transform: perspective(500px) rotateX(0); transform-origin: top; }
}

@keyframes fclb-mobile-flip-in {
  0% { opacity: 0; transform: translateY(100%) rotateX(-42deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes fclb-mobile-flip-out {
  0% { opacity: 1; transform: translateY(0) rotateX(0); }
  100% { opacity: 0; transform: translateY(-100%) rotateX(42deg); }
}

@media (max-width: 782px) {
	.fclb-mode-mobile,
	.fclb-mobile-feed {
	  display: block;
	}

	.fclb-hide-desktop-feed-mobile .fclb-board,
	.fclb-hide-desktop-feed-mobile .fclb-ticker {
	  display: none !important;
	}

	.fclb-mobile-fallback {
	  position: relative;
	  z-index: 50;
	  max-width: 450px;
	  margin-right: auto;
	  margin-left: auto;
	}

	.fclb-home-frame {
	  padding-right: 12px;
	  padding-left: 12px;
	}

  .fclb-board {
    border-radius: 12px;
  }

  .fclb-board__topline {
    min-height: 62px;
    padding: 15px 16px;
  }

  .fclb-live {
    padding: 6px 8px;
  }

  .fclb-board__header {
    display: none;
  }

  .fclb-row {
    grid-template-columns: minmax(75px, 0.55fr) minmax(0, 1.45fr);
    gap: 5px 11px;
    min-height: 80px;
    padding: 12px 16px;
  }

  .fclb-cell--brand {
    grid-column: 1;
    grid-row: 1;
  }

  .fclb-cell--release {
    grid-column: 2;
    grid-row: 1 / span 2;
    overflow: visible;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
  }

  .fclb-cell--status {
    grid-column: 1;
    grid-row: 2;
    padding: 5px 6px;
    font-size: 8px;
  }

  .fclb-ticker__label {
    padding: 0 11px;
    font-size: 0;
  }

  .fclb-ticker__label::after {
    font-size: 9px;
    content: "LIVE";
  }
}

@media (prefers-reduced-motion: reduce) {
  .fclb-live__dot,
  .fclb-ticker__label > span,
  .fclb-ticker__track,
  .fclb-row.is-flipping,
  .fclb-mobile-feed__live i,
  .fclb-mobile-item.is-active,
  .fclb-mobile-item.is-leaving {
    animation: none !important;
  }

  .fclb-ticker__viewport {
    overflow-x: auto;
  }

  .fclb-ticker__group[aria-hidden="true"] {
    display: none;
  }
}
