/* Titan Plus Registration Terms Viewer — isolated from login, registration and website layout. */
body.titan-site #tpTermsOverlay[hidden] { display:none !important; }
body.titan-site #tpTermsOverlay,
body.titan-site #tpTermsOverlay * { box-sizing:border-box; }
body.titan-site #tpTermsOverlay {
    position:fixed; inset:0; z-index:20000;
    display:flex; align-items:center; justify-content:center;
    padding:18px;
    background:rgba(4,5,7,.80);
    -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
    color:#f7f4ec;
    font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;
}
body.titan-site #tpTermsOverlay .tp-terms-dialog {
    width:min(1040px,100%); height:min(860px,94dvh);
    display:flex; flex-direction:column; min-height:0; overflow:hidden;
    background:radial-gradient(circle at 92% 0,rgba(205,158,66,.13),transparent 29%),#121315;
    border:1px solid rgba(226,184,98,.32); border-radius:23px;
    box-shadow:0 40px 110px rgba(0,0,0,.55);
    color:#f7f4ec;
}
body.titan-site #tpTermsOverlay .tp-terms-header {
    display:flex; align-items:center; justify-content:space-between;
    gap:14px; flex:none; padding:18px 26px;
    border-bottom:1px solid rgba(219,184,107,.16);
}
body.titan-site #tpTermsOverlay .tp-terms-brand {
    display:flex; align-items:center; gap:11px; min-width:0;
}
body.titan-site #tpTermsOverlay .tp-terms-mark {
    display:flex; align-items:center; justify-content:center;
    width:39px; height:39px; flex:none;
    color:#f2d486; background:#22201c;
    border:1px solid rgba(228,180,80,.45); border-radius:12px; font-size:18px;
}
body.titan-site #tpTermsOverlay .tp-terms-brand > span:last-child {
    display:flex; flex-direction:column; gap:3px;
}
body.titan-site #tpTermsOverlay .tp-terms-brand strong {
    font-size:16px; line-height:1; font-weight:850; letter-spacing:.01em; color:#fff;
}
body.titan-site #tpTermsOverlay .tp-terms-brand strong span { color:#e4b85d; }
body.titan-site #tpTermsOverlay .tp-terms-brand small {
    font-size:9px; line-height:1.2; color:#aaa49c; font-weight:700; letter-spacing:.13em;
}
body.titan-site #tpTermsOverlay button.tp-terms-close {
    display:flex; align-items:center; justify-content:center; flex:0 0 39px;
    width:39px; height:39px; border:1px solid rgba(255,255,255,.13);
    border-radius:12px; background:rgba(255,255,255,.06); color:#f6f1e8;
    cursor:pointer; font-size:18px;
}
body.titan-site #tpTermsOverlay button.tp-terms-close:hover { background:rgba(222,179,91,.13); border-color:rgba(222,179,91,.45); }
body.titan-site #tpTermsOverlay .tp-terms-titlebar {
    flex:none; padding:22px 29px 18px; border-bottom:1px solid rgba(255,255,255,.08);
}
body.titan-site #tpTermsOverlay .tp-terms-eyebrow {
    display:block; margin:0 0 9px; font-size:10px; letter-spacing:.15em;
    color:#e2b761; font-weight:800;
}
body.titan-site #tpTermsOverlay #tpTermsTitle {
    margin:0 0 8px !important; color:#fff !important;
    font:500 clamp(29px,3.8vw,41px)/1.07 Georgia,"Times New Roman",serif !important;
    letter-spacing:-.035em;
}
body.titan-site #tpTermsOverlay #tpTermsTitle em { color:#dfb65e; font-style:normal; }
body.titan-site #tpTermsOverlay #tpTermsIntro {
    margin:0; color:#b9b6b2 !important; font-size:12px; line-height:1.55;
}
body.titan-site #tpTermsOverlay .tp-terms-scroll {
    flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden;
    scrollbar-width:thin; scrollbar-color:#ab8136 #1c1d20;
    overscroll-behavior:contain;
}
body.titan-site #tpTermsOverlay .tp-terms-scroll::-webkit-scrollbar { width:7px; }
body.titan-site #tpTermsOverlay .tp-terms-scroll::-webkit-scrollbar-thumb { background:#ab8136; border-radius:12px; }
body.titan-site #tpTermsOverlay .tp-terms-grid {
    display:grid; grid-template-columns:190px minmax(0,1fr); gap:24px;
    align-items:start; padding:25px 29px 31px;
}
body.titan-site #tpTermsOverlay .tp-terms-navigation {
    position:sticky; top:0; display:flex; flex-direction:column; gap:2px;
    max-height:min(70dvh,540px); overflow-y:auto; padding-right:9px;
    scrollbar-width:thin; scrollbar-color:#70582c transparent;
}
body.titan-site #tpTermsOverlay .tp-terms-navigation > strong {
    margin:0 0 10px; color:#deb66b; font-size:10px; letter-spacing:.15em;
}
body.titan-site #tpTermsOverlay .tp-terms-navigation a {
    display:flex; align-items:flex-start; gap:7px; padding:8px 8px;
    border-radius:8px; color:#b5b0aa !important; text-decoration:none;
    font-size:11px; line-height:1.3; font-weight:600;
}
body.titan-site #tpTermsOverlay .tp-terms-navigation a span {
    color:#bc8d3e; font-weight:800; font-size:10px;
}
body.titan-site #tpTermsOverlay .tp-terms-navigation a:hover,
body.titan-site #tpTermsOverlay .tp-terms-navigation a:focus-visible {
    color:#fff !important; background:rgba(219,176,89,.12);
}
body.titan-site #tpTermsOverlay .tp-terms-main { min-width:0; }
body.titan-site #tpTermsOverlay .tp-terms-summary {
    margin:0 0 23px; padding:19px 21px;
    background:linear-gradient(145deg,#25221b,#1b1b1c);
    border:1px solid rgba(228,183,85,.24); border-radius:14px;
}
body.titan-site #tpTermsOverlay .tp-terms-summary h2 {
    margin:0 0 6px !important; color:#edd293 !important;
    font:800 15px/1.4 "Segoe UI",Arial,sans-serif !important;
}
body.titan-site #tpTermsOverlay .tp-terms-summary .sub {
    margin:0 0 11px; color:#b9b0a2 !important; font-size:11px; line-height:1.5;
}
body.titan-site #tpTermsOverlay .tp-terms-summary ul,
body.titan-site #tpTermsOverlay .tp-terms-document ul {
    padding-left:20px; margin:0; color:#d7d3cd; font-size:12px; line-height:1.65;
}
body.titan-site #tpTermsOverlay .tp-terms-summary li { margin:6px 0; }
body.titan-site #tpTermsOverlay .tp-terms-document section {
    scroll-margin-top:13px; padding:17px 0 16px;
    border-top:1px solid rgba(255,255,255,.10);
}
body.titan-site #tpTermsOverlay .tp-terms-document h2 {
    display:flex; align-items:baseline; gap:12px;
    margin:0 0 10px !important;
    color:#f4efe7 !important;
    font:650 17px/1.35 "Segoe UI",Arial,sans-serif !important;
    letter-spacing:-.01em;
}
body.titan-site #tpTermsOverlay .tp-terms-document .n {
    color:#dfb361; flex:0 0 20px; font:850 12px/1.3 "Segoe UI",Arial,sans-serif;
}
body.titan-site #tpTermsOverlay .tp-terms-document p,
body.titan-site #tpTermsOverlay .tp-terms-document li {
    color:#c6c2bc !important; font-size:12px; line-height:1.75;
}
body.titan-site #tpTermsOverlay .tp-terms-document p { margin:0 0 10px !important; }
body.titan-site #tpTermsOverlay .tp-terms-document li { margin:0 0 7px; }
body.titan-site #tpTermsOverlay .tp-terms-document strong { color:#f3efe8; }
body.titan-site #tpTermsOverlay .tp-terms-document .risk {
    margin:6px 0 13px; padding:13px 15px 3px;
    border-left:3px solid #d3a251; border-radius:0 9px 9px 0;
    background:rgba(207,151,57,.11);
}
body.titan-site #tpTermsOverlay .tp-terms-document .risk strong { color:#f1d797; }
body.titan-site #tpTermsOverlay .tp-terms-document .ph,
body.titan-site #tpTermsOverlay .tp-terms-ph {
    color:#f0d186; background:rgba(224,179,86,.12); border-radius:3px;
    padding:0 3px;
}
body.titan-site #tpTermsOverlay .tp-terms-footer {
    display:flex; align-items:center; justify-content:space-between;
    flex:none; gap:18px; padding:14px 23px;
    background:#19191b; border-top:1px solid rgba(223,178,86,.18);
}
body.titan-site #tpTermsOverlay .tp-terms-footer > span {
    display:flex; align-items:center; gap:7px;
    color:#aca69c; font-size:11px; line-height:1.5;
}
body.titan-site #tpTermsOverlay .tp-terms-footer > span i { color:#d9af5d; }
body.titan-site #tpTermsOverlay button.tp-terms-return {
    display:flex; align-items:center; justify-content:center; gap:10px;
    flex:0 0 auto; min-height:40px; padding:10px 16px;
    border:0; border-radius:11px;
    background:linear-gradient(115deg,#f0d58b,#cb9d43 53%,#a87524);
    color:#19150d; font-size:12px; font-weight:800; cursor:pointer;
    box-shadow:0 10px 22px rgba(148,94,24,.17);
}
body.titan-site #tpTermsOverlay button.tp-terms-return:hover { filter:brightness(1.09); }
body.titan-site #tpTermsOverlay button:focus-visible,
body.titan-site #tpTermsOverlay a:focus-visible,
body.titan-site #tpTermsOverlay .tp-terms-scroll:focus-visible {
    outline:2px solid #e4bb67 !important; outline-offset:3px;
}
@media(max-width:720px) {
    body.titan-site #tpTermsOverlay { padding:9px; }
    body.titan-site #tpTermsOverlay .tp-terms-dialog { height:min(94dvh,900px); border-radius:16px; }
    body.titan-site #tpTermsOverlay .tp-terms-header { padding:13px 17px; }
    body.titan-site #tpTermsOverlay .tp-terms-titlebar { padding:17px 19px 15px; }
    body.titan-site #tpTermsOverlay .tp-terms-grid { display:block; padding:17px 18px 25px; }
    body.titan-site #tpTermsOverlay .tp-terms-navigation { display:none; }
    body.titan-site #tpTermsOverlay .tp-terms-footer { padding:11px 14px; gap:10px; }
    body.titan-site #tpTermsOverlay .tp-terms-footer > span { font-size:10px; max-width:165px; }
    body.titan-site #tpTermsOverlay button.tp-terms-return { padding:10px 11px; font-size:11px; }
}
@media(max-width:360px) {
    body.titan-site #tpTermsOverlay { padding:0; }
    body.titan-site #tpTermsOverlay .tp-terms-dialog { width:100%; height:100dvh; border-radius:0; border:0; }
    body.titan-site #tpTermsOverlay .tp-terms-footer > span { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) {
    body.titan-site #tpTermsOverlay * { scroll-behavior:auto !important; }
}

/* Two-step registration signature — scoped only to the public Terms overlay. */
body.titan-site #tpTermsOverlay .tp-terms-sign {
    margin: 20px 0 5px; padding: 23px 22px 25px; scroll-margin-top: 16px;
    border: 1px solid rgba(228,183,85,.35); border-radius: 16px;
    background: linear-gradient(140deg,#28231b 0%,#18191a 72%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.titan-site #tpTermsOverlay .tp-terms-sign-eyebrow {
    display: block; margin-bottom: 10px; color: #e8c57c; font-size: 10px;
    font-weight: 800; letter-spacing: .13em;
}
body.titan-site #tpTermsOverlay #tpTermsSignTitle {
    color: #fff !important; margin:0 0 7px !important;
    font: 600 27px/1.1 Georgia,serif !important;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-hint {
    margin:0 0 19px; color:#c8beb0; font-size:12px; line-height:1.65;
}
body.titan-site #tpTermsOverlay .tp-terms-sign fieldset {
    margin:0; padding:0; min-width:0; border:0;
}
body.titan-site #tpTermsOverlay .tp-terms-sign fieldset:disabled { opacity:.50; }
body.titan-site #tpTermsOverlay .tp-terms-sign-check {
    display:flex; align-items:flex-start; gap:11px; margin:0 0 12px;
    padding:10px 12px; color:#ece6da; border:1px solid rgba(255,255,255,.10);
    border-radius:10px; background:rgba(255,255,255,.035);
    font-size:12px; line-height:1.55; cursor:pointer;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-check input {
    flex:0 0 19px; width:19px; height:19px; margin:0;
    accent-color:#ca9a45; cursor:pointer;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:19px 0 17px;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields label {
    min-width:0; color:#eddfc3; font-size:12px; font-weight:700;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields label small {
    font-size:10px; color:#bcb1a0; font-weight:400;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields input {
    display:block; width:100%; min-height:44px; margin-top:7px; padding:10px 12px;
    color:#fff; background:#18191b; border:1px solid rgba(236,202,129,.28);
    border-radius:9px; outline:none; font-size:13px;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields input:focus {
    border-color:#e7bf69; box-shadow:0 0 0 3px rgba(215,172,88,.12);
}
body.titan-site #tpTermsOverlay .tp-terms-sign-fields input::placeholder { color:#98958e; }
body.titan-site #tpTermsOverlay .tp-terms-sign-preview {
    display:flex; flex-direction:column; justify-content:flex-end; gap:6px;
    min-height:88px; padding:12px 14px; border-bottom:2px solid #cba157;
    background:rgba(14,15,16,.42); border-radius:9px 9px 0 0;
}
body.titan-site #tpTermsOverlay #tpTermsSignature {
    color:#f3d58d; font-family:Georgia,'Times New Roman',serif;
    font-size:25px; font-style:italic; overflow-wrap:anywhere;
}
body.titan-site #tpTermsOverlay #tpTermsSignature.is-empty { font-size:15px; color:#96918a; font-style:normal; }
body.titan-site #tpTermsOverlay #tpTermsSignedAt { color:#a7a29a; font-size:10px; }
body.titan-site #tpTermsOverlay .tp-terms-sign-error {
    min-height:16px; margin:9px 0 10px; color:#f4b7a5; font-size:11px; line-height:1.5;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-submit {
    display:flex; align-items:center; justify-content:center; gap:11px;
    width:100%; min-height:47px; padding:12px;
    border:0; border-radius:11px; font-size:13px; font-weight:800;
    background:linear-gradient(115deg,#f0d58b,#cb9d43 53%,#a87524);
    color:#19150d; cursor:pointer;
}
body.titan-site #tpTermsOverlay .tp-terms-sign-submit:disabled {
    color:#9f9b93; background:#47433d; cursor:not-allowed; box-shadow:none;
}
@media(max-width:720px){
    body.titan-site #tpTermsOverlay .tp-terms-sign { padding:17px 15px 19px; }
    body.titan-site #tpTermsOverlay .tp-terms-sign-fields { grid-template-columns:minmax(0,1fr); }
    body.titan-site #tpTermsOverlay .tp-terms-sign-check { font-size:12px; }
}
