/* Shows landing (15a) and show page (15d). Uses song.css (videos, comments) and release.css (download cards). */
.trd-shows, .trd-show { display: flex; flex-direction: column; gap: 64px; }
.trd-shows .trd-section-head { margin-bottom: 0; }
.trd-tag--red { border-color: #e3a79f; color: var(--trd-red); }

/* Upcoming */
.trd-shows__none { padding: 20px 0; color: var(--trd-slate); border-bottom: 1px solid var(--trd-rule); margin: 0; }
.trd-upshow { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr) 240px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--trd-rule); }
.trd-upshow__date { display: flex; flex-direction: column; line-height: 1; }
.trd-upshow__day { font: 700 40px/1 var(--trd-font-head); letter-spacing: -.03em; margin-bottom: 6px; }
.trd-upshow__place { display: flex; flex-direction: column; gap: 3px; color: var(--trd-ink); text-decoration: none; }
.trd-upshow__city { font: 700 22px/1.2 var(--trd-font-head); text-decoration: underline; text-decoration-color: #8f958f; text-underline-offset: 4px; }
.trd-upshow__venue { font-size: 15px; color: #4a5055; }
.trd-upshow__tickets { display: flex; justify-content: flex-end; }

/* Recent */
.trd-shows section > .trd-recent, .trd-shows section > .trd-numbers__note { margin-top: 18px; }
.trd-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trd-recent__card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--trd-mist); color: var(--trd-ink); text-decoration: none; }
.trd-recent__card:hover { background: #dfe2db; }
.trd-recent__place { display: flex; flex-direction: column; gap: 2px; }
.trd-recent__city { font: 700 20px/1.2 var(--trd-font-head); }
.trd-recent__tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }

/* By the numbers */
.trd-numbers { display: flex; flex-direction: column; gap: 24px; }
.trd-numbers__note { margin-bottom: -8px; font-size: 13px; }
.trd-numbers__totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--trd-rule); }
.trd-numbers__totals div { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 20px; font-size: 13px; color: var(--trd-slate); }
.trd-numbers__totals span { font: 700 40px/1 var(--trd-font-head); letter-spacing: -.03em; color: var(--trd-ink); }
.trd-numbers__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.trd-numbers__cols .trd-label { display: block; padding-bottom: 10px; color: #6b7277; }
.trd-numbers__side { display: flex; flex-direction: column; gap: 28px; }
.trd-numbers__song.is-extra { display: none; }
.trd-numbers__song.is-shown { display: grid; }
.trd-numbers__song { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid #dcdfd8; color: var(--trd-ink); text-decoration: none; }
.trd-numbers__song-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trd-numbers__song-row { display: flex; justify-content: space-between; gap: 10px; }
.trd-numbers__song-title { font-size: 15px; text-decoration: underline; text-decoration-color: #8f958f; text-underline-offset: 4px; }
.trd-numbers__n { font-size: 13px; color: #4a5055; font-variant-numeric: tabular-nums; text-align: right; }
.trd-numbers__span { font-size: 12px; color: #6b7277; text-align: right; }
.trd-bar { position: relative; display: block; height: 4px; background: #dcdfd8; }
.trd-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--trd-pink); }
.trd-bar--red > span { background: var(--trd-red); }
.trd-bar--teal > span { background: var(--trd-teal); }
.trd-numbers__kv { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #dcdfd8; font-size: 14px; }
.trd-numbers__kv a { color: var(--trd-ink); }
.trd-numbers__city { display: grid; grid-template-columns: 130px 1fr 30px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid #dcdfd8; font-size: 14px; }
.trd-numbers__empty { padding: 10px 0; border-top: 1px solid #dcdfd8; margin: 0; }

.trd-peryear { display: flex; flex-direction: column; gap: 10px; }
.trd-peryear__bars, .trd-peryear__labels { display: grid; grid-template-columns: repeat(var(--years), minmax(0, 1fr)); gap: 4px; }
.trd-peryear__bars { align-items: end; height: 120px; border-bottom: 1px solid var(--trd-tag-border); }
.trd-peryear__bar { background: var(--trd-pink); min-height: 2px; }
.trd-peryear__bar.is-zero { background: var(--trd-rule); }
.trd-peryear__labels span { font: 10px/1 var(--trd-font-mono); color: #6b7277; text-align: center; }

/* Full gigography */
.trd-gigography__count { margin: 8px 0 0; font-size: 13px; }
.trd-year { border-bottom: 1px solid var(--trd-rule); }
.trd-year summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; }
.trd-year summary::-webkit-details-marker { display: none; }
.trd-year summary::after { content: "+"; font-size: 18px; width: 16px; text-align: center; margin-left: 16px; }
.trd-year[open] summary::after { content: "–"; }
.trd-year summary .trd-muted { margin-left: auto; font-size: 13px; }
.trd-year__y { font: 700 24px/1 var(--trd-font-head); color: var(--trd-red); }
.trd-year__shows { display: flex; flex-direction: column; padding-bottom: 14px; }
.trd-gig { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr) 240px; gap: 20px; align-items: center; padding: 11px 0; border-top: 1px solid #dcdfd8; color: var(--trd-ink); text-decoration: none; font-size: 14px; }
.trd-gig:hover .trd-gig__city { text-decoration: underline; }
.trd-gig__date { color: #4a5055; }
.trd-gig__city { font-weight: 500; }
.trd-gig__venue { color: var(--trd-slate); display: flex; flex-direction: column; gap: 2px; }
.trd-gig__bill, .trd-recent__bill { font-size: 12px; color: #6b7277; line-height: 1.4; }
.trd-gig__tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.trd-gig.is-cancelled .trd-gig__city, .trd-gig.is-cancelled .trd-gig__venue { text-decoration: line-through; color: #8a9094; }

/* Submission form */
.trd-submit { margin-top: 4px; }
.trd-submit summary { list-style: none; display: inline-flex; }
.trd-submit summary::-webkit-details-marker { display: none; }
.trd-submit[open] summary { margin-bottom: 16px; }
.trd-submit__form { display: flex; flex-direction: column; gap: 12px; max-width: 720px; padding: 18px; background: #ebece7; }
.trd-submit__form p { margin: 0; }
.trd-submit__form label { display: block; font-size: 13px; color: var(--trd-slate); margin-bottom: 4px; }
.trd-submit__form textarea, .trd-submit__form input, .trd-submit__form select { width: 100%; min-height: var(--trd-tap); padding: 10px 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-submit__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trd-submit__send { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trd-submit__hp { position: absolute !important; left: -9999px; }
.trd-submit__ok { padding: 16px; background: var(--trd-teal-wash); color: var(--trd-ink); max-width: 720px; }
.trd-submit__err { color: var(--trd-red); font-size: 14px; }

/* Show page */
.trd-show { gap: 56px; }
.trd-show__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--trd-rule); }
.trd-show__facts { display: flex; flex-direction: column; gap: 12px; }
.trd-show__where { font: 700 32px/1.15 var(--trd-font-head); letter-spacing: -.02em; color: var(--trd-ink); }
.trd-show__bill { font-size: 16px; color: #4a5055; }
.trd-show__date { font-size: 16px; font-weight: 500; color: var(--trd-ink); }
.trd-show__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--trd-slate); align-items: center; }
.trd-show__meta a { color: var(--trd-ink); }
.trd-show__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.trd-show__actions .trd-share { margin: 0; }
.trd-btn--big { font-size: 15px; font-weight: 600; padding: 15px 22px; }

.trd-show__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.trd-show__setlist .trd-section-head { margin-bottom: 0; }
.trd-show__hint { margin: 10px 0 0; font-size: 13px; }
.trd-setlist { list-style: none; margin: 0; padding: 0; }
.trd-setlist li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #dcdfd8; font-size: 16px; }
.trd-setlist a { color: var(--trd-ink); text-decoration: underline; text-decoration-color: #8f958f; text-underline-offset: 5px; }
.trd-setlist__no { font-size: 13px; color: #6b7277; }
.trd-show__credit { margin: 10px 0 0; font-size: 13px; }
.trd-setlist__note { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b7277; }
.trd-show__empty { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; align-items: flex-start; }
.trd-show__empty p { font-size: 16px; color: #4a5055; line-height: 1.6; margin: 0; }
.trd-show__poster { display: flex; flex-direction: column; gap: 14px; }
.trd-show__poster img { width: 100%; height: auto; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.trd-show__noposter { aspect-ratio: 3 / 4; border: 1px dashed var(--trd-tag-border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; font-size: 14px; color: var(--trd-slate); text-align: center; }
.trd-show__noposter a { font-size: 13px; }

.trd-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
.trd-photos__item { display: block; overflow: hidden; background: var(--trd-mist); }
.trd-photos__item.is-big { grid-row: span 2; }
.trd-photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.trd-photos__item:hover img { transform: scale(1.03); }

.trd-pressrow { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--trd-rule); font-size: 15px; }
.trd-pressrow blockquote { flex-basis: 100%; margin: 0 0 4px; font: 400 18px/1.45 var(--trd-font-head); }
.trd-pressrow a { font-size: 13px; }

@media (max-width: 1100px) {
	.trd-upshow { grid-template-columns: 90px minmax(0, 1fr) 200px; }
	.trd-upshow__venue { grid-column: 2; grid-row: 2; margin-top: -14px; }
	.trd-gig { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); }
	.trd-gig__tags { grid-column: 2 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
	.trd-shows, .trd-show { gap: 48px; }
	.trd-upshow { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; }
	.trd-upshow__day { font-size: 30px; }
	.trd-upshow__venue { grid-column: 2; grid-row: auto; margin: 0; }
	.trd-upshow__tickets { grid-column: 1 / -1; justify-content: flex-start; }
	.trd-recent { grid-template-columns: minmax(0, 1fr); }
	.trd-numbers__totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trd-numbers__cols { grid-template-columns: minmax(0, 1fr); }
	.trd-peryear__labels span:nth-child(even) { visibility: hidden; }
	.trd-gig { grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; }
	.trd-gig__venue, .trd-gig__tags { grid-column: 2; }
	.trd-submit__row { grid-template-columns: minmax(0, 1fr); }
	.trd-show__head { grid-template-columns: minmax(0, 1fr); }
	.trd-show__actions { justify-content: flex-start; }
	.trd-show__where { font-size: 24px; }
	.trd-show__grid { grid-template-columns: minmax(0, 1fr); }
	.trd-show__poster { max-width: 280px; }
	.trd-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
}

/* Recent shows: the show's poster or photo behind the card, darkened, white text (owner, 2026-12-03) */
.trd-recent__card { position: relative; overflow: hidden; }
.trd-recent__card > * { position: relative; z-index: 2; }
.trd-recent__card.has-pic { background: #1c2129; color: #fff; }
.trd-recent__card.has-pic:hover { background: #1c2129; }
.trd-recent__card > img.trd-recent__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: 0; transition: opacity .2s; }
.trd-recent__card.has-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,30,.35), rgba(20,24,30,.75)); z-index: 1; }
.trd-recent__card.has-pic:hover > img.trd-recent__bg { opacity: .5; }
.trd-recent__card.has-pic .trd-muted, .trd-recent__card.has-pic .trd-recent__bill, .trd-recent__card.has-pic .trd-date { color: rgba(255,255,255,.85); }
.trd-recent__card.has-pic .trd-tag { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }

/* Recent photos and live pictures */
.trd-livepics__wrap { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.trd-livepics__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trd-livepics__track::-webkit-scrollbar { display: none; }
.trd-livepics__item { flex: 0 0 calc((100% - 32px) / 3); margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.trd-livepics__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.trd-livepics__item figcaption { font-size: 13px; line-height: 1.4; }
.trd-livepics__item figcaption a { color: var(--trd-ink); }
.trd-livepics__nav { width: 40px; height: 40px; border: 1px solid var(--trd-tag-border); background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--trd-ink); }
.trd-livepics__nav:hover { border-color: var(--trd-ink); }
@media (max-width: 1000px) { .trd-livepics__item { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .trd-livepics__wrap { grid-template-columns: minmax(0, 1fr); } .trd-livepics__nav { display: none; } .trd-livepics__item { flex-basis: 80%; } }
