:root {
  --ink: #2d2d2d;
  --green: #5cbc89;
  --green-deep: #3d9a6c;
  --paper: #f6f6f6;
  --card: #ffffff;
  --line: #e4e8ee;
  --text: #172033;
  --muted: #667085;
  --live: #d92d20;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 66px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(92, 188, 137, 0.16), transparent 46%),
    linear-gradient(180deg, #121614 0%, #0b0d0c 100%);
  box-shadow: 0 10px 30px rgba(8, 12, 10, 0.28);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green) 18%, #b9f0d0 50%, var(--green) 82%, transparent);
  opacity: 0.85;
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: min(1240px, calc(100% - 2rem));
  min-height: 66px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }

.brand img { display: block; width: auto; height: 30px; }

.mainnav { display: flex; align-items: center; gap: 0.15rem; flex: 1; min-width: 0; }

.mainnav-extra { display: contents; }

.mainnav a {
  position: relative;
  padding: 0.55rem 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}

.mainnav a small { margin-left: 0.25rem; color: #f2c46d; font-size: 0.6rem; letter-spacing: 0.06em; }

.mainnav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.mainnav a[aria-current="page"] { color: #fff; }

.mainnav a[aria-current="page"]::after, .mainnav a:hover::after { transform: scaleX(1); }

.topbar-actions { display: flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; }

.top-link, .top-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.top-link { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }

.top-link:hover { border-color: rgba(255, 255, 255, 0.5); }

.top-cta {
  color: #0b1a12;
  background: linear-gradient(135deg, #7fd8a7, var(--green) 55%, #3d9a6c);
  box-shadow: 0 6px 18px rgba(92, 188, 137, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.top-cta:hover { filter: brightness(1.06); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(255, 92, 80, 0.45);
  border-radius: 999px;
  background: rgba(217, 45, 32, 0.16);
  color: #ffd9d5;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  order: 3;
}

.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 0 0 rgba(255, 75, 62, 0.7); animation: live-ping 1.6s infinite; }

@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 75, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0); }
}

.topbar-in > .mainnav { order: 2; }
.topbar-in > .topbar-actions { order: 4; }
.topbar-in > .nav-toggle { order: 5; }

.account { position: relative; }

.account-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}

.account-btn:hover, .account-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }

.account-btn svg { width: 12px; height: 12px; opacity: 0.7; }

.account-name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-av {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  background: #2b3a32;
  color: #cfeedd;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-av.is-premium { box-shadow: 0 0 0 2px #0b0d0c, 0 0 0 4px #e3b55b; }

.account-av img { width: 100%; height: 100%; object-fit: cover; }

.account-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  min-width: 230px;
  padding: 0.45rem;
  border: 1px solid #e7ebe9;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 22px 50px rgba(10, 20, 15, 0.22);
}

.account-menu[hidden] { display: none; }

.account-menu > span { display: contents; }

.account-head { display: grid; gap: 0.1rem; margin: 0 0 0.3rem; padding: 0.55rem 0.65rem 0.65rem; border-bottom: 1px solid var(--line); }

.account-head strong { font-size: 0.92rem; }

.account-head span { color: var(--muted); font-size: 0.76rem; }

.account-head span.is-on { color: #a77a1c; font-weight: 700; }

.account-menu a, .account-menu button {
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 9px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-menu a:hover, .account-menu button:hover { background: #f1f5f3; }

.account-menu [data-logout] { margin-top: 0.25rem; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--live); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: white;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.topbar.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.topbar.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .topbar-in { gap: 0.8rem; }
  .mainnav a { padding: 0.5rem 0.5rem; letter-spacing: 0.06em; }
  .account-name { display: none; }
}

@media (max-width: 920px) {
  .topbar-in { flex-wrap: wrap; row-gap: 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .live-pill { margin-left: auto; }
  .live-pill:not(.hidden) + .nav-toggle { margin-left: 0; }
  .mainnav, .topbar-actions { display: none; width: 100%; }
  .topbar-in > .mainnav { order: 6; }
  .topbar-in > .topbar-actions { order: 7; }
  .topbar.is-open .mainnav { display: grid; gap: 0.1rem; padding: 0.4rem 0 0.6rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .topbar.is-open .mainnav a { padding: 0.8rem 0.4rem; font-size: 0.86rem; }
  .topbar.is-open .mainnav a::after { left: 0.4rem; right: auto; width: 26px; bottom: 0.45rem; }
  .topbar.is-open .topbar-actions { display: flex; flex-wrap: wrap; padding: 0 0 0.9rem; }
  .topbar.is-open .topbar-actions .top-link, .topbar.is-open .topbar-actions .top-cta { flex: 1; text-align: center; padding: 0.7rem 1rem; }
  .account { width: 100%; }
  .account-btn { width: 100%; }
  .account-name { display: block; }
  .account-btn svg { margin-left: auto; }
  .account-menu { position: static; margin-top: 0.5rem; min-width: 0; }
}

@media (max-width: 420px) {
  .brand img { height: 24px; }
  .live-pill span { max-width: 8.5rem; overflow: hidden; text-overflow: ellipsis; }
}

main {
  flex: 1 0 auto;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.page-title { margin: 0.2rem 0 1rem; font-size: 1.7rem; }

.datebar, .week-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
}

.icon-button, .text-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.icon-button { width: 2.2rem; height: 2.2rem; font-size: 1.35rem; }

.text-button { padding: 0.45rem 0.8rem; }

.icon-button:disabled, .text-button:disabled { opacity: 0.4; cursor: default; }

#day-label { display: grid; }

#day-kicker, .kicker {
  color: var(--green-deep);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#day-title { font-size: 1.15rem; }

.score-strip, .match-grid, .result-grid {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.score-strip {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scroll-snap-type: x proximity;
}

.score-strip .match { flex: 0 0 min(100%, 340px); scroll-snap-align: start; }

.match-grid, .result-grid { flex-wrap: wrap; }

.match { width: min(100%, 340px); }

.match {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 156px;
  padding: 0.9rem 1rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}

.match:hover { border-color: #b7c4bc; }

.match-top, .side {
  display: flex;
  align-items: center;
}

.match-top { justify-content: space-between; color: var(--muted); font-size: 0.8rem; }

.side {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.crest { width: 44px; height: 44px; object-fit: contain; }

.side-name { font-weight: 720; }

.side-score {
  min-width: 1.5rem;
  text-align: right;
  font-size: 1.45rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.live { color: var(--live); font-weight: 750; }

.match-venue {
  margin: 0.15rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(220px, 3fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

h2 { margin: 0; font-size: 1.3rem; }

.section-head a { color: var(--green-deep); font-weight: 700; text-decoration: none; }

.news-list { display: grid; gap: 0.7rem; }

.news-card, .table-wrap, .panel, .auth-card, .hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }

.news-card:hover { border-color: #b7c4bc; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08); }

.news-card-body { padding: 0.85rem 1rem 1rem; display: grid; gap: 0.35rem; }

.news-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.82rem; }

.news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; color: var(--text); }

.news-card p { margin: 0; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.phases { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.phase, .button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  background: white;
  cursor: pointer;
  text-decoration: none;
}

.phase.is-active, .button {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-weight: 700;
}

.table-wrap { padding: 0.2rem 0.8rem 0.5rem; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

th, td { padding: 0.72rem 0.35rem; text-align: right; border-bottom: 1px solid var(--line); }

th:nth-child(-n + 2), td:nth-child(-n + 2) { text-align: left; }

th { color: var(--muted); font-size: 0.78rem; }

.team-cell { display: flex; align-items: center; gap: 0.55rem; font-weight: 680; }

.team-cell img { width: 28px; height: 28px; object-fit: contain; }

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  margin: 0.9rem 0 1.1rem;
}

.day-chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.55rem 0.2rem;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.day-chip strong, .day-chip span { display: block; }

.day-chip span { color: var(--muted); font-size: 0.75rem; margin-top: 0.15rem; }

.day-chip.is-active { border-color: var(--green); background: #eef8f2; }

.day-block { margin-bottom: 1.1rem; }

.day-block h2 { margin-bottom: 0.55rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.hero-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.hero-team { display: grid; justify-items: center; gap: 0.45rem; text-align: center; }

.hero-team img { width: 84px; height: 84px; object-fit: contain; }

.hero-team strong { font-size: 1.05rem; }

.hero-mid { text-align: center; }

.hero-mid .scoreline { font-size: 2rem; font-weight: 760; letter-spacing: 0.04em; }

.hero-mid p { margin: 0.35rem 0 0; color: var(--muted); }

.box { margin-top: 1rem; overflow-x: auto; }

.box table { min-width: 520px; }

.plays { margin-top: 1rem; }

.play {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.play-inning { color: var(--muted); font-weight: 700; }

.play.scoring .play-inning { color: var(--green-deep); }

.empty {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.auth-wrap {
  width: min(420px, 100%);
  margin: 1.5rem auto 0;
}

.auth-card { padding: 1.3rem 1.2rem 1.4rem; display: grid; gap: 0.8rem; }

.auth-card h1 { margin: 0.2rem 0 0; font-size: 1.45rem; }

.auth-brand { display: grid; justify-items: center; gap: 0.4rem; }

.auth-brand img { width: 64px; height: 64px; border-radius: 14px; }

label { display: grid; gap: 0.35rem; color: var(--muted); font-size: 0.9rem; }

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  color: var(--text);
}

.form-note { min-height: 1.2rem; margin: 0; color: var(--muted); }

.form-note.error { color: var(--live); }

.switch-link { color: var(--green-deep); font-weight: 700; }

.form-hint { margin: -0.4rem 0 0; color: var(--muted); font-size: 0.8rem; }

footer {
  margin-top: auto;
  padding: 2.2rem 0 1.6rem;
  color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(180deg, #0f1311, #050605);
  border-top: 2px solid var(--green);
}

.foot-in { display: grid; justify-items: center; gap: 1rem; width: min(1120px, calc(100% - 2rem)); margin: 0 auto; text-align: center; }

.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.2rem; }

.foot-nav a { color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

.foot-nav a:hover { color: #fff; }

.foot-legal { max-width: 640px; margin: 0; font-size: 0.74rem; line-height: 1.5; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.news-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-cover-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ink), var(--green-deep));
}

.news-cover-empty img { width: 56px; height: 56px; opacity: 0.85; }

.story-back { margin: 0 0 0.8rem; }

.story { display: block; }

.story-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ink) 0%, #1f3b2d 60%, var(--green-deep) 100%);
  color: #fff;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.story-hero.has-cover { min-height: 460px; }

.story-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-hero.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.85) 100%);
}

.story-hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1.2rem, 4vw, 3rem);
  max-width: 860px;
}

.story-hero h1 {
  margin: 0.6rem 0;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.story-dek { margin: 0 0 0.8rem; font-size: clamp(1.02rem, 2vw, 1.25rem); line-height: 1.5; color: rgba(255, 255, 255, 0.88); }

.story-byline { margin: 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }

.story-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.story-tag.small { font-size: 0.66rem; padding: 0.2rem 0.5rem; }

.story-body {
  max-width: 720px;
  margin: 2rem auto 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #253045;
}

.story-body > p { margin: 0 0 1.25rem; }

.story-body figure { margin: 1.6rem 0; }

.story-body figure img { width: 100%; border-radius: 16px; display: block; }

.story-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.story-share span { font-weight: 800; margin-right: 0.3rem; }

.share-btn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.share-btn:hover { border-color: var(--green); color: var(--green-deep); }

.story-social { margin-top: 1.6rem; display: grid; gap: 0.9rem; font-size: 1rem; line-height: 1.5; }

.reaction-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.reaction span { font-size: 1.35rem; }

.reaction:hover { transform: scale(1.06); }

.reaction.is-mine { border-color: var(--green); background: rgba(92, 188, 137, 0.15); }

.comment-form { display: grid; gap: 0.6rem; }

.comment-form textarea {
  min-height: 90px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  font: inherit;
}

.comment-form .button { justify-self: end; }

.comment-login { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; margin: 0; }

.comment-list, .post-list { display: grid; gap: 0.7rem; }

.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.post header { display: flex; align-items: center; gap: 0.7rem; }

.post header div { display: grid; flex: 1; }

.post header small { color: var(--muted); }

.post p { margin: 0.6rem 0 0; white-space: pre-wrap; }

.post-img { width: 100%; border-radius: 12px; margin-top: 0.7rem; display: block; }

.avatar-sm {
  border-radius: 50%;
  object-fit: cover;
  background: rgba(92, 188, 137, 0.2);
  color: var(--green-deep);
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.avatar-sm.s48 { width: 48px; height: 48px; }

.avatar-sm.s112 { width: 112px; height: 112px; }

#profile { max-width: 760px; display: grid; gap: 1rem; }

.social-head { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding-bottom: 1.1rem; }

.social-head > h2, .social-head > p { margin-left: 1.3rem; margin-right: 1.3rem; }

.social-cover { height: 220px; background: linear-gradient(135deg, var(--ink), var(--green-deep)); }

.social-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.social-id { display: flex; justify-content: space-between; align-items: flex-end; margin: -56px 1.3rem 0.6rem; }

.social-id .avatar-sm { border: 5px solid var(--card); font-size: 2.6rem; background-color: #e7f5ed; }

.social-handle { color: var(--muted); margin-top: 0.2rem; margin-bottom: 0.5rem; }

.social-bio { margin-top: 0; margin-bottom: 0.6rem; line-height: 1.55; }

.social-chips { display: flex; gap: 0.5rem; margin-bottom: 0; }

.chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; font-weight: 700; font-size: 0.85rem; }

.chip.on { background: var(--green); border-color: var(--green); color: #fff; }

.button.ghost { background: var(--card); color: var(--text); border-color: var(--line); }

.form-actions { display: flex; gap: 0.6rem; align-items: center; }

.tabs { display: flex; border-bottom: 1px solid var(--line); }

.tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 0.8rem; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }

.tabs button.is-active { color: var(--text); border-bottom-color: var(--green); }

.composer header { align-items: flex-start; }

.composer textarea { flex: 1; min-height: 70px; border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem; font: inherit; resize: vertical; }

.composer .form-actions { margin-top: 0.6rem; }

.composer .form-actions .button { margin-left: auto; }

.composer .text-button { cursor: pointer; }

.file-name { color: var(--muted); font-size: 0.85rem; }

#tab-posts, #tab-friends { display: grid; gap: 0.8rem; }

#tab-posts.hidden, #tab-friends.hidden { display: none; }

.search-row { display: flex; gap: 0.6rem; }

.search-row input { flex: 1; }

.people { display: grid; gap: 0.6rem; }

.person { display: flex; align-items: center; gap: 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 0.9rem; }

.person div { display: grid; flex: 1; }

.person small, .person span { color: var(--muted); }

#store { max-width: 1040px; }

.store-body { display: grid; gap: 1.2rem; padding-bottom: 3rem; }

.store-body h2 { margin-top: 0.4rem; }

.muted { color: var(--muted); margin: -0.5rem 0 0; }

.abono-hero {
  padding: 2rem 1.8rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(92, 188, 137, 0.35), transparent 55%),
    linear-gradient(135deg, #0f1311, #1d2a23 60%, #24543d);
}
.abono-hero .kicker { color: #9fe3bd; }
.abono-hero h2 { margin: 0.3rem 0 0.5rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; }
.abono-hero p:last-child { max-width: 560px; margin: 0; color: rgba(255, 255, 255, 0.78); }

.abono-status { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.abono-status > div { display: grid; flex: 1; gap: 0.15rem; }
.abono-status span { color: var(--muted); font-size: 0.88rem; }
.abono-status.is-on { border-color: #ecd59f; background: linear-gradient(90deg, #fffaf0, #fff); }
.abono-badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #f2d48a, #c99a35); color: #fff; font-size: 1.2rem; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.plan.is-featured { border: 2px solid var(--green); box-shadow: 0 18px 40px rgba(61, 154, 108, 0.16); }
.plan-flag { position: absolute; top: -0.75rem; left: 1.4rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 1.3rem; }
.plan-length { margin: 0; color: var(--green-deep); font-size: 0.82rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-price { margin: 0.4rem 0 0; font-size: 2.6rem; font-weight: 850; line-height: 1; letter-spacing: -0.02em; }
.plan-price sup { margin-right: 0.1rem; font-size: 1.1rem; vertical-align: 1.1rem; }
.plan-bs { margin: 0; color: var(--muted); font-size: 0.85rem; }
.plan ul { display: grid; gap: 0.5rem; margin: 0.9rem 0 1.2rem; padding: 0; list-style: none; font-size: 0.92rem; }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.45rem; }
.plan li::before { content: "✓"; color: var(--green-deep); font-weight: 900; }
.plan-cta { margin-top: auto; text-align: center; }

.store-faq { display: grid; gap: 0.5rem; }
.store-faq details { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.store-faq summary { font-weight: 700; cursor: pointer; }
.store-faq p { margin: 0.5rem 0 0; color: var(--muted); }

.store-back { justify-self: start; }
.checkout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.checkout-plan, .checkout-pay { display: grid; gap: 0.7rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.checkout-plan h2, .checkout-pay h2 { margin: 0; }
.checkout-plan { position: sticky; top: 84px; }

.locked { display: grid; justify-items: center; gap: 0.6rem; max-width: 560px; margin: 1rem auto; padding: 2.4rem 1.6rem; border: 1px solid var(--line); border-radius: 24px; background: var(--card); text-align: center; }
.locked h2 { margin: 0; }
.locked p { margin: 0 0 0.6rem; color: var(--muted); }
.locked-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #102019; color: #9fe3bd; }
.locked-icon svg { width: 30px; height: 30px; }
.admin-flag { margin: 0 0 0.8rem; padding: 0.5rem 0.8rem; border-radius: 10px; background: #fff4e5; color: #b54708; font-size: 0.85rem; font-weight: 700; }

@media (max-width: 760px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout-plan { position: static; }
  .abono-hero { padding: 1.5rem 1.2rem; }
}

.button.wide { width: 100%; }

.sum { display: flex; align-items: center; gap: 0.8rem; }

.sum span { flex: 1; color: var(--muted); }

.sum.big { border-top: 1px solid var(--line); padding-top: 0.8rem; font-size: 1.2rem; }

.sum.big b { color: var(--green-deep); }

.pay-steps { display: grid; gap: 1.2rem; padding-left: 1.3rem; margin: 0; font-weight: 650; }

.pay-steps input { display: block; margin-top: 0.6rem; width: min(320px, 100%); }

.pay-data { margin-top: 0.6rem; padding: 0.9rem 1.1rem; display: grid; gap: 0.5rem; font-weight: 400; }

.pay-data small { color: var(--muted); }

.done { text-align: center; padding: 1.5rem 0; display: grid; justify-items: center; gap: 0.4rem; }

.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.4rem; display: grid; place-items: center; }

.done p { color: var(--muted); margin: 0; }

.orders { display: grid; gap: 0.6rem; }

.order { display: flex; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 1rem; }

.order div { display: grid; flex: 1; }

.order small { color: var(--muted); }

.status { font-weight: 800; color: var(--muted); }

.status.approved { color: var(--green-deep); }

.status.rejected { color: var(--live); }

.button:disabled { opacity: 0.5; cursor: not-allowed; }

#fantasy { max-width: 760px; display: grid; gap: 1rem; }

.fx-hero h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.3rem; }

.fx-hero p { margin: 0; color: var(--muted); }

.fx-help { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; }

.fx-help summary { font-weight: 800; font-size: 1.1rem; cursor: pointer; }

.fx-steps { counter-reset: fx; list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.9rem; }

.fx-steps li { counter-increment: fx; position: relative; padding-left: 2.6rem; min-height: 30px; color: var(--muted); line-height: 1.5; }

.fx-steps li::before { content: counter(fx); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; }

.fx-steps strong { color: var(--text); display: block; }

.fx-budget {
  position: sticky;
  top: 0.5rem;
  z-index: 5;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.fx-budget div { display: grid; }

.fx-budget b { font-size: 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fx-budget small { color: rgba(255, 255, 255, 0.7); }

.fx-budget .fx-bar { grid-column: 1 / -1; height: 6px; background: rgba(255, 255, 255, 0.2); border-radius: 99px; overflow: hidden; display: block; }

.fx-bar i { display: block; height: 100%; background: var(--green); }

.fx-budget .button, .fx-note { grid-column: 1 / -1; margin: 0; text-align: center; }

.fx-group { display: grid; gap: 0.5rem; }

.fx-group h3 { margin: 0.4rem 0 0; }

.fx-slot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  text-align: left;
  width: 100%;
}

.fx-slot.empty { border-style: dashed; cursor: pointer; background: transparent; }

.fx-slot.empty:hover { border-color: var(--green); }

.fx-slot.empty span:nth-child(2), .fx-name { display: grid; flex: 1; }

.fx-slot small, .fx-option small { color: var(--muted); }

.fx-pos { width: 42px; height: 42px; border-radius: 10px; background: rgba(92, 188, 137, 0.15); color: var(--green-deep); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }

.fx-plus { font-size: 1.6rem; color: var(--green-deep); font-weight: 700; }

.fx-slot img, .fx-option img { width: 32px; height: 32px; object-fit: contain; }

.fx-name { background: none; border: 0; text-align: left; font: inherit; cursor: pointer; padding: 0; }

.fx-star, .fx-x { background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted); padding: 0.2rem 0.4rem; }

.fx-star.on { color: #e0b100; }

.fx-score { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.8rem; }

.fx-score h4 { margin: 0 0 0.4rem; }

.fx-score p { display: flex; justify-content: space-between; margin: 0.25rem 0; }

.fx-score b, .fx-option > b { color: var(--green-deep); }

.neg, .fx-score b.neg { color: var(--live) !important; }

.fx-dialog { width: min(560px, 94vw); max-height: 86vh; border: 0; border-radius: 20px; padding: 1.2rem; display: none; }

.fx-dialog[open] { display: flex; flex-direction: column; gap: 0.7rem; }

.fx-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }

.fx-dialog-head { display: flex; align-items: center; justify-content: space-between; }

.fx-dialog-head h3 { margin: 0; }

.muted-line { margin: 0; color: var(--muted); }

.fx-teams { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.fx-teams button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 0.3rem 0.7rem; font: inherit; font-size: 0.85rem; cursor: pointer; }

.fx-teams button.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.fx-list { overflow-y: auto; display: grid; gap: 0.5rem; padding-right: 0.2rem; }

.fx-option { display: flex; align-items: center; gap: 0.7rem; background: var(--paper); border: 1px solid transparent; border-radius: 12px; padding: 0.6rem 0.8rem; font: inherit; text-align: left; cursor: pointer; }

.fx-option:hover:not(:disabled) { border-color: var(--green); }

.fx-option:disabled { opacity: 0.6; cursor: not-allowed; }

.fx-option span { display: grid; flex: 1; }

.fx-option > b { display: grid; text-align: right; font-size: 1.3rem; }

.fx-option > b small { font-size: 0.7rem; font-weight: 600; }

@media (max-width: 600px) {
  .fx-score { grid-template-columns: 1fr; }
}

.story-more { margin-top: 3rem; }

.story-more h2 { margin-bottom: 1rem; }

.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0.6rem 0 1rem;
}

.article-photo {
  width: 100%;
  border-radius: 14px;
  margin: 0.8rem 0;
}

.composer-block {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.foot-brand { display: inline-block; }

.foot-brand img { width: min(260px, 70vw); height: auto; display: block; }

.hidden { display: none !important; }

.banner {
  margin: 0 0 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: #eef8f2;
  color: var(--green-deep);
  font-weight: 700;
}

.gameday {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.9rem;
  padding: 1.4rem 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.gameday-team {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.gameday-team img { width: 92px; height: 92px; object-fit: contain; }

.gameday-team strong { font-size: 1.35rem; }

.gameday-team span, .gameday-date { color: var(--muted); }

.gameday-mid { text-align: center; }

.gameday-date { margin: 0; font-size: 0.95rem; }

.gameday-time {
  margin: 0.15rem 0 0;
  font-size: 2.6rem;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gameday-vs {
  margin: 0.35rem 0 0.5rem;
  color: var(--green-deep);
  font-size: 1.35rem;
  font-weight: 760;
}

.gameday-score {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 2.8rem;
  font-weight: 780;
  line-height: 1;
}

.gameday-score span { color: var(--muted); font-size: 1rem; font-weight: 700; }

.gameday-state { margin: 0.4rem 0 0.55rem; font-weight: 700; }

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill.is-warm { background: #fff4e5; color: #9a6700; }

.status-pill.is-live { background: #fdecec; color: #b42318; }

.info-grid, .leaders {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.panel { padding: 1rem 1.05rem 1.1rem; }

.panel h2, .plays h2, .team-hero + section h2, #team section h2 { margin-bottom: 0.75rem; }

.pitchers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.pitcher { display: grid; justify-items: center; text-align: center; gap: 0.3rem; }

.pitcher-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1f5;
  color: var(--muted);
  font-size: 1.6rem;
  font-weight: 760;
  object-fit: cover;
  object-position: center top;
}

.pitcher strong { font-size: 0.98rem; }

.pitcher span, .pitcher-vs { color: var(--muted); }

.venue-name { margin: 0.2rem 0 0; font-size: 1.25rem; font-weight: 740; }

.venue-lines { margin: 0.35rem 0 0; color: var(--muted); }

.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.9rem;
}

.matchup-face {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.matchup-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #eef1f5;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 760;
}

.matchup-face:last-child { flex-direction: row-reverse; text-align: right; }

.matchup-face:last-child div { justify-items: end; }

.matchup-face div { display: grid; gap: 0.12rem; }

.matchup-face strong { font-size: 1.05rem; }

.matchup-face em, .matchup-face div > span { color: var(--muted); font-style: normal; font-size: 0.86rem; }

.matchup-count { display: grid; justify-items: center; gap: 0.45rem; min-width: 180px; }

.matchup-state { margin: 0; font-weight: 740; color: #9a6700; }

.lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.lineup-card h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.lineup-card h3 img { width: 28px; height: 28px; object-fit: contain; }

.lineup-scroll { overflow-x: auto; }

.lineup {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  white-space: nowrap;
}

.lineup th, .lineup td {
  padding: 0.38rem 0.45rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.lineup th { color: var(--muted); font-weight: 680; font-size: 0.75rem; }

.lineup td:first-child, .lineup th:first-child,
.lineup .lineup-name, .lineup th:nth-child(2) { text-align: left; }

.lineup-name { font-weight: 680; }

.lineup-empty { text-align: left; color: var(--muted); }

.ticker { display: flex; align-items: stretch; gap: 0.65rem; }

.ticker .datebar {
  margin: 0;
  flex: 0 0 auto;
  gap: 0.15rem;
  padding: 0.45rem 0.35rem;
  border-radius: 14px;
}

.ticker .icon-button {
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
}

.ticker #day-label { justify-items: center; min-width: 3.2rem; }

.ticker #day-kicker { order: 2; margin-top: 0.15rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; }

.ticker .score-strip {
  flex: 1;
  margin-top: 0;
  min-width: 0;
  align-items: stretch;
  gap: 0.55rem;
  scrollbar-width: thin;
}

#day-title { display: grid; justify-items: center; line-height: 1; }

#day-title b { font-size: 1.35rem; }

#day-title small { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); }

.livebug {
  flex: 0 0 auto;
  display: grid;
  gap: 0.12rem;
  min-width: 176px;
  padding: 0.5rem 0.75rem 0.42rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}

.livebug.is-on { border-color: #f0b4ae; }

.livebug-inn { font-size: 0.75rem; font-weight: 760; color: var(--muted); }

.livebug-team {
  display: grid;
  grid-template-columns: 18px minmax(2.2rem, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  font-weight: 760;
}

.livebug-team b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }

.livebug-team img { width: 18px; height: 18px; object-fit: contain; }

.livebug em { margin-top: 0.15rem; font-style: normal; font-size: 0.68rem; letter-spacing: 0.08em; font-weight: 780; color: var(--muted); }

.livebug em.is-live { color: #d92d20; }

.livebug em.is-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #d92d20;
  animation: livepulse 1s infinite;
}

@keyframes livepulse { 50% { opacity: 0.3; } }

body[data-page="juego"] main { width: min(1280px, calc(100% - 1.5rem)); }

.gd {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 340px;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.gd-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem;
}

.gd-kicker { margin: 0 0 0.7rem; font-weight: 780; }

.gd-turn { display: flex; gap: 0.7rem; align-items: center; }

.gd-turn img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center top; }

.gd-turn p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.88rem; }

.gd-meta { display: grid; margin: 0.85rem 0 0; }

.gd-meta span { color: var(--muted); font-size: 0.8rem; }

.gd-score {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.gd-score a { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 780; }

.gd-score a:last-child { justify-content: flex-end; }

.gd-score img { width: 34px; height: 34px; object-fit: contain; }

.gd-score strong { font-size: 1.7rem; }

.gd-score em { font-style: normal; color: var(--muted); font-weight: 700; }

.gd-field { position: relative; border-radius: 12px; overflow: hidden; }

.field-svg { display: block; width: 100%; height: auto; }

.gd-banner {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 740;
}

.gd-rail { box-shadow: inset 3px 0 0 #e23b32; }

.gd-now {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.75rem;
}

.gd-now .matchup-count { min-width: 72px; gap: 0.15rem; }

.gd-now .diamond { width: 58px; height: 58px; }

.gd-now .base { width: 11px; height: 11px; }

.gd-now .base.second { top: 2px; left: 23px; }

.gd-now .base.third { top: 23px; left: 2px; }

.gd-now .base.first { top: 23px; right: 2px; }

.gd-count { margin: 0; text-align: center; font-size: 1.4rem; font-weight: 780; }

.gd-outs { margin: 0; letter-spacing: 0.15em; color: var(--muted); }

.gd-due { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.88rem; }

.gd-lines { overflow-x: auto; font-size: 0.78rem; }

.gd-lines > div {
  display: grid;
  grid-template-columns: 78px repeat(12, minmax(18px, 1fr));
  gap: 0.1rem;
  align-items: center;
  text-align: center;
}

.gd-lines > div span:first-child, .gd-lines-head span:first-child {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-align: left;
  font-weight: 720;
}

.gd-lines img { width: 16px; height: 16px; object-fit: contain; }

.gd-lines-head { color: var(--muted); }

.gd-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin: 0.7rem 0; }

.gd-switch button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  font: inherit;
  cursor: pointer;
}

.gd-switch button.is-on { background: var(--ink); color: white; border-color: var(--ink); }

.gd-book h3 { margin: 0.4rem 0; font-size: 0.92rem; }

.gd-mini tr.is-up { background: #eef8f2; }

.gd-note { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.78rem; }

.series-panel { margin-top: 0.9rem; }

.series-record { margin: 0 0 0.7rem; font-weight: 720; }

.series-game {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.series-date { color: var(--muted); }

.filter-bar, .team-filter {
  display: flex;
  justify-content: flex-end;
  margin: 0.8rem 0 0;
}

select, textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: white;
}

.team-filter select { min-width: min(100%, 280px); }

.result-team img { width: 28px; height: 28px; object-fit: contain; }

.result-card {
  width: min(100%, 360px);
  display: block;
  padding: 0.85rem 1rem 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}

.result-time { font-weight: 760; }

.result-head, .result-row {
  display: grid;
  grid-template-columns: 1fr 2rem 2rem 2rem;
  gap: 0.2rem;
  align-items: center;
}

.result-head { color: var(--muted); font-size: 0.78rem; font-weight: 750; text-align: center; }

.result-row span:not(.result-team) { text-align: center; font-variant-numeric: tabular-nums; font-weight: 720; }

.result-team { display: flex; align-items: center; gap: 0.45rem; font-weight: 700; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.team-tile {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
}

.team-tile img { grid-row: span 2; width: 54px; height: 54px; object-fit: contain; }

.team-tile span { color: var(--muted); }

.team-hero {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.team-hero img { width: 108px; height: 108px; object-fit: contain; }

.team-hero h1 { margin: 0 0 0.3rem; }

.team-hero p { margin: 0.2rem 0; color: var(--muted); }

.team-record { color: var(--text); font-weight: 760; font-size: 1.15rem; }

#team section { margin-top: 1.2rem; }

.roster-note { color: var(--muted); }

.roster-group { margin-top: 1rem; }

.roster-list { display: grid; gap: 0.45rem; }

.roster-player {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.jersey {
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  color: var(--green-deep);
}

.roster-player span:last-child { color: var(--muted); }


.article { max-width: 720px; }

.article h1 { margin: 0.4rem 0 0.6rem; }

.article-summary { font-size: 1.08rem; }

.admin-grid { display: grid; gap: 0.8rem; }

.admin-grid textarea { min-height: 140px; resize: vertical; }

.match.compact {
  width: min(100%, 250px);
  min-height: 0;
  padding: 0.6rem 0.7rem 0.55rem;
  gap: 0.3rem;
}

.match.compact .crest { width: 28px; height: 28px; }

.match.compact .side { grid-template-columns: 28px 1fr auto; gap: 0.45rem; }

.match.compact .side-name { font-size: 0.9rem; }

.match.compact .side-score { font-size: 1.05rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.cedula-inputs { display: grid; grid-template-columns: 76px 1fr; gap: 0.45rem; }

.auth-wrap { width: min(560px, 100%); }

.board { margin-top: 0.9rem; }

.board-scroll { overflow-x: auto; }

.board-row {
  display: grid;
  grid-template-columns: minmax(132px, 168px) minmax(220px, 1fr) 2rem 2rem 2rem;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.board-head { border-top: 0; color: var(--muted); font-size: 0.78rem; font-weight: 750; }

.board-team { display: flex; align-items: center; gap: 0.45rem; font-weight: 720; }

.board-team img { width: 34px; height: 34px; object-fit: contain; }

.board-innings {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(1.35rem, 1fr);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.board-total { text-align: center; font-weight: 760; font-variant-numeric: tabular-nums; }

.situation { margin-top: 0.9rem; }

.situation-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}

.diamond {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.base {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #e6e6e6;
  transform: rotate(45deg);
  border-radius: 2px;
}

.base.is-on { background: var(--green); }

.base.second { top: 10px; left: 51px; }

.base.third { top: 51px; left: 10px; }

.base.first { top: 51px; right: 10px; }

.situation-meta { display: grid; gap: 0.45rem; }

.situation-meta p { margin: 0; display: grid; }

.situation-meta span, .count-row span { color: var(--muted); font-size: 0.82rem; }

.count-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }

.pips { display: flex; gap: 0.35rem; }

.pips i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e6e6;
  display: block;
}

.pips i.is-on { background: var(--green); }

.last-call { margin: 0.8rem 0 0; font-weight: 700; }

.admin-shell { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1rem; align-items: start; }
.admin-menu { display: grid; gap: 0.4rem; }
.admin-menu button { text-align: left; border: 0; background: #fff; border-radius: 10px; padding: 0.7rem 0.8rem; font: inherit; cursor: pointer; }
.admin-menu button.is-active { background: var(--green); color: #fff; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem; margin-top: 0.8rem; }
.media-grid img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.profile-cover { height: 180px; border-radius: 16px; background: #2d2d2d center/cover no-repeat; margin-bottom: 0.8rem; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green); object-fit: cover; }
.check { display: flex; gap: 0.45rem; align-items: center; }
.chat-log { display: grid; gap: 0.45rem; margin: 0.6rem 0; }

@media (max-width: 860px) {
  .split, .hero-card, .gameday, .info-grid, .leaders, .pitchers, .situation-grid, .form-row, .admin-shell, .matchup, .lineup-grid, .gd, .ticker, .gd-now { display: flex; flex-direction: column; align-items: stretch; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .hero-mid, .gameday-mid { order: -1; }
  .board-row { grid-template-columns: 1fr; }
  .team-hero { align-items: flex-start; }
  .admin-menu { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.3rem; scrollbar-width: none; }
  .admin-menu button { flex: 0 0 auto; white-space: nowrap; padding: 0.55rem 0.9rem; border-radius: 999px; }
}

/* ---------- Publicidad ---------- */

[data-ad-slot][hidden], [data-ad-slot]:empty { display: none; }
.ad-slot:not(:empty) { margin: 1rem 0; }
.ad-box { display: grid; justify-items: center; gap: 0.25rem; padding: 0.5rem 0.5rem 0.35rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ad-box a { display: block; max-width: 100%; line-height: 0; }
.ad-box img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.ad-label { color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Panel: publicidad y radio ---------- */

.ad-slots { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.ad-slots li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.8rem; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ad-slots span { grid-column: 1; color: var(--muted); font-size: 0.82rem; }
.ad-slots em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.ad-slots em.is-on { color: var(--green-deep); }
.ad-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ad-list, .radio-list { display: grid; gap: 0.7rem; }
.ad-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 0.9rem; align-items: start; padding: 0.8rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ad-row.is-live { border-color: #b9dcc8; }
.ad-row > img { width: 100%; height: 90px; object-fit: contain; border-radius: 8px; background: #f3f5f8; }
.ad-row h3 { margin: 0; font-size: 1rem; }
.ad-row p { margin: 0.2rem 0 0; font-size: 0.84rem; color: var(--muted); }
.ad-state { margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: #eef2f6; font-size: 0.7rem; font-weight: 700; }
.ad-row.is-live .ad-state { background: #dff3e8; color: var(--green-deep); }
.ad-actions { display: grid; gap: 0.3rem; justify-items: end; }
.radio-row .check { white-space: nowrap; padding-bottom: 0.7rem; }
.radio-row .check input { width: auto; }
.radio-msg { grid-column: 1 / -1; }
.radio-msg:empty { display: none; }
.radio-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto auto; gap: 0.6rem; align-items: end; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.radio-row > strong { grid-column: 1 / -1; }
.radio-msg { font-size: 0.8rem; color: var(--green-deep); }
.radio-msg.is-bad, .form-note.is-bad { color: var(--live); }
.ad-progress { width: 100%; height: 8px; accent-color: var(--green); }
.tv-list { display: grid; gap: 1rem; }
.tv-day h3 { margin: 0 0 0.45rem; font-size: 0.95rem; }
.tv-day h3::first-letter { text-transform: uppercase; }
.tv-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0.75rem; margin-bottom: 0.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tv-match { display: grid; }
.tv-match small { color: var(--muted); font-size: 0.78rem; }
.tv-row .radio-msg { grid-column: 1 / -1; }
.tv-row .radio-msg:empty { display: none; }
@media (max-width: 760px) {
  .ad-row { grid-template-columns: 1fr; }
  .ad-actions { justify-items: start; grid-auto-flow: column; }
  .radio-row { grid-template-columns: 1fr; }
  .ad-dates { grid-template-columns: 1fr; }
  .tv-row { grid-template-columns: 1fr auto; }
  .tv-match { grid-column: 1 / -1; }
}

/* ---------- Calendario ---------- */

.cx-day { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.2rem 0 0.6rem; font-size: 1.05rem; }
.cx-day::first-letter { text-transform: uppercase; }
.cx-day span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.cx-list { display: grid; gap: 0.6rem; }
.cx-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cx-row:hover { border-color: #b9dcc8; box-shadow: 0 10px 26px rgba(16, 40, 28, 0.08); transform: translateY(-1px); }
.cx-row.is-live { border-color: #f3b4ae; box-shadow: inset 3px 0 0 var(--live); }
.cx-when { display: grid; gap: 0.15rem; }
.cx-when strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.cx-when small { color: var(--muted); font-size: 0.72rem; }
.cx-state { display: inline-flex; align-items: center; gap: 0.35rem; width: fit-content; padding: 0.18rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #eef2f6; color: #344054; }
.cx-state.is-live { background: #fdecea; color: var(--live); }
.cx-state.is-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: live-ping 1.6s infinite; }
.cx-state.is-final { background: #1c2420; color: #fff; }
.cx-state.is-warn { background: #fff4e5; color: #b54708; }
.cx-teams { display: grid; gap: 0.45rem; min-width: 0; }
.cx-team { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; }
.cx-team img { width: 30px; height: 30px; object-fit: contain; }
.cx-team > span { display: grid; min-width: 0; }
.cx-team b { font-size: 0.98rem; }
.cx-team small { overflow: hidden; color: var(--muted); font-size: 0.74rem; text-overflow: ellipsis; white-space: nowrap; }
.cx-team em { min-width: 1.6rem; font-size: 1.2rem; font-style: normal; font-weight: 800; text-align: right; }
.cx-team.is-lose { opacity: 0.6; }
.cx-info { display: grid; gap: 0.45rem; min-width: 0; }
.cx-venue { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.82rem; }
.cx-venue svg, .cx-chip svg { flex: 0 0 auto; width: 15px; height: 15px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cx-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.cx-chip.is-tv { background: #102019; color: #c9f1da; }
.cx-chip.is-radio { background: #eef4f1; color: #24543d; }
.cx-cta { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: #f1f5f3; color: var(--green-deep); font-size: 0.8rem; font-weight: 750; white-space: nowrap; }
.cx-cta svg { width: 14px; height: 14px; }
.cx-row:hover .cx-cta { background: var(--green); color: #fff; }
.result-tv { color: var(--green-deep); font-weight: 700; }

@media (max-width: 860px) {
  .cx-row { grid-template-columns: 1fr auto; gap: 0.7rem; padding: 0.85rem; }
  .cx-when { grid-auto-flow: column; justify-content: start; align-items: center; gap: 0.5rem; }
  .cx-teams, .cx-info { grid-column: 1 / -1; }
  .cx-cta { grid-row: 1; grid-column: 2; padding: 0.35rem 0.65rem; }
  .cx-info { padding-top: 0.55rem; border-top: 1px dashed var(--line); }
}

/* ---------- Colores de equipo ---------- */

[data-team] { --tc: #3d9a6c; }
[data-team="ZUL"] { --tc: #f0b429; }
[data-team="MAR"] { --tc: #d7263d; }
[data-team="LAR"] { --tc: #b3261e; }
[data-team="ANZ"] { --tc: #6e3b6f; }
[data-team="CAR"] { --tc: #c8102e; }
[data-team="MAG"] { --tc: #1d4e89; }
[data-team="LAG"] { --tc: #1493c9; }
[data-team="ARA"] { --tc: #e87722; }

/* ---------- Inicio ---------- */

.home { display: grid; gap: 0; }
.home-block { margin-top: 2rem; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; padding-bottom: 0.55rem; border-bottom: 2px solid #e2e7e4; position: relative; }
.home-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--green); }
.home-head h2 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.015em; }
.home-head h2 em { font-style: normal; color: var(--green-deep); }
.home-head a { color: var(--green-deep); font-size: 0.86rem; font-weight: 750; text-decoration: none; }
.home-head a:hover { text-decoration: underline; }

.hn-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.1rem; align-items: stretch; }
.hn-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.hn-lead { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: inherit; text-decoration: none; box-shadow: 0 6px 22px rgba(23, 32, 51, 0.05); transition: transform 0.18s, box-shadow 0.18s; }
.hn-lead:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(23, 32, 51, 0.1); }
.hn-lead-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: #0f2a1c; }
.hn-lead-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.hn-lead:hover .hn-lead-img { transform: scale(1.03); }
.hn-tag { position: absolute; left: 1rem; top: 1rem; padding: 0.28rem 0.7rem; border-radius: 6px; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.hn-lead-body { display: grid; gap: 0.5rem; padding: 1.1rem 1.3rem 1.25rem; }
.hn-lead-body h3 { margin: 0; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.015em; }
.hn-lead-body p { margin: 0; color: #475467; font-size: 1rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hn-meta { color: var(--muted); font-size: 0.8rem; }
.hn-side { display: grid; gap: 0.75rem; align-content: start; }
.hn-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.7rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: inherit; text-decoration: none; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.hn-item:hover { border-color: #b9dcc8; box-shadow: 0 10px 24px rgba(23, 32, 51, 0.07); transform: translateY(-1px); }
.hn-thumb { width: 112px; height: 80px; border-radius: 12px; object-fit: cover; display: block; background: #0f2a1c; }
.hn-item > div { display: grid; gap: 0.25rem; min-width: 0; }
.hn-kicker { color: var(--green-deep); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hn-item h4 { margin: 0; font-size: 0.98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.is-empty { display: grid; place-items: center; background: radial-gradient(120% 120% at 0% 0%, #1f5a3b 0%, #0f2a1c 70%); }
.is-empty img { width: 30%; max-width: 72px; opacity: 0.9; }
.hn-lead-img.is-empty { height: 100%; }
.hn-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.home-stats { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1.1rem; align-items: start; }
.hl-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.hl-card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 1rem 1rem 0.6rem; box-shadow: 0 6px 22px rgba(23, 32, 51, 0.05); min-width: 0; }
.hl-head { display: grid; gap: 0.65rem; margin-bottom: 0.85rem; }
.hl-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.hl-sub { color: var(--muted); font-size: 0.78rem; margin-top: -0.45rem; }
.hl-tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.hl-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.3rem 0.7rem; font: inherit; font-size: 0.76rem; font-weight: 750; color: #475467; cursor: pointer; transition: background 0.15s, color 0.15s; }
.hl-tab:hover { border-color: #b9dcc8; }
.hl-tab.is-active { background: #0f2a1c; border-color: #0f2a1c; color: #fff; }
.hl-top { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 0.85rem; align-items: center; padding: 0.85rem 0.95rem; border-radius: 16px; color: #fff; overflow: hidden; background: linear-gradient(125deg, #0f2a1c 0%, #0f2a1c 35%, color-mix(in srgb, var(--tc) 70%, #0f2a1c) 100%); box-shadow: 0 10px 24px rgba(15, 42, 28, 0.22); }
.hl-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); pointer-events: none; }
.hl-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; background: #e4e8ee; border: 3px solid #ffd76a; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.hl-top-info { display: grid; gap: 0.2rem; min-width: 0; }
.hl-rank { width: fit-content; padding: 0.08rem 0.5rem; border-radius: 999px; background: #ffd76a; color: #3a2a00; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hl-top-info strong { font-size: 1.05rem; line-height: 1.2; }
.hl-top-info small { display: inline-flex; align-items: center; gap: 0.3rem; color: #c9dcd1; font-size: 0.76rem; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hl-top-info small img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.hl-top-val { display: grid; justify-items: end; text-align: right; position: relative; z-index: 1; }
.hl-top-val b { font-size: 2rem; line-height: 1; font-weight: 850; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hl-top-val small { max-width: 7rem; color: #c9dcd1; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.hl-rest { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.hl-rest li { display: grid; grid-template-columns: 1.3rem 38px minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.5rem 0.2rem; border-bottom: 1px solid #eef1f4; }
.hl-rest li:last-child { border-bottom: 0; }
.hl-pos { color: var(--muted); font-weight: 800; font-size: 0.82rem; text-align: center; }
.hl-face { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center top; background: #e4e8ee; }
.hl-name { display: grid; min-width: 0; font-size: 0.9rem; font-weight: 700; }
.hl-name small { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.hl-name small img { width: 14px; height: 14px; object-fit: contain; }
.hl-rest b { font-variant-numeric: tabular-nums; font-size: 0.98rem; }

.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td { padding: 0.55rem 0.3rem; border-bottom: 1px solid #eef1f4; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.mini-table tbody tr:last-child td { border-bottom: 0; }
.mini-table th { font-size: 0.7rem; letter-spacing: 0.05em; }
.mini-table td:first-child { color: var(--muted); font-weight: 800; width: 1.4rem; }
.mini-table tbody tr:first-child td { font-weight: 800; }
.mini-table .team-cell { text-decoration: none; color: inherit; gap: 0.45rem; }
.mini-table .team-cell img { width: 24px; height: 24px; }
.team-cell { color: inherit; text-decoration: none; }
a.team-cell:hover { color: var(--green-deep); }
.tc-short { display: none; }
.empty-row { text-align: center !important; color: var(--muted); padding: 1.4rem !important; }
.standings-wrap td, .standings-wrap th { font-variant-numeric: tabular-nums; }

.livebug em { color: var(--green-deep); }

@media (max-width: 1080px) {
  .home-stats { grid-template-columns: minmax(0, 1fr); }
  .hn-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .home .ticker { flex-direction: row; align-items: stretch; }
  .home .ticker .datebar { flex: 0 0 auto; padding: 0.35rem 0.15rem; }
  .home .ticker .datebar .icon-button { width: 1.2rem; }
  .home .ticker #day-label { min-width: 2.6rem; }
  .hn-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-lead-body h3 { font-size: 1.3rem; }
  .hl-pair { grid-template-columns: minmax(0, 1fr); }
  .home-head h2 { font-size: 1.25rem; }
  .tc-full { display: none; }
  .tc-short { display: inline; }
}

@media (max-width: 560px) {
  .hn-more { grid-template-columns: minmax(0, 1fr); }
  .hn-item { grid-template-columns: 92px minmax(0, 1fr); }
  .hn-thumb { width: 92px; height: 70px; }
  .hl-top { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 0.75rem; }
  .hl-photo { width: 64px; height: 64px; }
  .hl-top-val b { font-size: 1.6rem; }
}