* { box-sizing: border-box; }
body { margin: 0; background: #f4f7fb; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #24324a; }
.btp-wrap { max-width: 760px; margin: 28px auto; padding: 0 12px; }
.btp-card { background: #fff; border-radius: 10px; box-shadow: 0 8px 28px rgba(28, 45, 84, .08); overflow: hidden; }
.btp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #1e4e9b; color: #fff; padding: 12px 18px; }
.btp-bar-title { font-size: 14px; font-weight: 600; }
.btp-back { color: #fff; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; padding: 4px 14px; font-size: 13px; text-decoration: none; }
.btp-back:hover { background: rgba(255,255,255,.12); }
.btp-body { padding: 28px 28px 22px; }
.btp-hero { text-align: center; margin-bottom: 22px; }
.btp-hero h2 { margin: 0 0 6px; font-size: 22px; font-weight: 650; }
.btp-hero p { margin: 0; color: #8b95a7; font-size: 13px; }
.btp-form { max-width: 420px; margin: 0 auto; }
.btp-label { display: block; margin: 14px 0 6px; color: #5c6b82; font-size: 13px; }
.btp-label em { color: #e35d5d; font-style: normal; }
.btp-input { width: 100%; height: 38px; border: 1px solid #e4e8f0; border-radius: 4px; padding: 0 12px; color: #24324a; background: #fff; outline: none; }
.btp-input:focus { border-color: #2f6fe0; box-shadow: 0 0 0 3px rgba(47,111,224,.12); }
.btp-actions { display: flex; justify-content: center; gap: 14px; margin: 22px 0 8px; }
.btp-btn { border: 0; background: #243f86; color: #fff; border-radius: 4px; min-width: 128px; height: 38px; padding: 0 16px; cursor: pointer; }
.btp-btn:hover { background: #1b326c; }
.btp-btn-alt { background: #2f56b0; }
.btp-btn-alt:hover { background: #244894; }
.btp-btn:disabled { opacity: .6; cursor: not-allowed; }
.btp-msg { min-height: 20px; color: #c24141; font-size: 13px; text-align: center; }
.btp-setup { text-align: center; color: #8a6a2f; background: #fff8e8; border: 1px solid #ffe1a8; border-radius: 6px; padding: 12px; }
.btp-term-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; color: #66758c; font-size: 13px; }
.btp-textbtn { border: 0; background: transparent; color: #2f56b0; padding: 0 0 0 12px; cursor: pointer; }
.btp-screen { position: relative; background: #0d1117; border-radius: 6px; min-height: 230px; padding: 14px 14px 10px; color: #d7deea; }
.btp-empty { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.18); font-size: 28px; pointer-events: none; }
.btp-out { margin: 0; min-height: 168px; white-space: pre-wrap; word-break: break-word; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.55; color: #d7deea; }
.btp-cmd { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: Consolas, "Courier New", monospace; }
.btp-cmd span { color: #7ee787; }
.btp-cmd input { flex: 1; border: 0; background: transparent; color: #d7deea; outline: none; font-family: inherit; font-size: 13px; }
.btp-note { margin-top: 16px; background: #fff8e8; border: 1px solid #ffe1a8; border-radius: 6px; padding: 12px 14px 8px; color: #8a6a2f; font-size: 13px; }
.btp-note-title { font-weight: 650; margin-bottom: 6px; }
.btp-note ol { margin: 0; padding-left: 18px; }
.btp-note li { margin-bottom: 4px; }
@media (max-width: 640px) {
  .btp-body { padding: 20px 14px 16px; }
  .btp-actions { flex-direction: column; }
  .btp-btn { width: 100%; }
}
