/**
 * MixZero: страницы движка внутри #mz-root (mixer без legacy index.css).
 */
#mz-root {
  min-height: 50vh;
}

.lang-dropdown .lang-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ——— Mixer (mix.html layout) ——— */
.mz-mixer-root .mix-page {
  max-width: 800px;
  margin: 0 auto;
}

/* Карточки — прямые дети формы; gap у .mix-container не работает (один ребёнок — form) */
.mz-mixer-root .mix-container .box-mixer {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.mz-mixer-root .mz-code-gauge-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .mz-mixer-root .mz-code-gauge-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .mz-mixer-root .anim-box {
    margin: 0 auto;
  }
}

/* Подпись + «?» — как в движке: тултип скрыт до hover */
.mz-mixer-root .has-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--mz-muted, rgba(255, 255, 255, 0.75));
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
}

.mz-mixer-root .has-info .info-wrapper {
  position: relative;
  cursor: help;
  flex-shrink: 0;
}

.mz-mixer-root .has-info .info-wrapper > span:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--mz-on-accent, #000);
  border-radius: 10px;
  background: var(--mz-accent, #2cdd82);
  font-size: 13px;
  line-height: 1;
}

.mz-mixer-root .has-info .info-wrapper .info {
  opacity: 0;
  pointer-events: none;
  padding: 12px 14px;
  width: min(100vw - 48px, 320px);
  box-sizing: border-box;
  color: var(--mz-text, #fff);
  background: var(--mz-tooltip-bg, #0f172a);
  border: 1px solid var(--mz-border-medium, rgba(255, 255, 255, 0.12));
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  z-index: 50;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  transition: opacity 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.mz-mixer-root .has-info .info-wrapper:hover .info,
.mz-mixer-root .has-info .info-wrapper:focus-within .info {
  opacity: 1;
  pointer-events: auto;
}

/* BOOST — не ссылка, стиль как у макета движка */
.mz-mixer-root .anim-box .inner-icon-button.text {
  display: inline-block;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: default;
  user-select: none;
}

.mz-mixer-root .anim-box .inner-icon-button.text:hover {
  color: rgba(255, 255, 255, 0.85);
}

.mz-mixer-root .mz-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--mz-input-bg, #000000);
  border: 1px solid var(--mz-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--mz-radius, 12px);
  padding: 14px 18px;
  color: var(--mz-text, #ffffff);
  font-family: inherit;
  font-size: 15px;
}

.mz-mixer-root .mz-input:focus {
  outline: none;
  border-color: rgba(44, 221, 130, 0.45);
}

.mz-mixer-root .mz-input::placeholder {
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.35));
}

.mz-mixer-root .mz-address-row {
  display: grid;
  grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 640px) {
  .mz-mixer-root .mz-address-row {
    grid-template-columns: 1fr;
  }
}

.mz-mixer-root select.mz-select-native {
  appearance: auto;
  background: var(--mz-input-bg, #000000);
  border: 1px solid var(--mz-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--mz-radius, 12px);
  padding: 12px 14px;
  color: var(--mz-text, #ffffff);
  font-size: 15px;
  font-family: inherit;
}

.mz-mixer-root .form-item > p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
}

.mz-mixer-root .time-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
  font-size: 14px;
}

.mz-mixer-root .time-wrapper svg {
  stroke: var(--mz-accent, #2cdd82);
  opacity: 0.85;
}

.mz-mixer-root .mz-form-range-block {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mz-mixer-root .mz-settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.mz-mixer-root .mz-settings-row .card-header {
  min-height: 28px;
  margin-bottom: 6px;
}

.mz-mixer-root .mz-delay-caption,
.mz-mixer-root .mz-fee-caption {
  margin: 0 0 8px;
  min-height: 22px;
  font-size: 14px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
  display: flex;
  align-items: center;
  font-weight: 600;
}

.mz-mixer-root .mz-delay-caption #delayDisplay,
.mz-mixer-root .mz-fee-caption #fee {
  color: var(--mz-text, #fff);
  font-weight: 700;
  margin-left: auto;
}

.mz-mixer-root .mz-fee-caption {
  justify-content: flex-start;
}

.mz-mixer-root .mz-fee-caption #fee {
  color: var(--mz-text, #fff);
  font-weight: 700;
}

.mz-mixer-root .mz-mix-bottom-single {
  justify-content: flex-end;
}

.mz-mixer-root .mz-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.mz-mixer-root .mz-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mz-mixer-root .mz-form-footer .mix-terms {
  margin: 0;
}

/* noUiSlider — MixZero palette */
.mz-mixer-root .noUi-horizontal {
  height: 6px !important;
  background: var(--mz-border-medium, rgba(255, 255, 255, 0.1)) !important;
  border-radius: 15px !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 24px;
}

.mz-mixer-root .noUi-horizontal .noUi-handle {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--mz-text, #ffffff) !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  right: -9px !important;
}

.mz-mixer-root .noUi-horizontal:hover .noUi-handle .thumb-title {
  opacity: 1 !important;
}

.mz-mixer-root #progressDate.noUi-horizontal .noUi-handle {
  background-color: var(--mz-accent, #2cdd82) !important;
}

.mz-mixer-root .noUi-horizontal .noUi-handle::after,
.mz-mixer-root .noUi-horizontal .noUi-handle::before {
  display: none;
}

.mz-mixer-root .noUi-horizontal:not(.mz-out-dist-slider) .noUi-connect {
  background: linear-gradient(90deg, #237249, #2CDD82) !important;
  border-radius: 15px !important;
}

.mz-mixer-root .thumb-title {
  position: absolute;
  bottom: calc(100% + 10px);
  background-color: var(--mz-surface, #000244);
  border: 1px solid rgba(44, 221, 130, 0.25);
  border-radius: 8px;
  box-sizing: content-box;
  color: var(--mz-text, #fff);
  font-size: 13px;
  min-width: 20px;
  padding: 4px 8px;
  text-align: center;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0 !important;
}

.mz-mixer-root .thumb-title::after {
  content: "";
  position: absolute;
  border: 5px solid transparent;
  border-top-color: var(--mz-surface, #000244);
  height: 0;
  left: 50%;
  top: 100%;
  transform: translate(-50%);
  width: 0;
}

/* Gauge block */
.mz-mixer-root .anim-box {
  flex-shrink: 0;
}

/* ——— Blog ——— */
.mz-blog-page {
  padding-top: 24px;
  padding-bottom: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.mz-blog-hero {
  text-align: center;
  margin-bottom: 40px;
}

.mz-blog-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.mz-blog-hero h1 span {
  color: var(--mz-accent, #2cdd82);
}

.mz-blog-lead {
  font-size: 16px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.mz-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.mz-blog-card {
  background: var(--mz-surface, #000244);
  border-radius: 20px;
  border: 1px solid var(--mz-border-soft, rgba(255, 255, 255, 0.05));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mz-blog-card:hover {
  border-color: rgba(44, 221, 130, 0.25);
  transform: translateY(-2px);
}

.mz-blog-card-image {
  aspect-ratio: 420 / 168;
  overflow: hidden;
  background: var(--mz-input-bg, #000000);
}

.mz-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mz-blog-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mz-blog-card-body h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.mz-blog-card-body h2 a {
  color: var(--mz-text, #ffffff);
  text-decoration: none;
}

.mz-blog-card-body h2 a:hover {
  color: var(--mz-accent, #2cdd82);
}

.mz-blog-card-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.mz-blog-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.mz-blog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
}

.mz-blog-cta-text h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.mz-blog-cta-text p {
  margin: 0;
  font-size: 14px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
}

/* ——— Payment page ——— */
.mz-payment-page.mz-mixer-root .mix-page {
  max-width: 840px;
}

.mz-pay-hero {
  margin-bottom: 0;
}

.mz-pay-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mz-pay-hero-inner h1 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 0;
  color: var(--mz-text, #fff);
}

.mz-pay-order-ref {
  font-size: 14px;
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.5));
}

.mz-pay-order-ref code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--mz-accent, #2cdd82);
  background: rgba(44, 221, 130, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.mz-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.mz-pay-badge--ok {
  background: rgba(44, 221, 130, 0.12);
  border: 1px solid rgba(44, 221, 130, 0.35);
  color: #9cf5c6;
}

.mz-pay-badge--fail {
  background: rgba(255, 75, 43, 0.1);
  border: 1px solid rgba(255, 75, 43, 0.35);
  color: #ffb4a8;
}

.mz-pay-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mz-text, #fff);
  margin: 0 0 14px;
}

.mz-pay-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mz-pay-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.mz-pay-field--full {
  width: 100%;
  min-width: 0;
}

.mz-pay-field {
  min-width: 0;
}

.mz-pay-field > p.mz-pay-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--mz-muted, rgba(255, 255, 255, 0.72));
  line-height: 1.45;
}

.mz-pay-lead strong {
  color: #ff6b8a;
  font-weight: 700;
}

.mz-pay-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.mz-pay-input-row .mz-pay-readonly {
  flex: 1;
  min-width: 0;
  background: var(--mz-input-bg, #000000);
  border: 1px solid var(--mz-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--mz-text, #fff);
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.mz-pay-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.mz-pay-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: var(--mz-border-soft, rgba(255, 255, 255, 0.06));
  color: var(--mz-text, #fff);
  transition: background 0.2s, transform 0.15s;
}

.mz-pay-actions button:hover {
  background: rgba(44, 221, 130, 0.25);
  transform: scale(1.04);
}

.mz-pay-actions button.copy-btn.copied {
  outline: 2px solid var(--mz-accent, #2cdd82);
  background: rgba(44, 221, 130, 0.35);
}

.mz-pay-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.65));
  line-height: 1.65;
}

.mz-pay-meta strong {
  color: var(--mz-text, #fff);
  font-weight: 600;
}

.mz-pay-meta .mz-pay-coin {
  margin-left: 4px;
}

.mz-pay-details {
  border: 1px solid var(--mz-border-soft, rgba(255, 255, 255, 0.06));
  border-radius: 14px;
  background: var(--mz-pay-panel, rgba(0, 0, 0, 0.25));
  overflow: hidden;
}

.mz-pay-details summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mz-text, #fff);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.mz-pay-details summary::-webkit-details-marker {
  display: none;
}

.mz-pay-details summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.45));
  transition: transform 0.2s;
}

.mz-pay-details[open] summary::after {
  transform: rotate(180deg);
}

.mz-pay-details-body {
  padding: 0 18px 18px;
}

.mz-pay-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.mz-pay-calc-grid label {
  display: block;
  font-size: 13px;
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.45));
  margin-bottom: 6px;
}

.mz-pay-calc-grid input {
  width: 100%;
  box-sizing: border-box;
  background: var(--mz-input-bg, #000000);
  border: 1px solid var(--mz-border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--mz-text, #fff);
  font-size: 14px;
}

.mz-pay-calc-unit {
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.45));
  font-weight: 400;
}

.mz-pay-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--mz-border-soft, rgba(255, 255, 255, 0.06));
  -webkit-overflow-scrolling: touch;
}

.mz-pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.mz-pay-table--single .mz-pay-addr-col {
  width: 100%;
}

.mz-pay-table--outputs .mz-pay-col-addr {
  width: 58%;
}

.mz-pay-table--outputs .mz-pay-col-num {
  width: 21%;
}

.mz-pay-table thead th {
  text-align: left;
  padding: 12px 14px;
  background: var(--mz-border-soft, rgba(255, 255, 255, 0.06));
  color: var(--mz-muted, rgba(255, 255, 255, 0.85));
  font-weight: 600;
  white-space: nowrap;
}

.mz-pay-table--outputs thead th.mz-pay-col-num {
  text-align: right;
}

.mz-pay-table tbody td {
  padding: 14px;
  border-top: 1px solid var(--mz-border-soft, rgba(255, 255, 255, 0.05));
  color: var(--mz-muted, rgba(255, 255, 255, 0.85));
  vertical-align: top;
}

.mz-pay-addr-col {
  min-width: 0;
}

.mz-pay-addr-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.mz-pay-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(44, 221, 130, 0.2);
  color: #c9ffe8;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.mz-pay-addr-code {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mz-text, rgba(255, 255, 255, 0.92));
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mz-pay-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  vertical-align: middle !important;
}

.mz-pay-num .fab {
  margin-left: 6px;
  opacity: 0.85;
}

.mz-pay-delay {
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.65));
}

.mz-pay-table tfoot td {
  font-weight: 700;
  background: var(--mz-border-soft, rgba(255, 255, 255, 0.05));
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--mz-border-medium, rgba(255, 255, 255, 0.08));
  vertical-align: middle;
}

.mz-pay-table--outputs .mz-pay-total-label {
  text-align: left;
}

.mz-pay-table--outputs .mz-pay-total-val {
  text-align: right;
}

.mz-pay-table--outputs .mz-pay-total-spacer {
  border-top: 1px solid var(--mz-border-medium, rgba(255, 255, 255, 0.08));
}

@media (max-width: 640px) {
  .mz-pay-table--outputs .mz-pay-col-addr {
    width: 52%;
  }

  .mz-pay-table--outputs .mz-pay-col-num {
    width: 24%;
  }
}

.mz-pay-loading {
  text-align: center;
  padding: 28px 16px 8px;
}

.mz-pay-loading p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
}

.mz-pay-loader {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--mz-border-medium, rgba(255, 255, 255, 0.12));
  border-top-color: var(--mz-accent, #2cdd82);
  animation: mz-spin 0.85s linear infinite;
}

@keyframes mz-spin {
  to {
    transform: rotate(360deg);
  }
}

.mz-pay-btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #237249, #2cdd82);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.mz-pay-btn-home:hover {
  opacity: 0.92;
}

.mz-pay-guarantee-row {
  margin: 14px 0 0;
}

.mz-pay-btn-guarantee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(44, 221, 130, 0.42);
  background: rgba(44, 221, 130, 0.08);
  color: #c8f7df !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.mz-pay-btn-guarantee:hover {
  background: rgba(44, 221, 130, 0.14);
  border-color: rgba(44, 221, 130, 0.55);
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-badge--ok {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-badge--fail {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-pct {
  background: #dcfce7;
  color: #14532d;
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-table thead th {
  background: rgba(15, 23, 42, 0.06);
  color: var(--mz-text);
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-table tbody td {
  color: var(--mz-muted);
  border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-table tfoot td {
  background: rgba(15, 23, 42, 0.04);
  border-top-color: rgba(15, 23, 42, 0.1);
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-details {
  background: var(--mz-surface-deep);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-btn-guarantee {
  background: #eefcf4;
  border-color: #86efac;
  color: #166534 !important;
}

html[data-mz-theme="light"] .mz-payment-page .mz-pay-btn-guarantee:hover {
  background: #dcfce7;
  border-color: #4ade80;
}

/* QR popup — MixZero palette */
#qrPopup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--mz-overlay-scrim, rgba(0, 1, 35, 0.88));
  backdrop-filter: blur(6px);
}

#qrPopup.open {
  display: flex;
}

#qrPopup .layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

#qrPopup .qr-popup {
  position: relative;
  z-index: 2;
  width: min(92vw, 420px);
  background: var(--mz-surface, #000244);
  border: 1px solid rgba(44, 221, 130, 0.25);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

#qrPopup .qr-popup__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mz-border-medium, rgba(255, 255, 255, 0.08));
}

#qrPopup .qr-popup__top .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mz-text, #fff);
}

#qrPopup .qr-popup__top i {
  color: var(--mz-muted-3, rgba(255, 255, 255, 0.45));
  cursor: pointer;
  font-size: 22px;
  transition: color 0.2s;
}

#qrPopup .qr-popup__top i:hover {
  color: #ff6b6b;
}

#qrPopup .qr-popup__inner {
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
}

#qrPopup .qr-popup__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  min-height: 220px;
}

#qrPopup .qr-popup__btn {
  margin-top: 16px;
  text-align: center;
}

#qrPopup .qr-popup__btn .btn {
  background: linear-gradient(90deg, #237249, #2cdd82);
  color: var(--mz-text, #fff);
  border: none;
  padding: 11px 28px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

#qrPopup .qr-popup__btn .btn:hover {
  opacity: 0.92;
}

/* ——— Mixer: несколько адресов + ползунок долей ——— */
.mz-mixer-root .mix-page {
  padding: 8px 0 48px;
}

.mz-mixer-root .mix-card .card-header {
  margin-bottom: 14px;
}

.mz-mixer-root .mz-recv-block > p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
}

.mz-recv-block .mz-recv-coin-select {
  width: 100%;
  margin-bottom: 20px;
}

.mz-output-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.mz-out-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 52px 40px;
  gap: 10px 12px;
  align-items: center;
}

.mz-out-swatch {
  width: 12px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}

.mz-out-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--mz-text, #fff);
  width: 52px;
  min-width: 52px;
  text-align: right;
  flex-shrink: 0;
}

.mz-out-remove {
  border: none;
  background: transparent;
  color: #ff6b6b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.mz-out-remove:hover {
  background: rgba(255, 75, 75, 0.12);
}

.mz-add-out-btn {
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(44, 221, 130, 0.45);
  background: rgba(44, 221, 130, 0.12);
  color: var(--mz-text);
  font-weight: 700;
  padding: 10px 22px;
}

.mz-add-out-btn:hover {
  background: rgba(44, 221, 130, 0.2);
  border-color: rgba(44, 221, 130, 0.7);
}

html[data-mz-theme="light"] .mz-add-out-btn {
  background: #eefcf4;
  border-color: rgba(44, 221, 130, 0.55);
  color: #14532d;
}

html[data-mz-theme="light"] .mz-add-out-btn:hover {
  background: #dcfce7;
}

.mz-dist-block-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mz-muted-2, rgba(255, 255, 255, 0.55));
  margin: 0 0 10px;
}

.mz-out-dist-slider {
  height: 28px;
  margin-top: 8px;
}

.mz-out-dist-slider .noUi-horizontal {
  margin-top: 8px !important;
}

.mz-out-dist-slider .noUi-connect {
  border-radius: 6px !important;
}

@media (max-width: 520px) {
  .mz-out-row {
    grid-template-columns: 12px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .mz-out-pct {
    grid-column: 2;
    text-align: left;
  }

  .mz-out-remove {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .mz-mixer-root .mz-settings-row {
    grid-template-columns: 1fr;
  }
}
