/* MaidenFans Live Archive — catalogue-specific components. */

.live-kicker {
    margin: 0 0 .35rem;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.live-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 5vw, 3.5rem);
    border: 1px solid var(--border-light);
    border-radius: calc(var(--radius) * 2);
    background:
        radial-gradient(circle at 90% 10%, rgba(232,169,16,.14), transparent 32%),
        linear-gradient(145deg, rgba(14,24,44,.97), rgba(5,10,20,.94));
    box-shadow: 0 22px 50px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04);
}
.live-hero::after {
    content: 'LIVE';
    position: absolute;
    right: -.05em;
    bottom: -.32em;
    color: rgba(140,189,224,.035);
    font: 900 clamp(7rem, 24vw, 15rem)/1 var(--font-body);
    letter-spacing: -.08em;
    pointer-events: none;
}
.live-hero h1 {
    position: relative;
    margin: 0;
    max-width: 760px;
    color: var(--accent-bright);
    font-size: clamp(2.2rem, 7vw, 4.6rem);
    font-style: italic;
    letter-spacing: -.035em;
    text-shadow: 0 0 28px var(--accent-glow);
    z-index: 1;
}
.live-hero__lead {
    position: relative;
    max-width: 720px;
    margin: 1rem 0 1.4rem;
    color: var(--text);
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    z-index: 1;
}
.live-search {
    position: relative;
    display: flex;
    max-width: 680px;
    padding: 5px;
    border: 1px solid var(--border-light);
    border-radius: 9px;
    background: rgba(5,10,20,.88);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 1;
}
.live-search input,
.live-filter input,
.live-filter select {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    outline: none;
    background: var(--bg-inset);
    color: var(--text);
    font: inherit;
}
.live-search input {
    padding: .8rem .9rem;
    border: 0;
    background: transparent;
}
.live-search input:focus,
.live-filter input:focus,
.live-filter select:focus { box-shadow: 0 0 0 2px var(--accent-dim); }
.live-search button,
.live-filter button {
    border: 1px solid #c98e08;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--gold-hover), var(--gold));
    color: #171007;
    cursor: pointer;
    font: 800 .82rem/1 var(--font-body);
    letter-spacing: .02em;
}
.live-search button { padding: .8rem 1.15rem; white-space: nowrap; }
.live-search button:hover,
.live-filter button:hover { filter: brightness(1.08); }
.live-disclaimer {
    position: relative;
    margin: .8rem 0 0;
    color: var(--text-muted);
    font-size: .76rem;
    z-index: 1;
}

.live-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 1.25rem 0 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
}
.live-stats > * {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: linear-gradient(180deg, var(--bg-panel-alt), var(--bg-panel));
    color: var(--text);
    text-shadow: none;
}
.live-stats strong { color: var(--accent-bright); font: 700 1.65rem/1 var(--font-heading); }
.live-stats span span,
.live-stats a span { margin-top: .35rem; color: var(--text-secondary); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }

.live-section { margin: 2.2rem 0; }
.live-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--border);
}
.live-section__header h2 { margin: 0; color: var(--accent-bright); font-size: 1.45rem; }
.live-section__header > a { flex-shrink: 0; font-size: .82rem; }

.live-card-grid,
.live-tour-grid,
.live-recording-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.live-show-card,
.live-recording-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--bg-panel-alt), var(--bg-panel));
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.live-show-card:hover { border-color: var(--accent-dim); transform: translateY(-1px); }
.live-show-card__date { margin: 0; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.live-show-card h3 { margin: .35rem 0; }
.live-show-card p { margin: .25rem 0; color: var(--text-secondary); }
.live-show-card__meta { font-size: .75rem; }

.live-tour-card {
    display: flex;
    flex-direction: column;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-dim);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text);
    text-shadow: none;
}
.live-tour-card:hover { border-left-color: var(--gold); background: var(--bg-hover); }
.live-tour-card span { margin-top: .2rem; color: var(--text-secondary); font-size: .75rem; }

.live-year-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.live-year-grid a {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    padding: .45rem .6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text-secondary);
    text-shadow: none;
}
.live-year-grid a:hover { border-color: var(--gold); color: var(--gold); }
.live-year-grid span { color: var(--text-muted); font-size: .7rem; }

.live-origin-note,
.live-callout {
    display: grid;
    gap: .6rem 1.2rem;
    margin: 2.4rem 0 0;
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(74,143,190,.12), rgba(232,169,16,.06));
}
.live-origin-note h2 { margin: 0; }
.live-origin-note p { margin: 0; }

.live-page-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.live-page-header h1 { margin: 0; color: var(--accent-bright); font-size: clamp(1.8rem, 5vw, 2.8rem); font-style: italic; }
.live-page-header p:last-child { margin: .5rem 0 0; color: var(--text-secondary); }

.live-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(10,18,32,.88);
}
.live-filter label { color: var(--text-secondary); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.live-filter input,
.live-filter select { display: block; margin-top: .25rem; padding: .7rem; text-transform: none; }
.live-filter button { min-height: 42px; padding: .75rem 1rem; align-self: end; }
.live-filter__clear { align-self: center; text-align: center; font-size: .8rem; }

.live-list {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
}
.live-list-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border-bottom: 1px solid var(--border);
}
.live-list-item:last-child { border-bottom: 0; }
.live-list-item:hover { background: var(--bg-hover); }
.live-list-item time { display: flex; flex-direction: column; text-align: center; }
.live-list-item time strong { color: var(--accent); font-size: .72rem; }
.live-list-item time span { color: var(--gold); font-size: .78rem; font-weight: 800; }
.live-list-item h2 { margin: 0 0 .15rem; font-size: 1rem; }
.live-list-item p { margin: 0; color: var(--text-secondary); font-size: .78rem; }
.live-list-item__meta { display: none; gap: .35rem; justify-content: end; }
.live-list-item__meta span { padding: .2rem .4rem; border-radius: 999px; background: var(--bg-inset); }
.live-status {
    display: inline-block;
    padding: .15rem .35rem;
    border: 1px solid rgba(231,76,60,.5);
    border-radius: 999px;
    color: #ff8c80;
    font: 700 .6rem/1 var(--font-body);
    text-transform: uppercase;
    vertical-align: middle;
}
.live-empty { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); text-align: center; }
.live-pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 1.25rem 0; font-size: .82rem; }
.live-pagination span { color: var(--text-secondary); }

.live-record__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(130deg, var(--bg-panel-alt), var(--bg-panel));
}
.live-record__header h1 { margin: 0; color: var(--accent-bright); font-size: clamp(1.65rem, 5vw, 2.6rem); }
.live-record__location { margin: .4rem 0 0; color: var(--text-secondary); }
.live-record__header time {
    display: flex;
    flex: 0 0 74px;
    flex-direction: column;
    padding: .65rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-inset);
    text-align: center;
}
.live-record__header time strong { color: var(--gold); font: 700 2rem/1 var(--font-heading); }
.live-record__header time span { margin-top: .25rem; color: var(--text-secondary); font-size: .68rem; font-weight: 800; text-transform: uppercase; }

.live-facts { display: grid; grid-template-columns: 1fr; margin: 0 0 1.5rem; border: 1px solid var(--border); border-top: 0; background: var(--bg-panel); }
.live-facts div { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.live-facts div:last-child { border-bottom: 0; }
.live-facts dt { color: var(--text-muted); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.live-facts dd { margin: .2rem 0 0; color: var(--text); }
.live-warning { padding: .8rem 1rem; border: 1px solid rgba(231,76,60,.4); border-radius: var(--radius); background: rgba(231,76,60,.08); }

.live-wikitext {
    overflow-wrap: anywhere;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7,12,24,.78);
}
.live-wikitext h2 { margin-top: 1.8rem; padding-bottom: .35rem; border-bottom: 1px solid var(--border); }
.live-wikitext h2:first-child { margin-top: 0; }
.live-wikitext h3 { color: var(--accent-bright); }
.live-wikitext li + li { margin-top: .15rem; }
.live-wikitext::after { content: ''; display: table; clear: both; }
.live-figure { max-width: min(100%, 520px); margin: 1rem auto; padding: .5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); text-align: center; }
.live-figure img { display: block; max-height: 560px; margin: auto; object-fit: contain; }
.live-figure figcaption { padding: .5rem .25rem 0; color: var(--text-secondary); font-size: .75rem; }
.live-audio-note { display: inline-block; padding: .2rem .45rem; border: 1px solid var(--border-light); border-radius: 999px; color: var(--text-muted); font-size: .68rem; }

.live-recording-card h3 { margin: 0 0 .6rem; color: var(--accent-bright); }
.live-recording-card p { margin: .35rem 0; }
.live-rating { display: flex; justify-content: space-between; align-items: center; padding: .45rem .6rem; border-radius: var(--radius); background: var(--bg-inset); }
.live-rating span { color: var(--text-secondary); font-size: .7rem; text-transform: uppercase; }
.live-rating strong { color: var(--gold); }
.live-media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.live-media-grid figure { margin: 0; padding: .4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); }
.live-media-grid img { display: block; width: 100%; height: 150px; object-fit: contain; background: var(--bg-inset); }
.live-media-grid figcaption { padding: .4rem .2rem 0; color: var(--text-secondary); font-size: .65rem; text-align: center; text-transform: uppercase; }
.live-provenance { margin-top: 2rem; padding: 1rem; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: .78rem; }
.live-provenance p { margin: .4rem 0 0; }

.live-tour-index { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.live-tour-index a { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: .15rem .8rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); color: var(--text); text-shadow: none; }
.live-tour-index a:hover { border-color: var(--gold); background: var(--bg-hover); }
.live-tour-index span { grid-row: span 2; align-self: center; color: var(--gold); font-size: .75rem; font-weight: 800; }
.live-tour-index small { color: var(--text-secondary); }
.live-original-page { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); }
.live-original-page summary { padding: .85rem 1rem; color: var(--accent); cursor: pointer; font-weight: 700; }
.live-original-page .live-wikitext { border: 0; border-top: 1px solid var(--border); }
.live-about { max-width: 780px; }
.live-about > p { font-size: 1rem; }

@media (min-width: 640px) {
    .live-stats { grid-template-columns: repeat(4, 1fr); }
    .live-card-grid { grid-template-columns: repeat(2, 1fr); }
    .live-tour-grid { grid-template-columns: repeat(2, 1fr); }
    .live-recording-grid { grid-template-columns: repeat(2, 1fr); }
    .live-filter { grid-template-columns: minmax(180px, 1.4fr) minmax(100px, .55fr) minmax(180px, 1fr) auto auto; align-items: end; }
    .live-list-item { grid-template-columns: 66px minmax(0,1fr) auto; padding: .9rem 1rem; }
    .live-list-item__meta { display: flex; }
    .live-facts { grid-template-columns: repeat(2, 1fr); }
    .live-facts div { border-right: 1px solid var(--border); }
    .live-facts div:nth-child(even) { border-right: 0; }
    .live-facts div:nth-last-child(-n+2) { border-bottom: 0; }
    .live-media-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
    .live-card-grid { grid-template-columns: repeat(3, 1fr); }
    .live-tour-grid { grid-template-columns: repeat(3, 1fr); }
    .live-facts { grid-template-columns: repeat(4, 1fr); }
    .live-facts div { border-bottom: 0; }
    .live-facts div:nth-child(even) { border-right: 1px solid var(--border); }
    .live-facts div:last-child { border-right: 0; }
    .live-media-grid { grid-template-columns: repeat(4, 1fr); }
    .live-origin-note { grid-template-columns: minmax(160px,.5fr) 1fr auto; align-items: center; }
}
