
.tg-chrome:not([data-view="home"]) {
  height: 64px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  background: var(--bg);
}

.tg-chrome:not([data-view="home"]) .chrome-title strong {
  color: #e9f1f6;
  font-size: 14px;
  font-weight: 700;
}

.tg-chrome:not([data-view="home"]) .chrome-title span {
  margin-top: 4px;
  font-size: 9px;
}

.tg-chrome:not([data-view="home"]) .back-action {
  color: #a8bdcb;
  font-size: 12px;
  font-weight: 650;
}

.tg-chrome:not([data-view="home"]) .chevron {
  width: 9px;
  height: 9px;
  border-width: 2px;
}

.screen-issue,
.screen-detail,
.screen-topup,
.screen-notifications,
.screen-mailboxes,
.screen-mailbox-detail {
  min-height: calc(100dvh - 64px);
  background: var(--bg);
}

.screen-issue {
  padding: 22px 18px 36px;
}

.screen-issue .screen-intro {
  margin: 0 0 26px;
}

.screen-issue .screen-intro h1 {
  display: none;
}

.screen-issue .screen-intro p {
  max-width: 300px;
  margin: 0;
  color: #7895aa;
  font-size: 12px;
  line-height: 1.55;
}

.screen-issue .issue-stage {
  max-width: none;
  margin: 0;
  padding: 0;
}

.screen-issue .country-field,
.screen-issue .provider-field {
  margin: 0 0 24px;
}

.screen-issue .country-field > span:first-child,
.screen-issue .provider-field > span:first-child {
  display: block;
  margin: 0 0 7px;
  color: #66869d;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-issue .custom-select-trigger {
  min-height: 56px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(145, 180, 211, 0.12);
  border-radius: 0;
  background: transparent;
}

.screen-issue .custom-select-trigger[aria-expanded="true"] {
  border-color: #5ddcaf;
  background: transparent;
  box-shadow: none;
}

.screen-issue .custom-select-menu {
  top: calc(100% + 4px);
  padding: 4px;
  border-color: rgba(145, 180, 211, 0.12);
  border-radius: 10px;
  background: #0d2137;
  box-shadow: 0 16px 32px rgba(1, 8, 16, 0.38);
}

.screen-issue .issue-summary {
  margin-top: 32px;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(145, 180, 211, 0.1);
  border-bottom: 1px solid rgba(145, 180, 211, 0.1);
  border-radius: 0;
  background: transparent;
}

.screen-issue .issue-summary > span {
  min-height: 54px;
  padding: 0;
}

.screen-issue .issue-note {
  margin: 14px 0 0;
  color: #607e94;
  font-size: 10px;
  line-height: 1.5;
}

.screen-issue .bottom-cta {
  min-height: 50px;
  margin-top: 28px;
  border-radius: 11px;
}

.screen-detail {
  padding: 22px 18px 40px;
  background:
    radial-gradient(ellipse 72% 30% at 50% 0%, rgba(120, 55, 230, 0.14), transparent 70%),
    var(--bg);
}

.screen-detail .detail-card {
  max-width: none;
}

.screen-detail .issued-card {
  min-height: 190px;
  border: 1px solid rgba(190, 148, 255, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 14%, rgba(222, 186, 255, 0.32), transparent 38%),
    radial-gradient(circle at 16% 80%, rgba(90, 40, 210, 0.22), transparent 42%),
    linear-gradient(140deg, #8e44f2 0%, #5622c4 52%, #3d1892 100%);
  box-shadow:
    0 24px 52px rgba(78, 26, 178, 0.42),
    0 6px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.screen-detail .detail-actions {
  margin: 10px 0 28px;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(145, 180, 211, 0.08);
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  border-radius: 0;
  background: transparent;
}

.screen-detail .detail-actions button {
  min-height: 54px;
}

.screen-detail .detail-card h2 {
  margin: 26px 0 8px;
  color: #dce9f1;
  font-size: 14px;
  font-weight: 700;
}

.screen-detail .requisites {
  display: block;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(145, 180, 211, 0.08);
  border-radius: 0;
  background: transparent;
}

.screen-detail .requisite,
.screen-detail .requisite.full {
  display: grid;
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  border-radius: 0;
  background: transparent;
}

.screen-detail .requisite span {
  grid-column: 1;
}

.screen-detail .requisite strong {
  grid-column: 1;
}

.screen-detail .requisite .copy-icon {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
}

.screen-detail .management-row {
  min-height: 58px;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(145, 180, 211, 0.08);
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  border-radius: 0;
  background: transparent;
}

.screen-topup {
  padding: 0;
}

.screen-topup .topup-panel {
  padding: 22px 18px 38px;
}

.screen-topup .topup-hero {
  position: relative;
  display: block;
  min-height: 142px;
  padding: 0 0 24px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(145, 180, 211, 0.1);
  border-radius: 0;
  background: transparent;
}

.screen-topup .topup-hero > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 320px;
  padding-right: 112px;
}

.screen-topup .topup-hero > div:first-child > span {
  display: none;
}

.screen-topup .topup-hero h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 730;
}

.screen-topup .topup-hero p {
  max-width: 300px;
  margin-top: 8px;
  color: #7895aa;
  font-weight: 560;
}

.screen-topup .money-duck {
  right: -12px;
  bottom: -22px;
  width: 148px;
  height: 148px;
  opacity: 0.92;
  pointer-events: none;
}

.screen-topup .topup-form {
  gap: 0 14px;
  margin-top: 16px;
}

.screen-topup .topup-field {
  height: 68px;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(145, 180, 211, 0.1);
  border-radius: 0;
  background: transparent;
}

.screen-topup .topup-field:hover {
  border-color: rgba(145, 180, 211, 0.18);
  background: transparent;
}

.screen-topup .topup-field:focus-within {
  border-color: #5ddcaf;
  background: transparent;
  box-shadow: none;
}

.screen-topup .topup-field.invalid {
  border-color: #e87882;
  background: transparent;
  box-shadow: none;
}

.screen-topup .topup-submit {
  min-height: 50px;
  margin-top: 24px;
  border-radius: 11px;
}

.screen-topup .topup-note {
  margin-top: 16px;
}

.screen-notifications {
  background: var(--bg);
}

.screen-mailboxes {
  padding: 18px 18px 36px;
}

.mail-overview {
  padding: 18px 16px;
  border: 1px solid rgba(145, 180, 211, 0.09);
  border-radius: 14px;
  background: rgba(13, 33, 55, 0.56);
}

.mail-overview span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #38e09b;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mail-overview h1 {
  margin: 0;
  color: #edf4f8;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.4px;
  line-height: 1.05;
}

.mail-overview p {
  max-width: 300px;
  margin: 8px 0 0;
  color: #66859c;
  font-size: 11px;
  line-height: 1.45;
}

.mail-summary {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(145, 180, 211, 0.1);
  border-radius: 13px;
  background: rgba(13, 33, 55, 0.38);
}

.mail-summary span {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
}

.mail-summary span:last-child {
  border-bottom: 0;
}

.mail-summary small {
  color: #7895aa;
  font-size: 11px;
  font-weight: 620;
}

.mail-summary strong {
  color: #e5eff7;
  font-size: 12px;
}

.mail-form {
  margin-top: 16px;
}

.mail-list-section {
  margin-top: 24px;
}

.mailboxes-list {
  overflow: hidden;
  border: 1px solid rgba(145, 180, 211, 0.09);
  border-radius: 13px;
  background: rgba(13, 33, 55, 0.38);
}

.mailbox-row {
  display: grid;
  width: 100%;
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  background: transparent;
  color: #dce9f3;
  text-align: left;
}

.mailbox-row:last-child {
  border-bottom: 0;
}

.mailbox-row:hover {
  background: rgba(145, 180, 211, 0.04);
}

.mailbox-row span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.mailbox-row strong,
.mailbox-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-row strong {
  font-size: 13px;
  font-weight: 720;
}

.mailbox-row small,
.mailbox-row b {
  color: #66869d;
  font-size: 10px;
  font-weight: 620;
}

.screen-notifications .notifications-panel {
  padding: 18px 18px 30px;
}

.screen-notifications .notifications-heading {
  display: none;
}

.screen-notifications .notification-day {
  margin-top: 16px;
}

.screen-notifications .notification-item {
  min-height: 64px;
  padding: 10px 0;
}

.screen-notifications .notification-icon {
  background: transparent;
}

.screen-notifications .notification-item.unread .notification-icon {
  background: transparent;
}

@media (max-width: 360px) {
  .screen-issue,
  .screen-detail,
  .screen-topup .topup-panel,
  .screen-notifications .notifications-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .screen-topup .topup-hero > div:first-child {
    padding-right: 92px;
  }

  .screen-topup .money-duck {
    right: -24px;
    width: 132px;
    height: 132px;
    opacity: 0.78;
  }
}

.screen-topup .topup-panel { padding-top: 18px; }

.screen-topup .topup-hero {
  min-height: 126px;
  padding: 18px 118px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(145, 180, 211, 0.09);
  border-radius: 14px;
  background: rgba(13, 33, 55, 0.56);
}

.screen-topup .topup-hero > div:first-child {
  max-width: none;
  padding-right: 0;
}

.screen-topup .topup-hero h1 {
  font-size: 21px;
  line-height: 1.15;
}

.screen-topup .topup-hero p {
  margin-top: 9px;
  color: #7694a9;
  font-size: 11px;
  line-height: 1.45;
}

.screen-topup .money-duck {
  right: 3px;
  bottom: 2px;
  width: 112px;
  height: 112px;
  opacity: 0.88;
}

.screen-topup .topup-form { margin-top: 18px; }

.screen-topup .topup-field {
  height: 66px;
  padding: 8px 2px;
}

.screen-topup .topup-submit {
  margin-top: 22px;
  background: #38e09b;
  color: #06251b;
}

.screen-topup .topup-submit:disabled {
  border: 1px solid rgba(145, 180, 211, 0.08);
  background: rgba(145, 180, 211, 0.08);
  color: #607d91;
  opacity: 1;
}

@media (max-width: 340px) {
  .screen-topup .topup-hero {
    min-height: 118px;
    padding-right: 98px;
  }

  .screen-topup .money-duck {
    right: -5px;
    width: 98px;
    height: 98px;
  }
}

.screen-detail .detail-card h2 { margin: 24px 0 10px; font-size: 13px; }

.screen-detail .requisites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(145,180,211,.09);
  border-radius: 13px;
  background: rgba(145,180,211,.09);
}

.screen-detail .requisite,
.screen-detail .requisite.full {
  position: relative;
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 12px 42px 12px 13px;
  border: 0;
  background: #0b1e32;
  text-align: left;
}

.screen-detail .requisite.full { grid-column: 1 / -1; }
.screen-detail .requisite span { color: #66869d; font-size: 9px; font-weight: 650; }

.screen-detail .requisite strong,
.screen-detail .requisite.full strong {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #e3edf3;
  font-size: 12px;
  font-weight: 690;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-detail .requisite.full strong { font-size: 13px; }

.screen-detail .requisite .copy-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 25px;
  height: 25px;
  padding: 5px;
  transform: translateY(-50%);
  border: 1px solid rgba(145,180,211,.1);
  border-radius: 7px;
  background: rgba(145,180,211,.05);
}

.screen-detail .requisite:hover { background: #0d2339; }

.screen-detail .management-row {
  min-height: 58px;
  padding: 0 12px;
  border: 1px solid rgba(145,180,211,.09);
  border-radius: 12px;
  background: rgba(13,33,55,.46);
}

.screen-detail .management-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(145,180,211,.06);
}

.screen-detail .management-row {
  display: grid;
  min-height: 54px;
  grid-template-columns: 30px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.screen-detail .management-row strong {
  align-self: center;
  font-size: 12px;
  line-height: 1.2;
}

.screen-detail .management-row .row-chevron {
  align-self: center;
  justify-self: end;
}
.flat-card-eye-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.flat-card-eye-group .flat-card-eye {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.card-timer-ring {
  flex-shrink: 0;
  overflow: visible;
}

.card-timer-track {
  fill: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 2;
}

.card-timer-progress {
  fill: none;
  stroke: rgba(255,255,255,0.82);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 56.549;
  stroke-dashoffset: 0;
  transform-origin: 12px 12px;
  transform: rotate(-90deg);
}

.card-use-timer {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 3px 8px;
  line-height: 1;
}

.card-use-timer[data-expired] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 100, 100, 0.95);
  background: rgba(255, 60, 60, 0.2);
}

.issued-card[data-card-expired] .flat-card-wifi {
  display: none;
}

.card-settings {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.card-settings label {
  display: grid;
  gap: 6px;
  color: #8ca2b8;
  font-size: 13px;
}

.card-settings input:not([type="checkbox"]),
.transactions-heading select {
  min-height: 44px;
  border: 1px solid rgba(134, 164, 194, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 12px;
}

.card-freeze-field {
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 44px;
}

.card-freeze-field input {
  width: 22px;
  height: 22px;
}

.transactions-section {
  margin-bottom: 24px;
}

.transactions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.transactions-heading h1 {
  margin: 0;
}

.transactions-list {
  display: grid;
  gap: 8px;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.transaction-item div,
.transaction-item span {
  display: grid;
  gap: 4px;
}

.transaction-item span {
  text-align: right;
  font-weight: 700;
}

.transaction-item small,
.transaction-item time,
.transactions-empty {
  color: #8ca2b8;
  font-size: 12px;
  font-weight: 400;
}

.account-settings {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.account-settings h1 {
  margin: 0;
}

.account-settings form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.account-settings input {
  min-width: 0;
  border: 1px solid rgba(134, 164, 194, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 12px;
}

.screen-yoomoney {
  padding: 16px 14px;
}

.ym-section {
  margin-bottom: 22px;
}

.ym-section .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
}

.ym-section .section-heading h1 {
  font-size: 15px;
  font-weight: 760;
  color: #dce9f3;
  letter-spacing: -0.1px;
}

.ym-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ym-status-ok { color: #2db574; }
.ym-status-bad { color: #ff6b6b; }
.ym-status-warn { color: #f0a500; }

/* Account list — unified container like cards-list */
.ym-list {
  border-radius: 12px;
  background: rgba(13, 33, 55, 0.42);
  border: 1px solid rgba(145, 180, 211, 0.07);
  overflow: hidden;
}

.ym-account-row {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 14px;
  gap: 10px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.06);
}
.ym-account-row:last-child { border-bottom: none; }

/* Status dot */
.ym-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ym-account-row[data-status="ok"] .ym-dot {
  background: #38e09b;
  box-shadow: 0 0 5px rgba(56, 224, 155, 0.55);
}
.ym-account-row[data-status="warn"] .ym-dot { background: #f0a500; }
.ym-account-row[data-status="expired"] .ym-dot { background: #ff6b6b; }
.ym-account-row[data-status="none"] .ym-dot { background: #3a5268; }

.ym-account-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.ym-account-text { min-width: 0; }

.ym-account-text strong {
  display: block;
  font-size: 13px;
  font-weight: 740;
  color: #dce9f3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-account-text small {
  display: block;
  font-size: 10px;
  color: #6b8ba3;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ym-account-row[data-status="expired"] .ym-account-text small {
  color: #f0a500;
}

.ym-account-actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.ym-account-actions button {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(134, 164, 194, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #7895aa;
  font-size: 11px;
  font-weight: 620;
  cursor: pointer;
  white-space: nowrap;
}

.ym-cookies-btn {
  color: #7895aa !important;
}

/* Highlight cookies button for expired/warn accounts */
.ym-account-row[data-status="expired"] .ym-cookies-btn,
.ym-account-row[data-status="warn"] .ym-cookies-btn {
  color: #f0a500 !important;
  border-color: rgba(240, 165, 0, 0.28) !important;
  background: rgba(240, 165, 0, 0.07) !important;
}

.ym-card-btn {
  color: #5ddcaf !important;
  border-color: rgba(93, 220, 175, 0.22) !important;
  background: rgba(56, 224, 155, 0.05) !important;
}

.ym-card-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ym-del-btn {
  padding: 0 8px !important;
  color: #ff6b6b !important;
  border-color: rgba(255, 107, 107, 0.18) !important;
  background: transparent !important;
}

.ym-empty {
  color: #6b8ba3;
  font-size: 12px;
  text-align: center;
  padding: 28px 16px;
}

/* SMS log */
.ym-log {
  border-radius: 12px;
  background: rgba(13, 33, 55, 0.42);
  border: 1px solid rgba(145, 180, 211, 0.07);
  overflow: hidden;
}

.ym-log-empty {
  color: #6b8ba3;
  font-size: 12px;
  text-align: center;
  padding: 20px 16px;
}

.ym-log-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.06);
}
.ym-log-entry:last-child { border-bottom: none; }

.ym-log-entry small { color: #4f6d84; font-size: 10px; min-width: 0; flex-shrink: 0; }
.ym-log-entry .ym-log-text { color: #a8bdcb; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ym-log-entry b { color: #e9f1f6; font-size: 13px; font-weight: 720; flex-shrink: 0; }
.ym-log-entry span { flex-shrink: 0; font-size: 13px; }

.ym-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(134, 164, 194, 0.22);
  border-radius: 10px;
  color: #e9f1f6;
  font-size: 14px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.ym-json-input {
  font-family: monospace;
  font-size: 12px;
  resize: vertical;
  line-height: 1.4;
  white-space: pre;
}

.ym-json-input::placeholder {
  font-family: inherit;
  color: rgba(168, 189, 203, 0.5);
  font-size: 11px;
  white-space: normal;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-card {
  background: #1a2632;
  border-radius: 16px;
  padding: 20px;
  width: 320px;
  max-width: 90vw;
}

.modal-card strong {
  display: block;
  margin-bottom: 12px;
  color: #e9f1f6;
  font-size: 15px;
}

.modal-card p {
  margin: -6px 0 14px;
  color: #86a0bb;
  font-size: 12px;
  line-height: 1.4;
}

.ym-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ym-modal-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ym-modal-actions button:first-child {
  background: rgba(255, 255, 255, 0.08);
  color: #a8bdcb;
}

.ym-modal-actions button:last-child {
  background: #2db574;
  color: #fff;
}

#ymAddBtn {
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(56, 224, 155, 0.28);
  background: rgba(56, 224, 155, 0.08);
  color: #38e09b;
  font-size: 12px;
  font-weight: 640;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* YooMoney admin surface aligned with the main wallet interface */
.screen-yoomoney {
  padding: 12px 16px 32px;
}

.screen-yoomoney .ym-section {
  margin: 0 0 18px;
}

.ym-overview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0 18px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.1);
}

.ym-overview-kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: #38e09b;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ym-overview h1 {
  margin: 0;
  color: #edf4f8;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.4px;
  line-height: 1.05;
}

.ym-overview p {
  max-width: 245px;
  margin: 8px 0 0;
  color: #66859c;
  font-size: 11px;
  line-height: 1.45;
}

.screen-yoomoney .section-heading {
  margin: 18px 0 8px;
  padding: 0;
}

.screen-yoomoney .section-heading h1 {
  margin: 0;
  color: #dce9f3;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.1px;
}

.screen-yoomoney .ym-status {
  min-height: 28px;
  padding: 10px 0 8px;
  color: #7894ae;
  font-size: 11px;
  font-weight: 650;
}

.screen-yoomoney .ym-list,
.screen-yoomoney .ym-log {
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(145, 180, 211, 0.09);
  border-radius: 13px;
  background: rgba(13, 33, 55, 0.38);
}

.screen-yoomoney .ym-account-row {
  min-height: 68px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
  background: transparent;
}

.screen-yoomoney .ym-account-left {
  gap: 11px;
}

.screen-yoomoney .ym-dot {
  width: 9px;
  height: 9px;
}

.screen-yoomoney .ym-account-text strong {
  color: #e3edf3;
  font-size: 13px;
  font-weight: 750;
}

.screen-yoomoney .ym-account-text small {
  margin-top: 4px;
  color: #66869d;
  font-size: 10px;
  font-weight: 610;
}

.screen-yoomoney .ym-account-actions {
  gap: 6px;
}

.screen-yoomoney .ym-account-actions button {
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  border-color: rgba(145, 180, 211, 0.1);
  background: rgba(145, 180, 211, 0.05);
  color: #82a0b5;
  font-size: 10px;
  font-weight: 720;
}

.screen-yoomoney .ym-card-btn {
  border-color: rgba(56, 224, 155, 0.24) !important;
  background: rgba(56, 224, 155, 0.08) !important;
  color: #38e09b !important;
}

.screen-yoomoney .ym-del-btn {
  width: 32px;
  padding: 0 !important;
  color: #d58b94 !important;
}

.screen-yoomoney .ym-empty,
.screen-yoomoney .ym-log-empty {
  padding: 24px 16px;
  color: #66859c;
  font-size: 12px;
}

.screen-yoomoney .ym-log-entry {
  min-height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(145, 180, 211, 0.08);
}

.screen-yoomoney .ym-log-entry small {
  color: #66869d;
  font-size: 10px;
  font-weight: 650;
}

.screen-yoomoney .ym-log-entry .ym-log-text {
  color: #a8bdcb;
}

.screen-yoomoney .ym-log-entry b {
  color: #e3edf3;
  font-size: 12px;
}

.screen-yoomoney #ymAddBtn {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(56, 224, 155, 0.22);
  border-radius: 10px;
  background: rgba(56, 224, 155, 0.08);
  color: #38e09b;
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
}

.screen-yoomoney .modal-card {
  border: 1px solid rgba(145, 180, 211, 0.12);
  border-radius: 14px;
  background: #0d2137;
}

.screen-yoomoney .ym-input {
  min-height: 42px;
  border-color: rgba(145, 180, 211, 0.14);
  border-radius: 10px;
  background: rgba(145, 180, 211, 0.06);
}

.screen-yoomoney .ym-modal-actions button {
  border-radius: 10px;
}

.screen-yoomoney .ym-modal-actions button:last-child {
  background: #38e09b;
  color: #06251b;
}

@media (max-width: 340px) {
  .screen-yoomoney {
    padding-inline: 12px;
  }

  .screen-yoomoney .ym-account-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px 12px;
  }

  .screen-yoomoney .ym-account-actions {
    width: 100%;
  }

  .screen-yoomoney .ym-account-actions button {
    flex: 1;
  }
}
