.addr-field {
    display: flex;
    gap: 8px;
    align-items: center;
}

.addr-field .inp {
    flex: 1 1 auto;
    min-width: 0;
}

.addr-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    white-space: nowrap;
    border: 1px solid var(--bd2);
    border-radius: var(--r);
    background: var(--bg3);
    color: var(--t1);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.13s, border-color 0.13s;
}

.addr-btn:hover {
    background: var(--suf2);
    border-color: var(--brand);
}

.addr-btn svg {
    width: 14px;
    height: 14px;
}

.addr-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
}

.addr-layer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 460px;
    height: 540px;
    max-height: 90vh;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--bd);
    border-radius: var(--r2);
    box-shadow: var(--shadow);
    animation: addrIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes addrIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.addr-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--bd);
}

.addr-tt {
    font-size: 14px;
    font-weight: 600;
    color: var(--t1);
}

.addr-x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--t3);
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}

.addr-x:hover {
    background: var(--bg3);
    color: var(--t1);
}

.addr-embed {
    flex: 1 1 auto;
    min-height: 0;
}
