/* Mobile-first NOMI events and avatar-frame selector. */
.nomi-extra-screen[hidden]{display:none!important}
.nomi-extra-screen{max-width:950px;margin:0 auto 24px;padding:16px;color:#f6e9ff}
.nomi-extra-heading{padding:22px;border:1px solid #77519a;border-radius:16px;background:linear-gradient(125deg,#302050,#231338)}
.nomi-extra-heading h2{margin:0 0 8px;font-size:clamp(1.3rem,3vw,1.7rem)}
.nomi-extra-heading p{margin:0;color:#e8d4f5;line-height:1.55}
.nomi-extra-compose{margin:15px 0;padding:15px;border:1px solid #74519b;border-radius:12px;background:#291a3e}
.nomi-extra-compose summary{cursor:pointer;font-weight:700}
#nomiEventForm{display:grid;gap:12px;padding-top:14px}
#nomiEventForm label{display:grid;gap:5px}
#nomiEventForm input:not([type=checkbox]),#nomiEventForm textarea{width:100%;min-width:0;border:1px solid #8c6eae;background:#1b1229;color:white;padding:12px;border-radius:8px;font:inherit}
#nomiEventForm button,.nomi-extra-tools button,.nomi-event-actions button{border:1px solid #a785d1;border-radius:9px;background:#553273;color:white;padding:10px 14px;cursor:pointer;font:inherit}
#nomiEventForm .nomi-extra-check{display:flex;flex-direction:row;gap:10px;align-items:center}
.nomi-extra-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}
.nomi-events-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}
.nomi-event-card{padding:16px;border:1px solid #7f5ba6;background:#302147;border-radius:15px;min-width:0;overflow-wrap:anywhere}
.nomi-event-card h3{margin:0 0 6px}.nomi-event-meta{color:#e4ccff;font-weight:650}
.nomi-event-description{white-space:pre-wrap;line-height:1.55}.nomi-event-count{font-size:.9rem}
.nomi-event-actions{display:flex;flex-wrap:wrap;gap:8px}.nomi-event-actions button:disabled{opacity:.6;cursor:not-allowed}
.nomi-event-actions .nomi-extra-danger{background:#6c2839}
.nomi-frame-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px;margin:16px 0}
.nomi-frame-choice{min-height:75px;padding:13px;background:#291b43;color:white;border:3px solid #635075;border-radius:18px;cursor:pointer;font:inherit}
.nomi-frame-choice.selected{outline:3px solid white;outline-offset:2px}
.nomi-frame-chip-gold{border-color:#e8c45c}.nomi-frame-chip-silver{border-color:#d9edf5}
.nomi-frame-chip-ruby{border-color:#e0446c}.nomi-frame-chip-sapphire{border-color:#369df0}
.nomi-frame-chip-violet{border-color:#a76deb}.nomi-frame-chip-forest{border-color:#3ad18b}
.nomi-frame-chip-sunset{border-color:#f39d4b}.nomi-frame-chip-neon{border-color:#49e5ed}
#profileAvatar.nomi-frame-gold,#profileAvatarPlaceholder.nomi-frame-gold{box-shadow:0 0 0 5px #e8c45c,0 0 20px 8px #e8c45c88}
#profileAvatar.nomi-frame-silver,#profileAvatarPlaceholder.nomi-frame-silver{box-shadow:0 0 0 5px #d9edf5,0 0 20px 8px #b7d7f588}
#profileAvatar.nomi-frame-ruby,#profileAvatarPlaceholder.nomi-frame-ruby{box-shadow:0 0 0 5px #db3d69,0 0 22px 8px #dd355f88}
#profileAvatar.nomi-frame-sapphire,#profileAvatarPlaceholder.nomi-frame-sapphire{box-shadow:0 0 0 5px #369df0,0 0 20px 8px #478aff88}
#profileAvatar.nomi-frame-violet,#profileAvatarPlaceholder.nomi-frame-violet{box-shadow:0 0 0 5px #a76deb,0 0 22px 8px #a76deb88}
#profileAvatar.nomi-frame-forest,#profileAvatarPlaceholder.nomi-frame-forest{box-shadow:0 0 0 5px #3ad18b,0 0 20px 8px #38d38a88}
#profileAvatar.nomi-frame-sunset,#profileAvatarPlaceholder.nomi-frame-sunset{box-shadow:0 0 0 5px #f39d4b,0 0 20px 8px #ef7e6b88}
#profileAvatar.nomi-frame-neon,#profileAvatarPlaceholder.nomi-frame-neon{box-shadow:0 0 0 5px #49e5ed,0 0 22px 8px #d866f688}
@media(max-width:540px){.nomi-extra-screen{padding:9px}.nomi-extra-heading{padding:15px}.nomi-events-list{grid-template-columns:1fr}.nomi-frame-options{grid-template-columns:repeat(2,minmax(0,1fr))}.nomi-frame-choice{min-height:85px}}
