/* Reset default styles for the widget's scope */
.radio-status-container div,
.radio-status-container p,
.radio-status-container h1,
.radio-status-container a,
.radio-status-container img,
.radio-status-container audio {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.radio-status-container {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0.625em;
    box-shadow: 0 0 1.25em rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 0.0625em solid #444;
    display: flex;
    flex-direction: column;
}

.radio-status-container .content-wrapper {
    display: flex;
}

.radio-status-container .left-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    flex-shrink: 0;
}

.radio-status-container .show-image {
    position: relative;
    border-radius: var(--dj-frame-radius, 0);
    width: var(--dj-image-size, 9.375em);
    height: var(--dj-image-size, 9.375em);
    max-width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-status-container .show-image::before {
    content: "";
    position: absolute;
    top: -1em;
    left: -1em;
    right: -1em;
    bottom: -1em;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0.625em) brightness(0.7);
    z-index: 1;
    border-radius: var(--dj-frame-radius, 0);
}

.radio-status-container .show-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    border-radius: var(--dj-frame-radius, 0);
}

#no-cover-message,
#no-dj-message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #333;
    font-size: 3em; /* Larger icon */
    font-weight: bold;
    color: #888;
    position: relative;
    z-index: 2;
}

#album-cover-container {
    width: var(--album-art-size, 9.375em);
    height: var(--album-art-size, 9.375em);
    max-width: 100%;
    margin-top: 0.625em;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#album-cover-container::before {
    content: "";
    position: absolute;
    top: -1em;
    left: -1em;
    right: -1em;
    bottom: -1em;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0.625em) brightness(0.7);
    z-index: 1;
}

#album-cover-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.radio-status-container .on-air-indicator {
    position: absolute;
    z-index: 10;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
}

/* On Air Styles */
.on-air-style-default {
    top: 0.625em;
    left: 0.625em;
    background-color: var(--on-air-color, #ff0000);
    padding: 0.3125em 0.625em;
    border-radius: 0.3125em;
    font-size: 0.875em;
}

.on-air-style-ribbon {
    top: 1.25em;
    left: -2em;
    background-color: var(--on-air-color, #ff0000);
    padding: 0.3125em 3em;
    transform: rotate(-45deg);
    font-size: 0.75em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.on-air-style-circle {
    top: 0.625em;
    left: 0.625em;
    background-color: var(--on-air-color, #ff0000);
    width: 3em;
    height: 3em;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6em;
    text-align: center;
}

.on-air-style-glow {
    top: 0.625em;
    left: 0.625em;
    color: var(--on-air-color, #ff0000);
    text-shadow: 0 0 0.5em var(--on-air-color, #ff0000);
    font-size: 1em;
}

.on-air-style-hidden {
    display: none !important;
}

/* On Air Effects */
.on-air-effect-pulse {
    animation: on-air-pulse 2s infinite;
}

@keyframes on-air-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Special Pulse for Ribbon (don't override rotation) */
.on-air-style-ribbon.on-air-effect-pulse {
    animation: on-air-pulse-ribbon 2s infinite;
}

@keyframes on-air-pulse-ribbon {
    0% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.1); }
    100% { transform: rotate(-45deg) scale(1); }
}

.on-air-effect-blink {
    animation: on-air-blink 1s steps(2, start) infinite;
}

@keyframes on-air-blink {
    to { visibility: hidden; }
}

.on-air-effect-glow {
    animation: on-air-glow-anim 2s infinite alternate;
}

@keyframes on-air-glow-anim {
    from { box-shadow: 0 0 5px var(--on-air-color, #ff0000); }
    to { box-shadow: 0 0 20px var(--on-air-color, #ff0000); }
}

.on-air-effect-shake { animation: shake-anim var(--effect-speed, 0.8s) infinite; }
@keyframes shake-anim {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Special Shake for Ribbon (don't override rotation) */
.on-air-style-ribbon.on-air-effect-shake { animation: shake-anim-ribbon var(--effect-speed, 0.8s) infinite; }
@keyframes shake-anim-ribbon {
    0%, 100% { transform: rotate(-45deg) translateX(0); }
    25% { transform: rotate(-45deg) translateX(-2px); }
    75% { transform: rotate(-45deg) translateX(2px); }
}

.on-air-effect-bounce { animation: bounce-anim 1s infinite; }
@keyframes bounce-anim {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.on-air-style-ribbon.on-air-effect-bounce { animation: bounce-anim-ribbon 1s infinite; }
@keyframes bounce-anim-ribbon {
    0%, 20%, 50%, 80%, 100% { transform: rotate(-45deg) translateY(0); }
    40% { transform: rotate(-45deg) translateY(-5px); }
    60% { transform: rotate(-45deg) translateY(-3px); }
}

.on-air-effect-rotate { animation: rotate-anim 4s linear infinite; }
@keyframes rotate-anim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.on-air-style-ribbon.on-air-effect-rotate { animation: rotate-anim-ribbon 4s linear infinite; }
@keyframes rotate-anim-ribbon {
    from { transform: rotate(-45deg); }
    to { transform: rotate(315deg); }
}

.on-air-effect-flash { animation: flash-anim var(--effect-speed, 0.8s) step-end infinite; }
@keyframes flash-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.on-air-effect-zoom { animation: zoom-anim 2s infinite; }
@keyframes zoom-anim {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.on-air-style-ribbon.on-air-effect-zoom { animation: zoom-anim-ribbon 2s infinite; }
@keyframes zoom-anim-ribbon {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.2); }
}

/* DJ Image Frame and Effects */
.dj-image-frame {
    box-sizing: border-box;
    border: var(--dj-frame-width, 0) solid var(--dj-frame-color, transparent);
    transition: all 0.3s ease;
}

.dj-frame-effect-pulse {
    animation: dj-frame-pulse 2s infinite;
}

@keyframes dj-frame-pulse {
    0% { box-shadow: 0 0 0 0 var(--dj-frame-color, rgba(255,255,255,0.4)); }
    70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.dj-frame-effect-glow {
    animation: dj-frame-glow 2s infinite alternate;
}

@keyframes dj-frame-glow {
    from { box-shadow: 0 0 5px var(--dj-frame-color, #fff); }
    to { box-shadow: 0 0 20px var(--dj-frame-color, #fff); }
}

.dj-frame-effect-rainbow {
    animation: dj-frame-rainbow 5s linear infinite;
}

@keyframes dj-frame-rainbow {
    0% { border-color: red; box-shadow: 0 0 5px red; }
    16% { border-color: orange; box-shadow: 0 0 5px orange; }
    33% { border-color: yellow; box-shadow: 0 0 5px yellow; }
    50% { border-color: green; box-shadow: 0 0 5px green; }
    66% { border-color: blue; box-shadow: 0 0 5px blue; }
    83% { border-color: indigo; box-shadow: 0 0 5px indigo; }
    100% { border-color: violet; box-shadow: 0 0 5px violet; }
}

.dj-frame-effect-shake { animation: shake-anim var(--effect-speed, 0.8s) infinite; }
.dj-frame-effect-bounce { animation: bounce-anim 1s infinite; }
.dj-frame-effect-rotate { animation: rotate-anim 10s linear infinite; }
.dj-frame-effect-flash { animation: flash-anim 0.8s step-end infinite; }
.dj-frame-effect-zoom { animation: zoom-anim 3s infinite; }

.dj-frame-effect-flame {
    animation: dj-frame-flame 1.5s ease-in-out infinite alternate;
    border-color: #ff4500 !important;
}

@keyframes dj-frame-flame {
    0% {
        box-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500, 0 0 30px #ff8c00, 0 0 40px #ff0000;
    }
    100% {
        box-shadow: 0 0 15px #ff4500, 0 0 30px #ff8c00, 0 0 45px #ff4500, 0 0 60px #ff0000;
    }
}

.dj-frame-effect-neon {
    animation: dj-frame-neon 1.5s ease-in-out infinite alternate;
}

@keyframes dj-frame-neon {
    from {
        box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px var(--dj-frame-color, #00fff3), 0 0 35px var(--dj-frame-color, #00fff3), 0 0 40px var(--dj-frame-color, #00fff3), 0 0 50px var(--dj-frame-color, #00fff3), 0 0 75px var(--dj-frame-color, #00fff3);
    }
    to {
        box-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 7px #fff, 0 0 10px var(--dj-frame-color, #00fff3), 0 0 17px var(--dj-frame-color, #00fff3), 0 0 20px var(--dj-frame-color, #00fff3), 0 0 25px var(--dj-frame-color, #00fff3), 0 0 37px var(--dj-frame-color, #00fff3);
    }
}

.dj-frame-effect-cyber {
    animation: dj-frame-cyber 2s linear infinite;
}

@keyframes dj-frame-cyber {
    0%, 100% { box-shadow: 2px 0 0 #ff00ff, -2px 0 0 #00ffff; }
    25% { box-shadow: -2px 0 0 #ff00ff, 2px 0 0 #00ffff; }
    50% { box-shadow: 2px 2px 0 #ff00ff, -2px -2px 0 #00ffff; }
    75% { box-shadow: -2px -2px 0 #ff00ff, 2px 2px 0 #00ffff; }
}

.dj-frame-effect-glitch {
    animation: dj-frame-glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes dj-frame-glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.dj-frame-effect-firework {
    animation: dj-frame-firework 2s linear infinite;
}

@keyframes dj-frame-firework {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- Layouts --- */
/* Compact Layout */
.layout-compact .left-panel {
    display: none; /* Hide the entire left panel */
}
.layout-compact .show-info {
    padding: 1em; /* Reduce padding */
}
.layout-compact .show-name {
    font-size: 1.25em; /* Smaller show name */
}

/* Horizontal Layout */
.layout-horizontal .content-wrapper {
    flex-direction: row;
    align-items: stretch; /* Make panels equal height */
}
.layout-horizontal .left-panel {
    width: auto; /* Let it shrink to fit content */
    flex-direction: row; /* Align images side-by-side */
    justify-content: flex-start;
    align-items: center;
    padding: 0.625em;
}
/* --- Player Style Specific Rules --- */

/* Hide stop button by default */
#stop-button {
    display: none;
}

/* --- Multi-Button Style --- */
.player-style-multi-button #stop-button {
    display: flex; /* Show the stop button */
    background-color: #d9534f; /* Red */
}
.player-style-multi-button #stop-button:hover {
    background-color: #c9302c;
}

.player-style-multi-button #play-pause-button {
    background-color: #5cb85c; /* Green for play */
}
.player-style-multi-button #play-pause-button:hover {
    background-color: #4cae4c;
}
.player-style-multi-button #play-pause-button.is-playing {
    background-color: #f0ad4e; /* Orange for pause */
}
.player-style-multi-button #play-pause-button.is-playing:hover {
    background-color: #ec971f;
}


/* --- Round Player Style --- */
.player-style-round .audio-player-container {
    position: relative;
    width: 9.375em; /* Same as album art */
    height: 9.375em;
    margin: 1.25em auto;
}

.player-style-round .player-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.player-style-round .audio-player-container:hover .player-controls {
    opacity: 1;
}

.player-style-round #play-pause-button {
    width: 3.75em;
    height: 3.75em;
    font-size: 1.5em;
}

.player-style-round .volume-container {
    position: absolute;
    bottom: -1.875em; /* Position it below the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.player-style-round .show-image {
    display: none; /* Hide the default DJ image for the round player */
}
.player-style-round .left-panel #album-cover-container {
    border-radius: 50%;
    overflow: hidden;
    width: 9.375em; /* Ensure container has a size */
    height: 9.375em;
}
.player-style-round .left-panel #album-cover-image {
    border-radius: 50%;
}
.layout-horizontal .show-image,
.layout-horizontal #album-cover-container {
    width: 6.25em; /* Fixed size for predictability */
    height: 6.25em;
    margin-top: 0; /* Override default margin */
    margin-right: 0.625em; /* Space between images */
}
.layout-horizontal .show-info {
    padding: 0.625em;
    text-align: left;
    justify-content: center;
    flex-grow: 1; /* Allow info to take remaining space */
}
.layout-horizontal .show-name {
    font-size: 1.125em; /* Smaller font for show name */
}
.layout-horizontal .song-title {
    font-size: 1em; /* Smaller font for song title */
}

.radio-status-container .show-info {
    padding: 0.8em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1; /* Allow this panel to take up remaining space */
    min-width: 0; /* Prevents overflow with long text */
}

.radio-status-container .show-name-marquee {
    width: 100%;
}

.radio-status-container .show-name {
    display: block;
    margin-top: 0;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.05em;
    word-wrap: break-word;
}

.radio-status-container .live-show-details {
    margin-top: 0.2em;
}

.radio-status-container .show-time-label,
.radio-status-container .show-motto-label {
    font-size: var(--label-font-size, 0.9em);
    font-weight: bold;
    color: var(--label-color, #ffc107);
    margin-top: 0.05em;
}

.radio-status-container .show-time {
    font-size: 0.95em;
    color: #ccc;
    margin: 0 0 0.2em 0;
}

.radio-status-container .show-motto {
    font-size: 0.85em;
    color: #ccc;
    margin: 0;
    font-style: italic;
}

.radio-status-container .song-title-label {
    font-size: var(--label-font-size, 0.9em);
    font-weight: bold;
    color: var(--label-color, #ffc107);
    margin-top: 0.3em;
    margin-bottom: 0.05em;
}

.radio-status-container .song-title-marquee {
    width: 100%;
}

.radio-status-container .song-title {
    font-size: 1.125em;
}

.radio-status-container .dj-name {
    font-size: 0.95em;
    margin-top: 0.2em;
}

.listener-count-container {
    font-size: 0.875em;
    margin-top: 0.2em;
    text-align: right;
    font-weight: bold;
}

.radio-status-container .audio-player-container {
    margin-top: 0.8em;
}

/* Hide the default audio player */
.radio-status-container #audio-player {
    display: none;
}

.radio-status-container .player-controls {
    display: flex;
    align-items: center;
    gap: 0.625em;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.625em;
    border-radius: 0.3125em;
}

.radio-status-container .control-button {
    background: none;
    border: 0.125em solid #fff;
    color: #fff;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.125em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.radio-status-container .control-button:hover {
    background-color: #fff;
    color: #333;
}

.radio-status-container .volume-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 0.625em;
}

.radio-status-container .volume-container i {
    font-size: 1.125em;
}

.radio-status-container #volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.5em;
    background: #555;
    border-radius: 0.3125em;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.radio-status-container #volume-slider:hover {
    opacity: 1;
}

.radio-status-container #volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.125em;
    height: 1.125em;
    background: #ffc107;
    cursor: pointer;
    border-radius: 50%;
}

.radio-status-container #volume-slider::-moz-range-thumb {
    width: 1.125em;
    height: 1.125em;
    background: #ffc107;
    cursor: pointer;
    border-radius: 50%;
}

/* Custom Audio Player Styles */
.radio-status-container audio::-webkit-media-controls-panel {
    background-color: #333;
}
.radio-status-container audio::-webkit-media-controls-play-button,
.radio-status-container audio::-webkit-media-controls-mute-button {
    background-color: #ffc107;
    border-radius: 50%;
}
.radio-status-container audio::-webkit-media-controls-timeline {
    background-color: #555;
    border-radius: 0.125em;
}
.radio-status-container audio::-webkit-media-controls-current-time-display,
.radio-status-container audio::-webkit-media-controls-time-remaining-display {
    color: #fff;
}

/* Button Styles */
.radio-status-container .buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    margin-top: 0.6em;
}

.radio-status-container .button {
    flex-grow: 1; /* Make buttons share the space equally */
    padding: 0.625em; /* Increase padding for better touch targets */
    border-radius: 0.3125em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.875em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.radio-status-container .button:hover {
    opacity: 0.9;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 1.25em;
    border: 0.0625em solid #888;
    width: 80%;
    max-width: 37.5em;
    height: 70%;
    border-radius: 0.625em;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-content iframe {
    width: 100%;
    height: 100%; /* Fill the container */
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 0.625em;
    right: 1.25em;
    font-size: 1.75em;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Player Modal Specific Styles */
#player-modal .modal-content {
    height: auto; /* Auto height based on content */
    max-width: 31.25em;
    text-align: center;
}

.player-links-container {
    display: flex;
    justify-content: center;
    gap: 1.25em;
    margin-top: 1.25em;
    flex-wrap: wrap;
}

.player-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-link-label {
    margin-bottom: 0.5em;
    font-weight: bold;
    font-size: 0.875em;
}

.player-link-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.9375em;
    background-color: #808080; /* Gray background */
    color: #fff;
    text-decoration: none;
    border-radius: 0.5em;
    transition: background-color 0.3s;
    width: 5em; /* Fixed width */
    height: 5em; /* Fixed height */
}

.player-link-button:hover {
    background-color: #555;
}

.player-link-button i,
.player-link-button img {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    height: 1.5em; /* Ensure images and icons are the same height */
}

.player-link-button span {
    font-size: 0.875em;
    font-weight: bold;
}

/* --- Image Position Logic --- */
/* For right-aligned images, reverse the order of the panels */
.image-position-right .content-wrapper {
    flex-direction: row-reverse;
}

.image-position-right .left-panel {
    margin-right: 0;
    margin-left: 1.25em;
}

/* For center-aligned images, keep content stacked but images side-by-side */
.image-position-center .content-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.image-position-center .left-panel {
    flex-direction: row; /* Align DJ and Album art side-by-side */
    flex-wrap: wrap; /* Stacks if width is insufficient */
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25em;
    margin-right: 0; /* Remove default right margin */
    width: 100%; /* Take full width to center content */
    gap: 0.625em;
    padding: 0; /* Ensure no padding shifts images */
}

.image-position-center #album-cover-container {
    margin-top: 0;
}

.image-position-center .show-info {
    text-align: center;
    align-items: center; /* Center children in flex column */
    width: 100%;
}

.image-position-center .buttons-container {
    justify-content: center; /* Center the buttons */
    flex-wrap: wrap;
}

.image-position-center .buttons-container .button {
    flex-grow: 0; /* Don't force buttons to fill width in centered layout */
    min-width: 8em;
}

/* For bottom-aligned images, text above images */
.image-position-bottom .content-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
}

.image-position-bottom .left-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1.25em;
    margin-right: 0;
    width: 100%;
    gap: 0.625em;
    padding: 0;
}

.image-position-bottom #album-cover-container {
    margin-top: 0;
}

.image-position-bottom .show-info {
    text-align: center;
    align-items: center;
    width: 100%;
}

.image-position-bottom .buttons-container {
    justify-content: center;
    flex-wrap: wrap;
}

.image-position-bottom .buttons-container .button {
    flex-grow: 0;
    min-width: 8em;
}

/* Auto Image Sizing */
.image-size-auto .left-panel {
    flex: 0 1 12.5em; /* Basis of 12.5em but can shrink */
    width: 100%;
    min-width: 5em;
}

.image-size-auto .show-image,
.image-size-auto #album-cover-container {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

.image-size-auto.image-position-center .left-panel,
.image-size-auto.image-position-bottom .left-panel {
    flex: 0 1 auto; /* Allow them to take needed space in horizontal layouts */
    max-width: 100%;
}

.image-size-auto.image-position-center .show-image,
.image-size-auto.image-position-center #album-cover-container,
.image-size-auto.image-position-bottom .show-image,
.image-size-auto.image-position-bottom #album-cover-container {
    width: 8em !important; /* Smaller default for horizontal layouts */
    max-width: 45%;
}

/* Blinking Social Live Link */
.social-live-blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* --- Universal Marquee --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: universal-marquee 15s linear infinite;
}

@keyframes universal-marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* --- Seamless Marquee for Song Title --- */
.song-title-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: inherit;
}

.song-title-marquee-container.is-scrolling {
    align-items: flex-start !important;
    text-align: left !important;
}

.song-title-marquee-content {
    display: inline-block;
    white-space: nowrap;
    min-width: 100%;
}

.song-title-marquee-content span {
    display: inline-block !important;
}

.is-scrolling .song-title-marquee-content span {
    padding-right: 2em; /* Space between original and clone only when scrolling */
}

.animate-marquee {
    animation: seamless-marquee var(--marquee-speed, 15s) linear infinite !important;
}

@keyframes seamless-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Elevator Transition --- */
.elevator-container {
    height: 1.5em;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.elevator-slide-up-out {
    animation: elevator-up-out var(--effect-speed, 0.8s) ease-in forwards;
}

.elevator-slide-up-in {
    animation: elevator-up-in var(--effect-speed, 0.8s) ease-out forwards;
}

@keyframes elevator-up-out {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-100%); opacity: 0; }
}

@keyframes elevator-up-in {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Fade Transition --- */
.fade-out {
    animation: fade-out-anim var(--effect-speed, 0.8s) ease-in forwards;
}

.fade-in {
    animation: fade-in-anim var(--effect-speed, 0.8s) ease-out forwards;
}

@keyframes fade-out-anim {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fade-in-anim {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Blur Transition --- */
.blur-out {
    animation: blur-out-anim var(--effect-speed, 0.8s) ease-in forwards;
}

.blur-in {
    animation: blur-in-anim var(--effect-speed, 0.8s) ease-out forwards;
}

@keyframes blur-out-anim {
    from { filter: blur(0); opacity: 1; }
    to { filter: blur(10px); opacity: 0; }
}

@keyframes blur-in-anim {
    from { filter: blur(10px); opacity: 0; }
    to { filter: blur(0); opacity: 1; }
}

.show-name-container {
    width: 100%;
    overflow: hidden;
}

.show-name {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- Centered Layout Adjustments --- */
.image-position-center .live-show-details {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.image-position-center .live-show-details .listener-label,
.image-position-center .live-show-details .listener-count,
.image-position-center .live-show-details .listener-count-p {
    margin-top: 0.5em;
    display: block !important;
    width: 100%;
}

/* --- Custom Image Sizing --- */
:root {
    --custom-dj-image-width: auto;
    --custom-dj-image-height: auto;
    --custom-album-art-width: auto;
    --custom-album-art-height: auto;
}

.dj-image-custom-size {
    width: var(--custom-dj-image-width) !important;
    height: var(--custom-dj-image-height) !important;
}

.album-art-custom-size {
    width: var(--custom-album-art-width) !important;
    height: var(--custom-album-art-height) !important;
}

/* --- Speakers & Graphics --- */
.speaker-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.625em;
    margin-top: 0.5em;
    font-size: 1.8em;
    color: var(--speaker-color, #fff);
}

.speaker-icon {
    transition: all 0.3s ease;
}

.speaker-effect-pulse {
    animation: speaker-pulse 1s infinite alternate;
}

@keyframes speaker-pulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.2); opacity: 1; }
}

.speaker-effect-bounce {
    animation: speaker-bounce var(--effect-speed, 0.8s) infinite alternate;
}

@keyframes speaker-bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

.speaker-effect-shake {
    animation: speaker-shake 0.2s infinite;
}

@keyframes speaker-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(0); }
    75% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

.speaker-effect-spin {
    animation: speaker-spin 2s linear infinite;
}

@keyframes speaker-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Background Effects --- */
.background-effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Move forward so it's above parent background */
    overflow: hidden;
    pointer-events: none;
    opacity: 0; /* Default hidden */
    transition: opacity 1s ease;
}

/* Activate only when playing or in designer mode */
body.is-playing .background-effect-container,
body.designer-mode .background-effect-container {
    opacity: 0.95; /* High visibility for effects */
}

.radio-status-container .content-wrapper,
.audio-player-container > *:not(.background-effect-container) {
    position: relative;
    z-index: 2; /* Ensure content is above the effect */
}

/* Grayscale Mode */
.effect-grayscale {
    filter: grayscale(100%);
}

/* Color Modes */
.effect-fire .visualizer-bar { background: linear-gradient(to top, #ff0000, #ff8c00, #ffff00); }
.effect-fire .particle, .effect-fire .plasma-glow, .effect-fire .spectrum-line { background: rgba(255, 69, 0, 0.6); }

.effect-neon .visualizer-bar { background: linear-gradient(to top, #39ff14, #00ffff); }
.effect-neon .particle, .effect-neon .plasma-glow, .effect-neon .spectrum-line { background: rgba(57, 255, 20, 0.6); box-shadow: 0 0 10px rgba(57, 255, 20, 0.8); }

.effect-cyber .visualizer-bar { background: linear-gradient(to top, #ff00ff, #00ffff); }
.effect-cyber .particle, .effect-cyber .plasma-glow, .effect-cyber .spectrum-line { background: rgba(0, 255, 255, 0.6); }

.effect-sunset .visualizer-bar { background: linear-gradient(to top, #4a148c, #ff4081, #ffab40); }
.effect-sunset .particle, .effect-sunset .plasma-glow, .effect-sunset .spectrum-line { background: rgba(255, 64, 129, 0.6); }

/* Rainbow Mode */
.effect-rainbow .visualizer-bar {
    background: linear-gradient(to top, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    background-size: 100% 200%;
    animation: visualizer-anim 1.2s ease-in-out infinite, gradient-move 3s linear infinite;
}

.effect-rainbow .particle {
    animation: particle-float var(--float-duration) linear infinite, rainbow-color 5s linear infinite;
}

@keyframes rainbow-color {
    0% { background: #ff0000; }
    16% { background: #ff7f00; }
    33% { background: #ffff00; }
    50% { background: #00ff00; }
    66% { background: #0000ff; }
    83% { background: #4b0082; }
    100% { background: #ff0000; }
}

@keyframes gradient-move {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

/* Cyber Mode */
.effect-cyber .visualizer-bar {
    background: linear-gradient(to top, #ff00ff, #00ffff);
}
.effect-cyber .particle:nth-child(2n) { background: rgba(255, 0, 255, 0.6); }
.effect-cyber .particle:nth-child(2n+1) { background: rgba(0, 255, 255, 0.6); }

/* Sunset Mode */
.effect-sunset .visualizer-bar {
    background: linear-gradient(to top, #ff4500, #ff8c00, #ffd700);
}
.effect-sunset .particle { background: rgba(255, 69, 0, 0.5); }
.effect-sunset .particle:nth-child(2n) { background: rgba(255, 215, 0, 0.5); }

/* Visualizer (Bars) */
.visualizer-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

.visualizer-bar {
    width: 8px;
    background: linear-gradient(to top, #ff00ff, #00ffff);
    height: 20%;
    border-radius: 4px 4px 0 0;
}

.effect-grayscale .visualizer-bar {
    background: linear-gradient(to top, #333, #eee);
}

.visualizer-bar {
    animation: visualizer-anim 1.2s ease-in-out infinite;
}

@keyframes visualizer-anim {
    0%, 100% { height: 10%; }
    50% { height: 80%; }
}

/* Specific bar offsets for variety */
.visualizer-bar:nth-child(2n) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(3n) { animation-delay: 0.5s; }
.visualizer-bar:nth-child(4n) { animation-delay: 0.8s; }

/* Waves */
.waves-container {
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.4-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="%2300ffff"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5V0z" opacity=".5" fill="%23ff00ff"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="%23ffffff"/></svg>');
    background-repeat: repeat-x;
    background-size: 1200px 100%;
}

.wave {
    animation: wave-move 10s linear infinite;
}

.wave:nth-child(2) { opacity: 0.5; animation-duration: 7s; }
.wave:nth-child(3) { opacity: 0.2; animation-duration: 4s; }

@keyframes wave-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Red next song text */
.next-song-highlight {
    color: #ff0000 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Particles Effect */
.particles-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

.particle {
    animation: particle-float var(--float-duration) linear infinite;
}

@keyframes particle-float {
    0% { transform: translateY(110%) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10%) translateX(var(--float-x)); opacity: 0; }
}

.effect-multicolor .particle:nth-child(3n) { background: rgba(255, 0, 255, 0.5); }
.effect-multicolor .particle:nth-child(3n+1) { background: rgba(0, 255, 255, 0.5); }
.effect-multicolor .particle:nth-child(3n+2) { background: rgba(255, 255, 0, 0.5); }

/* Plasma Glow */
.plasma-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plasma-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,0,255,0.4) 40%, transparent 70%);
    filter: blur(30px);
    border-radius: 50%;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

/* Spectrum Line */
.spectrum-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spectrum-line {
    width: 100%;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: transform 0.05s linear, opacity 0.05s linear;
}

.effect-rainbow .spectrum-line {
    background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}

.effect-neon .spectrum-line { background: #39ff14; box-shadow: 0 0 15px #39ff14; }
.effect-cyber .spectrum-line { background: #00ffff; box-shadow: 0 0 15px #00ffff; }
.effect-sunset .spectrum-line { background: #ff4500; box-shadow: 0 0 15px #ff4500; }

/* Disco Lights */
.disco-lights-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.disco-light {
    position: absolute;
    width: 250px; /* Slightly larger */
    height: 250px;
    border-radius: 50%;
    filter: blur(35px); /* Reduced blur for sharper colors */
    opacity: 0.8; /* Increased opacity */
    pointer-events: none;
    transition: transform 0.1s ease, opacity 0.1s ease, background 0.5s ease;
}

.effect-rainbow .disco-light:nth-child(1) { background: rgba(255, 0, 0, 0.9); }
.effect-rainbow .disco-light:nth-child(2) { background: rgba(0, 255, 0, 0.9); }
.effect-rainbow .disco-light:nth-child(3) { background: rgba(0, 0, 255, 0.9); }
.effect-rainbow .disco-light:nth-child(4) { background: rgba(255, 255, 0, 0.9); }
.effect-rainbow .disco-light:nth-child(5) { background: rgba(255, 0, 255, 0.9); }
.effect-rainbow .disco-light:nth-child(6) { background: rgba(0, 255, 255, 0.9); }

.effect-rainbow .dancing-figure:nth-child(1n) { background: #ff0000; box-shadow: 0 0 15px #ff0000; }
.effect-rainbow .dancing-figure:nth-child(2n) { background: #00ff00; box-shadow: 0 0 15px #00ff00; }
.effect-rainbow .dancing-figure:nth-child(3n) { background: #0000ff; box-shadow: 0 0 15px #0000ff; }
.effect-rainbow .dancing-figure:nth-child(4n) { background: #ffff00; box-shadow: 0 0 15px #ffff00; }
.effect-rainbow .dancing-figure:nth-child(5n) { background: #ff00ff; box-shadow: 0 0 15px #ff00ff; }

.effect-fire .disco-light, .effect-fire .dancing-figure { background: rgba(255, 69, 0, 0.9); box-shadow: 0 0 15px #ff4500; }
.effect-neon .disco-light, .effect-neon .dancing-figure { background: rgba(57, 255, 20, 0.9); box-shadow: 0 0 15px #39ff14; }
.effect-cyber .disco-light, .effect-cyber .dancing-figure { background: rgba(0, 255, 255, 0.9); box-shadow: 0 0 15px #00ffff; }
.effect-sunset .disco-light, .effect-sunset .dancing-figure { background: rgba(255, 64, 129, 0.9); box-shadow: 0 0 15px #ff4081; }

.effect-ocean .visualizer-bar { background: linear-gradient(to top, #0077be, #00a8cc, #00d2ff); }
.effect-ocean .particle, .effect-ocean .plasma-glow, .effect-ocean .spectrum-line { background: rgba(0, 168, 204, 0.6); }
.effect-ocean .disco-light, .effect-ocean .dancing-figure { background: rgba(0, 119, 190, 0.9); box-shadow: 0 0 15px #0077be; }
.effect-ocean .kr-bar { background: #00a8cc; box-shadow: 0 0 15px #00a8cc; }

.effect-forest .visualizer-bar { background: linear-gradient(to top, #1b5e20, #4caf50, #8bc34a); }
.effect-forest .particle, .effect-forest .plasma-glow, .effect-forest .spectrum-line { background: rgba(76, 175, 80, 0.6); }
.effect-forest .disco-light, .effect-forest .dancing-figure { background: rgba(27, 94, 32, 0.9); box-shadow: 0 0 15px #1b5e20; }
.effect-forest .kr-bar { background: #4caf50; box-shadow: 0 0 15px #4caf50; }

.effect-gold .visualizer-bar { background: linear-gradient(to top, #ff8f00, #ffc107, #ffecb3); }
.effect-gold .particle, .effect-gold .plasma-glow, .effect-gold .spectrum-line { background: rgba(255, 193, 7, 0.6); }
.effect-gold .disco-light, .effect-gold .dancing-figure { background: rgba(255, 143, 0, 0.9); box-shadow: 0 0 15px #ff8f00; }
.effect-gold .kr-bar { background: #ffc107; box-shadow: 0 0 15px #ffc107; }

.effect-custom .visualizer-bar { background: linear-gradient(to top, var(--bg-effect-custom-color, #ff0000), #fff); }
.effect-custom .particle, .effect-custom .plasma-glow, .effect-custom .spectrum-line { background: var(--bg-effect-custom-color, #ff0000); }
.effect-custom .disco-light { background: var(--bg-effect-custom-color, #ff0000); }
.effect-custom .kr-bar { background: var(--bg-effect-custom-color, #ff0000); box-shadow: 0 0 15px var(--bg-effect-custom-color, #ff0000); }

/* Dancing Figures Effect */
.dancing-figures-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 20px;
}

.ambient-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dancing-figure {
    width: 60px;
    height: 120px;
    background: var(--bg-effect-custom-color, #fff);
    position: relative;
    transition: transform 0.1s ease, filter 0.1s ease, background 0.5s ease;
    /* Use drop-shadow instead of box-shadow to follow mask shape */
    filter: drop-shadow(0 0 8px var(--bg-effect-custom-color, rgba(255,255,255,0.8)));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.dancing-figure.male {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMjAwJz4KICA8Y2lyY2xlIGN4PSc1MCcgY3k9JzIyJyByPScxNScvPgogIDxwYXRoIGQ9J00zMCw0MCBMNzAsNDAgTDcwLDExMCBMNjAsMTEwIEw2MCwxOTAgTDQwLDE5MCBMNDAsMTEwIEwzMCwxMTAgWicgLz4KICA8cGF0aCBkPSdNMzAsNDUgTDE1LDkwIEwyNSw5NSBMMzUsNTUnIC8+CiAgPHBhdGggZD0nTTcwLDQ1IEw4NSw5MCBMNzUsOTUgTDY1LDU1JyAvPgo8L3N2Zz4=");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMjAwJz4KICA8Y2lyY2xlIGN4PSc1MCcgY3k9JzIyJyByPScxNScvPgogIDxwYXRoIGQ9J00zMCw0MCBMNzAsNDAgTDcwLDExMCBMNjAsMTEwIEw2MCwxOTAgTDQwLDE5MCBMNDAsMTEwIEwzMCwxMTAgWicgLz4KICA8cGF0aCBkPSdNMzAsNDUgTDE1LDkwIEwyNSw5NSBMMzUsNTUnIC8+CiAgPHBhdGggZD0nTTcwLDQ1IEw4NSw5MCBMNzUsOTUgTDY1LDU1JyAvPgo8L3N2Zz4=");
}

.dancing-figure.female {
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMjAwJz4KICA8Y2lyY2xlIGN4PSc1MCcgY3k9JzIyJyByPScxNScvPgogIDxwYXRoIGQ9J000Miw0MCBMNTgsNDAgTDgwLDEyMCBMMjAsMTIwIFonIC8+CiAgPHBhdGggZD0nTTQwLDEyMCBMMzUsMTkwIEw0OCwxOTAgTDQ4LDE0MCBMNTIsMTQwIEw1MiwxOTAgTDY1LDE5MCBMNjAsMTIwJyAvPgogIDxwYXRoIGQ9J000Miw0NSBMMjUsODUgTDMzLDkwIEw0NSw1NScgLz4KICA8cGF0aCBkPSdNNjAsNDUgTDc1LDg1IEw2Nyw5MCBMNTUsNTUnIC8+Cjwvc3ZnPg==");
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMjAwJz4KICA8Y2lyY2xlIGN4PSc1MCcgY3k9JzIyJyByPScxNScvPgogIDxwYXRoIGQ9J000Miw0MCBMNTgsNDAgTDgwLDEyMCBMMjAsMTIwIFonIC8+CiAgPHBhdGggZD0nTTQwLDEyMCBMMzUsMTkwIEw0OCwxOTAgTDQ4LDE0MCBMNTIsMTQwIEw1MiwxOTAgTDY1LDE5MCBMNjAsMTIwJyAvPgogIDxwYXRoIGQ9J000Miw0NSBMMjUsODUgTDMzLDkwIEw0NSw1NScgLz4KICA8cGF0aCBkPSdNNjAsNDUgTDc1LDg1IEw2Nyw5MCBMNTUsNTUnIC8+Cjwvc3ZnPg==");
}

/* Knight Rider (KITT) Voice Box */
.knight-rider-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.kr-bar {
    width: 18px;
    height: 10px;
    background: #ff0000;
    box-shadow: 0 0 15px #ff0000;
    border-radius: 4px;
    transition: height 0.05s ease;
}

.effect-neon .kr-bar { background: #39ff14; box-shadow: 0 0 15px #39ff14; }
.effect-cyber .kr-bar { background: #00ffff; box-shadow: 0 0 15px #00ffff; }
.effect-sunset .kr-bar { background: #ff4081; box-shadow: 0 0 15px #ff4081; }
.effect-rainbow .kr-bar { background: linear-gradient(to bottom, #f00, #ff0, #0f0); }
