<div class="options-settings-section">
    <div class="options-settings-subtitle">主账户内</div>
    <div class="form-row settings-transfer-form options-settings-row">
        <select id="opt-set-int-ccy" aria-label="币种">
            <option value="USDC" selected>USDC</option>
            <option value="USDT">USDT</option>
        </select>
        <select id="opt-set-int-from" aria-label="划出账户">
            <option value="funding" selected>from: 资金</option>
            <option value="trading">from: 交易</option>
        </select>
        <select id="opt-set-int-to" aria-label="划入账户">
            <option value="trading" selected>to: 交易</option>
            <option value="funding">to: 资金</option>
        </select>
        <input type="number" id="opt-set-int-amount" min="0.01" step="0.01" placeholder="数量">
        <button type="button" class="btn-secondary btn-sm" id="opt-set-int-all-btn">全部划转</button>
        <button type="button" class="btn-primary btn-sm" id="opt-set-int-btn">划转</button>
    </div>
    <div id="opt-set-int-msg" class="options-settings-msg muted"></div>
</div>

<div class="options-settings-section">
    <div class="options-settings-subtitle">
        主子账户
        <span class="muted">({{ instance_settings.options_sub_account or '未配置' }})</span>
    </div>
    <div class="form-row settings-transfer-form options-settings-row">
        <select id="opt-set-cross-dir" aria-label="主子方向">
            <option value="main_to_sub" selected>主 → 子</option>
            <option value="sub_to_main">子 → 主</option>
        </select>
        <select id="opt-set-cross-ccy" aria-label="币种">
            <option value="USDT" selected>USDT</option>
            <option value="USDC">USDC</option>
        </select>
        <select id="opt-set-cross-from" aria-label="划出账户">
            <option value="funding" selected>from: 资金</option>
            <option value="trading">from: 交易</option>
        </select>
        <select id="opt-set-cross-to" aria-label="划入账户">
            <option value="trading" selected>to: 交易</option>
            <option value="funding">to: 资金</option>
        </select>
        <input type="number" id="opt-set-cross-amount" min="0.01" step="0.01" placeholder="数量">
        <button type="button" class="btn-secondary btn-sm" id="opt-set-cross-all-btn">全部划转</button>
        <button type="button" class="btn-primary btn-sm" id="opt-set-cross-btn">划转</button>
    </div>
    <div id="opt-set-cross-msg" class="options-settings-msg muted"></div>
</div>
