/* Shared surfaces for the public WordPress templates. */
body.tlv2-matchday-site {
  --md-paper:#212121; --md-panel:#292d2e; --md-edge:#484e4f;
  --md-text:#f7f7f7; --md-muted:#c2c7c8; --md-accent:#20ef74;
}
body.tlv2-matchday-site, body.tlv2-matchday-site :is(#wrapper,#main,.page-wrapper,.fad-entity-page,.tlv3-seo-article-section,.blog-wrapper) {
  background:var(--md-paper) !important; color:var(--md-text);
}
body.tlv2-matchday-site :is(.tlv-ref-header.tlv3-header,.tlv-ref-footer.tlv3-footer,.tlv-ref-mobile-panel,.tlv-page-banner) {
  background:#303536 !important; color:var(--md-text); border-color:var(--md-edge) !important;
}
body.tlv2-matchday-site .tlv-ref-nav .tlv-menu a {color:var(--md-text);font-weight:700}
body.tlv2-matchday-site .tlv-ref-nav .tlv-menu :is(a:hover,[aria-current="page"]) {color:var(--md-accent) !important}
body.tlv2-matchday-site :is(.fad-mc-hero,.fad-mc-panel,.fad-mc-seo-summary,.fad-entity-hero,.fad-entity-section,.fad-entity-copy,.fad-entity-directory-head,.fad-entity-directory-grid>a,.fad-fixtures-group,.fad-results-toolbar,.fad-fixtures-league-bar,.fad-standing-toolbar,.tlv3-seo-article,.tlv-archive-guide,.blog-single .article-inner,.post-item .box-text) {
  background:var(--md-panel) !important; color:var(--md-text) !important; border:1px solid var(--md-edge) !important; border-radius:12px;
}
body.tlv2-matchday-site :is(.fad-entity-hero,.fad-mc-hero,.tlv-page-banner,.fad-entity-directory-head) {
  border-top:3px solid #46c785 !important;
}
body.tlv2-matchday-site :is(.fad-entity-page,.article-inner,.blog-wrapper,.tlv3-seo-article,.tlv-page-banner,.fad-mc-hero,.fad-mc-seo-summary,.tlv-archive-guide) :is(h1,h2,h3,h4,.entry-title,.post-title a) {color:var(--md-text) !important}
body.tlv2-matchday-site :is(.fad-entity-copy,.blog-single .entry-content,.tlv3-seo-article,.fad-mc-seo-summary,.tlv-archive-guide) :is(p,li,figcaption) {color:var(--md-muted)}
body.tlv2-matchday-site :is(.fad-entity-copy,.blog-single .entry-content,.tlv3-seo-article,.tlv-archive-guide) :is(p,li)>a {color:var(--md-accent)}
body.tlv2-matchday-site .blog-single .article-inner {padding:clamp(12px,3vw,32px)}
body.tlv2-matchday-site .post-item .box-text {padding:14px}
body.tlv2-matchday-site .fad-entity-directory-grid>a:hover {border-color:var(--md-accent) !important}
body.tlv2-matchday-site .fad-entity-directory-grid>a :is(strong,b) {color:var(--md-text)}
body.tlv2-matchday-site .fad-ls-heading {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px;background:none !important;border:0;text-align:center;margin:12px auto 18px}
body.tlv2-matchday-site .fad-ls-heading>div>span {display:none}
body.tlv2-matchday-site .fad-ls-heading h1 {color:var(--md-text) !important;font-size:clamp(1.35rem,2.4vw,2.1rem);text-transform:uppercase;line-height:1.2;margin:0}
body.tlv2-matchday-site .fad-ls-heading>a {color:var(--md-accent);font-size:.82rem}
body.tlv2-matchday-site .fad-wrap[data-tlv2-matchday] {width:min(1280px,calc(100% - 24px)) !important;max-width:1280px !important;margin:0 auto !important;left:auto;transform:none;background:transparent !important;border:0 !important;padding:12px 0 !important}
body.tlv2-matchday-site .fad-ls-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.tlv2-matchday-site .fad-ls-card {background:var(--md-panel) !important;border:1px solid var(--md-edge) !important}
@media(max-width:1020px){body.tlv2-matchday-site .fad-ls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.tlv2-matchday-site .fad-ls-grid{grid-template-columns:minmax(0,1fr)}}

body.tlv2-matchday-site .tlv2md {
 --panel:#292d2e;--panel-live:linear-gradient(110deg,#2e2929,#352929 55%,#452828);--text:#f7f7f7;
 --edge:#424849;--accent:#00ed63;--live:#277d30;--control-edge:#778082;--muted:#b5babb;
 font-family:Inter,Arial,sans-serif;color:var(--text);line-height:1.4;
 .filters,.card-top,.center,.team,.stats,.hosts,.host {display:flex;align-items:center}
 a:not(.watch) {color:inherit}
 button {margin:0;text-transform:none;letter-spacing:normal}
 .filters button, .filters button * {text-decoration:none !important}
 .filters button .badge {position:static;width:auto;height:auto;margin:0;line-height:normal}
 .card-top time {margin:0}
 .game {margin:0}
 .watch,.team a,.card-top a {text-decoration:none}
 .watch:focus-visible,.team a:focus-visible,.card-top a:focus-visible {outline:2px solid white}
 .team a:hover,.card-top a:hover {text-decoration:underline}
.filters {justify-content:center;gap:10px;flex-wrap:wrap;margin-block-end:16px}
button {font:inherit}
button {cursor:pointer;color:inherit;background:#323738;border:1px solid var(--control-edge);border-radius:7px;min-height:44px;padding:0 14px}
.filters button {display:flex;align-items:center;gap:8px;font-weight:740}
.filters [aria-pressed=true] {background:linear-gradient(90deg,rgba(39,129,89,.62),rgba(48,64,62,.94));color:#20ef74;border-color:#498360}
.score {background:transparent;color:#ff4b55}
.featured .score {background:transparent;color:white}
.watch {background:#464f50;color:var(--accent)}
.watch:hover {background:#3b4644}
.badge {border-radius:50%;background:#ffffff17;min-width:25px;min-height:25px;display:grid;place-items:center;font-size:.8rem;color:white}
[aria-pressed=true] .badge {background:#0003;color:white}
.icon {color:#d6d6d6;font-size:1.12em}
.icon-live {color:#20ef74}
.icon-hot {color:#ff8188}
[aria-pressed=true] .icon {color:inherit}
:focus-visible {outline:2px solid #ffffff;outline-offset:2px}
.board {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.game {container:game / inline-size;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--edge);border-radius:9px;min-width:0;position:relative;padding-top:22px}
.game.featured {background:var(--panel-live);border-color:#624245}
.ribbon {position:absolute;inset-block-start:0;align-self:center;padding:4px 9px;border-radius:0 0 4px 4px;background:#383d40;color:#bec3c5;text-transform:uppercase;font-size:.64rem;font-weight:800}
.featured .ribbon {padding-inline:18px;color:#f6fff6;background:var(--live);clip-path:polygon(0 0,100% 0,86% 100%,14% 100%)}
.card-top {justify-content:space-between;gap:8px;padding:3px 12px 6px;min-height:40px}
.card-top strong {font-size:.85rem;overflow-wrap:anywhere}
.card-top time {flex:none;font:650 .72rem/1.2 Inter,Arial,sans-serif;border:1px solid #707070;border-radius:5px;padding:6px}
.matchup {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:start;padding:8px 12px 16px;flex:1}
.team,.center {flex-direction:column;gap:6px;text-align:center}
.team {font-size:.88rem;line-height:1.3;overflow-wrap:anywhere}
.crest {width:43px;height:43px;object-fit:contain;border-radius:50%;background:#f0f0f0;padding:3px}
.score,.watch {border-radius:5px;text-align:center;font-weight:800}
.score {padding:4px 11px;min-width:68px;font-size:1rem;font-variant-numeric:tabular-nums}
.watch {min-height:36px;padding:7px 12px;display:grid;place-items:center;font-size:.78rem}
.featured .card-bottom {background:linear-gradient(110deg,#303030,#353030 55%,#3b3030)}
.card-bottom {border-radius:0 0 8px 8px;background:rgba(50,55,56,.5);border-top:1px solid #ffffff19;padding:8px 10px}
.card-bottom:empty {display:none}
.stats,.hosts {flex-wrap:wrap;gap:6px 9px}
.stats {justify-content:center;color:#d5d5d5;font-size:.71rem;font-weight:650}
.stats i {font-style:normal;margin-right:3px}
.stat-1,.stat-4 {color:var(--accent)}
.stat-2 {color:#ff746b}
.stat-3 {color:#f7d660}
.stats + .hosts {margin-top:8px}
.host {gap:5px;border:1px solid #fff2;border-radius:20px;padding:3px 9px 3px 4px;background:rgba(19,23,24,.42);font-size:.73rem;font-weight:700}
.avatar {width:22px;height:22px;border-radius:50%;object-fit:cover}
.note,#empty {margin-block:26px;color:var(--muted);font-size:.82rem}
.sr {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}

@container game (max-width:340px) {.matchup {gap:4px;padding-inline:6px}.card-top {padding-inline:8px}.team {font-size:.8rem}}
@media(max-width:1020px) {.board {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px) {
 .board {grid-template-columns:minmax(0,1fr);gap:12px}
 .filters {justify-content:start;flex-wrap:nowrap;overflow:auto;padding:3px;scrollbar-width:thin}
 .filters button {flex:none;gap:5px;padding:0 9px;font-size:.84rem}
 .watch {min-height:44px}
}
}

/* Editorial and match navigation share the same dark surfaces and mint accents. */
body.tlv2-matchday-site {--md-mint:#83e8ba;--md-tint:#253b33;--md-radius:12px}
body.tlv2-matchday-site :where(h1,h2,h3,h4,h5,h6,.heading-font) {color:var(--md-text)}
body.tlv2-matchday-site :is(.tlv-priority-links h2,.tlv-priority-links h2 strong,.tlv-home-toc__title,
 .tlv3-fixture-card__badge,.fad-lineup .fad-card h3 small,.fad-match-center .fad-player-list li span,
 .fad-match-center .fad-table th,.fad-mc-blv-picker>strong,.fad-mc-data-list span,.fad-mc-links a,.fad-mc-live-actions a,
 .fad-mc-live-head span,.fad-mc-tabs button.is-active,.fad-odds-table tbody th.is-live-label span,
 .fad-pitch-player span,.fad-fixtures-anchors span,.fad-fixtures-group a,.fad-fixtures-score strong,
 .fad-fixtures-title,.fad-results-current,.fad-results-time,.fad-results-title,.fad-standing-current,.fad-standing-option.is-active,
 .fad-standing-title,.fad-fh-heading-meta>strong,.tlv-server-picker em,.tlv-detail-panel th,.tlv-stat-heading,
 .tlv-lineup-nav button.is-active,.tlv-stat-values>span,.tlv-h2h .draw,.tlv-h2h h3,.tlv-related-card small,
 .tlv-match-breadcrumb a,.fad-entity-hero-stats strong,.entry-category a,.entry-meta a) {color:var(--md-mint)!important}
body.tlv2-matchday-site .fad-wrap.fad-match-center .tlv-match-breadcrumb a,
body.tlv2-matchday-site.tlv-mobile-match .fad-match-center [data-mobile-tab="blv"] .fad-mc-blv-picker>strong {color:var(--md-mint)!important}
body.tlv2-matchday-site .tlv3-seo-article a {color:var(--md-mint)}
body.tlv2-matchday-site :is(.fad-entity-hero,.fad-entity-section,.fad-entity-copy) {padding:clamp(14px,2.2vw,28px);margin-block:14px}
body.tlv2-matchday-site .fad-match-center {background:var(--md-paper)!important}
body.tlv2-matchday-site .fad-match-center :is(.fad-mc-chat,.fad-mc-chat-head,.fad-mc-chat-cta,.tlv-server-picker,.fad-mc-blv-picker,.tlv-player-cta) {
 background:var(--md-panel)!important;border-color:var(--md-edge)!important;color:var(--md-text)
}
body.tlv2-matchday-site .fad-match-center :is(.fad-mc-chat-zalo,.fad-mc-chat-bet,.tlv-player-cta a,.fad-mc-blv-button) {
 background:var(--md-tint)!important;color:var(--md-mint)!important;border:1px solid #537665!important;box-shadow:none!important
}
body.tlv2-matchday-site .fad-match-center :is(.tlv-server-picker button.is-active,.fad-mc-blv-button.is-active,.tlv-mobile-tabs button.is-active) {
 background:var(--md-tint)!important;color:var(--md-mint)!important;border-color:var(--md-mint)!important
}
body.tlv2-matchday-site .fad-match-center .fad-mc-score span {background:#202726!important;border-color:#518773!important;color:var(--md-text)!important}
body.tlv2-matchday-site .fad-match-center .fad-mc-score em {background:#244136!important;color:#a1efc8!important}
body.tlv2-matchday-site .fad-match-center .tlv-match-breadcrumb {padding-block:10px}
body.tlv2-matchday-site .fad-mc-live-layout {column-gap:clamp(12px,1.4vw,20px)}
body.tlv2-matchday-site .fad-mc-live-column,.tlv2-matchday-site .fad-mc-chat {min-width:0}
body.tlv2-matchday-site .md-home-block {width:min(1280px,calc(100% - 24px));margin:clamp(28px,4vw,54px) auto;color:var(--md-text);text-align:start}
body.tlv2-matchday-site .md-section-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body.tlv2-matchday-site :is(.md-section-head,.md-footer) h2 {color:var(--md-text)!important;margin:0;line-height:1.2}
body.tlv2-matchday-site .md-section-head h2 {font-size:clamp(1.25rem,2.4vw,1.75rem)}
body.tlv2-matchday-site .md-section-head a {flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--md-mint);font-weight:700;text-decoration:none}
body.tlv2-matchday-site .md-news-grid,body.tlv2-matchday-site .md-results-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.tlv2-matchday-site :is(.md-result,.md-news-card) {margin:0;height:100%;overflow:hidden;border:1px solid var(--md-edge);border-radius:var(--md-radius);background:var(--md-panel);color:var(--md-text);box-sizing:border-box}
body.tlv2-matchday-site .md-news-grid article {margin:0;min-width:0}
body.tlv2-matchday-site .md-news-card {display:block;text-decoration:none}
body.tlv2-matchday-site .md-news-card:hover {border-color:var(--md-mint)}
body.tlv2-matchday-site .md-news-card img {display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover}
body.tlv2-matchday-site .md-news-card div {padding:16px}
body.tlv2-matchday-site .md-news-card h3 {font-size:1.06rem;color:var(--md-text)!important;line-height:1.35;margin:6px 0 8px}
body.tlv2-matchday-site .md-news-card p {font-size:.9rem;color:var(--md-muted);margin:0;line-height:1.55}
body.tlv2-matchday-site .md-home-block time {font-size:.75rem;color:var(--md-muted);font-variant-numeric:tabular-nums}
body.tlv2-matchday-site .md-result {padding:14px 16px;display:flex;flex-direction:column;gap:8px}
body.tlv2-matchday-site .md-result header {display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-bottom:1px solid var(--md-edge);padding-bottom:8px;font-size:.79rem;color:var(--md-muted)}
body.tlv2-matchday-site .md-result time {flex:none}
body.tlv2-matchday-site .md-result-team {display:flex;align-items:center;gap:8px;font-weight:650;line-height:1.3;min-height:26px}
body.tlv2-matchday-site .md-result-team img {object-fit:contain;width:24px;height:24px}
body.tlv2-matchday-site .md-result-team b {margin-inline-start:auto;min-width:28px;text-align:center;color:var(--md-mint);border-radius:5px;background:var(--md-tint);font-variant-numeric:tabular-nums}
body.tlv2-matchday-site .md-footer {text-align:start;padding-block:clamp(28px,4vw,52px) 14px}
body.tlv2-matchday-site .md-footer-grid {display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:clamp(16px,5vw,64px)}
body.tlv2-matchday-site .md-footer-brand p {max-width:46ch;margin:12px 0;color:var(--md-muted)}
body.tlv2-matchday-site .md-footer h2 {font-size:1.05rem;margin:0 0 12px}
body.tlv2-matchday-site .md-footer nav ul {list-style:none;display:grid;gap:4px;margin:0;padding:0}
body.tlv2-matchday-site .md-footer nav li {margin:0}
body.tlv2-matchday-site .md-footer nav a {display:inline-flex;align-items:center;min-height:30px;color:#e3e8e6;text-decoration:none}
body.tlv2-matchday-site .md-footer nav a:hover,body.tlv2-matchday-site .md-section-head a:hover {color:var(--md-mint);text-decoration:underline}
@media(max-width:900px){body.tlv2-matchday-site .md-results-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 body.tlv2-matchday-site :is(.md-news-grid,.md-results-grid) {grid-template-columns:minmax(0,1fr)}
 body.tlv2-matchday-site .md-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tlv2-matchday-site .md-footer-brand {grid-column:1/-1}
 body.tlv2-matchday-site .md-footer nav a {min-height:36px}
}

body.tlv2-matchday-site .md-section-head h2 {flex:1;min-width:0;width:auto}
body.tlv2-matchday-site .post-item .post-title,
body.tlv2-matchday-site .post-item a:hover .post-title {color:var(--md-text)!important}
body.tlv2-matchday-site.single-post .entry-meta,
body.tlv2-matchday-site.single-post .entry-meta :is(.posted-on,.byline) {color:var(--md-muted)!important}
body.tlv2-matchday-site .fad-match-center .tlv-chat-widget :is(.cw-info-button,.cw-login-button,.cw-btn-update,.cw-send-msg) {
 background:#83e8ba!important;color:#162a21!important;border-color:#83e8ba!important;box-shadow:none!important
}
body.tlv2-matchday-site .fad-match-center .tlv-chat-widget .cw-send-msg svg {color:#162a21}

body.tlv2-matchday-site .fad-match-center .fad-mc-faq {
  margin-block: 1rem;
  padding: clamp(1rem, .75rem + 1.4vw, 2rem);
  overflow-wrap: anywhere;
}
body.tlv2-matchday-site .fad-match-center .fad-mc-faq > h2 {
  margin: 0 0 1rem;
  padding: 0 0 .85rem;
  border: 0;
  border-bottom: 1px solid var(--md-edge);
  color: var(--md-mint);
  font-size: clamp(1.125rem, 1rem + .7vw, 1.5rem);
  line-height: 1.35;
  text-transform: none;
}
body.tlv2-matchday-site .fad-mc-faq > h3 {
  margin: 0 0 .35rem;
  color: var(--md-text);
  font-size: 1.05rem;
  line-height: 1.45;
}
body.tlv2-matchday-site .fad-mc-faq > p {
  max-width: 78ch;
  margin: 0;
  color: var(--md-muted);
  line-height: 1.6;
}
body.tlv2-matchday-site .fad-mc-faq > p + h3 {
  margin-top: 1rem;
}
