
/* STEP26: Cosmic Legends selection */
.nova-avatar-panel{margin:22px auto;padding:20px;max-width:1100px;background:linear-gradient(130deg,rgba(5,10,30,.94),rgba(35,12,43,.91));border:1px solid #d8a94b;border-radius:18px;color:#f9e9c5;box-shadow:0 0 35px #d6a04d24}
.nova-avatar-panel h2{margin:0 0 8px;color:#ffd47b}.nova-avatar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin:20px 0}.nova-avatar-choice{border:1px solid #a67d40;border-radius:12px;background:#090d1d;padding:8px;color:#ffdb89;cursor:pointer;min-width:0}.nova-avatar-choice img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid #eab758}.nova-avatar-choice span{display:block;font-size:11px;margin-top:8px;overflow-wrap:anywhere}.nova-avatar-choice[aria-pressed=true]{outline:3px solid #ffda65;box-shadow:0 0 22px #e6b34580}.nova-avatar-preview{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.nova-avatar-preview img{width:92px;height:92px;border-radius:50%;border:3px solid #ffd778}.nova-avatar-save{padding:12px 23px;border-radius:12px;border:1px solid #f6c96b;background:linear-gradient(#ffe29a,#d8992f);color:#281400;font-weight:800;cursor:pointer}.nova-avatar-note{font-size:13px;opacity:.85}.nova-selected-avatar{background-image:var(--nova-avatar-url)!important;background-size:cover!important;background-position:center!important}.nova-selected-avatar::before,.nova-selected-avatar::after{display:none!important}@media(max-width:760px){.nova-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nova-avatar-panel{padding:12px}.nova-avatar-choice span{font-size:10px}}

/* STEP31: compact gallery inside the profile; closed by default */
#nova-avatar-gallery[hidden]{display:none!important}#nova-avatar-gallery{width:100%;min-width:0}.nova-avatar-panel{max-width:100%;margin:18px 0 0}.nova-avatar-menu-button{display:block;width:100%;text-align:left;border:1px solid rgba(234,183,88,.35);border-radius:10px;padding:12px 14px;background:rgba(11,18,43,.55);color:#f6d58b;font:inherit;cursor:pointer}.nova-avatar-menu-button:hover,.nova-avatar-menu-button[aria-expanded=true]{background:rgba(234,183,88,.16);border-color:#f4c66a}.nova-avatar-choice img,.nova-avatar-preview img{border-color:rgba(123,204,246,.6)}
