/*
 * Sports, exhibition and event application pages (SportsEventApps module).
 * Loaded after ms.css, lw.css and cb.css, whose heading, card, note and
 * table styles the reused blocks keep. Logical properties only (RTL for ar
 * and he). Button labels never wrap. Motion runs only under .sx-motion (set
 * by sx.js when the visitor has not asked for reduced motion); without it
 * every element is in its final state.
 */

/* Section headings follow the site token --fs-h2 (Admin → Appearance → Typography). */
.lp-sec.sx-sec .ctas .btn { white-space: nowrap; }
.lp-sec.sx-sec :where(.ms-note, .lw-note) + .ctas { margin-block-start: var(--flow-gap); }

/* ------------------------------------------------------------------ */
/* Ecosystem: shared node                                               */
/* ------------------------------------------------------------------ */
.sx-eco { position: relative; overflow: hidden; }
.sx-eco::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 0%, rgba(165, 0, 0, .22), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(212, 161, 46, .08), transparent 50%); pointer-events: none; }
.sx-eco > .wrap { position: relative; }
.sx-eco .lp-lede { color: var(--mist); }
.sx-eco-stage { margin-block-start: var(--space-6, 40px); }

.sx-node { position: relative; display: flex; align-items: flex-start; gap: var(--space-2, 12px); color: var(--white); text-decoration: none; }
a.sx-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sx-node-no { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--gold); }
.sx-node-ico { display: inline-grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; background: var(--navy-700); color: #FF8A8A; transition: background .25s ease, color .25s ease; }
.sx-node-ico .ico { inline-size: 22px; block-size: 22px; }
.sx-node-body { display: flex; flex-direction: column; gap: 6px; min-inline-size: 0; }
.sx-node-title { font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--white); }
.sx-node-text { font-size: 14px; line-height: 1.5; color: var(--mist); }
.sx-node-go { margin-inline-start: auto; flex: none; color: #FF8A8A; transition: transform .2s ease; }
.sx-node-go:dir(rtl) { transform: scaleX(-1); }
a.sx-node:is(:hover, :focus-visible) .sx-node-ico, .sx-node.is-hot .sx-node-ico { background: var(--red); color: var(--white); }
a.sx-node:is(:hover, :focus-visible) .sx-node-go { transform: translateX(4px); }
a.sx-node:is(:hover, :focus-visible) .sx-node-go:dir(rtl) { transform: scaleX(-1) translateX(4px); }


/* ------------------------------------------------------------------ */
/* Shared: family colours, numbered list beside a drawing               */
/* ------------------------------------------------------------------ */
.is-f0 { --fc: #E04848; --fb: rgba(165, 0, 0, .2); }
.is-f1 { --fc: var(--gold); --fb: rgba(212, 161, 46, .16); }
.is-f2 { --fc: #6E9FDB; --fb: rgba(110, 159, 219, .16); }
.is-f3 { --fc: #C9D6E6; --fb: rgba(201, 214, 230, .1); }

.sx-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--navy-700); }
.sx-list.is-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4, 24px); }
.sx-list > li { border-block-end: 1px solid var(--navy-700); }
.sx-node.is-row { align-items: center; padding: 14px 10px; transition: background .25s ease; }
.sx-node.is-row .sx-node-ico { inline-size: 36px; block-size: 36px; }
.sx-node.is-row .sx-node-ico .ico { inline-size: 20px; block-size: 20px; }
.sx-node.is-row .sx-node-title { font-size: 15px; }
.sx-node.is-row .sx-node-text { font-size: 13.5px; line-height: 1.45; }
a.sx-node.is-row:is(:hover, :focus-visible), .sx-node.is-row.is-hot { background: var(--navy-800); }
.sx-node.is-row.is-hot .sx-node-no { color: var(--white); }
.sx-dial-lead { margin: 0 0 var(--space-4, 24px); max-inline-size: 62ch; font-size: 16px; line-height: 1.6; color: var(--mist); }
.sx-motion .sx-list > li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease calc(500ms + var(--i) * 70ms), transform .45s ease calc(500ms + var(--i) * 70ms); }
.sx-motion .is-in .sx-list > li { opacity: 1; transform: none; }


/* ------------------------------------------------------------------ */
/* Selected projects                                                    */
/* ------------------------------------------------------------------ */
.sx-pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4, 24px); margin: 0; padding: 0; list-style: none; }
.sx-pj-card.is-feature { grid-column: span 2; grid-row: span 2; }
.sx-pj-grid.is-single .sx-pj-card.is-feature { grid-column: 1 / -1; grid-row: auto; }
.sx-pj-card a { display: flex; flex-direction: column; block-size: 100%; background: var(--white); border: 1px solid var(--steel-200); color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .25s ease; }
.sx-pj-card a:is(:hover, :focus-visible) { border-color: var(--navy-900); box-shadow: 0 14px 32px rgba(10, 22, 40, .12); }
.sx-pj-card a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sx-pj-img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.sx-pj-card.is-feature .sx-pj-img { aspect-ratio: auto; flex: 1; min-block-size: 320px; }
.sx-pj-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sx-pj-card a:is(:hover, :focus-visible) .sx-pj-img img { transform: scale(1.05); }
.sx-pj-img figcaption { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 10px; background: rgba(6, 17, 31, .82); color: var(--white); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.sx-pj-body { display: flex; flex-direction: column; gap: var(--space-2, 12px); padding: 18px 20px 20px; }
.sx-pj-country { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.sx-pj-country .ico { inline-size: 14px; block-size: 14px; }
.lp .lp-sec .sx-pj-body h3 { margin: 0; font-family: var(--f-card-title); font-size: var(--fs-card-title); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--navy-900); }
.sx-pj-card.is-feature .sx-pj-body h3 { font-size: var(--fs-card-title-lg, 24px); }
.lp-sec .sx-pj-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.sx-pj-body .lp-dl { margin: 0; }
.sx-pj-body .textlink { margin-block-start: auto; white-space: nowrap; }
.sx-pj-empty { margin-block-start: var(--flow-gap); }
.sx-motion .sx-pj-card { opacity: 0; transform: translateY(20px); transition: opacity .6s ease calc(var(--i) * 90ms), transform .6s ease calc(var(--i) * 90ms); }
.sx-motion .is-in .sx-pj-card { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Related applications                                                 */
/* ------------------------------------------------------------------ */
.sx-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3, 16px); margin: 0; padding: 0; list-style: none; }
.sx-rel-card { position: relative; display: flex; flex-direction: column; block-size: 100%; min-block-size: 210px; overflow: hidden; background: var(--navy-900); color: var(--white); text-decoration: none; isolation: isolate; }
.sx-rel-img { position: absolute; inset: 0; z-index: -2; }
.sx-rel-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sx-rel-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 31, .15) 0%, rgba(6, 17, 31, .92) 75%); transition: background .3s ease; }
.sx-rel-card.no-img { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px), var(--navy-900); }
.sx-rel-card:is(:hover, :focus-visible)::after { background: linear-gradient(180deg, rgba(165, 0, 0, .2) 0%, rgba(6, 17, 31, .95) 70%); }
.sx-rel-card:is(:hover, :focus-visible) .sx-rel-img img { transform: scale(1.06); }
.sx-rel-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sx-rel-body { display: flex; flex-direction: column; gap: 8px; margin-block-start: auto; padding: 18px; }
.sx-rel-ico { display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; background: var(--red); color: var(--white); }
.sx-rel-ico .ico { inline-size: 20px; block-size: 20px; }
.lp .lp-sec .sx-rel-body h3 { margin: 0; font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--white); }
.sx-rel-text { font-size: 13.5px; line-height: 1.45; color: var(--mist); }
.sx-rel-go { color: #FF8A8A; }
.sx-rel-go:dir(rtl) { transform: scaleX(-1); }
.sx-motion .sx-rel-grid > li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease calc(var(--i) * 60ms), transform .5s ease calc(var(--i) * 60ms); }
.sx-motion .is-in.sx-rel-grid > li { opacity: 1; transform: none; }


/* Caption under a drawing */
.sx-eco-caption { margin: var(--space-4, 24px) 0 0; max-inline-size: 70ch; font-size: 15px; line-height: 1.6; color: var(--mist); }

/* Node as a card (cantilever, booths, skywalk) */
.sx-node.is-card { flex-direction: column; block-size: 100%; padding: 18px 18px 16px; background: rgba(10, 26, 48, .9); border: 1px solid var(--navy-700); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.sx-node.is-card .sx-node-no { position: absolute; inset-block-start: 14px; inset-inline-end: 16px; }
.sx-node.is-card .sx-node-go { position: absolute; inset-block-end: 14px; inset-inline-end: 16px; }
.sx-node.is-card .sx-node-body { padding-inline-end: 18px; }
a.sx-node.is-card:is(:hover, :focus-visible), .sx-node.is-card.is-hot { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }

/* ------------------------------------------------------------------ */
/* Style 1 · court (sports halls and arenas)                            */
/* ------------------------------------------------------------------ */
.sx-ct-board { display: flex; align-items: center; justify-content: center; gap: var(--space-3, 16px); inline-size: fit-content; max-inline-size: 100%; margin: 0 auto var(--space-4, 24px); padding: 10px 18px; background: #050C17; border: 1px solid var(--navy-700); box-shadow: inset 0 0 0 3px #0B1A2E, 0 10px 30px rgba(0, 0, 0, .35); }
.sx-ct-team { font-family: var(--f-card-title); font-size: 14px; font-weight: var(--fw-card-title); letter-spacing: 1.5px; text-transform: var(--tt-card-title); color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-ct-team.is-away { color: var(--gold); }
.sx-ct-score { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: #000; color: #FF4D4D; font-size: 26px; font-weight: 700; line-height: 1; text-shadow: 0 0 10px rgba(255, 60, 60, .7); }
.sx-ct-score i { font-style: normal; color: var(--gold); text-shadow: 0 0 10px rgba(212, 161, 46, .7); }
.sx-ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr); gap: var(--space-5, 32px); align-items: center; }
.sx-ct-side { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sx-node.is-team-a, .sx-node.is-team-b { padding: 14px 14px; background: rgba(10, 26, 48, .9); border: 1px solid var(--navy-700); border-inline-start: 3px solid var(--red); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.sx-node.is-team-b { border-inline-start-color: var(--gold); }
.sx-node.is-team-a .sx-node-title, .sx-node.is-team-b .sx-node-title { font-size: 15.5px; }
.sx-node.is-team-a .sx-node-text, .sx-node.is-team-b .sx-node-text { font-size: 13.5px; line-height: 1.45; }
a.sx-node.is-team-a:is(:hover, :focus-visible), a.sx-node.is-team-b:is(:hover, :focus-visible), .sx-node.is-team-a.is-hot, .sx-node.is-team-b.is-hot { background: var(--navy-800); border-color: var(--red); transform: translateY(-2px); }
.sx-ct-floor { position: relative; }
.sx-ct-floor svg { display: block; inline-size: 100%; block-size: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .45)); }
.sx-ct-wood { fill: #B9773D; }
.sx-ct-floor svg { background: none; }
.sx-ct-line { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 2.5; }
.sx-ct-centre { fill: var(--red); opacity: .92; }
.sx-ct-hoop { fill: none; stroke: #FF7A1A; stroke-width: 3; }
.sx-ct-pass { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-dasharray: 2 4; }
.sx-ct-mk circle { fill: var(--navy-950); stroke: var(--white); stroke-width: 2; transition: fill .25s ease, transform .25s ease; transform-box: fill-box; transform-origin: center; }
.sx-ct-mk.is-b circle { fill: #3A2A06; stroke: var(--gold); }
.sx-ct-mk text { font: 700 12px/1 var(--f-mono); fill: var(--white); text-anchor: middle; dominant-baseline: central; }
.sx-ct-mk.is-hot circle { fill: var(--red); transform: scale(1.25); }
.sx-ct-ball { fill: #FF7A1A; stroke: #5A2400; stroke-width: 1; opacity: 0; }
.sx-ct-floor.is-playing .sx-ct-ball { opacity: 1; }
.sx-ct-label { position: absolute; inset-inline: 0; inset-block-start: 50%; transform: translateY(-50%); padding-inline: 36%; text-align: center; font-family: var(--f-card-title); font-size: 11px; font-weight: var(--fw-card-title); letter-spacing: 1px; line-height: 1.1; text-transform: var(--tt-card-title); color: var(--white); pointer-events: none; }
.sx-motion .sx-ct-line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.3, .6, .2, 1) .1s; }
.sx-motion .sx-ct-mk { opacity: 0; transform: translateY(-10px); transition: opacity .4s ease calc(900ms + var(--i) * 110ms), transform .4s ease calc(900ms + var(--i) * 110ms); }
.sx-motion .sx-ct-centre, .sx-motion .sx-ct-label { opacity: 0; transition: opacity .6s ease .8s; }
.sx-motion .sx-ct-side > li { opacity: 0; transform: translateY(12px); transition: opacity .45s ease calc(400ms + var(--i) * 80ms), transform .45s ease calc(400ms + var(--i) * 80ms); }
.sx-motion .sx-ct-board { opacity: 0; transform: translateY(-8px); transition: opacity .5s ease, transform .5s ease; }
.sx-motion .is-in .sx-ct-line { stroke-dashoffset: 0; }
.sx-motion .is-in .sx-ct-mk { opacity: 1; transform: none; }
.sx-motion .is-in .sx-ct-centre { opacity: .92; }
.sx-motion .is-in .sx-ct-label, .sx-motion .is-in .sx-ct-board { opacity: 1; transform: none; }
.sx-motion .is-in .sx-ct-side > li { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Style 2 · cantilever (grandstand roofs)                              */
/* ------------------------------------------------------------------ */
.sx-cl-vis { position: relative; padding: 10px 0 0; }
.sx-cl-vis svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.sx-cl-vis svg:dir(rtl) { transform: scaleX(-1); }
.sx-cl-ground { stroke: #8FA6C2; stroke-width: 2; }
.sx-cl-field { fill: #1E6B3A; }
.sx-cl-tier { fill: rgba(30, 60, 98, .55); stroke: #2E5583; stroke-width: 1; }
.sx-cl-anchor { fill: #8FA6C2; }
.sx-cl-fan { fill: #6E9FDB; opacity: .55; }
.sx-cl-column { fill: #C9D6E6; }
.sx-cl-stay { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 100; stroke-dashoffset: 0; }
.sx-cl-girder { fill: rgba(165, 0, 0, .28); stroke: #E04848; stroke-width: 3; stroke-linejoin: round; }
.sx-cl-web { stroke: #E04848; stroke-width: 2; opacity: .8; }
.sx-cl-wind { fill: none; stroke: rgba(201, 214, 230, .45); stroke-width: 2; stroke-dasharray: 16 14; stroke-linecap: round; }
.sx-cl-dim { stroke: rgba(201, 214, 230, .6); stroke-width: 1.5; }
.sx-cl-hanger { stroke: rgba(212, 161, 46, .7); stroke-width: 1.5; stroke-dasharray: 3 4; transition: stroke .25s ease; }
.sx-cl-hanger.is-hot { stroke: var(--white); }
.sx-cl-reach { position: absolute; inset-block-start: calc(40 / 440 * 100% - 10px); inset-inline-start: 50%; transform: translate(-36%, -50%); padding: 3px 12px; background: var(--navy-950); border: 1px solid rgba(201, 214, 230, .6); font-family: var(--f-card-title); font-size: 13px; font-weight: var(--fw-card-title); letter-spacing: 1.5px; text-transform: var(--tt-card-title); color: var(--white); white-space: nowrap; }
.sx-cl-reach:dir(rtl) { transform: translate(36%, -50%); }
.sx-cl-joint { position: absolute; inset-inline-start: var(--x); inset-block-start: var(--y); display: grid; place-items: center; inline-size: 30px; block-size: 30px; margin-inline-start: -15px; margin-block-start: -15px; border: 2px solid var(--white); border-radius: 50%; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; box-shadow: 0 0 0 4px rgba(165, 0, 0, .25); transition: transform .25s ease, background .25s ease; }
.sx-cl-joint.is-hot { background: var(--gold); color: var(--navy-950); transform: scale(1.2); }
.sx-cl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3, 16px); margin: var(--space-5, 32px) 0 0; padding: 0; list-style: none; }
.sx-motion .sx-cl-tier, .sx-motion .sx-cl-fan { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 80ms); }
.sx-motion .sx-cl-fan { transform: scale(0); transform-origin: center; transition-delay: calc(700ms + var(--i) * 80ms); }
.sx-motion .sx-cl-column { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform .6s ease .5s; }
.sx-motion .sx-cl-stay { stroke-dashoffset: 100; transition: stroke-dashoffset .6s ease .9s; }
.sx-motion .sx-cl-girder, .sx-motion .sx-cl-web { transform: scaleX(0); transform-box: view-box; transform-origin: 170px 110px; transition: transform 1s cubic-bezier(.3, .6, .2, 1) 1.1s; }
.sx-motion .sx-cl-joint, .sx-motion .sx-cl-hanger { opacity: 0; transition: opacity .35s ease calc(1900ms + var(--i) * 90ms), transform .25s ease, background .25s ease; }
.sx-motion .sx-cl-reach, .sx-motion .sx-cl-dim { opacity: 0; transition: opacity .5s ease 2.2s; }
.sx-motion .sx-cl-cards > li { opacity: 0; transform: translateY(14px); transition: opacity .45s ease calc(600ms + var(--i) * 70ms), transform .45s ease calc(600ms + var(--i) * 70ms); }
.sx-motion .is-in .sx-cl-tier, .sx-motion .is-in .sx-cl-fan, .sx-motion .is-in .sx-cl-column, .sx-motion .is-in .sx-cl-girder, .sx-motion .is-in .sx-cl-web { transform: none; }
.sx-motion .is-in .sx-cl-stay { stroke-dashoffset: 0; }
.sx-motion .is-in .sx-cl-joint, .sx-motion .is-in .sx-cl-hanger, .sx-motion .is-in .sx-cl-reach, .sx-motion .is-in .sx-cl-dim { opacity: 1; }
.sx-motion .is-in .sx-cl-cards > li { opacity: 1; transform: none; }
.sx-motion .is-in .sx-cl-wind { animation: sx-wind 3.5s linear 2.4s infinite; }
@keyframes sx-wind { to { stroke-dashoffset: -60; } }

/* ------------------------------------------------------------------ */
/* Style 3 · booths (exhibition and convention centres)                 */
/* ------------------------------------------------------------------ */
.sx-bt-hall { position: relative; display: grid; gap: 18px; padding: 40px 24px; background-color: #0A1626; background-image: linear-gradient(rgba(140, 170, 210, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 210, .05) 1px, transparent 1px); background-size: 32px 32px; border: 2px solid #2B4A73; }
.sx-bt-door { position: absolute; inset-inline-start: 50%; transform: translateX(-50%); padding: 4px 14px; background: var(--navy-950); border: 1px solid var(--gold); color: var(--gold); font-family: var(--f-card-title); font-size: 12px; letter-spacing: 2px; text-transform: var(--tt-card-title); white-space: nowrap; }
.sx-bt-door:dir(rtl) { transform: translateX(50%); }
.sx-bt-door.is-in { inset-block-start: -14px; }
.sx-bt-door.is-out { inset-block-end: -14px; border-color: #6E9FDB; color: #9CC0EC; }
.sx-bt-row { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; --cols: 6; }
.sx-bt-stand { position: relative; display: flex; flex-direction: column; grid-column: span 1; min-block-size: 170px; background: #13263F; border: 1px solid #2E5583; border-block-start: 4px solid var(--red); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sx-bt-stand.is-wide { grid-column: span 2; }
.sx-bt-row:nth-of-type(2) .sx-bt-stand, .sx-bt-hall > .sx-bt-row:last-of-type .sx-bt-stand { border-block-start-color: var(--gold); }
.sx-bt-no { padding: 8px 12px 0; font-size: 11px; letter-spacing: 1px; color: #8FB3E0; }
.sx-node.is-stand { flex: 1; flex-direction: column; gap: 8px; padding: 8px 12px 14px; }
.sx-node.is-stand .sx-node-no { position: absolute; inset-block-start: 8px; inset-inline-end: 10px; }
.sx-node.is-stand .sx-node-go { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; }
.sx-node.is-stand .sx-node-title { font-size: 15px; padding-inline-end: 10px; }
.sx-node.is-stand .sx-node-text { font-size: 13px; line-height: 1.45; }
.sx-bt-stand:has(a.sx-node:is(:hover, :focus-visible)), .sx-bt-stand:has(.is-hot) { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 16px 32px rgba(0, 0, 0, .4), 0 0 0 1px var(--red); }
.sx-bt-aisle { display: grid; place-items: center; padding-block: 12px; background: repeating-linear-gradient(90deg, rgba(212, 161, 46, .35) 0 18px, transparent 18px 30px) center / 100% 2px no-repeat; }
.sx-bt-island { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; max-inline-size: 640px; padding: 20px 28px; text-align: center; color: var(--white); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 12px), linear-gradient(135deg, var(--red) 0%, var(--red-700, #7d0000) 100%); box-shadow: 0 18px 40px rgba(165, 0, 0, .3); }
.sx-bt-island strong { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.05; letter-spacing: .5px; text-transform: uppercase; }
.sx-bt-island span:not(.sx-bt-here) { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.sx-bt-here { position: absolute; inset-block-start: -12px; inset-inline-start: 16px; padding: 2px 10px; background: var(--white); color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.sx-motion .sx-bt-stand { opacity: .15; filter: grayscale(1); transition: opacity .4s ease calc(300ms + var(--i) * 120ms), filter .4s ease calc(300ms + var(--i) * 120ms), transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sx-motion .sx-bt-island { opacity: 0; transform: scale(.94); transition: opacity .5s ease 1.4s, transform .5s ease 1.4s; }
.sx-motion .is-in .sx-bt-stand { opacity: 1; filter: none; }
.sx-motion .is-in .sx-bt-island { opacity: 1; transform: none; }
.sx-motion .is-in .sx-bt-here { animation: sx-blink 1.6s ease-in-out 2s infinite; }
@keyframes sx-blink { 50% { opacity: .55; } }

/* ------------------------------------------------------------------ */
/* Style 4 · ticket (event and multi-use venues)                        */
/* ------------------------------------------------------------------ */
.sx-tk-pass { position: relative; display: flex; flex-direction: column; gap: 6px; max-inline-size: 760px; margin: 0 auto var(--space-5, 32px); padding: 22px 28px 22px 34px; overflow: hidden; color: var(--white); background: linear-gradient(110deg, var(--red) 0%, #6E0000 60%, #3A0A0A 100%); border-radius: 12px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.sx-tk-pass::before, .sx-tk-pass::after { content: ""; position: absolute; inset-block-start: 50%; inline-size: 26px; block-size: 26px; margin-block-start: -13px; border-radius: 50%; background: var(--navy-900, #0B1A2E); }
.sx-tk-pass::before { inset-inline-start: -13px; }
.sx-tk-pass::after { inset-inline-end: -13px; }
.sx-tk-kicker { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.sx-tk-pass strong { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.05; letter-spacing: .5px; text-transform: uppercase; }
.sx-tk-pass-text { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-inline-size: 56ch; }
.sx-tk-holo { position: absolute; inset-block: 0; inset-inline-start: -40%; inline-size: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); transform: skewX(-18deg); pointer-events: none; }
.sx-tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin: 0; padding: 0; list-style: none; }
.sx-tk-item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); min-block-size: 132px; background: #F4EFE3; color: var(--navy-900); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
.sx-tk-item:nth-child(4n + 2), .sx-tk-item:nth-child(4n + 3) { background: #EDE6D3; }
.sx-tk-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; background: var(--navy-950); color: var(--white); border-start-start-radius: 10px; border-end-start-radius: 10px; border-inline-end: 2px dashed rgba(244, 239, 227, .7); }
.sx-tk-admit { font-family: var(--f-card-title); font-size: 10px; letter-spacing: 1.5px; text-align: center; text-transform: var(--tt-card-title); color: var(--gold); }
.sx-tk-num { font-size: 30px; font-weight: 700; line-height: 1; color: var(--white); }
.sx-tk-gate { font-size: 10px; letter-spacing: 1px; color: #9CC0EC; white-space: nowrap; }
.sx-tk-main { position: relative; display: flex; flex-direction: column; padding: 14px 16px 12px; }
.sx-node.is-ticket { flex: 1; color: var(--navy-900); }
.sx-node.is-ticket .sx-node-no { display: none; }
.sx-node.is-ticket .sx-node-ico { background: var(--navy-900); color: var(--white); }
.sx-node.is-ticket .sx-node-title { color: var(--navy-900); }
.sx-node.is-ticket .sx-node-text { color: var(--ink-2, #3A4757); }
.sx-node.is-ticket .sx-node-go { color: var(--red); }
a.sx-node.is-ticket:focus-visible { outline-color: var(--red); }
.sx-tk-bar { display: flex; align-items: stretch; gap: 2px; block-size: 18px; margin-block-start: 10px; opacity: .8; }
.sx-tk-bar i { inline-size: calc(var(--w) * 1.5px); background: var(--navy-900); }
.sx-tk-item:has(a.sx-node:is(:hover, :focus-visible)), .sx-tk-item.is-hot { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 22px 40px rgba(0, 0, 0, .45), 0 0 0 2px var(--red); }
.sx-motion .sx-tk-item { opacity: 0; transform: translateY(40px) rotate(calc((var(--i) - 3.5) * 2deg)); transition: opacity .5s ease calc(300ms + var(--i) * 90ms), transform .6s cubic-bezier(.2, .7, .2, 1) calc(300ms + var(--i) * 90ms), box-shadow .3s ease; }
.sx-motion .sx-tk-pass { opacity: 0; transform: translateY(-14px); transition: opacity .5s ease, transform .5s ease; }
.sx-motion .is-in .sx-tk-item { opacity: 1; transform: none; }
.sx-motion .is-in .sx-tk-item:has(a.sx-node:is(:hover, :focus-visible)), .sx-motion .is-in .sx-tk-item.is-hot { transform: translateY(-6px) rotate(-1deg); transition-delay: 0s; }
.sx-motion .is-in .sx-tk-pass { opacity: 1; transform: none; }
.sx-motion .is-in .sx-tk-holo { animation: sx-holo 4s ease-in-out 1.2s infinite; }
@keyframes sx-holo { 0% { inset-inline-start: -40%; } 60%, 100% { inset-inline-start: 120%; } }

/* ------------------------------------------------------------------ */
/* Style 5 · fandeck (architectural and exposed steel)                  */
/* ------------------------------------------------------------------ */
.sx-c0 { --chip: #A50000; --ink: #fff; }
.sx-c1 { --chip: #D4A12E; --ink: #1B1405; }
.sx-c2 { --chip: #5E6B78; --ink: #fff; }
.sx-c3 { --chip: #8B4A22; --ink: #fff; }
.sx-c4 { --chip: #1F3D63; --ink: #fff; }
.sx-c5 { --chip: #E9E4D8; --ink: #1B2533; }
.sx-c6 { --chip: #2F7A55; --ink: #fff; }
.sx-c7 { --chip: #1A1F27; --ink: #fff; }
.sx-fd { display: grid; grid-template-columns: minmax(300px, 460px) minmax(0, 1fr); gap: var(--space-6, 40px); align-items: center; }
.sx-fd > .sx-eco-caption { grid-column: 1 / -1; }
.sx-fd-vis { position: relative; display: grid; justify-items: center; padding-block-start: 20px; }
.sx-fd-deck { position: relative; inline-size: min(100%, 420px); aspect-ratio: 420 / 300; }
.sx-fd-chip { position: absolute; inset-block-end: 14px; inset-inline-start: calc(50% - 26px); display: flex; flex-direction: column; justify-content: space-between; inline-size: 52px; block-size: 92%; padding: 10px 0 44px; background: var(--chip); color: var(--ink); border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px 6px 26px 26px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transform-origin: 50% calc(100% - 26px); transform: rotate(var(--a)); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; text-align: center; }
.sx-fd-chip b { font-size: 12px; font-weight: 700; letter-spacing: .5px; writing-mode: vertical-rl; transform: rotate(180deg); margin-inline: auto; }
.sx-fd-chip em { font-size: 11px; font-style: normal; opacity: .85; }
.sx-fd-chip.is-hot { transform: rotate(var(--a)) translateY(-18px); box-shadow: 0 14px 30px rgba(0, 0, 0, .5), 0 0 0 2px var(--white); z-index: 2; }
.sx-fd-pivot { position: absolute; inset-block-end: 28px; inset-inline-start: calc(50% - 11px); inline-size: 22px; block-size: 22px; border-radius: 50%; background: radial-gradient(circle, #E9EEF5 0 30%, #8FA6C2 32% 60%, #3A4C63 62%); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); z-index: 3; }
.sx-fd-label { margin-block-start: 10px; padding: 4px 14px; border: 1px solid rgba(201, 214, 230, .5); font-family: var(--f-card-title); font-size: 13px; font-weight: var(--fw-card-title); letter-spacing: 1.5px; text-transform: var(--tt-card-title); color: var(--white); }
.sx-fd-list > li { border-inline-start: 6px solid var(--chip); }
.sx-node.is-chip .sx-node-ico { background: var(--chip); color: var(--ink); }
.sx-motion .sx-fd-chip { transform: rotate(0deg); transition-delay: calc(300ms + var(--i) * 90ms); }
.sx-motion .is-in .sx-fd-chip { transform: rotate(var(--a)); }
.sx-motion .is-in .sx-fd-chip.is-hot { transform: rotate(var(--a)) translateY(-18px); transition-delay: 0s; }

/* ------------------------------------------------------------------ */
/* Style 6 · skywalk (concourses, links and canopies)                   */
/* ------------------------------------------------------------------ */
.sx-sw { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; align-items: end; padding-block-start: 20px; }
.sx-sw > .sx-eco-caption { grid-column: 1 / -1; }
.sx-sw-tower { position: relative; align-self: stretch; min-block-size: 360px; background: repeating-linear-gradient(180deg, rgba(110, 159, 219, .28) 0 14px, transparent 14px 26px) 14px 18px / calc(100% - 28px) calc(100% - 36px) no-repeat, linear-gradient(180deg, #1F3D63, #13263F); border: 1px solid #2E5583; }
.sx-sw-tower.is-start { border-inline-end: 4px solid var(--red); }
.sx-sw-tower.is-end { border-inline-start: 4px solid var(--gold); }
.sx-sw-tower-label { position: absolute; inset-inline: 6px; inset-block-start: 10px; padding: 6px 4px; background: var(--navy-950); text-align: center; font-family: var(--f-card-title); font-size: 12px; font-weight: var(--fw-card-title); letter-spacing: 1px; line-height: 1.15; text-transform: var(--tt-card-title); color: var(--white); }
.sx-sw-bridge { position: relative; margin-block-end: 70px; padding: 16px 0 0; }
.sx-sw-roof { position: absolute; inset-inline: -6px; inset-block-start: 0; block-size: 12px; background: linear-gradient(180deg, #C9D6E6, #8FA6C2); clip-path: polygon(0 100%, 2% 0, 98% 0, 100% 100%); }
.sx-sw-bays { display: grid; grid-template-columns: repeat(var(--bays), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 4px solid #C9D6E6; background: linear-gradient(180deg, rgba(110, 159, 219, .14), rgba(110, 159, 219, .04)); }
.sx-sw-bay { position: relative; display: flex; border-inline-start: 3px solid #C9D6E6; }
.sx-sw-bay:last-child { border-inline-end: 3px solid #C9D6E6; }
.sx-sw-bay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(201, 214, 230, .08) 50%, transparent calc(50% + 1px)); pointer-events: none; }
.sx-node.is-bay { flex: 1; flex-direction: column; gap: 8px; padding: 14px 12px 16px; transition: background .25s ease; }
.sx-node.is-bay .sx-node-no { font-size: 11px; }
.sx-node.is-bay .sx-node-title { font-size: 14.5px; }
.sx-node.is-bay .sx-node-text { font-size: 12.5px; line-height: 1.45; }
.sx-node.is-bay .sx-node-go { margin-inline-start: 0; margin-block-start: auto; }
a.sx-node.is-bay:is(:hover, :focus-visible), .sx-node.is-bay.is-hot { background: rgba(165, 0, 0, .35); }
.sx-sw-deck { position: relative; display: block; block-size: 16px; background: linear-gradient(180deg, #8FA6C2, #4A5E78); }
.sx-sw-deck::after { content: ""; position: absolute; inset-inline: 18%; inset-block-start: 16px; block-size: 54px; background: linear-gradient(90deg, transparent 0 calc(50% - 8px), #6F829A calc(50% - 8px) calc(50% + 8px), transparent calc(50% + 8px)); }
.sx-sw-walker { position: absolute; inset-block-start: -10px; inset-inline-start: 0; inline-size: 8px; block-size: 10px; border-radius: 4px 4px 1px 1px; background: var(--white); opacity: 0; }
.sx-sw-walker.is-gold { background: var(--gold); }
.sx-motion .sx-sw-bay { opacity: .2; transition: opacity .4s ease calc(400ms + var(--i) * 140ms); }
.sx-motion .sx-sw-tower { transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sx-motion .sx-sw-tower.is-end { transition-delay: .2s; }
.sx-motion .is-in .sx-sw-bay { opacity: 1; }
.sx-motion .is-in .sx-sw-tower { transform: none; }
.sx-motion .is-in .sx-sw-walker { animation: sx-walk 9s linear calc(1.6s + var(--d)) infinite; }
@keyframes sx-walk { 0% { inset-inline-start: 0; opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } 100% { inset-inline-start: calc(100% - 8px); opacity: 0; } }

/* ------------------------------------------------------------------ */
/* Tablets and phones                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 1099px) {
  .sx-pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-pj-card.is-feature { grid-column: 1 / -1; grid-row: auto; }
  .sx-ct-grid { grid-template-columns: minmax(0, 1fr) minmax(200px, 250px) minmax(0, 1fr); gap: var(--space-4, 24px); }
  .sx-ct-side .sx-node-text { display: none; }
  .sx-cl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-bt-row { --cols: 4; }
  .sx-bt-stand.is-wide { grid-column: span 2; }
  .sx-fd { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: var(--space-5, 32px); }
  .sx-sw-bays { grid-template-columns: repeat(var(--bays), minmax(0, 1fr)); }
  .sx-node.is-bay .sx-node-text { display: none; }
  .sx-sw { grid-template-columns: 70px minmax(0, 1fr) 70px; }
  .sx-sw-tower-label { font-size: 10px; }
}
@media (max-width: 899px) {
  /* Court: the floor first, then both teams */
  .sx-ct-grid { grid-template-columns: minmax(0, 1fr); }
  .sx-ct-floor { order: -1; inline-size: min(100%, 260px); margin-inline: auto; }
  .sx-ct-side .sx-node-text { display: block; }
  .sx-cl-joint { inline-size: 24px; block-size: 24px; margin-inline-start: -12px; margin-block-start: -12px; font-size: 10px; border-width: 1.5px; }
  .sx-cl-reach { font-size: 11px; padding: 2px 8px; }
  .sx-bt-row { --cols: 2; }
  .sx-tk-grid { grid-template-columns: minmax(0, 1fr); }
  .sx-fd { grid-template-columns: minmax(0, 1fr); }
  /* Skywalk: the bridge turns vertical between the two buildings */
  .sx-sw { grid-template-columns: minmax(0, 1fr); padding-inline: 18px; }
  .sx-sw-tower { min-block-size: 0; block-size: 56px; }
  .sx-sw-tower.is-start { border-inline-end-width: 1px; border-block-end: 4px solid var(--red); }
  .sx-sw-tower.is-end { border-inline-start-width: 1px; border-block-start: 4px solid var(--gold); }
  .sx-sw-tower-label { inset-block-start: 50%; transform: translateY(-50%); font-size: 12px; }
  .sx-sw-bridge { margin: 0; padding: 0; }
  .sx-sw-roof, .sx-sw-deck { display: none; }
  .sx-sw-bays { grid-template-columns: minmax(0, 1fr); border-block: 0; border-inline: 4px solid #C9D6E6; }
  .sx-sw-bay, .sx-sw-bay:last-child { border-inline: 0; border-block-end: 3px solid #C9D6E6; }
  .sx-node.is-bay { flex-direction: row; align-items: flex-start; }
  .sx-node.is-bay .sx-node-text { display: block; }
  .sx-node.is-bay .sx-node-go { margin-inline-start: auto; margin-block-start: 0; }
  .sx-motion .sx-sw-tower { transform: none; }
}
@media (max-width: 719px) {
  .sx-eco-stage { margin-block-start: var(--space-5, 32px); }
  .sx-pj-grid { grid-template-columns: minmax(0, 1fr); }
  .sx-pj-card.is-feature .sx-pj-img { min-block-size: 0; aspect-ratio: 4 / 3; flex: none; }
  /* Related applications: one row that swipes sideways */
  .sx-rel-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); scrollbar-width: thin; }
  .sx-rel-grid > li { flex: 0 0 72%; scroll-snap-align: start; }
  .sx-ct-score { font-size: 20px; }
  .sx-ct-team { font-size: 12px; letter-spacing: 1px; }
  .sx-cl-cards { grid-template-columns: minmax(0, 1fr); }
  .sx-cl-joint { inline-size: 18px; block-size: 18px; margin-inline-start: -9px; margin-block-start: -9px; font-size: 8px; box-shadow: none; }
  .sx-cl-reach { display: none; }
  .sx-bt-hall { padding: 30px 12px; }
  .sx-bt-row { --cols: 1; }
  .sx-bt-stand, .sx-bt-stand.is-wide { grid-column: auto; min-block-size: 0; }
  .sx-bt-island { padding: 20px 16px; }
  .sx-tk-item { grid-template-columns: 74px minmax(0, 1fr); }
  .sx-tk-num { font-size: 24px; }
  .sx-tk-pass { padding: 20px 22px 20px 26px; }
  .sx-fd-chip { inline-size: 40px; inset-inline-start: calc(50% - 20px); transform-origin: 50% calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .sx-node.is-row, .sx-node.is-card, .sx-node-ico, .sx-node-go, .sx-ct-mk circle, .sx-cl-joint, .sx-cl-hanger, .sx-bt-stand, .sx-tk-item, .sx-fd-chip, .sx-node.is-bay, .sx-pj-img img, .sx-pj-card a, .sx-rel-img img, .sx-rel-card::after { transition: none; }
  .sx-cl-wind, .sx-ct-ball, .sx-bt-here, .sx-tk-holo, .sx-sw-walker { animation: none; }
}
