/* Lyrics index (11a). */
.trd-lyrindex { display: flex; flex-direction: column; gap: 48px; }

.trd-lyrsearch { display: flex; flex-direction: column; gap: 14px; }
.trd-lyrsearch__box { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--trd-ink); padding: 4px 0 14px; }
.trd-lyrsearch__icon { flex: none; transform: scale(1.1); }
.trd-lyrsearch__box input {
	flex: 1; min-width: 0; background: none; border: 0; outline: none;
	font: 400 26px/1.3 var(--trd-font-head); color: var(--trd-ink); padding: 4px 0;
}
.trd-lyrsearch__box input::placeholder { color: #8a9094; }
.trd-lyrsearch__box input::-webkit-search-cancel-button { display: none; }
.trd-lyrsearch__box:focus-within { border-bottom-color: var(--trd-teal); box-shadow: 0 1px 0 var(--trd-teal); }
.trd-lyrsearch__modes { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trd-lyrsearch__modes .trd-muted { font-size: 12px; padding-right: 4px; }

.trd-lyrindex__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--trd-rule); margin-bottom: 18px; }
.trd-lyrindex__head h2 { font-size: 26px; margin: 0; }

/* Lyric search results */
.trd-lyrhit { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--trd-rule); color: var(--trd-ink); text-decoration: none; }
.trd-lyrhit__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trd-lyrhit__title { font-size: 17px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--trd-teal); text-underline-offset: 4px; }
.trd-lyrhit__line { font: 15px/1.5 var(--trd-font-head); color: #3a4045; }
.trd-lyrhit__line mark { background: rgba(15,127,108,.14); box-shadow: inset 0 -2px 0 var(--trd-teal); color: inherit; padding: 0 2px; }
.trd-lyrhit__rel { font-size: 12px; color: var(--trd-slate); text-align: right; }
.trd-lyrhits__none { padding: 24px 0; color: var(--trd-slate); }

/* Popular */
.trd-lyrpop__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.trd-lyrpop__item { display: flex; flex-direction: column; gap: 9px; color: var(--trd-ink); text-decoration: none; }
.trd-lyrpop__title { font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: underline; text-decoration-color: #8f958f; text-underline-offset: 4px; }
.trd-lyrpop__item:hover .trd-lyrpop__title { text-decoration-color: var(--trd-ink); }
.trd-lyrpop__rel { font-size: 12px; color: #6b7277; }

/* A–Z */
.trd-letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; }
.trd-letter { width: 34px; height: 34px; font: 14px/1 var(--trd-font-body); border: 1px solid var(--trd-tag-border); background: transparent; color: var(--trd-ink); cursor: pointer; border-radius: 0; padding: 0; }
.trd-letter:hover:not(:disabled) { border-color: var(--trd-ink); }
.trd-letter[aria-pressed="true"] { background: var(--trd-ink); border-color: var(--trd-ink); color: var(--trd-paper); }
.trd-letter:disabled { color: #b9bdb5; border-color: #e0e2dc; cursor: default; }
.trd-lyraz__cols { columns: 3; column-gap: 32px; }
.trd-lyraz__group { break-inside: avoid; display: flex; flex-direction: column; padding-bottom: 28px; }
.trd-lyraz__group[hidden] { display: none; }
.trd-lyraz__letter { font: 700 28px/1.2 var(--trd-font-head); color: var(--trd-red); padding-bottom: 8px; border-bottom: 1px solid var(--trd-rule); scroll-margin-top: 20px; }
.trd-lyraz__song { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid #dcdfd8; color: var(--trd-ink); text-decoration: none; font-size: 15px; }
.trd-lyraz__song[hidden] { display: none; }
.trd-lyraz__song:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.trd-lyraz__rel { font-size: 12px; color: #6b7277; text-align: right; }
.trd-lyraz__empty { font-size: 16px; padding: 16px 0; }

@media (max-width: 1200px) {
	.trd-lyrpop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.trd-lyraz__cols { columns: 2; }
}
@media (max-width: 760px) {
	.trd-lyrindex { gap: 36px; }
	.trd-lyrsearch__box input { font-size: 20px; }
	.trd-lyrpop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trd-lyraz__cols { columns: 1; }
	.trd-letters { gap: 3px; }
	.trd-letter { width: 40px; height: 40px; }
	.trd-lyrhit { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.trd-lyrhit__rel { text-align: left; }
	.trd-lyrindex__head h2 { font-size: 22px; }
}
