
.ticket-history{--bg:#0c111c;--surface:#141c2b;--surface2:#1b2536;--line:#2b3546;--text:#edf1f7;--muted:#9ba9bc;--gold:#e4bc60;--green:#55c6a4;--shade:#101827;--shadow:0 16px 50px #0003}
:root:not([data-theme="dark"]) .ticket-history{--bg:#f5f6f9;--surface:#fff;--surface2:#f1f4f8;--line:#dce2eb;--text:#202b3b;--muted:#64748b;--gold:#9c6a12;--green:#168a70;--shade:#f7f9fc;--shadow:0 12px 35px #15233a12}
.ticket-history *{box-sizing:border-box}
.ticket-history{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 Montserrat,Arial,sans-serif;transition:.2s}
.ticket-history a{color:inherit;text-decoration:none}
.ticket-history button,.ticket-history input,.ticket-history select{font:inherit}
.ticket-history button{cursor:pointer}
.ticket-history .crumb{color:var(--muted);font-size:12px;margin-bottom:26px}
.ticket-history .crumb b{color:var(--text)}
.ticket-history .eyebrow{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.ticket-history .heading{display:flex;justify-content:space-between;gap:25px;align-items:end}
.ticket-history .heading h1{font-size:clamp(30px,4vw,47px);letter-spacing:-1.8px;line-height:1.14;margin:9px 0 15px}
.ticket-history .intro{color:var(--muted);max-width:720px;font-size:15px;margin:0}
.ticket-history .pill{white-space:nowrap;border:1px solid var(--line);border-radius:50px;padding:9px 14px;color:var(--muted);font-size:12px}
.ticket-history .pill strong{color:var(--text)}
.ticket-history .panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:25px;margin-top:18px;box-shadow:var(--shadow)}
.ticket-history .panelhead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.ticket-history .panel h2{font-size:19px;letter-spacing:-.4px;margin:0 0 4px}
.ticket-history .sub{font-size:12px;color:var(--muted)}
.ticket-history .tabs{display:flex;gap:5px;padding:4px;border-radius:9px;background:var(--surface2);border:1px solid var(--line)}
.ticket-history .tabs button{background:none;border:0;color:var(--muted);padding:7px 12px;font-size:12px;border-radius:6px}
.ticket-history .tabs button.selected{background:var(--gold);color:#161b26;font-weight:800}
:root:not([data-theme="dark"]) .ticket-history .tabs button.selected{background:#e4bc60}
.ticket-history .chartcontrols{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;flex-shrink:0;justify-content:flex-end}
.ticket-history .chartwrap{position:relative;margin-top:25px}
.ticket-history .chart{width:100%;height:auto;display:block;overflow:visible}
.ticket-history .tooltip{position:absolute;display:none;z-index:4;pointer-events:none;min-width:150px;background:var(--shade);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;padding:11px 14px;font-size:12px}
.ticket-history .tooltip b{display:block;font-size:21px;color:var(--text);margin:1px 0}
.ticket-history .tooltip small{color:var(--muted)}
.ticket-history .chartfoot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:12px}
.ticket-history .legend{display:flex;align-items:center;gap:8px}
.ticket-history .legend i{display:inline-block;width:18px;height:3px;background:var(--green);border-radius:3px}
.ticket-history .divider{border-top:1px solid var(--line);margin:23px 0}
.ticket-history .tabletools{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:22px 0 14px}
.ticket-history .search{font-size:13px;line-height:23.25px;width:194px;background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:9px;padding:10px 12px;min-width:190px;outline:none}
.ticket-history .search:focus{border-color:var(--gold)}
.ticket-history select{background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:9px;padding:10px 12px}
.ticket-history .toolsleft{display:flex;gap:9px;flex-wrap:wrap}
.ticket-history .tablebox{overflow:auto;border:1px solid var(--line);border-radius:10px}
.ticket-history table{width:100%;border-collapse:collapse;text-align:left}
.ticket-history th{background:var(--surface2);font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;padding:12px 16px}
.ticket-history td{padding:12px 16px;border-top:1px solid var(--line);font-size:13px}
.ticket-history td:nth-child(2){font-weight:800;font-variant-numeric:tabular-nums}
.ticket-history td:nth-child(3){color:var(--muted)}
.ticket-history .source{color:var(--gold);font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ticket-history .tag{display:inline-block;border:1px solid var(--line);border-radius:5px;padding:2px 7px;font-size:10px;color:var(--muted)}
.ticket-history .pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:12px;color:var(--muted)}
.ticket-history .pagination button{background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:7px;padding:6px 13px;margin-left:6px}
.ticket-history .pagination button:disabled{opacity:.35;cursor:default}
.ticket-history .explainer{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ticket-history .explainer p{font-size:13px;color:var(--muted)}
.ticket-history .formula{background:var(--surface2);border:1px solid var(--line);border-radius:9px;padding:18px;font-size:14px;font-weight:700;text-align:center}
.ticket-history .formula span{color:var(--gold)}
.ticket-history .link{color:var(--gold);font-size:13px;font-weight:650}
.ticket-history .note{font-size:11px;color:var(--muted)}
@media(max-width:760px){.ticket-history .heading{display:block}
.ticket-history .pill{display:inline-block;margin-top:18px}
.ticket-history .panel{padding:17px}
.ticket-history .panelhead{display:block}
.ticket-history .tabs{margin-top:0;width:max-content}
.ticket-history .tabs button{padding:7px 9px}
.ticket-history .explainer{grid-template-columns:1fr;gap:8px}
.ticket-history .chartwrap{margin:12px -8px 0}
.ticket-history .chart{min-height:250px}
.ticket-history .chartfoot{font-size:11px}
.ticket-history .heading h1{font-size:32px}
}


.ticket-prices-page{font-family:Montserrat,Arial,sans-serif}
.ticket-history .chartwrap{height:390px}
.ticket-history .chart{width:100%;height:100%}
.ticket-history .tooltip{max-width:calc(100% - 12px)}
.ticket-history .tooltip small{white-space:nowrap}
.ticket-history button:focus-visible,.ticket-history a:focus-visible,.ticket-history select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.ticket-history .tablebox{max-width:100%}
.ticket-history table{table-layout:fixed}
.ticket-history td{overflow-wrap:anywhere}
.ticket-history th:nth-child(1){width:13%}
.ticket-history th:nth-child(2){width:23%}
.ticket-history th:nth-child(3){width:22%}
.ticket-history .pagination{gap:10px;flex-wrap:wrap}
.ticket-history .pagination button{margin-left:0}
.ticket-history .pagination>div{display:flex;gap:6px}
.ticket-history input,.ticket-history td,.ticket-history canvas{font-variant-numeric:tabular-nums}
.ticket-history [hidden]{display:none!important}

@media(max-width:760px){.ticket-history .chartwrap{height:270px}
.ticket-history th,.ticket-history td{padding:9px 6px;font-size:11px}
.ticket-history .heading h1{letter-spacing:-1px}
.ticket-history .tabs button{padding:7px 8px;font-size:11px}
.ticket-history .search{min-width:0;width:100%}
.ticket-history .tabletools,.ticket-history .toolsleft{width:100%}
.ticket-history .formula{padding:14px;font-size:12px}
.ticket-history .tag{padding:2px 4px}
}


body.ticket-prices-page{background:#0c111c}
.ticket-prices-page .page{max-width:none;padding:0}
.ticket-prices-page .global-footer{margin-top:0}
.ticket-history{max-width:1130px;margin:auto;padding:33px 24px 90px;font-family:Montserrat,Arial,sans-serif}
.ticket-history button,.ticket-history input,.ticket-history select{font-family:inherit}
:root:not([data-theme="dark"]) body.ticket-prices-page{background:#f5f6f9}
@media(max-width:760px){.ticket-history{padding:24px 15px 55px}
}


.ticket-history h1,.ticket-history h2{color:var(--text)}

@media(max-width:760px){
.ticket-history th:nth-child(1){width:17%}
.ticket-history th:nth-child(2){width:24%}
.ticket-history th:nth-child(3){width:21%}
.ticket-history td:first-child{white-space:nowrap}
.ticket-history th{font-size:10px;letter-spacing:.5px}
}

/* Reserve both font weights' intrinsic widths without changing visible typography. */
.ticket-history .chartcontrols .tabs{flex-shrink:0;width:max-content;white-space:nowrap}
.ticket-history .chartcontrols button{display:inline-grid;flex-shrink:0;white-space:nowrap}
.ticket-history .chartcontrols button>span,
.ticket-history .chartcontrols button::before,
.ticket-history .chartcontrols button::after{grid-area:1 / 1}
.ticket-history .chartcontrols button::before,
.ticket-history .chartcontrols button::after{content:attr(data-label);visibility:hidden;pointer-events:none}
.ticket-history .chartcontrols button::before{font-weight:400}
.ticket-history .chartcontrols button::after{font-weight:800}

/* The chart card switches as one unit: no right-aligned stacked intermediate state. */
.ticket-history .ticket-chart-panel{container-name:ticket-chart;container-type:inline-size}
.ticket-history .ticket-chart-panel>.panelhead{display:flex}
@container ticket-chart (max-width:800px){
    .ticket-history .ticket-chart-panel>.panelhead{display:block}
    .ticket-history .ticket-chart-panel .chartcontrols{flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-top:13px;gap:8px}
}
