/* Phase 10: one responsive Home inside the existing Nexo application shell. */
html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-home{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important;padding:18px!important;align-content:start!important;background:#080d20!important;overflow:auto!important;min-width:0;color:#f8fafc}
html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-home[hidden]{display:none!important}
.hd-home *{box-sizing:border-box}.hd-main,.hd-aside{display:flex;flex-direction:column;gap:14px;min-width:0}.hd-home button{font:inherit;color:inherit;cursor:pointer}.hd-home button:disabled{cursor:wait;opacity:.65}.hd-home button:focus-visible,.hd-home summary:focus-visible{outline:2px solid #c084fc;outline-offset:3px}.hd-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #58317e;background:linear-gradient(135deg,#27143f,#11152e);border-radius:12px;padding:9px 12px;min-height:36px}.hd-button svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hd-button:hover{background:#462260;border-color:#a855f7}.hd-home .hd-hero{position:relative;isolation:isolate;display:flex;align-items:center;gap:20px;min-height:185px;padding:23px;border:1px solid #673098;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 85% 95%,#9415dc66,transparent 68%),linear-gradient(120deg,#140c29,#200644,#110b25)}.hd-hero-art{position:absolute;z-index:-1;right:0;top:0;width:420px;height:185px;background-image:url('/assets/illustrations/home-approved-reference.png');background-size:2257.2px 1270.35px;background-position:-999px -86.4px;mask-image:linear-gradient(90deg,transparent,#000 23%);opacity:.96;pointer-events:none}.hd-own-avatar{padding:0;border:0;background:none;flex:none!important;overflow:visible}.hd-own-avatar .avatar{width:85px!important;height:85px!important;box-shadow:0 0 22px #b65bff66}.hd-hero-copy{min-width:0;z-index:1}.hd-home .hd-hero h1{font-size:clamp(23px,2.05vw,34px)!important;line-height:1.15;letter-spacing:-.7px;margin:0 0 6px!important;text-shadow:0 1px 10px #160724}.hd-home .hd-hero h2{font-size:19px;margin:0 0 6px}.hd-hero p{font-size:14px;margin:0;color:#e1d5f4}.hd-hero-actions{display:flex;gap:8px;margin-top:12px}.hd-hero-actions .hd-button{font-size:11px;min-height:30px;padding:5px 9px;background:#1a1039dc}.hd-hero-actions svg{width:15px;height:15px}.hd-quick{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.hd-quick .hd-button{min-height:76px;padding:10px 4px;flex-direction:column;font-size:11px;font-weight:700;text-align:center;border-radius:15px;line-height:1.2}.hd-quick svg{width:28px;height:28px;color:#e6bbff;filter:drop-shadow(0 0 6px #a855f7)}.hd-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.hd-card{min-width:0;background:linear-gradient(135deg,#1d1232,#101429);border:1px solid #51316d;border-radius:17px;padding:14px}.hd-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #56337e44;margin-bottom:3px}.hd-home .hd-card h2{font-size:16px;font-weight:800;line-height:1.3;margin:0!important}.hd-home .hd-view{background:none;border:0;padding:2px;min-height:24px;font-size:10px;color:#d8a3f7;text-decoration:underline}.hd-view span{font-size:0}.hd-view span::after{content:'View All';font-size:11px}.hd-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;padding:9px 0;border:0;border-bottom:1px solid #633d803a;border-radius:0;background:none!important;text-align:left;min-width:0}.hd-row:last-child{border-bottom:0}.hd-row:hover,.hd-friend-profile:hover,.hd-notice:hover{background:#9b54dc15!important}.hd-row .avatar,.hd-friend-profile .avatar{width:38px!important;height:38px!important;flex:none!important}.hd-identity{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}.hd-identity strong{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:750;min-width:0}.hd-identity .verified-badge{width:14px!important;height:14px!important;flex:none}.hd-identity small{font-size:11px;line-height:1.4;color:#b5accb;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.hd-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none;font-size:10px;color:#c4b7d9}.hd-unread{background:linear-gradient(135deg,#d154ff,#8c12d5);color:#fff;border-radius:8px;min-width:21px;padding:2px 5px;font-size:10px;text-align:center}.hd-server-mark{height:37px;width:37px;background:linear-gradient(135deg,#9533ea,#35165a);border:1px solid #9f6ad4;border-radius:10px;display:grid;place-items:center;flex:none}.hd-server-mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.hd-server-mark svg{width:24px;height:24px}.hd-stat{border:0;border-radius:0;background:none!important;width:100%;justify-content:flex-start;border-bottom:1px solid #603c7b55;gap:13px;min-height:48px;padding:9px 5px}.hd-stat:last-child{border:0}.hd-stat svg{color:#e4acff;width:25px;height:25px}.hd-stat>span{display:flex;gap:7px;align-items:center;font-size:12px}.hd-stat strong{font-size:14px}.hd-stat small{font-size:12px}.hd-friend-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid #59337244}.hd-friend-profile{display:flex;align-items:center;flex:1;gap:8px;min-width:0;padding:8px 0;background:none!important;border:0;justify-content:flex-start;text-align:left}.hd-icon{padding:6px;min-height:32px;width:32px;flex:none;border-radius:10px}.hd-icon svg{width:16px;height:16px}.hd-explore{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.hd-explore .hd-button{flex-direction:column;gap:4px;min-height:99px;text-align:center;padding:10px 6px}.hd-explore svg{color:#daa0ff;filter:drop-shadow(0 0 5px #a855f7);width:28px;height:28px}.hd-explore span{font-size:13px;font-weight:800}.hd-explore small{font-size:10px;line-height:1.35;color:#c4b3d6}.hd-news{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px;background:none!important;width:100%;border:0;text-align:left;padding:9px 0;border-radius:0;align-items:center}.hd-news-art{height:115px;border:1px solid #a755ec;border-radius:12px;display:flex;flex-direction:column;justify-content:center;padding:12px;gap:10px;background:radial-gradient(ellipse at 80% 80%,#a119e766,transparent),linear-gradient(135deg,#37135b,#160a28);overflow:hidden}.hd-news-art img{width:100%;max-height:100%;object-fit:contain}.hd-news-art strong{font-size:19px;line-height:1.1}.hd-news h3{font-size:14px;margin:5px 0}.hd-news p{font-size:11px;line-height:1.5;color:#c4b8d7;margin:6px 0}.hd-tag{font-size:8px;background:#7638b9;border-radius:9px;padding:3px 7px}.hd-news-meta{font-size:9px;color:#b5a6c6}.hd-events .hd-row{align-items:flex-start}.hd-events .hd-row>svg{color:#dba8ff;padding:9px;box-sizing:content-box;background:#a437e122;border-radius:12px}.hd-events .hd-identity small{white-space:normal}.hd-plus p,.hd-empty{font-size:12px;color:#b4abc6;line-height:1.6;margin:10px 0}.hd-primary{background:linear-gradient(110deg,#9d28e8,#7118bd);width:100%;font-size:12px}.hd-notice{width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #4b2d6e55;border-radius:0;justify-content:flex-start;padding:10px 0}.hd-notice time{font-size:10px;color:#9d92b3}.hd-text-action{background:none;border:0;padding:4px;color:#d4a0f5;font-size:11px}.hd-community-feed{border:1px solid #483061;border-radius:14px;padding:12px;background:#101429;min-width:0}.hd-community-feed>summary{cursor:pointer;font-size:13px;color:#baabd0;list-style:revert}.hd-game-links{display:flex;gap:9px;margin:12px 0}.hd-skeleton,.hd-error{grid-column:1/-1;padding:22px;border:1px solid #684194;border-radius:15px;min-height:150px;background:#151b3b;color:#c5b7dc}.hd-skeleton{animation:hd-pulse 1.4s ease-in-out infinite alternate}.hd-error{min-height:0}.hd-error p{margin-top:0}@keyframes hd-pulse{to{opacity:.6}}
@media(min-width:1450px){.hd-home .hd-updates{grid-column:1}.hd-home .hd-events{grid-column:2}.hd-news{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:1250px){html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-home{grid-template-columns:minmax(0,1fr) 280px!important;gap:12px!important;padding:14px!important}.hd-grid{grid-template-columns:1fr}.hd-quick{grid-template-columns:repeat(4,minmax(0,1fr))}.hd-hero-art{opacity:.45}.hd-own-avatar .avatar{width:65px!important;height:65px!important}.hd-home .hd-hero{padding:18px;gap:16px}}
@media(max-width:950px){html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-home{grid-template-columns:1fr!important}.hd-main,.hd-aside{display:contents}.hd-hero{order:0}.hd-quick{order:1}.hd-overview{order:2}.hd-grid{display:contents}.hd-messages{order:3}.hd-online{order:4}.hd-servers{order:5}.hd-explore-card{order:6}.hd-updates{order:7}.hd-events{order:8}.hd-plus{order:9}.hd-notifications{order:10}.hd-community-feed{order:12}.hd-overview{display:grid;grid-template-columns:1fr 1fr;gap:5px}.hd-overview header{grid-column:1/-1}.hd-stat{border:0;padding:7px}.hd-explore{grid-template-columns:repeat(3,1fr)}.hd-explore .hd-button{min-height:90px}.hd-home .hd-hero{min-height:185px}.hd-home .hd-hero h1{font-size:28px!important}}
@media(max-width:600px){html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-home{padding:12px 10px calc(90px + env(safe-area-inset-bottom))!important;gap:12px!important}.hd-home .hd-hero{min-height:170px;gap:12px;padding:15px 12px;align-items:flex-start;border-radius:16px}.hd-own-avatar .avatar{width:50px!important;height:50px!important}.hd-home .hd-hero h1{font-size:21px!important;letter-spacing:-.4px}.hd-home .hd-hero h2{font-size:13px;margin-top:5px}.hd-hero p{font-size:10px;max-width:235px;line-height:1.5}.hd-hero-art{opacity:.55;width:225px;background-position:-1093px -86.4px;right:-40px}.hd-hero-copy{padding-top:2px}.hd-hero-actions{flex-wrap:wrap;gap:5px}.hd-hero-actions .hd-button{font-size:10px;padding:5px;min-height:29px}.hd-quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.hd-quick .hd-button{font-size:9px;min-height:66px;padding:7px 3px}.hd-quick svg{height:24px;width:24px}.hd-card{padding:12px;border-radius:15px}.hd-home .hd-card h2{font-size:15px}.hd-row{padding:10px 0}.hd-identity strong{font-size:13px}.hd-identity small{font-size:11px}.hd-explore{grid-template-columns:1fr 1fr}.hd-stat{gap:7px;padding:5px 0}.hd-stat strong{font-size:14px}.hd-stat small{font-size:11px}.hd-stat svg{width:21px;height:21px}.hd-stat>span{gap:5px}.hd-news{grid-template-columns:115px minmax(0,1fr)}.hd-news-art{height:110px}.hd-news h3{font-size:13px}.hd-news p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hd-home *{animation:none!important;scroll-behavior:auto!important}}

.hd-grid>.hd-card{align-self:stretch}.hd-home .hd-identity strong{font-size:13px!important}.hd-home .hd-identity small{font-size:11px!important}.hd-home .hd-news h3{font-size:14px!important}.hd-home .hd-news p{font-size:11px!important}

html.nexo-v2.nexo-ecosystem #workspace.reference-home-active .chat>.chat-header{display:none!important}#workspace #home-dashboard{overflow-anchor:none!important}

html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open>.sidebar,html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open>.members-card{display:none!important}
html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open>.chat{display:flex!important;grid-column:2/-1!important;min-width:0;overflow:hidden!important}
html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open>.chat>:not(#friends-dialog){display:none!important}
html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open #friends-dialog{display:block!important;flex:1;width:100%!important;max-width:none!important;min-height:0;overflow:auto!important;padding:18px!important;box-sizing:border-box}
@media(max-width:1100px){html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open>.chat{grid-column:1/-1!important}html.nexo-v2.nexo-ecosystem #workspace.hd-friends-open #friends-dialog{padding-bottom:90px!important}}

html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-call-active{padding-bottom:230px!important}.hd-home .hd-voice{order:3}.hd-home .hd-voice .hd-row>span{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.hd-home .hd-voice small{font-size:11px;color:#b8accb}
@media(max-width:600px){html.nexo-v2.nexo-ecosystem #workspace #home-dashboard.hd-call-active{padding-bottom:300px!important}}
