.beta-notice {
  position: fixed;
  right: 12px;
  z-index: 1045;
  width: min(300px, calc(100vw - 24px));
  padding: 12px 36px 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(202, 138, 4, 0.45);
  background: rgba(254, 249, 195, 0.92);
  color: #422006;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.beta-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.beta-notice__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #78350f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beta-notice__close:hover,
.beta-notice__close:focus-visible {
  background: rgba(202, 138, 4, 0.18);
  color: #451a03;
}

.beta-notice__title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.beta-notice__list {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-size: 0.82rem;
  line-height: 1.4;
}

.beta-notice__list li + li {
  margin-top: 4px;
}

.beta-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.beta-notice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 8px;
  border: 1px solid rgba(180, 83, 9, 0.55);
  background: rgba(255, 255, 255, 0.55);
  color: #78350f;
  cursor: pointer;
  text-align: center;
}

.beta-notice__btn:hover,
.beta-notice__btn:focus-visible {
  background: rgba(255, 255, 255, 0.85);
  border-color: #b45309;
  color: #451a03;
}

.beta-notice__btn--primary {
  background: rgba(251, 191, 36, 0.55);
  border-color: rgba(180, 83, 9, 0.7);
}

.beta-status-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.beta-status-chip:hover,
.beta-status-chip:focus-visible {
  filter: brightness(0.97);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.beta-status-chip--closed {
  color: #4c1d95;
  background: rgba(237, 233, 254, 0.95);
  border-color: rgba(139, 92, 246, 0.45);
}

.beta-status-chip--open {
  color: #9a3412;
  background: rgba(254, 243, 199, 0.95);
  border-color: rgba(245, 158, 11, 0.55);
}

.beta-status-chip--live {
  color: #14532d;
  background: rgba(220, 252, 231, 0.95);
  border-color: rgba(34, 197, 94, 0.5);
}

.header-user-end-cluster .beta-status-chip,
.auth-guest-actions .beta-status-chip {
  align-self: center;
}

@media (max-width: 720px) {
  #beta-status-chip {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 12;
    margin: 0;
    font-size: 0.65rem;
    padding: 3px 7px;
    max-width: calc(50vw - 12px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .beta-notice {
    right: 10px;
    width: min(280px, calc(100vw - 20px));
    padding: 10px 34px 10px 12px;
  }

  .beta-notice__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .beta-notice__btn {
    width: 100%;
  }
}
