#dj-request-app {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: #eee;
}

.djrs-event-title {
    text-align: center;
    margin-bottom: 1rem;
}

#djrs-form {
    background: #111;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 0 10px rgba(230, 0, 204, 0.1);
}

.djrs-field-label {
    display: block;
    margin: 0.7rem 0 0.35rem;
    font-size: 0.95rem;
    color: #ccc;
    font-weight: 600;
}

#djrs-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    background: #1a1a1a;
    color: #eee;
}

.djrs-search-wrap {
    position: relative;
}

#djrs-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 6px);
    z-index: 50;
    max-height: 340px;
    overflow-y: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(18,18,20,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.djrs-suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 66px;
    padding: 8px 12px !important;
    cursor: pointer;
    transition: background 0.18s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.djrs-suggestion-item:last-child {
    border-bottom: none;
}

.djrs-suggestion-item:hover {
    background: rgba(255,255,255,0.07);
}

.djrs-suggestion-item img,
.djrs-suggestion-placeholder {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
    flex: 0 0 50px !important;
    background: rgba(255,255,255,0.08);
}

.djrs-suggestion-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    min-width: 0;
    width: calc(100% - 62px);
    overflow: hidden;
}

.djrs-suggestion-text strong,
.djrs-suggestion-text span,
.djrs-suggestion-text small {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.djrs-suggestion-text strong {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.djrs-suggestion-text span {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.2;
    color: rgba(255,255,255,0.78);
}

.djrs-suggestion-text small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.2;
    color: rgba(255,255,255,0.42);
}

.djrs-suggestion-loading,
.djrs-suggestion-empty {
    padding: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}

#djrs-selected-track {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #181818;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 9px 10px;
    margin: 0.2rem 0 1rem;
}

#djrs-selected-track img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

#djrs-selected-track div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#djrs-selected-track strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#djrs-selected-track span {
    color: #aaa;
    font-size: 0.88rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#djrs-open-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #a359ee;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 1rem;
}

#djrs-open-form:hover {
    background-color: #950095;
}

#djrs-submit {
    background: transparent;
    color: #e600cc;
    border: 2px solid #e600cc;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

#djrs-submit:hover {
    background: #e600cc;
    color: #000;
}

#djrs-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    margin-left: 0;
}

#djrs-list li {
    padding: 0.9rem 1rem;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-left: 4px solid #e600cc;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #eee;
    box-shadow: 0 0 8px rgba(230, 0, 204, 0.15);
    gap: 1rem;
}

#djrs-list li.done {
    opacity: 0.4;
    border-color: #444;
    color: #aaa;
}

#djrs-list li.done .djrs-song-title {
    text-decoration: line-through;
}

.djrs-request-main {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.djrs-song-title {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.djrs-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.djrs-heart {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    color: #aaa;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s ease, color 0.2s ease;
}

.djrs-heart.voted {
    color: #ff3366;
}

.djrs-heart:hover {
    transform: scale(1.1);
}

.djrs-heart span {
    margin-left: 5px;
    font-weight: bold;
    font-size: 1rem;
}

#djrs-list button {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #eee;
    transition: color 0.2s ease;
    padding: 0;
}

#djrs-list button.mark-done:hover {
    color: #28d96c;
}

#djrs-list button.delete-request:hover {
    color: #ff0033;
}

#djrs-feedback-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.djrs-feedback-inner {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #111;
    color: #eee;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 0 26px rgba(230, 0, 204, 0.25);
    text-align: center;
}

.djrs-feedback-inner h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.45rem;
}

.djrs-feedback-inner h4 {
    margin: 1rem 0 0.5rem;
    color: #fff;
    font-size: 1.15rem;
}

.djrs-feedback-inner p {
    color: #ccc;
    margin: 0 0 0.9rem;
    line-height: 1.45;
}

.djrs-partner-note {
    color: #b9a7ff !important;
    font-size: 0.98rem;
    margin-top: -0.2rem !important;
    margin-bottom: 1.2rem !important;
}

#djrs-feedback-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    color: #aaa;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

#djrs-feedback-close:hover {
    color: #fff;
}

.djrs-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.djrs-stars button {
    background: transparent;
    border: none;
    color: #555;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.1s ease, color 0.15s ease;
    padding: 0;
}

.djrs-stars button:hover,
.djrs-stars button.active {
    color: #ffd447;
    transform: scale(1.08);
}

.djrs-social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1.3rem;
}

.djrs-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    color: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.djrs-social-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    color: #fff;
}

.djrs-twitch-button {
    background: #9146ff;
}

.djrs-instagram-button {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.djrs-social-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.djrs-close-modal-button,
.djrs-skip-feedback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #aaa;
    border: 1px solid #444;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    margin-top: 1.2rem;
}

.djrs-close-modal-button:hover,
.djrs-skip-feedback:hover {
    background: #222;
    color: #fff;
    border-color: #666;
}

.djrs-subtle-close {
    font-size: 0.95rem;
    opacity: 0.85;
}

@media (max-width: 600px) {
    #dj-request-app {
        font-size: 1rem;
    }

    #djrs-form {
        padding: 0.85rem;
    }

    #djrs-suggestions {
        max-height: 290px;
    }

    .djrs-suggestion-item {
        min-height: 60px;
        padding: 8px 10px !important;
        gap: 10px !important;
    }

    .djrs-suggestion-item img,
    .djrs-suggestion-placeholder {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex-basis: 44px !important;
        border-radius: 8px !important;
    }

    .djrs-suggestion-text {
        width: calc(100% - 54px);
    }

    .djrs-suggestion-text strong {
        font-size: 13px;
    }

    .djrs-suggestion-text span {
        font-size: 12px;
    }

    .djrs-suggestion-text small {
        display: none;
    }

    #djrs-list li {
        align-items: flex-start;
        flex-direction: column;
        padding: 0.85rem;
    }

    .djrs-request-main {
        width: 100%;
    }

    .djrs-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .djrs-stars button {
        font-size: 2.1rem;
    }

    .djrs-social-buttons {
        flex-direction: column;
    }

    .djrs-social-button {
        width: 100%;
    }
}