

img {
	display: block;
	margin: 0 auto;
}

table {
	margin-left: auto;
	margin-right: auto;
}

.FAexcl {
	font-style: italic;
	background-color: #c0c0c0; 
	color: #000000;
}

.DRexcl {
		background-color: #ff8080;
		color: #930000;
}

.NONexcl {
		font-weight: bold;
}

.KEEP {
		background-color: rgb(63, 163, 0);
}

.equation {
	font-family: monospace;
	text-align: center;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.row {
	display: flex;
	justify-content: space-evenly;
}

.column {
	flex: 50%;
}

#announce {
	text-align: center;
	margin: auto;
	width: 50%;
}

.champ {
	color: #ffbb33;
}

.dead {
	color: #808080;
	font-style: italic;
}

#PlayoffNotes {
	margin-left: 50px;
}

dt {
	margin-bottom: 5px;
}
dd {
	margin-bottom: 5px;
}

#pickTrade {
	display: inline-flex;
}

#tradeCol {
	display: block;
	width: 225px;
}

.playerCard {
	border-radius:10px;
	border-color:#d8dade;
	border-style:solid;
	border-width:1px;
	padding:5px;
	width: max-content;
}

/* -------------------------------------------------
   Dark‑mode styling that mimics Wikipedia’s dark theme
   ------------------------------------------------- */

/* Base page background */
html, body {
    background-color: #0c0d0e;          /* Very dark gray */
    color: #dadada;                     /* Light gray text */
    font-family: system-ui, sans-serif;
}

/* Links – normal, visited, hover, active */
a {
    color: #539bf5;                 /* primary link colour */
}
a:visited {
    color: #a558a8;                 /* visited link colour */
}
a:hover, a:focus {
    color: #72b0ff;
    text-decoration: underline;
}
a:active {
    color: #ff9800;
}

/* Header bar (the blue‑gray strip) */
#mw-header {
    background:#111314;
    border-color:#303335;
    border-bottom:1px solid #a2a9b1;
    padding:0.5rem 1rem;
    font-size:0.875rem;
}
#mw-header a { color:#36c; }

/* -------------------------------------------------
   Header container – behaves like a Wikipedia top bar
   ------------------------------------------------- */
.header-wrapper {
    display: flex;                     /* put children on one line */
    align-items: center;               /* vertical centering */
    justify-content: space-between;    /* left ↔ right separation */
    padding: 0.4rem 1rem;              /* a little breathing room */
    background: #f8f9fa;               /* light gray, similar to Wikipedia */
    border-bottom: 1px solid #a2a9b1;   /* subtle bottom line */
}

/* -------------------------------------------------
   Left‑side navigation links
   ------------------------------------------------- */
.nav-links a {
    margin-right: 1rem;                /* space between links */
    color: #0645ad;                    /* Wikipedia link blue */
    text-decoration: none;
    font-size: 0.95rem;
}
.nav-links a:last-child { margin-right: 0; }

/* Hover effect (optional) */
.nav-links a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------
   Right‑side payment buttons
   ------------------------------------------------- */
.payment-links {
    display: flex;
    gap: 0.5rem;                       /* space between PayPal & Venmo */
}

/* Shared button styling – keeps the “inline‑flex” you already had */
.pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    background: #000000;
    border-radius: 0.4rem;
    transition: background 0.3s, color 0.3s;
}

/* Hover colors – you can keep your custom green if you like */
.pay-btn:hover {
    background: #4f7942;               /* your green */
    color: #fff;
}

/* Ensure the SVG scales nicely */
.pay-btn svg {
    width: 30px;   /* adjust size to taste */
    height: auto;
}

/* -------------------------------------------------
   Responsive tweak – stack on very narrow screens
   ------------------------------------------------- */
@media (max-width: 500px) {
    .header-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-links, .payment-links {
        justify-content: center;
        margin: 0.3rem 0;
    }
    .nav-links a {
        margin-right: 0.5rem;
    }
}

/* Main container – centered, max‑width 960 px */
#content {
    max-width:960px;
    margin:auto;
    padding:1rem 2rem;
    background: #202122;
}

/* Title & subtitle */
#firstHeading {
    font-size:2rem;
    margin-top:0.5rem;
    margin-bottom:0.2rem;
}
#siteSub { font-size:0.875rem; color:#54595d; }

/* Table of contents – collapsible */
#toc {
    background:#54595d;
    border:1px solid #a2a9b1;
    padding:0.5rem 1rem;
    margin:1rem 0;
    font-size:0.875rem;
}
#toc ul { list-style:none; margin-left:0; }
#toc li { margin:0.2rem 0; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    border-color: #444;
}
h1 { font-family: 'Staatliches', cursive; text-align: center;}
h2 { border-bottom: 1px solid #444; padding-bottom: 0.2rem; }
h3 { font-size:1.25rem; margin-top:1.2rem; }
h4 { font-size:1.125rem; margin-top:1rem; }

/* Tables (infoboxes, navboxes, plain wikitables) */
table.infobox,
table.navbox,
table.wikitable,
table.vertical-navbox,
table.standard {
    background: #2c2f33;
    color: #c8c8c8;
    border: 1px solid #444;
}
table.infobox th,
table.navbox th,
table.wikitable th {
    background: #3c4045;
    color: #ffffff;
}
table.infobox td,
table.navbox td,
table.wikitable td {
    background: #2c2f33;
}

/* Infobox – floated right, light gray background */
.infobox {
    float:right;
    clear:right;
    width:22rem;
    margin:0 0 1rem 1rem;
    font-size:0.875rem;
}
.infobox th, .infobox td {
    padding:0.25rem 0.5rem;
    vertical-align:top;
}
.infobox th {
    text-align:left;
    font-weight:bold;
}
.infobox caption {
    font-weight:bold;
    text-align:center;
    padding:0.25rem;
}
/* Optional navigation row – lighter background */
.infobox-navigation td {
    background: #f0f0f0;
    text-align: center;
    font-size: 90%;
    /* NEW PART – shrink the cell and centre it */
    max-width: 18rem;             /* limit width (adjust as you like) */
    margin: 0.4rem auto;          /* top/bottom margin + auto‑horizontal centering */
    padding: 0.3rem 0;            /* vertical padding for a nicer “pill” look */
    border-radius: 4px;           /* optional rounded corners */
    border: 1px solid #a2a9b1;    /* keep the thin border that matches other rows */
}
/* Collapsible boxes (e.g., “See also”, “References”) */
.mw-collapsible,
.mw-collapsed {
    background: #2c2f33;
    border: 1px solid #444;
}
.mw-collapsible .mw-collapsible-toggle {
    color: #539bf5;
}

/* Lists */
ul, ol {
    color: #c8c8c8;
}
/* Reference list */
ol.references {
    font-size:0.875rem;
    margin-top:2rem;
}
ol.references li {
    margin-bottom:0.4rem;
}

/* Blockquotes & citation templates */
blockquote,
.cite {
    background: #2c2f33;
    border-left: 4px solid #444;
    color: #c8c8c8;
}

/* Center the content and give it a max width */
.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Responsive tweak – allow horizontal scroll on very small screens */
@media (max-width: 600px) {
    .draft-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Clear floats after content */
.clearfix::after {
    content:"";
    display:block;
    clear:both;
}

/* Simple responsive tweak */
@media (max-width:720px) {
    .infobox { float:none; width:auto; margin:0 0 1rem 0; }
}

/*-----Playoff brackets---------*/
.bracket {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 1rem 2rem;
    align-items: start;
    justify-items: stretch;
}
.round {
    display: flex;
    flex-direction: column;
    gap: 2rem;               /* space between match‑ups */
}

.round-title {
    text-align:center;
    font-weight:bold;
    margin-bottom:.5rem;
}
.match {
    background:#54595d;
    border:2px solid #333;
    border-radius:6px;
    overflow:hidden;
    position:relative;
}

.team {
padding:.5rem 0.75rem;
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:1px solid #ddd;
}

.team:last-child { border-bottom:none; }

.team.winner {
background:#469746;        /* highlight the winner */
font-weight:bold;
}

.seed {
font-size:.85em;
color:#c9c9c9;
margin-right:.5rem;
}

.score {
font-weight:bold;
margin-left:.5rem;
}

/* -------------------------------------------------
 Responsive tweak – stack on narrow screens
 ------------------------------------------------- */
@media (max-width: 800px) {
.bracket { grid-template-columns: 1fr; }
.match::after, .match::before { display:none; }
}

.wiki-thumb {
  margin: 0.5em;                 /* space around the figure */
  max-width: 250px;              /* limit width – adjust as needed */
  background:#f9f9f9;            /* light gray background */
  border:1px solid #c8c8c8;      /* thin border */
  padding:3px;                   /* inner spacing */
  box-sizing:border-box;
}
/* Image fills the container but respects its own aspect ratio */
.wiki-thumb img {
  display:block;
  max-width:100%;
  height:auto;
}

/* Caption styling – similar to Wikipedia */
.wiki-thumb figcaption {
  font-size:90%;
  color:#555;
  line-height:1.3;
  margin-top:0.3em;
  text-align:center;
}

/* Float right (default) – text wraps on the left side */
.wiki-right {
  float:right;
  clear:right;                  /* prevents previous floats from interfering */
}

/* Float left – use if you want the image on the left side */
.wiki-left {
  float:left;
  clear:left;
}

/* Optional: make the figure responsive on very narrow screens */
@media (max-width: 480px) {
  .wiki-thumb {
    max-width:100%;
    float:none;
    margin:auto;
  }
}

/* -------------------------------------------------
   Container – mimics Wikipedia's .thumb class
   ------------------------------------------------- */
.video-thumb {
  max-width: 560px;               /* optional max width, adjust as you like */
  margin: 1rem auto;              /* centers the block and adds vertical space */
  background:#f9f9f9;             /* light gray background */
  border:1px solid #c8c8c8;       /* thin border */
  padding:3px;
  box-sizing:border-box;
}

/* -------------------------------------------------
   Responsive 16:9 iframe (or video) – keeps aspect ratio
   ------------------------------------------------- */
.video-thumb iframe,
.video-thumb video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;            /* modern browsers; fallback below */
}

/* Fallback for older browsers that don’t support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .video-thumb::before {
    content:"";
    display:block;
    padding-top:56.25%;           /* 9/16 = 0.5625 → 56.25% */
  }
  .video-thumb iframe,
  .video-thumb video {
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    width:100%; height:100%;
  }
}

/* -------------------------------------------------
   Caption styling – mirrors .thumbcaption
   ------------------------------------------------- */
.video-thumb figcaption {
  margin-top:0.4em;
  font-size:90%;
  color:#555;
  line-height:1.3;
  text-align:center;
}