/* ============================================================
   theme_003 — Elite Dark
   Inspired by hk-wc2026 style PBN/portal sites.
   Palette: deep navy bg, gold accent, crimson highlight.
   ============================================================ */

:root {
  --t3-bg:        #0a0f1f;
  --t3-bg-elev:   #131a35;
  --t3-bg-card:   #161e3d;
  --t3-bg-soft:   #1b2447;
  --t3-line:      #232c54;
  --t3-line-soft: #1a2243;

  --t3-text:      #eef2ff;
  --t3-text-mid:  #b9c0e0;
  --t3-text-dim:  #7c84a8;

  --t3-gold:      #e0b75a;
  --t3-gold-2:    #f3d07a;
  --t3-crimson:   #d23a3a;
  --t3-crimson-2: #b32626;

  --t3-radius:    14px;
  --t3-radius-sm: 8px;
  --t3-shadow:    0 4px 24px rgba(0, 0, 0, 0.35);

  --t3-serif:     'Segoe UI', 'Microsoft YaHei', sans-serif;
  --t3-sans:      'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body.theme-003, .t3-portal {
  background: var(--t3-bg);
  color: var(--t3-text);
  font-family: var(--t3-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


body.theme-003 a { color: var(--t3-gold); text-decoration: none; transition: color .15s ease; }
body.theme-003 a:hover { color: var(--t3-gold-2); }

body.theme-003 h1,
body.theme-003 h2,
body.theme-003 h3 { font-family: var(--t3-serif); letter-spacing: 0.01em; color: var(--t3-text); }

.t3-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.t3-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 31, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--t3-line-soft);
}
.t3-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px;
}
.t3-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--t3-text) !important;
  font-weight: 600;
}
.t3-brand:hover { color: var(--t3-gold) !important; }
.t3-brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, var(--t3-gold), var(--t3-crimson));
  color: #0a0f1f; font-weight: 800; font-size: 16px;
  box-shadow: 0 2px 6px rgba(224, 183, 90, 0.25);
}
/* Sports sigil variant: stadium circle + center line, pure CSS / no glyph */
.t3-brand-mark--sport {
  background: #0a0f1f;
  border: 2px solid var(--t3-gold);
  position: relative;
  box-shadow:
    0 0 0 1px rgba(224, 183, 90, 0.2) inset,
    0 2px 6px rgba(224, 183, 90, 0.25);
}
.t3-brand-mark--sport::before {
  content: ""; position: absolute;
  top: 50%; left: 4px; right: 4px;
  height: 2px; background: var(--t3-gold);
  transform: translateY(-1px);
}
.t3-brand-logo {
  width: 32px; height: 32px; border-radius: 6px;
  object-fit: cover;
  background: #0a0f1f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.t3-brand-name { font-size: 18px; letter-spacing: 0.02em; }
.t3-brand-tag {
  font-size: 11px; color: var(--t3-text-dim); border: 1px solid var(--t3-line);
  padding: 2px 8px; border-radius: 999px;
}

/* "LIVE" indicator — red dot + steady pulse, sits in the top bar. */
.t3-live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--t3-text-mid);
  border: 1px solid var(--t3-line);
  background: rgba(210, 58, 58, 0.06);
  padding: 5px 11px; border-radius: 999px;
  margin-left: auto;
}
.t3-live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--t3-crimson);
  box-shadow: 0 0 0 0 rgba(210, 58, 58, 0.7);
  animation: t3-live-pulse 1.6s ease-out infinite;
  vertical-align: middle;
}
@keyframes t3-live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(210, 58, 58, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(210, 58, 58, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(210, 58, 58, 0);   }
}
.t3-hero-eyebrow .t3-live-dot { margin-right: 2px; }

.t3-nav {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.t3-nav-active {
  color: var(--t3-gold) !important;
  background: rgba(224, 183, 90, 0.10);
  box-shadow: inset 0 -2px 0 var(--t3-gold);
}
.t3-nav a {
  display: inline-block;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--t3-text-mid) !important;
  transition: background .15s ease, color .15s ease;
}
.t3-nav a:hover {
  color: var(--t3-text) !important;
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero ---------- */
.t3-hero {
  position: relative;
  padding: 96px 0 88px;
  background-color: #0a0f1f;
  background-image: url("../img/hero-bg.svg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--t3-line-soft);
  overflow: hidden;
}
.t3-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(210, 58, 58, 0.18), transparent 60%),
    radial-gradient(circle at 10% 110%, rgba(224, 183, 90, 0.12), transparent 55%);
  pointer-events: none;
}
/* Hero variant when a photographic image is pulled from the media pool:
   add a heavier scrim so text stays readable over arbitrary photos. */
.t3-hero--photo::before {
  background:
    linear-gradient(180deg, rgba(10, 15, 31, 0.55) 0%, rgba(10, 15, 31, 0.85) 100%),
    radial-gradient(circle at 80% -10%, rgba(210, 58, 58, 0.22), transparent 60%);
}
.t3-hero-cta {
  margin-top: 36px;
  font-size: 12px;
  color: var(--t3-text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: t3-bob 2.4s ease-in-out infinite;
}
@keyframes t3-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
.t3-hero > * { position: relative; }

.t3-hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--t3-gold);
  border: 1px solid rgba(224, 183, 90, 0.4);
  border-radius: 999px;
  margin-bottom: 24px;
}
.t3-hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 600;
}
.t3-hero-accent {
  background: linear-gradient(120deg, var(--t3-gold), var(--t3-crimson));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 6px;
}
.t3-hero-lead {
  max-width: 720px;
  margin: 0 0 36px;
  font-size: 18px;
  color: var(--t3-text-mid);
}

.t3-pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}
.t3-pillar {
  background: rgba(27, 36, 71, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--t3-radius);
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}
.t3-pillar-k {
  font-family: var(--t3-serif);
  font-size: 22px;
  color: var(--t3-gold-2);
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
.t3-pillar-v {
  font-size: 14px;
  color: var(--t3-text-mid);
  line-height: 1.6;
}
/* Hero sits on a dark scrim / photo — lift pillars a notch more */
.t3-hero .t3-pillar {
  background: rgba(35, 46, 88, 0.88);
  border-color: rgba(224, 183, 90, 0.28);
}
.t3-hero .t3-pillar-v {
  color: #d8ddf5;
}

/* ---------- Section ---------- */
.t3-section { padding: 80px 0; position: relative; }
.t3-section--alt { background: var(--t3-bg-elev); border-top: 1px solid var(--t3-line-soft); border-bottom: 1px solid var(--t3-line-soft); }
.t3-section--page { padding: 56px 0 80px; }

/* Section variant: background image from the media pool */
.t3-section--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.t3-section--bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 15, 31, 0.92) 0%, rgba(10, 15, 31, 0.96) 100%);
}

.t3-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--t3-gold);
  margin-bottom: 10px;
}
.t3-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.t3-section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  margin: 0;
}
.t3-section-sub {
  margin: 14px 0 0;
  color: var(--t3-text-mid);
  font-size: 15px;
  line-height: 1.7;
}
.t3-section-sub strong { color: var(--t3-gold); font-weight: 600; }

/* ---------- Quick card grid ---------- */
.t3-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.t3-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 22px;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  color: var(--t3-text) !important;
  font-family: var(--t3-serif);
  font-size: 20px;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.t3-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--t3-gold), var(--t3-crimson));
  opacity: 0; transition: opacity .15s ease;
}
.t3-card:hover {
  transform: translateY(-2px);
  border-color: var(--t3-gold);
  background: var(--t3-bg-soft);
}
.t3-card:hover::after { opacity: 1; }
.t3-card-num {
  font-family: var(--t3-serif);
  font-size: 22px;
  color: var(--t3-gold);
  min-width: 36px;
}
.t3-card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.t3-card-title { line-height: 1.2; }
.t3-card-sub {
  font-family: var(--t3-sans);
  font-size: 12px;
  color: var(--t3-text-dim);
  letter-spacing: 0.04em;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t3-card-arrow { color: var(--t3-text-dim); font-size: 18px; }

/* ---------- Principles (4-col) ---------- */
.t3-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.t3-principle {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 28px 24px 24px;
  position: relative;
}
/* Roman numeral fallback (scores / database / analysis pages) */
.t3-principle-num {
  font-family: var(--t3-serif);
  font-size: 22px; line-height: 1;
  color: var(--t3-gold);
  letter-spacing: 0.05em;
  border: 1px solid rgba(224, 183, 90, 0.4);
  border-radius: 999px;
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 14px;
}
/* Homepage principles — icon on top, title below, both centered */
.t3-principle--with-icon .t3-principle-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.t3-principle--with-icon .t3-principle-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--t3-text);
  text-align: center;
}
.t3-principle-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(224, 183, 90, 0.1);
  border: 1px solid rgba(224, 183, 90, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.t3-principle-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.t3-principle h3 { font-size: 18px; margin: 0 0 8px; color: var(--t3-text); }
.t3-principle p { color: var(--t3-text-mid); font-size: 14px; line-height: 1.65; margin: 0; }

/* ---------- Editorial (3-col list) ---------- */
.t3-editorial {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.t3-editorial > li {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 24px 24px 22px;
  position: relative;
}
.t3-editorial-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--t3-bg);
  background: var(--t3-gold);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.t3-editorial h3 { font-size: 19px; margin: 4px 0 8px; }
.t3-editorial p { color: var(--t3-text-mid); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ---------- Prose two-col ---------- */
.t3-two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.t3-prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  margin: 6px 0 18px;
}
.t3-prose p {
  color: var(--t3-text-mid);
  margin: 0 0 14px;
}
.t3-prose strong { color: var(--t3-gold); font-weight: 600; }
.t3-prose a {
  color: var(--t3-gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.45);
  text-underline-offset: 3px;
}
.t3-prose a:hover {
  color: var(--t3-text);
  text-decoration-color: var(--t3-gold);
}

/* Value-prop: left-half photo · gradient to the right · prose | 4 feature cards */
.t3-section--value-split {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vh, 64px) 0;
}
.t3-section--value-split-photo {
  background: var(--t3-bg-elev);
}
.t3-section--value-split-photo > .t3-wrap {
  width: 100%;
}
.t3-value-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(58%, 720px);
  margin: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.t3-value-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
}
/* Fade photo into section bg toward the right */
.t3-value-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 15, 31, 0.2) 0%,
    rgba(10, 15, 31, 0.05) 40%,
    rgba(19, 26, 53, 0.55) 72%,
    var(--t3-bg-elev) 100%
  );
  pointer-events: none;
}

.t3-value-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: start;
}
/* Prose + features stacked on the right; left column is the photo zone */
.t3-value-main {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vh, 32px);
}
.t3-section--value-split .t3-value-main .t3-prose h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.3;
  margin: 6px 0 14px;
}
.t3-section--value-split .t3-value-main .t3-prose p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.t3-section--value-split .t3-value-main .t3-prose p:last-child {
  margin-bottom: 0;
}
.t3-section--value-split-photo .t3-value-main .t3-prose h2,
.t3-section--value-split-photo .t3-value-main .t3-prose p {
  text-shadow: none;
}
.t3-section--value-split .t3-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.t3-section--value-split .t3-feature {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-left: 3px solid var(--t3-gold);
  border-radius: var(--t3-radius);
  padding: 16px 18px;
}
.t3-section--value-split .t3-feature h3 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--t3-text);
}
.t3-section--value-split .t3-feature p {
  color: var(--t3-text-mid);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .t3-section--value-split .t3-feature-list {
    align-items: stretch;
  }
  .t3-section--value-split .t3-feature {
    display: flex;
    flex-direction: column;
  }
  .t3-section--value-split .t3-feature p {
    flex: 1;
  }
}
.t3-section--value-split:not(.t3-section--value-split-photo) .t3-value-body {
  grid-template-columns: 1fr;
}
.t3-section--value-split:not(.t3-section--value-split-photo) .t3-value-main {
  grid-column: 1;
}

/* ---------- Article grid ---------- */
.t3-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.t3-post {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 0 0 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.t3-post:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 183, 90, 0.5);
}

/* Article cover thumb (top of each card) */
.t3-post-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--t3-bg-soft);
  margin-bottom: 18px;
}
.t3-post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(0.95) contrast(1.05);
}
.t3-post:hover .t3-post-thumb img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.1);
}
.t3-post-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 31, 0.55) 100%);
  pointer-events: none;
}

/* Procedural placeholder thumb (deterministic hue per article) */
.t3-post-thumb--placeholder {
  background:
    radial-gradient(circle at 70% 30%, hsla(var(--t3-thumb-hue, 40), 60%, 35%, 0.55), transparent 60%),
    linear-gradient(135deg,
      hsl(var(--t3-thumb-hue, 40), 28%, 22%) 0%,
      hsl(calc(var(--t3-thumb-hue, 40) + 40), 40%, 12%) 100%);
}
.t3-post-thumb--placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.t3-post-thumb-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--t3-serif);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.t3-post-cat {
  align-self: flex-start;
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3-bg) !important;
  background: var(--t3-gold);
  border-radius: 4px;
  margin: 0 22px 14px;
}
.t3-post-title {
  font-size: 19px;
  line-height: 1.45;
  margin: 0 22px 10px;
}
.t3-post-title a {
  color: var(--t3-text) !important;
  background-image: linear-gradient(var(--t3-gold), var(--t3-gold));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease, color .15s ease;
}
.t3-post:hover .t3-post-title a { color: var(--t3-gold) !important; background-size: 100% 1px; }
.t3-post-desc {
  color: var(--t3-text-mid);
  font-size: 14px;
  margin: 0 22px 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.t3-post-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--t3-line);
  margin: 0 22px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--t3-text-dim);
}
.t3-post-more {
  font-weight: 500;
  color: var(--t3-gold) !important;
}

/* ---------- Steps ---------- */
.t3-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.t3-steps > li {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 28px 26px;
  position: relative;
}
.t3-step-num {
  font-family: var(--t3-serif);
  font-size: 40px; color: var(--t3-gold);
  line-height: 1; margin-bottom: 12px;
}
.t3-step-body h3 { font-size: 20px; margin: 0 0 6px; }
.t3-step-body p { color: var(--t3-text-mid); font-size: 14.5px; margin: 0; }

/* ---------- Trust ---------- */
.t3-section--trust {
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 90% 10%, rgba(224, 183, 90, 0.12), transparent 55%),
    var(--t3-bg);
  border-top: 1px solid var(--t3-line-soft);
}
.t3-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.t3-trust-lead h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.3; margin: 6px 0 14px;
}
.t3-trust-lead p { color: var(--t3-text-mid); margin: 0; }
.t3-trust-lead strong { color: var(--t3-gold); }

.t3-trust-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.t3-trust-grid { align-items: start; }
.t3-trust-points li {
  display: flex; gap: 14px;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius-sm);
  padding: 16px 16px;
}
.t3-trust-points li > span {
  font-family: var(--t3-serif);
  font-size: 22px; color: var(--t3-gold);
  min-width: 32px;
}
.t3-trust-points b { color: var(--t3-text); display: block; font-size: 14px; }
.t3-trust-points div { color: var(--t3-text-mid); font-size: 13.5px; line-height: 1.6; }

/* ---------- Empty state ---------- */
.t3-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--t3-bg-card);
  border: 1px dashed var(--t3-line);
  border-radius: var(--t3-radius);
  color: var(--t3-text-mid);
}
.t3-empty code {
  background: rgba(224, 183, 90, 0.08);
  color: var(--t3-gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ---------- Article page ---------- */
.t3-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--t3-text-dim);
  margin-bottom: 28px;
}
.t3-breadcrumb a { color: var(--t3-text-mid); }
.t3-breadcrumb a:hover { color: var(--t3-gold); }
.t3-breadcrumb-current { color: var(--t3-text); }

.t3-article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  overflow: hidden;
}
.t3-article-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: 0;
  background: var(--t3-bg-soft);
  overflow: hidden;
}
.t3-article-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}
.t3-article-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--t3-bg-card) 100%);
  pointer-events: none;
}
.t3-article-cover--placeholder {
  background:
    radial-gradient(circle at 70% 30%, hsla(var(--t3-thumb-hue, 40), 60%, 35%, 0.55), transparent 60%),
    linear-gradient(135deg,
      hsl(var(--t3-thumb-hue, 40), 28%, 22%) 0%,
      hsl(calc(var(--t3-thumb-hue, 40) + 40), 40%, 12%) 100%);
}
.t3-article-cover--placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.t3-article-cover--placeholder .t3-post-thumb-mark {
  font-size: clamp(72px, 11vw, 120px);
}

.t3-article > .t3-article-head,
.t3-article > .t3-article-body,
.t3-article > .t3-article-foot {
  padding-left: 48px;
  padding-right: 48px;
}
.t3-article > .t3-article-head { padding-top: 36px; margin-bottom: 32px; }
.t3-article > .t3-article-foot { padding-bottom: 56px; }
.t3-article-head h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  margin: 14px 0 16px;
}
.t3-article-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px; color: var(--t3-text-dim);
}
.t3-dot { color: var(--t3-text-dim); }
.t3-article-lede {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--t3-gold);
  color: var(--t3-text-mid);
  font-size: 16px;
  line-height: 1.7;
}

.t3-article-body { color: var(--t3-text); font-size: 16.5px; line-height: 1.85; }
.t3-article-body h2 { font-size: 26px; margin: 36px 0 14px; }
.t3-article-body h3 { font-size: 20px; margin: 28px 0 10px; color: var(--t3-gold); }
.t3-article-body p { margin: 0 0 16px; color: var(--t3-text-mid); }
.t3-article-body ul, .t3-article-body ol { margin: 0 0 16px 22px; color: var(--t3-text-mid); }
.t3-article-body li { margin-bottom: 6px; }
.t3-article-body a { border-bottom: 1px dashed currentColor; }
.t3-article-body blockquote {
  margin: 20px 0; padding: 14px 18px;
  background: rgba(224, 183, 90, 0.06);
  border-left: 3px solid var(--t3-gold);
  color: var(--t3-text);
  border-radius: 0 var(--t3-radius-sm) var(--t3-radius-sm) 0;
}
.t3-article-body code {
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.t3-article-body pre {
  background: var(--t3-bg-soft);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius-sm);
  padding: 16px;
  overflow-x: auto;
  font-size: 14px;
}

.t3-article-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--t3-line);
}
.t3-back { font-size: 14px; color: var(--t3-gold) !important; }

/* ---------- Article: top reading-progress bar ---------- */
.t3-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 60;
  background: transparent;
  pointer-events: none;
}
.t3-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--t3-gold), var(--t3-crimson));
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(224, 183, 90, 0.45);
}

/* ---------- Article: layout (body + sticky side) ---------- */
.t3-article-section { padding-top: 36px; }
.t3-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.t3-article-layout > .t3-article { max-width: none; }

.t3-article-side {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.t3-side-card {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 18px 18px;
}
.t3-side-h {
  font-family: var(--t3-sans);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--t3-gold);
  margin: 0 0 12px;
}
.t3-side-blurb {
  margin: 0 0 12px; color: var(--t3-text-mid);
  font-size: 13.5px; line-height: 1.65;
}
.t3-side-links { list-style: none; padding: 0; margin: 0; }
.t3-side-links li { margin-bottom: 8px; }
.t3-side-links li:last-child { margin-bottom: 0; }
.t3-side-links a {
  display: inline-block; font-size: 13.5px;
  color: var(--t3-text-mid);
}
.t3-side-links a:hover { color: var(--t3-gold); }

/* Auto-TOC */
.t3-toc {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 60vh; overflow-y: auto;
}
.t3-toc a {
  display: block;
  font-size: 13.5px; line-height: 1.45;
  color: var(--t3-text-mid);
  padding: 4px 0 4px 10px;
  border-left: 2px solid var(--t3-line);
  transition: border-color .15s, color .15s;
}
.t3-toc a:hover { color: var(--t3-gold); border-left-color: var(--t3-gold); }
.t3-toc-sub a { padding-left: 22px; font-size: 12.5px; color: var(--t3-text-dim); }

/* ---------- Article: meta icons row ---------- */
.t3-article-meta {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.t3-article-meta .t3-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--t3-text-dim);
  font-size: 13px;
}
.t3-article-meta .t3-meta-item svg { color: var(--t3-gold); flex-shrink: 0; }

/* Drop cap on the first paragraph of long-form articles */
.t3-article-body > p:first-of-type::first-letter {
  font-family: var(--t3-serif);
  font-size: 3.2em;
  float: left;
  line-height: 1;
  padding: 4px 10px 0 0;
  color: var(--t3-gold);
}
.t3-article-body img,
.t3-article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--t3-radius-sm);
  margin: 8px 0;
}
.t3-article-body figure { margin: 22px 0; }
.t3-article-body figcaption {
  font-size: 13px; color: var(--t3-text-dim);
  text-align: center; margin-top: 8px;
}
.t3-article-body h2 { scroll-margin-top: 80px; }
.t3-article-body h3 { scroll-margin-top: 80px; }

/* ---------- Article: tags / share / prev-next ---------- */
.t3-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 48px;
  margin-top: 28px;
}
.t3-tag {
  font-size: 12.5px;
  color: var(--t3-text-mid);
  background: rgba(224, 183, 90, 0.08);
  border: 1px solid rgba(224, 183, 90, 0.18);
  border-radius: 999px;
  padding: 4px 12px;
}

.t3-share {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 20px 48px 0;
  margin-top: 24px;
  border-top: 1px solid var(--t3-line);
}
.t3-share-label {
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--t3-text-dim);
  margin-right: 4px;
}
.t3-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--t3-text-mid) !important;
  background: var(--t3-bg-soft);
  border: 1px solid var(--t3-line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.t3-share-btn:hover {
  color: var(--t3-text) !important;
  border-color: var(--t3-gold);
  background: rgba(224, 183, 90, 0.08);
}

.t3-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 48px 0;
}
.t3-prev-next-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  background: var(--t3-bg-soft);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius-sm);
  color: var(--t3-text-mid) !important;
  transition: border-color .15s, transform .15s;
  min-height: 70px;
}
.t3-prev-next-card:hover {
  border-color: var(--t3-gold);
  color: var(--t3-text) !important;
}
.t3-prev-next-card--next { text-align: right; }
.t3-prev-next-hint {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--t3-gold);
}
.t3-prev-next-title {
  font-family: var(--t3-serif);
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- Related articles ---------- */
.t3-related { margin-top: 56px; }
.t3-related-head {
  margin-bottom: 22px;
}
.t3-related-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 6px 0 0;
}
.t3-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* ---------- Article responsive ---------- */
@media (max-width: 1024px) {
  .t3-article-layout { grid-template-columns: minmax(0, 1fr); }
  .t3-article-side { position: static; }
}

/* ---------- Category page ---------- */
.t3-cat-head { margin-bottom: 36px; text-align: left; max-width: 720px; }
.t3-cat-head h1 { font-size: clamp(32px, 4vw, 44px); margin: 6px 0 12px; }
.t3-cat-lead { color: var(--t3-text-mid); margin: 0 0 14px; }
.t3-cat-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--t3-text-dim);
  margin: 0;
}

/* ---------- Leagues / competitions chip grid ---------- */
.t3-leagues {
  display: flex; flex-direction: column; gap: 28px;
  max-width: 980px; margin: 0 auto;
}
.t3-league-group {
  border-left: 2px solid var(--t3-gold);
  padding-left: 18px;
}
.t3-league-head {
  font-family: var(--t3-sans);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t3-text-dim);
  margin: 0 0 12px;
}
.t3-league-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.t3-league-chip {
  display: inline-flex; align-items: center;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px; color: var(--t3-text);
  font-weight: 500;
  transition: border-color 160ms ease, color 160ms ease;
}
.t3-league-chip:hover {
  border-color: var(--t3-gold);
  color: var(--t3-gold);
}
.t3-leagues-note {
  max-width: 700px; margin: 32px auto 0;
  font-size: 13px; color: var(--t3-text-dim);
  text-align: center; line-height: 1.7;
}

/* ---------- Pager ---------- */
.t3-pager {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.t3-pager-link {
  padding: 8px 16px;
  border: 1px solid var(--t3-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--t3-text-mid) !important;
}
.t3-pager-link:hover { border-color: var(--t3-gold); color: var(--t3-gold) !important; }
.t3-pager-link--disabled { opacity: 0.4; pointer-events: none; }
.t3-pager-info { font-size: 13px; color: var(--t3-text-dim); }

/* ---------- Footer ---------- */
.t3-footer {
  background: #060a17;
  border-top: 1px solid var(--t3-line-soft);
  padding: 64px 0 24px;
  font-size: 14px;
  color: var(--t3-text-mid);
}
.t3-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.4fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--t3-line-soft);
}
.t3-footer-col h4.t3-footer-h {
  font-family: var(--t3-sans);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--t3-gold);
  margin: 0 0 16px;
}
.t3-footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--t3-serif);
  font-size: 20px; color: var(--t3-text);
  margin-bottom: 12px;
}
.t3-footer-blurb { color: var(--t3-text-dim); margin: 0; font-size: 14px; line-height: 1.7; }

.t3-meta { margin: 0; display: grid; gap: 10px; }
.t3-meta > div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.t3-meta dt { color: var(--t3-text-dim); margin: 0; }
.t3-meta dd { color: var(--t3-text); margin: 0; }

.t3-footer-links { list-style: none; padding: 0; margin: 0; }
.t3-footer-links li { margin-bottom: 8px; }
.t3-footer-links a { color: var(--t3-text-mid); }
.t3-footer-links a:hover { color: var(--t3-gold); }

.t3-fineprint { color: var(--t3-text-dim); font-size: 13px; line-height: 1.7; margin: 0; }

.t3-footer-bar {
  padding-top: 18px;
  font-size: 12px;
  color: var(--t3-text-dim);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .t3-two-col { grid-template-columns: 1fr; gap: 36px; }
  .t3-value-body {
    grid-template-columns: 1fr;
  }
  .t3-value-main {
    grid-column: 1;
    gap: 28px;
  }
  .t3-section--value-split .t3-feature-list {
    grid-template-columns: 1fr;
  }
  .t3-value-bg {
    width: 100%;
    height: 200px;
    position: relative;
  }
  .t3-value-bg::after {
    background: linear-gradient(
      180deg,
      transparent 30%,
      rgba(19, 26, 53, 0.7) 75%,
      var(--t3-bg-elev) 100%
    );
  }
  .t3-trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .t3-steps { grid-template-columns: 1fr; }
  .t3-pillars { grid-template-columns: repeat(2, 1fr); }
  .t3-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .t3-article > .t3-article-head,
  .t3-article > .t3-article-body,
  .t3-article > .t3-article-foot { padding-left: 28px; padding-right: 28px; }
  .t3-article > .t3-article-head { padding-top: 28px; }
  .t3-article > .t3-article-foot { padding-bottom: 36px; }
  .t3-tags,
  .t3-share,
  .t3-prev-next { padding-left: 28px; padding-right: 28px; }
  .t3-prev-next { margin-left: 0; margin-right: 0; }
}

@media (max-width: 600px) {
  .t3-section { padding: 56px 0; }
  .t3-hero { padding: 64px 0 56px; }
  .t3-header-inner { flex-direction: column; align-items: flex-start; padding: 12px 0; gap: 10px; }
  .t3-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .t3-nav a { white-space: nowrap; }
  .t3-live-pill { display: none; }
  .t3-pillars { grid-template-columns: 1fr; }
  .t3-trust-points { grid-template-columns: 1fr; }
  .t3-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .t3-league-row { gap: 6px; }
  .t3-league-chip { font-size: 12px; padding: 5px 11px; }
  .t3-article > .t3-article-head,
  .t3-article > .t3-article-body,
  .t3-article > .t3-article-foot { padding-left: 20px; padding-right: 20px; }
  .t3-article > .t3-article-head { padding-top: 24px; }
  .t3-article > .t3-article-foot { padding-bottom: 30px; }
  .t3-article-body { font-size: 15.5px; }
  .t3-tags,
  .t3-share,
  .t3-prev-next { padding-left: 20px; padding-right: 20px; }
  .t3-prev-next { margin-left: 0; margin-right: 0; grid-template-columns: 1fr; }
  .t3-prev-next-card--next { text-align: left; }
}

/* ===========================================================
   Sports-section landing pages (scores / database / analysis / community)
   =========================================================== */

/* Slim hero variant for section pages (less padding than home hero). */
.t3-hero--inner { padding: 64px 0 56px; }
.t3-hero--inner .t3-hero-title { font-size: clamp(28px, 4.4vw, 48px); }
.t3-hero--inner .t3-hero-lead { max-width: 880px; }

/* ---------- Sub-tab strip (scores filter switcher) ---------- */
.t3-subtabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 32px;
}
.t3-subtab {
  font-family: inherit; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--t3-text-mid);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.t3-subtab:hover {
  background: rgba(255,255,255,0.04);
  color: var(--t3-text);
}
.t3-subtab--active {
  background: rgba(224, 183, 90, 0.12);
  color: var(--t3-gold);
  border-color: rgba(224, 183, 90, 0.32);
}
.t3-subtab--gear {
  margin-left: auto;
  color: var(--t3-text-dim);
  font-size: 13px;
}

/* ---------- Match cards ---------- */
.t3-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.t3-match-card {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.t3-match-card--live {
  border-color: rgba(210, 58, 58, 0.35);
  box-shadow: 0 0 0 1px rgba(210, 58, 58, 0.18) inset;
}
.t3-match-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--t3-text-dim);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.t3-match-league { font-weight: 500; }
.t3-match-status {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--t3-line);
  border-radius: 999px;
  padding: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.t3-match-status--live {
  color: var(--t3-crimson);
  border-color: rgba(210, 58, 58, 0.35);
  background: rgba(210, 58, 58, 0.08);
}
.t3-match-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.t3-match-team {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  min-width: 0;
}
.t3-match-team--away { flex-direction: row-reverse; text-align: right; }
.t3-match-team-flag {
  width: 16px; height: 16px; border-radius: 3px;
  background: var(--team-c, var(--t3-gold));
  flex-shrink: 0;
}
.t3-match-score {
  font-family: var(--t3-serif);
  font-size: 28px; font-weight: 700;
  color: var(--t3-text);
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.t3-match-vs {
  color: var(--t3-text-dim);
  font-size: 14px; font-weight: 400;
  font-family: var(--t3-sans);
}
.t3-match-score--upcoming {
  font-size: 18px; color: var(--t3-text-dim);
}
.t3-match-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--t3-line);
  font-size: 12px;
  color: var(--t3-text-dim);
}

.t3-mock-note {
  text-align: center;
  font-size: 13px;
  color: var(--t3-text-dim);
  margin: 24px auto 0;
  max-width: 720px;
  line-height: 1.7;
}
.t3-mock-note strong { color: var(--t3-gold); font-weight: 600; }
.t3-inline-link { color: var(--t3-gold); border-bottom: 1px solid rgba(224, 183, 90, 0.4); }
.t3-inline-link:hover { color: #ffd87b; }

/* ---------- Data table (database page) ---------- */
.t3-table-wrap {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  overflow-x: auto;
  margin: 0 auto;
  max-width: 980px;
}
.t3-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.t3-table thead {
  background: rgba(255,255,255,0.04);
}
.t3-table th {
  padding: 12px 10px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--t3-text-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--t3-line);
  white-space: nowrap;
}
.t3-table th.t3-th-pos { width: 40px; }
.t3-table th.t3-th-team { text-align: left; padding-left: 18px; min-width: 130px; }
.t3-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid var(--t3-line-soft);
  font-variant-numeric: tabular-nums;
}
.t3-table tbody tr:last-child td { border-bottom: 0; }
.t3-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.t3-table td:nth-child(2) { text-align: left; padding-left: 18px; font-weight: 500; }
.t3-td-pts {
  font-weight: 700;
  color: var(--t3-gold);
}
.t3-form-w, .t3-form-d, .t3-form-l {
  display: inline-block;
  width: 18px; height: 18px;
  font-size: 10px;
  line-height: 18px;
  border-radius: 4px;
  margin: 0 1px;
  font-weight: 700;
  color: #fff;
  font-family: var(--t3-sans);
}
.t3-form-w { background: #2e9e6a; }
.t3-form-d { background: #8a8a8a; }
.t3-form-l { background: var(--t3-crimson); }

/* ---------- Prediction cards (analysis page) ---------- */
.t3-pred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.t3-pred-card {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 22px 24px;
}
.t3-pred-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--t3-text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.t3-pred-league { color: var(--t3-gold); font-weight: 500; }
.t3-pred-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--t3-line);
  margin-bottom: 18px;
}
.t3-pred-team { display: flex; flex-direction: column; gap: 4px; }
.t3-pred-team--away { text-align: right; }
.t3-pred-team-name { font-size: 17px; font-weight: 600; color: var(--t3-text); }
.t3-pred-team-form {
  font-size: 11px;
  color: var(--t3-text-dim);
  font-family: monospace;
  letter-spacing: 0.08em;
}
.t3-pred-vs {
  font-family: var(--t3-serif);
  color: var(--t3-text-dim);
  font-size: 18px;
}
.t3-pred-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}
.t3-pred-label {
  font-size: 12px;
  color: var(--t3-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t3-pred-meta { font-size: 14px; color: var(--t3-text); }
.t3-pred-meta b { color: var(--t3-gold); }
.t3-pred-bars {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
  font-size: 11px;
}
.t3-pred-bar {
  display: inline-flex; align-items: center; justify-content: center;
  flex: var(--p, 33) 0 0;
  min-width: 0;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  padding: 0 6px;
}
.t3-pred-bar--home { background: #2e9e6a; }
.t3-pred-bar--draw { background: #6a6a6a; }
.t3-pred-bar--away { background: var(--t3-crimson); }

/* ---------- Posts (community page) ---------- */
.t3-posts {
  display: flex; flex-direction: column; gap: 12px;
}
.t3-post-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 18px 22px;
  transition: border-color 160ms ease;
}
.t3-post-row:hover { border-color: rgba(224, 183, 90, 0.32); }
.t3-post-vote {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px;
  color: var(--t3-text-dim);
}
.t3-post-vote-up { color: var(--t3-gold); font-size: 14px; }
.t3-post-vote-down { color: var(--t3-text-dim); font-size: 14px; }
.t3-post-vote-n { font-weight: 700; color: var(--t3-text); font-variant-numeric: tabular-nums; }
.t3-post-main { min-width: 0; }
.t3-post-tags { margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.t3-post-tag {
  display: inline-block;
  font-size: 11px; padding: 2px 8px; border-radius: 3px;
  background: rgba(255,255,255,0.04);
  color: var(--t3-text-dim);
  border: 1px solid var(--t3-line);
}
.t3-post-tag--circle { color: var(--t3-gold); border-color: rgba(224, 183, 90, 0.32); }
.t3-post-tag--hot      { background: rgba(210, 58, 58, 0.14); color: var(--t3-crimson); border-color: rgba(210, 58, 58, 0.32); }
.t3-post-tag--video    { background: rgba(120, 81, 169, 0.14); color: #b294e0; border-color: rgba(120, 81, 169, 0.28); }
.t3-post-tag--analysis { background: rgba(46, 158, 106, 0.14); color: #7ad2a3; border-color: rgba(46, 158, 106, 0.28); }
.t3-post-tag--discuss  { background: rgba(98, 130, 184, 0.14); color: #98b5e8; border-color: rgba(98, 130, 184, 0.28); }
.t3-post-row-title {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--t3-text);
}
.t3-post-row-excerpt {
  font-size: 13.5px; color: var(--t3-text-dim);
  line-height: 1.65;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.t3-post-meta-row {
  font-size: 12px;
  color: var(--t3-text-dim);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.t3-post-meta-row b { color: var(--t3-gold); }

/* ---------- FAQ accordion (no JS, uses <details>) ---------- */
.t3-faq { display: flex; flex-direction: column; gap: 8px; }
.t3-faq-item {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  overflow: hidden;
}
.t3-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--t3-text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.t3-faq-q::-webkit-details-marker { display: none; }
.t3-faq-q::after {
  content: "+";
  color: var(--t3-gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.t3-faq-item[open] .t3-faq-q::after { content: "−"; }
.t3-faq-item[open] .t3-faq-q {
  border-bottom: 1px solid var(--t3-line);
}
.t3-faq-a {
  padding: 14px 22px 20px;
  font-size: 14.5px;
  color: var(--t3-text-mid);
  line-height: 1.75;
}

/* ---------- Related news (compact) ---------- */
.t3-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.t3-related-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  transition: border-color 160ms ease;
}
.t3-related-item:hover { border-color: rgba(224, 183, 90, 0.32); }
.t3-related-cat {
  font-size: 11px;
  color: var(--t3-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t3-related-title {
  font-size: 15px; line-height: 1.5;
  color: var(--t3-text);
  margin: 0;
}
.t3-related-time {
  font-size: 12px;
  color: var(--t3-text-dim);
  font-variant-numeric: tabular-nums;
}

.t3-prose--center { text-align: center; }
.t3-prose--center p { margin-left: auto; margin-right: auto; max-width: 640px; }

/* Mobile tweaks for section pages */
@media (max-width: 600px) {
  .t3-subtab { font-size: 12px; padding: 6px 12px; }
  .t3-subtab--gear { font-size: 11px; }
  .t3-match-card { padding: 14px 14px; }
  .t3-match-body { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .t3-match-team { font-size: 13px; }
  .t3-match-score { font-size: 22px; }
  .t3-table { font-size: 12px; }
  .t3-table th, .t3-table td { padding: 8px 6px; }
  .t3-pred-matchup { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .t3-pred-team-name { font-size: 15px; }
  .t3-pred-row { grid-template-columns: 84px 1fr; gap: 10px; }
  .t3-post-row { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 16px; }
  .t3-post-row-title { font-size: 15px; }
}

/* ------------------------------------------------------------------ */
/* Betting rules documentation (imported CN rules pack)               */
/* ------------------------------------------------------------------ */

.t3-rules-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 64px);
  align-items: start;
}

.t3-rules-aside {
  position: sticky;
  top: 64px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 24px 16px 32px 20px;
  background: rgba(8, 12, 24, 0.92);
  border-right: 1px solid var(--t3-border);
}

.t3-rules-aside-head { margin-bottom: 16px; }
.t3-rules-aside-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--t3-text);
  margin: 6px 0 0;
  line-height: 1.4;
}

.t3-rules-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t3-rules-nav-list--depth-1 { padding-left: 10px; margin-top: 4px; }
.t3-rules-nav-list--depth-2 { padding-left: 10px; margin-top: 2px; }

.t3-rules-nav-item { margin: 2px 0; }
.t3-rules-nav-item > a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--t3-text-muted);
  border-radius: 6px;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.t3-rules-nav-item > a:hover {
  color: var(--t3-text);
  background: rgba(224, 183, 90, 0.08);
}
.t3-rules-nav-item.is-active > a {
  color: var(--t3-gold);
  background: rgba(224, 183, 90, 0.12);
  font-weight: 600;
}
.t3-rules-nav-item.has-children > a { font-weight: 600; color: var(--t3-text); }

.t3-rules-main {
  padding: 32px 40px 64px;
  max-width: 920px;
}

.t3-rules-h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--t3-text);
  margin: 0 0 8px;
  line-height: 1.25;
}
.t3-rules-subtitle {
  font-size: 14px;
  color: var(--t3-text-dim);
  margin: 0 0 24px;
}

.t3-prose-rules {
  font-size: 15px;
  line-height: 1.75;
  color: var(--t3-text-muted);
}
.t3-prose-rules h2,
.t3-prose-rules h3,
.t3-prose-rules h4 {
  color: var(--t3-text);
  margin: 1.6em 0 0.6em;
  line-height: 1.35;
}
.t3-prose-rules h2 { font-size: 1.35rem; }
.t3-prose-rules h4 { font-size: 1.05rem; }
.t3-prose-rules p { margin: 0 0 1em; }
.t3-prose-rules ol,
.t3-prose-rules ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
.t3-prose-rules li { margin: 0.35em 0; }
.t3-prose-rules strong { color: var(--t3-text); }
.t3-prose-rules table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 14px;
}
.t3-prose-rules th,
.t3-prose-rules td {
  border: 1px solid var(--t3-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.t3-prose-rules th {
  background: rgba(224, 183, 90, 0.1);
  color: var(--t3-gold);
  font-weight: 600;
}
.t3-prose-rules a {
  color: var(--t3-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.t3-tags--rules { margin-top: 14px; }
.t3-rules-kw-note {
  margin-top: 2em;
  padding-top: 1.25em;
  border-top: 1px solid var(--t3-border);
  font-size: 14px;
  color: var(--t3-text-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .t3-rules-layout {
    grid-template-columns: 1fr;
  }
  .t3-rules-aside {
    position: relative;
    top: 0;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--t3-border);
    padding: 16px;
  }
  .t3-rules-main {
    padding: 24px 16px 48px;
  }
}
