/* Tournaments. Scoped under .pg-tour; loaded after the inline base CSS. */
.pg-tour { --tr-gold: #e9c46f; --tr-blue: #3fa9ff; --tr-tx: #eef1f6; --tr-mut: #9aa4b5; --tr-line: #ffffff14; background: #0b0f17; color: var(--tr-tx); font-family: Archivo, sans-serif; }
.pg-tour a { color: inherit; text-decoration: none; }
:where(.pg-tour) :where(h1, h2, h3, p) { margin: 0; } /* zero specificity: element rules below set their own margins */

/* hero: the neon-panel Stadium 4.0 art, full bleed; the schedule sits on its lower edge */
.tr-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: end; min-height: clamp(560px, calc(100svh - 70px), 760px); }
.tr-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.tr-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 9 16 / .95) 0%, rgb(6 9 16 / .8) 34%, rgb(6 9 16 / .25) 62%, rgb(6 9 16 / .1) 100%), linear-gradient(0deg, #0b0f17 2%, rgb(11 15 23 / .7) 26%, rgb(11 15 23 / 0) 48%); }
.tr-hero-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 32px 40px; box-sizing: border-box; }
.tr-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c9d0db; }
.tr-state.is-open { color: var(--tr-gold); }
.tr-state span { color: var(--tr-mut); font-weight: 500; letter-spacing: .12em; }
.tr-hero h1 { margin-top: 4px; font: 800 clamp(84px, 10vw, 150px)/.84 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: #f6eedd; }
.tr-hero h1 span { color: var(--tr-gold); }
.tr-lede { max-width: 560px; margin-top: 20px; font-size: 17px; line-height: 1.5; color: #d6dce6; }
.tr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.tr-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 4px; font: 700 15px/1 Archivo, sans-serif; transition: background .18s ease, color .18s ease; }
.pg-tour .tr-btn-primary { color: #11141a; background: var(--tr-gold); }
.pg-tour .tr-btn-primary:hover { background: #f4d68c; }
.tr-btn-quiet { padding: 0 4px; color: var(--tr-tx); }
.tr-btn-quiet svg { color: var(--tr-gold); }
.tr-btn-quiet:hover { color: var(--tr-gold); }
.pg-tour .tr-btn-outline { color: var(--tr-gold); border: 1.5px solid var(--tr-gold); }
.pg-tour .tr-btn-outline:hover { color: #11141a; background: var(--tr-gold); }
.tr-agree { margin-top: 14px; color: var(--tr-mut); font-size: 13px; }
.tr-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 1240px; margin: 0 auto 0; padding: 0 32px 40px; box-sizing: border-box; gap: 0; }
.tr-timeline li { position: relative; padding: 18px 24px 0 0; border-top: 2px solid #ffffff26; }
.tr-timeline li:first-child { border-top-color: var(--tr-gold); }
.tr-timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #0b0f17; border: 2px solid #ffffff60; }
.tr-timeline li:first-child::before { border-color: var(--tr-gold); background: var(--tr-gold); }
.tr-when { display: block; color: var(--tr-mut); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tr-timeline b { display: block; margin-top: 6px; font: 700 26px/1.1 'Big Shoulders Display', sans-serif; color: #fff; }
.tr-timeline small { display: block; margin-top: 6px; color: #b5bdca; font-size: 13px; line-height: 1.45; }

/* trailer under the hero, with two sentences of what to expect */
.tr-watch, .tr-facts, .tr-rules, .tr-history { max-width: 1240px; margin: 0 auto; padding: 80px 32px 0; box-sizing: border-box; }
.tr-watch { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 56px; align-items: center; }
.tr-watch.is-text { grid-template-columns: minmax(0, 760px); } /* signed-in members: no trailer, just the two sentences */
.tr-expect h2, .tr-head h2, .tr-rules h2 { font: 800 clamp(32px, 3.2vw, 44px)/1 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: #f6eedd; }
.tr-expect p { margin-top: 16px; color: #ced5e0; font-size: 16px; line-height: 1.6; }

/* facts: three columns, no boxes; hierarchy by size */
.tr-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.tr-fact { padding-top: 22px; border-top: 1px solid var(--tr-line); }
.tr-fact h2 { color: var(--tr-gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tr-fact p { margin-top: 10px; color: #c3cad6; font-size: 15px; line-height: 1.5; }
.tr-fact p b { color: var(--tr-tx); }
.tr-big { font: 800 72px/1 'Big Shoulders Display', sans-serif !important; color: #fff !important; }
.tr-steps, .tr-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: #c3cad6; font-size: 14px; line-height: 1.45; }
.tr-steps b { display: block; color: var(--tr-tx); font-size: 16px; }
.tr-steps { counter-reset: step; }
.tr-steps li { position: relative; padding-left: 34px; counter-increment: step; }
.tr-steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 1px; color: var(--tr-gold); font: 700 15px 'Big Shoulders Display', sans-serif; }
.tr-list li { padding-left: 18px; position: relative; }
.tr-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 2px; background: var(--tr-gold); }
.tr-rules { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; }
.tr-rules p { margin-top: 8px; color: var(--tr-mut); font-size: 15px; }
.tr-rules-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tr-link { color: var(--tr-gold) !important; font-weight: 600; font-size: 14px; border-bottom: 1px solid #e9c46f55; }

/* hall of history: tall cards, event art, the champion big */
.tr-history { padding-bottom: 64px; }
.tr-history[hidden] { display: none; }
.tr-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.tr-head p { color: var(--tr-mut); font-size: 14px; }
.tr-past-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tr-past { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: end; min-height: 420px; border-radius: 6px; background: #151a24; transition: transform .25s ease, box-shadow .25s ease; }
.tr-past.is-loading { pointer-events: none; }
.tr-past img { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: 62%; object-fit: cover; transition: transform .5s ease; }
.tr-past::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #121722 44%, rgb(18 23 34 / .6) 64%, rgb(18 23 34 / 0) 86%); }
.tr-past:not(.is-loading):hover { transform: translateY(-5px); box-shadow: 0 24px 40px -24px #000; }
.tr-past:hover img { transform: scale(1.04); }
.tr-past-body { padding: 22px; }
.tr-past-event { color: var(--tr-mut); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tr-past-label { margin-top: 14px !important; color: var(--tr-gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tr-past h3 { margin-top: 4px; font: 800 36px/1 'Big Shoulders Display', sans-serif; color: #fff; overflow-wrap: anywhere; }
.tr-past-result { margin-top: 8px !important; color: #d0d6e0; font-size: 14px; }
.tr-past-meta { margin-top: 4px !important; color: var(--tr-mut); font-size: 12px; }
.tr-past-go { display: inline-block; margin-top: 18px; color: var(--tr-gold); font-weight: 600; font-size: 14px; }
.tr-disclaimer { max-width: 1240px; margin: 0 auto; padding: 0 32px 40px; box-sizing: border-box; color: #6c7688; font-size: 12px; }
.pg-tour :is(a, button):focus-visible { outline: 2px solid var(--tr-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tr-past, .tr-past img, .tr-btn { transition: none; } .tr-past:hover, .tr-past:hover img { transform: none; } }

@media (max-width: 1080px) {
  .tr-watch { grid-template-columns: 1fr; gap: 28px; }
  .tr-facts { grid-template-columns: 1fr; gap: 28px; }
  .tr-past-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tr-hero { min-height: 0; }
  .tr-hero-art { height: 360px; object-position: 70% 50%; }
  .tr-hero::after { background: linear-gradient(0deg, #0b0f17 46%, rgb(11 15 23 / .75) 66%, rgb(11 15 23 / .1) 100%); }
  .tr-hero-in { padding: 170px 20px 26px; }
  .tr-hero h1 { font-size: 78px; }
  .tr-lede { font-size: 15px; }
  .tr-state { font-size: 11px; }
  .tr-actions { gap: 10px 18px; margin-top: 22px; }
  .tr-btn { min-height: 46px; font-size: 14px; padding: 0 20px; }
  .tr-timeline { grid-template-columns: 1fr; padding: 0 20px 28px; gap: 18px; }
  .tr-timeline li { border-top: 0; border-left: 2px solid #ffffff26; padding: 0 0 0 18px; }
  .tr-timeline li:first-child { border-left-color: var(--tr-gold); }
  .tr-timeline li::before { top: 2px; left: -6px; }
  .tr-timeline b { font-size: 22px; }
  .tr-watch, .tr-facts, .tr-rules, .tr-history { padding: 52px 20px 0; }
  .tr-rules { display: block; }
  .tr-rules-actions { margin-top: 18px; }
  .tr-head { display: block; }
  .tr-head p { margin-top: 8px; }
  .tr-past-grid { grid-template-columns: 1fr; gap: 12px; }
  .tr-past { min-height: 300px; }
  .tr-history { padding-bottom: 44px; }
  .tr-disclaimer { padding: 0 20px 32px; }
}
