@CHARSET "UTF-8";

body {
    margin: 0;
    background: #0f172a;
    color: #cbd5e1;
    font: 14px/1.5 Arial, Tahoma, sans-serif;
}

a {
    color: #60a5fa;
    text-decoration: none;
}

a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

img {
    max-width: 100%;
    border: 0;
}

#page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1220px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #111827;
}

#logo a,
#logo .logo-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #f8fafc;
    font-size: 36px;
    font-weight: bold;
}

#logo .logo-title span {
    display: inline-block;
    font-size: 36px;
    line-height: 1.1;
}

#logo > span {
    display: inline-block;
    font-size: 36px;
    line-height: 1.1;
    color: #f8fafc;
    font-weight: bold;
}

#logo img {
    max-height: 72px;
}

#listener_count {
    color: #93c5fd;
    font-size: 14px;
    font-weight: bold;
    margin-left: auto;
    white-space: nowrap;
    min-width: 130px;
    text-align: right;
}

#err_message,
.page-card,
#currently_playing,
#coming-up,
#recently_played,
#search,
#playlist_wrapper,
#content,
#top_requests dl,
#navigation dl,
#partner-links {
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

#err_message {
    margin-bottom: 20px;
    padding: 12px 16px;
}

.error {
    color: #fecaca;
}

.success {
    color: #86efac;
}

#sidebar-shell {
    float: left;
    width: 250px;
}

#navigation,
#top_requests,
#partner-links {
    margin-bottom: 16px;
}

#navigation dl,
#top_requests dl {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#navigation dl dt,
#top_requests dl dt {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #1e293b;
    color: #f8fafc;
    font-size: 16px;
    font-weight: bold;
}

#navigation dl dd,
#top_requests dl dd {
    margin: 0;
    border-top: 1px solid #0f172a;
}

#navigation dl dd a,
#top_requests dl dd a {
    display: block;
    padding: 12px 16px;
    color: #cbd5e1;
}

#navigation dl dd a:hover,
#top_requests dl dd a:hover {
    background: #0f172a;
    text-decoration: none;
}

#navigation dl dd img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

#partner-links {
    padding: 14px;
}

.partner-card {
    padding: 12px;
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #0f172a;
}

.partner-card + .partner-card {
    margin-top: 10px;
}

#currently_playing_wrapper,
#coming-up_wrapper,
#recently_played_wrapper,
#search,
#playlist,
#content {
    margin-left: 274px;
}

#currently_playing_wrapper,
#coming-up_wrapper,
#recently_played_wrapper,
#playlist {
    margin-bottom: 16px;
}

#currently_playing,
#coming-up,
#recently_played,
#playlist_wrapper,
#search,
#content {
    padding: 16px;
    overflow-x: auto;
}

#currently_playing table,
#coming-up table,
#recently_played table,
#playlist table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

#currently_playing th,
#coming-up th,
#recently_played th,
#playlist th {
    padding: 10px 8px;
    border-bottom: 1px solid #334155;
    color: #f8fafc;
    font-size: 14px;
}

#currently_playing td,
#coming-up td,
#recently_played td,
#playlist td {
    padding: 10px 8px;
    border-bottom: 1px solid #1e293b;
    vertical-align: top;
}

#currently-playing-duration,
#dedication-name,
#dedication-message,
.request-label {
    color: #bfdbfe;
}

.rpPicture,
#cpPictureMainSong {
    border-radius: 12px;
}

.rpPicture,
#cpPictureMainSong {
    display: block;
    object-fit: cover;
    background: #0f172a;
}

#currently_playing td:first-child,
#coming-up td:first-child,
#recently_played td:first-child {
    width: 110px;
}

.coming-song-meta {
    color: #bfdbfe;
}


.song-stack {
    font-family: Arial, Tahoma, sans-serif;
}

.song-artist,
#currently-playing-artist {
    display: block;
    margin-bottom: 4px;
    color: #bfdbfe;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

.song-title,
#currently-playing-title {
    display: block;
    color: #f8fafc;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
}

.song-stack-current #currently-playing-artist,
.song-stack-current .song-artist {
    font-size: 22px;
}

.song-stack-current #currently-playing-title,
.song-stack-current .song-title {
    font-size: 28px;
}

.song-album {
    margin-top: 6px;
    color: #bfdbfe;
    font-size: 15px;
}

.song-meta-value {
    color: #f8fafc;
}

#search form {
    margin: 0;
}

#search input[type="text"],
#search select,
#search input[type="submit"],
#search button,
#playlist input,
#content input,
#content textarea,
.popup-page input,
.popup-page textarea {
    box-sizing: border-box;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
    color: #f8fafc;
    font: inherit;
}

#search input[type="text"],
#search select,
#content input[type="text"],
#content textarea,
.popup-page input[type="text"],
.popup-page textarea {
    padding: 10px 12px;
}

#search input[type="submit"],
#search button,
#content input[type="submit"],
.popup-page input[type="submit"] {
    padding: 10px 14px;
    cursor: pointer;
    background: #2563eb;
    border-color: #2563eb;
}

#search input[type="submit"]:hover,
#content input[type="submit"]:hover,
.popup-page input[type="submit"]:hover {
    background: #1d4ed8;
}

#search table {
    display: block;
    overflow-x: auto;
    margin-top: 10px;
}

.characterButton {
    min-width: 38px;
    padding: 8px 10px;
}

#activeCharacter {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.playlist_odd,
.recently_played_odd {
    background: rgba(255, 255, 255, 0.02);
}

.playlist_even,
.recently_played_even {
    background: rgba(15, 23, 42, 0.7);
}

#td-playlist-paging {
    text-align: center;
    color: #93c5fd;
}

#footer {
    clear: both;
    flex: 0 0 auto;
    margin-top: 20px;
    padding: 0;
    min-height: 28px;
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #111827;
    text-align: center;
    color: #94a3b8;
}

#footer .footer-spacer {
    height: 28px;
}

.popup-page {
    max-width: 860px;
}

.popup-page #footer {
    margin-top: 16px;
}

#content h1,
.page-card h1,
.popup-page h1 {
    margin-top: 0;
    color: #f8fafc;
}

#content h2,
.page-card h2,
.popup-page h2 {
    color: #cbd5e1;
}


#navigation dl dd.menu-player-item {
    padding: 12px 16px 14px;
    background: #0f172a;
}

#navigation dl dd.menu-player-item:hover {
    background: #0f172a;
}

.menu-player-label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-weight: bold;
}

.menu-player-label img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

.menu-audio-player {
    width: 100%;
}

@media (max-width: 980px) {
    #sidebar-shell,
    #navigation,
    #top_requests,
    #partner-links {
        float: none;
        width: auto;
    }

    #currently_playing_wrapper,
    #coming-up_wrapper,
    #recently_played_wrapper,
    #search,
    #playlist,
    #content {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    #page {
        padding: 12px;
    }

    #logo {
        display: block;
        text-align: center;
    }

    #logo a,
    #logo .logo-title {
        justify-content: center;
        font-size: 24px;
    }

    #listener_count {
        margin-top: 10px;
    }

    #currently_playing table,
    #coming-up table,
    #recently_played table,
    #playlist table {
        min-width: 560px;
    }
}

.playlist-search-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.playlist-search-row label {
	font-weight: bold;
}

.playlist-search-row input[type="text"],
.playlist-search-row select {
	max-width: 100%;
}

@media screen and (max-width: 700px) {
	.playlist-search-row {
		align-items: stretch;
	}

	.playlist-search-row label,
	.playlist-search-row span {
		width: 100%;
	}
}


#playlist .request-col {
    width: 120px;
    text-align: center;
}

.request-action {
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.request-action:hover {
    background: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
}

.request-disabled {
    color: #94a3b8;
    font-size: 12px;
}


#shell-layout {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 20px;
}

#shell-layout #sidebar-shell {
    float: none;
    flex: 0 0 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
}

#shell-layout #top_requests {
    margin-bottom: 0;
}

#shell-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#content_frame {
    display: block;
    width: 100%;
    min-height: 980px;
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

#navigation dl dd a.menu-active {
    background: #0f172a;
    color: #f8fafc;
}

body.frame-mode {
    background: transparent;
    overflow-x: hidden;
}

body.frame-mode #page {
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

body.frame-mode #currently_playing_wrapper,
body.frame-mode #coming-up_wrapper,
body.frame-mode #recently_played_wrapper,
body.frame-mode #search,
body.frame-mode #playlist,
body.frame-mode #content {
    margin-left: 0;
}

body.frame-mode #currently_playing_wrapper,
body.frame-mode #coming-up_wrapper,
body.frame-mode #recently_played_wrapper,
body.frame-mode #search,
body.frame-mode #playlist,
body.frame-mode #content {
    margin-bottom: 16px;
}

body.frame-mode #currently_playing,
body.frame-mode #coming-up,
body.frame-mode #recently_played,
body.frame-mode #playlist_wrapper,
body.frame-mode #search,
body.frame-mode #content,
body.frame-mode #err_message {
    margin: 0 0 16px 0;
}

body.frame-mode #currently_playing table,
body.frame-mode #coming-up table,
body.frame-mode #recently_played table,
body.frame-mode #playlist table {
    min-width: 0;
}

body.frame-mode #footer {
    display: none;
}

@media (max-width: 900px) {
    #shell-layout {
        display: block;
    }

    #shell-layout #sidebar-shell {
        width: auto;
        margin-bottom: 16px;
    }

    #content_frame {
        min-height: 760px;
    }
}


#search,
#playlist_wrapper {
    overflow-x: visible;
}

.playlist-filter-label {
    margin: 0 0 10px 0;
}

.playlist-character-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.playlist-character-grid .characterButton {
    margin: 0;
}

#search table {
    width: 100%;
}

#search form {
    overflow: hidden;
}

.characterButton {
    min-width: 46px;
}

@media (max-width: 900px) {
    .playlist-search-row {
        flex-wrap: wrap;
    }
}


#top_requests_panel {
    margin-bottom: 0;
}

#top_requests_frame {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
}

body.frame-mode {
    background: transparent;
}

body.frame-mode #page {
    max-width: none;
    min-height: 0;
    padding: 0;
}

body.frame-mode #toprequests_embed {
    margin: 0;
    padding: 0;
}

body.frame-mode #toprequests_embed #top_requests {
    margin: 0;
}

body.frame-mode #toprequests_embed #top_requests dl {
    margin: 0;
}

body.frame-mode #toprequests_embed #top_requests dl dd {
    padding: 0;
}

body.frame-mode #toprequests_embed #top_requests dl dd a,
body.frame-mode #toprequests_embed #top_requests dl dd .toprequests-empty {
    display: block;
    padding: 12px 16px;
    color: #cbd5e1;
    line-height: 1.45;
}

body.frame-mode #toprequests_embed #top_requests dl dd a:hover {
    background: #0f172a;
    color: #93c5fd;
    text-decoration: none;
}


.playlist-status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px 0;
}

.playlist-status-legend .legend-item,
.request-status {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.legend-available,
.request-available {
    background: #16a34a;
    color: #ffffff;
}

.legend-queue,
.request-queue {
    background: #f59e0b;
    color: #111827;
}

.legend-recent-artist,
.request-recent-artist {
    background: #dc2626;
    color: #ffffff;
}

.legend-recent-song,
.request-recent-song {
    background: #6b7280;
    color: #ffffff;
}

.request-status {
    min-width: 92px;
    text-align: center;
}

.request-status.request-recent-artist,
.request-status.request-recent-song {
    min-width: 98px;
}


.inline-smiley {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin: 0 2px;
}


#request_messages_panel {
    margin: 0 0 20px 0;
}

#request_messages_frame {
    display: block;
    width: 100%;
    min-height: 0;
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

#requestmessages_embed {
    margin: 0;
    padding: 0;
}

.request-messages-bar {
    padding: 2px 0;
    overflow: hidden;
}

.request-messages-viewport {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 30px;
}

.request-messages-track {
    position: absolute;
    top: 0;
    left: 100%;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.request-message-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 56px;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
}

.request-message-song,
.request-message-name {
    color: #f8fafc;
    font-weight: bold;
}

.request-message-prefix {
    color: #93c5fd;
    font-weight: bold;
}

.request-message-text {
    color: #cbd5e1;
}

.request-message-text .inline-smiley {
    vertical-align: middle;
    margin: 0 2px;
}

.request-messages-empty {
    padding: 4px 16px;
    color: #94a3b8;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}

body.frame-mode #requestmessages_embed {
    margin: 0;
    padding: 0;
}

body.frame-mode #requestmessages_embed #footer {
    display: none;
}


/* Website huisstijl override */
:root{
  --pr-bg:#131417;
  --pr-bg-2:#171a1f;
  --pr-panel:#1c1f24;
  --pr-panel-2:#252a31;
  --pr-line:#323843;
  --pr-text:#f2f4f7;
  --pr-muted:#b7bec8;
  --pr-accent:#c8372f;
  --pr-accent-2:#f06a4f;
  --pr-soft:#ffe7dd;
  --pr-shadow:0 14px 40px rgba(0,0,0,.28);
}

body{
  background:var(--pr-bg);
  color:var(--pr-muted);
}

a{
  color:var(--pr-accent-2);
}

a:hover{
  color:var(--pr-soft);
  text-decoration:none;
}

#logo,
#err_message,
.page-card,
#currently_playing,
#coming-up,
#recently_played,
#search,
#playlist_wrapper,
#content,
#top_requests dl,
#navigation dl,
#partner-links,
#footer,
#content_frame,
#request_messages_frame{
  border-color:var(--pr-line);
  background:var(--pr-panel);
  box-shadow:var(--pr-shadow);
}

#logo{
  background:linear-gradient(180deg, #1b1f25 0%, #16191e 100%);
}

#logo a,
#logo .logo-title,
#logo .logo-title span,
#logo > span,
#navigation dl dt,
#top_requests dl dt,
#currently_playing th,
#coming-up th,
#recently_played th,
#playlist th,
#content h1,
.page-card h1,
.popup-page h1{
  color:var(--pr-text);
}

#listener_count,
#currently-playing-duration,
#dedication-name,
#dedication-message,
.request-label,
.coming-song-meta,
.song-artist,
#currently-playing-artist,
.song-album,
#td-playlist-paging{
  color:var(--pr-accent-2);
}

#navigation dl dd,
#top_requests dl dd{
  border-top-color:#101215;
}

#navigation dl dd a,
#top_requests dl dd a,
body.frame-mode #toprequests_embed #top_requests dl dd a,
body.frame-mode #toprequests_embed #top_requests dl dd .toprequests-empty{
  color:var(--pr-muted);
}

#navigation dl dd a:hover,
#top_requests dl dd a:hover,
body.frame-mode #toprequests_embed #top_requests dl dd a:hover,
#navigation dl dd a.menu-active{
  background:rgba(200,55,47,.12);
  color:var(--pr-text);
}

.partner-card{
  border-color:var(--pr-line);
  background:var(--pr-bg-2);
}

#currently_playing td,
#coming-up td,
#recently_played td,
#playlist td{
  border-bottom-color:var(--pr-line);
}

#currently_playing th,
#coming-up th,
#recently_played th,
#playlist th{
  border-bottom-color:rgba(240,106,79,.28);
}

.song-title,
#currently-playing-title,
.song-meta-value{
  color:var(--pr-text);
}

#search input[type="text"],
#search select,
#search input[type="submit"],
#search button,
#playlist input,
#content input,
#content textarea,
.popup-page input,
.popup-page textarea{
  border-color:var(--pr-line);
  background:var(--pr-bg-2);
  color:var(--pr-text);
}

#search input[type="text"]:focus,
#search select:focus,
#content input[type="text"]:focus,
#content textarea:focus,
.popup-page input[type="text"]:focus,
.popup-page textarea:focus{
  outline:none;
  border-color:var(--pr-accent-2);
  box-shadow:0 0 0 3px rgba(240,106,79,.12);
}

#search input[type="submit"],
#search button,
#content input[type="submit"],
.popup-page input[type="submit"],
.request-action,
#activeCharacter{
  background:linear-gradient(180deg, var(--pr-accent) 0%, #aa2c25 100%);
  border-color:var(--pr-accent);
  color:#fff;
}

#search input[type="submit"]:hover,
#content input[type="submit"]:hover,
.popup-page input[type="submit"]:hover,
.request-action:hover{
  background:linear-gradient(180deg, var(--pr-accent-2) 0%, var(--pr-accent) 100%);
  border-color:var(--pr-accent-2);
  color:#fff;
}

.playlist_odd,
.recently_played_odd{
  background:rgba(255,255,255,.02);
}

.playlist_even,
.recently_played_even{
  background:rgba(19,20,23,.75);
}

.menu-player-label{
  color:var(--pr-soft);
}

#navigation dl dd.menu-player-item,
#navigation dl dd.menu-player-item:hover{
  background:var(--pr-bg-2);
}

.legend-available,
.request-available{
  background:#2f7d47;
  color:#fff;
}

.legend-queue,
.request-queue{
  background:#c47b19;
  color:#fff;
}

.legend-recent-artist,
.request-recent-artist{
  background:var(--pr-accent);
  color:#fff;
}

.legend-recent-song,
.request-recent-song{
  background:#5b6470;
  color:#fff;
}

.request-disabled{
  color:var(--pr-muted);
}

#request_messages_frame,
#top_requests_frame{
  background:transparent;
}

body.frame-mode #page{
  background:transparent;
}


/* Mobiele weergave voor verzoeksysteem */
@media (max-width: 700px) {
    #page {
        padding: 10px;
    }

    body.frame-mode #page {
        padding: 0;
    }

    #search,
    #playlist_wrapper,
    #currently_playing,
    #coming-up,
    #recently_played,
    #content {
        padding: 12px;
        overflow: hidden;
    }

    #currently_playing table,
    #coming-up table,
    #recently_played table,
    #playlist table {
        width: 100%;
        min-width: 0;
    }

    #currently_playing thead,
    #coming-up thead,
    #recently_played thead,
    #playlist thead {
        display: none;
    }

    #currently_playing tbody,
    #coming-up tbody,
    #recently_played tbody,
    #playlist tbody,
    #currently_playing tr,
    #coming-up tr,
    #recently_played tr,
    #playlist tr,
    #currently_playing td,
    #coming-up td,
    #recently_played td,
    #playlist td {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    #currently_playing tr,
    #coming-up tr,
    #recently_played tr,
    #playlist tr {
        padding: 12px;
        margin-bottom: 12px;
        border: 1px solid #1e293b;
        border-radius: 14px;
        background: #0f172a;
    }

    #currently_playing td,
    #coming-up td,
    #recently_played td,
    #playlist td {
        border: 0;
        padding: 6px 0;
    }

    #currently_playing td[data-label]::before,
    #coming-up td[data-label]::before,
    #recently_played td[data-label]::before,
    #playlist td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #93c5fd;
    }

    #td-playlist-paging {
        padding: 10px 0 2px !important;
        border: 0 !important;
        background: transparent !important;
    }

    #playlist .request-col,
    .request-action,
    .request-status,
    .request-disabled {
        width: 100%;
    }

    .request-action,
    .request-status,
    .request-disabled {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        border-radius: 12px;
    }

    .playlist-search-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .playlist-search-row label,
    .playlist-search-row span,
    .playlist-search-row input[type="text"],
    .playlist-search-row select,
    .playlist-search-row input[type="submit"] {
        width: 100%;
        max-width: 100%;
    }

    .playlist-character-grid {
        gap: 6px;
    }

    .characterButton {
        min-width: 40px;
        flex: 1 0 calc(20% - 6px);
    }


    /* Mobiele Panter Radio opschoning voor playlist en live op verzoek */
    #currently_playing td[data-label="Hoes"]::before,
    #coming-up td[data-label="Hoes"]::before,
    #recently_played td[data-label="Hoes"]::before,
    #playlist td[data-label="Hoes"]::before,
    #currently_playing td[data-label="Nummer"]::before,
    #coming-up td[data-label="Nummer"]::before,
    #recently_played td[data-label="Nummer"]::before,
    #playlist td[data-label="Nummer"]::before,
    #playlist td[data-label="Nr"]::before {
        content: none;
        display: none;
    }

    #playlist td[data-label="Nr"] {
        display: none;
    }

    #currently_playing td[data-label="Hoes"],
    #coming-up td[data-label="Hoes"],
    #recently_played td[data-label="Hoes"],
    #playlist td[data-label="Hoes"] {
        padding-top: 0;
    }

    #currently_playing td[data-label="Nummer"],
    #coming-up td[data-label="Nummer"],
    #recently_played td[data-label="Nummer"],
    #playlist td[data-label="Nummer"] {
        font-size: 1.02rem;
        line-height: 1.35;
    }

    #playlist .request-col {
        text-align: left !important;
    }

    .request-action,
    .request-status,
    .request-disabled {
        width: auto;
        min-width: 0;
        min-height: 36px;
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .request-status.request-recent-artist,
    .request-status.request-recent-song,
    .request-status.request-queue {
        justify-content: center;
    }

    .song-title,
    #currently-playing-title {
        font-size: 20px;
    }

    .song-artist,
    #currently-playing-artist,
    .song-stack-current #currently-playing-artist,
    .song-stack-current .song-artist {
        font-size: 16px;
    }

    .song-stack-current #currently-playing-title,
    .song-stack-current .song-title {
        font-size: 22px;
    }

    #top_requests dl dd a,
    body.frame-mode #toprequests_embed #top_requests dl dd a {
        padding: 12px 14px;
    }

    .request-messages-bar {
        border-radius: 12px;
    }
}

/* Commercial installer theme overrides */
#logo,#navigation dt,#top_requests dt{background:var(--app-primary)!important;}
body{background:var(--app-bg)!important;color:var(--app-text)!important;}
a{color:var(--app-secondary);}
#navigation dd a.menu-active,#navigation dd a:hover{color:var(--app-secondary)!important;}


#navigation dl dd a[href*="admin/index.php"] img {
    display: none;
}



/* Songtekst en karaoke pop-up */
.song-actions {
    margin-top: 10px;
}
.lyrics-button {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 8px;
    background: #d68b2c;
    color: #111827 !important;
    font-weight: bold;
    text-decoration: none !important;
}
.lyrics-button:hover {
    background: #f0a23a;
    color: #111827 !important;
}
.lyrics-popup-page {
    max-width: 860px;
    min-height: auto;
}
.lyrics-popup-card {
    border: 1px solid #1e293b;
    border-radius: 14px;
    background: #111827;
    padding: 18px;
    color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,.24);
}
.lyrics-popup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.lyrics-popup-header h1 {
    margin: 0 0 4px 0;
    color: #f8fafc;
}
.lyrics-cover {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0f172a;
}
.lyrics-artist-title {
    font-size: 18px;
    font-weight: bold;
    color: #d68b2c;
}
.lyrics-status,
.lyrics-mode {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 6px;
}
.lyrics-empty {
    padding: 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #cbd5e1;
}
.lyrics-controls {
    margin: 12px 0;
}
.lyrics-controls button {
    margin: 0 6px 6px 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: #23405a;
    color: #fff;
    cursor: pointer;
}
.lyrics-controls button:hover {
    background: #315a7d;
}
.lyrics-lines {
    max-height: 440px;
    overflow: auto;
    padding: 14px;
    border-radius: 12px;
    background: #0f172a;
    border: 1px solid #1e293b;
    font-size: 22px;
    line-height: 1.65;
}
.lyrics-lines-plain {
    font-size: 18px;
    line-height: 1.7;
    white-space: normal;
}
.lyrics-line {
    padding: 7px 10px;
    border-radius: 8px;
    color: #cbd5e1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lyrics-passed {
    color: #64748b;
}
.lyrics-active {
    color: #052e16;
    background: #22c55e;
    font-weight: bold;
    transform: scale(1.02);
}
.lyrics-noscript {
    white-space: pre-wrap;
    color: #e5e7eb;
}
@media(max-width:700px) {
    .lyrics-popup-header { align-items: flex-start; }
    .lyrics-cover { width: 72px; height: 72px; }
    .lyrics-lines { font-size: 18px; max-height: 55vh; }
}

.lyrics-sync-status{
    margin:8px 0 14px;
    color:#cbd5e1;
    font-size:13px;
}

.lyrics-step-control{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 8px 8px 0;
    color:#f8fafc;
    font-weight:700;
}
.lyrics-step-control label{
    font-size:14px;
}
.lyrics-step-control input{
    width:74px;
    padding:9px 8px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.25);
    background:#0f172a;
    color:#fff;
    font-size:16px;
    font-weight:700;
}
.lyrics-step-control input::-webkit-outer-spin-button,
.lyrics-step-control input::-webkit-inner-spin-button{
    opacity:1;
}
@media(max-width:640px){
    .lyrics-step-control{
        width:100%;
        margin-bottom:10px;
    }
}

.site-bottom-bar{
    clear:both;
    margin:28px 0 0;
    padding:18px 24px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:22px;
    background:rgba(17,24,39,.92);
    box-shadow:0 10px 30px rgba(0,0,0,.22);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}
.bottom-counter-button,
.bottom-credit-link{
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-height:56px;
    border:0;
    border-radius:16px;
    color:#f8fafc;
    font-size:18px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}
.bottom-counter-button{
    background:rgba(255,255,255,.08);
    padding:10px 18px;
}
.bottom-counter-button:hover,
.bottom-credit-link:hover{
    background:rgba(255,255,255,.12);
    text-decoration:none;
}
.bottom-credit-link{
    padding:10px 18px;
    justify-content:flex-end;
    text-align:right;
}
.bottom-counter-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    background:rgba(255,255,255,.12);
    display:inline-flex;
    align-items:flex-end;
    justify-content:center;
    gap:4px;
    padding:9px;
    box-sizing:border-box;
}
.bottom-counter-icon span{
    display:block;
    width:5px;
    border-radius:4px 4px 0 0;
    background:#f8fafc;
}
.bottom-counter-icon span:nth-child(1){height:10px;}
.bottom-counter-icon span:nth-child(2){height:17px;}
.bottom-counter-icon span:nth-child(3){height:24px;background:#d68b2c;}
.visitor-counter-overlay{
    position:fixed;
    z-index:9999;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(0,0,0,.55);
}
.visitor-counter-modal{
    position:relative;
    width:min(560px, 92vw);
    border-radius:18px;
    background:rgba(31,28,24,.97);
    color:#f8fafc;
    padding:28px;
    box-shadow:0 24px 80px rgba(0,0,0,.45);
}
.visitor-counter-modal h2{
    margin:0 0 8px;
    font-size:34px;
    color:#f8fafc;
}
.visitor-counter-modal p{
    margin:0 0 22px;
    font-size:18px;
    color:#f8fafc;
}
.visitor-counter-close{
    position:absolute;
    top:16px;
    right:16px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.2);
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:28px;
    line-height:38px;
    cursor:pointer;
}
.visitor-counter-card{
    margin:18px 0;
    padding:22px 24px;
    border-radius:16px;
    background:rgba(255,255,255,.09);
}
.visitor-counter-card strong{
    display:block;
    font-size:46px;
    line-height:1;
    color:#ffe082;
}
.visitor-counter-card span{
    display:block;
    margin-top:8px;
    font-size:22px;
    font-weight:700;
    color:#f8fafc;
}
@media(max-width:760px){
    .site-bottom-bar{
        flex-direction:column;
        align-items:stretch;
        padding:14px;
    }
    .bottom-counter-button,
    .bottom-credit-link{
        width:100%;
        justify-content:center;
        box-sizing:border-box;
        font-size:16px;
    }
    .visitor-counter-modal{
        padding:22px;
    }
    .visitor-counter-modal h2{
        font-size:28px;
    }
    .visitor-counter-card strong{
        font-size:38px;
    }
    .visitor-counter-card span{
        font-size:18px;
    }
}

.hjg-credit-link{
    border:1px solid rgba(214,139,44,.55);
    border-radius:18px;
    padding:10px 16px;
    background:linear-gradient(135deg,rgba(23,23,23,.95),rgba(35,64,90,.92));
    color:#f8fafc;
}
.hjg-brand-mark{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:54px;
    height:34px;
    padding:0 8px;
    border-radius:12px;
    background:#d68b2c;
    color:#111827;
    font-weight:900;
    letter-spacing:.02em;
}

#playlist .playlist-song-artist{
    display:block;
    color:var(--playlist-artist,#bfdbfe);
    font-weight:700;
    line-height:1.35;
}
#playlist .playlist-song-title{
    display:block;
    color:var(--playlist-title,#f8fafc);
    line-height:1.35;
}
#playlist .playlist-requested-label{
    display:block;
    margin-top:4px;
    color:var(--playlist-artist,#bfdbfe);
    font-size:12px;
    font-weight:700;
}
#playlist .playlist-album-col{
    color:var(--playlist-album,#bfdbfe);
}
#playlist .playlist-time-col{
    color:var(--playlist-time,#f8fafc);
    font-weight:700;
}

#search input.characterButton,
#search .characterButton,
#activeCharacter{
    background:var(--playlist-filter-button-bg,#d68b2c);
    color:var(--playlist-filter-button-text,#111827);
    border-color:var(--playlist-filter-button-bg,#d68b2c);
}
#playlist .request-action.request-available,
#playlist a.request-action.request-available,
#playlist .request-available{
    background:var(--playlist-request-bg,#2563eb);
    color:var(--playlist-request-text,#fff);
}
#playlist .request-status.request-queue,
#playlist .request-queue{
    background:var(--playlist-queue-bg,#f59e0b);
    color:var(--playlist-queue-text,#111827);
}
#playlist .request-status.request-recent-artist,
#playlist .request-recent-artist{
    background:var(--playlist-artist-recent-bg,#dc2626);
    color:var(--playlist-artist-recent-text,#fff);
}
#playlist .request-status.request-recent-song,
#playlist .request-recent-song{
    background:var(--playlist-title-recent-bg,#6b7280);
    color:var(--playlist-title-recent-text,#fff);
}

/* Style audit v21, harde koppeling tussen Admin kleuren en site onderdelen */
#coming-up .coming-time-col{color:var(--coming-time,#f8fafc)!important;font-weight:700;}
#recently_played .recent-album-col{color:var(--recent-album,#bfdbfe)!important;}
#recently_played .recent-time-col{color:var(--recent-time,#f8fafc)!important;font-weight:700;}
#playlist_wrapper{background:var(--playlist-background,#111827)!important;}
#playlist tr.playlist_odd,#playlist .playlist_odd{background:var(--playlist-row-bg,#0f172a)!important;}
#playlist tr.playlist_even,#playlist .playlist_even{background:var(--playlist-row-alt-bg,#111827)!important;}
#playlist .playlist-song-artist{color:var(--playlist-artist,#bfdbfe)!important;}
#playlist .playlist-song-title{color:var(--playlist-title,#f8fafc)!important;}
#playlist .playlist-album-col{color:var(--playlist-album,#bfdbfe)!important;}
#playlist .playlist-time-col{color:var(--playlist-time,#f8fafc)!important;}
#search input.characterButton,#search .characterButton,#activeCharacter{background:var(--playlist-filter-button-bg,#d68b2c)!important;color:var(--playlist-filter-button-text,#111827)!important;border-color:var(--playlist-filter-button-bg,#d68b2c)!important;}
#playlist .request-action.request-available,#playlist a.request-action.request-available,#playlist .request-available{background:var(--playlist-request-bg,#2563eb)!important;color:var(--playlist-request-text,#fff)!important;}
#playlist .request-status.request-queue,#playlist .request-queue{background:var(--playlist-queue-bg,#f59e0b)!important;color:var(--playlist-queue-text,#111827)!important;}
#playlist .request-status.request-recent-artist,#playlist .request-recent-artist{background:var(--playlist-artist-recent-bg,#dc2626)!important;color:var(--playlist-artist-recent-text,#fff)!important;}
#playlist .request-status.request-recent-song,#playlist .request-recent-song{background:var(--playlist-title-recent-bg,#6b7280)!important;color:var(--playlist-title-recent-text,#fff)!important;}

/* Popup mini footer v23 */
.popup-mini-credit{
    margin:24px 0 0;
    padding:12px 0;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:right;
}
.popup-mini-credit a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border:1px solid #d68b2c;
    border-radius:14px;
    background:#171717;
    color:var(--request-text,#e5e7eb);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
}
.popup-mini-credit-mark{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:26px;
    padding:0 7px;
    border-radius:10px;
    background:#d68b2c;
    color:#111827;
    font-weight:900;
}

/* Main footer compact v24 */
.site-bottom-bar.site-bottom-bar-compact{
    margin:18px 0 0;
    padding:10px 14px;
    border-radius:16px;
    min-height:0;
    gap:12px;
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 8px 22px rgba(0,0,0,.16);
}

.site-bottom-bar-compact .bottom-counter-button,
.site-bottom-bar-compact .bottom-credit-link{
    min-height:40px;
    border-radius:12px;
    padding:7px 11px;
    gap:8px;
    font-size:14px;
    line-height:1.2;
}

.site-bottom-bar-compact .bottom-counter-icon{
    width:28px;
    height:28px;
    border-radius:9px;
    padding:6px;
    gap:3px;
}

.site-bottom-bar-compact .bottom-counter-icon span{
    width:4px;
}

.site-bottom-bar-compact .bottom-counter-icon span:nth-child(1){height:7px;}
.site-bottom-bar-compact .bottom-counter-icon span:nth-child(2){height:12px;}
.site-bottom-bar-compact .bottom-counter-icon span:nth-child(3){height:17px;}

.site-bottom-bar-compact .hjg-brand-mark{
    min-width:46px;
    height:26px;
    border-radius:9px;
    padding:0 7px;
    font-size:13px;
}

.site-bottom-bar-compact .hjg-credit-link{
    border:1px solid rgba(214,139,44,.58);
    background:linear-gradient(135deg,rgba(23,23,23,.96),rgba(31,41,55,.94));
    font-size:14px;
}

.site-bottom-bar-compact .bottom-counter-text,
.site-bottom-bar-compact .hjg-credit-text{
    white-space:nowrap;
}

@media(max-width:640px){
    .site-bottom-bar.site-bottom-bar-compact{
        align-items:stretch;
        flex-direction:column;
        padding:10px;
        gap:8px;
    }
    .site-bottom-bar-compact .bottom-counter-button,
    .site-bottom-bar-compact .bottom-credit-link{
        width:100%;
        justify-content:center;
        font-size:13px;
    }
}

/* Request messages style v25 */
#request_messages_frame{
    background:var(--requestmessages-frame-bg,#111827)!important;
    border-color:var(--requestmessages-frame-border,#1e293b)!important;
}
#requestmessages_embed,
.request-messages-bar{
    background:var(--requestmessages-bar-bg,#111827)!important;
    color:var(--requestmessages-text,#e2e8f0)!important;
}
.request-message-item{color:var(--requestmessages-text,#e2e8f0)!important;}
.request-message-song{color:var(--requestmessages-song,#f8fafc)!important;}
.request-message-prefix{color:var(--requestmessages-prefix,#93c5fd)!important;}
.request-message-name{color:var(--requestmessages-name,#f8fafc)!important;}
.request-message-text{color:var(--requestmessages-message,#cbd5e1)!important;}
.request-messages-empty{
    background:var(--requestmessages-bar-bg,#111827)!important;
    color:var(--requestmessages-empty,#94a3b8)!important;
}

/* Favicon basisinstellingen v31 */
.admin-favicon-preview img{
    width:40px;
    height:40px;
    object-fit:contain;
}


/* v33 menu icon modernisering */
#navigation .menu-entry-icon img { vertical-align: middle; }
#navigation .menu-entry-text { vertical-align: middle; }

/* V39 oude Admin pseudo-pictogram verwijderd */
#navigation dl dd a[href*="admin/index.php"]::before{
    content:none!important;
    display:none!important;
    background-image:none!important;
}


.playlist-live-dj-notice {
    margin: 12px 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(214, 139, 44, 0.18);
    border: 1px solid rgba(214, 139, 44, 0.55);
    color: #f8fafc;
    font-weight: 800;
}
.request-live-closed {
    display: inline-block;
    max-width: 160px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    opacity: 0.9;
}
