/* Stage 11.80 — championship archive visual refinement */
.hist-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
.hist-event{background:#fdfcf9;border:1px solid #ded7c9;border-radius:3px;padding:30px 34px 24px;box-shadow:0 10px 28px rgba(43,43,43,.035);position:relative;overflow:hidden}
.hist-event:before{content:"";position:absolute;left:0;top:0;width:3px;height:100%;background:#b08d57}
.hist-event-heading{padding-bottom:20px;border-bottom:1px solid #dcd4c5}
.hist-event-kicker{display:block;font-size:10px;letter-spacing:.19em;font-weight:750;color:#9b7842;margin-bottom:9px}
.hist-event h3{font-family:inherit;font-size:clamp(19px,2vw,26px);line-height:1.22;letter-spacing:-.035em;margin:0;color:#2b2b2b;font-weight:750}
.hist-winners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px;row-gap:0}
.hist-row{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #eee9df;padding:18px 0 17px;min-width:0;align-items:flex-start}
.hist-row strong{font-size:11px;letter-spacing:.11em;color:#9a773e;font-weight:750}
.hist-row>div{font-size:16px;line-height:1.4;min-width:0;color:#292929}
.hist-person{display:inline;border:0;background:transparent;border-radius:0;padding:0;color:#282828;font:inherit;font-weight:650;cursor:pointer;text-align:left;text-decoration:none;transition:color .15s ease}
.hist-person:hover,.hist-person:focus-visible{color:#9a773e;text-decoration:underline;text-decoration-color:#b08d57;text-underline-offset:4px}
.hist-person:focus-visible{outline:2px solid #b08d57;outline-offset:3px}
.hist-event-footer{border-top:1px solid #ded7c9;margin-top:21px;padding-top:19px}
.hist-pdga{display:inline-flex;align-items:center;gap:9px;color:#8c692f;text-decoration:none;font-weight:750;font-size:11px;letter-spacing:.12em;line-height:1.5}
.hist-pdga:after{content:"↗";font-size:17px;line-height:1}
.hist-pdga:hover,.hist-pdga:focus-visible{text-decoration:underline;text-underline-offset:4px}
.hist-years{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.hist-year{border:1px solid #d5cbb7;background:#fdfcf9;border-radius:3px;padding:22px 14px;font-size:28px;font-weight:650;color:#292929;cursor:pointer}
.hist-year[aria-pressed=true]{background:#2b2b2b;color:#f5f1e6;border-color:#2b2b2b}
.hist-detail{margin-top:30px}.hist-detail h3{font-size:28px;margin:0 0 22px}.hist-empty{color:#686868;line-height:1.6}
.hist-dialog{border:1px solid #d7c9af;border-radius:8px;padding:26px;width:min(480px,calc(100vw - 30px));max-height:85vh;overflow:auto;box-shadow:0 20px 80px #0003;background:#faf8f3;color:#272727}
.hist-dialog::backdrop{background:#15151580}.hist-dialog h3{margin:0 0 8px;font-size:25px}.hist-dialog h4{margin:20px 0 8px}.hist-dialog p{margin:8px 0}
.hist-close{float:right;border:1px solid #b9a986;background:white;border-radius:4px;padding:8px 12px;cursor:pointer}.hist-dialog ul{padding-left:20px;line-height:1.9}
@media(max-width:900px){.hist-events{grid-template-columns:1fr}}
@media(max-width:560px){.hist-event{padding:23px 21px}.hist-winners{column-gap:15px}.hist-row>div{font-size:14px}.hist-event h3{font-size:21px}}
/* Stage 11.81 — full-width championship honors, aligned to main-site visual language */
#current-champions.hist-events,.hist-detail .hist-events{display:flex;flex-direction:column;gap:28px;width:100%;max-width:none}
#current-champions .hist-event,.hist-detail .hist-event{width:100%;box-sizing:border-box;background:#f5f1e6;border:1px solid rgba(176,141,87,.32);border-radius:12px;padding:clamp(25px,3.5vw,52px);box-shadow:0 12px 35px rgba(43,43,43,.055)}
.hist-event:before{width:4px;background:#b08d57}
.hist-event-heading{padding-bottom:23px;margin-bottom:7px;border-bottom:1px solid rgba(176,141,87,.27)}
.hist-event-kicker{font-size:11px;letter-spacing:.2em;color:#a17b3c}
.hist-event h3{font-size:clamp(24px,2.7vw,36px);letter-spacing:-.02em;font-weight:700;color:#2b2b2b}
.hist-winners{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(20px,3vw,52px)}
.hist-row{padding:23px 0 22px;gap:11px;border-bottom:1px solid rgba(176,141,87,.18)}
.hist-row strong{font-size:12px;letter-spacing:.12em;color:#9a773e;font-weight:750;text-transform:uppercase}
.hist-row>div{font-size:clamp(16px,1.5vw,20px);line-height:1.4}
.hist-row .hist-person,button.hist-person,button.hist-person:hover,button.hist-person:active,button.hist-person:focus{appearance:none!important;-webkit-appearance:none!important;display:inline!important;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;background-color:transparent!important;color:#2b2b2b!important;font:inherit!important;font-weight:650!important;letter-spacing:normal!important;text-transform:none!important;line-height:inherit!important;vertical-align:baseline!important;cursor:pointer!important;text-align:left!important}
button.hist-person:hover,button.hist-person:focus-visible{color:#9a773e!important;text-decoration:underline!important;text-underline-offset:5px!important}
.hist-event-footer{border-top:1px solid rgba(176,141,87,.3);margin-top:25px;padding-top:22px}
.hist-pdga{font-size:12px;color:#86662d}
@media(max-width:900px){.hist-winners{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hist-winners{grid-template-columns:1fr}.hist-event h3{font-size:25px}#current-champions .hist-event,.hist-detail .hist-event{padding:24px}}


/* Stage 11.82 — matching the approved pine-silhouette championship information cards */
body.am19-page #current-champions.hist-events,
body.am19-page .hist-detail .hist-events{width:100%;max-width:1180px;margin:0 auto;align-items:stretch;gap:32px}
body.am19-page #current-champions .hist-event,
body.am19-page .hist-detail .hist-event{
  width:100%;margin:0 auto;max-width:1180px;
  background:#f8f7f4 url('/assets/staff-login-blank-card.svg?v=11-22') center center / 100% 100% no-repeat!important;
  border:1px solid #e4e0da!important;border-radius:18px!important;
  box-shadow:0 8px 24px rgba(32,37,44,.065)!important;
  padding:clamp(30px,4.5vw,66px) clamp(26px,5vw,75px) clamp(70px,10vw,130px)!important;
  text-align:center;overflow:hidden;
}
body.am19-page .hist-event::before{display:none!important}
body.am19-page .hist-event-heading{border:0!important;padding:0 0 27px!important;margin:0!important;text-align:center}
body.am19-page .hist-event-kicker{font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;letter-spacing:.19em!important;color:#ae8747!important;font-size:clamp(11px,1vw,14px)!important;margin-bottom:11px!important}
body.am19-page .hist-event h3{font-family:'Thernaly','MIDG Thernaly',Impact,sans-serif!important;font-weight:400!important;font-size:clamp(29px,3.3vw,47px)!important;line-height:1.1!important;letter-spacing:.015em!important;text-transform:uppercase;color:#20252c!important;text-shadow:1px 2px 3px rgba(32,37,44,.2)!important}
body.am19-page .hist-winners{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(14px,3vw,45px);width:100%;max-width:950px;margin:0 auto}
body.am19-page .hist-row{display:flex!important;flex-direction:column;align-items:center!important;text-align:center!important;gap:9px;padding:21px 8px!important;border-bottom:1px solid rgba(174,135,71,.18)!important}
body.am19-page .hist-row strong{font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(11px,.95vw,13px)!important;letter-spacing:.15em!important;font-weight:800!important;color:#ae8747!important;text-transform:uppercase}
body.am19-page .hist-row>div{font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(16px,1.4vw,20px)!important;color:#20252c!important}
body.am19-page .hist-row button.hist-person{color:#20252c!important;font-weight:600!important;text-align:center!important}
body.am19-page .hist-row button.hist-person:hover,body.am19-page .hist-row button.hist-person:focus-visible{color:#ae8747!important;text-decoration:underline!important}
body.am19-page .hist-event-footer{border:0!important;margin-top:30px!important;padding:0!important;text-align:center}
body.am19-page .hist-pdga{font-family:'Thernaly','MIDG Thernaly',Impact,sans-serif!important;color:#20252c!important;font-size:clamp(17px,1.6vw,23px)!important;font-weight:400!important;letter-spacing:.025em!important;text-transform:uppercase}
body.am19-page .hist-pdga:hover{color:#ae8747!important}
@media(max-width:800px){body.am19-page .hist-winners{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body.am19-page .hist-winners{grid-template-columns:1fr}body.am19-page #current-champions .hist-event,body.am19-page .hist-detail .hist-event{padding:35px 22px 85px!important;background-size:cover!important}body.am19-page .hist-row{padding:15px 0!important}}

/* Stage 11.83 — no dark button pills; seamless cream card and soft pine detail */
body.am19-page #current-champions .hist-event,body.am19-page .hist-detail .hist-event{
 background:#f8f7f4!important;position:relative;isolation:isolate;padding-bottom:clamp(55px,7vw,90px)!important;
}
body.am19-page #current-champions .hist-event::after,body.am19-page .hist-detail .hist-event::after{
 content:"";position:absolute;z-index:-1;inset:auto 0 0;height:55%;pointer-events:none;
 background:url('/assets/staff-login-blank-card.svg?v=11-22') center bottom / 100% auto no-repeat;
 opacity:.24;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 65%),linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%);
 -webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent 0%,#000 65%);
}
body.am19-page .hist-row .hist-person,body.am19-page .hist-row a.hist-person,body.am19-page .hist-row a.hist-person:link,body.am19-page .hist-row a.hist-person:visited{
 display:inline!important;position:relative!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 color:#20252c!important;font-family:inherit!important;font-size:clamp(16px,1.4vw,20px)!important;font-weight:600!important;
 line-height:1.45!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important;
}
body.am19-page .hist-row a.hist-person:hover,body.am19-page .hist-row a.hist-person:focus-visible{color:#a47d3e!important;text-decoration:underline!important;text-underline-offset:5px!important}
body.am19-page .hist-row a.hist-person::before,body.am19-page .hist-row a.hist-person::after{display:none!important;content:none!important}

/* Stage 11.84 — bottom-anchored pine artwork, independent of card height */
body.am19-page #current-champions .hist-event,
body.am19-page .hist-detail .hist-event{
  background-color:#f8f7f4!important;
  background-image:none!important;
  position:relative!important;
  isolation:isolate!important;
  padding-bottom:clamp(145px,19vw,220px)!important;
}
body.am19-page #current-champions .hist-event::after,
body.am19-page .hist-detail .hist-event::after{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:clamp(210px,26vw,330px)!important;
  z-index:-1!important;
  pointer-events:none!important;
  opacity:.82!important;
  background-image:url('/assets/staff-login-blank-card.svg?v=11-22')!important;
  background-repeat:no-repeat!important;
  background-position:center bottom!important;
  background-size:max(100%, 900px) auto!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.6) 28%,#000 58%)!important;
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.6) 28%,#000 58%)!important;
  -webkit-mask-composite:source-over!important;
}
body.am19-page .hist-event-heading,
body.am19-page .hist-winners,
body.am19-page .hist-event-footer{position:relative;z-index:1}
@media(max-width:520px){
 body.am19-page #current-champions .hist-event,
 body.am19-page .hist-detail .hist-event{padding-bottom:170px!important}
 body.am19-page #current-champions .hist-event::after,
 body.am19-page .hist-detail .hist-event::after{height:240px!important}
}

/* Stage 11.85 — center the year selector and selected year's heading */
body.am19-page #history-years.hist-years{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:100%;margin-inline:auto}
body.am19-page #history-years .hist-year{min-width:132px;text-align:center}
body.am19-page #history-year-detail.hist-detail{text-align:center}
body.am19-page #history-year-detail.hist-detail>h3{text-align:center;margin:0 auto 28px;width:100%}
body.am19-page #history-year-detail .hist-events{text-align:center}

/* Stage 11.87: centered incomplete rows and heading-level PDGA results */
body.am19-page .hist-event-results{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 26px;margin:16px auto 0!important;text-align:center}
body.am19-page .hist-event-results .hist-pdga{display:inline-flex!important;align-items:center;justify-content:center;line-height:1.4;text-decoration:underline;text-underline-offset:5px}
@media(min-width:801px){
 body.am19-page .hist-winners:has(>.hist-last-single)>.hist-last-single:last-child{grid-column:2}
 body.am19-page .hist-winners:has(>.hist-last-row:not(.hist-last-single))>.hist-last-row:nth-last-child(2){grid-column:1 / span 1;transform:translateX(52%)}
 body.am19-page .hist-winners:has(>.hist-last-row:not(.hist-last-single))>.hist-last-row:last-child{transform:translateX(52%)}
}
@media(min-width:521px) and (max-width:800px){body.am19-page .hist-winners>.hist-last-single:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:calc(50% - 8px)}}

/* Stage 11.88: subtle PDGA link and in-page section navigation */
html{scroll-behavior:smooth}
body.am19-page #current-champions,body.am19-page #championship-archives{scroll-margin-top:110px}
body.am19-page .hist-event-results .hist-pdga{font-size:clamp(12px,1.05vw,15px)!important;letter-spacing:.015em!important}
body.am19-page .hist-event-results .hist-pdga::after{font-size:13px!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Stage 11.93: division labels with year-specific official terminology */
.hist-row strong{line-height:1.45}

/* Stage 11.97 — historical years without recorded tournaments */
.hist-no-tournament{text-align:center;max-width:850px;margin:0 auto;padding:clamp(32px,6vw,70px) 24px}.hist-no-tournament h3{margin:14px 0 12px}.hist-no-tournament .hist-empty{margin:0 auto;max-width:520px}

/* Current champions: title year displayed beside champion name */
.hist-champion-year{font-size:.88em;opacity:.72;white-space:nowrap}
