discord-widget {
  --color: #5865f2;
  --bgColor: #171b22;
  --membersColor: #949ba4;
  --footerColor: #282b30;
  --textColor: #fff;
  --buttonColor: #4752c4;
  --statusColor: #858585;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  border: 1px solid rgba(138, 107, 72, 0.72);
  border-radius: 6px;
  overflow: hidden;
  font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.78);
  margin-bottom: 10px;
}

discord-widget ::-webkit-scrollbar {
  width: 20px;
}

discord-widget ::-webkit-scrollbar-track {
  background: var(--bgColor);
}

discord-widget ::-webkit-scrollbar-thumb {
  background: #222;
  border: 8px solid var(--bgColor);
  border-radius: 10px;
}

discord-widget ::-webkit-scrollbar-thumb:hover {
  background: var(--color);
}

discord-widget widget-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: var(--color);
  padding: 14px 12px;
}

discord-widget widget-header widget-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  line-height: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

discord-widget widget-header widget-logo .discord-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

discord-widget widget-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 42px;
  padding: 7px 6px;
  background-color: var(--footerColor);
  box-shadow: 0 -1px 18px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

discord-widget widget-footer widget-button-join {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 145px;
  height: 32px;
  border-radius: 6px;
  background-color: #5865f2;
  color: var(--textColor) !important;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s linear, background 0.2s linear;
}

discord-widget widget-footer widget-button-join:hover {
  background-color: #4752c4;
  cursor: pointer;
}

.FacebookPointsWidget {
  box-sizing: border-box;
  width: 175px;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 1px solid rgba(138, 107, 72, 0.72);
  border-radius: 6px;
  background: #171b22;
  color: #fff;
  font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.78);
}

.FacebookPointsHeader {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  background: #155fbd;
  color: #fff;
  font-weight: 700;
  line-height: 20px;
}

.FacebookPointsIcon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.FacebookPointsFooter {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 7px 6px;
  background: #282b30;
  box-shadow: 0 -1px 18px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.FacebookPointsButton {
  box-sizing: border-box;
  width: 145px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: #1877f2;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s linear;
}

.FacebookPointsButton:hover {
  background: #0d65d9;
}

.FacebookPointsButton:focus-visible,
.FacebookPointsClose:focus-visible,
.FacebookPointsLink:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.FacebookPointsModal[hidden] {
  display: none;
}

.FacebookPointsModal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.76);
}

.FacebookPointsDialog {
  position: relative;
  box-sizing: border-box;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(190, 150, 70, 0.68);
  border-radius: 12px;
  background: linear-gradient(180deg, #25211b 0%, #13110e 100%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.72), inset 0 0 24px rgba(255, 221, 120, 0.05);
  color: #eadfca;
  font-family: Verdana, Arial, sans-serif;
  text-align: center;
}

.FacebookPointsClose {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #eadfca;
  cursor: pointer;
}

.FacebookPointsClose:hover {
  background: rgba(255, 255, 255, 0.15);
}

.FacebookPointsClose svg {
  width: 20px;
  height: 20px;
}

.FacebookPointsDialogIcon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
}

.FacebookPointsDialogIcon svg {
  width: 30px;
  height: 30px;
}

.FacebookPointsDialog h2 {
  margin: 0 36px 12px;
  color: #ffdd78;
  font-size: 21px;
  line-height: 1.25;
}

.FacebookPointsDialog p {
  margin: 0 0 18px;
  color: #eadfca;
  font-size: 13px;
  line-height: 1.6;
}

.FacebookPointsLink {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  padding: 13px 16px;
  border: 1px solid rgba(24, 119, 242, 0.75);
  border-radius: 8px;
  background: #1877f2;
  color: #fff !important;
  line-height: 1.35;
  text-decoration: none !important;
  transition: background-color 0.2s linear, border-color 0.2s linear;
}

.FacebookPointsLink:hover {
  border-color: #57a0ff;
  background: #0d65d9;
}

.FacebookPointsLink span {
  font-size: 11px;
  opacity: 0.86;
}

.FacebookPointsLink strong {
  font-size: 15px;
}

.FacebookPointsModalOpen {
  overflow: hidden;
}

@media screen and (max-width: 899px) {
  .FacebookPointsWidget {
    width: 175px;
    margin-top: 10px;
  }

  .FacebookPointsButton {
    width: 145px;
    min-height: 38px;
  }
}

@media screen and (max-width: 480px) {
  .FacebookPointsModal {
    align-items: flex-end;
    padding: 12px;
  }

  .FacebookPointsDialog {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .FacebookPointsButton,
  .FacebookPointsLink {
    transition: none;
  }
}
