/* V16.29.3 – Luxury Fantasy personal profile; scoped under .tg293-shell only.
   Does not change the login/signup screens or backend permissions. */
.tg293-shell{--tg293-gold:#ebc478;--tg293-muted:#c0c1c6;--tg293-border:rgba(224,176,93,.4);--tg293-panel:#121a26;min-width:0}
.tg293-shell .member-wrap{display:block!important;grid-template-columns:none!important;max-width:1370px!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:8px auto 30px!important;overflow:visible!important}
.tg293-shell .member-art{display:none!important}
.tg293-shell .member-panel{padding:0!important;min-width:0;max-width:none!important;align-self:auto!important}
.tg293-shell .member-account-v293{max-width:none!important;width:100%;margin:0 auto;text-align:left;color:#f3e5c8}
.tg293-shell .member-account-v293 h2,.tg293-shell .member-account-v293 h3{color:#f5d99c;font-family:Georgia,'Times New Roman',serif;line-height:1.3}
.tg293-shell .member-account-v293 .member-subtitle{color:#ded0b5;font-size:13px;margin:8px 0 12px}
.tg293-hero{border:1px solid var(--tg293-border);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#121a29,#0e121b);box-shadow:0 18px 52px #0008}
.tg293-banner{height:clamp(140px,19vw,225px);position:relative;background:linear-gradient(0deg,#111923 0%,rgba(12,18,27,.09) 76%),url('/admin-banner-v1611.webp') center 46%/cover no-repeat,linear-gradient(95deg,#202d42,#0a111d)}
.tg293-banner::after{content:'';position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,transparent,#efd18d 32%,#ce9a45 65%,transparent)}
.tg293-banner-caption{position:absolute;top:16px;left:24px;color:#ffdc9c;font:700 11px Georgia,serif;letter-spacing:.15em;text-shadow:0 2px 6px #000}
.tg293-person{display:grid;grid-template-columns:170px minmax(0,1fr) 210px;gap:24px;padding:0 30px 24px;align-items:center}
.tg293-avatar-zone{align-self:start;display:flex;align-items:center;justify-content:center;min-height:125px;margin-top:-59px;position:relative;z-index:2}
.tg293-avatar-zone>.member-avatar,.tg293-avatar-zone>.tgvip-avatar-wrap{flex:none}
.tg293-avatar-zone .member-avatar{width:128px!important;height:128px!important;display:grid;place-items:center;overflow:hidden;border:3px solid #e7bd73!important;border-radius:50%;box-shadow:0 0 0 7px #39291b,0 0 30px #f4c56e50!important;background:linear-gradient(145deg,#bc9458,#172139)!important}
.tg293-avatar-zone .member-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.tg293-avatar-zone .tgvip-avatar-wrap{width:150px!important;min-height:144px;max-width:160px;margin:0!important;display:grid;place-items:center;position:relative}
.tg293-avatar-zone .tgvip-avatar-wrap>.member-avatar{width:123px!important;height:123px!important;margin:0!important}
.tg293-avatar-zone .tgvip-avatar-medallion{bottom:0;z-index:2}
.tg293-identity{min-width:0;padding-top:17px}
.tg293-kicker{color:#cda75b;letter-spacing:.16em;font-size:11px;font-weight:700}
.tg293-identity h2{font-size:clamp(23px,2.7vw,35px)!important;margin:5px 0!important;overflow-wrap:anywhere}
.tg293-vip-chip{display:inline-block;background:#362a1e;border:1px solid #d6a857;border-radius:999px;color:#ffdda0;padding:6px 14px;font-weight:700;font-size:13px}
.tg293-exp{max-width:460px;margin-top:10px}
.tg293-exp-line{display:flex;justify-content:space-between;gap:10px;color:#d4c7ad;font-size:12px}
.tg293-exp-line strong{color:#ffe0a5;font-variant-numeric:tabular-nums}
.tg293-exp-track{height:8px;background:#343b4b;border-radius:100px;overflow:hidden;margin-top:6px;border:1px solid #60543d}
.tg293-exp-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#9a6b29,#f8d47b);border-radius:100px;transition:width .28s ease}
.tg293-exp small{display:block;margin-top:5px;color:#aeb9c6;font-size:11px}
.tg293-hero-actions{display:grid;gap:9px;padding-top:15px}
.tg293-hero-actions .simple-btn,.tg293-hero-actions .gold-btn{width:100%;min-height:42px;margin:0;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;text-decoration:none;border-radius:11px;white-space:normal}
.tg293-tabs{display:flex!important;gap:7px;padding:7px;margin:18px 0;background:linear-gradient(135deg,#111927,#192130);border:1px solid var(--tg293-border);border-radius:16px;overflow-x:auto;scrollbar-width:thin}
.tg293-tabs button{flex:1 0 auto;min-width:120px;min-height:45px;border:1px solid transparent;border-radius:11px;background:transparent;color:#f0dfbe;font-family:Georgia,serif;font-weight:700;font-size:14px;padding:9px 14px;cursor:pointer;transition:background .15s ease, color .15s ease}
.tg293-tabs button:hover{background:#2b3442}
.tg293-tabs button[aria-selected=true]{background:linear-gradient(130deg,#ffe19a,#bd8535);color:#19130c;border-color:#f5d17f;box-shadow:0 3px 16px #c68c3650}
.tg293-tabs button:focus-visible,.tg293-shell a:focus-visible,.tg293-shell button:focus-visible{outline:3px solid #ffe49a;outline-offset:2px}
.tg293-body{min-height:210px}
.tg293-tab-panel[hidden]{display:none!important}
.tg293-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tg293-card{padding:18px 20px;min-width:0;border:1px solid var(--tg293-border);border-radius:16px;background:radial-gradient(circle at 100% 0%,rgba(202,155,70,.09),transparent 55%),linear-gradient(145deg,#171c2a,#101723);box-shadow:0 12px 29px #05080e59}
.tg293-card header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d3a8613f;padding-bottom:11px;margin-bottom:12px}
.tg293-card h3{font-size:clamp(17px,1.65vw,21px);margin:0}
.tg293-card header a,.tg293-card header button{background:none;border:0;padding:7px 0;color:#e8c47e;text-decoration:none;cursor:pointer;font-size:12px;font-weight:700}
.tg293-card p{font-size:13px;line-height:1.7;color:#d3c9b4}
.tg293-card .simple-btn{display:inline-flex;text-decoration:none;margin-top:6px}
.tg293-book-card{display:flex;align-items:center;gap:12px;padding:9px 0;min-width:0;border-bottom:1px solid #ffffff16}
.tg293-book-card:last-child{border-bottom:0}
.tg293-book-cover{display:grid;place-items:center;flex:none;width:55px;height:78px;border-radius:8px;overflow:hidden;background:#263044;border:1px solid #ab844f;color:#e0b466;font-size:24px}
.tg293-book-cover img{width:100%;height:100%;object-fit:cover}
.tg293-book-card>div{display:grid;gap:6px;min-width:0}
.tg293-book-name{font-weight:700;color:#ffe4ad;text-decoration:none;line-height:1.4;font-size:14px;overflow-wrap:anywhere}
.tg293-book-card small{color:#b4c0d1;font-size:11px}
.tg293-book-read{color:#f1cb83;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.tg293-empty{color:#c5bdac;font-size:13px;line-height:1.6}
.tg293-empty a{color:#e9c27a}
.tg293-achievements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.tg293-achievement{border:1px solid #a47d4359;padding:10px 6px;min-height:99px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;background:#ffffff08}
.tg293-achievement span{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#6f4c236e;box-shadow:0 0 0 1px #b59258;color:#f8d58e;font-size:26px}
.tg293-achievement strong{font-size:11px;color:#ead5b1;font-weight:700;overflow-wrap:anywhere}
.tg293-sub-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.tg293-sub-actions .simple-btn,.tg293-sub-actions .gold-btn{margin:0;text-decoration:none;min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.tg293-logout{justify-content:flex-end;margin:18px 0 0!important}
.tg293-shell .tg85-profile-badge{margin:5px 0 8px}
.tg293-shell .tgvip-guide.tg88-guide{display:none!important} /* Gallery remains accessible via #missions */
.tg293-shell .tg96-profile{margin:16px 0 0;padding:14px;border:1px solid #a8844d5e;border-radius:14px;background:#101a27}
.tg293-shell .tg96-profile h3{font-size:17px}
.tg293-shell .tg293-edit{max-width:840px!important;background:linear-gradient(145deg,#161f2d,#0d1521);padding:clamp(20px,4vw,38px);border:1px solid var(--tg293-border);border-radius:20px;box-shadow:0 20px 56px #0007}
.tg293-edit .member-back-button{margin-bottom:16px!important}
.tg293-edit .member-profile-field{margin:14px 0}
.tg293-edit .member-form{max-width:100%;margin-top:14px}
.tg293-edit .member-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;text-align:left}
.tg293-edit .member-profile-form>label,.tg293-edit .member-profile-form>#tg90-crop,.tg293-edit .member-profile-form>.member-small,.tg293-edit .member-profile-form>.member-feedback{min-width:0;grid-column:1/-1}
.tg293-edit .member-profile-form>label:first-child,.tg293-edit .member-profile-form>label:nth-child(2){grid-column:span 1}
.tg293-edit .member-profile-form input,.tg293-edit .member-profile-form textarea{width:100%;max-width:100%}
.tg293-edit .member-profile-form>button{grid-column:span 1;width:100%;margin:0}
.tg293-shell .member-account-v293 .member-avatar{margin-left:auto;margin-right:auto}
@media(max-width:1000px){.tg293-person{grid-template-columns:140px minmax(0,1fr);gap:18px}.tg293-hero-actions{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:0}.tg293-hero-actions .simple-btn,.tg293-hero-actions .gold-btn{min-height:44px}.tg293-identity{padding-top:10px}}
@media(max-width:700px){.tg293-shell .member-wrap{margin:0 auto 25px!important}.tg293-hero{border-radius:16px}.tg293-banner{height:154px;background-position:center center}.tg293-banner-caption{font-size:9px;left:12px;top:12px}.tg293-person{display:flex;align-items:center;flex-direction:column;gap:8px;padding:0 13px 18px;text-align:center}.tg293-avatar-zone{margin-top:-74px;min-height:132px}.tg293-avatar-zone .tgvip-avatar-wrap{width:145px}.tg293-identity{padding:0 5px;width:100%}.tg293-identity h2{font-size:27px!important}.tg293-exp{margin:13px auto 0;max-width:440px}.tg293-exp-line{text-align:left}.tg293-hero-actions{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:9px 0 0}.tg293-hero-actions .gold-btn,.tg293-hero-actions .simple-btn{font-size:11px;min-height:43px;padding:8px 5px}.tg293-tabs{margin:12px 0;gap:4px;padding:5px}.tg293-tabs button{font-size:12px;min-width:100px;padding:9px}.tg293-overview-grid{grid-template-columns:1fr;gap:12px}.tg293-card{padding:15px 13px}.tg293-shell .tg293-edit{padding:19px 13px}.tg293-edit .member-profile-form{grid-template-columns:1fr}.tg293-edit .member-profile-form>label:first-child,.tg293-edit .member-profile-form>label:nth-child(2){grid-column:1/-1}.tg293-sub-actions{gap:7px}.tg293-sub-actions .simple-btn{font-size:12px;padding:9px}.tg293-logout{justify-content:center}}
@media(max-width:380px){.tg293-hero-actions{grid-template-columns:1fr 1fr}.tg293-hero-actions a:last-child{grid-column:1/-1}.tg293-tabs button{min-width:105px}.tg293-achievements{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tg293-shell *{transition:none!important;animation:none!important}}

.tg293-shell .tg293-legacy-anchor{display:none!important}
