/* Share panel styles for well-known game pages (Inter / CEDS blue) */
.share-panel {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1.25rem;
  padding: 0;
}

.share-panel[hidden] {
  display: none !important;
}

.share-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1rem 1.5rem;
  align-items: end;
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  border-top: 5px solid #1E4B8B;
  padding: 1.05rem 2.75rem 1.15rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.share-panel__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #767676;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.share-panel__close:hover,
.share-panel__close:focus-visible {
  background: rgba(30, 75, 139, 0.12);
  color: #163A6C;
  outline: none;
}

.share-panel__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1E4B8B;
  font-family: 'Inter', sans-serif;
}

.share-panel__title {
  margin: 0 0 0.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E4B8B;
}

.share-panel__lede {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #767676;
  font-family: 'Inter', sans-serif;
}

.share-panel__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #3B3B3B;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.share-panel__row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.share-panel__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.65rem 0.8rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #3B3B3B;
  background: #F5F5F5;
}

.share-panel__input:focus {
  outline: none;
  border-color: #1E4B8B;
  box-shadow: 0 0 0 3px rgba(30, 75, 139, 0.2);
}

.share-panel__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  background-color: #1E4B8B !important;
  border-color: #1E4B8B !important;
}

.share-panel__btn:hover {
  background-color: #163A6C !important;
  border-color: #163A6C !important;
}

.share-panel__status {
  min-height: 1.25rem;
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #767676;
  font-family: 'Inter', sans-serif;
}

.share-panel__status.is-success {
  color: #007A33;
  font-weight: 600;
}

.share-panel__status.is-error {
  color: #C41E3A;
  font-weight: 600;
}

@media (max-width: 800px) {
  .share-panel__inner {
    grid-template-columns: 1fr;
  }
}
