/* Shared sphere sections use the active theme's colours. */
.sphere-world{min-width:0;scroll-margin-top:24px}
.sphere-world .sphere-title{display:flex;align-items:center;gap:10px}
.sphere-world .sphere-title h3{flex:1;min-width:0;overflow-wrap:anywhere;margin:0}
.sphere-world .sphere-title>.icon-button{flex:0 0 auto;margin-left:auto}
.sphere-subtitle{color:var(--muted);font-size:13px;margin:2px 0 20px}
.sphere-subsection{border:1px solid var(--line);border-radius:12px;background:var(--field);margin-top:10px;overflow:hidden}
.sphere-subsection>summary,.profile-world-section>summary{cursor:pointer;position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:14px 16px;list-style:none;font-weight:650;color:var(--ink)}
.sphere-subsection>summary::-webkit-details-marker,.profile-world-section>summary::-webkit-details-marker{display:none}
.sphere-subsection>summary:before,.profile-world-section>summary:before{content:'›';font-size:22px;line-height:1;color:var(--purple);flex:0 0 auto}
.sphere-subsection[open]>summary:before,.profile-world-section[open]>summary:before{transform:rotate(90deg)}
.sphere-subsection>summary>span:first-of-type,.profile-world-section>summary>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
.sphere-subsection .capacity,.profile-world-section .capacity{white-space:nowrap;flex:0 0 auto}
.sphere-subsection[open]>summary{border-bottom:1px solid var(--line);background:var(--panel-raised)}
.sphere-section-body{padding:14px 16px 18px;min-width:0}
.sphere-world>.sphere-section-body{padding:12px 0 0}
.section-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;flex-wrap:wrap}
.section-tools .core{margin:0}.section-tools .small{font-size:11px}
.sphere-section-body .interest-name{min-width:0;overflow-wrap:anywhere}
.sphere-section-body .interest-form{display:flex;gap:8px;margin-top:16px}
.sphere-section-body .interest-form input{flex:1;min-width:0;width:auto}
.sphere-section-body .interest-form button{flex:0 0 auto}
.sphere-section-body .suggestions{display:flex;flex-wrap:wrap;gap:8px}
.sphere-section-body .suggestions button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.45;min-height:40px;font-size:12px;padding:9px 12px}
.sphere-section-body .suggestion-related{border-color:var(--purple)}
.sphere-section-body .suggestion-library{margin-top:18px}
.sphere-section-body .suggestion-library>summary{font-size:13px;cursor:pointer;min-height:32px}
.sphere-section-body .suggestion-library>p{font-size:11px;margin:6px 0 12px}
.profile-world{grid-column:1/-1}
.profile-world-section{border-top:1px solid var(--line);margin-top:8px}
.profile-world-section>.profile-sphere{border:0;box-shadow:none;padding:0 16px 16px}
.profile-world-section>.profile-sphere>header h3{display:none}
@media(max-width:600px){.sphere-world{padding:14px!important}.sphere-subsection>summary{padding:12px}.sphere-section-body{padding:12px}.sphere-section-body .suggestions{gap:7px}.sphere-section-body .suggestions button{min-height:44px}.sphere-subtitle{margin-bottom:12px}.sphere-world .sphere-title h3{font-size:17px}.profile-world-section>summary{padding:12px 0}}
@media(prefers-reduced-motion:reduce){.sphere-world *{animation:none!important;transition:none!important}}
