:root {
  --tlv-primary: #15d978;
  --tlv-secondary: #04130d;
  --tlv-accent: #ffd84d;
  --tlv-red: #ff3b52;
  --tlv-bg: #06100d;
  --tlv-surface: #0b1b16;
  --tlv-surface-2: #102820;
  --tlv-text: #eefaf4;
  --tlv-muted: #9db8ad;
  --tlv-border: rgba(255, 255, 255, 0.1);
  --tlv-radius: 18px;
  --tlv-container: 1180px;
  --tlv-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

body.tlv-sports-site {
  background: var(--tlv-bg);
  color: var(--tlv-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.tlv-sports-site #header,
body.tlv-sports-site .header-wrapper,
body.tlv-sports-site #footer,
body.tlv-sports-site .absolute-footer {
  display: none !important;
}

body.tlv-sports-site #main,
body.tlv-sports-site .page-wrapper {
  background:
    radial-gradient(circle at 15% 0%, rgba(21, 217, 120, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(255, 216, 77, 0.1), transparent 24rem),
    var(--tlv-bg);
  padding: 0;
}

body.tlv-sports-site a {
  color: inherit;
}

.tlv-shell {
  width: min(var(--tlv-container), calc(100% - 40px));
  margin: 0 auto;
}

.tlv-announcement {
  background: linear-gradient(90deg, #0c2018, #173527);
  border-bottom: 1px solid var(--tlv-border);
  color: var(--tlv-muted);
  font-size: 13px;
}

.tlv-announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tlv-announcement a,
.tlv-link {
  color: var(--tlv-primary);
  font-weight: 800;
}

.tlv-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
  background: var(--tlv-red);
  box-shadow: 0 0 0 6px rgba(255, 59, 82, 0.12);
}

.tlv-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6, 16, 13, 0.88);
  border-bottom: 1px solid var(--tlv-border);
  backdrop-filter: blur(18px);
}

.admin-bar .tlv-header {
  top: 32px;
}

.tlv-header-main__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tlv-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.tlv-logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #06100d;
  background: linear-gradient(135deg, var(--tlv-accent), var(--tlv-primary));
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(21, 217, 120, 0.24);
}

.tlv-logo__text {
  display: grid;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.tlv-logo__text strong {
  color: var(--tlv-primary);
}

.tlv-logo__text small {
  color: var(--tlv-muted);
  font-size: 10px;
  margin-top: 5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tlv-nav {
  flex: 1;
}

.tlv-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tlv-menu a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--tlv-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.tlv-menu a:hover,
.tlv-menu .current-menu-item > a {
  color: #06100d;
  background: var(--tlv-primary);
}

.tlv-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tlv-search input {
  width: 188px;
  height: 42px;
  border: 1px solid var(--tlv-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
}

.tlv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #06100d;
  background: var(--tlv-primary);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(21, 217, 120, 0.22);
}

.tlv-btn:hover {
  transform: translateY(-1px);
  color: #06100d;
}

.tlv-btn--accent {
  background: linear-gradient(135deg, var(--tlv-accent), var(--tlv-primary));
}

.tlv-btn--ghost {
  color: var(--tlv-text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border: 1px solid var(--tlv-border);
}

.tlv-btn--light {
  background: #fff;
  color: #06100d;
}

.tlv-btn--full {
  width: 100%;
  margin-top: 12px;
}

.tlv-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--tlv-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tlv-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.tlv-menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tlv-mobile-panel {
  padding: 14px 0 20px;
  border-top: 1px solid var(--tlv-border);
}

.tlv-mobile-panel .tlv-menu {
  display: grid;
  align-items: stretch;
}

.tlv-mobile-panel .tlv-menu a {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.tlv-home-hero {
  padding: 82px 0 42px;
  overflow: hidden;
}

.tlv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.tlv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tlv-primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tlv-home-hero h1,
.tlv-page-banner h1 {
  margin: 18px 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 950;
}

.tlv-home-hero h1 span {
  color: var(--tlv-primary);
}

.tlv-hero-copy {
  max-width: 650px;
  color: var(--tlv-muted);
  font-size: 18px;
  line-height: 1.75;
}

.tlv-hero-actions,
.tlv-hero-badges,
.tlv-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tlv-hero-actions {
  margin-top: 28px;
}

.tlv-hero-badges {
  margin-top: 24px;
}

.tlv-hero-badges span,
.tlv-feature-card,
.tlv-league-card,
.tlv-match-card,
.tlv-post-card,
.tlv-contact-card {
  border: 1px solid var(--tlv-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--tlv-shadow);
}

.tlv-hero-badges span {
  border-radius: 999px;
  color: #cbe5db;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.tlv-live-panel {
  position: relative;
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(circle at 35% 20%, rgba(21, 217, 120, 0.36), transparent 18rem),
    linear-gradient(145deg, #122c22, #07110e);
  border: 1px solid rgba(21, 217, 120, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.tlv-live-screen {
  min-height: 250px;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 72px),
    linear-gradient(135deg, #164432, #0b1b16);
}

.tlv-live-screen b {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tlv-red);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.tlv-live-screen h2 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.tlv-live-screen p {
  margin: 0;
  color: #d8efe6;
}

.tlv-score-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.tlv-score-strip strong {
  color: var(--tlv-accent);
  font-size: 24px;
}

.tlv-stat-strip {
  margin-top: 44px;
  padding: 18px;
  border: 1px solid var(--tlv-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.tlv-stat-strip div {
  flex: 1 1 180px;
  padding: 12px 18px;
}

.tlv-stat-strip strong {
  display: block;
  color: #fff;
  font-size: 30px;
}

.tlv-stat-strip span {
  color: var(--tlv-muted);
  font-weight: 750;
}

.tlv-section {
  padding: 70px 0;
}

.tlv-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.tlv-section-head h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.tlv-section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--tlv-muted);
}

.tlv-filter {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--tlv-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.tlv-filter button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tlv-muted);
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}

.tlv-filter button.is-active {
  color: #06100d;
  background: var(--tlv-primary);
}

.tlv-schedule-list {
  display: grid;
  gap: 14px;
}

.tlv-match-card {
  display: grid;
  grid-template-columns: 170px 1fr 150px;
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border-radius: var(--tlv-radius);
}

.tlv-match-card--live {
  border-color: rgba(255, 59, 82, 0.44);
}

.tlv-match-card--hot {
  border-color: rgba(255, 216, 77, 0.36);
}

.tlv-match-time strong {
  display: block;
  color: #fff;
  font-size: 28px;
}

.tlv-match-time span,
.tlv-match-meta b {
  color: var(--tlv-muted);
  font-size: 13px;
}

.tlv-match-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

.tlv-match-teams em {
  color: var(--tlv-accent);
  font-style: normal;
}

.tlv-match-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.tlv-match-meta a {
  color: var(--tlv-primary);
  font-weight: 900;
}

.tlv-feature-grid,
.tlv-league-grid,
.tlv-post-grid,
.tlv-contact-grid {
  display: grid;
  gap: 18px;
}

.tlv-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tlv-feature-card,
.tlv-league-card,
.tlv-contact-card {
  border-radius: var(--tlv-radius);
  padding: 22px;
}

.tlv-feature-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(21, 217, 120, 0.16);
  color: var(--tlv-primary);
  font-size: 24px;
  font-weight: 950;
}

.tlv-feature-card h3,
.tlv-league-card h3,
.tlv-post-card h3,
.tlv-contact-card h3 {
  color: #fff;
}

.tlv-feature-card p,
.tlv-league-card p,
.tlv-post-card p,
.tlv-contact-card p {
  color: var(--tlv-muted);
}

.tlv-league-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.tlv-league-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.72)),
    linear-gradient(135deg, rgba(21, 217, 120, 0.22), rgba(255, 216, 77, 0.08));
}

.tlv-league-card:first-child {
  grid-row: span 2;
}

.tlv-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tlv-post-card {
  overflow: hidden;
  border-radius: var(--tlv-radius);
}

.tlv-post-thumb {
  min-height: 190px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 216, 77, 0.35), transparent 13rem),
    linear-gradient(135deg, #123d2c, #0a1813);
  color: var(--tlv-accent);
  font-weight: 950;
  font-size: 36px;
  text-decoration: none;
}

.tlv-post-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tlv-post-body {
  padding: 20px;
}

.tlv-post-date {
  color: var(--tlv-primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tlv-post-card h3 {
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.18;
}

.tlv-page-banner {
  padding: 82px 0 46px;
  border-bottom: 1px solid var(--tlv-border);
  background: linear-gradient(135deg, rgba(21, 217, 120, 0.16), rgba(255, 216, 77, 0.06));
}

.tlv-page-banner h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.tlv-page-banner p {
  max-width: 760px;
  color: var(--tlv-muted);
  font-size: 18px;
}

.tlv-content-panel {
  border: 1px solid var(--tlv-border);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--tlv-muted);
}

.tlv-content-panel h2,
.tlv-content-panel h3 {
  color: #fff;
}

.tlv-contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.tlv-contact-form label {
  display: grid;
  gap: 7px;
  color: #d8efe6;
  font-weight: 850;
}

.tlv-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tlv-contact-form input,
.tlv-contact-form textarea {
  width: 100%;
  border: 1px solid var(--tlv-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  padding: 13px 14px;
}

.tlv-contact-form textarea {
  resize: vertical;
}

.tlv-form-note {
  color: var(--tlv-primary);
  font-weight: 900;
}

.tlv-footer {
  padding: 64px 0 24px;
  background: #030807;
  color: var(--tlv-muted);
}

.tlv-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--tlv-primary), var(--tlv-accent));
  color: #06100d;
}

.tlv-footer-cta .tlv-kicker,
.tlv-footer-cta h2 {
  color: #06100d;
}

.tlv-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 34px;
}

.tlv-footer h3 {
  color: #fff;
}

.tlv-footer .tlv-menu,
.tlv-footer-list {
  display: grid;
  gap: 8px;
  justify-content: start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tlv-footer .tlv-menu a,
.tlv-footer-list a {
  padding: 0;
  color: var(--tlv-muted);
  background: transparent;
}

.tlv-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--tlv-border);
}

.tlv-backtop {
  border: 0;
  background: transparent;
  color: var(--tlv-primary);
  font-weight: 900;
  cursor: pointer;
}

.blog-wrapper,
.archive-page-header,
.single-post .article-inner,
.search .page-wrapper .row,
.error404 .page-wrapper .row {
  color: var(--tlv-text);
}

.blog-wrapper .post-item .col-inner,
.single-post .article-inner {
  border: 1px solid var(--tlv-border);
  border-radius: var(--tlv-radius);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}


/* Codex reference homepage layer: tieulam.tv screenshot */
body.tlv-sports-site {
  background: #010403 !important;
  color: #d7d7d7;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

body.tlv-sports-site #main,
body.tlv-sports-site .page-wrapper {
  background: #010403 !important;
}

.tlv-ref-shell {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.tlv-ref-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #010403;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-bar .tlv-ref-header {
  top: 32px;
}

.tlv-ref-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.tlv-ref-logo {
  min-width: max-content;
  color: #ffc247;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 2px 0 #6e3500, 0 0 14px rgba(255, 194, 71, 0.5);
}


.tlv-ref-logo-img {
  display: block;
  width: auto;
  max-width: 330px;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 194, 71, 0.35));
}
.tlv-ref-logo span {
  display: inline-flex;
  align-items: center;
  font-size: 38px;
  line-height: 1;
  transform: skew(-7deg);
}

.tlv-ref-logo span::after {
  content: "";
  width: 44px;
  height: 44px;
  margin-left: -4px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #111 0 22%, transparent 23%),
    conic-gradient(from 20deg, #f5be39, #fff1b8, #a95b02, #f5be39);
  border: 3px solid #d58a14;
  box-shadow: 0 0 14px rgba(255, 194, 71, 0.4);
}

.tlv-ref-logo--center {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.tlv-ref-logo--center span {
  font-size: 48px;
}

.tlv-ref-nav {
  flex: 1;
}

.tlv-ref-nav .tlv-menu {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tlv-ref-nav .tlv-menu a {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 0 18px;
  border-radius: 0;
  color: #f2f2f2;
  background: transparent;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}

.tlv-ref-nav .tlv-menu a:hover,
.tlv-ref-nav .tlv-menu .current-menu-item > a {
  background: linear-gradient(#17350f, #0b1808);
  border-top: 4px solid #67bf28;
  color: #fff;
}

.tlv-ref-menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  background: #151515;
  color: #fff;
  border-radius: 4px;
}

.tlv-ref-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.tlv-ref-menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tlv-mobile-panel.tlv-ref-mobile-panel {
  background: #070707;
  border-top: 1px solid rgba(255,255,255,.1);
}

.tlv-ref-mobile-panel .tlv-menu {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
}

.tlv-ref-mobile-panel .tlv-menu a {
  display: block;
  padding: 14px;
  background: #161616;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.tlv-ref-home {
  padding-top: 78px;
  background: #010403;
}

.tlv-ref-home .section-content,
.tlv-ref-simple-page .section-content {
  width: min(1380px, calc(100% - 42px));
  margin: 0 auto;
}

.tlv-ref-hero {
  text-align: center;
}

.tlv-ref-hero h1 {
  max-width: 920px;
  margin: 0 auto 28px;
  color: #f7f7f7;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 950;
  text-transform: uppercase;
}

.tlv-ref-hero h2 {
  margin: 0 0 70px;
  color: #0e9f23;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}

.tlv-ref-server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: min(980px, 100%);
  margin: 0 auto 44px;
}

.tlv-ref-server-card {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, #666, #2d2f2f);
  box-shadow: inset 0 0 60px rgba(255,255,255,.06);
}

.tlv-ref-server-card--green {
  border: 2px solid #078018;
}

.tlv-ref-server-card--gold {
  border: 2px solid #d98205;
}

.tlv-ref-card-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #855000;
  background: conic-gradient(from 20deg, #f5be39, #fff4cb, #a95b02, #f5be39);
  border: 7px solid #f3f3f3;
  font-size: 22px;
  font-weight: 950;
}

.tlv-ref-server-card p {
  margin: 0;
  color: #e6e6e6;
  font-size: 17px;
}

.tlv-ref-server-card a {
  min-width: 250px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #111;
  background: #ffc400;
  box-shadow: 0 0 14px rgba(255, 196, 0, 0.75);
  font-size: 18px;
  font-weight: 950;
  font-style: italic;
  text-decoration: none;
}

.tlv-ref-hero h3 {
  margin: 0 0 38px;
  color: #fff;
  font-size: 33px;
  line-height: 1.18;
  font-weight: 950;
  text-transform: uppercase;
}

.tlv-ref-intro-card {
  width: min(1100px, 100%);
  margin: 0 auto 44px;
  overflow: hidden;
  border-radius: 20px;
  background: #202324;
  color: #bfc4c4;
}

.tlv-ref-panel-title {
  padding: 26px 24px 22px;
  border-left: 6px solid #3dab36;
  color: #fff;
  background: #1b1d1e;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.tlv-ref-intro-list {
  display: grid;
  background: #202324;
}

.tlv-ref-intro-list a {
  display: block;
  padding: 16px 30px;
  color: #aeb4b4;
  text-decoration: none;
  font-size: 17px;
}

.tlv-ref-intro-list a.is-active,
.tlv-ref-intro-list a:hover {
  background: #2b2f31;
  color: #229c31;
}

.tlv-ref-content {
  padding: 24px 24px 30px;
  background: #2a2d2f;
  color: #c8cccc;
  font-size: 19px;
  line-height: 1.72;
  text-align: left;
}

.tlv-ref-content h1,
.tlv-ref-content h2 {
  color: #fff;
  margin: 18px 0 6px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 950;
}

.tlv-ref-content p {
  margin: 0 0 24px;
}

.tlv-ref-footer {
  padding: 50px 0 42px;
  background: #141516;
  color: #d4d4d4;
  text-align: center;
}

.tlv-ref-footer p {
  max-width: 1060px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 800;
}

.tlv-ref-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 44px;
  margin-bottom: 22px;
}

.tlv-ref-footer-menu a {
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}

.tlv-ref-footer-meta {
  color: #dcdcdc;
  font-size: 15px;
  line-height: 1.8;
}

.tlv-ref-footer-copy {
  margin-top: 18px;
  color: #666;
  font-size: 14px;
}

@media (max-width: 980px) {
  .tlv-ref-header-inner {
    min-height: 76px;
  }

  .tlv-ref-nav {
    display: none;
  }

  .tlv-ref-menu-toggle {
    display: block;
    margin-left: auto;
  }

  
.tlv-ref-logo-img {
  display: block;
  width: auto;
  max-width: 330px;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 194, 71, 0.35));
}
.tlv-ref-logo span {
    font-size: 30px;
  }

  .tlv-ref-logo span::after {
    width: 36px;
    height: 36px;
  }

  .tlv-ref-server-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tlv-ref-shell,
  .tlv-ref-home .section-content,
  .tlv-ref-simple-page .section-content {
    width: min(100% - 24px, 100%);
  }

  .tlv-ref-home {
    padding-top: 42px;
  }

  .tlv-ref-logo--center span {
    font-size: 34px;
  }

  .tlv-ref-hero h1 {
    font-size: 18px;
  }

  .tlv-ref-hero h2 {
    margin-bottom: 36px;
    font-size: 20px;
  }

  .tlv-ref-hero h3 {
    font-size: 23px;
  }

  .tlv-ref-server-card {
    min-height: 230px;
  }

  .tlv-ref-server-card a {
    min-width: 210px;
  }

  .tlv-ref-panel-title {
    font-size: 23px;
  }

  .tlv-ref-content {
    font-size: 16px;
  }
}


/* Codex reference homepage shell cleanup */
body.tlv-sports-site #header.header,
body.tlv-sports-site #footer.footer-wrapper {
  display: none !important;
}


/* Codex source intro section: pasted tieulam.tv content */
.tlv-ref-intro-card--source {
  width: min(1100px, 100%);
  margin-top: 0;
}

.tlv-ref-intro-card--source .tlv-ref-source-content {
  background: #202324;
}

.tlv-ref-intro-card--source .content-section,
.tlv-ref-intro-card--source .content-section > .row {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tlv-ref-intro-card--source .content-section > .row {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2fr);
  gap: 0;
}

.tlv-ref-intro-card--source .content-section > .row::before,
.tlv-ref-intro-card--source .content-section > .row::after {
  display: none;
}

.tlv-ref-intro-card--source .toc-fixed,
.tlv-ref-intro-card--source .col-12,
.tlv-ref-intro-card--source .col-lg-4,
.tlv-ref-intro-card--source .col-lg-8 {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
  position: static;
}

.tlv-ref-intro-card--source .toc-fixed {
  background: #202324;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.tlv-ref-intro-card--source #toc_container {
  padding: 0;
}

.tlv-ref-intro-card--source .toc_list,
.tlv-ref-intro-card--source .toc_list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tlv-ref-intro-card--source .toc_list ul {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tlv-ref-intro-card--source .toc_list a {
  display: block;
  padding: 16px 28px;
  color: #b3b8b8;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.tlv-ref-intro-card--source .toc_list > li:first-child > a,
.tlv-ref-intro-card--source .toc_list a:hover {
  background: #2b2f31;
  color: #1db43a;
}

.tlv-ref-intro-card--source .toc_list ul a {
  padding-left: 42px;
  color: #969d9d;
  font-size: 15px;
}

.tlv-ref-intro-card--source .entry-content {
  margin: 0;
  background: #2a2d2f;
}

.tlv-ref-intro-card--source .overflow-scroll {
  max-height: 780px;
  overflow: auto;
  padding: 26px 28px 34px;
  scrollbar-color: #36b34a #1c1f20;
  scrollbar-width: thin;
}

.tlv-ref-intro-card--source .overflow-scroll::-webkit-scrollbar {
  width: 8px;
}

.tlv-ref-intro-card--source .overflow-scroll::-webkit-scrollbar-track {
  background: #1c1f20;
}

.tlv-ref-intro-card--source .overflow-scroll::-webkit-scrollbar-thumb {
  background: #36b34a;
  border-radius: 999px;
}

.tlv-ref-intro-card--source h1,
.tlv-ref-intro-card--source h2,
.tlv-ref-intro-card--source h3 {
  color: #fff;
  margin: 22px 0 10px;
  font-weight: 950;
  line-height: 1.18;
}

.tlv-ref-intro-card--source h1 {
  margin-top: 0;
  font-size: 26px;
}

.tlv-ref-intro-card--source h2 {
  font-size: 30px;
}

.tlv-ref-intro-card--source h3 {
  font-size: 22px;
}

.tlv-ref-intro-card--source p,
.tlv-ref-intro-card--source li,
.tlv-ref-intro-card--source b,
.tlv-ref-intro-card--source strong {
  color: #c8cccc;
}

.tlv-ref-intro-card--source p,
.tlv-ref-intro-card--source ul {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.7;
}

.tlv-ref-intro-card--source ul {
  padding-left: 24px;
}

.tlv-ref-intro-card--source li {
  margin-bottom: 10px;
}

.tlv-ref-intro-card--source strong,
.tlv-ref-intro-card--source b {
  font-weight: 900;
}

@media (max-width: 900px) {
  .tlv-ref-intro-card--source .content-section > .row {
    grid-template-columns: 1fr;
  }

  .tlv-ref-intro-card--source .toc-fixed {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tlv-ref-intro-card--source .toc_list a {
    padding: 14px 20px;
  }

  .tlv-ref-intro-card--source .toc_list ul a {
    padding-left: 32px;
  }

  .tlv-ref-intro-card--source .overflow-scroll {
    max-height: none !important;
    overflow: visible;
    padding: 22px 20px 28px;
  }
}

@media (max-width: 640px) {
  .tlv-ref-intro-card--source h1 {
    font-size: 22px;
  }

  .tlv-ref-intro-card--source h2 {
    font-size: 25px;
  }

  .tlv-ref-intro-card--source h3 {
    font-size: 19px;
  }

  .tlv-ref-intro-card--source p,
  .tlv-ref-intro-card--source ul {
    font-size: 15px;
  }
}


/* Codex intro TOC alignment fix */
.tlv-ref-intro-card--source .toc_list,
.tlv-ref-intro-card--source .toc_list ul {
  background: #1d2122;
  border: 0;
}

.tlv-ref-intro-card--source .toc_list li {
  margin: 0;
}

.tlv-ref-intro-card--source .toc_list a,
.tlv-ref-intro-card--source .toc_list ul a {
  width: 100%;
  min-height: 0;
  display: block;
  padding: 18px 28px;
  color: #bfc4c4;
  background: transparent;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
}

.tlv-ref-intro-card--source .toc_list > li:first-child > a {
  background: #2b2f31;
  color: #24b943;
}

@media (max-width: 900px) {
  .tlv-ref-intro-card--source .toc_list a,
  .tlv-ref-intro-card--source .toc_list ul a {
    padding: 24px 34px;
    color: #ededed;
    font-size: clamp(18px, 3.8vw, 26px);
    line-height: 1.28;
  }

  .tlv-ref-intro-card--source .toc_list > li:first-child > a {
    color: #35b64a;
  }
}

@media (max-width: 430px) {
  .tlv-ref-intro-card--source .toc_list a,
  .tlv-ref-intro-card--source .toc_list ul a {
    padding: 18px 28px;
    font-size: 16px;
    line-height: 1.42;
  }
}



/* Codex site color variation: tieulamtv3.com */
body.tlv-sports-site .tlv-ref-logo {
  color: #ffd08a;
  text-shadow: 0 2px 0 #362100, 0 0 16px rgba(255, 138, 42, .22);
}

body.tlv-sports-site .tlv-ref-nav .tlv-menu a:hover,
body.tlv-sports-site .tlv-ref-nav .tlv-menu .current-menu-item > a {
  background: linear-gradient(#321607, #1d0b03);
  border-top-color: #ff8a2a;
}

body.tlv-sports-site .tlv-ref-hero h2,
body.tlv-sports-site .tlv-ref-intro-list a.is-active,
body.tlv-sports-site .tlv-ref-intro-list a:hover,
body.tlv-sports-site .tlv-ref-intro-card--source .toc_list > li:first-child > a {
  color: #ff8a2a;
}

body.tlv-sports-site .tlv-ref-panel-title,
body.tlv-sports-site .tlv-ref-intro-card--source .tlv-ref-panel-title {
  border-left-color: #ff8a2a;
}

body.tlv-sports-site .tlv-ref-server-card--green {
  border-color: #ff8a2a;
}

body.tlv-sports-site .tlv-ref-server-card a {
  box-shadow: 0 0 16px rgba(255, 138, 42, .22), 0 0 14px rgba(255, 196, 0, .5);
}

@media (max-width: 900px) {
  body.tlv-sports-site .tlv-ref-intro-card--source .toc_list > li:first-child > a {
    color: #ff8a2a;
  }
}


/* Codex editable UX Block hero */
.tlv-ref-home .tlv-ref-hero-row,
.tlv-ref-home .tlv-ref-hero-row .col {
  margin-left: auto;
  margin-right: auto;
}

.tlv-ref-home .tlv-ref-hero-row .col-inner {
  padding-left: 0;
  padding-right: 0;
}

.tlv-ref-logo-editable {
  margin-bottom: 28px;
}

.tlv-ref-hero-title-text h1 {
  max-width: 920px;
  margin: 0 auto 28px;
  color: #f7f7f7;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 950;
  text-transform: uppercase;
}

.tlv-ref-hero-subtitle-text h2 {
  margin: 0 0 70px;
  color: inherit;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}

.tlv-ref-hero-subtitle-text {
  color: #0e9f23;
}

.tlv-ref-server-grid--editable {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: min(980px, 100%);
  margin: 0 auto 44px !important;
}

.tlv-ref-server-grid--editable::before,
.tlv-ref-server-grid--editable::after {
  display: none;
}

.tlv-ref-server-grid--editable > .col {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  padding: 0 !important;
}

.tlv-ref-server-card--editable {
  min-height: 270px;
}

.tlv-ref-server-card--editable > .col-inner {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px !important;
}

.tlv-ref-card-icon-wrap,
.tlv-ref-card-label {
  margin: 0 !important;
}

.tlv-ref-card-icon-wrap .tlv-ref-card-icon {
  margin-left: auto;
  margin-right: auto;
}

.tlv-ref-card-label p {
  margin: 0 !important;
  color: #e6e6e6;
  font-size: 17px;
}

.tlv-ref-server-grid--editable .button.tlv-ref-card-button,
.tlv-ref-server-grid--editable .tlv-ref-card-button {
  min-width: 250px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  color: #111 !important;
  background: #ffc400 !important;
  box-shadow: 0 0 14px rgba(255, 196, 0, 0.75);
  font-size: 18px;
  font-weight: 950;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.tlv-ref-hero-claim-text h3 {
  margin: 0 0 38px;
  color: #fff;
  font-size: 33px;
  line-height: 1.18;
  font-weight: 950;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .tlv-ref-server-grid--editable {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tlv-ref-logo-editable {
    margin-bottom: 22px;
  }

  .tlv-ref-hero-title-text h1 {
    font-size: 18px;
  }

  .tlv-ref-hero-subtitle-text h2 {
    margin-bottom: 36px;
    font-size: 20px;
  }

  .tlv-ref-hero-claim-text h3 {
    font-size: 23px;
  }

  .tlv-ref-server-card--editable,
  .tlv-ref-server-card--editable > .col-inner {
    min-height: 230px;
  }

  .tlv-ref-server-grid--editable .button.tlv-ref-card-button,
  .tlv-ref-server-grid--editable .tlv-ref-card-button {
    min-width: 210px;
  }
}


/* Codex hero UX alignment fix: tieulamtv3.com */
body.tlv-sports-site .tlv-ref-home .tlv-ref-hero-row {
  width: 100%;
  max-width: 100%;
}

body.tlv-sports-site .tlv-ref-hero-title-text,
body.tlv-sports-site .tlv-ref-hero-subtitle-text,
body.tlv-sports-site .tlv-ref-hero-claim-text {
  text-align: center;
}

body.tlv-sports-site .tlv-ref-hero-subtitle-text {
  color: #ff8a2a;
}

body.tlv-sports-site .tlv-ref-server-grid--editable .button.tlv-ref-card-button,
body.tlv-sports-site .tlv-ref-server-grid--editable .button.tlv-ref-card-button span {
  text-transform: none !important;
  font-style: italic;
}


/* Codex performance mobile polish */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.tlv-ref-intro-card--source,
.tlv-ref-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.tlv-ref-server-card--editable,
.tlv-ref-server-card--editable > .col-inner {
  contain: layout paint;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 640px) {
  .tlv-ref-home .section-content,
  .tlv-ref-simple-page .section-content {
    padding-left: 0;
    padding-right: 0;
  }
}

