:root{--ink:#18241e;--muted:#68756d;--line:#e6ece7;--green:#145b46;--green-deep:#0d3d32;--gold:#e4bb63;--paper:#fff;--white:#fff;--live:#d64e42}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit}
.sports-shell{width:min(1160px,calc(100% - 40px));margin:auto;padding:24px 0 56px}.sports-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--line)}.brand img{display:block;width:136px;height:46px;object-fit:contain}.back-link{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;font-size:.9rem}
.sports-hero{padding:42px 0 25px}.sports-kicker{margin:0 0 7px;color:var(--green);font-size:.73rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.sports-hero h1{margin:0;font:400 clamp(2.5rem,6vw,4rem)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.045em}.sports-hero p{max-width:680px;margin:12px 0 0;color:var(--muted)}.sports-updated{margin:2px 0 22px;color:var(--muted);font-size:.82rem}
.featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.featured-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:326px;padding:22px;border:1px solid #e6e6dd;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#fff 54%,#f5f2e9 100%);box-shadow:0 12px 32px rgba(30,54,42,.08);isolation:isolate}
.featured-card:before,.featured-card:after{position:absolute;z-index:-1;border:1px solid rgba(228,187,99,.35);border-radius:50%;content:""}.featured-card:before{right:-56px;top:-74px;width:210px;height:210px}.featured-card:after{right:-28px;top:-46px;width:154px;height:154px;border-color:rgba(228,187,99,.25)}
.featured-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.sport-tag{display:flex;align-items:center;gap:9px;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.sport-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:12px;background:#eaf1ec;color:var(--green);font-size:1.05rem}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #e9ece8;border-radius:999px;background:#fff;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.status-pill.live{border-color:#f1d3ce;background:#fff4f1;color:#a9352c}.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.featured-comp{min-height:21px;margin:14px 0 12px;color:var(--muted);font-size:.83rem}.featured-teams{display:grid;grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);align-items:center;gap:10px;flex:1}.featured-team{min-width:0;text-align:center}.team-mark{position:relative;display:grid;width:72px;height:72px;place-items:center;margin:0 auto 10px;border:1px solid #edf0eb;border-radius:21px;background:#fff;box-shadow:0 6px 16px rgba(24,36,30,.06)}.team-mark img{width:50px;height:50px;object-fit:contain}.team-mark .country-flag{position:absolute;right:-7px;bottom:-5px;display:grid;width:27px;height:27px;place-items:center;border:2px solid #fff;border-radius:50%;background:#fff;font-size:1rem;box-shadow:0 2px 7px #0002}.team-name{display:-webkit-box;overflow:hidden;min-height:2.6em;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.98rem;font-weight:750;line-height:1.3}
.versus{display:flex;flex-direction:column;align-items:center;gap:5px}.versus-mark{display:grid;width:54px;height:54px;place-items:center;border:1px solid #ecdfbd;border-radius:50%;background:#fff9e9;color:#947534;font-size:.84rem;font-weight:850;letter-spacing:.05em}.versus-score{font-size:1.18rem;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.countdown{color:var(--green);font-size:.77rem;font-weight:750;font-variant-numeric:tabular-nums;text-align:center}.featured-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:15px;border-top:1px solid #ebece5}.featured-time{color:var(--muted);font-size:.82rem}.view-matches{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:999px;background:var(--green);color:#fff;text-decoration:none;font-size:.82rem;font-weight:750;white-space:nowrap;transition:background .2s,transform .2s}.view-matches:hover{transform:translateY(-1px);background:var(--green-deep)}.featured-empty{grid-column:1/-1;min-height:250px;display:grid;place-items:center;padding:30px;border:1px dashed #cbd7ce;border-radius:20px;background:#fff;color:var(--muted);text-align:center}.feed-note{margin:17px 0 0;color:var(--muted);font-size:.8rem}
.detail-hero{padding:34px 0 18px}.detail-hero h1{display:flex;align-items:center;gap:13px}.detail-hero .sport-icon{width:46px;height:46px;border-radius:15px;font-size:1.35rem}.feed-status{margin:10px 0 25px;padding:12px 15px;border-left:3px solid var(--gold);border-radius:0 10px 10px 0;background:#fff;color:var(--muted);font-size:.86rem}.match-section{margin-top:29px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 13px}.section-heading h2{margin:0;font:400 1.7rem Georgia,"Times New Roman",serif}.section-heading span{color:var(--muted);font-size:.8rem}.match-stack{display:grid;gap:11px}
.match-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,155px) minmax(0,1fr);align-items:center;gap:16px;padding:17px 19px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 4px 13px rgba(28,43,34,.035)}.match-row-team{display:flex;align-items:center;gap:11px;min-width:0}.match-row-team.away{justify-content:flex-end;text-align:right}.mini-mark{position:relative;flex:0 0 44px;display:grid;width:44px;height:44px;place-items:center;border:1px solid #eef0ec;border-radius:14px;background:#fcfdfb}.mini-mark img{width:31px;height:31px;object-fit:contain}.mini-mark .country-flag{position:absolute;right:-5px;bottom:-5px;padding:1px;border:1px solid white;border-radius:50%;background:#fff;font-size:.72rem}.match-row-name{overflow-wrap:anywhere;font-size:.94rem;font-weight:740;line-height:1.25}.match-row-center{text-align:center}.match-score{font-size:1.2rem;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}.match-meta{margin-top:3px;color:var(--muted);font-size:.77rem}.match-info{grid-column:1/-1;display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:2px;padding-top:11px;border-top:1px solid #eff1ed;color:var(--muted);font-size:.78rem;text-align:center}.innings{grid-column:1/-1;display:grid;gap:5px;margin-top:2px;padding:10px 3px 0;border-top:1px solid #eff1ed}.innings-line{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.8rem}.innings-line strong{color:var(--ink);white-space:nowrap}.live-label{color:#b63b32;font-size:.73rem;font-weight:850;letter-spacing:.08em}.empty-state{padding:20px 17px;border:1px dashed #cbd7ce;border-radius:14px;background:#fff;color:var(--muted);font-size:.9rem}.load-more{display:inline-flex;margin-top:13px;padding:9px 14px;border:1px solid #dfe6e0;border-radius:999px;background:white;color:var(--green);font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.sports-footer{margin-top:42px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.84rem}.sports-footer nav{display:flex;flex-wrap:wrap;gap:7px}.sports-footer a{text-decoration:none}.sports-footer a:hover{text-decoration:underline}
@media(max-width:720px){.sports-shell{width:min(100% - 24px,560px);padding-top:15px}.brand img{width:116px;height:40px}.sports-hero{padding:33px 0 19px}.featured-grid{grid-template-columns:1fr;gap:14px}.featured-card{min-height:305px;padding:18px;border-radius:19px}.featured-teams{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);gap:6px}.team-mark{width:62px;height:62px;border-radius:18px}.team-mark img{width:43px;height:43px}.team-name{font-size:.9rem}.versus-mark{width:46px;height:46px;font-size:.77rem}.versus-score{font-size:1.02rem}.featured-footer{align-items:flex-start}.featured-time{max-width:54%}.match-row{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);gap:9px;padding:14px 10px}.match-row-team{gap:7px}.mini-mark{flex-basis:35px;width:35px;height:35px;border-radius:11px}.mini-mark img{width:25px;height:25px}.match-row-name{font-size:.82rem}.match-score{font-size:1.05rem}.match-meta{font-size:.71rem}.section-heading h2{font-size:1.48rem}}
@media(max-width:370px){.featured-card{padding:15px 12px}.featured-teams{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}.team-name{font-size:.84rem}.featured-footer{gap:8px}.view-matches{padding:8px 10px;font-size:.75rem}.match-row{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr)}.match-row-name{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Compact, readable match scorecards shared by football and cricket. */
.scorecard{display:block;padding:18px 20px}
.scorecard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;color:var(--muted);font-size:.78rem}
.scorecard-top>span:first-child{min-width:0;overflow-wrap:anywhere}
.scorecard-status{flex-shrink:0;font-weight:700;color:var(--green)}
.scorecard-status.is-live{color:var(--live)}
.scorecard-board{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:12px;align-items:start;margin:22px 0 16px}
.scorecard-team{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;text-align:center}
.scorecard-team .mini-mark{width:54px;height:54px;flex-basis:auto;margin-bottom:5px}
.scorecard-name{font-size:.92rem;font-weight:700;line-height:1.3;overflow-wrap:break-word}
.scorecard-figures{font-size:1.45rem;line-height:1.2;font-variant-numeric:tabular-nums}
.score-overs{font-size:.78rem;color:var(--muted)}
.scorecard-vs{align-self:center;justify-self:center;color:var(--muted);font-size:.84rem;font-weight:750}
.primary-flag{font-size:2.1rem;line-height:1;display:block}
.mini-mark .primary-flag{font-size:1.8rem}
.scorecard-result{padding:10px 0;border-top:1px solid var(--line);text-align:center;font-size:.9rem;font-weight:750;color:var(--green)}
.scorecard-date{padding-top:10px;border-top:1px solid var(--line);text-align:center;font-size:.8rem;color:var(--muted)}
.sports-footer{margin-top:48px;padding:18px 20px 16px;border-top:1px solid #e5e7eb;background:transparent;text-align:center;color:#6b7280;font:13px/1.6 "Times New Roman",serif}
.sports-footer nav{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap}
.sports-footer a{color:inherit;text-decoration:none}
.sports-footer a:hover{color:#176b50;text-decoration:underline}
.sports-footer p{margin:4px 0 0}
@media(max-width:600px){
.scorecard{padding:15px 12px}
.scorecard-board{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:6px;margin:16px 0}
.scorecard-name{font-size:.83rem}
.scorecard-figures{font-size:1.25rem}
.scorecard-top{font-size:.72rem}
.sports-footer{margin-top:32px;padding:16px 14px}
.sports-footer nav{gap:6px}
}


/* Country flags stand on their own; keep the existing crest boxes for clubs. */
.team-mark.flag-only,
.mini-mark.flag-only{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.team-mark.flag-only .primary-flag{font-size:3.4rem;line-height:1}
.mini-mark.flag-only .primary-flag{font-size:2.65rem;line-height:1}
@media(max-width:720px){
  .team-mark.flag-only .primary-flag{font-size:3rem}
  .mini-mark.flag-only .primary-flag{font-size:2.5rem}
}


/* Football crests: no white tile; make the actual logos easy to see. */
#featuredMatches > .featured-card:first-child .team-mark,
body[data-sport-detail="football"] .scorecard-team .mini-mark{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
#featuredMatches > .featured-card:first-child .team-mark img{
  width:64px;
  height:64px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
body[data-sport-detail="football"] .scorecard-team .mini-mark img{
  width:48px;
  height:48px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
@media(max-width:720px){
  #featuredMatches > .featured-card:first-child .team-mark img{
    width:55px;
    height:55px;
  }
}


/* Football and Cricket section headings: free-standing sport icon, no tile or outline. */
body[data-sport-detail="football"] .detail-hero .sport-title-logo,
body[data-sport-detail="cricket"] .detail-hero .sport-title-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size:clamp(2.2rem,5vw,3rem);
  line-height:1;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
}


/* Standalone sport symbols for the Football and Cricket choices on Sports home. */
.featured-card .sport-tag .sport-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:1.85rem;
  line-height:1;
}
@media(max-width:720px){
  .featured-card .sport-tag .sport-icon{font-size:1.75rem}
}

/* Main Sports landing page: centered, editorial-style title and subtitle.
   Keep the Football and Cricket detail-page headings unchanged. */
.sports-hero:not(.detail-hero){
  text-align:center;
  padding:clamp(34px,5vw,58px) 0 30px;
}
.sports-hero:not(.detail-hero) h1{
  margin:0;
  color:var(--green-deep);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3rem,7vw,4.75rem);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.035em;
}
.sports-hero:not(.detail-hero) h1::after{
  content:"";
  display:block;
  width:74px;
  height:3px;
  margin:16px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold),var(--green));
}
.sports-hero:not(.detail-hero) p{
  max-width:36rem;
  margin:14px auto 0;
  color:#596c61;
  font-size:clamp(.98rem,2vw,1.125rem);
  font-weight:400;
  line-height:1.5;
  letter-spacing:.01em;
  text-align:center;
}
@media(max-width:370px){
  .sports-hero:not(.detail-hero){padding:32px 0 22px}
  .sports-hero:not(.detail-hero) h1::after{margin-top:12px}
}

/* Crawlable sport-category links and readable introductions, without changing match cards. */
.sports-discovery{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto 22px}
.sports-discovery a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9e6de;background:#ffffffed;border-radius:999px;padding:9px 16px;color:#175b43;text-decoration:none;font:700 .95rem/1.35 "Times New Roman",serif}
.sports-discovery a:hover,.sports-discovery a:focus-visible{border-color:#176b50;text-decoration:underline}
.sport-discovery-intro{max-width:640px;margin:12px auto 2px;color:#596c61;font-size:1rem;line-height:1.55;text-align:center}
@media(max-width:550px){.sports-discovery{gap:7px;margin-bottom:16px}.sports-discovery a{font-size:.84rem;padding:8px 10px}}
