/* =========================================================
   SongChoice – Public styles (dark-theme + 3-column grid)
   ========================================================= */

.songchoice-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 0;
}

/* ---------- Card ---------- */
.songchoice-item {
	position: relative;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 14px;
	padding: 1.35rem 1.35rem 1.2rem;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
	color: #f0f0f0;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.songchoice-item:hover {
	border-color: #4a4a4a;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
	transform: translateY(-2px);
}

/* ---------- Header + Genre ---------- */
.songchoice-header {
	margin-bottom: 0.6rem;
}

.songchoice-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}

.songchoice-genre-badge {
	display: inline-block;
	background: #2c2c2c;
	color: #f5a623;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid #3d3d3d;
}

.songchoice-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

/* ---------- Description ---------- */
.songchoice-description {
	margin-bottom: 0.9rem;
	color: #aaa;
	font-size: 0.88rem;
	line-height: 1.5;
	flex-grow: 0;
}

.songchoice-description p {
	margin: 0 0 0.4rem;
}

/* ---------- Player ---------- */
.songchoice-player {
	margin: 0.5rem 0 1rem;
}

.songchoice-player audio {
	width: 100%;
	height: 40px;
	border-radius: 8px;
	outline: none;
}

.songchoice-no-audio {
	color: #777;
	font-style: italic;
	margin: 0.75rem 0;
	font-size: 0.85rem;
}

/* ---------- Rating area ---------- */
.songchoice-rating-area {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #2e2e2e;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

/* Average block */
.songchoice-average {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.songchoice-avg-score {
	display: flex;
	align-items: baseline;
	gap: 0.1rem;
	min-width: 58px;
}

.songchoice-avg-value {
	font-size: 1.65rem;
	font-weight: 700;
	color: #f5a623;
	line-height: 1;
}

.songchoice-avg-max {
	font-size: 0.85rem;
	color: #888;
	font-weight: 500;
}

.songchoice-avg-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.songchoice-stars {
	display: flex;
	gap: 1px;
	line-height: 1;
}

.songchoice-stars .star {
	font-size: 0.9rem;
	line-height: 1;
}

.songchoice-stars .star.full,
.songchoice-stars .star.half {
	color: #f5a623;
}

.songchoice-stars .star.empty {
	color: #444;
}

.songchoice-vote-count {
	font-size: 0.75rem;
	color: #777;
}

/* ---------- Rate form ---------- */
.songchoice-rate-form {
	background: #222;
	border: 1px solid #333;
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.songchoice-rate-label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #999;
}

.songchoice-star-input {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
}

.songchoice-star-input .star-btn {
	background: none;
	border: none;
	padding: 1px 2px;
	margin: 0;
	font-size: 1.25rem;
	color: #555;
	cursor: pointer;
	line-height: 1;
	transition: color 0.12s ease, transform 0.12s ease;
	border-radius: 3px;
}

.songchoice-star-input .star-btn:hover,
.songchoice-star-input .star-btn.hovered {
	color: #f5a623;
	transform: scale(1.2);
}

.songchoice-star-input .star-btn.selected {
	color: #f5a623;
}

.songchoice-star-input .star-btn:focus {
	outline: 2px solid #f5a623;
	outline-offset: 1px;
}

.songchoice-rate-message {
	font-size: 0.8rem;
	color: #4caf50;
	min-height: 1.1em;
}

.songchoice-rate-message.error {
	color: #ef5350;
}

.songchoice-already-rated {
	color: #888;
	font-size: 0.85rem;
	margin: 0;
	padding: 0.4rem 0;
}

/* ---------- Empty state ---------- */
.songchoice-empty {
	text-align: center;
	color: #777;
	padding: 3rem 1rem;
	font-size: 1rem;
	grid-column: 1 / -1;
}

/* ---------- Responsive grid ---------- */
@media (max-width: 960px) {
	.songchoice-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 600px) {
	.songchoice-list {
		grid-template-columns: 1fr;
		gap: 1.15rem;
		padding: 0.5rem 0;
	}

	.songchoice-item {
		padding: 1.2rem 1.15rem 1.1rem;
	}

	.songchoice-title {
		font-size: 1.1rem;
	}

	.songchoice-avg-value {
		font-size: 1.5rem;
	}

	.songchoice-star-input .star-btn {
		font-size: 1.2rem;
	}
}

/* ---------- Feedback button ---------- */
.songchoice-feedback-actions {
	margin-top: 0.35rem;
}

.songchoice-view-feedback {
	background: transparent;
	border: 1px solid #444;
	color: #ccc;
	font-size: 0.8rem;
	padding: 0.4rem 0.75rem;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.songchoice-view-feedback:hover {
	border-color: #f5a623;
	color: #f5a623;
	background: rgba(245, 166, 35, 0.08);
}

/* ---------- Modal ---------- */
.songchoice-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.songchoice-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.songchoice-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	cursor: pointer;
}

.songchoice-modal-dialog {
	position: relative;
	background: #1e1e1e;
	border: 1px solid #333;
	border-radius: 14px;
	width: 100%;
	max-width: 520px;
	max-height: 85vh;
	overflow-y: auto;
	padding: 1.5rem 1.5rem 1.25rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	color: #f0f0f0;
}

.songchoice-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.9rem;
	background: none;
	border: none;
	color: #999;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.2rem 0.4rem;
}

.songchoice-modal-close:hover {
	color: #fff;
}

.songchoice-modal-title {
	margin: 0 2rem 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
}

.songchoice-modal-body {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Comments list */
.songchoice-comments-list {
	max-height: 240px;
	overflow-y: auto;
	padding-right: 0.25rem;
}

.songchoice-comment {
	padding: 0.75rem 0;
	border-bottom: 1px solid #2e2e2e;
}

.songchoice-comment:last-child {
	border-bottom: none;
}

.songchoice-comment-meta {
	font-size: 0.8rem;
	color: #999;
	margin-bottom: 0.35rem;
}

.songchoice-comment-meta strong {
	color: #f5a623;
}

.songchoice-comment-body {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #ddd;
}

.songchoice-comment-body p {
	margin: 0 0 0.4rem;
}

.songchoice-comments-loading,
.songchoice-no-comments {
	color: #777;
	font-size: 0.9rem;
	margin: 0.5rem 0;
}

/* Comment form */
.songchoice-comment-form-wrap h4 {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	color: #fff;
}

.songchoice-comment-note {
	font-size: 0.8rem;
	color: #888;
	margin: 0 0 0.85rem;
}

.songchoice-comment-form p {
	margin: 0 0 0.75rem;
}

.songchoice-comment-form label {
	display: block;
	font-size: 0.8rem;
	color: #aaa;
	margin-bottom: 0.25rem;
}

.songchoice-comment-form .required {
	color: #f5a623;
}

.songchoice-comment-form input,
.songchoice-comment-form textarea {
	width: 100%;
	background: #2a2a2a;
	border: 1px solid #444;
	border-radius: 6px;
	color: #f0f0f0;
	padding: 0.5rem 0.65rem;
	font-size: 0.9rem;
	font-family: inherit;
	box-sizing: border-box;
}

.songchoice-comment-form input:focus,
.songchoice-comment-form textarea:focus {
	outline: none;
	border-color: #f5a623;
}

.songchoice-comment-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.songchoice-comment-submit {
	background: #f5a623;
	color: #111;
	border: none;
	border-radius: 6px;
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.songchoice-comment-submit:hover {
	background: #e09515;
}

.songchoice-comment-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.songchoice-comment-message {
	font-size: 0.85rem;
}

.songchoice-comment-message.success {
	color: #4caf50;
}

.songchoice-comment-message.error {
	color: #ef5350;
}

body.songchoice-modal-open {
	overflow: hidden;
}

@media (max-width: 520px) {
	.songchoice-modal-dialog {
		padding: 1.2rem 1.1rem 1rem;
		max-height: 90vh;
	}
}

/* ---------- Card action buttons ---------- */
.songchoice-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.5rem;
}

.songchoice-card-actions button {
	background: transparent;
	border: 1px solid #444;
	color: #ccc;
	font-size: 0.75rem;
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.songchoice-card-actions button:hover {
	border-color: #f5a623;
	color: #f5a623;
	background: rgba(245, 166, 35, 0.08);
}

.songchoice-add-playlist.is-added {
	border-color: #4caf50;
	color: #4caf50;
}

/* ---------- Lyrics panel ---------- */
.songchoice-lyrics-panel {
	position: fixed;
	right: 1rem;
	bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
	width: min(380px, calc(100vw - 2rem));
	max-height: min(70vh, calc(100dvh - 8rem));
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
	z-index: 99990;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

/* Large screens: full visible height on the right */
@media (min-width: 960px) {
	.songchoice-lyrics-panel {
		top: 1rem;
		right: 1rem;
		bottom: 1rem;
		max-height: none;
		height: auto;
		width: min(420px, 32vw);
	}
	.songchoice-lyrics-panel .songchoice-lyrics-lines {
		max-height: none;
		flex: 1;
		height: 100%;
	}
	.songchoice-lyrics-panel .songchoice-lyrics-body {
		flex: 1;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}
}

.songchoice-lyrics-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.songchoice-lyrics-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #2e2e2e;
	gap: 0.5rem;
}

.songchoice-lyrics-song-title {
	font-weight: 600;
	font-size: 0.9rem;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.songchoice-lyrics-close {
	background: none;
	border: none;
	color: #999;
	font-size: 1.4rem;
	cursor: pointer;
	line-height: 1;
	padding: 0 0.2rem;
}

.songchoice-lyrics-close:hover { color: #fff; }

.songchoice-lyrics-body {
	overflow: hidden;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.songchoice-lyrics-lines {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 1rem 1.1rem;
	padding-bottom: calc(2.75rem + env(safe-area-inset-bottom, 0px));
	scroll-behavior: smooth;
}

.songchoice-lyric-line {
	font-size: 0.95rem;
	line-height: 1.55;
	color: #666;
	padding: 0.25rem 0.4rem;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s, transform 0.2s;
}

.songchoice-lyric-line.is-past {
	color: #888;
}

.songchoice-lyric-line.is-active {
	color: #f5a623;
	background: rgba(245, 166, 35, 0.12);
	font-weight: 600;
	transform: scale(1.02);
}

.songchoice-lyrics-empty {
	color: #777;
	font-size: 0.9rem;
	margin: 0;
}

/* ---------- Playlist dock ---------- */
.songchoice-playlist {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%) translateY(calc(100% - 44px));
	width: min(520px, calc(100vw - 1rem));
	background: #161616;
	border: 1px solid #333;
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
	z-index: 99980;
	transition: transform 0.25s ease;
	color: #f0f0f0;
}

.songchoice-playlist.has-items,
.songchoice-playlist.is-expanded {
	/* visible peek */
}

.songchoice-playlist.is-expanded {
	transform: translateX(-50%) translateY(0);
}

.songchoice-playlist[aria-hidden="true"] {
	transform: translateX(-50%) translateY(110%);
	pointer-events: none;
}

.songchoice-playlist-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	cursor: pointer;
	border-bottom: 1px solid #2a2a2a;
	user-select: none;
}

.songchoice-playlist-header strong {
	font-size: 0.9rem;
}

.songchoice-playlist-count {
	background: #f5a623;
	color: #111;
	font-size: 0.7rem;
	font-weight: 700;
	min-width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.35rem;
}

.songchoice-playlist-toggle {
	margin-left: auto;
	background: none;
	border: none;
	color: #aaa;
	font-size: 1rem;
	cursor: pointer;
}

.songchoice-playlist-body {
	padding: 0.5rem 1rem 0.85rem;
}

.songchoice-playlist-items {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	max-height: 180px;
	overflow-y: auto;
}

.songchoice-playlist-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.35rem;
	border-radius: 6px;
	font-size: 0.85rem;
}

.songchoice-playlist-item.is-current {
	background: rgba(245, 166, 35, 0.15);
	color: #f5a623;
}

.songchoice-playlist-item-title {
	flex: 1;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.songchoice-playlist-item-title:hover {
	text-decoration: underline;
}

.songchoice-playlist-remove {
	background: none;
	border: none;
	color: #777;
	font-size: 1.1rem;
	cursor: pointer;
	line-height: 1;
	padding: 0 0.25rem;
}

.songchoice-playlist-remove:hover { color: #ef5350; }

.songchoice-playlist-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.songchoice-playlist-controls button {
	background: #2a2a2a;
	border: 1px solid #444;
	color: #eee;
	font-size: 0.8rem;
	padding: 0.4rem 0.7rem;
	border-radius: 6px;
	cursor: pointer;
}

.songchoice-playlist-controls button:hover {
	border-color: #f5a623;
	color: #f5a623;
}

.songchoice-playlist-play {
	background: #f5a623 !important;
	border-color: #f5a623 !important;
	color: #111 !important;
	font-weight: 600;
}

.songchoice-playlist-clear {
	margin-left: auto;
	opacity: 0.8;
}

#songchoice-playlist-audio {
	display: none;
}

@media (max-width: 960px) {
	.songchoice-lyrics-panel {
		top: 5vh !important;
		left: 0.5rem;
		right: 0.5rem;
		bottom: auto !important;
		width: auto;
		height: 90vh;
		height: 90dvh;
		max-height: 90vh;
		max-height: 90dvh;
		z-index: 100050;
	}
	.songchoice-lyrics-header {
		flex-shrink: 0;
		padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
	}
	.songchoice-lyrics-close {
		min-width: 2.25rem;
		min-height: 2.25rem;
		font-size: 1.75rem;
		color: #fff;
	}
	.songchoice-lyrics-panel .songchoice-lyrics-lines {
		padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
	}
	.songchoice-playlist {
		width: calc(100vw - 0.5rem);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
}

/* Suno-style structure tags in lyrics panel */
.songchoice-lyric-section {
	color: #f5a623 !important;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.85rem;
	margin-bottom: 0.2rem;
	padding: 0.35rem 0.4rem 0.15rem;
	border-bottom: 1px solid #333;
	background: transparent !important;
	transform: none !important;
}

.songchoice-lyric-section:first-child {
	margin-top: 0;
}

.songchoice-lyric-meta {
	color: #666 !important;
	font-size: 0.7rem;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.4rem;
	opacity: 0.75;
	background: transparent !important;
	transform: none !important;
}

.songchoice-lyric-section.is-active,
.songchoice-lyric-meta.is-active {
	/* keep section/meta calmer even if timed */
	background: transparent !important;
	transform: none !important;
}

.songchoice-lyric-inline-tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-right: 0.35rem;
	padding: 0.05rem 0.35rem;
	border-radius: 3px;
}

.songchoice-lyric-inline-section {
	color: #f5a623;
	background: rgba(245, 166, 35, 0.12);
}

.songchoice-lyric-inline-meta {
	color: #777;
	background: #2a2a2a;
	font-style: italic;
}

/* Top meta row: genre badges + post ID, centered */
.songchoice-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-bottom: 0.65rem;
}

.songchoice-post-id {
	display: inline-block;
	background: #2c2c2c;
	color: #aaa;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid #3d3d3d;
	line-height: 1.3;
	user-select: all;
}

.songchoice-header .songchoice-title {
	text-align: center;
}

/* Playlist item meta */
.songchoice-playlist-item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.songchoice-playlist-item-meta {
	font-size: 0.7rem;
	color: #888;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* Admin edit link on post ID (shortcode grid only; capability-checked in PHP) */
a.songchoice-post-id-edit {
	text-decoration: none;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.songchoice-post-id-edit:hover,
a.songchoice-post-id-edit:focus {
	color: #f5a623;
	border-color: #f5a623;
	background: rgba(245, 166, 35, 0.12);
	outline: none;
}

/* Shared song banner */
.songchoice-shared-banner {
	max-width: 1100px;
	margin: 0 auto 1rem;
	padding: 0.75rem 1rem;
	background: #1f1a12;
	border: 1px solid #5a4a28;
	border-radius: 10px;
	color: #e8d5a3;
	font-size: 0.9rem;
}
.songchoice-shared-banner a {
	color: #f5a623;
	font-weight: 600;
}

.songchoice-item.songchoice-shared-highlight {
	border-color: #f5a623;
	box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.35), 0 12px 36px rgba(0, 0, 0, 0.55);
}

/* Share button + menu */
.songchoice-share-btn {
	position: relative;
}

.songchoice-share-menu {
	position: absolute;
	z-index: 50;
	margin-top: 6px;
	min-width: 140px;
	background: #222;
	border: 1px solid #444;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.songchoice-share-menu button {
	appearance: none;
	background: transparent;
	border: 0;
	color: #eee;
	text-align: left;
	padding: 0.55rem 0.85rem;
	font-size: 0.85rem;
	cursor: pointer;
}

.songchoice-share-menu button:hover {
	background: #333;
	color: #f5a623;
}

#songchoice-share-modal.is-open {
	display: flex;
}
#songchoice-share-modal input,
#songchoice-share-modal textarea {
	background: #111;
	border: 1px solid #444;
	color: #eee;
	border-radius: 6px;
	padding: 0.45rem 0.6rem;
	box-sizing: border-box;
}
#songchoice-share-modal .button {
	cursor: pointer;
}

/* ===== Single song page (/song/slug/) ===== */
body.single-sc_song .songchoice-single-main,
.songchoice-single-main {
	width: 100%;
	max-width: 100%;
	padding: 2.5rem 1.25rem 5rem;
	box-sizing: border-box;
}

body.single-sc_song .songchoice-single-wrap,
.songchoice-single-wrap {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
}

/* Force one wide card — never a 3-col grid on single pages */
body.single-sc_song .songchoice-list,
.songchoice-single-view.songchoice-list,
.songchoice-single-view {
	display: block !important;
	grid-template-columns: none !important;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	gap: 0;
	padding: 0;
}

body.single-sc_song .songchoice-item,
.songchoice-single-view .songchoice-item {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 1.75rem 1.75rem 1.5rem;
}

/* Larger title on single */
body.single-sc_song .songchoice-title,
.songchoice-single-view .songchoice-title {
	font-size: 1.75rem;
	line-height: 1.25;
	text-align: center;
}

body.single-sc_song .songchoice-meta-row,
.songchoice-single-view .songchoice-meta-row {
	justify-content: center;
	margin-bottom: 0.75rem;
}

/* Artwork / description images full width inside card */
body.single-sc_song .songchoice-description img,
.songchoice-single-view .songchoice-description img {
	max-width: 100%;
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
	margin: 0.75rem auto 1.25rem;
}

body.single-sc_song .songchoice-player audio,
.songchoice-single-view .songchoice-player audio.songchoice-card-audio {
	display: none !important;
}
.songchoice-player-ui {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
	width: 100%;
	padding: 0.45rem 0.6rem;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 12px;
}
.songchoice-play-btn {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 50%;
	background: #f5a623;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0;
}
.songchoice-play-btn:hover {
	filter: brightness(1.08);
}
.songchoice-play-btn .songchoice-pause-icon {
	letter-spacing: -0.1em;
	font-size: 0.7rem;
}
.songchoice-seek {
	flex: 1 1 120px;
	min-width: 80px;
	accent-color: #f5a623;
	height: 0.35rem;
	cursor: pointer;
}

body.single-sc_song .songchoice-card-actions,
.songchoice-single-view .songchoice-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

body.single-sc_song .songchoice-playlist-dock {
	z-index: 99990;
}

@media (max-width: 600px) {
	body.single-sc_song .songchoice-item,
	.songchoice-single-view .songchoice-item {
		padding: 1.15rem;
	}
	body.single-sc_song .songchoice-title,
	.songchoice-single-view .songchoice-title {
		font-size: 1.35rem;
	}
}


/* Admin-only MP3 filename under player */
.songchoice-audio-filename {
	margin: 0.4rem 0 0;
	padding: 0;
	font-size: 0.7rem;
	line-height: 1.3;
	color: #777;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	word-break: break-all;
	text-align: left;
}


/* Cover + storyboard on cards */
.songchoice-cover {
	margin: 0.5rem 0 0.75rem;
	border-radius: 10px;
	overflow: hidden;
}
.songchoice-cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}


.songchoice-storyboard-slideshow {
	position: relative;
	margin: 0.5rem 0 0.85rem;
	border-radius: 10px;
	overflow: hidden;
	background: #141414;
	border: 1px solid #2a2a2a;
}
.songchoice-storyboard-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.85;
	transition: opacity 0.15s, background 0.15s;
}
.songchoice-storyboard-nav:hover,
.songchoice-storyboard-nav:focus {
	opacity: 1;
	background: rgba(0, 0, 0, 0.75);
	color: #f5a623;
	outline: none;
}
.songchoice-storyboard-prev {
	left: 0.45rem;
}
.songchoice-storyboard-next {
	right: 0.45rem;
}
.songchoice-storyboard-nav span {
	display: block;
	margin-top: -0.1em;
}
.songchoice-storyboard-track {
	position: relative;
	width: 100%;
}
.songchoice-storyboard-slide {
	margin: 0;
	display: none !important;
	width: 100%;
	position: relative;
}
.songchoice-storyboard-slide.is-active {
	display: block !important;
}
.songchoice-storyboard-slide img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.songchoice-storyboard-slide figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.55rem 0.65rem 0.6rem;
	background: linear-gradient(transparent, rgba(0,0,0,0.82));
	font-size: 0.72rem;
	line-height: 1.3;
	color: #ddd;
}
.songchoice-storyboard-slide figcaption strong {
	display: block;
	color: #f0d78c;
	font-size: 0.78rem;
	margin-bottom: 0.15rem;
}
.songchoice-storyboard-dots {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.45rem 0 0.55rem;
	background: #111;
}
.songchoice-storyboard-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #555;
	cursor: pointer;
}
.songchoice-storyboard-dot.is-active {
	background: #f5a623;
}
body.single-sc_song .songchoice-storyboard-slide img {
	aspect-ratio: 16 / 10;
}

/* Notify subscribe form */
.songchoice-notify {
	max-width: 480px;
	margin: 1.5rem auto;
	padding: 1.25rem;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 12px;
	color: #eee;
}
.songchoice-notify-title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	color: #f5a623;
}
.songchoice-notify-desc {
	margin: 0 0 1rem;
	color: #aaa;
	font-size: 0.9rem;
}
.songchoice-notify input[type="email"] {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border-radius: 6px;
	border: 1px solid #444;
	background: #111;
	color: #eee;
	box-sizing: border-box;
}
.songchoice-notify-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 0.75rem;
}
.songchoice-notify-genre {
	font-size: 0.9rem;
	color: #ddd;
}
.songchoice-notify-submit {
	appearance: none;
	border: 0;
	background: #f5a623;
	color: #111;
	font-weight: 600;
	padding: 0.55rem 1.1rem;
	border-radius: 8px;
	cursor: pointer;
}
.songchoice-notify-status {
	min-height: 1.2em;
	font-size: 0.9rem;
}
.songchoice-notify-sms-note {
	font-size: 0.75rem;
	color: #777;
	margin: 0.75rem 0 0;
}


.songchoice-time-display {
	display: inline-flex !important;
	align-items: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	text-align: right;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.82rem;
	color: #ddd;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	background: transparent;
	border: none;
}
.songchoice-time-cur {
	color: #f5a623;
	font-weight: 700;
}
.songchoice-time-sep {
	color: #888;
}
.songchoice-time-dur {
	color: #f0f0f0;
	font-weight: 600;
}


.songchoice-play-count {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: 0.15rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	color: #c8c8c8;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}
.songchoice-play-count-icon {
	color: #f5a623;
	font-size: 0.65rem;
}
.songchoice-play-count-num {
	font-variant-numeric: tabular-nums;
	color: #eee;
}


.songchoice-star-input {
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}
.songchoice-star-input .star-btn {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}
.songchoice-star-input.is-touch .star-btn.hovered,
.songchoice-star-input.is-touch .star-btn.is-pending {
	color: #f5a623;
}

.songchoice-sortbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	margin: 0 auto 1.15rem;
	padding: 0.65rem 0.8rem;
	max-width: 100%;
	text-align: center;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 10px;
	color: #ddd;
}
.songchoice-sortbar label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #f5a623;
}
.songchoice-sortbar select {
	background: #111;
	color: #eee;
	border: 1px solid #444;
	border-radius: 6px;
	padding: 0.35rem 0.5rem;
	font-size: 0.85rem;
}

.songchoice-song-date {
	margin: 0.35rem 0 0;
	padding: 0;
	text-align: center;
	font-size: 0.75rem;
	color: #999;
}
