/* Section43: one in-shell room page; homepage is a lightweight poster. */
.my-space-page[hidden],.my-space-tabs[hidden],.platform-content[hidden]{display:none!important}
.my-space-page{width:min(1220px,100%);margin:0 auto;padding:24px;box-sizing:border-box;color:#293d6a}
.my-space-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.my-space-heading h1{margin:4px 0;font-size:clamp(24px,4vw,34px)}.my-space-heading p{margin:7px 0;color:#61708b;line-height:1.6}
.my-space-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}
.my-space-room{min-width:0;padding:16px;border:1px solid #f0dfd3;border-radius:28px;background:#fffdf9;box-shadow:0 8px 28px #c5b1a81a}
.my-space-room-status{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px;padding:10px 0;text-align:center}
.my-space-room-status p{font-weight:700;margin:0}.my-space-room-status small{width:100%;font-size:12px;color:#68768d;line-height:1.6}
.my-space-tools{min-width:0;background:#fff9f0;border:1px solid #eee0d7;border-radius:24px;padding:14px;box-shadow:0 8px 24px #c5b1a81a}
.my-space-tabs{display:flex;gap:4px;margin-bottom:16px}#platformLobby .my-space-tabs button,body[data-theme] .my-space-bottom-tabs button{flex:1;min-width:48px;min-height:48px;padding:8px 3px;font-size:14px;color:#43577a;background:#eef4f4;border:1px solid #dae9e6;border-radius:13px}
#platformLobby .my-space-tabs button[aria-selected="true"],body[data-theme] .my-space-bottom-tabs button[aria-selected="true"]{background:#ffe3de;border-color:#efb4aa;color:#663d49}
.my-space-category-content{line-height:1.8;color:#52617b}.my-space-category-content [hidden]{display:none!important}.my-space-category-content h2{font-size:19px;margin:12px 0;color:#293d6a}
.space-category-art{display:grid;place-items:center;width:70px;height:70px;font-size:34px;border-radius:22px;background:#fbe0df;color:#ab6174}
.space-preparation{display:inline-block;background:#e5f4ed;border-radius:24px;padding:5px 12px;color:#456e61;font-size:13px}
.space-furniture-preview{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px}.space-furniture-preview span{padding:10px;background:#fffdf9;border:1px dashed #dfd1c9;border-radius:14px}
#mySpacePage .my-space-category-content .social-text-link{display:block;margin:12px 0;min-height:44px;line-height:44px;text-decoration:none}
.my-space-sheet{width:min(560px,calc(100vw - 20px));max-height:58dvh;box-sizing:border-box;overflow:auto;margin:auto auto 10px;padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom));border:1px solid #efdbcf;border-radius:26px;background:#fffaf5;color:#293d6a;box-shadow:0 12px 50px #52617b33}
.my-space-sheet::backdrop{background:#40547440}.my-space-sheet header{display:flex;justify-content:space-between;align-items:center;gap:12px}.my-space-sheet header h2{margin:0;font-size:20px}.my-space-sheet [data-space-sheet-close]{width:44px;height:44px;min-height:44px;padding:0;border-radius:14px}
#mySpaceProfileEntry{display:inline-flex;align-items:center;min-height:44px;margin-left:8px}
#mySpacePage .cozy-poc-actions button{background:linear-gradient(120deg,#c6eee3,#bfe6ed);color:#29485d;border:1px solid #abd6d7;min-height:44px}
#mySpacePage .cozy-poc-directions button{background:#fce0dc;color:#774758;border:1px solid #edc3bd}
.my-space-page button:focus-visible,.my-space-sheet button:focus-visible{outline:3px solid #7a8ac3;outline-offset:2px}
.cozy-poc-home-character{position:absolute;left:50%;bottom:8px;width:92px;height:92px;object-fit:contain;transform:translateX(-50%);pointer-events:none}.cozy-poc-alive .cozy-room-character{visibility:hidden}
@media(max-width:760px){
 .my-space-page{padding:18px 12px calc(90px + env(safe-area-inset-bottom))}
 .my-space-heading{align-items:flex-start;gap:8px}.my-space-heading>a{font-size:13px;min-width:86px;text-align:right;padding-top:10px}
 .my-space-layout{display:block}.my-space-room{padding:10px;border-radius:22px}.my-space-tools{border:0;padding:0;background:none;box-shadow:none}
 .my-space-bottom-tabs{position:fixed;bottom:0;left:0;right:0;z-index:40;gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));margin:0;background:#fffaf5f5;border-top:1px solid #eadacf;box-shadow:0 -5px 22px #a99b9220}
 .my-space-tabs button{min-height:48px}.my-space-room-status small{font-size:11px}
 .cozy-poc-actions button{flex:1 1 42%;padding:9px;font-size:13px}.cozy-poc-window{border-width:4px;border-radius:8px}
 .cozy-poc-wall-art{font-size:14px;border-width:3px;padding:3px 8px}
}

.cozy-poc-stage{position:relative;width:100%;max-width:100%;aspect-ratio:800/440;overflow:hidden;border-radius:22px;border:2px solid #efded0;background:linear-gradient(#ffead8 0 53%,#d5bdad 53% 55%,#f2dac0 55%);isolation:isolate}
.cozy-poc-stage canvas{position:absolute;inset:0;width:100%;height:100%;z-index:4;touch-action:manipulation}
.cozy-poc-window{position:absolute;left:7%;top:9%;width:15%;height:24%;display:grid;place-items:center;background:#c7eef4;border:7px solid white;border-radius:16px;color:#e8ac3a;font-size:clamp(20px,6vw,45px);box-sizing:border-box}
.cozy-poc-wall-art{position:absolute;right:11%;top:12%;padding:7px 13px;border:5px solid #edc3bc;background:#fff8f0;color:#ed8ca4;border-radius:5px;font-size:22px}
.cozy-poc-desk{position:absolute;left:25%;top:43%;width:21%;height:6%;background:#d99c87;border-radius:8px;box-shadow:0 25px 0 -6px #d99c87;z-index:2}.cozy-poc-monitor{position:absolute;left:32%;bottom:80%;width:47%;aspect-ratio:1.45;background:#b0dde5;border:5px solid #fff8f2;border-radius:8px;display:grid;place-items:center;color:#dd92a4;box-sizing:border-box}
.cozy-poc-bed{position:absolute;left:66%;top:61%;width:28%;height:19%;border-radius:18px;background:#e6bca3;border:4px solid #d99c87;box-sizing:border-box;z-index:2}.cozy-poc-bed:before{content:'';position:absolute;left:3%;top:8%;width:26%;height:65%;border-radius:14px;background:#fff8ec}.cozy-poc-bed span{position:absolute;right:2%;top:6%;width:68%;height:82%;border-radius:10px;background:#b6ded2}
.cozy-poc-rug{position:absolute;left:34%;top:72%;width:30%;height:20%;border-radius:50%;background:#edbcca88}.cozy-poc-actions,.cozy-poc-directions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}.my-space-page button{min-height:44px;min-width:44px;border-radius:15px}.my-space-page [data-cozy-status]{min-height:1.5em;text-align:center;margin:12px 0}

/* Sections44/45: one shell, dedicated destinations, lightweight home summaries. */
#platformLobby .platform-destination[hidden]{display:none!important}
#platformLobby .platform-destination{width:min(1220px,100%);margin:auto;padding:24px;box-sizing:border-box;min-width:0}
.destination-heading{margin-bottom:18px}.destination-heading a{display:inline-flex;min-height:44px;align-items:center;text-decoration:none}
#platformLobby .platform-destination>section{width:100%;margin:0;min-width:0;border-radius:24px;padding:24px;background:#fffdf9;border:1px solid #eee0d7;box-shadow:var(--theme-shadow)}
.home-destination-previews{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px}
#platformLobby .home-destination-preview{display:flex;gap:18px;align-items:center;padding:24px;background:#fffdf9;border:1px solid #eee0d7;border-radius:24px;color:var(--theme-ink);text-decoration:none;min-width:0;box-shadow:var(--theme-shadow)}
.home-destination-preview img{width:120px;height:120px;object-fit:contain;border-radius:18px}.home-destination-preview h2{font-size:22px;margin:0 0 10px}.home-destination-preview p{line-height:1.7;color:var(--theme-muted)}.home-destination-preview span{font-weight:700;color:#468d98}
#platformLobby .space-account{margin-top:24px;background:#fffdf9;padding:24px;border:1px solid #eee0d7;border-radius:24px;min-width:0}
.space-account .profile-stat-details,.space-account .profile-extras{margin:18px 0}.space-account summary{min-height:44px;padding:12px;cursor:pointer}.space-account #metaNickname{font-size:24px}.space-account .platform-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px}.space-account .platform-stat-grid>div{background:#f0f7f6;padding:14px;border-radius:16px}.space-account .platform-stat-grid strong{display:block}.space-account .profile-name-editor{max-width:560px}
@media(max-width:1100px){#platformLobby[data-pages] .platform-header{grid-template-columns:minmax(0,1fr) auto}#platformLobby[data-pages] #platformNavigation{display:flex;gap:8px;grid-column:1/-1;justify-content:flex-start;overflow-x:auto;width:100%;padding-bottom:5px}#platformLobby[data-pages] #signOut{grid-column:2;grid-row:1}}
@media(max-width:760px){#platformLobby .platform-destination{padding:18px 12px}.home-destination-previews{display:flex;flex-direction:column}#platformLobby .home-destination-preview{padding:18px;gap:12px}.home-destination-preview img{width:72px;height:72px}.home-destination-preview h2{font-size:20px}#platformLobby .platform-destination>section,#platformLobby .space-account{padding:18px}}
@media(max-width:760px){#platformLobby[data-pages] #profile{order:1}#platformLobby[data-pages] .home-destination-previews{order:2}#platformLobby[data-pages] #platformNavigation a{flex:0 0 auto;padding:8px 12px;min-width:70px}#platformLobby[data-pages] #platformNavigation a span{white-space:nowrap}}
.room-furniture-layer{position:absolute;inset:0;pointer-events:none;z-index:2}.room-slot{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:14px}.room-slot.is-editing{outline:2px dashed #e58e9e;outline-offset:3px;background:#fff5e830}
.furniture-art{display:block;width:100%;height:100%;background-repeat:no-repeat;background-size:400% 200%}.furniture-art[data-tint="rose"]{filter:hue-rotate(315deg) saturate(.8)}
.furniture-art.heart-print{display:grid;place-items:center;font-size:clamp(14px,3vw,28px);color:#c9798d;background:#fff6e4;border:4px solid #d7a78a;border-radius:8px;box-shadow:0 3px 8px #a17a6b25}
.furniture-art.books{display:grid;place-items:center;font-size:clamp(16px,4vw,32px);color:#cfad87;background:linear-gradient(90deg,#c2dfd5 22%,#f0c6bd 22% 45%,#e5d9b7 45% 72%,#c7dfe8 72%);border-bottom:5px solid #cfa48d;border-radius:4px}
#mySpacePage .cozy-poc-stage{background:linear-gradient(transparent 0 51%,#edd4b7 51% 54%,transparent 54%),repeating-linear-gradient(90deg,transparent 0 9%,#e8c8a944 9% 9.3%,transparent 9.3% 18%),linear-gradient(#fdf1de 0 54%,#f3dbc1 54%);box-shadow:inset 0 0 50px #d8b69c22}
#mySpacePage .cozy-poc-stage:before{content:'';position:absolute;inset:0 0 46%;background:repeating-linear-gradient(90deg,transparent 0 11%,#edd7c933 11% 11.5%,transparent 11.5% 23%);border-bottom:5px solid #e0b79a}
#mySpacePage .cozy-poc-window{background:linear-gradient(#cbe9ed,#e2f3e3);box-shadow:10px 0 0 #ffe0cb,-10px 0 0 #ffe0cb,0 8px 0 #e8c4a8;border-color:#fffdf4;z-index:1}
.space-item-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}#platformLobby .space-item-options button,body .my-space-sheet .space-item-options button{min-height:110px;background:#fffdf9;color:#41526e;border:1px solid #e4d8cf;border-radius:18px;padding:8px;font-size:13px;line-height:1.5}
.space-item-options .furniture-art{height:68px;max-width:100px;margin:auto}#platformLobby .space-item-options button[aria-pressed="true"],body .my-space-sheet .space-item-options button[aria-pressed="true"]{border:2px solid #d78193;background:#fff0ed}
.my-space-category-content label{display:flex;flex-direction:column;gap:8px}.my-space-category-content select{min-height:44px;width:100%;max-width:100%;background:#fffaf4;color:#40526b;border:1px solid #ddcbbd;border-radius:12px;padding:8px}
body[data-theme] #mySpaceSheet{max-height:58dvh;overflow:auto;box-sizing:border-box}
#mySpacePage .cozy-poc-stage[data-room-theme="rose"]{background:linear-gradient(transparent 0 51%,#e8c1b3 51% 54%,transparent 54%),repeating-linear-gradient(90deg,transparent 0 9%,#dcb8b244 9% 9.3%,transparent 9.3% 18%),linear-gradient(#fbe7ea 0 54%,#ead3c9 54%)}
@media(max-width:1100px){#platformLobby[data-pages] #platformNavigation a{width:auto;max-width:none;min-width:max-content;flex:0 0 auto}#platformLobby[data-pages] #platformNavigation a span{max-width:none;white-space:nowrap}}
#platformLobby .platform-resume{width:min(1220px,100%);margin:auto;padding:8px 24px;box-sizing:border-box}#platformLobby .platform-resume:has(button[hidden]){display:none}#platformLobby .platform-resume button{min-height:44px;background:#dff2ed;color:#326c65;border:1px solid #b7d9cf;border-radius:15px}/* Section55: room objects and character share explicit foreground occlusion. */
#mySpacePage .room-furniture-layer{display:contents}
#mySpacePage .room-slot{pointer-events:none}
#mySpacePage .room-slot-front{pointer-events:none;border-radius:0}
#mySpacePage [data-cozy-action]:disabled,#mySpacePage [data-cozy-direction]:disabled{opacity:.45;cursor:not-allowed}