/* Song page (13a desktop / 13b mobile). */
.trd-song { display: flex; flex-direction: column; gap: 56px; }

.trd-song__top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.trd-song__aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.trd-song__cover { position: relative; }
.trd-cover--shadow { box-shadow: 0 24px 48px rgba(0,0,0,.4); }

.trd-play {
	position: absolute; right: 18px; bottom: 18px;
	width: 68px; height: 68px; border-radius: 50%; border: 0;
	background: var(--trd-ink); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.trd-play__icon { display: block; width: 0; height: 0; border-left: 19px solid var(--trd-paper); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 6px; }
.trd-play.is-playing .trd-play__icon { width: 17px; height: 21px; border: 0; border-left: 6px solid var(--trd-paper); border-right: 6px solid var(--trd-paper); margin: 0; }


.trd-song__mobile-title { display: none; }
.trd-song__release {
	align-self: flex-start;
	font: 700 20px/1.2 var(--trd-font-head);
	color: var(--trd-ink);
	text-decoration: underline;
	text-decoration-color: var(--trd-teal);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.trd-song__release-meta { font-size: 12px; color: #6b7277; margin-top: -4px; }
.trd-buy--stack { flex-direction: column; align-items: stretch; }
.trd-buy--stack .trd-btn { width: 100%; }
.trd-song__aside .trd-share { margin: 0; }
.trd-song__free { justify-content: center; text-align: center; width: 100%; }

/* Lyrics */
.trd-song__lyrics { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.trd-song__lyrics-title { margin-bottom: 12px; }
.trd-song__lyrics-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trd-song__count { font-size: 13px; color: var(--trd-slate); }
.trd-lyrics + .trd-song__count { margin: 24px 0 0; }
.trd-song__credits-from { margin: 0 0 12px; font-size: 13px; }

.trd-lyrics { display: flex; flex-direction: column; gap: 28px; font: 400 22px/1.6 var(--trd-font-head); }
.trd-lyrics__stanza { display: flex; flex-direction: column; gap: 2px; }
.trd-lyrics__label { font: 10.5px/1.4 var(--trd-font-body); letter-spacing: .14em; text-transform: uppercase; color: #6b7277; padding-bottom: 4px; }
.trd-lyrics.is-unlabelled .trd-lyrics__label { display: none; }
.trd-lyrics__line { position: relative; display: flex; flex-direction: column; }
.trd-lyrics__annotated {
	align-self: flex-start;
	font: inherit; text-align: left; color: var(--trd-ink);
	padding: 1px 6px; margin-left: -6px;
	background: var(--trd-teal-wash);
	box-shadow: inset 0 -1.5px 0 rgba(15,127,108,.65);
	border: 0; border-radius: 0; cursor: pointer;
}
.trd-lyrics__annotated:hover, .trd-lyrics__annotated[aria-expanded="true"] { background: rgba(15,127,108,.30); color: #000; }

.trd-annotation {
	position: absolute; left: 24px; top: calc(100% + 8px); z-index: 5;
	width: min(380px, calc(100vw - 48px));
	padding: 18px 20px; background: var(--trd-white);
	box-shadow: 0 18px 40px rgba(0,0,0,.35);
	display: flex; flex-direction: column; gap: 10px;
	font: 15px/1.6 var(--trd-font-body); color: var(--trd-ink);
}
.trd-annotation[hidden] { display: none; }
.trd-annotation::before { content: ""; position: absolute; left: 18px; top: -6px; width: 12px; height: 12px; background: var(--trd-white); transform: rotate(45deg); }
.trd-annotation__head { display: flex; justify-content: space-between; align-items: center; }
.trd-annotation__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--trd-red); }
.trd-annotation__close { width: 32px; height: 32px; border: 0; background: none; color: var(--trd-slate); font-size: 20px; cursor: pointer; }
.trd-annotation__body p { margin: 0 0 .6em; }
.trd-annotation__body + .trd-annotation__body { border-top: 1px solid var(--trd-rule); padding-top: 10px; }
.trd-annotation__cta { font-size: 13px; color: var(--trd-ink); }

.trd-empty { padding: 24px; background: var(--trd-mist); }
.trd-empty p { margin: 0 0 8px; }
.trd-muted { color: var(--trd-slate); font-size: 14px; }

/* More songs */
.trd-song__more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trd-song__more-label { display: block; padding-bottom: 8px; color: #6b7277; }
.trd-songrow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid #dcdfd8; color: var(--trd-ink); text-decoration: none; }
.trd-songrow__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trd-songrow__title { font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: #8f958f; text-underline-offset: 4px; }
span.trd-songrow .trd-songrow__title { text-decoration: none; }
.trd-songrow__meta { font-size: 12px; color: #6b7277; }
.trd-songrow.is-current { background: #ece6ea; }
.trd-song__more-all { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--trd-slate); }
.trd-songrow.is-current .trd-songrow__title { color: var(--trd-red); }
a.trd-songrow:hover .trd-songrow__title { text-decoration-color: var(--trd-ink); }

/* Tabs */
.trd-tabs { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 20px; }
.trd-tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--trd-ink); overflow-x: auto; }
.trd-tabs__list button { flex: none; font: 14px/1.2 var(--trd-font-body); padding: 14px 18px; min-height: var(--trd-tap); background: transparent; color: #4a5055; border: 0; border-radius: 0; cursor: pointer; }
.trd-tabs__list button[aria-selected="true"] { background: var(--trd-ink); color: var(--trd-paper); }
.trd-tabs.is-ready .trd-tabs__panel[hidden] { display: none; }
.trd-tabs__panel { scroll-margin-top: 20px; }
.trd-subhead { font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--trd-ink); margin: 0 0 16px; }

.trd-song__about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.trd-facts { margin: 0; }
.trd-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #dcdfd8; font-size: 14px; }
.trd-facts dt { color: var(--trd-slate); }
.trd-facts dd { margin: 0; text-align: right; }

.trd-video { max-width: 760px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.trd-video__facade, .trd-video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #0b0d10; cursor: pointer; overflow: hidden; }
.trd-video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.trd-video__facade .trd-play__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }
.trd-video__facade::after { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--trd-ink); z-index: 0; }
.trd-video__facade .trd-play__icon { z-index: 1; margin-left: 3px; }
.trd-video__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.trd-video__meta a { font-size: 13px; font-weight: 400; color: var(--trd-slate); }

.trd-song__rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trd-song__live-n { font: 700 28px/1.1 var(--trd-font-head); margin: 4px 0 6px; }

/* Comments */
.trd-comments { display: flex; flex-direction: column; gap: 18px; }
.trd-comments__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--trd-ink); padding-bottom: 12px; }
.trd-comments__head .trd-subhead { border: 0; padding: 0; margin: 0; }
.trd-comments__sort { display: flex; gap: 6px; }
.trd-comments__form { background: #ebece7; padding: 16px; }
.trd-comments__form form { display: flex; flex-direction: column; gap: 10px; }
.trd-comments__form p { margin: 0; }
.trd-comments__form textarea, .trd-comments__form input[type="text"], .trd-comments__form input[type="email"], .trd-comments__form input[type="url"] {
	width: 100%; min-height: var(--trd-tap); padding: 12px; border: 1px solid var(--trd-tag-border); background: var(--trd-white);
	font: 14px/1.5 var(--trd-font-body); color: var(--trd-ink); border-radius: 0;
}
.trd-comments__form label { font-size: 13px; color: var(--trd-slate); display: block; margin-bottom: 4px; }
.trd-comments__form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.trd-comments__form .comment-form-cookies-consent label { margin: 0; }
.trd-comments__submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trd-btn--dark { background: var(--trd-ink); border-color: var(--trd-ink); color: var(--trd-paper); }
.trd-btn--dark:hover { background: #000; color: var(--trd-paper); }
.trd-comments__list, .trd-comments__list .children { list-style: none; margin: 0; padding: 0; }
.trd-comments__list .children { padding-left: 54px; }
.trd-comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--trd-rule); }
.trd-comment > .children { grid-column: 1 / -1; }
.trd-comment__avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--trd-paper); }
.trd-comment__body { display: flex; flex-direction: column; gap: 8px; }
.trd-comment__meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.trd-comment__name { font-size: 14px; font-weight: 600; }
.trd-comment__date { font-size: 12px; color: #6b7277; text-decoration: none; }
.trd-comment__text { font-size: 15px; line-height: 1.6; color: #3a4045; }
.trd-comment__text p { margin: 0 0 .6em; }
.trd-comment__reply a { font-size: 12px; color: var(--trd-slate); }

/* Previous / next track */
.trd-prevnext { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--trd-rule); padding-top: 20px; }
.trd-prevnext a { display: flex; flex-direction: column; gap: 4px; color: var(--trd-ink); font-weight: 500; text-decoration: none; }
.trd-prevnext a:hover { text-decoration: underline; }
.trd-prevnext__next { margin-left: auto; text-align: right; }

/* Tablet / mobile (13b) */
@media (max-width: 1200px) {
	.trd-song__top { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
	.trd-song { gap: 40px; }
	.trd-song__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.trd-song__aside { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
	.trd-song__cover { grid-row: span 4; }
	.trd-play { width: 44px; height: 44px; right: 8px; bottom: 8px; }
	.trd-play__icon { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }
	.trd-song__mobile-title { display: flex; flex-direction: column; gap: 2px; grid-column: 2; grid-row: 1; }
	.trd-song__mobile-name { font: 700 24px/1.1 var(--trd-font-head); }
	.trd-song__release { grid-column: 2; font-size: 15px; text-underline-offset: 4px; }
	.trd-song__release-meta { grid-column: 2; }
	.trd-song__aside .trd-buy, .trd-song__aside .trd-share, .trd-song__free { grid-column: 1 / -1; }
	.trd-buy--stack { flex-direction: row; }
	.trd-buy--stack .trd-btn { width: auto; flex: 1 1 140px; }
	.trd-lyrics { font-size: 18px; gap: 22px; }
	/* 13b: the annotation opens as a sheet at the bottom, over a dimmed page. */
	.trd-annotation {
		position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; z-index: 60;
		width: auto; max-height: 70vh; overflow-y: auto; padding: 16px 18px 20px;
		box-shadow: 0 20px 50px rgba(0,0,0,.6);
	}
	.trd-annotation::before { display: none; }
	/* Backdrop: belongs to the open line's button, so tapping it closes the sheet. */
	.trd-lyrics__annotated[aria-expanded="true"]::after { content: ""; position: fixed; inset: 0; z-index: 59; background: rgba(10,12,16,.45); }
	.trd-annotation__close { width: 44px; height: 44px; margin: -8px -8px -8px 0; }
	.trd-annotation__cta { font-size: 14px; border: 1px solid #8f958f; min-height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; padding: 0 12px; }
	.trd-song__more-grid, .trd-song__rel, .trd-song__about { grid-template-columns: minmax(0, 1fr); }
	.trd-subhead { font-size: 22px; }
	.trd-tabs__list button { font-size: 13px; padding: 12px 14px; }
}
