.beta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.22rem 0.58rem;
  border: 1px solid rgba(88, 99, 213, 0.28);
  border-radius: 999px;
  background: rgba(238, 240, 255, 0.92);
  color: #4955c7;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.beta-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(88, 99, 213, 0.2);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(244, 245, 255, 0.96), rgba(255, 255, 255, 0.9));
  color: #34394f;
  font-size: 0.9rem;
  line-height: 1.65;
}

.beta-notice strong {
  color: #252a42;
}

.beta-notice a {
  color: #4955c7;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.beta-notice a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.beta-inline {
  color: #5d6276;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .site-header .beta-chip {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .site-header .beta-chip {
    display: none;
  }

  .beta-notice {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .beta-notice a {
    white-space: normal;
  }
}
