/* Shows, fight cards, results, fight history, ticket alerts. Builds on profile.css. */

/* Show page hero */
.bzfc-show__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 44px; align-items: center; }
.bzfc-show__meta { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-size: 1.05rem; color: var(--c-head); }
.bzfc-show__meta li { padding-left: 16px; border-left: 3px solid var(--c-red); }
.bzfc-show__meta span { display: block; color: var(--c-muted); font-size: .9rem; }
.bzfc-show__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.bzfc-buy--red { background: var(--c-red); color: var(--bz-on-accent, #fff); }
.bzfc-buy--red:hover { background: var(--c-red-dark); color: var(--bz-on-accent, #fff); }
.bzfc-show__alerts-link { color: var(--c-head); text-decoration: underline; text-underline-offset: 4px; font-size: .95rem; }
.bzfc-show__alerts-link:hover { color: var(--c-red); }
.bzfc-show__soon { margin: 0; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--c-head); }
.bzfc-show__poster img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 30px 60px rgba(0,0,0,.4); }

/* Tickets left */
.bzfc-left { display: inline-flex; align-items: center; gap: .45em; padding: .4em .8em; border-radius: 999px; background: rgba(var(--bz-red-rgb, 212, 13, 18), .14); border: 1px solid rgba(var(--bz-red-rgb, 212, 13, 18), .5); color: var(--c-head); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.bzfc-left::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 0 3px rgba(var(--bz-red-rgb, 212, 13, 18), .25); }
.bzfc-left.is-soldout { background: var(--c-panel2); border-color: var(--c-line); color: var(--c-muted); }
.bzfc-left.is-soldout::before { background: var(--c-muted); box-shadow: none; }
.bzfc-left-wrap { margin: 0 0 1em; }

/* Fight card */
.bzfc-card-note, .bzfc-card-help { color: var(--c-muted); font-size: .92rem; margin: -6px 0 18px; }
.bzfc-card-help { margin: 16px 0 0; }
.bzfc-bouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bzfc-bout { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; }
.bzfc-bout.has-graphic { grid-template-columns: 150px minmax(0, 1fr); }
.bzfc-bout__main { align-self: center; }
.bzfc-bout__graphic { display: block; padding: 0; border: 0; background: #000; cursor: zoom-in; box-shadow: none; border-radius: 0; }
.bzfc-bout__graphic:hover { transform: none; box-shadow: none; }
.bzfc-bout__graphic img { display: block; width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.bzfc-bout__main { padding: 14px 18px 16px; }
.bzfc-bout__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; }
.bzfc-bout__no { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); }
.bzfc-bout__title { padding: .25em .6em; border-radius: 3px; background: #f5c400; color: #111; font-family: var(--f-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.bzfc-bout__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.bzfc-bout__vs { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; text-align: center; font-family: var(--f-head); color: var(--c-red); font-size: 1.4rem; text-transform: uppercase; }
.bzfc-bout__outcome { font-size: .95rem; color: var(--c-head); }
.bzfc-bout__method { font-family: inherit; font-size: .75rem; color: var(--c-muted); text-transform: none; }
.bzfc-corner { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bzfc-corner--blue { flex-direction: row-reverse; text-align: right; }
.bzfc-corner__photo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--c-panel2); border: 2px solid var(--c-line); display: flex; align-items: center; justify-content: center; }
.bzfc-corner--red .bzfc-corner__photo { border-color: var(--c-red); }
.bzfc-corner--blue .bzfc-corner__photo { border-color: #2f5bd8; }
.bzfc-corner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bzfc-bout__initial { font-family: var(--f-head); font-size: 1.6rem; color: var(--c-muted); text-transform: uppercase; }
.bzfc-corner__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bzfc-corner--blue .bzfc-corner__text { align-items: flex-end; }
.bzfc-corner__name { font-family: var(--f-head); font-size: 1.15rem; line-height: 1.1; text-transform: uppercase; color: var(--c-head); text-decoration: none; overflow-wrap: anywhere; }
a.bzfc-corner__name:hover { color: var(--c-red); }
.bzfc-corner.is-loser { opacity: .62; }
.bzfc-corner__badge { align-self: flex-start; padding: .2em .55em; border-radius: 3px; background: #16a34a; color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.bzfc-corner--blue .bzfc-corner__badge { align-self: flex-end; }
.bzfc-corner__back { font-size: .8rem; color: var(--c-red); text-decoration: none; font-weight: 700; }
.bzfc-corner__back:hover { text-decoration: underline; }
.bzfc-bout__sponsor { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--c-line); }
.bzfc-bout__sponsor span { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); }
.bzfc-bout__sponsor img { display: block; max-height: 30px; max-width: 130px; width: auto; height: auto; padding: 4px 8px; background: #fff; border-radius: 3px; }
.bzfc-bout__sponsor a, .bzfc-bout__sponsor strong { color: var(--c-head); text-decoration: none; }
.bzfc-credit { margin: 12px 0 0; font-size: .85rem; color: var(--c-muted); font-style: italic; }
.bzfc-empty { color: var(--c-muted); }

/* Ticket alerts */
.bzfc-alerts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 32px; margin: 8px 0 48px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); border: 1px solid var(--c-line); background: radial-gradient(ellipse at 0% 0%, rgba(var(--bz-red-rgb, 212, 13, 18), .22), transparent 60%), var(--c-panel); }
.bzfc-alerts h2 { margin: 0 0 8px; font-family: var(--f-head); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; color: var(--c-head); }
.bzfc-alerts h2::before { display: none; }
.bzfc-alerts p { color: var(--c-muted); }
.bzfc-alerts .formlayer-form-wrapper { max-width: none; }

/* Show list */
.bzfc-showcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.bzfc-showcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--c-panel); border: 1px solid var(--c-line); transition: border-color .2s ease, transform .2s ease; }
.bzfc-showcard:hover { border-color: var(--c-red); transform: translateY(-3px); }
.bzfc-showcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-panel2); }
.bzfc-showcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bzfc-showcard__date { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 8px; border-radius: 4px; background: rgba(10,10,11,.86); color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.bzfc-showcard__date b { font-family: var(--f-head); font-size: 1.6rem; line-height: 1; }
.is-upcoming .bzfc-showcard__date { background: var(--c-red); }
.bzfc-showcard__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.bzfc-showcard__title { margin: 0; font-family: var(--f-head); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.bzfc-showcard__title a { color: var(--c-head); text-decoration: none; }
.bzfc-showcard__title a:hover { color: var(--c-red); }
.bzfc-showcard__meta { margin: 0; color: var(--c-head); font-size: .92rem; }
.bzfc-showcard__sub { margin: 0; color: var(--c-muted); font-size: .85rem; }
.bzfc-showcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; }
.bzfc-btn-red, .bzfc-btn-ghost { display: inline-flex; align-items: center; padding: .6em 1.1em; border-radius: var(--r); font-family: var(--f-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.bzfc-btn-red { background: var(--c-red); color: var(--bz-on-accent, #fff); }
.bzfc-btn-red:hover { background: var(--c-red-dark); color: var(--bz-on-accent, #fff); }
.bzfc-btn-ghost { border: 1px solid var(--c-line); color: var(--c-head); }
.bzfc-btn-ghost:hover { border-color: var(--c-red); color: var(--c-red); }

/* Fight history on profiles */
.bzfc-history { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bzfc-history th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); font-weight: 600; padding: 0 10px 10px 0; border-bottom: 1px solid var(--c-line); }
.bzfc-history td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.bzfc-history a { color: var(--c-head); text-decoration: none; }
.bzfc-history a:hover { color: var(--c-red); }
.bzfc-history__opp { font-family: var(--f-head); text-transform: uppercase; font-size: 1.05rem; }
.bzfc-history__muted { color: var(--c-muted); font-size: .85rem; }
.bzfc-res { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: .25em .5em; border-radius: 4px; font-family: var(--f-head); font-weight: 700; font-size: .9rem; background: var(--c-panel2); color: var(--c-head); }
.bzfc-res.is-w { background: #16a34a; color: #fff; }
.bzfc-res.is-l { background: var(--c-red); color: var(--bz-on-accent, #fff); }
.bzfc-res.is-d { background: #64748b; color: #fff; }
.bzfc-res.is-next { background: transparent; border: 1px solid var(--c-red); color: var(--c-red); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.bzfc-next__vs { display: block; margin-top: 4px; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .03em; color: #fff; font-size: 1.05rem; }

@media (max-width: 900px) {
	.bzfc-show__grid { grid-template-columns: minmax(0, 1fr); }
	.bzfc-show__poster { max-width: 380px; }
	.bzfc-alerts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 640px) {
	.bzfc-bout.has-graphic { grid-template-columns: minmax(0, 1fr); }
	.bzfc-bout__graphic img { aspect-ratio: 16 / 9; }
	.bzfc-corner, .bzfc-corner--blue { flex-direction: column; text-align: center; gap: 6px; }
	.bzfc-corner__text, .bzfc-corner--blue .bzfc-corner__text { align-items: center; }
	.bzfc-corner__badge, .bzfc-corner--blue .bzfc-corner__badge { align-self: center; }
	.bzfc-corner__photo { flex-basis: 56px; width: 56px; height: 56px; }
	.bzfc-corner__name { font-size: 1rem; }
	.bzfc-bout__vs { min-width: 44px; font-size: 1.1rem; }
	.bzfc-history th:nth-child(4), .bzfc-history td:nth-child(4) { display: none; }
}

/* Next fight box on profiles (red panel) */
.bzfc-next__event a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.bzfc-next__event a:hover { text-decoration-color: #fff; }
.bzfc-next .bzfc-left { margin-top: 10px; background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.35); color: #fff; }
.bzfc-next .bzfc-left::before { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.bzfc-showcard__left { margin: 8px 0 0; }

/* Fight videos */
.bzfc-watch { display: inline-flex; align-items: center; gap: .35em; margin-left: auto; padding: .35em .75em; border-radius: 999px; background: var(--c-red); color: var(--bz-on-accent, #fff); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.bzfc-watch:hover { background: var(--c-red-dark); color: var(--bz-on-accent, #fff); }
.bzfc-watch.is-small { margin: 6px 0 0; padding: .25em .6em; font-size: .7rem; }
.bzfc-history td .bzfc-watch { display: inline-flex; }
.bzfc-video { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; overflow: visible; }
.bzfc-video::backdrop { background: rgba(0,0,0,.85); }
.bzfc-video__frame { position: relative; aspect-ratio: 16 / 9; }
.bzfc-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bzfc-video__close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.bzfc-video__close:hover { background: var(--c-red); }
@media (max-width: 640px) { .bzfc-watch { margin-left: 0; } }

/* Headline sponsor */
.bzfc-show__sponsor { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0 0; }
.bzfc-show__sponsor span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); }
.bzfc-show__sponsor img { display: block; max-height: 48px; max-width: 180px; width: auto; height: auto; padding: 6px 10px; background: #fff; border-radius: 4px; }
.bzfc-show__sponsor strong { color: var(--c-head); }
