:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --button: #1768d8;
  --button-hover: #0f56ba;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body,
body * {
  text-shadow: none !important;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(23, 104, 216, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(16, 185, 129, 0.1), transparent 38%),
    var(--background);
  color: var(--foreground);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.donate-page {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px 24px 56px;
  text-align: left;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.site-brand__mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--button);
  color: #ffffff;
  font-size: 23px;
  line-height: 1;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 4px;
}

.language-switch__button {
  min-width: 48px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.language-switch__button--active {
  background: var(--button);
  color: #ffffff;
}

.donate-shell {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 42px;
}

.donate-story {
  display: grid;
  gap: 0;
  padding-top: 18px;
}

.donate-kicker {
  margin: 0 0 14px;
  color: var(--button);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.donate-title {
  margin: 0;
  max-width: 620px;
  color: var(--foreground);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
}

.donate-text {
  margin: 22px 0 16px;
  max-width: 610px;
  color: #475569;
  font-size: 20px;
  line-height: 1.6;
}

.donate-thanks {
  margin: 0 0 34px;
  max-width: 520px;
  color: #0f766e;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.goal-panel,
.support-panel,
.info-section {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.goal-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  margin-top: 6px;
  padding: 18px;
}

.goal-panel__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #334155;
  font-size: 15px;
  font-weight: 900;
}

.goal-panel__topline strong {
  color: var(--button);
  font-size: 24px;
  line-height: 1;
}

.goal-panel__bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.goal-panel__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--button), #10b981);
}

.goal-panel p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.support-panel {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.support-panel__header {
  display: grid;
  gap: 6px;
}

.support-panel__header h2,
.info-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.15;
}

.support-panel__header p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.donate-form {
  display: grid;
  width: 100%;
  justify-items: stretch;
  gap: 18px;
}

.wallet-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wallet-button {
  position: relative;
  display: flex;
  height: 148px;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
    #ffffff;
  color: #0f172a;
  cursor: pointer;
  padding: 13px;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.wallet-button::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1768d8, #10b981);
  opacity: 0.72;
}

.wallet-button__badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 9px;
}

.wallet-button__content {
  display: grid;
  gap: 7px;
}

.wallet-button__hint {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.wallet-button strong {
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: normal;
  white-space: nowrap;
}

.wallet-button:hover,
.wallet-button--active {
  border-color: var(--button);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.96)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(23, 104, 216, 0.18);
  transform: translateY(-1px);
}

.wallet-button--active::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.wallet-button--primary {
  border-color: rgba(148, 163, 184, 0.55);
}

.wallet-button--primary strong {
  font-size: 10.5px;
  letter-spacing: -0.01em;
}

.wallet-button--active .wallet-button__badge {
  background: #e0f2fe;
  color: #075985;
}

.bank-card-details {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(23, 104, 216, 0.22);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.bank-card-details__text {
  display: grid;
  gap: 8px;
}

.bank-card-details__text strong {
  color: #0f172a;
  font-size: 16px;
}

.bank-card-details__text span {
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bank-card-details__button {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #ffffff;
  color: #1768d8;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
  text-decoration: none;
}

.bank-card-details__button--primary {
  border-color: #1768d8;
  background: #1768d8;
  color: #ffffff;
}

.bank-card-details__qr {
  width: 112px;
  height: 112px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  padding: 6px;
}

.quick-amounts {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-amount {
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.quick-amount:hover,
.quick-amount--active {
  border-color: var(--button);
  background: #eff6ff;
  color: var(--button);
  box-shadow: 0 10px 24px rgba(23, 104, 216, 0.13);
  transform: translateY(-1px);
}

.rate-note {
  margin: -4px 0 0;
  width: 100%;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.custom-amount,
.admin-field {
  display: grid;
  width: 100%;
  gap: 8px;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.custom-amount input,
.admin-field input,
.admin-field textarea {
  min-height: 54px;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 18px;
  outline: none;
  padding: 0 16px;
}

.admin-field textarea {
  line-height: 1.5;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.custom-amount input:focus,
.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--button);
  box-shadow: 0 0 0 4px rgba(23, 104, 216, 0.12);
}

.form-error {
  margin: 0;
  width: 100%;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px;
  text-align: left;
}

.support-message {
  margin: -4px 0 0;
  width: 100%;
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  padding: 12px 14px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.info-section {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.purpose-list,
.updates-list {
  display: grid;
  gap: 12px;
}

.purpose-item,
.update-item {
  display: grid;
  gap: 6px;
  min-height: 76px;
  align-content: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.purpose-item:first-child,
.update-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.purpose-item {
  grid-template-columns: 42px 1fr;
  align-items: start;
}

.purpose-item span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-size: 13px;
  font-weight: 900;
}

.purpose-item p,
.update-item p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.update-item time {
  color: var(--button);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #334155;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--button);
}

.help-button,
.admin-save,
.admin-reset,
.admin-link {
  border-radius: 8px;
}

.help-button {
  display: inline-flex;
  min-height: 72px;
  width: 100%;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: var(--button);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(23, 104, 216, 0.28);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.help-button:hover {
  background: var(--button-hover);
  box-shadow: 0 22px 52px rgba(23, 104, 216, 0.34);
  transform: translateY(-2px);
}

.help-button:focus-visible,
.admin-save:focus-visible,
.admin-reset:focus-visible,
.admin-link:focus-visible,
.wallet-button:focus-visible,
.quick-amount:focus-visible,
.language-switch__button:focus-visible {
  outline: 3px solid rgba(23, 104, 216, 0.34);
  outline-offset: 5px;
}

.help-button__icon {
  font-size: 30px;
  line-height: 1;
}

.admin-page {
  min-height: 100vh;
  padding: 32px 20px;
}

.admin-page--login {
  display: grid;
  place-items: center;
}

.admin-panel {
  display: grid;
  width: min(100%, 860px);
  gap: 22px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 28px;
}

.admin-login-card {
  width: min(100%, 420px);
}

.admin-panel--locked {
  display: none !important;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-title {
  margin: 0;
  color: var(--foreground);
  font-size: 34px;
  line-height: 1.15;
}

.admin-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  padding: 0 16px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-wallets {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
}

.admin-visits {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  max-height: 360px;
  overflow-y: auto;
  padding-top: 22px;
  padding-right: 6px;
}

.admin-payments {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  max-height: 640px;
  overflow-y: auto;
  padding-top: 22px;
  padding-right: 6px;
}

.admin-blog {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
}

.admin-visits,
.admin-payments,
.admin-blog {
  scrollbar-color: rgba(23, 104, 216, 0.38) rgba(226, 232, 240, 0.72);
  scrollbar-width: thin;
}

.admin-visits h2,
.admin-wallets h2,
.admin-payments h2,
.admin-blog h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-visits > h2,
.admin-payments__header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -1px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  padding: 0 0 12px;
}

.admin-payments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-payment-summary div,
.admin-payment {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
}

.admin-payment-summary div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-payment-summary span,
.admin-payment__info span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-payment-summary strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.admin-payments__list {
  display: grid;
  gap: 10px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(23, 104, 216, 0.45) rgba(226, 232, 240, 0.72);
  scrollbar-width: thin;
}

.admin-payments__list::-webkit-scrollbar {
  width: 8px;
}

.admin-payments__list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.72);
}

.admin-payments__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(23, 104, 216, 0.45);
}

.admin-payment {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.admin-payment--confirmed {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(236, 253, 245, 0.74);
}

.admin-payment__info {
  display: grid;
  gap: 5px;
}

.admin-payment__info strong {
  color: #0f172a;
  font-size: 17px;
}

.admin-payment__status {
  color: #1768d8 !important;
}

.admin-payment--confirmed .admin-payment__status {
  color: #047857 !important;
}

.admin-payment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.admin-payment__actions .admin-save,
.admin-payment__actions .admin-reset,
.admin-payments__header .admin-reset {
  min-height: 40px;
  padding: 0 14px;
}

.admin-post-editor {
  display: grid;
  gap: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.86);
  padding: 16px;
}

.admin-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-posts-header strong {
  color: #0f172a;
  font-size: 16px;
}

.admin-posts-header span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.admin-field select {
  min-height: 54px;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 17px;
  outline: none;
  padding: 0 14px;
}

.admin-blog > .admin-wallet-row {
  align-items: end;
}

.admin-blog > .admin-wallet-row > .admin-field > span {
  display: flex;
  min-height: 36px;
  align-items: flex-end;
}

[data-wallet-row="0"],
[data-wallet-row="1"] {
  display: none;
}

.admin-upload__control {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  padding: 8px;
}

.admin-upload__control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-upload__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--button);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 0 14px;
  white-space: nowrap;
}

.admin-upload__name {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-posts-list {
  display: grid;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(23, 104, 216, 0.45) rgba(226, 232, 240, 0.72);
  scrollbar-width: thin;
}

.admin-post {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
  padding: 10px;
}

.admin-post--with-image {
  grid-template-columns: 180px 1fr;
}

.admin-post img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.admin-post__info {
  display: grid;
  gap: 5px;
}

.admin-post__info strong {
  color: #0f172a;
  font-size: 16px;
}

.admin-post__info span,
.admin-post__info p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.admin-post__badge {
  width: fit-content;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 6px 10px;
}

.admin-post__badge--published {
  background: #dcfce7;
  color: #047857 !important;
}

.admin-post__badge--draft {
  background: #eff6ff;
  color: #1768d8 !important;
}

.admin-post__badge--unpublished {
  background: #fee2e2;
  color: #991b1b !important;
}

.admin-post__badge--archived {
  background: #f1f5f9;
  color: #475569 !important;
}

.admin-post__info .admin-reset {
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
}

.admin-visits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-visit-card {
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
  padding: 14px;
}

.admin-visit-card span {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.admin-visit-card strong {
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
}

.admin-wallet-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 180px 1fr;
}

.admin-field--wide {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-save,
.admin-reset {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 0 22px;
}

.admin-save {
  background: var(--button);
  color: #ffffff;
}

.admin-reset {
  background: #e2e8f0;
  color: #0f172a;
}

.admin-note {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .donate-shell,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .donate-title {
    max-width: 720px;
  }

  .donate-text {
    max-width: 680px;
  }

  .support-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .donate-page {
    padding: 18px;
  }

  .site-header {
    margin-bottom: 28px;
  }

  .site-brand {
    font-size: 16px;
  }

  .site-brand__mark {
    width: 32px;
    height: 32px;
  }

  .donate-shell,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .donate-story {
    padding-top: 0;
  }

  .donate-kicker {
    font-size: 13px;
  }

  .donate-title {
    font-size: 32px;
  }

  .donate-text {
    margin: 18px 0 14px;
    font-size: 17px;
  }

  .donate-thanks {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .bank-card-details {
    grid-template-columns: 1fr;
  }

  .bank-card-details__qr {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1;
  }

  .quick-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-button {
    min-height: 64px;
    min-width: min(100%, 220px);
    font-size: 24px;
  }

  .support-panel,
  .info-section,
  .goal-panel {
    padding: 18px;
  }

  .admin-panel {
    padding: 20px;
  }

  .admin-header {
    display: grid;
  }

  .admin-title {
    font-size: 28px;
  }

  .admin-visits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-payment-summary,
  .admin-payment {
    grid-template-columns: 1fr;
  }

  .admin-payment__actions {
    justify-content: stretch;
  }

  .admin-payment__actions .admin-save,
  .admin-payment__actions .admin-reset {
    flex: 1;
  }

  .admin-post {
    grid-template-columns: 1fr;
  }

  .admin-post img {
    width: 100%;
  }

  .admin-wallet-row {
    grid-template-columns: 1fr;
  }
}

/* Future layout preview */
.donate-page {
  width: min(100%, 1080px);
  padding: 16px 22px 34px;
}

.site-header {
  min-height: 48px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  padding-bottom: 16px;
}

.site-brand {
  color: #1768d8;
  font-size: 20px;
}

.site-brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  clip-path: polygon(50% 0, 88% 13%, 88% 56%, 50% 100%, 12% 56%, 12% 13%);
  font-size: 18px;
}

.donate-shell {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  margin: 0 auto;
}

.donate-story {
  padding-top: 12px;
  min-width: 0;
}

.donate-title {
  max-width: 680px;
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1.12;
}

.donate-text {
  max-width: 560px;
  margin-top: 16px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 17px;
  line-height: 1.6;
}

.donate-thanks {
  max-width: 560px;
  margin-bottom: 0;
  color: #047857;
  font-size: 16px;
  font-weight: 900;
}

.goal-panel {
  align-self: start;
  width: 100%;
  margin-top: 16px;
  padding: 24px;
}

.goal-panel__topline {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.goal-panel__topline span {
  color: #0f172a;
  font-size: 15px;
}

.goal-panel__topline strong {
  color: #0f172a;
  font-size: 28px;
}

.goal-panel__total {
  margin: -4px 0 4px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.goal-panel__progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 900;
}

.goal-panel__bar {
  position: relative;
  overflow: hidden;
  height: 11px;
}

.goal-panel__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
}

.goal-panel__bar .goal-panel__bar-pending {
  background: linear-gradient(90deg, rgba(23, 104, 216, 0.28), rgba(16, 185, 129, 0.28));
}

.goal-panel__bar .goal-panel__bar-confirmed {
  background: linear-gradient(90deg, #1768d8, #10b981);
}

.goal-panel .goal-panel__pending,
.goal-panel .goal-panel__all-time {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.goal-panel .goal-panel__pending {
  color: #1768d8;
}

.goal-panel .goal-panel__all-time strong {
  color: #0f172a;
}

.goal-panel__stats {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(145px, 1fr);
  gap: 18px;
  border-top: 1px solid #e2e8f0;
  margin-top: 10px;
  padding-top: 18px;
}

.goal-panel__stats div {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  align-items: center;
}

.goal-panel__stats p {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.goal-panel__stats strong {
  grid-column: 2;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.2;
}

.goal-panel__icon {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #eaf6ff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 10px 24px rgba(23, 104, 216, 0.1);
}

.goal-panel__icon--days {
  background-image: url("goal-icon-days.svg");
}

.goal-panel__icon--people {
  background-image: url("goal-icon-people.svg");
}

.purpose-band,
.support-panel,
.updates-panel {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.purpose-band {
  display: grid;
  gap: 22px;
  margin-top: 26px;
  padding: 22px;
}

.purpose-band h2,
.support-panel__header h2,
.updates-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.2;
}

.purpose-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.purpose-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  min-height: 86px;
  align-items: center;
  border-top: 0;
  border-left: 1px solid #e2e8f0;
  overflow: hidden;
  padding: 0 22px;
}

.purpose-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.purpose-item .purpose-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background-color: #eef8ff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 14px 30px rgba(23, 104, 216, 0.12);
  color: transparent;
  font-size: 0;
}

.purpose-item .purpose-icon--home {
  background-image: url("purpose-icon-home.svg");
}

.purpose-item .purpose-icon--work {
  background-image: url("purpose-icon-tech.svg");
}

.purpose-item .purpose-icon--heart {
  background-image: url("purpose-icon-time.svg");
}

.purpose-item h3,
.update-item h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
}

.purpose-item p,
.update-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.work-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.95fr);
  gap: 24px;
  margin-top: 20px;
}

.support-panel,
.updates-panel {
  padding: 22px;
}

.support-panel__header {
  margin-bottom: 2px;
}

.support-panel__header p {
  display: none;
}

.wallet-button {
  min-height: 116px;
}

.quick-amount {
  min-height: 40px;
  background: rgba(255, 255, 255, 0.96);
}

.support-panel .rate-note {
  width: 100%;
  margin: -4px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.custom-amount input {
  min-height: 46px;
}

.help-button {
  min-height: 54px;
  box-shadow: 0 14px 30px rgba(23, 104, 216, 0.24);
  font-size: 20px;
}

.security-note {
  margin: -4px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.updates-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: hidden;
}

.updates-list {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding-left: 28px;
}

.updates-list::before {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 8px;
  top: 8px;
  width: 2px;
  background: #1768d8;
}

.update-item {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: auto;
  border-top: 0;
  padding-top: 0;
}

.update-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 3px solid #1768d8;
  border-radius: 999px;
  background: #ffffff;
}

.update-item time {
  color: #64748b;
  font-size: 13px;
}

.updates-link {
  color: var(--button);
  font-size: 15px;
  font-weight: 900;
}

.page-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 22px;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.page-footer p {
  margin: 0;
}

.page-footer .rate-note {
  width: auto;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.blog-page {
  width: min(100%, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 22px 44px;
}

.blog-hero {
  max-width: 760px;
  margin: 30px 0 22px;
}

.blog-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 44px;
  line-height: 1.08;
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  color: inherit;
  padding: 12px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.blog-card:hover {
  border-color: rgba(23, 104, 216, 0.42);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.075);
  transform: translateY(-1px);
}

.blog-card--with-image {
  grid-template-columns: 320px 1fr;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.blog-card time,
.blog-article time {
  color: #1768d8;
  font-size: 14px;
  font-weight: 900;
}

.blog-card h2 {
  margin: 6px 0;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.18;
}

.blog-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-article {
  display: grid;
  gap: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

.blog-article h1 {
  margin: 0;
  color: #0f172a;
  font-size: 38px;
  line-height: 1.12;
}

.blog-article img {
  width: 100%;
  max-height: 440px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-article__body {
  display: grid;
  gap: 14px;
  color: #334155;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.blog-article__body p {
  margin: 0;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.article-support-link,
.article-telegram-link {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  padding: 0 22px;
  text-decoration: none;
}

.article-support-link {
  background: var(--button);
  color: #ffffff;
}

.article-telegram-link {
  border: 1px solid rgba(0, 136, 204, 0.28);
  background: #e9f7ff;
  color: #075985;
}

.article-support-link:hover,
.article-support-link:focus-visible {
  background: #0f5fc8;
  outline: none;
}

.article-telegram-link:hover,
.article-telegram-link:focus-visible {
  border-color: rgba(0, 136, 204, 0.48);
  background: #dff2ff;
  outline: none;
}

.article-telegram-note {
  margin-top: 18px;
  border: 1px solid rgba(23, 104, 216, 0.2);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}

.article-telegram-note strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.article-telegram-note p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.article-telegram-note a {
  color: var(--button);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 960px) {
  .donate-shell,
  .work-grid,
  .purpose-list {
    grid-template-columns: 1fr;
  }

  .purpose-item {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding: 18px 0 0;
  }

  .purpose-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .donate-page {
    padding: 16px;
  }

  .site-header {
    gap: 10px;
    margin-bottom: 24px;
  }

  .site-brand {
    font-size: 18px;
  }

  .language-switch {
    flex-shrink: 0;
  }

  .language-switch__button {
    min-width: 42px;
    min-height: 32px;
  }

  .donate-title {
    font-size: 30px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .donate-text,
  .donate-thanks {
    overflow-wrap: anywhere;
  }

  .goal-panel,
  .purpose-band,
  .support-panel,
  .updates-panel {
    padding: 18px;
  }

  .purpose-item {
    grid-template-columns: 58px 1fr;
    gap: 14px;
  }

  .purpose-icon {
    width: 58px;
    height: 58px;
  }

  .blog-page {
    padding: 16px;
  }

  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-article {
    padding: 18px;
  }

  .blog-article h1 {
    font-size: 30px;
  }
}
