/* Horta display font — file: assets/fonts/horta-demo.png */
@font-face {
  font-family: 'Horta';
  src: url('fonts/horta-demo.png');
  font-weight: 700 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --dark:   #1A1A1A;
  --dark-2: #222;
  --dark-3: #2E2E2E;
  --dark-gold: #2f2610;
  --dark-gold-2: #3a2e12;

  --gold:   #e7cc3d;
  --gold-2: #f2dc6e;
  --gold-dim:#b39a2a;
  --gold-3: #c9a91e;

  --bg:     #F5F7FA;
  --card:   #FFFFFF;
  --line:   #E4E9F1;
  --line-2: #EDF1F7;
  --ink:    #111111;
  --mut:    #5B6683;
  --ok:     #13A35A;
  --red:    #E4143C;

  --link:   #B0C1D4;
}

*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{
  font:17px/1.55 'Barlow',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.disp{
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;
  font-style:italic;
  text-transform:uppercase;
  line-height:.98;
  letter-spacing:.005em;
  color:var(--dark);
}
a{color:inherit}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 22px}

/* -------------------- header -------------------- */
.top{
  background:var(--dark);
  color:#fff;
  position:sticky;
  top:0;
  z-index:20;
}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:62px}
.brand{
  font-family:'Horta','Barlow',sans-serif;
  font-style:italic;font-weight:800;
  font-size:clamp(1rem,3vw + .6rem,1.55rem);
  text-decoration:none;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
nav{display:flex;gap:4px}
nav a{
  padding:9px 18px;text-decoration:none;
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;font-style:italic;
  font-size:1.02rem;
  text-transform:uppercase;
  letter-spacing:.03em;
  border-radius:2px;
  transition:background .15s,color .15s;
}
nav a:hover{background:var(--dark-3)}
nav a[aria-current]{background:var(--gold);color:#111}

.burger{
  display:none;
  background:none;border:0;padding:10px;
  width:44px;height:44px;
  flex-direction:column;
  align-items:center;justify-content:center;
  gap:5px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:24px;height:2px;
  background:var(--gold);
  transition:transform .2s,opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:760px){
  .burger{display:flex}
  nav{
    display:none;position:absolute;top:62px;left:0;right:0;
    background:var(--dark);flex-direction:column;padding:10px 22px 18px;
  }
  nav.open{display:flex}
}

/* -------------------- centered hero (home) -------------------- */
.hero-center{
  position:relative;
  background:var(--dark);
  color:#fff;
  padding:110px 0 150px;
  overflow:hidden;
  min-height:72vh;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden}

.hero-bg-img{
  position:absolute;
  top:-8%;
  left:-12%;
  width:78%;
  height:118%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.4s ease-in-out;
  -webkit-mask-image:linear-gradient(to right, #000 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.25) 58%, transparent 82%);
          mask-image:linear-gradient(to right, #000 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.25) 58%, transparent 82%);
  filter:saturate(.55) contrast(.95) brightness(.88);
  will-change:opacity;
}
.hero-bg-img.is-right{
  left:auto;
  right:-12%;
  -webkit-mask-image:linear-gradient(to left, #000 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.25) 58%, transparent 82%);
          mask-image:linear-gradient(to left, #000 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.25) 58%, transparent 82%);
}
.hero-bg-img.is-active{opacity:.55}

.hero-bg-overlay{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 900px 620px at 6% 42%, rgba(231,204,61,.13) 0%, transparent 58%),
    radial-gradient(ellipse 900px 620px at 94% 42%, rgba(231,204,61,.10) 0%, transparent 58%),
    radial-gradient(ellipse 520px 460px at 22% 78%, rgba(231,204,61,.06) 0%, transparent 65%),
    radial-gradient(ellipse 520px 460px at 78% 78%, rgba(231,204,61,.05) 0%, transparent 65%),
    linear-gradient(90deg,
      rgba(26,26,26,.04) 0%,
      rgba(26,26,26,.28) 22%,
      rgba(26,26,26,.58) 40%,
      rgba(26,26,26,.70) 50%,
      rgba(26,26,26,.58) 60%,
      rgba(26,26,26,.28) 78%,
      rgba(26,26,26,.04) 100%);
  pointer-events:none;
}
.hero-inner{position:relative;z-index:2;text-align:center;width:100%;max-width:900px;margin:0 auto}
.hero-center h1{font-size:clamp(2.6rem,9vw,6.5rem);line-height:.92;color:#fff;margin:0 auto}
.hero-center h1 .accent{color:var(--gold)}
.hero-center .hero-meta{
  display:flex;justify-content:center;gap:32px;flex-wrap:wrap;
  margin:28px 0 38px;color:#D6D1C0;font-size:1rem;
}
.hero-meta-item{display:inline-flex;align-items:center;gap:8px}
.hero-meta-item svg{color:var(--gold);flex-shrink:0}
.hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-ctas .btn{margin:0}

body.home{background:#1A1A1A;color:#D8D8D8}
body.home::before{
  content:'';position:fixed;inset:0;
  background:
    radial-gradient(circle 700px at 15% 25%, rgba(231,204,61,.05) 0%, transparent 60%),
    radial-gradient(circle 600px at 85% 75%, rgba(231,204,61,.035) 0%, transparent 60%);
  animation:bgDrift 35s ease-in-out infinite;
  pointer-events:none;z-index:0;
}
@keyframes bgDrift{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(2%,-1.5%) scale(1.06)}
}
body.home > *:not(dialog){position:relative;z-index:1}

/* -------------------- buttons -------------------- */
.btn{
  display:inline-block;
  background:#fff;color:var(--dark);
  padding:13px 28px;
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;font-style:italic;
  font-size:1rem;text-transform:uppercase;letter-spacing:.05em;
  text-decoration:none;border:0;cursor:pointer;border-radius:2px;
  margin:0 10px 10px 0;
  transition:background .15s,color .15s,transform .15s;
}
.btn:hover{transform:translateY(-1px);background:var(--gold-2)}
.btn-gold{background:var(--gold);color:#111}
.btn-gold:hover{background:var(--gold-2)}
.btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.btn-ghost:hover{background:rgba(231,204,61,.12);color:var(--gold);box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}

/* -------------------- countdown -------------------- */
.countdown-strip{
  background:var(--dark);
  padding:36px 0 48px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
}
.countdown{display:flex;justify-content:center;gap:clamp(18px,4vw,52px);flex-wrap:wrap}
.cd-unit{display:flex;flex-direction:column;align-items:center;min-width:64px}
.cd-unit b{
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  font-size:clamp(2rem,5vw,3.4rem);line-height:1;color:var(--gold);
  font-variant-numeric:tabular-nums;letter-spacing:.01em;
}
.cd-unit span{
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  color:#B4AE9C;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;margin-top:8px;
}

/* -------------------- home: light content below hero -------------------- */
.light-section{background:#F5F7FA;color:var(--ink);padding:64px 0 88px}
.light-section .wrap{max-width:780px}
.intro-small{font-size:1.14rem;line-height:1.72;color:var(--ink);margin-bottom:34px}
.egf-quote{
  margin:0 0 44px;padding:4px 0 4px 22px;
  border-left:3px solid var(--gold);
  font-size:1.12rem;font-style:italic;line-height:1.72;color:var(--ink);
}
.egf-quote cite{
  display:block;margin-top:14px;
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-dim);
}

.schedule-block{margin:44px 0 0}
.schedule-block h2{font-size:1.55rem;color:var(--dark);margin:0 0 8px}
.schedule-block .note{margin:0 0 20px}
.schedule-days{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
  gap:14px;
}
.schedule-day{
  background:#fff;
  border-radius:3px;
  padding:16px 18px 12px;
  box-shadow:0 1px 2px rgba(15,23,42,.05);
  transition:box-shadow .18s;
}
.schedule-day:hover{box-shadow:0 6px 18px rgba(15,23,42,.08)}
.schedule-day-head{
  padding-bottom:10px;
  margin-bottom:4px;
  border-bottom:1px solid var(--line);
}
.schedule-day-name{
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:1rem;
  color:var(--dark);
}
.schedule-events{list-style:none;padding:0;margin:0}
.schedule-events li{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:6px 0;
  font-size:.9rem;
  line-height:1.5;
  border-bottom:1px solid rgba(15,23,42,.04);
}
.schedule-events li:last-child{border-bottom:0}
.schedule-time{
  flex:0 0 auto;
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;
  font-style:italic;
  color:var(--gold-dim);
  min-width:44px;
  font-size:.92rem;
  font-variant-numeric:tabular-nums;
}
.schedule-event-label{flex:1 1 auto;color:var(--ink)}

.history-text h2{font-size:1.55rem;color:var(--dark);margin:40px 0 12px}
.history-text h2:first-child{margin-top:0}
.history-text p{margin-bottom:16px;line-height:1.72;color:#2E2E2E;font-size:1rem}
.history-text a{color:var(--dark);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}

/* -------------------- page-title band: dark-yellow -------------------- */
main{padding-bottom:80px}
.page-title{
  position:relative;overflow:hidden;
  background:
    radial-gradient(ellipse 700px 380px at 8% 15%, rgba(231,204,61,.14) 0%, transparent 62%),
    linear-gradient(135deg, #1e1a0d 0%, var(--dark-gold) 55%, var(--dark-gold-2) 100%);
  color:#fff;padding:52px 0 44px;
}
.page-title::after{
  content:'';position:absolute;right:0;bottom:0;
  width:40%;height:100%;
  background:radial-gradient(ellipse 320px 240px at 100% 100%, rgba(231,204,61,.10) 0%, transparent 70%);
  pointer-events:none;
}
.page-title .wrap{position:relative;z-index:1}
.page-title h1{font-size:clamp(2.6rem,8vw,4.6rem);color:var(--gold)}
.page-title p{color:#d0c59c;margin-top:14px;max-width:60ch}
.page-title p b{color:var(--gold-2)}
.page-title a{color:var(--gold);text-decoration:underline;text-decoration-color:rgba(231,204,61,.5);text-underline-offset:3px}

.page-title-nav{
  display:flex;gap:8px;margin-top:26px;flex-wrap:wrap;
}
.page-title-nav a{
  padding:8px 20px;
  background:rgba(255,255,255,.06);
  color:#F0E7C5;
  text-decoration:none;
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;font-style:italic;
  font-size:1rem;text-transform:uppercase;letter-spacing:.04em;
  border-radius:2px;
  border:1px solid rgba(255,255,255,.12);
  transition:background .15s,color .15s,border-color .15s;
}
.page-title-nav a:hover{background:var(--gold);color:var(--dark);border-color:var(--gold)}

.page-title .interest-bar{margin-top:24px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.page-title .interest-bar .note{color:#b8a878;font-size:.88rem;margin:0;max-width:52ch}

.btn-refresh{
  background:rgba(255,255,255,.07);color:#f0e7c5;border:1px solid rgba(231,204,61,.42);
  box-shadow:none;padding:9px 14px;font-size:.88rem;
}
.btn-refresh:hover{background:rgba(231,204,61,.13);color:#fff;border-color:rgba(231,204,61,.75);transform:none}
.btn-refresh:disabled{opacity:.65;cursor:wait}
.btn-refresh.is-loading span{display:inline-block;animation:data-spin .8s linear infinite}
@keyframes data-spin{to{transform:rotate(360deg)}}
.data-status{font-size:.78rem;color:#c9bd95;line-height:1.35}
.data-status.is-ok{color:#b9d7bd}
.data-status.is-stale{color:#f0c48a}
.data-status.is-loading{color:#c9bd95}
@media(max-width:600px){.page-title .interest-bar{gap:10px}.data-status{flex-basis:100%}}


/* -------------------- sections -------------------- */
.sec{margin:44px 0}
.sec h2{font-size:2.05rem;color:var(--dark);margin-bottom:22px;padding:0}

/* -------------------- cards / prose -------------------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{
  background:var(--card);padding:26px 24px;text-decoration:none;display:block;
  border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.05);
  transition:transform .18s,box-shadow .18s;
}
a.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.09)}
.card h3{font-size:1.8rem;margin-bottom:8px;color:var(--dark)}
.card p{color:var(--mut)}
.prose{
  background:var(--card);padding:26px 28px;max-width:880px;
  border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.prose ul{padding-left:1.2em}
.prose li{margin:.4em 0}
.prose p+p,.prose p+ul{margin-top:.85em}
.prose a{color:var(--dark);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
.tbc{background:#FFF4B8;padding:1px 8px;border-radius:3px;font-size:.88em;color:#6B4E00}
.note{color:var(--mut);font-size:.9rem;margin:14px 0}
.demo{background:var(--gold);color:#111;text-align:center;padding:8px;font-size:.9rem;font-weight:600}

/* -------------------- players: toolbar -------------------- */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.ptools{
  position:sticky;top:62px;z-index:15;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;
  margin:0;padding:12px 0;
  background:rgba(245,247,250,.88);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border:0;
}
.ptools[hidden],.ptools [hidden]{display:none!important}

.ps-sel{flex:0 1 auto}
.ps-sel select{
  appearance:none;-webkit-appearance:none;cursor:pointer;
  min-height:40px;padding:0 42px 0 16px;max-width:100%;
  border:1px solid transparent!important;border-radius:999px;
  background-color:#eef0f3;color:#343942;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6683' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  box-shadow:none;transition:background-color .18s ease,box-shadow .18s ease;
}
.ps-sel select:hover{background-color:#e7eaf0;border-color:transparent!important}
.ps-sel select:focus-visible{
  outline:3px solid rgba(190,164,55,.24);outline-offset:2px;
  border-color:transparent!important;box-shadow:none;
}

.vt{display:inline-flex;gap:4px;padding:4px;background:#e9ebef;border:0;border-radius:999px}
.vt button{
  display:inline-flex;align-items:center;gap:8px;
  height:34px;padding:0 15px;border:0;border-radius:999px;
  background:transparent;color:#68707b;cursor:pointer;
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  font-size:.95rem;text-transform:uppercase;letter-spacing:.04em;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.vt button:hover{color:#20242b}
.vt button[aria-pressed="true"]{
  background:var(--gold);color:#171717;box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.vt button:focus-visible{outline-offset:1px}

.pcount{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin:18px 0 14px;min-height:24px;color:var(--mut);font-size:.92rem;
}
.linkbtn{
  background:none;border:0;padding:0;font:inherit;color:var(--dark);cursor:pointer;
  text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px;
}
.linkbtn:hover{text-decoration-color:var(--dark)}
.pcount + .sec{margin-top:0}

/* -------------------- players: card view -------------------- */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.pc{
  background:var(--card);overflow:hidden;display:flex;flex-direction:column;
  cursor:pointer;border-radius:2px;
  border-top:3px solid var(--gold-dim);
  box-shadow:0 2px 8px rgba(15,18,24,.07);
  transition:transform .18s,box-shadow .18s;
}
.pc:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.10)}
.pc:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.pc-hero{
  aspect-ratio:1.08/1;position:relative;display:grid;place-items:center;
  background:linear-gradient(140deg,var(--dark),var(--dark-3));
  color:rgba(255,255,255,.8);
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:4rem;
  overflow:hidden;isolation:isolate;
}
.pc-initials{position:absolute;inset:0;display:grid;place-items:center;z-index:0;color:rgba(255,255,255,.78)}
.pc-photo{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;
  filter:saturate(.88) contrast(1.04) brightness(.94);
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease;
}
.pc-hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,
    rgba(10,11,14,0) 54%,
    rgba(10,11,14,.08) 70%,
    rgba(10,11,14,.34) 86%,
    rgba(10,11,14,.62) 100%);
}
.pc:hover .pc-photo{transform:scale(1.045);filter:saturate(.92) contrast(1.06) brightness(.91)}
.pc-hero .flag{
  position:absolute;left:10px;bottom:10px;z-index:2;
  width:34px;height:23px;object-fit:cover;border-radius:2px;
  box-shadow:0 2px 8px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.68);
}
.pc-rk{
  position:absolute;right:0;top:12px;z-index:2;
  background:var(--gold);color:#111;padding:5px 15px 5px 19px;
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:1.3rem;
  clip-path:polygon(12px 0,100% 0,100% 100%,0 100%);
  box-shadow:0 3px 10px rgba(0,0,0,.18);
}
.pc-body{padding:17px 18px 18px}
.pc-body h3{font-size:1.55rem;color:var(--dark);line-height:1.02}
.pc-meta{color:var(--mut);font-size:.92rem;margin:5px 0 13px;display:flex;align-items:center;gap:7px}
.pc-stats{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  border-top:1px solid var(--line);padding-top:12px;
}
.pc-stat{display:flex;flex-direction:column;gap:2px;min-width:0}
.pc-stat span{
  color:var(--mut);font-size:.68rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;line-height:1.2;
}
.pc-stat b{
  color:var(--dark);font-family:'Horta','Barlow',sans-serif;font-style:italic;
  font-size:1.28rem;line-height:1.1;font-variant-numeric:tabular-nums;
}
@media(max-width:720px){
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .pc-hero{aspect-ratio:1/1}
  .pc-body{padding:12px 12px 14px}
  .pc-body h3{font-size:1.18rem}
  .pc-meta{font-size:.79rem;margin:3px 0 10px}
  .pc-stat span{font-size:.61rem}
  .pc-stat b{font-size:1.08rem}
  .pc-hero .flag{width:28px;height:19px}
  .pc-rk{font-size:1rem}
  .pc-hero{font-size:2.6rem}
}

/* -------------------- players: ranking view -------------------- */
.pgrid.is-list{display:flex;flex-direction:column;gap:7px}
.pr-legend{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;
  padding:0 16px 8px;font-size:.82rem;color:var(--mut);
}
.pr-legend .k{display:inline-block;vertical-align:middle;margin-right:7px}
.pr-legend .k.fill{width:18px;height:6px;border-radius:3px;background:var(--gold)}
.pr-legend .k.cur{display:none}

.pr{
  display:grid;grid-template-columns:32px 48px minmax(0,1fr) 142px;
  align-items:center;gap:14px;padding:10px 16px;
  background:var(--card);border-radius:2px;
  border-left:2px solid transparent;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  cursor:pointer;transition:box-shadow .18s;
}
.pr:hover{box-shadow:0 8px 22px rgba(0,0,0,.09);border-left-color:var(--gold-dim)}
.pr-pos{
  text-align:center;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  font-size:1.25rem;color:var(--gold-dim);font-variant-numeric:tabular-nums;
}
.pr-av{
  position:relative;width:48px;height:48px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;
  background:linear-gradient(140deg,var(--dark),var(--dark-3));color:rgba(255,255,255,.8);
  font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:1.1rem;
}
.pr-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.pr-who{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.25}
.pr-who b{font-weight:700;font-size:1.02rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-who small{display:flex;align-items:center;gap:8px;min-width:0;font-size:.85rem;color:var(--mut)}
.pr-who small span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-who .flag{flex:none;width:20px;height:14px;object-fit:cover;border-radius:1px}
.pr-rk{
  flex:none;font-style:normal;font-weight:700;font-size:.75rem;
  padding:0 7px;border-radius:2px;background:var(--gold);color:#111;
}
.pr-country{
  display:inline-flex;align-items:center;gap:5px;
  min-width:0;overflow:hidden;color:var(--mut);
}
.pr-country .flag{
  flex:none;width:18px;height:12px;object-fit:cover;
  border-radius:1px;box-shadow:0 0 0 1px rgba(0,0,0,.06);
}
.pr-country > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-num{display:flex;justify-content:flex-end;align-items:center;gap:13px;line-height:1}
.pr-score{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:52px}
.pr-score small{font-family:'Barlow',sans-serif;font-size:.59rem;font-weight:700;letter-spacing:.08em;color:var(--mut)}
.pr-score b{
  display:block;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;
  font-size:1.18rem;color:var(--dark);font-variant-numeric:tabular-nums;
}

.pempty{
  grid-column:1/-1;text-align:center;padding:56px 20px 40px;
  background:var(--card);border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.pempty p{margin-bottom:18px;color:var(--mut)}
.pempty .btn{margin:0}

@media(max-width:720px){
  .ptools{position:static;padding:10px 0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .ps-sel{flex:1 1 140px}
  .ps-sel select{width:100%}
  .vt{width:100%}
  .vt button{flex:1;justify-content:center}

  .pr{grid-template-columns:27px 44px minmax(0,1fr) 116px;gap:8px 10px;padding:9px 10px}
  .pr-av{width:44px;height:44px}
  .pr-num{gap:8px}
  .pr-score{min-width:48px}
  .pr-score small{font-size:.55rem}
  .pr-score b{font-size:1.02rem}
  .pr-legend{padding:0 4px 4px}
}
@media(max-width:390px){
  .pr{grid-template-columns:22px 38px minmax(0,1fr) 104px;gap:7px}
  .pr-av{width:38px;height:38px}
  .pr-who b{font-size:.9rem}
  .pr-who small{font-size:.72rem;gap:5px}
  .pr-who .flag{width:17px;height:12px}
  .pr-num{gap:6px}
  .pr-score{min-width:43px}
  .pr-score b{font-size:.94rem}
}

/* =========================================================
   BRACKET
   ========================================================= */
#w, #l, #f{padding:0;margin:44px 0}

.bk{
  display:grid;
  column-gap:48px;
  row-gap:0;
  padding:14px 4px 8px;
  overflow-x:auto;
  overflow-y:hidden;
  position:relative;
  -webkit-overflow-scrolling:touch;
}
.bk.W{grid-template-columns:repeat(4,260px);grid-template-rows:auto repeat(8,minmax(120px,auto))}
.bk.L{grid-template-columns:repeat(6,260px);grid-template-rows:auto repeat(8,minmax(120px,auto))}
.bk.final{grid-template-columns:repeat(2,260px);grid-template-rows:auto auto;column-gap:32px;row-gap:0}
.bk .m{min-height:68px;align-self:center;position:relative;z-index:2}
.bk svg.connectors{color:var(--link)}

.br-head{
  align-self:end;
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;font-style:italic;
  font-size:.92rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--mut);
  background:transparent;
  text-align:center;
  padding:8px 8px 8px 42px;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  position:relative;
  border-bottom:1px solid var(--line);
}
.br-head .br-title-wrap{
  display:flex;flex-direction:column;line-height:1.2;
  text-align:center;flex:1;min-width:0;
}
.br-head .br-title-full{
  font-size:.92rem;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.br-head .br-title-short{display:none}
.br-head .br-time{
  font-family:'Barlow',sans-serif;font-weight:600;font-style:normal;
  font-size:.72rem;letter-spacing:.02em;color:var(--mut);
  text-transform:none;margin-top:3px;
}
.br-head.late-round{border-bottom:2px solid var(--gold-dim)}
.br-head.late-round .br-title-full{color:var(--dark)}

.br-toggle{
  background:#fff;
  color:var(--dark);
  border:1px solid rgba(15,23,42,.12);
  width:24px;height:24px;
  border-radius:3px;
  font-family:'Barlow',sans-serif;
  font-weight:900;font-style:normal;
  font-size:15px;
  line-height:1;
  cursor:pointer;
  padding:0;
  display:inline-flex;
  align-items:center;justify-content:center;
  position:absolute;
  left:8px;top:50%;
  transform:translateY(-50%);
  box-shadow:0 1px 2px rgba(15,23,42,.06);
  transition:background .15s,color .15s,border-color .15s,box-shadow .15s;
}
.br-toggle:hover{background:var(--gold);color:var(--dark);border-color:var(--gold);box-shadow:0 2px 6px rgba(231,204,61,.30)}
.br-toggle:focus-visible{outline:2px solid var(--dark);outline-offset:2px}

.br-head.collapsed{
  background:#F2EDD5;
  color:var(--ink);
  writing-mode:vertical-rl;
  text-orientation:mixed;
  align-self:stretch;
  padding:12px 4px;
  justify-content:center;
  align-items:center;
  gap:16px;
  border-bottom:0;
  border-left:1px solid rgba(15,23,42,.10);
}
.br-head.collapsed.late-round{border-left:2px solid var(--gold-dim)}
.br-head.collapsed .br-title-full{display:none}
.br-head.collapsed .br-title-short{display:inline;color:var(--ink);font-size:.85rem;letter-spacing:.08em}
.br-head.collapsed .br-time{display:none}
.br-head.collapsed .br-title-wrap{flex:none;display:block}
.br-head.collapsed .br-toggle{writing-mode:horizontal-tb;position:static;transform:none}

.m.is-collapsed{display:none}

.m{
  background:var(--card);
  border-radius:3px;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:
    0 2px 8px rgba(15,23,42,.09),
    0 1px 2px rgba(15,23,42,.05);
  display:flex;flex-direction:column;
  transition:box-shadow .18s,transform .18s;
}
.m:hover{box-shadow:0 8px 22px rgba(15,23,42,.14),0 2px 4px rgba(15,23,42,.06)}
.m.late-round .id{background:#FBF6DE}
.bk.final .m{
  border:1px solid rgba(179,154,42,.30);
  box-shadow:0 2px 10px rgba(179,154,42,.14),0 1px 2px rgba(15,23,42,.05);
}
.bk.final .m .id{background:#FBF6DE}
.bk.final .br-head{color:var(--dark);border-bottom:2px solid var(--gold-dim);padding:8px 8px}

.m .id{
  display:flex;justify-content:space-between;align-items:center;
  font-family:'Barlow',sans-serif;font-weight:700;
  font-size:.72rem;color:var(--mut);
  padding:4px 8px;background:#F2F5FA;
  letter-spacing:.04em;border-radius:3px 3px 0 0;
}
.m-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 60px;
  grid-template-rows:1fr 1fr;
  min-height:68px;
}
.m-row .p{grid-column:1}
.m-row .p:nth-of-type(1){grid-row:1;border-top:0}
.m-row .p:nth-of-type(2){grid-row:2;border-top:1px solid var(--line-2)}
.m-side{
  grid-column:2;grid-row:1 / span 2;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:4px;padding:6px 4px;
  background:#F7F9FC;text-align:center;min-width:0;
  border-radius:0 3px 3px 0;
}
.m-side .result{
  font-family:'Barlow',sans-serif;font-weight:700;
  font-size:.85rem;color:var(--ink);
  letter-spacing:.01em;white-space:nowrap;
}
.m-side .live-label{
  font-family:'Barlow',sans-serif;font-weight:800;
  font-size:.58rem;letter-spacing:.1em;
  color:var(--red);text-transform:uppercase;line-height:1;
}

.p{display:flex;align-items:center;gap:8px;padding:7px 10px;min-height:34px;min-width:0}
.p .n{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:.92rem}
.p.ph0 .n{color:var(--mut);font-weight:400;font-style:italic}
.p img{width:20px;height:14px;object-fit:cover;border-radius:1px}
.st{width:12px;height:12px;border-radius:50%;flex:none;border:1.5px solid #8A94AA}
.st.b{background:#111;border-color:#111}
.st.w{background:#fff}
.st.u{border-style:dashed;opacity:.55}
.p.win{background:#EAF8F0;box-shadow:inset 4px 0 var(--ok)}
.p.win .n{font-weight:800}
.p.lose .n{color:var(--mut);text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:rgba(91,102,131,.5)}

.watch{
  background:var(--gold);color:#111;
  text-decoration:none;padding:2px 8px;
  font-family:'Barlow',sans-serif;font-weight:700;
  font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;
  border-radius:2px;white-space:nowrap;
  transition:background .15s;
}
.watch:hover{background:var(--gold-3);color:#111}

.live-dot{
  display:inline-block;
  width:8px;height:8px;
  border-radius:50%;
  background:var(--red);
  vertical-align:middle;
  animation:pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(228,20,60,.55)}
  50%{opacity:.55;box-shadow:0 0 0 5px rgba(228,20,60,0)}
}
.live{display:none}

/* -------------------- interest modal -------------------- */
.interest-body{padding:32px 28px 28px}
.interest-body h2{font-size:2rem;color:var(--dark);margin-bottom:6px}
.interest-intro{color:var(--mut);font-size:.94rem;margin-bottom:20px}
.interest-table{width:100%;border-collapse:collapse;font-size:.95rem}
.interest-table th{
  text-align:left;font-family:'Barlow',sans-serif;font-weight:700;
  font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;
  color:var(--mut);padding:8px 6px;border-bottom:2px solid var(--line);
}
.interest-table td{padding:10px 6px;border-bottom:1px solid var(--line-2);vertical-align:middle}
.interest-table td.name{font-weight:600}
.interest-table td.gor{font-family:'Barlow',sans-serif;font-weight:700;color:var(--dark)}
.interest-table .flag-inline{
  display:inline-block;width:22px;height:15px;object-fit:cover;
  margin-right:8px;vertical-align:middle;border-radius:1px;
}
.interest-table .dot{
  display:inline-block;width:9px;height:9px;border-radius:50%;
  margin-right:6px;vertical-align:middle;
}
.interest-table .dot.yes{background:var(--ok)}
.interest-table .dot.no{background:#C0C6D2}
.interest-table .status-txt{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;font-weight:700}
.interest-table .status-txt.yes{color:#0F6B3A}
.interest-table .status-txt.no{color:var(--mut)}

/* -------------------- footer -------------------- */
footer.site-footer{
  background:var(--dark);color:#B4AE9C;font-size:.9rem;
}
footer.site-footer a{color:var(--gold);text-decoration:none}
footer.site-footer a:hover{text-decoration:underline}
.footer-main{
  display:flex;align-items:center;justify-content:space-between;
  gap:32px;
  padding-top:34px;padding-bottom:34px;
}
.footer-egf{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0;
  color:var(--gold);font-family:'Horta','Barlow',sans-serif;font-style:italic;font-weight:800;text-decoration:none}
.footer-egf img{height:64px;width:auto;display:block}
.footer-sponsors{
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.footer-sponsors img{
  height:52px;width:auto;object-fit:contain;
  background:#fff;border-radius:6px;padding:5px 10px;
}
.footer-bottom{
  padding-top:14px;padding-bottom:16px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:.8rem;color:#8A8A8A;text-align:center;
}
.footer-bottom p{margin:0}
.footer-bottom a{color:var(--gold)}
body.home footer.site-footer{background:#141414}

@media(max-width:720px){
  .footer-main{
    flex-direction:column;text-align:center;gap:22px;
    padding-top:28px;padding-bottom:28px;
  }
  .footer-egf img{height:52px}
  .footer-sponsors{justify-content:center;gap:14px}
  .footer-sponsors img{height:44px}
}

/* -------------------- responsive / reduced motion -------------------- */
@media(max-width:720px){
  .bk.W,.bk.L{column-gap:28px}
  .bk.W{grid-template-columns:repeat(4,240px)}
  .bk.L{grid-template-columns:repeat(6,240px)}
  .br-head{font-size:.84rem;padding:8px 6px 8px 36px;min-height:36px}
  .br-toggle{width:22px;height:22px;font-size:14px;left:6px}
  .br-head.collapsed{padding:12px 4px;gap:12px}
  .hero-center{padding:80px 0 120px;min-height:auto}
  .hero-bg-img.is-active{opacity:.42}
  .hero-bg-img{left:-30%;width:100%}
  .hero-bg-img.is-right{left:auto;right:-30%}
  .hero-center .hero-meta{gap:18px;font-size:.92rem;margin:22px 0 30px}
  .light-section{padding:44px 0 60px}
  .intro-small{font-size:1.06rem}
  .countdown-strip{padding:28px 0 36px}
  .page-title{padding:40px 0 32px}
  .page-title-nav{margin-top:20px}
  .page-title-nav a{padding:7px 16px;font-size:.92rem}
  .schedule-days{grid-template-columns:1fr 1fr}
}
@media(max-width:460px){
  .schedule-days{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
  body.home::before{animation:none}
  .live-dot{animation:none}
  .hero-bg-img{transition:none}
  .pc-photo{transition:none}
}

/* Layout corrections */
.schedule-block{clear:both;display:flow-root;margin-top:48px;padding-top:34px;border-top:1px solid var(--line)}
.schedule-days{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;row-gap:14px}
.schedule-day{min-width:0;height:100%}
.history-text{display:flow-root;margin-bottom:42px}
.bk.final .br-head{padding-left:8px}
@media(max-width:560px){.schedule-days{grid-template-columns:1fr}}


/* =========================================================
   PROFILE MODAL — SHARED COMPONENTS
   (rules that V7 doesn't override — keep these)
   ========================================================= */
.pf-wrap{position:relative}

.pf-tooltip{
  position:absolute;
  background:var(--dark);
  color:#fff;
  padding:6px 12px;
  border-radius:4px;
  font-size:.8rem;
  font-family:'Barlow',sans-serif;
  font-weight:500;
  pointer-events:none;
  opacity:0;
  transition:opacity .15s ease;
  z-index:100;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.pf-dot{transition:r .2s ease;cursor:crosshair}
.pf-dot:hover{r:5}

.pf-tour-info{flex:1;min-width:0;padding-right:16px}
.pf-tour-name{font-weight:600;font-size:1rem;color:var(--ink);margin-bottom:4px}
.pf-tour-meta{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--mut)}
.pf-tour-meta img{width:16px;height:11px;border-radius:1px;object-fit:cover}
.pf-tour-stats{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.pf-tour-place{font-family:'Barlow',sans-serif;font-weight:500;color:var(--mut);font-size:.9rem}
.pf-tour-gor{display:flex;align-items:center;gap:4px;font-family:'Barlow',sans-serif;font-weight:500;color:var(--mut);font-size:.85rem}
.pf-tour-gor .arrow{font-size:.65rem;margin-right:2px}
.pf-tour-gor.delta-up{color:var(--ok)}
.pf-tour-gor.delta-down{color:var(--red)}
.pf-tour-delta{color:inherit;font-weight:500;margin-left:2px}

.pf-collapsible summary{cursor:pointer;list-style:none}
.pf-collapsible summary::-webkit-details-marker{display:none}
.pf-collapsible summary::after{
  content:'▼';font-size:.65rem;color:var(--mut);transition:transform .2s;
}
.pf-collapsible[open] summary::after{transform:rotate(180deg)}

.pf-chart-placeholder{padding:14px 0;color:#8a9099;font-size:.86rem}


/* =========================================================
   PROFILE MODAL — V7 (final)
   ========================================================= */

/* --- 1. Outer dialog: dark background, clip everything --- */
#profile.profile{
  box-sizing:border-box;
  width:min(1040px,96vw);
  max-height:94vh;
  margin:auto;
  padding:0;
  border:0!important;
  outline:0;
  border-radius:14px;
  /* Force dark to beat dialog UA white */
  background:#1a1a1a !important;
  box-shadow:0 30px 90px rgba(0,0,0,.52);
  overflow:hidden;
  /* Prevent dialog itself from scrolling — the inner scroll handles it */
}
#profile.profile:focus{outline:0}
#profile.profile::backdrop{background:rgba(9,10,12,.86);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}

/* --- 2. Scroll container: NO border-radius, so outer clip works cleanly --- */
#profile.profile > #pf-body{
  width:100%;
  max-height:94vh;
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:0;
  background:#1a1a1a;
  scrollbar-gutter:stable;
}

/* --- 3. Intermediary wrappers: dark, no own radius --- */
#profile.profile #pf-body > .pf-wrap{
  background:#1a1a1a;
  border-radius:0;
  overflow:visible;
  min-width:0;
}
#profile.profile .pf-wrap > .pf-body{
  background:#1a1a1a;
  border-radius:0;
  overflow:visible;
  display:grid;
  grid-template-columns:minmax(285px,340px) minmax(0,1fr);
  align-items:stretch;
  min-width:0;
}

/* --- 4. Left column: dark gradient + explicit bottom-left rounding --- */
#profile.profile .pf-body > .pf-left{
  background-color:#171717;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(231,204,61,.09), transparent 58%),
    linear-gradient(155deg, #171717 0%, #202020 60%, #292929 100%);
  border:0;
  border-radius:0 0 0 14px;  /* explicit fallback */
  min-height:0;
  min-width:0;
  padding:0 26px 28px;
  display:flex;flex-direction:column;align-items:stretch;text-align:left;
  position:relative;top:auto;align-self:stretch;
  color:#fff;
}

/* --- 5. Right column: white + explicit right rounding --- */
#profile.profile .pf-body > .pf-right{
  background:#fff;
  border:0;
  border-left:3px solid var(--gold-dim);
  border-radius:0 14px 14px 0;  /* explicit fallback */
  padding:27px 32px 32px;
  min-width:0;
  position:relative;
}

/* --- 6. Photo --- */
#profile .pf-photo{
  position:relative;
  width:calc(100% + 52px);
  height:270px;
  flex:none;
  margin:0 -26px 22px;
  border-radius:0;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(145deg,#373737,#151515);
  font-family:'Horta','Barlow',sans-serif;
  font-weight:800;font-style:italic;font-size:3.5rem;
  display:grid;place-items:center;
  color:rgba(255,255,255,.8);
}
#profile .pf-photo img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;object-position:50% 24%;
  z-index:1;
  filter:saturate(.84) contrast(1.08) brightness(.76);
}
#profile .pf-photo::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(8,9,12,.12) 0%,rgba(8,9,12,.02) 35%,rgba(8,9,12,.20) 72%,rgba(8,9,12,.58) 100%),
    linear-gradient(100deg,rgba(8,9,12,.12),transparent 52%,rgba(8,9,12,.08));
}

/* --- 7. Identity block --- */
#profile .pf-identity{padding:0 0 21px}
#profile .pf-left h2#pf-name{
  color:#fff;
  font-family:'Horta','Barlow',sans-serif;font-style:italic;font-weight:800;
  font-size:clamp(1.85rem,3vw,2.5rem);line-height:.98;margin:0 0 11px;
  overflow-wrap:anywhere;padding-right:0;
}
#profile .pf-name-rank{
  display:inline-block;margin-left:.34em;vertical-align:.10em;
  color:#e6c84c;
  font-family:'Barlow',sans-serif;font-size:.56em;font-style:normal;font-weight:800;
  letter-spacing:.015em;white-space:nowrap;
}
#profile .pf-meta{margin:0 0 13px;color:#e3e0d6;font-size:.92rem;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#profile .pf-country{display:inline-flex;align-items:center;gap:9px;font-weight:600}
#profile .pf-country .flag{
  width:25px;height:17px;object-fit:cover;border-radius:1px;
  box-shadow:0 1px 5px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.2);
}

/* --- 8. Facts row (Age + EGD rank, bigger) --- */
#profile .pf-sub-meta{
  display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;
  gap:0;margin:0;min-height:0;
}
#profile .pf-fact{
  display:inline-flex;flex-direction:row;align-items:baseline;gap:6px;
  min-width:0;padding:0;background:none;border:0;border-radius:0;
}
#profile .pf-fact small{
  font-size:.58rem;line-height:1.1;letter-spacing:.1em;font-weight:800;color:#aaa99f;
  text-transform:uppercase;
}
#profile .pf-fact b{
  font-size:1.15rem;line-height:1.15;color:#f4f1e8;font-weight:800;
  font-family:'Horta','Barlow',sans-serif;font-style:italic;letter-spacing:.01em;
}
#profile .pf-fact-sep{margin:0 12px;color:rgba(255,255,255,.28);font-size:.95rem}

/* --- 9. Peak / Current GoR row — top-anchored, stays put --- */
#profile .pf-gor-row{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
  margin:18px 0 0;   /* was auto 0 0 — no longer pushed to bottom */
  padding:0;border:0;border-radius:0;background:none;
}
#profile .pf-gor-box{
  display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;
  padding:12px 12px 13px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  border-left:3px solid var(--gold-dim);
  border-radius:2px;
}
#profile .pf-gor-box:nth-child(2){border-left-color:rgba(255,255,255,.28)}
#profile .pf-gor-lbl{font-size:.6rem;font-weight:800;letter-spacing:.1em;color:#bdbbb2;margin:0;text-transform:uppercase}
#profile .pf-gor-val,
#profile .pf-gor-val.peak,
#profile .pf-gor-val.current{
  color:#f5f2e8;font-family:'Horta','Barlow',sans-serif;font-size:1.55rem;
  font-weight:800;font-style:italic;line-height:1;font-variant-numeric:tabular-nums;margin:0;
}
#profile .pf-gor-val.peak{color:var(--gold)}

/* --- 10. Right column shared titles --- */
#profile .pf-right .pf-section-title{
  margin:0 0 12px;
  color:#242830;
  font-family:'Horta','Barlow',sans-serif;
  font-size:1.4rem;
  font-style:italic;
  font-weight:800;
  letter-spacing:-.01em;
  line-height:1.1;
  text-transform:none;
}
#profile .pf-bio-section{margin:0 0 26px;max-width:none}
#profile .pf-bio-section .pf-section-title::after{
  content:"";display:block;width:34px;height:3px;margin-top:10px;
  border-radius:99px;background:var(--gold);
}
#profile .pf-bio{max-width:64ch;margin:0;color:#353a42;font-size:1.02rem;line-height:1.72}
#profile .pf-statistics{margin:0}
#profile .pf-statistics-title{
  font-size:1.12rem!important;
  margin:0 0 14px!important;
  letter-spacing:.01em!important;
  color:#30353d!important;
}
#profile .pf-statistics-title::after{display:none}

/* --- 11. Win rate block --- */
#profile .pf-winrate-inline{
  display:flex;align-items:center;justify-content:flex-start;
  gap:clamp(20px,4vw,46px);
  margin:0 0 22px;
  padding:2px 0 18px;
  border:0;
  border-bottom:1px solid #eceef1;
  background:transparent;
  box-shadow:none;
}
#profile .pf-winrate-primary{display:flex;align-items:center;gap:12px;flex:none}
#profile .pf-rate-number{
  color:#9a8121;
  font-family:'Horta','Barlow',sans-serif;
  font-size:2.55rem;font-style:italic;font-weight:800;
  line-height:.95;letter-spacing:-.035em;font-variant-numeric:tabular-nums;
}
#profile .pf-rate-caption{display:flex;flex-direction:column;gap:4px}
#profile .pf-rate-label{color:#343941;font-size:.82rem;font-weight:800;letter-spacing:.01em;text-transform:none}
#profile .pf-period{padding:0;color:#858b94;font-size:.69rem;font-weight:600;letter-spacing:0;text-transform:none}
#profile .pf-record-stats{
  display:flex;align-items:center;gap:clamp(16px,3vw,32px);
  min-width:0;padding:0;border:0;background:transparent;
}
#profile .pf-record-stats>div{
  display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  min-width:34px;padding:0;border:0;background:transparent;
}
#profile .pf-record-stats b{
  color:#343941;font-family:'Barlow',sans-serif;
  font-size:1.22rem;font-style:normal;font-weight:800;
  line-height:1;font-variant-numeric:tabular-nums;
}
#profile .pf-record-stats small{
  color:#858b94;font-size:.61rem;font-weight:800;
  letter-spacing:.075em;text-transform:uppercase;
}
#profile .pf-no-stat{
  margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid #eceef1;
  color:#858b94;font-size:.9rem;
}

/* --- 12. GoR graph (collapsible on every screen size) --- */
#profile .pf-graph-details{
  margin:0 0 20px;
  border-top:0;
  padding-top:16px;
}
#profile .pf-graph-details > summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;
  color:#424851;
  font-family:'Barlow',sans-serif;font-size:.94rem;font-weight:800;
  letter-spacing:.005em;text-transform:none;
  padding:0;margin:0 0 10px;
}
#profile .pf-graph-details > summary::-webkit-details-marker{display:none}
#profile .pf-graph-details > summary{cursor:pointer}
#profile .pf-graph-details > summary:focus-visible{outline:2px solid var(--gold-dim);outline-offset:4px;border-radius:2px}
#profile .pf-graph-wrap{position:relative}
#profile .pf-graph-details .pf-spark{width:100%;height:145px;overflow:visible}

/* --- 13. Tournaments --- */
#profile .pf-collapsible{
  border:0!important;border-top:1px solid #eceef1!important;
  padding-top:16px;
  background:transparent;border-radius:0;box-shadow:none;
  margin:0;
}
#profile .pf-collapsible summary{
  padding:0 0 12px;background:none;border:0!important;color:#424851;
  font-size:.94rem;font-weight:800;letter-spacing:.005em;text-transform:none;
}
#profile .pf-collapsible summary::after{right:3px;color:#7f858e}
#profile .pf-tour-header{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid #eceef1;
  background:transparent;
  font-family:'Barlow',sans-serif;
  font-weight:700;
  font-size:.75rem;
  text-transform:uppercase;
  color:#8b919a;
  letter-spacing:.05em;
}
#profile .pf-tour-list{background:transparent;border:0}
#profile .pf-tour-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid rgba(35,39,46,.07);
}
#profile .pf-tour-row:last-child{border-bottom:0}
#profile .pf-tour-name{font-weight:700}
#profile .pf-egdfull{margin-top:20px}
#profile .pf-egdfull .btn{margin:0}

/* --- 14. Close button --- */
#profile .pf-close{
  position:absolute;right:14px;top:14px;z-index:6;
  background:var(--dark);color:#fff;border:0;
  width:34px;height:34px;font-size:1.4rem;line-height:1;cursor:pointer;
  border-radius:50%;
  box-shadow:0 2px 8px rgba(0,0,0,.24);
  transition:background .15s,color .15s;
}
#profile .pf-close:hover{background:var(--gold);color:#111}

/* --- 15. Tabs --- */
#profile .pf-tabs{
  display:flex;gap:4px;
  margin:0 0 20px;
  padding:4px;
  background:#eef0f3;
  border-radius:8px;
}
#profile .pf-tab{
  flex:1;
  position:relative;
  padding:10px 14px;
  background:transparent;border:0;border-radius:6px;
  font-family:'Barlow',sans-serif;
  font-size:.78rem;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;
  color:#68707b;cursor:pointer;
  transition:background .15s,color .15s,box-shadow .15s;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#profile .pf-tab:hover{color:#20242b}
#profile .pf-tab.is-active{
  background:#fff;color:#111;
  box-shadow:0 1px 4px rgba(15,23,42,.10);
}
#profile .pf-tab-live-dot{
  display:inline-block;width:7px;height:7px;
  margin-left:7px;vertical-align:middle;
  border-radius:50%;background:var(--red);
  animation:pulse-dot 2.6s ease-in-out infinite;
}
#profile .pf-tab-body{position:relative}
#profile .pf-tab-panel{display:none}
#profile .pf-tab-panel.is-active{display:block}

/* --- 16. Game list (Pro Qualification Progress tab) --- */
#profile .pf-games-section{margin:0}
#profile .pf-game-list{display:flex;flex-direction:column;gap:10px}

#profile .pf-game-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:13px 14px 13px 15px;
  background:#fafbfc;
  border:1px solid #eceef1;
  border-left:4px solid #cfd4dc;
  border-radius:5px;
  transition:background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#profile .pf-game-row:hover{background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.06)}

/* Won = green */
#profile .pf-game-row.won{border-left-color:#2f9d63;background:#f5fbf7}
#profile .pf-game-row.won:hover{background:#eef9f2}

/* Lost = red */
#profile .pf-game-row.lost{border-left-color:#c25b5b;background:#fdf7f7}
#profile .pf-game-row.lost:hover{background:#faf0f0}

/* Live = gold bar, red glowing dot */
#profile .pf-game-row.live{border-left-color:var(--gold);background:#fdfaef}
#profile .pf-game-row.live:hover{background:#fffdf5}

#profile .pf-game-row.complete{border-left-color:#a9b0bd;background:#fafbfc}
#profile .pf-game-row.upcoming{border-left-color:#cfd4dc;background:#fafbfc}

#profile .pf-game-tag{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:52px;height:26px;padding:0 8px;
  background:#fff;border:1px solid #e4e7ec;border-radius:3px;
  font-family:'Barlow',sans-serif;
  font-size:.66rem;font-weight:800;letter-spacing:.06em;
  color:#6b7280;text-transform:uppercase;
  white-space:nowrap;
}
#profile .pf-game-tag.empty{color:#b4b9c2}
#profile .pf-game-row.won  .pf-game-tag{color:#1f7a4c;border-color:#c9e8d7;background:#f0faf4}
#profile .pf-game-row.lost .pf-game-tag{color:#a04040;border-color:#f0d4d4;background:#fdf5f5}
#profile .pf-game-row.live .pf-game-tag{color:#7a6312;border-color:#f0e2b0;background:#fffef6}

#profile .pf-game-main{min-width:0;display:flex;flex-direction:column;gap:5px}
#profile .pf-game-opponent{
  display:flex;align-items:center;gap:7px;
  color:#242830;font-size:.98rem;font-weight:700;
}
#profile .pf-game-vs{
  color:#8a9099;font-size:.8rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;
  margin-right:2px;
}
#profile .pf-game-opponent .flag{
  width:20px;height:14px;object-fit:cover;border-radius:1px;
  flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.06);
}
#profile .pf-game-name{min-width:0;overflow-wrap:anywhere}
#profile .pf-game-opponent .pf-game-tbd{
  color:#98a0aa;font-weight:500;font-style:italic;
}
#profile .pf-game-meta{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  color:#858b94;font-size:.76rem;line-height:1.4;
}
#profile .pf-game-sep{color:#c5c9d0}
#profile .pf-game-right{display:flex;align-items:center;gap:10px;flex:none}
#profile .pf-game-outcome{
  display:flex;flex-direction:column;align-items:flex-end;gap:2px;
  font-size:.82rem;font-weight:800;letter-spacing:.02em;
  white-space:nowrap;line-height:1.2;flex:none;
  color:#737a84;text-transform:none;
}
#profile .pf-game-outcome small{font-size:.7rem;font-weight:600;opacity:.85}
#profile .pf-game-outcome.won{color:#1f7a4c}
#profile .pf-game-outcome.lost{color:#a04040}
#profile .pf-game-outcome.live{
  color:#9a7c18;
  flex-direction:row;align-items:center;gap:6px;
  text-transform:uppercase;letter-spacing:.08em;
}
#profile .pf-game-outcome.complete{color:#6b7280}
#profile .pf-game-outcome.upcoming{color:#8a9099}
#profile .pf-game-live-dot{
  display:inline-block;width:8px;height:8px;border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 0 rgba(228,20,60,.55);
  animation:pulse-dot 2.6s ease-in-out infinite;
}
#profile .pf-game-action{
  display:inline-flex;align-items:center;justify-content:center;
  height:26px;padding:0 10px;
  background:#fff;border:1px solid #e4e7ec;border-radius:3px;
  color:#5b6472;font-size:.66rem;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;text-decoration:none;
  transition:background .15s, border-color .15s, color .15s;
  white-space:nowrap;
}
#profile .pf-game-action:hover{background:var(--gold);border-color:var(--gold);color:#171717}

#profile .pf-games-empty{
  padding:32px 20px;text-align:center;
  background:#fafbfc;border:1px dashed #e4e7ec;border-radius:5px;
}
#profile .pf-games-empty p{margin:0 0 4px;color:#4a505a;font-weight:700}
#profile .pf-games-empty .pf-games-empty-sub{color:#98a0aa;font-size:.85rem}

/* --- 17. Responsive --- */
@media(max-width:760px){
  #profile.profile{background:#fff!important;border-radius:13px}
  #profile.profile > #pf-body{background:#fff;max-height:94vh}
  #profile.profile #pf-body > .pf-wrap{background:#fff}
  #profile.profile .pf-wrap > .pf-body{background:#fff;grid-template-columns:1fr}
  #profile.profile .pf-body > .pf-left{
    background-color:#171717;
    background-image:
      radial-gradient(ellipse at 50% 0%,rgba(231,204,61,.09),transparent 58%),
      linear-gradient(155deg,#171717 0%,#202020 60%,#292929 100%);
    padding:0 22px 20px;
    border-bottom:3px solid var(--gold-dim);
    border-radius:0;
  }
  #profile.profile .pf-body > .pf-right{
    border-left:0;border-radius:0;padding:22px 20px 24px;
  }
  #profile .pf-photo{width:calc(100% + 44px);height:clamp(180px,48vw,260px);margin:0 -22px 18px}
  #profile .pf-left h2#pf-name{font-size:clamp(1.8rem,6vw,2.4rem)}
  #profile .pf-gor-row{max-width:460px}
  #profile .pf-winrate-inline{gap:22px}
  /* Graph is collapsible on all screen sizes */
  #profile .pf-graph-details > summary{cursor:pointer}
  #profile .pf-game-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 12px}
  #profile .pf-game-tag{display:none}
  #profile .pf-game-outcome{font-size:.76rem}
  #profile .pf-tab{font-size:.7rem;padding:9px 10px;letter-spacing:.03em}
}
@media(max-width:480px){
  #profile .pf-left{padding:0 14px 16px}
  #profile .pf-photo{width:calc(100% + 28px);height:180px;margin:0 -14px 14px}
  #profile .pf-right{padding:18px 14px 20px}
  #profile .pf-fact b{font-size:1.05rem}
  #profile .pf-fact-sep{margin:0 8px}
  #profile .pf-rate-number{font-size:2.3rem}
  #profile .pf-winrate-inline{align-items:flex-start;flex-direction:column;gap:15px;padding-bottom:17px}
  #profile .pf-winrate-primary{gap:11px}
  #profile .pf-record-stats{width:100%;justify-content:space-between;gap:10px}
  #profile .pf-record-stats>div{flex:1}
  #profile .pf-game-action{height:24px;padding:0 8px;font-size:.6rem}
}

/* =========================================================
   v2 — page banners, player cards, status, profile, interest, bracket
   ========================================================= */
:root{ --page-bg:url("img/background_1.jpg"); --wb:#13A35A; --lb:#F29A1F; --out:#E4143C; }

/* ---- page banners with background image ---- */
.page-title{ isolation:isolate; }
.page-title::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:var(--page-bg) center 35%/cover no-repeat;
  opacity:.5;filter:saturate(.6) brightness(.9);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 30%,#000 100%);
          mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 30%,#000 100%);
}
@media(max-width:720px){
  .page-title::before{opacity:.3;-webkit-mask-image:none;mask-image:none}
}

/* ---- status chip (dot + label) ---- */
.st-chip{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:.74rem;line-height:1.2;color:#3a3f4a}
.st-chip i{flex:none;width:9px;height:9px;border-radius:50%;background:#b7bcc7}
.st-chip b{font-weight:800;letter-spacing:.03em;text-transform:uppercase;font-size:.7rem;white-space:nowrap}
.st-chip small{color:var(--mut);font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-chip small::before{content:"· "}
.st-chip.wb i{background:var(--wb);box-shadow:0 0 0 3px rgba(19,163,90,.16)}
.st-chip.lb i{background:var(--lb);box-shadow:0 0 0 3px rgba(242,154,31,.2)}
.st-chip.out i{background:var(--out);box-shadow:0 0 0 3px rgba(228,20,60,.14)}
.st-chip.out b{color:#b01030}
.st-chip.champ i{background:var(--gold);box-shadow:0 0 0 3px rgba(231,204,61,.3)}
.st-chip.is-live i{animation:stpulse 1.4s infinite}
@keyframes stpulse{0%,100%{opacity:1}50%{opacity:.35}}

/* ---- player cards ---- */
.pgrid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.pc-hero{aspect-ratio:1/1.02}
.pc-hero::after{background:linear-gradient(180deg,rgba(10,11,14,0) 52%,rgba(10,11,14,.55) 82%,rgba(10,11,14,.78) 100%)}
.pc-rk{display:none}
.pc-hero .flag{position:static;box-shadow:0 1px 4px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.7)}
.pc-origin{
  position:absolute;left:12px;bottom:11px;z-index:2;display:flex;align-items:center;gap:8px;
  color:#fff;font-weight:700;font-size:.9rem;font-style:normal;font-family:'Barlow',sans-serif;
  text-shadow:0 1px 6px rgba(0,0,0,.6);
}
.pc-body{padding:14px 16px 15px;display:flex;flex-direction:column;gap:9px;flex:1}
.pc-title{display:flex;align-items:center;gap:9px;min-width:0}
.pc-title h3{font-size:1.4rem;line-height:1.05;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-lvl{
  flex:none;background:var(--gold);color:#111;font-weight:800;font-style:italic;
  font-family:'Horta','Barlow',sans-serif;font-size:.95rem;padding:1px 8px;border-radius:2px;
}
.pc-bio{
  color:#4a5160;font-size:.88rem;line-height:1.45;margin:0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.pc-foot{
  margin-top:auto;padding-top:10px;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;
}
.pc-gor{font-family:'Barlow',sans-serif;font-weight:700;font-size:.82rem;color:var(--mut);white-space:nowrap;font-variant-numeric:tabular-nums}
.pc-gor small{font-weight:600;opacity:.75;font-size:.78rem}
.pc.is-out{border-top-color:var(--out)}
.pc.is-out .pc-photo{filter:grayscale(.85) brightness(.85)}
.pc.is-champ{border-top-color:var(--gold)}
@media(max-width:720px){
  .pc-body{padding:10px 11px 12px;gap:7px}
  .pc-title{flex-wrap:wrap;gap:5px}
  .pc-title h3{font-size:1.08rem;white-space:normal}
  .pc-bio{font-size:.78rem;-webkit-line-clamp:2}
  .pc-origin{font-size:.78rem;left:9px;bottom:8px}
  .pc-foot{flex-wrap:wrap;gap:4px}
  .st-chip small{display:none}
}

/* ---- ranking rows ---- */
.pr{grid-template-columns:32px 48px minmax(0,1fr) minmax(0,210px)}
.pr-who b{display:flex;align-items:center;gap:8px}
.pr-rk{font-family:'Horta','Barlow',sans-serif;font-style:italic}
.pr-status{min-width:0;display:flex;justify-content:flex-start}
.pr-score b{font-size:1.05rem}
.pr.is-out{opacity:.72}
@media(max-width:720px){
  .pr{grid-template-columns:26px 40px minmax(0,1fr) auto;gap:10px;padding:9px 10px}
  .pr-status .st-chip b,.pr-status .st-chip small{display:none}
  .pr-status .st-chip i{width:12px;height:12px}
}

/* ---- interest modal (was unstyled) ---- */
#interest.profile{
  box-sizing:border-box;width:min(760px,96vw);max-height:90vh;margin:auto;padding:0;border:0;
  border-radius:14px;background:#fff;color:var(--ink);overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.5);
}
#interest.profile::backdrop{background:rgba(9,10,12,.86);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
#interest .pf-wrap{position:relative;max-height:90vh;overflow:auto}
#interest .pf-close{
  position:absolute;right:14px;top:14px;z-index:6;background:var(--dark);color:#fff;border:0;
  width:34px;height:34px;font-size:1.4rem;line-height:1;cursor:pointer;border-radius:50%;
}
#interest .pf-close:hover{background:var(--gold);color:#111}
.interest-body{padding:30px 26px 26px}
.interest-summary{display:inline-block;margin:0 0 14px;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}
.interest-table .ctry{white-space:nowrap}
@media(max-width:560px){
  .interest-body{padding:24px 12px 16px}
  .interest-table{font-size:.84rem}
  .interest-table .ctry span{display:none}
  .interest-table .status-txt{display:none}
}

/* ---- profile: win rate ---- */
.pf-wr{display:flex;align-items:center;gap:20px;padding:4px 0 20px;margin-bottom:6px;border-bottom:1px solid #eceef1}
.pf-wr-ring{--p:0;flex:none;width:92px;height:92px;position:relative;display:grid;place-items:center}
.pf-wr-ring::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(var(--wb) calc(var(--p)*1%),#e9ecf1 0);
  -webkit-mask:radial-gradient(circle,transparent 31px,#000 32px);
          mask:radial-gradient(circle,transparent 31px,#000 32px);
}
.pf-wr-ring b{position:relative;color:#1d2330;font-family:'Barlow',sans-serif;font-weight:800;font-size:1.5rem}
.pf-wr-ring b small{font-size:.8rem;margin-left:1px;opacity:.7}
.pf-wr-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}
.pf-wr-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pf-wr-head span{font-weight:800;color:#1d2330;font-size:1rem}
.pf-wr-head em{font-style:normal;color:#858b94;font-size:.78rem}
.pf-wr-bar{display:flex;height:9px;border-radius:5px;overflow:hidden;background:#e6e8ec;gap:2px}
.pf-wr-bar i{display:block;min-width:3px}
.pf-wr-bar .w{background:var(--wb)}.pf-wr-bar .l{background:#d9a0a0}
.pf-wr-nums{display:flex;gap:18px;flex-wrap:wrap;color:#6b7280;font-size:.85rem}
.pf-wr-nums b{font-size:1.15rem;color:#1d2330;margin-right:2px;font-variant-numeric:tabular-nums}
.pf-wr-nums b.w,.pf-prog-rec b.w{color:#1f7a4c}
.pf-wr-nums b.l,.pf-prog-rec b.l{color:#b04545}
.pf-status{margin-top:12px}
.pf-status .st-chip{color:#e8e8e8}
.pf-status .st-chip small{color:#b9b9b9}
.pf-status .st-chip.out b{color:#ff8da4}

/* ---- profile: games tab ---- */
.pf-prog{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin-bottom:14px;background:#f6f7f9;border-radius:8px}
.pf-prog .st-chip{color:#1d2330}
.pf-prog .st-chip small{color:#6b7280}
.pf-prog-rec{display:flex;gap:16px;font-size:.85rem;color:#6b7280}
.pf-prog-rec b{font-size:1.2rem;margin-right:3px;color:#1d2330}
#profile .pf-game-list{gap:8px}
#profile .pf-game-row{border-radius:8px;border-left-width:4px;padding:12px 14px}
#profile .pf-game-name{font-weight:800;font-size:1.02rem}
#profile .pf-game-outcome{font-weight:800;text-transform:uppercase;font-size:.78rem;letter-spacing:.06em}
#profile .pf-game-outcome.won{color:#1f7a4c}
#profile .pf-game-outcome.lost{color:#b04545}
#profile .pf-game-outcome small{display:block;font-weight:600;text-transform:none;letter-spacing:0;color:#6b7280;font-size:.78rem;margin-top:2px}

/* ---- info page schedule ---- */
.sched-venue{margin:0 0 18px;color:var(--mut)}

/* ---- bracket polish ---- */
.m{border-radius:4px}
.bk .m{transition:opacity .15s,box-shadow .15s}
.bk .m.dim{opacity:.35}
.bk .m.hl{box-shadow:0 0 0 2px var(--gold),0 10px 24px rgba(15,23,42,.16);z-index:3}
.bk .p{cursor:default;transition:background .12s}
.bk .p.lose{background:#fbfbfc}
.bk{scrollbar-width:thin}
.bk-hint{margin:-10px 0 18px;color:var(--mut);font-size:.88rem}
.bk-legend{display:flex;gap:18px;flex-wrap:wrap;margin:-8px 0 20px;font-size:.82rem;color:var(--mut)}
.bk-legend span{display:inline-flex;align-items:center;gap:7px}
.bk-legend i{width:12px;height:12px;border-radius:2px;display:inline-block}
.pc-hero{aspect-ratio:1/.86}
.pc-photo{object-position:50% 18%}
@media(max-width:720px){.pc-hero{aspect-ratio:1/1}}

/* ---- bracket v3: compact rows, live strip, mobile round tabs ---- */
.bk.W,.bk.L{grid-template-rows:auto repeat(8,minmax(96px,auto))}
.br-tabs{display:none}
.bk-hint{display:none}
@media(min-width:721px){.bk-hint{display:block}}
@media(max-width:720px){
  .br-tabs{display:flex;gap:6px;margin:0 0 14px;overflow-x:auto}
  .br-tabs button{
    flex:1 0 auto;min-width:52px;padding:9px 14px;border:1px solid var(--line);background:#fff;color:var(--dark);
    font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:.95rem;text-transform:uppercase;
    border-radius:3px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  }
  .br-tabs button.is-active{background:var(--gold);border-color:var(--gold)}
  .bk.tabbed{display:flex!important;flex-direction:column;gap:14px;padding:4px 0 8px;overflow:visible}
  .bk.tabbed .br-head{position:static;width:auto;margin:0 0 2px}
  .bk.tabbed .br-toggle{display:none}
  .bk.tabbed .br-head{padding-left:0;text-align:left}
  .bk.tabbed .m{width:100%;grid-column:auto!important;grid-row:auto!important;align-self:stretch}
  .bk.tabbed .m[hidden],.bk.tabbed .br-head[hidden]{display:none!important}
  .bk.final{display:flex;flex-direction:column;gap:14px;overflow:visible}
  .bk.final .m{width:100%;grid-column:auto!important}
}

.cd-msg{margin:0;padding:6px 0;text-align:center;font-weight:700;color:var(--gold);font-size:1.1rem}
.cd-msg a{color:#fff;text-decoration:underline}
.cd-msg .live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--red);margin-right:8px;animation:stpulse 1.4s infinite}


/* ---- refinement: restore the readable bracket, keep player UI quiet ---- */
/* Portraits remain in colour, including after elimination. */
.pc.is-out .pc-photo,
.pc:hover .pc-photo{transform:none;filter:saturate(.88) contrast(1.04) brightness(.94)}

/* Four compact cards per row on desktop; step down cleanly on smaller screens. */
.pgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pc{transition:none}
.pc:hover{transform:none;box-shadow:0 2px 8px rgba(15,18,24,.07)}
.pc-body{padding:11px 12px 12px;gap:7px}
.pc-title{gap:7px}
.pc-title h3{font-size:1.16rem}
.pc-lvl{font-size:.82rem;padding:1px 6px}
.pc-bio{font-size:.8rem;line-height:1.35;-webkit-line-clamp:2}
.pc-foot{padding-top:8px;min-height:30px;gap:7px}
.pr{transition:none}
.pr:hover{box-shadow:0 1px 2px rgba(0,0,0,.05);border-left-color:transparent}
@media(max-width:1050px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .pc-body{padding:10px 10px 11px;gap:6px}
  .pc-title h3{font-size:1.02rem}
}

/* Keep the original white match-card shape and contrast over the page background. */
.bk .m{opacity:1;transform:none}
.bk .m:hover{box-shadow:0 2px 8px rgba(15,23,42,.09),0 1px 2px rgba(15,23,42,.05);transform:none}
.bk .p{cursor:default;transition:none}
.bk .p.win{
  background:rgba(231,204,61,.08);
  box-shadow:inset 3px 0 rgba(190,164,55,.24);
  color:inherit;
}
.bk .p.win .n{font-weight:800}
.bk .p.lose{background:#fbfbfc}
.bk .p.lose .n{color:var(--mut)}
.br-toggle{margin-right:5px}

/* Bracket assignment colours: winners green, losers orange, active game red pulse. */
.st-chip.wb i{background:var(--wb);box-shadow:0 0 0 3px rgba(19,163,90,.16)}
.st-chip.lb i{background:var(--lb);box-shadow:0 0 0 3px rgba(242,154,31,.2)}
.st-chip.is-live i{
  background:var(--red)!important;
  box-shadow:0 0 0 0 rgba(228,20,60,.5);
  animation:pulse-dot 1.6s ease-in-out infinite;
}
.st-chip.out i{display:none}
.st-chip.out b{color:#777;font-weight:700}
.pr.is-out{opacity:1}
@media(max-width:720px){.pr-status .st-chip.out b{display:inline!important}}

/* Profile styling from the previous pass remains intact. */
#profile .pf-fact b{font-size:1.38rem}
#profile .pf-wr-ring::before{
  background:conic-gradient(from -90deg,#f1db62 0,var(--gold) calc(var(--p)*1%),#e6e8ec 0);
}
#profile .pf-wr-bar .w{background:linear-gradient(90deg,#f1db62,var(--gold))}
#profile .pf-wr-bar .l{background:#d4d8df}
#profile .pf-egd-link{margin:13px 0 0;font-size:.84rem}
#profile .pf-egd-link a{color:#e6c84c;text-decoration:underline;text-underline-offset:3px}
#profile .pf-egd-link a:hover{color:#fff}
#profile .pf-collapsible summary::after{margin-left:7px}
#profile .pf-tour-list{padding-top:4px}


/* Latest interaction refinements: bracket labels, card GoR line and game refresh. */
.st-chip{gap:0}
.st-chip i{display:none!important}
.st-chip.wb b{color:#178451}
.st-chip.lb b{color:#c77a16}
.st-chip.out b{color:#777}
.st-chip.champ b{color:#9a8121}
.st-chip.is-live i{animation:none!important}
.pc-gor{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:-2px;color:#667080;font-family:'Barlow',sans-serif;font-size:.78rem;font-weight:600;line-height:1.25;font-variant-numeric:tabular-nums}
.pc-gor b{color:#333a45;font-weight:800}
.pc-foot{justify-content:flex-start}
#profile .pf-statistics-title{font-size:1.4rem!important;margin:0 0 12px!important;letter-spacing:-.01em!important;color:#242830!important}
#profile .pf-statistics-title::after{content:"";display:block;width:34px;height:3px;margin-top:10px;border-radius:99px;background:var(--gold)}
#profile .pf-wr-head span{font-size:.84rem;font-weight:700;color:#505762;letter-spacing:.01em}
#profile .pf-graph-details > summary,#profile .pf-collapsible summary{font-size:1rem;font-weight:800;color:#30353d}
.games-refresh-bar{margin-top:14px}
.games-refresh-bar .data-status{flex-basis:auto}
@media(max-width:600px){.games-refresh-bar .data-status{flex-basis:100%}}

.pr-status .st-chip i{display:none!important}

@media(max-width:720px){
  .pr-status .st-chip b{display:inline!important;font-size:.62rem}
  .pr-status .st-chip small{display:none!important}
}

/* =========================================================
   v7 — home intro, schedule, roster, winner/standings, info, compact bracket
   ========================================================= */

/* ---- home ---- */
.light-section .wrap.wide{max-width:1120px}
.home-intro{border-left:3px solid var(--gold);padding-left:22px;max-width:820px}
.home-intro p{font-size:1.1rem;line-height:1.7;color:#2E2E2E;margin:0 0 14px}
.home-intro p:first-child{font-size:1.32rem;line-height:1.5;font-weight:600;color:var(--ink)}
.home-intro p:last-child{margin:0;font-weight:600;color:var(--ink)}

/* ---- schedule (home + info) ---- */
.schedule-block h2{font-size:2.05rem;margin:0 0 20px}
.schedule-days{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:12px;align-items:stretch}
.schedule-day{border-top:3px solid var(--gold);padding:14px 16px 8px;border-radius:3px}
.schedule-day-head{display:flex;align-items:center;gap:12px;padding-bottom:10px;margin-bottom:4px}
.sd-num{font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:2.3rem;line-height:1;color:var(--dark)}
.sd-txt{display:flex;flex-direction:column;line-height:1.15}
.sd-txt small{color:var(--mut);font-size:.74rem;letter-spacing:.02em}
.schedule-day.is-today{box-shadow:0 0 0 2px var(--gold),0 6px 18px rgba(15,23,42,.08)}
.schedule-events li{flex-direction:column;gap:0;padding:7px 0}
.schedule-events li .schedule-time{min-width:0;font-size:.95rem}
.schedule-events li.key .schedule-event-label{font-weight:700}
.schedule-events li.key .schedule-time{color:var(--dark)}
@media(max-width:560px){
  .schedule-events li{flex-direction:row;gap:12px}
}

/* ---- home: player roster ---- */
.roster-section{background:var(--dark);padding:56px 0 64px}
.roster-section[hidden]{display:none}
.roster-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.roster-head h2{color:var(--gold);font-size:2.05rem}
.roster-all{color:var(--gold);text-decoration:none;font-weight:700;font-size:.95rem;white-space:nowrap}
.roster-all:hover{text-decoration:underline}
.roster{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.rs-tile{
  position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border-radius:3px;
  background:linear-gradient(160deg,#3a2e12,#1e1a0d);color:#fff;text-decoration:none;
  border-bottom:3px solid #4a4a4a;
}
.rs-photo{position:absolute;inset:0}
.rs-ini{position:absolute;inset:0;display:grid;place-items:center;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:1.7rem;color:rgba(255,255,255,.28)}
.rs-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 14%;transition:transform .35s}
.rs-tile:hover .rs-img{transform:scale(1.05)}
.rs-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(10,10,10,.9) 100%);pointer-events:none}
.rs-tile .flag{position:absolute;top:7px;left:7px;z-index:2;width:22px;height:15px;object-fit:cover;border-radius:1px;box-shadow:0 0 0 1px rgba(255,255,255,.75),0 1px 4px rgba(0,0,0,.5)}
.rs-info{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:2px;padding:8px}
.rs-info b{font-weight:800;font-size:.84rem;line-height:1.15}
.rs-info small{font-size:.7rem;color:#dcd2a2;font-weight:600}
.rs-tile.is-wb{border-bottom-color:var(--wb)}
.rs-tile.is-lb{border-bottom-color:var(--lb)}
.rs-tile.is-out{border-bottom-color:#555}
.rs-tile.is-champ{border-bottom-color:var(--gold)}
@media(max-width:1000px){.roster{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rs-info b{font-size:.76rem}}
@media(max-width:380px){.roster{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- winner + standings ---- */
.champ-card{
  display:flex;align-items:center;gap:24px;margin-bottom:22px;padding:18px;border-radius:4px;
  background:linear-gradient(135deg,#1e1a0d 0%,#3a2e12 100%);color:#fff;
  border:1px solid rgba(231,204,61,.55);box-shadow:0 10px 30px rgba(179,154,42,.2);
}
.cc-photo{position:relative;flex:none;width:124px;aspect-ratio:3/4;overflow:hidden;border-radius:3px;background:#2a2410;box-shadow:0 0 0 3px var(--gold)}
.cc-photo>span{position:absolute;inset:0;display:grid;place-items:center;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:2.2rem;color:rgba(255,255,255,.3)}
.cc-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 14%}
.cc-eyebrow{color:var(--gold);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem}
.champ-card h3{color:#fff;font-size:clamp(1.9rem,5vw,3rem);margin:6px 0 10px}
.cc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#eadfb0;font-weight:600}
.cc-meta .flag{width:22px;height:15px;object-fit:cover;border-radius:1px}
.cc-sep{font-style:normal;opacity:.5}
.cc-final{margin-top:10px;color:#c9bd95;font-size:.94rem}
.cc-link{display:inline-block;margin-top:12px;color:var(--gold);font-weight:700;text-decoration:none}
.cc-link:hover{text-decoration:underline}
@media(max-width:560px){.champ-card{gap:14px;padding:14px}.cc-photo{width:92px}}

.standings{list-style:none;padding:0;margin:0;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);overflow:hidden}
.sd-row{display:flex;align-items:flex-start;gap:16px;padding:11px 18px;border-top:1px solid var(--line-2)}
.sd-row:first-child{border-top:0}
.sd-row.first{background:#FBF6DE}
.sd-place{flex:0 0 60px;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:1.2rem;line-height:1.4;color:var(--gold-dim)}
.sd-names{display:flex;flex-wrap:wrap;gap:6px 24px}
.sd-p{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.sd-p .flag{width:18px;height:12px;object-fit:cover;border-radius:1px}
.sd-p em{font-style:normal;font-size:.75rem;color:var(--mut)}
.sd-row.first .sd-p{font-weight:800}
.page-title-nav a[hidden]{display:none}

/* ---- info ---- */
.info-lead{font-size:1.22rem;line-height:1.6;max-width:64ch;margin:40px 0 0;padding-left:18px;border-left:3px solid var(--gold);color:var(--ink)}
.facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:0}
.fact{background:#fff;border-radius:3px;border-top:3px solid var(--gold);padding:13px 16px 14px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.fact.wide{grid-column:1/-1}
.fact dt{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--gold-dim)}
.fact dd{margin:3px 0 0;font-weight:800;font-size:1.12rem;line-height:1.25;color:var(--dark)}
.fact dd small{display:block;margin-top:2px;font-size:.84rem;font-weight:500;color:var(--mut)}
.fact .dim{font-weight:500;color:var(--mut)}

.clauses{list-style:none;padding:0;margin:0}
.clauses li{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.clauses li:first-child{border-top:0}
.clauses p{margin:0}
.cl-no{flex:0 0 32px;padding-top:2px;font-size:.88rem;font-weight:800;color:var(--gold-dim);font-variant-numeric:tabular-nums}
.clauses.boxed,.sys-grid .clauses{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px 22px}
.sys-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:start}
.reset{background:var(--dark);color:#fff;border-radius:3px;padding:18px 20px 20px}
.reset h3{color:var(--gold);font-size:1.15rem;margin-bottom:6px}
.reset-case{margin-top:14px;padding:4px 0 4px 14px;border-left:3px solid var(--gold)}
.reset-case b{display:block;font-size:1rem}
.reset-case span{display:block;margin-top:2px;color:#cfc7a8;font-size:.92rem;line-height:1.45}
.reset-case.alt{border-left-color:#8fb6e8}
.info-cta{margin-top:22px}
@media(max-width:820px){.sys-grid{grid-template-columns:1fr}}

/* ---- bracket: compact ---- */
.bk{column-gap:28px;padding:10px 4px 6px}
.bk.W{grid-template-columns:repeat(4,232px);grid-template-rows:auto repeat(8,minmax(72px,auto))}
.bk.L{grid-template-columns:repeat(6,232px);grid-template-rows:auto repeat(8,minmax(72px,auto))}
.bk.final{grid-template-columns:repeat(2,232px);column-gap:24px}
.bk .m{min-height:0}
.bk .m-row{grid-template-columns:minmax(0,1fr) 50px;min-height:50px}
.bk .m .id{font-size:.62rem;padding:2px 8px}
.bk .p{gap:6px;padding:4px 8px;min-height:26px}
.bk .p .n{font-size:.8rem}
.bk .p img{width:16px;height:11px}
.bk .st{width:9px;height:9px;border-width:1.3px}
.bk .rk-card{margin-left:auto;padding-left:.4em;font-size:.68rem;font-weight:600;opacity:.6;white-space:nowrap}
.bk .m-side{padding:4px 2px;gap:3px}
.bk .m-side .result{font-size:.72rem}
.bk .m-side .live-label{font-size:.55rem}
.bk .watch{font-size:.6rem;padding:1px 6px}
.bk .br-head{font-size:.78rem;min-height:32px;padding:5px 6px 5px 34px}
.bk .br-head .br-title-full{font-size:.78rem}
.bk .br-head .br-time{font-size:.68rem;margin-top:1px}
.bk .br-toggle{width:20px;height:20px;font-size:13px;left:6px}
.bk .br-head.collapsed{padding:10px 4px}
.bk.final .br-head{padding:5px 8px}
.bk .m{box-shadow:0 1px 5px rgba(15,23,42,.09),0 1px 2px rgba(15,23,42,.05)}
#w,#l,#f,#r{margin:36px 0}

.page-title a.btn{text-decoration:none}
.page-title a.btn-gold{color:#111}
.page-title a.btn-refresh{color:#f0e7c5}


/* =========================================================
   v8 — logo, carousel, home blocks, live, info, arrows
   ========================================================= */
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{height:34px;width:auto;display:block;flex:none}
.brand-txt{overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.brand-txt{display:none}.brand-logo{height:30px}}

/* tournaments arrow: inline pseudo-elements cannot rotate */
.pf-collapsible summary::after,#profile .pf-collapsible summary::after{display:inline-block;margin-left:7px;transition:transform .2s}
.pf-collapsible[open] summary::after,#profile .pf-collapsible[open] summary::after{transform:rotate(180deg)}

/* page banners: layered backgrounds so a missing top_bg_N.png falls back */
.page-title::before{background:none;background-image:var(--page-bg);background-position:center 35%;background-size:cover;background-repeat:no-repeat}

.countdown-strip{padding-bottom:30px}

/* home: three blocks, overlapping the countdown strip */
.links-strip{background:linear-gradient(180deg,var(--dark) 0,var(--dark) 56px,#F5F7FA 56px)}
.home-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hl{
  position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:190px;padding:20px 22px;
  border-radius:3px;overflow:hidden;text-decoration:none;color:#fff;border-bottom:3px solid var(--gold);
  background-color:var(--dark);
  background-image:linear-gradient(180deg,rgba(20,18,10,0) 35%,rgba(20,18,10,.8) 100%),var(--hl-bg);
  background-size:cover;background-position:center;background-repeat:no-repeat;
  box-shadow:0 10px 26px rgba(0,0,0,.2);
  transition:transform .18s,box-shadow .18s;
}
.hl:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,.28)}
.hl-k{font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;text-transform:uppercase;font-size:2rem;line-height:1;color:var(--gold)}
.hl-s{margin-top:6px;font-size:.9rem;font-weight:600;color:#f0e7c5}
.hl-go{position:absolute;right:20px;bottom:18px;font-size:1.5rem;font-weight:800;color:var(--gold);transition:transform .18s}
.hl:hover .hl-go{transform:translateX(4px)}
@media(max-width:720px){.home-links{grid-template-columns:1fr}.hl{min-height:112px}}
.intro-sec{padding:52px 0 56px}
.players-sec{padding:56px 0 64px}

/* home: live stage */
.live-stage{background:radial-gradient(ellipse 70% 90% at 50% 0%,#2f2710 0%,#161616 70%);padding:56px 0 60px;color:#fff}
.live-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,900px);margin:0 auto 16px}
.live-head h2{font-size:1.7rem;color:var(--gold);display:flex;align-items:center;gap:10px}
.live-head a{color:#e8dfb4;font-weight:600;font-size:.9rem;text-decoration:none}
.live-head a:hover{color:var(--gold)}
.live-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#6b6b6b}
.live-dot.is-live{background:var(--red);animation:stpulse 1.4s infinite}
.live-screen{
  position:relative;width:min(100%,900px);margin:0 auto;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;
  display:grid;place-items:center;padding:28px;text-align:center;
  box-shadow:0 0 0 1px rgba(231,204,61,.28),0 28px 70px rgba(0,0,0,.65);
}
.live-screen p{max-width:36ch;margin:0;color:#d8d0ae;font-size:clamp(1rem,2.4vw,1.35rem);line-height:1.5;font-style:italic}
.live-screen.has-stream{padding:0}
.live-screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* home: players, fading pages */
.pg-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.pg-head h2{font-size:2.05rem;margin-right:auto}
.pg-dots{display:flex;align-items:center;gap:7px}
.pg-dots[hidden]{display:none}
.pg-dots button{width:9px;height:9px;padding:0;border:0;border-radius:5px;background:#c9ced8;cursor:pointer;transition:width .25s,background .25s}
.pg-dots button.on{width:24px;background:var(--gold-dim)}
.pg-all{color:var(--dark);font-weight:700;font-size:.95rem;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px;white-space:nowrap}
.pg-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;transition:opacity .36s ease,transform .36s ease}
.pg-grid.is-out{opacity:0;transform:translateY(10px)}
.pg-tile{
  position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border-radius:3px;color:#fff;text-decoration:none;
  background:linear-gradient(160deg,#3a2e12,#1e1a0d);box-shadow:0 2px 10px rgba(15,23,42,.14);
  animation:pgIn .6s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 70ms);
}
@keyframes pgIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.pg-photo{position:absolute;inset:0}
.pg-ini{position:absolute;inset:0;display:grid;place-items:center;font-family:'Horta','Barlow',sans-serif;font-weight:800;font-style:italic;font-size:1.8rem;color:rgba(255,255,255,.28)}
.pg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 14%;transition:transform .4s}
.pg-tile:hover .pg-img{transform:scale(1.05)}
.pg-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(10,10,10,.88) 100%);pointer-events:none}
.pg-rank{position:absolute;top:8px;right:8px;z-index:2;padding:1px 7px;border-radius:2px;background:var(--gold);color:#111;font-weight:800;font-size:.72rem}
.pg-info{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:3px;padding:9px}
.pg-info b{font-weight:800;font-size:.86rem;line-height:1.15}
.pg-info small{display:flex;align-items:center;gap:6px;font-size:.72rem;font-weight:600;color:#e8dfb4;line-height:1.2}
.pg-info .flag{width:17px;height:12px;object-fit:cover;border-radius:1px;flex:none}
@media(max-width:1000px){.pg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-head{flex-wrap:wrap;gap:10px}.pg-head h2{flex-basis:100%}.pg-dots{margin-right:auto}}
@media(prefers-reduced-motion:reduce){.pg-tile{animation:none}.pg-grid{transition:none}}

/* info: simple blocks */
.kv{margin:0}
.kv>div{display:flex;gap:20px;padding:10px 0;border-top:1px solid var(--line)}
.kv>div:first-child{border-top:0;padding-top:0}
.kv>div:last-child{padding-bottom:0}
.kv dt{flex:0 0 150px;font-weight:800;color:var(--dark)}
.kv dd{margin:0;flex:1}
.prose h3{font-size:1.25rem;margin:26px 0 10px}
.prose h3:first-child{margin-top:0}
.prose p{max-width:70ch}
.prose ul{max-width:70ch}
.info-links{margin-top:22px}
@media(max-width:560px){.kv>div{flex-direction:column;gap:2px}.kv dt{flex:none}}
body.home main{padding-bottom:0}
.light-section{padding-bottom:64px}
.prose ul+p{margin-top:.85em}
.prose a.btn{text-decoration:none;color:#111}
.prose a.btn:not(.btn-gold){background:#fff;box-shadow:inset 0 0 0 2px var(--dark)}

/* info: history + broadcast */
.tba{color:var(--mut);font-style:italic}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:18px 0 22px;max-width:none}
.gallery figure{margin:0;position:relative;overflow:hidden;border-radius:3px;background:#eef0f3}
.gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery figcaption{padding:6px 9px;font-size:.78rem;color:var(--mut)}
.tbl-wrap{overflow-x:auto;margin:6px 0 18px}
.hist-table{width:100%;border-collapse:collapse;font-size:.95rem}
.hist-table th{text-align:left;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-dim);padding:6px 12px 6px 0;border-bottom:2px solid var(--gold)}
.hist-table td{padding:8px 12px 8px 0;border-bottom:1px solid var(--line)}
.hist-table td:first-child{font-weight:800;width:64px;font-variant-numeric:tabular-nums}
.hist-table tr.next td{color:var(--mut);font-style:italic}
.hist-table.narrow{max-width:420px}
.prose .gallery+.tbl-wrap{margin-top:4px}

/* =========================================================
   v10 — front page polish + compact Info experience
   ========================================================= */

/* Home: quiet, useful shortcuts under the main call to action */
.hero-shortcuts{
  display:flex;justify-content:center;align-items:center;gap:11px;flex-wrap:wrap;
  margin:28px auto 0;color:rgba(255,255,255,.42);font-size:.78rem;
  font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}
.hero-shortcuts a{color:#e8dfb4;text-decoration:none;transition:color .18s ease}
.hero-shortcuts a:hover{color:var(--gold)}
.hero-shortcuts span{color:rgba(255,255,255,.2)}

/* The three destination panels are deliberately darker, with the image as texture. */
.links-strip{
  background:linear-gradient(180deg,#111 0,#151515 56px,#F5F7FA 56px);
}
.home-links{gap:16px}
.hl{
  min-height:206px;padding:23px 24px 22px;border-bottom:3px solid var(--gold);
  background-color:#111;
  background-image:
    linear-gradient(180deg,rgba(8,8,8,.38) 0%,rgba(8,8,8,.58) 42%,rgba(8,8,8,.91) 100%),
    radial-gradient(ellipse at 12% 10%,rgba(231,204,61,.11),transparent 55%),
    var(--hl-bg);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s,background-position .5s;
}
.hl::before{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.09);pointer-events:none}
.hl:hover{transform:translateY(-5px);box-shadow:0 20px 40px rgba(0,0,0,.3);background-position:center,center,center 46%}
.hl-index{margin-bottom:auto;color:rgba(242,220,110,.76);font-size:.68rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.hl-k{font-size:clamp(2rem,3vw,2.5rem);letter-spacing:.015em}
.hl-s{font-size:.88rem;color:rgba(255,255,255,.78);letter-spacing:.025em}
.hl-go{right:22px;bottom:19px;color:var(--gold);font-size:1.35rem}
@media(max-width:720px){
  .hero-shortcuts{gap:8px;margin-top:23px;font-size:.7rem}
  .home-links{grid-template-columns:1fr;gap:10px}
  .hl{min-height:132px;padding:16px 19px}
  .hl-index{font-size:.62rem}
  .hl-k{font-size:1.85rem}
  .hl-s{font-size:.82rem}
}

/* Home: make the roster transition feel like a deliberate carousel. */
.pg-grid{transition:opacity .52s ease,transform .52s cubic-bezier(.2,.7,.2,1),filter .52s ease}
.pg-grid.is-out{opacity:0;transform:translateY(-16px) scale(.985);filter:blur(2px)}
.pg-tile{animation:pgInUp .82s cubic-bezier(.18,.72,.24,1) both;animation-delay:calc(var(--i) * 85ms)}
@keyframes pgInUp{
  from{opacity:0;transform:translateY(-18px) scale(.985);filter:blur(2px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
.pg-tile:hover{box-shadow:0 14px 30px rgba(15,23,42,.2)}
@media(prefers-reduced-motion:reduce){
  .pg-grid,.pg-tile{transition:none!important;animation:none!important;filter:none!important;transform:none!important}
}

/* Info page layout */
.info-page{max-width:1040px}
.info-page .sec{margin:36px auto 44px;scroll-margin-top:86px}
.info-page .sec h2{margin:0 0 18px;font-size:clamp(1.75rem,3vw,2.15rem)}
.info-page .prose{max-width:none;padding:23px 26px}
.info-page .prose p{max-width:78ch}
.info-page .page-title-nav{gap:7px;margin-top:23px}
.info-page .kv>div{padding:11px 0}
.info-card{border-top:3px solid var(--gold)}
.info-page .kv dt{flex-basis:155px}
.kv-broadcast dd{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.twitch-link,.text-action{font:800 1rem/1.4 'Barlow',sans-serif;color:var(--dark)!important;text-decoration:underline!important;text-decoration-color:var(--gold)!important;text-decoration-thickness:2px!important;text-underline-offset:4px;background:none;border:0;padding:0;cursor:pointer;transition:text-decoration-color .15s}
.twitch-link:hover,.text-action:hover{text-decoration-color:var(--dark)!important;background:none}
.kv-broadcast dd .text-action::before{content:"·";display:inline-block;margin-right:14px;color:#9aa1ad}
.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}
.section-heading-row h2{margin:0!important}
.section-heading-row .eyebrow{margin:0 0 7px}
.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#938027}
.section-more{font-size:.88rem;font-weight:800;color:#4b4323;text-decoration:none;white-space:nowrap}
.section-more:hover{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.pro-first{margin-top:28px!important}
.pro-benefits{border-left:3px solid var(--gold);box-shadow:0 6px 24px rgba(15,23,42,.045)}
.pro-benefits .benefits-lead{font-weight:800;color:#242830;margin-top:18px}
.pro-benefits ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 28px;max-width:none;padding:0;list-style:none;margin:14px 0 18px}
.pro-benefits li{position:relative;margin:0;padding:11px 12px 11px 30px;background:#f7f8fa;border-radius:3px;line-height:1.45}
.pro-benefits li::before{content:"";position:absolute;left:13px;top:18px;width:7px;height:7px;border-radius:50%;background:var(--gold-dim)}
.pro-warning{padding:13px 15px;background:#fbf7e7;border-left:3px solid var(--gold-dim);border-radius:2px}
.info-links{display:flex;gap:8px;flex-wrap:wrap}
.info-links .btn{margin:0;font-size:.85rem;padding:10px 15px}
.info-page .schedule-days{gap:10px}
.info-page .schedule-day{background:#fff;border:1px solid #e8ebf0}

/* Officials: compact portrait-and-role line */
.officials-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.official{
  display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;
  background:#fff;border:1px solid #e8ebf0;border-radius:4px;
}
.official-photo{position:relative;display:grid;place-items:center;width:48px;height:48px;flex:none;overflow:hidden;border-radius:50%;background:#e9e4d1;color:#574a1c;font-size:.78rem;font-weight:800}
.official-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.official-copy{display:flex;flex-direction:column;min-width:0;gap:3px;line-height:1.2}
.official-copy b{font-size:.88rem;color:#252a33}
.official-copy small{font-size:.72rem;line-height:1.3;color:#687080}

/* Collapsible Rules and History keep the page readable without hiding navigation. */
.disclosure-sec{margin-top:28px!important}
.content-disclosure{border-top:1px solid #dfe3e9;border-bottom:1px solid #dfe3e9}
.content-disclosure>summary{
  display:flex;align-items:center;gap:14px;min-height:66px;padding:15px 4px;
  cursor:pointer;list-style:none;user-select:none;
}
.content-disclosure>summary::-webkit-details-marker{display:none}
.disclosure-title{font-family:'Horta','Barlow',sans-serif;font-style:italic;font-weight:800;font-size:1.75rem;line-height:1;text-transform:uppercase;color:var(--dark)}
.disclosure-subtitle{margin-left:auto;color:#747c8a;font-size:.8rem;font-weight:600}
.disclosure-toggle{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#f0f1f3;color:#363a42;font-size:1.2rem}
.disclosure-toggle::before{content:"+";transform:translateY(-1px)}
.content-disclosure[open] .disclosure-toggle{background:var(--gold);color:#111}
.content-disclosure[open] .disclosure-toggle::before{content:"−"}
.content-disclosure>summary:focus-visible{outline-offset:0;border-radius:3px}
.rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 0 14px}
.rule-card{padding:21px 22px 18px;background:#fff;border:1px solid #e6e9ee;border-top:3px solid var(--gold);border-radius:3px}
.rule-card.rule-eligibility{grid-column:1/-1}
.rule-card .eyebrow{margin:0 0 6px}
.rule-card h3{font-size:1.28rem;margin:0 0 11px;color:#20242b}
.rule-card ul{padding-left:1.15em;margin:0;max-width:none;color:#424956}
.rule-card li{margin:.48em 0;line-height:1.48}
.rule-note{margin:13px 0 0;padding:10px 12px;background:#f6f4e9;border-radius:2px;color:#4e4527}
.rules-source{margin:0 0 18px;font-size:.86rem;color:#697282}
.history-content{padding:9px 0 22px}
.history-content>h3{font-size:1.3rem;margin:24px 0 9px}
.history-content>h3:first-child{margin-top:4px}
.history-content>p{max-width:78ch}
.history-content .tbl-wrap{margin:10px 0 20px}

/* One photo at a time; the same component is swipeable on narrow screens. */
.history-carousel{display:block;max-width:100%;margin:18px 0 22px;overflow:hidden;border-radius:4px;background:#141414}
.history-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none}
.history-track::-webkit-scrollbar{display:none}
.history-track figure{position:relative;flex:0 0 100%;min-width:0;margin:0;overflow:hidden;scroll-snap-align:start;background:#111}
.history-image{position:relative;display:block;width:100%;padding:0;border:0;background:#111;cursor:zoom-in;overflow:hidden}
.history-image img{display:block;width:100%;aspect-ratio:16/8.2;object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .25s}
.history-image:hover img{transform:scale(1.025)}
.image-zoom{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(15,15,15,.64);color:#fff;font-size:1rem;opacity:0;transition:opacity .2s}
.history-image:hover .image-zoom,.history-image:focus-visible .image-zoom{opacity:1}
.history-track figcaption{padding:9px 13px 10px;color:#d7d1bb;background:#181818;font-size:.78rem;letter-spacing:.02em}
.history-controls{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#181818;color:#fff}
.history-arrow{display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:transparent;color:#f4dc70;font-size:1rem;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.history-arrow:hover{background:var(--gold);border-color:var(--gold);color:#111}
.history-dots{display:flex;align-items:center;justify-content:center;gap:6px;flex:1}
.history-dots button{width:6px;height:6px;border:0;border-radius:10px;padding:0;background:rgba(255,255,255,.36);cursor:pointer;transition:width .2s,background .2s}
.history-dots button[aria-current="true"]{width:20px;background:var(--gold)}
.history-count{font-size:.7rem;font-weight:700;letter-spacing:.08em;color:#aaa;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Dialogs for broadcast notes and full-size history photos. */
.info-dialog,.lightbox-dialog{
  position:fixed;inset:0;margin:auto;border:1px solid rgba(231,204,61,.28);border-radius:6px;
  padding:30px;background:#fff;color:#242830;box-shadow:0 24px 90px rgba(0,0,0,.4);max-width:min(560px,calc(100vw - 28px));width:100%;
}
.info-dialog::backdrop,.lightbox-dialog::backdrop{background:rgba(10,10,12,.76);backdrop-filter:blur(4px)}
.info-dialog .eyebrow{margin-bottom:8px}
.info-dialog h2{font-size:2rem;margin:0 35px 13px 0;color:#20242b}
.info-dialog>p:not(.eyebrow){line-height:1.6;color:#555e6b}
.dialog-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:#f0f1f3;color:#343943;font-size:1.5rem;cursor:pointer}
.dialog-close:hover{background:var(--gold);color:#111}
.broadcast-detail-list{margin:20px 0;border-top:1px solid #e7e9ed}
.broadcast-detail-list>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #e7e9ed;font-size:.9rem}
.broadcast-detail-list b{color:#343b47}
.broadcast-detail-list a{color:var(--dark);font-weight:800;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:4px}
.broadcast-detail-list span{color:#687080}
.info-dialog .dialog-footnote{font-size:.8rem;color:#7b8491}
.lightbox-dialog{max-width:min(1120px,calc(100vw - 28px));padding:18px;background:#111;border-color:rgba(255,255,255,.15)}
.lightbox-dialog .dialog-close{z-index:2;background:rgba(255,255,255,.92)}
.lightbox-dialog figure{margin:0;text-align:center}
.lightbox-dialog img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;margin:0 auto;object-fit:contain}
.lightbox-dialog figcaption{padding:11px 42px 2px;color:#e0d8bc;font-size:.85rem}

@media(max-width:900px){
  .officials-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .info-page .sec{margin:29px auto 34px}
  .page-title-nav{flex-wrap:nowrap;overflow-x:auto;padding:0 0 5px;margin-right:-22px;scrollbar-width:none}
  .page-title-nav::-webkit-scrollbar{display:none}
  .page-title-nav a{white-space:nowrap;padding:7px 12px;font-size:.86rem}
  .section-heading-row{align-items:start;flex-direction:column;gap:8px}
  .pro-benefits ul{grid-template-columns:1fr;gap:7px}
  .officials-list{grid-template-columns:1fr 1fr;gap:8px}
  .official{padding:9px;gap:8px}
  .official-photo{width:42px;height:42px}
  .official-copy b{font-size:.8rem}
  .official-copy small{font-size:.68rem}
  .content-disclosure>summary{gap:9px;flex-wrap:wrap}
  .disclosure-title{font-size:1.45rem}
  .disclosure-subtitle{order:3;flex-basis:calc(100% - 42px);margin-left:0;font-size:.74rem}
  .disclosure-toggle{margin-left:auto}
  .rule-grid{grid-template-columns:1fr}
  .rule-card.rule-eligibility{grid-column:auto}
  .rule-card{padding:18px 18px 16px}
  .history-image img{aspect-ratio:4/3}
  .history-controls{gap:8px;padding:8px}
  .broadcast-detail-list>div{grid-template-columns:1fr;gap:3px}
  .info-dialog{padding:26px 22px}
}
@media(max-width:390px){
  .officials-list{grid-template-columns:1fr}
  .info-page .kv dt{flex-basis:unset}
}
@media(prefers-reduced-motion:reduce){
  .history-track{scroll-behavior:auto}
  .history-image img,.hl,.hero-shortcuts a{transition:none!important}
}

/* =========================================================
   v11 — simpler homepage and cleaner Info page
   ========================================================= */

/* Homepage destination panels: one label each, no secondary copy. */
.home-links{gap:14px}
.hl{
  min-height:174px;
  align-items:flex-end;
  justify-content:flex-start;
  padding:22px 24px;
  background-image:linear-gradient(180deg,rgba(8,8,8,.14) 0%,rgba(8,8,8,.78) 100%),var(--hl-bg);
  background-position:center;
  border-bottom:2px solid var(--gold);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:box-shadow .25s ease,background-image .25s ease;
}
.hl::before{border-color:rgba(255,255,255,.12)}
.hl:hover{transform:none;box-shadow:0 15px 32px rgba(0,0,0,.26);background-position:center}
.hl-k{font-size:clamp(2rem,3.2vw,2.55rem);letter-spacing:.01em}
.hl-index,.hl-s,.hl-go{display:none!important}
@media(max-width:720px){
  .home-links{grid-template-columns:1fr;gap:9px}
  .hl{min-height:104px;padding:17px 20px}
  .hl-k{font-size:1.95rem}
}

/* Put the live roster immediately after the three main destinations. */
.players-sec{padding:44px 0 48px}
.players-sec #home-champ:empty{display:none}
.pg-grid{transition:opacity .62s ease}
.pg-grid.is-out{opacity:0;transform:none;filter:none}
.pg-tile{animation:pgFadeIn .7s ease both;animation-delay:calc(var(--i) * 55ms)}
@keyframes pgFadeIn{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .pg-grid,.pg-tile{transition:none!important;animation:none!important;filter:none!important;transform:none!important}
}

/* Small historical pause beneath the players. */
.home-history-section{padding:10px 0 54px;background:#f3f4f6}
.home-history-layout{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:center;gap:clamp(24px,5vw,62px)}
.home-history-photo{overflow:hidden;min-height:250px;background:#171717;border-radius:3px;box-shadow:0 12px 32px rgba(20,25,35,.12)}
.home-history-photo img{display:block;width:100%;height:100%;min-height:250px;max-height:340px;object-fit:cover}
.home-history-copy{max-width:540px;padding:18px 0}
.home-history-kicker{margin:0 0 8px;color:#8b7623;font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.home-history-copy h2{margin:0 0 13px;font-size:clamp(1.8rem,3vw,2.25rem);color:var(--dark)}
.home-history-copy>p:not(.home-history-kicker){margin:0 0 18px;max-width:55ch;color:#515967;line-height:1.65}
.home-history-copy>a{display:inline-flex;align-items:center;gap:9px;color:#3c351a;font-weight:800;text-decoration:none;border-bottom:1px solid var(--gold-dim);padding-bottom:5px}
.home-history-copy>a:hover{color:#8b7623}
@media(max-width:720px){
  .players-sec{padding:34px 0 36px}
  .home-history-section{padding:4px 0 38px}
  .home-history-layout{grid-template-columns:1fr;gap:17px}
  .home-history-photo,.home-history-photo img{min-height:0;max-height:none;aspect-ratio:16/9}
  .home-history-copy{padding:0}
}

/* Info page: consistent type, spacing and a single heading per section. */
.info-page{max-width:1080px}
.info-page .sec{margin:34px auto 42px;scroll-margin-top:86px}
.info-page .sec>h2{margin:0 0 16px;font-family:'Barlow',sans-serif;font-style:normal;font-weight:800;text-transform:none;letter-spacing:-.02em;font-size:clamp(1.65rem,2.8vw,2.05rem);color:#20242b}
.info-page .page-title-nav{margin-top:20px;gap:5px}
.info-page .page-title-nav a{font-size:.8rem;padding:7px 11px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:2px}
.info-page .page-title-nav a:hover{background:rgba(231,204,61,.14)}
.key-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:20px;align-items:stretch}
.info-card{padding:20px 24px;background:#fff;border:1px solid #e6e9ee;border-top:0;border-radius:3px;box-shadow:0 8px 22px rgba(20,25,35,.035)}
.info-page .kv>div{padding:13px 0;border-top:1px solid #edf0f3}
.info-page .kv>div:first-child{padding-top:0;border-top:0}
.info-page .kv>div:last-child{padding-bottom:0}
.info-page .kv dt{flex:0 0 128px;color:#3e4652;font-size:.9rem}
.info-page .kv dd{color:#586170;font-size:.94rem;line-height:1.5}
.venue-photo{position:relative;min-height:100%;margin:0;overflow:hidden;border-radius:3px;background:linear-gradient(145deg,#373a40,#17191d);box-shadow:0 8px 22px rgba(20,25,35,.09)}
.venue-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.venue-photo-fallback{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.5);font-size:.85rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.info-schedule{margin:0;padding:0;border:0;background:transparent}
.info-page .schedule-days{gap:10px}
.info-page .schedule-day{border:1px solid #e8ebf0;border-radius:3px;box-shadow:none}

/* Toggle headings are deliberately quiet: no subtitle or eyebrow. */
.info-page .disclosure-sec{margin-top:24px!important}
.content-disclosure{border-top:1px solid #dfe3e9;border-bottom:1px solid #dfe3e9}
.content-disclosure>summary{min-height:64px;padding:14px 4px;gap:14px}
.disclosure-title{font-family:'Barlow',sans-serif;font-style:normal;font-size:1.55rem;letter-spacing:-.015em;text-transform:none;color:#252a32}
.disclosure-subtitle{display:none!important}
.disclosure-toggle{width:28px;height:28px;background:#f0f1f3;color:#454b54}
.content-disclosure[open] .disclosure-toggle{background:var(--gold);color:#171717}
.pro-content{max-width:900px;padding:8px 4px 25px;color:#4e5662;font-size:.96rem;line-height:1.65}
.pro-content>p{max-width:82ch;margin:0 0 13px}
.pro-content ul{max-width:860px;padding-left:1.2em;margin:10px 0 17px}
.pro-content li{margin:.48em 0;padding-left:3px;line-height:1.55}
.pro-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px;padding-top:3px}
.pro-actions .btn{margin:0;font-size:.87rem;padding:10px 16px}
.pro-actions .btn:not(.btn-gold){background:#fff;box-shadow:inset 0 0 0 1px #cbd0d8}

/* Officials remain compact and aligned, without an extra eyebrow heading. */
.officials-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.official{padding:10px 12px;background:#fff;border:1px solid #e8ebf0;box-shadow:none}
.official-photo{width:46px;height:46px}
.official-copy b{font-family:'Barlow',sans-serif;font-size:.9rem;font-weight:800}
.official-copy small{font-size:.73rem}

/* Rules: neutral rows, no coloured callouts or nested summary copy. */
.rule-content{padding:5px 4px 22px}
.rule-grid{grid-template-columns:1fr}
.rule-group{padding:16px 0 18px;border-bottom:1px solid #e8ebf0}
.rule-group:first-child{padding-top:9px}
.rule-group h3{margin:0 0 10px;color:#303741;font-family:'Barlow',sans-serif;font-size:1.08rem;font-weight:800}
.rule-group ul{max-width:900px;margin:0;padding-left:1.2em;color:#555e6b}
.rule-group li{margin:.43em 0;line-height:1.52}
.rules-source{margin:16px 0 0;color:#687080;font-size:.86rem}
.rules-source a{font-weight:700;color:#4b4323;text-underline-offset:3px}

/* History uses the same simple toggle and typography as the rest of Info. */
.history-content{padding:8px 4px 20px;color:#535c68;line-height:1.62}
.history-content>h3{margin:22px 0 8px;color:#303741;font-family:'Barlow',sans-serif;font-size:1.08rem;font-style:normal;font-weight:800}
.history-content>h3:first-child{margin-top:5px}
.history-content>p{max-width:88ch}
.history-content .tbl-wrap{margin:12px 0 20px}
.history-carousel{border-radius:3px}

/* Footer links: compact legal and federation reference. */
.footer-bottom p{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 7px}
.footer-bottom a{white-space:nowrap}

@media(max-width:760px){
  .key-layout{grid-template-columns:1fr}
  .venue-photo{min-height:210px;aspect-ratio:16/9}
  .venue-photo img{position:absolute}
  .officials-list{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .info-page .sec{margin:28px auto 34px}
  .info-page .page-title-nav{flex-wrap:nowrap;overflow-x:auto;padding:0 0 5px;margin-right:-18px;scrollbar-width:none}
  .info-page .page-title-nav::-webkit-scrollbar{display:none}
  .info-page .page-title-nav a{white-space:nowrap}
  .info-page .kv>div{flex-direction:row;gap:10px}
  .info-page .kv dt{flex:0 0 105px}
  .info-page .kv dd{min-width:0}
  .officials-list{grid-template-columns:1fr}
  .content-disclosure>summary{flex-wrap:nowrap}
  .disclosure-title{font-size:1.35rem}
  .pro-actions{flex-direction:column;align-items:stretch}
  .pro-actions .btn{text-align:center}
  .venue-photo{min-height:185px}
}
@media(max-width:390px){
  .info-page .kv>div{flex-direction:column;gap:3px}
  .info-page .kv dt{flex:initial}
}


/* =========================================================
   v12 — story-led homepage; open Pro section and nested Rules on Info
   ========================================================= */

/* Keep the event introduction as the first content section after the countdown. */
body.home .intro-sec{padding:42px 0 48px}
body.home .home-intro{max-width:900px;padding:0;border:0}
body.home .home-intro p{font-size:1.06rem;line-height:1.72;color:#3e4652;margin:0 0 13px}
body.home .home-intro p:first-child{font-size:clamp(1.18rem,2vw,1.38rem);line-height:1.58;font-weight:700;color:#252a32}
body.home .home-intro p:last-child{margin-bottom:0;font-weight:600;color:#252a32}

/* A concise, editorial history section replaces the Home player cards and destination tiles. */
body.home .home-history-section{padding:62px 0 70px;background:#f1f2f4}
.home-history-heading{max-width:810px;margin:0 0 27px}
.home-history-heading .home-history-kicker{margin:0 0 8px;color:#887522;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.home-history-heading h2{margin:0 0 11px;color:#20252c;font-family:'Barlow',sans-serif;font-size:clamp(2rem,3.6vw,2.65rem);font-weight:800;letter-spacing:-.035em;line-height:1.08}
.home-history-heading>p:last-child{max-width:75ch;margin:0;color:#59616c;font-size:1rem;line-height:1.65}
.home-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 34px}
.history-stat{display:flex;min-height:91px;flex-direction:column;justify-content:center;gap:4px;padding:14px 17px;background:#fff;border:1px solid #e2e5e9}
.history-stat b{color:#282d35;font-family:'Barlow',sans-serif;font-size:1.65rem;font-weight:800;line-height:1}
.history-stat span{color:#68717d;font-size:.78rem;line-height:1.35}
.home-history-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);align-items:start;gap:clamp(24px,4.5vw,54px)}
.home-history-timeline>h3,.history-beyond h3{margin:0 0 16px;color:#252a32;font-family:'Barlow',sans-serif;font-size:1.25rem;font-weight:800;letter-spacing:-.01em}
.history-timeline{position:relative;display:grid;gap:0;margin:0;padding:0;list-style:none}
.history-timeline::before{position:absolute;top:13px;bottom:17px;left:27px;width:1px;background:#d2d6dc;content:""}
.history-timeline li{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);gap:13px;align-items:start;padding:0 0 15px}
.history-timeline li:last-child{padding-bottom:0}
.history-timeline time{z-index:1;display:grid;place-items:center;width:55px;height:28px;border:1px solid #d8dce1;border-radius:2px;background:#f1f2f4;color:#414954;font-size:.76rem;font-weight:800;font-variant-numeric:tabular-nums}
.history-timeline li>div{display:flex;min-width:0;flex-direction:column;gap:2px;padding:2px 0 0}
.history-timeline li b{color:#303741;font-size:.9rem;font-weight:800;line-height:1.3}
.history-timeline li span{color:#68717d;font-size:.82rem;line-height:1.45}
.history-timeline-next time{background:#e8e1c8;border-color:#d8c990;color:#554719}
.history-timeline-next b{color:#5b4b19}
.home-history-aside{min-width:0}
.home-history-carousel{margin:0 0 21px;border-radius:3px;background:#17191d;box-shadow:0 8px 22px rgba(18,22,28,.09)}
.home-history-carousel .history-image img{width:100%;aspect-ratio:16/10;object-fit:cover}
.home-history-carousel .history-track figcaption{min-height:36px}
.home-history-carousel .history-controls{padding:9px 11px}
.history-beyond{padding:17px 18px 18px;background:#fff;border:1px solid #e2e5e9}
.history-beyond h3{margin-bottom:8px;font-size:1.08rem}
.history-beyond p{margin:0 0 9px;color:#5d6672;font-size:.84rem;line-height:1.58}
.history-beyond p:last-of-type{margin-bottom:13px}
.history-beyond a{display:inline-block;color:#5c4e1e;font-size:.82rem;font-weight:800;text-decoration:none;border-bottom:1px solid #d8c77d;padding-bottom:3px}
.history-beyond a:hover{color:#8b7623}
@media(max-width:900px){
  .home-history-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.82fr);gap:24px}
  .home-history-stats{gap:8px}
  .history-stat{padding:12px}
}
@media(max-width:720px){
  body.home .intro-sec{padding:32px 0 36px}
  body.home .home-history-section{padding:43px 0 48px}
  .home-history-heading{margin-bottom:21px}
  .home-history-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:26px}
  .home-history-grid{grid-template-columns:1fr;gap:27px}
  .home-history-aside{display:flex;flex-direction:column;gap:0}
  .home-history-carousel .history-image img{aspect-ratio:16/9}
  .history-timeline li{padding-bottom:13px}
}

/* Info: Key info → Officials → Schedule → always-visible Becoming a pro → Rules. */
.info-page .officials-section{margin-top:24px;margin-bottom:35px}
.info-page .pro-section{margin-top:38px}
.info-page .pro-section>h2{margin-bottom:13px}
.info-page .pro-section .pro-content{max-width:920px;padding:0 4px 5px;border:0}
.info-page .pro-section .pro-content>p{max-width:85ch}
.info-page .rules-section{margin-top:30px}
.info-page .rules-section>h2{margin-bottom:12px}
.info-page .rules-section .rule-content{padding:0 4px 18px}
.rule-accordion{border-top:1px solid #e0e4e9}
.rule-accordion:last-of-type{border-bottom:1px solid #e0e4e9}
.rule-accordion>summary{position:relative;display:flex;align-items:center;min-height:51px;padding:12px 38px 12px 2px;color:#343b45;font-family:'Barlow',sans-serif;font-size:1.04rem;font-weight:800;list-style:none;cursor:pointer}
.rule-accordion>summary::-webkit-details-marker{display:none}
.rule-accordion>summary::after{position:absolute;right:5px;top:50%;display:grid;place-items:center;width:24px;height:24px;transform:translateY(-50%);border-radius:50%;background:#eceef1;color:#555e68;font-family:Arial,sans-serif;font-size:1rem;font-weight:400;content:"+"}
.rule-accordion[open]>summary::after{background:var(--gold);color:#171717;content:"−"}
.rule-accordion>summary:focus-visible{outline:2px solid #b7a24e;outline-offset:2px}
.rule-accordion-content{padding:0 5px 15px 2px}
.rule-accordion-content ul{max-width:900px;margin:0;padding-left:1.2em;color:#555e6b}
.rule-accordion-content li{margin:.43em 0;line-height:1.52}
.rules-source{margin:15px 0 0;color:#687080;font-size:.86rem}
.rules-source a{font-weight:700;color:#4b4323;text-underline-offset:3px}
@media(max-width:600px){
  .info-page .officials-section{margin-top:22px;margin-bottom:29px}
  .info-page .pro-section{margin-top:31px}
  .rule-accordion>summary{min-height:48px;font-size:1rem}
}

/* ===== home: intro, history and pros ===== */
body.home .pros-section{background:#F5F7FA;padding:64px 0 80px}
.pros-wrap{max-width:1120px;margin:0 auto;padding:0 22px}
.pros-narrow{max-width:860px}
.pros-section p{font-size:1.05rem;line-height:1.7;color:#2E2E2E}
.pros-section p+p{margin-top:14px}
.pros-intro{margin-bottom:64px}
.pros-block{margin-bottom:64px}
.pros-block:last-child{margin-bottom:0}
.pros-block h2{margin-bottom:20px;font-size:clamp(1.8rem,3.4vw,2.3rem)}
.pros-text a{font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}

/* horizontal timeline */
.pros-timeline-scroll{margin:40px 0 0;overflow-x:auto;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:#cfd3da transparent}
.pros-timeline{display:flex;min-width:1040px;margin:0;padding:0;list-style:none}
.pros-timeline li{flex:1 0 116px;display:flex;flex-direction:column;align-items:center;padding:0 6px;text-align:center}
.pro-photos{display:flex;gap:6px;justify-content:center}
.pro-photo{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;overflow:hidden;background:#e3e6eb;color:#5B6070}
.pro-photo b{font-size:.875rem;font-weight:700}
.pro-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pro-photo.is-unknown{background:none;border:2px dashed var(--gold-dim);color:var(--gold-dim)}
.pros-timeline .dot{position:relative;display:block;align-self:stretch;height:14px;margin:14px 0 12px}
.pros-timeline .dot::before{content:"";position:absolute;top:6px;left:-6px;right:-6px;height:2px;background:#d9d4bb}
.pros-timeline li:first-child .dot::before{left:50%}
.pros-timeline li:last-child .dot::before{right:50%}
.pros-timeline .dot::after{content:"";position:absolute;top:0;left:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px #F5F7FA}
.pros-timeline .is-next .dot::after{background:#F5F7FA;border:2px solid var(--gold-dim);box-shadow:none}
.pros-timeline time{font-size:1.05rem;font-weight:700;color:var(--dark)}
.pros-timeline .pro-place{margin-top:2px;font-size:.875rem;font-weight:500;color:var(--dark)}
.pros-timeline .pro-name{margin-top:6px;font-size:.875rem;line-height:1.35;color:#5B6070}
.pros-timeline .pro-place+.pro-name{margin-top:6px}
.pros-timeline .pro-name+.pro-name{margin-top:2px}

/* quotes */
.pros-quote{margin:48px 0 0}
.pros-quote blockquote{margin:0}
.pros-quote blockquote p{max-width:52ch;font-size:1.25rem;line-height:1.55;font-style:italic;color:var(--ink)}
.pros-quote figcaption{margin-top:10px;font-size:.875rem;color:#5B6070}

/* photos beside text */
.pros-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:center;margin-bottom:36px}
.pros-row.reverse{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.pros-row.reverse figure{order:2}
.pros-row figure{margin:0}
.pros-row img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:3px;box-shadow:0 8px 24px rgba(20,25,35,.12)}
.pros-row figcaption{margin-top:8px;font-size:.875rem;color:#5B6070}

.footer-egf{font-size:1.45rem;letter-spacing:.01em}

/* live: closed by default, directly behind the countdown */
.live-stage[hidden]{display:none}
.countdown-strip+.live-stage{padding-top:28px}

@media(max-width:720px){
  body.home .pros-section{padding:44px 0 56px}
  .pros-intro,.pros-block{margin-bottom:48px}
  .pros-quote{margin-top:36px}
  .pros-row,.pros-row.reverse{grid-template-columns:1fr;gap:14px;margin-bottom:34px}
  .pros-row.reverse figure{order:0}
}

/* Tournament details retain a compact plus/minus affordance. */
#profile .pf-collapsible>summary{position:relative;padding-right:36px}
#profile .pf-collapsible>summary::after{
  position:absolute;right:0;top:calc(50% - 6px);margin:0;display:grid;place-items:center;width:24px;height:24px;
  transform:translateY(-50%);border-radius:50%;background:#eceef1;color:#555e68;
  font-family:Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1;content:"+";transition:none}
#profile .pf-collapsible[open]>summary::after{transform:translateY(-50%);background:var(--gold);color:#171717;content:"−"}

/* home: lead lines and photo carousels */
.pros-section p.pros-lead{margin-top:26px;font-weight:700;color:var(--ink)}
.pros-section p.pros-lead+p{margin-top:8px}
.pros-carousel{position:relative;margin:34px 0}
.pros-carousel:not(:has(.pc-slide)){display:none}
.pros-block .pros-text+.pros-carousel{margin-top:30px}
.pc-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:3px}
.pc-track::-webkit-scrollbar{display:none}
.pc-track:focus-visible{outline:2px solid var(--gold-dim);outline-offset:3px}
.pc-slide{flex:0 0 min(560px,84%);margin:0;scroll-snap-align:start}
.pc-slide img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:3px;box-shadow:0 8px 24px rgba(20,25,35,.12)}
.pc-btn{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:#fff;color:var(--dark);font:400 1.5rem/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 10px rgba(20,25,35,.25);transition:opacity .15s}
.pc-btn.prev{left:10px;padding-bottom:3px}
.pc-btn.next{right:10px;padding-bottom:3px}
.pc-btn:hover,.pc-btn:focus-visible{background:var(--gold);color:#111;box-shadow:0 4px 16px rgba(231,204,61,.38);outline:none}
.pros-carousel.at-start .pc-btn.prev,.pros-carousel.at-end .pc-btn.next{opacity:0;pointer-events:none}
.pros-carousel.is-short .pc-btn{display:none}
@media (hover:none){.pc-btn{display:none}}
@media(max-width:720px){.pc-slide{flex-basis:88%}}
.pros-intro+.pros-timeline-scroll{margin:44px 0 64px}
@media(max-width:720px){.pros-intro+.pros-timeline-scroll{margin:34px 0 48px}}


/* Compact live-stream line */
.live-stage{background:#211f19;color:#eee;padding:12px 0;border-top:1px solid rgba(231,204,61,.16);border-bottom:1px solid rgba(231,204,61,.16)}
.live-line{display:flex;align-items:center;gap:14px;min-height:30px;flex-wrap:wrap;font-size:.9rem}
.live-line-title{display:inline-flex;align-items:center;gap:9px;color:#f4e8b9;font-weight:800}
.live-status{color:#aeb2b9;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
.live-toggle{border:0;background:transparent;color:var(--gold);font:inherit;font-weight:700;cursor:pointer;padding:4px 0}
.live-toggle:hover{text-decoration:underline}
.live-line>a{margin-left:auto;color:#e8dfb4;text-decoration:none;font-weight:700}
.live-line>a:hover{color:var(--gold)}
.live-details{padding:14px 0 8px}
.live-details[hidden]{display:none}
.live-screen{width:min(100%,760px);aspect-ratio:16/9;margin:0 auto}
.live-dot{width:9px;height:9px;flex:none}
.live-dot.is-live{background:#e34b4b}
@media(max-width:560px){.live-line{gap:9px}.live-line>a{margin-left:0}.live-toggle{margin-left:auto}}

/* Pro meaning photo/text feature */
.pros-meaning-feature figcaption,.pc-slide figcaption{margin-top:7px;color:#68707b;font-size:.8rem;line-height:1.35}
/* Two-up carousel cards and photo lightbox */
.pc-slide{flex:0 0 calc(50% - 6px)}
.pc-slide img{cursor:zoom-in}
.pc-slide figcaption{padding:0 2px}
@media(max-width:620px){.pc-slide{flex-basis:84%}}
.photo-lightbox{position:fixed;inset:0;margin:auto;height:fit-content;width:fit-content;border:0;padding:0;background:transparent;color:#fff;max-width:94vw;max-height:94vh;overflow:visible;cursor:zoom-out;outline:0}
.photo-lightbox::backdrop{background:rgba(0,0,0,.82)}
.photo-lightbox figure{margin:0}
.photo-lightbox img{display:block;max-width:92vw;max-height:80vh;width:auto;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 20px 70px rgba(0,0,0,.55)}
.photo-lightbox figcaption{color:#eee;text-align:center;font-size:.9rem;margin-top:12px}
.photo-lightbox-close{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;z-index:2}
.photo-lightbox-close:hover{background:var(--gold);color:#111}
.pros-meaning-feature img{cursor:zoom-in}


/* =========================================================
   v19 refinements
   ========================================================= */

/* ranking: GoR sits beside the country in the same quiet, regular text style */
.pr-who small{gap:0}
.pr-gor{display:inline-flex;align-items:baseline;gap:4px;flex:none;color:var(--mut);font-size:inherit;font-weight:400}
.pr-gor::before{content:"·";margin:0 9px;color:#aab0bb}
.pr-gor small,.pr-gor b{display:inline;font-size:inherit;font-weight:400;letter-spacing:normal;color:inherit}
.pr-gor b{font-variant-numeric:tabular-nums}
.pr-who small .pr-gor span{overflow:visible}

/* live stream: one quiet line, "+" to open, Twitch button under the screen */
.live-stage,.countdown-strip+.live-stage{background:#211f19;padding:6px 0;border-top:1px solid rgba(231,204,61,.16);border-bottom:1px solid rgba(231,204,61,.16)}
.live-line{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:46px;padding:8px 0;border:0;background:none;color:#f4e8b9;font:400 .98rem 'Barlow',sans-serif;text-align:left;cursor:pointer}
.live-line:hover .live-plus{background:var(--gold);color:#111}
.live-line-title{display:inline-flex;align-items:center;gap:9px;font-weight:400}
.live-dot[hidden]{display:none}
.live-plus{position:relative;flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;transition:background .15s,color .15s}
.live-plus::before{content:"+";font:400 1.25rem/1 Arial,sans-serif;transform:translateY(-1px)}
.live-line[aria-expanded="true"] .live-plus{background:var(--gold);color:#111}
.live-line[aria-expanded="true"] .live-plus::before{content:"−"}
.live-details{padding:6px 0 18px}
.live-screen{display:grid;place-items:center;position:relative;width:min(100%,760px);aspect-ratio:16/9;margin:0 auto;background:#000;border-radius:4px;overflow:hidden;box-shadow:none}
.live-screen p{margin:0;color:#8f939b;font-size:1rem;font-style:normal}
.live-twitch{display:table;margin:14px auto 0}

/* home intro: heading + venue photo on the right */
.pros-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:44px;align-items:center;margin-bottom:56px}
.pros-intro-text h2{margin-bottom:18px;font-size:clamp(2rem,4.2vw,3rem)}
.pros-intro-photo{margin:0}
.pros-intro-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:3px;box-shadow:0 8px 24px rgba(20,25,35,.12);cursor:zoom-in}
.pros-intro-photo.is-empty{display:none}
.pros-intro:has(.pros-intro-photo.is-empty){grid-template-columns:minmax(0,860px)}
@media(max-width:820px){.pros-intro{grid-template-columns:1fr;gap:22px}.pros-intro-photo{order:2}}

/* qualification timeline inside the "About the EGF pro system" section */
.pros-block .pros-timeline-scroll{margin:38px 0 0}
.pros-reference-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.pros-reference-links .btn{margin:0;padding:11px 18px;font-size:.88rem}
@media(max-width:600px){.pros-reference-links .btn{flex:1 1 100%;text-align:center}}

/* The photo sits beside the "what does it mean" heading and its paragraph. */
.pros-meaning-feature{position:relative;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:28px;align-items:stretch;margin:34px 0 20px}
.pros-meaning-feature .pmf-text{max-width:640px;align-self:start}
.pros-meaning-feature .pros-lead{margin-top:0}
.pros-meaning-feature .pmf-photo{position:relative;align-self:stretch;min-height:0;height:auto;width:100%;margin:0;overflow:hidden;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%,7% 52%);filter:drop-shadow(0 16px 24px rgba(20,25,35,.18))}
.pros-meaning-feature .pmf-photo::before{content:"";position:absolute;z-index:2;top:0;bottom:0;left:13%;width:4px;background:var(--gold);transform:skewX(-8deg);transform-origin:top;pointer-events:none}
.pros-meaning-feature .pmf-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:50% 55%;border-radius:0;box-shadow:none;cursor:zoom-in;filter:none;mask-image:none;-webkit-mask-image:none}
.pros-meaning-feature .pmf-photo figcaption{position:absolute;z-index:3;right:0;bottom:0;left:0;margin:0;padding:22px 14px 10px 18%;color:#fff;font-size:.78rem;line-height:1.35;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.pros-meaning-feature:not(:has(.pmf-gallery)){grid-template-columns:minmax(0,1fr)}
.pros-meaning-followup{margin-top:24px}
@media(max-width:820px){
  .pros-meaning-feature{grid-template-columns:minmax(0,1fr);gap:14px;margin:24px 0 14px}
  .pros-meaning-feature .pmf-photo{order:-1;width:100%;height:auto;min-height:0;aspect-ratio:16/9;margin:0 auto;clip-path:polygon(8% 0,100% 0,100% 100%,0 100%,4% 52%)}
  .pros-meaning-feature .pmf-photo img{position:absolute}
  .pros-meaning-feature .pmf-photo::before{left:7%;width:3px}
  .pros-meaning-followup{margin-top:18px}
}


/* =========================================================
   v22 refinements
   ========================================================= */

/* timeline: country code after the player's name */
.pros-timeline .pro-cc{display:inline;margin:0;font:inherit;letter-spacing:normal;color:inherit}
.pros-timeline .pro-cc::before{content:"("}
.pros-timeline .pro-cc::after{content:")"}

/* rules: referee / appeals line under the title */
.rules-officials{margin:0 0 18px;line-height:1.6}

/* footer: linked partner logos */
.footer-sponsors a{display:inline-flex;align-items:center;border-radius:6px;transition:opacity .15s}
.footer-sponsors a:hover{opacity:.85}

/* schedule: full day names must fit */
.schedule-day-name{letter-spacing:.02em;overflow-wrap:anywhere}

/* home "what does it mean" feature: photo top/bottom lines up with the text */
.pros-meaning-feature{align-items:stretch}
.pros-meaning-feature .pmf-text .pros-lead{text-box:trim-start cap alphabetic}
.pros-meaning-feature .pmf-text p:last-child{text-box:trim-end cap alphabetic}
/* medium screens: same layout, photo cropped more on the sides */
@media(max-width:820px){
  .pros-meaning-feature{grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:20px;margin:24px 0 14px}
  .pros-meaning-feature .pmf-photo{order:0;aspect-ratio:auto;width:100%;margin:0;clip-path:polygon(20% 0,100% 0,100% 100%,0 100%,9% 52%)}
  .pros-meaning-feature .pmf-photo::before{left:17%;width:3px}
  .pros-meaning-feature .pmf-photo img{object-position:62% 50%}
}
/* very small screens: photo sits under the text, plain rounded corners */
@media(max-width:560px){
  .pros-meaning-feature{grid-template-columns:minmax(0,1fr);gap:16px}
  .pros-meaning-feature .pmf-photo{aspect-ratio:16/10;clip-path:none;filter:none;border-radius:10px;box-shadow:0 6px 18px rgba(20,25,35,.14)}
  .pros-meaning-feature .pmf-photo::before{display:none}
  .pros-meaning-feature .pmf-photo img{object-position:50% 40%}
}

/* v23: beat ".pros-section p.pros-lead{margin-top:26px}" so the title and photo share the same top */
.pros-section .pros-meaning-feature p.pros-lead{margin-top:0}
.pros-section .pros-meaning-feature .pmf-text p:last-child{margin-bottom:0}

/* v24: the photo spans the whole text section, from the subtitle down to the links */
.pros-section .pros-meaning-feature .pmf-text{max-width:none}
.pros-section .pros-meaning-feature .pmf-text p{margin:0 0 1em}
.pros-section .pros-meaning-feature .pmf-text p.pros-lead+p{margin-top:8px}
.pros-section .pros-meaning-feature .pmf-text p:last-child{margin-bottom:0}
.pros-meaning-feature{margin:34px 0 28px}
@media(max-width:820px){.pros-meaning-feature{margin:24px 0 22px}}
@media(max-width:560px){.pros-meaning-feature .pmf-photo{height:auto;min-height:0}}


/* Europe Pro feature photo carousel: numbered images, with credit below. */
.pros-meaning-feature .pmf-gallery{position:relative;align-self:stretch;display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;margin:0}
.pros-meaning-feature .pmf-rotator{position:relative;flex:1;min-height:320px;width:100%;overflow:hidden;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%,7% 52%);filter:drop-shadow(0 16px 24px rgba(20,25,35,.18))}
.pros-meaning-feature .pmf-rotator::before{content:"";position:absolute;z-index:2;top:0;bottom:0;left:13%;width:4px;background:var(--gold);transform:skewX(-8deg);transform-origin:top;pointer-events:none}
.pros-meaning-feature .pmf-rotator-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 55%;border-radius:0;box-shadow:none;cursor:zoom-in;opacity:1;transition:opacity .22s ease}
.pros-meaning-feature .pmf-rotator-image.is-changing{opacity:.25}
.pros-meaning-feature .pmf-gallery figcaption{position:static;margin:8px 0 0;padding:0;color:#68707b;font-size:.8rem;line-height:1.35;text-align:right}
@media(max-width:820px){.pros-meaning-feature .pmf-gallery{order:0}.pros-meaning-feature .pmf-rotator{min-height:280px;aspect-ratio:16/9;flex:none;clip-path:polygon(8% 0,100% 0,100% 100%,0 100%,4% 52%)}.pros-meaning-feature .pmf-rotator::before{left:7%;width:3px}}
@media(max-width:560px){.pros-meaning-feature .pmf-rotator{min-height:0;aspect-ratio:16/10;clip-path:none;filter:none;border-radius:10px;box-shadow:0 6px 18px rgba(20,25,35,.14)}.pros-meaning-feature .pmf-rotator::before{display:none}.pros-meaning-feature .pmf-rotator-image{object-position:50% 40%}}
@media(prefers-reduced-motion:reduce){.pros-meaning-feature .pmf-rotator-image{transition:none}}


/* Europe Pro gallery: dot navigation and a stable, generous photo height on tablets. */
.pros-meaning-feature .pmf-rotator-dots[hidden]{display:none}
.pros-meaning-feature .pmf-rotator-dots{
  position:absolute;z-index:4;right:0;bottom:14px;left:0;
  display:flex;align-items:center;justify-content:center;gap:9px;
  padding:4px 12px;pointer-events:none;
}
.pros-meaning-feature .pmf-rotator-dot{
  width:8px;height:8px;min-width:8px;padding:0;
  border:1px solid rgba(255,255,255,.95);border-radius:50%;
  background:rgba(20,24,30,.45);box-shadow:0 1px 4px rgba(0,0,0,.35);
  cursor:pointer;pointer-events:auto;transition:width .18s ease,background .18s ease,transform .18s ease;
}
.pros-meaning-feature .pmf-rotator-dot.is-active{
  width:22px;border-radius:8px;background:var(--gold);border-color:var(--gold);
}
.pros-meaning-feature .pmf-rotator-dot:focus-visible{
  outline:2px solid #fff;outline-offset:3px;
}
.pros-meaning-feature .pmf-gallery figcaption{min-height:1.1em}
.pros-meaning-feature .pmf-gallery figcaption[hidden]{display:none}

/* At tablet widths, give the photo the full row instead of squeezing it beside the text. */
@media(max-width:940px){
  .pros-section .pros-meaning-feature{grid-template-columns:minmax(0,1fr);gap:18px}
  .pros-section .pros-meaning-feature .pmf-gallery{order:-1;width:100%}
  .pros-section .pros-meaning-feature .pmf-rotator{
    flex:none;width:100%;height:360px;min-height:360px;aspect-ratio:auto;
    clip-path:polygon(8% 0,100% 0,100% 100%,0 100%,4% 52%);
  }
  .pros-section .pros-meaning-feature .pmf-rotator-image{object-position:50% 50%}
}
@media(max-width:560px){
  .pros-section .pros-meaning-feature .pmf-rotator{
    height:320px;min-height:320px;aspect-ratio:auto;clip-path:none;
    filter:none;border-radius:10px;box-shadow:0 6px 18px rgba(20,25,35,.14);
  }
  .pros-section .pros-meaning-feature .pmf-rotator::before{display:none}
  .pros-section .pros-meaning-feature .pmf-rotator-dots{bottom:11px;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .pros-meaning-feature .pmf-rotator-dot{transition:none}
}

/* ===== Photo navigation: arrows (v27) ===== */
/* Europe Pro rotator: arrows + dots in one pill at the bottom of the photo. */
.pros-meaning-feature .pmf-rotator-nav{
  position:absolute;z-index:4;bottom:16px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:6px;padding:5px;
  border-radius:999px;background:rgba(18,20,24,.58);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 4px 18px rgba(0,0,0,.28);
}
.pros-meaning-feature .pmf-rotator-nav[hidden]{display:none}
.pros-meaning-feature .pmf-rotator-nav .pmf-rotator-dots{
  position:static;display:flex;align-items:center;gap:8px;padding:0 6px;
  pointer-events:auto;
}
.pmf-arrow,.pc-btn{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  border:0;cursor:pointer;color:#fff;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.pmf-arrow{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.14);padding:0}
.pmf-arrow:hover{background:var(--gold);color:#111}
.pmf-arrow:active{transform:scale(.92)}
.pmf-arrow:focus-visible,.pc-btn:focus-visible{outline:2px solid #fff;outline-offset:2px;background:var(--gold);color:#111}
.pmf-arrow.prev:hover svg{transform:translateX(-1px)}
.pmf-arrow.next:hover svg{transform:translateX(1px)}
.pmf-arrow svg,.pc-btn svg{display:block;transition:transform .18s ease}

/* Strip carousels: same arrow language, centred on the photo (not the caption). */
.pc-btn{
  top:calc(50% - 16px);width:44px;height:44px;margin-top:-22px;padding:0;border-radius:50%;
  background:rgba(18,20,24,.62);color:#fff;font-size:0;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:0 4px 16px rgba(0,0,0,.3);
}
.pc-btn.prev{left:12px;padding:0}
.pc-btn.next{right:12px;padding:0}
.pc-btn:hover{background:var(--gold);color:#111;box-shadow:0 6px 20px rgba(231,204,61,.4);transform:scale(1.06)}
.pc-btn:active{transform:scale(.94)}
@media(max-width:560px){
  .pmf-arrow{width:38px;height:38px}
  .pros-meaning-feature .pmf-rotator-nav{bottom:12px}
}
@media(prefers-reduced-motion:reduce){.pmf-arrow,.pc-btn,.pmf-arrow svg{transition:none}}

/* ===== v28: stable credit line + unmasked photo once the layout is horizontal (single column) ===== */
.pros-meaning-feature .pmf-gallery figcaption{min-height:calc(.8rem * 1.35);display:block}
.pros-meaning-feature .pmf-gallery figcaption[hidden]{display:block}
@media(max-width:940px){
  .pros-section .pros-meaning-feature .pmf-rotator{
    clip-path:none;filter:none;border-radius:10px;box-shadow:0 6px 18px rgba(20,25,35,.14);
  }
  .pros-section .pros-meaning-feature .pmf-rotator::before{display:none}
  .pros-section .pros-meaning-feature .pmf-gallery figcaption{text-align:right}
}

/* v29: "Evolution since 2022" — open by default, with the same +/− button as Latest tournaments. */
#profile .pf-graph-details>summary{position:relative;padding-right:36px}
#profile .pf-graph-details>summary::after{
  position:absolute;right:0;top:calc(50% - 5px);margin:0;display:grid;place-items:center;width:24px;height:24px;
  transform:translateY(-50%);border-radius:50%;background:#eceef1;color:#555e68;
  font-family:Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1;content:"+"}
#profile .pf-graph-details[open]>summary::after{background:var(--gold);color:#171717;content:"\2212"}
#profile .pf-graph-details>summary:hover::after{filter:brightness(.96)}

/* v30: crossfade between the Europe Pro photos (two stacked layers, no flash). */
.pros-meaning-feature .pmf-rotator-image{opacity:1;z-index:1;transition:opacity .8s ease-in-out}
.pros-meaning-feature .pmf-rotator-image.is-layer{opacity:0;z-index:0;cursor:zoom-in}
@media(prefers-reduced-motion:reduce){.pros-meaning-feature .pmf-rotator-image{transition:none}}

.st-chip.pending i{background:#b7bcc7;box-shadow:0 0 0 3px rgba(183,188,199,.25)}
.st-chip.pending b{color:#6b7280;font-weight:700}

.final-head.is-dim,.m.is-dim{opacity:.5}
