/* Submission Form Styles */
.submission-form-container {
    --lars-form-accent-border: var(--lars-form-button-background, #f97316);
    --lars-form-accent-border-strong: var(--lars-form-button-hover-background, rgba(249, 115, 22, 0.9));
    --lars-form-drop-bg: rgba(17, 12, 8, 0.9);
    --lars-form-drop-bg-strong: rgba(17, 12, 8, 0.94);
    --lars-form-button-shadow: rgba(249, 115, 22, 0.35);
    --lars-form-button-shadow-strong: rgba(249, 115, 22, 0.45);
    --lars-form-font-base: 16px;
    --lars-form-font-label: 12px;
    --lars-form-font-heading: 18px;
    --lars-form-font-button: 16px;
    max-width: 760px;
    margin: 24px auto;
    padding: 28px;
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.08), transparent 26%), var(--lars-form-background, #0b1018);
    border: 1px solid var(--lars-form-border, rgba(255, 255, 255, 0.06));
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    color: #e5e7eb;
}

.submission-form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--lars-form-heading-color, #f3f4f6);
    letter-spacing: 0.04em;
    font-size: var(--lars-form-font-heading, 18px);
}

.user-queue-position {
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--lars-form-font-base, 16px);
    margin-bottom: 14px;
    font-weight: 700;
}

.user-queue-position a {
    color: var(--lars-form-button-font-color, #f3f4f6);
    text-decoration: underline;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: var(--lars-form-font-label, 12px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lars-form-label-color, #e5e7eb);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lars-form-input-border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    font-size: var(--lars-form-font-base, 16px);
    background: var(--lars-form-input-bg, rgba(255, 255, 255, 0.04));
    color: var(--lars-form-input-color, #f3f4f6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(229, 231, 235, 0.7);
    opacity: 1;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lars-form-input-border, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    font-size: var(--lars-form-font-base, 16px);
    background: var(--lars-form-input-bg, rgba(255, 255, 255, 0.04));
    color: var(--lars-form-input-color, #f3f4f6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lars-form-accent-border, #f97316);
    box-shadow: 0 0 0 1px var(--lars-form-accent-border, #f97316), 0 0 0 6px var(--lars-form-accent-border-strong, rgba(249, 115, 22, 0.12));
    background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background: #000;
    color: #fff;
}

.form-group textarea {
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.upload-group {
    margin-top: 26px;
}

.upload-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    max-width: none;
    width: 100%;
}

.upload-toggle {
    width: 100%;
    border: 1px solid var(--lars-form-input-border, rgba(255, 255, 255, 0.08));
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    text-align: center;
    font-size: var(--lars-form-font-button, 16px);
    min-height: 56px;
}

.upload-toggle:hover {
    border-color: var(--lars-form-accent-border, rgba(249, 115, 22, 0.4));
    transform: translateY(-1px);
}

.upload-toggle.is-active {
    border-color: var(--lars-form-accent-border, #f97316);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
    background: radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.08), rgba(255, 255, 255, 0.04));
}

.upload-type-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.upload-type-icon::before {
    content: "\21e7";
    font-size: 16px;
    color: var(--lars-form-input-color, #f3f4f6);
}

.upload-type-icon--globe::before {
    content: "\25cf";
}

.upload-type-title {
    font-weight: 700;
    font-size: var(--lars-form-font-button, 16px);
}

.upload-toggle-content {
    display: none;
}

.upload-toggle-content.is-active {
    display: block;
}

.upload-drop {
    position: relative;
}

.upload-input {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    opacity: 0.001;
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px dashed var(--lars-form-accent-border, rgba(249, 115, 22, 0.65));
    background: var(--lars-form-drop-bg, rgba(17, 12, 8, 0.9));
    border-radius: 16px;
    padding: 32px 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 170px;
    text-align: center;
}

.upload-dropzone:hover {
    border-color: var(--lars-form-accent-border-strong, rgba(249, 115, 22, 0.9));
    background: var(--lars-form-drop-bg-strong, rgba(17, 12, 8, 0.94));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.upload-dropzone.is-hovered {
    border-color: var(--lars-form-accent-border-strong, rgba(249, 115, 22, 0.9));
    background: var(--lars-form-drop-bg-strong, rgba(17, 12, 8, 0.96));
}

.upload-drop-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}

.upload-drop-icon::before {
    content: "\21e7";
    font-size: 18px;
    color: var(--lars-form-button-background, #f97316);
}

.upload-drop-title {
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--lars-form-input-color, #f3f4f6);
}

.upload-drop-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.upload-drop-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.upload-drop-status {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.donation-group.hidden {
    display: none;
}

.lane-group {
    margin-top: 10px;
}

.lane-header {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.lane-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lane-toggle {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    font-size: var(--lars-form-font-button, 16px);
}

.lane-toggle:hover {
    border-color: var(--lars-form-accent-border, rgba(249, 115, 22, 0.4));
    transform: translateY(-1px);
}

.lane-toggle.is-active {
    border-color: var(--lars-form-accent-border, #f97316);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
    background: radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.08), rgba(255, 255, 255, 0.04));
}

.lane-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lane-text--centered {
    align-items: center;
    text-align: center;
    width: 100%;
}

.lane-title {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: var(--lars-form-font-button, 16px);
}

.lane-subtitle {
    font-size: calc(var(--lars-form-font-button, 16px) * 0.8);
    color: rgba(255, 255, 255, 0.7);
}

.lane-price {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    font-size: var(--lars-form-font-button, 16px);
}

.lane-price--stacked {
    margin-top: 2px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submission-form-popup-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.submission-form-open-btn {
    background-color: var(--lars-popup-button-background, #111827);
    color: var(--lars-popup-button-color, #ffffff);
    padding: 16px 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    border-color: var(--lars-popup-button-border, rgba(255, 255, 255, 0.25));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: block;
    width: 100%;
}

.submission-form-open-btn:hover {
    transform: translateY(-1px);
    background-color: var(--lars-popup-button-hover-background, #0f172a);
    border-color: var(--lars-popup-button-border, var(--lars-popup-button-hover-background, #0f172a));
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.35);
}

.submission-form-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.submission-form-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.submission-form-modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 14px;
    width: min(600px, 100%);
    max-height: 90vh;
    overflow: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    z-index: 2;
    color: #fff;
}

.submission-form-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}

.submission-form-modal-body {
    padding: 30px 30px 20px;
    overflow-y: auto;
    max-height: 85vh;
    background: transparent;
}

body.submission-form-modal-open {
    overflow: hidden;
}

.submission-form-container .submit-button {
    background-image: linear-gradient(
        135deg,
        var(--lars-form-button-background, #f97316),
        var(--lars-form-button-hover-background, #f59e0b)
    );
    background-color: var(--lars-form-button-background, #f97316);
    color: var(--lars-form-button-font-color, #111);
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: var(--lars-form-font-button, 16px);
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 30px var(--lars-form-button-shadow, rgba(249, 115, 22, 0.35));
}

.submission-form-container .submit-button:hover {
    background-color: var(--lars-form-button-hover-background, #ea580c);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px var(--lars-form-button-shadow-strong, rgba(249, 115, 22, 0.45));
}

.submit-button:disabled {
    background: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.8;
}

/* Audio Player Styles */
.audio-player-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.now-playing-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.now-playing-section h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    text-align: center;
}

.now-playing-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.song-info h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: bold;
}

.song-info .artist {
    margin: 0 0 15px 0;
    font-size: 16px;
    opacity: 0.9;
}

.media-player {
    margin: 20px 0;
}

.audio-controls {
    margin: 15px 0;
}

.main-audio-player {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

.embedded-player {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.embedded-player iframe {
    border-radius: 8px;
    max-width: 100%;
}

.generic-link-player {
    background: rgba(255,255,255,0.2) !important;
    border: 2px dashed rgba(255,255,255,0.3);
    color: white !important;
}

.generic-link-player p {
    color: white !important;
    font-weight: bold;
}

.playlist-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.playlist-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    text-align: center;
}

.playlist {
    display: grid;
    gap: 15px;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.playlist-item:hover {
    background: #e9ecef;
    border-left-color: #0073aa;
    transform: translateX(5px);
}

.playlist-item .song-info h5 {
    margin: 0 0 5px 0;
}

.playlist-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.play-button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Active playlist item */
.playlist-item.active {
    background: #e7f3ff;
    border-color: #007cba;
}

.playlist-item.active .song-info h4 {
    color: #007cba;
}

.playlist-item .song-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.playlist-item .artist {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.playlist-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.play-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.play-button:hover {
    background: #218838;
    transform: scale(1.05);
}

.play-button.playing {
    background: #dc3545;
}

.external-link {
    background: #0073aa;
    color: white !important;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.external-link:hover {
    background: #005a87;
    transform: scale(1.05);
}

/* Playlist Controls */
.playlist-platform-link {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.playlist-platform-link:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Submission List Styles */
.submission-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: var(--lars-list-font-base, 16px);
    line-height: 1.5;
}

.submission-list .submission-list-title,
.submission-list h2,
.submission-list .line-header {
    font-size: var(--lars-list-font-heading, 22px);
    font-weight: 800;
    margin-bottom: 16px;
}

.lars-list-card {
    background-color: var(--lars-card-bg, var(--lars-submission-bg-color, transparent));
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    padding: 18px;
    margin-bottom: 15px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lars-list-card:hover {
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.lars-card-no-border {
    border: none !important;
    box-shadow: none !important;
}

.submission-item {
    background-color: var(--lars-submission-bg-color, transparent);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    transition: border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    font-size: var(--lars-list-font-base, 16px);
}

.submission-item h4 {
    font-size: var(--lars-list-font-heading, 18px);
}

.submission-item p,
.submission-item .artist,
.submission-item .submission-meta {
    font-size: var(--lars-list-font-base, 16px);
}

.submission-item .artist {
    margin: 0;
}

.submission-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.submission-boost-controls {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.submission-boost-controls .button {
    margin: 0 !important;
}

.lars-open-boost {
    background: #0f0f0f !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.boost-payment-links .button {
    background: #0f0f0f !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    margin-top: 6px;
    flex: 1 1 180px;
    min-width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boost-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.boost-modal .boost-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.boost-modal .boost-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 92%);
    background: #0f0f0f;
    color: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.boost-modal h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.boost-modal .boost-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.boost-modal .boost-status {
    margin-top: 6px;
    font-size: 13px;
    color: #e2e8f0;
}

.boost-modal .boost-payment-links .button {
    margin-top: 0;
}

.submission-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.submission-position {
    font-size: var(--lars-list-font-base, 16px);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

.submission-actions .button,
.submission-actions .platform-link,
.submission-actions .lars-open-player-btn {
    font-size: var(--lars-list-font-base, 16px);
    padding: 8px 12px;
}

.submission-item:hover {
    border-color: #007cba;
    transform: translateY(-1px);
}

.submission-item.active {
    border-color: #007cba;
}

.submission-item .lars-player-wrapper,
.submission-item .lars-advanced-player,
.submission-item .lars-link-player-embed,
.submission-item iframe,
.spotlight-item .lars-player-wrapper,
.spotlight-item .lars-advanced-player,
.spotlight-item .lars-link-player-embed,
.spotlight-item iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow: hidden;
}

.lars-link-player-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 500px;
    border: 0;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .lars-link-player-embed iframe {
        height: 210px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .lars-link-player-embed iframe {
        height: 320px;
    }
}

/* Constrain inline players inside modal/lightboxes */
.lars-player-template iframe,
.lars-player-template .lars-advanced-player {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

/* Boost position popover styling */
.submission-boost-controls .lars-boost-form {
    background: #0b1220 !important;
    color: #32ff7e !important;
    border-color: #1f2937 !important;
}
.submission-boost-controls .lars-boost-form label,
.submission-boost-controls .lars-boost-form small,
.submission-boost-controls .lars-boost-status {
    color: #32ff7e !important;
}
.submission-boost-controls .lars-boost-form input,
.submission-boost-controls .lars-boost-form button {
    border-color: #32ff7e !important;
    color: #0b1220 !important;
}
.submission-boost-controls .lars-boost-form button {
    background: #32ff7e !important;
}
}

.submission-header h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
}

.submission-item.active .submission-header h4 {
    color: #007cba;
}

.submission-header .artist {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 16px;
}

/* Skip Line and Free Line Grouping Styles */
.skip-line-section,
.free-line-section {
    margin-bottom: 30px;
}

.line-header {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 12px 16px;
    background-color: transparent;
    margin-bottom: 12px;
    border-radius: 6px;
}

.skip-line-item,
.free-line-item {
    background-color: transparent;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: border-left-color 0.3s ease, transform 0.3s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.skip-line-item {
    border-left: 5px solid #28a745;
}

.skip-line-item:hover {
    border-left-color: #1e7e34;
    transform: translateY(-1px);
}

.free-line-item {
    border-left: 5px solid #6c757d;
}

.free-line-item:hover {
    border-left-color: #495057;
    transform: translateY(-1px);
}

.donation-amount {
    display: inline-flex;
    align-items: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.submission-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.submission-time {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.category {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    text-transform: capitalize;
    background: #000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Responsive adjustments for grouping */
@media (max-width: 768px) {
    .line-header {
        font-size: 16px !important;
        padding: 8px 12px !important;
    }

    .submission-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .donation-amount {
        font-size: 11px;
    }
}

/* Spotlight List Styles */
.spotlight-list {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    font-size: var(--lars-list-font-base, 16px);
    line-height: 1.5;
}

.spotlight-list h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: var(--lars-list-font-heading, 24px);
}

.spotlight-item {
    background: #fff9c4;
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spotlight-platform-link {
    margin-top: 10px;
}

.spotlight-platform-link .platform-link {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.spotlight-platform-link .platform-link:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.spotlight-item {
    animation: spotlight-glow 2s ease-in-out infinite alternate;
    font-size: var(--lars-list-font-base, 16px);
}

.spotlight-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.spotlight-slider-viewport::-webkit-scrollbar {
    display: none;
}
.spotlight-slider-track {
    display: flex;
    gap: 12px;
    padding: 6px 4px;
}
.spotlight-slider .spotlight-item {
    flex: 0 0 300px;
    max-width: 360px;
    margin: 0;
    scroll-snap-align: center;
}

.spotlight-item h4 {
    font-size: var(--lars-list-font-heading, 20px);
}

.spotlight-item .artist {
    font-size: var(--lars-list-font-base, 16px);
}

.spotlight-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.spotlight-actions .button,
.spotlight-actions .lars-open-player-btn {
    font-size: var(--lars-list-font-base, 16px);
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .spotlight-slider .spotlight-item {
        flex: 0 0 280px;
    }
}

.highlight-spot {
    animation: pulse-spot 1s ease-in-out 2;
}

@keyframes pulse-spot {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@keyframes spotlight-glow {
    from {
        box-shadow: 0 0 5px #ffd700;
    }
    to {
        box-shadow: 0 0 20px #ffd700, 0 0 30px #ffd700;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .audio-player-container,
    .submission-list,
    .spotlight-list {
        padding: 10px;
    }

    .now-playing-section,
    .playlist-section {
        padding: 15px;
    }

    .embedded-player iframe {
        height: 150px;
    }

    .now-playing-section h3 {
        font-size: 20px;
    }

    .song-info h4 {
        font-size: 18px;
    }

    /* Playlist controls responsive */
    .playlist-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .playlist-platform-link {
        padding: 6px 12px;
        font-size: 13px;
        margin-left: 0 !important;
    }

    /* Spotlight platform link responsive */
    .spotlight-platform-link .platform-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Make YouTube embeds more mobile-friendly */
    .embedded-player iframe[src*="youtube"] {
        height: 200px;

    }

    /* Make Spotify embeds more compact on mobile */
    .embedded-player iframe[src*="spotify"] {
        height: 152px;
    }

    .content-wrapper {
        padding: 10px;
    }

    .now-playing-section,
    .playlist-section {
        padding: 15px;
    }

    .playlist-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .playlist-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .embedded-player iframe {
        height: 200px;
    }
}

/* Enhanced embedded player responsiveness */
@media (max-width: 480px) {
    .embedded-player iframe {
        height: 150px;
    }

    .now-playing-section h3 {
        font-size: 20px;
    }

    .song-info h4 {
        font-size: 18px;
    }

    /* Make YouTube embeds more mobile-friendly */
    .embedded-player iframe[src*="youtube"] {
        height: 200px;
    }

    /* Make Spotify embeds more compact on mobile */
    .embedded-player iframe[src*="spotify"] {
        height: 152px;
    }
}

/* Additional embedded player enhancements */
.embedded-player {
    position: relative;
    overflow: hidden;
}

.embedded-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
    pointer-events: none;
    z-index: 1;
}

/* Platform-specific styling */
.embedded-player iframe[src*="youtube"] {
    border-radius: 8px;
}

.embedded-player iframe[src*="spotify"] {
    border-radius: 12px;
}

.embedded-player iframe[src*="soundcloud"] {
    border-radius: 6px;
}

/* Loading state for embedded players */
.embedded-player.loading {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.embedded-player.loading::after {
    content: '🎵 Loading player...';
    color: #666;
    font-size: 16px;
}

/* Audio Download Protection */
audio::-webkit-media-controls-download-button {
    display: none;
}

audio::-webkit-media-controls-enclosure {
    overflow: hidden;
}

audio::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* Disable right-click context menu on audio elements */
audio {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Additional protection styling */
.audio-controls {
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.audio-controls::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8));
    pointer-events: none;
    z-index: 1;
}

/* Prevent text selection on audio containers */
.now-playing-section,
.playlist-section {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide audio source URLs from easy inspection */
.audio-controls audio {
    position: relative;
}

.audio-controls audio::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: transparent;
    z-index: -1;
}

/* Additional visual protection */
.main-audio-player {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Submission Message Styles */
.submission-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}
.submission-message.submission-message--compact {
    margin: 12px 0;
    padding: 10px 12px;
}

.submission-message.success {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #e2e8f0;
}

.submission-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.submission-message h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
}

.submission-message p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.submission-message button {
    transition: all 0.3s ease;
}

.submission-message button:hover {
    background: #005a87 !important;
    transform: translateY(-1px);
}

.submission-success-message {
    text-align: center;
}

.submission-success-message h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
}

.submission-success-message p {
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.submission-success-message.submission-success-message--compact p {
    margin: 0;
}

.submission-success-message .submit-another-button {
    background-color: var(--lars-form-button-background, #0073aa);
    color: var(--lars-form-button-font-color, #ffffff);
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submission-success-message .submit-another-button:hover {
    background-color: var(--lars-form-button-hover-background, #005a87);
    transform: translateY(-1px);
}

.payment-links .payment-link {
    flex: 1 1 180px;
    min-width: 180px;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

/* List player modal */
.lars-list-player-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
}

.lars-list-player-backdrop {
    display: none;
}

.lars-list-player-wrapper {
    position: relative;
    width: 96vw;
    height: 96vh;
    background: #0f172a;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.6);
    padding: 12px;
    color: #fff;
    overflow: auto;
}

.lars-list-player-close {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: none;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.lars-list-player-content {
    margin-top: 52px;
}

/* End of CSS file */

/* Venue Card */
.lars-venue-card {
    position: relative;
    perspective: 1200px;
    margin: 14px 0;
    cursor: pointer;
    border-radius: 14px;
}
.lars-venue-card-inner {
    position: relative;
    width: 100%;
    min-height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.2s ease;
}
.lars-venue-card.is-flipped .lars-venue-card-inner {
    transform: rotateY(180deg);
}
.lars-venue-card-face {
    position: relative;
    height: auto;
    min-height: 200px;
    backface-visibility: hidden;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(12, 12, 14, 0.98), rgba(12, 12, 14, 0.88));
    color: #e2e8f0;
    border: 1px dashed rgba(59, 130, 246, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.3);
    font-size: var(--lars-venue-card-font-size, 16px);
    overflow: hidden;
}
.lars-venue-card-face.lars-venue-card-front {
    z-index: 2;
}
.lars-venue-card-face.lars-venue-card-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 12, 18, 0.95), rgba(9, 12, 16, 0.88));
    border: 1px dashed rgba(59, 130, 246, 0.7);
    overflow-y: auto;
}
.lars-venue-card:hover .lars-venue-card-inner {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
}
.lars-venue-card:focus-visible .lars-venue-card-inner {
    outline: 2px solid var(--lars-venue-card-accent, #38bdf8);
    outline-offset: 4px;
}
.lars-venue-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.lars-venue-card-title {
    margin: 0 0 6px 0;
    color: var(--lars-venue-card-heading, #ffffff);
    font-size: 1.1em;
}
.lars-venue-card-desc {
    margin: 0 0 10px 0;
    color: inherit;
    line-height: 1.5;
}
.lars-venue-card-embed iframe,
.lars-venue-card-embed video {
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.lars-venue-card-embed {
    border-left: 3px solid var(--lars-venue-card-accent, #38bdf8);
    padding-left: 10px;
}
.lars-venue-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.lars-venue-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.lars-venue-card-media {
    max-width: 160px;
    width: 100%;
}
.lars-venue-card-media img {
    max-height: 150px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.lars-venue-card-back-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
}
.lars-venue-card-back-close {
    background: transparent;
    border: none;
    color: transparent;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: default;
    visibility: hidden;
}
.lars-venue-card-back-close:hover {
    background: transparent;
}
.lars-venue-links-title {
    margin: 0;
    font-size: 16px;
    color: var(--lars-venue-card-heading, #ffffff);
    display: inline-block;
    margin-bottom: 4px;
    visibility: hidden;
}
.lars-venue-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    width: 100%;
    justify-items: center;
}
.lars-venue-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(56, 189, 248, 0.2);
    text-decoration: none;
    transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
    word-break: break-word;
    white-space: normal;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.35);
}
.lars-venue-link-btn:hover {
    transform: translateY(-1px);
    border-color: var(--lars-venue-card-accent, #38bdf8);
    background: rgba(56, 189, 248, 0.18);
    color: #fff;
}
@media (max-width: 640px) {
    .lars-venue-card-face {
        grid-template-columns: 1fr;
        padding: 14px;
        justify-items: center;
    }
    .lars-venue-card-media {
        max-width: none;
    }
    .lars-venue-card-inner {
        min-height: 220px;
    }
    .lars-venue-links-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .lars-venue-card-media img {
        max-height: 120px;
    }
}
