.tss-live-tab[hidden],
.tss-live-tab-drawer[hidden],
.tss-live-tab.tss-live-tab--suppressed {
  display: none !important;
}

.tss-live-tab {
  position: fixed;
  top: 415px;
  right: 0;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 30px;
  font-family: inherit;
}

@media (max-height: 604px) {
  .tss-live-tab {
    top: 56px;
  }
}
.tss-live-tab-dismiss,
.tss-live-tab-toggle {
  display: block;
  width: 30px;
  margin: 0;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.tss-live-tab-dismiss:focus-visible,
.tss-live-tab-toggle:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 0;
}

.tss-live-tab-dismiss {
  height: 24px;
  padding: 0;
  border-top-left-radius: 4px;
  background: #343a40;
  font-size: 18px;
  line-height: 24px;
}

.tss-live-tab-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  border-bottom-left-radius: 4px;
  background: #dc3545;
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tss-live-tab-toggle:hover {
  background: #c82333;
}

.tss-live-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.tss-live-tab-dot {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff;
  animation: tssLiveTabPulse 1.8s infinite;
}

@keyframes tssLiveTabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tss-live-tab-dot {
    animation: none;
  }
}
.tss-live-tab-drawer {
  position: absolute;
  top: 0;
  right: 36px;
  box-sizing: border-box;
  width: 240px;
  max-width: calc(100vw - 48px);
  padding: 14px 36px 14px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}

.tss-live-tab-link {
  color: #0e518b;
  font-weight: 600;
  text-decoration: underline;
}
.tss-live-tab-link:hover, .tss-live-tab-link:focus {
  color: #0a3c66;
}

.tss-live-tab-drawer-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #343a40;
  font-size: 22px;
  line-height: 28px;
  cursor: pointer;
}
