:root{--bg:#f1efeb;--ink:#171b22;--muted:#737986;--line:#e5e1da;--accent:#986026;--soft:#fff0dc;--atlas:url('assets/gravity-atlas.png')}body{background:radial-gradient(ellipse at 53% 10%,#fffbf5 0,#f2f0ed 52%,#ecebe7 100%)}.layout{grid-template-columns:224px minmax(0,1fr)}.sidebar{background:linear-gradient(156deg,#0e1012 0%,#17191b 65%,#34312d 100%);border:0;padding:28px 15px;color:white;overflow:hidden;z-index:1}.logo{font-size:25px;gap:10px;letter-spacing:1px;padding-left:7px}.brandmark{border:0;background:radial-gradient(circle at 25% 25%,#fffdf3,#ffe8bd 70%,#e6c192);width:35px;height:35px;position:relative;font-size:0;transform:none}.brandmark:before{content:'';position:absolute;inset:9px -11px;border:1.5px solid #ecc486;border-radius:50%;transform:rotate(-28deg)}.brand-sub{color:#eee;font-size:9px;letter-spacing:2px;padding:2px 0 30px 55px}nav{gap:10px}nav button{color:#e9e8e5;font-size:16px;border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:14px;border-left:2px solid transparent}nav button span{font-size:23px;width:22px;height:24px;display:grid;place-items:center}nav button.active{background:linear-gradient(100deg,#ffffff1f,#ffffff0a);border-left-color:#f8ca8a;color:#fff;box-shadow:-5px 0 12px -8px #fbd3a2}nav button.active:after{content:'›';margin-left:auto;color:#a3a3a3;font-size:22px}.side-bottom{position:relative;z-index:1;margin-top:auto;padding:30px 14px 12px;color:#f0e4d3}.side-bottom:before{content:'';position:absolute;width:230px;height:100px;left:-20px;top:-118px;border:1px solid #c7904a77;border-radius:50%;transform:rotate(-28deg);z-index:-1}.side-bottom:after{content:'';width:55px;height:55px;position:absolute;top:-95px;left:81px;border-radius:50%;background:radial-gradient(circle at 30% 23%,#989185 0,#272a2b 22%,#020508 66%,#ad7c39 100%);box-shadow:4px 4px 25px #b18b5833}.side-bottom p:first-child{font-size:19px;letter-spacing:2px;max-width:160px;line-height:1.9}.side-bottom p:nth-child(2){color:#b8b0a3}.side-bottom .textbtn{color:#d8b37c;font-size:10px;margin-top:10px}.topbar{height:72px;padding:0 30px;background:#fafaf87a;backdrop-filter:blur(15px);border-color:#e8e5df}.crumb{display:none}.top-actions{width:100%;gap:22px}.search{width:min(480px,58%);background:#e8e8e6a8;border:0;padding:10px 20px;font-size:13px}.notification{margin-left:auto;width:34px;height:34px;border:0;border-radius:0;font-size:22px}.account{border-left:1px solid #d4d1cb;padding-left:18px;font-weight:600;gap:12px}.account small{font-size:11px;font-weight:400;color:#333c45}.account .avatar.mini{width:42px;height:42px;border-radius:50%;border:1px solid white;background-color:#eae3d6}.page{max-width:1600px;padding:18px 20px 24px 18px}.page.profile-view{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:'hero assets' 'profile assets' 'feed assets' 'footer footer';gap:14px;align-items:start}.profile-view>.heading{grid-area:hero;height:224px;margin:0;align-items:start;position:relative;padding:20px 29px;background:radial-gradient(ellipse at 71% 43%,#fde9cf80,transparent 57%);overflow:hidden}.heading h1{font-size:30px;font-weight:600}.profile-view .heading h1{font-size:53px;letter-spacing:-2px;margin:0;line-height:1.25}.profile-view .heading .eyebrow{font-size:11px;color:#262c34;letter-spacing:5px;position:absolute;top:91px;left:33px}.profile-view .heading p{margin-top:28px;font-size:19px;font-weight:500;color:#151c24;letter-spacing:3px}.hero-line{display:block;width:33px;border-bottom:2px solid #20242b;margin-top:17px}.profile-view .heading>.btn{position:absolute;bottom:12px;right:18px;font-size:10px;background:#fffcf6ab;border-color:#eadcca;z-index:2;padding:5px 10px}.hero-art{position:absolute;right:5px;top:0;width:47%;height:100%;pointer-events:none}.hero-art .planet{position:absolute;width:103px;height:103px;border-radius:50%;top:49px;left:37%;background:radial-gradient(circle at 29% 20%,#8f7c68,#3b342c 22%,#0e1318 58%,#17181a 75%,#cc9b56 96%,#fff4d4);box-shadow:0 0 21px #ffcf9766,inset 2px 2px 5px #fff7da66}.hero-art .orbit{position:absolute;width:280px;height:88px;border:1px solid #d99d536b;border-bottom-color:#f5bd72;border-radius:50%;transform:rotate(-22deg);top:57px;left:5%}.hero-art .orbit.two{transform:rotate(27deg);top:89px;width:260px;left:7%;border-color:#e2ae6655}.moon{position:absolute;top:28px;left:15%;width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 29% 20%,#bea486,#343333 35%,#0b0c0f 69%,#b9853b);box-shadow:0 0 8px #e8b56d55}.moon.small{width:18px;height:18px;top:146px;left:79%}.hero-spark{position:absolute;top:61px;right:19px;color:#d4a362;font-size:12px}.hero-art .tooth-orbit{position:absolute;right:4%;bottom:4px;width:81px;height:81px;opacity:.9}.profile-view>.profile{grid-area:profile}.profile{padding:22px 24px;gap:21px;min-height:187px;border:0;background:#fffffff0;box-shadow:0 8px 25px #5c514705;border-radius:15px;overflow:visible;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start}.profile:after{display:none}.profile>.avatar{width:112px;height:112px;margin-top:-33px;border:3px solid #fff;border-radius:50%;background-color:#e8d8c0;box-shadow:0 3px 12px #72542518}.avatar{background:var(--atlas);background-size:400% 200%;background-position:0% 0%;border-radius:0;box-shadow:none;position:relative;display:inline-block;aspect-ratio:1}.avatar:before,.avatar:after{display:none}.avatar[data-skin='原生体']{background-position:0% 0%}.avatar[data-skin='深空体']{background-position:33.3333% 0%}.avatar[data-skin='琉璃体']{background-position:66.6667% 0%}.avatar[data-skin='自然体']{background-position:100% 0%}.identity h2{font-size:25px;font-weight:650;margin:0 0 8px;line-height:1.35}.identity h2 .pill{padding:4px 10px;color:#8c5928;background:#f7e8d0;font-size:12px;vertical-align:middle;margin-left:5px}.number{background:linear-gradient(120deg,#585554,#242b31);border:1px solid #d7a56488;color:#fff5dd;border-radius:6px;padding:3px 9px;font-size:12px;box-shadow:0 0 7px #d9a05822;white-space:nowrap}.identity p{margin:10px 0 6px;font-size:12px;color:#565e67}.identity>.small{font-size:11px}.stats{position:absolute;right:24px;top:27px;gap:19px;margin:0}.stats b{font-size:19px;font-weight:650}.stats small{font-size:10px}.identity{padding-right:220px}.profile-actions{grid-column:1/-1;display:flex;position:absolute;right:22px;bottom:19px;gap:8px}.profile-actions .btn{font-size:10px;padding:5px 9px}.columns{gap:14px;margin-top:14px}.profile-view>.columns{display:contents}.profile-view>.columns>section{grid-area:feed}.profile-view>.columns>.right{grid-area:assets;display:grid;gap:13px;align-content:start}.card{border:0;border-radius:15px;background:#fffdfbf2;padding:19px 18px;box-shadow:0 7px 25px #5c514704}.card h3{font-size:16px;font-weight:650;margin-bottom:13px}.textbtn{color:#5f6571;font-size:11px}.title-display{display:flex;gap:16px;align-items:center;background:linear-gradient(125deg,#fff0d7,#f4cc8c80);border:1px solid #efd4aa;border-radius:10px;padding:14px;margin-top:3px}.title-display .title-icon{width:51px;height:51px;background:var(--atlas) 33.3333% 100% / 400% 200%;display:block;flex:none}.title-display strong{font-size:22px;color:#28251f}.title-display p{font-size:10px;color:#7e6649;margin:3px 0 0;line-height:1.5}.badge-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 5px}.badge{font-size:10px;white-space:normal;line-height:1.5;padding:0}.badge i{border:0;border-radius:0;background:var(--atlas);background-size:400% 200%;background-position:0% 100%;width:69px;height:69px;margin:0 auto 4px;font-size:0}.badge i[data-art='1']{background-position:33.3333% 100%}.badge i[data-art='2']{background-position:66.6667% 100%}.badge i[data-art='3']{background-position:100% 100%}.badge strong{display:block;font-size:11px;font-weight:600}.badge small{font-size:9px;color:#83848b}.badge.locked i{filter:grayscale(1);opacity:.4}.badge.locked{color:#8b8e95}.skin-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.skin-tile{padding:0;font-size:10px;text-align:center;line-height:1.6}.skin-tile .avatar{width:100%;height:auto}.skin-tile strong{font-size:10px;display:block}.skin-tile small{font-size:9px;display:block;color:#828590}.skin-tile small.equipped{color:#2477d1;background:#e5f0ff;border-radius:4px;display:inline-block;padding:0 5px}.trajectory{display:flex;border:0;padding:0;margin:12px 0 0;gap:5px;position:relative}.trajectory:before{content:'';position:absolute;top:8px;left:14px;right:18px;height:1px;background:linear-gradient(90deg,#ddae65,#e5be82,#b5b3b0)}.event{flex:1;position:relative;padding-top:27px;font-size:10px;margin:0;text-align:center;line-height:1.6}.event:before{left:calc(50% - 7px);top:0;width:14px;height:14px;background:#e1b274;border:2px solid #fff;box-shadow:0 0 0 1px #d4ae79}.event:first-child:before{background:radial-gradient(circle at 30% 20%,#bbb09e,#080d12 70%,#dcad63)}.event small{font-size:9px;margin-top:5px}.tabs{gap:24px}.tabs button{font-size:12px;padding-bottom:11px}.tabs button.selected{color:#1266cf;border-bottom-color:#2580ec}.feedTitle{margin-bottom:13px}.feedTitle h3{font-size:14px}.post{padding:17px 0 16px}.post h3{font-size:15px;font-weight:550;margin:6px 0}.post p{font-size:11px;margin-bottom:9px;max-width:94%;line-height:1.7}.postmeta{font-size:9px}.pill{font-size:10px;background:#e8f0ff;color:#3478c8}.post:nth-of-type(2) .pill{background:#e4f3ef;color:#138d79}.post:nth-of-type(3) .pill{background:#fff0de;color:#b77622}.post:nth-of-type(4) .pill{background:#efe9fc;color:#8453c7}.postfoot{font-size:10px}.postfoot button{font-size:10px}.postfoot .date{font-size:9px}.hint{font-size:10px}.banner{grid-area:footer;padding-top:2px;font-size:9px;color:#85868b}.profile-view .right>.textbtn{font-size:10px}.btn{border-color:#ddd6cc}.btn.primary{background:#2b3037;border-color:#2b3037}.modalhead h2{font-size:20px}dialog{background:#fffdfa}.choices{grid-template-columns:repeat(4,1fr)}.choice{padding:12px 3px}.choice .avatar{width:74px;height:74px;margin:0}.choice small{font-size:10px}.choice.active{border-color:#d1a66a;background:#fff1dc}.mini-label{font-size:10px;color:#8d806f;letter-spacing:2px;margin-top:8px}.heading:not(.reference-hero) .hero-art{display:none}#cursor-orb{width:14px;height:14px;background:radial-gradient(circle at 30% 22%,#99928a,#16202b 30%,#040a0d 65%,#db9c50 96%);box-shadow:0 0 7px #e5b26855}#cursor-orb:before{border-color:#cda66b99}
@media(min-width:1500px){.page.profile-view{grid-template-columns:minmax(0,1fr) 355px}.profile-view>.heading{height:231px}.profile{min-height:184px}.profile-view .heading h1{font-size:59px}.profile-view .heading .eyebrow{top:101px}.hero-art{right:20px}.hero-art .planet{width:120px;height:120px}.hero-art .orbit{width:320px;height:100px}.stats{gap:25px}.sidebar{padding-top:30px}.badge i{width:78px;height:78px}.card{padding:20px}.profile-view .heading p{margin-top:33px}.profile>.avatar{width:125px;height:125px}.profile{grid-template-columns:125px minmax(0,1fr)}}
@media(max-width:1250px){.layout{grid-template-columns:195px 1fr}.page.profile-view{grid-template-columns:minmax(0,1fr) 280px}.sidebar{padding:27px 11px}.logo{font-size:22px}.brand-sub{font-size:8px;padding-left:49px}nav button{font-size:14px;padding:12px;gap:10px}.profile-view .heading h1{font-size:43px}.profile-view .heading .eyebrow{top:82px;font-size:9px}.profile-view .heading p{font-size:15px;letter-spacing:2px}.hero-art .planet{width:83px;height:83px;left:30%;top:60px}.hero-art .orbit{width:210px;height:72px;top:68px;left:0}.hero-art .orbit.two{width:210px;left:-5%;top:87px}.hero-art .tooth-orbit{width:63px;height:63px;right:0;bottom:29px}.profile{grid-template-columns:86px 1fr;min-height:230px;padding:20px;gap:15px}.profile>.avatar{width:86px;height:86px;margin-top:-27px}.identity{padding-right:0}.identity h2{font-size:22px}.stats{position:static;margin-top:14px;gap:23px}.profile-actions{bottom:14px;right:18px}.tabs{gap:17px}.badge i{width:61px;height:61px}.title-display strong{font-size:20px}.profile-view>.heading{height:213px}}
@media(max-width:1000px){.page.profile-view{grid-template-columns:minmax(0,1fr) 250px}.hero-art{opacity:.55;right:-18px;width:45%}.profile-view .heading h1{font-size:38px}.profile-view .heading .eyebrow{top:73px}.profile-view .heading p{font-size:13px}.badge i{width:55px;height:55px}.card{padding:17px 14px}.title-display{padding:11px;gap:8px}.title-display strong{font-size:17px}.title-display .title-icon{width:42px;height:42px}.skin-tile strong{font-size:9px}.stats{gap:18px}.profile{grid-template-columns:75px 1fr}.profile>.avatar{width:75px;height:75px}.profile-view .heading{padding:20px}.profile-view .heading .eyebrow{left:23px}.trajectory{gap:3px}.tabs{gap:15px}.page{padding:16px}.post h3{font-size:14px}}
@media(max-width:850px){.layout{grid-template-columns:170px minmax(0,1fr)}.logo{font-size:19px;gap:9px}.brandmark{width:27px;height:27px}.brand-sub{padding-left:44px;font-size:7px;letter-spacing:1.5px}nav button{font-size:13px;padding:12px 9px;gap:8px}nav button span{font-size:20px}.page.profile-view{grid-template-columns:1fr;grid-template-areas:'hero' 'profile' 'feed' 'assets' 'footer'}.profile-view>.columns>.right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hero-art{width:43%;opacity:1;right:10px}.profile-view .heading h1{font-size:47px}.profile-view .heading .eyebrow{top:86px}.profile-view .heading p{font-size:16px}.profile-view>.heading{height:213px}.profile{grid-template-columns:100px 1fr;min-height:200px}.profile>.avatar{width:100px;height:100px}.stats{gap:25px}.card{padding:18px}.topbar{padding:0 18px}.account{padding-left:10px;gap:7px;font-size:12px}.search{width:60%}.side-bottom p:first-child{font-size:16px}.badge i{width:60px;height:60px}}
@media(max-width:650px){.layout{display:block}.sidebar{height:auto;position:static;padding:15px 15px 0;overflow:visible;background:#131619}.logo{font-size:23px;gap:12px}.brandmark{width:29px;height:29px}.brand-sub,.side-bottom{display:none}nav{display:flex;gap:2px;margin-top:15px;overflow:auto;padding-bottom:0}nav button{display:block;border-left:0;font-size:11px;padding:10px 9px;white-space:nowrap;border-radius:6px 6px 0 0}nav button span,nav button.active:after{display:none}nav button.active{border-bottom:2px solid #e7bc7c;background:#ffffff17;box-shadow:none}.topbar{height:63px;padding:0 15px}.top-actions{gap:9px}.account{gap:7px;font-size:11px;padding-left:8px;flex:none}.account .avatar.mini{width:35px;height:35px}.account small{font-size:9px}.search{width:43%;font-size:11px;padding:9px 11px}.notification{font-size:20px;width:25px;padding:0}.page{padding:12px}.page.profile-view{gap:12px}.profile-view>.heading{height:183px;padding:17px 10px}.profile-view .heading h1{font-size:39px;letter-spacing:-1px;line-height:1.3}.profile-view .heading .eyebrow{font-size:8px;letter-spacing:3px;top:71px;left:13px}.profile-view .heading p{font-size:13px;letter-spacing:1px;margin-top:25px}.profile-view .heading>.btn{font-size:8px;right:8px;bottom:8px;padding:4px 7px}.hero-art{right:-13px;width:44%;opacity:.9}.hero-art .planet{width:69px;height:69px;top:48px;left:34%}.hero-art .orbit{width:159px;height:48px;top:56px;left:0}.hero-art .orbit.two{width:161px;height:44px;top:68px;left:-5%}.hero-art .moon{width:23px;height:23px;top:32px;left:7%}.hero-art .moon.small{width:13px;height:13px;top:122px;left:76%}.hero-art .tooth-orbit{width:50px;height:50px;bottom:3px;right:12px;opacity:.7}.hero-spark{font-size:9px;right:10px;top:35px}.hero-line{margin-top:13px;width:24px}.profile{display:grid;grid-template-columns:77px 1fr;gap:13px;padding:20px 16px;min-height:226px}.profile>.avatar{width:77px;height:77px;margin-top:-28px;border-width:2px}.identity h2{font-size:21px}.identity h2 .pill{font-size:10px;padding:3px 7px}.identity p{font-size:11px;line-height:1.65}.identity>.small{font-size:10px}.stats{gap:20px;margin-top:11px}.stats b{font-size:18px}.stats small{font-size:9px}.number{font-size:10px}.number span{font-size:8px!important}.profile-actions{grid-column:1/-1;width:auto;right:14px;bottom:12px;gap:7px}.profile-actions .btn{padding:5px 8px;font-size:9px}.profile-view>.columns>.right{grid-template-columns:1fr}.card{padding:18px 16px}.tabs{gap:17px}.tabs button{font-size:11px}.post{padding:17px 0}.post h3{font-size:14px}.post p{font-size:11px}.badge-list{grid-template-columns:repeat(3,1fr);gap:20px 8px}.badge i{width:78px;height:78px}.badge strong{font-size:12px}.badge small{font-size:10px}.skin-tile .avatar{max-width:78px}.skin-tile strong{font-size:11px}.skin-tile small{font-size:10px}.trajectory{margin-top:16px}.event{font-size:11px}.event small{font-size:10px}.choices{gap:5px}.choice .avatar{width:59px;height:59px}.choice{padding:12px 2px}.choice>div{font-size:11px}.choice small{font-size:9px}.heading:not(.reference-hero) h1{font-size:26px}.heading .btn{font-size:9px;padding:6px 8px}.banner{font-size:8px}.account .avatar{box-shadow:none}.postfoot .date{margin-left:auto}}
/* The hero uses the same native-body asset as account identity. */
.hero-art .tooth-orbit .avatar{width:100%;height:100%}.postfoot button[aria-pressed=true]{color:#b27323}.postfoot button:hover,.textbtn:hover{text-decoration:underline}.skin-tile:focus-visible{outline-offset:1px}.badge-list .locked:hover{opacity:.8}.notification svg{width:24px;height:24px}.nav-icon svg{width:24px;height:24px;display:block;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.search::placeholder{color:#7d8289}.profile-view .heading h1,.profile-view .heading p{position:relative;z-index:1}.profile-view .heading>.btn:hover{background:white}
.profile-view>.heading.reference-hero{background-image:url('assets/gravity-hero.png');background-size:cover;background-position:center;border-radius:12px}.reference-hero>.hero-art{display:none}.profile-view .heading>.btn{right:10px;bottom:9px}.identity h2{overflow-wrap:anywhere}.side-bottom p:first-child{max-width:none;font-size:18px}.profile-actions{background:transparent}
@media(max-width:650px){.profile{min-height:251px}.profile-view>.heading.reference-hero{background-size:auto 100%;background-position:48% center}.profile-view .heading h1{font-size:37px}.profile-view .heading p{font-size:12px}.profile-actions{bottom:13px}.identity{min-width:0}.stats{gap:19px}}
.post{position:relative;padding-right:96px;min-height:117px}.post-thumb{position:absolute;right:0;top:24px;width:78px;height:67px;border-radius:8px;background:linear-gradient(145deg,#e4e7e7,#b8c4c9);padding:6px;color:#566c7b;overflow:hidden}.post-thumb svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.post-thumb small{position:absolute;right:3px;bottom:2px;background:#ffffff9c;border-radius:2px;padding:0 3px;font-size:7px;color:#536575}.post:nth-of-type(2) .post-thumb{background:linear-gradient(145deg,#e9dfcc,#d4c4a8);color:#9e8865}.post:nth-of-type(3) .post-thumb{background:linear-gradient(145deg,#e4dcd4,#bdc2bf);color:#74716b}.post-thumb.journal-thumb{background:url('assets/gravity-hero.png') 80% center / auto 100%}.post:nth-of-type(5) .post-thumb{background:linear-gradient(145deg,#dfdbd2,#c8c7b4);color:#848778}.postfoot .date{margin-left:auto}.post p{max-width:100%}.post-thumb:hover{filter:brightness(1.03)}
@media(max-width:650px){.post{padding-right:81px;min-height:125px}.post-thumb{width:67px;height:60px;top:27px}.postfoot{gap:12px;flex-wrap:wrap}.postfoot .date{margin-left:0;color:#92959b}.profile-view .heading h1{font-size:38px}}

/* Exact logo geometry and colors from the existing main-site source. */
.gravity-mark{position:relative;display:block;width:52px;height:52px;flex-shrink:0;isolation:isolate}.gravity-core{position:absolute;inset:13px;border-radius:50%;background:#03050c;box-shadow:0 0 0 1px #c2b1ffb3,0 0 8px 3px #8b79ee55,0 0 21px #4987c744;z-index:2}.gravity-orbit{position:absolute;inset:4px;border:1px solid #80bbf57d;border-radius:50%;transform:rotate(-28deg) scaleY(.43);z-index:3}.gravity-orbit:after{content:'';position:absolute;inset:-2px;border-radius:50%;border-top:2px solid #d4dfff;filter:drop-shadow(0 0 3px #90b6ff)}.gravity-orbit i{position:absolute;inset:-1px;border-radius:50%;animation:gravity-turn 12s linear infinite}.gravity-orbit i:before{content:'';position:absolute;top:2px;left:6px;width:5px;height:5px;border-radius:50%;background:#f2f8ff;box-shadow:0 0 7px 2px #93c6ff}.orbit-two{inset:0;transform:rotate(48deg) scaleY(.54);opacity:.5;z-index:1;border-color:#a698ea66}.orbit-two:after{border-top-width:1px}.orbit-two i{animation-duration:19s;animation-direction:reverse}.orbit-two i:before{width:3px;height:3px;background:#c2b4fc}.gravity-star{position:absolute;top:3px;right:5px;width:3px;height:3px;background:#d5e8ff;border-radius:50%;box-shadow:-43px 35px 0 -1px #9caed4,3px 36px 0 -1px #c4b5fd;animation:gravity-shimmer 4s ease-in-out infinite}@keyframes gravity-turn{to{transform:rotate(360deg)}}@keyframes gravity-shimmer{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.gravity-mark *{animation:none!important}}
.brand-sub{padding-left:69px;letter-spacing:2.8px;font-size:8px}.logo{font-size:23px;letter-spacing:1.5px;gap:10px}.logo .gravity-mark{width:52px;height:52px}.logo .gravity-mark *{pointer-events:none}
@media(max-width:850px){.logo{font-size:19px;gap:8px}.logo .gravity-mark{width:43px;height:43px}.brand-sub{padding-left:58px;font-size:7px;letter-spacing:1.5px}}
@media(max-width:650px){.logo{font-size:23px;gap:10px}.logo .gravity-mark{width:43px;height:43px}}
/* Audit repair: grid children may shrink on small phones instead of using min-content width. */
.profile,.card,.right{min-width:0}.account>span:last-child{min-width:0;max-width:125px}.account .user-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:850px){.page.profile-view{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.profile{grid-template-columns:77px minmax(0,1fr)}.stats{gap:12px;flex-wrap:wrap}.account>span:last-child{max-width:70px}.title-display>div{min-width:0}.post h3{overflow-wrap:anywhere}}
@media(max-width:350px){.profile{grid-template-columns:64px minmax(0,1fr);padding-left:14px;padding-right:14px}.profile>.avatar{width:64px;height:64px}.identity h2{font-size:19px}.profile-view .heading h1{font-size:33px}.search{min-width:0;flex:1}.choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
.topbar{position:relative;z-index:5}.account-chevron{font-size:15px;color:#657078;padding-left:3px}.account-panel{position:absolute;right:25px;top:calc(100% - 3px);width:290px;background:#fffefa;border:1px solid #e5ddd2;border-radius:13px;box-shadow:0 16px 48px #292c3426;padding:18px;z-index:10}.account-panel-head{display:flex;gap:14px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}.account-panel-head>.avatar{width:60px;height:60px}.account-panel-head>div{min-width:0}.account-panel-head strong{display:block;font-size:16px;overflow-wrap:anywhere}.account-panel-head small{display:block;font-size:11px;color:var(--muted);margin:2px 0 5px}.account-links{display:grid;padding:9px 0;gap:2px}.account-links button{display:flex;justify-content:space-between;padding:9px 10px;border-radius:6px;font-size:12px;text-align:left}.account-links button:hover,.account-links button:focus-visible{background:#f3eee5}.account-links span{color:#8c8b83}.account-session{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.account-session button{font-size:11px;padding:4px 10px;border-radius:5px}.account-session button:hover{background:#f3eee5}.account-session [data-action=logout]{color:#9d5d4c}.account-demo-note{font-size:10px;color:#85868b;margin:12px 0 0}.account-guest>strong{font-size:17px}.account-guest>p{font-size:12px;color:var(--muted)}.login-label{font-size:12px;font-weight:500}.auth-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:18px}.auth-tabs button{padding:0 0 10px;font-size:14px;color:var(--muted)}.auth-tabs button.selected{border-bottom:2px solid var(--accent);color:var(--ink)}.demo-account-list{display:grid;gap:10px;margin-top:20px}.demo-account-list button{padding:15px;border:1px solid #ddd6cb;border-radius:9px;text-align:left;background:#fff}.demo-account-list button:hover:not(:disabled){background:#fff2df;border-color:#cda267}.demo-account-list strong{font-size:16px;display:block}.demo-account-list span,.demo-account-list small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.demo-account-list button:disabled{opacity:.5;cursor:default}.guest-welcome{margin:20px 0;padding:30px}.guest-welcome h2{font-size:24px;font-weight:500}.guest-welcome p{color:var(--muted)}
@media(max-width:650px){.account-panel{right:12px;width:min(290px,calc(100vw - 24px));padding:16px}.account-chevron{font-size:12px;padding-left:0}.account{gap:5px}.guest-welcome{padding:22px}.guest-welcome h2{font-size:20px}.account-panel .avatar{border-radius:0}}
.account>span:nth-child(2){min-width:0;max-width:125px}.account>.avatar{flex:none}
@media(max-width:650px){.account>span:nth-child(2){max-width:60px}}

/* v0.5: points and discoverable avatar appearance entry */
.points-balance{display:flex;align-items:baseline;gap:12px;padding:0;text-align:left}.points-balance strong,.points-summary strong{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums;color:#9a683c}.points-balance span,.points-summary span{font-size:12px;color:#757d85}.points-summary{display:flex;align-items:baseline;gap:16px;margin-bottom:16px}.point-ledger{margin:22px 0}.point-ledger>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid #e8e5df}.point-ledger small{display:block;color:#7b8188;font-size:11px}.point-ledger strong{color:#9a683c;white-space:nowrap}

/* v0.8: retain the approved dark sidebar and warm cosmic identity. */
body{background:radial-gradient(ellipse at 53% 10%,#fbf8f2 0,#f2f0ed 52%,#eeede9 100%)}
.profile-view>.heading.reference-hero{background-image:linear-gradient(#fffaf514,#fffaf514),url('assets/gravity-hero.png')}
.side-bottom:before{opacity:.7}
.side-bottom:after{box-shadow:4px 4px 18px #b18b5826}
.card{box-shadow:0 5px 16px #5c514703}
.profile{box-shadow:0 5px 18px #5c514704}

/* Interaction repairs preserve the approved visual direction. */
.sidebar nav{position:relative;z-index:2}.side-bottom:before,.side-bottom:after{pointer-events:none}
.space-label{font-size:10px!important;color:#8d806f!important;letter-spacing:1px;margin:0 0 6px!important}
.entity-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.entity-actions .btn{font-size:12px}
.collection-entry{padding-right:0;min-height:0}.collection-entry h3 button{padding:0;font:inherit;text-align:left}
.directory-intro{margin:0 0 20px}.notice-row{padding:18px 0;border-bottom:1px solid var(--line)}.notice-row h3{font-size:15px;margin:10px 0}
.notification{position:relative}.notification-count{position:absolute;right:-6px;top:-2px;min-width:15px;border-radius:9px;background:#a76a35;color:white;padding:1px 4px;font-size:9px}
.mobile-identity-shortcuts{display:none}
@media(max-width:850px){.page.profile-view{grid-template-areas:'hero' 'profile' 'shortcuts' 'feed' 'assets' 'footer'}.mobile-identity-shortcuts{grid-area:shortcuts;display:flex;gap:8px;flex-wrap:wrap}.mobile-identity-shortcuts .btn{flex:1;text-align:center;font-size:11px}}
@media(max-height:780px) and (min-width:651px){.side-bottom p:first-child{font-size:15px}.side-bottom{padding-top:12px;padding-bottom:0}.side-bottom:before,.side-bottom:after{opacity:.45}}

.avatar-detail{padding:0;display:inline-flex;align-items:center;justify-content:center;flex:none}.account-panel-head .avatar-detail .avatar{width:60px;height:60px}.public-badges{display:flex;flex-wrap:wrap;align-items:start;gap:12px;margin:10px 0}.public-badges .badge{display:block;width:66px;text-align:center}.public-badges .badge i{display:block;width:44px;height:48px;margin:0 auto 4px}.public-badges .badge i.badge-swatch{width:37px;height:48px}.public-badges .badge strong{font-size:10px;line-height:1.5}.account-public-badges{padding:10px 0;border-bottom:1px solid var(--line)}.account-public-badges h4{margin:0;font-size:11px;color:var(--muted)}.account-public-badges .public-badges{gap:5px}.account-public-badges .badge{width:54px}.public-profile-head{display:flex;align-items:center;gap:20px}.public-profile-head h3,.public-profile-head p{margin:4px 0}.public-profile-head>.avatar{width:85px;height:85px}
