:root {
  --tseae-green: #0d4b3d;
  --tseae-gold: #c89a2b;
  --tseae-ink: #141a18;
  --tseae-muted: #66706c;
  --tseae-line: #dfe5e2;
  --tseae-bg: #f6f8f7;
}

.tseae-module,
.tseae-home-module {
  box-sizing: border-box;
  width: 100%;
  margin: 2rem auto;
  font-family: inherit;
}

.tseae-home-module {
  padding: 1.35rem;
  border: 1px solid var(--tseae-line);
  border-radius: 16px;
  background: #fff;
}

.tseae-module-heading,
.tseae-home-module__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tseae-module-heading h2,
.tseae-home-module__header h2 {
  margin: .1rem 0 0;
  line-height: 1.12;
}

.tseae-home-module__header p {
  margin: .4rem 0 0;
  color: var(--tseae-muted);
}

.tseae-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  color: var(--tseae-green);
}

.tseae-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tseae-story-card {
  min-width: 0;
}

.tseae-story-card__link,
.tseae-league-story a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tseae-story-card__media,
.tseae-league-story__media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: var(--tseae-bg);
}

.tseae-story-card__media img,
.tseae-league-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tseae-story-card__body,
.tseae-league-story__body {
  display: block;
  padding-top: .65rem;
}

.tseae-story-card__kicker {
  display: block;
  margin-bottom: .25rem;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tseae-green);
}

.tseae-story-card__title,
.tseae-league-story__title {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.tseae-story-card a:hover .tseae-story-card__title,
.tseae-story-card a:focus-visible .tseae-story-card__title,
.tseae-league-story a:hover .tseae-league-story__title,
.tseae-league-story a:focus-visible .tseae-league-story__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.tseae-series-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tseae-line);
}

.tseae-series-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--tseae-green);
}

.tseae-series-count {
  margin: .45rem 0 .85rem;
  color: var(--tseae-muted);
  font-size: .9rem;
}

.tseae-series-links {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .8rem;
  align-items: center;
}

.tseae-series-links a {
  font-weight: 700;
}

.tseae-series-next {
  text-align: right;
}

.tseae-fact-list {
  display: grid;
  gap: .55rem;
  margin: 0 0 1rem;
}

.tseae-fact-list div {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) 1fr;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--tseae-line);
}

.tseae-fact-list dt {
  font-weight: 700;
}

.tseae-fact-list dd {
  margin: 0;
}

.tseae-cta {
  display: inline-flex;
  font-weight: 800;
}

.tseae-poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.tseae-poll-choice,
.tseae-league-tab,
.tseae-league-view {
  appearance: none;
  border: 1px solid var(--tseae-line);
  background: #fff;
  color: var(--tseae-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tseae-poll-choice {
  padding: .85rem 1rem;
  border-radius: 10px;
}

.tseae-poll-choice:hover,
.tseae-poll-choice:focus-visible,
.tseae-league-tab:hover,
.tseae-league-tab:focus-visible,
.tseae-league-view:hover,
.tseae-league-view:focus-visible {
  border-color: var(--tseae-green);
  outline: 2px solid transparent;
}

.tseae-poll-result {
  margin-top: 1rem;
}

.tseae-poll-result__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
}

.tseae-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tseae-timeline li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--tseae-line);
}

.tseae-timeline time {
  color: var(--tseae-muted);
  font-size: .88rem;
}

.tseae-briefing-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 32%);
  gap: .9rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: .5rem;
}

.tseae-briefing-card {
  scroll-snap-align: start;
  padding: 1rem;
  border: 1px solid var(--tseae-line);
  border-radius: 12px;
  background: var(--tseae-bg);
}

.tseae-briefing-card h3 {
  margin: 0 0 .5rem;
}

.tseae-briefing-card p {
  margin: 0;
  color: var(--tseae-muted);
}

.tseae-league-tabs,
.tseae-league-toolbar {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tseae-league-tabs {
  padding-bottom: .75rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid var(--tseae-line);
}

.tseae-league-toolbar {
  margin-bottom: 1rem;
}

.tseae-league-hub-nav {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  margin: -.15rem 0 .9rem;
  padding: 0 0 .65rem;
  border-bottom: 1px solid var(--tseae-line);
  scrollbar-width: thin;
}

.tseae-league-hub-nav a {
  flex: 0 0 auto;
  color: var(--tseae-muted);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.tseae-league-hub-nav a:hover,
.tseae-league-hub-nav a:focus-visible {
  color: var(--tseae-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tseae-league-tab,
.tseae-league-view {
  flex: 0 0 auto;
  padding: .62rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tseae-league-tab.is-active,
.tseae-league-view.is-active {
  background: var(--tseae-green);
  border-color: var(--tseae-green);
  color: #fff;
}

.tseae-league-central.is-loading .tseae-league-panel {
  opacity: .55;
}

.tseae-league-panel {
  min-height: 190px;
  transition: opacity .15s ease;
}

.tseae-league-latest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tseae-league-story--lead {
  grid-column: span 2;
  grid-row: span 2;
}

.tseae-league-story time {
  display: block;
  margin-bottom: .25rem;
  color: var(--tseae-muted);
  font-size: .78rem;
}

.tseae-league-story--lead .tseae-league-story__title {
  font-size: 1.25rem;
}

.tseae-league-footer {
  grid-column: 1 / -1;
  padding-top: .8rem;
  border-top: 1px solid var(--tseae-line);
}

.tseae-league-footer a {
  font-weight: 800;
}

.tseae-table-wrap {
  overflow-x: auto;
}

.tseae-league-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.tseae-league-table th,
.tseae-league-table td {
  padding: .58rem .5rem;
  border-bottom: 1px solid var(--tseae-line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tseae-league-table th:nth-child(2),
.tseae-league-table td:nth-child(2) {
  text-align: left;
}

.tseae-league-table thead th {
  color: var(--tseae-muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tseae-data-source {
  margin: .7rem 0 0;
  color: var(--tseae-muted);
  font-size: .78rem;
}

.tseae-match-list {
  display: grid;
  gap: .45rem;
}

.tseae-match-row {
  display: grid;
  grid-template-columns: minmax(135px, .35fr) 1fr minmax(85px, .25fr);
  gap: .8rem;
  align-items: center;
  padding: .7rem .8rem;
  border: 1px solid var(--tseae-line);
  border-radius: 10px;
}

.tseae-match-row__time,
.tseae-match-row__status {
  color: var(--tseae-muted);
  font-size: .83rem;
}

.tseae-match-row__status {
  text-align: right;
}

.tseae-match-row__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
  font-weight: 700;
}

.tseae-match-row__teams span:last-child {
  text-align: right;
}

.tseae-match-row__score {
  min-width: 48px;
  text-align: center;
  font-weight: 800;
}

.tseae-empty-panel {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 1rem;
  border: 1px dashed var(--tseae-line);
  border-radius: 12px;
  color: var(--tseae-muted);
  text-align: center;
}

.tseae-tonight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.tseae-tonight-card {
  padding: 1rem;
  border: 1px solid var(--tseae-line);
  border-radius: 12px;
}

.tseae-tonight-card__meta {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  color: var(--tseae-muted);
  font-size: .78rem;
}

.tseae-tonight-card h3 {
  margin: .45rem 0 .6rem;
  font-size: 1rem;
}

.tseae-tonight-card a {
  font-weight: 800;
}

.tseae-home-fallback {
  width: 100%;
}

@media (max-width: 900px) {
  .tseae-story-grid,
  .tseae-tonight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tseae-league-latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tseae-league-story--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .tseae-briefing-track {
    grid-auto-columns: minmax(260px, 70%);
  }
}

@media (max-width: 600px) {
  .tseae-home-module {
    padding: 1rem;
    border-radius: 12px;
  }

  .tseae-story-grid,
  .tseae-tonight-grid,
  .tseae-league-latest,
  .tseae-poll-options {
    grid-template-columns: 1fr;
  }

  .tseae-series-links {
    grid-template-columns: 1fr;
  }

  .tseae-series-next,
  .tseae-series-hub {
    text-align: left;
  }

  .tseae-match-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .tseae-match-row__status {
    text-align: left;
  }

  .tseae-briefing-track {
    grid-auto-columns: 86%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tseae-league-panel {
    transition: none;
  }
}

.tseae-provider-attribution {
  margin-top: 10px;
  font-size: .72rem;
  color: #68756f;
}
.tseae-provider-attribution a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Authored Key Numbers blocks: data stays editorially verified in the article;
   the engine only provides consistent responsive presentation. */
.tseae-key-numbers {
  margin: 2rem auto;
  padding: 1.15rem;
  border: 1px solid var(--tseae-line);
  border-radius: 14px;
  background: var(--tseae-bg);
}

.tseae-key-numbers > h2,
.tseae-key-numbers > h3 {
  margin-top: 0;
}

.tseae-key-numbers__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tseae-key-numbers table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: #fff;
}

.tseae-key-numbers th,
.tseae-key-numbers td {
  padding: .72rem .8rem;
  border-bottom: 1px solid var(--tseae-line);
  text-align: left;
  vertical-align: top;
}

.tseae-key-numbers th {
  color: var(--tseae-ink);
  font-weight: 800;
}

.tseae-key-numbers tbody tr:last-child td,
.tseae-key-numbers tbody tr:last-child th {
  border-bottom: 0;
}

/* v1.0.3: reader-facing in-article modules.
   Continue the Story is intentionally part of the article flow, not a sidebar
   rail. Visual Briefing stays dense and scan-first. Container queries respond
   to the article column itself instead of only the browser viewport. */
.tseae-continue,
.tseae-visual-briefing {
  container-type: inline-size;
}

.tseae-continue--in-article {
  clear: both;
  width: 100%;
  max-width: 790px;
  margin: 2rem auto;
  padding: 1rem 0 1.05rem;
  border-top: 3px solid var(--tseae-green);
  border-bottom: 1px solid var(--tseae-line);
  background: #fff;
}

.tseae-continue .tseae-module-heading,
.tseae-visual-briefing .tseae-module-heading {
  display: block;
  margin-bottom: .7rem;
}

.tseae-continue .tseae-module-heading h2,
.tseae-visual-briefing .tseae-module-heading h2 {
  margin: .14rem 0 0;
  font-size: clamp(1.12rem, 3cqi, 1.4rem);
  line-height: 1.08;
}

.tseae-continue .tseae-kicker,
.tseae-visual-briefing .tseae-kicker {
  font-size: .65rem;
  letter-spacing: .1em;
}

/* Three stories maximum. At normal article width these read as editorial cards,
   not a miniature homepage grid. */
.tseae-continue--in-article .tseae-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.tseae-continue--in-article .tseae-story-card__media {
  border-radius: 8px;
}

.tseae-continue--in-article .tseae-story-card__body {
  padding-top: .45rem;
}

.tseae-continue--in-article .tseae-story-card__kicker {
  display: none;
}

.tseae-continue--in-article .tseae-story-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .91rem;
  line-height: 1.24;
}

/* Narrow article columns become clean horizontal story rows. */
@container (max-width: 620px) {
  .tseae-continue--in-article .tseae-story-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tseae-continue--in-article .tseae-story-card {
    padding: .7rem 0;
    border-bottom: 1px solid var(--tseae-line);
  }

  .tseae-continue--in-article .tseae-story-card:last-child {
    border-bottom: 0;
  }

  .tseae-continue--in-article .tseae-story-card__link {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
  }

  .tseae-continue--in-article .tseae-story-card__body {
    padding-top: 0;
  }

  .tseae-continue--in-article .tseae-story-card__title {
    -webkit-line-clamp: 3;
    font-size: .9rem;
    line-height: 1.22;
  }
}

@container (max-width: 380px) {
  .tseae-continue--in-article .tseae-story-card__link {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: .62rem;
  }
}

/* Visual Briefing: a short scan rail, not a second layer of tall cards. */
.tseae-visual-briefing {
  margin: 1.2rem auto;
}

.tseae-briefing-track {
  grid-auto-columns: minmax(160px, 24%);
  gap: .55rem;
  padding-bottom: .04rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.tseae-briefing-track::-webkit-scrollbar {
  display: none;
}

.tseae-briefing-card {
  min-height: 96px;
  max-height: 110px;
  overflow: hidden;
  padding: .6rem .68rem;
  border-radius: 9px;
}

.tseae-briefing-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0 0 .24rem;
  font-size: .86rem;
  line-height: 1.16;
}

.tseae-briefing-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  font-size: .76rem;
  line-height: 1.28;
}

@container (max-width: 680px) {
  .tseae-briefing-track {
    grid-auto-columns: minmax(158px, 43%);
  }
}

@container (max-width: 420px) {
  .tseae-briefing-track {
    grid-auto-columns: 78%;
  }
}

/* v1.0.4: useful desktop reading rail + genuinely visual briefing. */
.tseae-briefing-grid {
  display: grid;
  grid-template-columns: minmax(190px,1.15fr) repeat(3,minmax(0,1fr));
  gap: .55rem;
  align-items: stretch;
}

.tseae-briefing-hero,
.tseae-briefing-card {
  min-height: 126px;
  height: 126px;
}

.tseae-briefing-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: #173e34;
}

.tseae-briefing-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tseae-briefing-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 38%,rgba(5,36,29,.84));
}

.tseae-briefing-hero figcaption,
.tseae-briefing-hero--graphic strong {
  position: absolute;
  z-index: 2;
  left: .7rem;
  right: .7rem;
  bottom: .62rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.tseae-briefing-hero--graphic {
  display: grid;
  place-items: center;
  color: #fff;
}

.tseae-briefing-hero--graphic > span {
  font-size: 2rem;
  font-weight: 900;
  opacity: .28;
}

.tseae-briefing-card {
  position: relative;
  min-width: 0;
  max-height: none;
  padding: .62rem .66rem;
  overflow: hidden;
  border: 1px solid var(--tseae-line);
  border-radius: 10px;
  background: var(--tseae-bg);
}

.tseae-briefing-card__visual {
  display: block;
  height: 42px;
  margin: -.62rem -.66rem .42rem;
  overflow: hidden;
  background: #e8eeeb;
}

.tseae-briefing-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tseae-briefing-card__number {
  display: block;
  margin-bottom: .24rem;
  color: var(--tseae-green);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.tseae-briefing-card h3 {
  -webkit-line-clamp: 2;
  margin: 0 0 .2rem;
  font-size: .79rem;
  line-height: 1.14;
}

.tseae-briefing-card p {
  -webkit-line-clamp: 2;
  font-size: .69rem;
  line-height: 1.24;
}

.tseae-reading-sidebar {
  box-sizing: border-box;
  width: 100%;
  margin: 2rem 0;
  font-family: inherit;
}

.tseae-sidebar-section {
  margin: 0 0 1rem;
  padding: .9rem;
  border: 1px solid var(--tseae-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(10,49,38,.05);
}

.tseae-sidebar-heading {
  padding-bottom: .55rem;
  margin-bottom: .55rem;
  border-bottom: 2px solid var(--tseae-green);
}

.tseae-sidebar-heading h2 {
  margin: 0;
  color: var(--tseae-ink);
  font-size: 1rem;
  line-height: 1.1;
}

.tseae-sidebar-stories {
  display: grid;
  gap: .65rem;
}

.tseae-sidebar-story a {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  gap: .65rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.tseae-sidebar-story__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 7px;
  background: var(--tseae-bg);
}

.tseae-sidebar-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tseae-sidebar-story__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--tseae-ink);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.23;
}

.tseae-sidebar-story a:hover .tseae-sidebar-story__title,
.tseae-sidebar-story a:focus-visible .tseae-sidebar-story__title {
  color: var(--tseae-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tseae-sidebar-section--poll .tseae-module {
  margin: 0;
}

.tseae-sidebar-section--poll .tseae-module-heading {
  display: block;
  margin-bottom: .6rem;
}

.tseae-sidebar-section--poll .tseae-module-heading h2 {
  margin: .12rem 0 0;
  font-size: 1rem;
}

.tseae-sidebar-section--poll .tseae-poll-options {
  grid-template-columns: 1fr;
  gap: .5rem;
}

.tseae-sidebar-section--poll .tseae-poll-choice {
  padding: .65rem .7rem;
  font-size: .82rem;
}

@media (min-width: 1051px) {
  body.single-post .tse-content-shell.tseae-shell-has-sidebar {
    width: min(calc(100% - 32px),1180px);
    max-width: 1180px;
  }

  body.single-post article.tseae-article-has-sidebar {
    display: grid;
    grid-template-columns: minmax(0,790px) minmax(270px,330px);
    column-gap: 32px;
    align-items: start;
  }

  body.single-post article.tseae-article-has-sidebar > *:not(.tseae-reading-sidebar) {
    grid-column: 1;
    min-width: 0;
  }

  body.single-post article.tseae-article-has-sidebar > .tseae-reading-sidebar {
    grid-column: 2;
    grid-row: 1 / span 40;
    align-self: start;
    position: sticky;
    top: 88px;
    margin: 3.6rem 0 0;
  }
}

@media (max-width: 1050px) {
  .tseae-reading-sidebar {
    max-width: 790px;
    margin: 1.6rem auto 0;
  }
  .tseae-sidebar-section {
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .tseae-briefing-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px,76%);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tseae-briefing-grid::-webkit-scrollbar { display:none; }
  .tseae-briefing-hero,
  .tseae-briefing-card { scroll-snap-align:start; }
  .tseae-sidebar-story a { grid-template-columns: 96px minmax(0,1fr); }
}
