/* v14.8.18 — shared Binance, Bybit and Bitget CTA alignment and centered dialog. */
.tm-ob-cta-group .tm-ob-trigger,
.tm-ob-overlay,.tm-ob-overlay *,.tm-ob-overlay *::before,.tm-ob-overlay *::after{box-sizing:border-box}

/* Explicit button geometry overrides the large gap inherited from brand.css. */
.tm-ob-cta-group{align-items:stretch;gap:12px}
.tm-ob-cta-group .tm-ob-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 20px;font-family:inherit;font-size:14px;font-weight:770;line-height:1.35;cursor:pointer;text-align:center;white-space:nowrap;border-radius:10px;vertical-align:middle}
.tm-ob-cta-group .tm-ob-trigger.tm-btn-blue{border:1px solid transparent;min-width:214px}
.tm-ob-cta-group .tm-ob-trigger.tm-btn-outline-dark{border:1px solid #dbe4f4;min-width:178px}
.tm-ob-cta-label{display:inline-block;white-space:nowrap}
.tm-ob-cta-arrow{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px;font-size:19px;line-height:1;transform:translateY(-1px)}

.tm-ob-trigger:focus-visible,.tm-ob-close:focus-visible,.tm-ob-action:focus-visible,.tm-ob-footer-links a:focus-visible{outline:3px solid #4c84ff;outline-offset:3px}
.tm-ob-overlay[hidden]{display:none!important}
/* Central popup instead of a right-hand drawer. */
.tm-ob-overlay{position:fixed;inset:0;z-index:11000;display:flex;justify-content:center;align-items:center;padding:24px;background:rgba(12,23,49,.55);overscroll-behavior:contain}
.tm-ob-dialog{width:min(588px,100%);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);background:#fff;border:1px solid #e5e9f1;border-radius:18px;box-shadow:0 26px 90px rgba(6,22,55,.3);display:flex;flex-direction:column;overflow:hidden;outline:none;color:#25282e;font-family:inherit}
.tm-ob-header{height:56px;min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 22px;border-bottom:1px solid #e8eaf0;font-size:14px;font-weight:750;background:#fff}
.tm-ob-close{position:relative;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;color:#41464e;border-radius:8px}
.tm-ob-close:hover{background:#f2f4f8}
.tm-ob-close span{display:none}.tm-ob-close::before,.tm-ob-close::after{content:"";position:absolute;left:8px;top:17px;width:20px;height:1.5px;background:#34383f;transform:rotate(45deg)}.tm-ob-close::after{transform:rotate(-45deg)}
.tm-ob-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 27px 27px}
.tm-ob-content h2{font-weight:800;color:#222;line-height:1.35;font-size:23px;letter-spacing:-.7px;margin:0 0 14px}
.tm-ob-intro{background:#f8f9fb;border:1px solid #e9ecf2;border-radius:9px;min-height:43px;display:flex;align-items:center;padding:11px 14px;font-size:13px;font-weight:750;color:#393d43}
.tm-ob-steps{list-style:none;padding:0;margin:28px 0 0}
.tm-ob-step{margin:0 0 32px;padding:0}
.tm-ob-step:last-child{margin-bottom:23px}
.tm-ob-step h3{font-size:17px;line-height:1.42;margin:0 0 4px;font-weight:800;letter-spacing:-.4px;color:#4b515b;display:flex;align-items:center;gap:9px}
.tm-ob-step-num{width:25px;height:26px;flex:none;background:#2491ed;color:#fff;border-radius:4px;font-size:18px;line-height:26px;font-weight:750;text-align:center;letter-spacing:0}
.tm-ob-step p{font-size:13px;line-height:1.55;margin:0;color:#34343a;overflow-wrap:break-word}
.tm-ob-step p.tm-ob-hint{color:#3766ff}
.tm-ob-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 19px;margin-top:14px;background:#4266f6;border:1px solid #3e60ef;color:#fff!important;border-radius:9px;text-decoration:none!important;white-space:normal;text-align:center;font-size:13px;font-weight:750;line-height:1.35;transition:background-color .15s ease}
.tm-ob-action:hover{background:#294edd}
.tm-ob-footer-links{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:12px;padding:15px 0 1px;border-top:1px solid #edf0f5}
.tm-ob-footer-links a{color:#30343b;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.tm-ob-footer-links a:last-child{color:#74777e;text-decoration:underline;text-underline-offset:2px}
.tm-ob-footer-links a:hover{color:#2f5fea}
body.tm-ob-lock{overflow:hidden}
@media(max-width:780px){
  .tm-ob-cta-group{display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .tm-ob-cta-group .tm-ob-trigger{width:100%;min-width:0;min-height:52px}
}
@media(max-width:600px){
  .tm-ob-overlay{padding:14px;background:rgba(12,23,49,.57)}
  .tm-ob-dialog{width:100%;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border-radius:16px}
  .tm-ob-header{height:52px;min-height:52px;padding-left:17px}
  .tm-ob-content{padding:20px 18px 22px}
  .tm-ob-content h2{font-size:21px}
  .tm-ob-steps{margin-top:25px}
  .tm-ob-step{margin-bottom:28px}
  .tm-ob-step h3{font-size:16px}
  .tm-ob-footer-links{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.tm-ob-action{transition:none}}
