.tp-pro-code-entry[class]{max-width:1120px;margin:20px auto 0;text-align:center}
.tp-pro-code-entry[class]>button{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:none;border:0;color:var(--top-muted,#777);font-size:13px;cursor:pointer}
.tp-pro-code-entry .tp-pro-code-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #e6e6eb;border-radius:24px;background:var(--top-bg,#fff);color:var(--top-ink,#222);text-align:left;box-shadow:0 24px 80px #0002}
.tp-pro-code-entry .tp-pro-code-dialog::backdrop{background:#0005;backdrop-filter:blur(5px)}
.tp-pro-code-entry .tp-pro-code-dialog h2{font-size:23px;margin:0 32px 8px 0}.tp-pro-code-entry .tp-pro-code-close{position:absolute;right:18px;top:18px;border:0;background:none;color:inherit;cursor:pointer}
.tp-pro-code-entry .tp-pro-code-account,.tp-pro-code-entry .tp-pro-code-help{font-size:13px;line-height:1.7;color:var(--top-muted,#777)}
.tp-pro-code-entry .tp-pro-code-dialog label{display:block;font-size:14px;margin:22px 0 8px}.tp-pro-code-entry .tp-pro-code-dialog input{box-sizing:border-box;width:100%;padding:13px 15px;font-size:16px;border:1px solid #dcdce3;border-radius:13px;background:transparent;color:inherit}
.tp-pro-code-entry .tp-pro-code-submit{margin-top:14px;width:100%;padding:12px 18px;border:0;border-radius:999px;background:var(--top-ink,#222);color:var(--top-bg,#fff);font:inherit;cursor:pointer}.tp-pro-code-entry .tp-pro-code-submit:disabled{opacity:.45;cursor:default}

/* Match the quiet white subscription surface; do not change redemption behavior. */
.tp-pro-code-entry .tp-pro-code-success{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:28px 0 22px;color:#54846c}
.tp-pro-code-entry .tp-pro-code-success strong{font-size:17px;line-height:1.5;font-weight:500;color:#302b35}.tp-pro-code-entry .tp-pro-code-success span{font-size:13px;color:#817787}
.tp-pro-code-entry .tp-pro-code-error{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.6;color:#a45249;margin:16px 0 0}.tp-pro-code-entry .tp-pro-code-error svg{flex-shrink:0;margin-top:2px}
.tp-pro-code-entry .tp-pro-code-dialog input[aria-invalid=true]{border-color:#b98781}
.tp-pro-code-entry[class]>button{min-height:44px;padding:10px 14px;color:#81708d;font-size:13px;gap:8px}
.tp-pro-code-entry[class]>button:hover{color:#493a55}
.tp-pro-code-entry .tp-pro-code-dialog{padding:32px;border-color:#e8e3eb;border-radius:20px;background:#fff;color:#302b35;box-shadow:0 18px 70px #34223f26}
.tp-pro-code-entry .tp-pro-code-dialog::backdrop{background:#20172755;backdrop-filter:blur(3px)}
.tp-pro-code-entry .tp-pro-code-dialog h2{font-size:25px;line-height:1.35;font-weight:500;letter-spacing:-.025em;margin-bottom:10px}
.tp-pro-code-entry .tp-pro-code-close{top:12px;right:12px;width:44px;height:44px;display:grid;place-items:center;color:#897d90;border-radius:50%}
.tp-pro-code-entry .tp-pro-code-close:hover{color:#302b35}
.tp-pro-code-entry .tp-pro-code-account{font-size:12px;margin:0;color:#817787;overflow-wrap:anywhere}
.tp-pro-code-entry .tp-pro-code-dialog label{font-size:13px;font-weight:500;margin-top:28px;color:#514859}
.tp-pro-code-entry .tp-pro-code-dialog input{height:50px;border-radius:10px;border-color:#ddd4e4;letter-spacing:.05em;padding:12px 14px}
.tp-pro-code-entry .tp-pro-code-dialog input:focus{outline:2px solid #a08ab455;outline-offset:2px;border-color:#9580a6}
.tp-pro-code-entry .tp-pro-code-help{font-size:12px;line-height:1.8;color:#857a8c;margin:14px 0 20px}
.tp-pro-code-entry .tp-pro-code-submit{min-height:46px;font-size:14px;font-weight:500;background:#302b35;color:#fff}
.tp-pro-code-entry .tp-pro-code-submit:focus-visible,.tp-pro-code-entry .tp-pro-code-close:focus-visible,.tp-pro-code-entry[class]>button:focus-visible{outline:2px solid #9b8bb7;outline-offset:3px}
@media(max-width:480px){.tp-pro-code-entry .tp-pro-code-dialog{width:calc(100vw - 32px);padding:28px 24px}.tp-pro-code-entry .tp-pro-code-dialog h2{font-size:23px}}
