:root {
  --night-950: #061725;
  --night-900: #082239;
  --night-800: #0d3049;
  --night-700: #16445d;
  --paper: #f3ead9;
  --paper-deep: #e8dac2;
  --ink: #182c39;
  --muted: #66717a;
  --line: rgba(24, 44, 57, 0.16);
  --accent: #c7553d;
  --accent-dark: #9c3e31;
  --gold: #c79c64;
  --cyan: #6de4ef;
  --cyan-strong: #20c7d4;
  --signal: #f3bd67;
  --hud-line: rgba(109, 228, 239, 0.24);
  --hud-glow: 0 0 24px rgba(32, 199, 212, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* Unified bright shell for every section: the tactical panels remain dark only where they carry data. */
body.football-journal { color:#294247; background:#f3f0e7 !important; }
body.football-journal::before { background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.07) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.05) 80px) !important; opacity:1; }
body.football-journal::after { display:none; }
body.football-journal:not(.home-v2) { color:#e8f0f1; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal:not(.home-v2)::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal:not(.home-v2)::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }
body.football-journal.home-v2 { color:#294247; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal.home-v2::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal.home-v2::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }

/* Final watermark pass: keep it visible on the homepage as well as inner pages. */
body.football-journal::after {
  content:"";
  display:block !important;
  position:fixed;
  inset:-42%;
  z-index:30;
  width:auto;
  height:auto;
  border:0 !important;
  pointer-events:none;
  opacity:.24 !important;
  transform:rotate(-25deg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='160' viewBox='0 0 280 160'%3E%3Ctext x='10' y='28' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3Ctext x='150' y='108' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3C/svg%3E") !important;
  background-size:280px 160px !important;
}
/* Keep section headings readable without overwhelming the page. */
.post-page > .article-card > .article-title { font-size:clamp(26px,4vw,40px) !important; line-height:1.3; }
.post-page > .article-card > .article-title + .article-meta { margin-top:8px; }
body.football-journal.home-v2 { color:#294247; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal.home-v2::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal.home-v2::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }
body.football-journal.home-v2 { color:#294247; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal.home-v2::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal.home-v2::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }
body.football-journal:not(.home-v2) { color:#e8f0f1; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal:not(.home-v2)::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal:not(.home-v2)::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }
.home-v2 .profile-card,
.home-v2 .analysis-deck { color:#294247 !important; background:#aebfc3 !important; border-color:#879da3 !important; box-shadow:0 14px 32px rgba(70,88,92,.18) !important; }
.home-v2 .profile-card .profile-title,
.home-v2 .profile-card .profile-copy,
.home-v2 .profile-card .side-nav a,
.home-v2 .analysis-deck .deck-head h2,
.home-v2 .analysis-deck .timeline-label,
.home-v2 .analysis-deck .timeline-copy { color:#203b46 !important; }
.home-v2 .profile-card .profile-subtitle,
.home-v2 .profile-card .profile-quote { color:#385861 !important; }
.home-v2 .profile-card .profile-metrics { background:rgba(255,255,255,.32) !important; border-color:rgba(61,87,94,.24) !important; }
.home-v2 .profile-card .profile-metrics b { color:#203b46 !important; }
.home-v2 .profile-card .profile-metrics small { color:#536d73 !important; }
.home-v2 .analysis-deck .deck-head small,
.home-v2 .analysis-deck .deck-head > span,
.home-v2 .analysis-deck .chart-axis { color:#536d73 !important; }
.home-v2 .analysis-deck .coach-notes li strong { color:#294247 !important; }
.home-v2 .analysis-deck .coach-notes li small { color:#536d73 !important; }
.home-v2 .analysis-deck .coach-notes { background:rgba(72,96,103,.16) !important; border-color:rgba(54,78,85,.24) !important; }
html:has(body.football-journal) { background:#f3f0e7 !important; }
body.football-journal::after { opacity:.08 !important; }
body.football-journal:has(.report-detail) { background:#f3f0e7 !important; }
body.football-journal:has(.report-detail)::before { background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.07) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.05) 80px) !important; opacity:1; }
body.football-journal:has(.report-detail) .article-card { background:#f7f4ec !important; color:#294247 !important; box-shadow:0 20px 55px rgba(51,83,88,.18); }
body.football-journal.post-page { background:#f3f0e7 !important; }
body.football-journal.post-page::before { background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.07) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.05) 80px) !important; opacity:1; }
body.football-journal.post-page .article-card { width:min(1040px,100%); background:#f7f4ec !important; color:#294247 !important; border:1px solid rgba(159,145,112,.38); border-radius:8px; box-shadow:0 20px 55px rgba(51,83,88,.18); }
body.football-journal.post-page .article-content { color:#3e5058; }

.home-v2 .profile-card,
.home-v2 .next-card,
.home-v2 .match-brief,
.home-v2 .analysis-deck { color:#294247 !important; background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(247,244,236,.96)) !important; border-color:rgba(159,145,112,.38) !important; }
.home-v2 .match-brief strong,
.home-v2 .match-brief small,
.home-v2 .profile-card .profile-kicker,
.home-v2 .next-card h2 { color:#294247; }

/* Reference palette for homepage dashboard surfaces */
.home-v2 .profile-card,
.home-v2 .next-card,
.home-v2 .match-brief,
.home-v2 .analysis-deck { color:#294247 !important; background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(247,244,236,.96)); border-color:rgba(159,145,112,.38); }
.home-v2 .match-brief strong,
.home-v2 .match-brief small,
.home-v2 .profile-card .profile-kicker,
.home-v2 .next-card h2 { color:#294247; }

/* Apply the reference palette to the home dashboard surfaces as well. */
.home-v2 .profile-card,
.home-v2 .next-card,
.home-v2 .match-brief,
.home-v2 .analysis-deck { color:#294247 !important; background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(247,244,236,.96)); border-color:rgba(159,145,112,.38); }
.home-v2 .match-brief strong,
.home-v2 .match-brief small,
.home-v2 .profile-card .profile-kicker,
.home-v2 .next-card h2 { color:#294247; }

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--night-950);
  scroll-behavior: smooth;
}

body.football-journal {
  isolation: isolate;
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #294247;
  font-family: var(--sans);
  background:radial-gradient(circle at 50% -10%,rgba(116,194,199,.38),transparent 48%),linear-gradient(180deg,#f3f0e7 0%,#e8e3d8 100%);
}

body.football-journal::before,
body.football-journal::after {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body.football-journal::before {
  inset: 0;
  background:linear-gradient(90deg,rgba(255,255,255,.42),transparent 45%,rgba(255,255,255,.3)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.08) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.06) 80px);
}

body.football-journal::after {
  right: 3vw;
  bottom: 4vh;
  width: 280px;
  height: 190px;
  opacity: 0.11;
  background:
    linear-gradient(90deg, transparent 48%, #c8dbe0 49%, #c8dbe0 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, #c8dbe0 49%, #c8dbe0 51%, transparent 52%);
  border: 1px solid #c8dbe0;
  transform: perspective(350px) rotateX(58deg) skewX(-14deg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #e8b078;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 18px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--night-950);
  background: #f7d19f;
  border-radius: 5px;
}

.skip-link:focus {
  top: 12px;
}

.journal-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid rgba(219, 231, 234, 0.14);
  background: rgba(4, 19, 31, 0.58);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}

.topnav {
  display: flex;
  align-items: stretch;
  gap: clamp(26px, 5vw, 66px);
  min-height: 72px;
}

.topnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: rgba(239, 246, 247, 0.72);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.topnav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
  transform: scaleX(0.25);
  transition: background 180ms ease, transform 180ms ease;
}

.topnav a:hover,
.topnav a.active {
  color: #fff;
}

.topnav a.active::after,
.topnav a:hover::after {
  background: var(--accent);
  transform: scaleX(1);
}

.journal-grid {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 214px;
  gap: 16px;
  align-items: start;
  padding: 24px 0 42px;
}

.profile-card,
.next-card,
.stand-card,
.memory-card,
.paper-card,
.hero-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-card {
  position: sticky;
  top: 20px;
  min-height: 676px;
  padding: 24px 18px 18px;
  color: #dbe8ea;
  background:
    linear-gradient(155deg, rgba(17, 62, 84, 0.95), rgba(5, 28, 47, 0.97) 58%),
    url("images/stadium-night.jpg") center / cover;
  border: 1px solid rgba(180, 218, 224, 0.2);
}

.profile-card::after {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: 14px;
  content: "";
  opacity: 0.23;
  background:
    linear-gradient(165deg, transparent 48%, #b7d8dc 49%, #b7d8dc 50%, transparent 51%) 0 20px / 100% 25px,
    linear-gradient(15deg, transparent 48%, #b7d8dc 49%, #b7d8dc 50%, transparent 51%) 0 34px / 100% 25px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.avatar-ring {
  width: 126px;
  height: 126px;
  margin: 0 auto 18px;
  padding: 4px;
  border: 1px solid rgba(229, 239, 235, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.avatar-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.72) contrast(1.08);
}

.profile-title {
  margin: 0;
  color: #f5eee2;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.profile-subtitle {
  margin: 8px 0 20px;
  color: #b8cfd1;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-align: center;
}

.profile-rule {
  height: 1px;
  margin: 0 4px 18px;
  background: rgba(201, 224, 224, 0.3);
}

.profile-quote {
  margin: 0 4px;
  color: #b9ced0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.profile-signature {
  margin: 6px 4px 26px;
  color: #b9ced0;
  font-family: var(--serif);
  font-size: 12px;
  text-align: right;
}

.side-nav {
  display: grid;
  gap: 4px;
  margin: 0 0 0;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 6px;
  color: #a9c2c6;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: #f6e8d5;
  background: rgba(214, 231, 232, 0.1);
  transform: translateX(2px);
}

.side-nav .nav-mark {
  width: 16px;
  color: #bdd8d8;
  font-family: var(--sans);
  font-size: 14px;
  text-align: center;
}

.main-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hero-card,
.paper-card {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent 42%, rgba(125, 91, 45, 0.05)),
    var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.hero-card {
  position: relative;
  min-height: 410px;
  padding: 30px 30px 22px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 61%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 2px 11px;
  color: #fff6e8;
  background: var(--accent);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-title {
  max-width: 450px;
  margin: 19px 0 13px;
  color: #142b39;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 37px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.hero-title a:hover {
  color: var(--accent-dark);
}

.hero-excerpt {
  max-width: 440px;
  margin: 0;
  color: #56636a;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.95;
}

.hero-note {
  max-width: 420px;
  margin: 13px 0 0;
  color: #3a4e56;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
}

.hero-photo-wrap {
  position: absolute;
  top: 22px;
  right: 25px;
  width: 34%;
  max-width: 205px;
  height: 223px;
  padding: 9px 9px 22px;
  background: #eee7d7;
  box-shadow: 0 11px 17px rgba(45, 38, 26, 0.22);
  transform: rotate(7deg);
}

.hero-photo-wrap::before,
.hero-photo-wrap::after {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 24px;
  content: "";
  opacity: 0.67;
  background: rgba(187, 170, 132, 0.63);
  mix-blend-mode: multiply;
}

.hero-photo-wrap::before {
  top: -10px;
  left: -15px;
  transform: rotate(-31deg);
}

.hero-photo-wrap::after {
  right: -16px;
  bottom: -10px;
  transform: rotate(-26deg);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.timeline-step {
  position: relative;
  text-align: center;
}

.timeline-step::before {
  position: absolute;
  top: 12px;
  right: 50%;
  left: -50%;
  z-index: 0;
  height: 1px;
  content: "";
  background: rgba(61, 81, 89, 0.32);
}

.timeline-step:first-child::before {
  display: none;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 0 auto 7px;
  color: #fff;
  background: #607a8a;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}

.timeline-step:nth-child(2) .timeline-dot {
  background: var(--accent);
}

.timeline-label {
  display: block;
  color: #2d4653;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.timeline-step:nth-child(2) .timeline-label {
  color: var(--accent-dark);
}

.timeline-copy {
  display: block;
  margin-top: 5px;
  color: #68757b;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.6;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 13px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  color: #283e49;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.section-head a {
  color: #67777c;
  font-family: var(--serif);
  font-size: 12px;
}

.section-head a:hover {
  color: var(--accent-dark);
}

.latest-card {
  padding: 16px 20px 8px;
}

.post-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(24, 44, 57, 0.1);
}

.post-row:last-child {
  border-bottom: 0;
}

.post-date {
  position: relative;
  padding-left: 13px;
  color: #657177;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.55;
}

.post-date::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.post-date .weekday {
  display: block;
  color: #8a9293;
}

.post-main {
  min-width: 0;
}

.post-title {
  display: block;
  overflow: hidden;
  color: #263b46;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-title:hover {
  color: var(--accent-dark);
}

.post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: #738087;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.post-meta {
  display: flex;
  gap: 12px;
  color: #778287;
  font-family: var(--sans);
  font-size: 11px;
  white-space: nowrap;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.empty-row {
  padding: 26px 6px;
  color: #68757b;
  font-family: var(--serif);
  font-size: 13px;
  text-align: center;
}

.right-column {
  display: grid;
  gap: 16px;
}

.next-card {
  color: #e8f0f0;
  background: linear-gradient(160deg, rgba(11, 48, 69, 0.98), rgba(4, 27, 44, 0.98));
  border: 1px solid rgba(185, 218, 220, 0.28);
}

.next-card h2 {
  margin: 0;
  padding: 20px 18px 14px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.next-photo {
  display: block;
  width: 100%;
  height: 142px;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.62) contrast(1.08);
}

.match-label {
  margin: 0;
  padding: 13px 16px 17px;
  color: #a94736;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.11em;
  text-align: center;
  background: var(--paper);
}

.stand-card,
.memory-card {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.stand-card {
  padding: 14px;
}

.stand-card h2,
.memory-card h2 {
  margin: 0 0 11px;
  color: #334954;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.stand-photo {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 5px;
  filter: sepia(0.15) saturate(0.78);
}

.stand-card p {
  margin: 9px 2px 1px;
  color: #6c7779;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.7;
}

.memory-card {
  padding: 14px;
}

.memory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.memory-tags a,
.memory-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  color: #536771;
  background: #dbe3e3;
  border: 1px solid rgba(74, 101, 110, 0.12);
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 11px;
  transition: background 160ms ease, color 160ms ease;
}

.memory-tags a:hover {
  color: #fff;
  background: var(--accent);
}

.site-footer {
  padding: 20px 0 34px;
  color: rgba(208, 225, 227, 0.56);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
}

.site-footer a:hover {
  color: #f0d8b6;
}

.post-page,
.archive-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.article-card {
  padding: clamp(22px, 5vw, 48px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-kicker {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.article-title {
  margin: 13px 0 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.35;
}

.article-meta {
  color: #738087;
  font-family: var(--serif);
  font-size: 12px;
}

.article-cover {
  width: 100%;
  max-height: 430px;
  margin: 24px 0;
  object-fit: cover;
  border-radius: 5px;
}

.article-content {
  color: #3e5058;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 1.2em 0;
  padding: 0.5em 1em;
  color: #637277;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.3);
}

.content-part { position: relative; margin: 22px 0; padding: 20px 22px; border: 1px solid rgba(35, 104, 112, .22); background: rgba(255,255,255,.34); }
.part-label { display:flex; justify-content:space-between; margin-bottom:10px; color: var(--accent-dark); font: 700 12px/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; }
.part-label span { color:#8b9da1; font-size:10px; letter-spacing:.08em; }
.content-part p { margin:0; }
.content-part-locked p { filter: blur(5px); user-select:none; opacity:.65; }
.content-part-locked::after { content:none; display:none; }
.reveal-button { position:relative; z-index:2; display:block; margin:18px auto 0; padding:4px 8px; border:0; color:#e44736; background:transparent; cursor:pointer; font:600 14px var(--sans); }
.reveal-button i { display:inline-block; margin-left:4px; font-style:normal; font-size:18px; line-height:10px; vertical-align:-2px; }

/* C 版：编辑专栏。让比赛日记像一本足球杂志专题。 */
.post-page { width:min(1180px, calc(100% - 32px)); margin-inline:auto!important; }
.post-page .article-card { width:min(920px, 100%); margin-inline:auto; padding:clamp(30px, 6vw, 64px); background:#f1eee5; border-radius:2px; }
.post-page .article-kicker { letter-spacing:.2em; color:#c85b45; }
.post-page .article-title { max-width:680px; font-size:clamp(32px, 5vw, 54px); line-height:1.18; }
.post-page .article-title, .post-page .article-meta { margin-left:auto; margin-right:auto; text-align:center; }
.post-page .article-meta { padding-bottom:22px; border-bottom:1px solid #d0ccc0; }
.post-page .article-content { max-width:690px; margin:28px auto 0; font-size:17px; line-height:2; text-align:center; }
.post-page .content-part { margin:0; padding:22px 0; border:0; border-bottom:1px dashed #c8c5b9; background:transparent; }
.post-page .content-part + .content-part { margin-top:8px; }
.post-page .content-part p { text-align:center; }
.post-page .content-part-locked::after { content:none; display:none; }
.post-page .content-part-locked { position:relative; min-height:520px; }
.post-page .content-part-locked .reveal-button { position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); margin:0!important; white-space:nowrap; }
.post-page .reveal-button { margin-top:20px; color:#d6533d; font-size:14px; }
.post-page .reveal-hint { display:none; }
.post-page .archive-list li { border-bottom:1px solid #d0ccc0; }
.post-page .archive-list a { padding:20px 4px; }
.post-page .archive-year { text-align:center; color:#c85b45; }
.post-page .archive-list a { text-align:center; }
.report-index { margin:0 auto 12px; max-width:900px; }
.report-index-head { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; text-align:center; color:#6f7d7c; }
.report-index-head span { color:#c85b45; font:11px var(--sans); letter-spacing:.18em; }
.report-index-head strong { font:600 18px var(--serif); color:#294247; }
.report-match { display:grid; grid-template-columns:56px minmax(0,1fr) auto; align-items:center; gap:18px; margin:0; padding:18px 14px; color:#294247; text-decoration:none; background:rgba(255,255,255,.28); border:0; border-top:1px solid rgba(159,145,112,.32); transition:background .2s, padding .2s; }
.report-match:last-child { border-bottom:1px solid rgba(159,145,112,.32); }
.report-match:hover { padding-inline:20px; background:rgba(255,255,255,.7); }
.report-match-code { color:#d65c42; font:700 16px var(--sans); }
.report-match span:nth-child(2) { display:grid; grid-template-columns:72px minmax(0,1fr) 140px; align-items:center; gap:12px; min-width:0; text-align:left; }
.report-match b { color:#c85b45; font:12px var(--sans); letter-spacing:.08em; }
.report-match strong { margin:2px 0; overflow:hidden; font:700 21px var(--serif); text-overflow:ellipsis; white-space:nowrap; }
.report-match strong i { color:#8a9692; font:italic 13px var(--sans); }
.report-match small { color:#7c8b89; font:12px var(--sans); white-space:nowrap; }
.report-match em { color:#d65c42; font:600 12px var(--sans); font-style:normal; white-space:nowrap; }
@media (max-width:760px){.report-match{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:14px 12px}.report-match span:nth-child(2){grid-template-columns:1fr;gap:2px}.report-match strong{font-size:18px}.report-match em{font-size:0}.report-match em::after{content:'↗';font-size:16px}}
.report-detail { text-align:left; }
.report-detail h1 { text-align:center; }
.report-back { display:inline-block; margin-bottom:18px; color:#c85b45; font:600 13px var(--sans); text-decoration:none; }
.report-kickoff { text-align:center; color:#607779; font-weight:700; }
.report-raw { margin-top:24px; padding:24px; border:1px solid #d4d0c4; background:#faf7ed; color:#3c5054; font:15px/1.85 var(--sans); overflow-wrap:anywhere; }
.report-raw strong { color:#173f48; }
body.football-journal:has(.report-index) { color:#294247; background:radial-gradient(circle at 50% -10%,rgba(116,194,199,.38),transparent 48%),linear-gradient(180deg,#f3f0e7 0%,#e8e3d8 100%); }
body.football-journal:has(.report-index)::before { background:linear-gradient(90deg,rgba(255,255,255,.42),transparent 45%,rgba(255,255,255,.3)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.08) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.06) 80px); }
body.football-journal:has(.report-index) .article-kicker,
body.football-journal:has(.report-index) .article-title { display:none; }
body.football-journal:has(.report-index) .post-page { width:min(1180px,calc(100% - 32px)); }
body.football-journal:has(.report-index) .article-card { width:min(1040px,100%); padding:clamp(34px,5vw,64px); border:1px solid rgba(159,145,112,.38); border-radius:8px; box-shadow:0 20px 55px rgba(51,83,88,.18); }
body.football-journal:has(.report-index) .article-content > h1 { margin:0 auto 34px; color:#173746; font-size:clamp(32px,4.8vw,58px); letter-spacing:.08em; text-align:center; }
.reveal-hint { display:block; margin-top:9px; color:#849397; font:12px var(--sans); }

.archive-list {
  display: grid;
  gap: 0;
  margin-top: 15px;
}

.archive-list .post-row {
  grid-template-columns: 90px minmax(0, 1fr);
}

.archive-list .post-meta {
  display: none;
}

@media (max-width: 1080px) {
  .journal-wrap {
    width: min(960px, calc(100% - 28px));
  }

  .journal-grid {
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    gap: 12px;
  }

  .profile-card {
    padding-inline: 14px;
  }

  .hero-card {
    padding-inline: 24px;
  }
}

@media (max-width: 900px) {
  .journal-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .right-column {
    display: none;
  }

  .hero-copy {
    width: 66%;
  }
}

@media (max-width: 680px) {
  .journal-wrap,
  .post-page,
  .archive-page {
    width: min(100% - 20px, 560px);
  }

  .topbar-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .topnav {
    gap: 30px;
    min-width: max-content;
    padding: 0 7px;
  }

  .topnav a {
    font-size: 14px;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .profile-card {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 18px;
  }

  .profile-card::after {
    display: none;
  }

  .profile-top {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
  }

  .avatar-ring {
    width: 88px;
    height: 88px;
    margin: 0;
  }

  .profile-title {
    font-size: 23px;
    text-align: left;
  }

  .profile-subtitle {
    margin: 6px 0 0;
    text-align: left;
  }

  .profile-rule,
  .profile-quote,
  .profile-signature {
    display: none;
  }

  .side-nav {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
  }

  .side-nav a {
    justify-content: center;
    padding: 7px 3px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .hero-card {
    min-height: 520px;
    padding: 23px 19px 18px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    max-width: 100%;
    margin-top: 14px;
    font-size: 29px;
  }

  .hero-excerpt,
  .hero-note {
    max-width: 100%;
  }

  .hero-photo-wrap {
    top: auto;
    right: 18%;
    bottom: 104px;
    width: 50%;
    max-width: 210px;
    height: 150px;
    transform: rotate(4deg);
  }

  .timeline {
    position: absolute;
    right: 19px;
    bottom: 16px;
    left: 19px;
    margin-top: 0;
  }

  .timeline-copy {
    display: none;
  }

  .latest-card {
    padding: 14px 14px 5px;
  }

  .post-row {
    grid-template-columns: 57px minmax(0, 1fr);
    gap: 10px;
  }

  .post-meta {
    display: none;
  }

  .post-title {
    font-size: 15px;
  }

  .post-excerpt {
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep article cards warm; reserve HUD accents for the midnight shell and status lines. */
body.football-journal::before {
  background:
    radial-gradient(circle at 55% 8%, rgba(37, 155, 178, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(3, 14, 24, 0.72), transparent 45%, rgba(3, 14, 24, 0.68)),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(109, 228, 239, 0.035) 80px, transparent 81px),
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(109, 228, 239, 0.025) 80px, transparent 81px);
  opacity: 0.92;
}

body.football-journal::after {
  border-color: rgba(109, 228, 239, 0.65);
  box-shadow: 0 0 28px rgba(32, 199, 212, 0.12);
  opacity: 0.16;
}

.topbar,
.journal-grid,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  border-bottom-color: rgba(109, 228, 239, 0.2);
  background:
    linear-gradient(90deg, rgba(8, 43, 61, 0.38), transparent 25%, transparent 75%, rgba(8, 43, 61, 0.38)),
    rgba(3, 16, 28, 0.72);
}

.topbar-inner {
  position: relative;
}

.brand-chip,
.topbar-status {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand-chip {
  left: 0;
  gap: 8px;
  color: rgba(220, 244, 245, 0.8);
}

.brand-orbit {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(109, 228, 239, 0.28);
}

.brand-orbit::before,
.brand-orbit::after {
  position: absolute;
  content: "";
  background: var(--signal);
}

.brand-orbit::before {
  top: 7px;
  left: -4px;
  width: 23px;
  height: 1px;
  opacity: 0.65;
}

.brand-orbit::after {
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(243, 189, 103, 0.7);
}

.brand-code {
  color: rgba(220, 244, 245, 0.76);
}

.topbar-status {
  right: 0;
  gap: 8px;
  color: rgba(171, 215, 220, 0.65);
}

.status-divider {
  width: 18px;
  height: 1px;
  background: rgba(109, 228, 239, 0.35);
}

.status-led {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(109, 228, 239, 0.1), 0 0 14px rgba(109, 228, 239, 0.85);
}

@media (prefers-reduced-motion: no-preference) {
  .status-led {
    animation: signal-pulse 2.6s ease-in-out infinite;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.topnav a::after {
  background: linear-gradient(90deg, var(--accent), var(--cyan-strong));
  box-shadow: 0 0 12px rgba(32, 199, 212, 0.28);
}

.profile-card {
  contain: paint;
  border-color: rgba(109, 228, 239, 0.28);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(109, 228, 239, 0.06);
}

.profile-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(109, 228, 239, 0.2) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(109, 228, 239, 0.14) 50%, transparent 50.5%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(109, 228, 239, 0.04) 31px, transparent 32px),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(109, 228, 239, 0.035) 31px, transparent 32px);
  opacity: 0.42;
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-rule {
  background: linear-gradient(90deg, rgba(109, 228, 239, 0.5), rgba(201, 224, 224, 0.18), transparent);
}

.side-nav a:hover,
.side-nav a.active {
  background: linear-gradient(90deg, rgba(109, 228, 239, 0.16), rgba(214, 231, 232, 0.04));
}

.main-column,
.right-column {
  position: relative;
  z-index: 1;
}

.hero-card {
  contain: paint;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow), 0 0 0 1px rgba(32, 199, 212, 0.08);
}

.hero-card::before {
  position: absolute;
  inset: 12px;
  z-index: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(32, 199, 212, 0.16);
  background:
    linear-gradient(90deg, var(--cyan-strong), var(--cyan-strong)) left top / 44px 1px no-repeat,
    linear-gradient(90deg, var(--cyan-strong), var(--cyan-strong)) right top / 44px 1px no-repeat,
    linear-gradient(90deg, var(--cyan-strong), var(--cyan-strong)) left bottom / 44px 1px no-repeat,
    linear-gradient(90deg, var(--cyan-strong), var(--cyan-strong)) right bottom / 44px 1px no-repeat;
  opacity: 0.8;
}

.hero-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 8px, rgba(23, 57, 68, 0.035) 9px, transparent 10px);
  mix-blend-mode: multiply;
}

.hero-copy,
.timeline {
  z-index: 1;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  color: #5f777d;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-status i {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: rgba(32, 199, 212, 0.48);
}

.hero-status .status-led {
  width: 5px;
  height: 5px;
}

.eyebrow {
  box-shadow: 0 4px 12px rgba(199, 85, 61, 0.22);
}

.hero-photo-wrap {
  z-index: 2;
  border: 1px solid rgba(32, 199, 212, 0.4);
  box-shadow: 0 11px 17px rgba(45, 38, 26, 0.22), 0 0 22px rgba(32, 199, 212, 0.13);
}

.hero-photo {
  filter: saturate(0.92) contrast(1.05) brightness(0.92);
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 440px;
  margin-top: 17px;
  padding-top: 10px;
  border-top: 1px solid rgba(32, 199, 212, 0.23);
}

.data-strip span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-right: 8px;
  border-right: 1px solid rgba(32, 199, 212, 0.18);
}

.data-strip span:last-child {
  border-right: 0;
}

.data-strip b {
  color: #315b64;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.data-strip small {
  overflow: hidden;
  color: #7a8586;
  font-family: var(--serif);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline {
  border-top-color: rgba(32, 199, 212, 0.2);
}

.timeline-step::before {
  background: linear-gradient(90deg, rgba(32, 199, 212, 0.18), rgba(61, 81, 89, 0.32));
}

.timeline-dot {
  box-shadow: 0 0 0 4px rgba(32, 199, 212, 0.08);
}

.timeline-step:nth-child(2) .timeline-dot {
  box-shadow: 0 0 0 4px rgba(199, 85, 61, 0.1), 0 0 14px rgba(199, 85, 61, 0.25);
}

.latest-card {
  position: relative;
  border-color: rgba(255, 255, 255, 0.58);
}

.latest-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan-strong), rgba(32, 199, 212, 0.08) 70%, transparent);
  opacity: 0.65;
}

.post-row {
  position: relative;
  transition: background 160ms ease;
}

.post-row::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: -20px;
  width: 2px;
  content: "";
  background: transparent;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.post-row:hover {
  background: linear-gradient(90deg, rgba(109, 228, 239, 0.05), transparent 42%);
}

.post-row:hover::before {
  background: var(--cyan-strong);
  box-shadow: 0 0 10px rgba(32, 199, 212, 0.45);
}

.post-date::before {
  background: linear-gradient(135deg, var(--accent), var(--signal));
}

.next-card {
  position: relative;
  border-color: rgba(109, 228, 239, 0.36);
  background:
    linear-gradient(160deg, rgba(8, 47, 68, 0.96), rgba(3, 24, 41, 0.98)),
    url("images/analytics-panel-v1.png") center / cover;
  box-shadow: var(--shadow), var(--hud-glow);
}

.next-card::before {
  position: absolute;
  inset: 8px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(109, 228, 239, 0.12);
}

.card-code {
  position: relative;
  z-index: 1;
  padding: 14px 18px 0;
  color: rgba(109, 228, 239, 0.72);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.next-card h2,
.next-photo,
.next-status,
.match-label {
  position: relative;
  z-index: 1;
}

.next-card h2 {
  padding-top: 8px;
}

.next-photo {
  opacity: 0.82;
  filter: saturate(0.9) contrast(1.08) brightness(0.82);
}

.next-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 9px 15px;
  color: rgba(177, 222, 226, 0.68);
  background: rgba(2, 18, 31, 0.68);
  border-top: 1px solid rgba(109, 228, 239, 0.18);
  border-bottom: 1px solid rgba(109, 228, 239, 0.16);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.next-status .status-led {
  width: 5px;
  height: 5px;
  margin-right: auto;
}

.match-label {
  border-top: 1px solid rgba(199, 85, 61, 0.18);
}

.stand-card,
.memory-card {
  border-color: rgba(255, 255, 255, 0.58);
}

.memory-tags a:hover {
  color: #072032;
  background: var(--cyan);
}

.article-card {
  border: 1px solid rgba(109, 228, 239, 0.18);
  box-shadow: var(--shadow), 0 0 0 1px rgba(32, 199, 212, 0.05);
}

@media (max-width: 1080px) {
  .hero-copy {
    width: min(62%, 460px);
  }

  .hero-photo-wrap {
    width: clamp(150px, 31%, 205px);
  }
}

@media (max-width: 900px) {
  .brand-chip {
    display: none;
  }

  .hero-copy {
    width: 66%;
  }
}

@media (max-width: 680px) {
  body.football-journal {
    background-attachment: scroll;
  }

  .topbar-status {
    display: none;
  }

  .hero-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-photo-wrap {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(78%, 270px);
    max-width: none;
    height: 150px;
    margin: 4px auto 0;
    transform: rotate(3deg);
  }

  .timeline {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 4px;
  }

  .data-strip {
    max-width: none;
  }
}

@media (min-width: 431px) and (max-width: 680px) {
  .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-status {
    flex-wrap: wrap;
    row-gap: 6px;
    line-height: 1.2;
  }

  .data-strip {
    gap: 6px;
  }

  .data-strip b {
    font-size: 12px;
  }
}

/* Isolate the home layout so archive and article pages keep their shared card styles. */
.home-v2 .journal-wrap {
  width: min(1320px, calc(100% - 40px));
}

.home-v2 .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 16, 28, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.home-v2 .topbar-inner,
.home-v2 .topnav {
  min-height: 68px;
}

.home-v2 .brand-chip {
  gap: 10px;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-lockup b,
.brand-lockup small {
  display: block;
  line-height: 1;
}

.brand-lockup b {
  color: #ecf7f7;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.brand-lockup small {
  color: rgba(109, 228, 239, 0.55);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.home-v2 .topnav {
  gap: clamp(24px, 4vw, 54px);
}

.home-v2 .topnav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.home-v2 .journal-grid {
  grid-template-columns: 218px minmax(0, 1fr) 236px;
  gap: 18px;
  padding-top: 20px;
}

.home-v2 .profile-card,
.home-v2 .watch-card,
.home-v2 .analysis-deck,
.home-v2 .match-brief {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-v2 .profile-card {
  min-height: 0;
  padding: 16px 16px 18px;
  background:
    linear-gradient(155deg, rgba(12, 55, 77, 0.96), rgba(4, 25, 42, 0.98) 62%),
    url("images/stadium-night.jpg") center / cover;
}

.profile-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(174, 218, 223, 0.62);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.profile-kicker b {
  color: var(--signal);
  font-weight: 500;
}

.home-v2 .avatar-ring {
  width: 104px;
  height: 104px;
  margin-bottom: 15px;
  border-color: rgba(109, 228, 239, 0.68);
  box-shadow: 0 0 0 5px rgba(109, 228, 239, 0.04), 0 0 22px rgba(32, 199, 212, 0.14);
}

.home-v2 .profile-title {
  font-size: 21px;
  letter-spacing: 0.06em;
}

.home-v2 .profile-subtitle {
  margin-bottom: 14px;
  color: rgba(197, 224, 226, 0.66);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.profile-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0 18px;
  border: 1px solid rgba(109, 228, 239, 0.14);
  background: rgba(0, 14, 27, 0.28);
}

.profile-metrics span {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 9px 3px 8px;
  border-right: 1px solid rgba(109, 228, 239, 0.12);
}

.profile-metrics span:last-child {
  border-right: 0;
}

.profile-metrics b {
  color: #ecf7f3;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.profile-metrics small {
  color: rgba(163, 201, 205, 0.55);
  font-size: 8px;
  white-space: nowrap;
}

.home-v2 .profile-rule {
  margin-bottom: 14px;
}

.home-v2 .profile-quote {
  color: rgba(193, 218, 220, 0.7);
  font-size: 13px;
  line-height: 1.9;
}

.home-v2 .profile-signature {
  margin-bottom: 18px;
  color: rgba(199, 222, 224, 0.58);
  font-size: 10px;
}

.home-v2 .side-nav {
  gap: 3px;
}

.home-v2 .side-nav a {
  gap: 9px;
  padding: 9px 8px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-v2 .side-nav .nav-mark {
  width: 22px;
  color: rgba(109, 228, 239, 0.6);
  font-family: var(--mono);
  font-size: 8px;
}

.profile-signal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 4px 0;
  padding-top: 13px;
  color: rgba(166, 205, 209, 0.52);
  border-top: 1px solid rgba(109, 228, 239, 0.12);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.home-v2 .main-column {
  gap: 14px;
}

.match-brief {
  display: grid;
  grid-template-columns: 132px repeat(3, minmax(0, 1fr));
  color: #d9ebed;
  background: linear-gradient(105deg, rgba(6, 40, 58, 0.96), rgba(4, 25, 41, 0.94));
  border: 1px solid rgba(109, 228, 239, 0.24);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(109, 228, 239, 0.035);
}

.match-brief > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 68px;
  padding: 11px 14px;
  border-right: 1px solid rgba(109, 228, 239, 0.12);
}

.match-brief > div:last-child {
  border-right: 0;
}

.match-brief small {
  overflow: hidden;
  margin-bottom: 5px;
  color: rgba(109, 228, 239, 0.52);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-brief strong {
  overflow: hidden;
  color: #eef6f4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-brief > div > span:not(.status-led) {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(188, 213, 216, 0.58);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-brief .brief-live {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 7px;
  align-content: center;
  background: rgba(109, 228, 239, 0.045);
}

.brief-live .status-led {
  align-self: center;
}

.brief-live > span:not(.status-led) {
  align-self: center;
  margin: 0;
  color: #dcebec;
  font-size: 9px;
}

.brief-live b {
  grid-column: 2;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.home-v2 .hero-card {
  min-height: 0;
  padding: 20px 22px 18px;
  contain: layout paint;
}

.home-v2 .hero-card::before {
  inset: 10px;
}

.hero-card-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(32, 199, 212, 0.18);
}

.hero-issue {
  color: #718187;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 18px;
}

.home-v2 .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  min-width: 0;
  padding: 2px 0 0;
}

.home-v2 .eyebrow {
  min-height: 25px;
  padding-inline: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
}

.home-v2 .hero-title {
  max-width: 520px;
  margin: 15px 0 12px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.24;
  letter-spacing: 0.015em;
}

.home-v2 .hero-excerpt {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.9;
}

.home-v2 .hero-note {
  max-width: 500px;
  margin-top: 11px;
  padding-left: 10px;
  color: #455d65;
  border-left: 2px solid rgba(199, 85, 61, 0.66);
  font-size: 11px;
  line-height: 1.65;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding: 10px 13px;
  color: #f8f3e9;
  background: #153c4c;
  border: 1px solid rgba(21, 60, 76, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-action:hover {
  color: #05202f;
  background: var(--cyan);
  transform: translateY(-2px);
}

.hero-action b {
  font-family: var(--mono);
  font-weight: 400;
}

.tactical-board {
  overflow: hidden;
  min-width: 0;
  color: #d9edef;
  background: #071d2b;
  border: 1px solid rgba(32, 199, 212, 0.34);
  box-shadow: inset 0 0 26px rgba(32, 199, 212, 0.07), 0 12px 28px rgba(22, 43, 49, 0.16);
}

.board-head,
.board-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  color: rgba(173, 216, 220, 0.62);
  background: rgba(2, 15, 25, 0.78);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.board-head {
  border-bottom: 1px solid rgba(109, 228, 239, 0.14);
}

.board-head b {
  color: var(--signal);
  font-size: 9px;
  font-weight: 500;
}

.board-visual {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  background: #071923;
}

.home-v2 .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.78) contrast(1.12) brightness(0.76);
}

.board-visual::before,
.board-visual::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.board-visual::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(109, 228, 239, 0.12) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(109, 228, 239, 0.1) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 50% 50%, transparent 0 34px, rgba(109, 228, 239, 0.2) 35px, transparent 36px);
  mix-blend-mode: screen;
}

.board-visual::after {
  inset: 8px;
  border: 1px solid rgba(109, 228, 239, 0.2);
}

.board-scan {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 228, 239, 0.9), transparent);
  box-shadow: 0 0 12px rgba(109, 228, 239, 0.6);
}

.pitch-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 5px;
  min-width: 72px;
  padding: 5px 7px;
  color: #e5f7f5;
  background: rgba(2, 18, 28, 0.76);
  border: 1px solid rgba(109, 228, 239, 0.34);
  backdrop-filter: blur(4px);
  font-family: var(--mono);
}

.pitch-pin i {
  grid-row: 1 / 3;
  align-self: center;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(109, 228, 239, 0.9);
}

.pitch-pin b {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.1;
}

.pitch-pin small {
  color: rgba(191, 222, 224, 0.6);
  font-size: 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.pin-a {
  top: 17%;
  left: 9%;
}

.pin-b {
  top: 47%;
  right: 8%;
  border-color: rgba(243, 189, 103, 0.45);
}

.pin-b i {
  background: var(--signal);
  box-shadow: 0 0 10px rgba(243, 189, 103, 0.8);
}

.pin-c {
  bottom: 12%;
  left: 27%;
}

.board-legend {
  justify-content: flex-start;
  border-top: 1px solid rgba(109, 228, 239, 0.12);
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.board-legend span:last-child {
  margin-left: auto;
}

.board-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.legend-cyan {
  background: var(--cyan);
}

.legend-red {
  background: var(--accent);
}

.insight-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid rgba(32, 199, 212, 0.2);
  border-bottom: 1px solid rgba(32, 199, 212, 0.14);
}

.insight-rail > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 11px 13px;
  border-right: 1px solid rgba(32, 199, 212, 0.14);
}

.insight-rail > div:last-child {
  border-right: 0;
}

.insight-rail small {
  overflow: hidden;
  color: #789096;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-rail b {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: #28515b;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.insight-rail span {
  color: #6a7a7f;
  font-family: var(--serif);
  font-size: 9px;
}

.home-v2 .timeline {
  position: relative;
  z-index: 2;
  margin-top: 15px;
  padding-top: 11px;
  border-top: 0;
}

.home-v2 .timeline-step::before {
  top: 9px;
}

.home-v2 .timeline-dot {
  width: 19px;
  height: 19px;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 7px;
}

.home-v2 .timeline-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}

.home-v2 .timeline-copy {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.analysis-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.85fr);
  color: #f3f0e7;
  background:
    radial-gradient(circle at 16% 20%, rgba(32, 199, 212, 0.11), transparent 35%),
    linear-gradient(135deg, rgba(8, 45, 63, 0.97), rgba(3, 23, 39, 0.98));
  border: 1px solid rgba(109, 228, 239, 0.25);
  box-shadow: var(--shadow), var(--hud-glow);
}

.analysis-chart,
.coach-notes {
  min-width: 0;
  padding: 16px 18px 14px;
}

.coach-notes {
  border-left: 1px solid rgba(109, 228, 239, 0.14);
  background: rgba(2, 17, 29, 0.27);
}

.deck-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.deck-head small {
  display: block;
  margin-bottom: 4px;
  color: rgba(109, 228, 239, 0.56);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
}

.deck-head h2 {
  margin: 0;
  color: #f0f6f4;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.deck-head > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(194, 219, 222, 0.62);
  font-size: 8px;
}

.deck-head > span i {
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(243, 189, 103, 0.65);
}

.chart-frame {
  margin-top: 7px;
}

.chart-frame svg {
  display: block;
  width: 100%;
  height: 122px;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(109, 228, 239, 0.1);
  stroke-width: 1;
}

.chart-area {
  fill: url(#momentumFill);
}

.chart-line {
  fill: none;
  stroke: #62dce8;
  stroke-linecap: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(98, 220, 232, 0.42));
}

.chart-marker {
  fill: none;
  stroke: rgba(243, 189, 103, 0.72);
  stroke-dasharray: 3 4;
  stroke-width: 1;
}

.chart-point {
  fill: var(--signal);
  stroke: rgba(243, 189, 103, 0.28);
  stroke-width: 7;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  color: rgba(174, 207, 211, 0.46);
  font-family: var(--mono);
  font-size: 7px;
}

.chart-axis b {
  color: var(--signal);
  font-weight: 500;
}

.coach-notes ol {
  display: grid;
  gap: 0;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.coach-notes li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(109, 228, 239, 0.1);
}

.coach-notes li:last-child {
  border-bottom: 0;
}

.coach-notes li > b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: var(--cyan);
  border: 1px solid rgba(109, 228, 239, 0.28);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
}

.coach-notes li span,
.coach-notes li strong,
.coach-notes li small {
  display: block;
}

.coach-notes li strong {
  color: #e6f0ef;
  font-size: 10px;
  font-weight: 600;
}

.coach-notes li small {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(188, 211, 213, 0.54);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v2 .latest-card {
  padding: 17px 20px 8px;
}

.home-v2 .section-head {
  align-items: flex-end;
}

.home-v2 .section-head small {
  display: block;
  margin-bottom: 4px;
  color: #6a8a8f;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.home-v2 .post-row {
  grid-template-columns: 30px 58px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 86px;
}

.post-sequence {
  color: #86a1a4;
  font-family: var(--mono);
  font-size: 9px;
}

.home-v2 .post-date {
  padding-left: 11px;
  font-family: var(--mono);
  font-size: 10px;
}

.home-v2 .post-date::before {
  top: 6px;
  width: 5px;
  height: 5px;
}

.post-kind {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.home-v2 .post-title {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-v2 .post-meta {
  align-items: center;
}

.post-open {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 3px;
  color: #365a62;
  border: 1px solid rgba(54, 90, 98, 0.22);
  font-family: var(--mono);
  transition: color 160ms ease, background 160ms ease;
}

.post-open:hover {
  color: #fff;
  background: var(--accent);
}

.home-v2 .right-column {
  gap: 14px;
}

.home-v2 .next-card {
  padding: 0 14px 14px;
}

.home-v2 .next-card::before {
  inset: 7px;
}

.home-v2 .card-code {
  display: flex;
  justify-content: space-between;
  padding: 14px 2px 0;
}

.home-v2 .card-code b {
  color: var(--signal);
  font-weight: 500;
}

.home-v2 .next-card h2 {
  padding: 8px 2px 12px;
  font-size: 17px;
}

.match-radar {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 132px;
  border: 1px solid rgba(109, 228, 239, 0.18);
  background: #041827;
}

.match-radar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  filter: saturate(0.78) contrast(1.14) brightness(0.75);
}

.match-radar::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(109, 228, 239, 0.09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(109, 228, 239, 0.08) 1px, transparent 1px) 0 0 / 24px 24px;
}

.match-radar > span {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 6px;
  padding: 4px 6px;
  color: rgba(194, 232, 234, 0.7);
  background: rgba(1, 15, 25, 0.72);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.radar-sweep {
  position: absolute;
  z-index: 2;
  top: -40%;
  bottom: -40%;
  left: 49%;
  width: 1px;
  background: linear-gradient(transparent, rgba(109, 228, 239, 0.8), transparent);
  box-shadow: 0 0 10px rgba(109, 228, 239, 0.72);
  transform: rotate(26deg);
  transform-origin: 50% 50%;
}

.versus-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 5px;
  align-items: center;
  padding: 14px 2px 12px;
  text-align: center;
}

.versus-board > div:not(.kickoff) {
  display: grid;
  gap: 3px;
}

.versus-board small,
.match-facts small {
  color: rgba(109, 228, 239, 0.5);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.versus-board strong {
  color: #e4efee;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
}

.kickoff {
  display: grid;
  gap: 2px;
  min-width: 58px;
  padding: 7px 5px;
  color: #092233;
  background: var(--paper);
}

.kickoff b {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 11px;
}

.kickoff span {
  color: #6e7676;
  font-size: 8px;
}

.match-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(109, 228, 239, 0.14);
  background: rgba(1, 16, 27, 0.32);
}

.match-facts span {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 2px;
  border-right: 1px solid rgba(109, 228, 239, 0.1);
}

.match-facts span:last-child {
  border-right: 0;
}

.match-facts b {
  color: #dcebea;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
}

.watch-card {
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.watch-card-head {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  align-items: center;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(24, 44, 57, 0.12);
}

.watch-card-head small,
.memory-head small {
  display: block;
  margin-bottom: 4px;
  color: #6c898d;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.watch-card h2,
.memory-head h2 {
  margin: 0;
  color: #2e4651;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.07em;
}

.watch-card-head img {
  display: block;
  width: 54px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.62) contrast(1.02);
}

.watch-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.watch-card li {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(24, 44, 57, 0.09);
}

.watch-card li > span {
  color: #7a9699;
  font-family: var(--mono);
  font-size: 8px;
}

.watch-card li p,
.watch-card li b,
.watch-card li small {
  display: block;
  margin: 0;
}

.watch-card li b {
  color: #344b55;
  font-size: 10px;
}

.watch-card li small {
  overflow: hidden;
  margin-top: 3px;
  color: #7b8586;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-card > a {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  padding: 8px 9px;
  color: #234956;
  background: rgba(32, 199, 212, 0.09);
  border: 1px solid rgba(32, 199, 212, 0.15);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.watch-card > a:hover {
  color: #fff;
  background: var(--accent);
}

.home-v2 .memory-card {
  padding: 14px;
}

.memory-head {
  margin-bottom: 11px;
}

.home-v2 .memory-tags {
  gap: 6px;
}

.home-v2 .memory-tags a {
  flex: 1 0 calc(33.333% - 6px);
  justify-content: center;
  min-width: 0;
  padding-inline: 5px;
  font-family: var(--sans);
  font-size: 9px;
}

@media (prefers-reduced-motion: no-preference) {
  .board-scan {
    animation: board-scan 5s linear infinite;
  }

  .radar-sweep {
    animation: radar-breathe 3.8s ease-in-out infinite;
  }
}

@keyframes board-scan {
  from {
    top: 0;
  }

  to {
    top: 100%;
  }
}

@keyframes radar-breathe {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.9;
  }
}

@media (max-width: 1180px) {
  .home-v2 .journal-wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .home-v2 .journal-grid {
    grid-template-columns: 200px minmax(0, 1fr) 218px;
    gap: 14px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
    gap: 17px;
  }

  .home-v2 .hero-title {
    font-size: clamp(28px, 3vw, 36px);
  }
}

@media (max-width: 1040px) {
  .home-v2 .journal-grid {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .home-v2 .right-column {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 820px) {
  .home-v2 .journal-wrap {
    width: min(100% - 24px, 760px);
  }

  .home-v2 .topbar-status {
    display: none;
  }

  .home-v2 .journal-grid {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .home-v2 .profile-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(170px, 0.7fr) minmax(260px, 1.3fr);
    gap: 0 20px;
    padding: 14px 16px;
  }

  .home-v2 .profile-kicker,
  .home-v2 .profile-rule,
  .home-v2 .profile-quote,
  .home-v2 .profile-signature,
  .home-v2 .profile-card::after {
    display: none;
  }

  .home-v2 .profile-top {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-row: 1 / 3;
    gap: 11px;
    align-items: center;
  }

  .home-v2 .avatar-ring {
    width: 66px;
    height: 66px;
    margin: 0;
  }

  .home-v2 .profile-title {
    font-size: 18px;
    text-align: left;
  }

  .home-v2 .profile-subtitle {
    margin: 5px 0 0;
    text-align: left;
  }

  .home-v2 .profile-metrics {
    margin: 0 0 7px;
  }

  .home-v2 .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-signal {
    display: none;
  }

  .home-v2 .right-column {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .home-v2 .journal-wrap {
    width: min(100% - 18px, 560px);
  }

  .home-v2 .topbar-inner {
    justify-content: flex-end;
    overflow: visible;
  }

  .home-v2 .brand-chip {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    margin-right: auto;
    transform: none;
  }

  .brand-lockup small {
    display: none;
  }

  .home-v2 .topnav {
    gap: 18px;
    min-width: 0;
    padding: 0;
  }

  .home-v2 .topnav a {
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .home-v2 .profile-card {
    grid-template-columns: 1fr;
  }

  .home-v2 .profile-top {
    grid-row: auto;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .home-v2 .profile-metrics {
    margin-top: 12px;
  }

  .home-v2 .side-nav {
    margin-top: 0;
  }

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

  .match-brief .brief-live {
    grid-column: 1 / -1;
    min-height: 40px;
  }

  .match-brief > div {
    min-height: 60px;
    padding: 9px 8px;
  }

  .match-brief > div > span:not(.status-led) {
    display: none;
  }

  .match-brief strong {
    font-size: 10px;
  }

  .home-v2 .hero-card {
    display: block;
    padding: 18px 15px 16px;
  }

  .hero-card-head {
    align-items: flex-start;
  }

  .hero-issue {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-v2 .hero-copy {
    width: 100%;
  }

  .home-v2 .hero-title {
    font-size: clamp(29px, 9vw, 36px);
  }

  .hero-action {
    margin-top: 16px;
  }

  .board-visual {
    min-height: 220px;
  }

  .insight-rail > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 6px;
  }

  .insight-rail b {
    grid-row: auto;
    grid-column: auto;
    font-size: 12px;
  }

  .insight-rail span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-v2 .timeline {
    position: relative;
    inset: auto;
  }

  .analysis-deck {
    grid-template-columns: 1fr;
  }

  .coach-notes {
    border-top: 1px solid rgba(109, 228, 239, 0.14);
    border-left: 0;
  }

  .home-v2 .post-row {
    grid-template-columns: 26px 52px minmax(0, 1fr);
    gap: 8px;
  }

  .home-v2 .post-meta {
    display: none;
  }

  .home-v2 .right-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .home-v2 .brand-chip {
    gap: 6px;
  }

  .brand-lockup b {
    font-size: 7px;
  }

  .home-v2 .topnav {
    gap: 12px;
  }

  .home-v2 .topnav a {
    font-size: 10px;
  }

  .home-v2 .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2 .hero-status {
    font-size: 7px;
  }

  .home-v2 .hero-status i,
  .home-v2 .hero-status span:last-child {
    display: none;
  }

  .board-visual {
    min-height: 190px;
  }

  .pitch-pin {
    min-width: 60px;
    padding: 4px 5px;
  }

  .pitch-pin small {
    display: none;
  }

  .home-v2 .timeline-copy {
    display: none;
  }

  .analysis-chart,
  .coach-notes {
    padding-inline: 14px;
  }

  .chart-frame svg {
    height: 105px;
  }

  .post-sequence {
    display: none;
  }

  .home-v2 .post-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

/* Final unified shell override */
body.football-journal { color:#294247; background:#f3f0e7 !important; }
body.football-journal::before { background:repeating-linear-gradient(0deg,transparent 0 47px,rgba(145,130,100,.07) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(145,130,100,.05) 80px) !important; opacity:1; }
body.football-journal::after { display:none; }
body.football-journal:not(.home-v2) { color:#e8f0f1; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal:not(.home-v2)::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal:not(.home-v2)::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }

body.football-journal.home-v2 { color:#294247; background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal.home-v2::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal.home-v2::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }

/* Unified typography system */
body.football-journal { font-family:var(--sans); }
.article-title,.article-content > h1,.hero-title,.profile-title,.watch-card h2,.memory-head h2,.deck-head h2 { font-family:var(--serif); }
.article-content { font-family:var(--sans); font-size:16px; line-height:1.9; }
.article-content h2,.article-content h3,.report-detail h1 { font-family:var(--serif); }
.topnav a,.side-nav a,.report-match b,.report-match small,.report-match em { font-family:var(--sans); }
.post-title,.report-match strong { font-family:var(--serif); }
.profile-kicker,.deck-head small,.watch-card-head small,.memory-head small,.report-match-code,.post-meta,.article-kicker { font-family:var(--mono); }

/* Unified display titles */
body.home-v2 .hero-title { font-family:var(--serif); font-size:clamp(28px,3vw,36px) !important; line-height:1.3; font-weight:600; }
body.football-journal:has(.report-index) .article-content > h1 { font-family:var(--serif); font-size:clamp(30px,4vw,46px) !important; line-height:1.25; font-weight:600; }

.contact-page { max-width:560px; margin:0 auto; text-align:center; }
.contact-page .contact-lead { margin:22px auto 26px; color:#536d73; font-size:16px; line-height:1.9; }
.contact-qr { width:260px; margin:0 auto 18px; padding:14px; background:#fff; border:1px solid #d8d2c4; box-shadow:0 10px 24px rgba(46,65,71,.12); }
.contact-qr img { display:block; width:100%; height:auto; }
.contact-note { margin:0; color:#294247; font-weight:600; }

.contact-modal { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:20px; background:rgba(8,25,36,.58); backdrop-filter:blur(4px); }
.contact-modal[hidden] { display:none; }
.contact-modal-card { position:relative; width:min(360px,100%); padding:26px 26px 22px; text-align:center; background:#f7f4ec; border:1px solid #d8d2c4; border-radius:8px; box-shadow:0 24px 70px rgba(4,18,28,.3); }
.contact-modal-card img { display:block; width:260px; max-width:100%; height:auto; margin:4px auto 14px; }
.contact-modal-card p { margin:0; color:#294247; font:600 14px/1.6 var(--sans); }
.contact-modal-close { position:absolute; top:8px; right:10px; width:28px; height:28px; padding:0; color:#536d73; background:transparent; border:0; font:24px/28px var(--sans); cursor:pointer; }

.diary-index { max-width:820px; margin:22px auto 0; }
.diary-match { color:#294247; }
.diary-match b { color:#c85b45; }
.diary-match .report-match-code { font-weight:700; }

/* The diary index follows the homepage width so navigation does not make the page feel smaller. */
.football-journal.diary-archive .post-page { width:min(1180px,calc(100% - 32px)); }
.football-journal.diary-archive .post-page .article-card { width:100% !important; max-width:none; }

/* Keep every section's top navigation aligned with the homepage shell. */
.football-journal:not(.home-v2) .topbar .journal-wrap {
  width:min(1320px,calc(100% - 40px));
}
.football-journal:not(.home-v2) .topbar-inner,
.football-journal:not(.home-v2) .topnav {
  min-height:68px;
}
.football-journal:not(.home-v2) .topbar {
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(3,16,28,.86);
  box-shadow:0 12px 34px rgba(0,0,0,.16);
}

/* Repeated diagonal ownership watermark across the reading surface. */
body.football-journal::after {
  content:"";
  position:fixed;
  inset:-42%;
  z-index:30;
  width:auto;
  height:auto;
  border:0;
  pointer-events:none;
  opacity:.16;
  transform:rotate(-25deg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='160' viewBox='0 0 280 160'%3E%3Ctext x='10' y='28' fill='%236d7778' fill-opacity='.78' font-family='Arial,sans-serif' font-size='17' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3Ctext x='150' y='108' fill='%236d7778' fill-opacity='.78' font-family='Arial,sans-serif' font-size='17' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3C/svg%3E");
  background-size:280px 160px;
}

/* QR contact dialog — light centered card */
.contact-modal { background:rgba(28,48,54,.14) !important; backdrop-filter:blur(2px); }
.contact-modal-card { width:min(430px,calc(100vw - 32px)); padding:42px 40px 40px; background:#fbfaf5; border:1px solid rgba(190,181,157,.45); border-radius:16px; box-shadow:0 26px 70px rgba(36,53,59,.25); }
.contact-modal-kicker { margin-bottom:12px; color:#c85b45; font:600 12px var(--sans); letter-spacing:.14em; }
.contact-modal-card h2 { margin:0 0 10px; color:#173f48; font:600 26px/1.35 var(--serif); }
.contact-modal-subtitle { margin:0 0 24px; color:#7a8988; font:13px/1.6 var(--sans); }
.contact-modal-qr { width:228px; margin:0 auto 24px; padding:12px; background:#fff; border:1px solid #dedbd2; }
.contact-modal-qr img { display:block; width:100%; height:auto; }
.contact-modal-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; color:#526664; background:#fbfaf5; border:1px solid #dedbd2; font:12px var(--sans); }
.contact-modal-footer b { padding:5px 9px; color:#71817f; background:#ece9df; font-weight:600; }
.contact-modal-close { top:14px; right:16px; width:30px; height:30px; color:#294247; font-size:26px; }

/* Keep the homepage shell consistent with article and archive pages. */
body.football-journal.home-v2 { background:linear-gradient(180deg,#0b2b3e 0%,#061a2a 100%) !important; }
body.football-journal.home-v2::before { background:linear-gradient(90deg,rgba(3,18,30,.42),transparent 46%,rgba(3,18,30,.36)),repeating-linear-gradient(0deg,transparent 0 47px,rgba(109,228,239,.045) 48px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(109,228,239,.035) 80px) !important; }
body.football-journal.home-v2::after { display:block; opacity:.1 !important; border-color:rgba(109,228,239,.48); }

/* Keep reports visually distinct from diary posts while both stay inside the preview feed. */
.home-v2 .preview-card {
  padding-bottom: 18px;
}

.preview-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.preview-source {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 106px;
  padding: 16px 46px 16px 17px;
  overflow: hidden;
  border: 1px solid rgba(37, 82, 91, 0.18);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.preview-source::after {
  position: absolute;
  right: -28px;
  bottom: -47px;
  width: 110px;
  height: 110px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
}

.preview-source:hover {
  border-color: rgba(32, 199, 212, 0.55);
  box-shadow: 0 10px 24px rgba(17, 52, 61, 0.12);
  transform: translateY(-2px);
}

.preview-source-code {
  margin-bottom: 8px;
  color: #668187;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.preview-source strong {
  color: #264650;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
}

.preview-source small {
  margin-top: 5px;
  color: #718184;
  font-size: 13px;
  line-height: 1.5;
}

.preview-source small b {
  color: inherit;
  font-family: var(--mono);
  font-weight: 600;
}

.preview-source > i {
  position: absolute;
  top: 50%;
  right: 17px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  opacity: 0.72;
  transform: translateY(-50%);
}

.preview-source-diary {
  color: #3e7178;
  background: linear-gradient(135deg, rgba(91, 183, 190, 0.12), rgba(255, 255, 255, 0.32));
}

.preview-source-report {
  color: #83dce4;
  background:
    linear-gradient(135deg, rgba(9, 52, 70, 0.97), rgba(4, 31, 48, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(109, 228, 239, 0.08) 32px);
  border-color: rgba(109, 228, 239, 0.28);
}

.preview-source-report .preview-source-code {
  color: rgba(109, 228, 239, 0.7);
}

.preview-source-report strong {
  color: #f1f7f5;
}

.preview-source-report small {
  color: rgba(207, 228, 229, 0.72);
}

.preview-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 43px;
  padding: 9px 4px;
  border-top: 1px solid rgba(24, 44, 57, 0.12);
  border-bottom: 1px solid rgba(24, 44, 57, 0.12);
}

.preview-feed-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.preview-feed-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--cyan-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(32, 199, 212, 0.08);
}

.preview-feed-head strong {
  color: #2b4a53;
  font-family: var(--serif);
  font-size: 15px;
}

.preview-feed-head small {
  color: #8a989a;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.preview-feed-head > a {
  flex: 0 0 auto;
  color: #647b80;
  font-size: 12px;
}

.preview-feed-head > a:hover {
  color: var(--accent-dark);
}

.report-preview-list {
  display: grid;
}

.report-preview-row {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(24, 44, 57, 0.1);
  transition: background 160ms ease, padding 160ms ease;
}

.report-preview-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(32, 199, 212, 0.09), rgba(32, 199, 212, 0.02));
}

.report-preview-code {
  color: #2d6973;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.report-preview-main {
  display: grid;
  min-width: 0;
}

.report-preview-main small {
  margin-bottom: 3px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
}

.report-preview-main strong {
  overflow: hidden;
  color: #243f49;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-preview-main em {
  overflow: hidden;
  margin-top: 4px;
  color: #788688;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-preview-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  color: #315b64;
  border: 1px solid rgba(49, 91, 100, 0.2);
  font-size: 12px;
  white-space: nowrap;
}

.report-preview-open b {
  font-family: var(--mono);
  font-weight: 500;
}

.report-preview-row:hover .report-preview-open {
  color: #fff;
  background: #173f4c;
  border-color: #173f4c;
}

.report-preview-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0;
  padding: 16px;
  color: #536b70;
  background: rgba(32, 199, 212, 0.06);
  border: 1px dashed rgba(32, 199, 212, 0.24);
  font-size: 14px;
}

.report-preview-empty b {
  color: #234d58;
  font-size: 13px;
}

.preview-feed-diary {
  margin-top: 7px;
}

.preview-feed-diary .preview-feed-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 85, 61, 0.08);
}

@media (max-width: 680px) {
  .preview-source-grid {
    grid-template-columns: 1fr;
  }

  .preview-source {
    min-height: 96px;
  }

  .preview-feed-head small {
    display: none;
  }

  .report-preview-row {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 86px;
  }

  .report-preview-open {
    display: none;
  }

  .report-preview-main strong {
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .preview-source-grid {
    margin-top: 13px;
  }

  .preview-source {
    padding-left: 14px;
  }

  .report-preview-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-block: 14px;
  }

  .report-preview-code {
    font-size: 10px;
  }
}

/* Final watermark pass (must remain last so homepage overrides cannot hide it). */
body.football-journal::after {
  content:"";
  display:block !important;
  position:fixed;
  inset:-42%;
  z-index:30;
  width:auto;
  height:auto;
  border:0 !important;
  pointer-events:none;
  opacity:.24 !important;
  transform:rotate(-25deg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='160' viewBox='0 0 280 160'%3E%3Ctext x='10' y='28' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3Ctext x='150' y='108' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3C/svg%3E") !important;
  background-size:280px 160px !important;
}

/* Homepage-specific specificity keeps the watermark at the same visible strength. */
body.football-journal.home-v2::after {
  opacity:.24 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='160' viewBox='0 0 280 160'%3E%3Ctext x='10' y='28' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3Ctext x='150' y='108' fill='%236d7778' fill-opacity='.9' font-family='Arial,sans-serif' font-size='17' font-weight='600' letter-spacing='2'%3Eehgvff.cn%3C/text%3E%3C/svg%3E") !important;
  background-size:280px 160px !important;
}

/* Shared navigation metrics: homepage and match diary must not reflow when switching pages. */
html { scrollbar-gutter: stable; }
body.football-journal .topbar-inner { width:min(1320px,calc(100% - 40px)); }
body.football-journal .topnav {
  gap: clamp(24px, 4vw, 54px);
  min-height: 68px;
}
body.football-journal .topnav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  min-height: 68px;
}
@media (max-width: 680px) {
  body.football-journal .topnav { gap: 18px; min-height: 68px; }
  body.football-journal .topnav a { font-size: 11px; letter-spacing: .05em; min-height: 68px; }
}
@media (max-width: 430px) {
  body.football-journal .topnav { gap: 12px; }
  body.football-journal .topnav a { font-size: 10px; }
}
