/* Header-only enhancement; original tournament stage, art and athlete ticker are untouched. */
.masthead.sponsor-masthead{display:grid;grid-template-columns:minmax(125px,1fr) 25px minmax(105px,.9fr) minmax(280px,2fr) minmax(105px,.9fr) 25px minmax(125px,1fr);gap:clamp(8px,1vw,18px);align-items:center;padding-bottom:18px;letter-spacing:normal}
.sponsor-masthead .academy-brand{grid-column:1;grid-row:1;display:flex;width:100%;height:140px;justify-content:center;align-items:center;background:#0f1219;overflow:hidden;border-radius:3px}
.academy-brand img{display:block;max-width:100%;width:auto;height:100%;object-fit:contain;border-radius:19%}
.sponsor-masthead .pickaxe-divider{display:grid;place-items:center;grid-row:1;width:100%;height:142px;justify-self:center;pointer-events:none;filter:drop-shadow(0 3px 3px #0009)}
.sponsor-masthead .pickaxe-divider img{grid-area:1 / 1;display:block;width:62%;height:auto;max-width:none;transform:rotate(-38deg);filter:drop-shadow(0 0 .35px #d8b66d)}
.sponsor-masthead .pickaxe-divider img+img{transform:rotate(38deg)}
.sponsor-masthead .pickaxe-left{grid-column:2}.sponsor-masthead .pickaxe-right{grid-column:6}
.sponsor-masthead .header-countdown{grid-column:4;grid-row:1;width:100%;max-width:620px;align-self:start;margin:6px 0 0;justify-self:center}
.sponsor-masthead .header-countdown .number{font-size:clamp(30px,3.6vw,44px)}
.sponsor-masthead .sponsor-panel{min-width:0;grid-row:1;align-self:stretch;text-align:center;padding-top:6px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
.sponsor-masthead .sponsor-left{grid-column:3}.sponsor-masthead .sponsor-right{grid-column:5}
.sponsor-panel h2{display:block;color:#e0cda8;font:600 8px/1.4 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;margin:0 0 9px;white-space:nowrap}
.sponsor-display{display:flex;align-items:center;justify-content:center;height:78px;width:100%;min-width:0}
.sponsor-display a,.sponsor-display .sponsor-wordmark{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#f1dab0;text-decoration:none}
.sponsor-display img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 2px 5px #0009)}
.sponsor-wordmark{font:700 clamp(13px,1.3vw,19px)/1.25 Cinzel,Georgia,serif;letter-spacing:.03em;text-wrap:balance;text-align:center}
.sponsor-controls{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:8px}
.sponsor-controls button{min-height:30px;min-width:30px;border:1px solid #a080453d;border-radius:2px;background:#111213;color:#b7b4ab;padding:5px 7px;font:10px/1.2 Arial,sans-serif;cursor:pointer}
.sponsor-controls button:hover{color:#f0d398;border-color:#c6a25b}.sponsor-controls button:focus-visible,.academy-brand:focus-visible,.sponsor-display a:focus-visible{outline:2px solid #fff0c8;outline-offset:4px}
.sponsor-rotation-note{font:italic 9px/1.4 Georgia,serif;color:#a59c8b;margin:14px 0 0}
.sponsor-masthead .series-brand{grid-column:7;grid-row:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;gap:7px}
.series-brand img{display:block;width:100%;max-width:205px;max-height:125px;height:auto;object-fit:contain}
.series-brand>span{font:700 11px/1.4 Cinzel,Georgia,serif;text-transform:uppercase;letter-spacing:.3em;color:#d8b66d}
@media(max-width:1099px){.masthead.sponsor-masthead{grid-template-columns:minmax(100px,.8fr) 19px minmax(95px,.8fr) minmax(235px,1.8fr) minmax(95px,.8fr) 19px minmax(100px,.8fr);gap:8px}.sponsor-masthead .academy-brand{height:116px}.sponsor-masthead .pickaxe-divider{height:122px}.sponsor-panel h2{font-size:7px;letter-spacing:.07em}.sponsor-display{height:65px}.sponsor-masthead .header-countdown .number{font-size:32px}.sponsor-masthead .header-countdown .date{font-size:7px;line-height:1.6}.series-brand img{max-height:100px}.sponsor-controls button{font-size:9px}}
@media(max-width:849px){.masthead.sponsor-masthead{grid-template-columns:minmax(65px,1fr) 16px minmax(70px,1fr) minmax(70px,1fr) 16px minmax(65px,1fr);gap:10px 7px}.sponsor-masthead .academy-brand{grid-column:1;grid-row:1;height:95px}.sponsor-masthead .pickaxe-left{grid-column:2;grid-row:1}.sponsor-masthead .header-countdown{grid-column:3/5;grid-row:1;margin-top:0}.sponsor-masthead .pickaxe-right{grid-column:5;grid-row:1}.sponsor-masthead .series-brand{grid-column:6;grid-row:1}.sponsor-masthead .pickaxe-divider{height:100px}.sponsor-masthead .sponsor-left{grid-column:1/4;grid-row:2}.sponsor-masthead .sponsor-right{grid-column:4/7;grid-row:2}.sponsor-panel h2{font-size:8px;letter-spacing:.13em}.sponsor-display{height:70px}.sponsor-display img{max-width:190px}.sponsor-controls button{min-height:40px;min-width:40px;font-size:10px}.sponsor-wordmark{font-size:18px}.sponsor-masthead .header-countdown h2{font-size:7px;gap:6px;letter-spacing:.12em}.sponsor-masthead .header-countdown h2 span{width:15px}.series-brand>span{font-size:9px}.sponsor-rotation-note{font-size:11px}}
@media(max-width:450px){.masthead.sponsor-masthead{grid-template-columns:minmax(53px,1fr) 11px minmax(55px,1.1fr) minmax(55px,1.1fr) 11px minmax(53px,1fr);gap:10px 5px}.sponsor-masthead .academy-brand{height:75px}.sponsor-masthead .pickaxe-divider{height:90px}.sponsor-masthead .header-countdown .number{font-size:25px}.sponsor-masthead .header-countdown .label{font-size:6px;letter-spacing:.05em}.sponsor-masthead .header-countdown h2{font-size:6px;letter-spacing:.05em;gap:3px}.sponsor-masthead .header-countdown h2 span{width:6px}.sponsor-masthead .header-countdown .date{font-size:6px;letter-spacing:.02em;margin-top:6px}.sponsor-masthead .header-countdown .date span{padding:0 2px}.sponsor-display img{max-width:140px}.series-brand>span{font-size:8px;letter-spacing:.18em}.sponsor-panel h2{font-size:8px;letter-spacing:.07em}.sponsor-controls button{min-height:44px;min-width:44px}.sponsor-rotation-note{font-size:10px}}
.sponsor-item{display:flex!important;align-items:center;justify-content:center;gap:5px;flex-direction:column;width:100%;height:100%;min-width:0}
.sponsor-frame{display:flex;justify-content:center;align-items:center;width:100%;height:100%;min-width:0;overflow:hidden}
.sponsor-frame.sponsor-light{background:#f5f3ed;border-radius:3px;padding:7px;border:1px solid #d6bb7b55}
.sponsor-frame.glanton{display:block;position:relative;width:100%;max-width:155px;aspect-ratio:460/216;height:auto;max-height:100%;padding:0;flex:0 1 auto}
.sponsor-frame.glanton img{position:absolute;left:0;top:0;width:186.305%;height:auto;max-width:none;max-height:none;filter:none}
.sponsor-caption{font:600 8px/1.2 Arial,sans-serif;letter-spacing:.035em;color:#dfd6c4;white-space:nowrap}
.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:58px}
@media(max-width:849px){.sponsor-caption{font-size:10px}.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:52px}.sponsor-frame.glanton{max-width:145px}}
.sponsor-location{display:block;font:600 8px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#c5b28a;text-align:center}
.sponsor-item:has(.sponsor-location){gap:7px}
@media(max-width:849px){.sponsor-location{font-size:9px}.sponsor-item:has(.sponsor-location){gap:5px}}

/* Compact sponsor board: secondary to the academy and series identities. */
.sponsor-masthead .sponsor-panel{align-self:center;padding-top:0}
.sponsor-display{height:58px;max-width:112px;align-self:center}
.sponsor-frame.nextup{width:max-content;max-width:100%;height:auto;padding:5px 3px;flex:0 1 auto}
.sponsor-frame.nextup img{width:96px;max-width:100%;height:auto;filter:none}
.sponsor-controls{margin-top:4px}
.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:42px}
.sponsor-panel h2{font-size:7px;margin-bottom:6px;letter-spacing:.06em}
@media(max-width:1099px){.sponsor-display{height:48px;max-width:86px}.sponsor-frame.nextup img{width:78px}.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:34px}}
@media(max-width:849px){.sponsor-display{height:42px;max-width:clamp(42px,calc((100vw - 150px)/5),110px)}.sponsor-display img{max-width:100%;max-height:100%}.sponsor-frame.nextup{padding:3px 2px}.sponsor-frame.nextup img{width:80px}.sponsor-caption{font-size:7px;white-space:normal}.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:28px}.sponsor-controls{margin-top:2px}.sponsor-panel h2{font-size:7px}.sponsor-frame.glanton{max-width:100%}}
@media(max-width:450px){.sponsor-display{height:30px}.sponsor-item:has(.sponsor-caption) .sponsor-frame{max-height:19px}.sponsor-caption{font-size:6px}.sponsor-panel h2{font-size:6px}}

/* Official academy lettering directly on the quarry, without a backing card. */
.sponsor-masthead .academy-brand{background:transparent;border-radius:0}
.academy-brand img{border-radius:0}

/* Venue identity balances the academy; series identity belongs above the event title. */
.sponsor-masthead .temple-brand{grid-column:7;grid-row:1;display:flex;justify-content:center;align-items:center;height:140px;min-width:0}
.temple-brand img{display:block;width:auto;height:66%;max-width:100%;object-fit:contain}
.stage-branding .series-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:160px;max-width:65%;margin:0 auto}
.stage-branding .series-brand img{width:100%;height:auto;max-height:none}
@media(max-width:1099px){.sponsor-masthead .temple-brand{height:116px}}
@media(max-width:849px){.sponsor-masthead .temple-brand{grid-column:6;height:95px}.stage-branding .series-brand{width:150px}}
@media(max-width:450px){.sponsor-masthead .temple-brand{height:75px}.stage-branding .series-brand{width:140px}}

/* Pickaxe dividers sit between the host/venue identities and sponsor panels. */
@media(min-width:1100px){.masthead.sponsor-masthead{grid-template-columns:minmax(125px,1fr) 80px minmax(105px,.9fr) minmax(280px,2fr) minmax(105px,.9fr) 80px minmax(125px,1fr)}}
@media(min-width:850px) and (max-width:1099px){.masthead.sponsor-masthead{grid-template-columns:minmax(90px,.8fr) 48px minmax(85px,.8fr) minmax(235px,1.8fr) minmax(85px,.8fr) 48px minmax(90px,.8fr)}}
.sponsor-masthead .academy-brand{justify-content:flex-start}
.sponsor-masthead .temple-brand{justify-content:flex-end}
@media(min-width:451px) and (max-width:849px){.masthead.sponsor-masthead{grid-template-columns:minmax(65px,1fr) 30px minmax(70px,1fr) minmax(70px,1fr) 30px minmax(65px,1fr)}}
@media(max-width:450px){.masthead.sponsor-masthead{grid-template-columns:minmax(53px,1fr) 22px minmax(55px,1.1fr) minmax(55px,1.1fr) 22px minmax(53px,1fr)}}

/* Restore the venue artwork's original proportional size, keeping its outer anchor. */
.temple-brand img{height:66%;max-height:100%;width:auto;max-width:100%}
/* Optical divider centering follows visible logo edges, including sponsor rotation. */
@media(min-width:850px){
 .sponsor-masthead .pickaxe-divider{width:64px;max-width:100%;justify-self:center;transform:translateX(var(--optical-offset,0px))}
}
@media(min-width:850px) and (max-width:1099px){.sponsor-masthead .pickaxe-divider{width:40px}}


/* Keep the original school logo geometry; place only its program label below. */
.sponsor-item:has(.glanton){position:relative}
.sponsor-item:has(.sponsor-caption) .sponsor-frame.glanton{max-height:100%}
.sponsor-item:has(.glanton) .sponsor-caption{position:absolute;top:100%;left:0;width:100%;display:flex;justify-content:space-between;margin-top:3px;padding:0;border:0;background:none;color:#fff;font:700 12px/1.2 Arial,sans-serif;letter-spacing:0;white-space:nowrap;text-align:center}
@media(max-width:849px){.sponsor-item:has(.glanton) .sponsor-caption{font-size:10px}}

.series-site .sponsor-masthead-label {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: #d6c3a4;
  font: 600 11px/1.25 Arial, sans-serif;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 849px) {
  .series-site .sponsor-masthead .sponsor-panel { grid-row: 3; }
  .series-site .sponsor-masthead-label { font-size: 10px; }
}

/* Use the existing inter-column gutters to keep the crossed silhouette legible on phones. */
@media(max-width:849px){.sponsor-masthead .pickaxe-divider{width:calc(100% + 6px)}}

/* Crown landing page: one sponsor spotlight and a centered crest with crossed tools. */
/* Equal outer pillars and equal inner gaps keep both tool pairs on the crest axis. */
.series-site .masthead.crown-masthead {
  --crown-pillar:clamp(54px,11.7vw,132px);
  display:grid;
  grid-template-columns:var(--crown-pillar) minmax(0,1fr) auto minmax(0,1fr) var(--crown-pillar);
  gap:clamp(3px,1vw,16px);
  align-items:center;
}
.series-site .crown-masthead .academy-brand {grid-area:1 / 1; height:clamp(58px,9vw,122px)}
.crown-masthead .crown-masthead-center {display:contents}
.crown-masthead .crown-masthead-center .series-header-brand {grid-area:1 / 3}
.crown-masthead .crown-masthead-center .series-header-brand img {width:clamp(105px,22vw,254px)}
.series-site .crown-masthead .crown-masthead-center .pickaxe-divider {
  width:min(100%,clamp(25px,6.7vw,80px));
  height:auto;
  aspect-ratio:1;
  align-self:center;
  transform:none;
}
.crown-masthead .crown-masthead-center .pickaxe-left {grid-area:1 / 2}
.crown-masthead .crown-masthead-center .pickaxe-right {grid-area:1 / 4}
.crown-masthead .crown-masthead-sponsor {
  grid-area:1 / 5;
  justify-self:end;
  min-width:0;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
}
.crown-masthead .crown-masthead-sponsor .sponsor-display {width:100%;height:clamp(25px,5vw,62px)}
.crown-masthead .crown-masthead-sponsor p {
  margin:0;
  text-align:center;
  text-transform:uppercase;
  color:#dec18c;
  font:700 9px/1.4 Cinzel,Georgia,serif;
  letter-spacing:.2em;
}
@media(max-width:849px) {
 .crown-masthead .crown-masthead-sponsor p {font-size:6px;letter-spacing:.1em}
 .crown-masthead .crown-masthead-sponsor {gap:6px}
}
@media(max-width:450px) {
 .series-site .masthead.crown-masthead {gap:3px}
 .crown-masthead .crown-masthead-center .series-header-brand img {width:clamp(95px,28vw,126px)}
}

/* Leg I identity and venue belong to its archive opening, not the series masthead. */
.event-archive .archive-heading {padding-top:clamp(18px,4vw,44px)}
.archive-opening-brands {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin:0 0 clamp(12px,3vw,28px);
}
.archive-opening-brands .archive-battle-logo {width:clamp(135px,30vw,314px);height:auto}
.archive-opening-brands .archive-temple-host {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  text-decoration:none;
  flex:none;
  white-space:nowrap;
  color:#dec18c;
  font:700 clamp(6px,.8vw,8px)/1.4 Arial,sans-serif;
  letter-spacing:.14em;
}
.archive-opening-brands .archive-temple-host img {width:clamp(42px,7vw,76px);height:auto}
