/* Stros Headquarters — connected to index.html */

:root {
  --navy: #07152f;
  --blue: #0b4aa2;
  --bright-blue: #1597ff;
  --gold: #f5b942;
  --white: #ffffff;
  --muted: #c7d5e8;
  --glass: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--white);

  /* Main background gradient */
  background:
    radial-gradient(circle at 15% 15%, rgba(21, 151, 255, 0.28), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(245, 185, 66, 0.18), transparent 28%),
    linear-gradient(135deg, #07152f 0%, #0b4aa2 52%, #061329 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: 100%;
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 21, 47, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffe29a);
  box-shadow: 0 8px 22px rgba(245, 185, 66, 0.28);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  min-height: 72vh;
  padding: 100px 6% 80px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
}

.subtitle {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffd978);
  box-shadow: 0 12px 30px rgba(245, 185, 66, 0.25);
}

.secondary {
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.cards {
  padding: 20px 6% 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1250px;
  margin: 0 auto;
}

.card {
  padding: 30px;
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 185, 66, 0.55);
}

.card-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.card h2 {
  margin: 24px 0 12px;
  font-size: 1.45rem;
}

.card p,
.about > p {
  color: var(--muted);
  line-height: 1.7;
}

.about {
  max-width: 1050px;
  margin: 0 auto 90px;
  padding: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(4, 13, 31, 0.34);
  box-shadow: var(--shadow);
}

.about h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

footer {
  padding: 28px 6%;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(3, 10, 25, 0.4);
}

@media (max-width: 800px) {
  .site-header {
    padding: 18px 5%;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 65vh;
    padding: 80px 5% 60px;
  }

  .cards,
  .about {
    grid-template-columns: 1fr;
  }

  .cards {
    padding-left: 5%;
    padding-right: 5%;
  }

  .about {
    margin-left: 5%;
    margin-right: 5%;
    padding: 32px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.8rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: 3.4rem;
  }
}


/* Fan-built HQ fact callout */
.fact-box {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: rgba(245, 185, 66, 0.08);
}

.fact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.fact-box p {
  color: var(--white);
  line-height: 1.6;
}


/* About Owner page */
.owner-card {
  max-width: 1050px;
  margin: -35px auto 70px;
  padding: 42px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.owner-badge {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffe29a);
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 15px 35px rgba(245, 185, 66, 0.25);
}

.owner-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.owner-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.about-hero {
  min-height: 58vh;
}

.back-home {
  display: flex;
  justify-content: center;
  padding: 0 5% 90px;
}

@media (max-width: 800px) {
  .owner-card {
    grid-template-columns: 1fr;
    margin-left: 5%;
    margin-right: 5%;
    padding: 32px;
  }

  .owner-badge {
    width: 105px;
    height: 105px;
  }
}

/* Black / orange / blue gradient redesign */
:root { --navy:#05070d; --blue:#0869ce; --bright-blue:#20a7ff; --gold:#ff831d; --muted:#d1d9e8; --border:rgba(73,159,255,.28); }
body { background:radial-gradient(circle at 12% 12%,rgba(255,111,0,.23),transparent 32%),radial-gradient(circle at 85% 32%,rgba(0,115,255,.30),transparent 38%),linear-gradient(135deg,#020307 0%,#10131d 36%,#083d81 69%,#05070d 100%);background-attachment:fixed; }
.site-header {background:rgba(3,5,12,.87)}
.brand-mark,.owner-badge,.primary {background:linear-gradient(120deg,#ff7115,#ffad42 45%,#147bdf);color:#070b12}
.hero h1 {background:linear-gradient(100deg,#fff 10%,#ff8b26 48%,#4eb3ff 90%);color:transparent;background-clip:text;-webkit-background-clip:text}
.card,.owner-card {background:linear-gradient(145deg,rgba(255,123,25,.12),rgba(7,21,45,.84) 52%,rgba(20,115,219,.18))}
.card:hover,.card:focus-visible {border-color:#ff8b26;transform:translateY(-7px);outline:none}
a:focus-visible,button:focus-visible {outline:3px solid #ff9b37;outline-offset:4px}
nav a.active {color:#ff9b37}
section[id],main[id] {scroll-margin-top:100px}
.menu-toggle {display:none;border:1px solid var(--border);background:#0d2447;color:white;border-radius:10px;padding:10px 14px;font:inherit;cursor:pointer}
.about-hero {min-height:40vh;padding-top:70px}
.owner-card {margin-top:0}
@media(max-width:650px) {
.site-header {flex-wrap:wrap}
.menu-toggle {display:block;margin-left:auto}
nav {display:none;width:100%;flex-direction:column;gap:0;padding:8px 0}
nav.is-open {display:flex}
nav a {padding:12px}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Official Astros Instagram card actions */
.instagram-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.instagram-actions .button {min-width:0;padding:11px 15px;font-size:.85rem;text-align:center}
.card .instagram-note {margin-top:14px;font-size:.78rem;line-height:1.5;color:var(--muted)}

/* Instagram photo embeds and link editor */
#updates .card:first-child {grid-column:1/-1}
.instagram-post-form {margin:22px 0;padding:20px;border:1px solid var(--border);border-radius:18px;background:rgba(0,0,0,.25)}
.instagram-post-form label {display:block;font-weight:800;margin-bottom:12px}
.instagram-form-row {display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.instagram-form-row input {flex:1;min-width:200px;padding:14px;border-radius:12px;border:1px solid #5aa6ec;background:#080f1f;color:white;font:inherit}
.instagram-form-row button {border:0;cursor:pointer;font:inherit}
.instagram-photo-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin:24px 0}
.instagram-photo-item {min-width:0;background:#fff;border-radius:16px;padding:8px;overflow:hidden;color:#111}
.instagram-photo-item .instagram-media {margin:0 auto!important;min-width:0!important;max-width:100%!important;width:100%!important}
.instagram-photo-item .instagram-media a {color:#1455a1}
.remove-photo {margin:12px;border:1px solid #777;border-radius:8px;background:#fff;color:#111;padding:8px 12px;cursor:pointer}
.gallery-empty {grid-column:1/-1;padding:24px;border:1px dashed #5596dd;border-radius:16px}
#instagram-post-status {margin-top:10px;color:#ffb168}

/* Dedicated updates page: small, responsive Instagram embeds */
.updates-intro {text-align:center;padding:78px 5% 34px}
.updates-intro h1 {font-size:clamp(2.4rem,6vw,4.5rem)}
.updates-layout {max-width:1080px;margin:0 auto 70px;padding:0 5%}
.updates-layout .card {min-height:0;padding:clamp(18px,3vw,34px)}
.updates-layout .card:hover {transform:none}
.instagram-photo-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;align-items:start;margin-top:22px}
.instagram-photo-item {width:100%;min-width:0;max-width:350px;margin:0 auto;overflow:hidden}
.instagram-photo-item .instagram-media {min-width:0!important;max-width:100%!important;width:100%!important;margin:0 auto!important}
.instagram-photo-item iframe {max-width:100%!important}
.instagram-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.instagram-form-row {display:flex;flex-wrap:wrap;gap:10px}
.instagram-form-row input {flex:1 1 220px;min-width:0}
@media(max-width:620px){.instagram-photo-gallery{grid-template-columns:1fr}.instagram-photo-item{max-width:340px}}

/* Dedicated, responsive schedule page */
.schedule-page {max-width:1200px;margin:auto;padding:0 5% 50px}
.schedule-heading {text-align:center;padding:75px 0 45px}
.schedule-heading h1 {font-size:clamp(2.7rem,7vw,5rem);background:linear-gradient(100deg,#fff,#ff8b26,#4eb3ff);color:transparent;background-clip:text;-webkit-background-clip:text}
.schedule-panel,.season-preview {border:1px solid var(--border);border-radius:24px;padding:clamp(18px,4vw,36px);background:linear-gradient(135deg,rgba(7,10,18,.94),rgba(10,48,96,.82));box-shadow:var(--shadow)}
.schedule-panel h2,.season-preview h2 {margin-bottom:12px;font-size:clamp(1.6rem,3vw,2.3rem)}
.schedule-note,.season-preview p:not(.eyebrow) {color:var(--muted);line-height:1.6;margin-bottom:22px}
.schedule-table-wrap {overflow-x:auto;border-radius:14px;border:1px solid var(--border)}
.schedule-table {width:100%;border-collapse:collapse;min-width:650px;text-align:left}
.schedule-table th {background:linear-gradient(95deg,#a94a09,#114a91);color:#fff;font-size:.85rem;letter-spacing:.02em}
.schedule-table th,.schedule-table td {padding:16px 14px;border-bottom:1px solid rgba(255,255,255,.13)}
.schedule-table tbody tr:nth-child(even) {background:rgba(23,113,210,.12)}
.schedule-table tbody tr:hover {background:rgba(255,130,30,.16)}
.schedule-table tbody tr:last-child td {border-bottom:0}
.schedule-table td:first-child,.schedule-table td:last-child {white-space:nowrap;font-weight:700}
.season-preview {margin:28px 0 35px;text-align:center;border-color:rgba(255,132,35,.55)}
.season-preview p:not(.eyebrow) {margin:0}
@media(max-width:650px){.schedule-heading{padding:55px 0 30px}.schedule-table th,.schedule-table td{padding:12px}}

/* Favorite players on About */
.favorites-section{max-width:1050px;margin:0 auto 70px;padding:38px;border:1px solid var(--border);border-radius:26px;background:linear-gradient(135deg,rgba(6,10,20,.94),rgba(9,55,109,.78));box-shadow:var(--shadow)}
.favorites-section h2{font-size:clamp(1.8rem,4vw,3rem);margin-bottom:12px}.favorites-intro{color:var(--muted);margin-bottom:24px}.favorites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.favorite-player{display:flex;align-items:center;gap:12px;padding:20px 16px;border:1px solid rgba(255,131,29,.35);border-radius:16px;background:linear-gradient(120deg,rgba(255,131,29,.12),rgba(8,105,206,.16));transition:transform .2s,border-color .2s}.favorite-player:hover{transform:translateY(-3px);border-color:#ff831d}.favorite-player span{color:#ff9b37}.favorite-player h3{font-size:1rem}@media(max-width:650px){.favorites-section{margin:0 5% 55px;padding:24px}}@media(prefers-reduced-motion:reduce){.favorite-player{transition:none}}

/* Compact responsive third-party Instagram feed */
.instagram-feed-shell {max-width:920px;margin:20px auto;}
#astros-live-feed {display:block;width:100%;height:510px;max-height:65vh;border:1px solid var(--border);border-radius:18px;background:#070b14;}
#astros-live-feed[hidden],.feed-setup[hidden] {display:none;}
.feed-setup {padding:22px;border:1px solid var(--border);border-radius:18px;background:rgba(0,0,0,.3);line-height:1.6;}
.feed-setup form {margin-top:16px;}
@media(max-width:650px){#astros-live-feed{height:430px;max-height:65vh}.feed-setup{padding:15px}}

/* Compact, responsive SociableKIT Instagram feed */
.sociablekit-feed {width:100%;max-width:760px;margin:20px auto;overflow:hidden;}
.sociablekit-feed .sk-instagram-feed {width:100%;max-width:100%;min-height:280px;}
@media(max-width:600px){.sociablekit-feed{max-width:100%;}}

/* Owner profile photo: included locally in the website folder */
.owner-photo-badge { width:150px; height:150px; overflow:hidden; padding:0; border:3px solid #ff831d; border-radius:50%; background:#07152f; box-shadow:0 0 25px rgba(8,105,206,.55); }
.owner-photo { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 36%; }
@media(max-width:800px){.owner-photo-badge{width:130px;height:130px}}

/* Owner social profiles */
.owner-socials{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.owner-social-link{display:inline-flex;align-items:center;gap:12px;min-width:220px;padding:13px 16px;border:1px solid rgba(46,145,255,.55);border-radius:14px;background:linear-gradient(120deg,rgba(255,122,0,.18),rgba(15,91,186,.25));color:#fff;text-decoration:none;transition:transform .2s,border-color .2s}
.owner-social-link:hover{transform:translateY(-3px);border-color:#ff8a25}
.owner-social-link:focus-visible{outline:3px solid #ff9b37;outline-offset:3px}
.owner-social-link span:nth-child(2){display:grid;gap:3px}
.owner-social-link small{color:#d1d9e8}
.social-icon{font-size:1.8rem;color:#ff922b}
@media(prefers-reduced-motion:reduce){.owner-social-link{transition:none}}

/* Shared Stros HQ logo on every page */
.site-logo {width:56px;height:56px;object-fit:cover;border-radius:12px;display:block;flex-shrink:0;border:1px solid rgba(255,131,29,.55);box-shadow:0 4px 16px rgba(0,0,0,.35)}
@media(max-width:520px){.site-logo{width:42px;height:42px}.brand{gap:8px;font-size:.72rem}}

/* Persistent fan gallery */
.fan-page{max-width:1180px;margin:auto;padding:50px 5% 100px}
.fan-intro{text-align:center;max-width:780px;margin:0 auto 42px}
.fan-intro h1{font-size:clamp(2.5rem,6vw,5rem)}
.fan-intro p:not(.eyebrow){line-height:1.7;color:var(--muted);margin-top:22px}
.fan-panel{max-width:740px;margin:0 auto 70px;padding:clamp(22px,5vw,42px);background:rgba(5,14,32,.85);border:1px solid var(--border);border-radius:24px}
.fan-panel h2,.fan-gallery-heading h2{font-size:clamp(1.5rem,3vw,2.4rem)}
.fan-note{color:var(--muted);line-height:1.6;margin:14px 0 24px}
#fan-upload{display:grid;gap:11px}
#fan-upload label{font-weight:750;margin-top:10px}
#fan-upload input,#fan-upload select,#fan-upload textarea,#city-filter{width:100%;background:#09172d;color:white;border:1px solid #4078ae;border-radius:10px;padding:12px;font:inherit}
#fan-upload input[type=file]{cursor:pointer}
#fan-upload button{border:0;cursor:pointer;margin-top:15px}
#upload-status,#gallery-status{color:var(--muted);line-height:1.6;margin-top:14px}
.fan-gallery-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:25px}
.fan-gallery-heading label{min-width:190px}
.fan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:20px}
.fan-photo-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:rgba(5,14,32,.85)}
.fan-photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.fan-photo-info{padding:18px}
.fan-photo-info h3{font-size:1.1rem;margin-bottom:8px}
.fan-photo-info p{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.fan-photo-info .fan-tag{color:#ff9d42;font-size:.82rem;font-weight:800;margin-bottom:8px}
#load-more{margin:28px auto;display:block;cursor:pointer}
#load-more[hidden]{display:none}

.fan-date-help{color:var(--muted);font-size:.86rem;margin:0 0 5px;line-height:1.4}
.fan-photo-info .fan-game-date{font-size:.9rem;color:#ffb46a;font-weight:700;margin-bottom:9px}

.fan-opponent{font-weight:700;color:#f7b46b;margin:6px 0;}

/* Fan-made website disclaimer */
footer .footer-disclaimer{max-width:780px;margin:10px auto 0;padding:0 18px;font-size:.85rem;line-height:1.6;opacity:.82;text-align:center;}

/* FAQs */
.faq-page{max-width:1050px;margin:auto;padding:55px 5% 95px}.faq-hero{text-align:center;max-width:760px;margin:0 auto 42px}.faq-hero h1{font-size:clamp(2.3rem,6vw,4.5rem);margin:12px 0}.faq-hero>p:not(.eyebrow){color:var(--muted);line-height:1.7;margin-bottom:24px}.faq-list{display:grid;gap:14px}.faq-item{background:linear-gradient(125deg,rgba(5,14,32,.95),rgba(10,53,101,.65));border:1px solid var(--border);border-radius:16px;overflow:hidden}.faq-item summary{padding:22px 48px 22px 22px;font-weight:750;cursor:pointer;position:relative;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary::after{content:'+';position:absolute;right:22px;top:19px;color:#ff9d42;font-size:1.5rem}.faq-item[open] summary::after{content:'−'}.faq-item summary:focus-visible{outline:3px solid #ff9d42;outline-offset:-3px}.faq-item p{padding:0 22px 23px;color:var(--muted);line-height:1.75}.footer-faq{margin-top:12px}.footer-faq a{color:#ffb46a;text-underline-offset:4px}@media(max-width:600px){.faq-page{padding-top:38px}.faq-item summary{padding:18px 45px 18px 17px}.faq-item p{padding:0 17px 20px}}

/* 2026 roster page */
.roster-page{max-width:1120px;margin:auto;padding:55px 5% 95px}.roster-hero{text-align:center;max-width:780px;margin:0 auto 42px}.roster-hero h1{font-size:clamp(2.4rem,6vw,4.6rem);margin:12px 0}.roster-hero p:not(.eyebrow){color:var(--muted);line-height:1.7;margin-bottom:25px}.roster-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.roster-group{border:1px solid var(--border);border-radius:18px;background:linear-gradient(130deg,rgba(5,14,32,.96),rgba(10,53,101,.7));padding:24px}.roster-group h2{font-size:1.35rem;color:#ffb46a;margin:0 0 16px}.roster-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.roster-list li{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12)}.roster-list li:last-child{border-bottom:0}.roster-source{color:var(--muted);line-height:1.7;margin-top:32px}.roster-source a{color:#ffb46a}

.roster-note{font-size:.85em;color:#ffb66b;font-weight:600}

/* Fan chat */
.chat-page{max-width:1180px;margin:0 auto;padding:55px 5% 100px}.chat-heading{text-align:center;margin:0 auto 35px;max-width:730px}.chat-heading h1{font-size:clamp(2.5rem,6vw,4.5rem)}.chat-heading>p:last-child{color:var(--muted);line-height:1.6}.chat-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:24px;align-items:start}.chat-main,.chat-rules{background:rgba(5,14,32,.88);border:1px solid var(--border);border-radius:22px;padding:22px;min-width:0}.chat-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:15px}.chat-top h2,.chat-rules h2{font-size:1.35rem}.chat-top span{color:#9bc4ed;font-size:.86rem}.chat-messages{height:min(55vh,470px);min-height:290px;overflow-y:auto;background:#071329;border:1px solid #284469;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-item{background:#10223e;border:1px solid #2a4668;border-radius:13px;padding:12px;overflow-wrap:anywhere}.chat-meta{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;margin-bottom:7px}.chat-meta strong{color:#ffad65}.chat-meta small{color:#a9bdd7}.chat-item p{white-space:pre-wrap;line-height:1.5}.chat-report{background:none;border:0;color:#a8c6e9;text-decoration:underline;cursor:pointer;padding:5px 0;font-size:.75rem}.chat-form{display:grid;gap:9px;margin-top:17px}.chat-form label{font-weight:700}.chat-form input,.chat-form textarea{font:inherit;width:100%;border:1px solid #4078ae;border-radius:10px;background:#09172d;color:white;padding:12px}.chat-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-actions button{border:0;cursor:pointer}.chat-actions button:disabled{opacity:.55;cursor:wait}.chat-rules p,.chat-rules li{color:var(--muted);line-height:1.65}.chat-rules ul{padding-left:20px;margin:15px 0}.chat-rules li{margin-bottom:9px}#chat-status{color:#a8c6e9;min-height:1.3em}@media(max-width:740px){.chat-layout{grid-template-columns:1fr}.chat-main,.chat-rules{padding:15px}.chat-page{padding-top:35px}}



/* Consistent, compact site footer */
.site-footer{padding:38px 6% 32px;border-top:1px solid rgba(255,255,255,.19);background:#061124;text-align:center;color:#d1dfef}
.footer-inner{max-width:1100px;margin:0 auto}
.footer-brand{display:inline-block;font-size:1.12rem;letter-spacing:.11em;font-weight:900;color:#fff}
.footer-brand:hover,.footer-links a:hover{color:#ffb16b}
.footer-tagline{margin-top:7px;color:#f8b277;font-size:.93rem}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 30px;margin:22px 0}
.footer-links a{color:#e7f2ff;font-weight:650;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.footer-links a:hover,.footer-links a:focus-visible{text-decoration-color:currentColor}
.footer-copyright{font-size:.9rem}
.footer-smallprint{max-width:700px;margin:10px auto 0;font-size:.79rem;line-height:1.65;color:#bdcce0}
@media(max-width:480px){.site-footer{padding:31px 5%}.footer-brand{font-size:1rem}.footer-links{gap:12px 19px}}

/* Owner favorites: dedicated former-Astros subsection */
.former-favorites{margin-top:35px;padding-top:32px;border-top:1px solid var(--border)}
.former-favorites h2{margin-bottom:12px}

/* Favorite-player position labels */
.favorite-player-details{min-width:0}
.favorite-player-details h3{margin:0;line-height:1.35}
.favorite-player .player-position{font-size:.85rem;color:#b8d9fc;line-height:1.5;margin:5px 0 0;overflow-wrap:break-word}

/* Detailed 2026 Astros roster tables */
.roster-page{max-width:1340px}
.roster-hero{max-width:930px}
.roster-hero .roster-stat-explainer{margin:15px auto 4px;color:#c9d6e9;font-size:.94rem;line-height:1.6}
.roster-hero .roster-data-status{margin:13px auto 0;color:#ffc17c;font-size:.92rem;line-height:1.5}
.roster-groups{grid-template-columns:1fr;gap:25px}
.roster-group{padding:clamp(13px,3vw,25px);overflow:hidden}
.roster-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:12px;border:1px solid rgba(255,255,255,.14)}
.roster-table-scroll:focus-visible{outline:3px solid #ffb46a;outline-offset:3px}
.roster-stats-table{width:100%;min-width:830px;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
.roster-stats-table th,.roster-stats-table td{padding:14px 12px;border-bottom:1px solid rgba(255,255,255,.12);white-space:nowrap;font-size:.92rem}
.roster-stats-table thead{background:rgba(12,72,128,.8)}
.roster-stats-table thead th{font-size:.79rem;letter-spacing:.035em;text-transform:uppercase;color:#e6eefc}
.roster-stats-table tbody tr:last-child td,.roster-stats-table tbody tr:last-child th{border-bottom:0}
.roster-stats-table tbody tr:hover{background:rgba(255,255,255,.045)}
.roster-stats-table th.roster-player-name{min-width:170px;font-weight:750;color:white}
.roster-stats-table .roster-note{display:block;font-size:.72rem;margin-top:4px;white-space:normal;max-width:180px}
.roster-stats-table td[data-field="number"]{color:#ffb46a;font-weight:800}
@media(max-width:700px){.roster-stats-table{min-width:790px}.roster-stats-table th,.roster-stats-table td{padding:13px 10px;font-size:.84rem}}


/* 2026 coaching staff on the roster page */
.coach-section{margin:56px 0 10px;padding-top:38px;border-top:1px solid rgba(255,255,255,.24);scroll-margin-top:110px}
.coach-heading{text-align:center;max-width:740px;margin:0 auto 34px}
.coach-heading h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.12;margin-bottom:15px}
.coach-heading>p:not(.eyebrow){color:var(--muted);line-height:1.7}
.coach-jump{background:rgba(12,65,117,.92);border:1px solid rgba(255,255,255,.23);margin-top:12px}
.coach-groups{display:grid;gap:27px}
.coach-group{border:1px solid var(--border);border-radius:20px;padding:clamp(17px,3vw,28px);background:linear-gradient(125deg,rgba(5,14,32,.95),rgba(8,51,101,.77))}
.coach-group h3{font-size:1.25rem;color:#ffb46a;margin:0 0 19px}
.coach-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:13px}
.coach-card{display:flex;align-items:center;gap:15px;min-width:0;background:rgba(4,18,39,.75);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:15px}
.coach-number{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:12px;background:linear-gradient(130deg,#e27924,#bc4717);font-weight:900;font-size:1.02rem;color:#fff;font-variant-numeric:tabular-nums}
.coach-info{min-width:0}.coach-info h4{font-size:1.03rem;font-weight:800;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere}
.coach-info p{color:#c3d8f0;line-height:1.5;font-size:.88rem;overflow-wrap:anywhere}
.coach-source{color:var(--muted);line-height:1.7;margin:27px 0 0;font-size:.89rem}
.coach-source a{color:#ffb46a;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.coach-section{margin-top:42px;padding-top:28px}.coach-card{padding:12px}.coach-number{flex-basis:43px;width:43px;height:43px}}


/* September 22, 2026: complete pitching roster (includes injured / minor-league 40-man pitchers) */
.pitcher-group{scroll-margin-top:95px}
.pitcher-group-note{color:var(--muted);font-size:.9rem;line-height:1.6;margin:0 0 17px}
.pitcher-stats-table{min-width:1550px}
.pitcher-stats-table th.roster-player-name{min-width:188px}
.pitcher-stats-table td[data-field="status"]{min-width:92px}
.pitch-status{display:inline-block;padding:5px 8px;border:1px solid;border-radius:999px;font-size:.72rem;font-weight:800;white-space:nowrap}
.pitch-status-active{border-color:#2cab83;color:#b6ffde;background:#07513b55}
.pitch-status-injured{border-color:#f6a35b;color:#ffe1c0;background:#9b421f44}
.pitch-status-minors{border-color:#85aef5;color:#ccddff;background:#22457d77}
.pitcher-data-status{color:#ffc17c;line-height:1.6;margin:24px 4px}
.pitcher-injury-section{scroll-margin-top:110px;margin:24px 0 55px;padding:clamp(20px,3vw,34px);border:1px solid rgba(247,167,88,.45);border-radius:24px;background:linear-gradient(135deg,rgba(23,37,63,.94),rgba(82,39,21,.4))}
.pitcher-injury-section h2{font-size:clamp(1.4rem,3vw,2.1rem);color:#ffc17c;margin-bottom:12px}
.pitcher-injury-section>p{color:var(--muted);line-height:1.6;margin-bottom:18px}
.pitcher-injury-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:14px}
.pitcher-injury-card{border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:18px;background:#071b3590}
.pitcher-injury-card a{display:block;color:white;font-weight:800;margin-bottom:12px;text-decoration:underline;text-underline-offset:3px}
.pitcher-injury-card p{color:#d6e4f7;line-height:1.5;font-size:.89rem;margin:12px 0 0}
.pitcher-source-note a{color:#ffc17c;text-decoration:underline}
@media(max-width:720px){.pitcher-stats-table{min-width:1400px}}

/* Clearly visible dated MLB assignment labels beside player names */
.roster-stats-table .roster-player-name .roster-inline-status{display:inline-flex;vertical-align:middle;margin:3px 0 3px 5px;white-space:nowrap;max-width:none;font-size:.64rem;letter-spacing:.025em;line-height:1.1;padding:5px 7px;border-radius:999px;border:1px solid;font-weight:850}
.roster-inline-status-minors{color:#d6e6ff;background:#22457d;border-color:#8aaff4}
.roster-inline-status-active{color:#b6ffde;background:#07513b;border-color:#2cab83}
.roster-inline-status-il15,.roster-inline-status-il60{color:#ffddb8;background:#783919;border-color:#f6a35b}
.roster-hero .roster-legend,.roster-hero .roster-source-link{font-size:.9rem;line-height:1.8;color:#dce8f7;margin:10px auto}
.roster-legend .roster-inline-status{display:inline-block;font-size:.7rem;font-weight:800;border:1px solid;border-radius:12px;padding:3px 7px}
.roster-source-link a{color:#ffbd7b;text-underline-offset:3px}


/* Standings and playoff picture section */
.standings-section {
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 0 5% 20px;
}

.standings-card {
  display: grid;
  gap: 24px;
}

.standings-copy h2 {
  margin: 8px 0 12px;
}

.standings-picture {
  width: 100%;
  max-width: 980px;
  margin: 6px auto 0;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(108, 164, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

@media (max-width: 720px) {
  .standings-section {
    padding-left: 4.5%;
    padding-right: 4.5%;
  }
  .standings-picture {
    border-radius: 18px;
  }
}

/* Complete, live MLB standings — six divisions and postseason snapshot */
.all-standings-page { max-width: 1360px; margin: 0 auto; padding: 52px 5% 90px; }
.standings-hero { max-width: 880px; margin-bottom: 38px; }
.standings-hero h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: 1.08; }
.standings-controls { background: rgba(7, 21, 47, .8); border: 1px solid var(--border); border-radius: 22px; padding: 22px; margin-bottom: 45px; }
.standings-tabs { display: inline-flex; flex-wrap: wrap; gap: 9px; margin-right: 14px; }
.standings-tab { cursor: pointer; color: white; font: inherit; font-weight: 800; border: 1px solid rgba(140, 185, 235, .38); background: rgba(9, 31, 65, .92); border-radius: 12px; padding: 13px 17px; }
.standings-tab.active { background: #ff901b; color: #07152f; border-color: #ff901b; }
.standings-refresh { cursor: pointer; border: 1px solid var(--border); }
.standings-refresh:disabled { cursor: progress; opacity: .65; }
.standings-status { font-weight: 800; margin-top: 18px; line-height: 1.5; }
.standings-date { color: var(--muted); margin-top: 6px; line-height: 1.55; }
.standings-panel { margin: 0 auto 54px; }
.standings-section-heading { max-width: 900px; margin-bottom: 24px; }
.standings-section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.standings-section-heading p:not(.eyebrow) { line-height: 1.65; color: var(--muted); }
.league-block { margin-bottom: 35px; }
.league-block > h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 17px; }
.division-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 365px), 1fr)); gap: 18px; }
.division-card, .playoff-card { background: rgba(7, 19, 42, .9); border: 1px solid rgba(125, 173, 231, .33); border-radius: 18px; padding: 20px 14px 12px; min-width: 0; }
.division-card > h3 { color: #f9b15b; font-size: 1.3rem; padding: 0 8px 14px; }
.standings-table-scroll { overflow-x: auto; }
.standings-table { border-collapse: collapse; width: 100%; white-space: nowrap; font-size: .83rem; font-variant-numeric: tabular-nums; }
.standings-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.standings-table th, .standings-table td { padding: 10px 5px; border-bottom: 1px solid rgba(255,255,255,.09); text-align: right; }
.standings-table thead th { color: #a9cee9; font-size: .76rem; }
.standings-table th:first-child { text-align: left; padding-left: 7px; }
.standings-table tbody th { font-size: .8rem; white-space: normal; min-width: 110px; }
.standings-table tbody tr:last-child th, .standings-table tbody tr:last-child td { border-bottom: 0; }
.astros-highlight { color: #ffae50; background: rgba(247, 128, 27, .13); }
.astros-badge { display: block; font-size: .61rem; letter-spacing: .09em; color: #ffb55e; padding-top: 3px; }
.playoff-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,420px),1fr)); gap: 18px; }
.playoff-card { padding: 26px; }
.playoff-card h3 { font-size: 1.6rem; margin-bottom: 22px; color: #f9b15b; }
.playoff-card h4 { font-size: 1.02rem; margin-top: 22px; margin-bottom: 12px; }
.playoff-team-list { padding-left: 25px; line-height: 2; }
.playoff-team-list li { padding-left: 6px; }
.astros-playoff { color: #ffb15b; font-weight: 850; }
.playoff-note { color: var(--muted); margin-top: 19px; font-size: .86rem; line-height: 1.55; }
.standings-attribution { color: var(--muted); font-size: .91rem; line-height: 1.65; margin: 10px 0 28px; }
.standings-attribution a { text-decoration: underline; color: #9dd1ff; }
@media (max-width: 650px) { .all-standings-page { padding: 38px 4% 68px; } .standings-controls { padding: 16px; } .standings-tabs { display: flex; margin-right: 0; margin-bottom: 12px; } .standings-tab { flex: 1; font-size: .84rem; padding: 12px 10px; } .standings-refresh { width: 100%; } .division-card { padding: 16px 8px 10px; } .standings-table { font-size: .76rem; } .standings-table th, .standings-table td { padding: 10px 3px; } .standings-table tbody th { min-width: 88px; } }


/* Postseason qualification highlighting: green = clinched, red = eliminated. */
.standings-table tbody tr.team-clinched,
.standings-table tbody tr.team-clinched.astros-highlight {
  background: rgba(24, 122, 72, .24);
  color: #dcffe9;
  box-shadow: inset 4px 0 0 #48d982;
}
.standings-table tbody tr.team-clinched th { color: #d8ffe7; }
.clinch-badge {
  display: block; color: #dfffee; border: 1px solid #55db8b;
  background: #0d6037; padding: 4px 7px; border-radius: 6px;
  font-size: .64rem; font-weight: 850; letter-spacing: .025em;
  width: max-content; max-width: 100%; margin-top: 5px; white-space: normal;
}
.standings-key { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin-top:12px; color:var(--muted); font-size:.84rem; }
.standings-key span { display:inline-flex; align-items:center; gap:7px; }
.standings-key i { width:13px; height:13px; border-radius:4px; display:inline-block; }
.standings-key .key-clinched { background:#48d982; }
.standings-key .key-eliminated { background:#fa647c; }

/* MLB elimination labels: use explicit overall status, never division-only elimination. */
.standings-table { min-width: 545px; }
.standings-table tbody tr.team-eliminated,
.standings-table tbody tr.team-eliminated.astros-highlight {
  background: rgba(133, 30, 49, .22);
  color: #ffd5dc;
  box-shadow: inset 4px 0 0 #fa647c;
}
.standings-table tbody tr.team-eliminated th { color: #ffcfda; }
.elimination-badge {
  display: block; color: #ffd6df; border: 1px solid #ed7185;
  background: #6a152c; padding: 4px 7px; border-radius: 6px;
  font-size: .64rem; font-weight: 850; letter-spacing: .025em;
  width: max-content; max-width: 100%; margin-top: 5px; white-space: normal;
}
.standings-table .eliminated-status { color: #ff91a3; font-weight: 850; font-size: .7rem; }
.standings-table .clinched-status { color: #98f2bd; font-weight: 850; font-size: .7rem; }
.eliminated-team-list { padding-left: 23px; color: #ffa7b4; line-height: 1.9; }
.eliminated-team-list li { padding-left: 4px; overflow-wrap: anywhere; }

/* Wide, full-width rectangle layout for every division and playoff panel.
   Display one table per row instead of a grid of narrow square cards. */
.all-standings-page {
  width: 100%;
  max-width: 1600px;
  padding: 52px clamp(16px, 3vw, 48px) 90px;
}
.standings-panel,
.league-block,
.division-standings,
.playoff-panel {
  width: 100%;
  min-width: 0;
}
.division-grid,
.playoff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  width: 100%;
}
.division-card,
.playoff-card {
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  padding: 24px 26px;
}
.division-card > h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin: 0;
  padding: 0 0 18px;
}
.standings-table-scroll {
  display: block;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.standings-table {
  width: 100%;
  min-width: 930px;
  font-size: .98rem;
}
.standings-table th,
.standings-table td {
  padding: 15px 17px;
}
.standings-table th:first-child {
  padding-left: 18px;
}
.standings-table tbody th {
  min-width: 230px;
  font-size: .96rem;
  font-weight: 800;
  white-space: normal;
}
.standings-table thead th {
  font-size: .82rem;
}
.playoff-card h3 {
  margin-bottom: 18px;
}
@media (max-width: 750px) {
  .all-standings-page { padding: 38px 14px 68px; }
  .division-card, .playoff-card { padding: 19px 14px; }
  .standings-table { min-width: 930px; font-size: .9rem; }
  .standings-table th, .standings-table td { padding: 13px 12px; }
  .standings-table tbody th { min-width: 210px; font-size: .9rem; }
}


/* 2026 standings: two full-width LEAGUE rectangles, with compact division columns.
   All MLB stats are retained, but L10 / streak / playoff status live under the team
   name to remove horizontal table scrolling at every breakpoint. */
.league-shortcuts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.league-shortcuts a {
  display: inline-flex; align-items: center; padding: 9px 14px;
  background: rgba(15, 45, 84, .88); color: #e6f3ff;
  border: 1px solid rgba(120, 173, 237, .42); border-radius: 999px;
  text-decoration: none; font-size: .87rem; font-weight: 800;
}
.league-shortcuts a:hover, .league-shortcuts a:focus-visible { border-color: #ffa647; color: #ffbc73; }
.league-rectangle {
  width: 100%; padding: clamp(16px, 2.4vw, 30px);
  background: linear-gradient(120deg, rgba(6, 21, 44, .98), rgba(11, 30, 57, .94));
  border: 1px solid rgba(118, 170, 233, .46);
  border-left: 5px solid #f59739;
  border-radius: 16px; margin-bottom: 24px;
  scroll-margin-top: 24px;
}
.league-rectangle:last-child { border-left-color: #61bbff; }
.league-rectangle > h3 {
  color: #f4f8ff; margin: 0 0 18px; padding-bottom: 13px;
  border-bottom: 1px solid rgba(160, 195, 238, .24);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.league-rectangle .division-grid {
  width: 100%; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}
.league-rectangle .division-card {
  width: 100%; min-width: 0; padding: 0;
  border: none; background: transparent; border-radius: 0;
}
.league-rectangle .division-card + .division-card {
  border-left: 1px solid rgba(145, 181, 227, .25);
  padding-left: clamp(10px, 1.4vw, 22px);
}
.league-rectangle .division-card > h3 {
  padding: 0 0 10px; color: #ffb56c;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
}
.league-rectangle .standings-table-scroll { width: 100%; overflow: visible; }
.league-rectangle .standings-table {
  table-layout: fixed; width: 100%; min-width: 0;
  white-space: normal; font-size: clamp(.72rem, .82vw, .9rem);
}
.league-rectangle .standings-table tr > :first-child { width: 49%; }
.league-rectangle .standings-table tr > :nth-child(2),
.league-rectangle .standings-table tr > :nth-child(3) { width: 10%; }
.league-rectangle .standings-table tr > :nth-child(4) { width: 17%; }
.league-rectangle .standings-table tr > :nth-child(5) { width: 14%; }
.league-rectangle .standings-table th,
.league-rectangle .standings-table td {
  padding: 9px 3px; text-align: right;
  overflow-wrap: anywhere; vertical-align: top;
}
.league-rectangle .standings-table th:first-child { padding-left: 4px; text-align: left; }
.league-rectangle .standings-table tbody th {
  min-width: 0; font-size: inherit; line-height: 1.33;
  font-weight: 750; white-space: normal;
}
.league-rectangle .standings-table thead th { font-size: .71rem; }
.league-team-name { display: block; overflow-wrap: normal; word-break: normal; }
.league-team-meta {
  display: block; font-size: .69rem; font-weight: 500;
  line-height: 1.38; margin-top: 3px; color: #b6d0e9;
}
.league-rectangle .elimination-badge {
  width: fit-content; max-width: 100%; padding: 3px 4px;
  line-height: 1.25; font-size: .57rem; letter-spacing: 0;
}
.league-clinched-badge {
  display: block; width: fit-content; border: 1px solid #52c88f;
  color: #aef3c8; background: rgba(3, 92, 50, .33);
  border-radius: 5px; padding: 3px 5px; font-size: .62rem;
  line-height: 1.3; font-weight: 800; margin-top: 4px;
}
.league-rectangle .astros-badge { font-size: .59rem; }
.playoff-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.playoff-card { padding: clamp(17px, 2vw, 26px); }
.playoff-mini-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; width: 100%;
}
.playoff-mini-group { min-width: 0; }
.playoff-mini-group h4 { font-size: .88rem; margin: 0 0 7px; line-height: 1.4; }
.playoff-mini-group .playoff-team-list {
  margin: 0; padding-left: 21px; font-size: .85rem;
  line-height: 1.65; overflow-wrap: anywhere;
}
.playoff-eliminated-group { margin-top: 14px; padding-top: 8px; border-top: 1px solid rgba(165, 185, 220, .22); }
.playoff-eliminated-group h4 { margin: 8px 0; font-size: .9rem; }
.playoff-eliminated-group .eliminated-team-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px; margin: 0; font-size: .78rem; line-height: 1.55;
}
.playoff-card .playoff-note { font-size: .76rem; margin-top: 12px; }
@media (max-width: 1180px) {
  .league-rectangle .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .league-rectangle .division-card + .division-card { border-left: 0; padding-left: 0; }
  .league-rectangle .division-card:nth-child(2n) {
    border-left: 1px solid rgba(145,181,227,.25); padding-left: 15px;
  }
  .league-rectangle .standings-table { font-size: .83rem; }
}
@media (max-width: 860px) {
  .playoff-grid { grid-template-columns: minmax(0, 1fr); }
  .league-rectangle .division-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .league-rectangle .division-card,
  .league-rectangle .division-card + .division-card,
  .league-rectangle .division-card:nth-child(2n) { border-left: 0; padding-left: 0; }
  .league-rectangle .division-card:not(:last-child) { padding-bottom: 15px; border-bottom: 1px solid rgba(145,181,227,.25); }
  .league-rectangle .standings-table { font-size: .9rem; }
}
@media (max-width: 460px) {
  .league-rectangle { padding: 12px 9px; border-left-width: 3px; }
  .league-rectangle .standings-table { font-size: .73rem; }
  .league-rectangle .standings-table th,
  .league-rectangle .standings-table td { padding: 9px 2px; }
  .league-rectangle .standings-table thead th { font-size: .64rem; }
  .league-team-meta { font-size: .6rem; }
  .playoff-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .playoff-eliminated-group .eliminated-team-list { grid-template-columns: minmax(0, 1fr); }
}


/* Explicit MLB playoff clinches: highlight the entire team row in green.
   Keep this after the Astros orange highlight so a clinched Astros row is green too. */
.league-rectangle .standings-table tbody tr.team-clinched,
.league-rectangle .standings-table tbody tr.team-clinched.astros-highlight {
  background: rgba(27, 129, 76, .28);
  color: #d5ffe2;
  box-shadow: inset 4px 0 0 #42df8d;
}
.league-rectangle .standings-table tbody tr.team-clinched th,
.league-rectangle .standings-table tbody tr.team-clinched .league-team-name {
  color: #b4ffd0;
}
.league-rectangle .standings-table tbody tr.team-clinched .league-team-meta {
  color: #b9ead0;
}
.league-rectangle .standings-table tbody tr.team-clinched .league-clinched-badge {
  border-color: #68e8a3;
  color: #e1ffed;
  background: #125d35;
}
.playoff-team-list li.playoff-clinched,
.playoff-team-list li.playoff-clinched.astros-playoff {
  background: rgba(27, 129, 76, .26);
  border-left: 3px solid #42df8d;
  color: #b4ffd0;
  font-weight: 800;
  border-radius: 3px;
  padding: 2px 6px;
}
.standings-legend {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin: 12px 0 4px; color: #d2e2f5; font-size: .85rem;
}
.standings-legend span { display: inline-flex; align-items: center; gap: 7px; }
.standings-legend .legend-swatch {
  display: inline-block; width: 13px; height: 13px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.4);
}
.legend-clinched { background: #1e9e59; }
.legend-eliminated { background: #aa2944; }
.legend-astros { background: #e78224; }


/* Astros game-day scoreboard: compact rectangle layout, no account required. */
.score-spotlight,.schedule-score-spotlight,.scores-panel { width:min(1180px,94%);margin:32px auto 50px; }
.score-spotlight,.schedule-score-spotlight,.scores-panel { padding:clamp(18px,3vw,32px);border:1px solid rgba(110,159,231,.34);border-radius:22px;background:linear-gradient(130deg,rgba(4,21,45,.96),rgba(9,32,70,.91));box-shadow:0 12px 38px rgba(0,0,0,.22); }
.score-section-title {display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:20px;}
.score-section-title h2 {font-size:clamp(1.5rem,3vw,2.3rem);margin:5px 0 8px;}
.score-section-title p:not(.eyebrow) {color:#c7d6ed;line-height:1.55;}
.scores-page {max-width:1260px;margin:0 auto;padding:48px 3% 85px;}
.scores-hero {text-align:center;max-width:810px;margin:0 auto 34px;}
.scores-hero h1 {font-size:clamp(2.5rem,6vw,4.5rem);}
.scores-hero .subtitle {line-height:1.7;margin-top:14px;}
.scores-panel {width:100%;}
.score-date-toolbar {display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:14px;}
.score-date-toolbar label {display:inline-flex;gap:10px;align-items:center;flex-wrap:wrap;font-weight:700;color:#d4e8ff;}
.score-date-toolbar input {color:#fff;color-scheme:dark;background:#0b1d3a;border:1px solid #5a80b2;border-radius:9px;padding:10px;font:inherit;}
.score-date-button {border:1px solid #5780b0;border-radius:9px;background:#0a1e3a;color:#fff;padding:10px 12px;cursor:pointer;font:inherit;}
.score-date-button:hover,.score-date-button:focus-visible {background:#164073;}
.score-api-status,.score-source-note {color:#c0d6ed;font-size:.88rem;line-height:1.6;margin:12px 0 18px;}
.score-source-note {margin-top:20px;}
.scoreboard {min-height:150px;}
.score-games {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px;}
.score-group-label {color:#ffb866;font-weight:800;letter-spacing:.05em;margin:0 0 14px;}
.score-game {min-width:0;border-radius:17px;border:1px solid rgba(105,159,235,.33);background:#0b1931;padding:clamp(15px,2vw,22px);}
.score-game-live {border-color:#ff9b4b;box-shadow:inset 4px 0 0 #ff9b4b;}
.score-game-top,.score-game-bottom {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;}
.score-game-date {font-weight:800;color:#d4e9ff;font-size:.92rem;}
.score-badge {padding:6px 11px;border-radius:999px;font-weight:900;font-size:.73rem;letter-spacing:.07em;background:#204068;color:#d5e9ff;}
.score-badge-live {color:#fff;background:#bd301c;animation:score-pulse 1.8s ease-in-out infinite;}
.score-badge-final {color:#b2f7d4;background:#175b43;}
.score-game-state {min-height:22px;font-size:.89rem;color:#f3c494;margin:13px 0 15px;font-weight:700;}
.score-live-dot {width:9px;height:9px;background:#ff664e;display:inline-block;border-radius:50%;margin-right:5px;box-shadow:0 0 0 4px rgba(255,102,78,.15);}
.score-stats-head,.score-team {display:grid;grid-template-columns:minmax(0,1fr) repeat(3, minmax(35px,48px));align-items:center;gap:6px;}
.score-stats-head {font-size:.73rem;font-weight:900;color:#a6b9d1;border-bottom:1px solid rgba(148,181,225,.3);padding-bottom:8px;text-align:center;}
.score-stats-head span:first-child {text-align:left;}
.score-team {padding:12px 0;border-bottom:1px solid rgba(148,181,225,.14);text-align:center;color:#f7fbff;}
.score-team-astros {color:#ffbc6c;}
.score-team-name {min-width:0;overflow-wrap:anywhere;font-weight:800;text-align:left;}
.score-team-name small {display:block;font-weight:700;color:#8eb7e7;font-size:.66rem;margin-top:3px;letter-spacing:.1em;}
.score-run {font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.05;}
.score-secondary-num {font-weight:700;font-size:1.02rem;}
.score-game-bottom {margin-top:15px;font-size:.81rem;color:#b8cfe8;line-height:1.5;}
.score-mlb-link {color:#ffad5c;font-weight:800;}
.score-message {margin:0;padding:30px 20px;border:1px dashed rgba(125,174,243,.35);border-radius:15px;line-height:1.6;color:#d9e8f8;}
.score-message a {color:#ffb05a;}
.score-error {border-color:rgba(255,111,107,.5);}
@keyframes score-pulse {50% {filter:brightness(1.3);}}
@media(prefers-reduced-motion:reduce) {.score-badge-live {animation:none;}}
@media(max-width:540px) {
 .score-spotlight,.schedule-score-spotlight {width:94%;padding:16px;margin:22px auto 34px;}
 .scores-page {padding:32px 3% 60px;}
 .scores-panel {padding:16px;}
 .score-date-button {padding:9px 10px;font-size:.84rem;}
 .score-stats-head,.score-team {grid-template-columns:minmax(0,1fr) repeat(3,32px);gap:3px;}
 .score-team-name {font-size:.85rem;}
}

/* Expanded MLB game center. Live data is read-only and updated in scores.js. */
.score-games {grid-template-columns:minmax(0,1fr);}
.score-game {width:100%;padding:clamp(17px,2.5vw,30px);}
.score-detail {margin-top:22px;display:grid;gap:16px;}
.score-detail-top {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;}
.score-detail-bottom {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:16px;align-items:start;}
.detail-panel {min-width:0;border-radius:14px;border:1px solid rgba(114,167,225,.31);background:rgba(4,19,42,.72);padding:clamp(13px,2vw,20px);}
.detail-panel h3 {margin:0 0 16px;font-size:clamp(1.03rem,1.7vw,1.23rem);color:#fff;border-bottom:1px solid rgba(158,184,220,.22);padding-bottom:10px;}
.detail-count-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.detail-count-grid > div {padding:12px;background:#112c4e;border-radius:10px;min-width:0;}
.detail-count-grid small,.detail-pitcher-row small {display:block;color:#a8c8eb;font-size:.72rem;letter-spacing:.02em;margin-bottom:6px;}
.detail-count-grid strong {display:block;color:#f5f9ff;font-size:1rem;overflow-wrap:anywhere;}
.detail-counts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 16px;}
.detail-counts span {border:1px solid rgba(98,154,215,.42);border-radius:10px;background:#0a2140;text-align:center;padding:10px 4px;font-size:.85rem;color:#d5e4f6;white-space:nowrap;}
.detail-counts b {color:#ffbd6f;font-size:1.3rem;margin-right:3px;}
.detail-bases-label {font-size:.83rem;color:#c8dbf0;font-weight:800;margin:6px 0 9px;}
.detail-bases {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.detail-base {padding:10px 7px;background:#0b2542;border:1px solid #34547d;border-radius:10px;text-align:center;min-width:0;}
.detail-base strong {color:#b6cce4;display:block;margin-bottom:5px;font-size:.82rem;}
.detail-base span {display:block;font-size:.76rem;color:#c4d7ee;overflow-wrap:anywhere;}
.detail-base-occupied {background:rgba(255,151,36,.16);border-color:#e59d4a;}
.detail-base-occupied strong,.detail-base-occupied span {color:#ffd49e;}
.detail-smallnote {margin:12px 0 0;font-size:.75rem;color:#b4cae5;line-height:1.5;}
.detail-pitcher-list {display:grid;gap:13px;}
.detail-pitcher-row {display:grid;grid-template-columns:minmax(90px,.83fr) repeat(2,minmax(0,1fr));gap:11px;align-items:center;padding:10px;border-radius:9px;background:#0d2645;font-size:.9rem;}
.detail-pitcher-row > strong {color:#ffd09b;overflow-wrap:anywhere;}
.detail-pitcher-row > span {min-width:0;overflow-wrap:anywhere;color:#e7f2ff;line-height:1.4;}
.detail-inning-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:8px;}
.detail-inning-cell {padding:11px 12px;background:#102b4b;border:1px solid rgba(130,166,213,.28);border-radius:10px;font-variant-numeric:tabular-nums;}
.detail-inning-cell > strong {display:block;font-size:.7rem;color:#ffb86d;margin-bottom:8px;}
.detail-inning-cell span {display:flex;justify-content:space-between;gap:6px;font-size:.79rem;color:#d3e6f9;margin:4px 0;}
.detail-inning-cell span b {font-size:.95rem;color:#fff;}
.detail-inning-current {border-color:#ffa54e;background:rgba(233,120,30,.17);box-shadow:inset 0 0 0 1px rgba(255,158,65,.26);}
.detail-play-list,.detail-change-list {list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.detail-play-item,.detail-change-list > li {padding:11px 12px;border-radius:9px;background:#0c2849;border:1px solid rgba(104,155,219,.23);line-height:1.52;overflow-wrap:anywhere;}
.detail-play-item p {margin:6px 0 0;color:#f0f7ff;font-size:.88rem;}
.detail-play-inning {color:#ffba6c;font-size:.72rem;font-weight:900;letter-spacing:.025em;}
.detail-runner-moves {list-style:disc;padding-left:20px;margin:8px 0 0;color:#bdeacf;font-size:.84rem;}
.detail-runner-moves li + li {margin-top:4px;}
.detail-play-item .detail-play-action {color:#bad1ec;font-size:.8rem;}
.detail-change-list > li {font-size:.86rem;color:#e0ecfa;}
.detail-change-list > li > span {display:block;font-weight:900;color:#ffbd72;font-size:.72rem;margin-bottom:5px;}
.detail-empty,.score-detail-warning {margin:10px 0;line-height:1.5;color:#bed1e9;font-size:.86rem;}
.detail-unavailable,.score-detail-warning {padding:13px 16px;border-radius:10px;border:1px dashed rgba(231,168,98,.45);background:rgba(44,28,17,.35);}
.score-detail-warning {margin:18px 0 0;}
@media(max-width:1040px) {
  .score-detail-top,.score-detail-bottom {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:550px) {
  .score-game {padding:14px 11px;}
  .detail-panel {padding:13px 10px;}
  .detail-count-grid {grid-template-columns:minmax(0,1fr);}
  .detail-pitcher-row {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;}
  .detail-pitcher-row > strong {grid-column:1 / -1;}
  .detail-base {padding:9px 5px;}
  .detail-counts span {font-size:.73rem;}
  .detail-counts b {font-size:1.1rem;}
  .detail-inning-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}

.detail-last-result {border-left:3px solid #ffa84e;padding:8px 12px;margin:14px 0 5px;color:#ffe0b7;background:rgba(242,138,26,.11);border-radius:4px;font-size:.85rem;}


/* Both teams: official batting orders, player substitutions and pitchers */
.lineup-panel {padding:clamp(15px,2.4vw,25px);}
.lineup-panel-header {display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px;}
.lineup-panel-header h3 {margin-bottom:8px;}
.lineup-panel-header p {color:#c8dcf3;line-height:1.55;font-size:.89rem;max-width:720px;}
.lineup-live-chip {background:#9b301f;border:1px solid #f77c63;color:#fff;border-radius:999px;padding:7px 10px;font-size:.74rem;font-weight:900;white-space:nowrap;}
.lineup-teams {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;}
.lineup-team {min-width:0;background:#0b2544;border:1px solid #365f90;border-radius:13px;padding:clamp(12px,1.8vw,17px);}
.lineup-team-astros {border-color:#e9a052;}
.lineup-team h4 {font-size:1.14rem;color:#f5faff;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 13px;flex-wrap:wrap;}
.lineup-team h4 span {font-size:.65rem;letter-spacing:.08em;color:#fac08a;background:#3b2a22;border-radius:6px;padding:4px 7px;}
.lineup-team h5 {font-size:.84rem;color:#ffc488;margin:16px 0 9px;letter-spacing:.02em;}
.lineup-pitchers {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:9px;padding-bottom:14px;border-bottom:1px solid #365373;}
.lineup-pitchers > div {background:#132f51;border-radius:9px;padding:10px;min-width:0;overflow-wrap:anywhere;}
.lineup-pitchers small {display:block;color:#accbe9;font-size:.71rem;margin-bottom:6px;}
.lineup-pitchers strong {color:#f7fbff;font-size:.86rem;}
.lineup-used-pitchers {grid-column:1/-1;color:#b9d0eb;font-size:.77rem;line-height:1.5;overflow-wrap:anywhere;}
.lineup-players {list-style:none;padding:0;margin:0;display:grid;gap:6px;}
.lineup-player {display:flex;gap:10px;align-items:flex-start;padding:10px 8px;border:1px solid rgba(104,151,201,.25);border-radius:9px;background:#0d1d38;min-width:0;}
.lineup-player-atbat {border-color:#f6a04a;background:#433022;}
.lineup-player-onbase {border-color:#63bf9d;}
.lineup-slot {display:flex;align-items:center;justify-content:center;flex:0 0 25px;height:25px;border-radius:6px;background:#21456e;color:#f4faff;font-size:.77rem;font-weight:900;}
.lineup-player-main {min-width:0;flex:1;}
.lineup-player-name {font-size:.9rem;font-weight:850;color:#fff;overflow-wrap:anywhere;line-height:1.45;}
.lineup-player-meta {display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#aac6e5;font-size:.75rem;line-height:1.55;margin-top:4px;}
.lineup-game-stats {color:#dbeafe;font-size:.73rem;}
.lineup-tag {font-size:.62rem;padding:3px 5px;border-radius:4px;vertical-align:middle;margin-left:4px;white-space:nowrap;background:#27476e;color:#dbefff;}
.lineup-tag-atbat {background:#c06d20;color:#fff;}
.lineup-tag-base {background:#126443;color:#fff;}
.lineup-tag-change {background:#294e9e;color:#fff;}
.lineup-replacements small {color:#fbc88f;font-size:.72rem;line-height:1.5;display:block;margin-top:5px;overflow-wrap:anywhere;}
.lineup-partial {color:#fbc88f;font-size:.76rem;margin-top:12px;line-height:1.5;}
.lineup-changes-section {border-top:1px solid #33516d;margin-top:21px;padding-top:17px;}
.lineup-changes-section h4 {color:#ffca8c;font-size:1rem;margin:0 0 12px;}
.lineup-changes {margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.lineup-changes li {background:#0d2848;border-radius:8px;border:1px solid #355777;padding:10px;color:#deefff;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere;}
.lineup-changes li > span {color:#ffbe79;font-size:.72rem;font-weight:900;display:block;margin-bottom:4px;}
@media(max-width:920px) {.lineup-teams {grid-template-columns:minmax(0,1fr);}.lineup-changes {grid-template-columns:minmax(0,1fr);}}
@media(max-width:550px) {.lineup-panel {padding:12px 10px;}.lineup-team {padding:10px;}.lineup-player {padding:9px 6px;}.lineup-player-meta {font-size:.72rem;}}


/* Astros history page */
@media (min-width: 1251px) { .site-header {gap:16px;padding-left:3%;padding-right:3%} .site-header nav {gap:13px} .site-header nav a {font-size:.8rem;white-space:nowrap} .site-header .brand {font-size:.86rem;white-space:nowrap} }
@media (min-width:651px) and (max-width:1250px) { .site-header {flex-wrap:wrap} .site-header .menu-toggle {display:block;margin-left:auto} .site-header nav {display:none;width:100%;flex-direction:column;gap:0;padding:8px 0} .site-header nav.is-open {display:flex} .site-header nav a {padding:12px} }
.history-page {max-width:1230px;margin:auto;padding:0 5% 88px}
.history-hero {padding:84px 0 65px;text-align:center;position:relative}
.history-hero::before {content:"";position:absolute;z-index:-1;inset:5% 5% 10%;background:radial-gradient(ellipse at center,rgba(245,124,25,.22),transparent 65%)}
.history-hero h1 {font-size:clamp(2.55rem,6vw,5rem);line-height:1.08;letter-spacing:-.055em;max-width:890px;margin:0 auto 20px}
.history-hero>p:not(.eyebrow) {font-size:clamp(1rem,2vw,1.19rem);line-height:1.8;color:var(--muted);max-width:760px;margin:0 auto 28px}
.history-highlights {display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:30px auto}
.history-highlights div {min-width:155px;padding:18px 26px;border:1px solid rgba(255,145,46,.4);border-radius:18px;background:linear-gradient(145deg,rgba(255,132,32,.16),rgba(17,46,88,.78))}
.history-highlights strong {display:block;color:#ffa54e;font-size:2.1rem;line-height:1.2}
.history-highlights span {display:block;color:#dbe8f8;font-size:.88rem;margin-top:5px}
.history-hero .button {display:inline-block;margin-top:12px}
.history-section-heading {margin:0 auto 35px;text-align:center}
.history-section-heading h2,.history-ballparks h2,.history-sources h2 {font-size:clamp(1.85rem,3vw,2.8rem);line-height:1.15}
.history-section-heading>p:last-child {color:var(--muted);line-height:1.7;max-width:660px;margin:15px auto 0}
.history-timeline {position:relative;display:grid;gap:14px;max-width:1020px;margin:0 auto}
.history-timeline::before {content:"";position:absolute;top:28px;bottom:28px;left:99px;width:2px;background:linear-gradient(#ff8b2c,#4db6ff)}
.history-event {position:relative;display:grid;grid-template-columns:80px minmax(0,1fr);gap:40px;align-items:start}
.history-year {position:relative;z-index:1;margin-top:24px;padding:8px 5px;text-align:center;border:1px solid #ff9a3a;border-radius:12px;background:#20263c;color:#ffb567;font-size:.98rem;font-weight:900;white-space:nowrap}
.history-event-body {border:1px solid rgba(114,175,245,.32);border-radius:18px;background:linear-gradient(135deg,rgba(255,139,38,.075),rgba(5,24,51,.91));padding:24px 28px}
.history-event-tag {font-size:.69rem;letter-spacing:.16em;font-weight:900;color:#ffb36d;margin-bottom:8px}
.history-event-body h3 {font-size:1.29rem;margin:0 0 9px}
.history-event-body>p:last-child {line-height:1.7;color:#d7e4f4}
.history-ballparks,.history-sources {margin-top:72px;border-top:1px solid rgba(153,189,225,.24);padding-top:42px}
.history-parks-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:26px}
.history-parks-grid article {border:1px solid rgba(123,178,247,.29);border-radius:18px;padding:24px;background:rgba(10,23,46,.82)}
.history-parks-grid span {color:#ffa84d;font-size:.78rem;letter-spacing:.08em;font-weight:900}
.history-parks-grid h3 {margin:10px 0;font-size:1.25rem}
.history-parks-grid p,.history-sources>p:not(.eyebrow) {line-height:1.7;color:#d7e4f4}
.history-source-links {display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.history-source-links a {padding:12px 16px;border-radius:12px;border:1px solid rgba(126,174,244,.5);color:#e8f4ff;background:rgba(10,29,56,.75);font-weight:700}
.history-source-links a:hover,.history-source-links a:focus-visible {border-color:#ff9d42;color:#ffbd7b;text-decoration:underline}
@media (max-width:740px) {.history-page {padding:0 4% 60px} .history-hero {padding:62px 0 43px}.history-highlights div {flex:1 1 125px;min-width:0;padding:14px 10px}.history-timeline::before {left:0}.history-event {grid-template-columns:minmax(0,1fr);gap:8px;border-left:2px solid rgba(255,146,52,.5);padding-left:20px}.history-year {justify-self:start;margin-top:12px}.history-event-body {padding:20px}.history-parks-grid {grid-template-columns:1fr}.history-ballparks,.history-sources {margin-top:52px}}


/* Readable navigation: keep all 11 page links legible without shrinking text. */
@media (min-width: 901px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 12px;
    padding: 16px 3.5% 14px;
  }
  .site-header .brand {
    font-size: 1rem;
    white-space: normal;
  }
  .site-header .menu-toggle { display: none; }
  .site-header #main-nav {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    padding: 0;
  }
  .site-header #main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 9px 12px;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 750;
    white-space: nowrap;
    border: 1px solid rgba(101, 166, 239, .26);
    border-radius: 10px;
    background: rgba(9, 31, 60, .44);
  }
  .site-header #main-nav a:hover,
  .site-header #main-nav a:focus-visible {
    background: rgba(25, 83, 148, .48);
    border-color: rgba(255, 155, 55, .7);
  }
  .site-header #main-nav a.active {
    border-color: rgba(255, 155, 55, .65);
    background: rgba(255, 132, 29, .13);
  }
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 4%;
  }
  .site-header .brand {
    flex: 1 1 210px;
    min-width: 0;
    font-size: clamp(.83rem, 2.4vw, 1rem);
    letter-spacing: .045em;
    white-space: normal;
  }
  .site-header .menu-toggle {
    display: block;
    margin-left: auto;
    min-height: 44px;
    font-size: 1rem;
  }
  .site-header #main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 10px 0;
  }
  .site-header #main-nav.is-open { display: flex; }
  .site-header #main-nav a {
    display: block;
    padding: 12px 15px;
    border: 1px solid rgba(101, 166, 239, .25);
    border-radius: 10px;
    background: rgba(10, 33, 62, .7);
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 750;
    white-space: normal;
  }
}

/* Header branding: show only the logo; retain an accessible home link. */
.site-header a.brand {
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
  gap: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.site-header a.brand:focus-visible { outline: 2px solid #ffad42; outline-offset: 4px; border-radius: 12px; }
@media (max-width: 900px) {
  .site-header a.brand { flex: 0 0 auto; width: fit-content; }
}


/* Clean, unboxed navigation — readable type and understated underlines. */
.site-header #main-nav a {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #e3ecf8;
  font-size: 1.04rem;
  line-height: 1.5;
  font-weight: 700;
  padding: 8px 0 11px;
  min-height: 44px;
  position: relative;
  text-decoration: none;
  transform: none;
}
.site-header #main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: #ff9b37;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}
.site-header #main-nav a:hover,
.site-header #main-nav a:focus-visible,
.site-header #main-nav a.active {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #ffad56;
  transform: none;
}
.site-header #main-nav a:hover::after,
.site-header #main-nav a:focus-visible::after,
.site-header #main-nav a.active::after {transform: scaleX(1);}
.site-header #main-nav a:focus-visible {outline: 2px solid #ffad56;outline-offset: 4px;}
@media (min-width: 901px) {
  .site-header #main-nav {
    column-gap: clamp(17px, 2vw, 32px);
    row-gap: 3px;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .site-header #main-nav {
    gap: 0;
    padding: 8px 0 4px;
  }
  .site-header #main-nav a {
    width: 100%;
    min-height: 47px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(118, 164, 216, .20);
    font-size: 1.08rem;
    line-height: 1.4;
  }
  .site-header #main-nav a::after {left: 4px;right: auto;width: 64px;bottom: 5px;}
  .site-header #main-nav a:last-child {border-bottom: 0;}
  .site-header #main-nav a:hover,
  .site-header #main-nav a:focus-visible,
  .site-header #main-nav a.active {border-bottom-color: rgba(118, 164, 216, .20);}
}
@media (prefers-reduced-motion: reduce) {
  .site-header #main-nav a::after {transition: none;}
}

/* Live MLB roster status additions */
.roster-inline-status-special{color:#f3ddff;background:#51276c;border-color:#c88cf1}
.roster-inline-status-live{margin-left:6px}
.pitch-status-special{border-color:#c88cf1;color:#f3ddff;background:#51276c66}
.live-roster-status{margin-top:12px}
.live-roster-section{position:relative}
.special-assignment-section{border-color:rgba(200,140,241,.45);background:linear-gradient(135deg,rgba(23,37,63,.94),rgba(81,39,108,.34))}
.special-assignment-section h2{color:#e4b7ff}
.live-roster-empty{grid-column:1/-1;margin:0;color:var(--muted);font-weight:700}
.live-roster-card p{min-height:2.7em}

/* Astros Trade Tracker */
.transactions-page{width:min(1180px,92vw);margin:0 auto;padding:42px 0 72px}.transactions-hero{padding:34px;border:1px solid var(--border,#d8dee8);border-radius:24px;background:var(--card,#fff);box-shadow:0 18px 45px rgba(0,0,0,.06)}.transactions-hero h1{margin:.25rem 0 .65rem;font-size:clamp(2.3rem,6vw,4.8rem);line-height:.95}.transactions-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.transactions-controls label{font-weight:800}.transactions-controls select{min-width:120px;padding:11px 14px;border:1px solid #b8c2d1;border-radius:12px;background:#fff;font:inherit}.transactions-status{margin:18px 0 0;font-weight:700}.trade-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.trade-summary article{padding:24px;border-radius:20px;background:#0b2b55;color:white}.trade-summary span{display:block;font-size:2.4rem;font-weight:900}.trade-summary p{margin:.35rem 0 0;opacity:.9}.trade-period-section{margin-top:34px}.trade-section-heading{margin-bottom:16px}.trade-section-heading h2{font-size:clamp(1.7rem,4vw,2.8rem);margin:.2rem 0}.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.trade-column{padding:22px;border:1px solid #dce3ed;border-radius:22px;background:#fff}.trade-column h3{margin-top:0;font-size:1.35rem}.trade-list{display:grid;gap:14px}.trade-card{padding:17px;border-radius:16px;background:#f7f9fc;border:1px solid #e1e7f0}.trade-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.82rem}.trade-direction{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:900;letter-spacing:.04em}.trade-direction-in{background:#dff6e8;color:#136232}.trade-direction-out{background:#fde7e7;color:#922929}.trade-card h4{font-size:1.2rem;margin:10px 0 5px}.trade-card h4 a{text-decoration:none}.trade-card p{margin:.4rem 0;line-height:1.5}.trade-team-line{font-size:.92rem}.trade-empty{padding:18px;border:1px dashed #cbd4e0;border-radius:14px;margin:0}.trade-source-note{margin-top:28px;font-size:.9rem;opacity:.78}@media(max-width:760px){.trade-summary,.trade-columns{grid-template-columns:1fr}.transactions-hero{padding:24px}.trade-card-top{align-items:flex-start;flex-direction:column}}

/* Astros Trade Tracker — dark Stros HQ theme */
.transactions-page{
  color:#f4f8ff;
}
.transactions-hero{
  border-color:rgba(91,156,230,.34);
  background:
    radial-gradient(circle at 88% 18%,rgba(255,132,29,.18),transparent 30%),
    linear-gradient(135deg,rgba(7,20,42,.97),rgba(10,54,103,.92));
  box-shadow:0 22px 55px rgba(0,0,0,.28);
}
.transactions-hero .eyebrow{color:#ffad56}
.transactions-hero h1{
  background:linear-gradient(100deg,#ffffff 8%,#ff9e43 52%,#69b8ff 92%);
  color:transparent;
  -webkit-background-clip:text;
  background-clip:text;
}
.transactions-hero .subtitle,
.transactions-status,
.trade-section-heading>p:last-child,
.trade-source-note{color:#cfdbec}
.transactions-controls label{color:#f6f9ff}
.transactions-controls select{
  color:#eef6ff;
  border-color:rgba(116,174,239,.48);
  background:#0b2547;
}
.transactions-controls select option{background:#0b2547;color:#eef6ff}
.trade-summary article{
  border:1px solid rgba(101,166,239,.32);
  background:linear-gradient(135deg,#071b35,#0c3b70);
  box-shadow:0 14px 32px rgba(0,0,0,.20);
}
.trade-period-section{
  padding:26px;
  border:1px solid rgba(103,163,230,.24);
  border-radius:24px;
  background:rgba(4,13,29,.46);
}
.trade-section-heading .eyebrow{color:#ffad56}
.trade-column{
  border-color:rgba(101,166,239,.30);
  background:linear-gradient(145deg,rgba(6,20,43,.96),rgba(10,47,88,.88));
  box-shadow:0 14px 34px rgba(0,0,0,.20);
}
.trade-column h3{color:#ffb66d}
.trade-card{
  background:linear-gradient(135deg,rgba(13,39,71,.98),rgba(8,25,49,.96));
  border-color:rgba(110,169,236,.28);
  color:#edf5ff;
}
.trade-card h4,
.trade-card h4 a{color:#ffffff}
.trade-card h4 a:hover,
.trade-card h4 a:focus-visible{color:#ffb66d}
.trade-card p,
.trade-team-line{color:#cedbec}
.trade-direction-in{background:#133e2d;color:#bff4d3;border:1px solid rgba(128,224,170,.35)}
.trade-direction-out{background:#4a2026;color:#ffd1d7;border:1px solid rgba(255,126,143,.33)}
.trade-empty{
  color:#c9d7e9;
  border-color:rgba(123,179,241,.35);
  background:rgba(8,28,54,.72);
}
@media(max-width:760px){.trade-period-section{padding:18px}}

/* Season-aware postseason / World Series standings */
.postseason-intro { margin-bottom: 1.25rem; }
.series-list { display: grid; gap: .8rem; }
.series-row { display:grid; grid-template-columns:1fr auto 1fr; gap:1rem; align-items:center; padding:1rem; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(255,255,255,.04); }
.series-row > div:last-child { text-align:right; }
.series-row strong, .series-row span { display:block; }
.series-row span { opacity:.72; font-size:.88rem; margin-top:.2rem; }
.series-row > b { font-size:1.3rem; color:var(--orange, #f47b20); }
.astros-series { border-color:rgba(244,123,32,.65); box-shadow:0 0 0 1px rgba(244,123,32,.18) inset; }
.offseason-reset { text-align:center; }
@media (max-width: 650px) { .series-row { grid-template-columns:1fr; text-align:center; } .series-row > div:last-child { text-align:center; } }

/* Astros fan favorites + memories */
.fan-memory-section{margin-top:88px;padding-top:10px}
.fan-memory-heading{max-width:820px;margin:0 auto 32px;text-align:center}
.fan-memory-heading h2{font-size:clamp(2rem,4vw,3.4rem);margin:7px 0 12px}
.fan-memory-heading p:not(.eyebrow){color:var(--muted);line-height:1.7}
.fan-memory-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
.fan-memory-form,.fan-memory-feed-wrap{background:rgba(5,14,32,.88);border:1px solid var(--border);border-radius:24px;padding:clamp(20px,4vw,34px)}
.fan-memory-form{display:grid;gap:10px;position:sticky;top:88px}
.fan-memory-form h3,.fan-memory-feed-heading h3{font-size:clamp(1.35rem,2.4vw,2rem);margin-bottom:8px}
.fan-memory-form label{font-weight:800;margin-top:8px}
.fan-memory-form input,.fan-memory-form textarea,#memory-sort{width:100%;background:#09172d;color:#fff;border:1px solid #4078ae;border-radius:11px;padding:12px;font:inherit}
.fan-memory-form textarea{resize:vertical;min-height:140px}
.fan-memory-help{font-size:.84rem;color:var(--muted);margin:0 0 4px;line-height:1.45}
.fan-memory-feed-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
#memory-sort{width:auto;min-width:150px}
.fan-memory-feed{display:grid;gap:16px}
.fan-memory-card{border:1px solid rgba(82,137,188,.42);border-radius:18px;padding:20px;background:linear-gradient(145deg,rgba(9,23,45,.96),rgba(5,14,32,.96))}
.fan-memory-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:13px}
.fan-memory-card h4{font-size:1.1rem;margin:0}
.fan-memory-date{font-size:.8rem;color:var(--muted);white-space:nowrap}
.fan-memory-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin:13px 0 15px}
.fan-memory-fact{background:rgba(255,255,255,.035);border-radius:12px;padding:10px 12px}
.fan-memory-fact span{display:block;color:#ff9d42;font-size:.74rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px}
.fan-memory-fact strong{display:block;line-height:1.35;overflow-wrap:anywhere}
.fan-memory-story{line-height:1.65;color:#e7eef8;white-space:pre-wrap;overflow-wrap:anywhere}
.fan-memory-actions{display:flex;align-items:center;justify-content:flex-end;margin-top:16px}
.memory-heart{border:1px solid #f07b3c;background:transparent;color:#fff;border-radius:999px;padding:9px 14px;font:inherit;font-weight:850;cursor:pointer;display:inline-flex;gap:7px;align-items:center}
.memory-heart:hover,.memory-heart.is-hearted{background:#f07b3c;color:#07101f}
.memory-heart:disabled{opacity:.7;cursor:default}
#memory-submit-status,#memory-feed-status{color:var(--muted);line-height:1.5}
@media(max-width:850px){.fan-memory-layout{grid-template-columns:1fr}.fan-memory-form{position:static}.fan-memory-facts{grid-template-columns:1fr}}

/* Strong full-row playoff status highlighting for the live league tables. */
.league-table tbody tr.team-clinched,
.league-table tbody tr.team-clinched.astros-highlight {
  background: linear-gradient(90deg, rgba(18, 132, 73, .72), rgba(15, 86, 52, .58)) !important;
  color: #effff5 !important;
  box-shadow: inset 5px 0 0 #50e08b, inset 0 1px 0 rgba(116,255,171,.32), inset 0 -1px 0 rgba(116,255,171,.20);
}
.league-table tbody tr.team-clinched > th,
.league-table tbody tr.team-clinched > td {
  background: transparent !important;
  color: #effff5 !important;
}
.league-table tbody tr.team-clinched .league-team-meta { color: #c9f9dc !important; }

.league-table tbody tr.team-eliminated,
.league-table tbody tr.team-eliminated.astros-highlight {
  background: linear-gradient(90deg, rgba(151, 31, 52, .75), rgba(91, 19, 38, .60)) !important;
  color: #fff1f4 !important;
  box-shadow: inset 5px 0 0 #ff667f, inset 0 1px 0 rgba(255,128,149,.30), inset 0 -1px 0 rgba(255,128,149,.18);
}
.league-table tbody tr.team-eliminated > th,
.league-table tbody tr.team-eliminated > td {
  background: transparent !important;
  color: #fff1f4 !important;
}
.league-table tbody tr.team-eliminated .league-team-meta { color: #ffd0d8 !important; }

/* Keep Astros orange styling only when no postseason status overrides it. */
.league-table tbody tr.astros-highlight:not(.team-clinched):not(.team-eliminated) {
  background: rgba(247, 128, 27, .13);
}


/* ===== 2026 POSTSEASON ROSTER ===== */
.postseason-page{width:min(1180px,calc(100% - 32px));margin:0 auto 70px}.postseason-hero{padding:72px 0 38px}.postseason-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.postseason-title-row h1{margin:.15rem 0 .8rem;font-size:clamp(2.6rem,7vw,5.6rem);line-height:.92;letter-spacing:-.055em}.postseason-lede{max-width:780px;font-size:1.04rem;line-height:1.75}.postseason-badge{flex:0 0 auto;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:12px 16px;font-weight:900;letter-spacing:.09em;font-size:.78rem;background:linear-gradient(135deg,rgba(255,123,0,.17),rgba(0,45,98,.45));box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}.postseason-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:30px 0 22px}.postseason-status-card{display:grid;gap:6px;padding:19px;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:rgba(255,255,255,.045);backdrop-filter:blur(8px)}.postseason-status-card strong{font-size:1.1rem}.postseason-status-card>span:last-child{opacity:.68;font-size:.88rem}.status-kicker{font-size:.7rem;font-weight:900;letter-spacing:.16em;opacity:.65}.postseason-actions{display:flex;flex-wrap:wrap;gap:10px}.postseason-progress,.postseason-roster-section{margin-top:22px;padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:26px;background:rgba(255,255,255,.035)}.postseason-progress h2,.postseason-roster-section h2{margin:.25rem 0 1.25rem;font-size:clamp(1.7rem,4vw,2.65rem)}.postseason-rounds{display:flex;align-items:center;gap:10px;overflow:auto;padding:8px 2px 14px}.round-card{min-width:170px;padding:17px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.12);display:grid;gap:4px;opacity:.62;transition:.25s ease}.round-card span{font-size:.7rem;font-weight:900;letter-spacing:.15em}.round-card strong{font-size:1.08rem}.round-card small{font-size:.78rem;opacity:.72}.round-card.is-current{opacity:1;transform:translateY(-3px);border-color:rgba(255,123,0,.7);box-shadow:0 14px 36px rgba(0,0,0,.17)}.round-card.is-complete{opacity:.92;border-color:rgba(47,198,110,.55)}.round-line{height:1px;min-width:26px;flex:1;background:rgba(255,255,255,.18)}.postseason-note,.postseason-source{margin:12px 0 0;opacity:.72;line-height:1.6;font-size:.9rem}.postseason-section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:20px}.postseason-section-heading>p{max-width:430px;text-align:right;opacity:.7;font-size:.88rem;line-height:1.5}.postseason-roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.postseason-position-group{border:1px solid rgba(255,255,255,.11);border-radius:22px;overflow:hidden;background:rgba(0,0,0,.11)}.postseason-position-group h3{display:flex;justify-content:space-between;align-items:center;margin:0;padding:17px 18px;border-bottom:1px solid rgba(255,255,255,.1);font-size:1.02rem}.postseason-position-group h3 span{font-size:.72rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:4px 8px;opacity:.78}.postseason-player-list{display:grid}.postseason-player{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07)}.postseason-player:last-child{border-bottom:0}.player-index{font-size:.7rem;font-weight:900;letter-spacing:.08em;opacity:.42}.postseason-player strong{font-size:.93rem}.postseason-player small{font-size:.72rem;font-weight:800;opacity:.58}.postseason-source a{font-weight:800}
@media (max-width:800px){.postseason-page{width:min(100% - 22px,1180px)}.postseason-hero{padding-top:46px}.postseason-title-row,.postseason-section-heading{display:block}.postseason-badge{display:inline-block;margin-top:12px}.postseason-status-grid,.postseason-roster-grid{grid-template-columns:1fr}.postseason-section-heading>p{text-align:left;margin-top:8px}.postseason-progress,.postseason-roster-section{padding:20px}.postseason-rounds{align-items:stretch}.round-line{display:none}.round-card{min-width:155px}.postseason-player{grid-template-columns:36px 1fr auto}}

/* 2026 MLB postseason live tracker */
.postseason-live-page{padding-bottom:20px}
.postseason-hero-live{padding-bottom:24px}
.astros-eliminated-banner{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;margin:26px 0 8px;padding:19px 20px;border:1px solid rgba(255,141,51,.4);border-radius:20px;background:linear-gradient(135deg,rgba(255,123,0,.13),rgba(4,24,51,.72))}
.astros-eliminated-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#f47b20;color:#071d38;font-weight:1000;letter-spacing:.08em}
.astros-eliminated-banner strong{font-size:1.02rem}
.astros-eliminated-banner p{margin:5px 0 0;color:#cedced;line-height:1.55;font-size:.9rem}
.postseason-section-topline{display:flex;align-items:end;justify-content:space-between;gap:20px}
.postseason-section-topline h2{margin:.25rem 0 .35rem}
.postseason-refresh-button{flex:0 0 auto;min-height:44px;padding:10px 15px;border:1px solid rgba(106,177,255,.42);border-radius:12px;background:#0b2c52;color:#eef7ff;font:inherit;font-weight:850;cursor:pointer}
.postseason-refresh-button:hover,.postseason-refresh-button:focus-visible{border-color:#ff9f43;color:#ffbd7f}
.postseason-refresh-button:disabled{opacity:.55;cursor:wait}
.postseason-round-tabs{margin:22px 0 16px}
.mlb-postseason-rounds{display:grid;gap:20px;margin-top:18px}
.mlb-round-section{padding:20px;border:1px solid rgba(101,166,239,.21);border-radius:20px;background:rgba(4,18,38,.45)}
.mlb-round-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:15px}
.mlb-round-heading span{display:block;color:#ffad56;font-size:.69rem;letter-spacing:.16em;font-weight:950}
.mlb-round-heading h3{margin:4px 0 0;font-size:clamp(1.2rem,3vw,1.8rem)}
.mlb-round-heading>small{padding:6px 9px;border:1px solid rgba(255,255,255,.15);border-radius:999px;color:#c7d7e9;font-weight:800}
.mlb-series-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mlb-series-card{padding:16px;border:1px solid rgba(112,170,237,.28);border-radius:17px;background:linear-gradient(145deg,rgba(9,31,59,.96),rgba(7,22,43,.92));box-shadow:0 12px 28px rgba(0,0,0,.15)}
.mlb-series-card.is-complete{border-color:rgba(77,205,132,.38)}
.series-label{display:block;margin-bottom:10px;color:#9eb7d2;font-size:.7rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.series-team{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 0;border-top:1px solid rgba(255,255,255,.07)}
.series-team:first-of-type{border-top:0}
.series-team strong{font-size:.95rem}
.series-team>span{display:grid;place-items:center;min-width:31px;height:31px;border-radius:9px;background:rgba(255,255,255,.06);font-weight:950}
.series-team.is-winner strong{color:#bdf4d2}
.series-team.is-winner>span{background:rgba(47,198,110,.2);color:#bdf4d2}
.mlb-series-card>p{margin:10px 0 0;color:#aebfd2;font-size:.82rem;font-weight:750}
.mlb-series-placeholder{grid-column:1/-1;padding:22px;border:1px dashed rgba(111,169,236,.34);border-radius:15px;color:#b9c9db;background:rgba(6,25,49,.52);line-height:1.6}
.world-series-champion-card,.season-complete-card{margin:22px 0;padding:34px;border-radius:26px;text-align:center}
.world-series-champion-card{border:1px solid rgba(255,181,75,.55);background:radial-gradient(circle at 50% 0,rgba(255,165,54,.25),transparent 48%),linear-gradient(145deg,rgba(8,31,61,.98),rgba(7,20,41,.98));box-shadow:0 20px 55px rgba(0,0,0,.28)}
.champion-crown{display:grid;place-items:center;width:64px;height:64px;margin:12px auto;border-radius:50%;background:rgba(255,156,53,.16);border:1px solid rgba(255,182,88,.45);color:#ffbd70;font-size:1.7rem}
.world-series-champion-card h2,.season-complete-card h2{margin:10px auto;font-size:clamp(2rem,5vw,3.7rem);line-height:1.03;max-width:900px}
.world-series-champion-card>p:last-child,.season-complete-card>p:last-child{max-width:760px;margin:12px auto 0;color:#d0dced;line-height:1.65;font-size:1.02rem}
.season-complete-card{border:1px solid rgba(113,167,228,.35);background:linear-gradient(145deg,rgba(7,24,48,.97),rgba(10,48,88,.9))}
@media(max-width:760px){.astros-eliminated-banner{grid-template-columns:1fr}.astros-eliminated-mark{width:50px;height:50px}.postseason-section-topline{align-items:stretch;flex-direction:column}.postseason-refresh-button{align-self:flex-start}.mlb-series-grid{grid-template-columns:1fr}.mlb-round-section{padding:15px}.world-series-champion-card,.season-complete-card{padding:25px 17px}.mlb-round-heading{align-items:flex-start}.mlb-round-heading>small{white-space:nowrap}}
