.operation-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 15px;
}

.operation-buttons button { min-height: 46px; }
button:disabled { cursor: not-allowed; opacity: .52; }

.inline-selection {
  position: static;
  margin: 0 0 11px;
}

.nft-toolbar input { flex: 1 1 280px; }
.nft-toolbar select { max-width: 320px; }

.wallet-picker {
  border: 1px solid #dfe4ed;
  border-radius: 11px;
  padding: 10px;
  margin: 12px 0;
}

.picker-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 7px;
}

.picker-tools input { margin: 0; }

.picker-summary {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 2px;
  color: #707a91;
}

.picker-summary strong { color: #18213a; }

.wallet-picker-list {
  display: grid;
  max-height: 280px;
  overflow: auto;
  border-top: 1px solid #e6e9f0;
}

.wallet-picker-item {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 9px !important;
  align-items: center;
  padding: 9px 4px;
  margin: 0 !important;
  border-bottom: 1px solid #eef0f4;
  font-weight: 500 !important;
}

.wallet-picker-item input,
.warning input[type="checkbox"] {
  width: auto !important;
  min-height: auto !important;
}

.warning input[type="checkbox"] { margin-right: 8px; }
.wallet-picker-item strong,
.wallet-picker-item small { display: block; }
.wallet-picker-item small {
  color: #7a849a;
  word-break: break-all;
  margin-top: 2px;
}

.empty.compact { padding: 16px; }
.preview-summary { display: grid; gap: 12px; }

.operation-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.operation-fact {
  border: 1px solid #e1e5ed;
  border-radius: 9px;
  padding: 10px;
}

.operation-fact span,
.operation-fact strong { display: block; }
.operation-fact span {
  font-size: .8rem;
  color: #768097;
  margin-bottom: 4px;
}

.status-badge {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .8rem;
  font-weight: 750;
}

.status-badge.info { background: #e9efff; color: #3154c5; }
.status-badge.success { background: #e5f6ee; color: #14714d; }
.status-badge.error { background: #fde9ed; color: #ad2840; }
.status-badge.warning-tone { background: #fff1d8; color: #805600; }
.status-badge.neutral { background: #edf0f5; color: #5c667a; }
.status-note { margin: 0; color: #68738a; }

.preview-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.preview-actions button { min-height: 46px; }

.technical-details {
  border-top: 1px solid #e1e5ed;
  padding-top: 10px;
}

.technical-details summary {
  cursor: pointer;
  color: #526078;
  font-weight: 650;
}

.technical-details pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #101725;
  color: #eaf0fc;
  padding: 13px;
  border-radius: 10px;
  max-height: 360px;
  overflow: auto;
}

.history-item { display: block; }
.history-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.history-head p { margin: 5px 0 0; color: #748096; }
.history-item .operation-summary { margin-top: 12px; }
.history-item .status-note { margin-top: 10px; }
.nft-art {
  background: #edf0f5;
  color: #69738b;
}
.nft-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nft-card {
  position: relative;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nft-card:focus { outline: none; }
.nft-card:focus-visible {
  border-color: #14714d;
  box-shadow: 0 0 0 3px rgba(20, 113, 77, .22);
}
.nft-card[aria-pressed="true"],
.nft-card[aria-pressed="true"]:focus-visible {
  border-color: #14714d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 113, 77, .42);
}
.nft-card[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #14714d;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}
.compact-dialog { max-width: 500px; }
.warning-copy { color: #845a00; }
.nft-copy .nft-market {
  display: grid;
  gap: 2px;
  margin-top: 7px;
}
.nft-copy .nft-market > span {
  color: #14714d;
  font-weight: 750;
  margin-top: 0;
}

.mint-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(430px, 1.28fr);
  gap: 12px;
  align-items: stretch;
}

.mint-selected-box {
  border: 1px solid #dfe4ed;
  border-radius: 11px;
  padding: 12px;
  margin-top: 12px;
  background: #f8f9fc;
}

.mint-selected-box span,
.mint-selected-box strong,
.mint-selected-box p { display: block; }
.mint-selected-box span { color: #707a91; font-size: .85rem; }
.mint-selected-box strong { font-size: 1.6rem; margin-top: 3px; }
.mint-selected-box p { color: #68738a; margin: 6px 0 0; line-height: 1.45; }

.mint-live-panel { display: grid; gap: 15px; }
.mint-live-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.mint-live-head span,
.mint-live-head strong { display: block; }
.mint-live-head span { color: #707a91; font-size: .85rem; }
.mint-live-head strong { margin-top: 4px; font-size: 1.15rem; }
.mint-countdown {
  min-width: 118px;
  text-align: right;
  color: #3154c5;
  font: 750 1.7rem/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.mint-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mint-stats div {
  border: 1px solid #e1e5ed;
  border-radius: 9px;
  padding: 10px;
}
.mint-stats span,
.mint-stats strong { display: block; }
.mint-stats span { color: #768097; font-size: .78rem; }
.mint-stats strong { font-size: 1.25rem; margin-top: 3px; }
.mint-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebf3;
}
.mint-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3159d6, #7255dc);
  transition: width .2s ease;
}
.mint-wallet-panel { margin-top: 12px; }
.mint-wallet-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mint-wallet-head h2,
.mint-wallet-head p { margin: 0; }
.mint-wallet-head p { color: #707a91; margin-top: 5px; }
.mint-wallet-table code,
.mint-wallet-table small { color: #707a91; }
.mint-wallet-table td:last-child { max-width: 280px; word-break: break-word; }

@media (max-width: 820px) {
  .picker-tools { grid-template-columns: 1fr 1fr; }
  .picker-tools input { grid-column: 1 / -1; }
  .mint-layout { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .operation-buttons,
  .operation-summary { grid-template-columns: 1fr; }
  .mint-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mint-live-head,
  .mint-wallet-head { display: grid; }
  .mint-countdown { text-align: left; }
}

@media (prefers-color-scheme: dark) {
  .status-note,
  .operation-fact span,
  .picker-summary,
  .wallet-picker-item small { color: #a1abc1; }
  .wallet-picker,
  .wallet-picker-list,
  .wallet-picker-item,
  .technical-details,
  .operation-fact { border-color: #2d3547; }
  .picker-summary strong { color: #edf1fa; }
  .mint-selected-box { background: #151c2a; border-color: #2d3547; }
  .mint-selected-box span,
  .mint-selected-box p,
  .mint-live-head span,
  .mint-stats span,
  .mint-wallet-head p,
  .mint-wallet-table code,
  .mint-wallet-table small { color: #a1abc1; }
  .mint-stats div { border-color: #2d3547; }
  .mint-progress { background: #283040; }
  .mint-countdown { color: #b9c8ff; }
  .nft-art { background: #252d3c; color: #a1abc1; }
  .nft-copy .nft-market > span { color: #91dfbe; }
  .status-badge.info { background: #243154; color: #b9c8ff; }
  .status-badge.success { background: #183c31; color: #91dfbe; }
  .status-badge.error { background: #49232b; color: #ffb1bf; }
  .status-badge.warning-tone { background: #49381c; color: #f6d18a; }
  .status-badge.neutral { background: #283040; color: #c1c8d7; }
}
