.tf-page { padding-top: .25rem; padding-bottom: 3rem; }
.tf-page-intro { margin-bottom:0; }
.tf-page-intro > :last-child { margin-bottom:0 !important; }
.tf-header { margin-bottom:1.5rem; }
.tf-header h1 { margin-bottom:.4rem; }
.tf-header > p:not(.tf-updated) { margin:0; }
.tf-updated { display:block; width:100%; margin:.65rem 0 0; color:#657083; font-size:.9rem; text-align:left; }
.tf-app { display:grid; grid-template-columns:minmax(220px,280px) minmax(0,1fr); gap:1.5rem; align-items:start; }
.tf-filters { position:sticky; top:1rem; padding:1.1rem; border:1px solid #dce3ee; border-radius:12px; background:#fff; box-shadow:0 8px 28px rgba(23,40,67,.05); }
.tf-filter-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:.8rem; }
.tf-filter-close { display:none; border:0; background:none; font-size:1.7rem; line-height:1; }
.tf-filters label { display:block; margin:.75rem 0; }
.tf-filters label > span { display:block; margin-bottom:.3rem; font-size:.82rem; font-weight:700; color:#445064; }
.tf-filters select { width:100%; min-height:42px; margin:0; }
.tf-past-toggle, .tf-postponed-toggle { display:flex !important; align-items:center; gap:.55rem; margin:.8rem 0 0 !important; font-size:.9rem; }
.tf-past-toggle input, .tf-postponed-toggle input { width:18px; height:18px; margin:0; accent-color:#2e62c0; }
.tf-past-toggle span, .tf-postponed-toggle span { display:inline !important; margin:0 !important; }
.tf-filter-actions { display:grid; grid-template-columns:1fr; gap:.6rem; margin-top:.6rem; }
.tf-clear, .tf-show-fixtures { width:100%; margin:0; }
.tf-show-fixtures { display:none; }
.tf-filter-backdrop { display:none; }
.tf-mobile-filter-button { display:none; }
.tf-results-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; margin-bottom:.75rem; }
.tf-results-summary { margin:0; color:#657083; }
.tf-page-size { display:grid; gap:.45rem; flex:0 0 auto; margin:0; color:#2d2d2d; }
.tf-page-size__label { font-size:.9rem; font-weight:700; line-height:1.2; }
.tf-page-size__options { display:flex; align-items:center; gap:.55rem; flex-wrap:wrap; }
.tf-page-size__button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:42px; margin:0 !important; padding:0 .85rem !important; border:1px solid #cfd5df !important; border-radius:999px !important; background:#fff !important; color:#2d2d2d !important; font:inherit; font-weight:700; line-height:1; box-shadow:none !important; cursor:pointer; }
.tf-page-size__button:hover, .tf-page-size__button:focus-visible { border-color:#2e62c0 !important; }
.tf-page-size__button.is-active, .tf-page-size__button[aria-pressed="true"] { border-color:#2e62c0 !important; background:#2e62c0 !important; color:#fff !important; }
.tf-fixture { margin:0; padding:0; background:none; border:0; box-shadow:none; }
.tf-fixture[hidden] { display:none !important; }
.tf-fixture-date { margin:1.45rem 0 .55rem; padding-bottom:.4rem; border-bottom:2px solid #2e62c0; color:#24344f; font-size:1.05rem; font-weight:800; text-transform:uppercase; letter-spacing:.02em; }
.tf-fixture-card { display:grid; grid-template-columns:90px minmax(260px,1fr) minmax(190px,.65fr); gap:1rem; align-items:center; margin-bottom:.65rem; padding:1rem 1.1rem; border:1px solid #dce3ee; border-radius:10px; background:#fff; }
.tf-time { font-size:1.28rem; font-weight:800; color:#17345f; }
.tf-teams { min-width:0; }
.tf-teams strong { display:block; line-height:1.3; }
.tf-v { display:block; margin:.12rem 0; color:#7a8493; font-size:.8rem; font-weight:700; }
.tf-meta { display:grid; gap:.3rem; color:#5b6676; font-size:.88rem; }
.tf-status { display:inline-block; width:max-content; margin-bottom:.35rem; padding:.18rem .5rem; border-radius:999px; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
.tf-status--postponed { background:#fff1cf; color:#805400; }
.tf-status--cancelled { background:#fde8e8; color:#922626; }
.tf-status--completed { background:#e9f4ed; color:#27613d; }
.tf-empty { padding:2rem; border:1px dashed #c7d1df; border-radius:10px; text-align:center; color:#657083; }
.tf-pagination { display:flex; align-items:center; justify-content:center; gap:.8rem; margin-top:1.25rem; }
.tf-pagination[hidden] { display:none !important; }
.tf-pagination button { margin:0; min-width:105px; }
.tf-pagination span { min-width:100px; text-align:center; color:#657083; font-size:.9rem; }
@media (max-width:900px) {
  .tf-updated { margin-top:.6rem !important; text-align:left; }
  .tf-app { grid-template-columns:1fr; }
  .tf-mobile-filter-button { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; width:100%; min-height:46px; }
  .tf-filter-backdrop { display:block; position:fixed; z-index:9999; inset:0; margin:0; padding:0; border:0; background:rgba(14,24,40,.45); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease, visibility .2s ease; }
  .tf-app.tf-filters-open .tf-filter-backdrop { opacity:1; visibility:visible; pointer-events:auto; }
  .tf-filters { position:fixed; z-index:10000; left:0; right:0; bottom:0; top:auto; max-height:88vh; overflow:auto; border-radius:16px 16px 0 0; transform:translateY(110%); transition:transform .2s ease; box-shadow:0 -10px 40px rgba(17,28,45,.2); }
  .tf-filters.is-open { transform:translateY(0); }
  .tf-filter-close { display:block; min-width:44px; min-height:44px; cursor:pointer; color:#000 !important; }
  .tf-filter-actions { position:sticky; bottom:-1.1rem; grid-template-columns:1fr 1.35fr; margin:1rem -1.1rem -1.1rem; padding:.85rem 1.1rem calc(.85rem + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #dce3ee; }
  .tf-show-fixtures { display:block; }
  html.tf-filter-open { overflow:hidden; }
  .tf-results-toolbar { align-items:flex-start; }
  .tf-fixture-card { grid-template-columns:76px minmax(0,1fr); }
  .tf-meta { grid-column:2; }
}
@media (max-width:560px) {
  .tf-page { padding-top:.35rem; }
  .tf-results-toolbar { display:grid; grid-template-columns:1fr; gap:.55rem; }
  .tf-page-size { justify-items:start; }
  .tf-pagination { gap:.45rem; }
  .tf-pagination button { min-width:0; flex:1; }
  .tf-fixture-date { margin-top:1.25rem; font-size:.95rem; }
  .tf-fixture-card { display:block; padding:1rem; }
  .tf-time { margin-bottom:.65rem; font-size:1.4rem; }
  .tf-teams strong { font-size:1.02rem; }
  .tf-meta { margin-top:.75rem; padding-top:.7rem; border-top:1px solid #edf0f4; }
}


/* Page-managed Central Venue content */
.tf-page-copy { margin: 1rem 0 1.5rem; }
.tf-page-copy--below {
  position: relative;
  overflow: hidden;
  margin-top: 2.25rem;
  padding: 1.4rem 1.55rem 1.4rem 1.8rem;
  border: 1px solid #cddcf0;
  border-left: 6px solid #2e62c0;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 68%);
  box-shadow: 0 14px 34px rgba(23,52,95,.12);
}
.tf-page-copy--below::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  top: -58px;
  border-radius: 50%;
  background: rgba(46,98,192,.10);
  pointer-events: none;
}
.tf-page-copy--below > :first-child { margin-top: 0; }
.tf-page-copy--below > :last-child { margin-bottom: 0; }
.tf-page-copy--below h2,
.tf-page-copy--below h3,
.tf-page-copy--below h4 { color: #17345f; }
.tf-page-copy--below a { font-weight: 700; }

/* Compact fixture status notice */
.tf-status-strip {
  margin: .9rem 0 1.35rem;
  padding: .8rem 1rem .75rem 1.05rem;
  border: 1px solid #d9e4f4;
  border-left: 4px solid #2e62c0;
  border-radius: 9px;
  background: #fbfcfe;
  color: #303b4d;
  box-shadow: 0 3px 12px rgba(23,52,95,.045);
}
.tf-status-strip__main {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.4;
}
.tf-status-strip__icon { flex: 0 0 auto; line-height: 1.35; }
.tf-status-strip__message { min-width: 0; }
.tf-status-strip__message p { margin: 0 !important; padding: 0 !important; font-size: inherit !important; }
.tf-status-strip__meta {
  margin: .3rem 0 0 1.55rem;
  color: #778294;
  font-size: .78rem;
  line-height: 1.35;
}
.tf-status-strip__meta time { font-weight: 600; }
.tf-related-moved { margin-top: 0; }

@media (max-width: 760px) {
  .tf-status-strip { padding: .75rem .85rem; }
  .tf-status-strip__meta { margin-left: 1.45rem; }
  .tf-page-copy--below { padding: 1.2rem 1.2rem 1.2rem 1.4rem; }
}

/* Team Fixtures-specific status treatments layered on the CDL layout. */
.tf-status { display:inline-flex; width:max-content; margin:0 0 .25rem; padding:.18rem .5rem; border-radius:999px; background:#fff1cc; color:#6f4c00; font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
.tf-status--postponed,.tf-status--cancelled,.tf-status--abandoned,.tf-status--suspended { background:#fff0f0; color:#8a2020; }
.tf-status--completed { background:#edf7ef; color:#24623a; }
.tf-team-block { padding:2rem 0 3rem; }
.tf-team-block__head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:.7rem; }
.tf-team-block__head h2 { margin:0; }
.tf-team-block__updated { margin:0; color:#657083; font-size:.9rem; }
@media(max-width:560px){.tf-team-block__head{display:block}.tf-team-block__updated{margin-top:.35rem}}

/* v1.0.7 compact checkbox filters */
