.xdgblr-shell {
  --xdgblr-bg: #f5f7fb;
  --xdgblr-surface: #fff;
  --xdgblr-border: #dfe6f0;
  --xdgblr-text: #172033;
  --xdgblr-muted: #687386;
  --xdgblr-accent: #2563eb;
  max-width: 920px;
  margin: 28px auto;
  color: var(--xdgblr-text);
  font-family: inherit;
}

.xdgblr-shell *,
.xdgblr-shell *::before,
.xdgblr-shell *::after {
  box-sizing: border-box;
}

.xdgblr-card {
  overflow: hidden;
  border: 1px solid var(--xdgblr-border);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, var(--xdgblr-bg));
  box-shadow: 0 20px 55px rgba(15, 23, 42, .1);
}

.xdgblr-head {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--xdgblr-border);
  background: rgba(255, 255, 255, .82);
}

.xdgblr-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--xdgblr-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.xdgblr-head h2 {
  margin: 0 0 9px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.xdgblr-head p {
  max-width: 700px;
  margin: 0;
  color: var(--xdgblr-muted);
  font-size: 14px;
  line-height: 1.75;
}

.xdgblr-form {
  padding: 24px 30px 28px;
}

.xdgblr-form > label:first-child {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.xdgblr-input-row {
  display: flex;
  gap: 10px;
}

.xdgblr-input-row input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--xdgblr-border);
  border-radius: 12px;
  background: #fff;
  color: var(--xdgblr-text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.xdgblr-input-row input:focus {
  border-color: var(--xdgblr-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.xdgblr-input-row button {
  flex: 0 0 auto;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.xdgblr-input-row button:disabled {
  cursor: wait;
  opacity: .65;
}

.xdgblr-hint {
  margin: 10px 0 0;
  color: var(--xdgblr-muted);
  font-size: 12px;
}

.xdgblr-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.xdgblr-notice {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.6;
}

.xdgblr-notice.is-visible {
  display: block;
}

.xdgblr-notice.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.xdgblr-notice.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.xdgblr-status {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--xdgblr-border);
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.xdgblr-status[hidden] {
  display: none;
}

.xdgblr-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.xdgblr-status-head strong {
  font-size: 15px;
}

.xdgblr-status-head span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 750;
}

.xdgblr-status p {
  margin: 0;
  color: var(--xdgblr-text);
  font-size: 14px;
  line-height: 1.7;
}

.xdgblr-status .xdgblr-status-meta {
  margin-top: 8px;
  color: var(--xdgblr-muted);
  font-size: 11px;
}

body.night .xdgblr-shell {
  --xdgblr-bg: #121923;
  --xdgblr-surface: #1a2230;
  --xdgblr-border: #2b3648;
  --xdgblr-text: #edf2fa;
  --xdgblr-muted: #9ca8ba;
}

body.night .xdgblr-card,
body.night .xdgblr-head,
body.night .xdgblr-status {
  background: linear-gradient(145deg, #1a2230, #121923);
}

body.night .xdgblr-input-row input {
  border-color: #2b3648;
  background: #111827;
  color: #edf2fa;
}

body.night .xdgblr-notice.is-success {
  border-color: #166534;
  background: #10281a;
  color: #86efac;
}

body.night .xdgblr-notice.is-error {
  border-color: #7f1d1d;
  background: #2a1215;
  color: #fca5a5;
}

@media (max-width: 640px) {
  .xdgblr-head,
  .xdgblr-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .xdgblr-head h2 {
    font-size: 22px;
  }

  .xdgblr-input-row {
    flex-direction: column;
  }

  .xdgblr-input-row button {
    height: 46px;
  }
}
