:root {
  /* Colors - Buddhism Celestial Blue & Soft Slate Palette */
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --border-glass: rgba(3, 105, 161, 0.12);
  --border-glass-focus: rgba(3, 105, 161, 0.25);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --primary: #0369a1;
  --primary-glow: rgba(3, 105, 161, 0.15);
  --accent: #075985;
  --success: #059669;
  --danger: #b91c1c;
  
  /* Fonts — self-host qua next/font */
  --font-sans: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows - Light soft atmospheric shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(2, 132, 199, 0.06);
  --shadow-lg: 0 16px 40px -4px rgba(2, 132, 199, 0.08);
  --shadow-glow: 0 0 20px 0 rgba(2, 132, 199, 0.15);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* Reset CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  /* Celestial serene atmosphere */
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(3, 105, 161, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

.glass:hover {
  background: var(--bg-card-hover);
  border-color: rgba(180, 83, 9, 0.18);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(180, 83, 9, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 83, 9, 0.3);
}

/* Page titles layout */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Responsive container for page content */
.main-content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .main-content-container {
    padding: 0;
  }
}

/* Screen reader and SEO helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}



/* ============================================================================
   CSS Giao diện Phát Thanh Minh Huệ — Phiên bản Thanh Tao & Trang Nhã
   Tone Xanh Thiên Thanh Chủ Đạo (#0369a1 / #0369a1) · Tinh Tế, Hài Hòa, Không AI Slop
   ============================================================================ */

:root {
	--spacing-1: 4px;
	--spacing-2: 8px;
	--spacing-3: 12px;
	--spacing-4: 16px;
	--spacing-6: 24px;
	--spacing-8: 32px;
	--spacing-12: 48px;
	
	--radius-sm: 8px;
	--radius: 12px;
	--radius-md: 16px;
	--radius-lg: 20px;
	
	--transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
	--transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	
	--font-sans: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
	--font-serif: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
	
	/* Bảng màu xanh thiên thanh / sapphire thanh tao */
	--color-accent: #0369a1;
	--color-accent-dark: #075985;
	--color-accent-light: #e0f2fe;
	--color-accent-subtle: rgba(2, 132, 199, 0.08);
	
	--color-text-primary: #0f172a;
	--color-text-secondary: #475569;
	--color-text-tertiary: #94a3b8;
	
	--color-border: rgba(2, 132, 199, 0.14);
	--color-border-subtle: rgba(0, 0, 0, 0.06);
	
	--color-surface-main: rgba(255, 255, 255, 0.96);
	--color-surface-subtle: #f8fafc;
	
	--leading-normal: 1.5;
}

/* Mobile Bottom Bar - ẩn trên desktop */
.mobile-bottom-bar {
	display: none;
}

/* Khung trang chính */
.main-page-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
}

.emdash-radio-root {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* ============================================================================
   Layout Desktop: Khung chứa thống nhất, thanh thoát, cân xứng
   ============================================================================ */
.emdash-radio-layout-container {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-6);
	width: 100%;
	margin-top: var(--spacing-8);
	box-sizing: border-box;
}

@media (min-width: 900px) {
	.main-page-wrapper {
		height: 100vh;
		overflow: hidden;
		padding: 16px 0;
	}

	.main-content-container {
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		max-width: 1240px;
		padding: 0 16px;
	}

	.emdash-radio-root {
		height: 100%;
		max-height: calc(100vh - 32px);
	}

	.emdash-radio-layout-container {
		display: grid;
		grid-template-columns: 390px 1fr;
		gap: 0;
		background: #ffffff;
		border: 1px solid rgba(2, 132, 199, 0.14);
		border-radius: 24px;
		box-shadow: 0 20px 50px -15px rgba(2, 132, 199, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
		overflow: hidden;
		
		/* Chiều cao phủ trọn vẹn card không để khoảng trống thừa dưới đáy */
		height: calc(100vh - 32px);
		min-height: 580px;
		max-height: 900px;
		
		margin: 0 auto;
		
		width: 100%;
		max-width: 1240px;
		transition: border-color var(--transition-base), box-shadow var(--transition-base);
	}
	
	.emdash-radio-layout-container:hover {
		border-color: rgba(2, 132, 199, 0.25);
		box-shadow: 0 25px 60px -12px rgba(2, 132, 199, 0.12), 0 2px 5px rgba(0, 0, 0, 0.03);
	}
}

/* Thẻ Card trên Desktop */
.emdash-player-card-premium,
.emdash-playlist-card-premium {
	position: relative;
	background: var(--color-surface-main);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	padding: var(--spacing-6);
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
	overflow: visible;
	color: var(--color-text-primary);
	box-sizing: border-box;
}

@media (min-width: 900px) {
	.emdash-player-card-premium,
	.emdash-playlist-card-premium {
		background: transparent;
		border: none;
		border-radius: 0;
		box-shadow: none;
		height: 100%;
		box-sizing: border-box;
	}
	
	.emdash-player-card-premium {
		border-right: 1px solid rgba(2, 132, 199, 0.12);
		background: #ffffff;
		display: flex;
		flex-direction: column;
		padding: 30px 26px;
		overflow-y: auto;
	}
	
	.emdash-playlist-card-premium {
		background: #f8fafc;
		display: flex;
		flex-direction: column;
		padding: 26px 30px;
		min-width: 0;
	}
}

.radio-left-panel-premium,
.radio-right-panel-premium {
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
	height: 100%;
}

.radio-left-panel-premium {
	gap: 20px;
	justify-content: space-between;
}

/* ============================================================================
   Header Trình Phát: Tôn Nghiêm & Thanh Thoát
   ============================================================================ */
.radio-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.radio-header-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.radio-brand-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #0284c7;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1;
	background: rgba(2, 132, 199, 0.08);
	padding: 4px 8px;
	border-radius: 6px;
	display: inline-block;
}

.global-search-header-btn {
	flex-shrink: 0;
	background: #f0f9ff;
	border: 1.5px solid rgba(2, 132, 199, 0.2);
	border-radius: 10px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #0369a1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.15s ease;
}

.global-search-header-btn:hover {
	background: #e0f2fe;
	border-color: #0284c7;
	color: #0284c7;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.header-search-kbd,
.playlist-search-kbd {
	font-size: 10px;
	font-weight: 700;
	background: rgba(2, 132, 199, 0.12);
	color: #0369a1;
	padding: 1px 5px;
	border-radius: 4px;
	border: 1px solid rgba(2, 132, 199, 0.2);
}

.radio-main-title {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

/* ============================================================================
   Hộp Hiển Thị Bài Hát Đang Phát: Ấm Áp & Tinh Tế
   ============================================================================ */
.now-playing-box {
	background: linear-gradient(160deg, #f0f9ff 0%, #f8fafc 100%);
	border-radius: 18px;
	padding: 18px 18px 16px;
	border: 1px solid rgba(2, 132, 199, 0.15);
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.now-playing-box:hover {
	border-color: rgba(2, 132, 199, 0.28);
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.now-playing-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 0;
}

.now-playing-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	flex: 1;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-secondary);
	line-height: 1.2;
}

.now-playing-label {
	font-size: 12px;
	color: var(--color-text-secondary);
	text-transform: none;
	font-weight: 600;
	letter-spacing: 0;
	white-space: nowrap;
}

.now-playing-meta-sep {
	color: var(--color-text-tertiary);
	font-weight: 500;
}

.now-playing-meta-cat {
	color: var(--color-accent-dark);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
}

.now-playing-actions-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.player-action-icon-btn {
	background: #ffffff;
	border: 1px solid rgba(2, 132, 199, 0.12);
	color: #0369a1;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.player-action-icon-btn:hover {
	background: #e0f2fe;
	border-color: #0284c7;
	color: #0284c7;
	transform: scale(1.06);
}

.player-action-icon-btn.fav-active {
	background: #ffe4e6;
	border-color: #fecdd3;
	color: #e11d48;
}

.now-playing-title-full {
	font-family: var(--font-serif);
	font-size: 16.5px;
	font-weight: 700;
	color: var(--color-text-primary);
	line-height: 1.45;
	margin: 0;
	word-break: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.now-playing-category-badge {
	display: none;
}

/* ============================================================================
   Trình Điều Khiển Audio: Tinh Giản, Cân Xứng, Dễ Dùng
   ============================================================================ */
.custom-player-premium {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: transparent;
	border: none;
	padding: 0;
	box-shadow: none;
}

/* Thanh Tiến Trình */
.custom-progress-area {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.custom-seek-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 5px;
	border-radius: 3px;
	background: rgba(2, 132, 199, 0.1);
	outline: none;
	cursor: pointer;
	transition: height 0.15s ease;
}

.custom-seek-slider:hover {
	height: 7px;
}

/* Slider Thumbs */
.custom-seek-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 1px 4px rgba(2, 132, 199, 0.3), inset 0 0 0 2.5px #ffffff;
	transition: transform 0.15s ease;
	transform: scale(0.9);
}

.custom-seek-slider:hover::-webkit-slider-thumb {
	transform: scale(1.15);
}

.custom-seek-slider::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: none;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 1px 4px rgba(2, 132, 199, 0.3), inset 0 0 0 2.5px #ffffff;
	transition: transform 0.15s ease;
	transform: scale(0.9);
}

.custom-seek-slider:hover::-moz-range-thumb {
	transform: scale(1.15);
}

.custom-time-display {
	display: flex;
	justify-content: space-between;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--color-text-secondary);
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}

/* Hàng Điều Khiển Chính */
.custom-controls-row {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	max-width: 100%;
}

.custom-center-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	min-width: 0;
}

/* Nút Play Chính: Thiết kế sang trọng, màu xanh sapphire */
.custom-play-main-btn {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0284c7, #0369a1);
	border: none;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 20px -2px rgba(2, 132, 199, 0.38);
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

@media (hover: hover) {
	.custom-play-main-btn:hover {
		background: #0369a1;
		transform: scale(1.06);
		box-shadow: 0 8px 24px -2px rgba(2, 132, 199, 0.48);
	}
}

.custom-play-main-btn:active {
	transform: scale(0.94);
}

.custom-play-main-btn svg {
	width: 22px;
	height: 22px;
}

/* Nút Tua Lùi 10s / Tiến 30s */
.custom-player-btn {
	background: transparent;
	border: none;
	color: var(--color-text-secondary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
}

.control-secondary-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f0f9ff;
	border: 1px solid rgba(2, 132, 199, 0.14);
	color: #0369a1;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

@media (hover: hover) {
	.control-secondary-btn:hover {
		color: #0369a1;
		background: #e0f2fe;
		border-color: var(--color-border);
		transform: translateY(-1px);
		box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
	}
}

.control-secondary-btn:active {
	transform: scale(0.92);
}

/* Hàng Tiện Ích (Tốc độ & Hẹn giờ tắt) */
.custom-utilities-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--spacing-4);
	border-top: 1px solid var(--color-border-subtle);
	padding-top: 16px;
}

.custom-status-indicator {
	display: none;
}

.status-dot {
	width: 7px;
	height: 7px;
	flex-shrink: 0;
	background: #cbd5e1;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.status-dot.playing {
	background: #0369a1;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.utility-btn {
	background: #f0f9ff;
	border: 1px solid rgba(2, 132, 199, 0.14);
	color: #0369a1;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-fast);
	display: inline-flex;
	align-items: center;
	letter-spacing: 0.04em;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

@media (hover: hover) {
	.utility-btn:hover {
		border-color: var(--color-border);
		color: #0369a1;
		background: #e0f2fe;
	}
}

.utility-btn.active-timer {
	background: #e0f2fe;
	border-color: var(--color-accent);
	color: var(--color-accent-dark);
}

/* Sleep Timer Dropdown */
.sleep-timer-container {
	position: relative;
}

.sleep-timer-dropdown {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	background: #ffffff;
	border: 1px solid rgba(2, 132, 199, 0.15);
	border-radius: var(--radius);
	box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.08);
	z-index: 30;
	width: 140px;
	animation: slideUpTimer 0.2s ease;
}

@keyframes slideUpTimer {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.sleep-timer-dropdown ul {
	list-style: none;
	padding: 6px 0;
	margin: 0;
}

.sleep-timer-dropdown li {
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 500;
	color: var(--color-text-secondary);
	cursor: pointer;
	transition: all var(--transition-fast);
	text-align: right;
}

@media (hover: hover) {
	.sleep-timer-dropdown li:hover {
		background: #e0f2fe;
		color: #0369a1;
		font-weight: 600;
	}
}

/* ============================================================================
   Bảng Danh Sách Phát (Playlist Panel)
   ============================================================================ */
.playlist-section {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 12px;
}

.playlist-sticky-header {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
	background: #ffffff;
	z-index: 25;
	position: sticky;
	top: 0;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(2, 132, 199, 0.08);
}

.playlist-tabs-row {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
}

/* Tab Scroll Arrow Buttons */
.playlist-tabs-row {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tab-scroll-arrow {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	z-index: 5 !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	border: 1.5px solid rgba(2, 132, 199, 0.28) !important;
	color: #0369a1 !important;
	box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	transition: all 0.15s ease !important;
	flex-shrink: 0 !important;
}

.tab-scroll-arrow:hover {
	background: #f0f9ff !important;
	color: #0369a1 !important;
	transform: translateY(-50%) scale(1.1) !important;
	border-color: #0369a1 !important;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

.tab-scroll-arrow:active {
	transform: translateY(-50%) scale(0.92) !important;
}

.tab-scroll-left {
	left: -10px !important;
}

.tab-scroll-right {
	right: -10px !important;
}

.playlist-tabs {
	display: flex;
	gap: 4px;
	background: rgba(2, 132, 199, 0.05);
	border: 1px solid rgba(2, 132, 199, 0.12);
	padding: 4px;
	border-radius: 14px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x;
	box-sizing: border-box;
}

.playlist-tabs::-webkit-scrollbar {
	display: none;
}

.playlist-tab-btn {
	background: transparent;
	border: none;
	padding: 8px 12px;
	min-height: 38px;
	font-size: 12.5px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	border-radius: 10px;
	transition: all var(--transition-fast);
	white-space: nowrap;
	flex: 0 0 auto;
	min-width: max-content;
	text-align: center;
	letter-spacing: 0.01em;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}

.playlist-tab-btn:hover:not(.active) {
	color: #0f172a;
	background: rgba(2, 132, 199, 0.08);
}

.playlist-tab-btn.active {
	background: #0284c7;
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Hiệu ứng mờ biên khi có thể cuộn ngang */
.tabs-scroll-fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 28px;
	pointer-events: none;
	z-index: 5;
	transition: opacity 0.2s ease;
}

.tabs-scroll-fade.left {
	left: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
	border-radius: 14px 0 0 14px;
}

.tabs-scroll-fade.right {
	right: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
	border-radius: 0 14px 14px 0;
}

/* Gợi ý hoạt ảnh vuốt sang cho người dùng lần đầu */
.tabs-swipe-indicator-hint {
	position: absolute;
	right: 12px;
	bottom: -14px;
	background: linear-gradient(135deg, #0369a1, #075985);
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
	z-index: 10;
	cursor: pointer;
	user-select: none;
	animation: bounceSwipeHint 1.8s ease-in-out infinite;
	white-space: nowrap;
}

.swipe-hint-icon {
	font-size: 12px;
	animation: shakeHand 1.2s ease-in-out infinite;
}

@keyframes bounceSwipeHint {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-3px);
	}
}

@keyframes shakeHand {
	0%, 100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(4px);
	}
}

.playlist-sub-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-width: 0;
}

/* Bộ Chọn Chuyên Mục */
.categories-filter-wrapper {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.sub-categories-nav-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	background: #ffffff;
	border: 1.5px solid rgba(2, 132, 199, 0.18);
	padding: 0 14px;
	height: 42px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
	min-width: 0;
}

@media (hover: hover) {
	.sub-categories-nav-toggle:hover {
		border-color: #0369a1;
		background: #fafcff;
		box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
	}
}

.sub-categories-nav-toggle.open {
	border-color: #0369a1;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.current-category-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
	margin-right: 6px;
}

.sub-categories-chevron {
	color: #0369a1;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	flex-shrink: 0;
}

.sub-categories-nav-toggle.open .sub-categories-chevron {
	transform: rotate(180deg);
}

.sub-categories-nav-items {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid rgba(2, 132, 199, 0.18);
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(2, 132, 199, 0.06);
	z-index: 50;
	max-height: 380px;
	overflow-y: auto;
	padding: 6px;
	animation: slideDownNav 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

@keyframes slideDownNav {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.category-options-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sub-category-nav-item {
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.15s ease;
	margin-bottom: 2px;
	user-select: none;
}

@media (hover: hover) {
	.sub-category-nav-item:hover {
		background: #f0f9ff;
	}
	.sub-category-nav-item:hover .category-item-name {
		color: #0369a1;
		font-weight: 600;
	}
}

.sub-category-nav-item.active-category {
	background: #e0f2fe;
}

.sub-category-nav-item.active-category .category-item-name {
	color: #0369a1;
	font-weight: 700;
}

.category-item-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.category-item-name {
	font-size: 13px;
	color: #334155;
	transition: color 0.15s;
}

.category-check-icon {
	flex-shrink: 0;
}

/* Nút Tìm Kiếm */
.playlist-actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.action-btn {
	height: 42px;
	width: auto;
	padding: 0 12px;
	gap: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1.5px solid rgba(2, 132, 199, 0.18);
	border-radius: 12px;
	color: #0369a1;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
	flex-shrink: 0 !important;
	white-space: nowrap;
}

.search-btn-text {
	white-space: nowrap;
}

@media (hover: hover) {
	.action-btn:hover {
		background: #f0f9ff;
		border-color: #0369a1;
		color: #0369a1;
		box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
	}
}

.action-btn.active-mode {
	background: #e0f2fe;
	border-color: #0369a1;
	color: #0369a1;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Khung Tìm Kiếm */
.search-bar-wrapper {
	margin-bottom: 8px;
	animation: slideDown 0.2s ease;
}

.search-input-container {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.playlist-search-input {
	width: 100%;
	padding: 9px 36px 9px 14px;
	border: 1px solid rgba(2, 132, 199, 0.16);
	border-radius: var(--radius-sm);
	font-size: 13px;
	color: var(--color-text-primary);
	background: #ffffff;
	outline: none;
	transition: all 0.2s ease;
}

.playlist-search-input:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.clear-search-btn {
	position: absolute;
	right: 10px;
	background: none;
	border: none;
	font-size: 16px;
	color: var(--color-text-tertiary);
	cursor: pointer;
}

/* Khung Bao Bọc Danh Sách Phát */
.playlist-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-height: 0;
	height: 100%;
	width: 100%;
}

/* Vùng Cuộn Danh Sách Phát */
.playlist-scroll-container {
	overflow-y: auto;
	padding-right: 6px;
	flex: 1 1 0;
	min-height: 0;
	max-height: none;
	contain: layout style;
	-webkit-overflow-scrolling: touch;
}

.playlist-scroll-container::-webkit-scrollbar {
	width: 5px;
}

.playlist-scroll-container::-webkit-scrollbar-track {
	background: transparent;
}

.playlist-scroll-container::-webkit-scrollbar-thumb {
	background: rgba(2, 132, 199, 0.15);
	border-radius: 10px;
}

#playlist {
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	width: 100%;
}

/* Category track count badge */
.category-track-count-badge {
	font-size: 11px;
	font-weight: 700;
	color: #0369a1;
	background: rgba(2, 132, 199, 0.1);
	padding: 2px 7px;
	border-radius: 8px;
	margin-left: 6px;
	white-space: nowrap;
}

/* Track Equalizer Wave */
.track-equalizer {
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	height: 14px;
	width: 14px;
}

.eq-bar {
	width: 2.5px;
	background: #0284c7;
	border-radius: 1px;
	animation: eqWave 0.8s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) {
	height: 6px;
	animation-delay: 0s;
}
.eq-bar:nth-child(2) {
	height: 13px;
	animation-delay: 0.25s;
}
.eq-bar:nth-child(3) {
	height: 8px;
	animation-delay: 0.5s;
}

@keyframes eqWave {
	0% { height: 3px; }
	100% { height: 13px; }
}

#playlist li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 14px;
	height: 52px;
	background: transparent;
	border-radius: 10px;
	border-bottom: 1px solid rgba(2, 132, 199, 0.05);
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--color-text-primary);
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
	box-sizing: border-box;
	overflow: hidden;
}

@media (hover: hover) {
	#playlist li:hover {
		background: #f0f9ff;
		color: #0284c7;
		transform: translateX(2px);
	}
}

.track-number {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-weight: 600;
	color: #64748b;
	width: 26px;
	min-width: 26px;
	flex-shrink: 0;
	text-align: right;
}

.track-name {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.4;
	display: block;
}

#playlist li.active {
	background: #e0f2fe;
	color: #0369a1;
	font-weight: 600;
	border-left: 3.5px solid #0284c7;
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

#playlist li.active .track-number {
	color: #0284c7;
	font-weight: 700;
}

/* Bài phát thanh đã nghe */
#playlist li.listened .track-name {
	color: #94a3b8;
	font-weight: 400;
}

#playlist li.active.listened .track-name {
	color: #0369a1 !important;
	font-weight: 600 !important;
}

/* ============================================================================
   RESPONSIVE LAYOUT TỐI ƯU TUYỆT VỜI CHO MOBILE & TABLET (<= 1024px)
   Tone Xanh Chủ Đạo Thanh Nhã (#0369a1 / #0369a1) · Tinh Tế & Hài Hòa
   ============================================================================ */
@media (max-width: 1024px) {
	:root {
		--mobile-accent: #0369a1;
		--mobile-accent-dark: #0369a1;
		--mobile-accent-light: #e0f2fe;
		--mobile-border: rgba(2, 132, 199, 0.15);
	}

	/* Mobile Top Bar - cố định ở đỉnh màn hình */
	.mobile-bottom-bar {
		display: flex !important;
		flex-direction: column;
		gap: 8px;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99999 !important;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-bottom: 1px solid rgba(2, 132, 199, 0.14);
		padding: 10px 16px 12px;
		padding-top: max(12px, calc(12px + env(safe-area-inset-top, 0px)));
		padding-bottom: 12px;
		box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
		box-sizing: border-box;
		transform: translateZ(0);
		-webkit-transform: translateZ(0);
		isolation: isolate;
		pointer-events: auto !important;
	}

	.mobile-top-row {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		position: relative;
		z-index: 2;
		pointer-events: auto !important;
	}

	.mobile-play-btn {
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: linear-gradient(135deg, #0369a1, #075985);
		border: none;
		color: #ffffff;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		cursor: pointer;
		box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
		transition: transform var(--transition-fast);
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		user-select: none;
		-webkit-user-select: none;
		pointer-events: auto !important;
		position: relative;
		z-index: 5;
	}

	.mobile-play-btn:active {
		transform: scale(0.92);
	}

	.mobile-right-actions {
		display: flex;
		align-items: center;
		gap: 8px;
		position: relative;
		z-index: 10;
		margin-left: auto;
	}

	.mobile-track-title {
		margin: 0;
		width: 100%;
		font-size: 14.5px;
		font-weight: 600;
		line-height: 1.35;
		color: #0f172a;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	.mobile-time {
		flex: 1;
		min-width: 0;
		font-size: 11px;
		font-family: ui-monospace, SFMono-Regular, monospace;
		color: #64748b;
		font-weight: 500;
		white-space: nowrap;
	}

	.mobile-speed-btn,
	.mobile-sleep-btn,
	.mobile-action-icon-btn {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background: #f0f9ff;
		border: 1px solid rgba(2, 132, 199, 0.18);
		color: #0369a1;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		cursor: pointer;
		font-size: 11px;
		font-weight: 700;
		font-family: var(--font-sans);
		transition: all var(--transition-fast);
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		user-select: none;
		-webkit-user-select: none;
		position: relative;
		z-index: 5;
		pointer-events: auto !important;
	}

	.mobile-action-icon-btn.active {
		background: #ffe4e6;
		border-color: #fecdd3;
		color: #e11d48;
	}

	/* Vùng chạm chuẩn Apple HIG (tối thiểu 44px) */
	.mobile-speed-btn::after,
	.mobile-sleep-btn::after,
	.mobile-action-icon-btn::after {
		content: "";
		position: absolute;
		top: -6px;
		bottom: -6px;
		left: -6px;
		right: -6px;
	}

	.mobile-speed-btn:active,
	.mobile-sleep-btn:active,
	.mobile-action-icon-btn:active {
		background: #e0f2fe;
		transform: scale(0.92);
	}

	.mobile-sleep-btn.active-timer {
		background: #0369a1;
		color: #ffffff;
		border-color: #0369a1;
	}

	.mobile-sleep-dropdown {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		background: #ffffff;
		border: 1px solid rgba(2, 132, 199, 0.15);
		border-radius: 14px;
		box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
		z-index: 10000;
		width: 140px;
		overflow: hidden;
		animation: slideDownMobile 0.2s ease;
	}

	@keyframes slideDownMobile {
		from { opacity: 0; transform: translateY(-8px); }
		to { opacity: 1; transform: translateY(0); }
	}

	.mobile-sleep-dropdown ul {
		list-style: none;
		margin: 0;
		padding: 6px 0;
	}

	.mobile-sleep-dropdown li {
		padding: 10px 16px;
		font-size: 13px;
		color: #334155;
		cursor: pointer;
		transition: background 0.15s;
		font-weight: 500;
	}

	.mobile-sleep-dropdown li:hover,
	.mobile-sleep-dropdown li:active {
		background: #e0f2fe;
		color: #0369a1;
		font-weight: 600;
	}

	/* Thanh tiến trình mobile */
	.mobile-progress-row {
		width: 100%;
		display: flex;
		align-items: center;
	}

	.mobile-seek-slider {
		-webkit-appearance: none;
		appearance: none;
		width: 100%;
		height: 4px;
		border-radius: 2px;
		background: rgba(2, 132, 199, 0.12);
		outline: none;
	}

	.mobile-seek-slider::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		width: 14px;
		height: 14px;
		border-radius: 50%;
		background: #0369a1;
		box-shadow: 0 1px 4px rgba(2, 132, 199, 0.4), inset 0 0 0 3px #ffffff;
	}

	.mobile-seek-slider::-moz-range-thumb {
		width: 14px;
		height: 14px;
		border: none;
		border-radius: 50%;
		background: #0369a1;
		box-shadow: 0 1px 4px rgba(2, 132, 199, 0.4), inset 0 0 0 3px #ffffff;
	}

	/* Layout Mobile */
	.emdash-radio-layout-container {
		display: flex !important;
		flex-direction: column !important;
		gap: 0px !important;
		padding: 0px !important;
		padding-top: calc(148px + env(safe-area-inset-top, 0px)) !important;
		padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
		margin: 0 !important;
		width: 100% !important;
		min-height: 100vh !important;
		min-height: 100dvh !important;
		box-sizing: border-box !important;
	}

	.emdash-player-card-premium {
		display: none !important;
	}

	.emdash-playlist-card-premium {
		padding: 10px 14px !important;
		border-radius: 0px !important;
		background: #f8fafc !important;
		border: none !important;
		box-shadow: none !important;
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 auto !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		box-sizing: border-box !important;
	}

	.radio-right-panel-premium {
		flex: 1 1 auto !important;
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
		width: 100% !important;
	}

	.playlist-section {
		flex: 1 1 auto !important;
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
		gap: 8px !important;
		width: 100% !important;
		position: relative !important;
	}

	/* Sticky Header trên Mobile: Luôn ghim cố định bên dưới thanh Top Player khi cuộn danh sách */
	.playlist-sticky-header {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: calc(88px + env(safe-area-inset-top, 0px)) !important;
		z-index: 1000 !important;
		background: #f8fafc !important;
		padding-top: 12px !important;
		padding-bottom: 14px !important;
		margin-left: -14px !important;
		margin-right: -14px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
		margin-top: -10px !important;
		margin-bottom: 12px !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		border-bottom: 1.5px solid rgba(2, 132, 199, 0.15) !important;
		box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
	}

	/* Tabs Mobile */
	.playlist-tabs-row {
		width: 100% !important;
		flex-shrink: 0 !important;
		position: relative !important;
		display: flex !important;
		align-items: center !important;
	}

	.tab-scroll-arrow {
		position: absolute !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		z-index: 50 !important;
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
		border-radius: 50% !important;
		background: #ffffff !important;
		border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
		color: #0369a1 !important;
		box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		cursor: pointer !important;
		padding: 0 !important;
		flex-shrink: 0 !important;
		transition: transform 0.15s ease !important;
	}

	.tab-scroll-arrow:active {
		transform: translateY(-50%) scale(0.9) !important;
	}

	.tab-scroll-left {
		left: -6px !important;
	}

	.tab-scroll-right {
		right: -6px !important;
	}

	.playlist-tabs {
		display: flex !important;
		width: 100% !important;
		gap: 6px !important;
		background: rgba(2, 132, 199, 0.08) !important;
		border: 1px solid rgba(2, 132, 199, 0.12) !important;
		border-radius: 12px !important;
		padding: 4px !important;
		box-sizing: border-box !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scrollbar-width: none !important;
		-ms-overflow-style: none !important;
		-webkit-overflow-scrolling: touch !important;
		touch-action: pan-x !important;
		scroll-snap-type: x proximity !important;
		scroll-padding: 4px !important;
	}

	.playlist-tabs::-webkit-scrollbar {
		display: none !important;
	}

	.playlist-tab-btn {
		flex: 0 0 auto !important;
		text-align: center !important;
		font-size: 12px !important;
		padding: 8px 14px !important;
		color: #64748b !important;
		font-weight: 600 !important;
		border-radius: 9px !important;
		white-space: nowrap !important;
		min-width: max-content !important;
		scroll-snap-align: start !important;
		overflow: visible !important;
		text-overflow: clip !important;
		user-select: none !important;
		-webkit-user-select: none !important;
		touch-action: manipulation !important;
	}

	.playlist-tab-btn.active {
		background: #0369a1 !important;
		color: #ffffff !important;
		font-weight: 700 !important;
		box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
	}

	/* Sub Header Mobile (Đồng bộ chọn chuyên mục & tìm kiếm) */
	.playlist-sub-header {
		display: flex !important;
		gap: 10px !important;
		align-items: center !important;
		flex-shrink: 0 !important;
		margin-top: 2px !important;
	}

	.sub-categories-nav-toggle {
		padding: 0 14px !important;
		height: 42px !important;
		font-size: 13px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		background: #ffffff !important;
		border: 1.5px solid rgba(2, 132, 199, 0.18) !important;
		border-radius: 12px !important;
		color: #0f172a !important;
		box-sizing: border-box !important;
	}

	.sub-categories-chevron {
		color: #0369a1 !important;
	}

	.search-btn-text {
		display: none;
	}

	.action-btn {
		height: 42px !important;
		width: 42px !important;
		padding: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #ffffff !important;
		border: 1.5px solid rgba(2, 132, 199, 0.18) !important;
		border-radius: 12px !important;
		color: #0369a1 !important;
		flex-shrink: 0 !important;
		box-sizing: border-box !important;
	}

	.action-btn.active-mode {
		background: #e0f2fe !important;
		border-color: #0369a1 !important;
		color: #0369a1 !important;
	}

	.playlist-search-input {
		border-color: rgba(2, 132, 199, 0.2) !important;
	}

	.playlist-search-input:focus {
		border-color: #0369a1 !important;
		box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
	}

	/* Vùng Cuộn Danh Sách Mobile */
	.playlist-scroll-container {
		flex: 1 1 0 !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		touch-action: pan-y !important;
		overscroll-behavior-y: contain !important;
		transform: translateZ(0) !important;
		will-change: transform, scroll-position !important;
		contain: content !important;
		padding-top: 8px !important;
		padding-right: 0 !important;
	}

	#playlist li {
		display: flex !important;
		align-items: center !important;
		gap: 14px !important;
		padding: 0 14px !important;
		height: 52px !important;
		border-bottom: 1px solid rgba(2, 132, 199, 0.06) !important;
		font-size: 13.5px !important;
		color: #1e293b !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
		contain: layout style paint !important;
		content-visibility: auto !important;
		border-radius: 10px !important;
	}

	#playlist li .track-number {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		width: 28px !important;
		min-width: 28px !important;
		flex-shrink: 0 !important;
		color: #64748b !important;
	}

	#playlist li .track-name {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		line-height: 1.4 !important;
		display: block !important;
	}

	#playlist li.active {
		background: #e0f2fe !important;
		color: #0369a1 !important;
		font-weight: 600 !important;
		border-radius: 12px !important;
		border: 1px solid rgba(2, 132, 199, 0.25) !important;
		box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08) !important;
	}

	#playlist li.active .track-number {
		color: #0369a1 !important;
		font-weight: 700 !important;
	}

	#playlist li.listened .track-name {
		color: #94a3b8 !important;
	}

	#playlist li.active.listened .track-name {
		color: #0369a1 !important;
	}

	/* Bottom Sheet Danh Mục Mobile */
	.category-dropdown-backdrop {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		background: rgba(15, 23, 42, 0.4) !important;
		backdrop-filter: blur(4px) !important;
		-webkit-backdrop-filter: blur(4px) !important;
		z-index: 9998 !important;
		animation: fadeInOverlay 0.2s ease-out !important;
	}

	.sub-categories-nav-items {
		position: fixed !important;
		bottom: 0 !important;
		top: auto !important;
		left: 0 !important;
		right: 0 !important;
		background: #ffffff !important;
		border-radius: 24px 24px 0 0 !important;
		box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15) !important;
		z-index: 9999 !important;
		max-height: 70vh !important;
		max-height: 70dvh !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		animation: slideUpBottomSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
		padding: 16px 16px calc(24px + env(safe-area-inset-bottom)) 16px !important;
		border: none !important;
	}

	@keyframes slideUpBottomSheet {
		from { transform: translateY(100%); }
		to { transform: translateY(0); }
	}

	.bottom-sheet-handle {
		display: block !important;
		width: 40px !important;
		height: 5px !important;
		background: #cbd5e1 !important;
		border-radius: 3px !important;
		margin: 12px auto 8px auto !important;
	}

	.bottom-sheet-header {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 6px 20px 14px 20px !important;
		border-bottom: 1px solid rgba(2, 132, 199, 0.1) !important;
		text-align: center !important;
	}

	.bottom-sheet-header h3 {
		font-family: var(--font-sans) !important;
		font-size: 13.5px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: 0.04em !important;
		color: #0369a1 !important;
		margin: 0 !important;
		text-align: center !important;
	}

	.sub-category-nav-item a {
		padding: 12px 20px !important;
		font-size: 13.5px !important;
		color: #334155 !important;
	}

	.sub-category-nav-item:active a {
		background: #f0f9ff !important;
		color: #0369a1 !important;
	}

	.sub-category-nav-item.active-category a {
		background: #e0f2fe !important;
		color: #0369a1 !important;
		border-left: 3px solid #0369a1 !important;
		font-weight: 700 !important;
	}
}

/* Tắt tất cả animation infinite khi thiết bị yêu cầu giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
	.live-pulse,
	.status-dot.playing,
	#playlist li.active::before,
	.utility-btn.active-timer {
		animation: none !important;
	}
}

/* ============================================================================
   Modal Lời Ngỏ & Thông Báo Trang Nhã (Anti-AI Slop)
   ============================================================================ */
.copyright-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	animation: fadeInOverlay 0.3s ease-out;
	padding: 16px;
}

.copyright-modal-overlay.fade-out {
	animation: fadeOutOverlay 0.25s ease-in forwards;
}

@keyframes fadeInOverlay {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeOutOverlay {
	from { opacity: 1; }
	to { opacity: 0; }
}

.copyright-modal-card {
	background: #ffffff;
	border: 1px solid rgba(2, 132, 199, 0.18);
	border-radius: 20px;
	width: 100%;
	max-width: 430px;
	padding: 28px 24px;
	box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.15), 0 1px 3px rgba(0, 0, 0, 0.04);
	text-align: center;
	transform: scale(1);
	animation: scaleInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

@keyframes scaleInModal {
	from { opacity: 0; transform: scale(0.94) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.copyright-modal-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-bottom: 14px;
}

.copyright-modal-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #0369a1;
	text-transform: uppercase;
	display: block;
}

.copyright-modal-title {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	letter-spacing: -0.01em;
}

.copyright-modal-body {
	font-size: 14px;
	line-height: 1.65;
	color: #475569;
	margin-bottom: 22px;
}

.copyright-modal-body p {
	margin-bottom: 8px;
}

.copyright-attribution {
	font-size: 13.5px;
	color: #64748b;
}

.copyright-highlight {
	color: #0369a1;
	font-weight: 600;
}

/* Buttons Footer */
.copyright-modal-footer {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal-btn {
	width: 100%;
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	display: inline-block;
}

.btn-continue {
	background: linear-gradient(135deg, #0369a1, #075985);
	color: #ffffff;
	border: none;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

@media (hover: hover) {
	.btn-continue:hover {
		background: #0369a1;
		transform: translateY(-1px);
		box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
	}
}

.btn-continue:active {
	transform: scale(0.98);
}

.btn-original {
	background: #f0f9ff;
	color: #0369a1;
	border: 1px solid rgba(2, 132, 199, 0.16);
	font-size: 13px;
	font-weight: 600;
}

@media (hover: hover) {
	.btn-original:hover {
		background: #e0f2fe;
		color: #0369a1;
	}
}

/* Trình chọn tốc độ phát (Speed selector) Dropdown */
.speed-dropdown-container {
	position: relative;
}

.speed-dropdown {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: var(--radius-sm);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
	z-index: 30;
	width: 100px;
	animation: slideUpTimer 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.speed-dropdown ul {
	list-style: none;
	padding: 6px 0;
	margin: 0;
}

.speed-dropdown li {
	padding: 8px 16px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	transition: all var(--transition-fast);
	text-align: center;
}

@media (hover: hover) {
	.speed-dropdown li:hover {
		background: rgba(240, 249, 255, 1);
		color: #0ea5e9;
	}
}

/* Mobile Speed Dropdown */
@media (max-width: 1199px) {
	.mobile-speed-timer-container {
		position: relative;
	}

	.mobile-speed-dropdown {
		position: absolute;
		bottom: calc(100% + 8px);
		right: 0;
		background: rgba(253, 251, 247, 0.95);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border: 1px solid rgba(180, 83, 9, 0.1);
		border-radius: 12px;
		box-shadow: 0 10px 25px rgba(120, 53, 15, 0.08);
		z-index: 10000;
		width: 100px;
		overflow: hidden;
		animation: slideDownMobile 0.25s ease;
	}

	.mobile-speed-dropdown ul {
		list-style: none;
		margin: 0;
		padding: 4px 0;
	}

	.mobile-speed-dropdown li {
		padding: 10px 16px;
		font-size: 13px;
		color: var(--text-primary);
		cursor: pointer;
		transition: background 0.15s;
		font-weight: 500;
		text-align: center;
	}

	.mobile-speed-dropdown li:hover,
	.mobile-speed-dropdown li:active {
		background: rgba(217, 119, 6, 0.08);
		color: var(--color-accent);
	}
}

/* YouTube Player Responsive Rules */
.mobile-youtube-player {
	display: block;
}
.desktop-youtube-player {
	display: block;
}

@media (min-width: 1200px) {
	.mobile-youtube-player {
		display: none !important;
	}
}

@media (max-width: 1199px) {
	.desktop-youtube-player {
		display: none !important;
	}
}

/* Marquee Animation for Scrolling Titles */
.marquee-single-line-wrapper {
	display: block;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.marquee-container {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}

.marquee-content {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	animation: marquee-scroll 22s linear infinite;
}

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

.marquee-item {
	display: inline-block !important;
	white-space: nowrap !important;
	padding-right: 48px !important;
	flex-shrink: 0 !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.marquee-item-static {
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	width: 100% !important;
}

.marquee-content .track-name,
.marquee-content span {
	display: inline-block !important;
	white-space: nowrap !important;
	overflow: visible !important;
	text-overflow: clip !important;
	flex: none !important;
}

@keyframes marquee-scroll {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

.current-track-title-marquee {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.4;
	margin: 0;
	display: inline-block;
}

.mobile-track-title-marquee {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary);
	display: inline-block;
}

.mobile-track-title {
	margin: 0;
}

/* ============================================================================
   NÂNG CẤP 9 TÍNH NĂNG MỚI: TÌM KIẾM, YÊU THÍCH, PHÍM TẮT, ÂM LƯỢNG, TOAST
   ============================================================================ */

/* 1. Header Top Row & Shortcuts button */
.radio-header-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.global-search-header-btn {
	flex-shrink: 0;
	background: #f0f9ff;
	border: 1.5px solid rgba(2, 132, 199, 0.22);
	border-radius: 10px;
	padding: 6px 14px;
	font-size: 12.5px;
	font-weight: 600;
	color: #0369a1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08);
}

.global-search-header-btn:hover {
	background: #e0f2fe;
	border-color: #0369a1;
	color: #0369a1;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
}

.global-search-header-btn:active {
	transform: scale(0.95);
}

.shortcuts-hint-btn {
	flex-shrink: 0;
	background: rgba(2, 132, 199, 0.06);
	border: 1px solid rgba(2, 132, 199, 0.15);
	border-radius: 8px;
	padding: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #0369a1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.shortcuts-hint-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.shortcuts-hint-btn:hover {
	background: rgba(2, 132, 199, 0.12);
	border-color: #0369a1;
}

/* 2. Now Playing Action Buttons */
.now-playing-actions-row {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 0 0 auto;
	margin-left: auto;
}

.player-action-icon-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 14px;
	padding: 10px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, background 0.15s ease;
	line-height: 1;
}

.player-action-icon-btn:hover {
	background: rgba(2, 132, 199, 0.1);
	transform: scale(1.15);
}

.player-action-icon-btn:active {
	transform: scale(0.95);
}

/* 3. Skip Buttons (Prev / Next) */
.control-skip-btn {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: rgba(2, 132, 199, 0.06) !important;
	color: #0369a1 !important;
	border: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
}

.control-skip-btn:hover {
	background: rgba(2, 132, 199, 0.15) !important;
	transform: scale(1.08) !important;
}

/* 4. Desktop Volume Slider Row */
.custom-volume-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	background: rgba(2, 132, 199, 0.04);
	border: 1px solid rgba(2, 132, 199, 0.1);
	border-radius: 12px;
	margin: 2px 0 6px 0;
}

.volume-toggle-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #0369a1;
	padding: 10px;
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.volume-toggle-btn:hover {
	background: rgba(2, 132, 199, 0.12);
}

.volume-slider {
	flex: 1;
	height: 4px;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 2px;
	outline: none;
	cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #0369a1;
	box-shadow: 0 1px 3px rgba(2, 132, 199, 0.4);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
	transform: scale(1.2);
}

.volume-pct-label {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	min-width: 32px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* 5. Favorites Count Badge & Track Actions */
.fav-count-badge {
	background: #0369a1;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
	margin-left: 4px;
	line-height: 1.2;
}

.track-item-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
	padding-right: 6px;
	opacity: 0.5;
	transition: opacity 0.15s ease;
}

li:hover .track-item-actions {
	opacity: 1;
}

.track-fav-btn,
.track-share-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #64748b;
	padding: 5px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.track-fav-btn:hover {
	color: #e11d48;
	background: rgba(225, 29, 72, 0.08);
	transform: scale(1.15);
}

.track-share-btn:hover {
	color: #0369a1;
	background: rgba(2, 132, 199, 0.08);
	transform: scale(1.15);
}

.track-fav-btn.active {
	opacity: 1;
	color: #e11d48;
}

/* 6. Empty Favorites State */
.empty-favorites-container {
	text-align: center;
	padding: 50px 20px;
}

.empty-fav-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.empty-fav-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

.empty-fav-desc {
	font-size: 13px;
	color: #64748b;
	max-width: 320px;
	margin: 0 auto;
	line-height: 1.5;
}

/* 7. Global Search Modal */
.global-search-overlay,
.global-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	animation: fadeInOverlay 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInOverlay {
	from { opacity: 0; }
	to { opacity: 1; }
}

.global-search-modal {
	width: 100%;
	max-width: 620px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(2, 132, 199, 0.15);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: min(85vh, 660px);
	margin: auto;
	animation: scaleUpModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUpModal {
	from { opacity: 0; transform: scale(0.96) translateY(-8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.global-search-header {
	display: flex;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(2, 132, 199, 0.12);
	gap: 12px;
	flex-shrink: 0;
	background: #ffffff;
}

.global-search-input-box {
	display: flex;
	align-items: center;
	flex: 1;
	background: #ffffff;
	border: 2px solid #0284c7;
	border-radius: 12px;
	padding: 0 14px;
	height: 46px;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
	transition: all 0.15s ease;
}

.global-search-icon {
	color: #0284c7;
	margin-right: 10px;
	flex-shrink: 0;
}

.global-search-input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	color: #0f172a;
	outline: none;
}

.global-search-input::placeholder {
	color: #94a3b8;
}

.global-search-clear-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #94a3b8;
	font-size: 16px;
	padding: 4px;
	margin-left: 6px;
}

.global-search-close-btn,
.modal-close-text-btn {
	background: rgba(2, 132, 199, 0.08);
	border: none;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: 13.5px;
	font-weight: 700;
	color: #0369a1;
	cursor: pointer;
	transition: all 0.15s ease;
}

.global-search-close-btn:hover {
	background: #e0f2fe;
	color: #0284c7;
}

.global-search-body {
	overflow-y: auto;
	padding: 16px 18px;
	flex: 1;
}

.global-search-hints {
	padding: 10px 0;
}

.global-search-hint-title {
	font-size: 12.5px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
}

.global-search-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.global-search-tag-btn {
	background: #f0f9ff;
	border: 1px solid rgba(2, 132, 199, 0.18);
	border-radius: 16px;
	padding: 6px 14px;
	font-size: 12.5px;
	font-weight: 600;
	color: #0369a1;
	cursor: pointer;
	transition: all 0.15s ease;
}

.global-search-tag-btn:hover {
	background: #0284c7;
	color: #ffffff;
}

@media (max-width: 768px) {
	.global-search-overlay {
		padding: 12px;
		align-items: flex-start;
		padding-top: 16px;
	}
	.global-search-modal {
		max-height: 90vh;
		border-radius: 16px;
	}
	.global-search-header {
		padding: 12px 14px;
	}
	.global-search-input-box {
		height: 44px;
		padding: 0 10px;
	}
	.global-search-input {
		font-size: 14px;
	}
}

.global-search-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.global-search-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease;
	border-bottom: 1px solid #f1f5f9;
}

.global-search-item:hover {
	background: #f0f9ff;
}

.global-search-item-info {
	flex: 1;
	min-width: 0;
	padding-right: 10px;
}

.global-search-item-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.global-search-group-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: #0369a1;
	background: rgba(2, 132, 199, 0.08);
	padding: 2px 8px;
	border-radius: 6px;
	margin-top: 4px;
}

.global-search-fav-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 15px;
	padding: 6px;
}

/* 8. Keyboard Shortcuts Modal & Track Info Modal */
.keyboard-shortcuts-modal,
.track-info-modal {
	width: 90%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25);
	overflow: hidden;
	padding: 20px 24px;
	animation: scaleUpModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(2, 132, 199, 0.12);
	padding-bottom: 12px;
}

.modal-header-row h3 {
	font-size: 16px;
	font-weight: 700;
	color: #0369a1;
	margin: 0;
}

.shortcuts-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.shortcut-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	background: #f8fafc;
	border-radius: 8px;
}

.shortcut-key {
	min-width: 80px;
}

.shortcut-desc {
	font-size: 13px;
	color: #334155;
	font-weight: 500;
}

/* Track Info Content */
.track-info-title {
	font-family: var(--font-serif);
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.45;
	margin-bottom: 16px;
}

.track-info-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f8fafc;
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
}

.info-label {
	color: #64748b;
	font-weight: 600;
}

.info-val {
	color: #0f172a;
	font-weight: 600;
	text-align: right;
}

.share-link-btn {
	width: 100%;
	background: linear-gradient(135deg, #0369a1, #075985);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 12px;
	font-size: 13.5px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.share-link-btn:hover {
	opacity: 0.92;
}

/* 9. Toast Notification System */
.toast-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 90vw;
}

@media (max-width: 768px) {
	.toast-container {
		bottom: 84px;
		left: 16px;
		right: 16px;
	}
}

.toast-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #0f172a;
	color: #ffffff;
	padding: 12px 18px;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	font-size: 13.5px;
	font-weight: 600;
	animation: slideInToast 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInToast {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.toast-success {
	background: #065f46;
}

.toast-resume {
	background: #0369a1;
}

.toast-action-btn {
	background: #ffffff;
	color: #0369a1;
	border: none;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.toast-close-btn {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	font-size: 14px;
	padding: 2px;
}

