/* Site public de l'événement — thème sombre uniquement, aucun framework, polices système. */
:root {
	--accent: #EE5A5F;
	--bg: #0d0f14;
	--bg-2: #151821;
	--card: rgba(255, 255, 255, .045);
	--line: rgba(255, 255, 255, .09);
	--text: #f3f4f7;
	--muted: #9aa1b2;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Decorative glows: one fixed layer behind the whole page, so no section ever
   shows where a background stops. */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(70vw 60vh at 90% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent),
		radial-gradient(60vw 60vh at 0% 100%, rgba(80, 110, 255, .12), transparent);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
address { font-style: normal; }
hgroup { margin: 0; }
hgroup p { margin: 0; }
/* Lists used for layout (cards, grids, menus): no bullets nor indent. */
.cards, .grid, .timeline, .day-tabs, .topbar ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; scroll-margin-top: 4rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; margin-top: 2rem; }
.empty-note { color: var(--muted); padding: 3rem 0; text-align: center; }

.preview-bar {
	position: sticky; top: 0; z-index: 30;
	background: #f5b301; color: #222; text-align: center;
	font-weight: 600; font-size: .85rem; padding: .35rem;
}

/* ---------- top bar ---------- */

/* Always reachable: sticks to the top, section links included on phones. */
.topbar {
	position: sticky; top: 0; z-index: 10;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	/* Same content width as .wrap and the hero. */
	padding: .6rem max(1.25rem, (100% - 1160px) / 2);
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.preview-bar + .topbar { top: 1.9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 1.1rem; }
.brand img { width: 36px; height: 34px; }
.topbar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topbar ul { display: flex; gap: .3rem; font-size: .92rem; }
.topbar nav a { display: block; padding: .4rem .75rem; border-radius: 99px; text-decoration: none; white-space: nowrap; color: var(--muted); }
.topbar nav a:hover { color: var(--text); background: var(--card); }
@media (max-width: 560px) {
	.topbar .brand { font-size: 0; gap: 0; }   /* logo only: room for the section links */
	.topbar ul { font-size: .85rem; gap: 0; }
	.topbar nav a { padding: .4rem .55rem; }
}

/* ---------- hero ---------- */

/* Compact: the essentials (dates, place, sign-up) are on the first screen,
   the programme and tickets right below. */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start;
	/* Same content width as .wrap, without a wrapper element. */
	padding: clamp(2rem, 6vw, 4rem) max(1.25rem, (100% - 1160px) / 2) clamp(2rem, 5vw, 3rem);
	color: #fff;
}
.hero:not(.hero-plain) { min-height: clamp(340px, 52vh, 560px); }
.hero > * { grid-column: 1; }
.hero-bg {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover;
	/* The photo fades out at the bottom instead of stopping on a line. */
	-webkit-mask-image: linear-gradient(#000 45%, transparent 92%);
	mask-image: linear-gradient(#000 45%, transparent 92%);
	animation: zoom 18s ease-out both;
}
/* Darkens the cover photo for legibility; transparent at the bottom edge,
   where the photo itself has faded out. */
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(13, 15, 20, .55) 0%, rgba(13, 15, 20, .35) 40%, rgba(13, 15, 20, .7) 75%, transparent 100%);
}
.hero-plain::after { content: none; }
.hero-empty { min-height: calc(100svh - 56px); }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 900; margin: 0 0 .2em; text-wrap: balance; }
.hero-logo { width: min(150px, 38vw); height: auto; margin-bottom: 1rem; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .45)); }
.has-logo h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 40ch; opacity: .92; }
/* Wide screens: the edition's logo sits on the right, next to the text. */
@media (min-width: 860px) {
	.hero.has-logo { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; }
	.hero-logo { grid-column: 2; grid-row: 1 / span 6; align-self: center; width: clamp(220px, 26vw, 340px); margin: 0; }
}
.eyebrow {
	display: inline-block; margin-bottom: .8rem;
	padding: .3rem .8rem; border-radius: 99px;
	background: var(--accent); color: #fff;
	font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.facts { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: .5rem; }
.facts svg { color: var(--accent); }

.countdown { display: flex; gap: .5rem; margin-top: 1.2rem; }
.countdown[hidden] { display: none; }
.countdown > span {
	min-width: 3.8rem; padding: .4rem .35rem; text-align: center;
	border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.countdown b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }

/* ---------- buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .8rem 1.4rem; border-radius: 99px; border: 1px solid transparent;
	font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	background: var(--accent); color: #fff;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn-ghost { border-color: currentColor; background: transparent; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-closed, .btn-closed:hover {
	transform: none; cursor: not-allowed;
	background: var(--card); border-color: var(--line); color: var(--muted);
}
.btn-small { padding: .35rem .85rem; font-size: .85rem; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

/* ---------- intro ---------- */

.intro { font-size: 1.12rem; }
.intro p { max-width: 760px; }
.address { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: 1rem; }
.address svg { color: var(--accent); }

/* ---------- cards ---------- */

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tier, .shooter, .edition-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow);
}
.tier { padding: 1.4rem; position: relative; overflow: hidden; }
.tier::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 4px;
	background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, #6b7cff));
}
.tier-price { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.03em; color: var(--accent); }
.tier h3 { margin: .3rem 0 .4rem; }
.tier p { color: var(--muted); font-size: .93rem; margin: 0 0 .5rem; }
.tier p.small { font-size: .8rem; }
.sales-note {
	display: inline-block; margin-bottom: 1.2rem; padding: .5rem 1rem; border-radius: 99px;
	background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--text); font-weight: 600;
}
/* A tier with add-ons takes the full row: price on the left, options beside. */
.tier.has-options { grid-column: 1 / -1; display: grid; gap: 1.2rem 2rem; }
@media (min-width: 760px) { .tier.has-options { grid-template-columns: minmax(200px, 1fr) 2fr; } }
.tier.has-options > .options-free { grid-column: 1 / -1; }
.options h4 { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.options ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.options li {
	display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: baseline;
	padding: .7rem .9rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
}
.options li data { grid-row: span 3; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.options li strong { font-weight: 600; }
.options li small { grid-column: 2; color: var(--muted); font-size: .8rem; }
.options-free ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.options-free li { display: inline-block; padding: .35rem .8rem; border-radius: 99px; font-size: .88rem; font-weight: 600; }

.chip {
	display: inline-flex; align-items: center; gap: .3rem;
	padding: .1rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 600;
	background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
}

/* ---------- programme ---------- */

.day-tabs { display: none; gap: .5rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.day-tabs li { flex: none; }
.program.tabs .day-tabs { display: flex; }
.program.tabs .day { display: none; }
.program.tabs .day.on { display: block; animation: fade .25s ease; }
.program.tabs .day-title { display: none; }
.day-tabs button {
	flex: none; padding: .55rem 1.1rem; border-radius: 99px; cursor: pointer;
	border: 1px solid var(--line); background: var(--card); color: var(--text);
	font: inherit; font-weight: 600; text-transform: capitalize;
}
.day-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.day + .day { margin-top: 2rem; }
.day-title { text-transform: capitalize; color: var(--muted); }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.4rem; padding: .7rem 0; position: relative; }
.timeline li::before {
	content: ""; position: absolute; left: 4.35rem; top: 1.25rem;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.slot-time { margin: 0; padding-top: .5rem; text-align: right; font-variant-numeric: tabular-nums; }
.slot-time time { display: block; font-weight: 800; }
.slot-time time + time { font-weight: 500; font-size: .8rem; color: var(--muted); }
.slot { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin-left: .6rem; }
.slot h4 { margin: 0; font-size: 1rem; letter-spacing: normal; }
.slot h4 .chip { margin-left: .3rem; vertical-align: .1em; }
.slot p { margin: .35rem 0 0; color: var(--muted); font-size: .93rem; }
.slot p.small { display: flex; align-items: center; gap: .3rem; font-size: .85rem; }

/* ---------- photographers ---------- */

.sub { color: var(--muted); font-weight: 600; margin: 1.5rem 0 1rem; }
.shooter {
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
	column-gap: 1rem; align-items: center; padding: 1rem 1.1rem;
}
.shooter .avatar { grid-row: span 2; }
.shooter h4 { margin: 0; align-self: end; font-size: 1rem; }
.avatar {
	width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none;
	box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
}
.avatar-initial {
	display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--accent), #6b7cff);
}
.shooter-links { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 0; align-self: start; }
.icon-link { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--muted); }
.icon-link:hover { color: var(--accent); background: var(--card); }

/* ---------- photo grid ---------- */

.grid { columns: 2 160px; column-gap: .6rem; }
@media (min-width: 640px) { .grid { columns: 3; } }
@media (min-width: 1024px) { .grid { columns: 4; } }
.grid > li { break-inside: avoid; margin-bottom: .6rem; }
.ph {
	display: block;
	border-radius: 12px; overflow: hidden; background: var(--bg-2);
	aspect-ratio: 3 / 2;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.ph:hover img { transform: scale(1.04); }
.grid > .more { column-span: all; text-align: center; padding: 1rem; margin: 1rem 0; }
.more a { color: var(--accent); font-weight: 700; }

/* ---------- editions ---------- */

.page-head { padding: 2rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; }
.back { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; margin-bottom: .6rem; }
.edition-card { height: 100%; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease; }
.edition-card:hover { transform: translateY(-4px); }
.edition-cover {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, #000), #20253a);
}
.edition-cover { position: relative; }
.edition-cover img { width: 100%; height: 100%; object-fit: cover; }
.edition-cover img.edition-logo { position: absolute; inset: 15%; width: 70%; height: 70%; object-fit: contain; }
.edition-body { margin: 0; padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }

/* ---------- billetterie maison : formulaire, commande, billet ---------- */

.page-form .footer { margin-top: 3rem; }
.tag { display: inline-block; margin: .3rem 0 0; padding: .1rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 700;
	background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.notice, .errors { padding: 1rem 1.2rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.errors { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.errors ul { margin: 0; padding-left: 1.2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.shop-form { display: grid; gap: 2.2rem; max-width: 860px; }
.shop-form h2 { font-size: 1.4rem; }
.people { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.person, .choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.person {
	padding: 1.1rem 1.2rem; border-radius: var(--radius);
	background: var(--card); border: 1px solid var(--line);
}
.person > legend { float: left; width: 100%; margin-bottom: .6rem; font-weight: 800; font-size: 1.05rem; }
.choices > legend { float: left; width: 100%; margin: .8rem 0 .4rem; font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.fields { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; clear: both; }
.fields label, .merch-row label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.shop-form input:not([type=checkbox]), .shop-form select {
	width: 100%; padding: .7rem .85rem; border-radius: 10px; font: inherit; color: var(--text);
	background: var(--bg-2); border: 1px solid var(--line);
}
.shop-form input:focus, .shop-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.choice {
	display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; clear: both;
	margin-top: .5rem; padding: .7rem .85rem; border-radius: 12px; cursor: pointer;
	background: var(--bg-2); border: 1px solid var(--line);
}
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); }
.choice input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--accent); }
.choice small { display: block; color: var(--muted); }
.choice small.tag { display: inline-block; color: var(--accent); }
.choice data { color: var(--accent); font-weight: 800; margin-left: .3rem; }
.choice.is-full { opacity: .5; cursor: not-allowed; }
.choices + .choices { margin-top: .4rem; }
.link-btn { margin-top: .8rem; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

.merch .merch-item { padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.merch-item figure { margin: -1rem -1rem .8rem; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-2); }
.merch-item figure img { width: 100%; height: 100%; object-fit: cover; }
.merch-item h3, .merch-item h4 { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .3rem; font-size: 1rem; }
.merch-item h3 data, .merch-item h4 data { color: var(--accent); white-space: nowrap; }
.merch-item.is-full { opacity: .6; }
.merch-row { display: grid; grid-template-columns: 1fr 6rem; gap: .6rem; margin: .6rem 0 0; }

.checkout {
	position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
	padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); margin: 0 -1.2rem;
	background: color-mix(in srgb, var(--bg) 88%, transparent); border-top: 1px solid var(--line);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.checkout > p:first-child { margin: 0; font-size: 1.15rem; font-weight: 800; }
.checkout output { color: var(--accent); }
.checkout .muted { flex-basis: 100%; margin: 0; }
.pay-choice { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; padding: 0; border: 0; }
.pay-choice[hidden] { display: none; }
.pay-choice legend { display: none; }
.pay-choice .choice { margin: 0; }
.pay-choice output { color: var(--accent); margin-left: .3rem; }
.online-price { margin: 0 0 .3rem; font-size: .85rem; font-weight: 600; color: #7fe0a4; }
.choice small.online-price { color: #7fe0a4; }
form.checkout { position: static; margin: 0 0 2rem; background: none; border: 0; padding: 0; }

.status { display: inline-block; padding: .5rem 1rem; border-radius: 12px; font-weight: 600; }
.status.is-ok { background: rgba(46, 160, 90, .18); color: #7fe0a4; }
.status.is-wait { background: rgba(245, 179, 1, .15); color: #f5c84a; }
.status.is-ko { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.order section { margin-top: 2rem; }
.tickets .ticket, .ticket-solo { padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ticket h3 { margin: 0 0 .3rem; }
.qr { display: grid; justify-items: center; gap: .6rem; margin: 1rem 0 0; text-align: center; }
.qr svg { width: min(220px, 70vw); height: auto; aspect-ratio: 1; border-radius: 12px; }
.qr figcaption { font-size: .9rem; color: var(--muted); }
.qr figcaption a { display: block; margin-top: .3rem; color: var(--text); }
.ticket-solo { max-width: 420px; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */

.footer {
	margin-top: 6rem; border-top: 1px solid var(--line);
	padding: 2.5rem max(1.25rem, (100% - 1160px) / 2) 6rem;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.footer p { color: var(--muted); margin: 0; }
.footer-brand { display: flex; flex-direction: column; gap: .3rem; }
.footer-brand .brand { color: var(--text); }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); color: var(--text); }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-copy { flex-basis: 100%; }

/* ---------- sticky CTA (mobile) ---------- */

.sticky-cta {
	position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 20;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: .6rem .6rem .6rem 1.1rem; border-radius: 99px;
	background: color-mix(in srgb, var(--bg-2) 85%, transparent);
	border: 1px solid var(--line); box-shadow: var(--shadow);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	transform: translateY(150%); transition: transform .3s ease;
}
.sticky-cta.on { transform: none; }
.sticky-cta p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-cta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta span { font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .sticky-cta { left: auto; width: 380px; } }

/* ---------- ticket dialog ---------- */

.ticket-dialog {
	width: min(720px, 100vw); height: min(92vh, 900px); max-width: 100vw; max-height: 100vh;
	padding: 0; border: 0; border-radius: var(--radius);
	background: #fff; color: #141824; box-shadow: var(--shadow);
	display: none; flex-direction: column;
}
.ticket-dialog[open] { display: flex; animation: rise .25s ease; isolation: isolate; }
.ticket-dialog::backdrop { background: rgba(5, 7, 12, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid #eee; }
.dialog-head strong { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialog-head a { color: #5d6476; display: inline-flex; align-items: center; gap: .3rem; }
.ticket-dialog iframe { position: relative; flex: 1; width: 100%; border: 0; background: transparent; }
/* Spinner under the (transparent while loading) iframe. */
.ticket-dialog::after {
	content: ""; position: absolute; top: 50%; left: 50%; z-index: -1; width: 32px; height: 32px; margin: -16px;
	border: 3px solid #ddd; border-top-color: var(--accent); border-radius: 50%;
	animation: spin .8s linear infinite;
}
.icon-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: #f1f2f5; color: #141824; cursor: pointer; }
@media (max-width: 640px) { .ticket-dialog { height: 100vh; border-radius: 0; } }

/* ---------- lightbox ---------- */

.lightbox {
	position: fixed; inset: 0; z-index: 50; margin: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(5, 7, 12, .94); color: #fff; touch-action: pan-y;
	animation: fade .2s ease;
}
.lightbox img { max-width: 96vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox button, .lightbox a {
	position: absolute; display: grid; place-items: center;
	width: 3rem; height: 3rem; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; text-decoration: none;
}
.lb-close { top: 1rem; right: 1rem; }
.lb-orig { top: 1rem; right: 4.6rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-size: .85rem; opacity: .7; }
@media (max-width: 640px) { .lb-prev, .lb-next { display: none !important; } }

/* ---------- motion ---------- */

@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.breakdown { flex-basis: 100%; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin: 0; font-size: .9rem; color: var(--muted); }
.breakdown[hidden], .breakdown [hidden] { display: none; }
.breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.breakdown .discount { color: #7fe0a4; font-weight: 600; }
