:root { --link: #000; }
#disco h2 { font-size: 1.9rem; font-weight: 400; letter-spacing: -.02em; margin: 6px 0 20px; }
#disco h3.cat { font-size: .95rem; font-weight: 500; color: #777; margin: 26px 0 12px; }
#disco h3.cat:first-of-type { margin-top: 0; }
#disco section + section { margin-top: 44px; }
.loading { color: #888; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 24px; }
@media (max-width: 1350px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }

.item { display: block; align-self: start; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }
.item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.item span { display: block; margin-top: 8px; font-size: .95rem; font-weight: 500; line-height: 1.2; }
.item span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.item:hover span, .item.open span { text-decoration-thickness: 2px; }
.item.open img { outline: 3px solid #000; outline-offset: -3px; }

.detail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; padding: 6px 0 22px; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } }
.detail .cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.detail iframe { display: block; width: 100%; height: 42px; border: 1px solid #ddd; border-top: 0; box-sizing: border-box; }
.detail h3 { font-size: 2.1rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
.detail .by { color: #777; font-size: .85rem; margin: -4px 0 10px; }
.detail ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.detail li { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; font-size: 1.02rem; }
.detail li .n { width: 1.6em; text-align: right; flex: none; }
.detail li .d { color: #444; margin-right: 4px; }
.detail a, .detail .linkish { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.detail a:hover { text-decoration-thickness: 2px; }
.meta-line { margin: 14px 0 0; font-weight: 500; }
.about { margin: 12px 0 0; font-size: .9rem; line-height: 1.45; white-space: pre-line; color: #333; }
.about.credits { color: #777; }
.listen { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #e5e5e5; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }
.listen b { font-weight: 500; color: #777; }

.legacy { margin-top: 44px; border-top: 1px solid #e5e5e5; padding-top: 18px; }
.legacy-toggle { background: none; border: 0; padding: 0; font: inherit; font-size: 1.9rem; letter-spacing: -.02em; color: #777; cursor: pointer; }
.legacy-toggle:hover { color: #000; }
.legacy-body { margin-top: 22px; }
.legacy-body[hidden] { display: none; }
.listen + .listen { margin-top: 6px; padding-top: 0; border-top: 0; }

.subnav { margin: -10px 0 18px; font-size: 1.1rem; letter-spacing: -.01em; }
.subnav a { color: #000; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.subnav a:hover { text-decoration-thickness: 2px; }
