/* TG_PROFILE_DARK_V1 — scoped to the member home route. */
html.tg-profile-dark,html.tg-profile-dark body,html.tg-profile-dark uni-page-body{background:#0c0c10!important;color:#f4f3f7;color-scheme:dark}
html.tg-profile-dark uni-page-head{display:none!important}
.tg-profile-page{box-sizing:border-box!important;width:100%;max-width:620px;min-height:calc(100vh - 54px);margin:0 auto;padding:27px 20px 28px;background:#0c0c10;color:#f4f3f7;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.tg-profile-page *{box-sizing:border-box}.tg-profile-page uni-text{font:inherit}.tg-profile-page button{appearance:none;-webkit-appearance:none;font:inherit;letter-spacing:0;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;outline-offset:3px}.tg-profile-page button:after{border:0}.tg-profile-page button:focus-visible{outline:2px solid #f35b91}.tg-profile-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px}.tg-profile-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.5px;font-weight:750;margin:0}.tg-profile-settings{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #ffffff10;border-radius:50%;background:#19191f;padding:8px;margin:0}.tg-profile-settings .tg-profile-icon{width:21px;height:21px;opacity:.85}
.tg-profile-account{display:flex;align-items:center;gap:16px;min-height:112px;padding:20px;background:linear-gradient(115deg,#222127,#1b1b20);border:1px solid #ffffff08;border-radius:15px}.tg-profile-avatar{flex:none;width:66px!important;height:66px!important;overflow:hidden;border-radius:50%;background:#fff;border:2px solid #ffffff14}.tg-profile-identity{min-width:0;flex:1}.tg-profile-name{display:block!important;font-size:19px!important;line-height:1.4!important;font-weight:650!important;overflow-wrap:anywhere}.tg-profile-memberline{margin-top:7px;line-height:1.5}.tg-profile-badge{display:inline-block;font-size:11px;padding:2px 8px;border:1px solid #ffffff14;border-radius:5px;color:#b8b6c0;background:#ffffff04}.tg-profile-badge.is-vip{color:#ffb2cb;border-color:#f35b913d;background:#f35b9110}.tg-profile-expiry,.tg-profile-welcome{display:block!important;margin-top:5px;color:#97949f;font-size:11px!important;line-height:1.6!important}
.tg-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:19px 0 2px;margin-bottom:26px}.tg-profile-stat{text-align:center;position:relative;min-width:0}.tg-profile-stat+.tg-profile-stat:before{content:'';position:absolute;left:0;top:8px;height:25px;width:1px;background:#ffffff0e}.tg-profile-stat-value{display:block!important;font-size:22px!important;line-height:1.4!important;font-weight:600!important;overflow-wrap:anywhere;color:#f3f1f6;font-variant-numeric:tabular-nums}.tg-profile-stat-label{display:block!important;font-size:11px!important;margin-top:3px;color:#85828e}
.tg-profile-section{display:block;margin:0 0 22px}.tg-profile-section-title{font-size:12px;line-height:1.5;font-weight:500;letter-spacing:1px;color:#85828e;margin:0 0 10px 3px}.tg-profile-menu{display:block;overflow:hidden;background:#1b1b20;border:1px solid #ffffff06;border-radius:14px}.tg-profile-row{display:flex;position:relative;width:100%;align-items:center;gap:13px;min-height:61px;padding:15px 17px;text-align:left;line-height:1.5;border:0;border-radius:0;background:transparent;color:#e8e6ed;margin:0}.tg-profile-row+.tg-profile-row:before{content:'';position:absolute;left:55px;right:17px;top:0;height:1px;background:#ffffff09}.tg-profile-icon{display:block;flex:none;width:24px!important;height:24px!important}.tg-profile-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.tg-profile-row-label{display:block;font-size:15px!important;font-weight:450!important}.tg-profile-row-desc{display:block;color:#8e8a98;font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere}.tg-profile-chevron{color:#64606f;font-size:24px;font-weight:300;line-height:1;margin-left:3px}.tg-profile-row-tail{flex:none;font-size:11px!important;color:#f480a9;background:#f35b9112;border:1px solid #f35b9124;border-radius:6px;padding:3px 8px}.tg-profile-row:active{background:#ffffff06}.tg-profile-row.is-sign .tg-profile-row-label{color:#f36b9c}.tg-profile-row.is-logout{color:#ed778b}.tg-profile-row.is-logout .tg-profile-icon{opacity:.9}.tg-profile-footer{display:block!important;text-align:center;font-size:11px!important;letter-spacing:1.5px;color:#54505e;padding:0 0 12px}.tg-profile-measure{height:0;width:0;overflow:hidden}
html.tg-profile-dark #tg-bottom-nav{background:#16141e!important;color:#8e899a!important;border-top:1px solid #ffffff08!important;box-shadow:0 -8px 24px #00000020!important;height:calc(58px + env(safe-area-inset-bottom,0px))!important;min-height:58px!important;padding:0 8px env(safe-area-inset-bottom,0px)!important}
html.tg-profile-dark #tg-bottom-nav button{justify-content:center!important;height:58px!important;padding:7px 0 5px!important;gap:3px;background:transparent!important;font-size:11px!important}html.tg-profile-dark #tg-bottom-nav .is-active{color:#f45e96!important}html.tg-profile-dark #tg-bottom-nav .tg-bottom-vip{color:#8e899a!important}html.tg-profile-dark #tg-bottom-nav button:disabled{opacity:.55}html.tg-profile-dark #tg-bottom-nav svg{width:22px;height:22px}html.tg-profile-dark.tg-bottom-active uni-page-body{padding-bottom:calc(58px + env(safe-area-inset-bottom,0px))!important}html.tg-profile-dark{scroll-padding-bottom:calc(58px + env(safe-area-inset-bottom,0px))!important}
@media(min-width:760px){.tg-profile-page{padding:38px 32px 32px}.tg-profile-heading{margin-bottom:26px}.tg-profile-account{padding:24px}.tg-profile-row{min-height:66px}html.tg-profile-dark #tg-bottom-nav{max-width:620px;margin-left:auto!important;margin-right:auto!important;left:0!important;right:0!important}}
@media(max-width:350px){.tg-profile-page{padding-left:14px;padding-right:14px}.tg-profile-account{padding:16px;gap:12px}.tg-profile-avatar{width:57px!important;height:57px!important}.tg-profile-name{font-size:17px!important}.tg-profile-row{padding-left:14px;padding-right:14px;gap:10px}.tg-profile-row-tail{padding:3px 5px}}

/* Disabled wallet and purchase entries preserve their appearance. */
.tg-profile-page button.tg-profile-row:disabled{opacity:1;cursor:default;color:#e8e6ed;-webkit-text-fill-color:currentColor}
.tg-profile-page button.tg-profile-row:disabled:active{background:transparent}
