.profile-studio-entry{
  display:flex;align-items:center;justify-content:space-between;gap:22px;margin:18px 0 15px;
  padding:21px 23px;border:1px solid rgba(180,160,255,.2);border-radius:19px;
  background:radial-gradient(circle at 6% 0%,rgba(153,119,255,.18),transparent 42%),linear-gradient(115deg,#23283a,#1c2230);
}
.profile-studio-entry h3{margin:5px 0 6px;font-size:21px;letter-spacing:-.035em}
.profile-studio-entry p{max-width:610px;margin:0;color:#abb6cc;font-size:13px;line-height:1.6}
.profile-studio-entry .button{flex:0 0 auto;white-space:nowrap}
.profile-customization-preview{margin:0 0 28px;min-width:0}
.profile-custom-shell{
  --profile-accent:#d8a879;position:relative;isolation:isolate;overflow:hidden;
  border:1px solid rgba(207,196,255,.2);border-radius:25px;
  background:#171e2a;color:#f6f0e8;box-shadow:0 26px 70px rgba(0,0,0,.2);
}
.profile-world-stage{
  position:relative;width:100%;height:clamp(430px,43vw,590px);min-height:430px;
  overflow:hidden;isolation:isolate;background:#202a42;touch-action:pan-y;
}
.profile-world-canvas{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;outline:none}
.profile-world-stage:after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,14,24,.47),transparent 21%,transparent 68%,rgba(8,12,21,.6));
}
.profile-world-topline{
  position:absolute;z-index:3;top:19px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  color:#f7f1e9;text-shadow:0 2px 12px #10121a;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;
}
.world-brand-label{display:inline-flex;align-items:center;gap:8px}
.world-brand-label:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--profile-accent);box-shadow:0 0 15px var(--profile-accent)}
.world-explore-label{font-weight:600;letter-spacing:.07em;text-transform:none;color:#ffffffc7}
.profile-world-identity{
  position:absolute;z-index:4;left:22px;bottom:20px;display:flex;align-items:center;gap:12px;max-width:65%;
  padding:10px 16px 10px 10px;border:1px solid #ffffff30;border-radius:18px;
  background:rgba(17,22,34,.66);backdrop-filter:blur(16px);box-shadow:0 12px 34px #090d1840;
}
.profile-world-avatar{
  display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;border:2px solid #ffffffb8;border-radius:16px;
  background:var(--profile-accent);background-size:cover;background-position:center;color:#fff;font-size:25px;font-weight:900;
}
.world-identity-copy{color:#fff;font-size:16px;font-weight:850;letter-spacing:-.02em;text-shadow:0 2px 10px #0008}
.world-identity-location{display:block;margin-top:3px;color:#ffffffb8;font-size:10px}
.world-visitor-note{
  position:absolute;z-index:3;left:22px;bottom:23px;padding:9px 13px;border:1px solid #ffffff28;border-radius:999px;
  background:#141a2bb8;color:#fff;font-size:11px;backdrop-filter:blur(12px)
}
.world-edit-trigger{
  position:absolute;z-index:5;top:62px;right:20px;padding:10px 15px;border:1px solid #ffffff50;border-radius:999px;
  background:rgba(24,26,42,.76);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;
  backdrop-filter:blur(14px);box-shadow:0 8px 25px #0003;transition:transform .2s,background .2s,border-color .2s
}
.world-edit-trigger:hover{transform:translateY(-2px);background:rgba(57,48,83,.92);border-color:var(--profile-accent)}
.world-stage-hint{
  position:absolute;z-index:3;right:22px;bottom:26px;max-width:38%;color:#ffffffc9;text-align:right;
  font-size:10px;line-height:1.45;text-shadow:0 2px 10px #0009;pointer-events:none
}
.profile-world-info-panel{
  position:absolute;z-index:6;top:90px;right:20px;width:min(330px,calc(100% - 40px));max-height:calc(100% - 185px);
  overflow:auto;padding:20px;border:1px solid #ffffff42;border-radius:20px;
  background:rgba(20,25,39,.82);color:#f8f1e8;box-shadow:0 18px 55px #080c1880;backdrop-filter:blur(22px);
  animation:world-panel-in .22s ease-out
}
.profile-world-info-panel[hidden]{display:none}
.world-info-close{
  position:absolute;top:10px;right:10px;width:30px;height:30px;border:1px solid #ffffff32;border-radius:50%;
  background:#ffffff14;color:#fff;font-size:19px;cursor:pointer
}
.world-info-content{padding-top:8px}
.world-info-kicker{color:var(--profile-accent);font-size:9px;font-weight:900;letter-spacing:.15em}
.world-info-content h3{margin:7px 28px 12px 0;color:#fff;font-size:20px;letter-spacing:-.035em}
.world-info-content p{margin:0 0 10px;color:#e1e4ec;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.world-info-muted{color:#aeb8cb!important}
.world-info-quote{margin:0;padding:12px 14px;border-left:2px solid var(--profile-accent);border-radius:0 10px 10px 0;background:#ffffff0d;color:#fff;font-size:13px;line-height:1.6}
.world-info-tags{display:flex;flex-wrap:wrap;gap:7px}
.world-info-tags span{padding:6px 10px;border:1px solid #ffffff24;border-radius:999px;background:#ffffff12;color:#f6efe5;font-size:10px}
.world-info-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.world-info-gallery a{display:block;overflow:hidden;aspect-ratio:1;border-radius:10px;background:#ffffff14}
.world-info-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.world-info-gallery a:hover img{transform:scale(1.06)}
.world-info-link{display:inline-flex;margin-top:7px;color:var(--profile-accent);font-size:12px;font-weight:800;text-decoration:none}
.profile-world-fallback{position:absolute;z-index:2;inset:20% 8% auto;padding:20px;border:1px solid #ffffff26;border-radius:16px;background:#111827e8;color:#fff;text-align:center;font-size:13px;line-height:1.6}
.profile-world-editor{
  display:flex;flex-direction:column;gap:17px;padding:22px;
  border-top:1px solid #ffffff18;background:linear-gradient(135deg,#20283a,#171e2c);
}
.profile-world-editor[hidden]{display:none}
.profile-world-editor-heading>div{color:var(--profile-accent);font-size:10px;font-weight:900;letter-spacing:.16em}
.profile-world-editor-heading p{margin:5px 0 0;color:#aeb8cb;font-size:12px;line-height:1.5}
.profile-world-editor-look{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.profile-world-editor label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#c3cbe0;font-size:11px;font-weight:750}
.profile-world-editor select,.profile-world-editor input:not([type=color]),.profile-world-editor textarea{
  width:100%;min-width:0;padding:10px 11px;border:1px solid #ffffff24;border-radius:10px;
  background:#121a29;color:#f4f1eb;font:inherit;font-size:12px;outline:none
}
.profile-world-editor select:focus,.profile-world-editor input:focus,.profile-world-editor textarea:focus{border-color:var(--profile-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-accent) 17%,transparent)}
.profile-world-editor input[type=color]{width:100%;height:39px;padding:4px;border:1px solid #ffffff24;border-radius:10px;background:#121a29}
.profile-world-furniture,.profile-world-content-editor{display:flex;flex-direction:column;gap:10px}
.profile-world-furniture>strong,.profile-world-content-editor>strong{color:#f7f1e8;font-size:13px}
.profile-world-furniture-options{display:flex;flex-wrap:wrap;gap:7px}
.world-furniture-button{
  padding:8px 11px;border:1px solid #ffffff20;border-radius:999px;background:#ffffff0b;color:#e8e8f0;
  font:inherit;font-size:10px;font-weight:750;cursor:pointer;transition:border-color .15s,background .15s
}
.world-furniture-button:hover{border-color:var(--profile-accent);background:#ffffff18}
.profile-world-selected{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;border-top:1px solid #ffffff18}
.profile-world-selected>strong{margin-right:auto;color:#c5cce0;font-size:11px}
.profile-world-selected button{padding:7px 10px;font-size:10px}
.profile-world-selected button:disabled{opacity:.4;cursor:not-allowed}
.profile-world-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.world-links-label{grid-column:1/-1}
.profile-world-editor textarea{resize:vertical}
.profile-world-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #ffffff18}
.world-editor-hint{color:#aeb8cb;font-size:10px;line-height:1.5}
.profile-world-editor-footer>div{display:flex;gap:8px}
.profile-world-editor-footer button{white-space:nowrap}
.profile-world-editor-footer .button-primary{background:var(--profile-accent);border-color:var(--profile-accent);color:#211a22}
.profile-custom-shell[data-theme="pixel"]{border-radius:5px;font-family:ui-monospace,monospace;image-rendering:pixelated}
.profile-custom-shell[data-theme="pixel"] .profile-world-stage{border-radius:3px}
.profile-custom-shell[data-theme="anime"] .profile-world-stage{background:#dbb2cb}
.profile-custom-shell[data-theme="scrapbook"]{border:2px dashed #d6b6c5}
.profile-custom-shell[data-theme="midnight"]{border-color:#7785bc55}
.profile-custom-shell[data-theme="forest"]{border-color:#83aa8755}
.profile-custom-shell[data-theme="rose"]{border-color:#eb9bc855}
.profile-public-customization{margin:0 0 20px}
.profile-public-customization .profile-custom-shell{border-radius:18px}
.profile-public-customization .profile-world-stage{height:clamp(390px,42vw,530px);min-height:390px}
.profile-preview{margin:20px 0 24px;padding:18px 20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.profile-preview>h2{margin:0 0 10px;font-size:20px}
.profile-preview .preview-photos{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.profile-preview .preview-photos img{width:88px;height:88px;border-radius:12px;object-fit:cover}
.profile-world-editor .button-outline{border-color:#ffffff2c;color:#f2edf2;background:#ffffff0a}
.profile-social-dashboard{margin-top:22px}
@keyframes world-panel-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){
  .profile-studio-entry{align-items:stretch;flex-direction:column;padding:18px}
  .profile-studio-entry .button{width:100%}
  .profile-world-stage{height:460px;min-height:460px}
  .profile-world-topline{top:14px;left:14px;right:14px;font-size:8px;letter-spacing:.1em}
  .world-explore-label{max-width:44%;text-align:right;font-size:9px}
  .profile-world-identity{left:13px;bottom:13px;gap:9px;padding:8px 12px 8px 8px;max-width:72%}
  .profile-world-avatar{width:46px;height:46px;flex-basis:46px;border-radius:13px}
  .world-identity-copy{font-size:13px}
  .world-edit-trigger{top:51px;right:12px;padding:9px 12px;font-size:10px}
  .world-stage-hint{right:13px;bottom:19px;max-width:32%;font-size:9px}
  .profile-world-info-panel{top:auto;right:10px;bottom:76px;width:min(300px,calc(100% - 20px));max-height:53%;padding:15px}
  .profile-world-editor{padding:16px;gap:14px}
  .profile-world-editor-look{grid-template-columns:1fr 1fr}
  .profile-world-editor-look label:last-child{grid-column:1/-1}
  .profile-world-content-grid{grid-template-columns:1fr}
  .world-links-label{grid-column:auto}
  .profile-world-editor-footer{align-items:stretch;flex-direction:column}
  .profile-world-editor-footer>div>*{flex:1}
}
@media(prefers-reduced-motion:reduce){
  .profile-world-info-panel,.world-info-gallery img,.world-edit-trigger{animation:none!important;transition:none!important}
}

.world-countdown-number{display:block;margin:2px 0 8px;color:var(--profile-accent);font-size:42px;font-weight:900;line-height:1;letter-spacing:-.06em}.world-info-links{display:flex;flex-direction:column;gap:8px}.world-info-links .world-info-link{margin:0;width:fit-content}


/* Brazilly Profile World 2D: illustrated anime/lo-fi environment */
.profile-world-stage-2d{height:clamp(460px,48vw,650px);min-height:460px;background:#55485f;isolation:isolate;overflow:hidden;cursor:default}
.profile-world-art-layer,.profile-world-parallax-layer,.profile-world-objects,.profile-world-weather{position:absolute;inset:0;width:100%;height:100%}
.profile-world-art-layer{z-index:0;will-change:transform;transition:transform .22s ease-out}
.illustrated-room-art{display:block;width:100%;height:100%;object-fit:cover}
.profile-world-parallax-layer{z-index:1;pointer-events:none;will-change:transform;transition:transform .22s ease-out;overflow:hidden}
.profile-world-parallax-layer:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#17152a16 0%,transparent 25%,transparent 70%,#17152a40 100%)}
.world-light-beam{position:absolute;width:44%;height:90%;left:22%;top:-12%;background:linear-gradient(105deg,transparent,rgba(255,228,186,.14),transparent);filter:blur(18px);transform:rotate(8deg);animation:world-beam-drift 14s ease-in-out infinite alternate}
.world-glow-orb{position:absolute;width:26vw;height:26vw;max-width:360px;max-height:360px;left:34%;top:13%;border-radius:50%;background:radial-gradient(circle,rgba(255,214,164,.16),transparent 68%);filter:blur(12px);animation:world-glow-breathe 7s ease-in-out infinite}
.profile-world-weather{z-index:2;pointer-events:none}
.profile-world-objects{z-index:3;pointer-events:none}
.profile-world-object{position:absolute;width:clamp(66px,8vw,112px);height:clamp(58px,7vw,96px);padding:0;border:0;background:transparent;cursor:pointer;pointer-events:auto;filter:drop-shadow(0 9px 9px rgba(26,19,34,.25));transition:filter .2s,scale .2s;touch-action:none}
.profile-world-object svg{width:100%;height:100%;overflow:visible;transition:filter .2s,scale .2s}
.profile-world-object:hover{z-index:5;scale:1.08;filter:drop-shadow(0 13px 13px rgba(26,19,34,.34))}
.profile-world-object.is-selected{z-index:6;filter:drop-shadow(0 0 9px var(--profile-accent))}
.profile-world-object.is-selected:after{content:"";position:absolute;inset:4px;border:1px dashed var(--profile-accent);border-radius:18px;pointer-events:none}
.profile-world-stage-2d:not(.is-editing) .profile-world-object{cursor:pointer}
.profile-world-stage-2d.is-editing .profile-world-object{cursor:grab}
.profile-world-stage-2d.is-editing .profile-world-object:active{cursor:grabbing}
.profile-world-stage-2d .profile-world-topline{z-index:7}
.profile-world-stage-2d .profile-world-identity{z-index:7}
.profile-world-stage-2d .world-edit-trigger{z-index:8}
.profile-world-stage-2d .profile-world-info-panel{z-index:9}
.profile-world-stage-2d .world-stage-hint{z-index:7}
.profile-custom-shell[data-theme="pixel"] .illustrated-room-art{image-rendering:pixelated;filter:saturate(.86) contrast(1.06)}
.profile-custom-shell[data-theme="anime"] .illustrated-room-art{filter:saturate(1.08) brightness(1.03)}
.profile-custom-shell[data-theme="scrapbook"] .profile-world-stage-2d{border:5px solid #f0d8c5}
.profile-custom-shell[data-theme="midnight"] .profile-world-parallax-layer:after{background:linear-gradient(180deg,#101a3a35,transparent 40%,#101a3a66)}
.profile-custom-shell[data-theme="forest"] .illustrated-room-art{filter:hue-rotate(12deg) saturate(.88)}
.profile-world-editor-look{grid-template-columns:repeat(4,minmax(0,1fr))}
.profile-world-editor-look label{display:flex;flex-direction:column;gap:7px}
.profile-world-editor-look select,.profile-world-editor-look input{min-width:0;width:100%}
.profile-world-stage-2d .world-visitor-note{z-index:7}
@keyframes world-beam-drift{from{transform:translateX(-4%) rotate(8deg);opacity:.55}to{transform:translateX(8%) rotate(12deg);opacity:1}}
@keyframes world-glow-breathe{0%,100%{opacity:.55;scale:.94}50%{opacity:1;scale:1.08}}
@media(max-width:700px){
 .profile-world-stage-2d{height:480px;min-height:480px}
 .profile-world-object{width:clamp(58px,15vw,88px);height:clamp(52px,13vw,78px)}
 .profile-world-editor-look{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
 .world-light-beam,.world-glow-orb{animation:none!important}
 .profile-world-art-layer,.profile-world-parallax-layer,.profile-world-object,.profile-world-object svg{transition:none!important}
}


/* Full-bleed profile world: the environment is the page, not a card */
#profileScreen.profile-world-page.inner-screen.active{
  display:block;min-height:calc(100vh - 70px);padding:0 0 72px;overflow:hidden;
  background:#100f20;
}
#profileScreen.profile-world-page>.settings-container{
  width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;overflow:visible;
}
.profile-world-page>.settings-container>.inner-header,
.profile-world-page .profile-studio-entry{display:none!important}
.profile-world-page #profileCustomizationPreview{margin:0;width:100%;min-width:0}
.profile-world-page .profile-custom-shell{
  width:100%;max-width:none;margin:0;border:0;border-radius:0;
  background:#17142a;box-shadow:none;overflow:visible;
}
.profile-world-page .profile-world-stage-2d{
  width:100%;height:clamp(680px,calc(100vh - 70px),920px);min-height:680px;
  border-radius:0;overflow:hidden;
}
.profile-world-page .profile-world-art-layer{inset:-1.5%;transform:scale(1.025)}
.profile-world-page .illustrated-room-art{object-fit:cover;object-position:center 48%;filter:saturate(1.14) contrast(1.04) brightness(.88)}
.profile-world-page .profile-world-stage-2d:before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(15,10,30,.26),transparent 27%,transparent 73%,rgba(15,10,30,.2)),
    linear-gradient(180deg,rgba(15,10,30,.28),transparent 22%,transparent 48%,rgba(13,10,28,.55));
}
.profile-world-page .profile-world-parallax-layer{z-index:3}
.profile-world-page .profile-world-weather{z-index:4}
.profile-world-page .profile-world-objects{z-index:5}
.profile-world-page .profile-world-topline{top:22px;left:clamp(22px,5vw,86px);right:clamp(22px,5vw,86px);z-index:8}
.profile-world-page .profile-world-identity{
  left:clamp(22px,5vw,86px);top:clamp(92px,15vh,160px);bottom:auto;max-width:min(560px,80%);
  padding:14px 22px 14px 14px;border-radius:24px;
  background:rgba(19,15,42,.58);border:1px solid rgba(231,210,255,.24);
  box-shadow:0 18px 65px rgba(8,5,24,.32);backdrop-filter:blur(22px);
}
.profile-world-page .profile-world-avatar{width:82px;height:82px;flex-basis:82px;border-radius:22px}
.profile-world-page .world-identity-copy{font-size:clamp(20px,2.2vw,30px)}
.profile-world-page .world-identity-location{font-size:12px;margin-top:5px}
.profile-world-page .world-edit-trigger{
  top:24px;right:clamp(22px,5vw,86px);z-index:10;padding:12px 18px;
  border-radius:14px;background:rgba(36,23,66,.72);border-color:#e6cfff66;
  font-size:13px;backdrop-filter:blur(18px)
}
.profile-world-page .profile-world-edit-profile{
  position:absolute;z-index:10;top:24px;right:clamp(190px,17vw,290px);
  margin:0;padding:12px 18px;border:1px solid #e6cfff66;border-radius:14px;
  background:rgba(36,23,66,.72);color:#fff;font:inherit;font-size:13px;font-weight:750;
  backdrop-filter:blur(18px);cursor:pointer
}
.profile-world-page .profile-world-profile-content{
  position:absolute;z-index:8;left:50%;bottom:clamp(24px,5vh,58px);
  transform:translateX(-50%);width:min(1120px,calc(100% - 64px));
  max-height:min(340px,42%);overflow:auto;scrollbar-width:thin;
  padding:24px 28px;border:1px solid rgba(239,218,255,.25);border-radius:24px;
  background:linear-gradient(135deg,rgba(28,20,57,.76),rgba(35,28,62,.57));
  color:#fff;box-shadow:0 22px 80px rgba(8,5,24,.36);backdrop-filter:blur(24px);
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);
  align-content:start;gap:10px 26px
}
.profile-world-profile-content h2{display:none}
.profile-world-profile-content .profile-activity-status{grid-column:1/-1;margin:0;color:#d7c9ff;font-size:12px}
.profile-world-profile-content>p:not(.profile-activity-status){margin:0;color:#eee7ff;font-size:13px;line-height:1.6}
.profile-world-profile-content .preview-photos{
  grid-column:2;grid-row:1 / span 5;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start
}
.profile-world-profile-content .preview-photos img{aspect-ratio:4/3;max-height:125px;border:1px solid #ffffff35;border-radius:13px;object-fit:cover}
.profile-world-profile-content h3{grid-column:1/-1;margin:8px 0 0;color:#fff;font-size:14px}
.profile-world-profile-content .preview-tags{grid-column:1/-1;margin:0}
.profile-world-profile-content .preview-tags span{
  padding:7px 11px;border:1px solid #d9c4ff4d;border-radius:999px;
  background:rgba(148,105,255,.19);color:#f4eaff;font-size:11px
}
.profile-world-page .world-stage-hint{display:none}
.profile-world-page .profile-world-editor{
  width:min(1120px,calc(100% - 40px));margin:28px auto 0;
  border:1px solid rgba(215,194,255,.18);border-radius:22px;
  background:rgba(29,24,48,.96);box-shadow:0 18px 55px #08061255
}
.profile-world-page .activity-status-editor,
.profile-world-page .profile-social-dashboard{
  width:min(1120px,calc(100% - 40px));margin:24px auto;padding:24px;
  border:1px solid rgba(215,194,255,.16);border-radius:22px;
  background:linear-gradient(135deg,rgba(36,29,59,.94),rgba(23,23,42,.94));
  color:#f4efff;box-shadow:0 16px 50px #08061238
}
.profile-world-page .activity-status-editor p,
.profile-world-page .profile-social-dashboard p{color:#c8bfdc}
.profile-world-page .activity-status-editor input,
.profile-world-page .activity-status-editor select{background:#17152a;color:#f4efff;border-color:#ffffff25}
.profile-world-page .profile-world-editor[hidden]{display:none}
.profile-world-page .profile-world-editor-heading p{color:#c8bfdc}
.profile-world-page .profile-world-editor-look label,
.profile-world-page .profile-world-content-grid label{color:#e9e0f6}
.profile-world-page .world-editor-hint{color:#c8bfdc}
.profile-world-page .world-furniture-button{background:#2d2546;color:#eee4ff;border-color:#ffffff20}
.profile-world-page .world-furniture-button:hover{background:#49366e}
.profile-world-page .profile-world-info-panel{z-index:12}
@media(max-width:760px){
 #profileScreen.profile-world-page.inner-screen.active{padding-bottom:40px}
 .profile-world-page .profile-world-stage-2d{height:780px;min-height:780px}
 .profile-world-page .profile-world-art-layer{inset:-1%;transform:scale(1.03)}
 .profile-world-page .illustrated-room-art{object-position:48% center}
 .profile-world-page .profile-world-topline{top:15px;left:16px;right:16px;font-size:8px}
 .profile-world-page .profile-world-identity{top:78px;left:16px;max-width:calc(100% - 32px);padding:10px 14px 10px 10px}
 .profile-world-page .profile-world-avatar{width:58px;height:58px;flex-basis:58px;border-radius:17px}
 .profile-world-page .world-identity-copy{font-size:19px}
 .profile-world-page .profile-world-edit-profile{top:158px;left:16px;right:auto;padding:9px 12px;font-size:11px}
 .profile-world-page .world-edit-trigger{top:158px;right:16px;padding:9px 12px;font-size:11px}
 .profile-world-page .profile-world-profile-content{
  width:calc(100% - 28px);bottom:18px;max-height:410px;padding:17px;
  grid-template-columns:1fr;gap:8px;border-radius:19px
 }
 .profile-world-profile-content .preview-photos{grid-column:1;grid-row:auto;grid-template-columns:repeat(3,minmax(0,1fr))}
 .profile-world-profile-content .preview-photos img{max-height:92px}
 .profile-world-page .activity-status-editor,.profile-world-page .profile-social-dashboard{width:calc(100% - 28px);padding:18px;margin:16px auto}
}
@media(prefers-reduced-motion:reduce){
 .profile-world-page .profile-world-art-layer,.profile-world-page .profile-world-parallax-layer{transition:none!important}
}

/* Public profile detail uses the same world-first composition */
.profile-detail-card:has(.profile-public-customization){
  width:min(1440px,96vw);max-width:1440px;max-height:96vh;padding:0;
  overflow:auto;border:1px solid rgba(222,199,255,.26);border-radius:24px;
  background:#17132a;box-shadow:0 35px 120px #05030dcc
}
.profile-detail-card:has(.profile-public-customization)>.modal-close{
  position:fixed;z-index:30;top:calc((100vh - min(96vh,900px))/2 + 16px);
  right:calc((100vw - min(96vw,1440px))/2 + 16px);
  width:40px;height:40px;border:1px solid #ffffff44;border-radius:50%;
  background:#1c1738d9;color:#fff;backdrop-filter:blur(14px)
}
.profile-public-customization .profile-custom-shell{border:0;border-radius:22px 22px 0 0;overflow:hidden}
.profile-public-customization .profile-world-stage-2d{height:min(72vh,760px);min-height:570px}
.profile-public-customization .profile-world-identity{left:clamp(20px,4vw,70px);top:clamp(80px,13vh,130px);bottom:auto}
.profile-public-customization .profile-world-identity .world-identity-copy{font-size:clamp(21px,2vw,29px)}
.profile-public-customization .world-visitor-note{left:auto;right:28px;bottom:25px}
.profile-public-world-card{
  position:absolute;z-index:8;left:50%;bottom:28px;transform:translateX(-50%);
  width:min(1050px,calc(100% - 56px));max-height:38%;overflow:auto;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);
  gap:10px 24px;padding:22px 26px;border:1px solid #e9d9ff42;border-radius:22px;
  background:linear-gradient(130deg,rgba(25,18,51,.78),rgba(37,28,63,.62));
  color:#fff;backdrop-filter:blur(24px);box-shadow:0 20px 70px #08051666
}
.public-world-kicker{color:#d5b4ff;font-size:9px;font-weight:900;letter-spacing:.16em}
.public-world-heading h2{margin:5px 0 7px;color:#fff;font-size:25px}
.public-world-heading p{margin:0;color:#eee6ff;font-size:13px;line-height:1.6}
.public-world-tags{display:flex;flex-wrap:wrap;gap:7px;align-content:start}
.public-world-tags span{padding:7px 11px;border:1px solid #d9c4ff4d;border-radius:999px;background:#9469ff26;color:#f4eaff;font-size:11px}
.public-world-gallery{grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start}
.public-world-gallery img{width:100%;height:88px;object-fit:cover;border:1px solid #ffffff36;border-radius:11px}
.profile-detail-card:has(.profile-public-customization) .profile-wall-section,
.profile-detail-card:has(.profile-public-customization) .profile-social-actions,
.profile-detail-card:has(.profile-public-customization)>#startConversationButton{
  margin:18px 28px
}
.profile-detail-card:has(.profile-public-customization) .profile-wall-section h3{color:#f4efff}
@media(max-width:760px){
 .profile-detail-card:has(.profile-public-customization){width:100vw;max-height:100dvh;border-radius:0}
 .profile-detail-card:has(.profile-public-customization)>.modal-close{position:sticky;float:right;top:10px;right:10px;margin:10px 10px -50px 0}
 .profile-public-customization .profile-world-stage-2d{height:760px;min-height:760px}
 .profile-public-world-card{width:calc(100% - 24px);bottom:12px;padding:16px;grid-template-columns:1fr;max-height:45%}
 .public-world-gallery{grid-column:1;grid-row:auto}
 .profile-detail-card:has(.profile-public-customization) .profile-wall-section,
 .profile-detail-card:has(.profile-public-customization) .profile-social-actions,
 .profile-detail-card:has(.profile-public-customization)>#startConversationButton{margin:14px}
}


/* Animated profile environments: native looping media behind all interactive layers */
.profile-world-stage-2d{background:#17142a}
.profile-world-art-layer{overflow:hidden;background:#17142a}
.profile-world-animated-background{
 position:absolute;inset:0;width:100%;height:100%;display:block;
 object-fit:cover;object-position:center;pointer-events:none;
}
.profile-world-art-layer:has(.profile-world-animated-background) .illustrated-room-art{display:none}
.profile-world-art-layer:has(.profile-world-animated-background){z-index:0}
.profile-world-stage-2d:has(.profile-world-animated-background) .profile-world-parallax-layer{z-index:3}
.profile-world-stage-2d:has(.profile-world-animated-background) .profile-world-weather{z-index:4}
.profile-world-stage-2d:has(.profile-world-animated-background) .profile-world-objects{z-index:5}
.profile-scene-upload{
 display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;
 padding:16px;border:1px solid rgba(216,190,255,.2);border-radius:16px;
 background:linear-gradient(130deg,rgba(113,76,164,.14),rgba(45,37,69,.34))
}
.profile-scene-upload>div{display:grid;gap:4px}
.profile-scene-upload strong{color:#f5edff;font-size:14px}
.profile-scene-upload small{color:#bdb0d3;font-size:11px;line-height:1.5}
.profile-scene-file-button{
 display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;
 border:1px solid #c9a6ff66;border-radius:12px;background:#9360e8;color:white;
 font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap
}
.profile-scene-file-button:hover{background:#a878f5}
#worldSceneRemove:disabled{opacity:.4;cursor:not-allowed}
#worldSceneStatus{grid-column:1/-1;min-height:14px;color:#d5c3ed;font-size:11px}
@media(max-width:680px){
 .profile-scene-upload{grid-template-columns:1fr 1fr}
 .profile-scene-upload>div,#worldSceneStatus{grid-column:1/-1}
 .profile-scene-file-button{font-size:11px}
}


/* Built-in profile scene preset gallery */
.profile-scene-library{display:flex;flex-direction:column;gap:11px}
.profile-scene-library-heading{display:flex;flex-direction:column;gap:4px}
.profile-scene-library-heading strong{color:#f5edff;font-size:14px}
.profile-scene-library-heading small{color:#bdb0d3;font-size:11px;line-height:1.5}
.profile-scene-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}
.profile-scene-card{min-width:0;padding:6px;border:1px solid #ffffff20;border-radius:13px;background:#ffffff09;color:#eee7fa;text-align:left;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.profile-scene-card:hover{transform:translateY(-2px);border-color:#c9a6ff88;background:#ffffff12}
.profile-scene-card.is-active{border-color:var(--profile-accent);background:#a77be522;box-shadow:0 0 0 2px color-mix(in srgb,var(--profile-accent) 25%,transparent)}
.profile-scene-card img,.profile-scene-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#121827}
.profile-scene-card span{display:block;padding:7px 3px 3px;font-size:11px;font-weight:800}
.profile-scene-empty{margin:0;color:#bdb0d3;font-size:11px;line-height:1.5}
.profile-scene-empty[hidden]{display:none}
@media(max-width:480px){.profile-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Profile redesign: the room frames a real profile card instead of leaving content floating. */
.profile-world-page .profile-world-stage-2d{height:clamp(850px,calc(100vh - 70px),1040px);min-height:850px}
.profile-world-page .profile-world-profile-card{
 position:absolute;z-index:9;top:clamp(220px,26vh,275px);left:50%;transform:translateX(-50%);
 width:min(1120px,calc(100% - 88px));max-height:calc(100% - 310px);overflow:hidden;
 display:flex;flex-direction:column;border:1px solid rgba(238,220,255,.28);border-radius:25px;
 background:linear-gradient(135deg,rgba(25,20,48,.84),rgba(34,29,61,.72));
 color:#f8f3ff;box-shadow:0 28px 90px rgba(8,5,24,.48),inset 0 1px rgba(255,255,255,.08);
 backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px)
}
.profile-world-card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 25px 16px;border-bottom:1px solid rgba(235,220,255,.13)}
.profile-world-card-intro{min-width:0}
.profile-world-card-kicker{display:block;color:#d5b6ff;font-size:9px;font-weight:900;letter-spacing:.17em}
.profile-world-card-subtitle{margin:5px 0 0;color:#d2c8e5;font-size:12px}
.profile-world-page .profile-world-profile-card .profile-world-identity{
 position:relative;inset:auto;max-width:none;flex:0 0 auto;padding:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;backdrop-filter:none
}
.profile-world-page .profile-world-profile-card .profile-world-avatar{width:66px;height:66px;flex-basis:66px;border-radius:19px}
.profile-world-page .profile-world-profile-card .world-identity-copy{font-size:clamp(17px,2vw,23px)}
.profile-world-profile-tabs{display:flex;align-items:center;gap:7px;padding:11px 24px 11px clamp(190px,14vw,245px);border-bottom:1px solid rgba(235,220,255,.12);overflow-x:auto;scrollbar-width:none}
.profile-world-profile-tabs::-webkit-scrollbar{display:none}
.profile-world-tab{flex:0 0 auto;padding:9px 16px;border:1px solid transparent;border-radius:999px;background:transparent;color:#d5cbe8;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.profile-world-tab:hover{background:rgba(255,255,255,.08);color:#fff}
.profile-world-tab.is-active{border-color:rgba(194,151,255,.38);background:linear-gradient(120deg,#7544d9,#9a5ce9);color:#fff;box-shadow:0 5px 20px rgba(111,65,202,.28)}
.profile-world-page .profile-world-profile-card .profile-world-profile-content{
 position:relative;inset:auto;left:auto;bottom:auto;transform:none;width:100%;max-height:none;overflow:auto;
 display:block;padding:20px 24px 24px;border:0;border-radius:0;background:transparent;box-shadow:none;
 color:#fff;backdrop-filter:none;scrollbar-width:thin
}
.profile-world-tab-panel{display:none;min-height:150px}
.profile-world-tab-panel.is-active{display:block;animation:profile-tab-in .2s ease-out}
.profile-world-section-title{margin:0 0 12px;color:#fff;font-size:15px;font-weight:850}
.profile-world-tab-panel>p:not(.profile-activity-status){max-width:760px;margin:0;color:#eee7ff;font-size:14px;line-height:1.75}
.profile-world-tab-panel .profile-activity-status{display:inline-flex;margin:0 0 17px;padding:7px 11px;border:1px solid rgba(191,159,255,.28);border-radius:999px;background:rgba(145,103,232,.16);color:#e9ddff;font-size:11px}
.profile-world-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-top:17px}
.profile-world-detail-grid .field-note{margin:0;padding:10px 12px;border:1px solid rgba(235,220,255,.1);border-radius:12px;background:rgba(255,255,255,.045);color:#d8cfe9;font-size:11px;line-height:1.5}
.profile-world-tab-panel .preview-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.profile-world-tab-panel .preview-photos img{width:100%;height:clamp(100px,12vw,150px);max-height:none;aspect-ratio:4/3;object-fit:cover;border:1px solid rgba(255,255,255,.2);border-radius:14px;transition:transform .2s,filter .2s}
.profile-world-tab-panel .preview-photos img:hover{transform:translateY(-3px);filter:brightness(1.08)}
.profile-world-tab-panel .preview-tags{display:flex;flex-wrap:wrap;gap:9px;margin:0}
.profile-world-tab-panel .preview-tags span{padding:9px 14px;border:1px solid rgba(195,157,255,.35);border-radius:999px;background:rgba(137,91,225,.18);color:#f5edff;font-size:12px}
.profile-world-empty{padding:18px;border:1px dashed rgba(235,220,255,.2);border-radius:14px;color:#c8bddb!important;background:rgba(255,255,255,.025)}
@keyframes profile-tab-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.profile-world-page .profile-world-edit-profile{top:22px;right:clamp(190px,17vw,290px)}
@media(max-width:760px){
 .profile-world-page .profile-world-stage-2d{height:1020px;min-height:1020px}
 .profile-world-page .profile-world-profile-card{top:230px;width:calc(100% - 24px);max-height:calc(100% - 260px);border-radius:20px}
 .profile-world-card-heading{align-items:flex-start;flex-direction:column;padding:15px 16px 12px;gap:12px}
 .profile-world-page .profile-world-profile-card .profile-world-identity{max-width:100%}
 .profile-world-page .profile-world-profile-card .profile-world-avatar{width:54px;height:54px;flex-basis:54px}
 .profile-world-profile-tabs{padding:9px 12px 9px 118px;gap:4px;min-height:52px}
 .profile-world-tab{padding:8px 12px;font-size:11px}
 .profile-world-page .profile-world-profile-card .profile-world-profile-content{padding:16px}
 .profile-world-detail-grid{grid-template-columns:1fr}
 .profile-world-tab-panel .preview-photos{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-world-tab-panel .preview-photos img{height:115px}
 .profile-world-page .profile-world-edit-profile{top:158px;left:16px;right:auto}
 .profile-world-page .world-edit-trigger{top:158px;right:16px}
}

/* Profile hero portrait: prominent avatar anchored to the left edge of the profile card. */
.profile-world-page .profile-world-stage-2d .profile-world-objects{display:none!important;visibility:hidden!important;pointer-events:none!important}
.profile-world-page .profile-world-stage-2d .profile-world-featured-avatar{
 position:absolute;z-index:12;left:clamp(14px,calc(50% - 654px),480px);top:clamp(185px,22vh,255px);
 width:clamp(132px,10.5vw,190px);height:clamp(132px,10.5vw,190px);
 border:5px solid rgba(247,235,255,.96);border-radius:50%;
 background-color:#30224d;background-size:cover;background-position:center;
 box-shadow:0 0 0 7px rgba(176,119,255,.23),0 18px 55px rgba(8,5,24,.52),0 0 42px rgba(183,119,255,.3);
}
.profile-world-page .profile-world-profile-card .profile-world-card-heading{
 min-height:126px;padding-left:clamp(175px,14vw,245px);align-items:center;
}
.profile-world-page .profile-world-profile-card .profile-world-identity{
 max-width:100%;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;
}
.profile-world-page .profile-world-profile-card .profile-world-identity .world-identity-copy{
 font-size:clamp(20px,2vw,29px);font-weight:900;letter-spacing:-.025em;
}
.profile-world-page .profile-world-profile-card .profile-world-identity .world-identity-location{
 display:block;margin-top:7px;color:#e3d7f5;font-size:13px;font-weight:650;
}
.profile-world-page .profile-world-profile-card .profile-world-card-intro{max-width:42%}
.profile-world-page .profile-world-profile-card .profile-world-card-subtitle{line-height:1.5}
@media(max-width:760px){
 .profile-world-page .profile-world-stage-2d .profile-world-featured-avatar{
  left:14px;top:205px;width:104px;height:104px;border-width:4px;
 }
 .profile-world-page .profile-world-profile-card{top:245px;width:calc(100% - 24px);max-height:calc(100% - 270px)}
 .profile-world-page .profile-world-profile-card .profile-world-card-heading{
  min-height:112px;padding:16px 14px 14px 125px;align-items:flex-start;justify-content:center;
 }
 .profile-world-page .profile-world-profile-card .profile-world-card-intro{display:none}
 .profile-world-page .profile-world-profile-card .profile-world-identity .world-identity-copy{font-size:18px}
}

#profileScreen .profile-world-stage-2d .profile-world-objects,#profileScreen .profile-world-stage-2d .profile-world-object{display:none!important;visibility:hidden!important;pointer-events:none!important}
#profileScreen .profile-world-stage-2d .profile-world-featured-avatar{left:clamp(14px,calc(50% - 654px),480px)}
@media(max-width:760px){#profileScreen .profile-world-stage-2d .profile-world-featured-avatar{left:14px;top:205px;width:104px;height:104px}#profileScreen .profile-world-profile-card{top:245px}}


/* Profile layout refinement: a compact editorial header and a useful two-column overview. */
.profile-world-page .profile-world-profile-card{
 width:min(1180px,calc(100% - 72px));
 max-height:calc(100% - 300px);
}
.profile-world-page .profile-world-card-heading{
 min-height:132px;
 padding-top:18px;padding-bottom:18px;
}
.profile-world-page .profile-world-card-intro{max-width:34%}
.profile-world-page .profile-world-card-kicker{font-size:10px;letter-spacing:.19em}
.profile-world-page .profile-world-card-subtitle{max-width:270px;font-size:13px;line-height:1.55}
.profile-world-page .profile-world-profile-tabs{
 padding:12px 24px;gap:8px;
}
.profile-world-page .profile-world-tab{padding:10px 17px;font-size:12px}
.profile-world-page .profile-world-profile-card .profile-world-profile-content{
 padding:22px 25px 26px;
}
.profile-world-about-grid{
 display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.8fr);
 gap:18px;align-items:start;
}
.profile-world-about-main,.profile-world-about-aside{
 min-width:0;padding:18px;border:1px solid rgba(235,220,255,.12);
 border-radius:17px;background:rgba(255,255,255,.035);
}
.profile-world-about-aside{display:grid;gap:11px}
.profile-world-about-main>p:not(.profile-activity-status){max-width:760px}
.profile-world-about-main .profile-world-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-world-about-aside .profile-world-section-title{margin:0}
.profile-world-tab-panel .profile-world-mini-gallery{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;
}
.profile-world-tab-panel .profile-world-mini-gallery img{
 width:100%;height:94px;aspect-ratio:4/3;object-fit:cover;border-radius:10px;
 border:1px solid rgba(255,255,255,.18);
}
.profile-world-tab-panel .profile-world-mini-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.profile-world-tab-panel .profile-world-mini-tags span{padding:6px 9px;font-size:10px}
.profile-world-universe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-world-universe-item{
 min-width:0;padding:17px;border:1px solid rgba(235,220,255,.13);
 border-radius:15px;background:linear-gradient(135deg,rgba(145,103,232,.13),rgba(255,255,255,.035));
}
.profile-world-universe-label{display:block;margin-bottom:8px;color:#d5b6ff;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.profile-world-universe-item p{margin:0;color:#f1eaff;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.profile-world-page .profile-world-profile-card .profile-world-profile-content{scrollbar-color:rgba(193,158,255,.45) transparent}
@media(max-width:760px){
 .profile-world-page .profile-world-profile-card{width:calc(100% - 24px);max-height:calc(100% - 260px)}
 .profile-world-page .profile-world-card-heading{min-height:112px}
 .profile-world-page .profile-world-profile-card .profile-world-card-intro{display:none}
 .profile-world-page .profile-world-profile-card .profile-world-profile-content{padding:14px}
 .profile-world-about-grid{grid-template-columns:1fr;gap:10px}
 .profile-world-about-main,.profile-world-about-aside{padding:14px}
 .profile-world-about-main .profile-world-detail-grid{grid-template-columns:1fr}
 .profile-world-universe-grid{grid-template-columns:1fr}
 .profile-world-tab-panel .profile-world-mini-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
 .profile-world-tab-panel .profile-world-mini-gallery img{height:76px}
}


/* Profile header and full-size photo viewer corrections. */
.profile-world-page .profile-world-stage-2d .profile-world-header-avatar{
 position:relative;inset:auto;z-index:2;flex:0 0 clamp(112px,9vw,148px);
 width:clamp(112px,9vw,148px);height:clamp(112px,9vw,148px);
 border:5px solid rgba(247,235,255,.97);border-radius:50%;
 background-color:#30224d;background-size:cover;background-position:center;
 box-shadow:0 0 0 6px rgba(176,119,255,.22),0 12px 34px rgba(8,5,24,.4);
}
.profile-world-page .profile-world-profile-card .profile-world-card-heading{
 display:grid;grid-template-columns:clamp(112px,9vw,148px) minmax(0,1fr) minmax(180px,.8fr);
 align-items:center;justify-content:initial;gap:22px;min-height:170px;
 padding:18px 28px 18px 24px;
}
.profile-world-page .profile-world-profile-card .profile-world-card-intro{max-width:none}
.profile-world-page .profile-world-profile-card .profile-world-identity{justify-self:end}
.profile-world-page .profile-world-profile-tabs{padding:11px 24px;gap:9px}
.profile-world-about-aside{grid-template-columns:1fr;align-content:start}
.profile-world-about-aside .profile-world-mini-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.profile-world-about-aside .profile-world-mini-gallery img{width:100%;height:110px;object-fit:cover;border-radius:11px;cursor:zoom-in}
.profile-world-tab-panel .preview-photos img,.profile-world-mini-gallery img,.public-world-gallery img{cursor:zoom-in}
.profile-world-tab-panel .preview-photos img:focus-visible,.profile-world-mini-gallery img:focus-visible,.public-world-gallery img:focus-visible{outline:3px solid #d5b6ff;outline-offset:3px}
.profile-photo-viewer[hidden]{display:none}
.profile-photo-viewer{
 position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
 padding:5vh 7vw;background:rgba(7,5,16,.92);backdrop-filter:blur(14px);
}
.profile-photo-viewer-image{max-width:min(86vw,1300px);max-height:86vh;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 25px 100px #000a}
.profile-photo-viewer button{
 position:absolute;display:grid;place-items:center;border:1px solid #ffffff35;border-radius:50%;
 background:rgba(35,25,58,.88);color:#fff;cursor:pointer;box-shadow:0 6px 25px #0005;
}
.profile-photo-viewer-close{top:24px;right:28px;width:46px;height:46px;font-size:30px}
.profile-photo-viewer-prev,.profile-photo-viewer-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:38px}
.profile-photo-viewer-prev{left:24px}.profile-photo-viewer-next{right:24px}
.profile-photo-viewer button:disabled{opacity:.35;cursor:default}
.profile-photo-viewer-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#fff;font-size:12px;text-shadow:0 2px 8px #000}
body.profile-photo-viewer-open{overflow:hidden}
@media(max-width:760px){
 .profile-world-page .profile-world-profile-card .profile-world-card-heading{
  grid-template-columns:76px minmax(0,1fr);gap:13px;min-height:112px;padding:13px 14px;
 }
 .profile-world-page .profile-world-stage-2d .profile-world-header-avatar{width:76px;height:76px;flex-basis:76px;border-width:4px}
 .profile-world-page .profile-world-profile-card .profile-world-card-intro{display:block;grid-column:2;grid-row:1}
 .profile-world-page .profile-world-profile-card .profile-world-card-subtitle{display:none}
 .profile-world-page .profile-world-profile-card .profile-world-identity{grid-column:2;grid-row:2;justify-self:start}
 .profile-world-page .profile-world-profile-card .profile-world-identity .world-identity-copy{font-size:17px}
 .profile-world-page .profile-world-profile-card .profile-world-identity .world-identity-location{margin-top:2px;font-size:11px}
 .profile-world-page .profile-world-profile-tabs{padding:9px 12px;gap:4px}
 .profile-photo-viewer{padding:6vh 12px}
 .profile-photo-viewer-prev{left:8px}.profile-photo-viewer-next{right:8px}
 .profile-photo-viewer-prev,.profile-photo-viewer-next{width:40px;height:40px}
}


/* Stronger profile identity and balanced overview composition. */
.profile-world-page .profile-world-profile-card .profile-world-card-heading{
 grid-template-columns:clamp(126px,10vw,154px) minmax(0,1fr) minmax(190px,.78fr);
 min-height:184px;gap:26px;padding:20px 32px 20px 27px;
}
.profile-world-page .profile-world-profile-card .profile-world-header-avatar{
 align-self:center;justify-self:center;width:clamp(126px,10vw,154px);
 height:clamp(126px,10vw,154px);flex-basis:clamp(126px,10vw,154px);
 border-width:6px;box-shadow:0 0 0 7px rgba(176,119,255,.2),0 16px 38px rgba(8,5,24,.42);
}
.profile-world-page .profile-world-profile-card .profile-world-identity{
 align-self:center;justify-self:end;text-align:right;min-width:0;
}
.profile-world-page .profile-world-profile-card .world-identity-copy{
 font-size:clamp(20px,2.2vw,29px);font-weight:900;letter-spacing:-.035em;
}
.profile-world-page .profile-world-profile-card .world-identity-location{
 display:inline-block;margin-top:8px;color:#d9c9f5;font-size:12px;font-weight:700;
}
.profile-world-page .profile-world-card-intro{align-self:center;max-width:420px}
.profile-world-page .profile-world-card-kicker{font-size:10px;letter-spacing:.2em}
.profile-world-page .profile-world-card-subtitle{font-size:13px;line-height:1.7;max-width:330px}
.profile-world-page .profile-world-profile-tabs{padding:12px 28px;gap:10px}
.profile-world-page .profile-world-profile-card .profile-world-profile-content{padding:24px 28px 30px}
.profile-world-about-grid{grid-template-columns:minmax(0,1.35fr) minmax(310px,.9fr);gap:20px}
.profile-world-about-main{padding:24px;min-height:100%;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025))}
.profile-world-about-aside{display:flex;flex-direction:column;gap:14px;min-width:0}
.profile-world-side-card{
 display:flex;flex-direction:column;gap:13px;min-width:0;width:100%;
 padding:17px 18px;border:1px solid rgba(235,220,255,.15);border-radius:17px;
 background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
 box-shadow:inset 0 1px rgba(255,255,255,.045);
}
.profile-world-side-heading{display:flex;flex-direction:column;gap:4px}
.profile-world-side-eyebrow{color:#c7a2ff;font-size:9px;font-weight:900;letter-spacing:.18em}
.profile-world-side-card .profile-world-section-title{margin:0;font-size:15px}
.profile-world-about-aside .profile-world-mini-gallery{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
 width:100%;min-width:0;margin:0;
}
.profile-world-about-aside .profile-world-mini-gallery img{
 display:block;width:100%;height:clamp(104px,10vw,142px);min-width:0;
 object-fit:cover;object-position:center;border-radius:12px;
 border:1px solid rgba(255,255,255,.2);cursor:zoom-in;transition:transform .2s,filter .2s;
}
.profile-world-about-aside .profile-world-mini-gallery img:hover{transform:translateY(-3px);filter:brightness(1.08)}
.profile-world-about-aside .profile-world-mini-tags{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:flex-start;justify-content:flex-start;gap:8px;width:100%;min-width:0;
 margin:0;padding:0;
}
.profile-world-about-aside .profile-world-mini-tags>*{
 display:inline-flex!important;flex:0 1 auto!important;align-items:center;
 width:auto!important;max-width:100%;min-width:0;margin:0!important;
 white-space:normal;overflow-wrap:anywhere;
 padding:7px 11px;border:1px solid rgba(205,165,255,.3);
 border-radius:999px;background:rgba(126,78,202,.28);color:#f4eaff;
 font-size:11px;line-height:1.35;
}
.profile-world-about-aside .profile-world-mini-tags>*:hover{background:rgba(151,94,230,.42)}
.profile-world-about-main .profile-world-section-title{margin:0 0 13px;font-size:16px}
.profile-world-about-main>p:not(.profile-activity-status){font-size:15px;line-height:1.8}
.profile-world-page .profile-world-profile-card .profile-world-profile-content{scrollbar-gutter:stable}
@media(max-width:760px){
 .profile-world-page .profile-world-profile-card .profile-world-card-heading{
  grid-template-columns:92px minmax(0,1fr);grid-template-areas:"avatar identity" "intro intro";
  min-height:0;gap:12px 16px;padding:16px;
 }
 .profile-world-page .profile-world-profile-card .profile-world-header-avatar{
  grid-area:avatar;width:88px;height:88px;flex-basis:88px;border-width:4px;
 }
 .profile-world-page .profile-world-profile-card .profile-world-card-intro{grid-area:intro;display:block;max-width:none}
 .profile-world-page .profile-world-profile-card .profile-world-identity{grid-area:identity;justify-self:start;text-align:left}
 .profile-world-page .profile-world-profile-card .world-identity-copy{font-size:20px}
 .profile-world-about-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .profile-world-about-main{padding:18px}
 .profile-world-side-card{padding:15px}
 .profile-world-about-aside .profile-world-mini-gallery img{height:112px}
}
