/* UCC website tickets (picker, cart, checkout, confirmation). Scoped under .trx.
   Dated filename: the CDN caches by path, so a change means a new filename. */
.trx {
    --trx-primary: #c8161d; --trx-primary-dk: #15191e; --trx-ink: #15191e; --trx-mute: #5b6470;
    --trx-line: #e3e6ea; --trx-bg: #f5f6f8; --trx-good: #1d7a3e; --trx-warn: #9a6200; --trx-bad: #b3261e;
    background: var(--trx-bg); color: var(--trx-ink);
    font-family: 'Titillium Web', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
.trx p, .trx h2, .trx h3, .trx legend { color: var(--trx-ink); }
.trx a { color: var(--trx-ink); text-decoration-color: var(--trx-primary); text-decoration: underline; text-underline-offset: 2px; }
.trx a:hover { color: var(--trx-primary); }
.trx-section { padding: 40px 0 72px; }
.trx-h2 { font-family: 'Saira Condensed', oswald, sans-serif; font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; }
.trx-h3 { font-family: 'Saira Condensed', oswald, sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 8px; padding: 0; }
.trx-small { font-size: 14px; color: var(--trx-mute) !important; margin: 8px 0; }
.trx-center { text-align: center; }
.trx-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.trx-panel { background: #fff; border: 1px solid var(--trx-line); border-radius: 10px; padding: 24px; }
.trx-panel + .trx-panel { margin-top: 16px; }
.trx-panel--center { max-width: 620px; margin: 0 auto; text-align: center; }
.trx-panel--center .trx-btn { margin: 6px 4px 0; }

/* Alerts */
.trx-alert { border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; border: 1px solid; background: #fff; }
.trx-section .trx-alert { margin-top: 0; }
main.trx > .container:first-child .trx-alert { margin-top: 28px; margin-bottom: 0; }
.trx-alert--good { border-color: #b7dfc4; background: #eef8f1; color: var(--trx-good); }
.trx-alert--warn { border-color: #f0d49b; background: #fff8e8; color: #6b4500; }
.trx-alert--bad  { border-color: #f1bcb8; background: #fdf0ef; color: var(--trx-bad); }
.trx-alert--info { border-color: #d5d8dc; background: #f4f5f6; color: var(--trx-ink); }
.trx-alert a { color: inherit; font-weight: 600; }

/* Buttons and inputs */
.trx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--trx-primary); color: #fff !important;
    border: 2px solid var(--trx-primary); border-radius: 6px; padding: 12px 22px; font-family: 'Saira Condensed', oswald, sans-serif; font-weight: 700;
    font-size: 18px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none !important; cursor: pointer; transition: background .15s; }
.trx-btn:hover { background: var(--trx-primary-dk); border-color: var(--trx-primary-dk); color: #fff; }
.trx-btn:disabled { background: #9aa6b2; border-color: #9aa6b2; cursor: not-allowed; }
.trx-btn--ghost { background: #fff; color: var(--trx-ink) !important; border-color: var(--trx-ink); }
.trx-btn--ghost:hover { background: var(--trx-ink); color: #fff !important; border-color: var(--trx-ink); }
.trx-btn--block { width: 100%; margin-top: 16px; }
.trx-btn--pay { font-size: 22px; padding: 14px; }
.trx-link { background: none; border: 0; padding: 0; color: var(--trx-ink); text-decoration-color: var(--trx-primary); text-decoration: underline; cursor: pointer; font: inherit; }
.trx-link--muted { color: var(--trx-mute); }
.trx-inline { display: inline; }
.trx-label { display: block; font-weight: 600; margin: 0 0 4px; font-size: 15px; }
.trx-label small { font-weight: 400; color: var(--trx-mute); }
.trx-req { color: var(--trx-bad); }
.trx-input, .trx-select { width: 100%; border: 1px solid #c5cbd3 !important; border-radius: 6px; padding: 10px 12px; font: inherit; background: #fff; color: var(--trx-ink); }
.trx-input:focus, .trx-select:focus { outline: 3px solid rgba(21, 25, 30, .18); border-color: var(--trx-ink) !important; }
.trx-select { width: auto; padding: 6px 8px; }
.trx-field { margin: 0 0 16px; }
.trx-field--bad .trx-input { border-color: var(--trx-bad) !important; }
.trx-err { color: var(--trx-bad); font-size: 14px; min-height: 0; }
.trx-err:empty { display: none; }
.trx-help { display: block; color: var(--trx-mute); font-size: 13px; margin-top: 4px; }
.trx-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.trx-check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.trx-radios { border: 0; padding: 0; margin: 0; }
.trx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.trx-suggest { font-size: 14px; margin-top: 6px; color: var(--trx-warn); }

/* Tags */
.trx-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: #eceff2; color: #3b434d; }
.trx-tag--info { background: #eceff2; color: var(--trx-ink); }
.trx-tag--warn { background: #fff1d6; color: #7a4d00; }
.trx-tag--bad  { background: #fbe3e1; color: var(--trx-bad); }
.trx-tag--good { background: #e2f3e7; color: var(--trx-good); }

/* Picker */
.trx-picker { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.trx-picker__summary { position: sticky; top: 100px; }
.trx-cat { margin-bottom: 32px; }
.trx-cat__name { font-family: 'Saira Condensed', oswald, sans-serif; font-weight: 800; font-size: 30px; text-transform: uppercase; margin: 0 0 12px;
    padding-bottom: 6px; border-bottom: 3px solid var(--trx-primary); }
.trx-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 16px; align-items: center; background: #fff;
    border: 1px solid var(--trx-line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
.trx-ticket--off { background: #fafbfc; }
.trx-ticket--off .trx-ticket__price strong { color: var(--trx-mute); }
.trx-ticket__name { font-family: 'Saira', sans-serif; font-weight: 700; font-size: 19px; margin: 0; }
.trx-ticket__note { margin: 4px 0 0; color: var(--trx-mute) !important; font-size: 15px; }
.trx-ticket__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; }
.trx-ticket__ends { font-size: 13px; color: var(--trx-mute); }
.trx-ticket__more { margin-top: 8px; font-size: 15px; }
.trx-ticket__more summary { color: var(--trx-ink); cursor: pointer; font-weight: 600; }
.trx-ticket__more p { margin: 6px 0; color: #3b434d; }
.trx-ticket__price { text-align: right; }
.trx-ticket__price strong { display: block; font-family: 'Saira Condensed', sans-serif; font-size: 26px; font-weight: 700; line-height: 1; }
.trx-ticket__price small { color: var(--trx-mute); font-size: 12px; }
.trx-ticket__buy { justify-self: end; }
.trx-ticket__buy .trx-btn { padding: 8px 12px; font-size: 15px; }
.trx-qty { display: inline-flex; align-items: center; border: 1px solid #c5cbd3; border-radius: 8px; overflow: hidden; }
.trx-qty__btn { width: 40px; height: 42px; font-size: 22px; color: var(--trx-ink); background: #f2f3f5; cursor: pointer; }
.trx-qty__btn:hover { background: var(--trx-ink); color: #fff; }
.trx-qty__val { width: 46px; height: 42px; text-align: center; font-weight: 700; font-size: 18px; border: 0 !important; -moz-appearance: textfield; }
.trx-qty__val::-webkit-inner-spin-button, .trx-qty__val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.trx-sum-count { font-size: 20px; font-weight: 700; margin: 0; }

/* Cart / checkout layout */
.trx-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.trx-sticky { position: sticky; top: 100px; }
.trx-hold { display: flex; justify-content: space-between; align-items: center; background: #f4f5f6; border-radius: 8px; padding: 10px 14px; margin-bottom: 20px; color: var(--trx-ink); }
.trx-hold__clock { font-family: 'Saira Condensed', sans-serif; font-size: 24px; font-variant-numeric: tabular-nums; }
.trx-hold--low { background: #fff1d6; color: #7a4d00; }
.trx-lines { width: 100%; border-collapse: collapse; }
.trx-lines th { font-size: 13px; text-transform: uppercase; color: var(--trx-mute); font-weight: 600; border-bottom: 1px solid var(--trx-line); padding: 6px 8px; text-align: left; }
.trx-lines th.trx-num { text-align: right; }
.trx-lines td { padding: 12px 8px; border-bottom: 1px solid var(--trx-line); vertical-align: middle; }
.trx-cart__actions { display: flex; justify-content: space-between; margin-top: 16px; }
.trx-totals { margin: 0 0 8px; }
.trx-totals > div { display: flex; justify-content: space-between; padding: 6px 0; font-variant-numeric: tabular-nums; }
.trx-totals dt { font-weight: 400; } .trx-totals dd { margin: 0; }
.trx-totals--good { color: var(--trx-good); }
.trx-totals__total { border-top: 2px solid var(--trx-ink); margin-top: 6px; padding-top: 10px !important; font-size: 20px; font-weight: 700; }
.trx-totals__total dt { font-weight: 700; }
.trx-code { margin-top: 12px; }
.trx-code__row { display: flex; gap: 8px; }
.trx-code__row .trx-btn { padding: 8px 14px; font-size: 16px; }
.trx-mini { margin: 0 0 12px !important; padding: 0 0 8px !important; border-bottom: 1px solid var(--trx-line); }
.trx-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.trx-mini li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.trx-sendto { background: #f5f6f8; border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; font-size: 15px; word-break: break-word; }
.trx-attendee { border: 1px solid var(--trx-line); border-radius: 8px; padding: 14px 16px 2px; margin: 0 0 16px; }
.trx-attendee legend { float: none; width: auto; padding: 0 6px; margin: 0; font-size: 17px; }
.trx-cardbox { min-height: 90px; }
.trx-mockcard { border: 2px dashed #c5cbd3; border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--trx-mute); }
.trx-mockcard .trx-input { margin-top: 8px; font-family: ui-monospace, monospace; }
.cf-turnstile { margin-top: 8px; }

/* Checking overlay */
.trx-overlay { position: fixed; inset: 0; background: rgba(21, 25, 30, .6); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.trx-overlay[hidden] { display: none; }
.trx-spinner { width: 44px; height: 44px; border: 4px solid #e6e8eb; border-top-color: var(--trx-primary); border-radius: 50%; margin: 0 auto 14px; animation: trx-spin 1s linear infinite; }
@keyframes trx-spin { to { transform: rotate(360deg); } }

/* Confirmation */
.trx-sent { font-size: 17px; margin: 0 0 16px; padding: 12px 14px; background: #eef8f1; border-radius: 8px; color: var(--trx-good); word-break: break-word; }
.trx-fix { border: 1px solid var(--trx-line); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.trx-fix[hidden] { display: none; }
.trx-tix { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.trx-tix__card { display: flex; gap: 14px; align-items: center; border: 1px solid var(--trx-line); border-radius: 10px; padding: 12px; background: #fff; }
.trx-tix__card img { width: 120px; height: 120px; flex: none; image-rendering: pixelated; }
.trx-tix__card strong { display: block; line-height: 1.25; }
.trx-tix__code { display: inline-block; margin: 6px 0 2px; font-size: 16px; letter-spacing: .08em; color: var(--trx-ink); background: #f2f4f6; padding: 2px 8px; border-radius: 4px; }
.trx-tix__card small { display: block; margin: 2px 0 !important; }
.trx-kv { margin: 12px 0; font-size: 15px; }
.trx-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.trx-kv dt { color: var(--trx-mute); font-weight: 400; } .trx-kv dd { margin: 0; text-align: right; word-break: break-word; }

@media (max-width: 991px) {
    .trx-picker, .trx-cart { grid-template-columns: 1fr; }
    .trx-picker__summary, .trx-sticky { position: static; }
}
@media (max-width: 575px) {
    .trx-section { padding: 24px 0 48px; }
    .trx-panel { padding: 18px; }
    .trx-ticket { grid-template-columns: 1fr auto; padding: 14px; }
    .trx-ticket__buy { grid-column: 1 / -1; justify-self: stretch; display: flex; justify-content: flex-end; }
    .trx-grid2 { grid-template-columns: 1fr; }
    .trx-lines th:nth-child(2), .trx-lines td:nth-child(2) { display: none; }
}
.trx-spinner[hidden], .trx-suggest[hidden] { display: none; }
.trx-suggest .trx-link { margin-right: 14px; }
.trx-leave { margin-top: 18px; text-align: left; }
.trx-leave summary { cursor: pointer; text-align: center; }
.trx-leave form { margin-top: 10px; }

/* ===================================================================== 2026-11-28 refresh ==
   UCC look: condensed uppercase headings, angular accents, squarer corners. Theme tokens below are the
   only colours the refresh adds, so another event could swap them. Money is never shown here unless
   the API returned it. */
.trx {
    --trx-brand: var(--trx-primary); --trx-accent: #e41b23; --trx-asphalt: #15191e; --trx-graphite: #232a32;
    --trx-radius: 4px; --trx-head: 'Saira Condensed', oswald, sans-serif;
}
.trx-panel, .trx-ticket, .trx-alert, .trx-tix__card, .trx-attendee, .trx-fix, .trx-sendto, .trx-hold { border-radius: var(--trx-radius); }
.trx-btn { border-radius: var(--trx-radius); }

/* Progress steps */
.trx-steps { display: flex; gap: 6px; list-style: none; margin: 28px 0 0; padding: 0; counter-reset: none; }
.trx-steps__item { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 18px; background: #fff;
    border: 1px solid var(--trx-line); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
    font-family: var(--trx-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--trx-mute); font-size: 16px; }
.trx-steps__item:first-child { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); padding-left: 14px; }
.trx-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none;
    background: #eceff2; color: var(--trx-mute); font-size: 14px; transform: skewX(-12deg); }
.trx-steps__item--done { color: var(--trx-ink); }
.trx-steps__item--done .trx-steps__n { background: var(--trx-ink); color: #fff; }
.trx-steps__item--now { background: var(--trx-asphalt); border-color: var(--trx-asphalt); color: #fff; }
.trx-steps__item--now .trx-steps__n { background: var(--trx-accent); color: #fff; }

/* Category headings: angular accent instead of an underline */
.trx-cat__name { border-bottom: 0; padding: 0 0 0 22px; position: relative; font-size: 32px; letter-spacing: .01em; }
.trx-cat__name::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 10px; background: var(--trx-accent); transform: skewX(-14deg); }
.trx-cat__desc { color: var(--trx-mute) !important; margin: -6px 0 12px 22px; }

/* Ticket rows */
.trx-ticket { border-left: 4px solid transparent; transition: border-color .15s, background-color .15s; }
.trx-ticket:not(.trx-ticket--off):hover { border-color: #c5cbd3; border-left-color: #c5cbd3; }
.trx-ticket--on, .trx-ticket--on:not(.trx-ticket--off):hover { border-color: var(--trx-brand); border-left-color: var(--trx-brand); background: #fdf4f4; }
.trx-ticket__name { font-family: var(--trx-head); font-size: 22px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
.trx-ticket__price strong { font-size: 30px; }
.trx-qty { border-radius: var(--trx-radius); }
.trx-qty__btn { width: 44px; height: 44px; border: 0; font-weight: 700; }
.trx-qty__val { height: 44px; }
.trx-qty__btn:focus-visible, .trx-qty__val:focus-visible { outline: 3px solid rgba(21, 25, 30, .35); outline-offset: -3px; }

/* Summary: dark header strip */
.trx-picker__summary .trx-panel, .trx-cart .trx-sticky .trx-panel:first-child { border-top: 4px solid var(--trx-accent); }

/* Categories not sold on this site fold away (decided from website_sellable, not ticket ids) */
.trx-away { background: var(--trx-asphalt); color: #fff; padding: 22px 22px 10px; margin-top: 8px; border-radius: var(--trx-radius);
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 10px); }
.trx .trx-away__title { color: #fff; font-family: var(--trx-head); font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 0 0 4px; }
.trx .trx-away__note { color: #c9d0d8; margin: 0 0 14px; font-size: 15px; }
.trx-cat--folded { margin: 0 0 10px; border-top: 1px solid rgba(255,255,255,.12); }
.trx-cat--folded > summary { list-style: none; cursor: pointer; color: #fff; font-size: 22px; padding: 12px 0 12px 22px; margin: 0;
    display: flex; align-items: center; gap: 10px; }
.trx-cat--folded > summary::-webkit-details-marker { display: none; }
.trx-cat--folded > summary::before { top: 16px; bottom: 16px; width: 8px; }
.trx-cat--folded > summary::after { content: "+"; margin-left: auto; font-size: 26px; line-height: 1; color: #c9d0d8; }
.trx-cat--folded[open] > summary::after { content: "–"; }
.trx-cat__count { font-family: 'Titillium Web', sans-serif; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); color: #e8ecf0;
    padding: 1px 8px; border-radius: 99px; text-transform: none; letter-spacing: 0; }
.trx-cat--folded .trx-ticket { margin-bottom: 8px; }
.trx-cat--folded > summary:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 2px; }

/* Mobile continue bar: ticket count only, never a total */
.trx-mbar { display: none; }
@media (max-width: 991px) {
    .trx-mbar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; align-items: center; justify-content: space-between;
        gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--trx-asphalt); color: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
    .trx-mbar__count { font-family: var(--trx-head); font-weight: 700; font-size: 18px; text-transform: uppercase; }
    .trx-mbar .trx-btn { padding: 10px 18px; }
    .trx-picker { padding-bottom: 72px; }
    .trx-steps__label { display: none; }
    .trx-steps__item--now .trx-steps__label { display: inline; }
}

/* Confirmation: wider ticket cards so names and codes don't wrap */
.trx-tix { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.trx-tix__card { align-items: flex-start; }
.trx-tix__card strong { font-family: var(--trx-head); font-size: 19px; text-transform: uppercase; }
.trx-tix__code { white-space: nowrap; font-size: 14px; letter-spacing: .04em; }
.trx-cal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trx-cal .trx-btn { padding: 8px 14px; font-size: 15px; }

@media (max-width: 575px) {
    .trx-steps { gap: 3px; margin-top: 18px; }
    .trx-steps__item { padding: 8px 10px 8px 16px; font-size: 14px; }
    .trx-cat__name { font-size: 26px; }
    .trx-tix { grid-template-columns: 1fr; }
    .trx-tix__card img { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
    .trx-ticket, .trx-btn { transition: none; }
    .trx-spinner { animation-duration: 3s; }
}
.trx-steps__label { color: inherit !important; }
.trx-steps__item--now .trx-steps__label { color: #fff !important; }
.trx-mbar__count { color: #fff !important; }
@media (max-width: 991px) { .trx-mbar:not([hidden]) { z-index: 100000; } }
/* The payment overlay sits above the site's fixed header too, so nothing behind it can be clicked. */
.trx-overlay { z-index: 100001; }
.trx-overlay .trx-panel { max-width: 460px; box-shadow: 0 12px 40px rgba(0,0,0,.35); outline: none; }
/* The site's back-to-top button (outside .trx; this file only loads on the ticket pages). */
.scroll-top-btn1 { background: #c8161d; }
.scroll-top-btn1:hover { background: #15191e; }
