.bridge-console { margin-top: 1.5rem; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid rgba(159,227,209,.25); border-radius: 20px; background: rgba(7,12,16,.52); }
.console-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.console-kicker { color: var(--mint); font-size: .58rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.console-header h3 { margin-top: .25rem; font-size: 1.25rem; letter-spacing: -.025em; }
.direction-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 40px; padding: .55rem .85rem; border: 1px solid rgba(167,139,250,.35); border-radius: 999px; background: rgba(167,139,250,.08); color: #ddd5f7; font-size: .7rem; font-weight: 650; cursor: pointer; }
.direction-toggle:hover { border-color: rgba(167,139,250,.7); }
.direction-toggle:disabled, .console-actions button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.console-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 1.5rem; margin-top: 1.2rem; }
.console-token { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: .75rem 1rem; min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.console-token img { width: 128px; height: 128px; object-fit: cover; border-radius: 12px; background: #17131d; }
.console-token .token-copy { min-width: 0; }
.console-token span { display: block; color: var(--faint); font-size: .57rem; letter-spacing: .11em; text-transform: uppercase; }
.console-token strong { display: block; overflow: hidden; margin-top: .25rem; color: #eeeaf3; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.console-token code { display: block; margin-top: .35rem; color: var(--dim); font-size: .65rem; }
.console-token small { display: block; grid-column: 1 / -1; margin-top: 0; color: var(--mint); font-size: .66rem; line-height: 1.45; }
.console-token select { grid-column: 1 / -1; width: 100%; margin-top: 0; padding: .6rem .65rem; border: 1px solid rgba(167,139,250,.35); border-radius: 9px; background: #17151e; color: #eeeaf3; font: inherit; font-size: .78rem; font-weight: 650; cursor: pointer; color-scheme: dark; }
.console-token select:disabled { opacity: .55; cursor: not-allowed; }
.console-details { display: grid; gap: .45rem; align-content: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }
.bridge-steps { margin-top: 1.5rem; }
.console-detail { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .7rem; }
.console-detail span { flex: none; color: var(--faint); }
.console-detail strong { max-width: 65%; overflow-wrap: anywhere; color: #ddd7e5; font-weight: 600; text-align: right; }
.console-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.console-actions .button { min-height: 44px; padding: .65rem 1rem; font-size: .75rem; }
.console-actions .button[hidden], .bridge-progress[hidden], .bridge-links[hidden], .console-message:empty { display: none; }
.console-refresh { width: 44px; padding-inline: 0 !important; }
.console-message { margin-top: .85rem; color: var(--dim); font-size: .72rem; line-height: 1.55; }
.console-message.error { color: #ff9ba9; }
.console-message.success { color: var(--mint); }
.bridge-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: 1.1rem; }
.progress-step { position: relative; min-width: 0; padding: .7rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.progress-step::before { content: ""; display: block; width: 7px; height: 7px; margin-bottom: .45rem; border-radius: 50%; background: var(--faint); }
.progress-step span { display: block; color: var(--faint); font-size: .53rem; letter-spacing: .09em; text-transform: uppercase; }
.progress-step strong { display: block; margin-top: .2rem; color: var(--dim); font-size: .65rem; font-weight: 600; line-height: 1.35; }
.progress-step.active { border-color: rgba(243,217,91,.35); }
.progress-step.active::before { background: var(--yellow); box-shadow: 0 0 10px rgba(243,217,91,.55); }
.progress-step.active strong { color: var(--yellow); }
.progress-step.done { border-color: rgba(159,227,209,.25); }
.progress-step.done::before { background: var(--mint); }
.progress-step.done strong { color: var(--mint); }
.progress-step.error { border-color: rgba(255,155,169,.4); }
.progress-step.error::before { background: #ff9ba9; }
.progress-step.error strong { color: #ff9ba9; }
.bridge-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.bridge-links a { color: #b5a7e8; font-size: .68rem; text-decoration: none; }
.bridge-links a:hover { text-decoration: underline; }
.console-message a { color: #b5a7e8; }
@media (max-width: 800px) {
  .console-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .console-header { align-items: flex-start; flex-direction: column; }
  .direction-toggle { width: 100%; }
  .console-actions { flex-direction: column; }
  .console-actions .button { width: 100%; }
  .console-refresh { width: 100%; }
  .bridge-progress { grid-template-columns: 1fr 1fr; }
  .console-token { grid-template-columns: 110px minmax(0, 1fr); }
  .console-token img { width: 110px; height: 110px; }
  .console-detail strong { max-width: 58%; }
}
