/**
 * GameController Inspector Footer — 关卡切换 + SwitchLevel
 */

export const template = `
<div class="gc-footer">
  <ui-label class="hint">预览 ▶ 后可用；inputLevel 填 ID 或点上一关/下一关</ui-label>
  <div class="row level-nav">
    <ui-button class="btn-prev">上一关</ui-button>
    <ui-button class="btn-next">下一关</ui-button>
  </div>
  <ui-button class="btn-switch">SwitchLevel</ui-button>
</div>
`;

export const style = `
.gc-footer { margin-top: 6px; }
.gc-footer .hint { opacity: 0.75; font-size: 11px; margin-bottom: 6px; display: block; }
.gc-footer .row { display: flex; gap: 4px; margin-bottom: 6px; }
.gc-footer .row ui-button { flex: 1; }
.gc-footer .btn-switch { width: 100%; }
`;

export const $ = {
    hint: '.hint',
    btnPrev: '.btn-prev',
    btnNext: '.btn-next',
    btnSwitch: '.btn-switch',
};

export function update(dump: unknown) {
    void dump;
}

export function ready() {}
