.tdl-activation-overlay {
  --tdl-act-accent: #ff6a00;
  --tdl-act-text: #f5f5f6;
  --tdl-act-muted: #98a2b3;
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 6, 20, .76);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.tdl-activation-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.tdl-activation-overlay *, .tdl-activation-overlay *::before, .tdl-activation-overlay *::after { box-sizing: border-box; }
.tdl-activation-modal {
  width: min(100%, 440px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  position: relative;
  padding: 36px;
  background: linear-gradient(150deg, #171c2b, #151419);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  color: var(--tdl-act-text);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .4);
  transform: translateY(12px);
  transition: transform .2s ease;
}
.tdl-activation-overlay.show .tdl-activation-modal { transform: translateY(0); }
.tdl-activation-eyebrow { color: #ffac73; font-size: 10px; letter-spacing: .13em; font-weight: 700; }
.tdl-activation-modal h2 { margin: 12px 0 8px; color: var(--tdl-act-text); font-size: 25px; font-weight: 700; line-height: 1.3; }
.tdl-activation-description { margin: 0 0 28px; color: var(--tdl-act-muted); font-size: 13px; line-height: 1.75; }
.tdl-activation-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#activationForm { margin-top: 24px; }
.tdl-activation-input {
  display: block; width: 100%; min-height: 50px; padding: 13px 15px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05); color: var(--tdl-act-text);
  font: inherit; font-size: 14px; outline: none;
}
.tdl-activation-input::placeholder { color: #778396; }
.tdl-activation-input:focus { border-color: var(--tdl-act-accent); box-shadow: 0 0 0 4px rgba(255, 106, 0, .13); }
.tdl-activation-error { min-height: 42px; padding: 10px 0; color: #ff8e8e; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.tdl-activation-error[data-kind="success"] { color: #6ee7b7; }
.tdl-activation-submit {
  width: 100%; min-height: 50px; padding: 13px 16px; border: 0; border-radius: 12px;
  color: #fff; background: var(--tdl-act-accent); font: inherit; font-size: 14px;
  font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(255, 106, 0, .18);
  transition: background .2s ease, box-shadow .2s ease;
}
.tdl-activation-submit:hover:not(:disabled) { background: #ff7b1f; box-shadow: 0 12px 32px rgba(255, 106, 0, .3); }
.tdl-activation-submit:disabled { background: #414855; color: #b5becd; box-shadow: none; cursor: not-allowed; }
.tdl-activation-submit:focus-visible, .tdl-activation-close:focus-visible { outline: 2px solid #ffb784; outline-offset: 4px; }
.tdl-activation-close {
  position: absolute; right: 15px; top: 14px; width: 34px; height: 34px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .06); color: #b0b8c7; font-size: 25px; line-height: 1; cursor: pointer;
}
.tdl-activation-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tdl-activation-note { margin: 18px 0 0; color: #8c97a9; font-size: 11px; line-height: 1.8; text-align: center; }
body.tdl-activation-open { overflow: hidden; }
@media (max-width: 520px) {
  .tdl-activation-overlay { padding: 16px; }
  .tdl-activation-modal { padding: 30px 24px; border-radius: 20px; max-height: calc(100dvh - 32px); }
  .tdl-activation-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tdl-activation-overlay, .tdl-activation-modal, .tdl-activation-submit { transition: none; }
}
