#mature-toggle{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;min-width:36px;border-radius:50%;border:1px solid #d84258;background:#b52740;color:#fff;font-size:12px;font-weight:700;padding:0;isolation:isolate}
#mature-toggle::after{content:"";position:absolute;inset:-2px;border:2px solid #ef5268;border-radius:50%;opacity:0;pointer-events:none;animation:mature-glow 8s ease-out infinite}
#mature-toggle[aria-pressed=true]{background:#ec3456;box-shadow:0 0 12px #eb365578}
body #chat-form{grid-template-columns:36px minmax(0,1fr) auto 36px 36px 36px}
body #mature-toggle{grid-column:4;grid-row:1}
body #voice-button{grid-column:5}
body #send-button{grid-column:6}
@media(max-width:560px){body #chat-form{grid-template-columns:30px minmax(0,1fr) auto 32px 32px 34px;gap:4px}body #mature-toggle{width:32px;height:32px;min-width:32px}}
@keyframes mature-glow{0%,70%,100%{opacity:0;transform:scale(1)}74%{opacity:.6}90%{opacity:0;transform:scale(1.5)}}
#mature-dialog{width:min(420px,calc(100vw - 24px));padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text)}
#mature-dialog::backdrop{background:#080b1699}#mature-dialog h2{font-size:24px;margin:0}#mature-dialog p{font-size:14px;line-height:1.6;color:var(--muted)}#mature-age-row{display:flex;gap:10px;align-items:center;font-size:14px;margin:20px 0}#mature-age-row input{width:18px;height:18px}#mature-enable{width:100%;background:#b52740;color:#fff;border:0;border-radius:12px;padding:12px;font-size:14px;font-weight:700}#mature-enable:disabled{opacity:.45}#mature-status{color:#ef9ba7}#mature-dialog .editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#mature-dialog [data-close]{background:transparent;border:0;color:inherit;padding:8px}
.image-quality{display:grid;gap:6px;font-size:14px;margin:12px 0}.image-quality select{font:inherit;padding:10px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:var(--field)}.image-quality small{font-size:12px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){#mature-toggle::after{animation:none}}

#mature-age-row[hidden]{display:none}

#mature-ideas-dialog{width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text)}#mature-ideas-dialog .editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#mature-ideas-title{font-size:20px;margin:0 0 16px}#mature-ideas-dialog [data-close]{background:transparent;border:0;color:inherit;padding:8px}#mature-ideas-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#mature-ideas-list button{font:inherit;font-size:14px;line-height:1.4;text-align:left;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);min-height:48px}#mature-ideas-list button:hover{border-color:#d84258}#mature-more{border-color:#d84258;color:var(--text)}
