/* Adelaide from 18 Oct 2026 (release 261, owner): Regular and Team are sold out, shown greyed out with a line
   through; Premium carries the buy 1, get 1 free offer; the VIP note is live from the ticket system. The Premium
   offer shows no end date, so the early bird countdowns are hidden on this page. */
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out,
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out:hover { cursor: not-allowed; background: #f1f1f4; color: #9b9ba4; opacity: 1; }
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-name,
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-price { color: #9b9ba4; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #b9b9c1; }
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-price small { text-decoration: none; }
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-mark,
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-arrow { opacity: .3; filter: grayscale(1); }
body[data-city="adelaide"] #tickets .is-sold-out .ticket-tab-copy { transform: none !important; }
body[data-city="adelaide"] #tickets .sold-out-label { display: inline-block; width: max-content !important; max-width: 100%; align-self: flex-start; margin-top: 5px; padding: 3px 8px; background: #e2e2e7; color: #4b4b54; font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
body[data-city="adelaide"] #tickets .offer-chip,
body[data-city="adelaide"] #tickets .seat-chip { display: inline-block; width: max-content; align-self: flex-start; margin-top: 5px; padding: 3px 8px; background: var(--offer-blue, #1f45d1); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
body[data-city="adelaide"] #tickets .seat-chip { background: #d93a3f; }
body[data-city="adelaide"] #tickets .seat-chip[hidden] { display: none; }
/* Release 262 (owner, 18 Oct 2026): the sold-out line sits on the Regular card itself, so the countdown row above the
   quantity (now empty on Adelaide) is hidden. */
/* Release 263 (owner, 18 Oct 2026: "make these clickable"): sold-out cards open to show the ticket, greyed, with a
   Sold out block and "Choose Premium instead" in place of the checkout button. */
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out,
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out:hover { cursor: pointer; }
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out[aria-selected="true"],
body[data-city="adelaide"] #tickets .ticket-tabs [data-plan].is-sold-out[aria-expanded="true"] { background: #e6e6eb; }
body[data-city="adelaide"] #tickets .ticket-panel[data-plan="regular"] .price,
body[data-city="adelaide"] #tickets .ticket-panel[data-plan="team"] .price { color: #9b9ba4; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: #b9b9c1; }
body[data-city="adelaide"] #tickets .sold-out-button { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0 0 10px; background: #e2e2e7; color: #4b4b54; cursor: not-allowed; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
/* The switch button is Premium's (data-tier="premium" gives it Premium's colours), and a sold-out card has no checkout,
   so its "Secure checkout with Stripe" line is hidden. */
body[data-city="adelaide"] #tickets .ticket-panel[data-plan="regular"] p.checkout-trust,
body[data-city="adelaide"] #tickets .ticket-panel[data-plan="team"] p.checkout-trust { display: none; }
/* Release 264 (owner, 18 Oct 2026): the Premium offer as one proper banner with a live countdown to its real end (Wed
   28 Oct 11:59pm ACDT, the night before the event; the checkout and n8n end it then), and each ticket's capacity as a
   clean point (Regular 950, Premium 100, VIP 50). Design: Direction A "One banner" (output/early-bird-design-2026-10-16). */
body[data-city="adelaide"] #tickets .seat-cap { display: flex; align-items: center; gap: 7px; width: max-content; max-width: 100%; margin-top: 6px; color: #55555e; font-size: 13px; line-height: 1.3; text-decoration: none; }
body[data-city="adelaide"] #tickets .seat-cap i { flex: none; width: 6px; height: 6px; background: var(--offer-blue-bright, #246ef5); }
body[data-city="adelaide"] #tickets .is-sold-out .seat-cap { color: #6b6b75; }
body[data-city="adelaide"] #tickets .is-sold-out .seat-cap i { background: var(--brand-coral, #e8483f); }
@media (max-width: 600px) {
}
/* Release 265 (owner, 18 Oct 2026: "i like the timer like this", pointing at Brisbane's): the countdown leaves the banner
   and uses the standard ticket-section row, big black digits on white, "Premium offer ends 28 October". */
body[data-city="adelaide"] #tickets .ticket-countdown-row[hidden] { display: none; }
@media (max-width: 600px) { }
/* Release 266 (owner, 18 Oct 2026: "Make the offer way more subtle, just like this", pointing at the hero tag): the
   ticket-section offer is the slim two-part tag again, sized like the hero tag; the Brisbane-style timer stays below. */
body[data-city="adelaide"] #tickets .ticket-deal > span,
body[data-city="adelaide"] #tickets .ticket-deal .offer-detail { padding: 10px 18px; font-size: 15px; line-height: 1.25; }
body[data-city="adelaide"] #tickets .ticket-deal[hidden] { display: none; }
@media (max-width: 600px) {
  /* Release 267 (owner: "on phone extend a bit to make it less cramped"): wider, roomier, larger type. */
  body[data-city="adelaide"] #tickets .ticket-deal { width: min(350px, 100%); }
  body[data-city="adelaide"] #tickets .ticket-deal > span { padding: 9px 24px; font-size: 14px; line-height: 1.25; }
  body[data-city="adelaide"] #tickets .ticket-deal .offer-detail { align-self: stretch; padding: 12px 20px; font-size: 15.5px; line-height: 1.3; text-align: center; }
}
/* Release 271: the offer chips hide at the deadline again (the rule was dropped in release 266 with the banner styles). */
body[data-city="adelaide"] #tickets .offer-chip[hidden] { display: none !important; }
/* Release 279: the Fishburners AI Pitch Night in the agenda, with an Apply button in their colours (orange on a black offset). */
body[data-city="adelaide"] .agenda-pitch h3:before { background: #e5440f; }
/* Release 280 (owner): the logo sits inside the link as a word, at the size of the text. */
body[data-city="adelaide"] .agenda-pitch .agenda-apply { margin-top: 14px; line-height: 1; }
body[data-city="adelaide"] .fb-apply { display: inline-flex; align-items: center; gap: 10px; background: #e5440f; color: #fff; font-weight: 600; font-size: 16px; line-height: 1; padding: 13px 18px; text-decoration: none; box-shadow: 5px 5px 0 #111; transition: transform .15s ease, box-shadow .15s ease; }
body[data-city="adelaide"] .fb-apply svg { width: 15px; height: 15px; flex: none; }
body[data-city="adelaide"] .fb-apply:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #111; }
body[data-city="adelaide"] .fb-apply:focus-visible { outline: 3px solid #e5440f; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { body[data-city="adelaide"] .fb-apply { transition: none; } body[data-city="adelaide"] .fb-apply:hover { transform: none; box-shadow: 5px 5px 0 #111; } }
/* Release 282 (owner): the Fishburners logo sits above "AI Pitch Night" in the left column; the description is one plain paragraph. */
body[data-city="adelaide"] .agenda-pitch .agenda-fb-logo { display: block; height: 17px; width: auto; margin: 0 0 10px; }
body[data-city="adelaide"] .agenda-pitch .agenda-fb { line-height: 1.6; padding-top: 4px; }
@media (min-width: 701px) { body[data-city="adelaide"] .agenda-pitch ul { padding-top: 27px; } }
/* Release 332 (owner, 25 Oct 2026: "VIP should be gold", "the color around the outside is red"): on phones the open VIP card
   takes VIP's desktop gold, not the shared phone red (tickets.css), on Adelaide only; Brisbane and Perth phones keep Premium gold. */
body[data-city="adelaide"] #tickets.is-ticket-accordion [data-tier=vip] { --tier-accent: #be923e; --tier-pixel-mid: #dbc07e; --tier-ink: #795714; --tier-soft: #fbf5e8; }
/* Release 332 (owner: "it doesn't merge well, and there's a white straight line ... make it a bit more visually digestible"): on
   phones the shared layout masks the outside photograph with the pixel silhouette over the inside one, which cut the clock tower into
   squares of the stage and left a light line at the mask's 76% edge. On Adelaide the two photographs stack instead: the Town Hall
   outside on top, the hall inside below, meeting on one stepped pixel edge, full width, so there are no holes and no seam. */
@media (max-width: 700px) {
  body[data-city="adelaide"] #venue .venue-exterior { top: 0; left: 0; width: 100%; height: 56% !important; -webkit-mask: none; mask: none; object-position: 50% 30%;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 66.6667% 84%, 66.6667% 92%, 33.3333% 92%, 33.3333% 100%, 0 100%); }
  body[data-city="adelaide"] #venue .venue-interior { top: auto; bottom: 0; left: 0; width: 100%; height: 56% !important; object-position: 50% 8%; clip-path: none; }
  /* a calm dark fade under the venue name and the directions, and a light one under the heading */
  body[data-city="adelaide"] #venue:after { background: linear-gradient(to top, rgb(29 22 64 / .92) 0, rgb(29 22 64 / .6) 26%, transparent 50%), linear-gradient(to bottom, rgb(40 38 64 / .5), transparent 30%); }
}
/* Release 338 (owner, 26 Oct 2026: "the plus ... makes the whole thing move ... In the box for both, so it doesn't move and glitch out"):
   the ticket count sits inside the open card on desktop too (city-config quantityInCard), like the Final Release card's own count, so the
   row above the cards never appears or disappears; the gap under the timer is fixed so the box does not move either. */
body[data-city="adelaide"] #tickets { --card-quantity: 1; }
body[data-city="adelaide"] #tickets .quantity-selector.ticket-quantity-global:not(.quantity-in-card) { display: none; }
body[data-city="adelaide"] #tickets .ticket-offer { margin-bottom: 24px; }
@media (min-width: 601px) {
  body[data-city="adelaide"] #tickets .ticket-price > .has-card-quantity { display: flex; flex-direction: column; align-items: flex-start; }
  body[data-city="adelaide"] #tickets .ticket-price > .has-card-quantity > .quantity-selector.quantity-in-card {
    order: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; width: 100%; margin: 20px 0 0; padding: 0; }
  body[data-city="adelaide"] #tickets .quantity-selector.quantity-in-card label { font-size: 15px; color: var(--ink); }
}

/* Release 358: Adelaide is sold out; the banner's Brisbane and Perth links keep the banner's white text. */
body[data-city="adelaide"] #tickets .ticket-deal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
