/* Shared cabinet: silent-finance.css */
/* Finance and purchase views share the reference workspace's quiet table layout. */
body.silent-miniapp .finance-view {
  color: var(--ss-text);
}
body.silent-miniapp .finance-view .cabinet-page-heading {
  margin-bottom: 23px;
}
body.silent-miniapp .finance-ledger,
body.silent-miniapp .finance-panel {
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  overflow: hidden;
}
body.silent-miniapp .finance-ledger-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--ss-line);
}
body.silent-miniapp .finance-ledger-toolbar h3,
body.silent-miniapp .finance-panel-title h3 {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  margin: 0;
  white-space: nowrap;
}
.finance-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  padding: 2px 6px;
  margin-left: 6px;
  border: 1px solid var(--ss-line);
  background: var(--ss-bg);
  border-radius: 5px;
  font-size: 9px;
  color: var(--ss-muted);
  font-weight: 500;
}
.finance-table-help {
  font-size: 10px;
  color: var(--ss-muted);
}
.finance-table-scroll {
  overflow-x: auto;
  width: 100%;
}
body.silent-miniapp .finance-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  color: var(--ss-text);
  line-height: 1.6;
}
body.silent-miniapp .finance-table th {
  font-size: 9px;
  color: var(--ss-muted);
  background: var(--ss-bg);
  font-weight: 450;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ss-line);
  white-space: nowrap;
}
body.silent-miniapp .finance-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--ss-line);
  vertical-align: middle;
}
body.silent-miniapp .finance-table tbody:last-child tr:last-child td {
  border-bottom: 0;
}
body.silent-miniapp
  .finance-purchases-table
  tbody:last-child
  .finance-purchase-row
  td {
  border-bottom: 0;
}
.finance-account {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 165px;
}
body.silent-miniapp .finance-account h4 {
  font-size: 11px !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  margin: 0 0 3px;
  color: var(--ss-text) !important;
  max-width: 235px;
  overflow-wrap: anywhere;
}
.finance-account-meta {
  font-size: 8px;
  color: var(--ss-muted);
  display: block;
  white-space: nowrap;
}
.finance-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  background: #edf2fa;
  border: 1px solid #e6ebf6;
  color: #7f96bd;
  border-radius: 7px;
  font-size: 13px;
}
.finance-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  white-space: nowrap;
}
body.silent-miniapp .finance-country img {
  width: 17px !important;
  height: 12px !important;
  border-radius: 2px;
  box-shadow: none !important;
  object-fit: cover;
}
body.silent-miniapp .finance-date {
  font-size: 9px;
  color: var(--ss-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .finance-money {
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .finance-money--incoming {
  color: #60816d;
}
.finance-account-status {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 5px;
}
body.silent-miniapp .finance-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
}
.finance-status--paid {
  background: #edf5eb;
  color: #708b67;
  border-color: #e2ecdf !important;
}
.finance-status--pending {
  background: #fbf5e7;
  color: #a28b59;
  border-color: #f0e8d7 !important;
}
.finance-status--error {
  background: #fbefef;
  color: #b47e83;
  border-color: #f2e1e3 !important;
}
.finance-status--neutral {
  background: #f0f1f8;
  color: #858ba2;
  border-color: #e6e8f0 !important;
}
body.silent-miniapp .finance-select-cell {
  padding-left: 17px;
  padding-right: 0;
  width: 30px;
}
body.silent-miniapp .finance-select-cell > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d9dce3 !important;
  background: var(--ss-paper) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #6d78b9 !important;
  font-size: 8px !important;
}
body.silent-miniapp .finance-select-cell > button[aria-checked="true"] {
  background: #e9ecfb !important;
  border-color: #8e9bd1 !important;
}
body.silent-miniapp .finance-select-cell > button i {
  font-size: 8px !important;
  color: #6d78b9 !important;
}
body.silent-miniapp .finance-row-action {
  text-align: right;
}
body.silent-miniapp .finance-row-action .ss-btn {
  min-height: 28px;
  font-size: 9px;
  padding: 5px 9px;
  gap: 10px;
  box-shadow: none;
}
body.silent-miniapp .finance-row-action .ss-btn i {
  font-size: 8px;
  color: var(--ss-muted);
}
body.silent-miniapp .finance-purchase-detail-row > td {
  padding: 0;
  border: 0;
}
body.silent-miniapp .finance-purchase-details {
  background: var(--ss-bg);
  padding: 20px;
  border-bottom: 1px solid var(--ss-line);
}
body.silent-miniapp .finance-purchase-details:has(+ *) {
  border: 0;
}
body.silent-miniapp .finance-purchase-details .font-mono,
body.silent-miniapp .finance-purchase-details strong,
body.silent-miniapp .finance-purchase-details .font-sans {
  font-size: 11px !important;
  line-height: 1.8 !important;
}
body.silent-miniapp .finance-purchase-details button,
body.silent-miniapp .finance-purchase-details a,
body.silent-miniapp .finance-purchase-details h5 {
  font-size: 10px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
body.silent-miniapp .finance-purchase-details > div {
  margin-top: 0;
}
body.silent-miniapp .finance-purchase-details input {
  font-size: 12px !important;
  border-radius: 6px !important;
}
body.silent-miniapp .finance-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 22px;
}
.finance-summary-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  border: 1px solid var(--ss-line);
  border-radius: 9px;
  padding: 17px 18px 14px;
  min-height: 126px;
  color: #39404b;
}
.finance-summary-card > i {
  font-size: 13px;
  color: #727e91;
  margin-bottom: 16px;
}
.finance-summary-card > strong {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 5px;
}
.finance-summary-card > span {
  font-size: 10px;
  color: #8a909a;
}
.finance-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
body.silent-miniapp .finance-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 450;
  color: var(--ss-muted);
  border: 1px solid var(--ss-line);
  border-radius: 6px;
  background: var(--ss-bg);
  padding: 6px 9px;
  min-height: 29px;
  box-shadow: none;
}
body.silent-miniapp .finance-filter > span {
  font-size: 8px;
  opacity: 0.7;
}
body.silent-miniapp .finance-filter.is-active {
  background: linear-gradient(#424347, #202124);
  color: #fff;
  border-color: #34363b;
}
body.silent-miniapp .finance-filter.is-active > span {
  color: #fff;
  opacity: 0.7;
}
.finance-operation {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 170px;
}
body.silent-miniapp .finance-operation > img,
body.silent-miniapp .finance-operation > div:first-child:not(:last-child) {
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  border-radius: 7px !important;
  border: 1px solid var(--ss-line) !important;
  padding: 4px !important;
  background: #f5f6f9 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  color: #8195b7 !important;
}
.finance-operation strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: var(--ss-text);
  white-space: nowrap;
}
.finance-operation-id {
  display: block;
  font-size: 8px;
  color: var(--ss-muted);
  margin-top: 3px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.silent-miniapp .finance-actions {
  text-align: right;
  min-width: 125px;
}
body.silent-miniapp .finance-actions > div {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}
body.silent-miniapp .finance-actions button,
body.silent-miniapp .finance-actions a {
  min-height: 27px;
  padding: 5px 8px !important;
  background: var(--ss-bg) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 5px !important;
  font-size: 8px !important;
  line-height: 1.5;
  color: #838b9c !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  white-space: nowrap;
}
body.silent-miniapp .finance-actions i {
  font-size: 8px !important;
  color: inherit !important;
}
body.silent-miniapp .finance-actions a {
  background: #393d45 !important;
  color: #fff !important;
  border-color: #393d45 !important;
}
.finance-no-action {
  color: #b5bac4;
  font-size: 11px;
}
.finance-ledger-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ss-muted);
  font-size: 9px;
  border-top: 1px solid var(--ss-line);
  padding: 14px 17px;
}
.finance-ledger-note i {
  font-size: 9px;
  color: #9ba2b0;
}
.finance-empty {
  padding: 55px 25px;
  text-align: center;
  color: var(--ss-muted);
  font-size: 12px;
  border: 1px solid var(--ss-line);
  border-radius: 9px;
  background: var(--ss-paper);
}
body.silent-miniapp .finance-deposit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  align-items: start;
}
body.silent-miniapp .finance-deposit-form {
  padding: 23px;
  overflow: visible;
}
.finance-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ss-line);
  padding-bottom: 19px;
  margin-bottom: 22px;
}
.finance-panel-title > span {
  font-size: 9px;
  color: var(--ss-muted);
}
.finance-field {
  margin-bottom: 22px;
}
.finance-field > label,
.finance-field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ss-text);
}
.finance-amount {
  position: relative;
}
body.silent-miniapp #depositAmount {
  width: 100%;
  height: 48px;
  padding: 11px 40px 11px 14px;
  border: 1px solid #e3e6ec !important;
  border-radius: 7px !important;
  background: var(--ss-paper) !important;
  color: var(--ss-text) !important;
  font-size: 17px !important;
  font-weight: 550;
  box-shadow: 0 1px 2px #00000003 !important;
  outline: none;
}
body.silent-miniapp #depositAmount:focus {
  border-color: #949dcb !important;
}
.finance-amount > span {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999eaa;
  font-size: 14px;
  pointer-events: none;
}
.finance-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
body.silent-miniapp #view-deposit .deposit-chip-btn {
  padding: 5px 9px !important;
  min-height: 28px;
  border: 1px solid var(--ss-line) !important;
  border-radius: 5px !important;
  font-size: 9px !important;
  font-weight: 450 !important;
  color: var(--ss-muted) !important;
  background: var(--ss-paper) !important;
  box-shadow: none !important;
}
body.silent-miniapp #view-deposit .deposit-chip-btn.active {
  background: #f0f1fa !important;
  border-color: #dce0f1 !important;
  color: #6c77af !important;
}
.finance-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
body.silent-miniapp #view-deposit .pay-method-card {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  text-align: left;
  column-gap: 9px;
  row-gap: 3px;
  position: relative;
  padding: 13px 10px !important;
  min-height: 66px !important;
  height: auto !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 7px !important;
  background: var(--ss-paper) !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: hidden;
}
body.silent-miniapp #view-deposit .pay-method-card > img {
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  border-radius: 6px;
  grid-row: 1/3;
  grid-column: 1;
}
body.silent-miniapp #view-deposit .pay-method-title {
  grid-column: 2;
  font-size: 10px !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: var(--ss-text) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.silent-miniapp #view-deposit .pay-method-sub {
  grid-column: 2;
  font-size: 8px !important;
  font-weight: 400 !important;
  color: var(--ss-muted) !important;
  margin: 0 !important;
}
body.silent-miniapp #view-deposit .pay-method-card.active {
  background: #f5f6fc !important;
  border-color: #aab3d9 !important;
  box-shadow: 0 0 0 1px #aab3d910 !important;
}
body.silent-miniapp #view-deposit .paymethod-check {
  font-size: 8px !important;
  color: #8d99c5 !important;
  top: 6px !important;
  right: 6px !important;
}
body.silent-miniapp #paymentMethodHint {
  font-size: 10px !important;
  line-height: 1.85;
  color: var(--ss-muted) !important;
  background: var(--ss-bg) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 7px;
  padding: 12px 14px;
  white-space: pre-line;
}
.finance-promo {
  padding: 20px 0;
  border-bottom: 1px solid var(--ss-line);
  margin-bottom: 18px;
}
body.silent-miniapp .finance-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ss-muted);
  background: transparent;
  border: 0;
  padding: 0;
}
.finance-text-btn i {
  font-size: 9px;
}
body.silent-miniapp #depositPromoCodeBox {
  background: var(--ss-bg) !important;
  border-color: var(--ss-line) !important;
  border-radius: 7px !important;
  padding: 12px !important;
  margin-top: 13px !important;
}
body.silent-miniapp #depositPromoInput {
  width: 100%;
  min-width: 0 !important;
  letter-spacing: 0 !important;
  font-weight: 450 !important;
}
body.silent-miniapp #btnApplyDepositPromo {
  font-size: 10px !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
.finance-terms {
  margin: 0 0 20px;
}
body.silent-miniapp .finance-terms > div {
  display: flex;
  align-items: start;
  gap: 8px;
  padding: 0 !important;
}
body.silent-miniapp #depositTerms {
  width: 13px !important;
  height: 13px !important;
  margin-top: 3px !important;
  flex-shrink: 0;
  accent-color: #737eaf;
}
body.silent-miniapp .finance-terms label {
  font-size: 9px !important;
  line-height: 1.9 !important;
  color: var(--ss-muted) !important;
}
body.silent-miniapp .finance-terms a {
  color: #7a86b3 !important;
}
body.silent-miniapp #depositSubmitBtn {
  width: 100%;
  min-height: 42px !important;
  background: linear-gradient(#424347, #202124) !important;
  border: 1px solid #282a30 !important;
  color: #fff !important;
  border-radius: 7px !important;
  box-shadow: inset 0 1px 0 #ffffff20 !important;
  font-size: 11px !important;
  font-weight: 550 !important;
  transform: none !important;
}
body.silent-miniapp #depositSubmitBtn * {
  color: #fff !important;
}
.finance-form-footnote {
  font-size: 9px;
  text-align: center;
  color: var(--ss-muted);
  margin: 15px 0 0;
  line-height: 1.8;
}
.finance-form-footnote button {
  font-size: inherit;
  color: #7d89b0;
  background: transparent;
  border: 0;
  padding: 0;
}
.finance-deposit-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finance-balance {
  padding: 22px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  display: flex;
  align-items: start;
  flex-direction: column;
  color: #535f70;
  min-height: 190px;
}
.finance-balance > i {
  font-size: 16px;
  margin-bottom: 18px;
  color: #75839b;
}
.finance-balance > span {
  font-size: 10px;
  color: #8b929f;
  margin-bottom: 6px;
}
body.silent-miniapp #depositCurrentBalance {
  font-size: 27px !important;
  font-weight: 600 !important;
  letter-spacing: -0.8px !important;
  color: #343e4d !important;
  line-height: 1.4;
}
.finance-balance > button {
  margin-top: 20px;
  padding: 12px 0 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-top: 1px solid #dfe5ef;
  background: transparent;
  color: #8390a4;
  font-size: 10px;
  font-weight: 450;
}
.finance-side-note {
  padding: 22px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  background: var(--ss-paper);
}
.finance-side-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #f2f3f8;
  color: #959db3;
  font-size: 12px;
  margin-bottom: 16px;
}
.finance-side-note h3,
.finance-side-help h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 10px;
  color: var(--ss-text);
}
.finance-side-note p {
  font-size: 10px;
  color: var(--ss-muted);
  line-height: 1.9;
  margin: 0 0 18px;
}
.finance-side-help {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 6px 4px;
  color: #959eb0;
}
.finance-side-help > i {
  font-size: 13px;
  margin-top: 2px;
}
.finance-side-help h3 {
  font-size: 10px;
  margin-bottom: 5px;
}
.finance-side-help p {
  font-size: 9px;
  color: var(--ss-muted);
  margin: 0;
  line-height: 1.7;
}
.finance-side-help > button {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #a2a9b6;
}
.dark .finance-status--paid {
  background: #303f37;
  color: #a6c0ac;
  border-color: #3b4d42 !important;
}
.dark .finance-status--pending {
  background: #443f31;
  color: #d0bf8f;
  border-color: #554c36 !important;
}
.dark .finance-status--error {
  background: #48373d;
  color: #c7a0a8;
  border-color: #594048 !important;
}
.dark .finance-status--neutral {
  background: #353d50;
  color: #aeb7d2;
  border-color: #45506a !important;
}
.dark .finance-summary-card,
.dark .finance-balance {
  background: linear-gradient(120deg, #343d53, #2a3441);
  border-color: #424d60;
  color: #d8deeb;
}
.dark .finance-summary-card.ss-wash-mint {
  background: linear-gradient(120deg, #344b4b, #303846);
}
.dark .finance-summary-card.ss-wash-peach {
  background: linear-gradient(120deg, #4c3b4e, #444131);
}
.dark body.silent-miniapp #depositCurrentBalance {
  color: #d5dfef !important;
}
.dark body.silent-miniapp #view-deposit .pay-method-card.active {
  background: #343c52 !important;
  border-color: #7081b8 !important;
}
.dark body.silent-miniapp #view-deposit .deposit-chip-btn.active {
  background: #353f58 !important;
  color: #b0bbdc !important;
}
.dark body.silent-miniapp #depositAmount {
  border-color: #424b5c !important;
}
.dark .finance-product-icon {
  background: #343e53;
  border-color: #424f6a;
  color: #a2b2d1;
}
.dark body.silent-miniapp .finance-operation > img,
.dark
  body.silent-miniapp
  .finance-operation
  > div:first-child:not(:last-child) {
  background: #343d4c !important;
}
@media (max-width: 1200px) {
  body.silent-miniapp .finance-deposit-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 15px;
  }
  body.silent-miniapp .finance-deposit-form {
    padding: 20px;
  }
  .finance-balance,
  .finance-side-note {
    padding: 20px;
  }
}
@media (max-width: 850px) {
  body.silent-miniapp .finance-deposit-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .finance-deposit-side {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .finance-balance {
    min-height: 155px;
  }
  .finance-balance > i {
    margin-bottom: 12px;
  }
  .finance-balance > button {
    margin-top: 12px;
  }
  .finance-side-help {
    display: none;
  }
  .finance-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .finance-ledger-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  body.silent-miniapp .finance-view .cabinet-page-heading {
    gap: 10px;
  }
  .finance-view .cabinet-page-heading p {
    max-width: 190px;
  }
  body.silent-miniapp .finance-view .cabinet-page-heading .ss-btn {
    min-height: 35px;
    padding: 7px 9px;
    font-size: 9px;
  }
  .finance-view .cabinet-page-heading .ss-btn > i {
    display: none;
  }
  .finance-summary-card {
    padding: 13px;
    min-height: 111px;
  }
  .finance-summary-card > i {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .finance-summary-card > strong {
    font-size: 20px;
  }
  .finance-summary-card > span {
    font-size: 8px;
    line-height: 1.6;
  }
  .finance-summary {
    gap: 8px !important;
    margin-bottom: 17px !important;
  }
  .finance-ledger-toolbar {
    padding: 13px !important;
    align-items: start;
    flex-direction: column;
    gap: 11px !important;
  }
  .finance-table-help {
    font-size: 8px;
  }
  .finance-filters {
    gap: 4px;
  }
  .finance-filter {
    font-size: 8px !important;
    padding: 6px 7px !important;
    min-height: 32px !important;
  }
  .finance-filter > span {
    font-size: 8px !important;
  }
  .finance-table-scroll {
    overflow: visible;
  }
  body.silent-miniapp .finance-table {
    display: block;
    min-width: 0;
    font-size: 11px;
  }
  body.silent-miniapp .finance-table thead {
    display: none;
  }
  body.silent-miniapp .finance-table tbody {
    display: block;
    position: relative;
    border-bottom: 1px solid var(--ss-line);
  }
  body.silent-miniapp .finance-table tbody:last-child {
    border: 0;
  }
  body.silent-miniapp .finance-table tr {
    display: block;
    padding: 15px;
  }
  body.silent-miniapp .finance-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 !important;
    border: 0 !important;
    min-height: 0;
    font-size: 10px;
  }
  body.silent-miniapp .finance-table td[data-label]:before {
    content: attr(data-label);
    font-size: 9px;
    color: var(--ss-muted);
    font-weight: 400;
    flex-shrink: 0;
  }
  body.silent-miniapp .finance-table .finance-select-cell {
    position: absolute;
    top: 18px;
    right: 14px;
    width: 18px;
    padding: 0 !important;
  }
  body.silent-miniapp .finance-table td[data-label="Аккаунт"] {
    display: block;
    padding: 0 22px 13px 0 !important;
  }
  body.silent-miniapp .finance-table td[data-label="Аккаунт"]:before,
  body.silent-miniapp .finance-table td[data-label="Операция"]:before {
    display: none;
  }
  .finance-account-meta {
    font-size: 8px;
    white-space: normal;
  }
  .finance-account {
    min-width: 0;
  }
  .finance-account-status {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: end;
    gap: 4px;
  }
  body.silent-miniapp .finance-table .finance-row-action {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px !important;
  }
  body.silent-miniapp .finance-table .finance-row-action .ss-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 34px;
    font-size: 10px;
    padding: 7px 10px;
  }
  body.silent-miniapp .finance-table tr.finance-purchase-detail-row {
    padding: 0 !important;
  }
  body.silent-miniapp .finance-table tr.finance-purchase-detail-row > td {
    display: block !important;
    padding: 0 !important;
  }
  .finance-purchase-details {
    padding: 16px !important;
  }
  .finance-purchase-details .truncate {
    max-width: 190px !important;
  }
  body.silent-miniapp .finance-history-table tr {
    border-bottom: 1px solid var(--ss-line);
    padding: 17px 15px;
  }
  .finance-history-table tr:last-child {
    border: 0 !important;
  }
  body.silent-miniapp .finance-history-table td[data-label="Операция"] {
    display: block;
    padding: 0 0 13px !important;
  }
  .finance-operation strong {
    font-size: 12px;
  }
  .finance-actions > div {
    justify-content: end !important;
  }
  .finance-actions a,
  .finance-actions button {
    min-height: 32px !important;
  }
  .finance-ledger-note {
    font-size: 8px;
    line-height: 1.8;
    padding: 12px 15px;
  }
  .finance-deposit-side {
    display: block;
  }
  .finance-side-note {
    display: none;
  }
  .finance-balance {
    min-height: 0;
    padding: 18px;
    position: relative;
  }
  .finance-balance > i {
    position: absolute;
    right: 19px;
    top: 21px;
  }
  .finance-balance > span {
    margin-bottom: 5px;
  }
  .finance-balance > button {
    padding-top: 11px;
    margin-top: 12px;
  }
  .finance-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.silent-miniapp .finance-deposit-form {
    padding: 18px;
  }
  .finance-panel-title {
    align-items: start;
  }
  .finance-panel-title > span {
    font-size: 8px;
    white-space: nowrap;
  }
  .finance-presets {
    gap: 5px;
  }
  body.silent-miniapp #view-deposit .deposit-chip-btn {
    min-height: 32px;
    font-size: 9px !important;
    padding: 5px 8px !important;
  }
  body.silent-miniapp #view-deposit .pay-method-card {
    min-height: 69px !important;
    padding: 13px 9px !important;
    column-gap: 7px;
  }
  .finance-terms label {
    font-size: 9px !important;
  }
  .finance-submit {
    min-height: 44px !important;
  }
  body.silent-miniapp #depositPromoInput {
    font-size: 16px !important;
  }
  body.silent-miniapp #depositPromoCodeBox > .flex {
    flex-wrap: wrap;
  }
  body.silent-miniapp #btnApplyDepositPromo {
    min-height: 35px;
  }
}

/* Keep the complete desktop payment form compact enough for a normal laptop. */
body.silent-miniapp #view-deposit .cabinet-page-heading {
  margin-bottom: 18px;
}
body.silent-miniapp #view-deposit .finance-panel-title {
  padding-bottom: 14px;
  margin-bottom: 16px;
}
body.silent-miniapp #view-deposit .finance-field {
  margin-bottom: 18px;
}
body.silent-miniapp #depositAmount {
  height: 44px;
}
body.silent-miniapp #view-deposit .pay-method-card {
  min-height: 58px !important;
  padding-block: 10px !important;
}
body.silent-miniapp #paymentMethodHint {
  padding: 10px 13px;
}
body.silent-miniapp #view-deposit .finance-promo {
  padding: 14px 0;
  margin-bottom: 14px;
}
body.silent-miniapp #view-deposit .finance-terms {
  margin-bottom: 16px;
}
body.silent-miniapp #view-deposit .finance-form-footnote {
  margin-top: 12px;
}
@media (min-width: 851px) and (max-width: 1200px) {
  body.silent-miniapp .finance-deposit-form {
    padding: 18px;
  }
}

/* Shared cabinet: silent-profile.css */
/* The four profile tabs use the same compact workspace language as the cabinet. */
body.silent-miniapp .profile-view {
  color: var(--ss-text);
}
body.silent-miniapp .profile-view .cabinet-page-heading {
  margin-bottom: 20px;
}
.profile-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--ss-line);
  margin-bottom: 24px;
  padding: 0 0 10px;
}
body.silent-miniapp #view-profile .profile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 500;
  box-shadow: none;
  white-space: nowrap;
}
body.silent-miniapp #view-profile .profile-tab > i {
  font-size: 11px;
  color: #9299a7;
}
body.silent-miniapp #view-profile .profile-tab.active {
  background: var(--ss-paper);
  border-color: var(--ss-line);
  color: #515c7b;
  box-shadow: 0 1px 2px #1b233605;
}
body.silent-miniapp #view-profile .profile-tab.active > i {
  color: #8a95bd !important;
}
.profile-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}
.profile-main-column,
.profile-side-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.profile-panel {
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  padding: 21px;
  min-width: 0;
}
.profile-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--ss-line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
body.silent-miniapp #view-profile .profile-panel-heading h3 {
  font-size: 12px !important;
  line-height: 1.5;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  color: var(--ss-text);
  margin: 0 0 5px;
}
.profile-panel-heading p {
  font-size: 10px;
  color: var(--ss-muted);
  line-height: 1.8;
  margin: 0;
}
.profile-panel-heading > i {
  font-size: 13px;
  color: #a0a7b5;
  margin-top: 4px;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
body.silent-miniapp #profAvatarCircle {
  width: 43px !important;
  height: 43px !important;
  border-radius: 12px !important;
  background: #eef1f8 !important;
  border: 1px solid #e3e8f2 !important;
  box-shadow: none !important;
  color: #8795b5 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
}
body.silent-miniapp #profCardFullName {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  margin: 0 0 4px;
  color: var(--ss-text) !important;
}
body.silent-miniapp #profCardNickSub {
  font-size: 10px !important;
  letter-spacing: 0 !important;
  color: var(--ss-muted) !important;
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-identity > .profile-upload {
  margin-left: auto;
  min-height: 31px;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}
.profile-upload input {
  display: none !important;
}
.profile-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-field {
  display: block;
  min-width: 0;
}
.profile-field > span {
  display: block;
  font-size: 10px;
  color: #858c99;
  font-weight: 450;
  margin-bottom: 8px;
}
body.silent-miniapp #view-profile .profile-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  background: var(--ss-paper) !important;
  border: 1px solid #e4e7ed !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  font-size: 11px !important;
  font-weight: 450 !important;
  color: var(--ss-text) !important;
  box-shadow: 0 1px 2px #00000002 !important;
  outline: none;
}
body.silent-miniapp #view-profile .profile-input::placeholder {
  color: #a8aeba;
}
body.silent-miniapp #view-profile .profile-input:focus {
  border-color: #969fca !important;
}
.profile-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--ss-line);
}
.profile-panel-footer > span {
  font-size: 9px;
  color: var(--ss-muted);
  line-height: 1.8;
}
body.silent-miniapp #view-profile .ss-btn {
  font-size: 10px;
  min-height: 33px;
  padding: 7px 11px;
  gap: 7px;
  font-weight: 500;
  border-radius: 6px;
}
body.silent-miniapp #view-profile .ss-btn--primary {
  background: linear-gradient(#424347, #202124) !important;
  color: #fff !important;
  border-color: #292b31 !important;
  box-shadow: inset 0 1px 0 #ffffff20 !important;
}
body.silent-miniapp #view-profile .ss-btn--primary * {
  color: #fff !important;
}
.profile-inline-input {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-inline-input .profile-input {
  flex: 1;
}
.profile-inline-input .ss-btn {
  flex-shrink: 0;
  min-height: 39px !important;
}
.profile-field-note {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  font-size: 9px;
  color: var(--ss-muted);
  line-height: 1.7;
}
body.silent-miniapp #profEmailBadge {
  font-size: 9px !important;
  color: #85958a !important;
  font-weight: 450 !important;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.silent-miniapp #emailChangeStep2 {
  margin-top: 18px;
  font-size: 11px;
}
.profile-security-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ss-line);
  padding: 15px 0;
}
.profile-security-row:nth-child(2) {
  padding-top: 0;
}
.profile-setting-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9ecf3;
  background: #f3f5f9;
  color: #949fb5;
  border-radius: 7px;
  font-size: 12px;
  flex-shrink: 0;
}
.profile-security-row > div:not(.profile-row-controls) {
  min-width: 0;
  flex: 1;
}
.profile-security-row strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ss-text);
  margin-bottom: 4px;
}
body.silent-miniapp #profTelegramIdVal,
.profile-security-row > div > span {
  font-size: 10px !important;
  font-weight: 450 !important;
  color: var(--ss-muted) !important;
  display: block;
  overflow-wrap: anywhere;
}
.profile-row-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
body.silent-miniapp #view-profile .profile-text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  font-size: 9px;
  color: #7f8aaa;
  font-weight: 450;
  padding: 0;
}
body.silent-miniapp #profTelegramCopyBtn,
body.silent-miniapp #profTelegramBindAction {
  font-size: 9px !important;
  font-weight: 450 !important;
  color: #8a95af !important;
  padding: 0;
  background: transparent;
  border: 0;
}
body.silent-miniapp #profTelegramCopyBtn i {
  font-size: 10px;
}
.profile-security-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: #929aab;
  font-size: 10px;
  text-align: left;
  padding: 16px 0 0;
}
.profile-help-note {
  padding: 7px 6px;
  color: var(--ss-muted);
}
.profile-help-note > .profile-setting-icon {
  margin-bottom: 13px;
}
.profile-help-note h3 {
  font-size: 11px;
  font-weight: 550;
  color: var(--ss-text);
  margin: 0 0 8px;
}
.profile-help-note p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0 0 13px;
  max-width: 250px;
}
.profile-soft-badge {
  font-size: 8px;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid var(--ss-line);
  border-radius: 5px;
  padding: 4px 6px;
  color: #99a0ad;
  background: var(--ss-bg);
}
.profile-access-list {
  margin: 0;
}
.profile-access-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ss-line);
  padding: 19px 0;
}
.profile-access-list > div:first-child {
  padding-top: 3px;
}
.profile-access-list > div:last-child {
  border: 0;
  padding-bottom: 2px;
}
.profile-access-list dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--ss-muted);
  white-space: nowrap;
  font-weight: 400;
}
.profile-access-list dt i {
  font-size: 10px;
  color: #a1a9b8;
  width: 12px;
  text-align: center;
}
.profile-access-list dd {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  font-size: 11px;
  color: var(--ss-text);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-access-list dd > a {
  font-size: 10px;
  color: #8493b4;
  overflow-wrap: anywhere;
}
.profile-access-list dd > button:not(.profile-text-button) {
  background: transparent;
  border: 0;
  color: #9da6b8;
  font-size: 10px;
  padding: 2px;
}
.profile-api-panel {
  padding: 24px;
}
.profile-api-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f2f9;
  border: 1px solid #e7e9f4;
  color: #8b97bb;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 19px;
}
.profile-api-panel > h3 {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.profile-api-panel > p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--ss-muted);
  margin: 0 0 23px;
}
.profile-api-panel > .ss-btn {
  display: flex;
  width: 100%;
  margin-top: 9px;
  justify-content: center;
}
.profile-billing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.profile-billing-stat {
  padding: 18px;
  border: 1px solid var(--ss-line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 132px;
}
.profile-billing-stat > i {
  font-size: 14px;
  color: #778397;
  margin-bottom: 18px;
}
body.silent-miniapp #profAccountBalance,
body.silent-miniapp #profStatPurchasesCount,
body.silent-miniapp #profStatSpentTotal {
  font-size: 23px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
  font-family: Manrope, sans-serif !important;
  color: #3b4350 !important;
  margin-bottom: 5px;
}
.profile-billing-stat > span {
  font-size: 10px;
  color: #9298a3;
}
.profile-billing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  margin-bottom: 5px;
}
.profile-billing-actions > span {
  font-size: 10px;
  color: var(--ss-muted);
  line-height: 1.8;
}
.profile-billing-actions > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-recent-panel {
  padding: 0;
  overflow: hidden;
}
.profile-recent-panel .profile-panel-heading {
  padding: 17px 18px;
  margin: 0;
  align-items: center;
}
.profile-recent-panel .profile-panel-heading h3 {
  margin-bottom: 4px !important;
}
.profile-table-scroll {
  overflow-x: auto;
}
.profile-recent-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 620px;
  font-size: 10px;
  line-height: 1.6;
}
.profile-recent-table th {
  padding: 11px 17px;
  color: var(--ss-muted);
  font-size: 9px;
  font-weight: 450;
  background: var(--ss-bg);
  border-bottom: 1px solid var(--ss-line);
  white-space: nowrap;
}
.profile-recent-table td {
  padding: 16px 17px;
  border-bottom: 1px solid var(--ss-line);
  font-size: 10px;
  color: var(--ss-muted);
  white-space: nowrap;
}
.profile-recent-table tr:last-child td {
  border: 0;
}
.profile-recent-account {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-recent-account strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--ss-text);
}
.profile-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}
.profile-country img {
  width: 17px !important;
  height: 12px !important;
  border-radius: 2px;
  box-shadow: none !important;
}
.profile-recent-table .profile-recent-price {
  font-size: 11px;
  color: var(--ss-text);
  font-weight: 500;
}
.profile-delivered {
  padding: 4px 7px;
  border: 1px solid #e1ebdd;
  background: #edf5eb;
  color: #7a936f;
  font-size: 8px;
  border-radius: 5px;
}
.profile-empty {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ss-muted);
  font-size: 10px;
  text-align: center;
}
.profile-empty > i {
  font-size: 20px;
  color: #a5afbf;
  margin-bottom: 4px;
}
.profile-empty strong {
  font-size: 12px;
  color: var(--ss-text);
  font-weight: 500;
}
.profile-empty > .ss-btn {
  margin-top: 5px;
}
.profile-notification-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 0;
  border-bottom: 1px solid var(--ss-line);
  cursor: pointer;
}
.profile-notification-row:nth-child(2) {
  padding-top: 1px;
}
.profile-setting-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.profile-setting-copy > strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--ss-text);
}
.profile-setting-copy > span {
  font-size: 9px;
  line-height: 1.7;
  color: var(--ss-muted);
}
.profile-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 26px;
  margin-left: 8px;
}
body.silent-miniapp #view-profile .profile-toggle {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.profile-toggle-track {
  display: block;
  width: 29px;
  height: 17px;
  border-radius: 20px;
  border: 1px solid #dcdfe6;
  background: #e9ebf0;
  position: relative;
  transition: background-color 0.15s ease;
}
.profile-toggle-track:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #00000012;
  transition: transform 0.15s ease;
}
.profile-toggle:checked + .profile-toggle-track {
  background: #8f9cc4;
  border-color: #8f9cc4;
}
.profile-toggle:checked + .profile-toggle-track:after {
  transform: translateX(12px);
}
.profile-toggle:focus-visible + .profile-toggle-track {
  outline: 3px solid #8c98ef;
  outline-offset: 3px;
}
.profile-protection-panel {
  padding-bottom: 6px;
}
.profile-protection-method {
  padding: 0 0 19px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ss-line);
}
.profile-protection-method:last-child {
  border: 0;
  margin: 0;
}
.profile-protection-method-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.profile-protection-method-heading > div {
  flex: 1;
  min-width: 0;
}
.profile-protection-method-heading h4 {
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 5px;
  line-height: 1.6;
  color: var(--ss-text);
}
.profile-protection-method-heading p {
  font-size: 8px;
  line-height: 1.7;
  margin: 0;
  color: var(--ss-muted);
}
body.silent-miniapp #app2faBadge,
body.silent-miniapp #tg2faBadge {
  font-size: 8px !important;
  line-height: 1.5 !important;
  font-weight: 450 !important;
  background: #f2f3f6 !important;
  border: 1px solid #e7e9ef !important;
  border-radius: 5px !important;
  color: #9099a8 !important;
  padding: 3px 5px !important;
  white-space: nowrap;
}
body.silent-miniapp #app2faBadge[class*="bg-emerald"],
body.silent-miniapp #tg2faBadge[class*="bg-emerald"] {
  background: #edf5eb !important;
  border-color: #e1ebdd !important;
  color: #77916d !important;
}
body.silent-miniapp .profile-2fa-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.silent-miniapp .profile-2fa-controls > button {
  min-height: 34px;
  width: 100%;
  font-size: 10px !important;
  font-weight: 450 !important;
  border-radius: 6px !important;
  background: var(--ss-paper) !important;
  border: 1px solid var(--ss-line) !important;
  color: #8a93a6 !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  transform: none !important;
}
body.silent-miniapp .profile-2fa-controls > button * {
  color: inherit !important;
  font-size: 10px !important;
}
body.silent-miniapp .profile-2fa-controls > button[class*="bg-brandBlue"] {
  background: #393d46 !important;
  color: #fff !important;
  border-color: #393d46 !important;
}
body.silent-miniapp .profile-2fa-controls > input {
  min-height: 36px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  letter-spacing: 4px;
  font-weight: 450 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
body.silent-miniapp .profile-2fa-controls > div,
body.silent-miniapp .profile-2fa-controls > p {
  font-size: 9px !important;
  line-height: 1.8;
  color: var(--ss-muted) !important;
  margin: 0 !important;
  border-radius: 6px !important;
}
body.silent-miniapp #tgBindStatusText b {
  font-size: 8px !important;
  color: var(--ss-muted) !important;
  font-weight: 500 !important;
}
.dark .profile-tab.active {
  background: #303745;
}
.dark .profile-field > span {
  color: #a3abb9;
}
.dark body.silent-miniapp #view-profile .profile-input {
  border-color: #424c60 !important;
}
.dark .profile-setting-icon {
  background: #333c4d;
  border-color: #414d63;
  color: #a5b1cb;
}
.dark .profile-delivered {
  background: #314137;
  border-color: #425547;
  color: #abc0a4;
}
.dark .profile-billing-stat {
  background: linear-gradient(120deg, #343d53, #2a3441);
  border-color: #424d60;
}
.dark .profile-billing-stat.ss-wash-mint {
  background: linear-gradient(120deg, #344b4b, #303846);
}
.dark .profile-billing-stat.ss-wash-peach {
  background: linear-gradient(120deg, #4c3b4e, #444131);
}
.dark body.silent-miniapp #profAccountBalance,
.dark body.silent-miniapp #profStatPurchasesCount,
.dark body.silent-miniapp #profStatSpentTotal {
  color: #d8e0ee !important;
}
.dark .profile-api-icon {
  background: #343e53;
  border-color: #45516a;
  color: #a2b1d0;
}
@media (max-width: 1200px) {
  .profile-settings-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
    gap: 15px;
  }
  .profile-panel {
    padding: 18px;
  }
  .profile-panel-heading p {
    font-size: 9px;
  }
  .profile-access-list > div {
    gap: 12px;
  }
  .profile-tab {
    padding-inline: 10px !important;
    font-size: 9px !important;
  }
  .profile-protection-method-heading {
    gap: 7px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: none;
  }
  .profile-panel-footer > span {
    font-size: 8px;
  }
}
@media (max-width: 850px) {
  .profile-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .profile-help-note {
    padding: 18px;
  }
  .profile-api-panel > .ss-btn {
    max-width: 300px;
  }
  .profile-billing-actions {
    align-items: start;
  }
  .profile-billing-actions > span {
    max-width: 200px;
  }
  .profile-notifications-panel .profile-panel-footer > span {
    font-size: 9px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: flex;
  }
}
@media (max-width: 650px) {
  body.silent-miniapp .profile-view .cabinet-page-heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .profile-view .cabinet-page-heading p {
    max-width: 205px;
  }
  .profile-view .cabinet-page-heading > .ss-btn {
    font-size: 8px !important;
    padding: 7px 9px !important;
    min-height: 34px !important;
  }
  .profile-view .cabinet-page-heading > .ss-btn i {
    display: none;
  }
  .profile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }
  body.silent-miniapp #view-profile .profile-tab {
    font-size: 9px !important;
    padding: 8px 5px !important;
    min-height: 39px;
    gap: 6px;
    white-space: normal;
    justify-content: start;
  }
  .profile-tab > i {
    width: 13px;
    text-align: center;
    font-size: 10px !important;
  }
  .profile-panel {
    padding: 17px;
  }
  .profile-panel-heading {
    padding-bottom: 14px;
    margin-bottom: 16px;
    gap: 10px;
  }
  .profile-panel-heading p {
    font-size: 9px;
  }
  .profile-panel-heading > i {
    display: none;
  }
  .profile-identity {
    gap: 9px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .profile-identity > .profile-upload {
    margin-left: 0;
    margin-top: 4px;
    flex-basis: 100%;
  }
  .profile-form-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.silent-miniapp #view-profile .profile-input {
    font-size: 16px !important;
    min-height: 42px;
  }
  .profile-panel-footer {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 15px;
  }
  .profile-panel-footer > span {
    font-size: 9px;
  }
  .profile-panel-footer > .ss-btn {
    min-height: 37px !important;
    font-size: 9px !important;
  }
  .profile-inline-input {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .profile-inline-input > .ss-btn {
    align-self: start;
    min-height: 35px !important;
  }
  .profile-field-note {
    flex-direction: column;
    gap: 6px;
    font-size: 8px;
  }
  .profile-side-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .profile-help-note {
    padding: 5px 6px;
  }
  .profile-help-note > .profile-setting-icon {
    display: none;
  }
  .profile-help-note h3 {
    font-size: 10px;
  }
  .profile-help-note p {
    font-size: 9px;
    max-width: 100%;
  }
  .profile-access-list > div {
    align-items: start;
    padding: 16px 0;
    gap: 10px;
  }
  .profile-access-list dt {
    font-size: 9px;
    gap: 6px;
  }
  .profile-access-list dd {
    font-size: 10px;
    gap: 8px;
  }
  .profile-access-list dd > a {
    font-size: 9px;
  }
  .profile-access-list dd > span {
    max-width: 150px;
    overflow-wrap: anywhere;
  }
  .profile-api-panel > .ss-btn {
    max-width: 100%;
    min-height: 37px !important;
  }
  .profile-soft-badge {
    font-size: 7px;
    max-width: 100px;
    white-space: normal;
    text-align: right;
  }
  .profile-billing-summary {
    gap: 8px;
  }
  .profile-billing-stat {
    padding: 13px 11px;
    min-height: 113px;
  }
  .profile-billing-stat > i {
    font-size: 12px;
    margin-bottom: 16px;
  }
  body.silent-miniapp #profAccountBalance,
  body.silent-miniapp #profStatPurchasesCount,
  body.silent-miniapp #profStatSpentTotal {
    font-size: 19px !important;
  }
  .profile-billing-stat > span {
    font-size: 8px;
    line-height: 1.7;
  }
  .profile-billing-actions {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
  .profile-billing-actions > span {
    font-size: 9px;
    max-width: 100%;
  }
  .profile-billing-actions > div {
    width: 100%;
    gap: 6px;
  }
  .profile-billing-actions .ss-btn {
    flex: 1;
    font-size: 9px !important;
    min-height: 37px !important;
    padding-inline: 8px !important;
  }
  .profile-recent-panel {
    padding: 0;
  }
  .profile-recent-panel .profile-panel-heading {
    padding: 15px;
    align-items: start;
  }
  .profile-recent-panel .profile-panel-heading p {
    font-size: 8px;
    max-width: 160px;
  }
  .profile-recent-panel .profile-panel-heading .ss-btn {
    font-size: 8px !important;
    padding: 7px 8px !important;
    min-height: 32px;
  }
  .profile-table-scroll {
    overflow: visible;
  }
  .profile-recent-table {
    display: block;
    min-width: 0;
  }
  .profile-recent-table thead {
    display: none;
  }
  .profile-recent-table tbody {
    display: block;
  }
  .profile-recent-table tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--ss-line);
  }
  .profile-recent-table tr:last-child {
    border: 0;
  }
  .profile-recent-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    padding: 6px 0;
    font-size: 9px;
  }
  .profile-recent-table td:before {
    content: attr(data-label);
    font-size: 9px;
    color: var(--ss-muted);
  }
  .profile-recent-table td[data-label="Аккаунт"]:before {
    display: none;
  }
  .profile-recent-table td[data-label="Аккаунт"] {
    display: block;
    padding-top: 0;
    padding-bottom: 10px;
  }
  .profile-notification-row {
    gap: 8px;
    padding: 17px 0;
  }
  .profile-setting-copy > strong {
    font-size: 10px;
  }
  .profile-setting-copy > span {
    font-size: 8px;
  }
  .profile-notification-row > .profile-setting-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    font-size: 11px;
  }
  .profile-toggle-wrap {
    margin-left: 2px;
  }
  .profile-protection-method-heading > .profile-setting-icon {
    display: none;
  }
  .profile-protection-method-heading h4 {
    font-size: 10px;
  }
  .profile-protection-method-heading p {
    font-size: 8px;
  }
  .profile-protection-panel {
    padding-bottom: 2px;
  }
  body.silent-miniapp .profile-2fa-controls > button {
    min-height: 38px !important;
  }
  body.silent-miniapp .profile-2fa-controls > input {
    font-size: 16px !important;
    min-height: 40px !important;
  }
  .profile-notifications-panel .profile-panel-footer {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
}

/* Override the legacy email button's ID rule and keep table edges aligned. */
body.silent-miniapp #view-profile #btnChangeEmail {
  background: var(--ss-paper) !important;
  color: #818caa !important;
  border: 1px solid var(--ss-line) !important;
  box-shadow: none !important;
}
body.silent-miniapp #view-profile .profile-tab-panel {
  animation: none !important;
}
.profile-panel.profile-recent-panel {
  padding: 0;
}
.profile-field > label {
  display: block;
  font-size: 10px;
  color: #858c99;
  font-weight: 450;
  margin-bottom: 8px;
}

body.silent-miniapp .profile-2fa-controls > button[class*="bg-red-"] {
  color: #b1848b !important;
  background: #fbf5f5 !important;
  border-color: #f1e4e6 !important;
}
@media (max-width: 650px) {
  .profile-billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-billing-stat:first-child {
    grid-column: 1/-1;
    min-height: 119px;
  }
  body.silent-miniapp #profAccountBalance {
    font-size: 25px !important;
  }
}
.dark body.silent-miniapp #view-profile .profile-tab.active {
  color: #c8d1e8;
}

/* Shared cabinet: silent-support.css */
/* Support workspace: cabinet surfaces, restrained status colors, compact controls. */
#view-support { --support-soft: #f6f7fa; --support-selected: #eff0fb; --support-selected-text: #5562a8; width: 100%; color: var(--ss-text); }
html.dark #view-support { --support-soft: #222a35; --support-selected: #303b54; --support-selected-text: #c0cef5; }
body.silent-miniapp #view-support .hidden { display: none !important; }
#view-support button { cursor: pointer; font-family: inherit; }
#view-support :is(button,input,textarea):focus-visible { outline: 2px solid var(--ss-accent); outline-offset: 3px; }
#view-support button:disabled { opacity: .6; cursor: wait; }
#view-support .support-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
body.silent-miniapp #view-support .support-heading h2 { margin: 0 0 6px; color: var(--ss-text) !important; font-size: 24px !important; font-weight: 650 !important; letter-spacing: -.75px; line-height: 1.35; }
#view-support .support-heading p { margin: 0; color: var(--ss-muted); font-size: 12px; line-height: 1.7; }
body.silent-miniapp #view-support .support-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 36px; padding: 8px 13px; border: 1px solid var(--ss-line) !important; border-radius: 8px !important; background: var(--ss-paper) !important; color: var(--ss-text) !important; font-size: 11px !important; font-weight: 600; line-height: 1.4; box-shadow: none !important; white-space: nowrap; }
#view-support .support-btn i { color: inherit !important; font-size: 12px; }
body.silent-miniapp #view-support .support-btn:hover { background: var(--support-soft) !important; }
body.silent-miniapp #view-support .support-btn-primary { border-color: #292d35 !important; background: #292d35 !important; color: #fff !important; }
body.silent-miniapp #view-support .support-btn-primary:hover { background: #414650 !important; }
html.dark body.silent-miniapp #view-support .support-btn-primary { background: #e7ebf3 !important; border-color: #e7ebf3 !important; color: #202733 !important; }
html.dark body.silent-miniapp #view-support .support-btn-primary:hover { background: #ccd5e5 !important; }
#view-support :is(.support-list-panel,.support-form-panel,.support-thread-panel) { border: 1px solid var(--ss-line) !important; border-radius: 12px !important; background: var(--ss-paper) !important; overflow: hidden; }
#view-support .support-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 16px; border-bottom: 1px solid var(--ss-line) !important; }
#view-support .support-filters { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--ss-line) !important; border-radius: 9px; background: var(--support-soft) !important; }
#view-support .support-filters button { display: flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ss-muted); padding: 7px 10px; font-size: 11px; font-weight: 550; }
#view-support .support-filters button[aria-pressed="true"] { background: var(--ss-paper) !important; color: var(--ss-text) !important; border-color: var(--ss-line) !important; box-shadow: 0 1px 3px #18223808; }
#view-support .support-filters button span { color: var(--ss-muted); font-size: 10px; }
#view-support .support-toolbar-tools { display: flex; gap: 8px; align-items: center; }
#view-support .support-search { position: relative; min-width: 0; }
#view-support .support-search > i { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: var(--ss-muted); font-size: 11px; pointer-events: none; }
body.silent-miniapp #view-support .support-search input { width: 100%; min-height: 36px; margin: 0; padding: 9px 12px 9px 34px !important; border: 1px solid var(--ss-line) !important; border-radius: 8px !important; background: var(--ss-paper) !important; color: var(--ss-text) !important; box-shadow: none !important; font-size: 11px !important; }
#view-support #ticketListSearch { width: 235px; }
#view-support .support-search input::placeholder,#view-support textarea::placeholder { color: var(--ss-muted) !important; opacity: .8; }
#view-support .support-refresh { width: 36px; padding: 8px !important; }
#view-support .support-feedback { padding: 18px; font-size: 12px; color: var(--ss-muted); line-height: 1.8; }
#view-support :is(.support-feedback,.support-account-empty) button { background: transparent; border: 0; text-decoration: underline; color: var(--support-selected-text); }
#view-support .support-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; padding: 44px 20px; text-align: center; }
#view-support .support-empty-icon { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--ss-line); border-radius: 15px; background: var(--support-soft); color: var(--ss-muted); font-size: 21px; margin-bottom: 18px; }
#view-support .support-empty h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; color: var(--ss-text); }
#view-support .support-empty p { margin: 0 0 22px; font-size: 12px; color: var(--ss-muted); line-height: 1.7; }
#view-support .support-page-note { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--ss-muted); font-size: 10px; line-height: 1.7; }
#view-support .support-table-heading,body.silent-miniapp #view-support .support-ticket-row { display: grid; grid-template-columns: minmax(0,1fr) 145px 125px 14px; align-items: center; gap: 20px; }
#view-support .support-table-heading { padding: 12px 20px; background: var(--support-soft) !important; color: var(--ss-muted); font-size: 10px; border-bottom: 1px solid var(--ss-line) !important; }
body.silent-miniapp #view-support .support-ticket-row { width: 100%; padding: 20px; border: 0 !important; border-bottom: 1px solid var(--ss-line) !important; border-radius: 0 !important; background: var(--ss-paper) !important; color: var(--ss-text) !important; text-align: left; box-shadow: none !important; }
#view-support .support-ticket-row:last-child { border-bottom: 0 !important; }
body.silent-miniapp #view-support .support-ticket-row:hover { background: var(--support-soft) !important; }
#view-support .support-ticket-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
#view-support .support-ticket-icon { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--ss-line); border-radius: 10px; color: var(--ss-muted); background: var(--support-soft); font-size: 13px; }
#view-support .support-ticket-copy { min-width: 0; }
#view-support .support-ticket-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ss-muted); font-size: 10px; }
#view-support .support-ticket-meta > span { color: var(--support-selected-text); }
#view-support .support-ticket-copy strong { display: block; margin: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
#view-support .support-ticket-copy small { display: block; font-size: 11px; color: var(--ss-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#view-support .support-ticket-date { font-size: 10px; color: var(--ss-muted); }
#view-support .support-ticket-chevron { font-size: 10px; color: var(--ss-muted); }
#view-support .support-status { display: inline-flex; justify-self: start; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--ss-line); border-radius: 6px; font-size: 10px; font-weight: 550; white-space: nowrap; color: var(--ss-muted); background: var(--support-soft); }
#view-support .support-status > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
#view-support .support-status.is-open { background: #f0f2fc; border-color: #e3e7f8; color: #6978ae; }
#view-support .support-status.is-answered { background: #edf7f1; border-color: #dceee4; color: #588975; }
html.dark #view-support .support-status.is-open { background: #28364d; border-color: #3b4b68; color: #becdf2; }
html.dark #view-support .support-status.is-answered { background: #213e35; border-color: #365a4d; color: #a4d1bc; }
#view-support .support-create-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; align-items: start; gap: 24px; }
#view-support .support-form-panel { padding: 24px; }
#view-support .support-form-section + .support-form-section { margin-top: 26px; }
#view-support .support-form-section h3,#view-support .support-field-label { display: block; margin: 0; font-size: 13px; font-weight: 650; color: var(--ss-text); }
#view-support .support-field-help { margin: 6px 0 12px; font-size: 11px; color: var(--ss-muted); line-height: 1.7; }
#view-support #topicSelectionRow { display: flex; flex-wrap: wrap; gap: 7px; }
body.silent-miniapp #view-support .ticket-topic-btn { display: inline-flex; align-items: center; justify-content: start; gap: 7px; padding: 10px 12px; border: 1px solid var(--ss-line) !important; border-radius: 8px !important; background: var(--ss-paper) !important; color: var(--ss-muted) !important; font-size: 11px !important; font-weight: 550; box-shadow: none !important; }
#view-support .ticket-topic-btn i { font-size: 12px; color: inherit !important; }
body.silent-miniapp #view-support .ticket-topic-btn.active { color: var(--support-selected-text) !important; background: var(--support-selected) !important; border-color: #cbd0ed !important; }
html.dark body.silent-miniapp #view-support .ticket-topic-btn.active { border-color: #516386 !important; }
#view-support #ticketAccountsListContainer { max-height: 198px; margin-top: 10px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--ss-line) !important; border-radius: 8px; }
body.silent-miniapp #view-support .ticket-account-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; background: var(--ss-paper) !important; color: var(--ss-text) !important; border: 0 !important; border-bottom: 1px solid var(--ss-line) !important; border-radius: 0 !important; font-size: 11px !important; text-align: left; box-shadow: none !important; }
body.silent-miniapp #view-support .ticket-account-item.selected { background: var(--support-selected) !important; color: var(--support-selected-text) !important; }
#view-support .support-account-main { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
#view-support .support-account-main > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-support .support-account-main > i { width: 18px; font-size: 13px; color: var(--ss-muted); text-align: center; }
#view-support .support-account-meta { font-size: 10px; color: var(--ss-muted); }
#view-support .ticket-item-check { color: var(--support-selected-text); }
#view-support .support-account-empty { margin: 0; padding: 14px; color: var(--ss-muted); font-size: 11px; line-height: 1.7; }
body.silent-miniapp #view-support textarea { width: 100%; min-height: 142px; padding: 13px 14px !important; border: 1px solid var(--ss-line) !important; border-radius: 9px !important; background: var(--ss-paper) !important; color: var(--ss-text) !important; font-family: inherit; font-size: 12px !important; line-height: 1.8; box-shadow: none !important; resize: vertical; }
#view-support .support-priority { display: flex; align-items: center; gap: 12px; position: relative; padding: 16px 0; margin-top: 8px; cursor: pointer; }
#view-support .support-priority-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ss-line); border-radius: 9px; color: var(--ss-muted); background: var(--support-soft); flex-shrink: 0; }
#view-support .support-priority > span:nth-child(2) { flex: 1; }
#view-support .support-priority strong { display: block; color: var(--ss-text); font-size: 11px; font-weight: 600; }
#view-support .support-priority small { display: block; color: var(--ss-muted); font-size: 10px; line-height: 1.7; margin-top: 4px; }
body.silent-miniapp #view-support #ticketPriorityToggle { position: absolute; right: 0; width: 38px; height: 22px; opacity: 0; cursor: pointer; z-index: 1; }
#view-support .support-switch { position: relative; width: 34px; height: 20px; background: #d4d8e1; border-radius: 20px; flex-shrink: 0; }
#view-support .support-switch:after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform .15s; }
#view-support #ticketPriorityToggle:checked + .support-switch { background: #6d79bc; }
#view-support #ticketPriorityToggle:checked + .support-switch:after { transform: translateX(14px); }
#view-support #ticketPriorityToggle:focus-visible + .support-switch { outline: 2px solid var(--ss-accent); outline-offset: 3px; }
#view-support .support-attachment { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 12px; background: var(--support-soft) !important; border: 1px solid var(--ss-line) !important; border-radius: 9px; font-size: 11px; color: var(--ss-text); }
#view-support .support-attachment > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#view-support .support-attachment img { width: 36px; height: 36px; object-fit: cover; border-radius: 5px; }
#view-support .support-attachment small { display: block; color: var(--ss-muted); font-size: 10px; margin-top: 3px; }
#view-support .support-attachment .support-btn { min-height: 30px; width: 30px; padding: 4px; }
#view-support .support-form-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--ss-line) !important; padding-top: 20px; margin-top: 8px; }
#view-support .support-cancel { margin-left: auto; }
#view-support .support-guide { padding: 24px 4px; color: var(--ss-muted); }
#view-support .support-guide-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ss-line); border-radius: 12px; font-size: 19px; color: var(--ss-muted); margin-bottom: 18px; background: var(--ss-paper); }
#view-support .support-guide h3 { color: var(--ss-text); font-size: 14px; font-weight: 650; line-height: 1.6; margin: 0 0 10px; }
#view-support .support-guide p { font-size: 11px; line-height: 1.9; margin: 0; }
#view-support .support-guide-divider { height: 1px; background: var(--ss-line) !important; margin: 24px 0; }
#view-support .support-guide h4 { font-size: 11px; font-weight: 650; color: var(--ss-text); margin: 0 0 12px; }
#view-support .support-guide ul { margin: 0; padding-left: 16px; list-style: disc; }
#view-support .support-guide li { margin: 9px 0; padding-left: 2px; font-size: 11px; line-height: 1.8; }
#view-support .support-guide-note { display: flex; align-items: start; gap: 9px; border-top: 1px solid var(--ss-line) !important; margin-top: 24px; padding-top: 18px; font-size: 10px; line-height: 1.8; }
#view-support .support-guide-note i { padding-top: 4px; }
#view-support .support-detail-heading { align-items: start; }
#view-support #ticketDetailSubject { overflow-wrap: anywhere; max-width: 780px; font-size: 20px !important; }
#view-support .support-detail-number { display: block; color: var(--ss-muted); font-size: 11px; margin-bottom: 8px; }
#view-support .support-thread-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--ss-line) !important; }
#view-support #ticketMessagesTimeline { display: flex; flex-direction: column; gap: 24px; min-height: 280px; max-height: 520px; overflow-y: auto; padding: 26px; overscroll-behavior: contain; }
#view-support .support-message { max-width: min(84%, 680px); align-self: flex-start; }
#view-support .support-message.is-user { align-self: flex-end; }
#view-support .support-message-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--ss-muted); font-size: 10px; padding: 0 2px 8px; }
#view-support .support-message-meta strong { font-weight: 600; color: var(--ss-text); }
#view-support .support-message-body { padding: 14px 16px; border: 1px solid var(--ss-line) !important; border-radius: 0 11px 11px 11px; background: var(--support-soft) !important; color: var(--ss-text); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
#view-support .is-user .support-message-body { border-radius: 11px 0 11px 11px; background: var(--support-selected) !important; }
#view-support .support-message-text { white-space: pre-wrap; }
#view-support .support-message-body a { color: var(--support-selected-text) !important; }
#view-support #ticketReplyBox { display: flex; align-items: end; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--ss-line) !important; }
body.silent-miniapp #view-support #ticketReplyInput { flex: 1; min-width: 0; min-height: 64px; max-height: 180px; }
#view-support #ticketReplyBox .support-btn { min-height: 40px; }
#view-support .support-thread-panel > .support-attachment { margin: 12px 20px; }
#view-support .support-closed-notice { margin: 0; padding: 18px 20px; border-top: 1px solid var(--ss-line); color: var(--ss-muted); font-size: 12px; line-height: 1.8; }
#view-support .support-closed-notice button { color: var(--support-selected-text); background: transparent; border: 0; text-decoration: underline; }
@media (max-width: 1100px) {
  #view-support .support-create-layout { grid-template-columns: minmax(0,1fr); }
  #view-support .support-guide { max-width: 650px; padding: 8px 4px; }
  #view-support .support-guide-divider,#view-support .support-guide ul,#view-support .support-guide h4 { display: none; }
  #view-support .support-guide-note { margin-top: 12px; }
}
@media (max-width: 650px) {
  #view-support .support-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  body.silent-miniapp #view-support .support-heading h2 { font-size: 22px !important; }
  #view-support .support-form-panel { padding: 18px; }
  #view-support .support-toolbar { padding: 12px; gap: 12px; }
  #view-support .support-toolbar-tools { width: 100%; }
  #view-support .support-toolbar-tools .support-search { flex: 1; }
  #view-support #ticketListSearch { width: 100%; }
  #view-support .support-filters { width: 100%; }
  #view-support .support-filters button { flex: 1; justify-content: center; padding-inline: 6px; }
  #view-support .support-table-heading { display: none; }
  body.silent-miniapp #view-support .support-ticket-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 18px 14px; }
  #view-support .support-ticket-main { grid-column: 1/-1; }
  #view-support .support-ticket-date { text-align: right; }
  #view-support .support-ticket-chevron { display: none; }
  #view-support .support-empty { min-height: 300px; }
  #view-support .support-ticket-copy strong { white-space: normal; }
  #view-support .support-account-meta { display: none; }
  body.silent-miniapp #view-support .support-search input,body.silent-miniapp #view-support textarea { font-size: 16px !important; }
  #view-support .support-form-footer { gap: 8px; }
  #view-support #btnSubmitTicket { width: 100%; }
  #view-support .support-cancel { margin-left: 0; }
  #view-support .support-message { max-width: 95%; }
  #view-support #ticketMessagesTimeline { padding: 18px 14px; }
  #view-support #ticketReplyBox { flex-wrap: wrap; padding: 14px; }
  body.silent-miniapp #view-support #ticketReplyInput { order: -1; flex-basis: 100%; }
  #view-support #btnSendReply { margin-left: auto; }
  #view-support .support-thread-heading { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { #view-support * { transition: none !important; } }
#view-support .support-message-context { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ss-line) !important; }
#view-support .support-message-context span { font-size: 10px; color: var(--ss-muted); padding: 2px 6px; border: 1px solid var(--ss-line); border-radius: 5px; line-height: 1.6; }
#view-support .support-priority-payment { padding: 18px; margin: 0 0 20px; border: 1px solid var(--ss-line) !important; border-radius: 10px; background: var(--support-soft) !important; font-size: 12px; line-height: 1.8; color: var(--ss-text); }
#view-support .support-priority-price { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
#view-support .support-priority-price strong { font-size: 13px; font-weight: 650; }
#view-support .support-priority-price > span { color: var(--ss-muted); font-size: 11px; }
#view-support .support-priority-methods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
body.silent-miniapp #view-support .support-priority-methods button { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 45px; padding: 10px; border: 1px solid var(--ss-line) !important; border-radius: 8px !important; background: var(--ss-paper) !important; color: var(--ss-text) !important; font-size: 11px !important; text-align: left; box-shadow: none !important; }
#view-support .support-priority-methods img { width: 21px; height: 21px; object-fit: contain; border-radius: 5px; }
#view-support .support-priority-methods i { width: 21px; text-align: center; color: var(--ss-muted); }
#view-support .support-priority-methods small { width: 100%; color: var(--ss-muted); padding-left: 29px; font-size: 10px; }
body.silent-miniapp #view-support .support-priority-methods [aria-pressed="true"] { border-color: #8b96cb !important; background: var(--support-selected) !important; }
#view-support .support-priority-quote { margin: 12px 0 0; color: var(--ss-muted); font-size: 11px; line-height: 1.9; }
#view-support .support-priority-error { color: #b54e5b; }
#view-support .support-priority-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#view-support .support-priority-offer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#view-support .support-priority-offer small { display: block; color: var(--ss-muted); font-size: 11px; }
.support-priority-badge { display: inline-flex; align-items: center; gap: 5px; color: #947334; background: #faf4e8; border: 1px solid #eee1c7; padding: 4px 7px; border-radius: 6px; font-size: 10px; white-space: nowrap; }
html.dark .support-priority-badge { color: #e1ca98; background: #3a3326; border-color: #5d5036; }
#view-support .support-detail-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media(max-width:650px) { #view-support .support-priority-methods { grid-template-columns: repeat(2,minmax(0,1fr)); } #view-support .support-priority-offer { align-items: start; flex-direction: column; } #view-support .support-priority-payment { padding: 14px; } }
#view-support #ticketAccountsListContainer { max-height: 280px; }
#view-support .support-purchase-option .support-account-main > span { display: flex; flex-direction: column; gap: 4px; }
#view-support .support-purchase-option strong { color: inherit; font-size: 11px; font-weight: 600; }
#view-support .support-purchase-option small { color: var(--ss-muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-support .support-purchase-option .support-account-meta { max-width: 46%; white-space: normal; text-align: right; line-height: 1.7; }
#view-support #ticketPurchasesCount { margin-bottom: 3px; }
#view-support #ticketSelectionSummary { margin-top: 3px; }
@media (max-width: 650px) {
  body.silent-miniapp #view-support .support-purchase-option { display: grid; grid-template-columns: minmax(0,1fr) 14px; gap: 5px; }
  #view-support .support-purchase-option .support-account-main { grid-column: 1; }
  #view-support .support-purchase-option .support-account-meta { display: block; grid-column: 1; grid-row: 2; max-width: none; padding-left: 27px; text-align: left; }
  #view-support .support-purchase-option .ticket-item-check { grid-column: 2; grid-row: 1 / span 2; }
}

/* Shared cabinet: silent-numbers.css */
/* SMS workspace: shared cabinet tokens serve both light and dark themes. */
body.silent-miniapp .numbers-view {
  --numbers-soft: #f6f7f9;
  --numbers-success: #238362;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.silent-miniapp .numbers-view.hidden {
  display: none;
}
html.dark body.silent-miniapp .numbers-view {
  --numbers-soft: #242d3a;
  --numbers-success: #7ed7b4;
}
body.silent-miniapp .numbers-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  background: var(--ss-selected);
  color: var(--ss-text);
}
body.silent-miniapp .numbers-notice > i {
  margin-top: 3px;
  color: var(--ss-accent);
  font-size: 17px;
}
body.silent-miniapp .numbers-notice strong {
  font-size: 12px;
  font-weight: 700;
}
body.silent-miniapp .numbers-notice p {
  margin: 5px 0 0;
  max-width: 90ch;
  font-size: 11px;
  line-height: 1.8;
  color: var(--ss-muted);
}
body.silent-miniapp .numbers-workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
body.silent-miniapp :is(.numbers-services, .numbers-countries) {
  min-width: 0;
  background: var(--ss-paper);
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  overflow: hidden;
}
body.silent-miniapp .numbers-panel-heading {
  min-height: 60px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.silent-miniapp .numbers-panel-heading > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.silent-miniapp .numbers-panel-heading h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ss-text);
  margin: 0;
}
body.silent-miniapp .numbers-count {
  padding: 2px 6px;
  border: 1px solid var(--ss-line);
  border-radius: 5px;
  font-size: 10px;
  color: var(--ss-muted);
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .numbers-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 12px 12px;
  padding: 0 11px;
  border: 1px solid var(--ss-line);
  border-radius: 7px;
  color: var(--ss-muted);
  background: var(--numbers-soft);
}
body.silent-miniapp .numbers-search:focus-within {
  border-color: var(--ss-accent);
}
body.silent-miniapp .numbers-search input {
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--ss-text) !important;
  font-size: 11px;
}
body.silent-miniapp .numbers-search input::placeholder {
  color: var(--ss-muted);
}
body.silent-miniapp .numbers-services-scroll {
  max-height: 570px;
  overflow-y: auto;
  padding: 0 8px 8px;
  scrollbar-width: thin;
}
body.silent-miniapp .virtual-service-item {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border: 1px solid transparent !important;
  border-radius: 7px;
  background: transparent !important;
  color: var(--ss-text) !important;
  box-shadow: none !important;
  text-align: left;
  transition: background 0.15s;
}
body.silent-miniapp .virtual-service-item:hover {
  background: var(--numbers-soft) !important;
  transform: none;
}
body.silent-miniapp .virtual-service-item.active {
  background: var(--ss-selected) !important;
  border-color: transparent !important;
}
body.silent-miniapp .virtual-service-item.active::before {
  display: none;
}
body.silent-miniapp .virtual-service-item .service-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ss-text) !important;
}
body.silent-miniapp .virtual-service-item img {
  width: 25px;
  height: 25px;
}
body.silent-miniapp .virtual-service-item > i {
  color: var(--ss-muted) !important;
}
body.silent-miniapp .numbers-service-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--ss-muted);
}
body.silent-miniapp .numbers-service-badge img {
  width: 17px;
  height: 17px;
}
body.silent-miniapp :is(.numbers-table-head, .numbers-country-row) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 76px 74px;
  gap: 12px;
  align-items: center;
}
body.silent-miniapp .numbers-table-head {
  padding: 10px 16px;
  border-block: 1px solid var(--ss-line);
  background: var(--numbers-soft);
  color: var(--ss-muted);
  font-size: 10px;
}
body.silent-miniapp .numbers-table-head > :nth-child(3) {
  text-align: right;
}
body.silent-miniapp .numbers-countries-scroll {
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
}
body.silent-miniapp .virtual-country-card.numbers-country-row {
  margin: 0;
  padding: 14px 16px;
  min-height: 65px;
  border: 0;
  border-bottom: 1px solid var(--ss-line) !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent !important;
  transform: none;
}
body.silent-miniapp .virtual-country-card.numbers-country-row:last-child {
  border-bottom: 0 !important;
}
body.silent-miniapp .virtual-country-card.numbers-country-row:hover {
  background: var(--numbers-soft) !important;
}
body.silent-miniapp .numbers-country {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.silent-miniapp .numbers-country > :first-child {
  flex-shrink: 0;
}
body.silent-miniapp .numbers-country .country-name {
  color: var(--ss-text) !important;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
body.silent-miniapp .numbers-stock {
  font-size: 10px;
  color: var(--ss-muted);
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .numbers-price {
  text-align: right;
  color: var(--ss-text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .numbers-country-action {
  text-align: right;
}
body.silent-miniapp .numbers-country-action .ss-btn {
  min-height: 30px;
  padding: 5px 11px;
  font-size: 10px;
  background: var(--ss-paper);
  color: var(--ss-text);
  border: 1px solid var(--ss-line);
  box-shadow: 0 1px 2px #00000005;
}
body.silent-miniapp .numbers-country-action .ss-btn:hover {
  background: var(--ss-selected);
}
body.silent-miniapp .numbers-footnote {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 13px 16px;
  margin: 0;
  color: var(--ss-muted);
  font-size: 10px;
  line-height: 1.6;
  border-top: 1px solid var(--ss-line);
}
body.silent-miniapp .numbers-footnote i {
  margin-top: 3px;
}
body.silent-miniapp .numbers-empty {
  padding: 35px 15px;
  text-align: center;
  color: var(--ss-muted);
  font-size: 12px;
}
body.silent-miniapp .numbers-activation {
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  padding: 20px;
  background: var(--ss-paper);
  color: var(--ss-text);
}
body.silent-miniapp .numbers-activation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
body.silent-miniapp :is(.numbers-activation-label, .numbers-field-label) {
  font-size: 10px;
  color: var(--ss-muted);
  display: block;
  margin-bottom: 8px;
}
body.silent-miniapp .numbers-activation-heading h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
body.silent-miniapp .numbers-activation-heading h3 > span {
  color: var(--ss-muted);
  font-size: 11px;
  font-weight: 500;
}
body.silent-miniapp .numbers-status {
  flex-shrink: 0;
  border: 1px solid var(--ss-line);
  background: var(--ss-selected);
  color: var(--ss-accent);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 10px;
}
body.silent-miniapp .numbers-status.is-ready {
  color: var(--numbers-success);
}
body.silent-miniapp .numbers-activation-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 20px;
  gap: 20px;
}
body.silent-miniapp .numbers-activation-body > div {
  min-width: 0;
  padding: 15px;
  border-radius: 8px;
  background: var(--numbers-soft);
}
body.silent-miniapp .numbers-copy-value {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.silent-miniapp .numbers-copy-value strong {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
body.silent-miniapp .numbers-copy-value .ss-btn {
  min-height: 30px;
  padding: 5px 9px;
}
body.silent-miniapp .numbers-sms-result p {
  font-size: 12px;
  color: var(--ss-muted);
  margin: 15px 0 0;
}
body.silent-miniapp .numbers-sms-result p i {
  margin-right: 6px;
}
body.silent-miniapp .numbers-activation-footer {
  padding-top: 15px;
  border-top: 1px solid var(--ss-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ss-muted);
  font-size: 10px;
}
body.silent-miniapp .numbers-activation-footer > div {
  display: flex;
  gap: 8px;
}
body.silent-miniapp .numbers-danger {
  color: #b34250 !important;
}
html.dark body.silent-miniapp .numbers-danger {
  color: #f5a6b0 !important;
}
body.silent-miniapp .numbers-modal {
  background: #14192380 !important;
  backdrop-filter: blur(5px);
}
body.silent-miniapp .numbers-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90dvh;
  overflow-y: auto;
  border: 1px solid var(--ss-line);
  border-radius: 14px;
  padding: 28px;
  background: var(--ss-paper) !important;
  color: var(--ss-text);
  box-shadow: 0 20px 80px #00000025;
}
body.silent-miniapp .numbers-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  min-height: 30px;
  padding: 4px;
}
body.silent-miniapp .numbers-modal-flag {
  display: flex;
  align-items: center;
  margin: 5px 0 20px;
  width: 45px;
  height: 35px;
}
body.silent-miniapp .numbers-modal-symbol {
  font-size: 25px;
  color: var(--ss-muted);
  display: block;
  margin-bottom: 20px;
}
body.silent-miniapp .numbers-modal-panel h3 {
  color: var(--ss-text) !important;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
body.silent-miniapp .numbers-modal-panel > p {
  color: var(--ss-muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 22px;
}
body.silent-miniapp .numbers-order-details {
  margin: 0 0 22px;
  padding: 0;
}
body.silent-miniapp .numbers-order-details > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ss-line);
  font-size: 11px;
}
body.silent-miniapp .numbers-order-details dt {
  color: var(--ss-muted);
}
body.silent-miniapp .numbers-order-details dd {
  text-align: right;
  margin: 0;
  font-weight: 650;
  color: var(--ss-text) !important;
}
body.silent-miniapp .numbers-order-details dd i {
  color: var(--ss-muted) !important;
}
body.silent-miniapp .numbers-order-total dd {
  font-size: 20px;
}
body.silent-miniapp .numbers-modal-actions {
  display: flex;
  gap: 8px;
}
body.silent-miniapp .numbers-modal-actions > button {
  flex: 1;
  min-width: 0;
  white-space: normal;
}
@media (min-width: 1500px) {
  body.silent-miniapp .numbers-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}
@media (max-width: 1199px) {
  body.silent-miniapp .numbers-workspace {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
  }
  body.silent-miniapp :is(.numbers-table-head, .numbers-country-row) {
    grid-template-columns: minmax(0, 1fr) 74px 60px 62px;
    gap: 8px;
  }
}
@media (max-width: 767px) {
  body.silent-miniapp .numbers-workspace {
    grid-template-columns: 1fr;
  }
  body.silent-miniapp .numbers-services-scroll {
    max-height: 210px;
  }
  body.silent-miniapp .numbers-countries-scroll {
    max-height: none;
    overflow: visible;
  }
  body.silent-miniapp .numbers-panel-heading {
    padding: 14px 12px;
    flex-wrap: wrap;
  }
  body.silent-miniapp .numbers-view {
    gap: 14px;
  }
  body.silent-miniapp .numbers-notice {
    padding: 13px;
  }
  body.silent-miniapp .numbers-activation-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.silent-miniapp .numbers-activation-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  body.silent-miniapp .numbers-activation-heading {
    align-items: flex-start;
  }
  body.silent-miniapp .numbers-modal-panel {
    padding: 24px 18px;
  }
}
@media (max-width: 550px) {
  body.silent-miniapp .numbers-table-head {
    grid-template-columns: 1fr 60px 62px;
  }
  body.silent-miniapp .numbers-table-head > :nth-child(2) {
    display: none;
  }
  body.silent-miniapp .numbers-table-head > :nth-child(3) {
    text-align: right;
  }
  body.silent-miniapp .virtual-country-card.numbers-country-row {
    grid-template-columns: minmax(0, 1fr) 60px 62px;
    grid-template-rows: auto auto;
    padding: 13px 12px;
    gap: 5px 7px;
  }
  body.silent-miniapp .numbers-country {
    grid-column: 1;
    grid-row: 1;
    gap: 7px;
  }
  body.silent-miniapp .numbers-stock {
    grid-column: 1;
    grid-row: 2;
    padding-left: 31px;
  }
  body.silent-miniapp .numbers-price {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  body.silent-miniapp .numbers-country-action {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  body.silent-miniapp .numbers-copy-value strong {
    font-size: 18px;
  }
  body.silent-miniapp .numbers-activation {
    padding: 14px;
  }
  body.silent-miniapp .numbers-activation-footer .ss-btn {
    min-height: 36px;
    font-size: 10px;
    padding: 7px 9px;
  }
}
body.silent-miniapp .numbers-service-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ss-line);
  border-radius: 7px;
  background: var(--ss-paper);
  color: var(--ss-text);
  font-size: 16px;
}
body.silent-miniapp .numbers-service-badge .numbers-service-icon {
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 5px;
}
html.light body.silent-miniapp .numbers-search input,
html.dark body.silent-miniapp .numbers-search input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 550px) {
  body.silent-miniapp .numbers-country {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  body.silent-miniapp .numbers-price {
    grid-row: 2;
  }
  body.silent-miniapp .numbers-country-action {
    grid-row: 2;
  }
  body.silent-miniapp .numbers-country .country-name {
    overflow-wrap: normal;
  }
}
body.silent-miniapp #vnModalServiceName {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Shared cabinet: silent-checkout.css */
/* Inline account selection and checkout. Scoped away from the Mini App/modal flow. */
html body.silent-miniapp #view-catalog .checkout-inline {
  --checkout-soft: #f5f6f8;
  --checkout-muted: #68717e;
  --checkout-primary: linear-gradient(#424347, #202124);
  --checkout-on-primary: #fff;
  --checkout-on-accent: #fff;
  --checkout-warning: #956119;
  --checkout-warning-bg: #fbf4e8;
  margin: 0 !important;
  padding: 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ss-line) !important;
  border-radius: 0 !important;
  background: var(--ss-bg) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html.dark body.silent-miniapp #view-catalog .checkout-inline {
  --checkout-soft: #252e3b;
  --checkout-muted: #a8b2c3;
  --checkout-primary: linear-gradient(#e4ebf8, #cbd8ef);
  --checkout-on-primary: #172338;
  --checkout-on-accent: #172338;
  --checkout-warning: #e9c18b;
  --checkout-warning-bg: #3b3225;
}
html body.silent-miniapp #view-catalog .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
html body.silent-miniapp #view-catalog .checkout-options {
  min-width: 0;
}
html body.silent-miniapp #view-catalog .checkout-options-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 15px;
}
html body.silent-miniapp #view-catalog .checkout-options-heading h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ss-text);
  margin: 0;
}
html body.silent-miniapp #view-catalog .checkout-options-heading p {
  color: var(--checkout-muted);
  font-size: 10px;
  margin: 5px 0 0;
}
html body.silent-miniapp #view-catalog .checkout-options-heading > span {
  color: var(--checkout-muted);
  white-space: nowrap;
  font-size: 10px;
  border: 1px solid var(--ss-line);
  border-radius: 5px;
  padding: 3px 6px;
}
html body.silent-miniapp #view-catalog .checkout-option-list {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 2px 5px 2px 2px;
  max-height: 570px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ss-line) transparent;
}
html body.silent-miniapp #view-catalog .checkout-option {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto 80px;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  min-height: 86px;
  flex-shrink: 0;
  border: 1px solid var(--ss-line);
  border-radius: 9px;
  background: var(--ss-paper);
  color: var(--ss-text);
}
html body.silent-miniapp #view-catalog .checkout-option.active-selected {
  background: var(--ss-selected);
  border-color: var(--ss-accent);
}
html body.silent-miniapp #view-catalog .checkout-option.is-unavailable {
  opacity: 0.55;
}
html body.silent-miniapp #view-catalog .checkout-option-indicator {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ss-line);
  border-radius: 50%;
  color: transparent;
  background: var(--ss-paper);
  font-size: 8px;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option.active-selected
  .checkout-option-indicator {
  background: var(--ss-accent);
  color: var(--checkout-on-accent);
  border-color: var(--ss-accent);
}
html body.silent-miniapp #view-catalog .checkout-option-copy {
  min-width: 0;
}
html body.silent-miniapp #view-catalog .checkout-option-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  align-items: baseline;
}
html body.silent-miniapp #view-catalog .checkout-option-heading strong {
  color: var(--ss-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
html body.silent-miniapp #view-catalog .checkout-option-heading > span {
  color: var(--checkout-muted);
  font-size: 10px;
}
html body.silent-miniapp #view-catalog .checkout-option-conditions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 9px;
}
html body.silent-miniapp #view-catalog .checkout-option-conditions > span {
  background: var(--checkout-soft);
  color: var(--checkout-muted);
  border-radius: 4px;
  padding: 3px 5px;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option-conditions
  > span.is-warning {
  background: var(--checkout-warning-bg);
  color: var(--checkout-warning);
}
html body.silent-miniapp #view-catalog .checkout-option-conditions > small {
  color: var(--checkout-muted);
  font-size: 9px;
  white-space: nowrap;
}
html body.silent-miniapp #view-catalog .checkout-option-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ss-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
html body.silent-miniapp #view-catalog .checkout-option .variation-card-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100% !important;
  min-height: 32px !important;
  padding: 6px 8px !important;
  background: var(--ss-paper) !important;
  color: var(--ss-text) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transform: none !important;
  letter-spacing: 0 !important;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option
  .variation-card-btn
  :is(span, svg) {
  color: inherit !important;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option
  .variation-card-btn
  svg {
  width: 11px;
  height: 11px;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option
  .variation-card-btn.is-selected {
  background: var(--ss-accent) !important;
  border-color: var(--ss-accent) !important;
  color: var(--checkout-on-accent) !important;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-option
  .variation-card-btn:disabled {
  background: transparent !important;
  color: var(--checkout-muted) !important;
  border-color: transparent !important;
  cursor: default;
}
html body.silent-miniapp #view-catalog .checkout-order {
  margin: 0 !important;
  padding: 18px !important;
  background: var(--ss-paper) !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: var(--ss-text);
  min-width: 0;
}
html body.silent-miniapp #view-catalog .checkout-order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
html body.silent-miniapp #view-catalog .checkout-order-heading h4 {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--ss-text) !important;
  font-weight: 700;
}
html body.silent-miniapp #view-catalog .checkout-order-quantity {
  font-size: 10px;
  color: var(--checkout-muted);
}
html body.silent-miniapp #view-catalog .checkout-order-summary {
  font-size: 10px;
  line-height: 1.8;
  color: var(--checkout-muted);
  padding: 12px;
  margin: 14px 0 18px;
  border: 1px solid var(--ss-line);
  border-radius: 7px;
  background: var(--checkout-soft);
}
html body.silent-miniapp #view-catalog .checkout-method-heading {
  font-size: 11px;
  font-weight: 650;
  color: var(--ss-text);
  margin: 0 0 10px;
}
html body.silent-miniapp #view-catalog .checkout-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
html body.silent-miniapp #view-catalog .checkout-pay-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 54px;
  min-width: 0;
  text-align: left;
  padding: 9px 8px;
  border: 1px solid var(--ss-line) !important;
  border-radius: 7px !important;
  background: var(--ss-paper) !important;
  box-shadow: none !important;
  color: var(--ss-text) !important;
  cursor: pointer;
}
html body.silent-miniapp #view-catalog .checkout-pay-card:hover {
  background: var(--checkout-soft) !important;
}
html body.silent-miniapp #view-catalog .checkout-pay-card.is-active {
  background: var(--ss-selected) !important;
  border-color: var(--ss-accent) !important;
}
html body.silent-miniapp #view-catalog .checkout-pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
html body.silent-miniapp #view-catalog .checkout-pay-icon img,
html body.silent-miniapp #view-catalog .checkout-pay-icon > div {
  width: 23px !important;
  height: 23px !important;
  border-radius: 5px !important;
}
html body.silent-miniapp #view-catalog .checkout-pay-icon svg {
  width: 13px;
  height: 13px;
}
html body.silent-miniapp #view-catalog .checkout-pay-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  padding-right: 4px;
}
html body.silent-miniapp #view-catalog .checkout-pay-copy strong {
  font-size: 11px;
  font-weight: 650;
  color: var(--ss-text);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
html body.silent-miniapp #view-catalog .checkout-pay-copy > span {
  font-size: 9px;
  color: var(--checkout-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body.silent-miniapp #view-catalog .checkout-pay-check {
  position: absolute;
  top: 3px;
  right: 4px;
  font-size: 8px;
  color: var(--ss-accent);
  display: none;
}
html
  body.silent-miniapp
  #view-catalog
  .checkout-pay-card.is-active
  .checkout-pay-check {
  display: block;
}
html body.silent-miniapp #view-catalog .checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ss-line);
  margin-top: 18px;
  padding-top: 17px;
}
html body.silent-miniapp #view-catalog .checkout-total > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
html body.silent-miniapp #view-catalog .checkout-total span {
  font-size: 11px;
  color: var(--ss-text);
  font-weight: 600;
}
html body.silent-miniapp #view-catalog .checkout-total small {
  font-size: 9px;
  color: var(--checkout-muted);
}
html body.silent-miniapp #view-catalog .checkout-total strong {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  color: var(--ss-text);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
html body.silent-miniapp #view-catalog .checkout-buy {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px !important;
  margin-top: 17px;
  background: var(--checkout-primary) !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  color: var(--checkout-on-primary) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
html body.silent-miniapp #view-catalog .checkout-buy :is(span, i) {
  color: var(--checkout-on-primary) !important;
}
html body.silent-miniapp #view-catalog .checkout-buy:disabled {
  opacity: 0.55;
  cursor: wait !important;
}
html body.silent-miniapp #view-catalog .checkout-warning {
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  background: var(--checkout-warning-bg);
  color: var(--checkout-warning);
  font-size: 10px;
  line-height: 1.7;
}
html body.silent-miniapp #view-catalog .checkout-warning.hidden {
  display: none;
}
html body.silent-miniapp #view-catalog .checkout-close {
  width: 100%;
  padding: 9px !important;
  margin-top: 7px;
  min-height: 30px;
  border: 0 !important;
  background: transparent !important;
  color: var(--checkout-muted) !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 550 !important;
  box-shadow: none !important;
}
@media (max-width: 1150px) {
  html body.silent-miniapp #view-catalog .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
  }
}
@media (max-width: 767px) {
  html body.silent-miniapp #view-catalog .checkout-option {
    grid-template-columns: 15px minmax(0, 1fr) auto;
    gap: 9px;
  }
  html body.silent-miniapp #view-catalog .checkout-option .variation-card-btn {
    grid-column: 2 / -1;
    justify-self: end;
    width: auto !important;
    min-width: 90px;
    min-height: 40px !important;
  }

  html body.silent-miniapp #view-catalog .checkout-inline {
    padding: 14px !important;
  }
  html body.silent-miniapp #view-catalog .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  html body.silent-miniapp #view-catalog .checkout-option-list {
    max-height: 380px;
  }
  html body.silent-miniapp #view-catalog .checkout-order {
    padding: 15px !important;
  }
  html body.silent-miniapp #view-catalog .checkout-option {
    padding: 12px;
  }
}
@media (max-width: 380px) {
  html body.silent-miniapp #view-catalog .checkout-inline {
    padding: 10px !important;
  }
  html body.silent-miniapp #view-catalog .checkout-option-heading strong {
    font-size: 11px;
  }
  html body.silent-miniapp #view-catalog .checkout-option-price {
    font-size: 12px;
  }
  html body.silent-miniapp #view-catalog .checkout-pay-card {
    padding: 8px 6px;
    gap: 5px;
  }
  html body.silent-miniapp #view-catalog .checkout-pay-icon,
  html body.silent-miniapp #view-catalog .checkout-pay-icon img,
  html body.silent-miniapp #view-catalog .checkout-pay-icon > div {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Shared cabinet: silent-dialogs.css */
/* Account exit confirmation shares the cabinet palette in both themes. */
html body #logoutConfirmModal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(22 27 37 / 32%) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
html body #logoutConfirmModal.hidden { display: none; }
html body #logoutConfirmModal > .logout-dialog {
  position: relative;
  width: 100%;
  max-width: 408px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--ss-line) !important;
  border-radius: 20px;
  background: var(--ss-paper) !important;
  color: var(--ss-text) !important;
  text-align: left;
  box-shadow: 0 24px 80px rgb(14 20 32 / 16%);
}
html body #logoutConfirmModal .logout-dialog-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--ss-line) !important;
  border-radius: 14px !important;
  background: var(--ss-bg) !important;
  color: var(--ss-muted);
}
#logoutConfirmModal svg { width: 22px; height: 22px; flex-shrink: 0; }
html body #logoutConfirmModal h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.5px;
  font-weight: 750;
  color: var(--ss-text) !important;
}
html body #logoutConfirmModal p {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ss-muted) !important;
}
html body #logoutConfirmModal button {
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  box-shadow: none !important;
  transition: background-color .15s, border-color .15s;
}
html body #logoutConfirmModal .logout-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--ss-muted) !important;
}
#logoutConfirmModal .logout-dialog-close svg { width: 17px; height: 17px; }
html body #logoutConfirmModal .logout-dialog-close:hover {
  background: var(--ss-bg) !important;
  border-color: var(--ss-line) !important;
}
.logout-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--ss-line) !important;
}
html body #logoutConfirmModal .logout-dialog-actions button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--ss-line) !important;
  background: var(--ss-paper) !important;
  color: var(--ss-text) !important;
}
html body #logoutConfirmModal .logout-dialog-actions button:hover {
  background: var(--ss-bg) !important;
}
html body #logoutConfirmModal #confirmLogoutBtn {
  background: #292d35 !important;
  border-color: #292d35 !important;
  color: #fff !important;
}
html body #logoutConfirmModal #confirmLogoutBtn:hover { background: #414650 !important; }
html.dark body #logoutConfirmModal { background: rgb(5 9 15 / 58%) !important; }
html.dark body #logoutConfirmModal #confirmLogoutBtn {
  background: #e7ebf3 !important;
  border-color: #e7ebf3 !important;
  color: #202733 !important;
}
html.dark body #logoutConfirmModal #confirmLogoutBtn:hover { background: #cbd3e1 !important; }
html body #logoutConfirmModal button:focus-visible {
  outline: 2px solid var(--ss-accent);
  outline-offset: 3px;
}
@media (max-width: 420px) {
  html body #logoutConfirmModal { padding: 16px; }
  html body #logoutConfirmModal > .logout-dialog { padding: 24px; border-radius: 17px; }
  html body #logoutConfirmModal h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #logoutConfirmModal,
  html body #logoutConfirmModal > .logout-dialog { animation: none !important; }
  html body #logoutConfirmModal button { transition: none; }
}

/* Mobile composition overrides for the cabinet components shared at build time. */
:root,html.light,html.dark { --ss-paper:var(--ss-card); --ss-accent:var(--ss-blue); }
html body.silent-miniapp { margin:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
html body.silent-miniapp main { margin:0 auto!important; width:100%; max-width:760px; padding-bottom:calc(102px + var(--ss-safe-bottom))!important; }
body.silent-miniapp .h1-container { padding:18px max(16px,var(--ss-safe-right)) 0 max(16px,var(--ss-safe-left)); }
body.silent-miniapp .ss-native-header-row { display:flex; justify-content:space-between; align-items:center; }
body.silent-miniapp .ss-header-controls { display:flex; margin-left:auto; }
body.silent-miniapp .cabinet-page-heading { display:flex; align-items:start; justify-content:space-between; gap:12px; margin-bottom:20px; }
body.silent-miniapp .cabinet-page-heading h2 { font-size:22px!important; line-height:1.4; color:var(--ss-text)!important; letter-spacing:-.6px; font-weight:650!important; }
body.silent-miniapp .cabinet-page-heading p { font-size:11px; color:var(--ss-muted); line-height:1.8; margin-top:5px; }
body.silent-miniapp .ss-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:9px 12px; background:var(--ss-card)!important; color:var(--ss-text)!important; border:1px solid var(--ss-line)!important; border-radius:9px!important; box-shadow:none!important; font:600 11px Manrope,system-ui,sans-serif; cursor:pointer; }
body.silent-miniapp .ss-btn--primary { background:var(--ss-primary)!important; color:var(--ss-on-primary)!important; border-color:transparent!important; }
body.silent-miniapp .ss-btn--primary :is(span,i) { color:inherit!important; }
body.silent-miniapp .ss-wash-blue { background:linear-gradient(120deg,#c6e7f642,#e1d6f448),var(--ss-card)!important; }
body.silent-miniapp .ss-wash-mint { background:linear-gradient(120deg,#c8ebdd42,#e4eac742),var(--ss-card)!important; }
body.silent-miniapp .ss-wash-rose { background:linear-gradient(120deg,#f3dbe942,#f6e8ce42),var(--ss-card)!important; }
body.silent-miniapp .ss-mini-hub { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0 0 22px; }
body.silent-miniapp .ss-mini-hub button { display:flex; gap:10px; align-items:center; text-align:left; border:1px solid var(--ss-line); background:var(--ss-card); color:var(--ss-text); padding:14px 12px; border-radius:10px; font-size:11px; }
body.silent-miniapp .ss-mini-hub i { color:var(--ss-muted); font-size:15px; }
body.silent-miniapp .profile-tabs { overflow-x:auto; overscroll-behavior-inline:contain; margin-bottom:18px; padding-bottom:10px; }
body.silent-miniapp #view-profile .profile-tab { flex-shrink:0; font-size:11px; min-height:38px; }
body.silent-miniapp .profile-settings-grid,body.silent-miniapp .profile-access-grid,body.silent-miniapp .profile-notifications-grid { grid-template-columns:minmax(0,1fr)!important; }
body.silent-miniapp .profile-panel { padding:18px; }
body.silent-miniapp #view-profile input:not([type=checkbox]):not([type=file]) { font-size:16px!important; min-height:42px; background:var(--ss-card-raised)!important; color:var(--ss-text)!important; border-color:var(--ss-line)!important; }
body.silent-miniapp .profile-panel :is(.profile-field,.profile-access-line) { min-width:0; }
body.silent-miniapp .finance-deposit-layout { display:flex!important; flex-direction:column; gap:18px; }
body.silent-miniapp .finance-deposit-side,body.silent-miniapp .finance-deposit-form { width:100%; min-width:0; }
body.silent-miniapp .finance-deposit-side > :not(:first-child) { display:none; }
body.silent-miniapp #view-deposit :is(#paymethod-cashera,#paymethod-platega,#paymethod-fride) { display:none!important; }
body.silent-miniapp .finance-summary { gap:8px; grid-template-columns:repeat(3,minmax(0,1fr)); }
body.silent-miniapp .finance-summary-card { min-height:110px; padding:13px 10px; background:var(--ss-card); color:var(--ss-text); }
body.silent-miniapp .finance-summary-card strong { font-size:20px; }
body.silent-miniapp .finance-summary-card span { font-size:9px; }
body.silent-miniapp .finance-ledger-toolbar { padding:13px; gap:10px; flex-wrap:wrap; }
body.silent-miniapp .finance-ledger,body.silent-miniapp .finance-panel { background:var(--ss-card)!important; }
body.silent-miniapp .finance-methods { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body.silent-miniapp #view-deposit .pay-method-card { min-width:0; padding:10px 6px; border-radius:9px; min-height:82px; }
body.silent-miniapp .finance-balance { color:var(--ss-text)!important; }
body.silent-miniapp .finance-balance strong { color:var(--ss-text)!important; }
html.dark body.silent-miniapp .ss-wash-blue { background:linear-gradient(120deg,#526b8226,#76658f26),var(--ss-card)!important; }
html body.silent-miniapp .finance-balance > span,html body.silent-miniapp .finance-balance > button { color:var(--ss-muted)!important; }
html body.silent-miniapp #view-deposit .pay-method-title { white-space:normal!important; overflow:visible!important; text-overflow:clip!important; line-height:1.5; }
html body.silent-miniapp #view-profile #profileHubGrid { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 18px; }
body.silent-miniapp .support-create-layout { grid-template-columns:minmax(0,1fr)!important; gap:16px; }
body.silent-miniapp #view-support .support-guide { padding:4px; }
body.silent-miniapp #view-support .support-guide-divider,body.silent-miniapp #view-support .support-guide h4,body.silent-miniapp #view-support .support-guide ul { display:none; }
body.silent-miniapp #view-support .support-heading { margin-bottom:18px; }
body.silent-miniapp #view-support .support-heading h2 { font-size:22px!important; }
body.silent-miniapp #view-support .support-search input { font-size:16px!important; }
body.silent-miniapp #view-support textarea { font-size:16px!important; }
body.silent-miniapp #view-support .support-priority-methods { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.silent-miniapp #view-support .support-list-panel { overflow:clip; }
body.silent-miniapp .ss-mini-back { margin-bottom:14px; color:var(--ss-muted); font-size:11px; display:inline-flex; align-items:center; gap:7px; }
body.silent-miniapp #purchFloatingBar { position:fixed!important; bottom:calc(88px + var(--ss-safe-bottom))!important; max-width:calc(100% - 24px); z-index:45; padding:9px!important; background:var(--ss-card)!important; color:var(--ss-text)!important; border:1px solid var(--ss-line)!important; box-shadow:0 4px 24px #0002!important; }
body.silent-miniapp #purchFloatingBar button { font-size:10px!important; }
body.silent-miniapp #purchFloatingBar button span { white-space:nowrap; }
body.silent-miniapp .virtual-number-buy-btn,body.silent-miniapp .virtual-number-cancel-btn { min-height:40px; }
body.silent-miniapp .finance-status--paid { background:var(--ss-success-soft); color:var(--ss-success); border-color:var(--ss-success-soft)!important; }
body.silent-miniapp .finance-status--error { background:var(--ss-danger-soft); color:var(--ss-danger); border-color:var(--ss-danger-soft)!important; }
body.silent-miniapp .finance-status--neutral,body.silent-miniapp .finance-status--pending { background:var(--ss-selected); color:var(--ss-blue); border-color:var(--ss-selected)!important; }
@media(max-width:420px) { body.silent-miniapp .finance-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } body.silent-miniapp .finance-summary-card > strong { font-size:20px; } body.silent-miniapp .finance-summary-card > i { margin-bottom:10px; } }
