/* The USDT block (change roadmap-1e-usdt), one file for the site and the Mini App. Neither loads the other's stylesheet, so
   everything here stands on the tokens both define (--surface, --border, --text, --accent, --primary ...) and on the .btn classes
   both have. Dark only. Nothing is loaded from elsewhere. */
.usdt-box, .usdt-card { font-family: var(--font-body); }
.usdt-box { margin: 0 0 0.75rem; min-width: 0; }
/* On the partner's tab the lead line above the block is a sentence about the whole box: room between it and the choice. */
.usdt-box[data-surface="partner"] { margin-top: 0.75rem; }
/* The page's own deposit row waits while the block is at Step 1 (the page sets the class through leadPage). */
.usdt-dim-row { opacity: 0.5; }
.usdt-choice {
    display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.usdt-label {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--text-dim); margin-right: 0.25rem;
}
.usdt-opt {
    appearance: none; min-height: 2.75rem; min-width: 4.5rem; padding: 0.35rem 0.9rem; cursor: pointer;
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim);
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.usdt-opt:hover { border-color: var(--border-hover); color: var(--text); }
.usdt-opt.is-on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.usdt-opt:focus-visible, .usdt-linkbtn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.usdt-panel {
    padding: 0.75rem; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    border-left: 3px solid var(--accent);
}
.usdt-p { margin: 0 0 0.55rem; font-size: 0.82rem; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.usdt-p:last-child { margin-bottom: 0; }
.usdt-intro { color: var(--text-dim); }
.usdt-step { font-weight: 600; }
.usdt-dim { color: var(--text-dim); font-size: 0.78rem; }
.usdt-ok { color: var(--success); }
.usdt-warn { color: var(--warning); }
.usdt-msg.is-err { color: var(--danger); }
.usdt-safety {
    margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px dashed var(--border);
    font-size: 0.74rem; color: var(--text-dim);
}
.usdt-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0.15rem 0 0.6rem; }
.usdt-actions .btn, .usdt-linkbtn { min-height: 2.75rem; }
.usdt-linkbtn {
    appearance: none; background: none; border: 0; padding: 0.6rem 0.1rem; cursor: pointer;
    font: inherit; font-size: 0.82rem; color: var(--primary); text-decoration: underline; text-underline-offset: 3px;
}
.usdt-linkbtn:hover { color: var(--primary-hover); }
.usdt-card {
    margin: 0 0 0.75rem; padding: 0.75rem; min-width: 0; background: var(--accent-2-soft);
    border: 1px solid var(--accent-2); border-radius: 10px;
}
/* Amber: the money is still waiting to be deposited (lime stays for the arrival sentence). */
.usdt-card .usdt-actions:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .usdt-actions .btn { flex: 1 1 100%; justify-content: center; }
    .usdt-linkbtn { display: block; width: 100%; text-align: left; }
    .usdt-panel { padding: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
    .usdt-opt { transition: none; }
}
