/* Match page only. The title band uses the homepage hero system (weekly series, same files). */
body.toc-sub .page-hero.match-hero.hero{
  height:100vh !important;
  height:100svh !important;
  min-height:640px !important;
  padding:0 !important;
  background-image:none !important;
  background-color:#00141f;
  overflow:hidden;
  isolation:isolate;
}
body.toc-sub .page-hero.match-hero .page-hero-content{z-index:2}
body.toc-sub .page-hero.match-hero p.hero-video-credit{
  font-size:.75rem;
  line-height:1.3;
  margin:0;
  text-shadow:none;
}
body.toc-sub .page-hero.match-hero .page-hero-content h1,
body.toc-sub .page-hero.match-hero .page-hero-content p{
  text-shadow:0 2px 4px rgba(0,0,0,.75),0 8px 28px rgba(0,0,0,.9);
}
body.toc-sub .page-hero.match-hero h1.hero-kicker{
  text-transform:none;
  letter-spacing:normal;
  font-size:clamp(2rem,5vw,3.2rem);
  font-weight:700;
  line-height:1.15;
  margin:0 0 .5rem;
}
body.toc-sub .page-hero.match-hero p.hero-email{
  font-size:1.1rem;
  font-weight:500;
  margin:.35rem 0 0;
  background:none;
  box-shadow:none;
  border-radius:0;
}
.match-hero .hero-video-off{display:none !important}

#match-form.sp9-form{max-width:1120px}
#match-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem 1.1rem;
  align-items:stretch;
}
#match-form > .sp9-priv,
#match-form > .sp9-actions{grid-column:1 / -1}
#match-form fieldset{
  margin:0;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
#match-form .sp9-opts{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem .5rem;
  align-items:center;
}
#match-form .sp9-opt{
  flex:0 1 auto;
  margin:0;
  max-width:100%;
}
#match-form .sp9-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:0;
}
@media (max-width:760px){
  #match-form{grid-template-columns:1fr}
}
.sp9-form .sp9-hint{margin:.15rem 0 .45rem;font-size:.9rem;opacity:.88}
.sp9-form .sp9-opt{
  border-radius:999px;
  padding-inline:.55rem;
  border:1px solid transparent;
}
.sp9-form .sp9-opt:has(input:checked){
  color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06)),rgba(0,120,190,.62);
  border-color:rgba(255,255,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}
#match-form > .sp9-mail{grid-column:1 / -1}
.sp9-mail,.sp9-mail .btn{scroll-margin-top:5.5rem}
.sp9-mail{
  display:flex;flex-direction:column;align-items:stretch;gap:.55rem;
  margin:.15rem 0 .1rem;padding:.85rem 1rem;border-radius:16px;
  border:1px solid rgba(255,255,255,.28);
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04)),rgba(10,79,120,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
}
.sp9-mail[hidden]{display:none !important}
.sp9-mail-actions{display:flex;flex-wrap:wrap;gap:.55rem .65rem;align-items:center}
.sp9-mail .btn[hidden],.sp9-mail-status[hidden],.sp9-mail-text[hidden]{display:none !important}
.sp9-mail-status{margin:0;font-weight:800;color:#d7f4ff}
.sp9-mail .sp9-hint{margin:0}
.sp9-mail-text{
  width:100%;min-height:9rem;box-sizing:border-box;font:inherit;font-size:.95rem;line-height:1.45;
  padding:.7rem .85rem;border-radius:12px;border:1px solid rgba(143,211,255,.75);
  background:rgba(11,22,32,.9);color:#e8eef5;resize:vertical;
}
[dir=rtl] .sp9-mail,[dir=rtl] .sp9-mail-actions{text-align:start}
#match-form .btn,.sp9-mail .btn,.match-search .sp-search-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:.7rem 1.25rem;border-radius:999px;
  color:#fff;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06)),var(--lg-tint,rgba(12,28,56,.72));
  border:1px solid rgba(255,255,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(255,255,255,.08),0 6px 20px rgba(0,0,0,.28);
  -webkit-backdrop-filter:blur(14px) saturate(180%);
  backdrop-filter:blur(14px) saturate(180%);
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
#match-form .sp9-mail .btn,.sp9-mail .btn{
  --lg-tint:rgba(0,70,110,.78);
  --lg-solid:#0a4f78;
  max-width:100%;white-space:normal;text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06)),rgba(0,70,110,.78);
  background-image:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06)),linear-gradient(#0a4f78,#0a4f78);
}
#match-form .btn:hover,.sp9-mail .btn:hover,.match-search .sp-search-btn:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.1)),var(--lg-tint,rgba(12,28,56,.72));
}
#match-form .sp9-mail .btn:hover,.sp9-mail .btn:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.1)),rgba(0,70,110,.78);
  background-image:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.1)),linear-gradient(#0a4f78,#0a4f78);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  #match-form .btn,.sp9-mail .btn,.match-search .sp-search-btn{background:var(--lg-solid,#0b3a5b);background-image:none}
  #match-form .sp9-mail .btn,.sp9-mail .btn{background:#0a4f78;background-image:none}
}

#match-out{max-width:1200px;margin:0 auto 1.5rem;padding:0 1rem}
#match-out[hidden]{display:none !important}
#match-list.grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-items:start}
#match-list .sol-card{display:flex;flex-direction:column;height:auto}
#match-list .image-container{position:relative}
#match-list .image-container img{width:100%;height:180px;object-fit:cover;display:block}
#match-list h3{font-size:1.25rem;margin:.55rem 0 0;padding:0 1rem}
#match-list h3 a{color:inherit;text-decoration:none}
#match-list h3 a:hover{text-decoration:underline}
#match-list .sol-desc{padding:0 1rem 1rem;margin:.35rem 0 0;font-size:.95rem;line-height:1.45}
#match-list .sol-credit{max-width:none;margin:.3rem 0 0;padding:0 1rem;font-size:.7rem;line-height:1.35;opacity:.75;text-align:start;overflow-wrap:anywhere}
#match-list .sol-credit a{color:inherit;text-decoration:underline}
#match-list .tt-card.no-photo .tt-num{position:static;align-self:flex-start;width:auto;margin:.85rem 0 .2rem 1rem}
[dir=rtl] #match-list .tt-card.no-photo .tt-num{margin-left:0;margin-right:1rem}

.match-search{max-width:860px;margin:0 auto 2.8rem;padding:0 1rem}
.match-search h2{margin-bottom:.4rem}
.match-search .sp-search-form{display:flex;gap:.6rem;width:100%;margin-top:.8rem}
.match-search .sp-search-form input{
  flex:1;min-width:0;min-height:52px;font:inherit;font-size:1.05rem;
  padding:.4rem 1.1rem;border-radius:999px;box-sizing:border-box;
  border:2px solid rgba(143,211,255,.75);
  background:rgba(11,22,32,.85);color:#e8eef5;
}
.match-search .sp-search-form input:focus,
.match-search .sp-search-form input:focus-visible{outline:none;border-color:#ffd54a;box-shadow:0 0 0 3px rgba(255,213,74,.35)}
@media (max-width:600px){
  .match-search .sp-search-form{flex-direction:column}
  .match-search .sp-search-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  #match-list .image-container img{transition:none}
}
