.autodj-form { margin: 0; display: flex; }
.autodj-feedback { position: fixed; top: calc(var(--topbar-height, 82px) + 12px); right: 18px; max-width: min(440px, calc(100vw - 36px)); padding: 15px 18px; border: 1px solid #dbe2ed; border-radius: 14px; background: #fff; color: #273346; box-shadow: 0 8px 28px #0002; z-index: 60; font-size: 14px; line-height: 1.5; }
.autodj-feedback[hidden] { display: none; }
.user-role-form { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px; }
.user-role-form select { border-radius: 8px; border: 1px solid #ccd3dc; padding: 7px; max-width: 180px; background: #fff; color: #273346; }
.user-role-form .button { min-height: 34px; padding: 6px 12px; font-size: 12px; }

.autodj-form .playlist-button.autodj-morph { width: 54px; min-width: 54px; height: 54px; min-height: 54px; flex: 0 0 54px; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.autodj-form .playlist-button.autodj-morph:hover { background: #282c31; border-color: #788fb0; }
.autodj-form .playlist-button.autodj-morph:focus-visible { outline: 2px solid #80adff; outline-offset: 3px; }
.autodj-morph svg { flex-shrink: 0; transform-origin: center; pointer-events: none; }
.autodj-feedback:not([hidden]) { animation: autodj-notice .18s ease-out; }
@keyframes autodj-notice { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
    .autodj-form .playlist-button.autodj-morph { width: 38px; min-width: 38px; height: 38px; min-height: 38px; flex-basis: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .autodj-form .playlist-button.autodj-morph { transition: none; }
    .autodj-feedback:not([hidden]) { animation: none; }
}
