.library2-page {
	--library2-primary: #1f3a5f;
	--library2-accent: #c9a227;
	--library2-background: #faf8f2;
	--library2-surface: #ffffff;
	--library2-text: #0d1b3e;
	--library2-muted: #64748b;
	--library2-header-start: #030b3d;
	--library2-header-end: #001242;
	--library2-header-glow: rgba(50, 91, 180, 0.26);
	--library2-item: #f8fafc;
	--library2-item-hover: #fffbeb;
	--library2-border: #e5e7eb;
	background: var(--library2-background);
	color: var(--library2-text);
	min-height: calc(100vh - 64px);
}

.library2-page *,
.library2-page *::before,
.library2-page *::after {
	box-sizing: border-box;
}

.library2-page a {
	text-decoration: none;
}

.library2-page :is(a, button, summary):focus-visible {
	outline: 3px solid rgba(201, 162, 39, 0.42);
	outline-offset: 2px;
}

.library2-page .library2-shell {
	display: grid;
	grid-template-columns: 1fr;
	min-height: calc(100vh - 64px);
}

.library2-page .library2-sidebar {
	background: var(--library2-surface);
	border-bottom: 1px solid #e5e7eb;
	min-width: 0;
}

.library2-page .library2-filter-details {
	width: 100%;
}

.library2-page .library2-filter-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 0.68rem;
	font-weight: 700;
	justify-content: space-between;
	letter-spacing: 0.1em;
	padding: 0.7rem 0.9rem;
	text-transform: uppercase;
}

.library2-page .library2-filter-summary::-webkit-details-marker {
	display: none;
}

.library2-page .library2-filter-summary-icon {
	color: var(--library2-muted);
	font-size: 1.05rem;
	transition: transform 0.2s ease;
}

.library2-page .library2-filter-details[open] .library2-filter-summary-icon {
	transform: rotate(180deg);
}

.library2-page .library2-filter-content {
	display: grid;
	gap: 0.9rem;
	padding: 0 0.9rem 0.9rem;
}

.library2-page .library2-filter-block {
	display: grid;
	gap: 0.45rem;
}

.library2-page .library2-filter-heading-row {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.library2-page .library2-filter-heading {
	color: var(--library2-accent);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0;
	text-transform: uppercase;
}

.library2-page .library2-clear-link {
	color: #dc2626;
	font-size: 0.64rem;
	font-weight: 600;
}

.library2-page .library2-clear-link:hover,
.library2-page .library2-empty-link:hover {
	text-decoration: underline;
}

.library2-page .library2-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.library2-page .library2-filter-chip {
	align-items: center;
	background: rgba(201, 162, 39, 0.12);
	border-radius: 999px;
	color: var(--library2-accent);
	display: inline-flex;
	font-size: 0.64rem;
	font-weight: 700;
	gap: 0.15rem;
	padding: 0.25rem 0.45rem;
}

.library2-page .library2-filter-chip .material-symbols-outlined {
	font-size: 0.82rem;
}

.library2-page .library2-filter-options {
	display: grid;
	gap: 0.1rem;
}

.library2-page .library2-filter-option {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 0.4rem;
	color: #222222;
	display: flex;
	font-size: 0.8rem;
	gap: 0.5rem;
	min-height: 2rem;
	padding: 0.28rem 0.4rem;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}

.library2-page .library2-filter-option:hover {
	background: var(--library2-background);
	color: var(--library2-primary);
}

.library2-page .library2-filter-option-active {
	background: #f4e7c1;
	border-color: rgba(201, 162, 39, 0.5);
	color: var(--library2-primary);
	font-weight: 700;
}

.library2-page .library2-season-dot {
	border-radius: 50%;
	flex: 0 0 auto;
	height: 0.58rem;
	width: 0.58rem;
}

.library2-page .library2-year-dot {
	align-items: center;
	background: rgba(31, 58, 95, 0.1);
	border-radius: 50%;
	color: var(--library2-primary);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.62rem;
	font-weight: 700;
	height: 1.35rem;
	justify-content: center;
	width: 1.35rem;
}

.library2-page .library2-filter-check {
	color: var(--library2-accent);
	font-size: 0.92rem;
	margin-left: auto;
}

.library2-page .library2-filter-format-icon {
	color: var(--library2-muted);
	font-size: 1rem;
}

.library2-page .library2-main {
	min-width: 0;
	padding: 1rem 0.75rem 2rem;
}

.library2-page .library2-content {
	margin: 0 auto;
	max-width: 82rem;
}

.library2-page .library2-results-column {
	margin: 0 auto;
	max-width: 750px;
}

.library2-page .library2-page-header {
	margin-bottom: 0.65rem;
}

.library2-page .library2-eyebrow {
	color: var(--library2-accent);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	margin: 0 0 0.2rem;
	text-transform: uppercase;
}

.library2-page .library2-page-header h1 {
	color: var(--library2-primary);
	font-family: "Noto Serif", serif;
	font-size: clamp(1.25rem, 2.5vw, 1.7rem);
	line-height: 1.15;
	margin: 0 0 0.25rem;
}

.library2-page .library2-page-header > p:last-child {
	color: var(--library2-muted);
	font-size: 0.78rem;
	margin: 0;
}

.library2-page .library2-search-form {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.library2-page .library2-search-box {
	align-items: center;
	background: var(--library2-surface);
	border: 1px solid #e5e7eb;
	border-radius: 0.45rem;
	display: flex;
	flex: 1 1 auto;
	gap: 0.5rem;
	min-width: 0;
	padding: 0.4rem 0.6rem;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.library2-page .library2-search-box:focus-within {
	border-color: var(--library2-accent);
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
}

.library2-page .library2-search-box .material-symbols-outlined {
	color: var(--library2-muted);
	font-size: 1.15rem;
}

.library2-page .library2-search-box input {
	background: transparent;
	border: 0;
	color: #222222;
	font: inherit;
	min-width: 0;
	outline: 0;
	width: 100%;
}

.library2-page .library2-search-button {
	align-items: center;
	background: var(--library2-primary);
	border: 0;
	border-radius: 0.45rem;
	color: var(--library2-surface);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.3rem;
	justify-content: center;
	padding: 0.4rem 0.75rem;
	transition:
		background-color 0.15s ease,
		transform 0.15s ease;
}

.library2-page .library2-search-button:hover {
	background: #152a45;
}

.library2-page .library2-search-button:active {
	transform: scale(0.98);
}

.library2-page .library2-search-button .material-symbols-outlined {
	font-size: 1rem;
}

.library2-page .library2-notice {
	align-items: center;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 0.4rem;
	color: #92400e;
	display: flex;
	font-size: 0.78rem;
	gap: 0.4rem;
	margin-bottom: 0.7rem;
	padding: 0.5rem 0.65rem;
}

.library2-page .library2-notice .material-symbols-outlined {
	font-size: 1rem;
}

.library2-page .library2-result-summary {
	align-items: center;
	color: var(--library2-muted);
	display: flex;
	font-size: 0.75rem;
	justify-content: space-between;
	margin-bottom: 0.55rem;
}

.library2-page .library2-result-summary strong {
	color: var(--library2-text);
}

.library2-page .library2-season-sections {
	display: grid;
	gap: 0.75rem;
}

.library2-page .library2-season-section {
	background: var(--library2-surface);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	min-width: 0;
	padding: 16px;
}

.library2-page .library2-season-header {
	align-items: center;
	background-color: var(--library2-header-start);
	background-image:
		radial-gradient(
			circle at 18% 30%,
			rgba(255, 255, 255, 0.7) 0 1px,
			transparent 1.7px
		),
		radial-gradient(
			circle at 43% 75%,
			rgba(255, 255, 255, 0.5) 0 1px,
			transparent 1.8px
		),
		radial-gradient(
			circle at 71% 34%,
			rgba(255, 255, 255, 0.6) 0 1px,
			transparent 1.7px
		),
		radial-gradient(
			circle at 91% 68%,
			rgba(255, 255, 255, 0.45) 0 1px,
			transparent 1.6px
		),
		radial-gradient(ellipse at 68% 15%, var(--library2-header-glow), transparent 48%),
		linear-gradient(120deg, var(--library2-header-start), var(--library2-header-end));
	border-radius: 6px;
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	min-height: 3rem;
	padding: 14px 20px;
}

.library2-page .library2-season-header {
	cursor: pointer;
	list-style: none;
}

.library2-page .library2-season-header::-webkit-details-marker {
	display: none;
}

.library2-page .library2-season-header-right {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 0.35rem;
	margin-left: 0.75rem;
}

.library2-page .library2-season-toggle {
	font-size: 1.15rem;
	transition: transform 0.2s ease;
}

.library2-page .library2-season-section[open] .library2-season-toggle {
	transform: rotate(180deg);
}

.library2-page .library2-season-header.library2-tone-purple {
	--library2-header-start: #4c1d95;
	--library2-header-end: #6d28d9;
	--library2-header-glow: rgba(196, 181, 253, 0.28);
}

.library2-page .library2-season-header.library2-tone-white {
	--library2-header-start: #334155;
	--library2-header-end: #64748b;
	--library2-header-glow: rgba(226, 232, 240, 0.3);
}

.library2-page .library2-season-header.library2-tone-green {
	--library2-header-start: #14532d;
	--library2-header-end: #15803d;
	--library2-header-glow: rgba(187, 247, 208, 0.25);
}

.library2-page .library2-season-header.library2-tone-red {
	--library2-header-start: #7f1d1d;
	--library2-header-end: #b91c1c;
	--library2-header-glow: rgba(254, 202, 202, 0.24);
}

.library2-page .library2-season-header.library2-tone-neutral {
	--library2-header-start: #1f3a5f;
	--library2-header-end: #0f2b5c;
	--library2-header-glow: rgba(147, 197, 253, 0.24);
}

.library2-page .library2-season-title-wrap {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	min-width: 0;
}

.library2-page .library2-season-marker {
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
	flex: 0 0 auto;
	height: 0.55rem;
	width: 0.55rem;
}

.library2-page .library2-season-header h2 {
	color: inherit;
	font-family: "Source Sans 3", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	margin: 0;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.library2-page .library2-season-count {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.68rem;
	font-weight: 700;
	justify-content: center;
	margin-left: 0.75rem;
	min-width: 1.6rem;
	padding: 0.1rem 0.35rem;
}

.library2-page .library2-season-body {
	padding-top: 12px;
}

.library2-page .library2-season-placeholder,
.library2-page .library2-season-loading,
.library2-page .library2-season-empty,
.library2-page .library2-season-load-error {
	color: var(--library2-muted);
	font-size: 0.78rem;
	margin: 0;
	padding: 0.85rem;
	text-align: center;
}

.library2-page .library2-season-loading {
	align-items: center;
	display: flex;
	gap: 0.35rem;
	justify-content: center;
}

.library2-page .library2-season-loading .material-symbols-outlined {
	animation: library2-spin 1s linear infinite;
	font-size: 1rem;
}

.library2-page .library2-season-empty .material-symbols-outlined {
	color: #d1d5db;
	display: block;
	font-size: 2rem;
	margin-bottom: 0.35rem;
}

.library2-page .library2-season-load-error button {
	background: var(--library2-primary);
	border: 0;
	border-radius: 0.35rem;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	margin-top: 0.45rem;
	padding: 0.35rem 0.7rem;
}

.library2-page .library2-noscript {
	background: #fffbeb;
	color: #92400e;
	font-size: 0.78rem;
	padding: 0.6rem 0.8rem;
	text-align: center;
}

@keyframes library2-spin {
	to {
		transform: rotate(360deg);
	}
}

.library2-page .library2-song-nav {
	display: grid;
	gap: 14px;
}

.library2-page .library2-song-group {
	min-width: 0;
}

.library2-page .library2-group-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 2px 7px;
}

.library2-page .library2-group-heading h3 {
	color: var(--library2-primary);
	font-family: "Source Sans 3", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	margin: 0;
}

.library2-page .library2-group-heading p {
	color: var(--library2-muted);
	font-size: 0.65rem;
	margin: 0.08rem 0 0;
}

.library2-page .library2-group-heading > span {
	color: var(--library2-muted);
	font-size: 0.65rem;
	font-weight: 700;
}

.library2-page .library2-year-heading {
	margin-top: 2px;
}

.library2-page .library2-song-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.library2-page .library2-song-list > li {
	min-width: 0;
}

.library2-page .library2-song-card {
	align-items: center;
	background: var(--library2-item);
	border: 1px solid var(--library2-border);
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	display: flex;
	gap: 0.6rem;
	justify-content: space-between;
	min-width: 0;
	padding: 6px 15px;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.library2-page .library2-song-card:hover {
	background: var(--library2-item-hover);
	border-color: rgba(201, 162, 39, 0.45);
	box-shadow: 0 3px 6px rgba(15, 43, 92, 0.08);
}

.library2-page .library2-song-card-main {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
}

.library2-page .library2-play-button,
.library2-page .library2-play-placeholder {
	align-items: center;
	border-radius: 4px;
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.library2-page .library2-play-button {
	background: #0f2b5c;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	padding: 0;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.library2-page .library2-play-button:hover,
.library2-page .library2-play-button.bg-accent {
	background: var(--library2-accent);
	color: #ffffff;
}

.library2-page .library2-play-button:active {
	transform: scale(0.92);
}

.library2-page .library2-play-button .material-symbols-outlined,
.library2-page .library2-play-placeholder .material-symbols-outlined {
	font-size: 1rem;
}

.library2-page .library2-play-placeholder {
	background: #d4deef;
	color: #0f2b5c;
}

.library2-page .library2-song-information {
	flex: 1 1 auto;
	min-width: 0;
}

.library2-page .library2-song-title {
	color: var(--library2-text);
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.library2-page .library2-song-title:hover {
	color: var(--library2-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.library2-page .library2-song-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 2px;
	margin-left: 0.25rem;
}

.library2-page .library2-action-button {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--library2-muted);
	cursor: pointer;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	padding: 0;
	transition:
		color 0.15s ease,
		background-color 0.15s ease;
	width: 32px;
}

.library2-page .library2-action-button:hover,
.library2-page .library2-action-button.text-accent {
	background: rgba(201, 162, 39, 0.12);
	border-radius: 4px;
	color: var(--library2-accent);
}

.library2-page .library2-action-button .material-symbols-outlined {
	font-size: 1.1rem;
}

.library2-page .library2-action-disabled,
.library2-page .library2-action-disabled:hover {
	background: transparent;
	color: #b8c3d4;
	cursor: default;
}

.library2-page .library2-global-empty {
	align-items: center;
	background: var(--library2-surface);
	border: 1px solid #e5e7eb;
	border-radius: 0.55rem;
	color: var(--library2-muted);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 12rem;
	padding: 1.25rem;
	text-align: center;
}

.library2-page .library2-global-empty > .material-symbols-outlined {
	color: #d1d5db;
	font-size: 2.5rem;
}

.library2-page .library2-global-empty h2 {
	color: var(--library2-text);
	font-family: "Noto Serif", serif;
	font-size: 1rem;
	margin: 0.6rem 0 0.2rem;
}

.library2-page .library2-global-empty p {
	font-size: 0.78rem;
	margin: 0;
}

.library2-page .library2-empty-link {
	color: var(--library2-accent);
	font-size: 0.78rem;
	font-weight: 700;
	margin-top: 0.55rem;
}

@media (min-width: 640px) {
	.library2-page .library2-main {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.library2-page .library2-shell {
		grid-template-columns: 18rem minmax(0, 1fr);
	}

	.library2-page .library2-sidebar {
		border-bottom: 0;
		border-right: 1px solid #e5e7eb;
		height: calc(100vh - 64px);
		overflow-y: auto;
		position: sticky;
		top: 64px;
		align-self: start;
	}

	.library2-page .library2-filter-summary {
		border-bottom: 1px solid #f1f5f9;
	}

	.library2-page .library2-main {
		padding: 1.25rem 1.25rem 2.5rem;
	}
}

@media (max-width: 639px) {
	.library2-page .library2-search-form {
		align-items: stretch;
		flex-direction: column;
	}

	.library2-page .library2-search-button {
		min-height: 2.5rem;
	}

	.library2-page .library2-result-summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.15rem;
	}

	.library2-page .library2-season-section {
		padding: 12px;
	}

	.library2-page .library2-season-header {
		padding: 12px 14px;
	}

	.library2-page .library2-season-header h2 {
		font-size: 0.92rem;
	}

	.library2-page .library2-song-card {
		padding: 11px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.library2-page *,
	.library2-page *::before,
	.library2-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==================== 3-COLUMN MATRIX GRID (NATIVE SITE THEME) ==================== */
.library2-page .library2-results-column {
	max-width: 100% !important;
}

.library2-matrix-container {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

/* Year Columns Header (NĂM A | NĂM B | NĂM C) */
.library2-year-grid-header {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 0.15rem;
}

.library2-year-col-title {
	background: rgba(31, 58, 95, 0.06);
	color: var(--library2-primary);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	padding: 0.45rem 0.5rem;
	border-radius: 6px;
	border: 1px solid rgba(31, 58, 95, 0.12);
	text-transform: uppercase;
}

/* Matrix Rows */
.library2-year-matrix-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.library2-matrix-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.library2-matrix-slot {
	min-width: 0;
}

/* Common Songs Subheading & Grid */
.library2-common-subheading {
	border-top: 1px dashed var(--library2-border);
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	margin-bottom: 0.35rem;
}

.library2-common-subheading span {
	color: var(--library2-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.library2-common-grid-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px;
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 768px) {
	.library2-year-grid-header,
	.library2-matrix-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.library2-year-grid-header {
		display: none;
	}
	.library2-matrix-slot:has(.library2-song-card)::before {
		display: block;
		font-size: 0.65rem;
		font-weight: 700;
		color: var(--library2-primary);
		padding: 0.15rem 0.2rem;
		margin-bottom: 0.2rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}
	.library2-matrix-slot:nth-child(1):has(.library2-song-card)::before { content: "NĂM A"; }
	.library2-matrix-slot:nth-child(2):has(.library2-song-card)::before { content: "NĂM B"; }
	.library2-matrix-slot:nth-child(3):has(.library2-song-card)::before { content: "NĂM C"; }
}

