/* Stage 1: layer ONLY. Original 2010s theme stays in /ministyle.css. */
body, .body-fauxcolumn-outer { background-color:#e7e0d9; background-image:none; }
#top, #fideohead, #fvideo, .post { background-color:#f7f1ee; }
#menu ul, #cat ul { list-style:none; }
#cat { min-height:32px; }
#cat li { display:inline-block; padding:7px 12px; }
.modern-sidebar { padding:10px 12px 16px; box-sizing:border-box; }
.modern-sidebar h3 { font:bold 17px Georgia,serif; margin:12px 0 6px; }
.modern-highlights { display:block; }
.modern-list-row { padding:10px 3px; border-bottom:1px solid #d8cdc6; }
.modern-list-row small { display:block; color:#766c66; margin-top:3px; }
.modern-list-row b { margin-left:10px; }
.modern-meta { color:#6a5b55; font-style:italic; }
.modern-score { font:bold 32px Georgia,serif; text-align:center; color:#9b211b; }
.modern-date-nav { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
.modern-footer { clear:both; padding:14px; text-align:center; font-size:12px; color:#666; }
@media (max-width:1010px) {
    .wrapper { width:min(100%,1000px); }
    #content, #rightcol { width:100%; float:none; }
    .blogname { width:60%; }
    .today { width:0; }
    #subscribe { width:30%; }
    .post { background-size:100% auto; }
}
@media (max-width:600px) {
    .blogname { width:100%; float:none; }
    .blogname h1 { font-size:30px; margin:14px 0 0; }
    #top { height:auto; min-height:100px; }
    #subscribe { display:none; }
    #rightcol { margin-top:12px; }
}

/* Old tournament navigation, no remote Superfish/jQuery dependency. */
.modern-tournament-title {display:block; padding:8px; cursor:default;}
.sf-menu .modern-tournament-group:hover .modern-tournament-title,
.sf-menu .modern-tournament-group:focus-within .modern-tournament-title {background:#c7bebb;}
.sf-menu .modern-tournament-group:focus-within > ul.children {left:0;top:30px;z-index:150;}
.modern-tournament-group ul.children {min-width:180px;}
.modern-languages a {margin-right:9px;}
.modern-archive .entry {overflow-wrap:anywhere;}
.modern-comment {padding:10px 0;border-bottom:1px solid #c7c5c4;}
.modern-comment time {margin-left:10px;font-size:12px;color:#766c66;}
.modern-comment p {white-space:normal;}
.modern-comment-pages {display:flex;gap:8px;flex-wrap:wrap;margin:15px 0;}
@media (max-width:1010px) {
  .sf-menu {width:100%;height:auto;min-height:31px;}
  #cat {height:auto;}
  #cat::after {content:"";display:block;clear:both;}
}

/* Stage 1 / Patch 04: match video review. Keep original theme textures and colors. */
.modern-highlight-page .entry { overflow-wrap:anywhere; }
.modern-match-time {text-align:center;color:#625952;font-size:13px;margin:0 0 12px;}
.modern-match-link {text-align:center;margin:8px 0 22px;}
.modern-review-section {margin:18px 0 24px;}
.modern-review-section h3 {font:bold 21px Georgia,serif;color:#605a57;border-bottom:1px solid #c4b9b2;padding-bottom:5px;margin:12px 0;}
.modern-review-section h4 {font:bold 17px Georgia,serif;margin:12px 0;}
.modern-review-section h5 {font:bold 13px Georgia,serif;color:#685b56;margin:12px 0 6px;}
.modern-event-list {padding:0;margin:6px 0 0;list-style:none;}
.modern-event-list li {padding:6px 4px;border-bottom:1px dotted #c9beb7;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;}
.modern-event-list small {color:#685e58;}
.modern-event-minute {min-width:35px;color:#942720;font-variant-numeric:tabular-nums;}
.modern-event-score {margin-left:auto;color:#942720;}
.modern-lineups {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.modern-lineup-side {min-width:0;}
.modern-players {list-style:none;padding:0;margin:0;}
.modern-players li {display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;padding:5px 3px;border-bottom:1px dotted #d3c8c1;}
.modern-shirt {display:inline-block;min-width:24px;text-align:right;font-weight:bold;color:#8c3830;font-size:12px;}
.modern-player-name {flex:1 1 125px;}
.modern-sub-out {flex:1 1 100%;margin-left:32px;color:#6a5b55;}
.modern-video-list {display:grid;gap:8px;}
.modern-video-link {display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #d1c7c0;background:#f9f6f2;}
.modern-video-link small {margin-left:auto;color:#695f5a;font-size:12px;}
.modern-play {color:#9b211b;font-size:19px;}
@media(max-width:650px) {.modern-lineups {grid-template-columns:1fr;gap:12px;}}

/* Stage 1 / Patch 05: retro Highlights compact football notation. */
.modern-highlight-page .title h2 {font: bold 20px Georgia,serif; line-height:1.3; margin:0; text-align:left;}
.modern-highlight-page .modern-title-score {white-space:nowrap; color:#a4211b;}
.modern-highlight-page .modern-match-time {text-align:left; margin:6px 0;}
.modern-highlight-page .modern-match-link {text-align:left; margin:6px 0 12px;}
.modern-highlight-page .modern-review-section {margin:14px 0 16px;}
.modern-highlight-page .modern-review-section > h5 {font:bold 18px Georgia,serif; height:auto; line-height:1.3; color:#8d1b11; border-bottom:1px solid #c4b9b2; margin:9px 0 7px; padding:2px 0 4px;}
.modern-highlight-page .modern-lineup-side .modern-team-heading {font:bold 15px Georgia,serif; height:auto; line-height:1.3; color:#46403c; padding:3px 0; margin:3px 0 6px;}
.modern-highlight-page .modern-event-list {max-width:470px;}
.modern-highlight-page .modern-event-list li {display:flex; align-items:center; gap:5px; padding:4px 3px; flex-wrap:wrap;}
.modern-highlight-page .modern-event-minute {flex:0 0 42px; min-width:0; white-space:nowrap;}
.modern-highlight-page .modern-event-score {margin-left:5px; color:#942720; white-space:nowrap;}
.modern-highlight-page .modern-event-badge {display:inline-flex; align-items:center; gap:2px; vertical-align:middle; flex:none; white-space:nowrap; line-height:1;}
.modern-highlight-page .entry .modern-event-badge img {box-sizing:content-box; display:inline-block; vertical-align:middle; width:16px; height:16px; padding:0; margin:0; border:0; background:none;}
.modern-highlight-page .modern-badge-minute {font:11px Arial,sans-serif; color:#635853;}
.modern-highlight-page .modern-players {padding:0; margin:0;}
.modern-highlight-page .modern-players li {display:flex; align-items:center; flex-wrap:wrap; gap:3px 6px; padding:4px 5px; line-height:1.2;}
.modern-highlight-page .modern-shirt {flex:0 0 24px; min-width:24px; text-align:right;}
.modern-highlight-page .modern-player-name {flex:0 1 auto; min-width:0; overflow-wrap:anywhere; margin-right:3px;}
.modern-highlight-page .modern-players-reserve {border-top:2px solid #b3a7a0; margin-top:13px; padding-top:8px; background:rgba(105,80,64,.035);}
.modern-highlight-page .modern-players-reserve li {color:#5b534f;}
.modern-highlight-page .modern-goal-list li {justify-content:flex-start;}
.modern-highlight-page .modern-lineups {gap:16px;}
.modern-highlight-page .modern-video-list {gap:9px;}
.modern-highlight-page .modern-video-link {display:flex; align-items:center; gap:12px; min-height:48px; padding:6px 8px;}
.modern-highlight-page .modern-video-thumb-box {display:block; flex:none; width:144px; height:81px; overflow:hidden; position:relative; background:#26201d;}
.modern-highlight-page .entry .modern-video-thumb {display:block; width:144px; height:81px; object-fit:cover; border:0; margin:0; padding:0; background:none;}
.modern-highlight-page .modern-video-overlay {position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color:white; background:rgba(156,20,20,.88); border-radius:7px; font:17px Arial,sans-serif; padding:8px 12px;}
.modern-highlight-page .modern-video-copy {display:flex; flex-direction:column; gap:4px; flex:1 1 auto; min-width:0;}
.modern-highlight-page .modern-video-copy small {margin:0;}
@media (max-width:650px) {
    .modern-highlight-page .modern-lineups {grid-template-columns:1fr; gap:15px;}
    .modern-highlight-page .modern-event-list {max-width:100%;}
}
@media (max-width:380px) {
    .modern-highlight-page .modern-video-thumb-box, .modern-highlight-page .entry .modern-video-thumb {width:108px; height:61px;}
}


/* Stage 1 / Patch 06: compact Highlights; leave retro theme files untouched. */
.modern-highlight-page .modern-review-section > h5,
.modern-highlight-page .modern-lineup-side .modern-team-heading {
    font-family:Georgia,serif;
    font-size:13px;
    font-weight:bold;
    line-height:1.3;
}
.modern-highlight-page .modern-review-section > h5 {margin:9px 0 7px; padding:2px 0 4px;}
.modern-highlight-page .modern-lineup-side .modern-team-heading {margin:3px 0 6px; padding:3px 0;}
.modern-highlight-page .modern-goal-list .modern-goal-row {gap:5px; flex-wrap:nowrap; width:max-content; max-width:100%;}
.modern-highlight-page .modern-goal-list .modern-event-minute {flex:0 0 42px;}
.modern-highlight-page .modern-goal-list .modern-event-score {order:0; margin:0; min-width:30px; font-variant-numeric:tabular-nums;}
.modern-highlight-page .modern-goal-name {min-width:0; overflow-wrap:break-word;}
.modern-highlight-page .modern-goal-note {white-space:nowrap; color:#756963; font-style:italic;}
.modern-highlight-page .modern-players li {flex-wrap:nowrap;}
.modern-highlight-page .modern-players .modern-player-name {flex:1 1 auto; margin-right:0; min-width:0;}
.modern-highlight-page .modern-player-sub-events {display:inline-flex; gap:4px; flex:0 0 auto; align-items:center; margin-left:auto; justify-content:flex-end;}
.modern-highlight-page .modern-players-reserve {background:transparent; border-top:1px solid #b3a7a0; padding-top:7px;}
.modern-highlight-page .modern-players-reserve li {color:inherit; font:inherit;}
.modern-highlight-page .modern-card-heading {text-align:center;}
.modern-highlight-page .modern-card-teams {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
.modern-highlight-page .modern-card-team {min-width:0; list-style:none; padding:0; margin:0;}
.modern-highlight-page .modern-card-row {display:flex; gap:5px; align-items:center; padding:4px 3px; border-bottom:1px dotted #c9beb7;}
.modern-highlight-page .modern-card-team:last-child .modern-card-row {justify-content:flex-end;}
.modern-highlight-page .modern-card-minute {flex:0 0 auto; color:#942720; font-variant-numeric:tabular-nums;}
.modern-highlight-page .modern-card-player {min-width:0; overflow-wrap:anywhere;}

/* Restore a single-row retro tournament menu, with CSS-only submenus. */
#cat {height:33px; min-height:33px; overflow:visible;}
#cat .sf-menu {float:none; display:flex; width:100%; height:31px; flex-wrap:nowrap; align-items:stretch; box-sizing:border-box;}
#cat .sf-menu > .modern-tournament-group {float:none; flex:1 1 auto; min-width:0; position:relative; text-align:center;}
#cat .modern-tournament-title {display:block; padding:8px 2px; font:normal 11px/14px Georgia,serif; white-space:nowrap; color:#666; text-transform:uppercase; cursor:default;}
#cat .modern-tournament-group > ul.children {left:-9999px; top:30px; width:180px; text-align:left; box-shadow:0 3px 5px #0002;}
#cat .modern-tournament-group:hover > ul.children,
#cat .modern-tournament-group:focus-within > ul.children {left:0; top:30px; z-index:150;}
#cat .modern-tournament-group > ul.children li {float:none; width:100%; box-sizing:border-box;}
#cat .modern-tournament-group > ul.children a {padding:7px 8px; font:12px Georgia,serif; text-transform:none;}
@media (max-width:750px) {
  #cat {height:auto; min-height:33px;}
  #cat .sf-menu {height:auto; flex-wrap:wrap;}
  #cat .sf-menu > .modern-tournament-group {flex:0 0 auto;}
  #cat .modern-tournament-title {padding:8px 9px;}
}


/* Stage 1 / Patch 07: original tournament menu, aligned football columns. */
/* The 2010s Superfish visual language: Georgia 12px and »; no third-party JS. */
#cat {height:33px; min-height:33px; overflow:visible;}
#cat .sf-menu {display:flex; flex-wrap:nowrap; justify-content:flex-start; align-items:stretch; height:31px; width:100%; float:none; margin:0; padding:0; background:#ddd8d5; border-top:1px solid #c7c5c4; border-bottom:1px solid #c7c5c4; box-sizing:border-box;}
#cat .sf-menu > .modern-tournament-group {flex:0 0 auto; float:none; display:block; min-width:0; padding:0; margin:0; background:#ddd8d5; text-align:left; position:relative;}
#cat .modern-tournament-title {display:block; font:normal 12px/15px Georgia,serif; color:#666; text-transform:uppercase; white-space:nowrap; cursor:default; padding:7px 8px; box-sizing:border-box; height:30px;}
#cat .modern-tournament-arrow {font:normal 12px Georgia,serif; color:inherit;}
#cat .modern-tournament-group:hover > .modern-tournament-title,
#cat .modern-tournament-group:focus-within > .modern-tournament-title {background:#ddd8d5; color:#bc0705;}
#cat .modern-tournament-group > ul.children {display:block; position:absolute; left:-9999px; top:30px; width:180px; margin:0; padding:0; border:0; background:#ddd8d5; box-shadow:none; text-align:left; z-index:150;}
#cat .modern-tournament-group:hover > ul.children,
#cat .modern-tournament-group:focus-within > ul.children {left:0; top:30px;}
#cat .modern-tournament-group > ul.children li {display:block; float:none; width:100%; padding:0; margin:0; background:#ddd8d5; border:1px solid #c7c5c4; border-top:0; box-sizing:border-box;}
#cat .modern-tournament-group > ul.children a {display:block; font:normal 12px/15px Georgia,serif; color:#666; text-transform:uppercase; padding:8px; box-sizing:border-box; white-space:normal;}
#cat .modern-tournament-group > ul.children a:hover,
#cat .modern-tournament-group > ul.children a:focus {color:#bc0705; background:#ddd8d5;}
@media (max-width:1010px) {
  #cat {overflow:visible;}
  #cat .sf-menu {height:31px; flex-wrap:nowrap;}
  #cat .sf-menu > .modern-tournament-group {flex:0 0 auto;}
  #cat .modern-tournament-title {padding:7px 8px;}
}
@media(max-width:850px) {
  #cat {height:auto;}
  #cat .sf-menu {height:auto; flex-wrap:wrap;}
}
/* Classic image-backed h5 must start at the left, not the center. */
.modern-highlight-page .modern-card-heading {text-align:left;}
/* Two identical team grids, each with a reserved minute column for 120+4'. */
.modern-highlight-page .modern-card-row {display:grid; grid-template-columns:57px 16px minmax(0,1fr); gap:6px; align-items:center; justify-content:initial; padding:4px 3px;}
.modern-highlight-page .modern-card-team:last-child .modern-card-row {justify-content:initial;}
.modern-highlight-page .modern-card-minute {display:block; width:57px; min-width:0; white-space:nowrap; font-variant-numeric:tabular-nums;}
.modern-highlight-page .modern-card-row > .modern-event-badge {width:16px;}
.modern-highlight-page .modern-card-player {min-width:0; overflow-wrap:break-word;}
/* Goals: minute | goal icon | score | scorer. */
.modern-highlight-page .modern-goal-list .modern-goal-row {display:grid; width:max-content; max-width:100%; grid-template-columns:57px 16px 40px minmax(0,max-content) auto; gap:6px; align-items:center;}
.modern-highlight-page .modern-goal-list .modern-event-minute {grid-column:1; flex:none;}
.modern-highlight-page .modern-goal-list .modern-event-badge {grid-column:2;}
.modern-highlight-page .modern-goal-list .modern-event-score {grid-column:3; min-width:0; margin:0; text-align:left;}
.modern-highlight-page .modern-goal-list .modern-goal-name {grid-column:4;}
.modern-highlight-page .modern-goal-list .modern-goal-note {grid-column:5;}
/* Tiny nominal role labels appear only when a real source field exists. */
.modern-highlight-page .modern-player-position {flex:0 0 25px; font:10px/1.2 Georgia,serif; color:#827771; text-transform:lowercase; white-space:nowrap;}
.modern-highlight-page .entry .modern-referee-flag {display:inline-block; width:24px; height:24px; object-fit:contain; vertical-align:middle; margin:0 3px 0 4px; border:0; padding:0; background:transparent;}
@media(max-width:600px) {
  .modern-highlight-page .modern-goal-list .modern-goal-row {grid-template-columns:54px 16px 36px minmax(0,max-content);}
  .modern-highlight-page .modern-goal-list .modern-goal-note {grid-column:4;}
}

/* Patch08: retro match header, stadium and a local tournament mark. */
.modern-highlight-page .modern-match-title .modern-match-heading {display:flex; flex-wrap:nowrap; align-items:center; gap:12px; justify-content:space-between; min-width:0;}
.modern-highlight-page .modern-match-heading h2 {flex:1 1 auto; min-width:0;}
.modern-highlight-page .entry .modern-tournament-logo,
.modern-highlight-page .modern-match-heading .modern-tournament-logo {display:block; flex:none; width:52px; height:52px; object-fit:contain; border:0; padding:0; margin:0; background:transparent;}
.modern-highlight-page .modern-stadium {font:13px/1.4 Georgia,serif; color:#625952; margin:5px 0;}
@media (max-width:540px) {
  .modern-highlight-page .modern-match-heading .modern-tournament-logo {width:40px; height:40px;}
}


/* Patch10: small flags, compact shootout, shared blog-style neighbor links. */
.modern-highlight-page .entry .modern-referee-flag {width:20px; height:20px; vertical-align:middle; object-fit:contain;}
.modern-highlight-page .modern-shootout-list {max-width:430px; padding:0; margin:0; list-style:none;}
.modern-highlight-page .modern-shootout-list .modern-shootout-row {
    display:grid; grid-template-columns:24px 44px minmax(0,1fr); gap:7px;
    align-items:center; padding:4px 2px; border-bottom:1px dotted #c7bbb3;
}
.modern-highlight-page .entry .modern-shootout-icon {width:20px; height:20px; border:0; padding:0; margin:0; background:transparent; object-fit:contain;}
.modern-highlight-page .modern-shootout-score {color:#9b211b; font-variant-numeric:tabular-nums; white-space:nowrap;}
.modern-highlight-page .modern-shootout-name {min-width:0; overflow-wrap:anywhere;}
.modern-adjacent {clear:both; margin-top:20px;}
.modern-adjacent-columns {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px;}
.modern-adjacent-side {min-width:0;}
.modern-adjacent-side h6 {font:bold 12px Georgia,serif; margin:5px 0 7px; color:#615651;}
.modern-adjacent-side ul {padding:0; margin:0; list-style:none;}
.modern-adjacent-side li {padding:6px 2px; border-bottom:1px dotted #c7bbb3; font:13px/1.35 Georgia,serif;}
.modern-adjacent-side li a {display:block; overflow-wrap:anywhere;}
.modern-adjacent-side li b {margin-right:7px; color:#9b211b;}
.modern-adjacent-side li small {color:#766964; font-size:11px;}
@media (max-width:510px) { .modern-adjacent-columns {grid-template-columns:1fr; gap:10px;} }

/* Stage 2 / Patch 01: match page, shared with Highlights without a second theme. */
.modern-match-page .modern-page-status {font:bold 13px Georgia,serif; color:#695d54; margin:8px 0 4px;}
.modern-match-page .modern-status-live {color:#a51913;}
.modern-match-page .modern-status-finished {color:#64564d;}
.modern-match-page .modern-match-time {margin:4px 0 7px;}
.modern-match-page .modern-stadium {margin:4px 0 7px;}
.modern-local-timing {display:inline-block; margin-left:12px; color:#82756d; font:11px/1.2 monospace;}

/* Stage 2: preserve old editorial tables without the old advertisement/layout code. */
.modern-preview-page .modern-editorial-section {clear:both; margin-top:14px;}
.modern-preview-page .modern-editorial-section h5 {font-size:13px;}
.modern-preview-page .modern-editorial-html {overflow-wrap:anywhere; line-height:1.4;}
.modern-preview-page .modern-editorial-html p {margin:8px 0;}
.modern-preview-page .modern-editorial-html table,
.modern-preview-page .modern-editorial-odds table {border-collapse:collapse; max-width:100%; width:auto; margin:12px auto; font-size:12px;}
.modern-preview-page .modern-editorial-html th,
.modern-preview-page .modern-editorial-html td,
.modern-preview-page .modern-editorial-odds th,
.modern-preview-page .modern-editorial-odds td {border:1px solid #827972; padding:4px 6px; vertical-align:middle;}
.modern-preview-page .modern-editorial-html img {max-width:100%; height:auto;}
.modern-preview-page .modern-editorial-prediction b {font:bold 23px Georgia,serif;color:#a51913;}
.modern-preview-page .modern-editorial-prediction small {margin-left:9px;}
@media(max-width:650px) {
  .modern-preview-page .modern-editorial-html {overflow-x:auto;}
  .modern-preview-page .modern-editorial-html table {font-size:11px;}
}

/* Stage 2 / Patch 03: real legacy editorial table presentation, scoped to preview. */
.modern-preview-page .modern-editorial-html table {
    font:12px/1.35 Tahoma,Arial,sans-serif;
    border-collapse:collapse;
    margin:12px auto;
    width:auto;
    max-width:100%;
}
.modern-preview-page .modern-editorial-html th,
.modern-preview-page .modern-editorial-html td {
    font-family:Tahoma,Arial,sans-serif;
    font-size:12px;
    line-height:1.35;
    padding:4px 6px;
}
.modern-preview-page .modern-editorial-html .inside-post-td-left {text-align:right;}
.modern-preview-page .modern-editorial-html .inside-post-td-middle {font-weight:bold;text-align:center;}
.modern-preview-page .modern-editorial-html .inside-post-td-right {text-align:left;}
/* Preserve semantic outcomes from the original editor markup. */
.modern-preview-page .modern-editorial-html .td-won {background-color:#81F781;}
.modern-preview-page .modern-editorial-html .td-drawn {background-color:#FFFFE0;}
.modern-preview-page .modern-editorial-html .td-lost {background-color:#FFA07A;}
.modern-preview-page .modern-preview-match-summary {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.modern-preview-page .modern-preview-match-facts {flex:1 1 auto;min-width:0;}
.modern-preview-page .entry .modern-preview-match-summary .modern-tournament-logo {
    flex:0 0 64px;width:64px;height:64px;object-fit:contain;margin:2px 0 0;
    border:0;padding:0;background:transparent;
}
.modern-adjacent .modern-adjacent-kind {font-weight:normal;color:#786c65;white-space:normal;}
@media(max-width:500px) {
    .modern-preview-page .entry .modern-preview-match-summary .modern-tournament-logo {flex-basis:48px;width:48px;height:48px;}
}

/* Stage 3: classic compact indexes and a real matches-of-the-day right column. */
.modern-sidebar .modern-side-day-nav {display:flex;gap:5px;align-items:center;justify-content:space-between; border-bottom:1px solid #c8bdb5; padding:3px 0 7px; margin-bottom:7px;}
.modern-side-day-nav a {text-decoration:none; font:12px Georgia,serif;}
.modern-side-day-nav a:first-child,.modern-side-day-nav a:last-child {font:20px/1 Georgia,serif;}
.modern-side-match {display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:5px;align-items:baseline;padding:5px 1px;border-bottom:1px dotted #c8bdb5;font:12px/1.35 Georgia,serif;}
.modern-side-match time {font:11px Georgia,serif;color:#695b52;font-variant-numeric:tabular-nums;}
.modern-side-match a,.modern-side-match span {min-width:0;overflow-wrap:anywhere;}
.modern-side-match b {font:bold 12px Georgia,serif;white-space:nowrap;color:#9b211b;}
.modern-sidebar .modern-side-more {margin:8px 0 12px;text-align:right;font:12px Georgia,serif;}
.modern-list-more {text-align:right;margin:13px 0 3px;}
.modern-catalog-page .modern-catalog-date {font:bold 13px Georgia,serif; margin:14px 0 7px;border-bottom:1px solid #bdb1aa; color:#822016;}
.modern-catalog-row {display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;padding:6px 2px;border-bottom:1px dotted #c5bbb4;font:13px/1.35 Georgia,serif;}
.modern-catalog-row a {min-width:0;overflow-wrap:anywhere;}
.modern-catalog-row strong {font-weight:bold;color:#982219;font-variant-numeric:tabular-nums;white-space:nowrap;}
.modern-catalog-row small {color:#766964;font:11px Georgia,serif;}
.modern-catalog-row .modern-catalog-tournament {flex-basis:100%;font:italic 11px Georgia,serif;color:#695e56;}
.modern-catalog-match time {flex:0 0 43px;font:12px Georgia,serif;color:#695b52;font-variant-numeric:tabular-nums;}
.modern-catalog-pagination {display:flex;gap:18px;justify-content:space-between;margin:20px 0 8px;font:13px Georgia,serif;}
.modern-catalog-pagination a {padding:5px 8px;border:1px solid #c5bbb4;text-decoration:none;}
@media(max-width:480px){.modern-catalog-row{font-size:12px;}.modern-side-match{grid-template-columns:37px minmax(0,1fr) auto;}}


/* Stage 3 Patch 02 - structure first, classic retro colors/textures unchanged. */
.modern-content-grid {display:grid;grid-template-columns:minmax(0,670fr) minmax(0,315fr);gap:10px;align-items:start;}
.modern-content-grid #content,.modern-content-grid #rightcol {float:none;width:auto;min-width:0;}
.modern-content-grid #fvideo {float:none;width:100%;}
.modern-home-layout {grid-template-columns:minmax(0,1fr);}
.modern-home-layout #content {width:100%;}
.modern-sidebar .modern-side-day-nav strong {font: bold 12px/1.4 Georgia,serif;color:#822016;text-align:center;}
.modern-sidebar .modern-side-day-nav a {min-width:15px;text-align:center;}
.modern-side-match .modern-side-live {grid-column:2 / -1;color:#a82017;font:bold 11px Georgia,serif;white-space:nowrap;}
.modern-match-live {display:inline-block;margin-left:6px;font:bold 12px Georgia,serif;color:#af2114;white-space:nowrap;}
#modern-day-widget.modern-widget-loading {opacity:.6;}
.modern-side-empty {font:12px Georgia,serif;color:#6b5f58;}
@media(max-width:1010px) {.modern-content-grid {grid-template-columns:minmax(0,1fr);gap:10px;}}


/* Stage 3 / Patch 03: one legible score typography across the modern FVR OLD site. */
.modern-content-grid .modern-result-score {
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0;
    white-space: nowrap;
    color: #8e2017;
}
.modern-content-grid .modern-side-match .modern-result-score {font-size:13px;}
.modern-content-grid .modern-highlight-page .modern-title-score.modern-result-score {font-size:0.95em;}
.modern-content-grid .modern-goal-list .modern-event-score.modern-result-score,
.modern-content-grid .modern-shootout-list .modern-shootout-score.modern-result-score {font-size:12px;}

/* The original textured theme remains the background; the homepage gets structure. */
.modern-home-reviews .modern-home-featured-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:7px 0 15px;
}
.modern-home-featured-item {
    min-width:0;
    padding:10px 12px;
    background:rgba(255,255,255,.2);
    border:1px solid rgba(123,97,85,.24);
}
.modern-home-featured-item .modern-home-tournament {display:block;font:italic 12px/1.35 Georgia,serif;color:#76665f;margin-bottom:5px;}
.modern-home-featured-item .modern-home-fixture-name {display:block;font:bold 16px/1.35 Georgia,serif;overflow-wrap:anywhere;}
.modern-home-fixture-footer {display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;margin-top:7px;}
.modern-home-fixture-footer time,.modern-home-fixture-footer .modern-home-item-kind {font:11px/1.35 Georgia,serif;color:#75675f;}
.modern-home-subtitle,.modern-home-league-heading {font:bold 13px/1.3 Georgia,serif;color:#7c211c;border-bottom:1px solid #c8b9b0; margin:14px 0 7px;padding:3px 0;}
.modern-home-recent-row {display:flex;gap:7px;align-items:baseline;min-width:0;padding:6px 3px;border-bottom:1px dotted #c8bdb5;}
.modern-home-recent-row a {flex:1 1 auto;min-width:0;overflow-wrap:anywhere;}
.modern-home-recent-row time {font:11px Georgia,serif;color:#746860;white-space:nowrap;}
.modern-home-fixtures-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;}
.modern-home-day-match {display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:6px;align-items:baseline;border-bottom:1px dotted #c8bdb5;padding:6px 2px;min-width:0;}
.modern-home-day-match time {font:12px Georgia,serif;color:#70615a;font-variant-numeric:tabular-nums;}
.modern-home-day-match a {min-width:0;overflow-wrap:anywhere;}
.modern-home-day-match .modern-match-live {grid-column:2/-1;margin:0;font-size:11px;}
@media(max-width:720px) {
    .modern-home-reviews .modern-home-featured-grid,
    .modern-home-fixtures-grid {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:420px) {
    .modern-home-recent-row {flex-wrap:wrap;}
    .modern-home-recent-row time {flex-basis:100%;}
}

/* Stage 3 Patch 04: widget result OR kickoff, with room for a competition flag. */
.modern-sidebar .modern-side-match {
    display:grid;
    grid-template-columns:20px minmax(0, 1fr) minmax(47px, auto);
    gap:6px;
    align-items:center;
    padding:5px 1px;
}
.modern-side-tournament-icon {width:20px;height:20px;display:flex;align-items:center;justify-content:center;}
.modern-sidebar .modern-side-tournament-icon img {display:block;width:20px;height:20px;object-fit:contain;border:0;margin:0;padding:0;background:none;}
.modern-sidebar .modern-side-match a {min-width:0;overflow-wrap:normal;word-break:normal;}
.modern-sidebar .modern-side-result {display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap;gap:2px;}
.modern-content-grid .modern-side-result .modern-result-score {font-size:13px;line-height:1.2;}
.modern-sidebar .modern-side-match .modern-side-kickoff {font:normal 12px/1.2 Verdana,Arial,sans-serif;color:#70615a;letter-spacing:0;font-variant-numeric:tabular-nums;}
.modern-sidebar .modern-side-match .modern-side-live {font:bold 10px/1.1 Verdana,Arial,sans-serif;color:#a82017;white-space:nowrap;}

/* Home section headings are text, not the textured legacy h5 image background. */
.modern-home-layout .modern-home-subtitle,
.modern-home-layout .modern-home-league-heading {
    font: bold 17px/1.35 Georgia,serif;
    color:#605a57;
    background:none;
    height:auto;
    min-height:0;
    border-bottom:1px solid #bfb1aa;
    margin:18px 0 9px;
    padding:0 0 5px;
}
.modern-home-layout .modern-home-league-heading {font-size:14px;margin:15px 0 6px;}
.modern-home-layout .modern-home-flag {display:inline-block;width:20px;height:20px;vertical-align:middle;object-fit:contain;margin:0 5px 0 0;border:0;padding:0;background:none;}
.modern-home-layout .modern-home-featured-item .modern-home-flag {width:18px;height:18px;}
/* Make the original fixed-width post texture cover the widened central homepage. */
.modern-home-layout .post {background-color:#d8cfca;background-size:100% auto;}
@media(max-width:480px) {
    .modern-sidebar .modern-side-match {grid-template-columns:20px minmax(0,1fr) minmax(45px,auto);}
}

/* Stage 3 Patch 05: full daily sidebar listing in a bounded scroll viewport. */
.modern-sidebar .modern-side-match-list {
    max-height:510px;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
    scrollbar-color:#a99a90 transparent;
    overscroll-behavior:contain;
}
.modern-sidebar .modern-side-match-list:focus-visible {outline:2px solid #8e2017;outline-offset:1px;}

/* Editorial homepage: original textures + one dense standings table. */
.modern-home-split {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:14px;
    margin-top:15px;
    align-items:start;
}
.modern-home-split > section {min-width:0;}
.modern-home-split .modern-home-subtitle {margin-top:2px;}
.modern-home-split .modern-home-recent-row {padding:5px 2px;font-size:12px;line-height:1.3;}
.modern-home-split .modern-home-recent-row .modern-result-score {font-size:12px;}
.modern-standings-tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:5px 0 10px;}
.modern-standings-tab {
    display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;
    padding:5px 2px;background:rgba(255,255,255,.15);border:1px solid #c2b5ad;
    font:11px/1.2 Georgia,serif;color:#66544b;text-decoration:none;
}
.modern-standings-tab:hover,.modern-standings-tab.is-active {border-color:#8e2017;background:rgba(255,255,255,.45);color:#8e2017;}
.modern-standings-tab img {width:17px;height:17px;object-fit:contain;flex-shrink:0;}
.modern-standings-tab span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.modern-standings-tabs.is-loading {opacity:.65;}
.modern-standings-caption {display:flex;justify-content:space-between;gap:5px;align-items:baseline;
    font:12px/1.4 Georgia,serif;margin:6px 0 5px;color:#5a4c47;}
.modern-standings-caption span {font:11px Georgia,serif;color:#766c65;white-space:nowrap;}
.modern-standings-grid {border-collapse:collapse;width:100%;table-layout:fixed;background:transparent;
    font:12px/1.4 Tahoma,Arial,sans-serif;color:#352c28;margin:0;}
.modern-standings-grid th,.modern-standings-grid td {border:0;border-bottom:1px dotted #c5b7ac;padding:3px 2px;vertical-align:middle;background:transparent;}
.modern-standings-grid th {text-align:center;color:#76645a;font:bold 10px Tahoma,Arial,sans-serif;}
.modern-standings-grid .modern-standing-rank {width:24px;text-align:center;}
.modern-standings-grid .modern-standing-team {width:auto;text-align:left;overflow-wrap:anywhere;}
.modern-standings-grid .modern-standing-num {width:33px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
.modern-standings-grid .modern-standing-points {font-weight:700;color:#8e2017;}
.modern-standings-grid tbody tr:first-child td {font-weight:bold;}
.modern-standings-empty {font:12px Georgia,serif;color:#75665e;margin:14px 0;}
@media (max-width:720px) {
  .modern-home-split {grid-template-columns:1fr;row-gap:16px;}
  .modern-standings-tab {font-size:12px;}
}

/* Stage 3 Patch 06: the homepage standings column is a real 50/50 grid.
   More specific scopes keep old fixed-width Blogger rules from taking precedence. */
.modern-home-layout .modern-home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.modern-home-layout .modern-home-split > section {min-width: 0; width: auto; float: none;}
.modern-home-layout .modern-standings-grid {width:100%; border-collapse:collapse; font:12px/1.4 Tahoma,Arial,sans-serif;}
.modern-home-layout .modern-standings-grid .modern-standing-goals {width:48px; white-space:nowrap; text-align:right;}
@media(max-width:720px) {
    .modern-home-layout .modern-home-split {grid-template-columns:minmax(0,1fr);}
}

/* Stage 3 Patch 07: compact local league selector and a steady two-column home panel. */
@media(min-width:721px) {
    .modern-home-layout .modern-home-split {height:710px;align-items:stretch;}
    .modern-home-layout .modern-home-split > section {height:100%;min-height:0;box-sizing:border-box;}
    .modern-home-layout .modern-home-recent-panel {display:flex;flex-direction:column;}
    .modern-home-layout .modern-home-recent-list {flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin;}
    .modern-home-layout .modern-home-recent-footer {flex:0 0 auto;}
    .modern-home-layout .modern-home-standings-panel {display:flex;flex-direction:column;min-height:0;}
    .modern-home-layout #modern-standings-container {flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin;}
}
.modern-home-layout .modern-home-recent-footer {margin:8px 0 3px;text-align:right;}
.modern-home-layout .modern-standings-tabs {
    margin:3px 0 7px;
    gap:2px;
}
.modern-home-layout .modern-standings-tab {
    min-height:24px;
    padding:3px 2px;
    font:10px/1.1 Georgia,serif;
    background:transparent;
    border:1px solid #baaca3;
    box-sizing:border-box;
    gap:3px;
}
.modern-home-layout .modern-standings-tab:hover,
.modern-home-layout .modern-standings-tab.is-active {
    background:rgba(125,43,28,.08);
    border-color:#8e2017;
    box-shadow:inset 0 -2px 0 #8e2017;
    color:#781f18;
}
.modern-home-layout .modern-standings-tab img {
    width:15px;
    height:15px;
    background:transparent;
    border:0;
    padding:0;
    mix-blend-mode:multiply; /* remove opaque white matte in older flag PNGs */
}
.modern-home-layout .modern-standings-grid {
    table-layout:fixed;
    font-size:12px;
}
.modern-home-layout .modern-standings-grid .modern-standing-rank {width:19px;}
.modern-home-layout .modern-standings-grid .modern-standing-num {width:25px;}
.modern-home-layout .modern-standings-grid .modern-standing-wdl {width:22px;}
.modern-home-layout .modern-standings-grid .modern-standing-goals {width:43px;}
.modern-home-layout .modern-standings-grid th,
.modern-home-layout .modern-standings-grid td {padding:3px 1px;}
@media(max-width:720px) {
    .modern-home-layout .modern-home-split {height:auto;}
    .modern-home-layout .modern-home-recent-panel,
    .modern-home-layout .modern-home-standings-panel {height:auto;}
    .modern-home-layout .modern-home-recent-list,
    .modern-home-layout #modern-standings-container {overflow:visible;}
}

/* Stage 3 Patch 08: two independent retro posts, no modern pill-tab toolbar. */
.modern-home-layout .modern-home-duo {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    align-items:stretch;
    margin:10px 0 12px;
}
.modern-home-layout .modern-home-duo > .post {
    width:auto;
    min-width:0;
    margin:0;
    box-sizing:border-box;
    height:605px;
    display:flex;
    flex-direction:column;
}
.modern-home-layout .modern-home-duo > .post > .title {flex:0 0 auto;}
.modern-home-layout .modern-home-duo > .post > .cover {flex:1 1 auto;min-height:0;display:flex;flex-direction:column;}
.modern-home-layout .modern-home-duo > .post > .cover > .entry {
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    text-align:left;
}
.modern-home-layout .modern-home-duo .modern-home-recent-list,
.modern-home-layout .modern-home-duo #modern-standings-container {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
}
.modern-home-layout .modern-home-duo .modern-home-recent-row {padding:4px 1px;line-height:1.25;font-size:12px;}
.modern-home-layout .modern-home-duo .modern-home-recent-row .modern-result-score {font-size:12px;}
.modern-home-layout .modern-home-duo .modern-home-recent-footer {
    flex:0 0 auto;
    margin:7px 0 1px;
    padding:2px 0;
    text-align:left;
}
/* Small traditional text links. Flags are visual hints, not boxed controls. */
.modern-home-layout .modern-home-duo .modern-standings-tabs {
    display:flex;
    flex:0 0 auto;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:3px 10px;
    padding:0 0 7px;
    margin:1px 0 6px;
    border-bottom:1px dotted #b9aaa0;
}
.modern-home-layout .modern-home-duo .modern-standings-tab {
    display:inline-flex;
    flex:0 0 auto;
    min-height:0;
    padding:2px 0;
    margin:0;
    border:0;
    border-bottom:1px solid transparent;
    background:transparent;
    box-shadow:none;
    font:12px/1.3 Georgia,serif;
    color:#8e2017;
    gap:4px;
    white-space:nowrap;
    text-decoration:none;
}
.modern-home-layout .modern-home-duo .modern-standings-tab:hover,
.modern-home-layout .modern-home-duo .modern-standings-tab.is-active {
    padding:2px 0;
    border:0;
    border-bottom:1px solid #8e2017;
    box-shadow:none;
    background:transparent;
    color:#56251e;
    text-decoration:none;
}
.modern-home-layout .modern-home-duo .modern-standings-tab.is-active {font-weight:bold;}
.modern-home-layout .modern-home-duo .modern-standings-tab img {
    width:15px;
    height:15px;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    object-fit:contain;
    mix-blend-mode:multiply;
}
.modern-home-layout .modern-home-duo .modern-standings-tab span {overflow:visible;text-overflow:clip;}
/* Numeric columns line up uniformly. */
.modern-home-layout .modern-home-duo .modern-standings-grid .modern-standing-num,
.modern-home-layout .modern-home-duo .modern-standings-grid .modern-standing-goals {
    text-align:center;
    font-variant-numeric:tabular-nums;
}
.modern-home-layout .modern-home-duo .modern-standings-grid .modern-standing-rank {text-align:center;}
.modern-home-layout .modern-home-duo .modern-standings-grid td,
.modern-home-layout .modern-home-duo .modern-standings-grid th {padding:3px 1px;}
@media(max-width:720px) {
    .modern-home-layout .modern-home-duo {grid-template-columns:minmax(0,1fr);gap:10px;}
    .modern-home-layout .modern-home-duo > .post {height:auto;min-height:0;display:block;}
    .modern-home-layout .modern-home-duo > .post > .cover,
    .modern-home-layout .modern-home-duo > .post > .cover > .entry {display:block;}
    .modern-home-layout .modern-home-duo .modern-home-recent-list,
    .modern-home-layout .modern-home-duo #modern-standings-container {overflow:visible;}
}

/* Stage 3 Patch 09: quiet country links, season context, small local video cue. */
.modern-home-layout .modern-home-duo .modern-standings-tabs {gap:3px 11px;}
.modern-home-layout .modern-home-duo .modern-standings-tab {gap:0;}
/* Stage 3 Patch 10: league and season share the existing table-header row.
   No extra vertical row, leaving more room for all 20 clubs. */
.modern-home-layout .modern-home-duo .modern-standings-grid th.modern-standing-league-context {
    text-align:left;
    color:#68574c;
    font:11px/1.25 Georgia,serif;
    padding:3px 3px 4px 1px;
}
.modern-standings-grid .modern-standing-league-context span {
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.modern-home-review-video::before {
    content:'▶';display:inline-block;vertical-align:baseline;
    margin-right:5px;color:#7f3426;font:normal 10px/1 Arial,sans-serif;
}

/* Stage 3 Patch 11: the first header cell spans rank + team.
   With table-layout:fixed, browsers otherwise give the rank a huge
   share of that colspan. Explicit columns restore the original geometry. */
.modern-home-layout .modern-home-duo .modern-standings-grid col.modern-standing-col-rank {width:19px;}
.modern-home-layout .modern-home-duo .modern-standings-grid col.modern-standing-col-played,
.modern-home-layout .modern-home-duo .modern-standings-grid col.modern-standing-col-points {width:25px;}
.modern-home-layout .modern-home-duo .modern-standings-grid col.modern-standing-col-wdl {width:22px;}
.modern-home-layout .modern-home-duo .modern-standings-grid col.modern-standing-col-goals {width:43px;}
/* The team column intentionally gets the remaining width. */


/* Prelaunch / Patch 04: legible 2010s blog discussions; only on historic www pages. */
.modern-archive-comments .modern-comments {margin:24px 0 14px;}
.modern-archive-comments .modern-comments > h3 {font:bold 17px Georgia,serif; color:#504841; margin:0 0 9px;}
.modern-archive-comments .modern-comment-list {list-style:none; margin:0; padding:0;}
.modern-archive-comments .modern-comment {position:relative; padding:9px 5px 11px; margin:0; border-bottom:1px solid rgba(97,80,70,.20); background:transparent; overflow-wrap:anywhere;}
.modern-archive-comments .modern-comment-header {display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 12px; margin-bottom:5px;}
.modern-archive-comments .modern-comment-author {font:bold 13px Georgia,serif; color:#403933;}
.modern-archive-comments .modern-comment-author a {color:#9e211b; text-decoration:none;}
.modern-archive-comments .modern-comment-author a:hover {text-decoration:underline;}
.modern-archive-comments .modern-comment-permalink {font:normal 11px Arial,sans-serif; color:#786e65; text-decoration:none;}
.modern-archive-comments .modern-comment-permalink time {margin:0; font:inherit; color:inherit;}
.modern-archive-comments .modern-comment-permalink:hover {color:#9e211b; text-decoration:underline;}
.modern-archive-comments .modern-comment-text {font:normal 13px/1.5 Georgia,serif; color:#302c29; white-space:normal; overflow-wrap:anywhere;}
.modern-archive-comments .modern-comment-text p {margin:5px 0 7px;}
.modern-archive-comments .modern-comment-text blockquote {margin:7px 0 7px 12px; padding:5px 9px; border-left:2px solid #b6aaa1;}
.modern-archive-comments .modern-comment-navigation {display:flex; gap:6px 11px; flex-wrap:wrap; align-items:center; padding:8px 0; font:12px Georgia,serif; border-top:1px solid #c2b7ae; border-bottom:1px solid #c2b7ae;}
.modern-archive-comments .modern-comment-navigation a {color:#9e211b; text-decoration:none;}
.modern-archive-comments .modern-comment-navigation a:hover {text-decoration:underline;}
.modern-archive-comments .modern-comment-range {font-weight:bold; color:#5f534e; white-space:nowrap;}
.modern-archive-comments .modern-comment-disabled {color:#9e938b;}
.modern-archive-comments .modern-comment-anchor {position:absolute; top:0;}
@media (max-width:600px) {
  .modern-archive-comments .modern-comment-navigation {gap:7px 12px;}
  .modern-archive-comments .modern-comment-header {display:block;}
  .modern-archive-comments .modern-comment-permalink {display:block; margin-top:3px;}
}

/* Prelaunch / Patch 06: separate historic article from discussion. */
.modern-archive-comments {
  clear:both;
  margin:12px 0 18px;
  padding:4px 12px 14px;
  background:transparent;
  color:#302c29;
  box-sizing:border-box;
}
.modern-archive-comments .modern-comments {margin:0;}
.modern-archive-comments .modern-comment-list {margin:0;}
@media (max-width:600px) {
  .modern-archive-comments {padding:4px 8px 12px;}
}

/* Historical calendar. Independent, small retro blocks; no external assets. */
.modern-history-index, .modern-history-month {color:#302b28;}
.modern-history-index .entry, .modern-history-month .entry {padding:12px 13px 18px;}
.modern-history-index h2, .modern-history-month h2 {font:bold 24px Georgia,serif; color:#5d514c; margin:0 0 12px;}
.modern-history-intro {font:15px/1.45 Georgia,serif; margin:0 0 21px;}
.modern-history-year {margin:0 0 23px;}
.modern-history-year h3 {font:bold 20px Georgia,serif; color:#6a554c; margin:0 0 5px; border-bottom:1px solid #c6bbb5; padding-bottom:4px;}
.modern-history-month-row {display:grid; grid-template-columns:minmax(110px,1fr) 105px 135px; gap:8px; align-items:baseline; border-bottom:1px dotted #c8bdb7; padding:5px 2px; font:14px Georgia,serif;}
.modern-history-number {font:12px Georgia,serif; color:#766c65; text-align:right; white-space:nowrap;}
.modern-history-index a, .modern-history-month a {color:#a41d14; text-decoration:none;}
.modern-history-index a:hover, .modern-history-month a:hover {text-decoration:underline;}
.modern-history-note {font:13px/1.5 Georgia,serif; color:#75695f; border-top:1px solid #c6bbb5; padding-top:11px; margin-top:22px;}
.modern-history-note code {font:12px Consolas,monospace;}
.modern-history-crumb {font:13px Georgia,serif; margin:0 0 10px;}
.modern-history-count {font:13px Georgia,serif; margin:0 0 15px; color:#716660;}
.modern-history-list-head {display:flex; justify-content:space-between; border-bottom:1px solid #bdb0a9; padding:5px 4px; font:bold 12px Georgia,serif; color:#685d56;}
.modern-history-articles {list-style:none; margin:0; padding:0;}
.modern-history-articles li {display:grid; grid-template-columns:minmax(0,1fr) 70px; gap:8px; align-items:start; border-bottom:1px dotted #c8bdb7; padding:7px 4px; font:14px/1.35 Georgia,serif;}
.modern-history-article-link {overflow-wrap:anywhere;}
.modern-history-comments-count {text-align:right; font:13px Georgia,serif; font-variant-numeric:tabular-nums;}
.modern-history-comments-none {color:#9e938c;}
.modern-history-pagination {display:flex; flex-wrap:wrap; gap:9px 17px; justify-content:space-between; align-items:center; border-top:1px solid #bdb0a9; margin:14px 0; padding:10px 0; font:13px Georgia,serif;}
.modern-history-back {font:13px Georgia,serif; margin-top:18px;}
@media(max-width:650px) {
  .modern-history-month-row {grid-template-columns:minmax(90px,1fr) 82px 108px; gap:4px; font-size:13px;}
  .modern-history-number {font-size:11px;}
  .modern-history-articles li {grid-template-columns:minmax(0,1fr) 55px;}
  .modern-history-index .entry, .modern-history-month .entry {padding:10px 7px 15px;}
}


/* Prelaunch Patch 10: restore the original warm grey for www historic article
   and calendar cards.  Old .post relied on a remote Yandex Fotki texture;
   its #f7f1ee fallback is visibly wrong when the asset is unavailable.
   Deliberately do NOT color .modern-archive-comments: Patch 06 kept
   discussion outside the article on the lighter page background. */
.modern-content-grid .post.modern-archive,
.modern-content-grid .post.modern-history-index,
.modern-content-grid .post.modern-history-month {
    background-color:#d9d1ce;
    background-image:none;
}

/* Calendar counter digits must stay clear: leave labels and article titles
   in Georgia, but use tabular Verdana digits in the statistics columns. */
.modern-history-number-value,
.modern-history-year-number {
    font-family:Verdana,Arial,sans-serif;
    font-variant-numeric:tabular-nums;
    font-feature-settings:"tnum" 1;
    letter-spacing:0;
}
.modern-history-year-number {font-size:18px;}
.modern-history-comments-count {
    font-family:Verdana,Arial,sans-serif;
    font-variant-numeric:tabular-nums;
    font-feature-settings:"tnum" 1;
    letter-spacing:0;
}


/* Prelaunch Patch 11: restore the newspaper atmosphere site-wide.
   Original legacy decorations were external Yandex Fotki/Google URLs.
   The current CSP correctly does not allow those broken remote resources.
   These small local tiles are a screenshot-based reconstruction, NOT a claim
   that the historical original files have been recovered. */
body, .body-fauxcolumn-outer {
    background-color:#ebe2d7;
    background-image:url('/assets/img/retro-paper.png');
    background-repeat:repeat;
}
#top, #footer {
    background-color:#ebe2d7;
    background-image:url('/assets/img/retro-paper.png');
    background-repeat:repeat;
}
.modern-content-grid .post,
.modern-content-grid .post.modern-archive,
.modern-content-grid .post.modern-history-index,
.modern-content-grid .post.modern-history-month {
    background-color:#d9d1ce;
    background-image:url('/assets/img/retro-newsprint.png');
    background-repeat:repeat;
    background-position:left top;
    background-size:auto;
}
/* The same grey patterned paper for the modern sidebar on www, ru and en. */
.modern-content-grid #fvideo.modern-sidebar,
.modern-content-grid #fideohead {
    background-color:#d9d1ce;
    background-image:url('/assets/img/retro-newsprint.png');
    background-repeat:repeat;
    background-size:auto;
}
.modern-content-grid #fideohead {
    border-bottom:1px solid #c5b7af;
    box-sizing:border-box;
}
/* Historic Blogger discussion is deliberately outside .post and stays light. */

/* One modest alignment pass for /matches (without changing its query or URLs). */
.modern-content-grid .modern-catalog-match {
    display:grid;
    grid-template-columns:44px minmax(0,1fr) minmax(0,auto);
    align-items:baseline;
    column-gap:8px;
    row-gap:2px;
    flex-wrap:initial;
    padding:7px 2px;
}
.modern-catalog-match .modern-catalog-match-label {
    display:flex;
    flex-wrap:wrap;
    gap:1px 7px;
    min-width:0;
    align-items:baseline;
}
.modern-catalog-match .modern-catalog-match-label a,
.modern-catalog-match .modern-catalog-match-label span {min-width:0;overflow-wrap:anywhere;}
.modern-catalog-match .modern-result-score {text-align:right;justify-self:end;}
.modern-catalog-match .modern-match-live {
    margin-left:0;
    font-size:11px;
    letter-spacing:0;
}
@media(max-width:480px) {
  .modern-content-grid .modern-catalog-match {grid-template-columns:39px minmax(0,1fr) auto;column-gap:5px;}
}


/* Prelaunch Patch 12 — precise retro-theme CSS rollback.
   Source of truth: pre-existing public/style.css (local /themes/*.jpg).
   Do not revert the accepted comment positioning, modern layouts or JS.
   The first background layer is the genuine legacy image IF installed.
   The second layer is a local non-blocking fallback; never fetch Fotki. */
#top {
    background-color:#f7f1ee;
    background-image:url('/themes/top.jpg'),url('/assets/img/retro-paper.png');
    background-repeat:no-repeat,repeat;
    background-position:center top,left top;
    background-size:100% auto,auto;
}
#footer {
    background-color:#f6f1ee;
    background-image:url('/themes/footer.jpg'),url('/assets/img/retro-paper.png');
    background-repeat:no-repeat,repeat;
    background-position:center top,left top;
    background-size:100% auto,auto;
}
/* Restore actual legacy article image instead of Patch10 background-image:none
   or Patch11's synthetic texture as the primary source. */
.modern-content-grid .post,
.modern-content-grid .post.modern-archive,
.modern-content-grid .post.modern-history-index,
.modern-content-grid .post.modern-history-month {
    background-color:#d9d1ce;
    background-image:url('/themes/post.jpg'),url('/assets/img/retro-newsprint.png');
    background-repeat:repeat-y,repeat;
    background-position:left top,left top;
    background-size:100% auto,auto;
}
.modern-content-grid #fideohead {
    height:30px;
    border:0;
    background-color:#d9d1ce;
    background-image:url('/themes/fideohead.jpg'),url('/assets/img/retro-newsprint.png');
    background-repeat:no-repeat,repeat;
    background-position:center top,left top;
    background-size:100% 30px,auto;
}
.modern-content-grid #fvideo.modern-sidebar {
    background-color:#d9d1ce;
    background-image:url('/themes/fvideo.jpg'),url('/assets/img/retro-newsprint.png');
    background-repeat:repeat-y,repeat;
    background-position:left top,left top;
    background-size:100% auto,auto;
}
/* Legacy image-backed headings were h5/h6 in the old template; modern
   rightcol uses h3. Target only these elements, not all HTML h3/h5. */
.modern-content-grid #fvideo.modern-sidebar > h3 {
    min-height:30px;
    box-sizing:border-box;
    line-height:26px;
    padding:2px 6px;
    background-image:url('/themes/s2.jpg'),linear-gradient(to right,#d2c6c0,#d9d1ce);
    background-repeat:no-repeat,no-repeat;
    background-position:left top,left top;
    background-size:auto,100% 30px;
}
.modern-content-grid .post .modern-review-section > h5,
.modern-content-grid .post .modern-editorial-section > h5 {
    background-image:url('/themes/s1.jpg'),linear-gradient(to right,#d2c6c0,#d9d1ce);
    background-repeat:no-repeat,no-repeat;
    background-position:left top,left top;
    background-size:auto,100% 30px;
}
/* The historical comments intentionally live OUTSIDE the grey article. */
.modern-content-grid .modern-archive-comments {background:transparent;}


/* Prelaunch Patch14 — day-list columns and quiet navigation. No retro-theme overrides. */
.modern-catalog-page .modern-date-nav,
.modern-home-schedule .modern-date-nav {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    column-gap:8px;
    margin:12px 0 14px;
    padding:5px 2px 8px;
    border-bottom:1px solid #c4b6ae;
}
.modern-catalog-page .modern-date-nav a:first-child,
.modern-home-schedule .modern-date-nav a:first-child {justify-self:start;}
.modern-catalog-page .modern-date-nav a:last-child,
.modern-home-schedule .modern-date-nav a:last-child {justify-self:end;text-align:right;}
.modern-catalog-page .modern-date-nav strong,
.modern-home-schedule .modern-date-nav strong {font: bold 13px Georgia,serif;text-align:center;white-space:nowrap;}
.modern-catalog-page .modern-date-nav a,
.modern-home-schedule .modern-date-nav a {font:12px/1.35 Georgia,serif;}
.modern-catalog-page .modern-date-nav a span,
.modern-home-schedule .modern-date-nav a span {font-size:18px;vertical-align:-1px;}
.modern-catalog-page .title {margin-bottom:5px;}
/* The last 3 columns reserve width for the score, shootout/status and live minute. */
.modern-content-grid .modern-catalog-match {
    display:grid;
    grid-template-columns:46px minmax(0,1fr) 49px 98px 48px;
    column-gap:7px;
    row-gap:2px;
    align-items:baseline;
    padding:6px 2px;
}
.modern-catalog-match .modern-catalog-match-label {display:block;min-width:0;}
.modern-catalog-match .modern-result-score,
.modern-home-day-match .modern-result-score {justify-self:end;text-align:right;min-width:0;white-space:nowrap;}
.modern-day-kickoff {font:12px/1.35 Verdana,Arial,sans-serif!important;letter-spacing:-.25px;color:#685d58;font-variant-numeric:tabular-nums;}
.modern-catalog-match .modern-match-note,
.modern-home-day-match .modern-match-note {font:11px/1.3 Georgia,serif;color:#6e625a;white-space:nowrap;text-align:left;min-width:0;}
.modern-catalog-match .modern-match-minute,
.modern-home-day-match .modern-match-minute {font:11px/1.3 Verdana,Arial,sans-serif;color:#70645f;white-space:nowrap;text-align:right;min-width:0;font-variant-numeric:tabular-nums;}
.modern-catalog-match .modern-match-minute.is-live,
.modern-home-day-match .modern-match-minute.is-live {color:#a42a1e;font-weight:bold;}
.modern-home-day-match {
    grid-template-columns:43px minmax(0,1fr) 42px 74px 35px;
    gap:5px;
    align-items:baseline;
}
.modern-home-day-match .modern-match-note {font-size:10px;}
.modern-home-day-match .modern-match-minute {font-size:10px;}
/* Narrow view: preserve distinct note and minute, wrap to a small subrow if needed. */
@media(max-width:680px) {
    .modern-content-grid .modern-catalog-match {grid-template-columns:43px minmax(0,1fr) 43px 70px 36px;column-gap:4px;}
    .modern-home-day-match {grid-template-columns:38px minmax(0,1fr) 39px 60px 32px;gap:3px;}
    .modern-catalog-match .modern-match-note,.modern-home-day-match .modern-match-note {font-size:10px;}
}
@media(max-width:480px) {
    .modern-content-grid .modern-catalog-match {grid-template-columns:40px minmax(0,1fr) 54px;}
    .modern-catalog-match .modern-match-note {grid-column:2;grid-row:2;}
    .modern-catalog-match .modern-match-minute {grid-column:3;grid-row:2;}
    .modern-home-day-match {grid-template-columns:39px minmax(0,1fr) 44px;}
    .modern-home-day-match .modern-match-note {grid-column:2;grid-row:2;}
    .modern-home-day-match .modern-match-minute {grid-column:3;grid-row:2;}
}
/* Copyright text goes BELOW the image-backed football silhouettes. */
#footer.modern-footer {
    height:80px;
    box-sizing:border-box;
    padding:0 8px 7px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    position:relative;
    line-height:1.35;
}
#footer.modern-footer .modern-footer-credit {
    display:inline-block;
    background:rgba(247,241,238,.92);
    padding:3px 12px;
    font:12px/1.35 Georgia,serif;
    color:#524942;
    letter-spacing:0;
}
#footer.modern-footer .modern-local-timing {position:absolute;bottom:8px;right:12px;}


/* Prelaunch Patch15: distinguish provisional LIVE scores from final results. */
.modern-content-grid .modern-catalog-match[data-match-status="2"] .modern-result-score,
.modern-content-grid .modern-home-day-match[data-match-status="2"] .modern-result-score,
.modern-content-grid .modern-side-match[data-match-status="2"] .modern-result-score {
    color:#736965;
}
/* Halftime is a phase, not an invented minute. */
.modern-content-grid .modern-catalog-match .modern-match-minute.is-live,
.modern-content-grid .modern-home-day-match .modern-match-minute.is-live {font-variant-numeric:tabular-nums;}
.modern-content-grid.modern-error-layout {grid-template-columns:minmax(0,1fr);}
.modern-error-page .entry {padding:12px 16px 25px;min-height:150px;}
.modern-error-page .entry p {font:15px/1.5 Georgia,serif;}
.modern-error-actions {display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;}
.modern-error-actions a {color:#ab241a;text-decoration:underline;font-weight:bold;}
