.live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;align-items:stretch}
a.live-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:22px;background:#fff;color:#222;text-decoration:none;box-shadow:0 4px 18px #0004;border:1px solid #ddd;border-radius:2px;transition:transform .22s ease,box-shadow .22s ease;overflow-wrap:anywhere}
a.live-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0006}a.live-card:focus-visible{outline:3px solid #aaa;outline-offset:4px}
.live-card-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:clamp(16px,2vw,23px);font-weight:900;line-height:1.3}.live-card-heading time{font-style:italic;text-transform:uppercase;white-space:nowrap}
.live-card h2{font-family:inherit;text-transform:none;background:#000;color:#fff;font-size:clamp(17px,2vw,24px);line-height:1.35;font-weight:900;margin:0;padding:12px 14px;letter-spacing:0;flex:1;display:flex;align-items:center;border:0}
.live-card-meta{font-size:14px;font-weight:700;line-height:1.5}.live-card-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:800}.live-card-bottom strong{color:#b91c1c}.live-card-bottom span{margin-left:auto;color:#333}
a.live-more,a.live-back{display:block;text-align:center;border:1px solid currentColor;padding:14px;margin:24px auto;text-decoration:none;max-width:420px;font-weight:700}.live-archive{margin:30px 0}.live-archive summary{cursor:pointer}.live-detail article img{display:block;max-width:100%;height:auto;max-height:850px;object-fit:contain;margin:0 auto 24px}
@media(max-width:700px){.live-grid{grid-template-columns:1fr;gap:16px}.live-card{padding:16px}.live-card-meta{font-size:13px}}
@media(prefers-reduced-motion:reduce){a.live-card{transition:none}a.live-card:hover{transform:none}}
/* TOP event flyer background: keep foreground fully opaque. */
a.live-card{position:relative;isolation:isolate;overflow:hidden}
a.live-card > img.live-card-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center top;opacity:.3;z-index:0;pointer-events:none;margin:0;border:0;border-radius:0;display:block}

a.live-card > .live-card-heading,a.live-card > h2,a.live-card > .live-card-meta,a.live-card > .live-card-bottom{position:relative;z-index:1}

a.live-card > span.live-card-bg{position:absolute;inset:0;display:block;background-size:cover;background-position:center top;background-repeat:no-repeat;opacity:.3;z-index:0;pointer-events:none}
.live-card-heading{position:relative;padding-top:30px}.live-card-heading .live-prefecture{position:absolute;right:0;top:0;background:#222;color:#fff;font-size:12px;line-height:1.4;padding:4px 9px;border-radius:3px}.live-card-heading:not(:has(.live-prefecture)){padding-top:0}

/* Compact live cards: preserve flyer positioning and all content. */
.live-grid{gap:18px;margin:18px 0}
a.live-card{padding:14px 16px;gap:7px}
.live-card-heading{gap:3px 10px;line-height:1.2;font-size:clamp(15px,1.8vw,21px);padding-top:0;padding-right:72px}
.live-card-heading .live-prefecture{padding:3px 7px;font-size:11px}
.live-card-heading:not(:has(.live-prefecture)){padding-right:0}
.live-card h2{font-size:clamp(16px,1.8vw,22px);line-height:1.22;padding:8px 10px;min-height:0}
.live-card-meta{font-size:13px;line-height:1.35}
.live-card-bottom{font-size:11px;line-height:1.25;gap:5px}
@media(max-width:700px){.live-grid{gap:12px}a.live-card{padding:12px;gap:6px}.live-card-meta{font-size:12px}.live-card-heading{padding-right:65px}}

/* Keep ticket metadata on one line; scale with card width. */
a.live-card{container-type:inline-size}
a.live-card > .live-card-meta{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:clamp(8px,2.35cqi,13px);line-height:1.35;letter-spacing:-.02em;overflow-x:auto;scrollbar-width:thin}

/* Fixed two-row heading, independent of venue length. */
a.live-card > .live-card-heading{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;align-content:start;row-gap:3px;padding-top:0}
.live-card-heading > time{grid-column:1;grid-row:1;display:block}
.live-card-heading > span:not(.live-prefecture){grid-column:1;grid-row:2;display:block;min-width:0;overflow-wrap:anywhere}
.live-card-heading > .live-prefecture{position:absolute;top:0;right:0}
a.live-card > h2{flex:0 0 auto;min-height:calc(2.44em + 16px);box-sizing:border-box}
a.live-card > .live-card-bottom{margin-top:auto}

/* Full LIVE listing only: TOP has a direct .live-more sibling. */
#LIVE:has(> .live-back) .live-grid{grid-template-columns:minmax(0,1fr);gap:12px}
@media(min-width:701px){
#LIVE:has(> .live-back) a.live-card{display:grid;grid-template-columns:minmax(190px,24%) minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:18px;row-gap:5px;padding:12px 16px;align-items:center}
#LIVE:has(> .live-back) a.live-card > .live-card-heading{grid-column:1;grid-row:1 / 4;align-self:stretch;align-content:center;border-right:1px solid #ddd;padding:0 12px 0 0;font-size:clamp(14px,1.6vw,19px)}
#LIVE:has(> .live-back) .live-card-heading > .live-prefecture{position:static;grid-column:1;grid-row:3;justify-self:start}
#LIVE:has(> .live-back) .live-card-heading > time{white-space:normal}
#LIVE:has(> .live-back) a.live-card > h2{grid-column:2;grid-row:1;min-height:0;padding:7px 10px;font-size:clamp(16px,1.7vw,22px)}
#LIVE:has(> .live-back) a.live-card > .live-card-meta{grid-column:2;grid-row:2;font-size:clamp(9px,1.5cqi,13px)}
#LIVE:has(> .live-back) a.live-card > .live-card-bottom{grid-column:2;grid-row:3;margin-top:0}
}

/* Full listing flyer, independent of TOP cards. */
.live-list-flyer{display:flex;align-items:center;justify-content:center;background:#f3f3f3;min-width:0;aspect-ratio:1;overflow:hidden;color:#777;font-size:11px}
a.live-card > .live-list-flyer img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;border:0}
@media(min-width:701px){
#LIVE:has(> .live-back) a.live-card{grid-template-columns:minmax(150px,20%) minmax(90px,130px) minmax(0,1fr)}
#LIVE:has(> .live-back) a.live-card > .live-list-flyer{grid-column:2;grid-row:1 / 4;align-self:center}
#LIVE:has(> .live-back) a.live-card > h2,#LIVE:has(> .live-back) a.live-card > .live-card-meta,#LIVE:has(> .live-back) a.live-card > .live-card-bottom{grid-column:3}
}
@media(max-width:700px){
#LIVE:has(> .live-back) a.live-card{display:grid;grid-template-columns:85px minmax(0,1fr);gap:7px 10px}
#LIVE:has(> .live-back) a.live-card > .live-card-heading{grid-column:1 / -1;grid-row:1}
#LIVE:has(> .live-back) a.live-card > .live-list-flyer{grid-column:1;grid-row:2 / 5;align-self:start}
#LIVE:has(> .live-back) a.live-card > h2{grid-column:2;grid-row:2;min-height:0}
#LIVE:has(> .live-back) a.live-card > .live-card-meta{grid-column:2;grid-row:3}
#LIVE:has(> .live-back) a.live-card > .live-card-bottom{grid-column:2;grid-row:4}
}

/* Ticket links are siblings of the detail link, never nested anchors. */
.live-list-entry{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #ddd;border-radius:2px;box-shadow:0 4px 18px #0004;overflow:hidden}
.live-list-entry > a.live-card{border:0;box-shadow:none;flex:1}
.live-list-entry > a.live-card:hover{transform:none;background:#f7f7f7;box-shadow:none}
.live-list-tickets{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;justify-content:flex-end}
.live-list-tickets a{display:inline-flex;align-items:center;justify-content:center;background:#222;color:#fff;border:1px solid #222;border-radius:4px;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none;line-height:1.3}
.live-list-tickets a:hover{color:#fff}
.live-list-tickets a:focus-visible{outline:2px solid #555;outline-offset:2px}
@media(max-width:700px){.live-list-tickets{padding:0 12px 12px;justify-content:flex-start}.live-list-tickets a{min-height:36px;box-sizing:border-box}}

/* Compact full LIVE listing only; TOP cards remain unchanged. */
#LIVE:has(> .live-back) .live-list-entry > a.live-card{padding:9px 14px;row-gap:4px}
#LIVE:has(> .live-back) .live-list-entry > a.live-card > h2{padding:5px 9px;line-height:1.18}
#LIVE:has(> .live-back) .live-list-entry .live-card-heading{row-gap:2px;line-height:1.16}
#LIVE:has(> .live-back) .live-list-entry .live-card-bottom{line-height:1.15}
#LIVE:has(> .live-back) .live-list-tickets{gap:6px;padding:0 14px 8px}
#LIVE:has(> .live-back) .live-list-tickets a{padding:5px 12px;line-height:1.25}
@media(min-width:701px){
#LIVE:has(> .live-back) .live-list-entry > a.live-card{grid-template-columns:minmax(150px,20%) minmax(85px,112px) minmax(0,1fr);column-gap:14px}
}
@media(max-width:700px){
#LIVE:has(> .live-back) .live-list-entry > a.live-card{padding:9px 10px;grid-template-columns:76px minmax(0,1fr);column-gap:8px}
#LIVE:has(> .live-back) .live-list-tickets{padding:0 10px 8px}
#LIVE:has(> .live-back) .live-list-tickets a{min-height:36px}
}

/* Upcoming LIVE month filter */
#LIVE .live-month-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
#LIVE .live-month-filter[hidden],#upcoming-live-grid > .live-list-entry[hidden]{display:none!important}
#LIVE .live-month-filter button{background:#111;color:#fff;border:1px solid #aaa;border-radius:4px;padding:8px 16px;font-size:14px;font-weight:700;cursor:pointer;min-height:40px}
#LIVE .live-month-filter button[aria-pressed="true"]{background:#fff;color:#111;border-color:#fff}
#LIVE .live-month-filter button:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* Monochrome sweep, full LIVE listing only. */
.live-list-entry .live-list-flyer{background:transparent;color:inherit}
.live-list-entry{background-color:#fff;background-image:linear-gradient(#111,#111);background-repeat:no-repeat;background-size:0% 100%;background-position:left center;color:#222;transition:background-size .35s ease,color .35s ease}
.live-list-entry > a.live-card,.live-list-entry > a.live-card:hover{background:transparent;color:inherit}
.live-list-entry .live-card-bottom span{color:inherit}
.live-list-entry h2,.live-list-entry .live-prefecture,.live-list-tickets a{background-color:#111;background-image:linear-gradient(#fff,#fff);background-repeat:no-repeat;background-size:0% 100%;background-position:left center;color:#fff;transition:background-size .35s ease,color .35s ease,border-color .35s ease}
.live-list-entry:focus-within{background-size:100% 100%;color:#fff}
.live-list-entry:focus-within h2,.live-list-entry:focus-within .live-prefecture,.live-list-entry:focus-within .live-list-tickets a{background-size:100% 100%;color:#111;border-color:#fff}
.live-list-entry:focus-within .live-card-bottom strong{color:#ff7777}
@media(hover:hover){
.live-list-entry:hover{background-size:100% 100%;color:#fff}
.live-list-entry:hover h2,.live-list-entry:hover .live-prefecture,.live-list-entry:hover .live-list-tickets a{background-size:100% 100%;color:#111;border-color:#fff}
.live-list-entry:hover .live-card-bottom strong{color:#ff7777}
.live-list-entry .live-list-tickets a:hover{background-color:#111;background-size:0% 100%;color:#fff;border-color:#fff}
}
.live-list-entry .live-list-tickets a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.live-list-entry,.live-list-entry h2,.live-list-entry .live-prefecture,.live-list-tickets a{transition:none}}
