/* Profile page: reuse the live account form and its save/verification handlers. */
#th-v11-entry .th11-profile-host{min-width:0}
#th-v11-entry #panel-profile{display:block;min-width:0;min-height:0;width:100%;margin:0;padding:0;background:none;border:0;box-shadow:none;color:var(--ink)}
#th-v11-entry #panel-profile .profile-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:start;color:var(--ink)}
#th-v11-entry #panel-profile .profile-card{min-width:0;padding:23px;border:1px solid var(--edge)!important;border-radius:14px;background:var(--panel)!important;color:var(--ink)!important;box-shadow:var(--shadow)!important}
#th-v11-entry #panel-profile .profile-card h3{margin:0 0 10px;color:var(--ink)!important;font:600 29px/1.15 var(--serif)}
#th-v11-entry #panel-profile .profile-card label{color:var(--ink)!important;font:700 12px/1.35 var(--ui);letter-spacing:0;text-transform:none}
#th-v11-entry #panel-profile .profile-help,#th-v11-entry #panel-profile .profile-counter,#th-v11-entry #panel-profile .optional{color:var(--muted)!important;font:12px/1.5 var(--ui)}
#th-v11-entry #panel-profile .profile-card > .profile-help{margin:0 0 20px;max-width:68ch}
#th-v11-entry #panel-profile .profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 17px}
#th-v11-entry #panel-profile .profile-grid > *{min-width:0}
#th-v11-entry #panel-profile .profile-grid .full{grid-column:1/-1}
#th-v11-entry #panel-profile input:not([type=checkbox]),#th-v11-entry #panel-profile textarea,#th-v11-entry #panel-profile select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--edge)!important;border-radius:9px;background:var(--paper)!important;color:var(--ink)!important;font:14px var(--ui)}
#th-v11-entry #panel-profile textarea{min-height:95px;resize:vertical}
#th-v11-entry #panel-profile .natal-result{margin:20px 0 0;padding:15px;border:1px solid var(--edge)!important;border-radius:11px;background:var(--cream)!important;color:var(--ink)!important;box-shadow:none!important}
#th-v11-entry #panel-profile .natal-result > strong{color:var(--ink)!important;font:600 20px var(--serif)}
#th-v11-entry #panel-profile .visibility-options{display:grid;gap:9px;margin-top:18px;padding:14px 16px;border:1px solid var(--edge);border-radius:11px;background:var(--cream)}
#th-v11-entry #panel-profile .visibility-options label{display:flex;align-items:flex-start;gap:9px;margin:0;color:var(--ink)!important;font:600 13px/1.4 var(--ui)}
#th-v11-entry #panel-profile .visibility-options input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;margin:1px 0 0;accent-color:var(--deep)}
#th-v11-entry #panel-profile .visibility-options .profile-help{margin:3px 0 0}
#th-v11-entry #panel-profile .profile-card button{min-height:40px;padding:9px 15px;border:1px solid var(--gold)!important;border-radius:9px;background:var(--deep)!important;color:#fff9e9!important;font:700 13px var(--ui)}
#th-v11-entry #panel-profile .profile-card button:hover{filter:brightness(1.15)}
#th-v11-entry #panel-profile .email-change-code-row{display:flex;gap:8px;flex-wrap:wrap}
#th-v11-entry #panel-profile .email-change-code-row input{flex:1 1 120px}
#th-v11-entry #panel-profile aside.profile-card{position:sticky;top:94px}
#th-v11-entry #panel-profile aside.profile-card p{margin:9px 0 13px}
#th-v11-entry[data-ui-theme=dark] #panel-profile{--ink:#f7ecf8;--muted:#d7c5dc;--edge:#6e5480;--paper:#2c1d3a;--cream:#24172f;--panel:#20152c;--deep:#5c3471;--gold:#c39a65}
#th-v11-entry[data-ui-theme=dark] #panel-profile .profile-card,#th-v11-entry[data-ui-theme=dark] #panel-profile .natal-result{color:#f7ecf8!important}
#th-v11-entry[data-ui-theme=dark] #panel-profile input:not([type=checkbox]),#th-v11-entry[data-ui-theme=dark] #panel-profile textarea,#th-v11-entry[data-ui-theme=dark] #panel-profile select{color:#fff8f9!important}
@media(max-width:1000px){#th-v11-entry #panel-profile .profile-layout{grid-template-columns:1fr}#th-v11-entry #panel-profile aside.profile-card{position:static}}
@media(max-width:600px){#th-v11-entry #panel-profile .profile-card{padding:17px}#th-v11-entry #panel-profile .profile-grid{grid-template-columns:1fr}#th-v11-entry #panel-profile .profile-grid .full{grid-column:auto}}

/* Reuse the Store's connected, downward-facing botanical corner on Your Profile. */
#th-v11-entry #profileForm{position:relative;isolation:isolate;overflow:hidden}
#th-v11-entry #profileForm::before{content:"";position:absolute;z-index:0;top:0;right:0;width:260px;max-width:42%;aspect-ratio:1599/984;background:url('assets/images/interface/ux-v11-shop-botanical-corner.webp') right top/contain no-repeat;opacity:1;pointer-events:none}
#th-v11-entry #profileForm>*{position:relative;z-index:1}
#th-v11-entry #profileForm>.profile-help:first-of-type{padding-right:clamp(100px,30%,235px)}
@media(max-width:560px){#th-v11-entry #profileForm::before{width:145px;max-width:39%}#th-v11-entry #profileForm>.profile-help:first-of-type{padding-right:95px}}
