/* TRON wallet picker — тёмное окно как в референсе */
.tron-wmodal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}

.tron-wmodal.tron-wmodal--open {
  display: flex;
}

.tron-wmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.tron-wmodal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(88vh, 620px);
  background: #141416;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.tron-wmodal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tron-wmodal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tron-wmodal__title {
  margin: 0 40px 6px 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.tron-wmodal__subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.tron-wmodal__list {
  flex: 1;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px 4px;
  -webkit-overflow-scrolling: touch;
}

.tron-wmodal__list::-webkit-scrollbar {
  width: 6px;
}

.tron-wmodal__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.tron-wmodal__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  margin-bottom: 8px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, opacity 0.15s ease;
  box-sizing: border-box;
}

.tron-wmodal__row:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.tron-wmodal__row:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.tron-wmodal__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
}

.tron-wmodal__text {
  flex: 1;
  min-width: 0;
}

.tron-wmodal__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.tron-wmodal__hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

.tron-wmodal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
}

.tron-wmodal__dot--on {
  background: #26b562;
  box-shadow: 0 0 0 3px rgba(38, 181, 98, 0.22);
}

.tron-wallet-step-hint {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
}
